Cherry Services List - Version 1.0.0

Version Description

  • Initial release
Download this release

Release Info

Developer TemplateMonster 2002
Plugin Icon 128x128 Cherry Services List
Version 1.0.0
Comparing to
See all releases

Version 1.0.0

Files changed (96) hide show
  1. admin/assets/css/cherry-services.css +1 -0
  2. admin/assets/js/cherry-services-admin.js +118 -0
  3. admin/assets/js/icons.json +1 -0
  4. admin/assets/js/serialize-object.js +70 -0
  5. admin/assets/scss/cherry-services.scss +282 -0
  6. admin/includes/class-cherry-services-ajax.php +233 -0
  7. admin/includes/class-cherry-services-meta.php +855 -0
  8. admin/includes/class-cherry-services-options-page.php +447 -0
  9. admin/views/options-page.php +45 -0
  10. cherry-framework/cherry-core.php +482 -0
  11. cherry-framework/config.json +174 -0
  12. cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php +1560 -0
  13. cherry-framework/modules/cherry-customizer/assets/fonts/google.json +13772 -0
  14. cherry-framework/modules/cherry-customizer/assets/fonts/standard.json +209 -0
  15. cherry-framework/modules/cherry-customizer/cherry-customizer.php +1148 -0
  16. cherry-framework/modules/cherry-customizer/inc/class-cherry-wp-customize-iconpicker.php +90 -0
  17. cherry-framework/modules/cherry-dynamic-css/assets/cherry-css-collector.js +24 -0
  18. cherry-framework/modules/cherry-dynamic-css/assets/min/cherry-css-collector.min.js +1 -0
  19. cherry-framework/modules/cherry-dynamic-css/cherry-dynamic-css.php +478 -0
  20. cherry-framework/modules/cherry-dynamic-css/inc/class-cherry-dynamic-css-collector.php +281 -0
  21. cherry-framework/modules/cherry-dynamic-css/inc/class-cherry-dynamic-css-utilities.php +841 -0
  22. cherry-framework/modules/cherry-google-fonts-loader/cherry-google-fonts-loader.php +372 -0
  23. cherry-framework/modules/cherry-handler/assets/css/cherry-handler-styles.min.css +1 -0
  24. cherry-framework/modules/cherry-handler/assets/js/cherry-handler.js +286 -0
  25. cherry-framework/modules/cherry-handler/assets/js/min/cherry-handler.min.js +1 -0
  26. cherry-framework/modules/cherry-handler/assets/scss/cherry-handler-styles.scss +65 -0
  27. cherry-framework/modules/cherry-handler/cherry-handler.php +233 -0
  28. cherry-framework/modules/cherry-interface-builder/cherry-interface-builder.php +471 -0
  29. cherry-framework/modules/cherry-interface-builder/inc/assets/_use-in-js.scss +17 -0
  30. cherry-framework/modules/cherry-interface-builder/inc/assets/cherry-interface-builder.js +189 -0
  31. cherry-framework/modules/cherry-interface-builder/inc/assets/cherry-interface-builder.scss +463 -0
  32. cherry-framework/modules/cherry-interface-builder/inc/assets/min/cherry-interface-builder.min.css +1 -0
  33. cherry-framework/modules/cherry-interface-builder/inc/assets/min/cherry-interface-builder.min.js +1 -0
  34. cherry-framework/modules/cherry-interface-builder/inc/views/component-accordion.php +30 -0
  35. cherry-framework/modules/cherry-interface-builder/inc/views/component-repeater.php +30 -0
  36. cherry-framework/modules/cherry-interface-builder/inc/views/component-tab-horizontal.php +35 -0
  37. cherry-framework/modules/cherry-interface-builder/inc/views/component-tab-vertical.php +35 -0
  38. cherry-framework/modules/cherry-interface-builder/inc/views/component-toggle.php +30 -0
  39. cherry-framework/modules/cherry-interface-builder/inc/views/control.php +34 -0
  40. cherry-framework/modules/cherry-interface-builder/inc/views/form.php +24 -0
  41. cherry-framework/modules/cherry-interface-builder/inc/views/html.php +24 -0
  42. cherry-framework/modules/cherry-interface-builder/inc/views/section.php +36 -0
  43. cherry-framework/modules/cherry-interface-builder/inc/views/settings-children-title.php +18 -0
  44. cherry-framework/modules/cherry-interface-builder/inc/views/settings.php +32 -0
  45. cherry-framework/modules/cherry-interface-builder/inc/views/tab-children-title.php +20 -0
  46. cherry-framework/modules/cherry-interface-builder/inc/views/toggle-children-title.php +22 -0
  47. cherry-framework/modules/cherry-js-core/assets/js/cherry-js-core.js +100 -0
  48. cherry-framework/modules/cherry-js-core/assets/js/min/cherry-js-core.min.js +1 -0
  49. cherry-framework/modules/cherry-js-core/cherry-js-core.php +184 -0
  50. cherry-framework/modules/cherry-post-formats-api/assets/js/cherry-post-formats.js +68 -0
  51. cherry-framework/modules/cherry-post-formats-api/assets/js/min/cherry-post-formats.min.js +1 -0
  52. cherry-framework/modules/cherry-post-formats-api/cherry-post-formats-api.php +1096 -0
  53. cherry-framework/modules/cherry-post-formats-api/inc/class-cherry-facebook-embed.php +81 -0
  54. cherry-framework/modules/cherry-post-meta/cherry-post-meta.php +547 -0
  55. cherry-framework/modules/cherry-template-manager/cherry-template-manager.php +129 -0
  56. cherry-framework/modules/cherry-template-manager/inc/cherry-template-loader.php +223 -0
  57. cherry-framework/modules/cherry-template-manager/inc/cherry-template-parser.php +219 -0
  58. cherry-framework/modules/cherry-term-meta/cherry-term-meta.php +303 -0
  59. cherry-framework/modules/cherry-toolkit/cherry-toolkit.php +219 -0
  60. cherry-framework/modules/cherry-ui-elements/cherry-ui-elements.php +154 -0
  61. cherry-framework/modules/cherry-ui-elements/i-ui.php +45 -0
  62. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/assets/min/ui-button.min.css +1 -0
  63. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/assets/ui-button.scss +52 -0
  64. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/assets/ui-kit/_mixins.scss +182 -0
  65. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/assets/ui-kit/_variables.scss +25 -0
  66. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/ui-button.php +87 -0
  67. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/view/button-view.php +31 -0
  68. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/min/ui-checkbox.min.css +1 -0
  69. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/min/ui-checkbox.min.js +1 -0
  70. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-checkbox.js +57 -0
  71. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-checkbox.scss +58 -0
  72. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-kit/_mixins.scss +182 -0
  73. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-kit/_variables.scss +23 -0
  74. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/ui-checkbox.php +131 -0
  75. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/min/ui-colorpicker.min.css +1 -0
  76. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/min/ui-colorpicker.min.js +1 -0
  77. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-colorpicker.js +26 -0
  78. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-colorpicker.scss +53 -0
  79. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-kit/_mixins.scss +182 -0
  80. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-kit/_variables.scss +23 -0
  81. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/ui-colorpicker.php +98 -0
  82. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/jquery-iconpicker.js +1445 -0
  83. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/min/jquery-iconpicker.min.js +1 -0
  84. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/min/ui-iconpicker.min.css +1 -0
  85. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/min/ui-iconpicker.min.js +1 -0
  86. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-iconpicker.js +49 -0
  87. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-iconpicker.scss +322 -0
  88. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-kit/_mixins.scss +182 -0
  89. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-kit/_variables.scss +23 -0
  90. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/ui-iconpicker.php +295 -0
  91. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/min/ui-media.min.css +1 -0
  92. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/min/ui-media.min.js +156 -0
  93. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-kit/_mixins.scss +184 -0
  94. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-kit/_variables.scss +23 -0
  95. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-media.js +156 -0
  96. cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-media.scss +5 -0
admin/assets/css/cherry-services.css ADDED
@@ -0,0 +1 @@
 
1
+ .column-thumbnail{width:70px}td.column-thumbnail{text-align:center}.cherry-ui-kit .cherry-ui-repeater-min>.cheryr-ui-repeater-content-box{display:none !important}#cherry-services-features .cheryr-ui-repeater-content-box{display:-webkit-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}#cherry-services-features .label-wrap,#cherry-services-features .value-wrap{-webkit-flex:1 0 0;-webkit-box-flex:1;-ms-flex:1 0 0;flex:1 0 0;width:50%;box-sizing:border-box}#cherry-services-features .label-wrap{padding:0 5px 0 0}#cherry-services-features .value-wrap{padding:0 0 0 5px}#cherry-services-cta-form .cheryr-ui-repeater-content-box{display:-webkit-flex;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-flex-direction:row;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}#cherry-services-cta-form .label-wrap,#cherry-services-cta-form .name-wrap,#cherry-services-cta-form .type-wrap,#cherry-services-cta-form .width-wrap,#cherry-services-cta-form .required-wrap{-webkit-flex:1 0 0;-webkit-box-flex:1;-ms-flex:1 0 0;flex:1 0 0;width:20%;box-sizing:border-box}#cherry-services-cta-form .width-wrap,#cherry-services-cta-form .label-wrap{padding:0 5px}#cherry-services-options-form{margin:30px 20px 0 0;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,0.04);background-color:#fff;border-radius:8px;padding:30px}#cherry-services-options-form .cherry-services-options-page-wrapper{background-color:#efefef;border-radius:6px;padding:30px;box-shadow:0 1px 1px rgba(0,0,0,0.04)}#cherry-services-options-form .cherry-services-options-list-wrapper{max-height:575px;overflow-y:scroll}#cherry-services-options-form .cherry-services-options-list-wrapper::-webkit-scrollbar{width:8px;height:8px}#cherry-services-options-form .cherry-services-options-list-wrapper::-webkit-scrollbar-button{width:0px;height:0px}#cherry-services-options-form .cherry-services-options-list-wrapper::-webkit-scrollbar-thumb{background:#495159;border:0px none #ffffff;border-radius:4px}#cherry-services-options-form .cherry-services-options-list-wrapper::-webkit-scrollbar-thumb:hover{background:#48c569}#cherry-services-options-form .cherry-services-options-list-wrapper::-webkit-scrollbar-thumb:active{background:#48c569}#cherry-services-options-form .cherry-services-options-list-wrapper::-webkit-scrollbar-track{background-color:rgba(0,0,0,0.1);border:0px none #495159;border-radius:4px}#cherry-services-options-form .cherry-services-options-list-wrapper::-webkit-scrollbar-track:hover{background:rgba(0,0,0,0.2)}#cherry-services-options-form .cherry-services-options-list-wrapper::-webkit-scrollbar-track:active{background:rgba(0,0,0,0.2)}#cherry-services-options-form .cherry-services-options-list-wrapper::-webkit-scrollbar-corner{background:transparent}#cherry-services-options-form .cherry-services-options-control-wrapper{position:relative;margin-top:30px;padding:30px;background-color:#fff;border-radius:4px;box-shadow:0px 5px 21px rgba(0,0,0,0.1)}#cherry-services-options-form .cherry-services-options-control-wrapper .custom-button{padding:16px 30px;display:inline-block;background-color:#C5C5C5;font-weight:900;text-transform:uppercase;color:#fff;box-shadow:0px 0px 13px rgba(0,0,0,0.2);cursor:pointer;border-radius:4px;margin-right:20px}#cherry-services-options-form .cherry-services-options-control-wrapper .custom-button.save-button{background-color:#48c569}#cherry-services-options-form .cherry-services-options-control-wrapper .custom-button.save-button:hover{background-color:#3ba956}#cherry-services-options-form .cherry-services-options-control-wrapper .custom-button.define-as-default-button{background-color:#495159}#cherry-services-options-form .cherry-services-options-control-wrapper .custom-button.define-as-default-button:hover{background-color:#282D31}#cherry-services-options-form .cherry-services-options-control-wrapper .custom-button.restore-button{background-color:#495159}#cherry-services-options-form .cherry-services-options-control-wrapper .custom-button.restore-button:hover{background-color:#282D31}#cherry-services-options-form .cherry-services-options-control-wrapper .custom-button:last-child{margin-right:0}#cherry-services-options-form .cherry-services-options-control-wrapper .custom-button:hover{background-color:#3ba956}.option-section{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap;box-shadow:0px 5px 21px rgba(0,0,0,0.1);padding:20px 30px;background-color:#fff;border-bottom:1px solid #e5e5e5}.option-section:first-child{border-radius:4px 4px 0 0}.option-section:last-child{border-radius:0 0 4px 4px}.option-section .option-info-wrapper{-webkit-box-flex:0;-webkit-flex:0 1 30%;-ms-flex:0 1 30%;flex:0 1 30%}.option-section .option-info-wrapper .option-description{font-style:italic}.option-section .option-ui-element-wrapper{-webkit-box-flex:0;-webkit-flex:0 1 70%;-ms-flex:0 1 70%;flex:0 1 70%}.notice-box{background:#23282d;position:fixed;margin:5px 0;box-shadow:1px 1px 5px rgba(0,0,0,0.2);box-sizing:border-box;padding:8px 15px 8px 8px;min-width:200px;overflow:hidden;color:#fff;z-index:999;border-radius:2px;-webkit-transition:all 250ms cubic-bezier(0.85, 0.04, 1, 1);transition:all 250ms cubic-bezier(0.85, 0.04, 1, 1)}.notice-box span.dashicons{position:relative;margin-right:10px}.notice-box span.dashicons:before{position:absolute;font-size:30px;left:-6px;top:-4px}.notice-box.success-notice span.dashicons{color:#48c569}.notice-box.success-notice span.dashicons:before{content:"\f147"}.notice-box.success-notice .inner b{color:#48c569}.notice-box.info-notice span.dashicons{color:#faa730}.notice-box.info-notice span.dashicons:before{content:"\f534"}.notice-box.info-notice .inner b{color:#faa730}.notice-box.error-notice span.dashicons{color:#e54343}.notice-box.error-notice span.dashicons:before{content:"\f158"}.notice-box.show-state{-webkit-transition:all 500ms cubic-bezier(0.1, 0.67, 0.26, 1);transition:all 500ms cubic-bezier(0.1, 0.67, 0.26, 1)}.notice-box .inner{display:inline-block}.cherry-spinner-wordpress{width:50px;height:50px;position:absolute;top:30px;right:30px;display:none}.double-bounce-1,.double-bounce-2{width:100%;height:100%;border-radius:50%;background-color:#48c569;opacity:0.6;position:absolute;top:0;left:0;-webkit-animation:tm-bounce 2.0s infinite ease-in-out;animation:tm-bounce 2.0s infinite ease-in-out}.double-bounce-2{-webkit-animation-delay:-1.0s;animation-delay:-1.0s}@-webkit-keyframes tm-bounce{0%, 100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes tm-bounce{0%, 100%{-webkit-transform:scale(0);transform:scale(0)}50%{-webkit-transform:scale(1);transform:scale(1)}}
admin/assets/js/cherry-services-admin.js ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ (function($){
2
+ "use strict";
3
+
4
+ CherryJsCore.utilites.namespace('services_admin_theme_script');
5
+ CherryJsCore.services_admin_theme_script = {
6
+ ajaxRequest: null,
7
+ ajaxRequestSuccess: true,
8
+ init: function () {
9
+ var self = this;
10
+
11
+ if( CherryJsCore.status.is_ready ){
12
+ self.readyRender( self );
13
+ }else{
14
+ CherryJsCore.variable.$document.on( 'ready', self.readyRender( self ) );
15
+ }
16
+
17
+ },
18
+ readyRender: function ( self ) {
19
+
20
+ var self = self,
21
+ $servicesOptionsForm = $('#cherry-services-options-form'),
22
+ $saveButton = $('#cherry-services-save-options', $servicesOptionsForm ),
23
+ $defineAsDefaultButton = $('#cherry-services-define-as-default', $servicesOptionsForm ),
24
+ $restoreButton = $('#cherry-services-restore-options', $servicesOptionsForm );
25
+
26
+ $saveButton.on( 'click', {
27
+ self: self,
28
+ optionsForm: $servicesOptionsForm,
29
+ ajaxRequestType: 'save'
30
+ }, self.ajaxRequest );
31
+
32
+ $defineAsDefaultButton.on( 'click', {
33
+ self: self,
34
+ optionsForm: $servicesOptionsForm,
35
+ ajaxRequestType: 'define_as_default'
36
+ }, self.ajaxRequest );
37
+
38
+ $restoreButton.on( 'click', {
39
+ self: self,
40
+ optionsForm: $servicesOptionsForm,
41
+ ajaxRequestType: 'restore'
42
+ }, self.ajaxRequest );
43
+
44
+ },
45
+ ajaxRequest: function( event ) {
46
+
47
+ var self = event.data.self,
48
+ $servicesOptionsForm = event.data.optionsForm,
49
+ $cherrySpinner = $('.cherry-spinner-wordpress', $servicesOptionsForm),
50
+ ajaxRequestType = event.data.ajaxRequestType,
51
+ serializeArray = $servicesOptionsForm.serializeObject(),
52
+ data = {
53
+ nonce: CherryJsCore.variable.security,
54
+ action: 'cherry_services_process_options',
55
+ post_array: serializeArray,
56
+ type: ajaxRequestType
57
+ };
58
+
59
+ if ( ! self.ajaxRequestSuccess ) {
60
+ self.ajaxRequest.abort();
61
+ self.noticeCreate( 'error-notice', cherryServicesSettings.please_wait_processing );
62
+ }
63
+
64
+ self.ajaxRequest = jQuery.ajax( {
65
+ type: 'POST',
66
+ url: ajaxurl,
67
+ data: data,
68
+ cache: false,
69
+ beforeSend: function(){
70
+ self.ajaxRequestSuccess = false;
71
+ $cherrySpinner.fadeIn();
72
+ },
73
+ success: function( response ) {
74
+ self.ajaxRequestSuccess = true;
75
+ $cherrySpinner.fadeOut();
76
+ self.noticeCreate( response.type, response.message );
77
+ if ( 'restore' === ajaxRequestType ) {
78
+ window.location.href = cherryServicesSettings.redirect_url;
79
+ }
80
+ },
81
+ dataType: 'json'
82
+ } );
83
+
84
+ return false;
85
+ },
86
+ noticeCreate: function( type, message ) {
87
+ var
88
+ notice = $('<div class="notice-box ' + type + '"><span class="dashicons"></span><div class="inner">' + message + '</div></div>'),
89
+ rightDelta = 0,
90
+ timeoutId;
91
+
92
+ $('body').prepend( notice );
93
+ reposition();
94
+ rightDelta = -1 * ( notice.outerWidth( true ) + 10 );
95
+ notice.css( {'right' : rightDelta } );
96
+
97
+ timeoutId = setTimeout( function () { notice.css( {'right' : 10 } ).addClass('show-state') }, 100 );
98
+ timeoutId = setTimeout( function () {
99
+ rightDelta = -1 * ( notice.outerWidth( true ) + 10 );
100
+ notice.css( { right: rightDelta } ).removeClass( 'show-state' );
101
+ }, 4000 );
102
+ timeoutId = setTimeout( function () {
103
+ notice.remove(); clearTimeout( timeoutId );
104
+ }, 4500 );
105
+
106
+ function reposition(){
107
+ var topDelta = 100;
108
+
109
+ $( '.notice-box' ).each( function( index ) {
110
+ $( this ).css( { top: topDelta } );
111
+ topDelta += $( this ).outerHeight( true );
112
+ } );
113
+ }
114
+ }
115
+ }
116
+ CherryJsCore.services_admin_theme_script.init();
117
+ }(jQuery));
118
+
admin/assets/js/icons.json ADDED
@@ -0,0 +1 @@
 
1
+ {"icons":[{"name":"Glass","id":"glass","unicode":"f000","created":1,"filter":["martini","drink","bar","alcohol","liquor"],"categories":["Web Application Icons"]},{"name":"Music","id":"music","unicode":"f001","created":1,"filter":["note","sound"],"categories":["Web Application Icons"]},{"name":"Search","id":"search","unicode":"f002","created":1,"filter":["magnify","zoom","enlarge","bigger"],"categories":["Web Application Icons"]},{"name":"Envelope Outlined","id":"envelope-o","unicode":"f003","created":1,"filter":["email","support","e-mail","letter","mail","notification"],"categories":["Web Application Icons"]},{"name":"Heart","id":"heart","unicode":"f004","created":1,"filter":["love","like","favorite"],"categories":["Web Application Icons","Medical Icons"]},{"name":"Star","id":"star","unicode":"f005","created":1,"filter":["award","achievement","night","rating","score","favorite"],"categories":["Web Application Icons"]},{"name":"Star Outlined","id":"star-o","unicode":"f006","created":1,"filter":["award","achievement","night","rating","score","favorite"],"categories":["Web Application Icons"]},{"name":"User","id":"user","unicode":"f007","created":1,"filter":["person","man","head","profile"],"categories":["Web Application Icons"]},{"name":"Film","id":"film","unicode":"f008","created":1,"filter":["movie"],"categories":["Web Application Icons"]},{"name":"th-large","id":"th-large","unicode":"f009","created":1,"filter":["blocks","squares","boxes","grid"],"categories":["Text Editor Icons"]},{"name":"th","id":"th","unicode":"f00a","created":1,"filter":["blocks","squares","boxes","grid"],"categories":["Text Editor Icons"]},{"name":"th-list","id":"th-list","unicode":"f00b","created":1,"filter":["ul","ol","checklist","finished","completed","done","todo"],"categories":["Text Editor Icons"]},{"name":"Check","id":"check","unicode":"f00c","created":1,"filter":["checkmark","done","todo","agree","accept","confirm","tick","ok"],"categories":["Web Application Icons"]},{"name":"Times","id":"times","unicode":"f00d","created":1,"aliases":["remove","close"],"filter":["close","exit","x","cross"],"categories":["Web Application Icons"]},{"name":"Search Plus","id":"search-plus","unicode":"f00e","created":1,"filter":["magnify","zoom","enlarge","bigger"],"categories":["Web Application Icons"]},{"name":"Search Minus","id":"search-minus","unicode":"f010","created":1,"filter":["magnify","minify","zoom","smaller"],"categories":["Web Application Icons"]},{"name":"Power Off","id":"power-off","unicode":"f011","created":1,"filter":["on"],"categories":["Web Application Icons"]},{"name":"signal","id":"signal","unicode":"f012","created":1,"filter":["graph","bars"],"categories":["Web Application Icons"]},{"name":"cog","id":"cog","unicode":"f013","created":1,"filter":["settings"],"aliases":["gear"],"categories":["Web Application Icons","Spinner Icons"]},{"name":"Trash Outlined","id":"trash-o","unicode":"f014","created":1,"filter":["garbage","delete","remove","trash","hide"],"categories":["Web Application Icons"]},{"name":"home","id":"home","unicode":"f015","created":1,"filter":["main","house"],"categories":["Web Application Icons"]},{"name":"File Outlined","id":"file-o","unicode":"f016","created":1,"filter":["new","page","pdf","document"],"categories":["Text Editor Icons","File Type Icons"]},{"name":"Clock Outlined","id":"clock-o","unicode":"f017","created":1,"filter":["watch","timer","late","timestamp"],"categories":["Web Application Icons"]},{"name":"road","id":"road","unicode":"f018","created":1,"filter":["street"],"categories":["Web Application Icons"]},{"name":"Download","id":"download","unicode":"f019","created":1,"filter":["import"],"categories":["Web Application Icons"]},{"name":"Arrow Circle Outlined Down","id":"arrow-circle-o-down","unicode":"f01a","created":1,"filter":["download"],"categories":["Directional Icons"]},{"name":"Arrow Circle Outlined Up","id":"arrow-circle-o-up","unicode":"f01b","created":1,"categories":["Directional Icons"]},{"name":"inbox","id":"inbox","unicode":"f01c","created":1,"categories":["Web Application Icons"]},{"name":"Play Circle Outlined","id":"play-circle-o","unicode":"f01d","created":1,"categories":["Video Player Icons"]},{"name":"Repeat","id":"repeat","unicode":"f01e","created":1,"filter":["redo","forward"],"aliases":["rotate-right"],"categories":["Text Editor Icons"]},{"name":"refresh","id":"refresh","unicode":"f021","created":1,"filter":["reload","sync"],"categories":["Web Application Icons","Spinner Icons"]},{"name":"list-alt","id":"list-alt","unicode":"f022","created":1,"filter":["ul","ol","checklist","finished","completed","done","todo"],"categories":["Text Editor Icons"]},{"name":"lock","id":"lock","unicode":"f023","created":1,"filter":["protect","admin"],"categories":["Web Application Icons"]},{"name":"flag","id":"flag","unicode":"f024","created":1,"filter":["report","notification","notify"],"categories":["Web Application Icons"]},{"name":"headphones","id":"headphones","unicode":"f025","created":1,"filter":["sound","listen","music","audio"],"categories":["Web Application Icons"]},{"name":"volume-off","id":"volume-off","unicode":"f026","created":1,"filter":["audio","mute","sound","music"],"categories":["Web Application Icons"]},{"name":"volume-down","id":"volume-down","unicode":"f027","created":1,"filter":["audio","lower","quieter","sound","music"],"categories":["Web Application Icons"]},{"name":"volume-up","id":"volume-up","unicode":"f028","created":1,"filter":["audio","higher","louder","sound","music"],"categories":["Web Application Icons"]},{"name":"qrcode","id":"qrcode","unicode":"f029","created":1,"filter":["scan"],"categories":["Web Application Icons"]},{"name":"barcode","id":"barcode","unicode":"f02a","created":1,"filter":["scan"],"categories":["Web Application Icons"]},{"name":"tag","id":"tag","unicode":"f02b","created":1,"filter":["label"],"categories":["Web Application Icons"]},{"name":"tags","id":"tags","unicode":"f02c","created":1,"filter":["labels"],"categories":["Web Application Icons"]},{"name":"book","id":"book","unicode":"f02d","created":1,"filter":["read","documentation"],"categories":["Web Application Icons"]},{"name":"bookmark","id":"bookmark","unicode":"f02e","created":1,"filter":["save"],"categories":["Web Application Icons"]},{"name":"print","id":"print","unicode":"f02f","created":1,"categories":["Web Application Icons"]},{"name":"camera","id":"camera","unicode":"f030","created":1,"filter":["photo","picture","record"],"categories":["Web Application Icons"]},{"name":"font","id":"font","unicode":"f031","created":1,"filter":["text"],"categories":["Text Editor Icons"]},{"name":"bold","id":"bold","unicode":"f032","created":1,"categories":["Text Editor Icons"]},{"name":"italic","id":"italic","unicode":"f033","created":1,"filter":["italics"],"categories":["Text Editor Icons"]},{"name":"text-height","id":"text-height","unicode":"f034","created":1,"categories":["Text Editor Icons"]},{"name":"text-width","id":"text-width","unicode":"f035","created":1,"categories":["Text Editor Icons"]},{"name":"align-left","id":"align-left","unicode":"f036","created":1,"filter":["text"],"categories":["Text Editor Icons"]},{"name":"align-center","id":"align-center","unicode":"f037","created":1,"filter":["middle","text"],"categories":["Text Editor Icons"]},{"name":"align-right","id":"align-right","unicode":"f038","created":1,"filter":["text"],"categories":["Text Editor Icons"]},{"name":"align-justify","id":"align-justify","unicode":"f039","created":1,"filter":["text"],"categories":["Text Editor Icons"]},{"name":"list","id":"list","unicode":"f03a","created":1,"filter":["ul","ol","checklist","finished","completed","done","todo"],"categories":["Text Editor Icons"]},{"name":"Outdent","id":"outdent","unicode":"f03b","created":1,"aliases":["dedent"],"categories":["Text Editor Icons"]},{"name":"Indent","id":"indent","unicode":"f03c","created":1,"categories":["Text Editor Icons"]},{"name":"Video Camera","id":"video-camera","unicode":"f03d","created":1,"filter":["film","movie","record"],"categories":["Web Application Icons"]},{"name":"Picture Outlined","id":"picture-o","unicode":"f03e","created":1,"aliases":["photo","image"],"categories":["Web Application Icons"]},{"name":"pencil","id":"pencil","unicode":"f040","created":1,"filter":["write","edit","update"],"categories":["Web Application Icons"]},{"name":"map-marker","id":"map-marker","unicode":"f041","created":1,"filter":["map","pin","location","coordinates","localize","address","travel","where","place"],"categories":["Web Application Icons"]},{"name":"adjust","id":"adjust","unicode":"f042","created":1,"filter":["contrast"],"categories":["Web Application Icons"]},{"name":"tint","id":"tint","unicode":"f043","created":1,"filter":["raindrop","waterdrop","drop","droplet"],"categories":["Web Application Icons"]},{"name":"Pencil Square Outlined","id":"pencil-square-o","unicode":"f044","created":1,"filter":["write","edit","update"],"aliases":["edit"],"categories":["Web Application Icons"]},{"name":"Share Square Outlined","id":"share-square-o","unicode":"f045","created":1,"filter":["social","send","arrow"],"categories":["Web Application Icons"]},{"name":"Check Square Outlined","id":"check-square-o","unicode":"f046","created":1,"filter":["todo","done","agree","accept","confirm","ok"],"categories":["Web Application Icons","Form Control Icons"]},{"name":"Arrows","id":"arrows","unicode":"f047","created":1,"filter":["move","reorder","resize"],"categories":["Web Application Icons","Directional Icons"]},{"name":"step-backward","id":"step-backward","unicode":"f048","created":1,"filter":["rewind","previous","beginning","start","first"],"categories":["Video Player Icons"]},{"name":"fast-backward","id":"fast-backward","unicode":"f049","created":1,"filter":["rewind","previous","beginning","start","first"],"categories":["Video Player Icons"]},{"name":"backward","id":"backward","unicode":"f04a","created":1,"filter":["rewind","previous"],"categories":["Video Player Icons"]},{"name":"play","id":"play","unicode":"f04b","created":1,"filter":["start","playing","music","sound"],"categories":["Video Player Icons"]},{"name":"pause","id":"pause","unicode":"f04c","created":1,"filter":["wait"],"categories":["Video Player Icons"]},{"name":"stop","id":"stop","unicode":"f04d","created":1,"filter":["block","box","square"],"categories":["Video Player Icons"]},{"name":"forward","id":"forward","unicode":"f04e","created":1,"filter":["forward","next"],"categories":["Video Player Icons"]},{"name":"fast-forward","id":"fast-forward","unicode":"f050","created":1,"filter":["next","end","last"],"categories":["Video Player Icons"]},{"name":"step-forward","id":"step-forward","unicode":"f051","created":1,"filter":["next","end","last"],"categories":["Video Player Icons"]},{"name":"eject","id":"eject","unicode":"f052","created":1,"categories":["Video Player Icons"]},{"name":"chevron-left","id":"chevron-left","unicode":"f053","created":1,"filter":["bracket","previous","back"],"categories":["Directional Icons"]},{"name":"chevron-right","id":"chevron-right","unicode":"f054","created":1,"filter":["bracket","next","forward"],"categories":["Directional Icons"]},{"name":"Plus Circle","id":"plus-circle","unicode":"f055","created":1,"filter":["add","new","create","expand"],"categories":["Web Application Icons"]},{"name":"Minus Circle","id":"minus-circle","unicode":"f056","created":1,"filter":["delete","remove","trash","hide"],"categories":["Web Application Icons"]},{"name":"Times Circle","id":"times-circle","unicode":"f057","created":1,"filter":["close","exit","x"],"categories":["Web Application Icons"]},{"name":"Check Circle","id":"check-circle","unicode":"f058","created":1,"filter":["todo","done","agree","accept","confirm","ok"],"categories":["Web Application Icons"]},{"name":"Question Circle","id":"question-circle","unicode":"f059","filter":["help","information","unknown","support"],"created":1,"categories":["Web Application Icons"]},{"name":"Info Circle","id":"info-circle","unicode":"f05a","created":1,"filter":["help","information","more","details"],"categories":["Web Application Icons"]},{"name":"Crosshairs","id":"crosshairs","unicode":"f05b","created":1,"filter":["picker"],"categories":["Web Application Icons"]},{"name":"Times Circle Outlined","id":"times-circle-o","unicode":"f05c","created":1,"filter":["close","exit","x"],"categories":["Web Application Icons"]},{"name":"Check Circle Outlined","id":"check-circle-o","unicode":"f05d","created":1,"filter":["todo","done","agree","accept","confirm","ok"],"categories":["Web Application Icons"]},{"name":"ban","id":"ban","unicode":"f05e","created":1,"filter":["delete","remove","trash","hide","block","stop","abort","cancel"],"categories":["Web Application Icons"]},{"name":"arrow-left","id":"arrow-left","unicode":"f060","created":1,"filter":["previous","back"],"categories":["Directional Icons"]},{"name":"arrow-right","id":"arrow-right","unicode":"f061","created":1,"filter":["next","forward"],"categories":["Directional Icons"]},{"name":"arrow-up","id":"arrow-up","unicode":"f062","created":1,"categories":["Directional Icons"]},{"name":"arrow-down","id":"arrow-down","unicode":"f063","created":1,"filter":["download"],"categories":["Directional Icons"]},{"name":"Share","id":"share","unicode":"f064","created":1,"aliases":["mail-forward"],"categories":["Web Application Icons"]},{"name":"Expand","id":"expand","unicode":"f065","created":1,"filter":["enlarge","bigger","resize"],"categories":["Video Player Icons"]},{"name":"Compress","id":"compress","unicode":"f066","created":1,"filter":["collapse","combine","contract","merge","smaller"],"categories":["Video Player Icons"]},{"name":"plus","id":"plus","unicode":"f067","created":1,"filter":["add","new","create","expand"],"categories":["Web Application Icons"]},{"name":"minus","id":"minus","unicode":"f068","created":1,"filter":["hide","minify","delete","remove","trash","hide","collapse"],"categories":["Web Application Icons"]},{"name":"asterisk","id":"asterisk","unicode":"f069","created":1,"filter":["details"],"categories":["Web Application Icons"]},{"name":"Exclamation Circle","id":"exclamation-circle","unicode":"f06a","created":1,"filter":["warning","error","problem","notification","alert"],"categories":["Web Application Icons"]},{"name":"gift","id":"gift","unicode":"f06b","created":1,"filter":["present"],"categories":["Web Application Icons"]},{"name":"leaf","id":"leaf","unicode":"f06c","created":1,"filter":["eco","nature","plant"],"categories":["Web Application Icons"]},{"name":"fire","id":"fire","unicode":"f06d","created":1,"filter":["flame","hot","popular"],"categories":["Web Application Icons"]},{"name":"Eye","id":"eye","unicode":"f06e","created":1,"filter":["show","visible","views"],"categories":["Web Application Icons"]},{"name":"Eye Slash","id":"eye-slash","unicode":"f070","created":1,"filter":["toggle","show","hide","visible","visiblity","views"],"categories":["Web Application Icons"]},{"name":"Exclamation Triangle","id":"exclamation-triangle","unicode":"f071","created":1,"filter":["warning","error","problem","notification","alert"],"aliases":["warning"],"categories":["Web Application Icons"]},{"name":"plane","id":"plane","unicode":"f072","created":1,"filter":["travel","trip","location","destination","airplane","fly","mode"],"categories":["Web Application Icons","Transportation Icons"]},{"name":"calendar","id":"calendar","unicode":"f073","created":1,"filter":["date","time","when","event"],"categories":["Web Application Icons"]},{"name":"random","id":"random","unicode":"f074","created":1,"filter":["sort","shuffle"],"categories":["Web Application Icons","Video Player Icons"]},{"name":"comment","id":"comment","unicode":"f075","created":1,"filter":["speech","notification","note","chat","bubble","feedback","message","texting","sms","conversation"],"categories":["Web Application Icons"]},{"name":"magnet","id":"magnet","unicode":"f076","created":1,"categories":["Web Application Icons"]},{"name":"chevron-up","id":"chevron-up","unicode":"f077","created":1,"categories":["Directional Icons"]},{"name":"chevron-down","id":"chevron-down","unicode":"f078","created":1,"categories":["Directional Icons"]},{"name":"retweet","id":"retweet","unicode":"f079","created":1,"filter":["refresh","reload","share"],"categories":["Web Application Icons"]},{"name":"shopping-cart","id":"shopping-cart","unicode":"f07a","created":1,"filter":["checkout","buy","purchase","payment"],"categories":["Web Application Icons"]},{"name":"Folder","id":"folder","unicode":"f07b","created":1,"categories":["Web Application Icons"]},{"name":"Folder Open","id":"folder-open","unicode":"f07c","created":1,"categories":["Web Application Icons"]},{"name":"Arrows Vertical","id":"arrows-v","unicode":"f07d","created":1,"filter":["resize"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Arrows Horizontal","id":"arrows-h","unicode":"f07e","created":1,"filter":["resize"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Bar Chart","id":"bar-chart","unicode":"f080","created":1,"aliases":["bar-chart-o"],"filter":["graph","analytics"],"categories":["Web Application Icons","Chart Icons"]},{"name":"Twitter Square","id":"twitter-square","unicode":"f081","created":1,"filter":["tweet","social network"],"categories":["Brand Icons"]},{"name":"Facebook Square","id":"facebook-square","unicode":"f082","created":1,"filter":["social network"],"categories":["Brand Icons"]},{"name":"camera-retro","id":"camera-retro","unicode":"f083","created":1,"filter":["photo","picture","record"],"categories":["Web Application Icons"]},{"name":"key","id":"key","unicode":"f084","created":1,"filter":["unlock","password"],"categories":["Web Application Icons"]},{"name":"cogs","id":"cogs","unicode":"f085","created":1,"aliases":["gears"],"filter":["settings"],"categories":["Web Application Icons"]},{"name":"comments","id":"comments","unicode":"f086","created":1,"filter":["speech","notification","note","chat","bubble","feedback","message","texting","sms","conversation"],"categories":["Web Application Icons"]},{"name":"Thumbs Up Outlined","id":"thumbs-o-up","unicode":"f087","created":1,"filter":["like","approve","favorite","agree","hand"],"categories":["Web Application Icons","Hand Icons"]},{"name":"Thumbs Down Outlined","id":"thumbs-o-down","unicode":"f088","created":1,"filter":["dislike","disapprove","disagree","hand"],"categories":["Web Application Icons","Hand Icons"]},{"name":"star-half","id":"star-half","unicode":"f089","created":1,"filter":["award","achievement","rating","score"],"categories":["Web Application Icons"]},{"name":"Heart Outlined","id":"heart-o","unicode":"f08a","created":1,"filter":["love","like","favorite"],"categories":["Web Application Icons","Medical Icons"]},{"name":"Sign Out","id":"sign-out","unicode":"f08b","created":1,"filter":["log out","logout","leave","exit","arrow"],"categories":["Web Application Icons"]},{"name":"LinkedIn Square","id":"linkedin-square","unicode":"f08c","created":1,"categories":["Brand Icons"]},{"name":"Thumb Tack","id":"thumb-tack","unicode":"f08d","created":1,"filter":["marker","pin","location","coordinates"],"categories":["Web Application Icons"]},{"name":"External Link","id":"external-link","unicode":"f08e","created":1,"filter":["open","new"],"categories":["Web Application Icons"]},{"name":"Sign In","id":"sign-in","unicode":"f090","created":1,"filter":["enter","join","log in","login","sign up","sign in","signin","signup","arrow"],"categories":["Web Application Icons"]},{"name":"trophy","id":"trophy","unicode":"f091","created":1,"filter":["award","achievement","winner","game"],"categories":["Web Application Icons"]},{"name":"GitHub Square","id":"github-square","unicode":"f092","created":1,"url":"github.com/logos","filter":["octocat"],"categories":["Brand Icons"]},{"name":"Upload","id":"upload","unicode":"f093","created":1,"filter":["import"],"categories":["Web Application Icons"]},{"name":"Lemon Outlined","id":"lemon-o","unicode":"f094","created":1,"filter":["food"],"categories":["Web Application Icons"]},{"name":"Phone","id":"phone","unicode":"f095","created":2,"filter":["call","voice","number","support","earphone","telephone"],"categories":["Web Application Icons"]},{"name":"Square Outlined","id":"square-o","unicode":"f096","created":2,"filter":["block","square","box"],"categories":["Web Application Icons","Form Control Icons"]},{"name":"Bookmark Outlined","id":"bookmark-o","unicode":"f097","created":2,"filter":["save"],"categories":["Web Application Icons"]},{"name":"Phone Square","id":"phone-square","unicode":"f098","created":2,"filter":["call","voice","number","support","telephone"],"categories":["Web Application Icons"]},{"name":"Twitter","id":"twitter","unicode":"f099","created":2,"filter":["tweet","social network"],"categories":["Brand Icons"]},{"name":"Facebook","id":"facebook","unicode":"f09a","created":2,"aliases":["facebook-f"],"filter":["social network"],"categories":["Brand Icons"]},{"name":"GitHub","id":"github","unicode":"f09b","created":2,"url":"github.com/logos","filter":["octocat"],"categories":["Brand Icons"]},{"name":"unlock","id":"unlock","unicode":"f09c","created":2,"filter":["protect","admin","password","lock"],"categories":["Web Application Icons"]},{"name":"credit-card","id":"credit-card","unicode":"f09d","created":2,"filter":["money","buy","debit","checkout","purchase","payment"],"categories":["Web Application Icons","Payment Icons"]},{"name":"rss","id":"rss","unicode":"f09e","created":2,"filter":["blog"],"aliases":["feed"],"categories":["Web Application Icons"]},{"name":"HDD","id":"hdd-o","unicode":"f0a0","created":2,"filter":["harddrive","hard drive","storage","save"],"categories":["Web Application Icons"]},{"name":"bullhorn","id":"bullhorn","unicode":"f0a1","created":2,"filter":["announcement","share","broadcast","louder","megaphone"],"categories":["Web Application Icons"]},{"name":"bell","id":"bell","unicode":"f0f3","created":2,"filter":["alert","reminder","notification"],"categories":["Web Application Icons"]},{"name":"certificate","id":"certificate","unicode":"f0a3","created":2,"filter":["badge","star"],"categories":["Web Application Icons"]},{"name":"Hand Outlined Right","id":"hand-o-right","unicode":"f0a4","created":2,"filter":["point","right","next","forward","finger"],"categories":["Directional Icons","Hand Icons"]},{"name":"Hand Outlined Left","id":"hand-o-left","unicode":"f0a5","created":2,"filter":["point","left","previous","back","finger"],"categories":["Directional Icons","Hand Icons"]},{"name":"Hand Outlined Up","id":"hand-o-up","unicode":"f0a6","created":2,"filter":["point","finger"],"categories":["Directional Icons","Hand Icons"]},{"name":"Hand Outlined Down","id":"hand-o-down","unicode":"f0a7","created":2,"filter":["point","finger"],"categories":["Directional Icons","Hand Icons"]},{"name":"Arrow Circle Left","id":"arrow-circle-left","unicode":"f0a8","created":2,"filter":["previous","back"],"categories":["Directional Icons"]},{"name":"Arrow Circle Right","id":"arrow-circle-right","unicode":"f0a9","created":2,"filter":["next","forward"],"categories":["Directional Icons"]},{"name":"Arrow Circle Up","id":"arrow-circle-up","unicode":"f0aa","created":2,"categories":["Directional Icons"]},{"name":"Arrow Circle Down","id":"arrow-circle-down","unicode":"f0ab","created":2,"filter":["download"],"categories":["Directional Icons"]},{"name":"Globe","id":"globe","unicode":"f0ac","created":2,"filter":["world","planet","map","place","travel","earth","global","translate","all","language","localize","location","coordinates","country"],"categories":["Web Application Icons"]},{"name":"Wrench","id":"wrench","unicode":"f0ad","created":2,"filter":["settings","fix","update"],"categories":["Web Application Icons"]},{"name":"Tasks","id":"tasks","unicode":"f0ae","created":2,"filter":["progress","loading","downloading","downloads","settings"],"categories":["Web Application Icons"]},{"name":"Filter","id":"filter","unicode":"f0b0","created":2,"filter":["funnel","options"],"categories":["Web Application Icons"]},{"name":"Briefcase","id":"briefcase","unicode":"f0b1","created":2,"filter":["work","business","office","luggage","bag"],"categories":["Web Application Icons"]},{"name":"Arrows Alt","id":"arrows-alt","unicode":"f0b2","created":2,"filter":["expand","enlarge","fullscreen","bigger","move","reorder","resize","arrow"],"categories":["Video Player Icons","Directional Icons"]},{"name":"Users","id":"users","unicode":"f0c0","created":2,"filter":["people","profiles","persons"],"aliases":["group"],"categories":["Web Application Icons"]},{"name":"Link","id":"link","unicode":"f0c1","created":2,"filter":["chain"],"aliases":["chain"],"categories":["Text Editor Icons"]},{"name":"Cloud","id":"cloud","filter":["save"],"unicode":"f0c2","created":2,"categories":["Web Application Icons"]},{"name":"Flask","id":"flask","unicode":"f0c3","created":2,"filter":["science","beaker","experimental","labs"],"categories":["Web Application Icons"]},{"name":"Scissors","id":"scissors","unicode":"f0c4","created":2,"aliases":["cut"],"categories":["Text Editor Icons"]},{"name":"Files Outlined","id":"files-o","unicode":"f0c5","created":2,"filter":["duplicate","clone","copy"],"aliases":["copy"],"categories":["Text Editor Icons"]},{"name":"Paperclip","id":"paperclip","unicode":"f0c6","created":2,"filter":["attachment"],"categories":["Text Editor Icons"]},{"name":"Floppy Outlined","id":"floppy-o","unicode":"f0c7","created":2,"aliases":["save"],"categories":["Text Editor Icons"]},{"name":"Square","id":"square","unicode":"f0c8","created":2,"filter":["block","box"],"categories":["Web Application Icons","Form Control Icons"]},{"name":"Bars","id":"bars","unicode":"f0c9","created":2,"aliases":["navicon","reorder"],"filter":["menu","drag","reorder","settings","list","ul","ol","checklist","todo","list","hamburger"],"categories":["Web Application Icons"]},{"name":"list-ul","id":"list-ul","unicode":"f0ca","created":2,"filter":["ul","ol","checklist","todo","list"],"categories":["Text Editor Icons"]},{"name":"list-ol","id":"list-ol","unicode":"f0cb","created":2,"filter":["ul","ol","checklist","list","todo","list","numbers"],"categories":["Text Editor Icons"]},{"name":"Strikethrough","id":"strikethrough","unicode":"f0cc","created":2,"categories":["Text Editor Icons"]},{"name":"Underline","id":"underline","unicode":"f0cd","created":2,"categories":["Text Editor Icons"]},{"name":"table","id":"table","unicode":"f0ce","created":2,"filter":["data","excel","spreadsheet"],"categories":["Text Editor Icons"]},{"name":"magic","id":"magic","unicode":"f0d0","created":2,"filter":["wizard","automatic","autocomplete"],"categories":["Web Application Icons"]},{"name":"truck","id":"truck","unicode":"f0d1","created":2,"filter":["shipping"],"categories":["Web Application Icons","Transportation Icons"]},{"name":"Pinterest","id":"pinterest","unicode":"f0d2","created":2,"categories":["Brand Icons"]},{"name":"Pinterest Square","id":"pinterest-square","unicode":"f0d3","created":2,"categories":["Brand Icons"]},{"name":"Google Plus Square","id":"google-plus-square","unicode":"f0d4","created":2,"filter":["social network"],"categories":["Brand Icons"]},{"name":"Google Plus","id":"google-plus","unicode":"f0d5","created":2,"filter":["social network"],"categories":["Brand Icons"]},{"name":"Money","id":"money","unicode":"f0d6","created":2,"filter":["cash","money","buy","checkout","purchase","payment"],"categories":["Web Application Icons","Currency Icons"]},{"name":"Caret Down","id":"caret-down","unicode":"f0d7","created":2,"filter":["more","dropdown","menu","triangle down","arrow"],"categories":["Directional Icons"]},{"name":"Caret Up","id":"caret-up","unicode":"f0d8","created":2,"filter":["triangle up","arrow"],"categories":["Directional Icons"]},{"name":"Caret Left","id":"caret-left","unicode":"f0d9","created":2,"filter":["previous","back","triangle left","arrow"],"categories":["Directional Icons"]},{"name":"Caret Right","id":"caret-right","unicode":"f0da","created":2,"filter":["next","forward","triangle right","arrow"],"categories":["Directional Icons"]},{"name":"Columns","id":"columns","unicode":"f0db","created":2,"filter":["split","panes"],"categories":["Text Editor Icons"]},{"name":"Sort","id":"sort","unicode":"f0dc","created":2,"filter":["order"],"aliases":["unsorted"],"categories":["Web Application Icons"]},{"name":"Sort Descending","id":"sort-desc","unicode":"f0dd","created":2,"filter":["dropdown","more","menu","arrow"],"aliases":["sort-down"],"categories":["Web Application Icons"]},{"name":"Sort Ascending","id":"sort-asc","unicode":"f0de","created":2,"aliases":["sort-up"],"filter":["arrow"],"categories":["Web Application Icons"]},{"name":"Envelope","id":"envelope","unicode":"f0e0","created":2,"filter":["email","e-mail","letter","support","mail","notification"],"categories":["Web Application Icons"]},{"name":"LinkedIn","id":"linkedin","unicode":"f0e1","created":2,"categories":["Brand Icons"]},{"name":"Undo","id":"undo","unicode":"f0e2","created":2,"filter":["back"],"aliases":["rotate-left"],"categories":["Text Editor Icons"]},{"name":"Gavel","id":"gavel","unicode":"f0e3","created":2,"label":["judge","lawyer","opinion"],"aliases":["legal"],"categories":["Web Application Icons"]},{"name":"Tachometer","id":"tachometer","unicode":"f0e4","created":2,"label":["speedometer","fast"],"aliases":["dashboard"],"categories":["Web Application Icons"]},{"name":"comment-o","id":"comment-o","unicode":"f0e5","created":2,"filter":["speech","notification","note","chat","bubble","feedback","message","texting","sms","conversation"],"categories":["Web Application Icons"]},{"name":"comments-o","id":"comments-o","unicode":"f0e6","created":2,"filter":["speech","notification","note","chat","bubble","feedback","message","texting","sms","conversation"],"categories":["Web Application Icons"]},{"name":"Lightning Bolt","id":"bolt","unicode":"f0e7","created":2,"filter":["lightning","weather"],"aliases":["flash"],"categories":["Web Application Icons"]},{"name":"Sitemap","id":"sitemap","unicode":"f0e8","created":2,"filter":["directory","hierarchy","organization"],"categories":["Web Application Icons"]},{"name":"Umbrella","id":"umbrella","unicode":"f0e9","created":2,"categories":["Web Application Icons"]},{"name":"Clipboard","id":"clipboard","unicode":"f0ea","created":2,"filter":["copy"],"aliases":["paste"],"categories":["Text Editor Icons"]},{"name":"Lightbulb Outlined","id":"lightbulb-o","unicode":"f0eb","created":3,"filter":["idea","inspiration"],"categories":["Web Application Icons"]},{"name":"Exchange","id":"exchange","unicode":"f0ec","created":3,"filter":["transfer","arrows","arrow"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Cloud Download","id":"cloud-download","unicode":"f0ed","created":3,"filter":["import"],"categories":["Web Application Icons"]},{"name":"Cloud Upload","id":"cloud-upload","unicode":"f0ee","created":3,"filter":["import"],"categories":["Web Application Icons"]},{"name":"user-md","id":"user-md","unicode":"f0f0","created":2,"filter":["doctor","profile","medical","nurse"],"categories":["Medical Icons"]},{"name":"Stethoscope","id":"stethoscope","unicode":"f0f1","created":3,"categories":["Medical Icons"]},{"name":"Suitcase","id":"suitcase","unicode":"f0f2","created":3,"filter":["trip","luggage","travel","move","baggage"],"categories":["Web Application Icons"]},{"name":"Bell Outlined","id":"bell-o","unicode":"f0a2","created":3,"filter":["alert","reminder","notification"],"categories":["Web Application Icons"]},{"name":"Coffee","id":"coffee","unicode":"f0f4","created":3,"filter":["morning","mug","breakfast","tea","drink","cafe"],"categories":["Web Application Icons"]},{"name":"Cutlery","id":"cutlery","unicode":"f0f5","created":3,"filter":["food","restaurant","spoon","knife","dinner","eat"],"categories":["Web Application Icons"]},{"name":"File Text Outlined","id":"file-text-o","unicode":"f0f6","created":3,"filter":["new","page","pdf","document"],"categories":["Text Editor Icons","File Type Icons"]},{"name":"Building Outlined","id":"building-o","unicode":"f0f7","created":3,"filter":["work","business","apartment","office","company"],"categories":["Web Application Icons"]},{"name":"hospital Outlined","id":"hospital-o","unicode":"f0f8","created":3,"filter":["building"],"categories":["Medical Icons"]},{"name":"ambulance","id":"ambulance","unicode":"f0f9","created":3,"filter":["vehicle","support","help"],"categories":["Medical Icons","Transportation Icons"]},{"name":"medkit","id":"medkit","unicode":"f0fa","created":3,"filter":["first aid","firstaid","help","support","health"],"categories":["Medical Icons"]},{"name":"fighter-jet","id":"fighter-jet","unicode":"f0fb","created":3,"filter":["fly","plane","airplane","quick","fast","travel"],"categories":["Web Application Icons","Transportation Icons"]},{"name":"beer","id":"beer","unicode":"f0fc","created":3,"filter":["alcohol","stein","drink","mug","bar","liquor"],"categories":["Web Application Icons"]},{"name":"H Square","id":"h-square","unicode":"f0fd","created":3,"filter":["hospital","hotel"],"categories":["Medical Icons"]},{"name":"Plus Square","id":"plus-square","unicode":"f0fe","created":3,"filter":["add","new","create","expand"],"categories":["Medical Icons","Web Application Icons","Form Control Icons"]},{"name":"Angle Double Left","id":"angle-double-left","unicode":"f100","created":3,"filter":["laquo","quote","previous","back","arrows"],"categories":["Directional Icons"]},{"name":"Angle Double Right","id":"angle-double-right","unicode":"f101","created":3,"filter":["raquo","quote","next","forward","arrows"],"categories":["Directional Icons"]},{"name":"Angle Double Up","id":"angle-double-up","unicode":"f102","created":3,"filter":["arrows"],"categories":["Directional Icons"]},{"name":"Angle Double Down","id":"angle-double-down","unicode":"f103","created":3,"filter":["arrows"],"categories":["Directional Icons"]},{"name":"angle-left","id":"angle-left","unicode":"f104","created":3,"filter":["previous","back","arrow"],"categories":["Directional Icons"]},{"name":"angle-right","id":"angle-right","unicode":"f105","created":3,"filter":["next","forward","arrow"],"categories":["Directional Icons"]},{"name":"angle-up","id":"angle-up","unicode":"f106","created":3,"filter":["arrow"],"categories":["Directional Icons"]},{"name":"angle-down","id":"angle-down","unicode":"f107","created":3,"filter":["arrow"],"categories":["Directional Icons"]},{"name":"Desktop","id":"desktop","unicode":"f108","created":3,"filter":["monitor","screen","desktop","computer","demo","device"],"categories":["Web Application Icons"]},{"name":"Laptop","id":"laptop","unicode":"f109","created":3,"filter":["demo","computer","device"],"categories":["Web Application Icons"]},{"name":"tablet","id":"tablet","unicode":"f10a","created":3,"filter":["ipad","device"],"categories":["Web Application Icons"]},{"name":"Mobile Phone","id":"mobile","unicode":"f10b","created":3,"filter":["cell phone","cellphone","text","call","iphone","number","telephone"],"aliases":["mobile-phone"],"categories":["Web Application Icons"]},{"name":"Circle Outlined","id":"circle-o","unicode":"f10c","created":3,"categories":["Web Application Icons","Form Control Icons"]},{"name":"quote-left","id":"quote-left","unicode":"f10d","created":3,"categories":["Web Application Icons"]},{"name":"quote-right","id":"quote-right","unicode":"f10e","created":3,"categories":["Web Application Icons"]},{"name":"Spinner","id":"spinner","unicode":"f110","created":3,"filter":["loading","progress"],"categories":["Web Application Icons","Spinner Icons"]},{"name":"Circle","id":"circle","unicode":"f111","created":3,"filter":["dot","notification"],"categories":["Web Application Icons","Form Control Icons"]},{"name":"Reply","id":"reply","unicode":"f112","created":3,"aliases":["mail-reply"],"categories":["Web Application Icons"]},{"name":"GitHub Alt","id":"github-alt","unicode":"f113","created":3,"url":"github.com/logos","filter":["octocat"],"categories":["Brand Icons"]},{"name":"Folder Outlined","id":"folder-o","unicode":"f114","created":3,"categories":["Web Application Icons"]},{"name":"Folder Open Outlined","id":"folder-open-o","unicode":"f115","created":3,"categories":["Web Application Icons"]},{"name":"Smile Outlined","id":"smile-o","unicode":"f118","created":3.1,"filter":["face","emoticon","happy","approve","satisfied","rating"],"categories":["Web Application Icons"]},{"name":"Frown Outlined","id":"frown-o","unicode":"f119","created":3.1,"filter":["face","emoticon","sad","disapprove","rating"],"categories":["Web Application Icons"]},{"name":"Meh Outlined","id":"meh-o","unicode":"f11a","created":3.1,"filter":["face","emoticon","rating","neutral"],"categories":["Web Application Icons"]},{"name":"Gamepad","id":"gamepad","unicode":"f11b","created":3.1,"filter":["controller"],"categories":["Web Application Icons"]},{"name":"Keyboard Outlined","id":"keyboard-o","unicode":"f11c","created":3.1,"filter":["type","input"],"categories":["Web Application Icons"]},{"name":"Flag Outlined","id":"flag-o","unicode":"f11d","created":3.1,"filter":["report","notification"],"categories":["Web Application Icons"]},{"name":"flag-checkered","id":"flag-checkered","unicode":"f11e","created":3.1,"filter":["report","notification","notify"],"categories":["Web Application Icons"]},{"name":"Terminal","id":"terminal","unicode":"f120","created":3.1,"filter":["command","prompt","code"],"categories":["Web Application Icons"]},{"name":"Code","id":"code","unicode":"f121","created":3.1,"filter":["html","brackets"],"categories":["Web Application Icons"]},{"name":"reply-all","id":"reply-all","unicode":"f122","created":3.1,"aliases":["mail-reply-all"],"categories":["Web Application Icons"]},{"name":"Star Half Outlined","id":"star-half-o","unicode":"f123","created":3.1,"filter":["award","achievement","rating","score"],"aliases":["star-half-empty","star-half-full"],"categories":["Web Application Icons"]},{"name":"location-arrow","id":"location-arrow","unicode":"f124","created":3.1,"filter":["map","coordinates","location","address","place","where"],"categories":["Web Application Icons"]},{"name":"crop","id":"crop","unicode":"f125","created":3.1,"categories":["Web Application Icons"]},{"name":"code-fork","id":"code-fork","unicode":"f126","created":3.1,"filter":["git","fork","vcs","svn","github","rebase","version","merge"],"categories":["Web Application Icons"]},{"name":"Chain Broken","id":"chain-broken","unicode":"f127","created":3.1,"filter":["remove"],"aliases":["unlink"],"categories":["Text Editor Icons"]},{"name":"Question","id":"question","unicode":"f128","created":3.1,"filter":["help","information","unknown","support"],"categories":["Web Application Icons"]},{"name":"Info","id":"info","unicode":"f129","created":3.1,"filter":["help","information","more","details"],"categories":["Web Application Icons"]},{"name":"exclamation","id":"exclamation","unicode":"f12a","created":3.1,"filter":["warning","error","problem","notification","notify","alert"],"categories":["Web Application Icons"]},{"name":"superscript","id":"superscript","unicode":"f12b","created":3.1,"filter":["exponential"],"categories":["Text Editor Icons"]},{"name":"subscript","id":"subscript","unicode":"f12c","created":3.1,"categories":["Text Editor Icons"]},{"name":"eraser","id":"eraser","unicode":"f12d","created":3.1,"filter":["remove","delete"],"categories":["Text Editor Icons","Web Application Icons"]},{"name":"Puzzle Piece","id":"puzzle-piece","unicode":"f12e","created":3.1,"filter":["addon","add-on","section"],"categories":["Web Application Icons"]},{"name":"microphone","id":"microphone","unicode":"f130","created":3.1,"filter":["record","voice","sound"],"categories":["Web Application Icons"]},{"name":"Microphone Slash","id":"microphone-slash","unicode":"f131","created":3.1,"filter":["record","voice","sound","mute"],"categories":["Web Application Icons"]},{"name":"shield","id":"shield","unicode":"f132","created":3.1,"filter":["award","achievement","winner"],"categories":["Web Application Icons"]},{"name":"calendar-o","id":"calendar-o","unicode":"f133","created":3.1,"filter":["date","time","when","event"],"categories":["Web Application Icons"]},{"name":"fire-extinguisher","id":"fire-extinguisher","unicode":"f134","created":3.1,"categories":["Web Application Icons"]},{"name":"rocket","id":"rocket","unicode":"f135","created":3.1,"filter":["app"],"categories":["Web Application Icons","Transportation Icons"]},{"name":"MaxCDN","id":"maxcdn","unicode":"f136","created":3.1,"categories":["Brand Icons"]},{"name":"Chevron Circle Left","id":"chevron-circle-left","unicode":"f137","created":3.1,"filter":["previous","back","arrow"],"categories":["Directional Icons"]},{"name":"Chevron Circle Right","id":"chevron-circle-right","unicode":"f138","created":3.1,"filter":["next","forward","arrow"],"categories":["Directional Icons"]},{"name":"Chevron Circle Up","id":"chevron-circle-up","unicode":"f139","created":3.1,"filter":["arrow"],"categories":["Directional Icons"]},{"name":"Chevron Circle Down","id":"chevron-circle-down","unicode":"f13a","created":3.1,"filter":["more","dropdown","menu","arrow"],"categories":["Directional Icons"]},{"name":"HTML 5 Logo","id":"html5","unicode":"f13b","created":3.1,"code":["code","html5"],"categories":["Brand Icons"]},{"name":"CSS 3 Logo","id":"css3","unicode":"f13c","created":3.1,"filter":["code"],"categories":["Brand Icons"]},{"name":"Anchor","id":"anchor","unicode":"f13d","created":3.1,"filter":["link"],"categories":["Web Application Icons"]},{"name":"Unlock Alt","id":"unlock-alt","unicode":"f13e","created":3.1,"filter":["protect","admin","password","lock"],"categories":["Web Application Icons"]},{"name":"Bullseye","id":"bullseye","unicode":"f140","created":3.1,"filter":["target"],"categories":["Web Application Icons"]},{"name":"Ellipsis Horizontal","id":"ellipsis-h","unicode":"f141","created":3.1,"filter":["dots"],"categories":["Web Application Icons"]},{"name":"Ellipsis Vertical","id":"ellipsis-v","unicode":"f142","created":3.1,"filter":["dots"],"categories":["Web Application Icons"]},{"name":"RSS Square","id":"rss-square","unicode":"f143","created":3.1,"filter":["feed","blog"],"categories":["Web Application Icons"]},{"name":"Play Circle","id":"play-circle","unicode":"f144","created":3.1,"filter":["start","playing"],"categories":["Video Player Icons"]},{"name":"Ticket","id":"ticket","unicode":"f145","created":3.1,"filter":["movie","pass","support"],"categories":["Web Application Icons"]},{"name":"Minus Square","id":"minus-square","unicode":"f146","created":3.1,"filter":["hide","minify","delete","remove","trash","hide","collapse"],"categories":["Web Application Icons","Form Control Icons"]},{"name":"Minus Square Outlined","id":"minus-square-o","unicode":"f147","created":3.1,"filter":["hide","minify","delete","remove","trash","hide","collapse"],"categories":["Web Application Icons","Form Control Icons"]},{"name":"Level Up","id":"level-up","unicode":"f148","created":3.1,"filter":["arrow"],"categories":["Web Application Icons"]},{"name":"Level Down","id":"level-down","unicode":"f149","created":3.1,"filter":["arrow"],"categories":["Web Application Icons"]},{"name":"Check Square","id":"check-square","unicode":"f14a","created":3.1,"filter":["checkmark","done","todo","agree","accept","confirm","ok"],"categories":["Web Application Icons","Form Control Icons"]},{"name":"Pencil Square","id":"pencil-square","unicode":"f14b","created":3.1,"filter":["write","edit","update"],"categories":["Web Application Icons"]},{"name":"External Link Square","id":"external-link-square","unicode":"f14c","created":3.1,"filter":["open","new"],"categories":["Web Application Icons"]},{"name":"Share Square","id":"share-square","unicode":"f14d","created":3.1,"filter":["social","send"],"categories":["Web Application Icons"]},{"name":"Compass","id":"compass","unicode":"f14e","created":3.2,"filter":["safari","directory","menu","location"],"categories":["Web Application Icons"]},{"name":"Caret Square Outlined Down","id":"caret-square-o-down","unicode":"f150","created":3.2,"aliases":["toggle-down"],"filter":["more","dropdown","menu"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Caret Square Outlined Up","id":"caret-square-o-up","unicode":"f151","created":3.2,"aliases":["toggle-up"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Caret Square Outlined Right","id":"caret-square-o-right","unicode":"f152","created":3.2,"filter":["next","forward"],"aliases":["toggle-right"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Euro (EUR)","id":"eur","unicode":"f153","created":3.2,"aliases":["euro"],"categories":["Currency Icons"]},{"name":"GBP","id":"gbp","unicode":"f154","created":3.2,"categories":["Currency Icons"]},{"name":"US Dollar","id":"usd","unicode":"f155","created":3.2,"aliases":["dollar"],"categories":["Currency Icons"]},{"name":"Indian Rupee (INR)","id":"inr","unicode":"f156","created":3.2,"aliases":["rupee"],"categories":["Currency Icons"]},{"name":"Japanese Yen (JPY)","id":"jpy","unicode":"f157","created":3.2,"aliases":["cny","rmb","yen"],"categories":["Currency Icons"]},{"name":"Russian Ruble (RUB)","id":"rub","unicode":"f158","created":4,"aliases":["ruble","rouble"],"categories":["Currency Icons"]},{"name":"Korean Won (KRW)","id":"krw","unicode":"f159","created":3.2,"aliases":["won"],"categories":["Currency Icons"]},{"name":"Bitcoin (BTC)","id":"btc","unicode":"f15a","created":3.2,"aliases":["bitcoin"],"categories":["Currency Icons","Brand Icons"]},{"name":"File","id":"file","unicode":"f15b","created":3.2,"filter":["new","page","pdf","document"],"categories":["Text Editor Icons","File Type Icons"]},{"name":"File Text","id":"file-text","unicode":"f15c","created":3.2,"filter":["new","page","pdf","document"],"categories":["Text Editor Icons","File Type Icons"]},{"name":"Sort Alpha Ascending","id":"sort-alpha-asc","unicode":"f15d","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Alpha Descending","id":"sort-alpha-desc","unicode":"f15e","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Amount Ascending","id":"sort-amount-asc","unicode":"f160","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Amount Descending","id":"sort-amount-desc","unicode":"f161","created":3.2,"categories":["Web Application Icons"]},{"name":"Sort Numeric Ascending","id":"sort-numeric-asc","unicode":"f162","created":3.2,"filter":["numbers"],"categories":["Web Application Icons"]},{"name":"Sort Numeric Descending","id":"sort-numeric-desc","unicode":"f163","created":3.2,"filter":["numbers"],"categories":["Web Application Icons"]},{"name":"thumbs-up","id":"thumbs-up","unicode":"f164","created":3.2,"filter":["like","favorite","approve","agree","hand"],"categories":["Web Application Icons","Hand Icons"]},{"name":"thumbs-down","id":"thumbs-down","unicode":"f165","created":3.2,"filter":["dislike","disapprove","disagree","hand"],"categories":["Web Application Icons","Hand Icons"]},{"name":"YouTube Square","id":"youtube-square","unicode":"f166","created":3.2,"filter":["video","film"],"categories":["Brand Icons"]},{"name":"YouTube","id":"youtube","unicode":"f167","created":3.2,"filter":["video","film"],"categories":["Brand Icons"]},{"name":"Xing","id":"xing","unicode":"f168","created":3.2,"categories":["Brand Icons"]},{"name":"Xing Square","id":"xing-square","unicode":"f169","created":3.2,"categories":["Brand Icons"]},{"name":"YouTube Play","id":"youtube-play","unicode":"f16a","created":3.2,"filter":["start","playing"],"categories":["Brand Icons","Video Player Icons"]},{"name":"Dropbox","id":"dropbox","unicode":"f16b","created":3.2,"categories":["Brand Icons"]},{"name":"Stack Overflow","id":"stack-overflow","unicode":"f16c","created":3.2,"categories":["Brand Icons"]},{"name":"Instagram","id":"instagram","unicode":"f16d","created":4.6,"categories":["Brand Icons"]},{"name":"Flickr","id":"flickr","unicode":"f16e","created":3.2,"categories":["Brand Icons"]},{"name":"App.net","id":"adn","unicode":"f170","created":3.2,"categories":["Brand Icons"]},{"name":"Bitbucket","id":"bitbucket","unicode":"f171","created":3.2,"filter":["git"],"categories":["Brand Icons"]},{"name":"Bitbucket Square","id":"bitbucket-square","unicode":"f172","created":3.2,"filter":["git"],"categories":["Brand Icons"]},{"name":"Tumblr","id":"tumblr","unicode":"f173","created":3.2,"categories":["Brand Icons"]},{"name":"Tumblr Square","id":"tumblr-square","unicode":"f174","created":3.2,"categories":["Brand Icons"]},{"name":"Long Arrow Down","id":"long-arrow-down","unicode":"f175","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Up","id":"long-arrow-up","unicode":"f176","created":3.2,"categories":["Directional Icons"]},{"name":"Long Arrow Left","id":"long-arrow-left","unicode":"f177","created":3.2,"filter":["previous","back"],"categories":["Directional Icons"]},{"name":"Long Arrow Right","id":"long-arrow-right","unicode":"f178","created":3.2,"categories":["Directional Icons"]},{"name":"Apple","id":"apple","unicode":"f179","created":3.2,"filter":["osx","food"],"categories":["Brand Icons"]},{"name":"Windows","id":"windows","unicode":"f17a","created":3.2,"filter":["microsoft"],"categories":["Brand Icons"]},{"name":"Android","id":"android","unicode":"f17b","created":3.2,"filter":["robot"],"categories":["Brand Icons"]},{"name":"Linux","id":"linux","unicode":"f17c","created":3.2,"filter":["tux"],"categories":["Brand Icons"]},{"name":"Dribbble","id":"dribbble","unicode":"f17d","created":3.2,"categories":["Brand Icons"]},{"name":"Skype","id":"skype","unicode":"f17e","created":3.2,"categories":["Brand Icons"]},{"name":"Foursquare","id":"foursquare","unicode":"f180","created":3.2,"categories":["Brand Icons"]},{"name":"Trello","id":"trello","unicode":"f181","created":3.2,"categories":["Brand Icons"]},{"name":"Female","id":"female","unicode":"f182","created":3.2,"filter":["woman","user","person","profile"],"categories":["Web Application Icons"]},{"name":"Male","id":"male","unicode":"f183","created":3.2,"filter":["man","user","person","profile"],"categories":["Web Application Icons"]},{"name":"Gratipay (Gittip)","id":"gratipay","unicode":"f184","created":3.2,"aliases":["gittip"],"filter":["heart","like","favorite","love"],"categories":["Brand Icons"]},{"name":"Sun Outlined","id":"sun-o","unicode":"f185","created":3.2,"filter":["weather","contrast","lighter","brighten","day"],"categories":["Web Application Icons"]},{"name":"Moon Outlined","id":"moon-o","unicode":"f186","created":3.2,"filter":["night","darker","contrast"],"categories":["Web Application Icons"]},{"name":"Archive","id":"archive","unicode":"f187","created":3.2,"filter":["box","storage"],"categories":["Web Application Icons"]},{"name":"Bug","id":"bug","unicode":"f188","created":3.2,"filter":["report","insect"],"categories":["Web Application Icons"]},{"name":"VK","id":"vk","unicode":"f189","created":3.2,"categories":["Brand Icons"]},{"name":"Weibo","id":"weibo","unicode":"f18a","created":3.2,"categories":["Brand Icons"]},{"name":"Renren","id":"renren","unicode":"f18b","created":3.2,"categories":["Brand Icons"]},{"name":"Pagelines","id":"pagelines","unicode":"f18c","created":4,"filter":["leaf","leaves","tree","plant","eco","nature"],"categories":["Brand Icons"]},{"name":"Stack Exchange","id":"stack-exchange","unicode":"f18d","created":4,"categories":["Brand Icons"]},{"name":"Arrow Circle Outlined Right","id":"arrow-circle-o-right","unicode":"f18e","created":4,"filter":["next","forward"],"categories":["Directional Icons"]},{"name":"Arrow Circle Outlined Left","id":"arrow-circle-o-left","unicode":"f190","created":4,"filter":["previous","back"],"categories":["Directional Icons"]},{"name":"Caret Square Outlined Left","id":"caret-square-o-left","unicode":"f191","created":4,"filter":["previous","back"],"aliases":["toggle-left"],"categories":["Web Application Icons","Directional Icons"]},{"name":"Dot Circle Outlined","id":"dot-circle-o","unicode":"f192","created":4,"filter":["target","bullseye","notification"],"categories":["Web Application Icons","Form Control Icons"]},{"name":"Wheelchair","id":"wheelchair","unicode":"f193","created":4,"filter":["handicap","person"],"categories":["Web Application Icons","Medical Icons","Transportation Icons","Accessibility Icons"]},{"name":"Vimeo Square","id":"vimeo-square","unicode":"f194","created":4,"categories":["Brand Icons"]},{"name":"Turkish Lira (TRY)","id":"try","unicode":"f195","created":4,"aliases":["turkish-lira"],"categories":["Currency Icons"]},{"name":"Plus Square Outlined","id":"plus-square-o","unicode":"f196","created":4,"filter":["add","new","create","expand"],"categories":["Web Application Icons","Form Control Icons"]},{"name":"Space Shuttle","id":"space-shuttle","unicode":"f197","created":4.1,"filter":null,"categories":["Web Application Icons","Transportation Icons"]},{"name":"Slack Logo","id":"slack","unicode":"f198","created":4.1,"filter":["hashtag","anchor","hash"],"categories":["Brand Icons"]},{"name":"Envelope Square","id":"envelope-square","unicode":"f199","created":4.1,"categories":["Web Application Icons"]},{"name":"WordPress Logo","id":"wordpress","unicode":"f19a","created":4.1,"categories":["Brand Icons"]},{"name":"OpenID","id":"openid","unicode":"f19b","created":4.1,"categories":["Brand Icons"]},{"name":"University","id":"university","unicode":"f19c","created":4.1,"aliases":["institution","bank"],"categories":["Web Application Icons"]},{"name":"Graduation Cap","id":"graduation-cap","unicode":"f19d","created":4.1,"aliases":["mortar-board"],"filter":["learning","school","student"],"categories":["Web Application Icons"]},{"name":"Yahoo Logo","id":"yahoo","unicode":"f19e","created":4.1,"categories":["Brand Icons"]},{"name":"Google Logo","id":"google","unicode":"f1a0","created":4.1,"categories":["Brand Icons"]},{"name":"reddit Logo","id":"reddit","unicode":"f1a1","created":4.1,"categories":["Brand Icons"]},{"name":"reddit Square","id":"reddit-square","unicode":"f1a2","created":4.1,"categories":["Brand Icons"]},{"name":"StumbleUpon Circle","id":"stumbleupon-circle","unicode":"f1a3","created":4.1,"categories":["Brand Icons"]},{"name":"StumbleUpon Logo","id":"stumbleupon","unicode":"f1a4","created":4.1,"categories":["Brand Icons"]},{"name":"Delicious Logo","id":"delicious","unicode":"f1a5","created":4.1,"categories":["Brand Icons"]},{"name":"Digg Logo","id":"digg","unicode":"f1a6","created":4.1,"categories":["Brand Icons"]},{"name":"Pied Piper PP Logo (Old)","id":"pied-piper-pp","unicode":"f1a7","created":4.1,"categories":["Brand Icons"]},{"name":"Pied Piper Alternate Logo","id":"pied-piper-alt","unicode":"f1a8","created":4.1,"categories":["Brand Icons"]},{"name":"Drupal Logo","id":"drupal","unicode":"f1a9","created":4.1,"categories":["Brand Icons"]},{"name":"Joomla Logo","id":"joomla","unicode":"f1aa","created":4.1,"categories":["Brand Icons"]},{"name":"Language","id":"language","unicode":"f1ab","created":4.1,"categories":["Web Application Icons"]},{"name":"Fax","id":"fax","unicode":"f1ac","created":4.1,"categories":["Web Application Icons"]},{"name":"Building","id":"building","unicode":"f1ad","created":4.1,"filter":["work","business","apartment","office","company"],"categories":["Web Application Icons"]},{"name":"Child","id":"child","unicode":"f1ae","created":4.1,"categories":["Web Application Icons"]},{"name":"Paw","id":"paw","unicode":"f1b0","created":4.1,"filter":["pet"],"categories":["Web Application Icons"]},{"name":"spoon","id":"spoon","unicode":"f1b1","created":4.1,"categories":["Web Application Icons"]},{"name":"Cube","id":"cube","unicode":"f1b2","created":4.1,"categories":["Web Application Icons"]},{"name":"Cubes","id":"cubes","unicode":"f1b3","created":4.1,"categories":["Web Application Icons"]},{"name":"Behance","id":"behance","unicode":"f1b4","created":4.1,"categories":["Brand Icons"]},{"name":"Behance Square","id":"behance-square","unicode":"f1b5","created":4.1,"categories":["Brand Icons"]},{"name":"Steam","id":"steam","unicode":"f1b6","created":4.1,"categories":["Brand Icons"]},{"name":"Steam Square","id":"steam-square","unicode":"f1b7","created":4.1,"categories":["Brand Icons"]},{"name":"Recycle","id":"recycle","unicode":"f1b8","created":4.1,"categories":["Web Application Icons"]},{"name":"Car","id":"car","unicode":"f1b9","created":4.1,"aliases":["automobile"],"filter":["vehicle"],"categories":["Web Application Icons","Transportation Icons"]},{"name":"Taxi","id":"taxi","unicode":"f1ba","created":4.1,"aliases":["cab"],"filter":["vehicle"],"categories":["Web Application Icons","Transportation Icons"]},{"name":"Tree","id":"tree","unicode":"f1bb","created":4.1,"categories":["Web Application Icons"]},{"name":"Spotify","id":"spotify","unicode":"f1bc","created":4.1,"categories":["Brand Icons"]},{"name":"deviantART","id":"deviantart","unicode":"f1bd","created":4.1,"categories":["Brand Icons"]},{"name":"SoundCloud","id":"soundcloud","unicode":"f1be","created":4.1,"categories":["Brand Icons"]},{"name":"Database","id":"database","unicode":"f1c0","created":4.1,"categories":["Web Application Icons"]},{"name":"PDF File Outlined","id":"file-pdf-o","unicode":"f1c1","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Word File Outlined","id":"file-word-o","unicode":"f1c2","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Excel File Outlined","id":"file-excel-o","unicode":"f1c3","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Powerpoint File Outlined","id":"file-powerpoint-o","unicode":"f1c4","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Image File Outlined","id":"file-image-o","unicode":"f1c5","created":4.1,"aliases":["file-photo-o","file-picture-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Archive File Outlined","id":"file-archive-o","unicode":"f1c6","created":4.1,"aliases":["file-zip-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Audio File Outlined","id":"file-audio-o","unicode":"f1c7","created":4.1,"aliases":["file-sound-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Video File Outlined","id":"file-video-o","unicode":"f1c8","created":4.1,"aliases":["file-movie-o"],"categories":["Web Application Icons","File Type Icons"]},{"name":"Code File Outlined","id":"file-code-o","unicode":"f1c9","created":4.1,"categories":["Web Application Icons","File Type Icons"]},{"name":"Vine","id":"vine","unicode":"f1ca","created":4.1,"categories":["Brand Icons"]},{"name":"Codepen","id":"codepen","unicode":"f1cb","created":4.1,"categories":["Brand Icons"]},{"name":"jsFiddle","id":"jsfiddle","unicode":"f1cc","created":4.1,"categories":["Brand Icons"]},{"name":"Life Ring","id":"life-ring","unicode":"f1cd","created":4.1,"aliases":[{"life-bouy":"Deprecated - remove in 5.0.0"},"life-buoy","life-saver","support"],"categories":["Web Application Icons"]},{"name":"Circle Outlined Notched","id":"circle-o-notch","unicode":"f1ce","created":4.1,"categories":["Web Application Icons","Spinner Icons"]},{"name":"Rebel Alliance","id":"rebel","unicode":"f1d0","created":4.1,"aliases":["ra","resistance"],"categories":["Brand Icons"]},{"name":"Galactic Empire","id":"empire","unicode":"f1d1","created":4.1,"aliases":["ge"],"categories":["Brand Icons"]},{"name":"Git Square","id":"git-square","unicode":"f1d2","created":4.1,"categories":["Brand Icons"]},{"name":"Git","id":"git","unicode":"f1d3","created":4.1,"categories":["Brand Icons"]},{"name":"Hacker News","id":"hacker-news","unicode":"f1d4","created":4.1,"aliases":["y-combinator-square","yc-square"],"categories":["Brand Icons"]},{"name":"Tencent Weibo","id":"tencent-weibo","unicode":"f1d5","created":4.1,"categories":["Brand Icons"]},{"name":"QQ","id":"qq","unicode":"f1d6","created":4.1,"categories":["Brand Icons"]},{"name":"Weixin (WeChat)","id":"weixin","unicode":"f1d7","created":4.1,"aliases":["wechat"],"categories":["Brand Icons"]},{"name":"Paper Plane","id":"paper-plane","unicode":"f1d8","created":4.1,"aliases":["send"],"categories":["Web Application Icons"]},{"name":"Paper Plane Outlined","id":"paper-plane-o","unicode":"f1d9","created":4.1,"aliases":["send-o"],"categories":["Web Application Icons"]},{"name":"History","id":"history","unicode":"f1da","created":4.1,"categories":["Web Application Icons"]},{"name":"Circle Outlined Thin","id":"circle-thin","unicode":"f1db","created":4.1,"categories":["Web Application Icons"]},{"name":"header","id":"header","unicode":"f1dc","created":4.1,"filter":["heading"],"categories":["Text Editor Icons"]},{"name":"paragraph","id":"paragraph","unicode":"f1dd","created":4.1,"categories":["Text Editor Icons"]},{"name":"Sliders","id":"sliders","unicode":"f1de","created":4.1,"filter":["settings"],"categories":["Web Application Icons"]},{"name":"Share Alt","id":"share-alt","unicode":"f1e0","created":4.1,"categories":["Web Application Icons","Brand Icons"]},{"name":"Share Alt Square","id":"share-alt-square","unicode":"f1e1","created":4.1,"categories":["Web Application Icons","Brand Icons"]},{"name":"Bomb","id":"bomb","unicode":"f1e2","created":4.1,"categories":["Web Application Icons"]},{"name":"Futbol Outlined","id":"futbol-o","unicode":"f1e3","created":4.2,"aliases":["soccer-ball-o"],"categories":["Web Application Icons"]},{"name":"TTY","id":"tty","unicode":"f1e4","created":4.2,"categories":["Web Application Icons","Accessibility Icons"]},{"name":"Binoculars","id":"binoculars","unicode":"f1e5","created":4.2,"categories":["Web Application Icons"]},{"name":"Plug","id":"plug","unicode":"f1e6","created":4.2,"filter":["power","connect"],"categories":["Web Application Icons"]},{"name":"Slideshare","id":"slideshare","unicode":"f1e7","created":4.2,"categories":["Brand Icons"]},{"name":"Twitch","id":"twitch","unicode":"f1e8","created":4.2,"categories":["Brand Icons"]},{"name":"Yelp","id":"yelp","unicode":"f1e9","created":4.2,"categories":["Brand Icons"]},{"name":"Newspaper Outlined","id":"newspaper-o","unicode":"f1ea","created":4.2,"filter":["press"],"categories":["Web Application Icons"]},{"name":"WiFi","id":"wifi","unicode":"f1eb","created":4.2,"categories":["Web Application Icons"]},{"name":"Calculator","id":"calculator","unicode":"f1ec","created":4.2,"categories":["Web Application Icons"]},{"name":"Paypal","id":"paypal","unicode":"f1ed","created":4.2,"categories":["Brand Icons","Payment Icons"]},{"name":"Google Wallet","id":"google-wallet","unicode":"f1ee","created":4.2,"categories":["Brand Icons","Payment Icons"]},{"name":"Visa Credit Card","id":"cc-visa","unicode":"f1f0","created":4.2,"categories":["Brand Icons","Payment Icons"]},{"name":"MasterCard Credit Card","id":"cc-mastercard","unicode":"f1f1","created":4.2,"categories":["Brand Icons","Payment Icons"]},{"name":"Discover Credit Card","id":"cc-discover","unicode":"f1f2","created":4.2,"categories":["Brand Icons","Payment Icons"]},{"name":"American Express Credit Card","id":"cc-amex","unicode":"f1f3","created":4.2,"filter":["amex"],"categories":["Brand Icons","Payment Icons"]},{"name":"Paypal Credit Card","id":"cc-paypal","unicode":"f1f4","created":4.2,"categories":["Brand Icons","Payment Icons"]},{"name":"Stripe Credit Card","id":"cc-stripe","unicode":"f1f5","created":4.2,"categories":["Brand Icons","Payment Icons"]},{"name":"Bell Slash","id":"bell-slash","unicode":"f1f6","created":4.2,"categories":["Web Application Icons"]},{"name":"Bell Slash Outlined","id":"bell-slash-o","unicode":"f1f7","created":4.2,"categories":["Web Application Icons"]},{"name":"Trash","id":"trash","unicode":"f1f8","created":4.2,"filter":["garbage","delete","remove","hide"],"categories":["Web Application Icons"]},{"name":"Copyright","id":"copyright","unicode":"f1f9","created":4.2,"categories":["Web Application Icons"]},{"name":"At","id":"at","unicode":"f1fa","created":4.2,"categories":["Web Application Icons"]},{"name":"Eyedropper","id":"eyedropper","unicode":"f1fb","created":4.2,"categories":["Web Application Icons"]},{"name":"Paint Brush","id":"paint-brush","unicode":"f1fc","created":4.2,"categories":["Web Application Icons"]},{"name":"Birthday Cake","id":"birthday-cake","unicode":"f1fd","created":4.2,"categories":["Web Application Icons"]},{"name":"Area Chart","id":"area-chart","unicode":"f1fe","created":4.2,"filter":["graph","analytics"],"categories":["Web Application Icons","Chart Icons"]},{"name":"Pie Chart","id":"pie-chart","unicode":"f200","created":4.2,"filter":["graph","analytics"],"categories":["Web Application Icons","Chart Icons"]},{"name":"Line Chart","id":"line-chart","unicode":"f201","created":4.2,"filter":["graph","analytics"],"categories":["Web Application Icons","Chart Icons"]},{"name":"last.fm","id":"lastfm","unicode":"f202","created":4.2,"categories":["Brand Icons"]},{"name":"last.fm Square","id":"lastfm-square","unicode":"f203","created":4.2,"categories":["Brand Icons"]},{"name":"Toggle Off","id":"toggle-off","unicode":"f204","created":4.2,"categories":["Web Application Icons"]},{"name":"Toggle On","id":"toggle-on","unicode":"f205","created":4.2,"categories":["Web Application Icons"]},{"name":"Bicycle","id":"bicycle","unicode":"f206","created":4.2,"filter":["vehicle","bike"],"categories":["Web Application Icons","Transportation Icons"]},{"name":"Bus","id":"bus","unicode":"f207","created":4.2,"filter":["vehicle"],"categories":["Web Application Icons","Transportation Icons"]},{"name":"ioxhost","id":"ioxhost","unicode":"f208","created":4.2,"url":"ioxhost.co.uk","categories":["Brand Icons"]},{"name":"AngelList","id":"angellist","unicode":"f209","created":4.2,"categories":["Brand Icons"]},{"name":"Closed Captions","id":"cc","unicode":"f20a","created":4.2,"categories":["Web Application Icons","Accessibility Icons"]},{"name":"Shekel (ILS)","id":"ils","unicode":"f20b","created":4.2,"aliases":["shekel","sheqel"],"categories":["Currency Icons"]},{"name":"meanpath","id":"meanpath","unicode":"f20c","created":4.2,"url":"meanpath.com","categories":["Brand Icons"]},{"name":"BuySellAds","id":"buysellads","unicode":"f20d","created":4.3,"url":"buysellads.com","categories":["Brand Icons"]},{"name":"Connect Develop","id":"connectdevelop","unicode":"f20e","created":4.3,"url":"connectdevelop.com","categories":["Brand Icons"]},{"name":"DashCube","id":"dashcube","unicode":"f210","created":4.3,"url":"dashcube.com","categories":["Brand Icons"]},{"name":"Forumbee","id":"forumbee","unicode":"f211","created":4.3,"url":"forumbee.com","categories":["Brand Icons"]},{"name":"Leanpub","id":"leanpub","unicode":"f212","created":4.3,"url":"leanpub.com","categories":["Brand Icons"]},{"name":"Sellsy","id":"sellsy","unicode":"f213","created":4.3,"url":"sellsy.com","categories":["Brand Icons"]},{"name":"Shirts in Bulk","id":"shirtsinbulk","unicode":"f214","created":4.3,"url":"shirtsinbulk.com","categories":["Brand Icons"]},{"name":"SimplyBuilt","id":"simplybuilt","unicode":"f215","created":4.3,"url":"simplybuilt.com","categories":["Brand Icons"]},{"name":"skyatlas","id":"skyatlas","unicode":"f216","created":4.3,"url":"skyatlas.com","categories":["Brand Icons"]},{"name":"Add to Shopping Cart","id":"cart-plus","unicode":"f217","created":4.3,"filter":["add","shopping"],"categories":["Web Application Icons"]},{"name":"Shopping Cart Arrow Down","id":"cart-arrow-down","unicode":"f218","created":4.3,"filter":["shopping"],"categories":["Web Application Icons"]},{"name":"Diamond","id":"diamond","unicode":"f219","created":4.3,"filter":["gem","gemstone"],"categories":["Web Application Icons"]},{"name":"Ship","id":"ship","unicode":"f21a","created":4.3,"filter":["boat","sea"],"categories":["Web Application Icons","Transportation Icons"]},{"name":"User Secret","id":"user-secret","unicode":"f21b","created":4.3,"filter":["whisper","spy","incognito","privacy"],"categories":["Web Application Icons"]},{"name":"Motorcycle","id":"motorcycle","unicode":"f21c","created":4.3,"filter":["vehicle","bike"],"categories":["Web Application Icons","Transportation Icons"]},{"name":"Street View","id":"street-view","unicode":"f21d","created":4.3,"filter":["map"],"categories":["Web Application Icons"]},{"name":"Heartbeat","id":"heartbeat","unicode":"f21e","created":4.3,"filter":["ekg"],"categories":["Web Application Icons","Medical Icons"]},{"name":"Venus","id":"venus","unicode":"f221","created":4.3,"filter":["female"],"categories":["Gender Icons"]},{"name":"Mars","id":"mars","unicode":"f222","created":4.3,"filter":["male"],"categories":["Gender Icons"]},{"name":"Mercury","id":"mercury","unicode":"f223","created":4.3,"filter":["transgender"],"categories":["Gender Icons"]},{"name":"Transgender","id":"transgender","unicode":"f224","created":4.3,"aliases":["intersex"],"categories":["Gender Icons"]},{"name":"Transgender Alt","id":"transgender-alt","unicode":"f225","created":4.3,"categories":["Gender Icons"]},{"name":"Venus Double","id":"venus-double","unicode":"f226","created":4.3,"categories":["Gender Icons"]},{"name":"Mars Double","id":"mars-double","unicode":"f227","created":4.3,"categories":["Gender Icons"]},{"name":"Venus Mars","id":"venus-mars","unicode":"f228","created":4.3,"categories":["Gender Icons"]},{"name":"Mars Stroke","id":"mars-stroke","unicode":"f229","created":4.3,"categories":["Gender Icons"]},{"name":"Mars Stroke Vertical","id":"mars-stroke-v","unicode":"f22a","created":4.3,"categories":["Gender Icons"]},{"name":"Mars Stroke Horizontal","id":"mars-stroke-h","unicode":"f22b","created":4.3,"categories":["Gender Icons"]},{"name":"Neuter","id":"neuter","unicode":"f22c","created":4.3,"categories":["Gender Icons"]},{"name":"Genderless","id":"genderless","unicode":"f22d","created":4.4,"categories":["Gender Icons"]},{"name":"Facebook Official","id":"facebook-official","unicode":"f230","created":4.3,"categories":["Brand Icons"]},{"name":"Pinterest P","id":"pinterest-p","unicode":"f231","created":4.3,"categories":["Brand Icons"]},{"name":"What's App","id":"whatsapp","unicode":"f232","created":4.3,"categories":["Brand Icons"]},{"name":"Server","id":"server","unicode":"f233","created":4.3,"categories":["Web Application Icons"]},{"name":"Add User","id":"user-plus","unicode":"f234","created":4.3,"filter":["sign up","signup"],"categories":["Web Application Icons"]},{"name":"Remove User","id":"user-times","unicode":"f235","created":4.3,"categories":["Web Application Icons"]},{"name":"Bed","id":"bed","unicode":"f236","created":4.3,"filter":["travel"],"aliases":["hotel"],"categories":["Web Application Icons"]},{"name":"Viacoin","id":"viacoin","unicode":"f237","created":4.3,"url":"viacoin.org","categories":["Brand Icons"]},{"name":"Train","id":"train","unicode":"f238","created":4.3,"categories":["Transportation Icons"]},{"name":"Subway","id":"subway","unicode":"f239","created":4.3,"categories":["Transportation Icons"]},{"name":"Medium","id":"medium","unicode":"f23a","created":4.3,"categories":["Brand Icons"]},{"name":"Y Combinator","id":"y-combinator","unicode":"f23b","created":4.4,"aliases":["yc"],"categories":["Brand Icons"]},{"name":"Optin Monster","id":"optin-monster","unicode":"f23c","created":4.4,"url":"optinmonster.com","categories":["Brand Icons"]},{"name":"OpenCart","id":"opencart","unicode":"f23d","created":4.4,"url":"opencart.com","categories":["Brand Icons"]},{"name":"ExpeditedSSL","id":"expeditedssl","unicode":"f23e","created":4.4,"categories":["Brand Icons"]},{"name":"Battery Full","id":"battery-full","unicode":"f240","created":4.4,"aliases":["battery-4"],"filter":["power"],"categories":["Web Application Icons"]},{"name":"Battery 3/4 Full","id":"battery-three-quarters","unicode":"f241","created":4.4,"aliases":["battery-3"],"filter":["power"],"categories":["Web Application Icons"]},{"name":"Battery 1/2 Full","id":"battery-half","unicode":"f242","created":4.4,"aliases":["battery-2"],"filter":["power"],"categories":["Web Application Icons"]},{"name":"Battery 1/4 Full","id":"battery-quarter","unicode":"f243","created":4.4,"aliases":["battery-1"],"filter":["power"],"categories":["Web Application Icons"]},{"name":"Battery Empty","id":"battery-empty","unicode":"f244","created":4.4,"aliases":["battery-0"],"filter":["power"],"categories":["Web Application Icons"]},{"name":"Mouse Pointer","id":"mouse-pointer","unicode":"f245","created":4.4,"categories":["Web Application Icons"]},{"name":"I Beam Cursor","id":"i-cursor","unicode":"f246","created":4.4,"categories":["Web Application Icons"]},{"name":"Object Group","id":"object-group","unicode":"f247","created":4.4,"categories":["Web Application Icons"]},{"name":"Object Ungroup","id":"object-ungroup","unicode":"f248","created":4.4,"categories":["Web Application Icons"]},{"name":"Sticky Note","id":"sticky-note","unicode":"f249","created":4.4,"categories":["Web Application Icons"]},{"name":"Sticky Note Outlined","id":"sticky-note-o","unicode":"f24a","created":4.4,"categories":["Web Application Icons"]},{"name":"JCB Credit Card","id":"cc-jcb","unicode":"f24b","created":4.4,"categories":["Brand Icons","Payment Icons"]},{"name":"Diner's Club Credit Card","id":"cc-diners-club","unicode":"f24c","created":4.4,"categories":["Brand Icons","Payment Icons"]},{"name":"Clone","id":"clone","unicode":"f24d","created":4.4,"filter":["copy"],"categories":["Web Application Icons"]},{"name":"Balance Scale","id":"balance-scale","unicode":"f24e","created":4.4,"categories":["Web Application Icons"]},{"name":"Hourglass Outlined","id":"hourglass-o","unicode":"f250","created":4.4,"categories":["Web Application Icons"]},{"name":"Hourglass Start","id":"hourglass-start","unicode":"f251","created":4.4,"aliases":["hourglass-1"],"categories":["Web Application Icons"]},{"name":"Hourglass Half","id":"hourglass-half","unicode":"f252","created":4.4,"aliases":["hourglass-2"],"categories":["Web Application Icons"]},{"name":"Hourglass End","id":"hourglass-end","unicode":"f253","created":4.4,"aliases":["hourglass-3"],"categories":["Web Application Icons"]},{"name":"Hourglass","id":"hourglass","unicode":"f254","created":4.4,"categories":["Web Application Icons"]},{"name":"Rock (Hand)","id":"hand-rock-o","unicode":"f255","created":4.4,"aliases":["hand-grab-o"],"categories":["Web Application Icons","Hand Icons"]},{"name":"Paper (Hand)","id":"hand-paper-o","unicode":"f256","created":4.4,"aliases":["hand-stop-o"],"filter":["stop"],"categories":["Web Application Icons","Hand Icons"]},{"name":"Scissors (Hand)","id":"hand-scissors-o","unicode":"f257","created":4.4,"categories":["Web Application Icons","Hand Icons"]},{"name":"Lizard (Hand)","id":"hand-lizard-o","unicode":"f258","created":4.4,"categories":["Web Application Icons","Hand Icons"]},{"name":"Spock (Hand)","id":"hand-spock-o","unicode":"f259","created":4.4,"categories":["Web Application Icons","Hand Icons"]},{"name":"Hand Pointer","id":"hand-pointer-o","unicode":"f25a","created":4.4,"categories":["Web Application Icons","Hand Icons"]},{"name":"Hand Peace","id":"hand-peace-o","unicode":"f25b","created":4.4,"categories":["Web Application Icons","Hand Icons"]},{"name":"Trademark","id":"trademark","unicode":"f25c","created":4.4,"categories":["Web Application Icons"]},{"name":"Registered Trademark","id":"registered","unicode":"f25d","created":4.4,"categories":["Web Application Icons"]},{"name":"Creative Commons","id":"creative-commons","unicode":"f25e","created":4.4,"categories":["Web Application Icons"]},{"name":"GG Currency","id":"gg","unicode":"f260","created":4.4,"categories":["Currency Icons","Brand Icons"]},{"name":"GG Currency Circle","id":"gg-circle","unicode":"f261","created":4.4,"categories":["Currency Icons","Brand Icons"]},{"name":"TripAdvisor","id":"tripadvisor","unicode":"f262","created":4.4,"categories":["Brand Icons"]},{"name":"Odnoklassniki","id":"odnoklassniki","unicode":"f263","created":4.4,"categories":["Brand Icons"]},{"name":"Odnoklassniki Square","id":"odnoklassniki-square","unicode":"f264","created":4.4,"categories":["Brand Icons"]},{"name":"Get Pocket","id":"get-pocket","unicode":"f265","created":4.4,"categories":["Brand Icons"]},{"name":"Wikipedia W","id":"wikipedia-w","unicode":"f266","created":4.4,"categories":["Brand Icons"]},{"name":"Safari","id":"safari","unicode":"f267","created":4.4,"filter":["browser"],"categories":["Brand Icons"]},{"name":"Chrome","id":"chrome","unicode":"f268","created":4.4,"filter":["browser"],"categories":["Brand Icons"]},{"name":"Firefox","id":"firefox","unicode":"f269","created":4.4,"filter":["browser"],"categories":["Brand Icons"]},{"name":"Opera","id":"opera","unicode":"f26a","created":4.4,"categories":["Brand Icons"]},{"name":"Internet-explorer","id":"internet-explorer","unicode":"f26b","created":4.4,"filter":["browser","ie"],"categories":["Brand Icons"]},{"name":"Television","id":"television","unicode":"f26c","created":4.4,"aliases":["tv"],"filter":["display","computer","monitor"],"categories":["Web Application Icons"]},{"name":"Contao","id":"contao","unicode":"f26d","created":4.4,"categories":["Brand Icons"]},{"name":"500px","id":"500px","unicode":"f26e","created":4.4,"categories":["Brand Icons"]},{"name":"Amazon","id":"amazon","unicode":"f270","created":4.4,"categories":["Brand Icons"]},{"name":"Calendar Plus Outlined","id":"calendar-plus-o","unicode":"f271","created":4.4,"categories":["Web Application Icons"]},{"name":"Calendar Minus Outlined","id":"calendar-minus-o","unicode":"f272","created":4.4,"categories":["Web Application Icons"]},{"name":"Calendar Times Outlined","id":"calendar-times-o","unicode":"f273","created":4.4,"categories":["Web Application Icons"]},{"name":"Calendar Check Outlined","id":"calendar-check-o","unicode":"f274","created":4.4,"filter":["ok"],"categories":["Web Application Icons"]},{"name":"Industry","id":"industry","unicode":"f275","created":4.4,"filter":["factory"],"categories":["Web Application Icons"]},{"name":"Map Pin","id":"map-pin","unicode":"f276","created":4.4,"categories":["Web Application Icons"]},{"name":"Map Signs","id":"map-signs","unicode":"f277","created":4.4,"categories":["Web Application Icons"]},{"name":"Map Outlined","id":"map-o","unicode":"f278","created":4.4,"categories":["Web Application Icons"]},{"name":"Map","id":"map","unicode":"f279","created":4.4,"categories":["Web Application Icons"]},{"name":"Commenting","id":"commenting","unicode":"f27a","created":4.4,"filter":["speech","notification","note","chat","bubble","feedback","message","texting","sms","conversation"],"categories":["Web Application Icons"]},{"name":"Commenting Outlined","id":"commenting-o","unicode":"f27b","created":4.4,"filter":["speech","notification","note","chat","bubble","feedback","message","texting","sms","conversation"],"categories":["Web Application Icons"]},{"name":"Houzz","id":"houzz","unicode":"f27c","created":4.4,"categories":["Brand Icons"]},{"name":"Vimeo","id":"vimeo","unicode":"f27d","created":4.4,"categories":["Brand Icons"]},{"name":"Font Awesome Black Tie","id":"black-tie","unicode":"f27e","created":4.4,"url":"blacktie.io","categories":["Brand Icons"]},{"name":"Fonticons","id":"fonticons","unicode":"f280","created":4.4,"url":"fonticons.com","categories":["Brand Icons"]},{"name":"reddit Alien","id":"reddit-alien","unicode":"f281","created":4.5,"categories":["Brand Icons"]},{"name":"Edge Browser","id":"edge","unicode":"f282","created":4.5,"filter":["browser","ie"],"categories":["Brand Icons"]},{"name":"Credit Card","id":"credit-card-alt","unicode":"f283","created":4.5,"filter":["money","buy","debit","checkout","purchase","payment","credit card"],"categories":["Payment Icons","Web Application Icons"]},{"name":"Codie Pie","id":"codiepie","unicode":"f284","created":4.5,"url":"codiepie.com","categories":["Brand Icons"]},{"name":"MODX","id":"modx","unicode":"f285","created":4.5,"categories":["Brand Icons"]},{"name":"Fort Awesome","id":"fort-awesome","unicode":"f286","created":4.5,"url":"fortawesome.com","categories":["Brand Icons"]},{"name":"USB","id":"usb","unicode":"f287","created":4.5,"categories":["Brand Icons"]},{"name":"Product Hunt","id":"product-hunt","unicode":"f288","created":4.5,"categories":["Brand Icons"]},{"name":"Mixcloud","id":"mixcloud","unicode":"f289","created":4.5,"categories":["Brand Icons"]},{"name":"Scribd","id":"scribd","unicode":"f28a","created":4.5,"categories":["Brand Icons"]},{"name":"Pause Circle","id":"pause-circle","unicode":"f28b","created":4.5,"categories":["Video Player Icons"]},{"name":"Pause Circle Outlined","id":"pause-circle-o","unicode":"f28c","created":4.5,"categories":["Video Player Icons"]},{"name":"Stop Circle","id":"stop-circle","unicode":"f28d","created":4.5,"categories":["Video Player Icons"]},{"name":"Stop Circle Outlined","id":"stop-circle-o","unicode":"f28e","created":4.5,"categories":["Video Player Icons"]},{"name":"Shopping Bag","id":"shopping-bag","unicode":"f290","created":4.5,"categories":["Web Application Icons"]},{"name":"Shopping Basket","id":"shopping-basket","unicode":"f291","created":4.5,"categories":["Web Application Icons"]},{"name":"Hashtag","id":"hashtag","unicode":"f292","created":4.5,"categories":["Web Application Icons"]},{"name":"Bluetooth","id":"bluetooth","unicode":"f293","created":4.5,"categories":["Web Application Icons","Brand Icons"]},{"name":"Bluetooth","id":"bluetooth-b","unicode":"f294","created":4.5,"categories":["Web Application Icons","Brand Icons"]},{"name":"Percent","id":"percent","unicode":"f295","created":4.5,"categories":["Web Application Icons"]},{"name":"GitLab","id":"gitlab","unicode":"f296","created":4.6,"url":"gitlab.com","categories":["Brand Icons"]},{"name":"WPBeginner","id":"wpbeginner","unicode":"f297","created":4.6,"url":"wpbeginner.com","categories":["Brand Icons"]},{"name":"WPForms","id":"wpforms","unicode":"f298","created":4.6,"url":"wpforms.com","categories":["Brand Icons"]},{"name":"Envira Gallery","id":"envira","unicode":"f299","created":4.6,"url":"enviragallery.com","filter":["leaf"],"categories":["Brand Icons"]},{"name":"Universal Access","id":"universal-access","unicode":"f29a","created":4.6,"categories":["Web Application Icons","Accessibility Icons"]},{"name":"Wheelchair Alt","id":"wheelchair-alt","unicode":"f29b","created":4.6,"filter":["handicap","person"],"categories":["Web Application Icons","Medical Icons","Transportation Icons","Accessibility Icons"]},{"name":"Question Circle Outlined","id":"question-circle-o","unicode":"f29c","created":4.6,"categories":["Web Application Icons","Accessibility Icons"]},{"name":"Blind","id":"blind","unicode":"f29d","created":4.6,"categories":["Web Application Icons","Accessibility Icons"]},{"name":"Audio Description","id":"audio-description","unicode":"f29e","created":4.6,"categories":["Web Application Icons","Accessibility Icons"]},{"name":"Volume Control Phone","id":"volume-control-phone","unicode":"f2a0","created":4.6,"filter":["telephone"],"categories":["Web Application Icons","Accessibility Icons"]},{"name":"Braille","id":"braille","unicode":"f2a1","created":4.6,"categories":["Web Application Icons","Accessibility Icons"]},{"name":"Assistive Listening Systems","id":"assistive-listening-systems","unicode":"f2a2","created":4.6,"categories":["Web Application Icons","Accessibility Icons"]},{"name":"American Sign Language Interpreting","id":"american-sign-language-interpreting","unicode":"f2a3","created":4.6,"aliases":["asl-interpreting"],"categories":["Web Application Icons","Accessibility Icons"]},{"name":"Deaf","id":"deaf","unicode":"f2a4","created":4.6,"aliases":["deafness","hard-of-hearing"],"categories":["Web Application Icons","Accessibility Icons"]},{"name":"Glide","id":"glide","unicode":"f2a5","created":4.6,"categories":["Brand Icons"]},{"name":"Glide G","id":"glide-g","unicode":"f2a6","created":4.6,"categories":["Brand Icons"]},{"name":"Sign Language","id":"sign-language","unicode":"f2a7","created":4.6,"aliases":["signing"],"categories":["Web Application Icons","Accessibility Icons"]},{"name":"Low Vision","id":"low-vision","unicode":"f2a8","created":4.6,"categories":["Web Application Icons","Accessibility Icons"]},{"name":"Viadeo","id":"viadeo","unicode":"f2a9","created":4.6,"categories":["Brand Icons"]},{"name":"Viadeo Square","id":"viadeo-square","unicode":"f2aa","created":4.6,"categories":["Brand Icons"]},{"name":"Snapchat","id":"snapchat","unicode":"f2ab","created":4.6,"categories":["Brand Icons"]},{"name":"Snapchat Ghost","id":"snapchat-ghost","unicode":"f2ac","created":4.6,"categories":["Brand Icons"]},{"name":"Snapchat Square","id":"snapchat-square","unicode":"f2ad","created":4.6,"categories":["Brand Icons"]},{"name":"Pied Piper Logo","id":"pied-piper","unicode":"f2ae","created":4.6,"categories":["Brand Icons"]},{"name":"First Order","id":"first-order","unicode":"f2b0","created":4.6,"categories":["Brand Icons"]},{"name":"Yoast","id":"yoast","unicode":"f2b1","created":4.6,"url":"yoast.com","categories":["Brand Icons"]},{"name":"ThemeIsle","id":"themeisle","unicode":"f2b2","created":4.6,"url":"themeisle.com","categories":["Brand Icons"]},{"name":"Google Plus Official","id":"google-plus-official","unicode":"f2b3","created":4.6,"aliases":["google-plus-circle"],"categories":["Brand Icons"]},{"name":"Font Awesome","id":"font-awesome","unicode":"f2b4","created":4.6,"aliases":["fa"],"categories":["Brand Icons"]}]}
admin/assets/js/serialize-object.js ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ( function( $ ) {
2
+ "use strict";
3
+
4
+ $.fn.serializeObject = function() {
5
+
6
+ var self = this,
7
+ json = {},
8
+ push_counters = {},
9
+ patterns = {
10
+ "validate": /^[a-zA-Z][a-zA-Z0-9_-]*(?:\[(?:\d*|[a-zA-Z0-9_-]+)\])*$/,
11
+ "key": /[a-zA-Z0-9_-]+|(?=\[\])/g,
12
+ "push": /^$/,
13
+ "fixed": /^\d+$/,
14
+ "named": /^[a-zA-Z0-9_-]+$/
15
+ };
16
+
17
+ this.build = function( base, key, value ) {
18
+ base[ key ] = value;
19
+
20
+ return base;
21
+ };
22
+
23
+ this.push_counter = function( key ) {
24
+ if ( push_counters[ key ] === undefined ) {
25
+ push_counters[ key ] = 0;
26
+ }
27
+
28
+ return push_counters[ key ]++;
29
+ };
30
+
31
+ $.each( $( this ).serializeArray(), function() {
32
+ // skip invalid keys
33
+ if ( ! patterns.validate.test( this.name ) ) {
34
+ return;
35
+ }
36
+
37
+ var k,
38
+ keys = this.name.match( patterns.key ),
39
+ merge = this.value,
40
+ reverse_key = this.name;
41
+
42
+ while( ( k = keys.pop() ) !== undefined ) {
43
+
44
+ // adjust reverse_key
45
+ reverse_key = reverse_key.replace( new RegExp( "\\[" + k + "\\]$" ), '' );
46
+
47
+ // push
48
+ if ( k.match( patterns.push ) ) {
49
+ merge = self.build( [], self.push_counter( reverse_key ), merge );
50
+ }
51
+
52
+ // fixed
53
+ else if( k.match( patterns.fixed ) ) {
54
+ merge = self.build( [], k, merge );
55
+ }
56
+
57
+ // named
58
+ else if( k.match( patterns.named ) ) {
59
+ merge = self.build( {}, k, merge );
60
+ }
61
+ }
62
+
63
+ json = $.extend( true, json, merge );
64
+ });
65
+
66
+ return json;
67
+ };
68
+
69
+ }( jQuery ));
70
+
admin/assets/scss/cherry-services.scss ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .column-thumbnail {
2
+ width: 70px;
3
+ }
4
+ td.column-thumbnail {
5
+ text-align: center;
6
+ }
7
+
8
+ .cherry-ui-kit .cherry-ui-repeater-min > .cheryr-ui-repeater-content-box {
9
+ display: none !important;
10
+ }
11
+
12
+ #cherry-services-features {
13
+ .cheryr-ui-repeater-content-box {
14
+ display: -webkit-flex;
15
+ display: flex;
16
+ -webkit-flex-direction: row;
17
+ flex-direction: row;
18
+ }
19
+ .label-wrap,
20
+ .value-wrap {
21
+ -webkit-flex: 1 0 0;
22
+ flex: 1 0 0;
23
+ width: 50%;
24
+ box-sizing: border-box;
25
+ }
26
+ .label-wrap {
27
+ padding: 0 5px 0 0;
28
+ }
29
+ .value-wrap {
30
+ padding: 0 0 0 5px;
31
+ }
32
+ }
33
+
34
+ #cherry-services-cta-form {
35
+ .cheryr-ui-repeater-content-box {
36
+ display: -webkit-flex;
37
+ display: flex;
38
+ -webkit-flex-direction: row;
39
+ flex-direction: row;
40
+ }
41
+ .label-wrap,
42
+ .name-wrap,
43
+ .type-wrap,
44
+ .width-wrap,
45
+ .required-wrap {
46
+ -webkit-flex: 1 0 0;
47
+ flex: 1 0 0;
48
+ width: 20%;
49
+ box-sizing: border-box;
50
+ }
51
+ .width-wrap,
52
+ .label-wrap {
53
+ padding: 0 5px;
54
+ }
55
+ }
56
+
57
+ #cherry-services-options-form {
58
+ margin: 30px 20px 0 0;
59
+ border: 1px solid #e5e5e5;
60
+ box-shadow: 0 1px 1px rgba(0,0,0,.04);
61
+ background-color: #fff;
62
+ border-radius: 8px;
63
+ padding: 30px;
64
+ .cherry-services-options-page-wrapper{
65
+ background-color: #efefef;
66
+ border-radius: 6px;
67
+ padding: 30px;
68
+ box-shadow: 0 1px 1px rgba(0,0,0,.04);
69
+ }
70
+ .cherry-services-options-list-wrapper{
71
+ max-height: 575px;
72
+ overflow-y: scroll;
73
+
74
+ &::-webkit-scrollbar {
75
+ width: 8px;
76
+ height: 8px;
77
+ }
78
+ &::-webkit-scrollbar-button {
79
+ width: 0px;
80
+ height: 0px;
81
+ }
82
+ &::-webkit-scrollbar-thumb {
83
+ background: #495159;
84
+ border: 0px none #ffffff;
85
+ border-radius: 4px;
86
+ }
87
+ &::-webkit-scrollbar-thumb:hover {
88
+ background: #48c569;
89
+ }
90
+ &::-webkit-scrollbar-thumb:active {
91
+ background: #48c569;
92
+ }
93
+ &::-webkit-scrollbar-track {
94
+ background-color: rgba(0, 0, 0, 0.1);
95
+ border: 0px none #495159;
96
+ border-radius: 4px;
97
+ }
98
+ &::-webkit-scrollbar-track:hover {
99
+ background: rgba(0, 0, 0, 0.2);
100
+ }
101
+ &::-webkit-scrollbar-track:active {
102
+ background: rgba(0, 0, 0, 0.2);
103
+ }
104
+ &::-webkit-scrollbar-corner {
105
+ background: transparent;
106
+ }
107
+ }
108
+
109
+ .cherry-services-options-control-wrapper{
110
+ position: relative;
111
+ margin-top: 30px;
112
+ padding: 30px;
113
+ background-color: #fff;
114
+ border-radius: 4px;
115
+ box-shadow: 0px 5px 21px rgba(0, 0, 0, 0.1);
116
+ .custom-button{
117
+ padding: 16px 30px;
118
+ display: inline-block;
119
+ background-color: #C5C5C5;
120
+ font-weight: 900;
121
+ text-transform: uppercase;
122
+ color: #fff;
123
+ box-shadow: 0px 0px 13px rgba(0, 0, 0, 0.2);
124
+ cursor: pointer;
125
+ border-radius: 4px;
126
+ margin-right: 20px;
127
+ &.save-button{
128
+ background-color: #48c569;
129
+ &:hover{
130
+ background-color: #3ba956;
131
+ }
132
+ }
133
+ &.define-as-default-button{
134
+ background-color: #495159;
135
+ &:hover{
136
+ background-color: #282D31;
137
+ }
138
+ }
139
+ &.restore-button{
140
+ background-color: #495159;
141
+ &:hover{
142
+ background-color: #282D31;
143
+ }
144
+ }
145
+ &:last-child{
146
+ margin-right: 0;
147
+ }
148
+ &:hover{
149
+ background-color: #3ba956;
150
+ }
151
+ }
152
+ }
153
+ }
154
+ .option-section{
155
+ display: flex;
156
+ flex-flow: row nowrap;
157
+ box-shadow: 0px 5px 21px rgba(0, 0, 0, 0.1);
158
+ padding: 20px 30px;
159
+ background-color: #fff;
160
+ border-bottom: 1px solid #e5e5e5;
161
+ &:first-child{
162
+ border-radius: 4px 4px 0 0;
163
+ }
164
+ &:last-child{
165
+ border-radius: 0 0 4px 4px;
166
+ }
167
+ .option-info-wrapper{
168
+ flex: 0 1 30%;
169
+ .option-title{
170
+
171
+ }
172
+ .option-description{
173
+ font-style: italic;
174
+ }
175
+ }
176
+ .option-ui-element-wrapper{
177
+ flex: 0 1 70%;
178
+ .cherry-ui-container{
179
+
180
+ }
181
+ }
182
+ }
183
+
184
+ .notice-box{
185
+ background: #23282d;
186
+ position: fixed;
187
+ margin: 5px 0;
188
+ box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
189
+ box-sizing: border-box;
190
+ padding: 8px 15px 8px 8px;
191
+ min-width: 200px;
192
+ overflow: hidden;
193
+ color: #fff;
194
+ z-index: 999;
195
+ border-radius: 2px;
196
+ -webkit-transition: all 250ms cubic-bezier(0.85, 0.04, 1, 1);
197
+ transition: all 250ms cubic-bezier(0.85, 0.04, 1, 1);
198
+ span.dashicons{
199
+ position: relative;
200
+ margin-right: 10px;
201
+ &:before{
202
+ position: absolute;
203
+ font-size: 30px;
204
+ left: -6px;
205
+ top: -4px;
206
+ }
207
+ }
208
+ &.success-notice{
209
+ span.dashicons{
210
+ color: #48c569;
211
+ &:before{
212
+ content: "\f147";
213
+ }
214
+ }
215
+ .inner{
216
+ b{
217
+ color: #48c569;
218
+ }
219
+ }
220
+ }
221
+ &.info-notice{
222
+ span.dashicons{
223
+ color: #faa730;
224
+ &:before{
225
+ content: "\f534";
226
+ }
227
+ }
228
+ .inner{
229
+ b{
230
+ color: #faa730;
231
+ }
232
+ }
233
+ }
234
+ &.error-notice{
235
+ span.dashicons{
236
+ color: #e54343;
237
+ &:before{
238
+ content: "\f158";
239
+ }
240
+ }
241
+ }
242
+ &.show-state{
243
+ -webkit-transition: all 500ms cubic-bezier(0.1, 0.67, 0.26, 1);
244
+ transition: all 500ms cubic-bezier(0.1, 0.67, 0.26, 1);
245
+ }
246
+ .inner{
247
+ display: inline-block;
248
+ }
249
+ }
250
+
251
+ .cherry-spinner-wordpress {
252
+ width: 50px;
253
+ height: 50px;
254
+ position: absolute;
255
+ top: 30px;
256
+ right: 30px;
257
+ display: none;
258
+ }
259
+
260
+ .double-bounce-1, .double-bounce-2 {
261
+ width: 100%;
262
+ height: 100%;
263
+ border-radius: 50%;
264
+ background-color: #48c569;
265
+ opacity: 0.6;
266
+ position: absolute;
267
+ top: 0;
268
+ left: 0;
269
+ animation: tm-bounce 2.0s infinite ease-in-out;
270
+ }
271
+
272
+ .double-bounce-2 {
273
+ animation-delay: -1.0s;
274
+ }
275
+
276
+ @keyframes tm-bounce {
277
+ 0%, 100% {
278
+ transform: scale(0.0);
279
+ } 50% {
280
+ transform: scale(1.0);
281
+ }
282
+ }
admin/includes/class-cherry-services-ajax.php ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Ajax callbacks
4
+ *
5
+ * @package package_name
6
+ * @author Cherry Team
7
+ * @license GPL-2.0+
8
+ */
9
+
10
+ // If this file is called directly, abort.
11
+ if ( ! defined( 'WPINC' ) ) {
12
+ die;
13
+ }
14
+
15
+ if ( ! class_exists( 'Cherry_Services_Ajax' ) ) {
16
+
17
+ /**
18
+ * Define Cherry_Services_Ajax class
19
+ */
20
+ class Cherry_Services_Ajax {
21
+
22
+ /**
23
+ * A reference to an instance of this class.
24
+ *
25
+ * @since 1.0.0
26
+ * @var object
27
+ */
28
+ private static $instance = null;
29
+
30
+ /**
31
+ * Storage for data object
32
+ * @since 1.0.0
33
+ * @var null|object
34
+ */
35
+ public $data = null;
36
+
37
+ /**
38
+ * Constructor for the class
39
+ */
40
+ function __construct() {
41
+
42
+ add_action( 'wp_ajax_cherry_services_filter_posts', array( $this, 'filter_posts' ) );
43
+ add_action( 'wp_ajax_nopriv_cherry_services_filter_posts', array( $this, 'filter_posts' ) );
44
+
45
+ add_action( 'wp_ajax_cherry_services_load_more', array( $this, 'more_posts' ) );
46
+ add_action( 'wp_ajax_nopriv_cherry_services_load_more', array( $this, 'more_posts' ) );
47
+
48
+ add_action( 'wp_ajax_cherry_services_pager', array( $this, 'pager' ) );
49
+ add_action( 'wp_ajax_nopriv_cherry_services_pager', array( $this, 'pager' ) );
50
+ }
51
+
52
+ /**
53
+ * Validate boolean values
54
+ *
55
+ * @param array $atts Attributes array.
56
+ * @return array
57
+ */
58
+ public function validate_bool( $atts = array() ) {
59
+
60
+ if ( empty( $atts ) ) {
61
+ return $atts;
62
+ }
63
+
64
+ $bool_keys = array(
65
+ 'show_name',
66
+ 'show_photo',
67
+ 'show_content',
68
+ 'show_position',
69
+ 'show_social',
70
+ 'show_filters',
71
+ 'ajax_more',
72
+ 'more',
73
+ 'pager',
74
+ 'use_space',
75
+ 'use_rows_space',
76
+ );
77
+
78
+ foreach ( $atts as $key => $value ) {
79
+
80
+ if ( ! in_array( $key, $bool_keys ) ) {
81
+ continue;
82
+ }
83
+
84
+ $atts[ $key ] = filter_var( $value, FILTER_VALIDATE_BOOLEAN );
85
+ }
86
+
87
+ return $atts;
88
+ }
89
+
90
+ /**
91
+ * Maybe add selected cats into filter
92
+ *
93
+ * @return string
94
+ */
95
+ public function maybe_add_cats() {
96
+
97
+ $cat = '';
98
+
99
+ if ( isset( $_POST['cats'] ) ) {
100
+ $cat = esc_attr( $_POST['cats'] );
101
+ }
102
+
103
+ return $cat;
104
+
105
+ }
106
+
107
+ /**
108
+ * Filter posts callback
109
+ *
110
+ * @return void
111
+ */
112
+ public function filter_posts() {
113
+
114
+ $cat = ! empty( $_POST['cat'] ) ? $_POST['cat'] : 'all-cats';
115
+
116
+ $atts = isset( $_POST['atts'] ) && is_array( $_POST['atts'] ) ? $_POST['atts'] : array();
117
+ $atts = $this->validate_bool( $atts );
118
+
119
+ $atts['echo'] = false;
120
+ $atts['paged'] = 1;
121
+
122
+ if ( 'all-cats' === $cat ) {
123
+ $atts['category'] = $this->maybe_add_cats();
124
+ } else {
125
+ $atts['category'] = $cat;
126
+ }
127
+
128
+ $this->data = new Cherry_Services_List_Data( $atts );
129
+
130
+ $query = $this->data->get_services( $atts );
131
+ $result = $this->data->get_services_loop( $query, $atts );
132
+ $pager = '';
133
+
134
+ if ( false === $atts['more'] && true === $atts['pager'] ) {
135
+ $pager = $this->data->get_pagination( $query );
136
+ }
137
+
138
+ wp_send_json_success( array(
139
+ 'result' => $result,
140
+ 'atts' => $atts,
141
+ 'pages' => $query->max_num_pages,
142
+ 'pager' => $pager,
143
+ ) );
144
+
145
+ }
146
+
147
+ /**
148
+ * Proces load more button
149
+ *
150
+ * @return void
151
+ */
152
+ public function more_posts() {
153
+
154
+ $page = ! empty( $_POST['page'] ) ? intval( $_POST['page'] ) : 1;
155
+
156
+ $atts = isset( $_POST['atts'] ) && is_array( $_POST['atts'] ) ? $_POST['atts'] : array();
157
+ $atts = $this->validate_bool( $atts );
158
+
159
+ $atts['echo'] = false;
160
+ $atts['paged'] = $page + 1;
161
+
162
+ $this->data = new Cherry_Services_List_Data( $atts );
163
+
164
+ $query = $this->data->get_services( $atts );
165
+ $result = $this->data->get_services_loop( $query, $atts );
166
+
167
+ wp_send_json_success( array(
168
+ 'result' => $result,
169
+ 'atts' => $atts,
170
+ 'page' => $atts['paged'],
171
+ ) );
172
+
173
+ }
174
+
175
+ /**
176
+ * Process pager calls
177
+ *
178
+ * @return void
179
+ */
180
+ public function pager() {
181
+
182
+ $page = ! empty( $_POST['page'] ) ? intval( $_POST['page'] ) : 1;
183
+
184
+ $atts = isset( $_POST['atts'] ) && is_array( $_POST['atts'] ) ? $_POST['atts'] : array();
185
+ $atts = $this->validate_bool( $atts );
186
+
187
+ $atts['echo'] = false;
188
+ $atts['paged'] = $page;
189
+ $atts['pager'] = false;
190
+
191
+ $this->data = new Cherry_Services_List_Data( $atts );
192
+
193
+ $query = $this->data->get_services( $atts );
194
+ $result = $this->data->get_services_loop( $query, $atts );
195
+
196
+ $atts['pager'] = true;
197
+
198
+ wp_send_json_success( array(
199
+ 'result' => $result,
200
+ 'atts' => $atts,
201
+ 'page' => $atts['paged'],
202
+ ) );
203
+
204
+ }
205
+
206
+ /**
207
+ * Returns the instance.
208
+ *
209
+ * @since 1.0.0
210
+ * @return object
211
+ */
212
+ public static function get_instance() {
213
+
214
+ // If the single instance hasn't been set, set it now.
215
+ if ( null == self::$instance ) {
216
+ self::$instance = new self;
217
+ }
218
+ return self::$instance;
219
+ }
220
+ }
221
+
222
+ }
223
+
224
+ /**
225
+ * Returns instance of Cherry_Services_Ajax
226
+ *
227
+ * @return object
228
+ */
229
+ function cherry_services_ajax() {
230
+ return Cherry_Services_Ajax::get_instance();
231
+ }
232
+
233
+ cherry_services_ajax();
admin/includes/class-cherry-services-meta.php ADDED
@@ -0,0 +1,855 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Cherry Services - add post meta
4
+ *
5
+ * @package Cherry_Team
6
+ * @author Cherry Services
7
+ * @license GPL-2.0+
8
+ * @link http://www.cherryframework.com/
9
+ * @copyright 2015 Cherry Team
10
+ */
11
+
12
+ /**
13
+ * Class for post meta management.
14
+ *
15
+ * @since 1.0.0
16
+ */
17
+ class Cherry_Services_List_Meta extends Cherry_Services_List {
18
+
19
+ /**
20
+ * A reference to an instance of this class.
21
+ *
22
+ * @since 1.0.0
23
+ * @var object
24
+ */
25
+ private static $instance = null;
26
+
27
+ /**
28
+ * Sets up needed actions/filters.
29
+ *
30
+ * @since 1.0.0
31
+ */
32
+ public function __construct() {
33
+
34
+ // Adds the services post type meta.
35
+ add_action( 'admin_init', array( $this, 'init_metaboxes' ) );
36
+
37
+ // Enqueue assets
38
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_styles' ) );
39
+
40
+ add_filter( 'post_row_actions', array( $this, 'duplicate_link' ), 10, 2 );
41
+ add_action( 'admin_action_cherry_services_clone_post', array( $this, 'duplicate_post_as_draft' ) );
42
+
43
+ add_filter( 'cherry_post_meta_custom_box', array( $this, 'check_testi' ), 10, 3 );
44
+
45
+ }
46
+
47
+ /**
48
+ * Add 'Clone' link into posts actions list
49
+ *
50
+ * @param array $actions Available actions.
51
+ * @param object $post Current post.
52
+ * @return [type] [description]
53
+ */
54
+ public function duplicate_link( $actions, $post ) {
55
+
56
+ if ( ! current_user_can( 'edit_posts' ) ) {
57
+ return $actions;
58
+ }
59
+
60
+ if ( $this->post_type() !== $post->post_type ) {
61
+ return $actions;
62
+ }
63
+
64
+ $url = add_query_arg(
65
+ array(
66
+ 'action' => 'cherry_services_clone_post',
67
+ 'post' => $post->ID,
68
+ ),
69
+ admin_url( 'admin.php' )
70
+ );
71
+
72
+ $actions['clone'] = sprintf(
73
+ '<a href="%1$s" title="%3$s" rel="permalink">%2$s</a>',
74
+ $url,
75
+ __( 'Clone', 'cherry-services' ),
76
+ __( 'Clone this post', 'cherry-services' )
77
+ );
78
+
79
+ return $actions;
80
+ }
81
+
82
+ /**
83
+ * Process post cloning
84
+ */
85
+ function duplicate_post_as_draft() {
86
+
87
+ if ( ! current_user_can( 'edit_posts' ) ) {
88
+ wp_die( __( 'You don\'t have permissions to do this', 'cherry-services' ) );
89
+ }
90
+
91
+ if ( empty( $_REQUEST['action'] ) || 'cherry_services_clone_post' !== $_REQUEST['action'] ) {
92
+ wp_die( __( 'Not allowed function call!', 'cherry-services' ) );
93
+ }
94
+
95
+ if ( empty( $_REQUEST['post'] ) ) {
96
+ wp_die( __( 'No post to duplicate has been supplied!', 'cherry-services' ) );
97
+ }
98
+
99
+ global $wpdb;
100
+
101
+ $post_id = absint( $_REQUEST['post'] );
102
+ $post = get_post( $post_id );
103
+ $current_user = wp_get_current_user();
104
+ $new_post_author = $current_user->ID;
105
+
106
+ if ( ! $post ) {
107
+ wp_die(
108
+ sprintf( __( 'Post creation failed, could not find original post: %s', 'cherry-services' ) ),
109
+ $post_id
110
+ );
111
+ }
112
+
113
+ $args = array(
114
+ 'comment_status' => $post->comment_status,
115
+ 'ping_status' => $post->ping_status,
116
+ 'post_author' => $new_post_author,
117
+ 'post_content' => $post->post_content,
118
+ 'post_excerpt' => $post->post_excerpt,
119
+ 'post_name' => $post->post_name,
120
+ 'post_parent' => $post->post_parent,
121
+ 'post_password' => $post->post_password,
122
+ 'post_status' => 'draft',
123
+ 'post_title' => $post->post_title,
124
+ 'post_type' => $post->post_type,
125
+ 'to_ping' => $post->to_ping,
126
+ 'menu_order' => $post->menu_order
127
+ );
128
+
129
+ $new_post_id = wp_insert_post( $args );
130
+
131
+ $post_terms = wp_get_object_terms( $post_id, 'group', array( 'fields' => 'slugs' ) );
132
+ wp_set_object_terms( $new_post_id, $post_terms, 'group', false );
133
+
134
+ $post_meta_infos = $wpdb->get_results(
135
+ "SELECT meta_key, meta_value FROM $wpdb->postmeta WHERE post_id = $post_id"
136
+ );
137
+
138
+ if ( 0 !== count( $post_meta_infos ) ) {
139
+
140
+ $sql_query = "INSERT INTO $wpdb->postmeta (post_id, meta_key, meta_value) ";
141
+
142
+ foreach ( $post_meta_infos as $meta_info ) {
143
+
144
+ $meta_key = $meta_info->meta_key;
145
+ $meta_value = addslashes( $meta_info->meta_value );
146
+ $sql_query_sel[] = "SELECT $new_post_id, '$meta_key', '$meta_value'";
147
+
148
+ }
149
+
150
+ $sql_query.= implode( " UNION ALL ", $sql_query_sel );
151
+ $wpdb->query( $sql_query );
152
+ }
153
+
154
+ wp_redirect( admin_url( 'post.php?action=edit&post=' . $new_post_id ) );
155
+
156
+ exit;
157
+ }
158
+
159
+ /**
160
+ * Enqueue admin styles function.
161
+ *
162
+ * @param string $hook_suffix Current page hook name.
163
+ * @return void
164
+ */
165
+ public function enqueue_admin_styles( $hook_suffix ) {
166
+
167
+ $allowed_pages = array( 'post-new.php', 'post.php', 'edit.php' );
168
+
169
+ if ( ! in_array( $hook_suffix, $allowed_pages ) || $this->post_type() !== get_post_type() ) {
170
+ return;
171
+ }
172
+
173
+ wp_enqueue_style( 'cherry-services-admin' );
174
+ }
175
+
176
+ /**
177
+ * Check - if testimonials plugin is not active - return notice.
178
+ *
179
+ * @param bool $box_content Current box content (bool false by default).
180
+ * @param object $post Post object.
181
+ * @param array $box_data Current metabox data.
182
+ * @return bool|string
183
+ */
184
+ public function check_testi( $box_content, $post, $box_data ) {
185
+
186
+ if ( empty( $box_data['id'] ) || 'service-testi' !== $box_data['id'] ) {
187
+ return $box_content;
188
+ }
189
+
190
+ if ( class_exists( 'TM_Testimonials_Plugin' ) ) {
191
+ return $box_content;
192
+ }
193
+
194
+ return esc_html__( 'Testimonials management are not available. Please, install Cherry Testi plugin' );
195
+
196
+ }
197
+
198
+ /**
199
+ * Loads custom meta boxes on the "Add New Testimonial" and "Edit Testimonial" screens.
200
+ *
201
+ * @since 1.0.0
202
+ * @return void
203
+ */
204
+ public function init_metaboxes() {
205
+
206
+ cherry_services_list()->get_core()->init_module(
207
+ 'cherry-post-meta',
208
+ apply_filters( 'cherry_services_list_meta_options_args', array(
209
+ 'id' => 'service-options',
210
+ 'title' => esc_html__( 'Service Options', 'cherry-services' ),
211
+ 'page' => array( $this->post_type() ),
212
+ 'context' => 'normal',
213
+ 'priority' => 'high',
214
+ 'callback_args' => false,
215
+ 'fields' => array(
216
+ 'tabs' => array(
217
+ 'element' => 'component',
218
+ 'type' => 'component-tab-horizontal',
219
+ ),
220
+ 'general' => array(
221
+ 'type' => 'settings',
222
+ 'element' => 'settings',
223
+ 'parent' => 'tabs',
224
+ 'title' => esc_html__( 'General', 'cherry-services' ),
225
+ ),
226
+ 'features' => array(
227
+ 'type' => 'settings',
228
+ 'element' => 'settings',
229
+ 'parent' => 'tabs',
230
+ 'title' => esc_html__( 'Features', 'cherry-services' ),
231
+ ),
232
+ 'cta' => array(
233
+ 'type' => 'settings',
234
+ 'element' => 'settings',
235
+ 'parent' => 'tabs',
236
+ 'title' => esc_html__( 'Call To Action', 'cherry-services' ),
237
+ ),
238
+ 'styling' => array(
239
+ 'type' => 'settings',
240
+ 'element' => 'settings',
241
+ 'parent' => 'tabs',
242
+ 'title' => esc_html__( 'Styling', 'cherry-services' ),
243
+ ),
244
+ 'cherry-services-icon' => array(
245
+ 'type' => 'iconpicker',
246
+ 'element' => 'control',
247
+ 'parent' => 'general',
248
+ 'label' => esc_html__( 'Service Icon', 'cherry-services' ),
249
+ 'icon_data' => array(
250
+ 'icon_set' => 'cherryServicesIcons',
251
+ 'icon_css' => $this->plugin_url( 'public/assets/css/font-awesome.min.css' ),
252
+ 'icon_base' => 'fa',
253
+ 'icon_prefix' => 'fa-',
254
+ 'icons' => $this->get_icons_set(),
255
+ ),
256
+ 'sanitize_callback' => 'esc_attr'
257
+ ),
258
+ 'cherry-services-slogan' => array(
259
+ 'type' => 'text',
260
+ 'element' => 'control',
261
+ 'parent' => 'general',
262
+ 'placeholder' => esc_html__( 'Slogan', 'cherry-services' ),
263
+ 'label' => esc_html__( 'Slogan', 'cherry-services' ),
264
+ ),
265
+ 'cherry-services-descr' => array(
266
+ 'type' => 'textarea',
267
+ 'element' => 'control',
268
+ 'parent' => 'general',
269
+ 'placeholder' => esc_html__( 'Short Description', 'cherry-services' ),
270
+ 'label' => esc_html__( 'Short Description', 'cherry-services' ),
271
+ 'sanitize_callback' => 'wp_kses_post',
272
+ ),
273
+ 'cherry-services-features-title' => array(
274
+ 'type' => 'text',
275
+ 'element' => 'control',
276
+ 'parent' => 'features',
277
+ 'placeholder' => esc_html__( 'Features Title', 'cherry-services' ),
278
+ 'label' => esc_html__( 'Features Title', 'cherry-services' ),
279
+ ),
280
+ 'cherry-services-features' => array(
281
+ 'type' => 'repeater',
282
+ 'element' => 'control',
283
+ 'parent' => 'features',
284
+ 'label' => esc_html__( 'Features', 'cherry-services' ),
285
+ 'add_label' => esc_html__( 'Add New Feature', 'cherry-services' ),
286
+ 'title_field' => 'label',
287
+ 'fields' => array(
288
+ 'label' => array(
289
+ 'type' => 'text',
290
+ 'id' => 'label',
291
+ 'name' => 'label',
292
+ 'placeholder' => esc_html__( 'Feature Label', 'cherry-services' ),
293
+ 'label' => esc_html__( 'Feature Label', 'cherry-services' ),
294
+ 'sanitize_callback' => 'sanitize_text_field',
295
+ ),
296
+ 'value' => array(
297
+ 'type' => 'text',
298
+ 'id' => 'value',
299
+ 'name' => 'value',
300
+ 'placeholder' => esc_html__( 'Feature Value', 'cherry-services' ),
301
+ 'label' => esc_html__( 'Feature Value', 'cherry-services' ),
302
+ 'sanitize_callback' => 'sanitize_text_field',
303
+ ),
304
+ ),
305
+ 'sanitize_callback' => array( $this, 'sanitize_repeater' ),
306
+ ),
307
+ 'cherry-services-show-cta' => array(
308
+ 'type' => 'checkbox',
309
+ 'element' => 'control',
310
+ 'parent' => 'cta',
311
+ 'options' => array(
312
+ 'enable' => esc_html__( 'Enable CTA block', 'cherry-services' ),
313
+ ),
314
+ ),
315
+ 'cherry-services-cta-title' => array(
316
+ 'type' => 'text',
317
+ 'element' => 'control',
318
+ 'parent' => 'cta',
319
+ 'placeholder' => esc_html__( 'Title', 'cherry-services' ),
320
+ 'label' => esc_html__( 'Title', 'cherry-services' ),
321
+ ),
322
+ 'cherry-services-cta-descr' => array(
323
+ 'type' => 'textarea',
324
+ 'element' => 'control',
325
+ 'parent' => 'cta',
326
+ 'placeholder' => esc_html__( 'Description', 'cherry-services' ),
327
+ 'label' => esc_html__( 'Description', 'cherry-services' ),
328
+ ),
329
+ 'cherry-services-cta-type' => array(
330
+ 'type' => 'radio',
331
+ 'element' => 'control',
332
+ 'parent' => 'cta',
333
+ 'label' => esc_html__( 'Call to Action Type', 'cherry-services' ),
334
+ 'value' => 'form',
335
+ 'options' => array(
336
+ 'form' => array(
337
+ 'label' => esc_html__( 'Contact Form', 'cherry-services' ),
338
+ 'slave' => 'cherry-services-cta-type-form',
339
+ ),
340
+ 'button' => array(
341
+ 'label' => esc_html__( 'Link', 'cherry-services' ),
342
+ 'slave' => 'cherry-services-cta-type-button',
343
+ ),
344
+ ),
345
+ ),
346
+ 'cherry-services-cta-form' => array(
347
+ 'type' => 'repeater',
348
+ 'element' => 'control',
349
+ 'parent' => 'cta',
350
+ 'label' => esc_html__( 'Form Fields', 'cherry-services' ),
351
+ 'add_label' => esc_html__( 'Add New Field', 'cherry-services' ),
352
+ 'title_field' => 'label',
353
+ 'master' => 'cherry-services-cta-type-form',
354
+ 'fields' => array(
355
+ 'type' => array(
356
+ 'type' => 'select',
357
+ 'id' => 'type',
358
+ 'name' => 'type',
359
+ 'placeholder' => esc_html__( 'Field Type', 'cherry-services' ),
360
+ 'label' => esc_html__( 'Type', 'cherry-services' ),
361
+ 'options' => array(
362
+ 'text' => __( 'Text', 'cherry-sevices' ),
363
+ 'email' => __( 'Email', 'cherry-services' ),
364
+ 'textarea' => __( 'Textarea', 'cherry-services' ),
365
+ ),
366
+ 'sanitize_callback' => 'esc_attr',
367
+ ),
368
+ 'label' => array(
369
+ 'type' => 'text',
370
+ 'id' => 'label',
371
+ 'name' => 'label',
372
+ 'placeholder' => esc_html__( 'Field Label', 'cherry-services' ),
373
+ 'label' => esc_html__( 'Label', 'cherry-services' ),
374
+ 'sanitize_callback' => 'sanitize_text_field',
375
+ ),
376
+ 'name' => array(
377
+ 'type' => 'text',
378
+ 'id' => 'name',
379
+ 'name' => 'name',
380
+ 'placeholder' => esc_html__( 'Field Name', 'cherry-services' ),
381
+ 'label' => esc_html__( 'Name(Should be unique)', 'cherry-services' ),
382
+ 'sanitize_callback' => 'esc_attr',
383
+ ),
384
+ 'width' => array(
385
+ 'type' => 'select',
386
+ 'id' => 'width',
387
+ 'name' => 'width',
388
+ 'label' => esc_html__( 'Field Width', 'cherry-services' ),
389
+ 'options' => array(
390
+ '1' => __( 'Fullwidth', 'cherry-sevices' ),
391
+ '1/3' => __( '1/3', 'cherry-services' ),
392
+ '1/2' => __( '1/2', 'cherry-services' ),
393
+ '2/3' => __( '2/3', 'cherry-services' ),
394
+ ),
395
+ 'sanitize_callback' => 'esc_attr',
396
+ ),
397
+ 'required' => array(
398
+ 'type' => 'select',
399
+ 'id' => 'required',
400
+ 'name' => 'required',
401
+ 'label' => esc_html__( 'Is Required Field?', 'cherry-services' ),
402
+ 'options' => array(
403
+ 'yes' => __( 'Yes', 'cherry-sevices' ),
404
+ 'no' => __( 'No', 'cherry-services' ),
405
+ ),
406
+ 'sanitize_callback' => 'esc_attr',
407
+ ),
408
+ ),
409
+ 'sanitize_callback' => array( $this, 'sanitize_repeater' ),
410
+ ),
411
+ 'cherry-services-cta-submit' => array(
412
+ 'type' => 'text',
413
+ 'element' => 'control',
414
+ 'parent' => 'cta',
415
+ 'master' => 'cherry-services-cta-type-form',
416
+ 'placeholder' => esc_html__( 'Form Submit Button Text', 'cherry-services' ),
417
+ 'label' => esc_html__( 'Form Submit Button Text', 'cherry-services' ),
418
+ 'sanitize_callback' => 'sanitize_text_field',
419
+ ),
420
+ 'cherry-services-form-message' => array(
421
+ 'type' => 'text',
422
+ 'element' => 'control',
423
+ 'parent' => 'cta',
424
+ 'value' => esc_html__( 'Thanks for your request', 'cherry-services' ),
425
+ 'master' => 'cherry-services-cta-type-form',
426
+ 'label' => esc_html__( 'Success Message', 'cherry-services' ),
427
+ 'sanitize_callback' => 'sanitize_text_field',
428
+ ),
429
+ 'cherry-services-cta-link-text' => array(
430
+ 'type' => 'text',
431
+ 'element' => 'control',
432
+ 'parent' => 'cta',
433
+ 'master' => 'cherry-services-cta-type-button',
434
+ 'placeholder' => esc_html__( 'Button Text', 'cherry-services' ),
435
+ 'label' => esc_html__( 'CTA Button Text', 'cherry-services' ),
436
+ 'sanitize_callback' => 'sanitize_text_field',
437
+ ),
438
+ 'cherry-services-cta-link-url' => array(
439
+ 'type' => 'text',
440
+ 'element' => 'control',
441
+ 'parent' => 'cta',
442
+ 'master' => 'cherry-services-cta-type-button',
443
+ 'placeholder' => esc_html__( 'Button URL', 'cherry-services' ),
444
+ 'label' => esc_html__( 'CTA Button URL', 'cherry-services' ),
445
+ 'sanitize_callback' => 'esc_url',
446
+ ),
447
+ 'cherry-services-single-layout' => array(
448
+ 'type' => 'select',
449
+ 'element' => 'control',
450
+ 'parent' => 'styling',
451
+ 'value' => 'fullwidth',
452
+ 'options' => array(
453
+ 'fullwidth' => esc_html__( 'Fullwidth', 'cherry-services' ),
454
+ 'boxed' => esc_html__( 'Boxed', 'cherry-services' ),
455
+ ),
456
+ 'label' => esc_html__( 'Single page content', 'cherry-services' ),
457
+ 'sanitize_callback' => 'esc_attr',
458
+ ),
459
+ 'cherry-services-cta-bg-image' => array(
460
+ 'type' => 'media',
461
+ 'element' => 'control',
462
+ 'parent' => 'styling',
463
+ 'multi_upload' => false,
464
+ 'library_type' => 'image',
465
+ 'upload_button_text' => esc_html__( 'Add Image', 'cherry-services' ),
466
+ 'label' => esc_html__( 'Call to action background image', 'cherry-services' ),
467
+ 'sanitize_callback' => 'esc_attr',
468
+ ),
469
+ 'cherry-services-cta-bg-color' => array(
470
+ 'type' => 'colorpicker',
471
+ 'element' => 'control',
472
+ 'parent' => 'styling',
473
+ 'label' => esc_html__( 'Call to action background color', 'cherry-services' ),
474
+ 'sanitize_callback' => 'esc_attr',
475
+ ),
476
+ 'cherry-services-cta-bg-position' => array(
477
+ 'type' => 'select',
478
+ 'element' => 'control',
479
+ 'parent' => 'styling',
480
+ 'value' => 'center center',
481
+ 'options' => array(
482
+ 'left top' => esc_html__( 'Left Top', 'cherry-services' ),
483
+ 'center top' => esc_html__( 'Center Top', 'cherry-services' ),
484
+ 'right top' => esc_html__( 'Right Top', 'cherry-services' ),
485
+ 'left center' => esc_html__( 'Left Center', 'cherry-services' ),
486
+ 'center center' => esc_html__( 'Center Center', 'cherry-services' ),
487
+ 'right center' => esc_html__( 'Right Center', 'cherry-services' ),
488
+ 'left bottom' => esc_html__( 'Left Bottom', 'cherry-services' ),
489
+ 'center bottom' => esc_html__( 'Center Bottom', 'cherry-services' ),
490
+ 'right bottom' => esc_html__( 'Right Bottom', 'cherry-services' ),
491
+ ),
492
+ 'label' => esc_html__( 'Call to action background position', 'cherry-services' ),
493
+ 'sanitize_callback' => 'esc_attr',
494
+ ),
495
+ 'cherry-services-cta-bg-repeat' => array(
496
+ 'type' => 'select',
497
+ 'element' => 'control',
498
+ 'parent' => 'styling',
499
+ 'value' => 'repeat',
500
+ 'options' => array(
501
+ 'repeat' => esc_html__( 'Repeat', 'cherry-services' ),
502
+ 'repeat-x' => esc_html__( 'Repeat X', 'cherry-services' ),
503
+ 'repeat-y' => esc_html__( 'Repeat Y', 'cherry-services' ),
504
+ 'no-repeat' => esc_html__( 'No Repeat', 'cherry-services' ),
505
+ ),
506
+ 'label' => esc_html__( 'Call to action background repeat', 'cherry-services' ),
507
+ 'sanitize_callback' => 'esc_attr',
508
+ ),
509
+ 'cherry-services-cta-bg-size' => array(
510
+ 'type' => 'select',
511
+ 'element' => 'control',
512
+ 'parent' => 'styling',
513
+ 'value' => 'repeat',
514
+ 'options' => array(
515
+ 'auto' => esc_html__( 'Auto', 'cherry-services' ),
516
+ 'cover' => esc_html__( 'Cover', 'cherry-services' ),
517
+ 'contain' => esc_html__( 'Contain', 'cherry-services' ),
518
+ ),
519
+ 'label' => esc_html__( 'Call to action background image size', 'cherry-services' ),
520
+ 'sanitize_callback' => 'esc_attr',
521
+ ),
522
+ 'cherry-services-cta-text-color' => array(
523
+ 'type' => 'colorpicker',
524
+ 'element' => 'control',
525
+ 'parent' => 'styling',
526
+ 'label' => esc_html__( 'Call to action text color', 'cherry-services' ),
527
+ 'sanitize_callback' => 'esc_attr',
528
+ ),
529
+ 'cherry-services-cta-title-color' => array(
530
+ 'type' => 'colorpicker',
531
+ 'element' => 'control',
532
+ 'parent' => 'styling',
533
+ 'label' => esc_html__( 'Call to action title color', 'cherry-services' ),
534
+ 'sanitize_callback' => 'esc_attr',
535
+ ),
536
+ ),
537
+ 'admin_columns' => array(
538
+ 'thumbnail' => array(
539
+ 'label' => __( 'Thumbnail', 'cherry-services' ),
540
+ 'callback' => array( $this, 'show_thumb' ),
541
+ 'position' => 1,
542
+ ),
543
+ 'cherry-services-slogan' => array(
544
+ 'label' => __( 'Slogan', 'cherry-services' ),
545
+ ),
546
+ ),
547
+ )
548
+ ) );
549
+
550
+ cherry_services_list()->get_core()->init_module(
551
+ 'cherry-post-meta',
552
+ apply_filters( 'cherry_services_list_meta_testi_args', array(
553
+ 'id' => 'service-testi',
554
+ 'single' => array( 'key' => 'cherry-services-testi' ),
555
+ 'title' => esc_html__( 'Testimonials', 'cherry-services' ),
556
+ 'page' => array( $this->post_type() ),
557
+ 'context' => 'normal',
558
+ 'priority' => 'low',
559
+ 'callback_args' => false,
560
+ 'fields' => array(
561
+ 'show' => array(
562
+ 'type' => 'checkbox',
563
+ 'id' => $this->get_field_id( 'cherry-services-testi', 'show' ),
564
+ 'name' => $this->get_field_name( 'cherry-services-testi', 'show' ),
565
+ 'options' => array(
566
+ 'enable' => esc_html__( 'Enable testimonials block', 'cherry-services' ),
567
+ ),
568
+ ),
569
+ 'title' => array(
570
+ 'type' => 'text',
571
+ 'id' => $this->get_field_id( 'cherry-services-testi', 'title' ),
572
+ 'name' => $this->get_field_name( 'cherry-services-testi', 'title' ),
573
+ 'placeholder' => esc_html__( 'Testimonials block title', 'cherry-services' ),
574
+ 'label' => esc_html__( 'Title', 'cherry-services' ),
575
+ 'sanitize_callback' => 'wp_kses_post',
576
+ ),
577
+ 'cat' => array(
578
+ 'type' => 'select',
579
+ 'id' => $this->get_field_id( 'cherry-services-testi', 'cat' ),
580
+ 'name' => $this->get_field_name( 'cherry-services-testi', 'cat' ),
581
+ 'label' => esc_html__( 'Get testimonials from category:', 'cherry-services' ),
582
+ 'options' => false,
583
+ 'options_callback' => array( $this, 'get_testi_cat' ),
584
+ 'sanitize_callback' => 'esc_attr',
585
+ ),
586
+ 'cols' => array(
587
+ 'type' => 'select',
588
+ 'id' => $this->get_field_id( 'cherry-services-testi', 'cols' ),
589
+ 'name' => $this->get_field_name( 'cherry-services-testi', 'cols' ),
590
+ 'label' => esc_html__( 'Columns number:', 'cherry-services' ),
591
+ 'options' => array(
592
+ 1 => 1,
593
+ 2 => 2,
594
+ 3 => 3,
595
+ 4 => 4,
596
+ ),
597
+ 'sanitize_callback' => 'esc_attr',
598
+ ),
599
+ 'limit' => array(
600
+ 'type' => 'slider',
601
+ 'id' => $this->get_field_id( 'cherry-services-testi', 'limit' ),
602
+ 'name' => $this->get_field_name( 'cherry-services-testi', 'limit' ),
603
+ 'max_value' => 30,
604
+ 'min_value' => -1,
605
+ 'value' => 3,
606
+ 'step_value' => 1,
607
+ 'label' => esc_html__( 'Testimonials limit (set -1 to show all)' ),
608
+ 'sanitize_callback' => array( $this, 'sanitize_num' ),
609
+ ),
610
+ 'show-avatar' => array(
611
+ 'type' => 'select',
612
+ 'id' => $this->get_field_id( 'cherry-services-testi', 'show-avatar' ),
613
+ 'name' => $this->get_field_name( 'cherry-services-testi', 'show-avatar' ),
614
+ 'label' => esc_html__( 'Show avatar?', 'cherry-services' ),
615
+ 'options' => array(
616
+ 'on' => __( 'Yes', 'cherry-sevices' ),
617
+ 'off' => __( 'No', 'cherry-services' ),
618
+ ),
619
+ 'sanitize_callback' => 'esc_attr',
620
+ ),
621
+ 'size' => array(
622
+ 'type' => 'slider',
623
+ 'id' => $this->get_field_id( 'cherry-services-testi', 'size' ),
624
+ 'name' => $this->get_field_name( 'cherry-services-testi', 'size' ),
625
+ 'max_value' => 512,
626
+ 'min_value' => 1,
627
+ 'value' => 100,
628
+ 'step_value' => 1,
629
+ 'label' => esc_html__( 'Testimonial avatar size' ),
630
+ 'sanitize_callback' => array( $this, 'sanitize_num' ),
631
+ ),
632
+ 'content-length' => array(
633
+ 'type' => 'slider',
634
+ 'id' => $this->get_field_id( 'cherry-services-testi', 'content-length' ),
635
+ 'name' => $this->get_field_name( 'cherry-services-testi', 'content-length' ),
636
+ 'max_value' => 100,
637
+ 'min_value' => -1,
638
+ 'value' => 55,
639
+ 'step_value' => 1,
640
+ 'label' => esc_html__( 'Content Length (set -1 to show full content)' ),
641
+ 'sanitize_callback' => array( $this, 'sanitize_num' ),
642
+ ),
643
+ 'show-email' => array(
644
+ 'type' => 'select',
645
+ 'id' => $this->get_field_id( 'cherry-services-testi', 'show-email' ),
646
+ 'name' => $this->get_field_name( 'cherry-services-testi', 'show-email' ),
647
+ 'label' => esc_html__( 'Show email?', 'cherry-services' ),
648
+ 'options' => array(
649
+ 'on' => __( 'Yes', 'cherry-sevices' ),
650
+ 'off' => __( 'No', 'cherry-services' ),
651
+ ),
652
+ 'sanitize_callback' => 'esc_attr',
653
+ ),
654
+ 'show-position' => array(
655
+ 'type' => 'select',
656
+ 'id' => $this->get_field_id( 'cherry-services-testi', 'show-position' ),
657
+ 'name' => $this->get_field_name( 'cherry-services-testi', 'show-position' ),
658
+ 'label' => esc_html__( 'Show position?', 'cherry-services' ),
659
+ 'options' => array(
660
+ 'on' => __( 'Yes', 'cherry-sevices' ),
661
+ 'off' => __( 'No', 'cherry-services' ),
662
+ ),
663
+ 'sanitize_callback' => 'esc_attr',
664
+ ),
665
+ 'show-company' => array(
666
+ 'type' => 'select',
667
+ 'id' => $this->get_field_id( 'cherry-services-testi', 'show-company' ),
668
+ 'name' => $this->get_field_name( 'cherry-services-testi', 'show-company' ),
669
+ 'label' => esc_html__( 'Show company?', 'cherry-services' ),
670
+ 'options' => array(
671
+ 'on' => __( 'Yes', 'cherry-sevices' ),
672
+ 'off' => __( 'No', 'cherry-services' ),
673
+ ),
674
+ 'sanitize_callback' => 'esc_attr',
675
+ ),
676
+ 'template' => array(
677
+ 'type' => 'text',
678
+ 'id' => $this->get_field_id( 'cherry-services-testi', 'template' ),
679
+ 'name' => $this->get_field_name( 'cherry-services-testi', 'template' ),
680
+ 'value' => 'default.tmpl',
681
+ 'placeholder' => esc_html__( 'Template name', 'cherry-services' ),
682
+ 'label' => esc_html__( 'Custom template', 'cherry-services' ),
683
+ 'sanitize_callback' => 'esc_attr',
684
+ ),
685
+ ),
686
+ )
687
+ ) );
688
+
689
+ }
690
+
691
+ /**
692
+ * Sanitize numeric values.
693
+ *
694
+ * @param string $value Value to sanitize.
695
+ * @return int
696
+ */
697
+ public function sanitize_num( $value ) {
698
+ return intval( $value );
699
+ }
700
+
701
+ /**
702
+ * Returns field name
703
+ *
704
+ * @param string $base Base key.
705
+ * @param string $key Nested key.
706
+ * @return string
707
+ */
708
+ public function get_field_name( $base = 'cherry-services', $key = '' ) {
709
+ return sprintf( '%s[%s]', $base, $key );
710
+ }
711
+
712
+ /**
713
+ * Returns field ID
714
+ *
715
+ * @param string $base Base key.
716
+ * @param string $key Nested key.
717
+ * @return string
718
+ */
719
+ public function get_field_id( $base = 'cherry-services', $key = '' ) {
720
+ return sprintf( '%s-%s', $base, $key );
721
+ }
722
+
723
+ /**
724
+ * Get testimonials categories for service
725
+ *
726
+ * @return array
727
+ */
728
+ public function get_testi_cat() {
729
+
730
+ $terms = get_terms( array( 'taxonomy' => 'tm-testimonials_category', 'hide_empty' => false ) );
731
+ $result = array();
732
+
733
+ if ( ! empty( $terms ) ) {
734
+ $result = wp_list_pluck( $terms, 'name', 'term_id' );
735
+ }
736
+
737
+ $result[0] = esc_html__( 'Select category...', 'cherry-services' );
738
+ ksort( $result );
739
+
740
+ return $result;
741
+ }
742
+
743
+ /**
744
+ * Sanitize features repeater field
745
+ *
746
+ * @param string $value Field value.
747
+ * @param string $key Key value.
748
+ * @param array $field Field data array.
749
+ * @return string
750
+ */
751
+ public function sanitize_repeater( $value, $key, $field ) {
752
+
753
+ if ( ! is_array( $value ) ) {
754
+ return $value;
755
+ }
756
+
757
+ $new_value = array();
758
+ $fields = $field['fields'];
759
+
760
+ foreach ( $value as $index => $row ) {
761
+ $new_value[ $index ] = $this->sanitize_repeater_row( $row, $fields );
762
+ }
763
+
764
+ return $new_value;
765
+ }
766
+
767
+ /**
768
+ * Sanitize single repeater row
769
+ *
770
+ * @param array $row Single repeater row.
771
+ * @param array $field Field data array.
772
+ * @return array
773
+ */
774
+ public function sanitize_repeater_row( $row, $field ) {
775
+
776
+ $sanitized_row = array();
777
+
778
+ foreach ( $row as $col_key => $col_val ) {
779
+
780
+ if ( empty( $fields[ $col_key ] ) ) {
781
+ $sanitized_row[ $col_key ] = $col_val;
782
+ continue;
783
+ }
784
+
785
+ $column = $fields[ $col_key ];
786
+
787
+ if ( isset( $column['sanitize_callback'] ) && is_callable( $column['sanitize_callback'] ) ) {
788
+ $sanitized_row[ $col_key ] = call_user_func( $column['sanitize_callback'] );
789
+ } else {
790
+ $sanitized_row[ $col_key ] = $col_val;
791
+ }
792
+ }
793
+
794
+ return $sanitized_row;
795
+ }
796
+
797
+ /**
798
+ * Return FontAwesome icons set for iconpicker
799
+ *
800
+ * @return array
801
+ */
802
+ public function get_icons_set() {
803
+
804
+ ob_start();
805
+ include $this->plugin_path( 'admin/assets/js/icons.json' );
806
+ $json = ob_get_clean();
807
+
808
+ $result = array();
809
+ $icons = json_decode( $json, true );
810
+
811
+ foreach ( $icons['icons'] as $icon ) {
812
+ $result[] = $icon['id'];
813
+ }
814
+
815
+ return $result;
816
+ }
817
+
818
+ /**
819
+ * Show post thumbnail in admin columns
820
+ *
821
+ * @return void
822
+ */
823
+ public function show_thumb( $column, $post_id ) {
824
+
825
+ if ( has_post_thumbnail( $post_id ) ) {
826
+ the_post_thumbnail( array( 50, 50 ) );
827
+ }
828
+
829
+ }
830
+
831
+ /**
832
+ * Returns the instance.
833
+ *
834
+ * @since 1.0.0
835
+ * @return object
836
+ */
837
+ public static function get_instance() {
838
+ // If the single instance hasn't been set, set it now.
839
+ if ( null == self::$instance ) {
840
+ self::$instance = new self;
841
+ }
842
+ return self::$instance;
843
+ }
844
+ }
845
+
846
+ /**
847
+ * Returns Cherry_Services_List_Meta instance.
848
+ *
849
+ * @return object
850
+ */
851
+ function cherry_services_list_meta() {
852
+ Cherry_Services_List_Meta::get_instance();
853
+ }
854
+
855
+ cherry_services_list_meta();
admin/includes/class-cherry-services-options-page.php ADDED
@@ -0,0 +1,447 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Team options page
4
+ *
5
+ * @package Cherry_Projects_Options_Page
6
+ * @author Cherry Team
7
+ * @license GPL-2.0+
8
+ * @link http://www.cherryframework.com/
9
+ * @copyright 2014 Cherry Team
10
+ */
11
+
12
+ class Cherry_Services_Options_Page extends Cherry_Services_List {
13
+
14
+ /**
15
+ * Holds the instances of this class.
16
+ *
17
+ * @since 1.0.0
18
+ * @var object
19
+ */
20
+ private static $instance = null;
21
+
22
+ /**
23
+ * UI builder instance
24
+ *
25
+ * @var object
26
+ */
27
+ public $ui_builder = null;
28
+
29
+ /**
30
+ * Existing field types
31
+ *
32
+ * @var array
33
+ */
34
+ public $field_types = array();
35
+
36
+ /**
37
+ * Team options
38
+ *
39
+ * @var array
40
+ */
41
+ public $options = array();
42
+
43
+ /**
44
+ * Options page slug
45
+ *
46
+ * @var string
47
+ */
48
+ public $page_slug = 'cherry-services-options';
49
+
50
+ /**
51
+ * Sets up needed actions/filters for the admin to initialize.
52
+ *
53
+ * @since 1.0.0
54
+ * @return void
55
+ */
56
+ public function __construct() {
57
+
58
+ add_action( 'admin_menu', array( $this, 'render_page' ) );
59
+ add_action( 'admin_enqueue_scripts', array( $this, 'options_styles' ) );
60
+ add_action( 'admin_enqueue_scripts', array( $this, 'options_scripts' ) );
61
+ add_action( 'init', array( $this, 'init' ), 10 );
62
+ add_action( 'wp_ajax_cherry_services_process_options', array( $this, 'process_options' ) );
63
+
64
+ }
65
+
66
+ /**
67
+ * Run initialization of modules.
68
+ *
69
+ * @since 1.0.0
70
+ */
71
+ public function init() {
72
+
73
+ if ( ! $this->is_options_page() ) {
74
+ return;
75
+ }
76
+
77
+ $this->options = array(
78
+ 'archive-page' => array(
79
+ 'type' => 'select',
80
+ 'title' => esc_html__( 'Select Services archive page', 'cherry-services' ),
81
+ 'label' => '',
82
+ 'description' => '',
83
+ 'value' => array(),
84
+ 'options' => false,
85
+ 'options_callback' => array( cherry_services_tools(), 'get_pages' ),
86
+ ),
87
+ 'posts-per-page' => array(
88
+ 'type' => 'stepper',
89
+ 'title' => esc_html__( 'Set posts number per archive page', 'cherry-services' ),
90
+ 'value' => $this->default_options['posts-per-page'],
91
+ 'max_value' => '100',
92
+ 'min_value' => '1',
93
+ 'step_value' => '1',
94
+ ),
95
+ 'archive-columns' => array(
96
+ 'type' => 'stepper',
97
+ 'title' => esc_html__( 'Select archive page columns number', 'cherry-services' ),
98
+ 'value' => $this->default_options['archive-columns'],
99
+ 'max_value' => '4',
100
+ 'min_value' => '1',
101
+ 'step_value' => '1',
102
+ ),
103
+ 'single-template' => array(
104
+ 'type' => 'select',
105
+ 'title' => esc_html__( 'Select template for single service page', 'cherry-services' ),
106
+ 'label' => '',
107
+ 'description' => '',
108
+ 'value' => $this->default_options['single-template'],
109
+ 'options' => false,
110
+ 'options_callback' => array( cherry_services_tools(), 'get_single_templates' ),
111
+ ),
112
+ 'single-image-size' => array(
113
+ 'type' => 'select',
114
+ 'title' => esc_html__( 'Select image size for single service page', 'cherry-services' ),
115
+ 'label' => '',
116
+ 'description' => '',
117
+ 'value' => $this->default_options['single-image-size'],
118
+ 'options' => false,
119
+ 'options_callback' => array( cherry_services_tools(), 'get_image_sizes' ),
120
+ ),
121
+ 'listing-template' => array(
122
+ 'type' => 'select',
123
+ 'title' => esc_html__( 'Select template for Services listing page', 'cherry-services' ),
124
+ 'label' => '',
125
+ 'description' => '',
126
+ 'value' => $this->default_options['listing-template'],
127
+ 'options' => false,
128
+ 'options_callback' => array( cherry_services_tools(), 'get_listing_templates' ),
129
+ ),
130
+ 'listing-image-size' => array(
131
+ 'type' => 'select',
132
+ 'title' => esc_html__( 'Select image size for Services listing page', 'cherry-services' ),
133
+ 'label' => '',
134
+ 'description' => '',
135
+ 'value' => $this->default_options['listing-image-size'],
136
+ 'options' => false,
137
+ 'options_callback' => array( cherry_services_tools(), 'get_image_sizes' ),
138
+ ),
139
+ );
140
+
141
+ add_filter( 'cherry_core_js_ui_init_settings', array( $this, 'init_ui_js' ), 10 );
142
+
143
+ array_walk( $this->options, array( $this, 'set_field_types' ) );
144
+
145
+ $this->ui_builder = cherry_services_list()->get_core()->init_module(
146
+ 'cherry-ui-elements',
147
+ array( 'ui_elements' => $this->field_types )
148
+ );
149
+
150
+ return true;
151
+ }
152
+
153
+ /**
154
+ * Init UI elements JS
155
+ *
156
+ * @since 1.0.0
157
+ *
158
+ * @return array
159
+ */
160
+ public function init_ui_js() {
161
+
162
+ $settings['auto_init'] = true;
163
+ $settings['targets'] = array( 'body' );
164
+
165
+ return $settings;
166
+ }
167
+
168
+ /**
169
+ * Store field types used in this widget into class property
170
+ *
171
+ * @since 1.0.0
172
+ * @param array $field field data.
173
+ * @param string $id field key.
174
+ * @return bool
175
+ */
176
+ public function set_field_types( $field, $id ) {
177
+
178
+ if ( ! isset( $field['type'] ) ) {
179
+ return false;
180
+ }
181
+
182
+ if ( ! in_array( $field['type'], $this->field_types ) ) {
183
+ $this->field_types[] = $field['type'];
184
+ }
185
+
186
+ return true;
187
+ }
188
+
189
+ /**
190
+ * Check if is options page
191
+ *
192
+ * @return boolean
193
+ */
194
+ public function is_options_page() {
195
+ return ( ! empty( $_GET['page'] ) && $this->page_slug === $_GET['page'] );
196
+ }
197
+
198
+ /**
199
+ * [render_page description]
200
+ * @return [type] [description]
201
+ */
202
+ public function render_page() {
203
+ add_submenu_page(
204
+ 'edit.php?post_type=' . $this->post_type(),
205
+ esc_html__( 'Cherry Services Options', 'cherry-services' ),
206
+ esc_html__( 'Settings', 'cherry-services' ),
207
+ 'edit_theme_options',
208
+ $this->page_slug,
209
+ array( $this, 'options_page' ),
210
+ '',
211
+ 64
212
+ );
213
+ }
214
+
215
+ /**
216
+ *
217
+ */
218
+ public function options_page() {
219
+ $html = '';
220
+
221
+ $options = get_option( $this->option_key() );
222
+
223
+ $settings = $this->get_fields( $options );
224
+
225
+ $html = Cherry_Toolkit::render_view(
226
+ $this->plugin_path( 'admin/views/options-page.php' ),
227
+ array(
228
+ 'settings' => $settings,
229
+ )
230
+ );
231
+
232
+ echo $html;
233
+ }
234
+
235
+ /**
236
+ * Get registered control fields
237
+ *
238
+ * @since 1.0.0
239
+ * @return string
240
+ */
241
+ public function get_fields( $current_options ) {
242
+
243
+ $elements = array(
244
+ 'ui-settings' => array(),
245
+ 'labels' => array(
246
+ 'save-button-text' => esc_html__( 'Save', 'cherry-services' ),
247
+ 'define-as-button-text' => esc_html__( 'Define as default', 'cherry-services' ),
248
+ 'restore-button-text' => esc_html__( 'Restore', 'cherry-services' ),
249
+ ),
250
+ );
251
+
252
+ foreach ( $this->options as $key => $field ) {
253
+
254
+ $value = isset( $current_options[ $key ] ) ? $current_options[ $key ] : false;
255
+ $value = ( false !== $value ) ? $value : Cherry_Toolkit::get_arg( $field, 'value', '' );
256
+
257
+ if ( isset( $field['options_callback'] ) ) {
258
+
259
+ $callback = $this->get_callback_data( $field['options_callback'] );
260
+ $options = call_user_func_array( $callback['callback'], $callback['args'] );
261
+ } else {
262
+ $options = Cherry_Toolkit::get_arg( $field, 'options', array() );
263
+ }
264
+
265
+ $args = array(
266
+ 'type' => Cherry_Toolkit::get_arg( $field, 'type', 'text' ),
267
+ 'id' => $key,
268
+ 'name' => $key,
269
+ 'value' => $value,
270
+ 'label' => Cherry_Toolkit::get_arg( $field, 'label', '' ),
271
+ 'options' => $options,
272
+ 'multiple' => Cherry_Toolkit::get_arg( $field, 'multiple', false ),
273
+ 'filter' => Cherry_Toolkit::get_arg( $field, 'filter', false ),
274
+ 'size' => Cherry_Toolkit::get_arg( $field, 'size', 1 ),
275
+ 'null_option' => Cherry_Toolkit::get_arg( $field, 'null_option', 'None' ),
276
+ 'multi_upload' => Cherry_Toolkit::get_arg( $field, 'multi_upload', true ),
277
+ 'library_type' => Cherry_Toolkit::get_arg( $field, 'library_type', 'image' ),
278
+ 'upload_button_text' => Cherry_Toolkit::get_arg( $field, 'upload_button_text', 'Choose' ),
279
+ 'max_value' => Cherry_Toolkit::get_arg( $field, 'max_value', '100' ),
280
+ 'min_value' => Cherry_Toolkit::get_arg( $field, 'min_value', '0' ),
281
+ 'max' => Cherry_Toolkit::get_arg( $field, 'max', '100' ),
282
+ 'min' => Cherry_Toolkit::get_arg( $field, 'min', '0' ),
283
+ 'step_value' => Cherry_Toolkit::get_arg( $field, 'step_value', '1' ),
284
+ 'style' => Cherry_Toolkit::get_arg( $field, 'style', 'normal' ),
285
+ 'display_input' => Cherry_Toolkit::get_arg( $field, 'display_input', true ),
286
+ 'fields' => Cherry_Toolkit::get_arg( $field, 'fields', array() ),
287
+ 'controls' => Cherry_Toolkit::get_arg( $field, 'controls', array() ),
288
+ 'toggle' => Cherry_Toolkit::get_arg( $field, 'toggle', array(
289
+ 'true_toggle' => 'On',
290
+ 'false_toggle' => 'Off',
291
+ 'true_slave' => '',
292
+ 'false_slave' => '',
293
+ ) ),
294
+ 'required' => Cherry_Toolkit::get_arg( $field, 'required', false ),
295
+ 'master' => Cherry_Toolkit::get_arg( $field, 'master', '' ),
296
+ );
297
+
298
+ $current_element = $this->ui_builder->get_ui_element_instance( $args['type'], $args );
299
+ $elements['ui-settings'][] = array(
300
+ 'title' => Cherry_Toolkit::get_arg( $field, 'title', '' ),
301
+ 'description' => Cherry_Toolkit::get_arg( $field, 'description', '' ),
302
+ 'master' => Cherry_Toolkit::get_arg( $field, 'master', '' ),
303
+ 'ui-html' => $current_element->render(),
304
+ );
305
+
306
+ }
307
+
308
+ return $elements;
309
+ }
310
+
311
+ /**
312
+ * Parse callback data.
313
+ *
314
+ * @since 1.0.0
315
+ * @param array $options_callback Callback data.
316
+ * @return array
317
+ */
318
+ public function get_callback_data( $options_callback ) {
319
+
320
+ if ( 2 === count( $options_callback ) ) {
321
+
322
+ $callback = array(
323
+ 'callback' => $options_callback,
324
+ 'args' => array(),
325
+ );
326
+
327
+ return $callback;
328
+ }
329
+
330
+ $callback = array(
331
+ 'callback' => array_slice( $options_callback, 0, 2 ),
332
+ 'args' => $options_callback[2],
333
+ );
334
+
335
+ return $callback;
336
+ }
337
+
338
+ /**
339
+ * Ajax request
340
+ *
341
+ * @since 1.0.0
342
+ */
343
+ public function process_options() {
344
+
345
+ if ( empty( $_POST['post_array'] ) || empty( $_POST['nonce'] ) || empty( $_POST['type'] ) ) {
346
+ exit( 'Invalid data' );
347
+ }
348
+
349
+ $post_array = $_POST['post_array'];
350
+ $nonce = $_POST['nonce'];
351
+ $type = $_POST['type'];
352
+
353
+ if ( ! wp_verify_nonce( $nonce, 'cherry_ajax_nonce' ) ) {
354
+ exit( 'Invalid data' );
355
+ }
356
+
357
+ if ( ! current_user_can( 'manage_options' ) ) {
358
+ exit( 'Stop cheating' );
359
+ }
360
+
361
+ switch ( $type ) {
362
+ case 'save':
363
+ update_option( $this->option_key(), $post_array );
364
+ $response = array(
365
+ 'message' => esc_html__( 'Options have been saved', 'cherry-services' ),
366
+ 'type' => 'success-notice'
367
+ );
368
+
369
+ break;
370
+ case 'define_as_default':
371
+ update_option( $this->option_key() . '_default', $post_array );
372
+ $response = array(
373
+ 'message' => esc_html__( 'Options have been saved as default', 'cherry-services' ),
374
+ 'type' => 'success-notice'
375
+ );
376
+
377
+ break;
378
+ case 'restore':
379
+ $default_options = get_option( $this->option_key() . '_default' );
380
+ update_option( $this->option_key(), $default_options );
381
+
382
+ $response = array(
383
+ 'message' => esc_html__( 'Options have been restored', 'cherry-services' ),
384
+ 'type' => 'success-notice'
385
+ );
386
+
387
+ break;
388
+ }
389
+
390
+ wp_send_json( $response );
391
+
392
+ }
393
+
394
+ /**
395
+ * Enqueue admin styles function.
396
+ *
397
+ * @return void
398
+ */
399
+ public function options_styles( $hook_suffix ) {
400
+
401
+ if ( false === strpos( $hook_suffix, $this->page_slug ) ) {
402
+ return null;
403
+ }
404
+
405
+ wp_enqueue_style( 'cherry-services-admin' );
406
+ }
407
+
408
+ /**
409
+ * Enqueue admin scripts function.
410
+ *
411
+ * @return void
412
+ */
413
+ public function options_scripts( $hook_suffix ) {
414
+
415
+ if ( false === strpos( $hook_suffix, $this->page_slug ) ) {
416
+ return null;
417
+ }
418
+
419
+ wp_enqueue_script( 'cherry-services-admin' );
420
+
421
+ $options_page_settings = array(
422
+ 'please_wait_processing' => esc_html__( 'Please wait, processing the previous request', 'cherry-services' ),
423
+ 'redirect_url' => menu_page_url( 'cherry-services-options', false ),
424
+ );
425
+
426
+ wp_localize_script( 'cherry-services-admin', 'cherryServicesSettings', $options_page_settings );
427
+ }
428
+
429
+
430
+ /**
431
+ * Returns the instance.
432
+ *
433
+ * @since 1.0.0
434
+ * @return object
435
+ */
436
+ public static function get_instance() {
437
+
438
+ // If the single instance hasn't been set, set it now.
439
+ if ( null == self::$instance ) {
440
+ self::$instance = new self;
441
+ }
442
+
443
+ return self::$instance;
444
+ }
445
+ }
446
+
447
+ Cherry_Services_Options_Page::get_instance();
admin/views/options-page.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Options Page
4
+ *
5
+ * @package Cherry Team
6
+ * @subpackage View
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
+ */
12
+ ?>
13
+
14
+ <form id="cherry-services-options-form" method="post">
15
+ <div class="cherry-services-options-page-wrapper">
16
+ <div class="cherry-services-options-list-wrapper">
17
+ <?php foreach ( $__data['settings']['ui-settings'] as $key => $settings ) { ?>
18
+ <div class="option-section <?php echo $settings['master']; ?>">
19
+ <div class="option-info-wrapper">
20
+ <h3 class="option-title"><?php echo $settings['title']; ?></h3>
21
+ <span class="option-description"><?php echo $settings['description']; ?></span>
22
+ </div>
23
+ <div class="option-ui-element-wrapper">
24
+ <?php echo $settings['ui-html']; ?>
25
+ </div>
26
+ </div>
27
+ <?php } ?>
28
+ </div>
29
+ <div class="cherry-services-options-control-wrapper">
30
+ <div id="cherry-services-save-options" class="custom-button save-button">
31
+ <span> <?php echo $__data['settings']['labels']['save-button-text']; ?></span>
32
+ </div>
33
+ <div id="cherry-services-define-as-default" class="custom-button define-as-default-button">
34
+ <span><?php echo $__data['settings']['labels']['define-as-button-text']; ?></span>
35
+ </div>
36
+ <div id="cherry-services-restore-options" class="custom-button restore-button">
37
+ <span><?php echo $__data['settings']['labels']['restore-button-text']; ?></span>
38
+ </div>
39
+ <div class="cherry-spinner-wordpress">
40
+ <div class="double-bounce-1"></div>
41
+ <div class="double-bounce-2"></div>
42
+ </div>
43
+ </div>
44
+ </div>
45
+ </form>
cherry-framework/cherry-core.php ADDED
@@ -0,0 +1,482 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class Cherry Core
4
+ * Version: 1.3.0
5
+ *
6
+ * @package Cherry_Framework
7
+ * @subpackage Class
8
+ * @author Cherry Team <cherryframework@gmail.com>
9
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
10
+ * @link http://www.cherryframework.com/
11
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-3.0.html
12
+ */
13
+
14
+ // If this file is called directly, abort.
15
+ if ( ! defined( 'WPINC' ) ) {
16
+ die;
17
+ }
18
+
19
+ if ( ! class_exists( 'Cherry_Core' ) ) {
20
+
21
+ /**
22
+ * Class Cherry Core.
23
+ */
24
+ class Cherry_Core {
25
+
26
+ /**
27
+ * A reference to an instance of this class.
28
+ *
29
+ * @since 1.0.0
30
+ * @var object
31
+ */
32
+ private static $instance = null;
33
+
34
+ /**
35
+ * Core settings.
36
+ *
37
+ * @since 1.0.0
38
+ * @var array
39
+ */
40
+ public $settings = array();
41
+
42
+ /**
43
+ * Holder for all registered modules for current core instance.
44
+ *
45
+ * @since 1.0.0
46
+ * @var array
47
+ */
48
+ public $modules = array();
49
+
50
+ /**
51
+ * Holder for all modules.
52
+ *
53
+ * @since 1.1.0
54
+ * @var array
55
+ */
56
+ public static $all_modules = array();
57
+
58
+ /**
59
+ * Constructor.
60
+ *
61
+ * @since 1.0.0
62
+ * @since 1.1.1 Using dirname( __FILE__ ) instead of __DIR__.
63
+ */
64
+ public function __construct( $settings = array() ) {
65
+ $base_dir = trailingslashit( dirname( __FILE__ ) );
66
+ $base_url = trailingslashit( $this->base_url( '', __FILE__ ) );
67
+
68
+ $defaults = array(
69
+ 'framework_path' => 'cherry-framework',
70
+ 'modules' => array(),
71
+ 'base_dir' => $base_dir,
72
+ 'base_url' => $base_url,
73
+ 'extra_base_dir' => '',
74
+ );
75
+
76
+ $this->settings = array_merge( $defaults, $settings );
77
+
78
+ $this->settings['extra_base_dir'] = trailingslashit( $this->settings['base_dir'] );
79
+ $this->settings['base_dir'] = $base_dir;
80
+ $this->settings['base_url'] = $base_url;
81
+
82
+ $this->run_collector();
83
+
84
+ /**
85
+ * In this hooks priority parameter are very important.
86
+ */
87
+ add_action( 'after_setup_theme', array( 'Cherry_Core', 'load_all_modules' ), 2 );
88
+ add_action( 'after_setup_theme', array( $this, 'init_required_modules' ), 2 );
89
+
90
+ // Init modules with autoload seted up into true.
91
+ add_action( 'after_setup_theme', array( $this, 'init_autoload_modules' ), 9999 );
92
+
93
+ // Backward compatibility for `cherry-widget-factory` module.
94
+ remove_all_filters( 'cherry_widget_factory_core', 10 );
95
+ add_filter( 'cherry_widget_factory_core', array( $this, 'pass_core_to_widgets' ), 11, 2 );
96
+ }
97
+
98
+ /**
99
+ * Fire collector for modules.
100
+ *
101
+ * @since 1.0.0
102
+ * @return bool
103
+ */
104
+ private function run_collector() {
105
+
106
+ if ( ! is_array( $this->settings['modules'] ) || empty( $this->settings['modules'] ) ) {
107
+ return false;
108
+ }
109
+
110
+ // Cherry_Toolkit module should be loaded by default.
111
+ if ( ! isset( $this->settings['modules']['cherry-toolkit'] ) ) {
112
+ $this->settings['modules']['cherry-toolkit'] = array(
113
+ 'autoload' => true,
114
+ );
115
+ }
116
+
117
+ foreach ( $this->settings['modules'] as $module => $settings ) {
118
+ $priority = $this->get_module_priority( $module );
119
+ $path = $this->get_module_path( $module );
120
+
121
+ if ( ! array_key_exists( $module, self::$all_modules ) ) {
122
+ self::$all_modules[ $module ] = array( $priority => $path );
123
+ } else {
124
+
125
+ $old_priority = array_keys( self::$all_modules[ $module ] );
126
+
127
+ if ( ! is_array( $old_priority ) || ! isset( $old_priority[0] ) ) {
128
+ continue;
129
+ }
130
+
131
+ $compare = version_compare( $old_priority[0], $priority, '<' );
132
+
133
+ if ( $compare ) {
134
+ continue;
135
+ }
136
+
137
+ self::$all_modules[ $module ] = array( $priority => $path );
138
+ }
139
+ }
140
+
141
+ /**
142
+ * Filter a holder for all modules.
143
+ *
144
+ * @since 1.1.0
145
+ * @var array
146
+ */
147
+ self::$all_modules = apply_filters( 'cherry_core_all_modules', self::$all_modules, $this );
148
+ }
149
+
150
+ /**
151
+ * Loaded all modules.
152
+ *
153
+ * @since 1.1.0
154
+ */
155
+ public static function load_all_modules() {
156
+
157
+ foreach ( self::$all_modules as $module => $data ) {
158
+
159
+ $path = current( $data );
160
+ $loaded = self::load_module( $module, $path );
161
+
162
+ if ( ! $loaded ) {
163
+ continue;
164
+ }
165
+ }
166
+ }
167
+
168
+ /**
169
+ * Init a required modules.
170
+ *
171
+ * @since 1.1.0
172
+ */
173
+ public function init_required_modules() {
174
+ $required_modules = apply_filters( 'cherry_core_required_modules', array(
175
+ 'cherry-toolkit',
176
+ 'cherry-widget-factory',
177
+ ), $this );
178
+
179
+ foreach ( $required_modules as $module ) {
180
+
181
+ if ( ! array_key_exists( $module, $this->settings['modules'] ) ) {
182
+ continue;
183
+ }
184
+
185
+ $settings = $this->settings['modules'][ $module ];
186
+ $args = ! empty( $settings['args'] ) ? $settings['args'] : array();
187
+
188
+ $this->init_module( $module, $args );
189
+ }
190
+ }
191
+
192
+ /**
193
+ * Init autoload modules.
194
+ *
195
+ * @since 1.1.0
196
+ */
197
+ public function init_autoload_modules() {
198
+
199
+ if ( empty( $this->modules ) ) {
200
+ return;
201
+ }
202
+
203
+ foreach ( $this->settings['modules'] as $module => $settings ) {
204
+
205
+ if ( ! $this->is_module_autoload( $module ) ) {
206
+ continue;
207
+ }
208
+
209
+ if ( ! empty( $this->modules[ $module ] ) ) {
210
+ continue;
211
+ }
212
+
213
+ $args = ! empty( $settings['args'] ) ? $settings['args'] : array();
214
+ $this->init_module( $module, $args );
215
+ }
216
+ }
217
+
218
+ /**
219
+ * Init single module.
220
+ *
221
+ * @since 1.0.0
222
+ * @param string $module Module slug.
223
+ * @param array $args Module arguments array.
224
+ * @return mixed
225
+ */
226
+ public function init_module( $module, $args = array() ) {
227
+ $this->modules[ $module ] = $this->get_module_instance( $module, $args );
228
+
229
+ /**
230
+ * Filter a single module after initialization.
231
+ *
232
+ * @since 1.1.0
233
+ */
234
+ return apply_filters( 'cherry_core_init_module', $this->modules[ $module ], $module, $args, $this );
235
+ }
236
+
237
+ /**
238
+ * Check module autoload.
239
+ *
240
+ * @since 1.0.0
241
+ * @param string $module Module slug.
242
+ * @return bool
243
+ */
244
+ public function is_module_autoload( $module ) {
245
+
246
+ if ( empty( $this->settings['modules'][ $module ]['autoload'] ) ) {
247
+ return false;
248
+ }
249
+
250
+ return $this->settings['modules'][ $module ]['autoload'];
251
+ }
252
+
253
+ /**
254
+ * Include module.
255
+ *
256
+ * @since 1.0.0
257
+ * @param string $module Module slug.
258
+ * @param string $path Module path.
259
+ * @return bool
260
+ */
261
+ public static function load_module( $module, $path ) {
262
+ $class_name = self::get_class_name( $module );
263
+
264
+ if ( class_exists( $class_name ) ) {
265
+ return true;
266
+ }
267
+
268
+ if ( ! $path ) {
269
+ return false;
270
+ }
271
+
272
+ require_once( $path );
273
+
274
+ return true;
275
+ }
276
+
277
+ /**
278
+ * Get module instance.
279
+ *
280
+ * @since 1.0.0
281
+ * @param string $module Module slug.
282
+ * @param array $args Module arguments.
283
+ * @return object
284
+ */
285
+ public function get_module_instance( $module, $args = array() ) {
286
+ $class_name = self::get_class_name( $module );
287
+
288
+ if ( ! class_exists( $class_name ) ) {
289
+ echo '<p>Class <b>' . $class_name . '</b> not exist!</p>';
290
+ return false;
291
+ }
292
+
293
+ return $this->modules[ $module ] = call_user_func( array( $class_name, 'get_instance' ), $this, $args );
294
+ }
295
+
296
+ /**
297
+ * Get class name by module slug.
298
+ *
299
+ * @since 1.0.0
300
+ * @param string $slug Module slug.
301
+ * @return string
302
+ */
303
+ public static function get_class_name( $slug = '' ) {
304
+ $slug = str_replace( '-', ' ', $slug );
305
+ $class = str_replace( ' ', '_', ucwords( $slug ) );
306
+
307
+ return $class;
308
+ }
309
+
310
+ /**
311
+ * Get path to main file for passed module.
312
+ *
313
+ * @since 1.0.1
314
+ * @param string $module Module slug.
315
+ * @return string
316
+ */
317
+ public function get_module_path( $module ) {
318
+ $abs_path = false;
319
+ $rel_path = 'modules/' . $module . '/' . $module . '.php';
320
+
321
+ if ( file_exists( $this->settings['extra_base_dir'] . $rel_path ) ) {
322
+ $abs_path = $this->settings['extra_base_dir'] . $rel_path;
323
+ } else if ( file_exists( $this->settings['base_dir'] . $rel_path ) ) {
324
+ $abs_path = $this->settings['base_dir'] . $rel_path;
325
+ }
326
+
327
+ return $abs_path;
328
+ }
329
+
330
+ /**
331
+ * Get module priority from it's version.
332
+ * Version information should be provided as a value stored in the header notation.
333
+ *
334
+ * @link https://developer.wordpress.org/reference/functions/get_file_data/
335
+ * @since 1.0.0
336
+ * @param string $module Module slug or path.
337
+ * @param bool $is_path Set this as true, if `$module` contains a path.
338
+ * @return int
339
+ */
340
+ public function get_module_priority( $module, $is_path = false ) {
341
+
342
+ // Default phpDoc headers.
343
+ $default_headers = array(
344
+ 'version' => 'Version',
345
+ );
346
+
347
+ // Maximum version number (major, minor, patch).
348
+ $max_version = array(
349
+ 99,
350
+ 99,
351
+ 999,
352
+ );
353
+
354
+ // If `$module` is a slug, get module path.
355
+ if ( ! $is_path ) {
356
+ $module = $this->get_module_path( $module );
357
+ }
358
+
359
+ $version = '1.0.0';
360
+
361
+ /* @TODO: Add smart check */
362
+ if ( ! $module ) {
363
+ return $version;
364
+ }
365
+
366
+ $data = get_file_data( $module , $default_headers );
367
+
368
+ // Check if version string has a valid value.
369
+ if ( isset( $data['version'] ) && false !== strpos( $data['version'], '.' ) ) {
370
+
371
+ // Clean the version string.
372
+ preg_match( '/[\d\.]+/', $data['version'], $version );
373
+ $version = $version[0];
374
+ }
375
+
376
+ // Convert version into integer.
377
+ $parts = explode( '.', $version );
378
+
379
+ // Calculate priority.
380
+ foreach ( $parts as $index => $part ) {
381
+ $parts[ $index ] = $max_version[ $index ] - (int) $part;
382
+ }
383
+
384
+ return (int) join( '', $parts );
385
+ }
386
+
387
+ /**
388
+ * Retrieves the absolute URL to the current file.
389
+ * Like a WordPress function `plugins_url`.
390
+ *
391
+ * @link https://codex.wordpress.org/Function_Reference/plugins_url
392
+ * @since 1.0.1
393
+ * @param string $file_path Optional. Extra path appended to the end of the URL.
394
+ * @param string $module_path A full path to the core or module file.
395
+ * @return string
396
+ */
397
+ public static function base_url( $file_path = '', $module_path ) {
398
+ $module_path = wp_normalize_path( $module_path );
399
+ $module_dir = dirname( $module_path );
400
+
401
+ $plugin_dir = wp_normalize_path( WP_PLUGIN_DIR );
402
+ $stylesheet = get_stylesheet();
403
+ $theme_root = get_raw_theme_root( $stylesheet );
404
+ $theme_dir = "$theme_root/$stylesheet";
405
+
406
+ if ( 0 === strpos( $module_path, $plugin_dir ) ) {
407
+ $url = plugin_dir_url( $module_path );
408
+ } else if ( false !== strpos( $module_path, $theme_dir ) ) {
409
+ $explode = explode( $theme_dir, $module_dir );
410
+ $url = get_stylesheet_directory_uri() . end( $explode );
411
+ } else {
412
+ $site_url = site_url();
413
+ $abs_path = wp_normalize_path( ABSPATH );
414
+ $url = str_replace( untrailingslashit( $abs_path ), $site_url, $module_dir );
415
+ }
416
+
417
+ if ( $file_path && is_string( $file_path ) ) {
418
+ $url = trailingslashit( $url );
419
+ $url .= ltrim( $file_path, '/' );
420
+ }
421
+
422
+ return apply_filters( 'cherry_core_base_url', $url, $file_path, $module_path );
423
+ }
424
+
425
+ /**
426
+ * Pass core instance into widget.
427
+ *
428
+ * @since 1.1.0
429
+ * @param mixed $core Current core object.
430
+ * @param string $path Abstract widget file path.
431
+ * @return mixed
432
+ */
433
+ public function pass_core_to_widgets( $core, $path ) {
434
+ $path = str_replace( '\\', '/', $path );
435
+ $current_core = str_replace( '\\', '/', $this->settings['extra_base_dir'] );
436
+
437
+ if ( false !== strpos( $path, $current_core ) ) {
438
+ return self::get_instance();
439
+ }
440
+
441
+ return $core;
442
+ }
443
+
444
+ /**
445
+ * Get path to the core directory.
446
+ *
447
+ * @since 1.0.0
448
+ * @deprecated 1.1.0 Use constant `dirname( __FILE__ )`
449
+ * @return string
450
+ */
451
+ public function get_core_dir() {
452
+ return trailingslashit( $this->settings['base_dir'] );
453
+ }
454
+
455
+ /**
456
+ * Get URI to the core directory.
457
+ *
458
+ * @since 1.0.0
459
+ * @deprecated 1.1.0 Use `base_url()` method
460
+ * @return string
461
+ */
462
+ public function get_core_url() {
463
+ return trailingslashit( $this->settings['base_url'] );
464
+ }
465
+
466
+ /**
467
+ * Returns the instance.
468
+ *
469
+ * @since 1.0.0
470
+ * @return object
471
+ */
472
+ public static function get_instance() {
473
+
474
+ // If the single instance hasn't been set, set it now.
475
+ if ( null == self::$instance ) {
476
+ self::$instance = new self;
477
+ }
478
+
479
+ return self::$instance;
480
+ }
481
+ }
482
+ }
cherry-framework/config.json ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name" : "Cherry Framework",
3
+ "version" : "1.3.0",
4
+ "description" : "",
5
+ "doc_link" : "",
6
+ "git_link" : "https://github.com/CherryFramework/cherry-framework",
7
+ "modules" : {
8
+ "cherry-breadcrumbs" : {
9
+ "name" : "Breadcrumb Trail",
10
+ "description" : "A breadcrumb menu script for WordPress.",
11
+ "version" : "1.1.1",
12
+ "doc_link" : "",
13
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-breadcrumbs",
14
+ "compatible" : ["theme", "plugin"],
15
+ "wordpress_org" : true,
16
+ "required" : false,
17
+ "dependencies" : []
18
+ },
19
+ "cherry-customizer" : {
20
+ "name" : "Customizer API",
21
+ "description" : "Customizer functionality.",
22
+ "version" : "1.1.4",
23
+ "doc_link" : "",
24
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-customizer",
25
+ "compatible" : ["theme", "plugin"],
26
+ "wordpress_org" : true,
27
+ "required" : false,
28
+ "dependencies" : []
29
+ },
30
+ "cherry-dynamic-css" : {
31
+ "name" : "Dynamic CSS",
32
+ "description" : "Generate CSS.",
33
+ "version" : "1.2.0",
34
+ "doc_link" : "",
35
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-dynamic-css",
36
+ "compatible" : ["theme", "plugin"],
37
+ "wordpress_org" : true,
38
+ "required" : false,
39
+ "dependencies" : []
40
+ },
41
+ "cherry-google-fonts-loader" : {
42
+ "name" : "Google Fonts Loader",
43
+ "description" : "Enqueue Google fonts.",
44
+ "version" : "1.1.0",
45
+ "doc_link" : "",
46
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-google-fonts-loader",
47
+ "compatible" : ["theme", "plugin"],
48
+ "wordpress_org" : true,
49
+ "required" : false,
50
+ "dependencies" : []
51
+ },
52
+ "cherry-handler" : {
53
+ "name" : "Cherry handler",
54
+ "description" : "Initialize handlers.",
55
+ "version" : "1.0.0",
56
+ "doc_link" : "",
57
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-handler",
58
+ "compatible" : ["theme", "plugin"],
59
+ "wordpress_org" : true,
60
+ "required" : false,
61
+ "dependencies" : [ "cherry-js-core" ]
62
+ },
63
+ "cherry-interface-builder" : {
64
+ "name" : "Interface Builder",
65
+ "description" : "The module for the creation of interfaces in the WordPress admin panel.",
66
+ "version" : "1.0.3",
67
+ "doc_link" : "",
68
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-interface-builder",
69
+ "compatible" : ["theme", "plugin"],
70
+ "wordpress_org" : true,
71
+ "required" : false,
72
+ "dependencies" : [ "cherry-ui-elements" ]
73
+ },
74
+ "cherry-js-core" : {
75
+ "name" : "JS Core",
76
+ "description" : "Initialize global JS object which provides additional plugin functionality.",
77
+ "version" : "1.1.2",
78
+ "doc_link" : "",
79
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-js-core",
80
+ "compatible" : ["theme", "plugin"],
81
+ "wordpress_org" : true,
82
+ "required" : false,
83
+ "dependencies" : []
84
+ },
85
+ "cherry-post-formats-api" : {
86
+ "name" : "Post Formats API",
87
+ "description" : "API for post formats specific content.",
88
+ "version" : "1.1.2",
89
+ "doc_link" : "",
90
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-post-formats-api",
91
+ "compatible" : ["theme", "plugin"],
92
+ "wordpress_org" : true,
93
+ "required" : false,
94
+ "dependencies" : [ "cherry-js-core" ]
95
+ },
96
+ "cherry-post-meta" : {
97
+ "name" : "Post Meta",
98
+ "description" : "Manage post meta.",
99
+ "version" : "1.2.1",
100
+ "doc_link" : "",
101
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-post-meta",
102
+ "compatible" : ["theme", "plugin"],
103
+ "wordpress_org" : true,
104
+ "required" : false,
105
+ "dependencies" : [ "cherry-interface-builder" ]
106
+ },
107
+ "cherry-template-manager" : {
108
+ "name" : "Template Manager",
109
+ "description" : "Module for load and parse *.tmpl files.",
110
+ "version" : "1.0.0",
111
+ "doc_link" : "",
112
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-template-manager",
113
+ "compatible" : ["theme", "plugin"],
114
+ "wordpress_org" : true,
115
+ "required" : false,
116
+ "dependencies" : []
117
+ },
118
+ "cherry-term-meta" : {
119
+ "name" : "Term Meta",
120
+ "description" : "Manage term metadata.",
121
+ "version" : "1.1.4",
122
+ "doc_link" : "",
123
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-term-meta",
124
+ "compatible" : ["theme", "plugin"],
125
+ "wordpress_org" : true,
126
+ "required" : false,
127
+ "dependencies" : [ "cherry-ui-elements" ]
128
+ },
129
+ "cherry-toolkit": {
130
+ "name": "Framework Toolkit",
131
+ "description": "Framework Toolkit contains various PHP utilities",
132
+ "version" : "1.2.0",
133
+ "doc_link": "",
134
+ "git_link": "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-toolkit",
135
+ "compatible": ["theme", "plugin"],
136
+ "wordpress_org": true,
137
+ "required": true,
138
+ "dependencies": []
139
+ },
140
+ "cherry-ui-elements" : {
141
+ "name" : "UI Elements",
142
+ "description" : "UI Elements",
143
+ "version" : "1.3.0",
144
+ "doc_link" : "",
145
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-ui-elements",
146
+ "compatible" : ["theme", "plugin"],
147
+ "wordpress_org" : true,
148
+ "required" : false,
149
+ "dependencies" : [ "cherry-js-core" ]
150
+ },
151
+ "cherry-utility" : {
152
+ "name" : "Utility",
153
+ "description" : "Multiple utility functions.",
154
+ "version" : "1.1.4",
155
+ "doc_link" : "",
156
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-utility",
157
+ "compatible" : ["theme", "plugin"],
158
+ "wordpress_org" : true,
159
+ "required" : false,
160
+ "dependencies" : []
161
+ },
162
+ "cherry-widget-factory" : {
163
+ "name" : "Widget Factory",
164
+ "description" : "Base widget class that simplifies creating of your own widgets.",
165
+ "version" : "1.2.0",
166
+ "doc_link" : "",
167
+ "git_link" : "https://github.com/CherryFramework/cherry-framework/tree/master/modules/cherry-widget-factory",
168
+ "compatible" : ["theme", "plugin"],
169
+ "wordpress_org" : true,
170
+ "required" : false,
171
+ "dependencies" : [ "cherry-ui-elements" ]
172
+ }
173
+ }
174
+ }
cherry-framework/modules/cherry-breadcrumbs/cherry-breadcrumbs.php ADDED
@@ -0,0 +1,1560 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Breadcrumb Trail
4
+ * Description: A breadcrumb menu script for WordPress
5
+ * Version: 1.1.1
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * Breadcrumb Trail - A breadcrumb menu script for WordPress.
12
+ *
13
+ * Breadcrumb Trail is a script for showing a breadcrumb trail for any type of page. It tries to
14
+ * anticipate any type of structure and display the best possible trail that matches your site's
15
+ * permalink structure. While not perfect, it attempts to fill in the gaps left by many other
16
+ * breadcrumb scripts.
17
+ *
18
+ * @package Cherry_Framework
19
+ * @subpackage Modules
20
+ * @author Cherry Team <support@cherryframework.com>, Justin Tadlock <justin@justintadlock.com>
21
+ * @copyright Copyright (c) 2008 - 2014, Justin Tadlock
22
+ * @link http://themehybrid.com/plugins/breadcrumb-trail
23
+ * @link http://www.cherryframework.com
24
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
25
+ */
26
+
27
+ // If this file is called directly, abort.
28
+ if ( ! defined( 'WPINC' ) ) {
29
+ die;
30
+ }
31
+
32
+ if ( ! class_exists( 'Cherry_Breadcrumbs' ) ) {
33
+
34
+ /**
35
+ * Breadcrumbs builder class.
36
+ * Class is based on Breadcrumb Trail plugin by Justin Tadlock.
37
+ *
38
+ * @since 1.0.0
39
+ */
40
+ class Cherry_Breadcrumbs {
41
+
42
+ /**
43
+ * A reference to an instance of this class.
44
+ *
45
+ * @since 1.0.0
46
+ * @var object
47
+ */
48
+ private static $instance = null;
49
+
50
+ /**
51
+ * Core instance.
52
+ *
53
+ * @since 1.0.0
54
+ * @var object
55
+ */
56
+ public $core = null;
57
+
58
+ /**
59
+ * Indexed array of breadcrumb trail items.
60
+ *
61
+ * @since 1.0.0
62
+ * @var array
63
+ */
64
+ public $items = array();
65
+
66
+ /**
67
+ * Breadcrumb arguments.
68
+ *
69
+ * @since 1.0.0
70
+ * @var array
71
+ */
72
+ public $args = array();
73
+
74
+ /**
75
+ * Page title.
76
+ *
77
+ * @since 1.0.0
78
+ * @var array
79
+ */
80
+ public $page_title = null;
81
+
82
+ /**
83
+ * Breadcrumbs CSS.
84
+ *
85
+ * @since 1.0.0
86
+ * @var array
87
+ */
88
+ public $css = array(
89
+ 'module' => 'cherry-breadcrumbs',
90
+ 'content' => 'cherry-breadcrumbs_content',
91
+ 'wrap' => 'cherry-breadcrumbs_wrap',
92
+ 'browse' => 'cherry-breadcrumbs_browse',
93
+ 'item' => 'cherry-breadcrumbs_item',
94
+ 'separator' => 'cherry-breadcrumbs_item_sep',
95
+ 'link' => 'cherry-breadcrumbs_item_link',
96
+ 'target' => 'cherry-breadcrumbs_item_target',
97
+ );
98
+
99
+ /**
100
+ * Check if Breadcrumbs class was extended.
101
+ *
102
+ * @since 1.0.0
103
+ * @var boolean
104
+ */
105
+ public $is_extend = false;
106
+
107
+ /**
108
+ * Constructor of class.
109
+ */
110
+ function __construct( $core, $args = array() ) {
111
+
112
+ $this->core = $core;
113
+
114
+ $defaults = array(
115
+ 'separator' => '&#47;',
116
+ 'before' => '',
117
+ 'after' => '',
118
+ 'show_mobile' => true,
119
+ 'show_tablet' => true,
120
+ 'wrapper_format' => '<div>%1$s</div><div>%2$s</div>',
121
+ 'page_title_format' => '<h1 class="page-title">%s</h1>',
122
+ 'item_format' => '<div class="%2$s">%1$s</div>',
123
+ 'home_format' => '<a href="%4$s" class="%2$s is-home" rel="home" title="%3$s">%1$s</a>',
124
+ 'link_format' => '<a href="%4$s" class="%2$s" rel="tag" title="%3$s">%1$s</a>',
125
+ 'target_format' => '<span class="%2$s">%1$s</span>',
126
+ 'show_on_front' => true,
127
+ 'network' => false,
128
+ 'show_title' => true,
129
+ 'show_items' => true,
130
+ 'show_browse' => true,
131
+ 'echo' => true,
132
+ 'labels' => array(),
133
+ 'date_labels' => array(),
134
+ // Cherry team editing start
135
+ 'action' => 'cherry_breadcrumbs_render',
136
+ 'css_namespace' => array(),
137
+ 'path_type' => 'full',
138
+ // Cherry team editing end
139
+ 'post_taxonomy' => apply_filters(
140
+ 'cherry_breadcrumbs_trail_taxonomies',
141
+ array(
142
+ 'post' => 'category',
143
+ )
144
+ ),
145
+ );
146
+
147
+ $this->args = apply_filters( 'cherry_breadcrumb_args', wp_parse_args( $args, $defaults ) );
148
+
149
+ // Cherry team editing start
150
+ if ( isset( $this->args['css_namespace'] ) && ! empty( $this->args['css_namespace'] ) ) {
151
+ $this->css = wp_parse_args( $this->args['css_namespace'], $this->css );
152
+ }
153
+ // Cherry team editing end
154
+ if ( ! empty( $args['labels'] ) ) {
155
+ $this->args['labels'] = wp_parse_args( $args['labels'], $this->default_labels() );
156
+ } else {
157
+ $this->args['labels'] = $this->default_labels();
158
+ }
159
+
160
+ if ( ! empty( $args['date_labels'] ) ) {
161
+ $this->args['date_labels'] = wp_parse_args( $args['date_labels'], $this->default_date_labels() );
162
+ } else {
163
+ $this->args['date_labels'] = $this->default_date_labels();
164
+ }
165
+
166
+ if ( is_front_page() && false === $this->args['show_on_front'] ) {
167
+ return;
168
+ }
169
+
170
+ $this->build_trail();
171
+
172
+ if ( ! $this->is_extend ) {
173
+ add_action( $this->args['action'], array( $this, 'get_trail' ) );
174
+ }
175
+
176
+ }
177
+
178
+ /**
179
+ * Formats and outputs the breadcrumb trail.
180
+ *
181
+ * @since 1.0.0
182
+ */
183
+ public function get_trail() {
184
+
185
+ if ( is_front_page() && false === $this->args['show_on_front'] ) {
186
+ return;
187
+ }
188
+
189
+ $breadcrumb = $this->get_items();
190
+ $title = $this->get_title();
191
+
192
+ $wrapper_classes = array(
193
+ esc_attr( $this->css['module'] )
194
+ );
195
+
196
+ if ( false === $this->args['show_mobile'] ) {
197
+ $wrapper_classes[] = 'hidden-xs';
198
+ }
199
+
200
+ if ( false === $this->args['show_tablet'] ) {
201
+ $wrapper_classes[] = 'hidden-sm';
202
+ }
203
+
204
+ $wrapper_classes = apply_filters( 'cherry_breadcrumbs_wrapper_classes', $wrapper_classes );
205
+ $wrapper_classes = array_unique( $wrapper_classes );
206
+ $wrapper_classes = array_map( 'sanitize_html_class', $wrapper_classes );
207
+ $wrapper_css = implode( ' ', $wrapper_classes );
208
+
209
+ /* Open the breadcrumb trail containers. */
210
+ $result = "\n\t\t" . '<div class="' . $wrapper_css . '">';
211
+
212
+ $result .= sprintf( $this->args['wrapper_format'], $title, $breadcrumb );
213
+
214
+ /* Close the breadcrumb trail containers. */
215
+ $result .= "\n\t\t" . '</div>';
216
+
217
+ if ( true === $this->args['echo'] ) {
218
+ echo $result;
219
+ } else {
220
+ return $result;
221
+ }
222
+
223
+ }
224
+
225
+ /**
226
+ * Get breacrumbs list items.
227
+ *
228
+ * @since 1.0.0
229
+ */
230
+ public function get_items() {
231
+
232
+ if ( false == $this->args['show_items'] ) {
233
+ return;
234
+ }
235
+
236
+ $breadcrumb = '';
237
+
238
+ /* Connect the breadcrumb trail if there are items in the trail. */
239
+ if ( empty( $this->items ) && ! is_array( $this->items ) ) {
240
+ return;
241
+ }
242
+
243
+ if ( is_front_page() && false === $this->args['show_on_front'] ) {
244
+ return;
245
+ }
246
+
247
+ /* Make sure we have a unique array of items. */
248
+ $this->items = array_unique( $this->items );
249
+
250
+ if ( $this->args['before'] ) {
251
+ $breadcrumb .= $this->args['before'];
252
+ }
253
+
254
+ /* Open the breadcrumb trail containers. */
255
+ $breadcrumb .= "\n\t\t" . '<div class="' . esc_attr( $this->css['content'] ) . '">';
256
+
257
+ /* Add 'browse' label if it should be shown. */
258
+ if ( true === $this->args['show_browse'] && ! empty( $this->args['labels']['browse'] ) ) {
259
+ $browse = $this->prepare_label( $this->args['labels']['browse'] );
260
+ $breadcrumb .= "\n\t\t\t" . '<div class="' . esc_attr( $this->css['browse'] ) . '">' . $browse . '</div> ';
261
+ }
262
+
263
+ $breadcrumb .= "\n\t\t" . '<div class="' . esc_attr( $this->css['wrap'] ) . '">';
264
+
265
+ /* Format the separator. */
266
+ $separator = ! empty( $this->args['separator'] )
267
+ ? $this->args['separator']
268
+ : '/';
269
+
270
+ $separator = $this->prepare_label( $separator );
271
+ $separator = '<div class="' . esc_attr( $this->css['separator'] ) . '">' . $separator . '</div>';
272
+ $separator = sprintf( $this->args['item_format'], $separator, $this->css['item'] );
273
+
274
+ /* Join the individual trail items into a single string. */
275
+ $breadcrumb .= join( "\n\t\t\t {$separator} ", $this->items );
276
+
277
+ $breadcrumb .= "\n\t\t" . '</div>';
278
+
279
+ $breadcrumb .= "\n\t\t" . '</div>';
280
+
281
+ if ( $this->args['after'] ) {
282
+ $breadcrumb .= $this->args['after'];
283
+ }
284
+
285
+ /* Allow developers to filter the breadcrumb trail HTML and page title. */
286
+ $breadcrumb = apply_filters( 'cherry_breadcrumbs_trail', $breadcrumb, $this->args );
287
+
288
+ return $breadcrumb;
289
+
290
+ }
291
+
292
+ /**
293
+ * Get page title.
294
+ *
295
+ * @since 1.0.0
296
+ */
297
+ public function get_title() {
298
+
299
+ if ( false == $this->args['show_title'] || ! $this->page_title ) {
300
+ return;
301
+ }
302
+
303
+ $title = apply_filters(
304
+ 'cherry_page_title',
305
+ sprintf( $this->args['page_title_format'], $this->page_title ), $this->args
306
+ );
307
+
308
+ return $title;
309
+
310
+ }
311
+
312
+ /**
313
+ * Returns an array of the default labels.
314
+ *
315
+ * @since 1.0.0
316
+ */
317
+ public function default_date_labels() {
318
+ $labels = array(
319
+ 'archive_minute_hour' => 'g:i a', // minute and hour archives time format
320
+ 'archive_minute' => 'i', // minute archives time format
321
+ 'archive_hour' => 'g a', // hour archives time format
322
+ 'archive_year' => 'Y', // yearly archives date format
323
+ 'archive_month' => 'F', // monthly archives date format
324
+ 'archive_day' => 'j', // daily archives date format
325
+ 'archive_week' => 'W', // weekly archives date format
326
+ );
327
+
328
+ return $labels;
329
+ }
330
+
331
+ /**
332
+ * Returns an array of the default labels.
333
+ *
334
+ * @since 1.0.0
335
+ */
336
+ public function default_labels() {
337
+ $page_on_front_id = get_option( 'page_on_front' );
338
+ $use_custom_front_title = 'true';
339
+ $use_custom_front_title = ( 'true' == $use_custom_front_title ) ? true : false;
340
+
341
+ if ( $page_on_front_id ) {
342
+ $page_on_front_title = get_the_title( $page_on_front_id );
343
+ }
344
+
345
+ if ( $use_custom_front_title ) {
346
+ $default = 'Home';
347
+ $page_on_front_title = $default;
348
+ $page_on_front_title = $this->prepare_label( $page_on_front_title, $default );
349
+ }
350
+
351
+ $labels = array(
352
+ 'browse' => 'Browse:',
353
+ 'home' => $page_on_front_title,
354
+ 'error_404' => '404 Not Found',
355
+ 'archives' => 'Archives',
356
+ 'search' => 'Search results for &#8220;%s&#8221;',
357
+ 'paged' => 'Page %s',
358
+ 'archive_minute' => 'Minute %s',
359
+ 'archive_week' => 'Week %s',
360
+
361
+ /* "%s" is replaced with the translated date/time format. */
362
+ 'archive_minute_hour' => '%s',
363
+ 'archive_hour' => '%s',
364
+ 'archive_day' => '%s',
365
+ 'archive_month' => '%s',
366
+ 'archive_year' => '%s',
367
+ );
368
+
369
+ return $labels;
370
+ }
371
+
372
+ /**
373
+ * Build breadcrumbs trail items array.
374
+ *
375
+ * @since 1.0.0
376
+ */
377
+ public function build_trail() {
378
+
379
+ // Break trail building, if use custom trailing for this page
380
+ $custom_trail = apply_filters( 'cherry_breadcrumbs_custom_trail', false, $this->args );
381
+ if ( is_array( $custom_trail ) && ! empty( $custom_trail ) ) {
382
+ $this->items = $custom_trail['items'];
383
+ $this->page_title = $custom_trail['page_title'];
384
+ return;
385
+ }
386
+
387
+ if ( is_front_page() ) {
388
+
389
+ // if we on front page
390
+ $this->add_front_page();
391
+
392
+ } else {
393
+
394
+ // do this for all other pages
395
+ $this->add_network_home_link();
396
+ $this->add_site_home_link();
397
+
398
+ // add blog page related items
399
+ if ( is_home() ) {
400
+
401
+ $this->add_blog_page();
402
+
403
+ } elseif ( is_singular() ) {
404
+
405
+ // add single page/post items
406
+ $this->add_singular_items();
407
+
408
+ } elseif ( is_archive() ) {
409
+
410
+ // is is archive page
411
+ if ( is_post_type_archive() ) {
412
+ $this->add_post_type_archive_items();
413
+
414
+ } elseif ( is_category() || is_tag() || is_tax() ) {
415
+ $this->add_term_archive_items();
416
+
417
+ } elseif ( is_author() ) {
418
+ $this->add_user_archive_items();
419
+
420
+ } elseif ( get_query_var( 'minute' ) && get_query_var( 'hour' ) ) {
421
+ $this->add_minute_hour_archive_items();
422
+
423
+ } elseif ( get_query_var( 'minute' ) ) {
424
+ $this->add_minute_archive_items();
425
+
426
+ } elseif ( get_query_var( 'hour' ) ) {
427
+ $this->add_hour_archive_items();
428
+
429
+ } elseif ( is_day() ) {
430
+ $this->add_day_archive_items();
431
+
432
+ } elseif ( get_query_var( 'w' ) ) {
433
+ $this->add_week_archive_items();
434
+
435
+ } elseif ( is_month() ) {
436
+ $this->add_month_archive_items();
437
+
438
+ } elseif ( is_year() ) {
439
+ $this->add_year_archive_items();
440
+
441
+ } else {
442
+ $this->add_default_archive_items();
443
+
444
+ }
445
+ } elseif ( is_search() ) {
446
+ /* If viewing a search results page. */
447
+ $this->add_search_items();
448
+ } elseif ( is_404() ) {
449
+ /* If viewing the 404 page. */
450
+ $this->add_404_items();
451
+ }
452
+ }
453
+
454
+ /* Add paged items if they exist. */
455
+ $this->add_paged_items();
456
+
457
+ /**
458
+ * Filter final item array
459
+ *
460
+ * @since 1.0.0
461
+ * @var array
462
+ */
463
+ $this->items = apply_filters( 'cherry_breadcrumbs_items', $this->items, $this->args );
464
+
465
+ }
466
+
467
+ /**
468
+ * Add trail item int array.
469
+ *
470
+ * @since 1.0.0
471
+ *
472
+ * @param string $format Item format to add.
473
+ * @param string $label Item label.
474
+ * @param string $url Item URL.
475
+ * @param string $class Item CSS class.
476
+ */
477
+ public function _add_item( $format = 'link_format', $label, $url = '', $class = '' ) {
478
+
479
+ $title = esc_attr( wp_strip_all_tags( $label ) );
480
+ $css = ( 'target_format' == $format ) ? 'target' : 'link';
481
+
482
+ if ( $class ) {
483
+ $class .= ' ' . $this->css[ $css ];
484
+ } else {
485
+ $class = $this->css[ $css ];
486
+ }
487
+
488
+ $item = sprintf( $this->args[ $format ], $label, $class, $title, $url );
489
+
490
+ $this->items[] = sprintf( $this->args['item_format'], $item, esc_attr( $this->css['item'] ) );
491
+
492
+ if ( 'target_format' == $format ) {
493
+ $this->page_title = $label;
494
+ }
495
+
496
+ }
497
+
498
+ /**
499
+ * Add front items based on $wp_rewrite->front.
500
+ *
501
+ * @since 1.0.0
502
+ */
503
+ public function add_rewrite_front_items() {
504
+
505
+ global $wp_rewrite;
506
+
507
+ if ( $wp_rewrite->front ) {
508
+ $this->add_path_parents( $wp_rewrite->front );
509
+ }
510
+ }
511
+
512
+ /**
513
+ * Adds the page/paged number to the items array.
514
+ *
515
+ * @since 1.0.0
516
+ * @return void
517
+ */
518
+ public function add_paged_items() {
519
+
520
+ /* If viewing a paged singular post. */
521
+ if ( is_singular() && 1 < get_query_var( 'page' ) ) {
522
+ $label = sprintf(
523
+ $this->args['labels']['paged'],
524
+ number_format_i18n( absint( get_query_var( 'page' ) ) )
525
+ );
526
+ $this->_add_item( 'target_format', $label );
527
+ } elseif ( is_paged() ) {
528
+ /* If viewing a paged archive-type page. */
529
+ $label = sprintf(
530
+ $this->args['labels']['paged'],
531
+ number_format_i18n( absint( get_query_var( 'paged' ) ) )
532
+ );
533
+ $this->_add_item( 'target_format', $label );
534
+ }
535
+
536
+ }
537
+
538
+ /**
539
+ * Get parent posts by path. Currently, this method only supports getting parents of the 'page'
540
+ * post type. The goal of this function is to create a clear path back to home given what would
541
+ * normally be a "ghost" directory. If any page matches the given path, it'll be added.
542
+ *
543
+ * @since 1.0.0
544
+ *
545
+ * @param string $path The path (slug) to search for posts by.
546
+ */
547
+ function add_path_parents( $path ) {
548
+
549
+ /* Trim '/' off $path in case we just got a simple '/' instead of a real path. */
550
+ $path = trim( $path, '/' );
551
+
552
+ /* If there's no path, return. */
553
+ if ( empty( $path ) ) {
554
+ return;
555
+ }
556
+
557
+ // process default Cherry permalinks by own way
558
+ if ( in_array( $path, array( 'tag', 'category' ) ) ) {
559
+ return;
560
+ }
561
+
562
+ /* Get parent post by the path. */
563
+ $post = get_page_by_path( $path );
564
+
565
+ if ( ! empty( $post ) ) {
566
+ $this->add_post_parents( $post->ID );
567
+ } elseif ( is_null( $post ) ) {
568
+
569
+ /* Separate post names into separate paths by '/'. */
570
+ $path = trim( $path, '/' );
571
+ preg_match_all( '/\/.*?\z/', $path, $matches );
572
+
573
+ /* If matches are found for the path. */
574
+ if ( isset( $matches ) ) {
575
+
576
+ /* Reverse the array of matches to search for posts in the proper order. */
577
+ $matches = array_reverse( $matches );
578
+
579
+ /* Loop through each of the path matches. */
580
+ foreach ( $matches as $match ) {
581
+
582
+ /* If a match is found. */
583
+ if ( isset( $match[0] ) ) {
584
+
585
+ /* Get the parent post by the given path. */
586
+ $path = str_replace( $match[0], '', $path );
587
+ $post = get_page_by_path( trim( $path, '/' ) );
588
+
589
+ /* If a parent post is found, set the $post_id and break out of the loop. */
590
+ if ( ! empty( $post ) && 0 < $post->ID ) {
591
+ $this->add_post_parents( $post->ID );
592
+ break;
593
+ }
594
+ }
595
+ }
596
+ }
597
+ }
598
+ }
599
+
600
+ /**
601
+ * Build front page breadcrumb items.
602
+ *
603
+ * @since 1.0.0
604
+ */
605
+ public function add_front_page() {
606
+
607
+ // do nothing if 'show_on_front' arg not true
608
+ if ( true !== $this->args['show_on_front'] ) {
609
+ return;
610
+ }
611
+
612
+ // always add network home link (if is multisite)
613
+ $this->add_network_home_link();
614
+
615
+ // if is paged front page - add home link
616
+ if ( is_paged() || ( is_singular() && 1 < get_query_var( 'page' ) ) ) {
617
+
618
+ $this->add_site_home_link();
619
+
620
+ } else {
621
+
622
+ $label = ( is_multisite() && true === $this->args['network'] )
623
+ ? get_bloginfo( 'name' )
624
+ : $this->args['labels']['home'];
625
+
626
+ $this->_add_item( 'target_format', $label );
627
+ }
628
+
629
+ }
630
+
631
+ /**
632
+ * Add network home link for multisite.
633
+ * Check if is multisite and add link to parent site to breadcrumb items.
634
+ *
635
+ * @since 1.0.0
636
+ */
637
+ public function add_network_home_link() {
638
+
639
+ // do nothing if network support diasabled in args
640
+ if ( true !== $this->args['network'] ) {
641
+ return;
642
+ }
643
+
644
+ if ( ! is_multisite() ) {
645
+ return;
646
+ }
647
+
648
+ if ( ! is_main_site() ) {
649
+ return;
650
+ }
651
+
652
+ $url = esc_url( network_home_url() );
653
+ $label = $this->args['labels']['home'];
654
+
655
+ $this->_add_item( 'home_format', $label, $url );
656
+
657
+ }
658
+
659
+ /**
660
+ * Add site home link.
661
+ * Add site home link if is paged front page.
662
+ *
663
+ * @since 1.0.0
664
+ */
665
+ public function add_site_home_link() {
666
+
667
+ $format = ( is_multisite() && ! is_main_site() && true === $this->args['network'] )
668
+ ? 'link_format'
669
+ : 'home_format';
670
+
671
+ $url = esc_url( home_url( '/' ) );
672
+ $label = ( is_multisite() && ! is_main_site() && true === $this->args['network'] )
673
+ ? get_bloginfo( 'name' )
674
+ : $this->args['labels']['home'];
675
+
676
+ $this->_add_item( $format, $label, $url );
677
+ }
678
+
679
+ /**
680
+ * Add blog page breadcrumbs item.
681
+ *
682
+ * @since 1.0.0
683
+ */
684
+ public function add_blog_page() {
685
+
686
+ // Get the post ID and post.
687
+ $post_id = get_queried_object_id();
688
+ $post = get_page( $post_id );
689
+
690
+ // If the post has parents, add them to the trail.
691
+ if ( 0 < $post->post_parent ) {
692
+ $this->add_post_parents( $post->post_parent );
693
+ }
694
+
695
+ $url = get_permalink( $post_id );
696
+ $label = get_the_title( $post_id );
697
+
698
+ if ( is_paged() ) {
699
+ $this->_add_item( 'link_format', $label, $url );
700
+ } elseif ( $label ) {
701
+ $this->_add_item( 'target_format', $label );
702
+ }
703
+
704
+ }
705
+
706
+ /**
707
+ * Adds singular post items to the items array.
708
+ *
709
+ * @since 1.0.0
710
+ */
711
+ public function add_singular_items() {
712
+
713
+ /* Get the queried post. */
714
+ $post = get_queried_object();
715
+ $post_id = get_queried_object_id();
716
+
717
+ /* If the post has a parent, follow the parent trail. */
718
+ if ( 0 < $post->post_parent ) {
719
+ $this->add_post_parents( $post->post_parent );
720
+ } else {
721
+ /* If the post doesn't have a parent, get its hierarchy based off the post type. */
722
+ $this->add_post_hierarchy( $post_id );
723
+ }
724
+
725
+ /* Display terms for specific post type taxonomy if requested. */
726
+ $this->add_post_terms( $post_id );
727
+
728
+ /* End with the post title. */
729
+ if ( $post_title = single_post_title( '', false ) ) {
730
+
731
+ if ( 1 < get_query_var( 'page' ) ) {
732
+
733
+ $url = get_permalink( $post_id );
734
+ $label = $post_title;
735
+
736
+ $this->_add_item( 'link_format', $label, $url );
737
+
738
+ }
739
+
740
+ $label = $post_title;
741
+ $this->_add_item( 'target_format', $label );
742
+
743
+ }
744
+ }
745
+
746
+ /**
747
+ * Adds a post's terms from a specific taxonomy to the items array.
748
+ *
749
+ * @since 1.0.0
750
+ *
751
+ * @param int $post_id The ID of the post to get the terms for.
752
+ */
753
+ public function add_post_terms( $post_id ) {
754
+
755
+ if ( 'minified' == $this->args['path_type'] ) {
756
+ return;
757
+ }
758
+
759
+ /* Get the post type. */
760
+ $post_type = get_post_type( $post_id );
761
+
762
+ /* Add the terms of the taxonomy for this post. */
763
+ if ( ! empty( $this->args['post_taxonomy'][ $post_type ] ) ) {
764
+
765
+ $post_terms = wp_get_post_terms( $post_id, $this->args['post_taxonomy'][ $post_type ] );
766
+
767
+ if ( is_array( $post_terms ) && isset( $post_terms[0] ) && is_object( $post_terms[0] ) ) {
768
+ $term_id = $post_terms[0]->term_id;
769
+ $this->add_term_parents( $term_id, $this->args['post_taxonomy'][ $post_type ] );
770
+ }
771
+ }
772
+ }
773
+
774
+ /**
775
+ * Gets post types by slug. This is needed because the get_post_types() function doesn't exactly
776
+ * match the 'has_archive' argument when it's set as a string instead of a boolean.
777
+ *
778
+ * @since 1.0.0
779
+ *
780
+ * @param int $slug The post type archive slug to search for.
781
+ */
782
+ public function get_post_types_by_slug( $slug ) {
783
+
784
+ $return = array();
785
+
786
+ $post_types = get_post_types( array(), 'objects' );
787
+
788
+ foreach ( $post_types as $type ) {
789
+
790
+ if ( $slug === $type->has_archive || ( true === $type->has_archive && $slug === $type->rewrite['slug'] ) ) {
791
+ $return[] = $type;
792
+ }
793
+ }
794
+
795
+ return $return;
796
+ }
797
+
798
+ /**
799
+ * Adds the items to the trail items array for taxonomy term archives.
800
+ *
801
+ * @since 1.0.0
802
+ */
803
+ public function add_term_archive_items() {
804
+
805
+ global $wp_rewrite;
806
+
807
+ /* Get some taxonomy and term variables. */
808
+ $term = get_queried_object();
809
+ $taxonomy = get_taxonomy( $term->taxonomy );
810
+
811
+ /* If there are rewrite rules for the taxonomy. */
812
+ if ( false !== $taxonomy->rewrite ) {
813
+
814
+ $post_type_catched = false;
815
+
816
+ /* If 'with_front' is true, dd $wp_rewrite->front to the trail. */
817
+ if ( $taxonomy->rewrite['with_front'] && $wp_rewrite->front ) {
818
+ $this->add_rewrite_front_items();
819
+ }
820
+
821
+ /* Get parent pages by path if they exist. */
822
+ $this->add_path_parents( $taxonomy->rewrite['slug'] );
823
+
824
+ /* Add post type archive if its 'has_archive' matches the taxonomy rewrite 'slug'. */
825
+ if ( $taxonomy->rewrite['slug'] ) {
826
+
827
+ $slug = trim( $taxonomy->rewrite['slug'], '/' );
828
+
829
+ /**
830
+ * Deals with the situation if the slug has a '/' between multiple strings. For
831
+ * example, "movies/genres" where "movies" is the post type archive.
832
+ */
833
+ $matches = explode( '/', $slug );
834
+
835
+ /* If matches are found for the path. */
836
+ if ( isset( $matches ) ) {
837
+
838
+ /* Reverse the array of matches to search for posts in the proper order. */
839
+ $matches = array_reverse( $matches );
840
+
841
+ /* Loop through each of the path matches. */
842
+ foreach ( $matches as $match ) {
843
+
844
+ /* If a match is found. */
845
+ $slug = $match;
846
+
847
+ /* Get public post types that match the rewrite slug. */
848
+ $post_types = $this->get_post_types_by_slug( $match );
849
+
850
+ if ( ! empty( $post_types ) ) {
851
+
852
+ $post_type_object = $post_types[0];
853
+
854
+ $url = get_post_type_archive_link( $post_type_object->name );
855
+ /* Add support for a non-standard label of 'archive_title' (special use case). */
856
+ $label = ! empty( $post_type_object->labels->archive_title )
857
+ ? $post_type_object->labels->archive_title
858
+ : $post_type_object->labels->name;
859
+
860
+ /* Add the post type archive link to the trail. */
861
+ $this->_add_item( 'link_format', $label, $url );
862
+
863
+ $post_type_catched = true;
864
+ /* Break out of the loop. */
865
+ break;
866
+ }
867
+ }
868
+ }
869
+ }
870
+
871
+ /* Add the post type archive link to the trail for custom post types */
872
+ if ( ! $post_type_catched ) {
873
+ $post_type = isset( $taxonomy->object_type[0] ) ? $taxonomy->object_type[0] : false;
874
+
875
+ if ( $post_type && 'post' != $post_type ) {
876
+ $post_type_object = get_post_type_object( $post_type );
877
+
878
+ $url = get_post_type_archive_link( $post_type_object->name );
879
+ /* Add support for a non-standard label of 'archive_title' (special use case). */
880
+ $label = ! empty( $post_type_object->labels->archive_title )
881
+ ? $post_type_object->labels->archive_title
882
+ : $post_type_object->labels->name;
883
+
884
+ $this->_add_item( 'link_format', $label, $url );
885
+
886
+ }
887
+ }
888
+ }
889
+
890
+ /* If the taxonomy is hierarchical, list its parent terms. */
891
+ if ( is_taxonomy_hierarchical( $term->taxonomy ) && $term->parent ) {
892
+ $this->add_term_parents( $term->parent, $term->taxonomy );
893
+ }
894
+
895
+ $label = single_term_title( '', false );
896
+
897
+ /* Add the term name to the trail end. */
898
+ if ( is_paged() ) {
899
+
900
+ $url = esc_url( get_term_link( $term, $term->taxonomy ) );
901
+ $this->_add_item( 'link_format', $label, $url );
902
+
903
+ }
904
+
905
+ $this->_add_item( 'target_format', $label );
906
+
907
+ }
908
+
909
+ /**
910
+ * Adds the items to the trail items array for post type archives.
911
+ *
912
+ * @since 1.0.0
913
+ */
914
+ public function add_post_type_archive_items() {
915
+
916
+ /* Get the post type object. */
917
+ $post_type_object = get_post_type_object( get_query_var( 'post_type' ) );
918
+
919
+ if ( false !== $post_type_object->rewrite ) {
920
+
921
+ /* If 'with_front' is true, add $wp_rewrite->front to the trail. */
922
+ if ( $post_type_object->rewrite['with_front'] ) {
923
+ $this->add_rewrite_front_items();
924
+ }
925
+ }
926
+
927
+ /* Add the post type [plural] name to the trail end. */
928
+ if ( is_paged() ) {
929
+
930
+ $url = esc_url( get_post_type_archive_link( $post_type_object->name ) );
931
+ $label = post_type_archive_title( '', false );
932
+
933
+ $this->_add_item( 'link_format', $label, $url );
934
+
935
+ }
936
+
937
+ $label = post_type_archive_title( '', false );
938
+ $this->_add_item( 'target_format', $label );
939
+
940
+ }
941
+
942
+ /**
943
+ * Adds the items to the trail items array for user (author) archives.
944
+ *
945
+ * @since 1.0.0
946
+ */
947
+ public function add_user_archive_items() {
948
+ global $wp_rewrite;
949
+
950
+ /* Add $wp_rewrite->front to the trail. */
951
+ $this->add_rewrite_front_items();
952
+
953
+ /* Get the user ID. */
954
+ $user_id = get_query_var( 'author' );
955
+
956
+ /* If $author_base exists, check for parent pages. */
957
+ if ( ! empty( $wp_rewrite->author_base ) ) {
958
+ $this->add_path_parents( $wp_rewrite->author_base );
959
+ }
960
+
961
+ $label = get_the_author_meta( 'display_name', $user_id );
962
+
963
+ /* Add the author's display name to the trail end. */
964
+ if ( is_paged() ) {
965
+
966
+ $url = esc_url( get_author_posts_url( $user_id ) );
967
+ $this->_add_item( 'link_format', $label, $url );
968
+
969
+ }
970
+
971
+ $this->_add_item( 'target_format', $label );
972
+
973
+ }
974
+
975
+ /**
976
+ * Adds the items to the trail items array for minute + hour archives.
977
+ *
978
+ * @since 1.0.0
979
+ */
980
+ public function add_minute_hour_archive_items() {
981
+
982
+ /* Add $wp_rewrite->front to the trail. */
983
+ $this->add_rewrite_front_items();
984
+
985
+ /* Add the minute + hour item. */
986
+ $label = sprintf(
987
+ $this->args['labels']['archive_minute_hour'],
988
+ get_the_time( $this->args['date_labels']['archive_minute_hour'] )
989
+ );
990
+ $this->_add_item( 'target_format', $label );
991
+
992
+ }
993
+
994
+ /**
995
+ * Adds the items to the trail items array for minute archives.
996
+ *
997
+ * @since 1.0.0
998
+ */
999
+ public function add_minute_archive_items() {
1000
+
1001
+ /* Add $wp_rewrite->front to the trail. */
1002
+ $this->add_rewrite_front_items();
1003
+
1004
+ /* Add the minute item. */
1005
+ $label = sprintf(
1006
+ $this->args['labels']['archive_minute'],
1007
+ get_the_time( $this->args['date_labels']['archive_minute'] )
1008
+ );
1009
+
1010
+ $this->_add_item( 'target_format', $label );
1011
+
1012
+ }
1013
+
1014
+ /**
1015
+ * Adds the items to the trail items array for hour archives.
1016
+ *
1017
+ * @since 1.0.0
1018
+ */
1019
+ public function add_hour_archive_items() {
1020
+
1021
+ /* Add $wp_rewrite->front to the trail. */
1022
+ $this->add_rewrite_front_items();
1023
+
1024
+ /* Add the hour item. */
1025
+ $label = sprintf(
1026
+ $this->args['labels']['archive_hour'],
1027
+ get_the_time( $this->args['date_labels']['archive_hour'] )
1028
+ );
1029
+ $this->_add_item( 'target_format', $label );
1030
+
1031
+ }
1032
+
1033
+ /**
1034
+ * Adds the items to the trail items array for day archives.
1035
+ *
1036
+ * @since 1.0.0
1037
+ */
1038
+ public function add_day_archive_items() {
1039
+
1040
+ /* Add $wp_rewrite->front to the trail. */
1041
+ $this->add_rewrite_front_items();
1042
+
1043
+ /* Get year, month, and day. */
1044
+ $year = sprintf(
1045
+ $this->args['labels']['archive_year'],
1046
+ get_the_time( $this->args['date_labels']['archive_year'] )
1047
+ );
1048
+
1049
+ $month = sprintf(
1050
+ $this->args['labels']['archive_month'],
1051
+ get_the_time( $this->args['date_labels']['archive_month'] )
1052
+ );
1053
+
1054
+ $day = sprintf(
1055
+ $this->args['labels']['archive_day'],
1056
+ get_the_time( $this->args['date_labels']['archive_day'] )
1057
+ );
1058
+
1059
+ /* Add the year and month items. */
1060
+ $this->_add_item(
1061
+ 'link_format',
1062
+ $year,
1063
+ get_year_link( get_the_time( 'Y' ) )
1064
+ );
1065
+
1066
+ $this->_add_item(
1067
+ 'link_format',
1068
+ $month,
1069
+ get_month_link( get_the_time( 'Y' ), get_the_time( 'm' ) )
1070
+ );
1071
+
1072
+ /* Add the day item. */
1073
+ if ( is_paged() ) {
1074
+
1075
+ $this->_add_item(
1076
+ 'link_format',
1077
+ $day,
1078
+ get_day_link( get_the_time( 'Y' ), get_the_time( 'm' ), get_the_time( 'd' ) )
1079
+ );
1080
+
1081
+ }
1082
+
1083
+ $this->_add_item( 'target_format', $day );
1084
+
1085
+ }
1086
+
1087
+ /**
1088
+ * Adds the items to the trail items array for week archives.
1089
+ *
1090
+ * @since 1.0.0
1091
+ */
1092
+ public function add_week_archive_items() {
1093
+
1094
+ /* Add $wp_rewrite->front to the trail. */
1095
+ $this->add_rewrite_front_items();
1096
+
1097
+ /* Get the year and week. */
1098
+ $year = sprintf(
1099
+ $this->args['labels']['archive_year'],
1100
+ get_the_time( $this->args['date_labels']['archive_year'] )
1101
+ );
1102
+ $week = sprintf(
1103
+ $this->args['labels']['archive_week'],
1104
+ get_the_time( $this->args['date_labels']['archive_week'] )
1105
+ );
1106
+
1107
+ /* Add the year item. */
1108
+ $this->_add_item(
1109
+ 'link_format',
1110
+ $year,
1111
+ get_year_link( get_the_time( 'Y' ) )
1112
+ );
1113
+
1114
+ /* Add the week item. */
1115
+ if ( is_paged() ) {
1116
+
1117
+ $this->_add_item(
1118
+ 'link_format',
1119
+ $week,
1120
+ add_query_arg(
1121
+ array( 'm' => get_the_time( 'Y' ), 'w' => get_the_time( 'W' ) ),
1122
+ esc_url( home_url( '/' ) )
1123
+ )
1124
+ );
1125
+
1126
+ }
1127
+
1128
+ $this->_add_item( 'target_format', $week );
1129
+
1130
+ }
1131
+
1132
+ /**
1133
+ * Adds the items to the trail items array for month archives.
1134
+ *
1135
+ * @since 1.0.0
1136
+ */
1137
+ public function add_month_archive_items() {
1138
+
1139
+ /* Add $wp_rewrite->front to the trail. */
1140
+ $this->add_rewrite_front_items();
1141
+
1142
+ /* Get the year and month. */
1143
+ $year = sprintf(
1144
+ $this->args['labels']['archive_year'],
1145
+ get_the_time( $this->args['date_labels']['archive_year'] )
1146
+ );
1147
+ $month = sprintf(
1148
+ $this->args['labels']['archive_month'],
1149
+ get_the_time( $this->args['date_labels']['archive_month'] )
1150
+ );
1151
+
1152
+ /* Add the year item. */
1153
+ $this->_add_item(
1154
+ 'link_format',
1155
+ $year,
1156
+ get_year_link( get_the_time( 'Y' ) )
1157
+ );
1158
+
1159
+ /* Add the month item. */
1160
+ if ( is_paged() ) {
1161
+ $this->_add_item(
1162
+ 'link_format',
1163
+ $month,
1164
+ get_month_link( get_the_time( 'Y' ), get_the_time( 'm' ) )
1165
+ );
1166
+
1167
+ }
1168
+
1169
+ $this->_add_item( 'target_format', $month );
1170
+ }
1171
+
1172
+ /**
1173
+ * Adds the items to the trail items array for year archives.
1174
+ *
1175
+ * @since 1.0.0
1176
+ */
1177
+ public function add_year_archive_items() {
1178
+
1179
+ /* Add $wp_rewrite->front to the trail. */
1180
+ $this->add_rewrite_front_items();
1181
+
1182
+ /* Get the year. */
1183
+ $year = sprintf(
1184
+ $this->args['labels']['archive_year'],
1185
+ get_the_time( $this->args['date_labels']['archive_year'] )
1186
+ );
1187
+
1188
+ /* Add the year item. */
1189
+ if ( is_paged() ) {
1190
+ $this->_add_item(
1191
+ 'link_format',
1192
+ $year,
1193
+ get_year_link( get_the_time( 'Y' ) )
1194
+ );
1195
+ }
1196
+
1197
+ $this->_add_item( 'target_format', $year );
1198
+
1199
+ }
1200
+
1201
+ /**
1202
+ * Adds the items to the trail items array for archives that don't have a more specific method
1203
+ * defined in this class.
1204
+ *
1205
+ * @since 1.0.0
1206
+ */
1207
+ public function add_default_archive_items() {
1208
+
1209
+ /* If this is a date-/time-based archive, add $wp_rewrite->front to the trail. */
1210
+ if ( is_date() || is_time() ) {
1211
+ $this->add_rewrite_front_items();
1212
+ }
1213
+
1214
+ $this->_add_item( 'target_format', $this->args['labels']['archives'] );
1215
+
1216
+ }
1217
+
1218
+ /**
1219
+ * Adds the items to the trail items array for search results.
1220
+ *
1221
+ * @since 1.0.0
1222
+ */
1223
+ public function add_search_items() {
1224
+
1225
+ $label = sprintf( $this->args['labels']['search'], get_search_query() );
1226
+
1227
+ if ( is_paged() ) {
1228
+ $url = get_search_link();
1229
+ $this->_add_item( 'link_format', $label, $url );
1230
+
1231
+ }
1232
+
1233
+ $this->_add_item( 'target_format', $label );
1234
+ }
1235
+
1236
+ /**
1237
+ * Adds the items to the trail items array for 404 pages.
1238
+ *
1239
+ * @since 1.0.0
1240
+ * @return void
1241
+ */
1242
+ public function add_404_items() {
1243
+
1244
+ $this->_add_item( 'target_format', $this->args['labels']['error_404'] );
1245
+
1246
+ }
1247
+
1248
+ /**
1249
+ * Add post parents link to breadcrumbs items
1250
+ *
1251
+ * @since 1.0.0
1252
+ *
1253
+ * @param int $post_id first parent post ID.
1254
+ */
1255
+ public function add_post_parents( $post_id ) {
1256
+
1257
+ $parents = array();
1258
+
1259
+ while ( $post_id ) {
1260
+
1261
+ $url = get_permalink( $post_id );
1262
+ $label = get_the_title( $post_id );
1263
+ $title = esc_attr( $label );
1264
+
1265
+ $item = sprintf(
1266
+ $this->args['link_format'],
1267
+ $label, $this->css['link'], $title, $url
1268
+ );
1269
+
1270
+ $parents[] = sprintf( $this->args['item_format'], $item, esc_attr( $this->css['item'] ) );
1271
+
1272
+ $post = get_post( $post_id );
1273
+ // If there's no longer a post parent, break out of the loop.
1274
+ if ( 0 >= $post->post_parent ) {
1275
+ break;
1276
+ }
1277
+
1278
+ // Change the post ID to the parent post to continue looping.
1279
+ $post_id = $post->post_parent;
1280
+ }
1281
+
1282
+ // Get the post hierarchy based off the final parent post.
1283
+ $this->add_post_hierarchy( $post_id );
1284
+ $this->add_post_terms( $post_id );
1285
+
1286
+ // Merge the parent items into the items array.
1287
+ $this->items = array_merge( $this->items, array_reverse( $parents ) );
1288
+ }
1289
+
1290
+ /**
1291
+ * Adds a specific post's hierarchy to the items array.
1292
+ * The hierarchy is determined by post type's
1293
+ * rewrite arguments and whether it has an archive page.
1294
+ *
1295
+ * @since 1.0.0
1296
+ *
1297
+ * @param int $post_id The ID of the post to get the hierarchy for.
1298
+ * @return void
1299
+ */
1300
+ public function add_post_hierarchy( $post_id ) {
1301
+
1302
+ if ( 'minified' == $this->args['path_type'] ) {
1303
+ return;
1304
+ }
1305
+
1306
+ // Get the post type.
1307
+ $post_type = get_post_type( $post_id );
1308
+ $post_type_object = get_post_type_object( $post_type );
1309
+
1310
+ // If this is the 'post' post type, get the rewrite front items and map the rewrite tags.
1311
+ if ( 'post' === $post_type ) {
1312
+ // Get permalink specific breadcrumb items
1313
+ $this->add_rewrite_front_items();
1314
+ $this->map_rewrite_tags( $post_id, get_option( 'permalink_structure' ) );
1315
+ } elseif ( false !== $post_type_object->rewrite ) {
1316
+ // Add post type specific items
1317
+ if ( isset( $post_type_object->rewrite['with_front'] ) && $post_type_object->rewrite['with_front'] ) {
1318
+ $this->add_rewrite_front_items();
1319
+ }
1320
+ }
1321
+
1322
+ /* If there's an archive page, add it to the trail. */
1323
+ if ( ! empty( $post_type_object->has_archive ) ) {
1324
+
1325
+ $url = get_post_type_archive_link( $post_type );
1326
+ /* Add support for a non-standard label of 'archive_title' (special use case). */
1327
+ $label = ! empty( $post_type_object->labels->archive_title )
1328
+ ? $post_type_object->labels->archive_title
1329
+ : $post_type_object->labels->name;
1330
+
1331
+ $this->_add_item( 'link_format', $label, $url );
1332
+ }
1333
+ }
1334
+
1335
+ /**
1336
+ * Searches for term parents of hierarchical taxonomies.
1337
+ * This function is similar to the WordPress function get_category_parents() but handles any type of taxonomy.
1338
+ *
1339
+ * @since 1.0.0
1340
+ *
1341
+ * @param int $term_id ID of the term to get the parents of.
1342
+ * @param string $taxonomy Name of the taxonomy for the given term.
1343
+ */
1344
+ function add_term_parents( $term_id, $taxonomy ) {
1345
+
1346
+ if ( 'minified' == $this->args['path_type'] ) {
1347
+ return;
1348
+ }
1349
+
1350
+ /* Set up some default arrays. */
1351
+ $parents = array();
1352
+
1353
+ /* While there is a parent ID, add the parent term link to the $parents array. */
1354
+ while ( $term_id ) {
1355
+
1356
+ /* Get the parent term. */
1357
+ $term = get_term( $term_id, $taxonomy );
1358
+
1359
+ $url = get_term_link( $term_id, $taxonomy );
1360
+ $label = $term->name;
1361
+ $title = esc_attr( $label );
1362
+
1363
+ $item = sprintf(
1364
+ $this->args['link_format'],
1365
+ $label, $this->css['link'], $title, $url
1366
+ );
1367
+
1368
+ $parents[] = sprintf( $this->args['item_format'], $item, esc_attr( $this->css['item'] ) );
1369
+
1370
+ /* Set the parent term's parent as the parent ID. */
1371
+ $term_id = $term->parent;
1372
+ }
1373
+
1374
+ /* If we have parent terms, reverse the array to put them in the proper order for the trail. */
1375
+ if ( ! empty( $parents ) ) {
1376
+ $this->items = array_merge( $this->items, array_reverse( $parents ) );
1377
+ }
1378
+ }
1379
+
1380
+ /**
1381
+ * Service function to process single tag item.
1382
+ *
1383
+ * @param string $tag Single tag.
1384
+ * @param int $post_id Processed post ID.
1385
+ */
1386
+ function _process_single_tag( $tag, $post_id ) {
1387
+
1388
+ global $post;
1389
+
1390
+ /* Trim any '/' from the $tag. */
1391
+ $tag = trim( $tag, '/' );
1392
+
1393
+ /* If using the %year% tag, add a link to the yearly archive. */
1394
+ if ( '%year%' == $tag ) {
1395
+
1396
+ $url = get_year_link( get_the_time( 'Y', $post_id ) );
1397
+ $label = sprintf(
1398
+ $this->args['labels']['archive_year'],
1399
+ get_the_time( $this->args['date_labels']['archive_year'] )
1400
+ );
1401
+
1402
+ $this->_add_item( 'link_format', $label, $url );
1403
+
1404
+ /* If using the %monthnum% tag, add a link to the monthly archive. */
1405
+ } elseif ( '%monthnum%' == $tag ) {
1406
+
1407
+ $url = get_month_link( get_the_time( 'Y', $post_id ), get_the_time( 'm', $post_id ) );
1408
+ $label = sprintf(
1409
+ $this->args['labels']['archive_month'],
1410
+ get_the_time( $this->args['date_labels']['archive_month'] )
1411
+ );
1412
+
1413
+ $this->_add_item( 'link_format', $label, $url );
1414
+
1415
+ /* If using the %day% tag, add a link to the daily archive. */
1416
+ } elseif ( '%day%' == $tag ) {
1417
+
1418
+ $url = get_day_link(
1419
+ get_the_time( 'Y', $post_id ), get_the_time( 'm', $post_id ), get_the_time( 'd', $post_id )
1420
+ );
1421
+ $label = sprintf(
1422
+ $this->args['labels']['archive_day'],
1423
+ get_the_time( $this->args['date_labels']['archive_day'] )
1424
+ );
1425
+
1426
+ $this->_add_item( 'link_format', $label, $url );
1427
+
1428
+ /* If using the %author% tag, add a link to the post author archive. */
1429
+ } elseif ( '%author%' == $tag ) {
1430
+
1431
+ $url = get_author_posts_url( $post->post_author );
1432
+ $label = get_the_author_meta( 'display_name', $post->post_author );
1433
+
1434
+ $this->_add_item( 'link_format', $label, $url );
1435
+
1436
+ /* If using the %category% tag, add a link to the first category archive to match permalinks. */
1437
+ } elseif ( '%category%' == $tag ) {
1438
+
1439
+ /* Force override terms in this post type. */
1440
+ $this->args['post_taxonomy'][ $post->post_type ] = false;
1441
+
1442
+ /* Get the post categories. */
1443
+ $terms = get_the_category( $post_id );
1444
+
1445
+ /* Check that categories were returned. */
1446
+ if ( $terms ) {
1447
+
1448
+ /* Sort the terms by ID and get the first category. */
1449
+ usort( $terms, '_usort_terms_by_ID' );
1450
+ $term = get_term( $terms[0], 'category' );
1451
+
1452
+ /* If the category has a parent, add the hierarchy to the trail. */
1453
+ if ( 0 < $term->parent ) {
1454
+ $this->add_term_parents( $term->parent, 'category' );
1455
+ }
1456
+
1457
+ $url = get_term_link( $term, 'category' );
1458
+ $label = $term->name;
1459
+
1460
+ $this->_add_item( 'link_format', $label, $url );
1461
+ }
1462
+ }
1463
+ }
1464
+
1465
+
1466
+ /**
1467
+ * Turns %tag% from permalink structures into usable links for the breadcrumb trail.
1468
+ * This feels kind of hackish for now because we're checking for specific %tag% examples and only doing
1469
+ * it for the 'post' post type. In the future, maybe it'll handle a wider variety of possibilities,
1470
+ * especially for custom post types.
1471
+ *
1472
+ * @since 1.0.0
1473
+ *
1474
+ * @param int $post_id ID of the post whose parents we want.
1475
+ * @param string $path Path of a potential parent page.
1476
+ */
1477
+ public function map_rewrite_tags( $post_id, $path ) {
1478
+
1479
+ /* Get the post based on the post ID. */
1480
+ $post = get_post( $post_id );
1481
+
1482
+ /* If no post is returned, an error is returned, or the post does not have a 'post' post type, return. */
1483
+ if ( empty( $post ) || is_wp_error( $post ) || 'post' !== $post->post_type ) {
1484
+ return;
1485
+ }
1486
+
1487
+ /* Trim '/' from both sides of the $path. */
1488
+ $path = trim( $path, '/' );
1489
+
1490
+ /* Split the $path into an array of strings. */
1491
+ $matches = explode( '/', $path );
1492
+
1493
+ /* If matches are found for the path. */
1494
+ if ( ! is_array( $matches ) ) {
1495
+ return;
1496
+ }
1497
+
1498
+ /* Loop through each of the matches, adding each to the $trail array. */
1499
+ foreach ( $matches as $match ) {
1500
+ $this->_process_single_tag( $match, $post_id );
1501
+ }
1502
+ }
1503
+
1504
+ /**
1505
+ * Try to escape font icon from passed label and return it if found, or return label
1506
+ *
1507
+ * @since 1.0.0
1508
+ * @param string $label Passed label.
1509
+ * @param bool|string $fallback Optional fallback text to add inside icon tag.
1510
+ * @return string
1511
+ */
1512
+ public function prepare_label( $label, $fallback = false ) {
1513
+
1514
+ $prefix = 'icon:';
1515
+
1516
+ // Return simple text label if icon not found
1517
+ if ( false === strpos( $label, $prefix ) ) {
1518
+ return $label;
1519
+ }
1520
+
1521
+ $label = str_replace( $prefix, '', $label );
1522
+ $label = str_replace( '.', '', $label );
1523
+
1524
+ if ( false !== $fallback ) {
1525
+ $fallback = sprintf(
1526
+ apply_filters( 'cherry_breadcrumbs_icon_fallback', '<span class="hidden">%s</span>', $fallback ),
1527
+ esc_attr( $fallback )
1528
+ );
1529
+ }
1530
+
1531
+ // Check if is Font Awesome icon
1532
+ if ( 0 === strpos( $label, 'fa-' ) ) {
1533
+ return sprintf( '<i class="fa %1$s">%2$s</i>', esc_attr( $label ), $fallback );
1534
+ }
1535
+
1536
+ // Return default icon
1537
+ return sprintf(
1538
+ apply_filters( 'cherry_breadcrumbs_default_icon_format', '<span class="%1$s">%2$s</span>', $label, $fallback ),
1539
+ esc_attr( $label ), $fallback
1540
+ );
1541
+
1542
+ }
1543
+
1544
+ /**
1545
+ * Returns the instance.
1546
+ *
1547
+ * @since 1.0.0
1548
+ * @return object
1549
+ */
1550
+ public static function get_instance( $core, $args ) {
1551
+
1552
+ // If the single instance hasn't been set, set it now.
1553
+ if ( null == self::$instance ) {
1554
+ self::$instance = new self( $core, $args );
1555
+ }
1556
+
1557
+ return self::$instance;
1558
+ }
1559
+ }
1560
+ }
cherry-framework/modules/cherry-customizer/assets/fonts/google.json ADDED
@@ -0,0 +1,13772 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "kind": "webfonts#webfontList",
3
+ "items": [
4
+ {
5
+ "kind": "webfonts#webfont",
6
+ "family": "ABeeZee",
7
+ "category": "sans-serif",
8
+ "variants": [
9
+ "regular",
10
+ "italic"
11
+ ],
12
+ "subsets": [
13
+ "latin"
14
+ ],
15
+ "version": "v9",
16
+ "lastModified": "2016-04-25",
17
+ "files": {
18
+ "regular": "http://fonts.gstatic.com/s/abeezee/v9/mE5BOuZKGln_Ex0uYKpIaw.ttf",
19
+ "italic": "http://fonts.gstatic.com/s/abeezee/v9/kpplLynmYgP0YtlJA3atRw.ttf"
20
+ }
21
+ },
22
+ {
23
+ "kind": "webfonts#webfont",
24
+ "family": "Abel",
25
+ "category": "sans-serif",
26
+ "variants": [
27
+ "regular"
28
+ ],
29
+ "subsets": [
30
+ "latin"
31
+ ],
32
+ "version": "v6",
33
+ "lastModified": "2016-04-25",
34
+ "files": {
35
+ "regular": "http://fonts.gstatic.com/s/abel/v6/RpUKfqNxoyNe_ka23bzQ2A.ttf"
36
+ }
37
+ },
38
+ {
39
+ "kind": "webfonts#webfont",
40
+ "family": "Abril Fatface",
41
+ "category": "display",
42
+ "variants": [
43
+ "regular"
44
+ ],
45
+ "subsets": [
46
+ "latin",
47
+ "latin-ext"
48
+ ],
49
+ "version": "v8",
50
+ "lastModified": "2016-04-25",
51
+ "files": {
52
+ "regular": "http://fonts.gstatic.com/s/abrilfatface/v8/X1g_KwGeBV3ajZIXQ9VnDojjx0o0jr6fNXxPgYh_a8Q.ttf"
53
+ }
54
+ },
55
+ {
56
+ "kind": "webfonts#webfont",
57
+ "family": "Aclonica",
58
+ "category": "sans-serif",
59
+ "variants": [
60
+ "regular"
61
+ ],
62
+ "subsets": [
63
+ "latin"
64
+ ],
65
+ "version": "v6",
66
+ "lastModified": "2016-04-25",
67
+ "files": {
68
+ "regular": "http://fonts.gstatic.com/s/aclonica/v6/M6pHZMPwK3DiBSlo3jwAKQ.ttf"
69
+ }
70
+ },
71
+ {
72
+ "kind": "webfonts#webfont",
73
+ "family": "Acme",
74
+ "category": "sans-serif",
75
+ "variants": [
76
+ "regular"
77
+ ],
78
+ "subsets": [
79
+ "latin"
80
+ ],
81
+ "version": "v5",
82
+ "lastModified": "2016-04-25",
83
+ "files": {
84
+ "regular": "http://fonts.gstatic.com/s/acme/v5/-J6XNtAHPZBEbsifCdBt-g.ttf"
85
+ }
86
+ },
87
+ {
88
+ "kind": "webfonts#webfont",
89
+ "family": "Actor",
90
+ "category": "sans-serif",
91
+ "variants": [
92
+ "regular"
93
+ ],
94
+ "subsets": [
95
+ "latin"
96
+ ],
97
+ "version": "v6",
98
+ "lastModified": "2016-04-25",
99
+ "files": {
100
+ "regular": "http://fonts.gstatic.com/s/actor/v6/ugMf40CrRK6Jf6Yz_xNSmQ.ttf"
101
+ }
102
+ },
103
+ {
104
+ "kind": "webfonts#webfont",
105
+ "family": "Adamina",
106
+ "category": "serif",
107
+ "variants": [
108
+ "regular"
109
+ ],
110
+ "subsets": [
111
+ "latin"
112
+ ],
113
+ "version": "v8",
114
+ "lastModified": "2016-04-25",
115
+ "files": {
116
+ "regular": "http://fonts.gstatic.com/s/adamina/v8/RUQfOodOMiVVYqFZcSlT9w.ttf"
117
+ }
118
+ },
119
+ {
120
+ "kind": "webfonts#webfont",
121
+ "family": "Advent Pro",
122
+ "category": "sans-serif",
123
+ "variants": [
124
+ "100",
125
+ "200",
126
+ "300",
127
+ "regular",
128
+ "500",
129
+ "600",
130
+ "700"
131
+ ],
132
+ "subsets": [
133
+ "latin",
134
+ "greek",
135
+ "latin-ext"
136
+ ],
137
+ "version": "v4",
138
+ "lastModified": "2016-04-25",
139
+ "files": {
140
+ "100": "http://fonts.gstatic.com/s/adventpro/v4/87-JOpSUecTG50PBYK4ysi3USBnSvpkopQaUR-2r7iU.ttf",
141
+ "200": "http://fonts.gstatic.com/s/adventpro/v4/URTSSjIp0Wr-GrjxFdFWnGeudeTO44zf-ht3k-KNzwg.ttf",
142
+ "300": "http://fonts.gstatic.com/s/adventpro/v4/sJaBfJYSFgoB80OL1_66m0eOrDcLawS7-ssYqLr2Xp4.ttf",
143
+ "regular": "http://fonts.gstatic.com/s/adventpro/v4/1NxMBeKVcNNH2H46AUR3wfesZW2xOQ-xsNqO47m55DA.ttf",
144
+ "500": "http://fonts.gstatic.com/s/adventpro/v4/7kBth2-rT8tP40RmMMXMLJp-63r6doWhTEbsfBIRJ7A.ttf",
145
+ "600": "http://fonts.gstatic.com/s/adventpro/v4/3Jo-2maCzv2QLzQBzaKHV_pTEJqju4Hz1txDWij77d4.ttf",
146
+ "700": "http://fonts.gstatic.com/s/adventpro/v4/M4I6QiICt-ey_wZTpR2gKwJKKGfqHaYFsRG-T3ceEVo.ttf"
147
+ }
148
+ },
149
+ {
150
+ "kind": "webfonts#webfont",
151
+ "family": "Aguafina Script",
152
+ "category": "handwriting",
153
+ "variants": [
154
+ "regular"
155
+ ],
156
+ "subsets": [
157
+ "latin",
158
+ "latin-ext"
159
+ ],
160
+ "version": "v5",
161
+ "lastModified": "2016-04-25",
162
+ "files": {
163
+ "regular": "http://fonts.gstatic.com/s/aguafinascript/v5/65g7cgMtMGnNlNyq_Z6CvMxLhO8OSNnfAp53LK1_iRs.ttf"
164
+ }
165
+ },
166
+ {
167
+ "kind": "webfonts#webfont",
168
+ "family": "Akronim",
169
+ "category": "display",
170
+ "variants": [
171
+ "regular"
172
+ ],
173
+ "subsets": [
174
+ "latin",
175
+ "latin-ext"
176
+ ],
177
+ "version": "v5",
178
+ "lastModified": "2016-04-25",
179
+ "files": {
180
+ "regular": "http://fonts.gstatic.com/s/akronim/v5/qA0L2CSArk3tuOWE1AR1DA.ttf"
181
+ }
182
+ },
183
+ {
184
+ "kind": "webfonts#webfont",
185
+ "family": "Aladin",
186
+ "category": "handwriting",
187
+ "variants": [
188
+ "regular"
189
+ ],
190
+ "subsets": [
191
+ "latin",
192
+ "latin-ext"
193
+ ],
194
+ "version": "v5",
195
+ "lastModified": "2016-04-25",
196
+ "files": {
197
+ "regular": "http://fonts.gstatic.com/s/aladin/v5/PyuJ5cVHkduO0j5fAMKvAA.ttf"
198
+ }
199
+ },
200
+ {
201
+ "kind": "webfonts#webfont",
202
+ "family": "Aldrich",
203
+ "category": "sans-serif",
204
+ "variants": [
205
+ "regular"
206
+ ],
207
+ "subsets": [
208
+ "latin"
209
+ ],
210
+ "version": "v6",
211
+ "lastModified": "2016-04-25",
212
+ "files": {
213
+ "regular": "http://fonts.gstatic.com/s/aldrich/v6/kMMW1S56gFx7RP_mW1g-Eg.ttf"
214
+ }
215
+ },
216
+ {
217
+ "kind": "webfonts#webfont",
218
+ "family": "Alef",
219
+ "category": "sans-serif",
220
+ "variants": [
221
+ "regular",
222
+ "700"
223
+ ],
224
+ "subsets": [
225
+ "latin",
226
+ "hebrew"
227
+ ],
228
+ "version": "v6",
229
+ "lastModified": "2016-04-25",
230
+ "files": {
231
+ "regular": "http://fonts.gstatic.com/s/alef/v6/ENvZ_P0HBDQxNZYCQO0lUA.ttf",
232
+ "700": "http://fonts.gstatic.com/s/alef/v6/VDgZJhEwudtOzOFQpZ8MEA.ttf"
233
+ }
234
+ },
235
+ {
236
+ "kind": "webfonts#webfont",
237
+ "family": "Alegreya",
238
+ "category": "serif",
239
+ "variants": [
240
+ "regular",
241
+ "italic",
242
+ "700",
243
+ "700italic",
244
+ "900",
245
+ "900italic"
246
+ ],
247
+ "subsets": [
248
+ "latin",
249
+ "latin-ext"
250
+ ],
251
+ "version": "v7",
252
+ "lastModified": "2016-04-25",
253
+ "files": {
254
+ "regular": "http://fonts.gstatic.com/s/alegreya/v7/62J3atXd6bvMU4qO_ca-eA.ttf",
255
+ "italic": "http://fonts.gstatic.com/s/alegreya/v7/cbshnQGxwmlHBjUil7DaIfesZW2xOQ-xsNqO47m55DA.ttf",
256
+ "700": "http://fonts.gstatic.com/s/alegreya/v7/5oZtdI5-wQwgAFrd9erCsaCWcynf_cDxXwCLxiixG1c.ttf",
257
+ "700italic": "http://fonts.gstatic.com/s/alegreya/v7/IWi8e5bpnqhMRsZKTcTUWgJKKGfqHaYFsRG-T3ceEVo.ttf",
258
+ "900": "http://fonts.gstatic.com/s/alegreya/v7/oQeMxX-vxGImzDgX6nxA7KCWcynf_cDxXwCLxiixG1c.ttf",
259
+ "900italic": "http://fonts.gstatic.com/s/alegreya/v7/-L71QLH_XqgYWaI1GbOVhp0EAVxt0G0biEntp43Qt6E.ttf"
260
+ }
261
+ },
262
+ {
263
+ "kind": "webfonts#webfont",
264
+ "family": "Alegreya SC",
265
+ "category": "serif",
266
+ "variants": [
267
+ "regular",
268
+ "italic",
269
+ "700",
270
+ "700italic",
271
+ "900",
272
+ "900italic"
273
+ ],
274
+ "subsets": [
275
+ "latin",
276
+ "latin-ext"
277
+ ],
278
+ "version": "v6",
279
+ "lastModified": "2016-04-25",
280
+ "files": {
281
+ "regular": "http://fonts.gstatic.com/s/alegreyasc/v6/3ozeFnTbygMK6PfHh8B-iqCWcynf_cDxXwCLxiixG1c.ttf",
282
+ "italic": "http://fonts.gstatic.com/s/alegreyasc/v6/GOqmv3FLsJ2r6ZALMZVBmkeOrDcLawS7-ssYqLr2Xp4.ttf",
283
+ "700": "http://fonts.gstatic.com/s/alegreyasc/v6/M9OIREoxDkvynwTpBAYUq3e1Pd76Vl7zRpE7NLJQ7XU.ttf",
284
+ "700italic": "http://fonts.gstatic.com/s/alegreyasc/v6/5PCoU7IUfCicpKBJtBmP6c_zJjSACmk0BRPxQqhnNLU.ttf",
285
+ "900": "http://fonts.gstatic.com/s/alegreyasc/v6/M9OIREoxDkvynwTpBAYUqyenaqEuufTBk9XMKnKmgDA.ttf",
286
+ "900italic": "http://fonts.gstatic.com/s/alegreyasc/v6/5PCoU7IUfCicpKBJtBmP6U_yTOUGsoC54csJe1b-IRw.ttf"
287
+ }
288
+ },
289
+ {
290
+ "kind": "webfonts#webfont",
291
+ "family": "Alegreya Sans",
292
+ "category": "sans-serif",
293
+ "variants": [
294
+ "100",
295
+ "100italic",
296
+ "300",
297
+ "300italic",
298
+ "regular",
299
+ "italic",
300
+ "500",
301
+ "500italic",
302
+ "700",
303
+ "700italic",
304
+ "800",
305
+ "800italic",
306
+ "900",
307
+ "900italic"
308
+ ],
309
+ "subsets": [
310
+ "latin",
311
+ "latin-ext",
312
+ "vietnamese"
313
+ ],
314
+ "version": "v3",
315
+ "lastModified": "2016-04-25",
316
+ "files": {
317
+ "100": "http://fonts.gstatic.com/s/alegreyasans/v3/TKyx_-JJ6MdpQruNk-t-PJFGFO4uyVFMfB6LZsii7kI.ttf",
318
+ "100italic": "http://fonts.gstatic.com/s/alegreyasans/v3/gRkSP2lBpqoMTVxg7DmVn2cDnjsrnI9_xJ-5gnBaHsE.ttf",
319
+ "300": "http://fonts.gstatic.com/s/alegreyasans/v3/11EDm-lum6tskJMBbdy9acB1LjARzAvdqa1uQC32v70.ttf",
320
+ "300italic": "http://fonts.gstatic.com/s/alegreyasans/v3/WfiXipsmjqRqsDBQ1bA9CnfqlVoxTUFFx1C8tBqmbcg.ttf",
321
+ "regular": "http://fonts.gstatic.com/s/alegreyasans/v3/KYNzioYhDai7mTMnx_gDgn8f0n03UdmQgF_CLvNR2vg.ttf",
322
+ "italic": "http://fonts.gstatic.com/s/alegreyasans/v3/TKyx_-JJ6MdpQruNk-t-PD4G9C9ttb0Oz5Cvf0qOitE.ttf",
323
+ "500": "http://fonts.gstatic.com/s/alegreyasans/v3/11EDm-lum6tskJMBbdy9aQqQmZ7VjhwksfpNVG0pqGc.ttf",
324
+ "500italic": "http://fonts.gstatic.com/s/alegreyasans/v3/WfiXipsmjqRqsDBQ1bA9Cs7DCVO6wo6i5LKIyZDzK40.ttf",
325
+ "700": "http://fonts.gstatic.com/s/alegreyasans/v3/11EDm-lum6tskJMBbdy9aVCbmAUID8LN-q3pJpOk3Ys.ttf",
326
+ "700italic": "http://fonts.gstatic.com/s/alegreyasans/v3/WfiXipsmjqRqsDBQ1bA9CpF66r9C4AnxxlBlGd7xY4g.ttf",
327
+ "800": "http://fonts.gstatic.com/s/alegreyasans/v3/11EDm-lum6tskJMBbdy9acxnD5BewVtRRHHljCwR2bM.ttf",
328
+ "800italic": "http://fonts.gstatic.com/s/alegreyasans/v3/WfiXipsmjqRqsDBQ1bA9CicOAJ_9MkLPbDmrtXDPbIU.ttf",
329
+ "900": "http://fonts.gstatic.com/s/alegreyasans/v3/11EDm-lum6tskJMBbdy9aW42xlVP-j5dagE7-AU2zwg.ttf",
330
+ "900italic": "http://fonts.gstatic.com/s/alegreyasans/v3/WfiXipsmjqRqsDBQ1bA9ChRaDUI9aE8-k7PrIG2iiuo.ttf"
331
+ }
332
+ },
333
+ {
334
+ "kind": "webfonts#webfont",
335
+ "family": "Alegreya Sans SC",
336
+ "category": "sans-serif",
337
+ "variants": [
338
+ "100",
339
+ "100italic",
340
+ "300",
341
+ "300italic",
342
+ "regular",
343
+ "italic",
344
+ "500",
345
+ "500italic",
346
+ "700",
347
+ "700italic",
348
+ "800",
349
+ "800italic",
350
+ "900",
351
+ "900italic"
352
+ ],
353
+ "subsets": [
354
+ "latin",
355
+ "latin-ext",
356
+ "vietnamese"
357
+ ],
358
+ "version": "v3",
359
+ "lastModified": "2016-04-25",
360
+ "files": {
361
+ "100": "http://fonts.gstatic.com/s/alegreyasanssc/v3/trwFkDJLOJf6hqM93944kVnzStfdnFU-MXbO84aBs_M.ttf",
362
+ "100italic": "http://fonts.gstatic.com/s/alegreyasanssc/v3/qG3gA9iy5RpXMH4crZboqqakMVR0XlJhO7VdJ8yYvA4.ttf",
363
+ "300": "http://fonts.gstatic.com/s/alegreyasanssc/v3/AjAmkoP1y0Vaad0UPPR46-1IqtfxJspFjzJp0SaQRcI.ttf",
364
+ "300italic": "http://fonts.gstatic.com/s/alegreyasanssc/v3/0VweK-TO3aQgazdxg8fs0CnTKaH808trtzttbEg4yVA.ttf",
365
+ "regular": "http://fonts.gstatic.com/s/alegreyasanssc/v3/6kgb6ZvOagoVIRZyl8XV-EklWX-XdLVn1WTiuGuvKIU.ttf",
366
+ "italic": "http://fonts.gstatic.com/s/alegreyasanssc/v3/trwFkDJLOJf6hqM93944kTfqo69HNOlCNZvbwAmUtiA.ttf",
367
+ "500": "http://fonts.gstatic.com/s/alegreyasanssc/v3/AjAmkoP1y0Vaad0UPPR46_hHTluI57wqxl55RvSYo3s.ttf",
368
+ "500italic": "http://fonts.gstatic.com/s/alegreyasanssc/v3/0VweK-TO3aQgazdxg8fs0NqVvxKdFVwqwzilqfVd39U.ttf",
369
+ "700": "http://fonts.gstatic.com/s/alegreyasanssc/v3/AjAmkoP1y0Vaad0UPPR4600aId5t1FC-xZ8nmpa_XLk.ttf",
370
+ "700italic": "http://fonts.gstatic.com/s/alegreyasanssc/v3/0VweK-TO3aQgazdxg8fs0IBYn3VD6xMEnodOh8pnFw4.ttf",
371
+ "800": "http://fonts.gstatic.com/s/alegreyasanssc/v3/AjAmkoP1y0Vaad0UPPR46wQgSHD3Lo1Mif2Wkk5swWA.ttf",
372
+ "800italic": "http://fonts.gstatic.com/s/alegreyasanssc/v3/0VweK-TO3aQgazdxg8fs0HStmCm6Rs90XeztCALm0H8.ttf",
373
+ "900": "http://fonts.gstatic.com/s/alegreyasanssc/v3/AjAmkoP1y0Vaad0UPPR461Rf9EWUSEX_PR1d_gLKfpM.ttf",
374
+ "900italic": "http://fonts.gstatic.com/s/alegreyasanssc/v3/0VweK-TO3aQgazdxg8fs0IvtwEfTCJoOJugANj-jWDI.ttf"
375
+ }
376
+ },
377
+ {
378
+ "kind": "webfonts#webfont",
379
+ "family": "Alex Brush",
380
+ "category": "handwriting",
381
+ "variants": [
382
+ "regular"
383
+ ],
384
+ "subsets": [
385
+ "latin",
386
+ "latin-ext"
387
+ ],
388
+ "version": "v6",
389
+ "lastModified": "2016-04-25",
390
+ "files": {
391
+ "regular": "http://fonts.gstatic.com/s/alexbrush/v6/ooh3KJFbKJSUoIRWfiu8o_esZW2xOQ-xsNqO47m55DA.ttf"
392
+ }
393
+ },
394
+ {
395
+ "kind": "webfonts#webfont",
396
+ "family": "Alfa Slab One",
397
+ "category": "display",
398
+ "variants": [
399
+ "regular"
400
+ ],
401
+ "subsets": [
402
+ "latin"
403
+ ],
404
+ "version": "v5",
405
+ "lastModified": "2016-04-25",
406
+ "files": {
407
+ "regular": "http://fonts.gstatic.com/s/alfaslabone/v5/Qx6FPcitRwTC_k88tLPc-Yjjx0o0jr6fNXxPgYh_a8Q.ttf"
408
+ }
409
+ },
410
+ {
411
+ "kind": "webfonts#webfont",
412
+ "family": "Alice",
413
+ "category": "serif",
414
+ "variants": [
415
+ "regular"
416
+ ],
417
+ "subsets": [
418
+ "latin"
419
+ ],
420
+ "version": "v7",
421
+ "lastModified": "2016-04-25",
422
+ "files": {
423
+ "regular": "http://fonts.gstatic.com/s/alice/v7/wZTAfivekBqIg-rk63nFvQ.ttf"
424
+ }
425
+ },
426
+ {
427
+ "kind": "webfonts#webfont",
428
+ "family": "Alike",
429
+ "category": "serif",
430
+ "variants": [
431
+ "regular"
432
+ ],
433
+ "subsets": [
434
+ "latin"
435
+ ],
436
+ "version": "v8",
437
+ "lastModified": "2016-04-25",
438
+ "files": {
439
+ "regular": "http://fonts.gstatic.com/s/alike/v8/Ho8YpRKNk_202fwDiGNIyw.ttf"
440
+ }
441
+ },
442
+ {
443
+ "kind": "webfonts#webfont",
444
+ "family": "Alike Angular",
445
+ "category": "serif",
446
+ "variants": [
447
+ "regular"
448
+ ],
449
+ "subsets": [
450
+ "latin"
451
+ ],
452
+ "version": "v6",
453
+ "lastModified": "2016-04-25",
454
+ "files": {
455
+ "regular": "http://fonts.gstatic.com/s/alikeangular/v6/OpeCu4xxI3qO1C7CZcJtPT3XH2uEnVI__ynTBvNyki8.ttf"
456
+ }
457
+ },
458
+ {
459
+ "kind": "webfonts#webfont",
460
+ "family": "Allan",
461
+ "category": "display",
462
+ "variants": [
463
+ "regular",
464
+ "700"
465
+ ],
466
+ "subsets": [
467
+ "latin",
468
+ "latin-ext"
469
+ ],
470
+ "version": "v7",
471
+ "lastModified": "2016-04-25",
472
+ "files": {
473
+ "regular": "http://fonts.gstatic.com/s/allan/v7/T3lemhgZmLQkQI2Qc2bQHA.ttf",
474
+ "700": "http://fonts.gstatic.com/s/allan/v7/zSxQiwo7wgnr7KkMXhSiag.ttf"
475
+ }
476
+ },
477
+ {
478
+ "kind": "webfonts#webfont",
479
+ "family": "Allerta",
480
+ "category": "sans-serif",
481
+ "variants": [
482
+ "regular"
483
+ ],
484
+ "subsets": [
485
+ "latin"
486
+ ],
487
+ "version": "v7",
488
+ "lastModified": "2016-04-25",
489
+ "files": {
490
+ "regular": "http://fonts.gstatic.com/s/allerta/v7/s9FOEuiJFTNbMe06ifzV8g.ttf"
491
+ }
492
+ },
493
+ {
494
+ "kind": "webfonts#webfont",
495
+ "family": "Allerta Stencil",
496
+ "category": "sans-serif",
497
+ "variants": [
498
+ "regular"
499
+ ],
500
+ "subsets": [
501
+ "latin"
502
+ ],
503
+ "version": "v7",
504
+ "lastModified": "2016-04-25",
505
+ "files": {
506
+ "regular": "http://fonts.gstatic.com/s/allertastencil/v7/CdSZfRtHbQrBohqmzSdDYFf2eT4jUldwg_9fgfY_tHc.ttf"
507
+ }
508
+ },
509
+ {
510
+ "kind": "webfonts#webfont",
511
+ "family": "Allura",
512
+ "category": "handwriting",
513
+ "variants": [
514
+ "regular"
515
+ ],
516
+ "subsets": [
517
+ "latin",
518
+ "latin-ext"
519
+ ],
520
+ "version": "v4",
521
+ "lastModified": "2016-04-25",
522
+ "files": {
523
+ "regular": "http://fonts.gstatic.com/s/allura/v4/4hcqgZanyuJ2gMYWffIR6A.ttf"
524
+ }
525
+ },
526
+ {
527
+ "kind": "webfonts#webfont",
528
+ "family": "Almendra",
529
+ "category": "serif",
530
+ "variants": [
531
+ "regular",
532
+ "italic",
533
+ "700",
534
+ "700italic"
535
+ ],
536
+ "subsets": [
537
+ "latin",
538
+ "latin-ext"
539
+ ],
540
+ "version": "v8",
541
+ "lastModified": "2016-04-25",
542
+ "files": {
543
+ "regular": "http://fonts.gstatic.com/s/almendra/v8/PDpbB-ZF7deXAAEYPkQOeg.ttf",
544
+ "italic": "http://fonts.gstatic.com/s/almendra/v8/CNWLyiDucqVKVgr4EMidi_esZW2xOQ-xsNqO47m55DA.ttf",
545
+ "700": "http://fonts.gstatic.com/s/almendra/v8/ZpLdQMj7Q2AFio4nNO6A76CWcynf_cDxXwCLxiixG1c.ttf",
546
+ "700italic": "http://fonts.gstatic.com/s/almendra/v8/-tXHKMcnn6FqrhJV3l1e3QJKKGfqHaYFsRG-T3ceEVo.ttf"
547
+ }
548
+ },
549
+ {
550
+ "kind": "webfonts#webfont",
551
+ "family": "Almendra Display",
552
+ "category": "display",
553
+ "variants": [
554
+ "regular"
555
+ ],
556
+ "subsets": [
557
+ "latin",
558
+ "latin-ext"
559
+ ],
560
+ "version": "v6",
561
+ "lastModified": "2016-04-25",
562
+ "files": {
563
+ "regular": "http://fonts.gstatic.com/s/almendradisplay/v6/2Zuu97WJ_ez-87yz5Ai8fF6uyC_qD11hrFQ6EGgTJWI.ttf"
564
+ }
565
+ },
566
+ {
567
+ "kind": "webfonts#webfont",
568
+ "family": "Almendra SC",
569
+ "category": "serif",
570
+ "variants": [
571
+ "regular"
572
+ ],
573
+ "subsets": [
574
+ "latin"
575
+ ],
576
+ "version": "v6",
577
+ "lastModified": "2016-04-25",
578
+ "files": {
579
+ "regular": "http://fonts.gstatic.com/s/almendrasc/v6/IuiLd8Fm9I6raSalxMoWeaCWcynf_cDxXwCLxiixG1c.ttf"
580
+ }
581
+ },
582
+ {
583
+ "kind": "webfonts#webfont",
584
+ "family": "Amarante",
585
+ "category": "display",
586
+ "variants": [
587
+ "regular"
588
+ ],
589
+ "subsets": [
590
+ "latin",
591
+ "latin-ext"
592
+ ],
593
+ "version": "v4",
594
+ "lastModified": "2016-04-25",
595
+ "files": {
596
+ "regular": "http://fonts.gstatic.com/s/amarante/v4/2dQHjIBWSpydit5zkJZnOw.ttf"
597
+ }
598
+ },
599
+ {
600
+ "kind": "webfonts#webfont",
601
+ "family": "Amaranth",
602
+ "category": "sans-serif",
603
+ "variants": [
604
+ "regular",
605
+ "italic",
606
+ "700",
607
+ "700italic"
608
+ ],
609
+ "subsets": [
610
+ "latin"
611
+ ],
612
+ "version": "v6",
613
+ "lastModified": "2016-04-25",
614
+ "files": {
615
+ "regular": "http://fonts.gstatic.com/s/amaranth/v6/7VcBog22JBHsHXHdnnycTA.ttf",
616
+ "italic": "http://fonts.gstatic.com/s/amaranth/v6/UrJlRY9LcVERJSvggsdBqPesZW2xOQ-xsNqO47m55DA.ttf",
617
+ "700": "http://fonts.gstatic.com/s/amaranth/v6/j5OFHqadfxyLnQRxFeox6qCWcynf_cDxXwCLxiixG1c.ttf",
618
+ "700italic": "http://fonts.gstatic.com/s/amaranth/v6/BHyuYFj9nqLFNvOvGh0xTwJKKGfqHaYFsRG-T3ceEVo.ttf"
619
+ }
620
+ },
621
+ {
622
+ "kind": "webfonts#webfont",
623
+ "family": "Amatic SC",
624
+ "category": "handwriting",
625
+ "variants": [
626
+ "regular",
627
+ "700"
628
+ ],
629
+ "subsets": [
630
+ "latin",
631
+ "latin-ext"
632
+ ],
633
+ "version": "v8",
634
+ "lastModified": "2016-04-25",
635
+ "files": {
636
+ "regular": "http://fonts.gstatic.com/s/amaticsc/v8/MldbRWLFytvqxU1y81xSVg.ttf",
637
+ "700": "http://fonts.gstatic.com/s/amaticsc/v8/IDnkRTPGcrSVo50UyYNK7y3USBnSvpkopQaUR-2r7iU.ttf"
638
+ }
639
+ },
640
+ {
641
+ "kind": "webfonts#webfont",
642
+ "family": "Amethysta",
643
+ "category": "serif",
644
+ "variants": [
645
+ "regular"
646
+ ],
647
+ "subsets": [
648
+ "latin"
649
+ ],
650
+ "version": "v4",
651
+ "lastModified": "2016-04-25",
652
+ "files": {
653
+ "regular": "http://fonts.gstatic.com/s/amethysta/v4/1jEo9tOFIJDolAUpBnWbnA.ttf"
654
+ }
655
+ },
656
+ {
657
+ "kind": "webfonts#webfont",
658
+ "family": "Amiri",
659
+ "category": "serif",
660
+ "variants": [
661
+ "regular",
662
+ "italic",
663
+ "700",
664
+ "700italic"
665
+ ],
666
+ "subsets": [
667
+ "latin",
668
+ "arabic"
669
+ ],
670
+ "version": "v7",
671
+ "lastModified": "2016-04-25",
672
+ "files": {
673
+ "regular": "http://fonts.gstatic.com/s/amiri/v7/ATARrPmSew75SlpOw2YABQ.ttf",
674
+ "italic": "http://fonts.gstatic.com/s/amiri/v7/3t1yTQlLUXBw8htrqlXBrw.ttf",
675
+ "700": "http://fonts.gstatic.com/s/amiri/v7/WQsR_moz-FNqVwGYgptqiA.ttf",
676
+ "700italic": "http://fonts.gstatic.com/s/amiri/v7/uF8aNEyD0bxMeTBg9bFDSPesZW2xOQ-xsNqO47m55DA.ttf"
677
+ }
678
+ },
679
+ {
680
+ "kind": "webfonts#webfont",
681
+ "family": "Amita",
682
+ "category": "handwriting",
683
+ "variants": [
684
+ "regular",
685
+ "700"
686
+ ],
687
+ "subsets": [
688
+ "latin",
689
+ "devanagari",
690
+ "latin-ext"
691
+ ],
692
+ "version": "v1",
693
+ "lastModified": "2016-04-25",
694
+ "files": {
695
+ "regular": "http://fonts.gstatic.com/s/amita/v1/RhdhGBXSJqkHo6g7miTEcQ.ttf",
696
+ "700": "http://fonts.gstatic.com/s/amita/v1/cIYA2Lzp7l2pcGsqpUidBg.ttf"
697
+ }
698
+ },
699
+ {
700
+ "kind": "webfonts#webfont",
701
+ "family": "Anaheim",
702
+ "category": "sans-serif",
703
+ "variants": [
704
+ "regular"
705
+ ],
706
+ "subsets": [
707
+ "latin",
708
+ "latin-ext"
709
+ ],
710
+ "version": "v4",
711
+ "lastModified": "2016-04-25",
712
+ "files": {
713
+ "regular": "http://fonts.gstatic.com/s/anaheim/v4/t-z8aXHMpgI2gjN_rIflKA.ttf"
714
+ }
715
+ },
716
+ {
717
+ "kind": "webfonts#webfont",
718
+ "family": "Andada",
719
+ "category": "serif",
720
+ "variants": [
721
+ "regular"
722
+ ],
723
+ "subsets": [
724
+ "latin",
725
+ "latin-ext"
726
+ ],
727
+ "version": "v7",
728
+ "lastModified": "2016-04-25",
729
+ "files": {
730
+ "regular": "http://fonts.gstatic.com/s/andada/v7/rSFaDqNNQBRw3y19MB5Y4w.ttf"
731
+ }
732
+ },
733
+ {
734
+ "kind": "webfonts#webfont",
735
+ "family": "Andika",
736
+ "category": "sans-serif",
737
+ "variants": [
738
+ "regular"
739
+ ],
740
+ "subsets": [
741
+ "latin",
742
+ "latin-ext",
743
+ "cyrillic-ext",
744
+ "vietnamese",
745
+ "cyrillic"
746
+ ],
747
+ "version": "v7",
748
+ "lastModified": "2016-04-25",
749
+ "files": {
750
+ "regular": "http://fonts.gstatic.com/s/andika/v7/oe-ag1G0lcqZ3IXfeEgaGg.ttf"
751
+ }
752
+ },
753
+ {
754
+ "kind": "webfonts#webfont",
755
+ "family": "Angkor",
756
+ "category": "display",
757
+ "variants": [
758
+ "regular"
759
+ ],
760
+ "subsets": [
761
+ "khmer"
762
+ ],
763
+ "version": "v8",
764
+ "lastModified": "2016-04-25",
765
+ "files": {
766
+ "regular": "http://fonts.gstatic.com/s/angkor/v8/DLpLgIS-8F10ecwKqCm95Q.ttf"
767
+ }
768
+ },
769
+ {
770
+ "kind": "webfonts#webfont",
771
+ "family": "Annie Use Your Telescope",
772
+ "category": "handwriting",
773
+ "variants": [
774
+ "regular"
775
+ ],
776
+ "subsets": [
777
+ "latin"
778
+ ],
779
+ "version": "v6",
780
+ "lastModified": "2016-04-25",
781
+ "files": {
782
+ "regular": "http://fonts.gstatic.com/s/annieuseyourtelescope/v6/2cuiO5VmaR09C8SLGEQjGqbp7mtG8sPlcZvOaO8HBak.ttf"
783
+ }
784
+ },
785
+ {
786
+ "kind": "webfonts#webfont",
787
+ "family": "Anonymous Pro",
788
+ "category": "monospace",
789
+ "variants": [
790
+ "regular",
791
+ "italic",
792
+ "700",
793
+ "700italic"
794
+ ],
795
+ "subsets": [
796
+ "latin",
797
+ "greek",
798
+ "latin-ext",
799
+ "cyrillic"
800
+ ],
801
+ "version": "v8",
802
+ "lastModified": "2016-04-25",
803
+ "files": {
804
+ "regular": "http://fonts.gstatic.com/s/anonymouspro/v8/Zhfjj_gat3waL4JSju74E-V_5zh5b-_HiooIRUBwn1A.ttf",
805
+ "italic": "http://fonts.gstatic.com/s/anonymouspro/v8/q0u6LFHwttnT_69euiDbWKwIsuKDCXG0NQm7BvAgx-c.ttf",
806
+ "700": "http://fonts.gstatic.com/s/anonymouspro/v8/WDf5lZYgdmmKhO8E1AQud--Cz_5MeePnXDAcLNWyBME.ttf",
807
+ "700italic": "http://fonts.gstatic.com/s/anonymouspro/v8/_fVr_XGln-cetWSUc-JpfA1LL9bfs7wyIp6F8OC9RxA.ttf"
808
+ }
809
+ },
810
+ {
811
+ "kind": "webfonts#webfont",
812
+ "family": "Antic",
813
+ "category": "sans-serif",
814
+ "variants": [
815
+ "regular"
816
+ ],
817
+ "subsets": [
818
+ "latin"
819
+ ],
820
+ "version": "v7",
821
+ "lastModified": "2016-04-25",
822
+ "files": {
823
+ "regular": "http://fonts.gstatic.com/s/antic/v7/hEa8XCNM7tXGzD0Uk0AipA.ttf"
824
+ }
825
+ },
826
+ {
827
+ "kind": "webfonts#webfont",
828
+ "family": "Antic Didone",
829
+ "category": "serif",
830
+ "variants": [
831
+ "regular"
832
+ ],
833
+ "subsets": [
834
+ "latin"
835
+ ],
836
+ "version": "v4",
837
+ "lastModified": "2016-04-25",
838
+ "files": {
839
+ "regular": "http://fonts.gstatic.com/s/anticdidone/v4/r3nJcTDuOluOL6LGDV1vRy3USBnSvpkopQaUR-2r7iU.ttf"
840
+ }
841
+ },
842
+ {
843
+ "kind": "webfonts#webfont",
844
+ "family": "Antic Slab",
845
+ "category": "serif",
846
+ "variants": [
847
+ "regular"
848
+ ],
849
+ "subsets": [
850
+ "latin"
851
+ ],
852
+ "version": "v4",
853
+ "lastModified": "2016-04-25",
854
+ "files": {
855
+ "regular": "http://fonts.gstatic.com/s/anticslab/v4/PSbJCTKkAS7skPdkd7AKEvesZW2xOQ-xsNqO47m55DA.ttf"
856
+ }
857
+ },
858
+ {
859
+ "kind": "webfonts#webfont",
860
+ "family": "Anton",
861
+ "category": "sans-serif",
862
+ "variants": [
863
+ "regular"
864
+ ],
865
+ "subsets": [
866
+ "latin",
867
+ "latin-ext"
868
+ ],
869
+ "version": "v7",
870
+ "lastModified": "2016-04-25",
871
+ "files": {
872
+ "regular": "http://fonts.gstatic.com/s/anton/v7/XIbCenm-W0IRHWYIh7CGUQ.ttf"
873
+ }
874
+ },
875
+ {
876
+ "kind": "webfonts#webfont",
877
+ "family": "Arapey",
878
+ "category": "serif",
879
+ "variants": [
880
+ "regular",
881
+ "italic"
882
+ ],
883
+ "subsets": [
884
+ "latin"
885
+ ],
886
+ "version": "v5",
887
+ "lastModified": "2016-04-25",
888
+ "files": {
889
+ "regular": "http://fonts.gstatic.com/s/arapey/v5/dqu823lrSYn8T2gApTdslA.ttf",
890
+ "italic": "http://fonts.gstatic.com/s/arapey/v5/pY-Xi5JNBpaWxy2tZhEm5A.ttf"
891
+ }
892
+ },
893
+ {
894
+ "kind": "webfonts#webfont",
895
+ "family": "Arbutus",
896
+ "category": "display",
897
+ "variants": [
898
+ "regular"
899
+ ],
900
+ "subsets": [
901
+ "latin",
902
+ "latin-ext"
903
+ ],
904
+ "version": "v5",
905
+ "lastModified": "2016-04-25",
906
+ "files": {
907
+ "regular": "http://fonts.gstatic.com/s/arbutus/v5/Go_hurxoUsn5MnqNVQgodQ.ttf"
908
+ }
909
+ },
910
+ {
911
+ "kind": "webfonts#webfont",
912
+ "family": "Arbutus Slab",
913
+ "category": "serif",
914
+ "variants": [
915
+ "regular"
916
+ ],
917
+ "subsets": [
918
+ "latin",
919
+ "latin-ext"
920
+ ],
921
+ "version": "v4",
922
+ "lastModified": "2016-04-25",
923
+ "files": {
924
+ "regular": "http://fonts.gstatic.com/s/arbutusslab/v4/6k3Yp6iS9l4jRIpynA8qMy3USBnSvpkopQaUR-2r7iU.ttf"
925
+ }
926
+ },
927
+ {
928
+ "kind": "webfonts#webfont",
929
+ "family": "Architects Daughter",
930
+ "category": "handwriting",
931
+ "variants": [
932
+ "regular"
933
+ ],
934
+ "subsets": [
935
+ "latin"
936
+ ],
937
+ "version": "v6",
938
+ "lastModified": "2016-04-25",
939
+ "files": {
940
+ "regular": "http://fonts.gstatic.com/s/architectsdaughter/v6/RXTgOOQ9AAtaVOHxx0IUBMCy0EhZjHzu-y0e6uLf4Fg.ttf"
941
+ }
942
+ },
943
+ {
944
+ "kind": "webfonts#webfont",
945
+ "family": "Archivo Black",
946
+ "category": "sans-serif",
947
+ "variants": [
948
+ "regular"
949
+ ],
950
+ "subsets": [
951
+ "latin",
952
+ "latin-ext"
953
+ ],
954
+ "version": "v4",
955
+ "lastModified": "2016-04-25",
956
+ "files": {
957
+ "regular": "http://fonts.gstatic.com/s/archivoblack/v4/WoAoVT7K3k7hHfxKbvB6B51XQG8isOYYJhPIYAyrESQ.ttf"
958
+ }
959
+ },
960
+ {
961
+ "kind": "webfonts#webfont",
962
+ "family": "Archivo Narrow",
963
+ "category": "sans-serif",
964
+ "variants": [
965
+ "regular",
966
+ "italic",
967
+ "700",
968
+ "700italic"
969
+ ],
970
+ "subsets": [
971
+ "latin",
972
+ "latin-ext"
973
+ ],
974
+ "version": "v5",
975
+ "lastModified": "2016-04-25",
976
+ "files": {
977
+ "regular": "http://fonts.gstatic.com/s/archivonarrow/v5/DsLzC9scoPnrGiwYYMQXppTvAuddT2xDMbdz0mdLyZY.ttf",
978
+ "italic": "http://fonts.gstatic.com/s/archivonarrow/v5/vqsrtPCpTU3tJlKfuXP5zUpmlyBQEFfdE6dERLXdQGQ.ttf",
979
+ "700": "http://fonts.gstatic.com/s/archivonarrow/v5/M__Wu4PAmHf4YZvQM8tWsMLtdzs3iyjn_YuT226ZsLU.ttf",
980
+ "700italic": "http://fonts.gstatic.com/s/archivonarrow/v5/wG6O733y5zHl4EKCOh8rSTg5KB8MNJ4uPAETq9naQO8.ttf"
981
+ }
982
+ },
983
+ {
984
+ "kind": "webfonts#webfont",
985
+ "family": "Arimo",
986
+ "category": "sans-serif",
987
+ "variants": [
988
+ "regular",
989
+ "italic",
990
+ "700",
991
+ "700italic"
992
+ ],
993
+ "subsets": [
994
+ "latin",
995
+ "greek",
996
+ "hebrew",
997
+ "latin-ext",
998
+ "cyrillic-ext",
999
+ "greek-ext",
1000
+ "vietnamese",
1001
+ "cyrillic"
1002
+ ],
1003
+ "version": "v9",
1004
+ "lastModified": "2016-04-25",
1005
+ "files": {
1006
+ "regular": "http://fonts.gstatic.com/s/arimo/v9/Gpeo80g-5ji2CcyXWnzh7g.ttf",
1007
+ "italic": "http://fonts.gstatic.com/s/arimo/v9/_OdGbnX2-qQ96C4OjhyuPw.ttf",
1008
+ "700": "http://fonts.gstatic.com/s/arimo/v9/ZItXugREyvV9LnbY_gxAmw.ttf",
1009
+ "700italic": "http://fonts.gstatic.com/s/arimo/v9/__nOLWqmeXdhfr0g7GaFePesZW2xOQ-xsNqO47m55DA.ttf"
1010
+ }
1011
+ },
1012
+ {
1013
+ "kind": "webfonts#webfont",
1014
+ "family": "Arizonia",
1015
+ "category": "handwriting",
1016
+ "variants": [
1017
+ "regular"
1018
+ ],
1019
+ "subsets": [
1020
+ "latin",
1021
+ "latin-ext"
1022
+ ],
1023
+ "version": "v6",
1024
+ "lastModified": "2016-04-25",
1025
+ "files": {
1026
+ "regular": "http://fonts.gstatic.com/s/arizonia/v6/yzJqkHZqryZBTM7RKYV9Wg.ttf"
1027
+ }
1028
+ },
1029
+ {
1030
+ "kind": "webfonts#webfont",
1031
+ "family": "Armata",
1032
+ "category": "sans-serif",
1033
+ "variants": [
1034
+ "regular"
1035
+ ],
1036
+ "subsets": [
1037
+ "latin",
1038
+ "latin-ext"
1039
+ ],
1040
+ "version": "v6",
1041
+ "lastModified": "2016-04-25",
1042
+ "files": {
1043
+ "regular": "http://fonts.gstatic.com/s/armata/v6/1H8FwGgIRrbYtxSfXhOHlQ.ttf"
1044
+ }
1045
+ },
1046
+ {
1047
+ "kind": "webfonts#webfont",
1048
+ "family": "Artifika",
1049
+ "category": "serif",
1050
+ "variants": [
1051
+ "regular"
1052
+ ],
1053
+ "subsets": [
1054
+ "latin"
1055
+ ],
1056
+ "version": "v6",
1057
+ "lastModified": "2016-04-25",
1058
+ "files": {
1059
+ "regular": "http://fonts.gstatic.com/s/artifika/v6/Ekfp4H4QG7D-WsABDOyj8g.ttf"
1060
+ }
1061
+ },
1062
+ {
1063
+ "kind": "webfonts#webfont",
1064
+ "family": "Arvo",
1065
+ "category": "serif",
1066
+ "variants": [
1067
+ "regular",
1068
+ "italic",
1069
+ "700",
1070
+ "700italic"
1071
+ ],
1072
+ "subsets": [
1073
+ "latin"
1074
+ ],
1075
+ "version": "v9",
1076
+ "lastModified": "2016-04-25",
1077
+ "files": {
1078
+ "regular": "http://fonts.gstatic.com/s/arvo/v9/vvWPwz-PlZEwjOOIKqoZzA.ttf",
1079
+ "italic": "http://fonts.gstatic.com/s/arvo/v9/id5a4BCjbenl5Gkqonw_Rw.ttf",
1080
+ "700": "http://fonts.gstatic.com/s/arvo/v9/OB3FDST7U38u3OjPK_vvRQ.ttf",
1081
+ "700italic": "http://fonts.gstatic.com/s/arvo/v9/Hvl2MuWoXLaCy2v6MD4Yvw.ttf"
1082
+ }
1083
+ },
1084
+ {
1085
+ "kind": "webfonts#webfont",
1086
+ "family": "Arya",
1087
+ "category": "sans-serif",
1088
+ "variants": [
1089
+ "regular",
1090
+ "700"
1091
+ ],
1092
+ "subsets": [
1093
+ "latin",
1094
+ "devanagari",
1095
+ "latin-ext"
1096
+ ],
1097
+ "version": "v1",
1098
+ "lastModified": "2016-04-25",
1099
+ "files": {
1100
+ "regular": "http://fonts.gstatic.com/s/arya/v1/xEVqtU3v8QLospHKpDaYEw.ttf",
1101
+ "700": "http://fonts.gstatic.com/s/arya/v1/N13tgOvG7VTXawiI-fJiQA.ttf"
1102
+ }
1103
+ },
1104
+ {
1105
+ "kind": "webfonts#webfont",
1106
+ "family": "Asap",
1107
+ "category": "sans-serif",
1108
+ "variants": [
1109
+ "regular",
1110
+ "italic",
1111
+ "700",
1112
+ "700italic"
1113
+ ],
1114
+ "subsets": [
1115
+ "latin",
1116
+ "latin-ext"
1117
+ ],
1118
+ "version": "v4",
1119
+ "lastModified": "2016-04-25",
1120
+ "files": {
1121
+ "regular": "http://fonts.gstatic.com/s/asap/v4/2lf-1MDR8tsTpEtvJmr2hA.ttf",
1122
+ "italic": "http://fonts.gstatic.com/s/asap/v4/mwxNHf8QS8gNWCAMwkJNIg.ttf",
1123
+ "700": "http://fonts.gstatic.com/s/asap/v4/o5RUA7SsJ80M8oDFBnrDbg.ttf",
1124
+ "700italic": "http://fonts.gstatic.com/s/asap/v4/_rZz9y2oXc09jT5T6BexLQ.ttf"
1125
+ }
1126
+ },
1127
+ {
1128
+ "kind": "webfonts#webfont",
1129
+ "family": "Asar",
1130
+ "category": "serif",
1131
+ "variants": [
1132
+ "regular"
1133
+ ],
1134
+ "subsets": [
1135
+ "latin",
1136
+ "devanagari",
1137
+ "latin-ext"
1138
+ ],
1139
+ "version": "v1",
1140
+ "lastModified": "2016-04-25",
1141
+ "files": {
1142
+ "regular": "http://fonts.gstatic.com/s/asar/v1/mSmn3H5CcMA84CZ586X7WQ.ttf"
1143
+ }
1144
+ },
1145
+ {
1146
+ "kind": "webfonts#webfont",
1147
+ "family": "Asset",
1148
+ "category": "display",
1149
+ "variants": [
1150
+ "regular"
1151
+ ],
1152
+ "subsets": [
1153
+ "latin"
1154
+ ],
1155
+ "version": "v6",
1156
+ "lastModified": "2016-04-25",
1157
+ "files": {
1158
+ "regular": "http://fonts.gstatic.com/s/asset/v6/hfPmqY-JzuR1lULlQf9iTg.ttf"
1159
+ }
1160
+ },
1161
+ {
1162
+ "kind": "webfonts#webfont",
1163
+ "family": "Astloch",
1164
+ "category": "display",
1165
+ "variants": [
1166
+ "regular",
1167
+ "700"
1168
+ ],
1169
+ "subsets": [
1170
+ "latin"
1171
+ ],
1172
+ "version": "v6",
1173
+ "lastModified": "2016-04-25",
1174
+ "files": {
1175
+ "regular": "http://fonts.gstatic.com/s/astloch/v6/fmbitVmHYLQP7MGPuFgpag.ttf",
1176
+ "700": "http://fonts.gstatic.com/s/astloch/v6/aPkhM2tL-tz1jX6aX2rvo_esZW2xOQ-xsNqO47m55DA.ttf"
1177
+ }
1178
+ },
1179
+ {
1180
+ "kind": "webfonts#webfont",
1181
+ "family": "Asul",
1182
+ "category": "sans-serif",
1183
+ "variants": [
1184
+ "regular",
1185
+ "700"
1186
+ ],
1187
+ "subsets": [
1188
+ "latin"
1189
+ ],
1190
+ "version": "v5",
1191
+ "lastModified": "2016-04-25",
1192
+ "files": {
1193
+ "regular": "http://fonts.gstatic.com/s/asul/v5/9qpsNR_OOwyOYyo2N0IbBw.ttf",
1194
+ "700": "http://fonts.gstatic.com/s/asul/v5/uO8uNmxaq87-DdPmkEg5Gg.ttf"
1195
+ }
1196
+ },
1197
+ {
1198
+ "kind": "webfonts#webfont",
1199
+ "family": "Atomic Age",
1200
+ "category": "display",
1201
+ "variants": [
1202
+ "regular"
1203
+ ],
1204
+ "subsets": [
1205
+ "latin"
1206
+ ],
1207
+ "version": "v7",
1208
+ "lastModified": "2016-04-25",
1209
+ "files": {
1210
+ "regular": "http://fonts.gstatic.com/s/atomicage/v7/WvBMe4FxANIKpo6Oi0mVJ_esZW2xOQ-xsNqO47m55DA.ttf"
1211
+ }
1212
+ },
1213
+ {
1214
+ "kind": "webfonts#webfont",
1215
+ "family": "Aubrey",
1216
+ "category": "display",
1217
+ "variants": [
1218
+ "regular"
1219
+ ],
1220
+ "subsets": [
1221
+ "latin"
1222
+ ],
1223
+ "version": "v8",
1224
+ "lastModified": "2016-04-25",
1225
+ "files": {
1226
+ "regular": "http://fonts.gstatic.com/s/aubrey/v8/zo9w8klO8bmOQIMajQ2aTA.ttf"
1227
+ }
1228
+ },
1229
+ {
1230
+ "kind": "webfonts#webfont",
1231
+ "family": "Audiowide",
1232
+ "category": "display",
1233
+ "variants": [
1234
+ "regular"
1235
+ ],
1236
+ "subsets": [
1237
+ "latin",
1238
+ "latin-ext"
1239
+ ],
1240
+ "version": "v4",
1241
+ "lastModified": "2016-04-25",
1242
+ "files": {
1243
+ "regular": "http://fonts.gstatic.com/s/audiowide/v4/yGcwRZB6VmoYhPUYT-mEow.ttf"
1244
+ }
1245
+ },
1246
+ {
1247
+ "kind": "webfonts#webfont",
1248
+ "family": "Autour One",
1249
+ "category": "display",
1250
+ "variants": [
1251
+ "regular"
1252
+ ],
1253
+ "subsets": [
1254
+ "latin",
1255
+ "latin-ext"
1256
+ ],
1257
+ "version": "v4",
1258
+ "lastModified": "2016-04-25",
1259
+ "files": {
1260
+ "regular": "http://fonts.gstatic.com/s/autourone/v4/2xmQBcg7FN72jaQRFZPIDvesZW2xOQ-xsNqO47m55DA.ttf"
1261
+ }
1262
+ },
1263
+ {
1264
+ "kind": "webfonts#webfont",
1265
+ "family": "Average",
1266
+ "category": "serif",
1267
+ "variants": [
1268
+ "regular"
1269
+ ],
1270
+ "subsets": [
1271
+ "latin",
1272
+ "latin-ext"
1273
+ ],
1274
+ "version": "v4",
1275
+ "lastModified": "2016-04-25",
1276
+ "files": {
1277
+ "regular": "http://fonts.gstatic.com/s/average/v4/aHUibBqdDbVYl5FM48pxyQ.ttf"
1278
+ }
1279
+ },
1280
+ {
1281
+ "kind": "webfonts#webfont",
1282
+ "family": "Average Sans",
1283
+ "category": "sans-serif",
1284
+ "variants": [
1285
+ "regular"
1286
+ ],
1287
+ "subsets": [
1288
+ "latin",
1289
+ "latin-ext"
1290
+ ],
1291
+ "version": "v4",
1292
+ "lastModified": "2016-04-25",
1293
+ "files": {
1294
+ "regular": "http://fonts.gstatic.com/s/averagesans/v4/dnU3R-5A_43y5bIyLztPsS3USBnSvpkopQaUR-2r7iU.ttf"
1295
+ }
1296
+ },
1297
+ {
1298
+ "kind": "webfonts#webfont",
1299
+ "family": "Averia Gruesa Libre",
1300
+ "category": "display",
1301
+ "variants": [
1302
+ "regular"
1303
+ ],
1304
+ "subsets": [
1305
+ "latin",
1306
+ "latin-ext"
1307
+ ],
1308
+ "version": "v4",
1309
+ "lastModified": "2016-04-25",
1310
+ "files": {
1311
+ "regular": "http://fonts.gstatic.com/s/averiagruesalibre/v4/10vbZTOoN6T8D-nvDzwRFyXcKHuZXlCN8VkWHpkUzKM.ttf"
1312
+ }
1313
+ },
1314
+ {
1315
+ "kind": "webfonts#webfont",
1316
+ "family": "Averia Libre",
1317
+ "category": "display",
1318
+ "variants": [
1319
+ "300",
1320
+ "300italic",
1321
+ "regular",
1322
+ "italic",
1323
+ "700",
1324
+ "700italic"
1325
+ ],
1326
+ "subsets": [
1327
+ "latin"
1328
+ ],
1329
+ "version": "v4",
1330
+ "lastModified": "2016-04-25",
1331
+ "files": {
1332
+ "300": "http://fonts.gstatic.com/s/averialibre/v4/r6hGL8sSLm4dTzOPXgx5XacQoVhARpoaILP7amxE_8g.ttf",
1333
+ "300italic": "http://fonts.gstatic.com/s/averialibre/v4/I6wAYuAvOgT7el2ePj2nkina0FLWfcB-J_SAYmcAXaI.ttf",
1334
+ "regular": "http://fonts.gstatic.com/s/averialibre/v4/rYVgHZZQICWnhjguGsBspC3USBnSvpkopQaUR-2r7iU.ttf",
1335
+ "italic": "http://fonts.gstatic.com/s/averialibre/v4/1etzuoNxVHR8F533EkD1WfMZXuCXbOrAvx5R0IT5Oyo.ttf",
1336
+ "700": "http://fonts.gstatic.com/s/averialibre/v4/r6hGL8sSLm4dTzOPXgx5XUD2ttfZwueP-QU272T9-k4.ttf",
1337
+ "700italic": "http://fonts.gstatic.com/s/averialibre/v4/I6wAYuAvOgT7el2ePj2nkvAs9-1nE9qOqhChW0m4nDE.ttf"
1338
+ }
1339
+ },
1340
+ {
1341
+ "kind": "webfonts#webfont",
1342
+ "family": "Averia Sans Libre",
1343
+ "category": "display",
1344
+ "variants": [
1345
+ "300",
1346
+ "300italic",
1347
+ "regular",
1348
+ "italic",
1349
+ "700",
1350
+ "700italic"
1351
+ ],
1352
+ "subsets": [
1353
+ "latin"
1354
+ ],
1355
+ "version": "v4",
1356
+ "lastModified": "2016-04-25",
1357
+ "files": {
1358
+ "300": "http://fonts.gstatic.com/s/averiasanslibre/v4/_9-jTfQjaBsWAF_yp5z-V4CP_KG_g80s1KXiBtJHoNc.ttf",
1359
+ "300italic": "http://fonts.gstatic.com/s/averiasanslibre/v4/o7BEIK-fG3Ykc5Rzteh88YuyGu4JqttndUh4gRKxic0.ttf",
1360
+ "regular": "http://fonts.gstatic.com/s/averiasanslibre/v4/yRJpjT39KxACO9F31mj_LqV8_KRn4epKAjTFK1s1fsg.ttf",
1361
+ "italic": "http://fonts.gstatic.com/s/averiasanslibre/v4/COEzR_NPBSUOl3pFwPbPoCZU2HnUZT1xVKaIrHDioao.ttf",
1362
+ "700": "http://fonts.gstatic.com/s/averiasanslibre/v4/_9-jTfQjaBsWAF_yp5z-V8QwVOrz1y5GihpZmtKLhlI.ttf",
1363
+ "700italic": "http://fonts.gstatic.com/s/averiasanslibre/v4/o7BEIK-fG3Ykc5Rzteh88bXy1DXgmJcVtKjM5UWamMs.ttf"
1364
+ }
1365
+ },
1366
+ {
1367
+ "kind": "webfonts#webfont",
1368
+ "family": "Averia Serif Libre",
1369
+ "category": "display",
1370
+ "variants": [
1371
+ "300",
1372
+ "300italic",
1373
+ "regular",
1374
+ "italic",
1375
+ "700",
1376
+ "700italic"
1377
+ ],
1378
+ "subsets": [
1379
+ "latin"
1380
+ ],
1381
+ "version": "v5",
1382
+ "lastModified": "2016-04-25",
1383
+ "files": {
1384
+ "300": "http://fonts.gstatic.com/s/averiaseriflibre/v5/yvITAdr5D1nlsdFswJAb8SmC4gFJ2PHmfdVKEd_5S9M.ttf",
1385
+ "300italic": "http://fonts.gstatic.com/s/averiaseriflibre/v5/YOLFXyye4sZt6AZk1QybCG2okl0bU63CauowU4iApig.ttf",
1386
+ "regular": "http://fonts.gstatic.com/s/averiaseriflibre/v5/fdtF30xa_Erw0zAzOoG4BZqY66i8AUyI16fGqw0iAew.ttf",
1387
+ "italic": "http://fonts.gstatic.com/s/averiaseriflibre/v5/o9qhvK9iT5iDWfyhQUe-6Ru_b0bTq5iipbJ9hhgHJ6U.ttf",
1388
+ "700": "http://fonts.gstatic.com/s/averiaseriflibre/v5/yvITAdr5D1nlsdFswJAb8Q50KV5TaOVolur4zV2iZsg.ttf",
1389
+ "700italic": "http://fonts.gstatic.com/s/averiaseriflibre/v5/YOLFXyye4sZt6AZk1QybCNxohRXP4tNDqG3X4Hqn21k.ttf"
1390
+ }
1391
+ },
1392
+ {
1393
+ "kind": "webfonts#webfont",
1394
+ "family": "Bad Script",
1395
+ "category": "handwriting",
1396
+ "variants": [
1397
+ "regular"
1398
+ ],
1399
+ "subsets": [
1400
+ "latin",
1401
+ "cyrillic"
1402
+ ],
1403
+ "version": "v5",
1404
+ "lastModified": "2016-04-25",
1405
+ "files": {
1406
+ "regular": "http://fonts.gstatic.com/s/badscript/v5/cRyUs0nJ2eMQFHwBsZNRXfesZW2xOQ-xsNqO47m55DA.ttf"
1407
+ }
1408
+ },
1409
+ {
1410
+ "kind": "webfonts#webfont",
1411
+ "family": "Balthazar",
1412
+ "category": "serif",
1413
+ "variants": [
1414
+ "regular"
1415
+ ],
1416
+ "subsets": [
1417
+ "latin"
1418
+ ],
1419
+ "version": "v5",
1420
+ "lastModified": "2016-04-25",
1421
+ "files": {
1422
+ "regular": "http://fonts.gstatic.com/s/balthazar/v5/WgbaSIs6dJAGXJ0qbz2xlw.ttf"
1423
+ }
1424
+ },
1425
+ {
1426
+ "kind": "webfonts#webfont",
1427
+ "family": "Bangers",
1428
+ "category": "display",
1429
+ "variants": [
1430
+ "regular"
1431
+ ],
1432
+ "subsets": [
1433
+ "latin"
1434
+ ],
1435
+ "version": "v8",
1436
+ "lastModified": "2016-04-25",
1437
+ "files": {
1438
+ "regular": "http://fonts.gstatic.com/s/bangers/v8/WAffdge5w99Xif-DLeqmcA.ttf"
1439
+ }
1440
+ },
1441
+ {
1442
+ "kind": "webfonts#webfont",
1443
+ "family": "Basic",
1444
+ "category": "sans-serif",
1445
+ "variants": [
1446
+ "regular"
1447
+ ],
1448
+ "subsets": [
1449
+ "latin",
1450
+ "latin-ext"
1451
+ ],
1452
+ "version": "v6",
1453
+ "lastModified": "2016-04-25",
1454
+ "files": {
1455
+ "regular": "http://fonts.gstatic.com/s/basic/v6/hNII2mS5Dxw5C0u_m3mXgA.ttf"
1456
+ }
1457
+ },
1458
+ {
1459
+ "kind": "webfonts#webfont",
1460
+ "family": "Battambang",
1461
+ "category": "display",
1462
+ "variants": [
1463
+ "regular",
1464
+ "700"
1465
+ ],
1466
+ "subsets": [
1467
+ "khmer"
1468
+ ],
1469
+ "version": "v9",
1470
+ "lastModified": "2016-04-25",
1471
+ "files": {
1472
+ "regular": "http://fonts.gstatic.com/s/battambang/v9/MzrUfQLefYum5vVGM3EZVPesZW2xOQ-xsNqO47m55DA.ttf",
1473
+ "700": "http://fonts.gstatic.com/s/battambang/v9/dezbRtMzfzAA99DmrCYRMgJKKGfqHaYFsRG-T3ceEVo.ttf"
1474
+ }
1475
+ },
1476
+ {
1477
+ "kind": "webfonts#webfont",
1478
+ "family": "Baumans",
1479
+ "category": "display",
1480
+ "variants": [
1481
+ "regular"
1482
+ ],
1483
+ "subsets": [
1484
+ "latin"
1485
+ ],
1486
+ "version": "v5",
1487
+ "lastModified": "2016-04-25",
1488
+ "files": {
1489
+ "regular": "http://fonts.gstatic.com/s/baumans/v5/o0bFdPW1H5kd5saqqOcoVg.ttf"
1490
+ }
1491
+ },
1492
+ {
1493
+ "kind": "webfonts#webfont",
1494
+ "family": "Bayon",
1495
+ "category": "display",
1496
+ "variants": [
1497
+ "regular"
1498
+ ],
1499
+ "subsets": [
1500
+ "khmer"
1501
+ ],
1502
+ "version": "v8",
1503
+ "lastModified": "2016-04-25",
1504
+ "files": {
1505
+ "regular": "http://fonts.gstatic.com/s/bayon/v8/yTubusjTnpNRZwA4_50iVw.ttf"
1506
+ }
1507
+ },
1508
+ {
1509
+ "kind": "webfonts#webfont",
1510
+ "family": "Belgrano",
1511
+ "category": "serif",
1512
+ "variants": [
1513
+ "regular"
1514
+ ],
1515
+ "subsets": [
1516
+ "latin"
1517
+ ],
1518
+ "version": "v6",
1519
+ "lastModified": "2016-04-25",
1520
+ "files": {
1521
+ "regular": "http://fonts.gstatic.com/s/belgrano/v6/iq8DUa2s7g6WRCeMiFrmtQ.ttf"
1522
+ }
1523
+ },
1524
+ {
1525
+ "kind": "webfonts#webfont",
1526
+ "family": "Belleza",
1527
+ "category": "sans-serif",
1528
+ "variants": [
1529
+ "regular"
1530
+ ],
1531
+ "subsets": [
1532
+ "latin",
1533
+ "latin-ext"
1534
+ ],
1535
+ "version": "v4",
1536
+ "lastModified": "2016-04-25",
1537
+ "files": {
1538
+ "regular": "http://fonts.gstatic.com/s/belleza/v4/wchA3BWJlVqvIcSeNZyXew.ttf"
1539
+ }
1540
+ },
1541
+ {
1542
+ "kind": "webfonts#webfont",
1543
+ "family": "BenchNine",
1544
+ "category": "sans-serif",
1545
+ "variants": [
1546
+ "300",
1547
+ "regular",
1548
+ "700"
1549
+ ],
1550
+ "subsets": [
1551
+ "latin",
1552
+ "latin-ext"
1553
+ ],
1554
+ "version": "v4",
1555
+ "lastModified": "2016-04-25",
1556
+ "files": {
1557
+ "300": "http://fonts.gstatic.com/s/benchnine/v4/ah9xtUy9wLQ3qnWa2p-piS3USBnSvpkopQaUR-2r7iU.ttf",
1558
+ "regular": "http://fonts.gstatic.com/s/benchnine/v4/h3OAlYqU3aOeNkuXgH2Q2w.ttf",
1559
+ "700": "http://fonts.gstatic.com/s/benchnine/v4/qZpi6ZVZg3L2RL_xoBLxWS3USBnSvpkopQaUR-2r7iU.ttf"
1560
+ }
1561
+ },
1562
+ {
1563
+ "kind": "webfonts#webfont",
1564
+ "family": "Bentham",
1565
+ "category": "serif",
1566
+ "variants": [
1567
+ "regular"
1568
+ ],
1569
+ "subsets": [
1570
+ "latin"
1571
+ ],
1572
+ "version": "v6",
1573
+ "lastModified": "2016-04-25",
1574
+ "files": {
1575
+ "regular": "http://fonts.gstatic.com/s/bentham/v6/5-Mo8Fe7yg5tzV0GlQIuzQ.ttf"
1576
+ }
1577
+ },
1578
+ {
1579
+ "kind": "webfonts#webfont",
1580
+ "family": "Berkshire Swash",
1581
+ "category": "handwriting",
1582
+ "variants": [
1583
+ "regular"
1584
+ ],
1585
+ "subsets": [
1586
+ "latin",
1587
+ "latin-ext"
1588
+ ],
1589
+ "version": "v4",
1590
+ "lastModified": "2016-04-25",
1591
+ "files": {
1592
+ "regular": "http://fonts.gstatic.com/s/berkshireswash/v4/4RZJjVRPjYnC2939hKCAimKfbtsIjCZP_edQljX9gR0.ttf"
1593
+ }
1594
+ },
1595
+ {
1596
+ "kind": "webfonts#webfont",
1597
+ "family": "Bevan",
1598
+ "category": "display",
1599
+ "variants": [
1600
+ "regular"
1601
+ ],
1602
+ "subsets": [
1603
+ "latin"
1604
+ ],
1605
+ "version": "v7",
1606
+ "lastModified": "2016-04-25",
1607
+ "files": {
1608
+ "regular": "http://fonts.gstatic.com/s/bevan/v7/Rtg3zDsCeQiaJ_Qno22OJA.ttf"
1609
+ }
1610
+ },
1611
+ {
1612
+ "kind": "webfonts#webfont",
1613
+ "family": "Bigelow Rules",
1614
+ "category": "display",
1615
+ "variants": [
1616
+ "regular"
1617
+ ],
1618
+ "subsets": [
1619
+ "latin",
1620
+ "latin-ext"
1621
+ ],
1622
+ "version": "v4",
1623
+ "lastModified": "2016-04-25",
1624
+ "files": {
1625
+ "regular": "http://fonts.gstatic.com/s/bigelowrules/v4/FEJCPLwo07FS-6SK6Al50X8f0n03UdmQgF_CLvNR2vg.ttf"
1626
+ }
1627
+ },
1628
+ {
1629
+ "kind": "webfonts#webfont",
1630
+ "family": "Bigshot One",
1631
+ "category": "display",
1632
+ "variants": [
1633
+ "regular"
1634
+ ],
1635
+ "subsets": [
1636
+ "latin"
1637
+ ],
1638
+ "version": "v6",
1639
+ "lastModified": "2016-04-25",
1640
+ "files": {
1641
+ "regular": "http://fonts.gstatic.com/s/bigshotone/v6/wSyZjBNTWDQHnvWE2jt6j6CWcynf_cDxXwCLxiixG1c.ttf"
1642
+ }
1643
+ },
1644
+ {
1645
+ "kind": "webfonts#webfont",
1646
+ "family": "Bilbo",
1647
+ "category": "handwriting",
1648
+ "variants": [
1649
+ "regular"
1650
+ ],
1651
+ "subsets": [
1652
+ "latin",
1653
+ "latin-ext"
1654
+ ],
1655
+ "version": "v6",
1656
+ "lastModified": "2016-04-25",
1657
+ "files": {
1658
+ "regular": "http://fonts.gstatic.com/s/bilbo/v6/-ty-lPs5H7OIucWbnpFrkA.ttf"
1659
+ }
1660
+ },
1661
+ {
1662
+ "kind": "webfonts#webfont",
1663
+ "family": "Bilbo Swash Caps",
1664
+ "category": "handwriting",
1665
+ "variants": [
1666
+ "regular"
1667
+ ],
1668
+ "subsets": [
1669
+ "latin",
1670
+ "latin-ext"
1671
+ ],
1672
+ "version": "v7",
1673
+ "lastModified": "2016-04-25",
1674
+ "files": {
1675
+ "regular": "http://fonts.gstatic.com/s/bilboswashcaps/v7/UB_-crLvhx-PwGKW1oosDmYeFSdnSpRYv5h9gpdlD1g.ttf"
1676
+ }
1677
+ },
1678
+ {
1679
+ "kind": "webfonts#webfont",
1680
+ "family": "Biryani",
1681
+ "category": "sans-serif",
1682
+ "variants": [
1683
+ "200",
1684
+ "300",
1685
+ "regular",
1686
+ "600",
1687
+ "700",
1688
+ "800",
1689
+ "900"
1690
+ ],
1691
+ "subsets": [
1692
+ "latin",
1693
+ "devanagari",
1694
+ "latin-ext"
1695
+ ],
1696
+ "version": "v1",
1697
+ "lastModified": "2016-04-25",
1698
+ "files": {
1699
+ "200": "http://fonts.gstatic.com/s/biryani/v1/Xx38YzyTFF8n6mRS1Yd88vesZW2xOQ-xsNqO47m55DA.ttf",
1700
+ "300": "http://fonts.gstatic.com/s/biryani/v1/u-bneRbizmFMd0VQp5Ze6vesZW2xOQ-xsNqO47m55DA.ttf",
1701
+ "regular": "http://fonts.gstatic.com/s/biryani/v1/W7bfR8-IY76Xz0QoB8L2xw.ttf",
1702
+ "600": "http://fonts.gstatic.com/s/biryani/v1/1EdcPCVxBR2txgjrza6_YPesZW2xOQ-xsNqO47m55DA.ttf",
1703
+ "700": "http://fonts.gstatic.com/s/biryani/v1/qN2MTZ0j1sKSCtfXLB2dR_esZW2xOQ-xsNqO47m55DA.ttf",
1704
+ "800": "http://fonts.gstatic.com/s/biryani/v1/DJyziS7FEy441v22InYdevesZW2xOQ-xsNqO47m55DA.ttf",
1705
+ "900": "http://fonts.gstatic.com/s/biryani/v1/trcLkrIut0lM_PPSyQfAMPesZW2xOQ-xsNqO47m55DA.ttf"
1706
+ }
1707
+ },
1708
+ {
1709
+ "kind": "webfonts#webfont",
1710
+ "family": "Bitter",
1711
+ "category": "serif",
1712
+ "variants": [
1713
+ "regular",
1714
+ "italic",
1715
+ "700"
1716
+ ],
1717
+ "subsets": [
1718
+ "latin",
1719
+ "latin-ext"
1720
+ ],
1721
+ "version": "v7",
1722
+ "lastModified": "2016-04-25",
1723
+ "files": {
1724
+ "regular": "http://fonts.gstatic.com/s/bitter/v7/w_BNdJvVZDRmqy5aSfB2kQ.ttf",
1725
+ "italic": "http://fonts.gstatic.com/s/bitter/v7/TC0FZEVzXQIGgzmRfKPZbA.ttf",
1726
+ "700": "http://fonts.gstatic.com/s/bitter/v7/4dUtr_4BvHuoRU35suyOAg.ttf"
1727
+ }
1728
+ },
1729
+ {
1730
+ "kind": "webfonts#webfont",
1731
+ "family": "Black Ops One",
1732
+ "category": "display",
1733
+ "variants": [
1734
+ "regular"
1735
+ ],
1736
+ "subsets": [
1737
+ "latin",
1738
+ "latin-ext"
1739
+ ],
1740
+ "version": "v7",
1741
+ "lastModified": "2016-04-25",
1742
+ "files": {
1743
+ "regular": "http://fonts.gstatic.com/s/blackopsone/v7/2XW-DmDsGbDLE372KrMW1Yjjx0o0jr6fNXxPgYh_a8Q.ttf"
1744
+ }
1745
+ },
1746
+ {
1747
+ "kind": "webfonts#webfont",
1748
+ "family": "Bokor",
1749
+ "category": "display",
1750
+ "variants": [
1751
+ "regular"
1752
+ ],
1753
+ "subsets": [
1754
+ "khmer"
1755
+ ],
1756
+ "version": "v8",
1757
+ "lastModified": "2016-04-25",
1758
+ "files": {
1759
+ "regular": "http://fonts.gstatic.com/s/bokor/v8/uAKdo0A85WW23Gs6mcbw7A.ttf"
1760
+ }
1761
+ },
1762
+ {
1763
+ "kind": "webfonts#webfont",
1764
+ "family": "Bonbon",
1765
+ "category": "handwriting",
1766
+ "variants": [
1767
+ "regular"
1768
+ ],
1769
+ "subsets": [
1770
+ "latin"
1771
+ ],
1772
+ "version": "v7",
1773
+ "lastModified": "2016-04-25",
1774
+ "files": {
1775
+ "regular": "http://fonts.gstatic.com/s/bonbon/v7/IW3u1yzG1knyW5oz0s9_6Q.ttf"
1776
+ }
1777
+ },
1778
+ {
1779
+ "kind": "webfonts#webfont",
1780
+ "family": "Boogaloo",
1781
+ "category": "display",
1782
+ "variants": [
1783
+ "regular"
1784
+ ],
1785
+ "subsets": [
1786
+ "latin"
1787
+ ],
1788
+ "version": "v6",
1789
+ "lastModified": "2016-04-25",
1790
+ "files": {
1791
+ "regular": "http://fonts.gstatic.com/s/boogaloo/v6/4Wu1tvFMoB80fSu8qLgQfQ.ttf"
1792
+ }
1793
+ },
1794
+ {
1795
+ "kind": "webfonts#webfont",
1796
+ "family": "Bowlby One",
1797
+ "category": "display",
1798
+ "variants": [
1799
+ "regular"
1800
+ ],
1801
+ "subsets": [
1802
+ "latin"
1803
+ ],
1804
+ "version": "v7",
1805
+ "lastModified": "2016-04-25",
1806
+ "files": {
1807
+ "regular": "http://fonts.gstatic.com/s/bowlbyone/v7/eKpHjHfjoxM2bX36YNucefesZW2xOQ-xsNqO47m55DA.ttf"
1808
+ }
1809
+ },
1810
+ {
1811
+ "kind": "webfonts#webfont",
1812
+ "family": "Bowlby One SC",
1813
+ "category": "display",
1814
+ "variants": [
1815
+ "regular"
1816
+ ],
1817
+ "subsets": [
1818
+ "latin",
1819
+ "latin-ext"
1820
+ ],
1821
+ "version": "v8",
1822
+ "lastModified": "2016-04-25",
1823
+ "files": {
1824
+ "regular": "http://fonts.gstatic.com/s/bowlbyonesc/v8/8ZkeXftTuzKBtmxOYXoRedDkZCMxWJecxjvKm2f8MJw.ttf"
1825
+ }
1826
+ },
1827
+ {
1828
+ "kind": "webfonts#webfont",
1829
+ "family": "Brawler",
1830
+ "category": "serif",
1831
+ "variants": [
1832
+ "regular"
1833
+ ],
1834
+ "subsets": [
1835
+ "latin"
1836
+ ],
1837
+ "version": "v6",
1838
+ "lastModified": "2016-04-25",
1839
+ "files": {
1840
+ "regular": "http://fonts.gstatic.com/s/brawler/v6/3gfSw6imxQnQxweVITqUrg.ttf"
1841
+ }
1842
+ },
1843
+ {
1844
+ "kind": "webfonts#webfont",
1845
+ "family": "Bree Serif",
1846
+ "category": "serif",
1847
+ "variants": [
1848
+ "regular"
1849
+ ],
1850
+ "subsets": [
1851
+ "latin",
1852
+ "latin-ext"
1853
+ ],
1854
+ "version": "v5",
1855
+ "lastModified": "2016-04-25",
1856
+ "files": {
1857
+ "regular": "http://fonts.gstatic.com/s/breeserif/v5/5h9crBVIrvZqgf34FHcnEfesZW2xOQ-xsNqO47m55DA.ttf"
1858
+ }
1859
+ },
1860
+ {
1861
+ "kind": "webfonts#webfont",
1862
+ "family": "Bubblegum Sans",
1863
+ "category": "display",
1864
+ "variants": [
1865
+ "regular"
1866
+ ],
1867
+ "subsets": [
1868
+ "latin",
1869
+ "latin-ext"
1870
+ ],
1871
+ "version": "v5",
1872
+ "lastModified": "2016-04-25",
1873
+ "files": {
1874
+ "regular": "http://fonts.gstatic.com/s/bubblegumsans/v5/Y9iTUUNz6lbl6TrvV4iwsytnKWgpfO2iSkLzTz-AABg.ttf"
1875
+ }
1876
+ },
1877
+ {
1878
+ "kind": "webfonts#webfont",
1879
+ "family": "Bubbler One",
1880
+ "category": "sans-serif",
1881
+ "variants": [
1882
+ "regular"
1883
+ ],
1884
+ "subsets": [
1885
+ "latin",
1886
+ "latin-ext"
1887
+ ],
1888
+ "version": "v4",
1889
+ "lastModified": "2016-04-25",
1890
+ "files": {
1891
+ "regular": "http://fonts.gstatic.com/s/bubblerone/v4/e8S0qevkZAFaBybtt_SU4qCWcynf_cDxXwCLxiixG1c.ttf"
1892
+ }
1893
+ },
1894
+ {
1895
+ "kind": "webfonts#webfont",
1896
+ "family": "Buda",
1897
+ "category": "display",
1898
+ "variants": [
1899
+ "300"
1900
+ ],
1901
+ "subsets": [
1902
+ "latin"
1903
+ ],
1904
+ "version": "v6",
1905
+ "lastModified": "2016-04-25",
1906
+ "files": {
1907
+ "300": "http://fonts.gstatic.com/s/buda/v6/hLtAmNUmEMJH2yx7NGUjnA.ttf"
1908
+ }
1909
+ },
1910
+ {
1911
+ "kind": "webfonts#webfont",
1912
+ "family": "Buenard",
1913
+ "category": "serif",
1914
+ "variants": [
1915
+ "regular",
1916
+ "700"
1917
+ ],
1918
+ "subsets": [
1919
+ "latin",
1920
+ "latin-ext"
1921
+ ],
1922
+ "version": "v7",
1923
+ "lastModified": "2016-04-25",
1924
+ "files": {
1925
+ "regular": "http://fonts.gstatic.com/s/buenard/v7/NSpMPGKAUgrLrlstYVvIXQ.ttf",
1926
+ "700": "http://fonts.gstatic.com/s/buenard/v7/yUlGE115dGr7O9w9FlP3UvesZW2xOQ-xsNqO47m55DA.ttf"
1927
+ }
1928
+ },
1929
+ {
1930
+ "kind": "webfonts#webfont",
1931
+ "family": "Butcherman",
1932
+ "category": "display",
1933
+ "variants": [
1934
+ "regular"
1935
+ ],
1936
+ "subsets": [
1937
+ "latin",
1938
+ "latin-ext"
1939
+ ],
1940
+ "version": "v7",
1941
+ "lastModified": "2016-04-25",
1942
+ "files": {
1943
+ "regular": "http://fonts.gstatic.com/s/butcherman/v7/bxiJmD567sPBVpJsT0XR0vesZW2xOQ-xsNqO47m55DA.ttf"
1944
+ }
1945
+ },
1946
+ {
1947
+ "kind": "webfonts#webfont",
1948
+ "family": "Butterfly Kids",
1949
+ "category": "handwriting",
1950
+ "variants": [
1951
+ "regular"
1952
+ ],
1953
+ "subsets": [
1954
+ "latin",
1955
+ "latin-ext"
1956
+ ],
1957
+ "version": "v4",
1958
+ "lastModified": "2016-04-25",
1959
+ "files": {
1960
+ "regular": "http://fonts.gstatic.com/s/butterflykids/v4/J4NTF5M25htqeTffYImtlUZaDk62iwTBnbnvwSjZciA.ttf"
1961
+ }
1962
+ },
1963
+ {
1964
+ "kind": "webfonts#webfont",
1965
+ "family": "Cabin",
1966
+ "category": "sans-serif",
1967
+ "variants": [
1968
+ "regular",
1969
+ "italic",
1970
+ "500",
1971
+ "500italic",
1972
+ "600",
1973
+ "600italic",
1974
+ "700",
1975
+ "700italic"
1976
+ ],
1977
+ "subsets": [
1978
+ "latin"
1979
+ ],
1980
+ "version": "v8",
1981
+ "lastModified": "2016-04-25",
1982
+ "files": {
1983
+ "regular": "http://fonts.gstatic.com/s/cabin/v8/XeuAFYo2xAPHxZGBbQtHhA.ttf",
1984
+ "italic": "http://fonts.gstatic.com/s/cabin/v8/0tJ9k3DI5xC4GBgs1E_Jxw.ttf",
1985
+ "500": "http://fonts.gstatic.com/s/cabin/v8/HgsCQ-k3_Z_uQ86aFolNBg.ttf",
1986
+ "500italic": "http://fonts.gstatic.com/s/cabin/v8/50sjhrGE0njyO-7mGDhGP_esZW2xOQ-xsNqO47m55DA.ttf",
1987
+ "600": "http://fonts.gstatic.com/s/cabin/v8/eUDAvKhBtmTCkeVBsFk34A.ttf",
1988
+ "600italic": "http://fonts.gstatic.com/s/cabin/v8/sFQpQDBd3G2om0Nl5dD2CvesZW2xOQ-xsNqO47m55DA.ttf",
1989
+ "700": "http://fonts.gstatic.com/s/cabin/v8/4EKhProuY1hq_WCAomq9Dg.ttf",
1990
+ "700italic": "http://fonts.gstatic.com/s/cabin/v8/K83QKi8MOKLEqj6bgZ7LrfesZW2xOQ-xsNqO47m55DA.ttf"
1991
+ }
1992
+ },
1993
+ {
1994
+ "kind": "webfonts#webfont",
1995
+ "family": "Cabin Condensed",
1996
+ "category": "sans-serif",
1997
+ "variants": [
1998
+ "regular",
1999
+ "500",
2000
+ "600",
2001
+ "700"
2002
+ ],
2003
+ "subsets": [
2004
+ "latin"
2005
+ ],
2006
+ "version": "v7",
2007
+ "lastModified": "2016-04-25",
2008
+ "files": {
2009
+ "regular": "http://fonts.gstatic.com/s/cabincondensed/v7/B0txb0blf2N29WdYPJjMSiQPsWWoiv__AzYJ9Zzn9II.ttf",
2010
+ "500": "http://fonts.gstatic.com/s/cabincondensed/v7/Ez4zJbsGr2BgXcNUWBVgEARL_-ABKXdjsJSPT0lc2Bk.ttf",
2011
+ "600": "http://fonts.gstatic.com/s/cabincondensed/v7/Ez4zJbsGr2BgXcNUWBVgELS5sSASxc8z4EQTQj7DCAI.ttf",
2012
+ "700": "http://fonts.gstatic.com/s/cabincondensed/v7/Ez4zJbsGr2BgXcNUWBVgEMAWgzcA047xWLixhLCofl8.ttf"
2013
+ }
2014
+ },
2015
+ {
2016
+ "kind": "webfonts#webfont",
2017
+ "family": "Cabin Sketch",
2018
+ "category": "display",
2019
+ "variants": [
2020
+ "regular",
2021
+ "700"
2022
+ ],
2023
+ "subsets": [
2024
+ "latin"
2025
+ ],
2026
+ "version": "v8",
2027
+ "lastModified": "2016-04-25",
2028
+ "files": {
2029
+ "regular": "http://fonts.gstatic.com/s/cabinsketch/v8/d9fijO34zQajqQvl3YHRCS3USBnSvpkopQaUR-2r7iU.ttf",
2030
+ "700": "http://fonts.gstatic.com/s/cabinsketch/v8/ki3SSN5HMOO0-IOLOj069ED2ttfZwueP-QU272T9-k4.ttf"
2031
+ }
2032
+ },
2033
+ {
2034
+ "kind": "webfonts#webfont",
2035
+ "family": "Caesar Dressing",
2036
+ "category": "display",
2037
+ "variants": [
2038
+ "regular"
2039
+ ],
2040
+ "subsets": [
2041
+ "latin"
2042
+ ],
2043
+ "version": "v5",
2044
+ "lastModified": "2016-04-25",
2045
+ "files": {
2046
+ "regular": "http://fonts.gstatic.com/s/caesardressing/v5/2T_WzBgE2Xz3FsyJMq34T9gR43u4FvCuJwIfF5Zxl6Y.ttf"
2047
+ }
2048
+ },
2049
+ {
2050
+ "kind": "webfonts#webfont",
2051
+ "family": "Cagliostro",
2052
+ "category": "sans-serif",
2053
+ "variants": [
2054
+ "regular"
2055
+ ],
2056
+ "subsets": [
2057
+ "latin"
2058
+ ],
2059
+ "version": "v5",
2060
+ "lastModified": "2016-04-25",
2061
+ "files": {
2062
+ "regular": "http://fonts.gstatic.com/s/cagliostro/v5/i85oXbtdSatNEzss99bpj_esZW2xOQ-xsNqO47m55DA.ttf"
2063
+ }
2064
+ },
2065
+ {
2066
+ "kind": "webfonts#webfont",
2067
+ "family": "Calligraffitti",
2068
+ "category": "handwriting",
2069
+ "variants": [
2070
+ "regular"
2071
+ ],
2072
+ "subsets": [
2073
+ "latin"
2074
+ ],
2075
+ "version": "v7",
2076
+ "lastModified": "2016-04-25",
2077
+ "files": {
2078
+ "regular": "http://fonts.gstatic.com/s/calligraffitti/v7/vLVN2Y-z65rVu1R7lWdvyDXz_orj3gX0_NzfmYulrko.ttf"
2079
+ }
2080
+ },
2081
+ {
2082
+ "kind": "webfonts#webfont",
2083
+ "family": "Cambay",
2084
+ "category": "sans-serif",
2085
+ "variants": [
2086
+ "regular",
2087
+ "italic",
2088
+ "700",
2089
+ "700italic"
2090
+ ],
2091
+ "subsets": [
2092
+ "latin",
2093
+ "devanagari",
2094
+ "latin-ext"
2095
+ ],
2096
+ "version": "v1",
2097
+ "lastModified": "2016-04-25",
2098
+ "files": {
2099
+ "regular": "http://fonts.gstatic.com/s/cambay/v1/etU9Bab4VuhzS-OKsb1VXg.ttf",
2100
+ "italic": "http://fonts.gstatic.com/s/cambay/v1/ZEz9yNqpEOgejaw1rBhugQ.ttf",
2101
+ "700": "http://fonts.gstatic.com/s/cambay/v1/jw9niBxa04eEhnSwTWCEgw.ttf",
2102
+ "700italic": "http://fonts.gstatic.com/s/cambay/v1/j-5v_uUr0NXTumWN0siOiaCWcynf_cDxXwCLxiixG1c.ttf"
2103
+ }
2104
+ },
2105
+ {
2106
+ "kind": "webfonts#webfont",
2107
+ "family": "Cambo",
2108
+ "category": "serif",
2109
+ "variants": [
2110
+ "regular"
2111
+ ],
2112
+ "subsets": [
2113
+ "latin"
2114
+ ],
2115
+ "version": "v5",
2116
+ "lastModified": "2016-04-25",
2117
+ "files": {
2118
+ "regular": "http://fonts.gstatic.com/s/cambo/v5/PnwpRuTdkYCf8qk4ajmNRA.ttf"
2119
+ }
2120
+ },
2121
+ {
2122
+ "kind": "webfonts#webfont",
2123
+ "family": "Candal",
2124
+ "category": "sans-serif",
2125
+ "variants": [
2126
+ "regular"
2127
+ ],
2128
+ "subsets": [
2129
+ "latin"
2130
+ ],
2131
+ "version": "v6",
2132
+ "lastModified": "2016-04-25",
2133
+ "files": {
2134
+ "regular": "http://fonts.gstatic.com/s/candal/v6/x44dDW28zK7GR1gGDBmj9g.ttf"
2135
+ }
2136
+ },
2137
+ {
2138
+ "kind": "webfonts#webfont",
2139
+ "family": "Cantarell",
2140
+ "category": "sans-serif",
2141
+ "variants": [
2142
+ "regular",
2143
+ "italic",
2144
+ "700",
2145
+ "700italic"
2146
+ ],
2147
+ "subsets": [
2148
+ "latin"
2149
+ ],
2150
+ "version": "v6",
2151
+ "lastModified": "2016-04-25",
2152
+ "files": {
2153
+ "regular": "http://fonts.gstatic.com/s/cantarell/v6/p5ydP_uWQ5lsFzcP_XVMEw.ttf",
2154
+ "italic": "http://fonts.gstatic.com/s/cantarell/v6/DTCLtOSqP-7dgM-V_xKUjqCWcynf_cDxXwCLxiixG1c.ttf",
2155
+ "700": "http://fonts.gstatic.com/s/cantarell/v6/Yir4ZDsCn4g1kWopdg-ehC3USBnSvpkopQaUR-2r7iU.ttf",
2156
+ "700italic": "http://fonts.gstatic.com/s/cantarell/v6/weehrwMeZBXb0QyrWnRwFXe1Pd76Vl7zRpE7NLJQ7XU.ttf"
2157
+ }
2158
+ },
2159
+ {
2160
+ "kind": "webfonts#webfont",
2161
+ "family": "Cantata One",
2162
+ "category": "serif",
2163
+ "variants": [
2164
+ "regular"
2165
+ ],
2166
+ "subsets": [
2167
+ "latin",
2168
+ "latin-ext"
2169
+ ],
2170
+ "version": "v6",
2171
+ "lastModified": "2016-04-25",
2172
+ "files": {
2173
+ "regular": "http://fonts.gstatic.com/s/cantataone/v6/-a5FDvnBqaBMDaGgZYnEfqCWcynf_cDxXwCLxiixG1c.ttf"
2174
+ }
2175
+ },
2176
+ {
2177
+ "kind": "webfonts#webfont",
2178
+ "family": "Cantora One",
2179
+ "category": "sans-serif",
2180
+ "variants": [
2181
+ "regular"
2182
+ ],
2183
+ "subsets": [
2184
+ "latin",
2185
+ "latin-ext"
2186
+ ],
2187
+ "version": "v5",
2188
+ "lastModified": "2016-04-25",
2189
+ "files": {
2190
+ "regular": "http://fonts.gstatic.com/s/cantoraone/v5/oI-DS62RbHI8ZREjp73ehqCWcynf_cDxXwCLxiixG1c.ttf"
2191
+ }
2192
+ },
2193
+ {
2194
+ "kind": "webfonts#webfont",
2195
+ "family": "Capriola",
2196
+ "category": "sans-serif",
2197
+ "variants": [
2198
+ "regular"
2199
+ ],
2200
+ "subsets": [
2201
+ "latin",
2202
+ "latin-ext"
2203
+ ],
2204
+ "version": "v4",
2205
+ "lastModified": "2016-04-25",
2206
+ "files": {
2207
+ "regular": "http://fonts.gstatic.com/s/capriola/v4/JxXPlkdzWwF9Cwelbvi9jA.ttf"
2208
+ }
2209
+ },
2210
+ {
2211
+ "kind": "webfonts#webfont",
2212
+ "family": "Cardo",
2213
+ "category": "serif",
2214
+ "variants": [
2215
+ "regular",
2216
+ "italic",
2217
+ "700"
2218
+ ],
2219
+ "subsets": [
2220
+ "latin",
2221
+ "greek",
2222
+ "latin-ext",
2223
+ "greek-ext"
2224
+ ],
2225
+ "version": "v8",
2226
+ "lastModified": "2016-04-25",
2227
+ "files": {
2228
+ "regular": "http://fonts.gstatic.com/s/cardo/v8/jbkF2_R0FKUEZTq5dwSknQ.ttf",
2229
+ "italic": "http://fonts.gstatic.com/s/cardo/v8/pcv4Np9tUkq0YREYUcEEJQ.ttf",
2230
+ "700": "http://fonts.gstatic.com/s/cardo/v8/lQN30weILimrKvp8rZhF1w.ttf"
2231
+ }
2232
+ },
2233
+ {
2234
+ "kind": "webfonts#webfont",
2235
+ "family": "Carme",
2236
+ "category": "sans-serif",
2237
+ "variants": [
2238
+ "regular"
2239
+ ],
2240
+ "subsets": [
2241
+ "latin"
2242
+ ],
2243
+ "version": "v7",
2244
+ "lastModified": "2016-04-25",
2245
+ "files": {
2246
+ "regular": "http://fonts.gstatic.com/s/carme/v7/08E0NP1eRBEyFRUadmMfgA.ttf"
2247
+ }
2248
+ },
2249
+ {
2250
+ "kind": "webfonts#webfont",
2251
+ "family": "Carrois Gothic",
2252
+ "category": "sans-serif",
2253
+ "variants": [
2254
+ "regular"
2255
+ ],
2256
+ "subsets": [
2257
+ "latin"
2258
+ ],
2259
+ "version": "v4",
2260
+ "lastModified": "2016-04-25",
2261
+ "files": {
2262
+ "regular": "http://fonts.gstatic.com/s/carroisgothic/v4/GCgb7bssGpwp7V5ynxmWy2x3d0cwUleGuRTmCYfCUaM.ttf"
2263
+ }
2264
+ },
2265
+ {
2266
+ "kind": "webfonts#webfont",
2267
+ "family": "Carrois Gothic SC",
2268
+ "category": "sans-serif",
2269
+ "variants": [
2270
+ "regular"
2271
+ ],
2272
+ "subsets": [
2273
+ "latin"
2274
+ ],
2275
+ "version": "v4",
2276
+ "lastModified": "2016-04-25",
2277
+ "files": {
2278
+ "regular": "http://fonts.gstatic.com/s/carroisgothicsc/v4/bVp4nhwFIXU-r3LqUR8DSJTdPW1ioadGi2uRiKgJVCY.ttf"
2279
+ }
2280
+ },
2281
+ {
2282
+ "kind": "webfonts#webfont",
2283
+ "family": "Carter One",
2284
+ "category": "display",
2285
+ "variants": [
2286
+ "regular"
2287
+ ],
2288
+ "subsets": [
2289
+ "latin"
2290
+ ],
2291
+ "version": "v8",
2292
+ "lastModified": "2016-04-25",
2293
+ "files": {
2294
+ "regular": "http://fonts.gstatic.com/s/carterone/v8/5X_LFvdbcB7OBG7hBgZ7fPesZW2xOQ-xsNqO47m55DA.ttf"
2295
+ }
2296
+ },
2297
+ {
2298
+ "kind": "webfonts#webfont",
2299
+ "family": "Catamaran",
2300
+ "category": "sans-serif",
2301
+ "variants": [
2302
+ "100",
2303
+ "200",
2304
+ "300",
2305
+ "regular",
2306
+ "500",
2307
+ "600",
2308
+ "700",
2309
+ "800",
2310
+ "900"
2311
+ ],
2312
+ "subsets": [
2313
+ "latin",
2314
+ "tamil",
2315
+ "latin-ext"
2316
+ ],
2317
+ "version": "v1",
2318
+ "lastModified": "2016-04-25",
2319
+ "files": {
2320
+ "100": "http://fonts.gstatic.com/s/catamaran/v1/ilWHBiy0krUPdlmYxDuqC6CWcynf_cDxXwCLxiixG1c.ttf",
2321
+ "200": "http://fonts.gstatic.com/s/catamaran/v1/hFc-HKSsGk6M-psujei1MC3USBnSvpkopQaUR-2r7iU.ttf",
2322
+ "300": "http://fonts.gstatic.com/s/catamaran/v1/Aaag4ccR7Oh_4eai-jbrYC3USBnSvpkopQaUR-2r7iU.ttf",
2323
+ "regular": "http://fonts.gstatic.com/s/catamaran/v1/MdNkM-DU8f6R-25Nxpr_XA.ttf",
2324
+ "500": "http://fonts.gstatic.com/s/catamaran/v1/83WSX3F86qsvj1Z4EI0tQi3USBnSvpkopQaUR-2r7iU.ttf",
2325
+ "600": "http://fonts.gstatic.com/s/catamaran/v1/a9PlHHnuBWiGGk0TwuFKTi3USBnSvpkopQaUR-2r7iU.ttf",
2326
+ "700": "http://fonts.gstatic.com/s/catamaran/v1/PpgVtUHUdnBZYNpnzGbScy3USBnSvpkopQaUR-2r7iU.ttf",
2327
+ "800": "http://fonts.gstatic.com/s/catamaran/v1/6VjB_uSfn3DZ93IQv58CmC3USBnSvpkopQaUR-2r7iU.ttf",
2328
+ "900": "http://fonts.gstatic.com/s/catamaran/v1/5ys9TqpQc9Q6gHqbSox6py3USBnSvpkopQaUR-2r7iU.ttf"
2329
+ }
2330
+ },
2331
+ {
2332
+ "kind": "webfonts#webfont",
2333
+ "family": "Caudex",
2334
+ "category": "serif",
2335
+ "variants": [
2336
+ "regular",
2337
+ "italic",
2338
+ "700",
2339
+ "700italic"
2340
+ ],
2341
+ "subsets": [
2342
+ "latin",
2343
+ "greek",
2344
+ "latin-ext",
2345
+ "greek-ext"
2346
+ ],
2347
+ "version": "v6",
2348
+ "lastModified": "2016-04-25",
2349
+ "files": {
2350
+ "regular": "http://fonts.gstatic.com/s/caudex/v6/PWEexiHLDmQbn2b1OPZWfg.ttf",
2351
+ "italic": "http://fonts.gstatic.com/s/caudex/v6/XjMZF6XCisvV3qapD4oJdw.ttf",
2352
+ "700": "http://fonts.gstatic.com/s/caudex/v6/PetCI4GyQ5Q3LiOzUu_mMg.ttf",
2353
+ "700italic": "http://fonts.gstatic.com/s/caudex/v6/yT8YeHLjaJvQXlUEYOA8gqCWcynf_cDxXwCLxiixG1c.ttf"
2354
+ }
2355
+ },
2356
+ {
2357
+ "kind": "webfonts#webfont",
2358
+ "family": "Caveat",
2359
+ "category": "handwriting",
2360
+ "variants": [
2361
+ "regular",
2362
+ "700"
2363
+ ],
2364
+ "subsets": [
2365
+ "latin",
2366
+ "latin-ext"
2367
+ ],
2368
+ "version": "v1",
2369
+ "lastModified": "2016-04-25",
2370
+ "files": {
2371
+ "regular": "http://fonts.gstatic.com/s/caveat/v1/8I23b6N-6rRVbh-C_Vx3yA.ttf",
2372
+ "700": "http://fonts.gstatic.com/s/caveat/v1/LkaFtQENGJry2eUMwGRTeA.ttf"
2373
+ }
2374
+ },
2375
+ {
2376
+ "kind": "webfonts#webfont",
2377
+ "family": "Caveat Brush",
2378
+ "category": "handwriting",
2379
+ "variants": [
2380
+ "regular"
2381
+ ],
2382
+ "subsets": [
2383
+ "latin",
2384
+ "latin-ext"
2385
+ ],
2386
+ "version": "v1",
2387
+ "lastModified": "2016-04-25",
2388
+ "files": {
2389
+ "regular": "http://fonts.gstatic.com/s/caveatbrush/v1/_d7bgsk3hfC4DXnUEeYKsy3USBnSvpkopQaUR-2r7iU.ttf"
2390
+ }
2391
+ },
2392
+ {
2393
+ "kind": "webfonts#webfont",
2394
+ "family": "Cedarville Cursive",
2395
+ "category": "handwriting",
2396
+ "variants": [
2397
+ "regular"
2398
+ ],
2399
+ "subsets": [
2400
+ "latin"
2401
+ ],
2402
+ "version": "v7",
2403
+ "lastModified": "2016-04-25",
2404
+ "files": {
2405
+ "regular": "http://fonts.gstatic.com/s/cedarvillecursive/v7/cuCe6HrkcqrWTWTUE7dw-41zwq9-z_Lf44CzRAA0d0Y.ttf"
2406
+ }
2407
+ },
2408
+ {
2409
+ "kind": "webfonts#webfont",
2410
+ "family": "Ceviche One",
2411
+ "category": "display",
2412
+ "variants": [
2413
+ "regular"
2414
+ ],
2415
+ "subsets": [
2416
+ "latin",
2417
+ "latin-ext"
2418
+ ],
2419
+ "version": "v7",
2420
+ "lastModified": "2016-04-25",
2421
+ "files": {
2422
+ "regular": "http://fonts.gstatic.com/s/cevicheone/v7/WOaXIMBD4VYMy39MsobJhKCWcynf_cDxXwCLxiixG1c.ttf"
2423
+ }
2424
+ },
2425
+ {
2426
+ "kind": "webfonts#webfont",
2427
+ "family": "Changa One",
2428
+ "category": "display",
2429
+ "variants": [
2430
+ "regular",
2431
+ "italic"
2432
+ ],
2433
+ "subsets": [
2434
+ "latin"
2435
+ ],
2436
+ "version": "v9",
2437
+ "lastModified": "2016-04-25",
2438
+ "files": {
2439
+ "regular": "http://fonts.gstatic.com/s/changaone/v9/dr4qjce4W3kxFrZRkVD87fesZW2xOQ-xsNqO47m55DA.ttf",
2440
+ "italic": "http://fonts.gstatic.com/s/changaone/v9/wJVQlUs1lAZel-WdTo2U9y3USBnSvpkopQaUR-2r7iU.ttf"
2441
+ }
2442
+ },
2443
+ {
2444
+ "kind": "webfonts#webfont",
2445
+ "family": "Chango",
2446
+ "category": "display",
2447
+ "variants": [
2448
+ "regular"
2449
+ ],
2450
+ "subsets": [
2451
+ "latin",
2452
+ "latin-ext"
2453
+ ],
2454
+ "version": "v5",
2455
+ "lastModified": "2016-04-25",
2456
+ "files": {
2457
+ "regular": "http://fonts.gstatic.com/s/chango/v5/3W3AeMMtRTH08t5qLOjBmg.ttf"
2458
+ }
2459
+ },
2460
+ {
2461
+ "kind": "webfonts#webfont",
2462
+ "family": "Chau Philomene One",
2463
+ "category": "sans-serif",
2464
+ "variants": [
2465
+ "regular",
2466
+ "italic"
2467
+ ],
2468
+ "subsets": [
2469
+ "latin",
2470
+ "latin-ext"
2471
+ ],
2472
+ "version": "v4",
2473
+ "lastModified": "2016-04-25",
2474
+ "files": {
2475
+ "regular": "http://fonts.gstatic.com/s/chauphilomeneone/v4/KKc5egCL-a2fFVoOA2x6tBFi5dxgSTdxqnMJgWkBJcg.ttf",
2476
+ "italic": "http://fonts.gstatic.com/s/chauphilomeneone/v4/eJj1PY_iN4KiIuyOvtMHJP6uyLkxyiC4WcYA74sfquE.ttf"
2477
+ }
2478
+ },
2479
+ {
2480
+ "kind": "webfonts#webfont",
2481
+ "family": "Chela One",
2482
+ "category": "display",
2483
+ "variants": [
2484
+ "regular"
2485
+ ],
2486
+ "subsets": [
2487
+ "latin",
2488
+ "latin-ext"
2489
+ ],
2490
+ "version": "v5",
2491
+ "lastModified": "2016-04-25",
2492
+ "files": {
2493
+ "regular": "http://fonts.gstatic.com/s/chelaone/v5/h5O0dEnpnIq6jQnWxZybrA.ttf"
2494
+ }
2495
+ },
2496
+ {
2497
+ "kind": "webfonts#webfont",
2498
+ "family": "Chelsea Market",
2499
+ "category": "display",
2500
+ "variants": [
2501
+ "regular"
2502
+ ],
2503
+ "subsets": [
2504
+ "latin",
2505
+ "latin-ext"
2506
+ ],
2507
+ "version": "v4",
2508
+ "lastModified": "2016-04-25",
2509
+ "files": {
2510
+ "regular": "http://fonts.gstatic.com/s/chelseamarket/v4/qSdzwh2A4BbNemy78sJLfAAI1i8fIftCBXsBF2v9UMI.ttf"
2511
+ }
2512
+ },
2513
+ {
2514
+ "kind": "webfonts#webfont",
2515
+ "family": "Chenla",
2516
+ "category": "display",
2517
+ "variants": [
2518
+ "regular"
2519
+ ],
2520
+ "subsets": [
2521
+ "khmer"
2522
+ ],
2523
+ "version": "v9",
2524
+ "lastModified": "2016-04-25",
2525
+ "files": {
2526
+ "regular": "http://fonts.gstatic.com/s/chenla/v9/aLNpdAUDq2MZbWz2U1a16g.ttf"
2527
+ }
2528
+ },
2529
+ {
2530
+ "kind": "webfonts#webfont",
2531
+ "family": "Cherry Cream Soda",
2532
+ "category": "display",
2533
+ "variants": [
2534
+ "regular"
2535
+ ],
2536
+ "subsets": [
2537
+ "latin"
2538
+ ],
2539
+ "version": "v6",
2540
+ "lastModified": "2016-04-25",
2541
+ "files": {
2542
+ "regular": "http://fonts.gstatic.com/s/cherrycreamsoda/v6/OrD-AUnFcZeeKa6F_c0_WxOiHiuAPYA9ry3O1RG2XIU.ttf"
2543
+ }
2544
+ },
2545
+ {
2546
+ "kind": "webfonts#webfont",
2547
+ "family": "Cherry Swash",
2548
+ "category": "display",
2549
+ "variants": [
2550
+ "regular",
2551
+ "700"
2552
+ ],
2553
+ "subsets": [
2554
+ "latin",
2555
+ "latin-ext"
2556
+ ],
2557
+ "version": "v4",
2558
+ "lastModified": "2016-04-25",
2559
+ "files": {
2560
+ "regular": "http://fonts.gstatic.com/s/cherryswash/v4/HqOk7C7J1TZ5i3L-ejF0vi3USBnSvpkopQaUR-2r7iU.ttf",
2561
+ "700": "http://fonts.gstatic.com/s/cherryswash/v4/-CfyMyQqfucZPQNB0nvYyED2ttfZwueP-QU272T9-k4.ttf"
2562
+ }
2563
+ },
2564
+ {
2565
+ "kind": "webfonts#webfont",
2566
+ "family": "Chewy",
2567
+ "category": "display",
2568
+ "variants": [
2569
+ "regular"
2570
+ ],
2571
+ "subsets": [
2572
+ "latin"
2573
+ ],
2574
+ "version": "v7",
2575
+ "lastModified": "2016-04-25",
2576
+ "files": {
2577
+ "regular": "http://fonts.gstatic.com/s/chewy/v7/hcDN5cvQdIu6Bx4mg_TSyw.ttf"
2578
+ }
2579
+ },
2580
+ {
2581
+ "kind": "webfonts#webfont",
2582
+ "family": "Chicle",
2583
+ "category": "display",
2584
+ "variants": [
2585
+ "regular"
2586
+ ],
2587
+ "subsets": [
2588
+ "latin",
2589
+ "latin-ext"
2590
+ ],
2591
+ "version": "v5",
2592
+ "lastModified": "2016-04-25",
2593
+ "files": {
2594
+ "regular": "http://fonts.gstatic.com/s/chicle/v5/xg4q57Ut9ZmyFwLp51JLgg.ttf"
2595
+ }
2596
+ },
2597
+ {
2598
+ "kind": "webfonts#webfont",
2599
+ "family": "Chivo",
2600
+ "category": "sans-serif",
2601
+ "variants": [
2602
+ "regular",
2603
+ "italic",
2604
+ "900",
2605
+ "900italic"
2606
+ ],
2607
+ "subsets": [
2608
+ "latin"
2609
+ ],
2610
+ "version": "v7",
2611
+ "lastModified": "2016-04-25",
2612
+ "files": {
2613
+ "regular": "http://fonts.gstatic.com/s/chivo/v7/L88PEuzS9eRfHRZhAPhZyw.ttf",
2614
+ "italic": "http://fonts.gstatic.com/s/chivo/v7/Oe3-Q-a2kBzPnhHck_baMg.ttf",
2615
+ "900": "http://fonts.gstatic.com/s/chivo/v7/JAdkiWd46QCW4vOsj3dzTA.ttf",
2616
+ "900italic": "http://fonts.gstatic.com/s/chivo/v7/LoszYnE86q2wJEOjCigBQ_esZW2xOQ-xsNqO47m55DA.ttf"
2617
+ }
2618
+ },
2619
+ {
2620
+ "kind": "webfonts#webfont",
2621
+ "family": "Chonburi",
2622
+ "category": "display",
2623
+ "variants": [
2624
+ "regular"
2625
+ ],
2626
+ "subsets": [
2627
+ "latin",
2628
+ "thai",
2629
+ "latin-ext",
2630
+ "vietnamese"
2631
+ ],
2632
+ "version": "v1",
2633
+ "lastModified": "2016-04-25",
2634
+ "files": {
2635
+ "regular": "http://fonts.gstatic.com/s/chonburi/v1/jd9PfbW0x_8Myt_XeUxvSQ.ttf"
2636
+ }
2637
+ },
2638
+ {
2639
+ "kind": "webfonts#webfont",
2640
+ "family": "Cinzel",
2641
+ "category": "serif",
2642
+ "variants": [
2643
+ "regular",
2644
+ "700",
2645
+ "900"
2646
+ ],
2647
+ "subsets": [
2648
+ "latin"
2649
+ ],
2650
+ "version": "v4",
2651
+ "lastModified": "2016-04-25",
2652
+ "files": {
2653
+ "regular": "http://fonts.gstatic.com/s/cinzel/v4/GF7dy_Nc-a6EaHYSyGd-EA.ttf",
2654
+ "700": "http://fonts.gstatic.com/s/cinzel/v4/nYcFQ6_3pf_6YDrOFjBR8Q.ttf",
2655
+ "900": "http://fonts.gstatic.com/s/cinzel/v4/FTBj72ozM2cEOSxiVsRb3A.ttf"
2656
+ }
2657
+ },
2658
+ {
2659
+ "kind": "webfonts#webfont",
2660
+ "family": "Cinzel Decorative",
2661
+ "category": "display",
2662
+ "variants": [
2663
+ "regular",
2664
+ "700",
2665
+ "900"
2666
+ ],
2667
+ "subsets": [
2668
+ "latin"
2669
+ ],
2670
+ "version": "v4",
2671
+ "lastModified": "2016-04-25",
2672
+ "files": {
2673
+ "regular": "http://fonts.gstatic.com/s/cinzeldecorative/v4/fmgK7oaJJIXAkhd9798yQgT5USbJx2F82lQbogPy2bY.ttf",
2674
+ "700": "http://fonts.gstatic.com/s/cinzeldecorative/v4/pXhIVnhFtL_B9Vb1wq2F95-YYVDmZkJErg0zgx9XuZI.ttf",
2675
+ "900": "http://fonts.gstatic.com/s/cinzeldecorative/v4/pXhIVnhFtL_B9Vb1wq2F97Khqbv0zQZa0g-9HOXAalU.ttf"
2676
+ }
2677
+ },
2678
+ {
2679
+ "kind": "webfonts#webfont",
2680
+ "family": "Clicker Script",
2681
+ "category": "handwriting",
2682
+ "variants": [
2683
+ "regular"
2684
+ ],
2685
+ "subsets": [
2686
+ "latin",
2687
+ "latin-ext"
2688
+ ],
2689
+ "version": "v4",
2690
+ "lastModified": "2016-04-25",
2691
+ "files": {
2692
+ "regular": "http://fonts.gstatic.com/s/clickerscript/v4/Zupmk8XwADjufGxWB9KThBnpV0hQCek3EmWnCPrvGRM.ttf"
2693
+ }
2694
+ },
2695
+ {
2696
+ "kind": "webfonts#webfont",
2697
+ "family": "Coda",
2698
+ "category": "display",
2699
+ "variants": [
2700
+ "regular",
2701
+ "800"
2702
+ ],
2703
+ "subsets": [
2704
+ "latin",
2705
+ "latin-ext"
2706
+ ],
2707
+ "version": "v11",
2708
+ "lastModified": "2016-04-25",
2709
+ "files": {
2710
+ "regular": "http://fonts.gstatic.com/s/coda/v11/yHDvulhg-P-p2KRgRrnUYw.ttf",
2711
+ "800": "http://fonts.gstatic.com/s/coda/v11/6ZIw0sbALY0KTMWllZB3hQ.ttf"
2712
+ }
2713
+ },
2714
+ {
2715
+ "kind": "webfonts#webfont",
2716
+ "family": "Coda Caption",
2717
+ "category": "sans-serif",
2718
+ "variants": [
2719
+ "800"
2720
+ ],
2721
+ "subsets": [
2722
+ "latin",
2723
+ "latin-ext"
2724
+ ],
2725
+ "version": "v9",
2726
+ "lastModified": "2016-04-25",
2727
+ "files": {
2728
+ "800": "http://fonts.gstatic.com/s/codacaption/v9/YDl6urZh-DUFhiMBTgAnz_qsay_1ZmRGmC8pVRdIfAg.ttf"
2729
+ }
2730
+ },
2731
+ {
2732
+ "kind": "webfonts#webfont",
2733
+ "family": "Codystar",
2734
+ "category": "display",
2735
+ "variants": [
2736
+ "300",
2737
+ "regular"
2738
+ ],
2739
+ "subsets": [
2740
+ "latin",
2741
+ "latin-ext"
2742
+ ],
2743
+ "version": "v4",
2744
+ "lastModified": "2016-04-25",
2745
+ "files": {
2746
+ "300": "http://fonts.gstatic.com/s/codystar/v4/EVaUzfJkcb8Zqx9kzQLXqqCWcynf_cDxXwCLxiixG1c.ttf",
2747
+ "regular": "http://fonts.gstatic.com/s/codystar/v4/EN-CPFKYowSI7SuR7-0cZA.ttf"
2748
+ }
2749
+ },
2750
+ {
2751
+ "kind": "webfonts#webfont",
2752
+ "family": "Combo",
2753
+ "category": "display",
2754
+ "variants": [
2755
+ "regular"
2756
+ ],
2757
+ "subsets": [
2758
+ "latin",
2759
+ "latin-ext"
2760
+ ],
2761
+ "version": "v5",
2762
+ "lastModified": "2016-04-25",
2763
+ "files": {
2764
+ "regular": "http://fonts.gstatic.com/s/combo/v5/Nab98KjR3JZSSPGtzLyXNw.ttf"
2765
+ }
2766
+ },
2767
+ {
2768
+ "kind": "webfonts#webfont",
2769
+ "family": "Comfortaa",
2770
+ "category": "display",
2771
+ "variants": [
2772
+ "300",
2773
+ "regular",
2774
+ "700"
2775
+ ],
2776
+ "subsets": [
2777
+ "latin",
2778
+ "greek",
2779
+ "latin-ext",
2780
+ "cyrillic-ext",
2781
+ "cyrillic"
2782
+ ],
2783
+ "version": "v7",
2784
+ "lastModified": "2016-04-25",
2785
+ "files": {
2786
+ "300": "http://fonts.gstatic.com/s/comfortaa/v7/r_tUZNl0G8xCoOmp_JkSCi3USBnSvpkopQaUR-2r7iU.ttf",
2787
+ "regular": "http://fonts.gstatic.com/s/comfortaa/v7/lZx6C1VViPgSOhCBUP7hXA.ttf",
2788
+ "700": "http://fonts.gstatic.com/s/comfortaa/v7/fND5XPYKrF2tQDwwfWZJIy3USBnSvpkopQaUR-2r7iU.ttf"
2789
+ }
2790
+ },
2791
+ {
2792
+ "kind": "webfonts#webfont",
2793
+ "family": "Coming Soon",
2794
+ "category": "handwriting",
2795
+ "variants": [
2796
+ "regular"
2797
+ ],
2798
+ "subsets": [
2799
+ "latin"
2800
+ ],
2801
+ "version": "v6",
2802
+ "lastModified": "2016-04-25",
2803
+ "files": {
2804
+ "regular": "http://fonts.gstatic.com/s/comingsoon/v6/Yz2z3IAe2HSQAOWsSG8COKCWcynf_cDxXwCLxiixG1c.ttf"
2805
+ }
2806
+ },
2807
+ {
2808
+ "kind": "webfonts#webfont",
2809
+ "family": "Concert One",
2810
+ "category": "display",
2811
+ "variants": [
2812
+ "regular"
2813
+ ],
2814
+ "subsets": [
2815
+ "latin",
2816
+ "latin-ext"
2817
+ ],
2818
+ "version": "v7",
2819
+ "lastModified": "2016-04-25",
2820
+ "files": {
2821
+ "regular": "http://fonts.gstatic.com/s/concertone/v7/N5IWCIGhUNdPZn_efTxKN6CWcynf_cDxXwCLxiixG1c.ttf"
2822
+ }
2823
+ },
2824
+ {
2825
+ "kind": "webfonts#webfont",
2826
+ "family": "Condiment",
2827
+ "category": "handwriting",
2828
+ "variants": [
2829
+ "regular"
2830
+ ],
2831
+ "subsets": [
2832
+ "latin",
2833
+ "latin-ext"
2834
+ ],
2835
+ "version": "v4",
2836
+ "lastModified": "2016-04-25",
2837
+ "files": {
2838
+ "regular": "http://fonts.gstatic.com/s/condiment/v4/CstmdiPpgFSV0FUNL5LrJA.ttf"
2839
+ }
2840
+ },
2841
+ {
2842
+ "kind": "webfonts#webfont",
2843
+ "family": "Content",
2844
+ "category": "display",
2845
+ "variants": [
2846
+ "regular",
2847
+ "700"
2848
+ ],
2849
+ "subsets": [
2850
+ "khmer"
2851
+ ],
2852
+ "version": "v8",
2853
+ "lastModified": "2016-04-25",
2854
+ "files": {
2855
+ "regular": "http://fonts.gstatic.com/s/content/v8/l8qaLjygvOkDEU2G6-cjfQ.ttf",
2856
+ "700": "http://fonts.gstatic.com/s/content/v8/7PivP8Zvs2qn6F6aNbSQe_esZW2xOQ-xsNqO47m55DA.ttf"
2857
+ }
2858
+ },
2859
+ {
2860
+ "kind": "webfonts#webfont",
2861
+ "family": "Contrail One",
2862
+ "category": "display",
2863
+ "variants": [
2864
+ "regular"
2865
+ ],
2866
+ "subsets": [
2867
+ "latin"
2868
+ ],
2869
+ "version": "v6",
2870
+ "lastModified": "2016-04-25",
2871
+ "files": {
2872
+ "regular": "http://fonts.gstatic.com/s/contrailone/v6/b41KxjgiyqX-hkggANDU6C3USBnSvpkopQaUR-2r7iU.ttf"
2873
+ }
2874
+ },
2875
+ {
2876
+ "kind": "webfonts#webfont",
2877
+ "family": "Convergence",
2878
+ "category": "sans-serif",
2879
+ "variants": [
2880
+ "regular"
2881
+ ],
2882
+ "subsets": [
2883
+ "latin"
2884
+ ],
2885
+ "version": "v5",
2886
+ "lastModified": "2016-04-25",
2887
+ "files": {
2888
+ "regular": "http://fonts.gstatic.com/s/convergence/v5/eykrGz1NN_YpQmkAZjW-qKCWcynf_cDxXwCLxiixG1c.ttf"
2889
+ }
2890
+ },
2891
+ {
2892
+ "kind": "webfonts#webfont",
2893
+ "family": "Cookie",
2894
+ "category": "handwriting",
2895
+ "variants": [
2896
+ "regular"
2897
+ ],
2898
+ "subsets": [
2899
+ "latin"
2900
+ ],
2901
+ "version": "v7",
2902
+ "lastModified": "2016-04-25",
2903
+ "files": {
2904
+ "regular": "http://fonts.gstatic.com/s/cookie/v7/HxeUC62y_YdDbiFlze357A.ttf"
2905
+ }
2906
+ },
2907
+ {
2908
+ "kind": "webfonts#webfont",
2909
+ "family": "Copse",
2910
+ "category": "serif",
2911
+ "variants": [
2912
+ "regular"
2913
+ ],
2914
+ "subsets": [
2915
+ "latin"
2916
+ ],
2917
+ "version": "v6",
2918
+ "lastModified": "2016-04-25",
2919
+ "files": {
2920
+ "regular": "http://fonts.gstatic.com/s/copse/v6/wikLrtPGjZDvZ5w2i5HLWg.ttf"
2921
+ }
2922
+ },
2923
+ {
2924
+ "kind": "webfonts#webfont",
2925
+ "family": "Corben",
2926
+ "category": "display",
2927
+ "variants": [
2928
+ "regular",
2929
+ "700"
2930
+ ],
2931
+ "subsets": [
2932
+ "latin",
2933
+ "latin-ext"
2934
+ ],
2935
+ "version": "v9",
2936
+ "lastModified": "2016-04-25",
2937
+ "files": {
2938
+ "regular": "http://fonts.gstatic.com/s/corben/v9/tTysMZkt-j8Y5yhkgsoajQ.ttf",
2939
+ "700": "http://fonts.gstatic.com/s/corben/v9/lirJaFSQWdGQuV--fksg5g.ttf"
2940
+ }
2941
+ },
2942
+ {
2943
+ "kind": "webfonts#webfont",
2944
+ "family": "Courgette",
2945
+ "category": "handwriting",
2946
+ "variants": [
2947
+ "regular"
2948
+ ],
2949
+ "subsets": [
2950
+ "latin",
2951
+ "latin-ext"
2952
+ ],
2953
+ "version": "v4",
2954
+ "lastModified": "2016-04-25",
2955
+ "files": {
2956
+ "regular": "http://fonts.gstatic.com/s/courgette/v4/2YO0EYtyE9HUPLZprahpZA.ttf"
2957
+ }
2958
+ },
2959
+ {
2960
+ "kind": "webfonts#webfont",
2961
+ "family": "Cousine",
2962
+ "category": "monospace",
2963
+ "variants": [
2964
+ "regular",
2965
+ "italic",
2966
+ "700",
2967
+ "700italic"
2968
+ ],
2969
+ "subsets": [
2970
+ "latin",
2971
+ "greek",
2972
+ "hebrew",
2973
+ "latin-ext",
2974
+ "cyrillic-ext",
2975
+ "greek-ext",
2976
+ "vietnamese",
2977
+ "cyrillic"
2978
+ ],
2979
+ "version": "v10",
2980
+ "lastModified": "2016-04-25",
2981
+ "files": {
2982
+ "regular": "http://fonts.gstatic.com/s/cousine/v10/GYX4bPXObJNJo63QJEUnLg.ttf",
2983
+ "italic": "http://fonts.gstatic.com/s/cousine/v10/1WtIuajLoo8vjVwsrZ3eOg.ttf",
2984
+ "700": "http://fonts.gstatic.com/s/cousine/v10/FXEOnNUcCzhdtoBxiq-lovesZW2xOQ-xsNqO47m55DA.ttf",
2985
+ "700italic": "http://fonts.gstatic.com/s/cousine/v10/y_AZ5Sz-FwL1lux2xLSTZS3USBnSvpkopQaUR-2r7iU.ttf"
2986
+ }
2987
+ },
2988
+ {
2989
+ "kind": "webfonts#webfont",
2990
+ "family": "Coustard",
2991
+ "category": "serif",
2992
+ "variants": [
2993
+ "regular",
2994
+ "900"
2995
+ ],
2996
+ "subsets": [
2997
+ "latin"
2998
+ ],
2999
+ "version": "v6",
3000
+ "lastModified": "2016-04-25",
3001
+ "files": {
3002
+ "regular": "http://fonts.gstatic.com/s/coustard/v6/iO2Rs5PmqAEAXoU3SkMVBg.ttf",
3003
+ "900": "http://fonts.gstatic.com/s/coustard/v6/W02OCWO6OfMUHz6aVyegQ6CWcynf_cDxXwCLxiixG1c.ttf"
3004
+ }
3005
+ },
3006
+ {
3007
+ "kind": "webfonts#webfont",
3008
+ "family": "Covered By Your Grace",
3009
+ "category": "handwriting",
3010
+ "variants": [
3011
+ "regular"
3012
+ ],
3013
+ "subsets": [
3014
+ "latin"
3015
+ ],
3016
+ "version": "v6",
3017
+ "lastModified": "2016-04-25",
3018
+ "files": {
3019
+ "regular": "http://fonts.gstatic.com/s/coveredbyyourgrace/v6/6ozZp4BPlrbDRWPe3EBGA6CVUMdvnk-GcAiZQrX9Gek.ttf"
3020
+ }
3021
+ },
3022
+ {
3023
+ "kind": "webfonts#webfont",
3024
+ "family": "Crafty Girls",
3025
+ "category": "handwriting",
3026
+ "variants": [
3027
+ "regular"
3028
+ ],
3029
+ "subsets": [
3030
+ "latin"
3031
+ ],
3032
+ "version": "v5",
3033
+ "lastModified": "2016-04-25",
3034
+ "files": {
3035
+ "regular": "http://fonts.gstatic.com/s/craftygirls/v5/0Sv8UWFFdhQmesHL32H8oy3USBnSvpkopQaUR-2r7iU.ttf"
3036
+ }
3037
+ },
3038
+ {
3039
+ "kind": "webfonts#webfont",
3040
+ "family": "Creepster",
3041
+ "category": "display",
3042
+ "variants": [
3043
+ "regular"
3044
+ ],
3045
+ "subsets": [
3046
+ "latin"
3047
+ ],
3048
+ "version": "v5",
3049
+ "lastModified": "2016-04-25",
3050
+ "files": {
3051
+ "regular": "http://fonts.gstatic.com/s/creepster/v5/0vdr5kWJ6aJlOg5JvxnXzQ.ttf"
3052
+ }
3053
+ },
3054
+ {
3055
+ "kind": "webfonts#webfont",
3056
+ "family": "Crete Round",
3057
+ "category": "serif",
3058
+ "variants": [
3059
+ "regular",
3060
+ "italic"
3061
+ ],
3062
+ "subsets": [
3063
+ "latin",
3064
+ "latin-ext"
3065
+ ],
3066
+ "version": "v5",
3067
+ "lastModified": "2016-04-25",
3068
+ "files": {
3069
+ "regular": "http://fonts.gstatic.com/s/creteround/v5/B8EwN421qqOCCT8vOH4wJ6CWcynf_cDxXwCLxiixG1c.ttf",
3070
+ "italic": "http://fonts.gstatic.com/s/creteround/v5/5xAt7XK2vkUdjhGtt98unUeOrDcLawS7-ssYqLr2Xp4.ttf"
3071
+ }
3072
+ },
3073
+ {
3074
+ "kind": "webfonts#webfont",
3075
+ "family": "Crimson Text",
3076
+ "category": "serif",
3077
+ "variants": [
3078
+ "regular",
3079
+ "italic",
3080
+ "600",
3081
+ "600italic",
3082
+ "700",
3083
+ "700italic"
3084
+ ],
3085
+ "subsets": [
3086
+ "latin"
3087
+ ],
3088
+ "version": "v6",
3089
+ "lastModified": "2016-04-25",
3090
+ "files": {
3091
+ "regular": "http://fonts.gstatic.com/s/crimsontext/v6/3IFMwfRa07i-auYR-B-zNS3USBnSvpkopQaUR-2r7iU.ttf",
3092
+ "italic": "http://fonts.gstatic.com/s/crimsontext/v6/a5QZnvmn5amyNI-t2BMkWPMZXuCXbOrAvx5R0IT5Oyo.ttf",
3093
+ "600": "http://fonts.gstatic.com/s/crimsontext/v6/rEy5tGc5HdXy56Xvd4f3I2v8CylhIUtwUiYO7Z2wXbE.ttf",
3094
+ "600italic": "http://fonts.gstatic.com/s/crimsontext/v6/4j4TR-EfnvCt43InYpUNDIR-5-urNOGAobhAyctHvW8.ttf",
3095
+ "700": "http://fonts.gstatic.com/s/crimsontext/v6/rEy5tGc5HdXy56Xvd4f3I0D2ttfZwueP-QU272T9-k4.ttf",
3096
+ "700italic": "http://fonts.gstatic.com/s/crimsontext/v6/4j4TR-EfnvCt43InYpUNDPAs9-1nE9qOqhChW0m4nDE.ttf"
3097
+ }
3098
+ },
3099
+ {
3100
+ "kind": "webfonts#webfont",
3101
+ "family": "Croissant One",
3102
+ "category": "display",
3103
+ "variants": [
3104
+ "regular"
3105
+ ],
3106
+ "subsets": [
3107
+ "latin",
3108
+ "latin-ext"
3109
+ ],
3110
+ "version": "v4",
3111
+ "lastModified": "2016-04-25",
3112
+ "files": {
3113
+ "regular": "http://fonts.gstatic.com/s/croissantone/v4/mPjsOObnC77fp1cvZlOfIYjjx0o0jr6fNXxPgYh_a8Q.ttf"
3114
+ }
3115
+ },
3116
+ {
3117
+ "kind": "webfonts#webfont",
3118
+ "family": "Crushed",
3119
+ "category": "display",
3120
+ "variants": [
3121
+ "regular"
3122
+ ],
3123
+ "subsets": [
3124
+ "latin"
3125
+ ],
3126
+ "version": "v6",
3127
+ "lastModified": "2016-04-25",
3128
+ "files": {
3129
+ "regular": "http://fonts.gstatic.com/s/crushed/v6/aHwSejs3Kt0Lg95u7j32jA.ttf"
3130
+ }
3131
+ },
3132
+ {
3133
+ "kind": "webfonts#webfont",
3134
+ "family": "Cuprum",
3135
+ "category": "sans-serif",
3136
+ "variants": [
3137
+ "regular",
3138
+ "italic",
3139
+ "700",
3140
+ "700italic"
3141
+ ],
3142
+ "subsets": [
3143
+ "latin",
3144
+ "latin-ext",
3145
+ "cyrillic"
3146
+ ],
3147
+ "version": "v7",
3148
+ "lastModified": "2016-04-25",
3149
+ "files": {
3150
+ "regular": "http://fonts.gstatic.com/s/cuprum/v7/JgXs0F_UiaEdAS74msmFNg.ttf",
3151
+ "italic": "http://fonts.gstatic.com/s/cuprum/v7/cLEz0KV6OxInnktSzpk58g.ttf",
3152
+ "700": "http://fonts.gstatic.com/s/cuprum/v7/6tl3_FkDeXSD72oEHuJh4w.ttf",
3153
+ "700italic": "http://fonts.gstatic.com/s/cuprum/v7/bnkXaBfoYvaJ75axRPSwVKCWcynf_cDxXwCLxiixG1c.ttf"
3154
+ }
3155
+ },
3156
+ {
3157
+ "kind": "webfonts#webfont",
3158
+ "family": "Cutive",
3159
+ "category": "serif",
3160
+ "variants": [
3161
+ "regular"
3162
+ ],
3163
+ "subsets": [
3164
+ "latin",
3165
+ "latin-ext"
3166
+ ],
3167
+ "version": "v8",
3168
+ "lastModified": "2016-04-25",
3169
+ "files": {
3170
+ "regular": "http://fonts.gstatic.com/s/cutive/v8/G2bW-ImyOCwKxBkLyz39YQ.ttf"
3171
+ }
3172
+ },
3173
+ {
3174
+ "kind": "webfonts#webfont",
3175
+ "family": "Cutive Mono",
3176
+ "category": "monospace",
3177
+ "variants": [
3178
+ "regular"
3179
+ ],
3180
+ "subsets": [
3181
+ "latin",
3182
+ "latin-ext"
3183
+ ],
3184
+ "version": "v4",
3185
+ "lastModified": "2016-04-25",
3186
+ "files": {
3187
+ "regular": "http://fonts.gstatic.com/s/cutivemono/v4/ncWQtFVKcSs8OW798v30k6CWcynf_cDxXwCLxiixG1c.ttf"
3188
+ }
3189
+ },
3190
+ {
3191
+ "kind": "webfonts#webfont",
3192
+ "family": "Damion",
3193
+ "category": "handwriting",
3194
+ "variants": [
3195
+ "regular"
3196
+ ],
3197
+ "subsets": [
3198
+ "latin"
3199
+ ],
3200
+ "version": "v6",
3201
+ "lastModified": "2016-04-25",
3202
+ "files": {
3203
+ "regular": "http://fonts.gstatic.com/s/damion/v6/13XtECwKxhD_VrOqXL4SiA.ttf"
3204
+ }
3205
+ },
3206
+ {
3207
+ "kind": "webfonts#webfont",
3208
+ "family": "Dancing Script",
3209
+ "category": "handwriting",
3210
+ "variants": [
3211
+ "regular",
3212
+ "700"
3213
+ ],
3214
+ "subsets": [
3215
+ "latin"
3216
+ ],
3217
+ "version": "v6",
3218
+ "lastModified": "2016-04-25",
3219
+ "files": {
3220
+ "regular": "http://fonts.gstatic.com/s/dancingscript/v6/DK0eTGXiZjN6yA8zAEyM2RnpV0hQCek3EmWnCPrvGRM.ttf",
3221
+ "700": "http://fonts.gstatic.com/s/dancingscript/v6/KGBfwabt0ZRLA5W1ywjowb_dAmXiKjTPGCuO6G2MbfA.ttf"
3222
+ }
3223
+ },
3224
+ {
3225
+ "kind": "webfonts#webfont",
3226
+ "family": "Dangrek",
3227
+ "category": "display",
3228
+ "variants": [
3229
+ "regular"
3230
+ ],
3231
+ "subsets": [
3232
+ "khmer"
3233
+ ],
3234
+ "version": "v8",
3235
+ "lastModified": "2016-04-25",
3236
+ "files": {
3237
+ "regular": "http://fonts.gstatic.com/s/dangrek/v8/LOaFhBT-EHNxZjV8DAW_ew.ttf"
3238
+ }
3239
+ },
3240
+ {
3241
+ "kind": "webfonts#webfont",
3242
+ "family": "Dawning of a New Day",
3243
+ "category": "handwriting",
3244
+ "variants": [
3245
+ "regular"
3246
+ ],
3247
+ "subsets": [
3248
+ "latin"
3249
+ ],
3250
+ "version": "v7",
3251
+ "lastModified": "2016-04-25",
3252
+ "files": {
3253
+ "regular": "http://fonts.gstatic.com/s/dawningofanewday/v7/JiDsRhiKZt8uz3NJ5xA06gXLnohmOYWQZqo_sW8GLTk.ttf"
3254
+ }
3255
+ },
3256
+ {
3257
+ "kind": "webfonts#webfont",
3258
+ "family": "Days One",
3259
+ "category": "sans-serif",
3260
+ "variants": [
3261
+ "regular"
3262
+ ],
3263
+ "subsets": [
3264
+ "latin"
3265
+ ],
3266
+ "version": "v6",
3267
+ "lastModified": "2016-04-25",
3268
+ "files": {
3269
+ "regular": "http://fonts.gstatic.com/s/daysone/v6/kzwZjNhc1iabMsrc_hKBIA.ttf"
3270
+ }
3271
+ },
3272
+ {
3273
+ "kind": "webfonts#webfont",
3274
+ "family": "Dekko",
3275
+ "category": "handwriting",
3276
+ "variants": [
3277
+ "regular"
3278
+ ],
3279
+ "subsets": [
3280
+ "latin",
3281
+ "devanagari",
3282
+ "latin-ext"
3283
+ ],
3284
+ "version": "v2",
3285
+ "lastModified": "2016-04-25",
3286
+ "files": {
3287
+ "regular": "http://fonts.gstatic.com/s/dekko/v2/AKtgABKC1rUxgIgS-bpojw.ttf"
3288
+ }
3289
+ },
3290
+ {
3291
+ "kind": "webfonts#webfont",
3292
+ "family": "Delius",
3293
+ "category": "handwriting",
3294
+ "variants": [
3295
+ "regular"
3296
+ ],
3297
+ "subsets": [
3298
+ "latin"
3299
+ ],
3300
+ "version": "v6",
3301
+ "lastModified": "2016-04-25",
3302
+ "files": {
3303
+ "regular": "http://fonts.gstatic.com/s/delius/v6/TQA163qafki2-gV-B6F_ag.ttf"
3304
+ }
3305
+ },
3306
+ {
3307
+ "kind": "webfonts#webfont",
3308
+ "family": "Delius Swash Caps",
3309
+ "category": "handwriting",
3310
+ "variants": [
3311
+ "regular"
3312
+ ],
3313
+ "subsets": [
3314
+ "latin"
3315
+ ],
3316
+ "version": "v8",
3317
+ "lastModified": "2016-04-25",
3318
+ "files": {
3319
+ "regular": "http://fonts.gstatic.com/s/deliusswashcaps/v8/uXyrEUnoWApxIOICunRq7yIrxb5zDVgU2N3VzXm7zq4.ttf"
3320
+ }
3321
+ },
3322
+ {
3323
+ "kind": "webfonts#webfont",
3324
+ "family": "Delius Unicase",
3325
+ "category": "handwriting",
3326
+ "variants": [
3327
+ "regular",
3328
+ "700"
3329
+ ],
3330
+ "subsets": [
3331
+ "latin"
3332
+ ],
3333
+ "version": "v9",
3334
+ "lastModified": "2016-04-25",
3335
+ "files": {
3336
+ "regular": "http://fonts.gstatic.com/s/deliusunicase/v9/b2sKujV3Q48RV2PQ0k1vqu6rPKfVZo7L2bERcf0BDns.ttf",
3337
+ "700": "http://fonts.gstatic.com/s/deliusunicase/v9/7FTMTITcb4dxUp99FAdTqNy5weKXdcrx-wE0cgECMq8.ttf"
3338
+ }
3339
+ },
3340
+ {
3341
+ "kind": "webfonts#webfont",
3342
+ "family": "Della Respira",
3343
+ "category": "serif",
3344
+ "variants": [
3345
+ "regular"
3346
+ ],
3347
+ "subsets": [
3348
+ "latin"
3349
+ ],
3350
+ "version": "v4",
3351
+ "lastModified": "2016-04-25",
3352
+ "files": {
3353
+ "regular": "http://fonts.gstatic.com/s/dellarespira/v4/F4E6Lo_IZ6L9AJCcbqtDVeDcg5akpSnIcsPhLOFv7l8.ttf"
3354
+ }
3355
+ },
3356
+ {
3357
+ "kind": "webfonts#webfont",
3358
+ "family": "Denk One",
3359
+ "category": "sans-serif",
3360
+ "variants": [
3361
+ "regular"
3362
+ ],
3363
+ "subsets": [
3364
+ "latin",
3365
+ "latin-ext"
3366
+ ],
3367
+ "version": "v4",
3368
+ "lastModified": "2016-04-25",
3369
+ "files": {
3370
+ "regular": "http://fonts.gstatic.com/s/denkone/v4/TdXOeA4eA_hEx4W8Sh9wPw.ttf"
3371
+ }
3372
+ },
3373
+ {
3374
+ "kind": "webfonts#webfont",
3375
+ "family": "Devonshire",
3376
+ "category": "handwriting",
3377
+ "variants": [
3378
+ "regular"
3379
+ ],
3380
+ "subsets": [
3381
+ "latin",
3382
+ "latin-ext"
3383
+ ],
3384
+ "version": "v5",
3385
+ "lastModified": "2016-04-25",
3386
+ "files": {
3387
+ "regular": "http://fonts.gstatic.com/s/devonshire/v5/I3ct_2t12SYizP8ZC-KFi_esZW2xOQ-xsNqO47m55DA.ttf"
3388
+ }
3389
+ },
3390
+ {
3391
+ "kind": "webfonts#webfont",
3392
+ "family": "Dhurjati",
3393
+ "category": "sans-serif",
3394
+ "variants": [
3395
+ "regular"
3396
+ ],
3397
+ "subsets": [
3398
+ "latin",
3399
+ "telugu"
3400
+ ],
3401
+ "version": "v4",
3402
+ "lastModified": "2016-04-25",
3403
+ "files": {
3404
+ "regular": "http://fonts.gstatic.com/s/dhurjati/v4/uV6jO5e2iFMbGB0z79Cy5g.ttf"
3405
+ }
3406
+ },
3407
+ {
3408
+ "kind": "webfonts#webfont",
3409
+ "family": "Didact Gothic",
3410
+ "category": "sans-serif",
3411
+ "variants": [
3412
+ "regular"
3413
+ ],
3414
+ "subsets": [
3415
+ "latin",
3416
+ "greek",
3417
+ "latin-ext",
3418
+ "cyrillic-ext",
3419
+ "greek-ext",
3420
+ "cyrillic"
3421
+ ],
3422
+ "version": "v7",
3423
+ "lastModified": "2016-04-25",
3424
+ "files": {
3425
+ "regular": "http://fonts.gstatic.com/s/didactgothic/v7/v8_72sD3DYMKyM0dn3LtWotBLojGU5Qdl8-5NL4v70w.ttf"
3426
+ }
3427
+ },
3428
+ {
3429
+ "kind": "webfonts#webfont",
3430
+ "family": "Diplomata",
3431
+ "category": "display",
3432
+ "variants": [
3433
+ "regular"
3434
+ ],
3435
+ "subsets": [
3436
+ "latin",
3437
+ "latin-ext"
3438
+ ],
3439
+ "version": "v8",
3440
+ "lastModified": "2016-04-25",
3441
+ "files": {
3442
+ "regular": "http://fonts.gstatic.com/s/diplomata/v8/u-ByBiKgN6rTMA36H3kcKg.ttf"
3443
+ }
3444
+ },
3445
+ {
3446
+ "kind": "webfonts#webfont",
3447
+ "family": "Diplomata SC",
3448
+ "category": "display",
3449
+ "variants": [
3450
+ "regular"
3451
+ ],
3452
+ "subsets": [
3453
+ "latin",
3454
+ "latin-ext"
3455
+ ],
3456
+ "version": "v5",
3457
+ "lastModified": "2016-04-25",
3458
+ "files": {
3459
+ "regular": "http://fonts.gstatic.com/s/diplomatasc/v5/JdVwAwfE1a_pahXjk5qpNi3USBnSvpkopQaUR-2r7iU.ttf"
3460
+ }
3461
+ },
3462
+ {
3463
+ "kind": "webfonts#webfont",
3464
+ "family": "Domine",
3465
+ "category": "serif",
3466
+ "variants": [
3467
+ "regular",
3468
+ "700"
3469
+ ],
3470
+ "subsets": [
3471
+ "latin",
3472
+ "latin-ext"
3473
+ ],
3474
+ "version": "v4",
3475
+ "lastModified": "2016-04-25",
3476
+ "files": {
3477
+ "regular": "http://fonts.gstatic.com/s/domine/v4/wfVIgamVFjMNQAEWurCiHA.ttf",
3478
+ "700": "http://fonts.gstatic.com/s/domine/v4/phBcG1ZbQFxUIt18hPVxnw.ttf"
3479
+ }
3480
+ },
3481
+ {
3482
+ "kind": "webfonts#webfont",
3483
+ "family": "Donegal One",
3484
+ "category": "serif",
3485
+ "variants": [
3486
+ "regular"
3487
+ ],
3488
+ "subsets": [
3489
+ "latin",
3490
+ "latin-ext"
3491
+ ],
3492
+ "version": "v4",
3493
+ "lastModified": "2016-04-25",
3494
+ "files": {
3495
+ "regular": "http://fonts.gstatic.com/s/donegalone/v4/6kN4-fDxz7T9s5U61HwfF6CWcynf_cDxXwCLxiixG1c.ttf"
3496
+ }
3497
+ },
3498
+ {
3499
+ "kind": "webfonts#webfont",
3500
+ "family": "Doppio One",
3501
+ "category": "sans-serif",
3502
+ "variants": [
3503
+ "regular"
3504
+ ],
3505
+ "subsets": [
3506
+ "latin",
3507
+ "latin-ext"
3508
+ ],
3509
+ "version": "v4",
3510
+ "lastModified": "2016-04-25",
3511
+ "files": {
3512
+ "regular": "http://fonts.gstatic.com/s/doppioone/v4/WHZ3HJQotpk_4aSMNBo_t_esZW2xOQ-xsNqO47m55DA.ttf"
3513
+ }
3514
+ },
3515
+ {
3516
+ "kind": "webfonts#webfont",
3517
+ "family": "Dorsa",
3518
+ "category": "sans-serif",
3519
+ "variants": [
3520
+ "regular"
3521
+ ],
3522
+ "subsets": [
3523
+ "latin"
3524
+ ],
3525
+ "version": "v7",
3526
+ "lastModified": "2016-04-25",
3527
+ "files": {
3528
+ "regular": "http://fonts.gstatic.com/s/dorsa/v7/wCc3cUe6XrmG2LQE6GlIrw.ttf"
3529
+ }
3530
+ },
3531
+ {
3532
+ "kind": "webfonts#webfont",
3533
+ "family": "Dosis",
3534
+ "category": "sans-serif",
3535
+ "variants": [
3536
+ "200",
3537
+ "300",
3538
+ "regular",
3539
+ "500",
3540
+ "600",
3541
+ "700",
3542
+ "800"
3543
+ ],
3544
+ "subsets": [
3545
+ "latin",
3546
+ "latin-ext"
3547
+ ],
3548
+ "version": "v4",
3549
+ "lastModified": "2016-04-25",
3550
+ "files": {
3551
+ "200": "http://fonts.gstatic.com/s/dosis/v4/ztftab0r6hcd7AeurUGrSQ.ttf",
3552
+ "300": "http://fonts.gstatic.com/s/dosis/v4/awIB6L0h5mb0plIKorXmuA.ttf",
3553
+ "regular": "http://fonts.gstatic.com/s/dosis/v4/rJRlixu-w0JZ1MyhJpao_Q.ttf",
3554
+ "500": "http://fonts.gstatic.com/s/dosis/v4/ruEXDOFMxDPGnjCBKRqdAQ.ttf",
3555
+ "600": "http://fonts.gstatic.com/s/dosis/v4/KNAswRNwm3tfONddYyidxg.ttf",
3556
+ "700": "http://fonts.gstatic.com/s/dosis/v4/AEEAj0ONidK8NQQMBBlSig.ttf",
3557
+ "800": "http://fonts.gstatic.com/s/dosis/v4/nlrKd8E69vvUU39XGsvR7Q.ttf"
3558
+ }
3559
+ },
3560
+ {
3561
+ "kind": "webfonts#webfont",
3562
+ "family": "Dr Sugiyama",
3563
+ "category": "handwriting",
3564
+ "variants": [
3565
+ "regular"
3566
+ ],
3567
+ "subsets": [
3568
+ "latin",
3569
+ "latin-ext"
3570
+ ],
3571
+ "version": "v5",
3572
+ "lastModified": "2016-04-25",
3573
+ "files": {
3574
+ "regular": "http://fonts.gstatic.com/s/drsugiyama/v5/S5Yx3MIckgoyHhhS4C9Tv6CWcynf_cDxXwCLxiixG1c.ttf"
3575
+ }
3576
+ },
3577
+ {
3578
+ "kind": "webfonts#webfont",
3579
+ "family": "Droid Sans",
3580
+ "category": "sans-serif",
3581
+ "variants": [
3582
+ "regular",
3583
+ "700"
3584
+ ],
3585
+ "subsets": [
3586
+ "latin"
3587
+ ],
3588
+ "version": "v6",
3589
+ "lastModified": "2016-04-25",
3590
+ "files": {
3591
+ "regular": "http://fonts.gstatic.com/s/droidsans/v6/rS9BT6-asrfjpkcV3DXf__esZW2xOQ-xsNqO47m55DA.ttf",
3592
+ "700": "http://fonts.gstatic.com/s/droidsans/v6/EFpQQyG9GqCrobXxL-KRMQJKKGfqHaYFsRG-T3ceEVo.ttf"
3593
+ }
3594
+ },
3595
+ {
3596
+ "kind": "webfonts#webfont",
3597
+ "family": "Droid Sans Mono",
3598
+ "category": "monospace",
3599
+ "variants": [
3600
+ "regular"
3601
+ ],
3602
+ "subsets": [
3603
+ "latin"
3604
+ ],
3605
+ "version": "v7",
3606
+ "lastModified": "2016-04-25",
3607
+ "files": {
3608
+ "regular": "http://fonts.gstatic.com/s/droidsansmono/v7/ns-m2xQYezAtqh7ai59hJcwD6PD0c3_abh9zHKQtbGU.ttf"
3609
+ }
3610
+ },
3611
+ {
3612
+ "kind": "webfonts#webfont",
3613
+ "family": "Droid Serif",
3614
+ "category": "serif",
3615
+ "variants": [
3616
+ "regular",
3617
+ "italic",
3618
+ "700",
3619
+ "700italic"
3620
+ ],
3621
+ "subsets": [
3622
+ "latin"
3623
+ ],
3624
+ "version": "v6",
3625
+ "lastModified": "2016-04-25",
3626
+ "files": {
3627
+ "regular": "http://fonts.gstatic.com/s/droidserif/v6/DgAtPy6rIVa2Zx3Xh9KaNaCWcynf_cDxXwCLxiixG1c.ttf",
3628
+ "italic": "http://fonts.gstatic.com/s/droidserif/v6/cj2hUnSRBhwmSPr9kS5890eOrDcLawS7-ssYqLr2Xp4.ttf",
3629
+ "700": "http://fonts.gstatic.com/s/droidserif/v6/QQt14e8dY39u-eYBZmppwXe1Pd76Vl7zRpE7NLJQ7XU.ttf",
3630
+ "700italic": "http://fonts.gstatic.com/s/droidserif/v6/c92rD_x0V1LslSFt3-QEps_zJjSACmk0BRPxQqhnNLU.ttf"
3631
+ }
3632
+ },
3633
+ {
3634
+ "kind": "webfonts#webfont",
3635
+ "family": "Duru Sans",
3636
+ "category": "sans-serif",
3637
+ "variants": [
3638
+ "regular"
3639
+ ],
3640
+ "subsets": [
3641
+ "latin",
3642
+ "latin-ext"
3643
+ ],
3644
+ "version": "v9",
3645
+ "lastModified": "2016-04-25",
3646
+ "files": {
3647
+ "regular": "http://fonts.gstatic.com/s/durusans/v9/xn7iYH8xwmSyTvEV_HOxTw.ttf"
3648
+ }
3649
+ },
3650
+ {
3651
+ "kind": "webfonts#webfont",
3652
+ "family": "Dynalight",
3653
+ "category": "display",
3654
+ "variants": [
3655
+ "regular"
3656
+ ],
3657
+ "subsets": [
3658
+ "latin",
3659
+ "latin-ext"
3660
+ ],
3661
+ "version": "v5",
3662
+ "lastModified": "2016-04-25",
3663
+ "files": {
3664
+ "regular": "http://fonts.gstatic.com/s/dynalight/v5/-CWsIe8OUDWTIHjSAh41kA.ttf"
3665
+ }
3666
+ },
3667
+ {
3668
+ "kind": "webfonts#webfont",
3669
+ "family": "EB Garamond",
3670
+ "category": "serif",
3671
+ "variants": [
3672
+ "regular"
3673
+ ],
3674
+ "subsets": [
3675
+ "latin",
3676
+ "latin-ext",
3677
+ "cyrillic-ext",
3678
+ "vietnamese",
3679
+ "cyrillic"
3680
+ ],
3681
+ "version": "v7",
3682
+ "lastModified": "2016-04-25",
3683
+ "files": {
3684
+ "regular": "http://fonts.gstatic.com/s/ebgaramond/v7/CDR0kuiFK7I1OZ2hSdR7G6CWcynf_cDxXwCLxiixG1c.ttf"
3685
+ }
3686
+ },
3687
+ {
3688
+ "kind": "webfonts#webfont",
3689
+ "family": "Eagle Lake",
3690
+ "category": "handwriting",
3691
+ "variants": [
3692
+ "regular"
3693
+ ],
3694
+ "subsets": [
3695
+ "latin",
3696
+ "latin-ext"
3697
+ ],
3698
+ "version": "v4",
3699
+ "lastModified": "2016-04-25",
3700
+ "files": {
3701
+ "regular": "http://fonts.gstatic.com/s/eaglelake/v4/ZKlYin7caemhx9eSg6RvPfesZW2xOQ-xsNqO47m55DA.ttf"
3702
+ }
3703
+ },
3704
+ {
3705
+ "kind": "webfonts#webfont",
3706
+ "family": "Eater",
3707
+ "category": "display",
3708
+ "variants": [
3709
+ "regular"
3710
+ ],
3711
+ "subsets": [
3712
+ "latin",
3713
+ "latin-ext"
3714
+ ],
3715
+ "version": "v5",
3716
+ "lastModified": "2016-04-25",
3717
+ "files": {
3718
+ "regular": "http://fonts.gstatic.com/s/eater/v5/gm6f3OmYEdbs3lPQtUfBkA.ttf"
3719
+ }
3720
+ },
3721
+ {
3722
+ "kind": "webfonts#webfont",
3723
+ "family": "Economica",
3724
+ "category": "sans-serif",
3725
+ "variants": [
3726
+ "regular",
3727
+ "italic",
3728
+ "700",
3729
+ "700italic"
3730
+ ],
3731
+ "subsets": [
3732
+ "latin",
3733
+ "latin-ext"
3734
+ ],
3735
+ "version": "v4",
3736
+ "lastModified": "2016-04-25",
3737
+ "files": {
3738
+ "regular": "http://fonts.gstatic.com/s/economica/v4/G4rJRujzZbq9Nxngu9l3hg.ttf",
3739
+ "italic": "http://fonts.gstatic.com/s/economica/v4/p5O9AVeUqx_n35xQRinNYaCWcynf_cDxXwCLxiixG1c.ttf",
3740
+ "700": "http://fonts.gstatic.com/s/economica/v4/UK4l2VEpwjv3gdcwbwXE9C3USBnSvpkopQaUR-2r7iU.ttf",
3741
+ "700italic": "http://fonts.gstatic.com/s/economica/v4/ac5dlUsedQ03RqGOeay-3Xe1Pd76Vl7zRpE7NLJQ7XU.ttf"
3742
+ }
3743
+ },
3744
+ {
3745
+ "kind": "webfonts#webfont",
3746
+ "family": "Eczar",
3747
+ "category": "serif",
3748
+ "variants": [
3749
+ "regular",
3750
+ "500",
3751
+ "600",
3752
+ "700",
3753
+ "800"
3754
+ ],
3755
+ "subsets": [
3756
+ "latin",
3757
+ "devanagari",
3758
+ "latin-ext"
3759
+ ],
3760
+ "version": "v4",
3761
+ "lastModified": "2016-04-25",
3762
+ "files": {
3763
+ "regular": "http://fonts.gstatic.com/s/eczar/v4/uKZcAQ5JBBs1UbeXFRbBRg.ttf",
3764
+ "500": "http://fonts.gstatic.com/s/eczar/v4/Ooe4KaPp2594tF8TbMfdlQ.ttf",
3765
+ "600": "http://fonts.gstatic.com/s/eczar/v4/IjQsWW0bmgkZ6lnN72cnTQ.ttf",
3766
+ "700": "http://fonts.gstatic.com/s/eczar/v4/ELC8RVXfBMb3VuuHtMwBOA.ttf",
3767
+ "800": "http://fonts.gstatic.com/s/eczar/v4/9Uyt6nTZLx_Qj5_WRah-iQ.ttf"
3768
+ }
3769
+ },
3770
+ {
3771
+ "kind": "webfonts#webfont",
3772
+ "family": "Ek Mukta",
3773
+ "category": "sans-serif",
3774
+ "variants": [
3775
+ "200",
3776
+ "300",
3777
+ "regular",
3778
+ "500",
3779
+ "600",
3780
+ "700",
3781
+ "800"
3782
+ ],
3783
+ "subsets": [
3784
+ "latin",
3785
+ "devanagari",
3786
+ "latin-ext"
3787
+ ],
3788
+ "version": "v7",
3789
+ "lastModified": "2016-04-25",
3790
+ "files": {
3791
+ "200": "http://fonts.gstatic.com/s/ekmukta/v7/crtkNHh5JcM3VJKG0E-B36CWcynf_cDxXwCLxiixG1c.ttf",
3792
+ "300": "http://fonts.gstatic.com/s/ekmukta/v7/mpaAv7CIyk0VnZlqSneVxKCWcynf_cDxXwCLxiixG1c.ttf",
3793
+ "regular": "http://fonts.gstatic.com/s/ekmukta/v7/aFcjXdC5jyJ1p8w54wIIrg.ttf",
3794
+ "500": "http://fonts.gstatic.com/s/ekmukta/v7/PZ1y2MstFczWvBlFSgzMyaCWcynf_cDxXwCLxiixG1c.ttf",
3795
+ "600": "http://fonts.gstatic.com/s/ekmukta/v7/Z5Mfzeu6M3emakcJO2QeTqCWcynf_cDxXwCLxiixG1c.ttf",
3796
+ "700": "http://fonts.gstatic.com/s/ekmukta/v7/4ugcOGR28Jn-oBIn0-qLYaCWcynf_cDxXwCLxiixG1c.ttf",
3797
+ "800": "http://fonts.gstatic.com/s/ekmukta/v7/O68TH5OjEhVmn9_gIrcfS6CWcynf_cDxXwCLxiixG1c.ttf"
3798
+ }
3799
+ },
3800
+ {
3801
+ "kind": "webfonts#webfont",
3802
+ "family": "Electrolize",
3803
+ "category": "sans-serif",
3804
+ "variants": [
3805
+ "regular"
3806
+ ],
3807
+ "subsets": [
3808
+ "latin"
3809
+ ],
3810
+ "version": "v5",
3811
+ "lastModified": "2016-04-25",
3812
+ "files": {
3813
+ "regular": "http://fonts.gstatic.com/s/electrolize/v5/yFVu5iokC-nt4B1Cyfxb9aCWcynf_cDxXwCLxiixG1c.ttf"
3814
+ }
3815
+ },
3816
+ {
3817
+ "kind": "webfonts#webfont",
3818
+ "family": "Elsie",
3819
+ "category": "display",
3820
+ "variants": [
3821
+ "regular",
3822
+ "900"
3823
+ ],
3824
+ "subsets": [
3825
+ "latin",
3826
+ "latin-ext"
3827
+ ],
3828
+ "version": "v5",
3829
+ "lastModified": "2016-04-25",
3830
+ "files": {
3831
+ "regular": "http://fonts.gstatic.com/s/elsie/v5/gwspePauE45BJu6Ok1QrfQ.ttf",
3832
+ "900": "http://fonts.gstatic.com/s/elsie/v5/1t-9f0N2NFYwAgN7oaISqg.ttf"
3833
+ }
3834
+ },
3835
+ {
3836
+ "kind": "webfonts#webfont",
3837
+ "family": "Elsie Swash Caps",
3838
+ "category": "display",
3839
+ "variants": [
3840
+ "regular",
3841
+ "900"
3842
+ ],
3843
+ "subsets": [
3844
+ "latin",
3845
+ "latin-ext"
3846
+ ],
3847
+ "version": "v4",
3848
+ "lastModified": "2016-04-25",
3849
+ "files": {
3850
+ "regular": "http://fonts.gstatic.com/s/elsieswashcaps/v4/9L3hIJMPCf6sxCltnxd6X2YeFSdnSpRYv5h9gpdlD1g.ttf",
3851
+ "900": "http://fonts.gstatic.com/s/elsieswashcaps/v4/iZnus9qif0tR5pGaDv5zdKoKBWBozTtxi30NfZDOXXU.ttf"
3852
+ }
3853
+ },
3854
+ {
3855
+ "kind": "webfonts#webfont",
3856
+ "family": "Emblema One",
3857
+ "category": "display",
3858
+ "variants": [
3859
+ "regular"
3860
+ ],
3861
+ "subsets": [
3862
+ "latin",
3863
+ "latin-ext"
3864
+ ],
3865
+ "version": "v5",
3866
+ "lastModified": "2016-04-25",
3867
+ "files": {
3868
+ "regular": "http://fonts.gstatic.com/s/emblemaone/v5/7IlBUjBWPIiw7cr_O2IfSaCWcynf_cDxXwCLxiixG1c.ttf"
3869
+ }
3870
+ },
3871
+ {
3872
+ "kind": "webfonts#webfont",
3873
+ "family": "Emilys Candy",
3874
+ "category": "display",
3875
+ "variants": [
3876
+ "regular"
3877
+ ],
3878
+ "subsets": [
3879
+ "latin",
3880
+ "latin-ext"
3881
+ ],
3882
+ "version": "v4",
3883
+ "lastModified": "2016-04-25",
3884
+ "files": {
3885
+ "regular": "http://fonts.gstatic.com/s/emilyscandy/v4/PofLVm6v1SwZGOzC8s-I3S3USBnSvpkopQaUR-2r7iU.ttf"
3886
+ }
3887
+ },
3888
+ {
3889
+ "kind": "webfonts#webfont",
3890
+ "family": "Engagement",
3891
+ "category": "handwriting",
3892
+ "variants": [
3893
+ "regular"
3894
+ ],
3895
+ "subsets": [
3896
+ "latin"
3897
+ ],
3898
+ "version": "v5",
3899
+ "lastModified": "2016-04-25",
3900
+ "files": {
3901
+ "regular": "http://fonts.gstatic.com/s/engagement/v5/4Uz0Jii7oVPcaFRYmbpU6vesZW2xOQ-xsNqO47m55DA.ttf"
3902
+ }
3903
+ },
3904
+ {
3905
+ "kind": "webfonts#webfont",
3906
+ "family": "Englebert",
3907
+ "category": "sans-serif",
3908
+ "variants": [
3909
+ "regular"
3910
+ ],
3911
+ "subsets": [
3912
+ "latin",
3913
+ "latin-ext"
3914
+ ],
3915
+ "version": "v4",
3916
+ "lastModified": "2016-04-25",
3917
+ "files": {
3918
+ "regular": "http://fonts.gstatic.com/s/englebert/v4/sll38iOvOuarDTYBchlP3Q.ttf"
3919
+ }
3920
+ },
3921
+ {
3922
+ "kind": "webfonts#webfont",
3923
+ "family": "Enriqueta",
3924
+ "category": "serif",
3925
+ "variants": [
3926
+ "regular",
3927
+ "700"
3928
+ ],
3929
+ "subsets": [
3930
+ "latin",
3931
+ "latin-ext"
3932
+ ],
3933
+ "version": "v5",
3934
+ "lastModified": "2016-04-25",
3935
+ "files": {
3936
+ "regular": "http://fonts.gstatic.com/s/enriqueta/v5/_p90TrIwR1SC-vDKtmrv6A.ttf",
3937
+ "700": "http://fonts.gstatic.com/s/enriqueta/v5/I27Pb-wEGH2ajLYP0QrtSC3USBnSvpkopQaUR-2r7iU.ttf"
3938
+ }
3939
+ },
3940
+ {
3941
+ "kind": "webfonts#webfont",
3942
+ "family": "Erica One",
3943
+ "category": "display",
3944
+ "variants": [
3945
+ "regular"
3946
+ ],
3947
+ "subsets": [
3948
+ "latin",
3949
+ "latin-ext"
3950
+ ],
3951
+ "version": "v7",
3952
+ "lastModified": "2016-04-25",
3953
+ "files": {
3954
+ "regular": "http://fonts.gstatic.com/s/ericaone/v7/cIBnH2VAqQMIGYAcE4ufvQ.ttf"
3955
+ }
3956
+ },
3957
+ {
3958
+ "kind": "webfonts#webfont",
3959
+ "family": "Esteban",
3960
+ "category": "serif",
3961
+ "variants": [
3962
+ "regular"
3963
+ ],
3964
+ "subsets": [
3965
+ "latin",
3966
+ "latin-ext"
3967
+ ],
3968
+ "version": "v4",
3969
+ "lastModified": "2016-04-25",
3970
+ "files": {
3971
+ "regular": "http://fonts.gstatic.com/s/esteban/v4/ESyhLgqDDyK5JcFPp2svDw.ttf"
3972
+ }
3973
+ },
3974
+ {
3975
+ "kind": "webfonts#webfont",
3976
+ "family": "Euphoria Script",
3977
+ "category": "handwriting",
3978
+ "variants": [
3979
+ "regular"
3980
+ ],
3981
+ "subsets": [
3982
+ "latin",
3983
+ "latin-ext"
3984
+ ],
3985
+ "version": "v4",
3986
+ "lastModified": "2016-04-25",
3987
+ "files": {
3988
+ "regular": "http://fonts.gstatic.com/s/euphoriascript/v4/c4XB4Iijj_NvSsCF4I0O2MxLhO8OSNnfAp53LK1_iRs.ttf"
3989
+ }
3990
+ },
3991
+ {
3992
+ "kind": "webfonts#webfont",
3993
+ "family": "Ewert",
3994
+ "category": "display",
3995
+ "variants": [
3996
+ "regular"
3997
+ ],
3998
+ "subsets": [
3999
+ "latin",
4000
+ "latin-ext"
4001
+ ],
4002
+ "version": "v4",
4003
+ "lastModified": "2016-04-25",
4004
+ "files": {
4005
+ "regular": "http://fonts.gstatic.com/s/ewert/v4/Em8hrzuzSbfHcTVqMjbAQg.ttf"
4006
+ }
4007
+ },
4008
+ {
4009
+ "kind": "webfonts#webfont",
4010
+ "family": "Exo",
4011
+ "category": "sans-serif",
4012
+ "variants": [
4013
+ "100",
4014
+ "100italic",
4015
+ "200",
4016
+ "200italic",
4017
+ "300",
4018
+ "300italic",
4019
+ "regular",
4020
+ "italic",
4021
+ "500",
4022
+ "500italic",
4023
+ "600",
4024
+ "600italic",
4025
+ "700",
4026
+ "700italic",
4027
+ "800",
4028
+ "800italic",
4029
+ "900",
4030
+ "900italic"
4031
+ ],
4032
+ "subsets": [
4033
+ "latin",
4034
+ "latin-ext"
4035
+ ],
4036
+ "version": "v4",
4037
+ "lastModified": "2016-04-25",
4038
+ "files": {
4039
+ "100": "http://fonts.gstatic.com/s/exo/v4/RI7A9uwjRmPbVp0n8e-Jvg.ttf",
4040
+ "100italic": "http://fonts.gstatic.com/s/exo/v4/qtGyZZlWb2EEvby3ZPosxw.ttf",
4041
+ "200": "http://fonts.gstatic.com/s/exo/v4/F8OfC_swrRRxpFt-tlXZQg.ttf",
4042
+ "200italic": "http://fonts.gstatic.com/s/exo/v4/fr4HBfXHYiIngW2_bhlgRw.ttf",
4043
+ "300": "http://fonts.gstatic.com/s/exo/v4/SBrN7TKUqgGUvfxqHqsnNw.ttf",
4044
+ "300italic": "http://fonts.gstatic.com/s/exo/v4/3gmiLjBegIfcDLISjTGA1g.ttf",
4045
+ "regular": "http://fonts.gstatic.com/s/exo/v4/eUEzTFueNXRVhbt4PEB8kQ.ttf",
4046
+ "italic": "http://fonts.gstatic.com/s/exo/v4/cfgolWisMSURhpQeVHl_NA.ttf",
4047
+ "500": "http://fonts.gstatic.com/s/exo/v4/jCg6DmGGXt_OVyp5ofQHPw.ttf",
4048
+ "500italic": "http://fonts.gstatic.com/s/exo/v4/lo5eTdCNJZQVN08p8RnzAQ.ttf",
4049
+ "600": "http://fonts.gstatic.com/s/exo/v4/q_SG5kXUmOcIvFpgtdZnlw.ttf",
4050
+ "600italic": "http://fonts.gstatic.com/s/exo/v4/0cExa8K_pxS2lTuMr68XUA.ttf",
4051
+ "700": "http://fonts.gstatic.com/s/exo/v4/3_jwsL4v9uHjl5Q37G57mw.ttf",
4052
+ "700italic": "http://fonts.gstatic.com/s/exo/v4/0me55yJIxd5vyQ9bF7SsiA.ttf",
4053
+ "800": "http://fonts.gstatic.com/s/exo/v4/yLPuxBuV0lzqibRJyooOJg.ttf",
4054
+ "800italic": "http://fonts.gstatic.com/s/exo/v4/n3LejeKVj_8gtZq5fIgNYw.ttf",
4055
+ "900": "http://fonts.gstatic.com/s/exo/v4/97d0nd6Yv4-SA_X92xAuZA.ttf",
4056
+ "900italic": "http://fonts.gstatic.com/s/exo/v4/JHTkQVhzyLtkY13Ye95TJQ.ttf"
4057
+ }
4058
+ },
4059
+ {
4060
+ "kind": "webfonts#webfont",
4061
+ "family": "Exo 2",
4062
+ "category": "sans-serif",
4063
+ "variants": [
4064
+ "100",
4065
+ "100italic",
4066
+ "200",
4067
+ "200italic",
4068
+ "300",
4069
+ "300italic",
4070
+ "regular",
4071
+ "italic",
4072
+ "500",
4073
+ "500italic",
4074
+ "600",
4075
+ "600italic",
4076
+ "700",
4077
+ "700italic",
4078
+ "800",
4079
+ "800italic",
4080
+ "900",
4081
+ "900italic"
4082
+ ],
4083
+ "subsets": [
4084
+ "latin",
4085
+ "latin-ext",
4086
+ "cyrillic"
4087
+ ],
4088
+ "version": "v3",
4089
+ "lastModified": "2016-04-25",
4090
+ "files": {
4091
+ "100": "http://fonts.gstatic.com/s/exo2/v3/oVOtQy53isv97g4UhBUDqg.ttf",
4092
+ "100italic": "http://fonts.gstatic.com/s/exo2/v3/LNYVgsJcaCxoKFHmd4AZcg.ttf",
4093
+ "200": "http://fonts.gstatic.com/s/exo2/v3/qa-Ci2pBwJdCxciE1ErifQ.ttf",
4094
+ "200italic": "http://fonts.gstatic.com/s/exo2/v3/DCrVxDVvS69n50O-5erZVvesZW2xOQ-xsNqO47m55DA.ttf",
4095
+ "300": "http://fonts.gstatic.com/s/exo2/v3/nLUBdz_lHHoVIPor05Byhw.ttf",
4096
+ "300italic": "http://fonts.gstatic.com/s/exo2/v3/iSy9VTeUTiqiurQg2ywtu_esZW2xOQ-xsNqO47m55DA.ttf",
4097
+ "regular": "http://fonts.gstatic.com/s/exo2/v3/Pf_kZuIH5c5WKVkQUaeSWQ.ttf",
4098
+ "italic": "http://fonts.gstatic.com/s/exo2/v3/xxA5ZscX9sTU6U0lZJUlYA.ttf",
4099
+ "500": "http://fonts.gstatic.com/s/exo2/v3/oM0rzUuPqVJpW-VEIpuW5w.ttf",
4100
+ "500italic": "http://fonts.gstatic.com/s/exo2/v3/amzRVCB-gipwdihZZ2LtT_esZW2xOQ-xsNqO47m55DA.ttf",
4101
+ "600": "http://fonts.gstatic.com/s/exo2/v3/YnSn3HsyvyI1feGSdRMYqA.ttf",
4102
+ "600italic": "http://fonts.gstatic.com/s/exo2/v3/Vmo58BiptGwfVFb0teU5gPesZW2xOQ-xsNqO47m55DA.ttf",
4103
+ "700": "http://fonts.gstatic.com/s/exo2/v3/2DiK4XkdTckfTk6we73-bQ.ttf",
4104
+ "700italic": "http://fonts.gstatic.com/s/exo2/v3/Sdo-zW-4_--pDkTg6bYrY_esZW2xOQ-xsNqO47m55DA.ttf",
4105
+ "800": "http://fonts.gstatic.com/s/exo2/v3/IVYl_7dJruOg8zKRpC8Hrw.ttf",
4106
+ "800italic": "http://fonts.gstatic.com/s/exo2/v3/p0TA6KeOz1o4rySEbvUxI_esZW2xOQ-xsNqO47m55DA.ttf",
4107
+ "900": "http://fonts.gstatic.com/s/exo2/v3/e8csG8Wnu87AF6uCndkFRQ.ttf",
4108
+ "900italic": "http://fonts.gstatic.com/s/exo2/v3/KPhsGCoT2-7Uj6pMlRscH_esZW2xOQ-xsNqO47m55DA.ttf"
4109
+ }
4110
+ },
4111
+ {
4112
+ "kind": "webfonts#webfont",
4113
+ "family": "Expletus Sans",
4114
+ "category": "display",
4115
+ "variants": [
4116
+ "regular",
4117
+ "italic",
4118
+ "500",
4119
+ "500italic",
4120
+ "600",
4121
+ "600italic",
4122
+ "700",
4123
+ "700italic"
4124
+ ],
4125
+ "subsets": [
4126
+ "latin"
4127
+ ],
4128
+ "version": "v9",
4129
+ "lastModified": "2016-04-25",
4130
+ "files": {
4131
+ "regular": "http://fonts.gstatic.com/s/expletussans/v9/gegTSDBDs5le3g6uxU1ZsX8f0n03UdmQgF_CLvNR2vg.ttf",
4132
+ "italic": "http://fonts.gstatic.com/s/expletussans/v9/Y-erXmY0b6DU_i2Qu0hTJj4G9C9ttb0Oz5Cvf0qOitE.ttf",
4133
+ "500": "http://fonts.gstatic.com/s/expletussans/v9/cl6rhMY77Ilk8lB_uYRRwAqQmZ7VjhwksfpNVG0pqGc.ttf",
4134
+ "500italic": "http://fonts.gstatic.com/s/expletussans/v9/sRBNtc46w65uJE451UYmW87DCVO6wo6i5LKIyZDzK40.ttf",
4135
+ "600": "http://fonts.gstatic.com/s/expletussans/v9/cl6rhMY77Ilk8lB_uYRRwCvj1tU7IJMS3CS9kCx2B3U.ttf",
4136
+ "600italic": "http://fonts.gstatic.com/s/expletussans/v9/sRBNtc46w65uJE451UYmW8yKH23ZS6zCKOFHG0e_4JE.ttf",
4137
+ "700": "http://fonts.gstatic.com/s/expletussans/v9/cl6rhMY77Ilk8lB_uYRRwFCbmAUID8LN-q3pJpOk3Ys.ttf",
4138
+ "700italic": "http://fonts.gstatic.com/s/expletussans/v9/sRBNtc46w65uJE451UYmW5F66r9C4AnxxlBlGd7xY4g.ttf"
4139
+ }
4140
+ },
4141
+ {
4142
+ "kind": "webfonts#webfont",
4143
+ "family": "Fanwood Text",
4144
+ "category": "serif",
4145
+ "variants": [
4146
+ "regular",
4147
+ "italic"
4148
+ ],
4149
+ "subsets": [
4150
+ "latin"
4151
+ ],
4152
+ "version": "v6",
4153
+ "lastModified": "2016-04-25",
4154
+ "files": {
4155
+ "regular": "http://fonts.gstatic.com/s/fanwoodtext/v6/hDNDHUlsSb8bgnEmDp4T_i3USBnSvpkopQaUR-2r7iU.ttf",
4156
+ "italic": "http://fonts.gstatic.com/s/fanwoodtext/v6/0J3SBbkMZqBV-3iGxs5E9_MZXuCXbOrAvx5R0IT5Oyo.ttf"
4157
+ }
4158
+ },
4159
+ {
4160
+ "kind": "webfonts#webfont",
4161
+ "family": "Fascinate",
4162
+ "category": "display",
4163
+ "variants": [
4164
+ "regular"
4165
+ ],
4166
+ "subsets": [
4167
+ "latin"
4168
+ ],
4169
+ "version": "v5",
4170
+ "lastModified": "2016-04-25",
4171
+ "files": {
4172
+ "regular": "http://fonts.gstatic.com/s/fascinate/v5/ZE0637WWkBPKt1AmFaqD3Q.ttf"
4173
+ }
4174
+ },
4175
+ {
4176
+ "kind": "webfonts#webfont",
4177
+ "family": "Fascinate Inline",
4178
+ "category": "display",
4179
+ "variants": [
4180
+ "regular"
4181
+ ],
4182
+ "subsets": [
4183
+ "latin"
4184
+ ],
4185
+ "version": "v6",
4186
+ "lastModified": "2016-04-25",
4187
+ "files": {
4188
+ "regular": "http://fonts.gstatic.com/s/fascinateinline/v6/lRguYfMfWArflkm5aOQ5QJmp8DTZ6iHear7UV05iykg.ttf"
4189
+ }
4190
+ },
4191
+ {
4192
+ "kind": "webfonts#webfont",
4193
+ "family": "Faster One",
4194
+ "category": "display",
4195
+ "variants": [
4196
+ "regular"
4197
+ ],
4198
+ "subsets": [
4199
+ "latin"
4200
+ ],
4201
+ "version": "v6",
4202
+ "lastModified": "2016-04-25",
4203
+ "files": {
4204
+ "regular": "http://fonts.gstatic.com/s/fasterone/v6/YxTOW2sf56uxD1T7byP5K_esZW2xOQ-xsNqO47m55DA.ttf"
4205
+ }
4206
+ },
4207
+ {
4208
+ "kind": "webfonts#webfont",
4209
+ "family": "Fasthand",
4210
+ "category": "serif",
4211
+ "variants": [
4212
+ "regular"
4213
+ ],
4214
+ "subsets": [
4215
+ "khmer"
4216
+ ],
4217
+ "version": "v7",
4218
+ "lastModified": "2016-04-25",
4219
+ "files": {
4220
+ "regular": "http://fonts.gstatic.com/s/fasthand/v7/6XAagHH_KmpZL67wTvsETQ.ttf"
4221
+ }
4222
+ },
4223
+ {
4224
+ "kind": "webfonts#webfont",
4225
+ "family": "Fauna One",
4226
+ "category": "serif",
4227
+ "variants": [
4228
+ "regular"
4229
+ ],
4230
+ "subsets": [
4231
+ "latin",
4232
+ "latin-ext"
4233
+ ],
4234
+ "version": "v4",
4235
+ "lastModified": "2016-04-25",
4236
+ "files": {
4237
+ "regular": "http://fonts.gstatic.com/s/faunaone/v4/8kL-wpAPofcAMELI_5NRnQ.ttf"
4238
+ }
4239
+ },
4240
+ {
4241
+ "kind": "webfonts#webfont",
4242
+ "family": "Federant",
4243
+ "category": "display",
4244
+ "variants": [
4245
+ "regular"
4246
+ ],
4247
+ "subsets": [
4248
+ "latin"
4249
+ ],
4250
+ "version": "v8",
4251
+ "lastModified": "2016-04-25",
4252
+ "files": {
4253
+ "regular": "http://fonts.gstatic.com/s/federant/v8/tddZFSiGvxICNOGra0i5aA.ttf"
4254
+ }
4255
+ },
4256
+ {
4257
+ "kind": "webfonts#webfont",
4258
+ "family": "Federo",
4259
+ "category": "sans-serif",
4260
+ "variants": [
4261
+ "regular"
4262
+ ],
4263
+ "subsets": [
4264
+ "latin"
4265
+ ],
4266
+ "version": "v8",
4267
+ "lastModified": "2016-04-25",
4268
+ "files": {
4269
+ "regular": "http://fonts.gstatic.com/s/federo/v8/JPhe1S2tujeyaR79gXBLeQ.ttf"
4270
+ }
4271
+ },
4272
+ {
4273
+ "kind": "webfonts#webfont",
4274
+ "family": "Felipa",
4275
+ "category": "handwriting",
4276
+ "variants": [
4277
+ "regular"
4278
+ ],
4279
+ "subsets": [
4280
+ "latin",
4281
+ "latin-ext"
4282
+ ],
4283
+ "version": "v4",
4284
+ "lastModified": "2016-04-25",
4285
+ "files": {
4286
+ "regular": "http://fonts.gstatic.com/s/felipa/v4/SeyfyFZY7abAQXGrOIYnYg.ttf"
4287
+ }
4288
+ },
4289
+ {
4290
+ "kind": "webfonts#webfont",
4291
+ "family": "Fenix",
4292
+ "category": "serif",
4293
+ "variants": [
4294
+ "regular"
4295
+ ],
4296
+ "subsets": [
4297
+ "latin",
4298
+ "latin-ext"
4299
+ ],
4300
+ "version": "v4",
4301
+ "lastModified": "2016-04-25",
4302
+ "files": {
4303
+ "regular": "http://fonts.gstatic.com/s/fenix/v4/Ak8wR3VSlAN7VN_eMeJj7Q.ttf"
4304
+ }
4305
+ },
4306
+ {
4307
+ "kind": "webfonts#webfont",
4308
+ "family": "Finger Paint",
4309
+ "category": "display",
4310
+ "variants": [
4311
+ "regular"
4312
+ ],
4313
+ "subsets": [
4314
+ "latin"
4315
+ ],
4316
+ "version": "v4",
4317
+ "lastModified": "2016-04-25",
4318
+ "files": {
4319
+ "regular": "http://fonts.gstatic.com/s/fingerpaint/v4/m_ZRbiY-aPb13R3DWPBGXy3USBnSvpkopQaUR-2r7iU.ttf"
4320
+ }
4321
+ },
4322
+ {
4323
+ "kind": "webfonts#webfont",
4324
+ "family": "Fira Mono",
4325
+ "category": "monospace",
4326
+ "variants": [
4327
+ "regular",
4328
+ "700"
4329
+ ],
4330
+ "subsets": [
4331
+ "latin",
4332
+ "greek",
4333
+ "latin-ext",
4334
+ "cyrillic-ext",
4335
+ "cyrillic"
4336
+ ],
4337
+ "version": "v3",
4338
+ "lastModified": "2016-04-25",
4339
+ "files": {
4340
+ "regular": "http://fonts.gstatic.com/s/firamono/v3/WQOm1D4RO-yvA9q9trJc8g.ttf",
4341
+ "700": "http://fonts.gstatic.com/s/firamono/v3/l24Wph3FsyKAbJ8dfExTZy3USBnSvpkopQaUR-2r7iU.ttf"
4342
+ }
4343
+ },
4344
+ {
4345
+ "kind": "webfonts#webfont",
4346
+ "family": "Fira Sans",
4347
+ "category": "sans-serif",
4348
+ "variants": [
4349
+ "300",
4350
+ "300italic",
4351
+ "regular",
4352
+ "italic",
4353
+ "500",
4354
+ "500italic",
4355
+ "700",
4356
+ "700italic"
4357
+ ],
4358
+ "subsets": [
4359
+ "latin",
4360
+ "greek",
4361
+ "latin-ext",
4362
+ "cyrillic-ext",
4363
+ "cyrillic"
4364
+ ],
4365
+ "version": "v5",
4366
+ "lastModified": "2016-04-25",
4367
+ "files": {
4368
+ "300": "http://fonts.gstatic.com/s/firasans/v5/VTBnrK42EiOBncVyQXZ7jy3USBnSvpkopQaUR-2r7iU.ttf",
4369
+ "300italic": "http://fonts.gstatic.com/s/firasans/v5/6s0YCA9oCTF6hM60YM-qTS9-WlPSxbfiI49GsXo3q0g.ttf",
4370
+ "regular": "http://fonts.gstatic.com/s/firasans/v5/nsT0isDy56OkSX99sFQbXw.ttf",
4371
+ "italic": "http://fonts.gstatic.com/s/firasans/v5/cPT_2ddmoxsUuMtQqa8zGqCWcynf_cDxXwCLxiixG1c.ttf",
4372
+ "500": "http://fonts.gstatic.com/s/firasans/v5/zM2u8V3CuPVwAAXFQcDi4C3USBnSvpkopQaUR-2r7iU.ttf",
4373
+ "500italic": "http://fonts.gstatic.com/s/firasans/v5/6s0YCA9oCTF6hM60YM-qTcCNfqCYlB_eIx7H1TVXe60.ttf",
4374
+ "700": "http://fonts.gstatic.com/s/firasans/v5/DugPdSljmOTocZOR2CItOi3USBnSvpkopQaUR-2r7iU.ttf",
4375
+ "700italic": "http://fonts.gstatic.com/s/firasans/v5/6s0YCA9oCTF6hM60YM-qTXe1Pd76Vl7zRpE7NLJQ7XU.ttf"
4376
+ }
4377
+ },
4378
+ {
4379
+ "kind": "webfonts#webfont",
4380
+ "family": "Fjalla One",
4381
+ "category": "sans-serif",
4382
+ "variants": [
4383
+ "regular"
4384
+ ],
4385
+ "subsets": [
4386
+ "latin",
4387
+ "latin-ext"
4388
+ ],
4389
+ "version": "v4",
4390
+ "lastModified": "2016-04-25",
4391
+ "files": {
4392
+ "regular": "http://fonts.gstatic.com/s/fjallaone/v4/3b7vWCfOZsU53vMa8LWsf_esZW2xOQ-xsNqO47m55DA.ttf"
4393
+ }
4394
+ },
4395
+ {
4396
+ "kind": "webfonts#webfont",
4397
+ "family": "Fjord One",
4398
+ "category": "serif",
4399
+ "variants": [
4400
+ "regular"
4401
+ ],
4402
+ "subsets": [
4403
+ "latin"
4404
+ ],
4405
+ "version": "v5",
4406
+ "lastModified": "2016-04-25",
4407
+ "files": {
4408
+ "regular": "http://fonts.gstatic.com/s/fjordone/v5/R_YHK8au2uFPw5tNu5N7zw.ttf"
4409
+ }
4410
+ },
4411
+ {
4412
+ "kind": "webfonts#webfont",
4413
+ "family": "Flamenco",
4414
+ "category": "display",
4415
+ "variants": [
4416
+ "300",
4417
+ "regular"
4418
+ ],
4419
+ "subsets": [
4420
+ "latin"
4421
+ ],
4422
+ "version": "v6",
4423
+ "lastModified": "2016-04-25",
4424
+ "files": {
4425
+ "300": "http://fonts.gstatic.com/s/flamenco/v6/x9iI5CogvuZVCGoRHwXuo6CWcynf_cDxXwCLxiixG1c.ttf",
4426
+ "regular": "http://fonts.gstatic.com/s/flamenco/v6/HC0ugfLLgt26I5_BWD1PZA.ttf"
4427
+ }
4428
+ },
4429
+ {
4430
+ "kind": "webfonts#webfont",
4431
+ "family": "Flavors",
4432
+ "category": "display",
4433
+ "variants": [
4434
+ "regular"
4435
+ ],
4436
+ "subsets": [
4437
+ "latin"
4438
+ ],
4439
+ "version": "v5",
4440
+ "lastModified": "2016-04-25",
4441
+ "files": {
4442
+ "regular": "http://fonts.gstatic.com/s/flavors/v5/SPJi5QclATvon8ExcKGRvQ.ttf"
4443
+ }
4444
+ },
4445
+ {
4446
+ "kind": "webfonts#webfont",
4447
+ "family": "Fondamento",
4448
+ "category": "handwriting",
4449
+ "variants": [
4450
+ "regular",
4451
+ "italic"
4452
+ ],
4453
+ "subsets": [
4454
+ "latin",
4455
+ "latin-ext"
4456
+ ],
4457
+ "version": "v5",
4458
+ "lastModified": "2016-04-25",
4459
+ "files": {
4460
+ "regular": "http://fonts.gstatic.com/s/fondamento/v5/6LWXcjT1B7bnWluAOSNfMPesZW2xOQ-xsNqO47m55DA.ttf",
4461
+ "italic": "http://fonts.gstatic.com/s/fondamento/v5/y6TmwhSbZ8rYq7OTFyo7OS3USBnSvpkopQaUR-2r7iU.ttf"
4462
+ }
4463
+ },
4464
+ {
4465
+ "kind": "webfonts#webfont",
4466
+ "family": "Fontdiner Swanky",
4467
+ "category": "display",
4468
+ "variants": [
4469
+ "regular"
4470
+ ],
4471
+ "subsets": [
4472
+ "latin"
4473
+ ],
4474
+ "version": "v6",
4475
+ "lastModified": "2016-04-25",
4476
+ "files": {
4477
+ "regular": "http://fonts.gstatic.com/s/fontdinerswanky/v6/8_GxIO5ixMtn5P6COsF3TlBjMPLzPAFJwRBn-s1U7kA.ttf"
4478
+ }
4479
+ },
4480
+ {
4481
+ "kind": "webfonts#webfont",
4482
+ "family": "Forum",
4483
+ "category": "display",
4484
+ "variants": [
4485
+ "regular"
4486
+ ],
4487
+ "subsets": [
4488
+ "latin",
4489
+ "latin-ext",
4490
+ "cyrillic-ext",
4491
+ "cyrillic"
4492
+ ],
4493
+ "version": "v7",
4494
+ "lastModified": "2016-04-25",
4495
+ "files": {
4496
+ "regular": "http://fonts.gstatic.com/s/forum/v7/MZUpsq1VfLrqv8eSDcbrrQ.ttf"
4497
+ }
4498
+ },
4499
+ {
4500
+ "kind": "webfonts#webfont",
4501
+ "family": "Francois One",
4502
+ "category": "sans-serif",
4503
+ "variants": [
4504
+ "regular"
4505
+ ],
4506
+ "subsets": [
4507
+ "latin",
4508
+ "latin-ext"
4509
+ ],
4510
+ "version": "v9",
4511
+ "lastModified": "2016-04-25",
4512
+ "files": {
4513
+ "regular": "http://fonts.gstatic.com/s/francoisone/v9/bYbkq2nU2TSx4SwFbz5sCC3USBnSvpkopQaUR-2r7iU.ttf"
4514
+ }
4515
+ },
4516
+ {
4517
+ "kind": "webfonts#webfont",
4518
+ "family": "Freckle Face",
4519
+ "category": "display",
4520
+ "variants": [
4521
+ "regular"
4522
+ ],
4523
+ "subsets": [
4524
+ "latin",
4525
+ "latin-ext"
4526
+ ],
4527
+ "version": "v4",
4528
+ "lastModified": "2016-04-25",
4529
+ "files": {
4530
+ "regular": "http://fonts.gstatic.com/s/freckleface/v4/7-B8j9BPJgazdHIGqPNv8y3USBnSvpkopQaUR-2r7iU.ttf"
4531
+ }
4532
+ },
4533
+ {
4534
+ "kind": "webfonts#webfont",
4535
+ "family": "Fredericka the Great",
4536
+ "category": "display",
4537
+ "variants": [
4538
+ "regular"
4539
+ ],
4540
+ "subsets": [
4541
+ "latin"
4542
+ ],
4543
+ "version": "v5",
4544
+ "lastModified": "2016-04-25",
4545
+ "files": {
4546
+ "regular": "http://fonts.gstatic.com/s/frederickathegreat/v5/7Es8Lxoku-e5eOZWpxw18nrnet6gXN1McwdQxS1dVrI.ttf"
4547
+ }
4548
+ },
4549
+ {
4550
+ "kind": "webfonts#webfont",
4551
+ "family": "Fredoka One",
4552
+ "category": "display",
4553
+ "variants": [
4554
+ "regular"
4555
+ ],
4556
+ "subsets": [
4557
+ "latin"
4558
+ ],
4559
+ "version": "v4",
4560
+ "lastModified": "2016-04-25",
4561
+ "files": {
4562
+ "regular": "http://fonts.gstatic.com/s/fredokaone/v4/QKfwXi-z-KtJAlnO2ethYqCWcynf_cDxXwCLxiixG1c.ttf"
4563
+ }
4564
+ },
4565
+ {
4566
+ "kind": "webfonts#webfont",
4567
+ "family": "Freehand",
4568
+ "category": "display",
4569
+ "variants": [
4570
+ "regular"
4571
+ ],
4572
+ "subsets": [
4573
+ "khmer"
4574
+ ],
4575
+ "version": "v8",
4576
+ "lastModified": "2016-04-25",
4577
+ "files": {
4578
+ "regular": "http://fonts.gstatic.com/s/freehand/v8/uEBQxvA0lnn_BrD6krlxMw.ttf"
4579
+ }
4580
+ },
4581
+ {
4582
+ "kind": "webfonts#webfont",
4583
+ "family": "Fresca",
4584
+ "category": "sans-serif",
4585
+ "variants": [
4586
+ "regular"
4587
+ ],
4588
+ "subsets": [
4589
+ "latin",
4590
+ "latin-ext"
4591
+ ],
4592
+ "version": "v5",
4593
+ "lastModified": "2016-04-25",
4594
+ "files": {
4595
+ "regular": "http://fonts.gstatic.com/s/fresca/v5/2q7Qm9sCo1tWvVgSDVWNIw.ttf"
4596
+ }
4597
+ },
4598
+ {
4599
+ "kind": "webfonts#webfont",
4600
+ "family": "Frijole",
4601
+ "category": "display",
4602
+ "variants": [
4603
+ "regular"
4604
+ ],
4605
+ "subsets": [
4606
+ "latin"
4607
+ ],
4608
+ "version": "v5",
4609
+ "lastModified": "2016-04-25",
4610
+ "files": {
4611
+ "regular": "http://fonts.gstatic.com/s/frijole/v5/L2MfZse-2gCascuD-nLhWg.ttf"
4612
+ }
4613
+ },
4614
+ {
4615
+ "kind": "webfonts#webfont",
4616
+ "family": "Fruktur",
4617
+ "category": "display",
4618
+ "variants": [
4619
+ "regular"
4620
+ ],
4621
+ "subsets": [
4622
+ "latin",
4623
+ "latin-ext"
4624
+ ],
4625
+ "version": "v8",
4626
+ "lastModified": "2016-04-25",
4627
+ "files": {
4628
+ "regular": "http://fonts.gstatic.com/s/fruktur/v8/PnQvfEi1LssAvhJsCwH__w.ttf"
4629
+ }
4630
+ },
4631
+ {
4632
+ "kind": "webfonts#webfont",
4633
+ "family": "Fugaz One",
4634
+ "category": "display",
4635
+ "variants": [
4636
+ "regular"
4637
+ ],
4638
+ "subsets": [
4639
+ "latin"
4640
+ ],
4641
+ "version": "v6",
4642
+ "lastModified": "2016-04-25",
4643
+ "files": {
4644
+ "regular": "http://fonts.gstatic.com/s/fugazone/v6/5tteVDCwxsr8-5RuSiRWOw.ttf"
4645
+ }
4646
+ },
4647
+ {
4648
+ "kind": "webfonts#webfont",
4649
+ "family": "GFS Didot",
4650
+ "category": "serif",
4651
+ "variants": [
4652
+ "regular"
4653
+ ],
4654
+ "subsets": [
4655
+ "greek"
4656
+ ],
4657
+ "version": "v6",
4658
+ "lastModified": "2016-04-25",
4659
+ "files": {
4660
+ "regular": "http://fonts.gstatic.com/s/gfsdidot/v6/jQKxZy2RU-h9tkPZcRVluA.ttf"
4661
+ }
4662
+ },
4663
+ {
4664
+ "kind": "webfonts#webfont",
4665
+ "family": "GFS Neohellenic",
4666
+ "category": "sans-serif",
4667
+ "variants": [
4668
+ "regular",
4669
+ "italic",
4670
+ "700",
4671
+ "700italic"
4672
+ ],
4673
+ "subsets": [
4674
+ "greek"
4675
+ ],
4676
+ "version": "v7",
4677
+ "lastModified": "2016-04-25",
4678
+ "files": {
4679
+ "regular": "http://fonts.gstatic.com/s/gfsneohellenic/v7/B4xRqbn-tANVqVgamMsSDiayCZa0z7CpFzlkqoCHztc.ttf",
4680
+ "italic": "http://fonts.gstatic.com/s/gfsneohellenic/v7/KnaWrO4awITAqigQIIYXKkCTdomiyJpIzPbEbIES3rU.ttf",
4681
+ "700": "http://fonts.gstatic.com/s/gfsneohellenic/v7/7HwjPQa7qNiOsnUce2h4448_BwCLZY3eDSV6kppAwI8.ttf",
4682
+ "700italic": "http://fonts.gstatic.com/s/gfsneohellenic/v7/FwWjoX6XqT-szJFyqsu_GYFF0fM4h-krcpQk7emtCpE.ttf"
4683
+ }
4684
+ },
4685
+ {
4686
+ "kind": "webfonts#webfont",
4687
+ "family": "Gabriela",
4688
+ "category": "serif",
4689
+ "variants": [
4690
+ "regular"
4691
+ ],
4692
+ "subsets": [
4693
+ "latin",
4694
+ "latin-ext"
4695
+ ],
4696
+ "version": "v4",
4697
+ "lastModified": "2016-04-25",
4698
+ "files": {
4699
+ "regular": "http://fonts.gstatic.com/s/gabriela/v4/B-2ZfbAO3HDrxqV6lR5tdA.ttf"
4700
+ }
4701
+ },
4702
+ {
4703
+ "kind": "webfonts#webfont",
4704
+ "family": "Gafata",
4705
+ "category": "sans-serif",
4706
+ "variants": [
4707
+ "regular"
4708
+ ],
4709
+ "subsets": [
4710
+ "latin",
4711
+ "latin-ext"
4712
+ ],
4713
+ "version": "v5",
4714
+ "lastModified": "2016-04-25",
4715
+ "files": {
4716
+ "regular": "http://fonts.gstatic.com/s/gafata/v5/aTFqlki_3Dc3geo-FxHTvQ.ttf"
4717
+ }
4718
+ },
4719
+ {
4720
+ "kind": "webfonts#webfont",
4721
+ "family": "Galdeano",
4722
+ "category": "sans-serif",
4723
+ "variants": [
4724
+ "regular"
4725
+ ],
4726
+ "subsets": [
4727
+ "latin"
4728
+ ],
4729
+ "version": "v6",
4730
+ "lastModified": "2016-04-25",
4731
+ "files": {
4732
+ "regular": "http://fonts.gstatic.com/s/galdeano/v6/ZKFMQI6HxEG1jOT0UGSZUg.ttf"
4733
+ }
4734
+ },
4735
+ {
4736
+ "kind": "webfonts#webfont",
4737
+ "family": "Galindo",
4738
+ "category": "display",
4739
+ "variants": [
4740
+ "regular"
4741
+ ],
4742
+ "subsets": [
4743
+ "latin",
4744
+ "latin-ext"
4745
+ ],
4746
+ "version": "v4",
4747
+ "lastModified": "2016-04-25",
4748
+ "files": {
4749
+ "regular": "http://fonts.gstatic.com/s/galindo/v4/2lafAS_ZEfB33OJryhXDUg.ttf"
4750
+ }
4751
+ },
4752
+ {
4753
+ "kind": "webfonts#webfont",
4754
+ "family": "Gentium Basic",
4755
+ "category": "serif",
4756
+ "variants": [
4757
+ "regular",
4758
+ "italic",
4759
+ "700",
4760
+ "700italic"
4761
+ ],
4762
+ "subsets": [
4763
+ "latin",
4764
+ "latin-ext"
4765
+ ],
4766
+ "version": "v8",
4767
+ "lastModified": "2016-04-25",
4768
+ "files": {
4769
+ "regular": "http://fonts.gstatic.com/s/gentiumbasic/v8/KCktj43blvLkhOTolFn-MYtBLojGU5Qdl8-5NL4v70w.ttf",
4770
+ "italic": "http://fonts.gstatic.com/s/gentiumbasic/v8/qoFz4NSMaYC2UmsMAG3lyTj3mvXnCeAk09uTtmkJGRc.ttf",
4771
+ "700": "http://fonts.gstatic.com/s/gentiumbasic/v8/2qL6yulgGf0wwgOp-UqGyLNuTeOOLg3nUymsEEGmdO0.ttf",
4772
+ "700italic": "http://fonts.gstatic.com/s/gentiumbasic/v8/8N9-c_aQDJ8LbI1NGVMrwtswO1vWwP9exiF8s0wqW10.ttf"
4773
+ }
4774
+ },
4775
+ {
4776
+ "kind": "webfonts#webfont",
4777
+ "family": "Gentium Book Basic",
4778
+ "category": "serif",
4779
+ "variants": [
4780
+ "regular",
4781
+ "italic",
4782
+ "700",
4783
+ "700italic"
4784
+ ],
4785
+ "subsets": [
4786
+ "latin",
4787
+ "latin-ext"
4788
+ ],
4789
+ "version": "v7",
4790
+ "lastModified": "2016-04-25",
4791
+ "files": {
4792
+ "regular": "http://fonts.gstatic.com/s/gentiumbookbasic/v7/IRFxB2matTxrjZt6a3FUnrWDjKAyldGEr6eEi2MBNeY.ttf",
4793
+ "italic": "http://fonts.gstatic.com/s/gentiumbookbasic/v7/qHqW2lwKO8-uTfIkh8FsUfXfjMwrYnmPVsQth2IcAPY.ttf",
4794
+ "700": "http://fonts.gstatic.com/s/gentiumbookbasic/v7/T2vUYmWzlqUtgLYdlemGnaWESMHIjnSjm9UUxYtEOko.ttf",
4795
+ "700italic": "http://fonts.gstatic.com/s/gentiumbookbasic/v7/632u7TMIoFDWQYUaHFUp5PA2A9KyRZEkn4TZVuhsWRM.ttf"
4796
+ }
4797
+ },
4798
+ {
4799
+ "kind": "webfonts#webfont",
4800
+ "family": "Geo",
4801
+ "category": "sans-serif",
4802
+ "variants": [
4803
+ "regular",
4804
+ "italic"
4805
+ ],
4806
+ "subsets": [
4807
+ "latin"
4808
+ ],
4809
+ "version": "v8",
4810
+ "lastModified": "2016-04-25",
4811
+ "files": {
4812
+ "regular": "http://fonts.gstatic.com/s/geo/v8/mJuJYk5Pww84B4uHAQ1XaA.ttf",
4813
+ "italic": "http://fonts.gstatic.com/s/geo/v8/8_r1wToF7nPdDuX1qxel6Q.ttf"
4814
+ }
4815
+ },
4816
+ {
4817
+ "kind": "webfonts#webfont",
4818
+ "family": "Geostar",
4819
+ "category": "display",
4820
+ "variants": [
4821
+ "regular"
4822
+ ],
4823
+ "subsets": [
4824
+ "latin"
4825
+ ],
4826
+ "version": "v6",
4827
+ "lastModified": "2016-04-25",
4828
+ "files": {
4829
+ "regular": "http://fonts.gstatic.com/s/geostar/v6/A8WQbhQbpYx3GWWaShJ9GA.ttf"
4830
+ }
4831
+ },
4832
+ {
4833
+ "kind": "webfonts#webfont",
4834
+ "family": "Geostar Fill",
4835
+ "category": "display",
4836
+ "variants": [
4837
+ "regular"
4838
+ ],
4839
+ "subsets": [
4840
+ "latin"
4841
+ ],
4842
+ "version": "v6",
4843
+ "lastModified": "2016-04-25",
4844
+ "files": {
4845
+ "regular": "http://fonts.gstatic.com/s/geostarfill/v6/Y5ovXPPOHYTfQzK2aM-hui3USBnSvpkopQaUR-2r7iU.ttf"
4846
+ }
4847
+ },
4848
+ {
4849
+ "kind": "webfonts#webfont",
4850
+ "family": "Germania One",
4851
+ "category": "display",
4852
+ "variants": [
4853
+ "regular"
4854
+ ],
4855
+ "subsets": [
4856
+ "latin"
4857
+ ],
4858
+ "version": "v4",
4859
+ "lastModified": "2016-04-25",
4860
+ "files": {
4861
+ "regular": "http://fonts.gstatic.com/s/germaniaone/v4/3_6AyUql_-FbDi1e68jHdC3USBnSvpkopQaUR-2r7iU.ttf"
4862
+ }
4863
+ },
4864
+ {
4865
+ "kind": "webfonts#webfont",
4866
+ "family": "Gidugu",
4867
+ "category": "sans-serif",
4868
+ "variants": [
4869
+ "regular"
4870
+ ],
4871
+ "subsets": [
4872
+ "latin",
4873
+ "telugu"
4874
+ ],
4875
+ "version": "v3",
4876
+ "lastModified": "2016-04-25",
4877
+ "files": {
4878
+ "regular": "http://fonts.gstatic.com/s/gidugu/v3/Ey6Eq3hrT6MM58iFItFcgw.ttf"
4879
+ }
4880
+ },
4881
+ {
4882
+ "kind": "webfonts#webfont",
4883
+ "family": "Gilda Display",
4884
+ "category": "serif",
4885
+ "variants": [
4886
+ "regular"
4887
+ ],
4888
+ "subsets": [
4889
+ "latin",
4890
+ "latin-ext"
4891
+ ],
4892
+ "version": "v4",
4893
+ "lastModified": "2016-04-25",
4894
+ "files": {
4895
+ "regular": "http://fonts.gstatic.com/s/gildadisplay/v4/8yAVUZLLZ3wb7dSsjix0CADHmap7fRWINAsw8-RaxNg.ttf"
4896
+ }
4897
+ },
4898
+ {
4899
+ "kind": "webfonts#webfont",
4900
+ "family": "Give You Glory",
4901
+ "category": "handwriting",
4902
+ "variants": [
4903
+ "regular"
4904
+ ],
4905
+ "subsets": [
4906
+ "latin"
4907
+ ],
4908
+ "version": "v6",
4909
+ "lastModified": "2016-04-25",
4910
+ "files": {
4911
+ "regular": "http://fonts.gstatic.com/s/giveyouglory/v6/DFEWZFgGmfseyIdGRJAxuBwwkpSPZdvjnMtysdqprfI.ttf"
4912
+ }
4913
+ },
4914
+ {
4915
+ "kind": "webfonts#webfont",
4916
+ "family": "Glass Antiqua",
4917
+ "category": "display",
4918
+ "variants": [
4919
+ "regular"
4920
+ ],
4921
+ "subsets": [
4922
+ "latin",
4923
+ "latin-ext"
4924
+ ],
4925
+ "version": "v4",
4926
+ "lastModified": "2016-04-25",
4927
+ "files": {
4928
+ "regular": "http://fonts.gstatic.com/s/glassantiqua/v4/0yLrXKplgdUDIMz5TnCHNODcg5akpSnIcsPhLOFv7l8.ttf"
4929
+ }
4930
+ },
4931
+ {
4932
+ "kind": "webfonts#webfont",
4933
+ "family": "Glegoo",
4934
+ "category": "serif",
4935
+ "variants": [
4936
+ "regular",
4937
+ "700"
4938
+ ],
4939
+ "subsets": [
4940
+ "latin",
4941
+ "devanagari",
4942
+ "latin-ext"
4943
+ ],
4944
+ "version": "v5",
4945
+ "lastModified": "2016-04-25",
4946
+ "files": {
4947
+ "regular": "http://fonts.gstatic.com/s/glegoo/v5/2tf-h3n2A_SNYXEO0C8bKw.ttf",
4948
+ "700": "http://fonts.gstatic.com/s/glegoo/v5/TlLolbauH0-0Aiz1LUH5og.ttf"
4949
+ }
4950
+ },
4951
+ {
4952
+ "kind": "webfonts#webfont",
4953
+ "family": "Gloria Hallelujah",
4954
+ "category": "handwriting",
4955
+ "variants": [
4956
+ "regular"
4957
+ ],
4958
+ "subsets": [
4959
+ "latin"
4960
+ ],
4961
+ "version": "v8",
4962
+ "lastModified": "2016-04-25",
4963
+ "files": {
4964
+ "regular": "http://fonts.gstatic.com/s/gloriahallelujah/v8/CA1k7SlXcY5kvI81M_R28Q3RdPdyebSUyJECJouPsvA.ttf"
4965
+ }
4966
+ },
4967
+ {
4968
+ "kind": "webfonts#webfont",
4969
+ "family": "Goblin One",
4970
+ "category": "display",
4971
+ "variants": [
4972
+ "regular"
4973
+ ],
4974
+ "subsets": [
4975
+ "latin"
4976
+ ],
4977
+ "version": "v6",
4978
+ "lastModified": "2016-04-25",
4979
+ "files": {
4980
+ "regular": "http://fonts.gstatic.com/s/goblinone/v6/331XtzoXgpVEvNTVcBJ_C_esZW2xOQ-xsNqO47m55DA.ttf"
4981
+ }
4982
+ },
4983
+ {
4984
+ "kind": "webfonts#webfont",
4985
+ "family": "Gochi Hand",
4986
+ "category": "handwriting",
4987
+ "variants": [
4988
+ "regular"
4989
+ ],
4990
+ "subsets": [
4991
+ "latin"
4992
+ ],
4993
+ "version": "v7",
4994
+ "lastModified": "2016-04-25",
4995
+ "files": {
4996
+ "regular": "http://fonts.gstatic.com/s/gochihand/v7/KT1-WxgHsittJ34_20IfAPesZW2xOQ-xsNqO47m55DA.ttf"
4997
+ }
4998
+ },
4999
+ {
5000
+ "kind": "webfonts#webfont",
5001
+ "family": "Gorditas",
5002
+ "category": "display",
5003
+ "variants": [
5004
+ "regular",
5005
+ "700"
5006
+ ],
5007
+ "subsets": [
5008
+ "latin"
5009
+ ],
5010
+ "version": "v4",
5011
+ "lastModified": "2016-04-25",
5012
+ "files": {
5013
+ "regular": "http://fonts.gstatic.com/s/gorditas/v4/uMgZhXUyH6qNGF3QsjQT5Q.ttf",
5014
+ "700": "http://fonts.gstatic.com/s/gorditas/v4/6-XCeknmxaon8AUqVkMnHaCWcynf_cDxXwCLxiixG1c.ttf"
5015
+ }
5016
+ },
5017
+ {
5018
+ "kind": "webfonts#webfont",
5019
+ "family": "Goudy Bookletter 1911",
5020
+ "category": "serif",
5021
+ "variants": [
5022
+ "regular"
5023
+ ],
5024
+ "subsets": [
5025
+ "latin"
5026
+ ],
5027
+ "version": "v6",
5028
+ "lastModified": "2016-04-25",
5029
+ "files": {
5030
+ "regular": "http://fonts.gstatic.com/s/goudybookletter1911/v6/l5lwlGTN3pEY5Bf-rQEuIIjNDsyURsIKu4GSfvSE4mA.ttf"
5031
+ }
5032
+ },
5033
+ {
5034
+ "kind": "webfonts#webfont",
5035
+ "family": "Graduate",
5036
+ "category": "display",
5037
+ "variants": [
5038
+ "regular"
5039
+ ],
5040
+ "subsets": [
5041
+ "latin"
5042
+ ],
5043
+ "version": "v4",
5044
+ "lastModified": "2016-04-25",
5045
+ "files": {
5046
+ "regular": "http://fonts.gstatic.com/s/graduate/v4/JpAmYLHqcIh9_Ff35HHwiA.ttf"
5047
+ }
5048
+ },
5049
+ {
5050
+ "kind": "webfonts#webfont",
5051
+ "family": "Grand Hotel",
5052
+ "category": "handwriting",
5053
+ "variants": [
5054
+ "regular"
5055
+ ],
5056
+ "subsets": [
5057
+ "latin",
5058
+ "latin-ext"
5059
+ ],
5060
+ "version": "v4",
5061
+ "lastModified": "2016-04-25",
5062
+ "files": {
5063
+ "regular": "http://fonts.gstatic.com/s/grandhotel/v4/C_A8HiFZjXPpnMt38XnK7qCWcynf_cDxXwCLxiixG1c.ttf"
5064
+ }
5065
+ },
5066
+ {
5067
+ "kind": "webfonts#webfont",
5068
+ "family": "Gravitas One",
5069
+ "category": "display",
5070
+ "variants": [
5071
+ "regular"
5072
+ ],
5073
+ "subsets": [
5074
+ "latin"
5075
+ ],
5076
+ "version": "v6",
5077
+ "lastModified": "2016-04-25",
5078
+ "files": {
5079
+ "regular": "http://fonts.gstatic.com/s/gravitasone/v6/nBHdBv6zVNU8MtP6w9FwTS3USBnSvpkopQaUR-2r7iU.ttf"
5080
+ }
5081
+ },
5082
+ {
5083
+ "kind": "webfonts#webfont",
5084
+ "family": "Great Vibes",
5085
+ "category": "handwriting",
5086
+ "variants": [
5087
+ "regular"
5088
+ ],
5089
+ "subsets": [
5090
+ "latin",
5091
+ "latin-ext"
5092
+ ],
5093
+ "version": "v4",
5094
+ "lastModified": "2016-04-25",
5095
+ "files": {
5096
+ "regular": "http://fonts.gstatic.com/s/greatvibes/v4/4Mi5RG_9LjQYrTU55GN_L6CWcynf_cDxXwCLxiixG1c.ttf"
5097
+ }
5098
+ },
5099
+ {
5100
+ "kind": "webfonts#webfont",
5101
+ "family": "Griffy",
5102
+ "category": "display",
5103
+ "variants": [
5104
+ "regular"
5105
+ ],
5106
+ "subsets": [
5107
+ "latin",
5108
+ "latin-ext"
5109
+ ],
5110
+ "version": "v4",
5111
+ "lastModified": "2016-04-25",
5112
+ "files": {
5113
+ "regular": "http://fonts.gstatic.com/s/griffy/v4/vWkyYGBSyE5xjnShNtJtzw.ttf"
5114
+ }
5115
+ },
5116
+ {
5117
+ "kind": "webfonts#webfont",
5118
+ "family": "Gruppo",
5119
+ "category": "display",
5120
+ "variants": [
5121
+ "regular"
5122
+ ],
5123
+ "subsets": [
5124
+ "latin",
5125
+ "latin-ext"
5126
+ ],
5127
+ "version": "v7",
5128
+ "lastModified": "2016-04-25",
5129
+ "files": {
5130
+ "regular": "http://fonts.gstatic.com/s/gruppo/v7/pS_JM0cK_piBZve-lfUq9w.ttf"
5131
+ }
5132
+ },
5133
+ {
5134
+ "kind": "webfonts#webfont",
5135
+ "family": "Gudea",
5136
+ "category": "sans-serif",
5137
+ "variants": [
5138
+ "regular",
5139
+ "italic",
5140
+ "700"
5141
+ ],
5142
+ "subsets": [
5143
+ "latin",
5144
+ "latin-ext"
5145
+ ],
5146
+ "version": "v4",
5147
+ "lastModified": "2016-04-25",
5148
+ "files": {
5149
+ "regular": "http://fonts.gstatic.com/s/gudea/v4/S-4QqBlkMPiiA3jNeCR5yw.ttf",
5150
+ "italic": "http://fonts.gstatic.com/s/gudea/v4/7mNgsGw_vfS-uUgRVXNDSw.ttf",
5151
+ "700": "http://fonts.gstatic.com/s/gudea/v4/lsip4aiWhJ9bx172Y9FN_w.ttf"
5152
+ }
5153
+ },
5154
+ {
5155
+ "kind": "webfonts#webfont",
5156
+ "family": "Gurajada",
5157
+ "category": "serif",
5158
+ "variants": [
5159
+ "regular"
5160
+ ],
5161
+ "subsets": [
5162
+ "latin",
5163
+ "telugu"
5164
+ ],
5165
+ "version": "v4",
5166
+ "lastModified": "2016-04-25",
5167
+ "files": {
5168
+ "regular": "http://fonts.gstatic.com/s/gurajada/v4/6Adfkl4PCRyq6XTENACEyA.ttf"
5169
+ }
5170
+ },
5171
+ {
5172
+ "kind": "webfonts#webfont",
5173
+ "family": "Habibi",
5174
+ "category": "serif",
5175
+ "variants": [
5176
+ "regular"
5177
+ ],
5178
+ "subsets": [
5179
+ "latin",
5180
+ "latin-ext"
5181
+ ],
5182
+ "version": "v5",
5183
+ "lastModified": "2016-04-25",
5184
+ "files": {
5185
+ "regular": "http://fonts.gstatic.com/s/habibi/v5/YYyqXF6pWpL7kmKgS_2iUA.ttf"
5186
+ }
5187
+ },
5188
+ {
5189
+ "kind": "webfonts#webfont",
5190
+ "family": "Halant",
5191
+ "category": "serif",
5192
+ "variants": [
5193
+ "300",
5194
+ "regular",
5195
+ "500",
5196
+ "600",
5197
+ "700"
5198
+ ],
5199
+ "subsets": [
5200
+ "latin",
5201
+ "devanagari",
5202
+ "latin-ext"
5203
+ ],
5204
+ "version": "v2",
5205
+ "lastModified": "2016-04-25",
5206
+ "files": {
5207
+ "300": "http://fonts.gstatic.com/s/halant/v2/dM3ItAOWNNod_Cf3MnLlEg.ttf",
5208
+ "regular": "http://fonts.gstatic.com/s/halant/v2/rEs7Jk3SVyt3cTx6DoTu1w.ttf",
5209
+ "500": "http://fonts.gstatic.com/s/halant/v2/tlsNj3K-hJKtiirTDtUbkQ.ttf",
5210
+ "600": "http://fonts.gstatic.com/s/halant/v2/zNR2WvI_V8o652vIZp3X4Q.ttf",
5211
+ "700": "http://fonts.gstatic.com/s/halant/v2/D9FN7OH89AuCmZDLHbPQfA.ttf"
5212
+ }
5213
+ },
5214
+ {
5215
+ "kind": "webfonts#webfont",
5216
+ "family": "Hammersmith One",
5217
+ "category": "sans-serif",
5218
+ "variants": [
5219
+ "regular"
5220
+ ],
5221
+ "subsets": [
5222
+ "latin",
5223
+ "latin-ext"
5224
+ ],
5225
+ "version": "v7",
5226
+ "lastModified": "2016-04-25",
5227
+ "files": {
5228
+ "regular": "http://fonts.gstatic.com/s/hammersmithone/v7/FWNn6ITYqL6or7ZTmBxRhjjVlsJB_M_Q_LtZxsoxvlw.ttf"
5229
+ }
5230
+ },
5231
+ {
5232
+ "kind": "webfonts#webfont",
5233
+ "family": "Hanalei",
5234
+ "category": "display",
5235
+ "variants": [
5236
+ "regular"
5237
+ ],
5238
+ "subsets": [
5239
+ "latin",
5240
+ "latin-ext"
5241
+ ],
5242
+ "version": "v6",
5243
+ "lastModified": "2016-04-25",
5244
+ "files": {
5245
+ "regular": "http://fonts.gstatic.com/s/hanalei/v6/Sx8vVMBnXSQyK6Cn0CBJ3A.ttf"
5246
+ }
5247
+ },
5248
+ {
5249
+ "kind": "webfonts#webfont",
5250
+ "family": "Hanalei Fill",
5251
+ "category": "display",
5252
+ "variants": [
5253
+ "regular"
5254
+ ],
5255
+ "subsets": [
5256
+ "latin",
5257
+ "latin-ext"
5258
+ ],
5259
+ "version": "v5",
5260
+ "lastModified": "2016-04-25",
5261
+ "files": {
5262
+ "regular": "http://fonts.gstatic.com/s/hanaleifill/v5/5uPeWLnaDdtm4UBG26Ds6C3USBnSvpkopQaUR-2r7iU.ttf"
5263
+ }
5264
+ },
5265
+ {
5266
+ "kind": "webfonts#webfont",
5267
+ "family": "Handlee",
5268
+ "category": "handwriting",
5269
+ "variants": [
5270
+ "regular"
5271
+ ],
5272
+ "subsets": [
5273
+ "latin"
5274
+ ],
5275
+ "version": "v5",
5276
+ "lastModified": "2016-04-25",
5277
+ "files": {
5278
+ "regular": "http://fonts.gstatic.com/s/handlee/v5/6OfkXkyC0E5NZN80ED8u3A.ttf"
5279
+ }
5280
+ },
5281
+ {
5282
+ "kind": "webfonts#webfont",
5283
+ "family": "Hanuman",
5284
+ "category": "serif",
5285
+ "variants": [
5286
+ "regular",
5287
+ "700"
5288
+ ],
5289
+ "subsets": [
5290
+ "khmer"
5291
+ ],
5292
+ "version": "v9",
5293
+ "lastModified": "2016-04-25",
5294
+ "files": {
5295
+ "regular": "http://fonts.gstatic.com/s/hanuman/v9/hRhwOGGmElJSl6KSPvEnOQ.ttf",
5296
+ "700": "http://fonts.gstatic.com/s/hanuman/v9/lzzXZ2l84x88giDrbfq76vesZW2xOQ-xsNqO47m55DA.ttf"
5297
+ }
5298
+ },
5299
+ {
5300
+ "kind": "webfonts#webfont",
5301
+ "family": "Happy Monkey",
5302
+ "category": "display",
5303
+ "variants": [
5304
+ "regular"
5305
+ ],
5306
+ "subsets": [
5307
+ "latin",
5308
+ "latin-ext"
5309
+ ],
5310
+ "version": "v5",
5311
+ "lastModified": "2016-04-25",
5312
+ "files": {
5313
+ "regular": "http://fonts.gstatic.com/s/happymonkey/v5/c2o0ps8nkBmaOYctqBq1rS3USBnSvpkopQaUR-2r7iU.ttf"
5314
+ }
5315
+ },
5316
+ {
5317
+ "kind": "webfonts#webfont",
5318
+ "family": "Headland One",
5319
+ "category": "serif",
5320
+ "variants": [
5321
+ "regular"
5322
+ ],
5323
+ "subsets": [
5324
+ "latin",
5325
+ "latin-ext"
5326
+ ],
5327
+ "version": "v4",
5328
+ "lastModified": "2016-04-25",
5329
+ "files": {
5330
+ "regular": "http://fonts.gstatic.com/s/headlandone/v4/iGmBeOvQGfq9DSbjJ8jDVy3USBnSvpkopQaUR-2r7iU.ttf"
5331
+ }
5332
+ },
5333
+ {
5334
+ "kind": "webfonts#webfont",
5335
+ "family": "Henny Penny",
5336
+ "category": "display",
5337
+ "variants": [
5338
+ "regular"
5339
+ ],
5340
+ "subsets": [
5341
+ "latin"
5342
+ ],
5343
+ "version": "v4",
5344
+ "lastModified": "2016-04-25",
5345
+ "files": {
5346
+ "regular": "http://fonts.gstatic.com/s/hennypenny/v4/XRgo3ogXyi3tpsFfjImRF6CWcynf_cDxXwCLxiixG1c.ttf"
5347
+ }
5348
+ },
5349
+ {
5350
+ "kind": "webfonts#webfont",
5351
+ "family": "Herr Von Muellerhoff",
5352
+ "category": "handwriting",
5353
+ "variants": [
5354
+ "regular"
5355
+ ],
5356
+ "subsets": [
5357
+ "latin",
5358
+ "latin-ext"
5359
+ ],
5360
+ "version": "v6",
5361
+ "lastModified": "2016-04-25",
5362
+ "files": {
5363
+ "regular": "http://fonts.gstatic.com/s/herrvonmuellerhoff/v6/mmy24EUmk4tjm4gAEjUd7NLGIYrUsBdh-JWHYgiDiMU.ttf"
5364
+ }
5365
+ },
5366
+ {
5367
+ "kind": "webfonts#webfont",
5368
+ "family": "Hind",
5369
+ "category": "sans-serif",
5370
+ "variants": [
5371
+ "300",
5372
+ "regular",
5373
+ "500",
5374
+ "600",
5375
+ "700"
5376
+ ],
5377
+ "subsets": [
5378
+ "latin",
5379
+ "devanagari",
5380
+ "latin-ext"
5381
+ ],
5382
+ "version": "v5",
5383
+ "lastModified": "2016-04-25",
5384
+ "files": {
5385
+ "300": "http://fonts.gstatic.com/s/hind/v5/qa346Adgv9kPDXoD1my4kA.ttf",
5386
+ "regular": "http://fonts.gstatic.com/s/hind/v5/mktFHh5Z5P9YjGKSslSUtA.ttf",
5387
+ "500": "http://fonts.gstatic.com/s/hind/v5/2cs8RCVcYtiv4iNDH1UsQQ.ttf",
5388
+ "600": "http://fonts.gstatic.com/s/hind/v5/TUKUmFMXSoxloBP1ni08oA.ttf",
5389
+ "700": "http://fonts.gstatic.com/s/hind/v5/cXJJavLdUbCfjxlsA6DqTw.ttf"
5390
+ }
5391
+ },
5392
+ {
5393
+ "kind": "webfonts#webfont",
5394
+ "family": "Hind Siliguri",
5395
+ "category": "sans-serif",
5396
+ "variants": [
5397
+ "300",
5398
+ "regular",
5399
+ "500",
5400
+ "600",
5401
+ "700"
5402
+ ],
5403
+ "subsets": [
5404
+ "latin",
5405
+ "latin-ext",
5406
+ "bengali"
5407
+ ],
5408
+ "version": "v1",
5409
+ "lastModified": "2016-04-25",
5410
+ "files": {
5411
+ "300": "http://fonts.gstatic.com/s/hindsiliguri/v1/fBpmjMpv5Rh6S25yVfWJnzoJ52uD-1fmXmi8u0n_zsc.ttf",
5412
+ "regular": "http://fonts.gstatic.com/s/hindsiliguri/v1/f2eEi2pbIa8eBfNwpUl0Am_MnNA9OgK8I1F23mNWOpE.ttf",
5413
+ "500": "http://fonts.gstatic.com/s/hindsiliguri/v1/fBpmjMpv5Rh6S25yVfWJn__2zpxNHQ3utWt_82o9dAo.ttf",
5414
+ "600": "http://fonts.gstatic.com/s/hindsiliguri/v1/fBpmjMpv5Rh6S25yVfWJn-x91FDzFvnud68bXrNkpDA.ttf",
5415
+ "700": "http://fonts.gstatic.com/s/hindsiliguri/v1/fBpmjMpv5Rh6S25yVfWJn6iiXuG_rGcOxkuidirlnJE.ttf"
5416
+ }
5417
+ },
5418
+ {
5419
+ "kind": "webfonts#webfont",
5420
+ "family": "Hind Vadodara",
5421
+ "category": "sans-serif",
5422
+ "variants": [
5423
+ "300",
5424
+ "regular",
5425
+ "500",
5426
+ "600",
5427
+ "700"
5428
+ ],
5429
+ "subsets": [
5430
+ "latin",
5431
+ "gujarati",
5432
+ "latin-ext"
5433
+ ],
5434
+ "version": "v1",
5435
+ "lastModified": "2016-04-25",
5436
+ "files": {
5437
+ "300": "http://fonts.gstatic.com/s/hindvadodara/v1/KrZ6f_YevRawHvh0qDBkTbDwfZ__Dotj_J8NiWv76DQ.ttf",
5438
+ "regular": "http://fonts.gstatic.com/s/hindvadodara/v1/9c6KKeibr6NtFqknnNxZB-Dcg5akpSnIcsPhLOFv7l8.ttf",
5439
+ "500": "http://fonts.gstatic.com/s/hindvadodara/v1/KrZ6f_YevRawHvh0qDBkTZzEKvFIU9WyojfbAkhDb6c.ttf",
5440
+ "600": "http://fonts.gstatic.com/s/hindvadodara/v1/KrZ6f_YevRawHvh0qDBkTfgXs2VXrZsRiQ1c96pXZKI.ttf",
5441
+ "700": "http://fonts.gstatic.com/s/hindvadodara/v1/KrZ6f_YevRawHvh0qDBkTYGjoH95IEFGA7BjhXnx_eg.ttf"
5442
+ }
5443
+ },
5444
+ {
5445
+ "kind": "webfonts#webfont",
5446
+ "family": "Holtwood One SC",
5447
+ "category": "serif",
5448
+ "variants": [
5449
+ "regular"
5450
+ ],
5451
+ "subsets": [
5452
+ "latin"
5453
+ ],
5454
+ "version": "v7",
5455
+ "lastModified": "2016-04-25",
5456
+ "files": {
5457
+ "regular": "http://fonts.gstatic.com/s/holtwoodonesc/v7/sToOq3cIxbfnhbEkgYNuBbAgSRh1LpJXlLfl8IbsmHg.ttf"
5458
+ }
5459
+ },
5460
+ {
5461
+ "kind": "webfonts#webfont",
5462
+ "family": "Homemade Apple",
5463
+ "category": "handwriting",
5464
+ "variants": [
5465
+ "regular"
5466
+ ],
5467
+ "subsets": [
5468
+ "latin"
5469
+ ],
5470
+ "version": "v6",
5471
+ "lastModified": "2016-04-25",
5472
+ "files": {
5473
+ "regular": "http://fonts.gstatic.com/s/homemadeapple/v6/yg3UMEsefgZ8IHz_ryz86BiPOmFWYV1WlrJkRafc4c0.ttf"
5474
+ }
5475
+ },
5476
+ {
5477
+ "kind": "webfonts#webfont",
5478
+ "family": "Homenaje",
5479
+ "category": "sans-serif",
5480
+ "variants": [
5481
+ "regular"
5482
+ ],
5483
+ "subsets": [
5484
+ "latin",
5485
+ "latin-ext"
5486
+ ],
5487
+ "version": "v5",
5488
+ "lastModified": "2016-04-25",
5489
+ "files": {
5490
+ "regular": "http://fonts.gstatic.com/s/homenaje/v5/v0YBU0iBRrGdVjDNQILxtA.ttf"
5491
+ }
5492
+ },
5493
+ {
5494
+ "kind": "webfonts#webfont",
5495
+ "family": "IM Fell DW Pica",
5496
+ "category": "serif",
5497
+ "variants": [
5498
+ "regular",
5499
+ "italic"
5500
+ ],
5501
+ "subsets": [
5502
+ "latin"
5503
+ ],
5504
+ "version": "v6",
5505
+ "lastModified": "2016-04-25",
5506
+ "files": {
5507
+ "regular": "http://fonts.gstatic.com/s/imfelldwpica/v6/W81bfaWiUicLSPbJhW-ATsA5qm663gJGVdtpamafG5A.ttf",
5508
+ "italic": "http://fonts.gstatic.com/s/imfelldwpica/v6/alQJ8SK5aSOZVaelYoyT4PL2asmh5DlYQYCosKo6yQs.ttf"
5509
+ }
5510
+ },
5511
+ {
5512
+ "kind": "webfonts#webfont",
5513
+ "family": "IM Fell DW Pica SC",
5514
+ "category": "serif",
5515
+ "variants": [
5516
+ "regular"
5517
+ ],
5518
+ "subsets": [
5519
+ "latin"
5520
+ ],
5521
+ "version": "v6",
5522
+ "lastModified": "2016-04-25",
5523
+ "files": {
5524
+ "regular": "http://fonts.gstatic.com/s/imfelldwpicasc/v6/xBKKJV4z2KsrtQnmjGO17JZ9RBdEL0H9o5qzT1Rtof4.ttf"
5525
+ }
5526
+ },
5527
+ {
5528
+ "kind": "webfonts#webfont",
5529
+ "family": "IM Fell Double Pica",
5530
+ "category": "serif",
5531
+ "variants": [
5532
+ "regular",
5533
+ "italic"
5534
+ ],
5535
+ "subsets": [
5536
+ "latin"
5537
+ ],
5538
+ "version": "v6",
5539
+ "lastModified": "2016-04-25",
5540
+ "files": {
5541
+ "regular": "http://fonts.gstatic.com/s/imfelldoublepica/v6/yN1wY_01BkQnO0LYAhXdUol14jEdVOhEmvtCMCVwYak.ttf",
5542
+ "italic": "http://fonts.gstatic.com/s/imfelldoublepica/v6/64odUh2hAw8D9dkFKTlWYq0AWwkgdQfsRHec8TYi4mI.ttf"
5543
+ }
5544
+ },
5545
+ {
5546
+ "kind": "webfonts#webfont",
5547
+ "family": "IM Fell Double Pica SC",
5548
+ "category": "serif",
5549
+ "variants": [
5550
+ "regular"
5551
+ ],
5552
+ "subsets": [
5553
+ "latin"
5554
+ ],
5555
+ "version": "v6",
5556
+ "lastModified": "2016-04-25",
5557
+ "files": {
5558
+ "regular": "http://fonts.gstatic.com/s/imfelldoublepicasc/v6/jkrUtrLFpMw4ZazhfkKsGwc4LoC4OJUqLw9omnT3VOU.ttf"
5559
+ }
5560
+ },
5561
+ {
5562
+ "kind": "webfonts#webfont",
5563
+ "family": "IM Fell English",
5564
+ "category": "serif",
5565
+ "variants": [
5566
+ "regular",
5567
+ "italic"
5568
+ ],
5569
+ "subsets": [
5570
+ "latin"
5571
+ ],
5572
+ "version": "v6",
5573
+ "lastModified": "2016-04-25",
5574
+ "files": {
5575
+ "regular": "http://fonts.gstatic.com/s/imfellenglish/v6/xwIisCqGFi8pff-oa9uSVHGNmx1fDm-u2eBJHQkdrmk.ttf",
5576
+ "italic": "http://fonts.gstatic.com/s/imfellenglish/v6/Z3cnIAI_L3XTRfz4JuZKbuewladMPCWTthtMv9cPS-c.ttf"
5577
+ }
5578
+ },
5579
+ {
5580
+ "kind": "webfonts#webfont",
5581
+ "family": "IM Fell English SC",
5582
+ "category": "serif",
5583
+ "variants": [
5584
+ "regular"
5585
+ ],
5586
+ "subsets": [
5587
+ "latin"
5588
+ ],
5589
+ "version": "v6",
5590
+ "lastModified": "2016-04-25",
5591
+ "files": {
5592
+ "regular": "http://fonts.gstatic.com/s/imfellenglishsc/v6/h3Tn6yWfw4b5qaLD1RWvz5ATixNthKRRR1XVH3rJNiw.ttf"
5593
+ }
5594
+ },
5595
+ {
5596
+ "kind": "webfonts#webfont",
5597
+ "family": "IM Fell French Canon",
5598
+ "category": "serif",
5599
+ "variants": [
5600
+ "regular",
5601
+ "italic"
5602
+ ],
5603
+ "subsets": [
5604
+ "latin"
5605
+ ],
5606
+ "version": "v6",
5607
+ "lastModified": "2016-04-25",
5608
+ "files": {
5609
+ "regular": "http://fonts.gstatic.com/s/imfellfrenchcanon/v6/iKB0WL1BagSpNPz3NLMdsJ3V2FNpBrlLSvqUnERhBP8.ttf",
5610
+ "italic": "http://fonts.gstatic.com/s/imfellfrenchcanon/v6/owCuNQkLLFW7TBBPJbMnhRa-QL94KdW80H29tcyld2A.ttf"
5611
+ }
5612
+ },
5613
+ {
5614
+ "kind": "webfonts#webfont",
5615
+ "family": "IM Fell French Canon SC",
5616
+ "category": "serif",
5617
+ "variants": [
5618
+ "regular"
5619
+ ],
5620
+ "subsets": [
5621
+ "latin"
5622
+ ],
5623
+ "version": "v6",
5624
+ "lastModified": "2016-04-25",
5625
+ "files": {
5626
+ "regular": "http://fonts.gstatic.com/s/imfellfrenchcanonsc/v6/kA3bS19-tQbeT_iG32EZmaiyyzHwYrAbmNulTz423iM.ttf"
5627
+ }
5628
+ },
5629
+ {
5630
+ "kind": "webfonts#webfont",
5631
+ "family": "IM Fell Great Primer",
5632
+ "category": "serif",
5633
+ "variants": [
5634
+ "regular",
5635
+ "italic"
5636
+ ],
5637
+ "subsets": [
5638
+ "latin"
5639
+ ],
5640
+ "version": "v6",
5641
+ "lastModified": "2016-04-25",
5642
+ "files": {
5643
+ "regular": "http://fonts.gstatic.com/s/imfellgreatprimer/v6/AL8ALGNthei20f9Cu3e93rgeX3ROgtTz44CitKAxzKI.ttf",
5644
+ "italic": "http://fonts.gstatic.com/s/imfellgreatprimer/v6/1a-artkXMVg682r7TTxVY1_YG2SFv8Ma7CxRl1S3o7g.ttf"
5645
+ }
5646
+ },
5647
+ {
5648
+ "kind": "webfonts#webfont",
5649
+ "family": "IM Fell Great Primer SC",
5650
+ "category": "serif",
5651
+ "variants": [
5652
+ "regular"
5653
+ ],
5654
+ "subsets": [
5655
+ "latin"
5656
+ ],
5657
+ "version": "v6",
5658
+ "lastModified": "2016-04-25",
5659
+ "files": {
5660
+ "regular": "http://fonts.gstatic.com/s/imfellgreatprimersc/v6/A313vRj97hMMGFjt6rgSJtRg-ciw1Y27JeXb2Zv4lZQ.ttf"
5661
+ }
5662
+ },
5663
+ {
5664
+ "kind": "webfonts#webfont",
5665
+ "family": "Iceberg",
5666
+ "category": "display",
5667
+ "variants": [
5668
+ "regular"
5669
+ ],
5670
+ "subsets": [
5671
+ "latin"
5672
+ ],
5673
+ "version": "v4",
5674
+ "lastModified": "2016-04-25",
5675
+ "files": {
5676
+ "regular": "http://fonts.gstatic.com/s/iceberg/v4/p2XVm4M-N0AOEEOymFKC5w.ttf"
5677
+ }
5678
+ },
5679
+ {
5680
+ "kind": "webfonts#webfont",
5681
+ "family": "Iceland",
5682
+ "category": "display",
5683
+ "variants": [
5684
+ "regular"
5685
+ ],
5686
+ "subsets": [
5687
+ "latin"
5688
+ ],
5689
+ "version": "v5",
5690
+ "lastModified": "2016-04-25",
5691
+ "files": {
5692
+ "regular": "http://fonts.gstatic.com/s/iceland/v5/kq3uTMGgvzWGNi39B_WxGA.ttf"
5693
+ }
5694
+ },
5695
+ {
5696
+ "kind": "webfonts#webfont",
5697
+ "family": "Imprima",
5698
+ "category": "sans-serif",
5699
+ "variants": [
5700
+ "regular"
5701
+ ],
5702
+ "subsets": [
5703
+ "latin",
5704
+ "latin-ext"
5705
+ ],
5706
+ "version": "v4",
5707
+ "lastModified": "2016-04-25",
5708
+ "files": {
5709
+ "regular": "http://fonts.gstatic.com/s/imprima/v4/eRjquWLjwLGnTEhLH7u3kA.ttf"
5710
+ }
5711
+ },
5712
+ {
5713
+ "kind": "webfonts#webfont",
5714
+ "family": "Inconsolata",
5715
+ "category": "monospace",
5716
+ "variants": [
5717
+ "regular",
5718
+ "700"
5719
+ ],
5720
+ "subsets": [
5721
+ "latin",
5722
+ "latin-ext"
5723
+ ],
5724
+ "version": "v12",
5725
+ "lastModified": "2016-04-25",
5726
+ "files": {
5727
+ "regular": "http://fonts.gstatic.com/s/inconsolata/v12/7bMKuoy6Nh0ft0SHnIGMuaCWcynf_cDxXwCLxiixG1c.ttf",
5728
+ "700": "http://fonts.gstatic.com/s/inconsolata/v12/AIed271kqQlcIRSOnQH0yXe1Pd76Vl7zRpE7NLJQ7XU.ttf"
5729
+ }
5730
+ },
5731
+ {
5732
+ "kind": "webfonts#webfont",
5733
+ "family": "Inder",
5734
+ "category": "sans-serif",
5735
+ "variants": [
5736
+ "regular"
5737
+ ],
5738
+ "subsets": [
5739
+ "latin",
5740
+ "latin-ext"
5741
+ ],
5742
+ "version": "v5",
5743
+ "lastModified": "2016-04-25",
5744
+ "files": {
5745
+ "regular": "http://fonts.gstatic.com/s/inder/v5/C38TwecLTfKxIHDc_Adcrw.ttf"
5746
+ }
5747
+ },
5748
+ {
5749
+ "kind": "webfonts#webfont",
5750
+ "family": "Indie Flower",
5751
+ "category": "handwriting",
5752
+ "variants": [
5753
+ "regular"
5754
+ ],
5755
+ "subsets": [
5756
+ "latin"
5757
+ ],
5758
+ "version": "v8",
5759
+ "lastModified": "2016-04-25",
5760
+ "files": {
5761
+ "regular": "http://fonts.gstatic.com/s/indieflower/v8/10JVD_humAd5zP2yrFqw6i3USBnSvpkopQaUR-2r7iU.ttf"
5762
+ }
5763
+ },
5764
+ {
5765
+ "kind": "webfonts#webfont",
5766
+ "family": "Inika",
5767
+ "category": "serif",
5768
+ "variants": [
5769
+ "regular",
5770
+ "700"
5771
+ ],
5772
+ "subsets": [
5773
+ "latin",
5774
+ "latin-ext"
5775
+ ],
5776
+ "version": "v4",
5777
+ "lastModified": "2016-04-25",
5778
+ "files": {
5779
+ "regular": "http://fonts.gstatic.com/s/inika/v4/eZCrULQGaIxkrRoGz_DjhQ.ttf",
5780
+ "700": "http://fonts.gstatic.com/s/inika/v4/bl3ZoTyrWsFun2zYbsgJrA.ttf"
5781
+ }
5782
+ },
5783
+ {
5784
+ "kind": "webfonts#webfont",
5785
+ "family": "Inknut Antiqua",
5786
+ "category": "serif",
5787
+ "variants": [
5788
+ "300",
5789
+ "regular",
5790
+ "500",
5791
+ "600",
5792
+ "700",
5793
+ "800",
5794
+ "900"
5795
+ ],
5796
+ "subsets": [
5797
+ "latin",
5798
+ "devanagari",
5799
+ "latin-ext"
5800
+ ],
5801
+ "version": "v1",
5802
+ "lastModified": "2016-04-25",
5803
+ "files": {
5804
+ "300": "http://fonts.gstatic.com/s/inknutantiqua/v1/CagoW52rBcslcXzHh6tVIg6hmPNSXwHGnJQCeQHKUMo.ttf",
5805
+ "regular": "http://fonts.gstatic.com/s/inknutantiqua/v1/VlmmTfOrxr3HfcnhMueX9arFJ4O13IHVxZbM6yoslpo.ttf",
5806
+ "500": "http://fonts.gstatic.com/s/inknutantiqua/v1/CagoW52rBcslcXzHh6tVIiYCDvi1XFzRnTV7qUFsNgk.ttf",
5807
+ "600": "http://fonts.gstatic.com/s/inknutantiqua/v1/CagoW52rBcslcXzHh6tVIjLEgY6PI0GrY6L00mykcEQ.ttf",
5808
+ "700": "http://fonts.gstatic.com/s/inknutantiqua/v1/CagoW52rBcslcXzHh6tVIlRhfXn9P4_QueZ7VkUHUNc.ttf",
5809
+ "800": "http://fonts.gstatic.com/s/inknutantiqua/v1/CagoW52rBcslcXzHh6tVInARjXVu2t2krcNTHiCb1qY.ttf",
5810
+ "900": "http://fonts.gstatic.com/s/inknutantiqua/v1/CagoW52rBcslcXzHh6tVIrTsNy1JrFNT1qKy8j7W3CU.ttf"
5811
+ }
5812
+ },
5813
+ {
5814
+ "kind": "webfonts#webfont",
5815
+ "family": "Irish Grover",
5816
+ "category": "display",
5817
+ "variants": [
5818
+ "regular"
5819
+ ],
5820
+ "subsets": [
5821
+ "latin"
5822
+ ],
5823
+ "version": "v6",
5824
+ "lastModified": "2016-04-25",
5825
+ "files": {
5826
+ "regular": "http://fonts.gstatic.com/s/irishgrover/v6/kUp7uUPooL-KsLGzeVJbBC3USBnSvpkopQaUR-2r7iU.ttf"
5827
+ }
5828
+ },
5829
+ {
5830
+ "kind": "webfonts#webfont",
5831
+ "family": "Istok Web",
5832
+ "category": "sans-serif",
5833
+ "variants": [
5834
+ "regular",
5835
+ "italic",
5836
+ "700",
5837
+ "700italic"
5838
+ ],
5839
+ "subsets": [
5840
+ "latin",
5841
+ "latin-ext",
5842
+ "cyrillic-ext",
5843
+ "cyrillic"
5844
+ ],
5845
+ "version": "v10",
5846
+ "lastModified": "2016-04-25",
5847
+ "files": {
5848
+ "regular": "http://fonts.gstatic.com/s/istokweb/v10/RYLSjEXQ0nNtLLc4n7--dQ.ttf",
5849
+ "italic": "http://fonts.gstatic.com/s/istokweb/v10/kvcT2SlTjmGbC3YlZxmrl6CWcynf_cDxXwCLxiixG1c.ttf",
5850
+ "700": "http://fonts.gstatic.com/s/istokweb/v10/2koEo4AKFSvK4B52O_Mwai3USBnSvpkopQaUR-2r7iU.ttf",
5851
+ "700italic": "http://fonts.gstatic.com/s/istokweb/v10/ycQ3g52ELrh3o_HYCNNUw3e1Pd76Vl7zRpE7NLJQ7XU.ttf"
5852
+ }
5853
+ },
5854
+ {
5855
+ "kind": "webfonts#webfont",
5856
+ "family": "Italiana",
5857
+ "category": "serif",
5858
+ "variants": [
5859
+ "regular"
5860
+ ],
5861
+ "subsets": [
5862
+ "latin"
5863
+ ],
5864
+ "version": "v4",
5865
+ "lastModified": "2016-04-25",
5866
+ "files": {
5867
+ "regular": "http://fonts.gstatic.com/s/italiana/v4/dt95fkCSTOF-c6QNjwSycA.ttf"
5868
+ }
5869
+ },
5870
+ {
5871
+ "kind": "webfonts#webfont",
5872
+ "family": "Italianno",
5873
+ "category": "handwriting",
5874
+ "variants": [
5875
+ "regular"
5876
+ ],
5877
+ "subsets": [
5878
+ "latin",
5879
+ "latin-ext"
5880
+ ],
5881
+ "version": "v6",
5882
+ "lastModified": "2016-04-25",
5883
+ "files": {
5884
+ "regular": "http://fonts.gstatic.com/s/italianno/v6/HsyHnLpKf8uP7aMpDQHZmg.ttf"
5885
+ }
5886
+ },
5887
+ {
5888
+ "kind": "webfonts#webfont",
5889
+ "family": "Itim",
5890
+ "category": "handwriting",
5891
+ "variants": [
5892
+ "regular"
5893
+ ],
5894
+ "subsets": [
5895
+ "latin",
5896
+ "thai",
5897
+ "latin-ext",
5898
+ "vietnamese"
5899
+ ],
5900
+ "version": "v1",
5901
+ "lastModified": "2016-04-25",
5902
+ "files": {
5903
+ "regular": "http://fonts.gstatic.com/s/itim/v1/HHV9WK2x5lUkc5bxMXG8Tw.ttf"
5904
+ }
5905
+ },
5906
+ {
5907
+ "kind": "webfonts#webfont",
5908
+ "family": "Jacques Francois",
5909
+ "category": "serif",
5910
+ "variants": [
5911
+ "regular"
5912
+ ],
5913
+ "subsets": [
5914
+ "latin"
5915
+ ],
5916
+ "version": "v4",
5917
+ "lastModified": "2016-04-25",
5918
+ "files": {
5919
+ "regular": "http://fonts.gstatic.com/s/jacquesfrancois/v4/_-0XWPQIW6tOzTHg4KaJ_M13D_4KM32Q4UmTSjpuNGQ.ttf"
5920
+ }
5921
+ },
5922
+ {
5923
+ "kind": "webfonts#webfont",
5924
+ "family": "Jacques Francois Shadow",
5925
+ "category": "display",
5926
+ "variants": [
5927
+ "regular"
5928
+ ],
5929
+ "subsets": [
5930
+ "latin"
5931
+ ],
5932
+ "version": "v4",
5933
+ "lastModified": "2016-04-25",
5934
+ "files": {
5935
+ "regular": "http://fonts.gstatic.com/s/jacquesfrancoisshadow/v4/V14y0H3vq56fY9SV4OL_FASt0D_oLVawA8L8b9iKjbs.ttf"
5936
+ }
5937
+ },
5938
+ {
5939
+ "kind": "webfonts#webfont",
5940
+ "family": "Jaldi",
5941
+ "category": "sans-serif",
5942
+ "variants": [
5943
+ "regular",
5944
+ "700"
5945
+ ],
5946
+ "subsets": [
5947
+ "latin",
5948
+ "devanagari",
5949
+ "latin-ext"
5950
+ ],
5951
+ "version": "v2",
5952
+ "lastModified": "2016-04-25",
5953
+ "files": {
5954
+ "regular": "http://fonts.gstatic.com/s/jaldi/v2/x1vR-bPW9a1EB-BUVqttCw.ttf",
5955
+ "700": "http://fonts.gstatic.com/s/jaldi/v2/OIbtgjjEp3aVWtjF6WY8mA.ttf"
5956
+ }
5957
+ },
5958
+ {
5959
+ "kind": "webfonts#webfont",
5960
+ "family": "Jim Nightshade",
5961
+ "category": "handwriting",
5962
+ "variants": [
5963
+ "regular"
5964
+ ],
5965
+ "subsets": [
5966
+ "latin",
5967
+ "latin-ext"
5968
+ ],
5969
+ "version": "v4",
5970
+ "lastModified": "2016-04-25",
5971
+ "files": {
5972
+ "regular": "http://fonts.gstatic.com/s/jimnightshade/v4/_n43lYHXVWNgXegdYRIK9CF1W_bo0EdycfH0kHciIic.ttf"
5973
+ }
5974
+ },
5975
+ {
5976
+ "kind": "webfonts#webfont",
5977
+ "family": "Jockey One",
5978
+ "category": "sans-serif",
5979
+ "variants": [
5980
+ "regular"
5981
+ ],
5982
+ "subsets": [
5983
+ "latin",
5984
+ "latin-ext"
5985
+ ],
5986
+ "version": "v6",
5987
+ "lastModified": "2016-04-25",
5988
+ "files": {
5989
+ "regular": "http://fonts.gstatic.com/s/jockeyone/v6/cAucnOZLvFo07w2AbufBCfesZW2xOQ-xsNqO47m55DA.ttf"
5990
+ }
5991
+ },
5992
+ {
5993
+ "kind": "webfonts#webfont",
5994
+ "family": "Jolly Lodger",
5995
+ "category": "display",
5996
+ "variants": [
5997
+ "regular"
5998
+ ],
5999
+ "subsets": [
6000
+ "latin",
6001
+ "latin-ext"
6002
+ ],
6003
+ "version": "v4",
6004
+ "lastModified": "2016-04-25",
6005
+ "files": {
6006
+ "regular": "http://fonts.gstatic.com/s/jollylodger/v4/RX8HnkBgaEKQSHQyP9itiS3USBnSvpkopQaUR-2r7iU.ttf"
6007
+ }
6008
+ },
6009
+ {
6010
+ "kind": "webfonts#webfont",
6011
+ "family": "Josefin Sans",
6012
+ "category": "sans-serif",
6013
+ "variants": [
6014
+ "100",
6015
+ "100italic",
6016
+ "300",
6017
+ "300italic",
6018
+ "regular",
6019
+ "italic",
6020
+ "600",
6021
+ "600italic",
6022
+ "700",
6023
+ "700italic"
6024
+ ],
6025
+ "subsets": [
6026
+ "latin",
6027
+ "latin-ext"
6028
+ ],
6029
+ "version": "v9",
6030
+ "lastModified": "2016-04-25",
6031
+ "files": {
6032
+ "100": "http://fonts.gstatic.com/s/josefinsans/v9/q9w3H4aeBxj0hZ8Osfi3d8SVQ0giZ-l_NELu3lgGyYw.ttf",
6033
+ "100italic": "http://fonts.gstatic.com/s/josefinsans/v9/s7-P1gqRNRNn-YWdOYnAOXXcj1rQwlNLIS625o-SrL0.ttf",
6034
+ "300": "http://fonts.gstatic.com/s/josefinsans/v9/C6HYlRF50SGJq1XyXj04z6cQoVhARpoaILP7amxE_8g.ttf",
6035
+ "300italic": "http://fonts.gstatic.com/s/josefinsans/v9/ppse0J9fKSaoxCIIJb33Gyna0FLWfcB-J_SAYmcAXaI.ttf",
6036
+ "regular": "http://fonts.gstatic.com/s/josefinsans/v9/xgzbb53t8j-Mo-vYa23n5i3USBnSvpkopQaUR-2r7iU.ttf",
6037
+ "italic": "http://fonts.gstatic.com/s/josefinsans/v9/q9w3H4aeBxj0hZ8Osfi3d_MZXuCXbOrAvx5R0IT5Oyo.ttf",
6038
+ "600": "http://fonts.gstatic.com/s/josefinsans/v9/C6HYlRF50SGJq1XyXj04z2v8CylhIUtwUiYO7Z2wXbE.ttf",
6039
+ "600italic": "http://fonts.gstatic.com/s/josefinsans/v9/ppse0J9fKSaoxCIIJb33G4R-5-urNOGAobhAyctHvW8.ttf",
6040
+ "700": "http://fonts.gstatic.com/s/josefinsans/v9/C6HYlRF50SGJq1XyXj04z0D2ttfZwueP-QU272T9-k4.ttf",
6041
+ "700italic": "http://fonts.gstatic.com/s/josefinsans/v9/ppse0J9fKSaoxCIIJb33G_As9-1nE9qOqhChW0m4nDE.ttf"
6042
+ }
6043
+ },
6044
+ {
6045
+ "kind": "webfonts#webfont",
6046
+ "family": "Josefin Slab",
6047
+ "category": "serif",
6048
+ "variants": [
6049
+ "100",
6050
+ "100italic",
6051
+ "300",
6052
+ "300italic",
6053
+ "regular",
6054
+ "italic",
6055
+ "600",
6056
+ "600italic",
6057
+ "700",
6058
+ "700italic"
6059
+ ],
6060
+ "subsets": [
6061
+ "latin"
6062
+ ],
6063
+ "version": "v6",
6064
+ "lastModified": "2016-04-25",
6065
+ "files": {
6066
+ "100": "http://fonts.gstatic.com/s/josefinslab/v6/etsUjZYO8lTLU85lDhZwUsSVQ0giZ-l_NELu3lgGyYw.ttf",
6067
+ "100italic": "http://fonts.gstatic.com/s/josefinslab/v6/8BjDChqLgBF3RJKfwHIYh3Xcj1rQwlNLIS625o-SrL0.ttf",
6068
+ "300": "http://fonts.gstatic.com/s/josefinslab/v6/NbE6ykYuM2IyEwxQxOIi2KcQoVhARpoaILP7amxE_8g.ttf",
6069
+ "300italic": "http://fonts.gstatic.com/s/josefinslab/v6/af9sBoKGPbGO0r21xJulyyna0FLWfcB-J_SAYmcAXaI.ttf",
6070
+ "regular": "http://fonts.gstatic.com/s/josefinslab/v6/46aYWdgz-1oFX11flmyEfS3USBnSvpkopQaUR-2r7iU.ttf",
6071
+ "italic": "http://fonts.gstatic.com/s/josefinslab/v6/etsUjZYO8lTLU85lDhZwUvMZXuCXbOrAvx5R0IT5Oyo.ttf",
6072
+ "600": "http://fonts.gstatic.com/s/josefinslab/v6/NbE6ykYuM2IyEwxQxOIi2Gv8CylhIUtwUiYO7Z2wXbE.ttf",
6073
+ "600italic": "http://fonts.gstatic.com/s/josefinslab/v6/af9sBoKGPbGO0r21xJuly4R-5-urNOGAobhAyctHvW8.ttf",
6074
+ "700": "http://fonts.gstatic.com/s/josefinslab/v6/NbE6ykYuM2IyEwxQxOIi2ED2ttfZwueP-QU272T9-k4.ttf",
6075
+ "700italic": "http://fonts.gstatic.com/s/josefinslab/v6/af9sBoKGPbGO0r21xJuly_As9-1nE9qOqhChW0m4nDE.ttf"
6076
+ }
6077
+ },
6078
+ {
6079
+ "kind": "webfonts#webfont",
6080
+ "family": "Joti One",
6081
+ "category": "display",
6082
+ "variants": [
6083
+ "regular"
6084
+ ],
6085
+ "subsets": [
6086
+ "latin",
6087
+ "latin-ext"
6088
+ ],
6089
+ "version": "v4",
6090
+ "lastModified": "2016-04-25",
6091
+ "files": {
6092
+ "regular": "http://fonts.gstatic.com/s/jotione/v4/P3r_Th0ESHJdzunsvWgUfQ.ttf"
6093
+ }
6094
+ },
6095
+ {
6096
+ "kind": "webfonts#webfont",
6097
+ "family": "Judson",
6098
+ "category": "serif",
6099
+ "variants": [
6100
+ "regular",
6101
+ "italic",
6102
+ "700"
6103
+ ],
6104
+ "subsets": [
6105
+ "latin",
6106
+ "latin-ext",
6107
+ "vietnamese"
6108
+ ],
6109
+ "version": "v9",
6110
+ "lastModified": "2016-04-25",
6111
+ "files": {
6112
+ "regular": "http://fonts.gstatic.com/s/judson/v9/znM1AAs0eytUaJzf1CrYZQ.ttf",
6113
+ "italic": "http://fonts.gstatic.com/s/judson/v9/GVqQW9P52ygW-ySq-CLwAA.ttf",
6114
+ "700": "http://fonts.gstatic.com/s/judson/v9/he4a2LwiPJc7r8x0oKCKiA.ttf"
6115
+ }
6116
+ },
6117
+ {
6118
+ "kind": "webfonts#webfont",
6119
+ "family": "Julee",
6120
+ "category": "handwriting",
6121
+ "variants": [
6122
+ "regular"
6123
+ ],
6124
+ "subsets": [
6125
+ "latin"
6126
+ ],
6127
+ "version": "v6",
6128
+ "lastModified": "2016-04-25",
6129
+ "files": {
6130
+ "regular": "http://fonts.gstatic.com/s/julee/v6/CAib-jsUsSO8SvVRnE9fHA.ttf"
6131
+ }
6132
+ },
6133
+ {
6134
+ "kind": "webfonts#webfont",
6135
+ "family": "Julius Sans One",
6136
+ "category": "sans-serif",
6137
+ "variants": [
6138
+ "regular"
6139
+ ],
6140
+ "subsets": [
6141
+ "latin",
6142
+ "latin-ext"
6143
+ ],
6144
+ "version": "v5",
6145
+ "lastModified": "2016-04-25",
6146
+ "files": {
6147
+ "regular": "http://fonts.gstatic.com/s/juliussansone/v5/iU65JP9acQHPDLkdalCF7jjVlsJB_M_Q_LtZxsoxvlw.ttf"
6148
+ }
6149
+ },
6150
+ {
6151
+ "kind": "webfonts#webfont",
6152
+ "family": "Junge",
6153
+ "category": "serif",
6154
+ "variants": [
6155
+ "regular"
6156
+ ],
6157
+ "subsets": [
6158
+ "latin"
6159
+ ],
6160
+ "version": "v4",
6161
+ "lastModified": "2016-04-25",
6162
+ "files": {
6163
+ "regular": "http://fonts.gstatic.com/s/junge/v4/j4IXCXtxrw9qIBheercp3A.ttf"
6164
+ }
6165
+ },
6166
+ {
6167
+ "kind": "webfonts#webfont",
6168
+ "family": "Jura",
6169
+ "category": "sans-serif",
6170
+ "variants": [
6171
+ "300",
6172
+ "regular",
6173
+ "500",
6174
+ "600"
6175
+ ],
6176
+ "subsets": [
6177
+ "latin",
6178
+ "greek",
6179
+ "latin-ext",
6180
+ "cyrillic-ext",
6181
+ "cyrillic"
6182
+ ],
6183
+ "version": "v7",
6184
+ "lastModified": "2016-04-25",
6185
+ "files": {
6186
+ "300": "http://fonts.gstatic.com/s/jura/v7/Rqx_xy1UnN0C7wD3FUSyPQ.ttf",
6187
+ "regular": "http://fonts.gstatic.com/s/jura/v7/YAWMwF3sN0KCbynMq-Yr_Q.ttf",
6188
+ "500": "http://fonts.gstatic.com/s/jura/v7/16xhfjHCiaLj3tsqqgmtGg.ttf",
6189
+ "600": "http://fonts.gstatic.com/s/jura/v7/iwseduOwJSdY8wQ1Y6CJdA.ttf"
6190
+ }
6191
+ },
6192
+ {
6193
+ "kind": "webfonts#webfont",
6194
+ "family": "Just Another Hand",
6195
+ "category": "handwriting",
6196
+ "variants": [
6197
+ "regular"
6198
+ ],
6199
+ "subsets": [
6200
+ "latin"
6201
+ ],
6202
+ "version": "v7",
6203
+ "lastModified": "2016-04-25",
6204
+ "files": {
6205
+ "regular": "http://fonts.gstatic.com/s/justanotherhand/v7/fKV8XYuRNNagXr38eqbRf99BnJIEGrvoojniP57E51c.ttf"
6206
+ }
6207
+ },
6208
+ {
6209
+ "kind": "webfonts#webfont",
6210
+ "family": "Just Me Again Down Here",
6211
+ "category": "handwriting",
6212
+ "variants": [
6213
+ "regular"
6214
+ ],
6215
+ "subsets": [
6216
+ "latin",
6217
+ "latin-ext"
6218
+ ],
6219
+ "version": "v8",
6220
+ "lastModified": "2016-04-25",
6221
+ "files": {
6222
+ "regular": "http://fonts.gstatic.com/s/justmeagaindownhere/v8/sN06iTc9ITubLTgXoG-kc3M9eVLpVTSK6TqZTIgBrWQ.ttf"
6223
+ }
6224
+ },
6225
+ {
6226
+ "kind": "webfonts#webfont",
6227
+ "family": "Kadwa",
6228
+ "category": "serif",
6229
+ "variants": [
6230
+ "regular",
6231
+ "700"
6232
+ ],
6233
+ "subsets": [
6234
+ "latin",
6235
+ "devanagari"
6236
+ ],
6237
+ "version": "v1",
6238
+ "lastModified": "2016-04-25",
6239
+ "files": {
6240
+ "regular": "http://fonts.gstatic.com/s/kadwa/v1/VwEN8oKGqaa0ug9kRpvSSg.ttf",
6241
+ "700": "http://fonts.gstatic.com/s/kadwa/v1/NFPZaBfekj_Io-7vUMz4Ww.ttf"
6242
+ }
6243
+ },
6244
+ {
6245
+ "kind": "webfonts#webfont",
6246
+ "family": "Kalam",
6247
+ "category": "handwriting",
6248
+ "variants": [
6249
+ "300",
6250
+ "regular",
6251
+ "700"
6252
+ ],
6253
+ "subsets": [
6254
+ "latin",
6255
+ "devanagari",
6256
+ "latin-ext"
6257
+ ],
6258
+ "version": "v7",
6259
+ "lastModified": "2016-04-25",
6260
+ "files": {
6261
+ "300": "http://fonts.gstatic.com/s/kalam/v7/MgQQlk1SgPEHdlkWMNh7Jg.ttf",
6262
+ "regular": "http://fonts.gstatic.com/s/kalam/v7/hNEJkp2K-aql7e5WQish4Q.ttf",
6263
+ "700": "http://fonts.gstatic.com/s/kalam/v7/95nLItUGyWtNLZjSckluLQ.ttf"
6264
+ }
6265
+ },
6266
+ {
6267
+ "kind": "webfonts#webfont",
6268
+ "family": "Kameron",
6269
+ "category": "serif",
6270
+ "variants": [
6271
+ "regular",
6272
+ "700"
6273
+ ],
6274
+ "subsets": [
6275
+ "latin"
6276
+ ],
6277
+ "version": "v7",
6278
+ "lastModified": "2016-04-25",
6279
+ "files": {
6280
+ "regular": "http://fonts.gstatic.com/s/kameron/v7/9r8HYhqDSwcq9WMjupL82A.ttf",
6281
+ "700": "http://fonts.gstatic.com/s/kameron/v7/rabVVbzlflqvmXJUFlKnu_esZW2xOQ-xsNqO47m55DA.ttf"
6282
+ }
6283
+ },
6284
+ {
6285
+ "kind": "webfonts#webfont",
6286
+ "family": "Kanit",
6287
+ "category": "sans-serif",
6288
+ "variants": [
6289
+ "100",
6290
+ "100italic",
6291
+ "200",
6292
+ "200italic",
6293
+ "300",
6294
+ "300italic",
6295
+ "regular",
6296
+ "italic",
6297
+ "500",
6298
+ "500italic",
6299
+ "600",
6300
+ "600italic",
6301
+ "700",
6302
+ "700italic",
6303
+ "800",
6304
+ "800italic",
6305
+ "900",
6306
+ "900italic"
6307
+ ],
6308
+ "subsets": [
6309
+ "latin",
6310
+ "thai",
6311
+ "latin-ext",
6312
+ "vietnamese"
6313
+ ],
6314
+ "version": "v1",
6315
+ "lastModified": "2016-04-25",
6316
+ "files": {
6317
+ "100": "http://fonts.gstatic.com/s/kanit/v1/CYl4qOK-NWwZp3iTKW1eIA.ttf",
6318
+ "100italic": "http://fonts.gstatic.com/s/kanit/v1/NLNtc56MpXmHl1yOrop8oQ.ttf",
6319
+ "200": "http://fonts.gstatic.com/s/kanit/v1/wfLWkj1C4tYl7MoiFWS3bA.ttf",
6320
+ "200italic": "http://fonts.gstatic.com/s/kanit/v1/D8gkrAAM2bvNJ-1i4ot-1_esZW2xOQ-xsNqO47m55DA.ttf",
6321
+ "300": "http://fonts.gstatic.com/s/kanit/v1/SM5qHynYGdOmMKEwGUFIPA.ttf",
6322
+ "300italic": "http://fonts.gstatic.com/s/kanit/v1/IePislKOKy3Bqfpb9V5VM_esZW2xOQ-xsNqO47m55DA.ttf",
6323
+ "regular": "http://fonts.gstatic.com/s/kanit/v1/L6VKvM17ZmevDynOiw7H9w.ttf",
6324
+ "italic": "http://fonts.gstatic.com/s/kanit/v1/sHLq5U0-T0oSMTnwTKgv-A.ttf",
6325
+ "500": "http://fonts.gstatic.com/s/kanit/v1/GxoU_USIJyIy8WIcYSUO2g.ttf",
6326
+ "500italic": "http://fonts.gstatic.com/s/kanit/v1/hrCiWCaNv9AaF0mDY1F2zPesZW2xOQ-xsNqO47m55DA.ttf",
6327
+ "600": "http://fonts.gstatic.com/s/kanit/v1/n_qoIVxojeQY0D1pvoNDhA.ttf",
6328
+ "600italic": "http://fonts.gstatic.com/s/kanit/v1/9BkP85yRDoVayTWQwdGLqPesZW2xOQ-xsNqO47m55DA.ttf",
6329
+ "700": "http://fonts.gstatic.com/s/kanit/v1/kEGmYvO8My36j5ILmbUPRg.ttf",
6330
+ "700italic": "http://fonts.gstatic.com/s/kanit/v1/WNo3ZZ9xtOZJknNlvHAFWfesZW2xOQ-xsNqO47m55DA.ttf",
6331
+ "800": "http://fonts.gstatic.com/s/kanit/v1/YTp-zAuKXxwnA1YnJIF1rg.ttf",
6332
+ "800italic": "http://fonts.gstatic.com/s/kanit/v1/qiTGrW5sCa9UQp841fWjc_esZW2xOQ-xsNqO47m55DA.ttf",
6333
+ "900": "http://fonts.gstatic.com/s/kanit/v1/1NIEkusi3bG3GgO9Hor3fQ.ttf",
6334
+ "900italic": "http://fonts.gstatic.com/s/kanit/v1/ogN5dFD1r4BfxNV4Nb-TXfesZW2xOQ-xsNqO47m55DA.ttf"
6335
+ }
6336
+ },
6337
+ {
6338
+ "kind": "webfonts#webfont",
6339
+ "family": "Kantumruy",
6340
+ "category": "sans-serif",
6341
+ "variants": [
6342
+ "300",
6343
+ "regular",
6344
+ "700"
6345
+ ],
6346
+ "subsets": [
6347
+ "khmer"
6348
+ ],
6349
+ "version": "v3",
6350
+ "lastModified": "2016-04-25",
6351
+ "files": {
6352
+ "300": "http://fonts.gstatic.com/s/kantumruy/v3/ERRwQE0WG5uanaZWmOFXNi3USBnSvpkopQaUR-2r7iU.ttf",
6353
+ "regular": "http://fonts.gstatic.com/s/kantumruy/v3/kQfXNYElQxr5dS8FyjD39Q.ttf",
6354
+ "700": "http://fonts.gstatic.com/s/kantumruy/v3/gie_zErpGf_rNzs920C2Ji3USBnSvpkopQaUR-2r7iU.ttf"
6355
+ }
6356
+ },
6357
+ {
6358
+ "kind": "webfonts#webfont",
6359
+ "family": "Karla",
6360
+ "category": "sans-serif",
6361
+ "variants": [
6362
+ "regular",
6363
+ "italic",
6364
+ "700",
6365
+ "700italic"
6366
+ ],
6367
+ "subsets": [
6368
+ "latin",
6369
+ "latin-ext"
6370
+ ],
6371
+ "version": "v5",
6372
+ "lastModified": "2016-04-25",
6373
+ "files": {
6374
+ "regular": "http://fonts.gstatic.com/s/karla/v5/78UgGRwJFkhqaoFimqoKpQ.ttf",
6375
+ "italic": "http://fonts.gstatic.com/s/karla/v5/51UBKly9RQOnOkj95ZwEFw.ttf",
6376
+ "700": "http://fonts.gstatic.com/s/karla/v5/JS501sZLxZ4zraLQdncOUA.ttf",
6377
+ "700italic": "http://fonts.gstatic.com/s/karla/v5/3YDyi09gQjCRh-5-SVhTTvesZW2xOQ-xsNqO47m55DA.ttf"
6378
+ }
6379
+ },
6380
+ {
6381
+ "kind": "webfonts#webfont",
6382
+ "family": "Karma",
6383
+ "category": "serif",
6384
+ "variants": [
6385
+ "300",
6386
+ "regular",
6387
+ "500",
6388
+ "600",
6389
+ "700"
6390
+ ],
6391
+ "subsets": [
6392
+ "latin",
6393
+ "devanagari",
6394
+ "latin-ext"
6395
+ ],
6396
+ "version": "v5",
6397
+ "lastModified": "2016-04-25",
6398
+ "files": {
6399
+ "300": "http://fonts.gstatic.com/s/karma/v5/lH6ijJnguWR2Sz7tEl6MQQ.ttf",
6400
+ "regular": "http://fonts.gstatic.com/s/karma/v5/wvqTxAGBUrTqU0urTEoPIw.ttf",
6401
+ "500": "http://fonts.gstatic.com/s/karma/v5/9YGjxi6Hcvz2Kh-rzO_cAw.ttf",
6402
+ "600": "http://fonts.gstatic.com/s/karma/v5/h_CVzXXtqSxjfS2sIwaejA.ttf",
6403
+ "700": "http://fonts.gstatic.com/s/karma/v5/smuSM08oApsQPPVYbHd1CA.ttf"
6404
+ }
6405
+ },
6406
+ {
6407
+ "kind": "webfonts#webfont",
6408
+ "family": "Kaushan Script",
6409
+ "category": "handwriting",
6410
+ "variants": [
6411
+ "regular"
6412
+ ],
6413
+ "subsets": [
6414
+ "latin",
6415
+ "latin-ext"
6416
+ ],
6417
+ "version": "v4",
6418
+ "lastModified": "2016-04-25",
6419
+ "files": {
6420
+ "regular": "http://fonts.gstatic.com/s/kaushanscript/v4/qx1LSqts-NtiKcLw4N03IBnpV0hQCek3EmWnCPrvGRM.ttf"
6421
+ }
6422
+ },
6423
+ {
6424
+ "kind": "webfonts#webfont",
6425
+ "family": "Kavoon",
6426
+ "category": "display",
6427
+ "variants": [
6428
+ "regular"
6429
+ ],
6430
+ "subsets": [
6431
+ "latin",
6432
+ "latin-ext"
6433
+ ],
6434
+ "version": "v5",
6435
+ "lastModified": "2016-04-25",
6436
+ "files": {
6437
+ "regular": "http://fonts.gstatic.com/s/kavoon/v5/382m-6baKXqJFQjEgobt6Q.ttf"
6438
+ }
6439
+ },
6440
+ {
6441
+ "kind": "webfonts#webfont",
6442
+ "family": "Kdam Thmor",
6443
+ "category": "display",
6444
+ "variants": [
6445
+ "regular"
6446
+ ],
6447
+ "subsets": [
6448
+ "khmer"
6449
+ ],
6450
+ "version": "v3",
6451
+ "lastModified": "2016-04-25",
6452
+ "files": {
6453
+ "regular": "http://fonts.gstatic.com/s/kdamthmor/v3/otCdP6UU-VBIrBfVDWBQJ_esZW2xOQ-xsNqO47m55DA.ttf"
6454
+ }
6455
+ },
6456
+ {
6457
+ "kind": "webfonts#webfont",
6458
+ "family": "Keania One",
6459
+ "category": "display",
6460
+ "variants": [
6461
+ "regular"
6462
+ ],
6463
+ "subsets": [
6464
+ "latin",
6465
+ "latin-ext"
6466
+ ],
6467
+ "version": "v4",
6468
+ "lastModified": "2016-04-25",
6469
+ "files": {
6470
+ "regular": "http://fonts.gstatic.com/s/keaniaone/v4/PACrDKZWngXzgo-ucl6buvesZW2xOQ-xsNqO47m55DA.ttf"
6471
+ }
6472
+ },
6473
+ {
6474
+ "kind": "webfonts#webfont",
6475
+ "family": "Kelly Slab",
6476
+ "category": "display",
6477
+ "variants": [
6478
+ "regular"
6479
+ ],
6480
+ "subsets": [
6481
+ "latin",
6482
+ "latin-ext",
6483
+ "cyrillic"
6484
+ ],
6485
+ "version": "v6",
6486
+ "lastModified": "2016-04-25",
6487
+ "files": {
6488
+ "regular": "http://fonts.gstatic.com/s/kellyslab/v6/F_2oS1e9XdYx1MAi8XEVefesZW2xOQ-xsNqO47m55DA.ttf"
6489
+ }
6490
+ },
6491
+ {
6492
+ "kind": "webfonts#webfont",
6493
+ "family": "Kenia",
6494
+ "category": "display",
6495
+ "variants": [
6496
+ "regular"
6497
+ ],
6498
+ "subsets": [
6499
+ "latin"
6500
+ ],
6501
+ "version": "v8",
6502
+ "lastModified": "2016-04-25",
6503
+ "files": {
6504
+ "regular": "http://fonts.gstatic.com/s/kenia/v8/OLM9-XfITK9PsTLKbGBrwg.ttf"
6505
+ }
6506
+ },
6507
+ {
6508
+ "kind": "webfonts#webfont",
6509
+ "family": "Khand",
6510
+ "category": "sans-serif",
6511
+ "variants": [
6512
+ "300",
6513
+ "regular",
6514
+ "500",
6515
+ "600",
6516
+ "700"
6517
+ ],
6518
+ "subsets": [
6519
+ "latin",
6520
+ "devanagari",
6521
+ "latin-ext"
6522
+ ],
6523
+ "version": "v4",
6524
+ "lastModified": "2016-04-25",
6525
+ "files": {
6526
+ "300": "http://fonts.gstatic.com/s/khand/v4/072zRl4OU9Pinjjkg174LA.ttf",
6527
+ "regular": "http://fonts.gstatic.com/s/khand/v4/HdLdTNFqNIDGJZl1ZEj84w.ttf",
6528
+ "500": "http://fonts.gstatic.com/s/khand/v4/46_p-SqtuMe56nxQdteWxg.ttf",
6529
+ "600": "http://fonts.gstatic.com/s/khand/v4/zggGWYIiPJyMTgkfxP_kaA.ttf",
6530
+ "700": "http://fonts.gstatic.com/s/khand/v4/0I0UWaN-X5QBmfexpXKhqg.ttf"
6531
+ }
6532
+ },
6533
+ {
6534
+ "kind": "webfonts#webfont",
6535
+ "family": "Khmer",
6536
+ "category": "display",
6537
+ "variants": [
6538
+ "regular"
6539
+ ],
6540
+ "subsets": [
6541
+ "khmer"
6542
+ ],
6543
+ "version": "v9",
6544
+ "lastModified": "2016-04-25",
6545
+ "files": {
6546
+ "regular": "http://fonts.gstatic.com/s/khmer/v9/vWaBJIbaQuBNz02ALIKJ3A.ttf"
6547
+ }
6548
+ },
6549
+ {
6550
+ "kind": "webfonts#webfont",
6551
+ "family": "Khula",
6552
+ "category": "sans-serif",
6553
+ "variants": [
6554
+ "300",
6555
+ "regular",
6556
+ "600",
6557
+ "700",
6558
+ "800"
6559
+ ],
6560
+ "subsets": [
6561
+ "latin",
6562
+ "devanagari",
6563
+ "latin-ext"
6564
+ ],
6565
+ "version": "v1",
6566
+ "lastModified": "2016-04-25",
6567
+ "files": {
6568
+ "300": "http://fonts.gstatic.com/s/khula/v1/_1LySU5Upq-sc4OZ1b_GIw.ttf",
6569
+ "regular": "http://fonts.gstatic.com/s/khula/v1/izcPIFyCSd16XI1Ak_Wk7Q.ttf",
6570
+ "600": "http://fonts.gstatic.com/s/khula/v1/4ZH86Hce-aeFDaedTnbkbg.ttf",
6571
+ "700": "http://fonts.gstatic.com/s/khula/v1/UGVExGl-Jjs-YPpGv-MZ6w.ttf",
6572
+ "800": "http://fonts.gstatic.com/s/khula/v1/Sccp_oOo8FWgbx5smie7xQ.ttf"
6573
+ }
6574
+ },
6575
+ {
6576
+ "kind": "webfonts#webfont",
6577
+ "family": "Kite One",
6578
+ "category": "sans-serif",
6579
+ "variants": [
6580
+ "regular"
6581
+ ],
6582
+ "subsets": [
6583
+ "latin"
6584
+ ],
6585
+ "version": "v4",
6586
+ "lastModified": "2016-04-25",
6587
+ "files": {
6588
+ "regular": "http://fonts.gstatic.com/s/kiteone/v4/8ojWmgUc97m0f_i6sTqLoQ.ttf"
6589
+ }
6590
+ },
6591
+ {
6592
+ "kind": "webfonts#webfont",
6593
+ "family": "Knewave",
6594
+ "category": "display",
6595
+ "variants": [
6596
+ "regular"
6597
+ ],
6598
+ "subsets": [
6599
+ "latin",
6600
+ "latin-ext"
6601
+ ],
6602
+ "version": "v5",
6603
+ "lastModified": "2016-04-25",
6604
+ "files": {
6605
+ "regular": "http://fonts.gstatic.com/s/knewave/v5/KGHM4XWr4iKnBMqzZLkPBg.ttf"
6606
+ }
6607
+ },
6608
+ {
6609
+ "kind": "webfonts#webfont",
6610
+ "family": "Kotta One",
6611
+ "category": "serif",
6612
+ "variants": [
6613
+ "regular"
6614
+ ],
6615
+ "subsets": [
6616
+ "latin",
6617
+ "latin-ext"
6618
+ ],
6619
+ "version": "v4",
6620
+ "lastModified": "2016-04-25",
6621
+ "files": {
6622
+ "regular": "http://fonts.gstatic.com/s/kottaone/v4/AB2Q7hVw6niJYDgLvFXu5w.ttf"
6623
+ }
6624
+ },
6625
+ {
6626
+ "kind": "webfonts#webfont",
6627
+ "family": "Koulen",
6628
+ "category": "display",
6629
+ "variants": [
6630
+ "regular"
6631
+ ],
6632
+ "subsets": [
6633
+ "khmer"
6634
+ ],
6635
+ "version": "v10",
6636
+ "lastModified": "2016-04-25",
6637
+ "files": {
6638
+ "regular": "http://fonts.gstatic.com/s/koulen/v10/AAYOK8RSRO7FTskTzFuzNw.ttf"
6639
+ }
6640
+ },
6641
+ {
6642
+ "kind": "webfonts#webfont",
6643
+ "family": "Kranky",
6644
+ "category": "display",
6645
+ "variants": [
6646
+ "regular"
6647
+ ],
6648
+ "subsets": [
6649
+ "latin"
6650
+ ],
6651
+ "version": "v6",
6652
+ "lastModified": "2016-04-25",
6653
+ "files": {
6654
+ "regular": "http://fonts.gstatic.com/s/kranky/v6/C8dxxTS99-fZ84vWk8SDrg.ttf"
6655
+ }
6656
+ },
6657
+ {
6658
+ "kind": "webfonts#webfont",
6659
+ "family": "Kreon",
6660
+ "category": "serif",
6661
+ "variants": [
6662
+ "300",
6663
+ "regular",
6664
+ "700"
6665
+ ],
6666
+ "subsets": [
6667
+ "latin"
6668
+ ],
6669
+ "version": "v9",
6670
+ "lastModified": "2016-04-25",
6671
+ "files": {
6672
+ "300": "http://fonts.gstatic.com/s/kreon/v9/HKtJRiq5C2zbq5N1IX32sA.ttf",
6673
+ "regular": "http://fonts.gstatic.com/s/kreon/v9/zA_IZt0u0S3cvHJu-n1oEg.ttf",
6674
+ "700": "http://fonts.gstatic.com/s/kreon/v9/jh0dSmaPodjxISiblIUTkw.ttf"
6675
+ }
6676
+ },
6677
+ {
6678
+ "kind": "webfonts#webfont",
6679
+ "family": "Kristi",
6680
+ "category": "handwriting",
6681
+ "variants": [
6682
+ "regular"
6683
+ ],
6684
+ "subsets": [
6685
+ "latin"
6686
+ ],
6687
+ "version": "v7",
6688
+ "lastModified": "2016-04-25",
6689
+ "files": {
6690
+ "regular": "http://fonts.gstatic.com/s/kristi/v7/aRsgBQrkQkMlu4UPSnJyOQ.ttf"
6691
+ }
6692
+ },
6693
+ {
6694
+ "kind": "webfonts#webfont",
6695
+ "family": "Krona One",
6696
+ "category": "sans-serif",
6697
+ "variants": [
6698
+ "regular"
6699
+ ],
6700
+ "subsets": [
6701
+ "latin",
6702
+ "latin-ext"
6703
+ ],
6704
+ "version": "v4",
6705
+ "lastModified": "2016-04-25",
6706
+ "files": {
6707
+ "regular": "http://fonts.gstatic.com/s/kronaone/v4/zcQj4ljqTo166AdourlF9w.ttf"
6708
+ }
6709
+ },
6710
+ {
6711
+ "kind": "webfonts#webfont",
6712
+ "family": "Kurale",
6713
+ "category": "serif",
6714
+ "variants": [
6715
+ "regular"
6716
+ ],
6717
+ "subsets": [
6718
+ "latin",
6719
+ "devanagari",
6720
+ "latin-ext",
6721
+ "cyrillic"
6722
+ ],
6723
+ "version": "v1",
6724
+ "lastModified": "2016-04-25",
6725
+ "files": {
6726
+ "regular": "http://fonts.gstatic.com/s/kurale/v1/rxeyIcvQlT4XAWwNbXFCfw.ttf"
6727
+ }
6728
+ },
6729
+ {
6730
+ "kind": "webfonts#webfont",
6731
+ "family": "La Belle Aurore",
6732
+ "category": "handwriting",
6733
+ "variants": [
6734
+ "regular"
6735
+ ],
6736
+ "subsets": [
6737
+ "latin"
6738
+ ],
6739
+ "version": "v7",
6740
+ "lastModified": "2016-04-25",
6741
+ "files": {
6742
+ "regular": "http://fonts.gstatic.com/s/labelleaurore/v7/Irdbc4ASuUoWDjd_Wc3md123K2iuuhwZgaKapkyRTY8.ttf"
6743
+ }
6744
+ },
6745
+ {
6746
+ "kind": "webfonts#webfont",
6747
+ "family": "Laila",
6748
+ "category": "serif",
6749
+ "variants": [
6750
+ "300",
6751
+ "regular",
6752
+ "500",
6753
+ "600",
6754
+ "700"
6755
+ ],
6756
+ "subsets": [
6757
+ "latin",
6758
+ "devanagari",
6759
+ "latin-ext"
6760
+ ],
6761
+ "version": "v2",
6762
+ "lastModified": "2016-04-25",
6763
+ "files": {
6764
+ "300": "http://fonts.gstatic.com/s/laila/v2/bLbIVEZF3IWSZ-in72GJvA.ttf",
6765
+ "regular": "http://fonts.gstatic.com/s/laila/v2/6iYor3edprH7360qtBGoag.ttf",
6766
+ "500": "http://fonts.gstatic.com/s/laila/v2/tkf8VtFvW9g3VsxQCA6WOQ.ttf",
6767
+ "600": "http://fonts.gstatic.com/s/laila/v2/3EMP2L6JRQ4GaHIxCldCeA.ttf",
6768
+ "700": "http://fonts.gstatic.com/s/laila/v2/R7P4z1xjcjecmjZ9GyhqHQ.ttf"
6769
+ }
6770
+ },
6771
+ {
6772
+ "kind": "webfonts#webfont",
6773
+ "family": "Lakki Reddy",
6774
+ "category": "handwriting",
6775
+ "variants": [
6776
+ "regular"
6777
+ ],
6778
+ "subsets": [
6779
+ "latin",
6780
+ "telugu"
6781
+ ],
6782
+ "version": "v3",
6783
+ "lastModified": "2016-04-25",
6784
+ "files": {
6785
+ "regular": "http://fonts.gstatic.com/s/lakkireddy/v3/Q5EpFa91FjW37t0FCnedaKCWcynf_cDxXwCLxiixG1c.ttf"
6786
+ }
6787
+ },
6788
+ {
6789
+ "kind": "webfonts#webfont",
6790
+ "family": "Lancelot",
6791
+ "category": "display",
6792
+ "variants": [
6793
+ "regular"
6794
+ ],
6795
+ "subsets": [
6796
+ "latin",
6797
+ "latin-ext"
6798
+ ],
6799
+ "version": "v6",
6800
+ "lastModified": "2016-04-25",
6801
+ "files": {
6802
+ "regular": "http://fonts.gstatic.com/s/lancelot/v6/XMT7T_oo_MQUGAnU2v-sdA.ttf"
6803
+ }
6804
+ },
6805
+ {
6806
+ "kind": "webfonts#webfont",
6807
+ "family": "Lateef",
6808
+ "category": "handwriting",
6809
+ "variants": [
6810
+ "regular"
6811
+ ],
6812
+ "subsets": [
6813
+ "latin",
6814
+ "arabic"
6815
+ ],
6816
+ "version": "v10",
6817
+ "lastModified": "2016-04-25",
6818
+ "files": {
6819
+ "regular": "http://fonts.gstatic.com/s/lateef/v10/PAsKCgi1qc7XPwvzo_I-DQ.ttf"
6820
+ }
6821
+ },
6822
+ {
6823
+ "kind": "webfonts#webfont",
6824
+ "family": "Lato",
6825
+ "category": "sans-serif",
6826
+ "variants": [
6827
+ "100",
6828
+ "100italic",
6829
+ "300",
6830
+ "300italic",
6831
+ "regular",
6832
+ "italic",
6833
+ "700",
6834
+ "700italic",
6835
+ "900",
6836
+ "900italic"
6837
+ ],
6838
+ "subsets": [
6839
+ "latin",
6840
+ "latin-ext"
6841
+ ],
6842
+ "version": "v11",
6843
+ "lastModified": "2016-04-25",
6844
+ "files": {
6845
+ "100": "http://fonts.gstatic.com/s/lato/v11/Upp-ka9rLQmHYCsFgwL-eg.ttf",
6846
+ "100italic": "http://fonts.gstatic.com/s/lato/v11/zLegi10uS_9-fnUDISl0KA.ttf",
6847
+ "300": "http://fonts.gstatic.com/s/lato/v11/Ja02qOppOVq9jeRjWekbHg.ttf",
6848
+ "300italic": "http://fonts.gstatic.com/s/lato/v11/dVebFcn7EV7wAKwgYestUg.ttf",
6849
+ "regular": "http://fonts.gstatic.com/s/lato/v11/h7rISIcQapZBpei-sXwIwg.ttf",
6850
+ "italic": "http://fonts.gstatic.com/s/lato/v11/P_dJOFJylV3A870UIOtr0w.ttf",
6851
+ "700": "http://fonts.gstatic.com/s/lato/v11/iX_QxBBZLhNj5JHlTzHQzg.ttf",
6852
+ "700italic": "http://fonts.gstatic.com/s/lato/v11/WFcZakHrrCKeUJxHA4T_gw.ttf",
6853
+ "900": "http://fonts.gstatic.com/s/lato/v11/8TPEV6NbYWZlNsXjbYVv7w.ttf",
6854
+ "900italic": "http://fonts.gstatic.com/s/lato/v11/draWperrI7n2xi35Cl08fA.ttf"
6855
+ }
6856
+ },
6857
+ {
6858
+ "kind": "webfonts#webfont",
6859
+ "family": "League Script",
6860
+ "category": "handwriting",
6861
+ "variants": [
6862
+ "regular"
6863
+ ],
6864
+ "subsets": [
6865
+ "latin"
6866
+ ],
6867
+ "version": "v7",
6868
+ "lastModified": "2016-04-25",
6869
+ "files": {
6870
+ "regular": "http://fonts.gstatic.com/s/leaguescript/v7/wnRFLvfabWK_DauqppD6vSeUSrabuTpOsMEiRLtKwk0.ttf"
6871
+ }
6872
+ },
6873
+ {
6874
+ "kind": "webfonts#webfont",
6875
+ "family": "Leckerli One",
6876
+ "category": "handwriting",
6877
+ "variants": [
6878
+ "regular"
6879
+ ],
6880
+ "subsets": [
6881
+ "latin"
6882
+ ],
6883
+ "version": "v7",
6884
+ "lastModified": "2016-04-25",
6885
+ "files": {
6886
+ "regular": "http://fonts.gstatic.com/s/leckerlione/v7/S2Y_iLrItTu8kIJTkS7DrC3USBnSvpkopQaUR-2r7iU.ttf"
6887
+ }
6888
+ },
6889
+ {
6890
+ "kind": "webfonts#webfont",
6891
+ "family": "Ledger",
6892
+ "category": "serif",
6893
+ "variants": [
6894
+ "regular"
6895
+ ],
6896
+ "subsets": [
6897
+ "latin",
6898
+ "latin-ext",
6899
+ "cyrillic"
6900
+ ],
6901
+ "version": "v4",
6902
+ "lastModified": "2016-04-25",
6903
+ "files": {
6904
+ "regular": "http://fonts.gstatic.com/s/ledger/v4/G432jp-tahOfWHbCYkI0jw.ttf"
6905
+ }
6906
+ },
6907
+ {
6908
+ "kind": "webfonts#webfont",
6909
+ "family": "Lekton",
6910
+ "category": "sans-serif",
6911
+ "variants": [
6912
+ "regular",
6913
+ "italic",
6914
+ "700"
6915
+ ],
6916
+ "subsets": [
6917
+ "latin",
6918
+ "latin-ext"
6919
+ ],
6920
+ "version": "v7",
6921
+ "lastModified": "2016-04-25",
6922
+ "files": {
6923
+ "regular": "http://fonts.gstatic.com/s/lekton/v7/r483JYmxf5PjIm4jVAm8Yg.ttf",
6924
+ "italic": "http://fonts.gstatic.com/s/lekton/v7/_UbDIPBA1wDqSbhp-OED7A.ttf",
6925
+ "700": "http://fonts.gstatic.com/s/lekton/v7/WZw-uL8WTkx3SBVfTlevXQ.ttf"
6926
+ }
6927
+ },
6928
+ {
6929
+ "kind": "webfonts#webfont",
6930
+ "family": "Lemon",
6931
+ "category": "display",
6932
+ "variants": [
6933
+ "regular"
6934
+ ],
6935
+ "subsets": [
6936
+ "latin"
6937
+ ],
6938
+ "version": "v5",
6939
+ "lastModified": "2016-04-25",
6940
+ "files": {
6941
+ "regular": "http://fonts.gstatic.com/s/lemon/v5/wed1nNu4LNSu-3RoRVUhUw.ttf"
6942
+ }
6943
+ },
6944
+ {
6945
+ "kind": "webfonts#webfont",
6946
+ "family": "Libre Baskerville",
6947
+ "category": "serif",
6948
+ "variants": [
6949
+ "regular",
6950
+ "italic",
6951
+ "700"
6952
+ ],
6953
+ "subsets": [
6954
+ "latin",
6955
+ "latin-ext"
6956
+ ],
6957
+ "version": "v4",
6958
+ "lastModified": "2016-04-25",
6959
+ "files": {
6960
+ "regular": "http://fonts.gstatic.com/s/librebaskerville/v4/pR0sBQVcY0JZc_ciXjFsKyyZRYCSvpCzQKuMWnP5NDY.ttf",
6961
+ "italic": "http://fonts.gstatic.com/s/librebaskerville/v4/QHIOz1iKF3bIEzRdDFaf5QnhapNS5Oi8FPrBRDLbsW4.ttf",
6962
+ "700": "http://fonts.gstatic.com/s/librebaskerville/v4/kH7K4InNTm7mmOXXjrA5v-xuswJKUVpBRfYFpz0W3Iw.ttf"
6963
+ }
6964
+ },
6965
+ {
6966
+ "kind": "webfonts#webfont",
6967
+ "family": "Life Savers",
6968
+ "category": "display",
6969
+ "variants": [
6970
+ "regular",
6971
+ "700"
6972
+ ],
6973
+ "subsets": [
6974
+ "latin",
6975
+ "latin-ext"
6976
+ ],
6977
+ "version": "v6",
6978
+ "lastModified": "2016-04-25",
6979
+ "files": {
6980
+ "regular": "http://fonts.gstatic.com/s/lifesavers/v6/g49cUDk4Y1P0G5NMkMAm7qCWcynf_cDxXwCLxiixG1c.ttf",
6981
+ "700": "http://fonts.gstatic.com/s/lifesavers/v6/THQKqChyYUm97rNPVFdGGXe1Pd76Vl7zRpE7NLJQ7XU.ttf"
6982
+ }
6983
+ },
6984
+ {
6985
+ "kind": "webfonts#webfont",
6986
+ "family": "Lilita One",
6987
+ "category": "display",
6988
+ "variants": [
6989
+ "regular"
6990
+ ],
6991
+ "subsets": [
6992
+ "latin",
6993
+ "latin-ext"
6994
+ ],
6995
+ "version": "v4",
6996
+ "lastModified": "2016-04-25",
6997
+ "files": {
6998
+ "regular": "http://fonts.gstatic.com/s/lilitaone/v4/vTxJQjbNV6BCBHx8sGDCVvesZW2xOQ-xsNqO47m55DA.ttf"
6999
+ }
7000
+ },
7001
+ {
7002
+ "kind": "webfonts#webfont",
7003
+ "family": "Lily Script One",
7004
+ "category": "display",
7005
+ "variants": [
7006
+ "regular"
7007
+ ],
7008
+ "subsets": [
7009
+ "latin",
7010
+ "latin-ext"
7011
+ ],
7012
+ "version": "v4",
7013
+ "lastModified": "2016-04-25",
7014
+ "files": {
7015
+ "regular": "http://fonts.gstatic.com/s/lilyscriptone/v4/uPWsLVW8uiXqIBnE8ZwGPDjVlsJB_M_Q_LtZxsoxvlw.ttf"
7016
+ }
7017
+ },
7018
+ {
7019
+ "kind": "webfonts#webfont",
7020
+ "family": "Limelight",
7021
+ "category": "display",
7022
+ "variants": [
7023
+ "regular"
7024
+ ],
7025
+ "subsets": [
7026
+ "latin",
7027
+ "latin-ext"
7028
+ ],
7029
+ "version": "v7",
7030
+ "lastModified": "2016-04-25",
7031
+ "files": {
7032
+ "regular": "http://fonts.gstatic.com/s/limelight/v7/5dTfN6igsXjLjOy8QQShcg.ttf"
7033
+ }
7034
+ },
7035
+ {
7036
+ "kind": "webfonts#webfont",
7037
+ "family": "Linden Hill",
7038
+ "category": "serif",
7039
+ "variants": [
7040
+ "regular",
7041
+ "italic"
7042
+ ],
7043
+ "subsets": [
7044
+ "latin"
7045
+ ],
7046
+ "version": "v6",
7047
+ "lastModified": "2016-04-25",
7048
+ "files": {
7049
+ "regular": "http://fonts.gstatic.com/s/lindenhill/v6/UgsC0txqd-E1yjvjutwm_KCWcynf_cDxXwCLxiixG1c.ttf",
7050
+ "italic": "http://fonts.gstatic.com/s/lindenhill/v6/OcS3bZcu8vJvIDH8Zic83keOrDcLawS7-ssYqLr2Xp4.ttf"
7051
+ }
7052
+ },
7053
+ {
7054
+ "kind": "webfonts#webfont",
7055
+ "family": "Lobster",
7056
+ "category": "display",
7057
+ "variants": [
7058
+ "regular"
7059
+ ],
7060
+ "subsets": [
7061
+ "latin",
7062
+ "latin-ext",
7063
+ "vietnamese",
7064
+ "cyrillic"
7065
+ ],
7066
+ "version": "v16",
7067
+ "lastModified": "2016-04-25",
7068
+ "files": {
7069
+ "regular": "http://fonts.gstatic.com/s/lobster/v16/9LpJGtNuM1D8FAZ2BkJH2Q.ttf"
7070
+ }
7071
+ },
7072
+ {
7073
+ "kind": "webfonts#webfont",
7074
+ "family": "Lobster Two",
7075
+ "category": "display",
7076
+ "variants": [
7077
+ "regular",
7078
+ "italic",
7079
+ "700",
7080
+ "700italic"
7081
+ ],
7082
+ "subsets": [
7083
+ "latin"
7084
+ ],
7085
+ "version": "v8",
7086
+ "lastModified": "2016-04-25",
7087
+ "files": {
7088
+ "regular": "http://fonts.gstatic.com/s/lobstertwo/v8/xb9aY4w9ceh8JRzobID1naCWcynf_cDxXwCLxiixG1c.ttf",
7089
+ "italic": "http://fonts.gstatic.com/s/lobstertwo/v8/Ul_16MSbfayQv1I4QhLEoEeOrDcLawS7-ssYqLr2Xp4.ttf",
7090
+ "700": "http://fonts.gstatic.com/s/lobstertwo/v8/bmdxOflBqMqjEC0-kGsIiHe1Pd76Vl7zRpE7NLJQ7XU.ttf",
7091
+ "700italic": "http://fonts.gstatic.com/s/lobstertwo/v8/LEkN2_no_6kFvRfiBZ8xpM_zJjSACmk0BRPxQqhnNLU.ttf"
7092
+ }
7093
+ },
7094
+ {
7095
+ "kind": "webfonts#webfont",
7096
+ "family": "Londrina Outline",
7097
+ "category": "display",
7098
+ "variants": [
7099
+ "regular"
7100
+ ],
7101
+ "subsets": [
7102
+ "latin"
7103
+ ],
7104
+ "version": "v5",
7105
+ "lastModified": "2016-04-25",
7106
+ "files": {
7107
+ "regular": "http://fonts.gstatic.com/s/londrinaoutline/v5/lls08GOa1eT74p072l1AWJmp8DTZ6iHear7UV05iykg.ttf"
7108
+ }
7109
+ },
7110
+ {
7111
+ "kind": "webfonts#webfont",
7112
+ "family": "Londrina Shadow",
7113
+ "category": "display",
7114
+ "variants": [
7115
+ "regular"
7116
+ ],
7117
+ "subsets": [
7118
+ "latin"
7119
+ ],
7120
+ "version": "v4",
7121
+ "lastModified": "2016-04-25",
7122
+ "files": {
7123
+ "regular": "http://fonts.gstatic.com/s/londrinashadow/v4/dNYuzPS_7eYgXFJBzMoKdbw6Z3rVA5KDSi7aQxS92Nk.ttf"
7124
+ }
7125
+ },
7126
+ {
7127
+ "kind": "webfonts#webfont",
7128
+ "family": "Londrina Sketch",
7129
+ "category": "display",
7130
+ "variants": [
7131
+ "regular"
7132
+ ],
7133
+ "subsets": [
7134
+ "latin"
7135
+ ],
7136
+ "version": "v4",
7137
+ "lastModified": "2016-04-25",
7138
+ "files": {
7139
+ "regular": "http://fonts.gstatic.com/s/londrinasketch/v4/p7Ai06aT1Ycp_D2fyE3z69d6z_uhFGnpCOifUY1fJQo.ttf"
7140
+ }
7141
+ },
7142
+ {
7143
+ "kind": "webfonts#webfont",
7144
+ "family": "Londrina Solid",
7145
+ "category": "display",
7146
+ "variants": [
7147
+ "regular"
7148
+ ],
7149
+ "subsets": [
7150
+ "latin"
7151
+ ],
7152
+ "version": "v4",
7153
+ "lastModified": "2016-04-25",
7154
+ "files": {
7155
+ "regular": "http://fonts.gstatic.com/s/londrinasolid/v4/yysorIEiYSBb0ylZjg791MR125CwGqh8XBqkBzea0LA.ttf"
7156
+ }
7157
+ },
7158
+ {
7159
+ "kind": "webfonts#webfont",
7160
+ "family": "Lora",
7161
+ "category": "serif",
7162
+ "variants": [
7163
+ "regular",
7164
+ "italic",
7165
+ "700",
7166
+ "700italic"
7167
+ ],
7168
+ "subsets": [
7169
+ "latin",
7170
+ "latin-ext",
7171
+ "cyrillic"
7172
+ ],
7173
+ "version": "v9",
7174
+ "lastModified": "2016-04-25",
7175
+ "files": {
7176
+ "regular": "http://fonts.gstatic.com/s/lora/v9/aXJ7KVIGcejEy1abawZazg.ttf",
7177
+ "italic": "http://fonts.gstatic.com/s/lora/v9/AN2EZaj2tFRpyveuNn9BOg.ttf",
7178
+ "700": "http://fonts.gstatic.com/s/lora/v9/enKND5SfzQKkggBA_VnT1A.ttf",
7179
+ "700italic": "http://fonts.gstatic.com/s/lora/v9/ivs9j3kYU65pR9QD9YFdzQ.ttf"
7180
+ }
7181
+ },
7182
+ {
7183
+ "kind": "webfonts#webfont",
7184
+ "family": "Love Ya Like A Sister",
7185
+ "category": "display",
7186
+ "variants": [
7187
+ "regular"
7188
+ ],
7189
+ "subsets": [
7190
+ "latin"
7191
+ ],
7192
+ "version": "v7",
7193
+ "lastModified": "2016-04-25",
7194
+ "files": {
7195
+ "regular": "http://fonts.gstatic.com/s/loveyalikeasister/v7/LzkxWS-af0Br2Sk_YgSJY-ad1xEP8DQfgfY8MH9aBUg.ttf"
7196
+ }
7197
+ },
7198
+ {
7199
+ "kind": "webfonts#webfont",
7200
+ "family": "Loved by the King",
7201
+ "category": "handwriting",
7202
+ "variants": [
7203
+ "regular"
7204
+ ],
7205
+ "subsets": [
7206
+ "latin"
7207
+ ],
7208
+ "version": "v6",
7209
+ "lastModified": "2016-04-25",
7210
+ "files": {
7211
+ "regular": "http://fonts.gstatic.com/s/lovedbytheking/v6/wg03xD4cWigj4YDufLBSr8io2AFEwwMpu7y5KyiyAJc.ttf"
7212
+ }
7213
+ },
7214
+ {
7215
+ "kind": "webfonts#webfont",
7216
+ "family": "Lovers Quarrel",
7217
+ "category": "handwriting",
7218
+ "variants": [
7219
+ "regular"
7220
+ ],
7221
+ "subsets": [
7222
+ "latin",
7223
+ "latin-ext"
7224
+ ],
7225
+ "version": "v4",
7226
+ "lastModified": "2016-04-25",
7227
+ "files": {
7228
+ "regular": "http://fonts.gstatic.com/s/loversquarrel/v4/gipdZ8b7pKb89MzQLAtJHLHLxci2ElvNEmOB303HLk0.ttf"
7229
+ }
7230
+ },
7231
+ {
7232
+ "kind": "webfonts#webfont",
7233
+ "family": "Luckiest Guy",
7234
+ "category": "display",
7235
+ "variants": [
7236
+ "regular"
7237
+ ],
7238
+ "subsets": [
7239
+ "latin"
7240
+ ],
7241
+ "version": "v6",
7242
+ "lastModified": "2016-04-25",
7243
+ "files": {
7244
+ "regular": "http://fonts.gstatic.com/s/luckiestguy/v6/5718gH8nDy3hFVihOpkY5C3USBnSvpkopQaUR-2r7iU.ttf"
7245
+ }
7246
+ },
7247
+ {
7248
+ "kind": "webfonts#webfont",
7249
+ "family": "Lusitana",
7250
+ "category": "serif",
7251
+ "variants": [
7252
+ "regular",
7253
+ "700"
7254
+ ],
7255
+ "subsets": [
7256
+ "latin"
7257
+ ],
7258
+ "version": "v4",
7259
+ "lastModified": "2016-04-25",
7260
+ "files": {
7261
+ "regular": "http://fonts.gstatic.com/s/lusitana/v4/l1h9VDomkwbdzbPdmLcUIw.ttf",
7262
+ "700": "http://fonts.gstatic.com/s/lusitana/v4/GWtZyUsONxgkdl3Mc1P7FKCWcynf_cDxXwCLxiixG1c.ttf"
7263
+ }
7264
+ },
7265
+ {
7266
+ "kind": "webfonts#webfont",
7267
+ "family": "Lustria",
7268
+ "category": "serif",
7269
+ "variants": [
7270
+ "regular"
7271
+ ],
7272
+ "subsets": [
7273
+ "latin"
7274
+ ],
7275
+ "version": "v4",
7276
+ "lastModified": "2016-04-25",
7277
+ "files": {
7278
+ "regular": "http://fonts.gstatic.com/s/lustria/v4/gXAk0s4ai0X-TAOhYzZd1w.ttf"
7279
+ }
7280
+ },
7281
+ {
7282
+ "kind": "webfonts#webfont",
7283
+ "family": "Macondo",
7284
+ "category": "display",
7285
+ "variants": [
7286
+ "regular"
7287
+ ],
7288
+ "subsets": [
7289
+ "latin"
7290
+ ],
7291
+ "version": "v5",
7292
+ "lastModified": "2016-04-25",
7293
+ "files": {
7294
+ "regular": "http://fonts.gstatic.com/s/macondo/v5/G6yPNUscRPQ8ufBXs_8yRQ.ttf"
7295
+ }
7296
+ },
7297
+ {
7298
+ "kind": "webfonts#webfont",
7299
+ "family": "Macondo Swash Caps",
7300
+ "category": "display",
7301
+ "variants": [
7302
+ "regular"
7303
+ ],
7304
+ "subsets": [
7305
+ "latin"
7306
+ ],
7307
+ "version": "v4",
7308
+ "lastModified": "2016-04-25",
7309
+ "files": {
7310
+ "regular": "http://fonts.gstatic.com/s/macondoswashcaps/v4/SsSR706z-MlvEH7_LS6JAPkkgYRHs6GSG949m-K6x2k.ttf"
7311
+ }
7312
+ },
7313
+ {
7314
+ "kind": "webfonts#webfont",
7315
+ "family": "Magra",
7316
+ "category": "sans-serif",
7317
+ "variants": [
7318
+ "regular",
7319
+ "700"
7320
+ ],
7321
+ "subsets": [
7322
+ "latin",
7323
+ "latin-ext"
7324
+ ],
7325
+ "version": "v4",
7326
+ "lastModified": "2016-04-25",
7327
+ "files": {
7328
+ "regular": "http://fonts.gstatic.com/s/magra/v4/hoZ13bwCXBxuGZqAudgc5A.ttf",
7329
+ "700": "http://fonts.gstatic.com/s/magra/v4/6fOM5sq5cIn8D0RjX8Lztw.ttf"
7330
+ }
7331
+ },
7332
+ {
7333
+ "kind": "webfonts#webfont",
7334
+ "family": "Maiden Orange",
7335
+ "category": "display",
7336
+ "variants": [
7337
+ "regular"
7338
+ ],
7339
+ "subsets": [
7340
+ "latin"
7341
+ ],
7342
+ "version": "v6",
7343
+ "lastModified": "2016-04-25",
7344
+ "files": {
7345
+ "regular": "http://fonts.gstatic.com/s/maidenorange/v6/ZhKIA2SPisEwdhW7g0RUWojjx0o0jr6fNXxPgYh_a8Q.ttf"
7346
+ }
7347
+ },
7348
+ {
7349
+ "kind": "webfonts#webfont",
7350
+ "family": "Mako",
7351
+ "category": "sans-serif",
7352
+ "variants": [
7353
+ "regular"
7354
+ ],
7355
+ "subsets": [
7356
+ "latin"
7357
+ ],
7358
+ "version": "v7",
7359
+ "lastModified": "2016-04-25",
7360
+ "files": {
7361
+ "regular": "http://fonts.gstatic.com/s/mako/v7/z5zSLmfPlv1uTVAdmJBLXg.ttf"
7362
+ }
7363
+ },
7364
+ {
7365
+ "kind": "webfonts#webfont",
7366
+ "family": "Mallanna",
7367
+ "category": "sans-serif",
7368
+ "variants": [
7369
+ "regular"
7370
+ ],
7371
+ "subsets": [
7372
+ "latin",
7373
+ "telugu"
7374
+ ],
7375
+ "version": "v4",
7376
+ "lastModified": "2016-04-25",
7377
+ "files": {
7378
+ "regular": "http://fonts.gstatic.com/s/mallanna/v4/krCTa-CfMbtxqF0689CbuQ.ttf"
7379
+ }
7380
+ },
7381
+ {
7382
+ "kind": "webfonts#webfont",
7383
+ "family": "Mandali",
7384
+ "category": "sans-serif",
7385
+ "variants": [
7386
+ "regular"
7387
+ ],
7388
+ "subsets": [
7389
+ "latin",
7390
+ "telugu"
7391
+ ],
7392
+ "version": "v4",
7393
+ "lastModified": "2016-04-25",
7394
+ "files": {
7395
+ "regular": "http://fonts.gstatic.com/s/mandali/v4/0lF8yJ7fkyjXuqtSi5bWbQ.ttf"
7396
+ }
7397
+ },
7398
+ {
7399
+ "kind": "webfonts#webfont",
7400
+ "family": "Marcellus",
7401
+ "category": "serif",
7402
+ "variants": [
7403
+ "regular"
7404
+ ],
7405
+ "subsets": [
7406
+ "latin",
7407
+ "latin-ext"
7408
+ ],
7409
+ "version": "v4",
7410
+ "lastModified": "2016-04-25",
7411
+ "files": {
7412
+ "regular": "http://fonts.gstatic.com/s/marcellus/v4/UjiLZzumxWC9whJ86UtaYw.ttf"
7413
+ }
7414
+ },
7415
+ {
7416
+ "kind": "webfonts#webfont",
7417
+ "family": "Marcellus SC",
7418
+ "category": "serif",
7419
+ "variants": [
7420
+ "regular"
7421
+ ],
7422
+ "subsets": [
7423
+ "latin",
7424
+ "latin-ext"
7425
+ ],
7426
+ "version": "v4",
7427
+ "lastModified": "2016-04-25",
7428
+ "files": {
7429
+ "regular": "http://fonts.gstatic.com/s/marcellussc/v4/_jugwxhkkynrvsfrxVx8gS3USBnSvpkopQaUR-2r7iU.ttf"
7430
+ }
7431
+ },
7432
+ {
7433
+ "kind": "webfonts#webfont",
7434
+ "family": "Marck Script",
7435
+ "category": "handwriting",
7436
+ "variants": [
7437
+ "regular"
7438
+ ],
7439
+ "subsets": [
7440
+ "latin",
7441
+ "latin-ext",
7442
+ "cyrillic"
7443
+ ],
7444
+ "version": "v7",
7445
+ "lastModified": "2016-04-25",
7446
+ "files": {
7447
+ "regular": "http://fonts.gstatic.com/s/marckscript/v7/O_D1NAZVOFOobLbVtW3bci3USBnSvpkopQaUR-2r7iU.ttf"
7448
+ }
7449
+ },
7450
+ {
7451
+ "kind": "webfonts#webfont",
7452
+ "family": "Margarine",
7453
+ "category": "display",
7454
+ "variants": [
7455
+ "regular"
7456
+ ],
7457
+ "subsets": [
7458
+ "latin",
7459
+ "latin-ext"
7460
+ ],
7461
+ "version": "v5",
7462
+ "lastModified": "2016-04-25",
7463
+ "files": {
7464
+ "regular": "http://fonts.gstatic.com/s/margarine/v5/DJnJwIrcO_cGkjSzY3MERw.ttf"
7465
+ }
7466
+ },
7467
+ {
7468
+ "kind": "webfonts#webfont",
7469
+ "family": "Marko One",
7470
+ "category": "serif",
7471
+ "variants": [
7472
+ "regular"
7473
+ ],
7474
+ "subsets": [
7475
+ "latin"
7476
+ ],
7477
+ "version": "v6",
7478
+ "lastModified": "2016-04-25",
7479
+ "files": {
7480
+ "regular": "http://fonts.gstatic.com/s/markoone/v6/hpP7j861sOAco43iDc4n4w.ttf"
7481
+ }
7482
+ },
7483
+ {
7484
+ "kind": "webfonts#webfont",
7485
+ "family": "Marmelad",
7486
+ "category": "sans-serif",
7487
+ "variants": [
7488
+ "regular"
7489
+ ],
7490
+ "subsets": [
7491
+ "latin",
7492
+ "latin-ext",
7493
+ "cyrillic"
7494
+ ],
7495
+ "version": "v6",
7496
+ "lastModified": "2016-04-25",
7497
+ "files": {
7498
+ "regular": "http://fonts.gstatic.com/s/marmelad/v6/jI0_FBlSOIRLL0ePWOhOwQ.ttf"
7499
+ }
7500
+ },
7501
+ {
7502
+ "kind": "webfonts#webfont",
7503
+ "family": "Martel",
7504
+ "category": "serif",
7505
+ "variants": [
7506
+ "200",
7507
+ "300",
7508
+ "regular",
7509
+ "600",
7510
+ "700",
7511
+ "800",
7512
+ "900"
7513
+ ],
7514
+ "subsets": [
7515
+ "latin",
7516
+ "devanagari",
7517
+ "latin-ext"
7518
+ ],
7519
+ "version": "v1",
7520
+ "lastModified": "2016-04-25",
7521
+ "files": {
7522
+ "200": "http://fonts.gstatic.com/s/martel/v1/_wfGdswZbat7P4tupHLA1w.ttf",
7523
+ "300": "http://fonts.gstatic.com/s/martel/v1/SghoV2F2VPdVU3P0a4fa9w.ttf",
7524
+ "regular": "http://fonts.gstatic.com/s/martel/v1/9ALu5czkaaf5zsYk6GJEnQ.ttf",
7525
+ "600": "http://fonts.gstatic.com/s/martel/v1/Kt9uPhH1PvUwuZ5Y6zuAMQ.ttf",
7526
+ "700": "http://fonts.gstatic.com/s/martel/v1/4OzIiKB5wE36xXL2U0vzWQ.ttf",
7527
+ "800": "http://fonts.gstatic.com/s/martel/v1/RVF8drcQoRkRL7l_ZkpTlQ.ttf",
7528
+ "900": "http://fonts.gstatic.com/s/martel/v1/iS0YUpFJoiLRlnyl40rpEA.ttf"
7529
+ }
7530
+ },
7531
+ {
7532
+ "kind": "webfonts#webfont",
7533
+ "family": "Martel Sans",
7534
+ "category": "sans-serif",
7535
+ "variants": [
7536
+ "200",
7537
+ "300",
7538
+ "regular",
7539
+ "600",
7540
+ "700",
7541
+ "800",
7542
+ "900"
7543
+ ],
7544
+ "subsets": [
7545
+ "latin",
7546
+ "devanagari",
7547
+ "latin-ext"
7548
+ ],
7549
+ "version": "v2",
7550
+ "lastModified": "2016-04-25",
7551
+ "files": {
7552
+ "200": "http://fonts.gstatic.com/s/martelsans/v2/7ajme85aKKx_SCWF59ImQEnzyIngrzGjGh22wPb6cGM.ttf",
7553
+ "300": "http://fonts.gstatic.com/s/martelsans/v2/7ajme85aKKx_SCWF59ImQC9-WlPSxbfiI49GsXo3q0g.ttf",
7554
+ "regular": "http://fonts.gstatic.com/s/martelsans/v2/91c8DPDZncMc0RFfhmc2RqCWcynf_cDxXwCLxiixG1c.ttf",
7555
+ "600": "http://fonts.gstatic.com/s/martelsans/v2/7ajme85aKKx_SCWF59ImQJZ7xm-Bj30Bj2KNdXDzSZg.ttf",
7556
+ "700": "http://fonts.gstatic.com/s/martelsans/v2/7ajme85aKKx_SCWF59ImQHe1Pd76Vl7zRpE7NLJQ7XU.ttf",
7557
+ "800": "http://fonts.gstatic.com/s/martelsans/v2/7ajme85aKKx_SCWF59ImQA89PwPrYLaRFJ-HNCU9NbA.ttf",
7558
+ "900": "http://fonts.gstatic.com/s/martelsans/v2/7ajme85aKKx_SCWF59ImQCenaqEuufTBk9XMKnKmgDA.ttf"
7559
+ }
7560
+ },
7561
+ {
7562
+ "kind": "webfonts#webfont",
7563
+ "family": "Marvel",
7564
+ "category": "sans-serif",
7565
+ "variants": [
7566
+ "regular",
7567
+ "italic",
7568
+ "700",
7569
+ "700italic"
7570
+ ],
7571
+ "subsets": [
7572
+ "latin"
7573
+ ],
7574
+ "version": "v6",
7575
+ "lastModified": "2016-04-25",
7576
+ "files": {
7577
+ "regular": "http://fonts.gstatic.com/s/marvel/v6/Fg1dO8tWVb-MlyqhsbXEkg.ttf",
7578
+ "italic": "http://fonts.gstatic.com/s/marvel/v6/HzyjFB-oR5usrc7Lxz9g8w.ttf",
7579
+ "700": "http://fonts.gstatic.com/s/marvel/v6/WrHDBL1RupWGo2UcdgxB3Q.ttf",
7580
+ "700italic": "http://fonts.gstatic.com/s/marvel/v6/Gzf5NT09Y6xskdQRj2kz1qCWcynf_cDxXwCLxiixG1c.ttf"
7581
+ }
7582
+ },
7583
+ {
7584
+ "kind": "webfonts#webfont",
7585
+ "family": "Mate",
7586
+ "category": "serif",
7587
+ "variants": [
7588
+ "regular",
7589
+ "italic"
7590
+ ],
7591
+ "subsets": [
7592
+ "latin"
7593
+ ],
7594
+ "version": "v5",
7595
+ "lastModified": "2016-04-25",
7596
+ "files": {
7597
+ "regular": "http://fonts.gstatic.com/s/mate/v5/ooFviPcJ6hZP5bAE71Cawg.ttf",
7598
+ "italic": "http://fonts.gstatic.com/s/mate/v5/5XwW6_cbisGvCX5qmNiqfA.ttf"
7599
+ }
7600
+ },
7601
+ {
7602
+ "kind": "webfonts#webfont",
7603
+ "family": "Mate SC",
7604
+ "category": "serif",
7605
+ "variants": [
7606
+ "regular"
7607
+ ],
7608
+ "subsets": [
7609
+ "latin"
7610
+ ],
7611
+ "version": "v5",
7612
+ "lastModified": "2016-04-25",
7613
+ "files": {
7614
+ "regular": "http://fonts.gstatic.com/s/matesc/v5/-YkIT2TZoPZF6pawKzDpWw.ttf"
7615
+ }
7616
+ },
7617
+ {
7618
+ "kind": "webfonts#webfont",
7619
+ "family": "Maven Pro",
7620
+ "category": "sans-serif",
7621
+ "variants": [
7622
+ "regular",
7623
+ "500",
7624
+ "700",
7625
+ "900"
7626
+ ],
7627
+ "subsets": [
7628
+ "latin"
7629
+ ],
7630
+ "version": "v7",
7631
+ "lastModified": "2016-04-25",
7632
+ "files": {
7633
+ "regular": "http://fonts.gstatic.com/s/mavenpro/v7/sqPJIFG4gqsjl-0q_46Gbw.ttf",
7634
+ "500": "http://fonts.gstatic.com/s/mavenpro/v7/SQVfzoJBbj9t3aVcmbspRi3USBnSvpkopQaUR-2r7iU.ttf",
7635
+ "700": "http://fonts.gstatic.com/s/mavenpro/v7/uDssvmXgp7Nj3i336k_dSi3USBnSvpkopQaUR-2r7iU.ttf",
7636
+ "900": "http://fonts.gstatic.com/s/mavenpro/v7/-91TwiFzqeL1F7Kh91APwS3USBnSvpkopQaUR-2r7iU.ttf"
7637
+ }
7638
+ },
7639
+ {
7640
+ "kind": "webfonts#webfont",
7641
+ "family": "McLaren",
7642
+ "category": "display",
7643
+ "variants": [
7644
+ "regular"
7645
+ ],
7646
+ "subsets": [
7647
+ "latin",
7648
+ "latin-ext"
7649
+ ],
7650
+ "version": "v4",
7651
+ "lastModified": "2016-04-25",
7652
+ "files": {
7653
+ "regular": "http://fonts.gstatic.com/s/mclaren/v4/OprvTGxaiINBKW_1_U0eoQ.ttf"
7654
+ }
7655
+ },
7656
+ {
7657
+ "kind": "webfonts#webfont",
7658
+ "family": "Meddon",
7659
+ "category": "handwriting",
7660
+ "variants": [
7661
+ "regular"
7662
+ ],
7663
+ "subsets": [
7664
+ "latin"
7665
+ ],
7666
+ "version": "v9",
7667
+ "lastModified": "2016-04-25",
7668
+ "files": {
7669
+ "regular": "http://fonts.gstatic.com/s/meddon/v9/f8zJO98uu2EtSj9p7ci9RA.ttf"
7670
+ }
7671
+ },
7672
+ {
7673
+ "kind": "webfonts#webfont",
7674
+ "family": "MedievalSharp",
7675
+ "category": "display",
7676
+ "variants": [
7677
+ "regular"
7678
+ ],
7679
+ "subsets": [
7680
+ "latin",
7681
+ "latin-ext"
7682
+ ],
7683
+ "version": "v8",
7684
+ "lastModified": "2016-04-25",
7685
+ "files": {
7686
+ "regular": "http://fonts.gstatic.com/s/medievalsharp/v8/85X_PjV6tftJ0-rX7KYQkOe45sJkivqprK7VkUlzfg0.ttf"
7687
+ }
7688
+ },
7689
+ {
7690
+ "kind": "webfonts#webfont",
7691
+ "family": "Medula One",
7692
+ "category": "display",
7693
+ "variants": [
7694
+ "regular"
7695
+ ],
7696
+ "subsets": [
7697
+ "latin"
7698
+ ],
7699
+ "version": "v6",
7700
+ "lastModified": "2016-04-25",
7701
+ "files": {
7702
+ "regular": "http://fonts.gstatic.com/s/medulaone/v6/AasPgDQak81dsTGQHc5zUPesZW2xOQ-xsNqO47m55DA.ttf"
7703
+ }
7704
+ },
7705
+ {
7706
+ "kind": "webfonts#webfont",
7707
+ "family": "Megrim",
7708
+ "category": "display",
7709
+ "variants": [
7710
+ "regular"
7711
+ ],
7712
+ "subsets": [
7713
+ "latin"
7714
+ ],
7715
+ "version": "v7",
7716
+ "lastModified": "2016-04-25",
7717
+ "files": {
7718
+ "regular": "http://fonts.gstatic.com/s/megrim/v7/e-9jVUC9lv1zxaFQARuftw.ttf"
7719
+ }
7720
+ },
7721
+ {
7722
+ "kind": "webfonts#webfont",
7723
+ "family": "Meie Script",
7724
+ "category": "handwriting",
7725
+ "variants": [
7726
+ "regular"
7727
+ ],
7728
+ "subsets": [
7729
+ "latin",
7730
+ "latin-ext"
7731
+ ],
7732
+ "version": "v4",
7733
+ "lastModified": "2016-04-25",
7734
+ "files": {
7735
+ "regular": "http://fonts.gstatic.com/s/meiescript/v4/oTIWE5MmPye-rCyVp_6KEqCWcynf_cDxXwCLxiixG1c.ttf"
7736
+ }
7737
+ },
7738
+ {
7739
+ "kind": "webfonts#webfont",
7740
+ "family": "Merienda",
7741
+ "category": "handwriting",
7742
+ "variants": [
7743
+ "regular",
7744
+ "700"
7745
+ ],
7746
+ "subsets": [
7747
+ "latin",
7748
+ "latin-ext"
7749
+ ],
7750
+ "version": "v4",
7751
+ "lastModified": "2016-04-25",
7752
+ "files": {
7753
+ "regular": "http://fonts.gstatic.com/s/merienda/v4/MYY6Og1qZlOQtPW2G95Y3A.ttf",
7754
+ "700": "http://fonts.gstatic.com/s/merienda/v4/GlwcvRLlgiVE2MBFQ4r0sKCWcynf_cDxXwCLxiixG1c.ttf"
7755
+ }
7756
+ },
7757
+ {
7758
+ "kind": "webfonts#webfont",
7759
+ "family": "Merienda One",
7760
+ "category": "handwriting",
7761
+ "variants": [
7762
+ "regular"
7763
+ ],
7764
+ "subsets": [
7765
+ "latin"
7766
+ ],
7767
+ "version": "v7",
7768
+ "lastModified": "2016-04-25",
7769
+ "files": {
7770
+ "regular": "http://fonts.gstatic.com/s/meriendaone/v7/bCA-uDdUx6nTO8SjzCLXvS3USBnSvpkopQaUR-2r7iU.ttf"
7771
+ }
7772
+ },
7773
+ {
7774
+ "kind": "webfonts#webfont",
7775
+ "family": "Merriweather",
7776
+ "category": "serif",
7777
+ "variants": [
7778
+ "300",
7779
+ "300italic",
7780
+ "regular",
7781
+ "italic",
7782
+ "700",
7783
+ "700italic",
7784
+ "900",
7785
+ "900italic"
7786
+ ],
7787
+ "subsets": [
7788
+ "latin",
7789
+ "latin-ext",
7790
+ "cyrillic-ext",
7791
+ "cyrillic"
7792
+ ],
7793
+ "version": "v11",
7794
+ "lastModified": "2016-04-25",
7795
+ "files": {
7796
+ "300": "http://fonts.gstatic.com/s/merriweather/v11/ZvcMqxEwPfh2qDWBPxn6nqcQoVhARpoaILP7amxE_8g.ttf",
7797
+ "300italic": "http://fonts.gstatic.com/s/merriweather/v11/EYh7Vl4ywhowqULgRdYwICna0FLWfcB-J_SAYmcAXaI.ttf",
7798
+ "regular": "http://fonts.gstatic.com/s/merriweather/v11/RFda8w1V0eDZheqfcyQ4EC3USBnSvpkopQaUR-2r7iU.ttf",
7799
+ "italic": "http://fonts.gstatic.com/s/merriweather/v11/So5lHxHT37p2SS4-t60SlPMZXuCXbOrAvx5R0IT5Oyo.ttf",
7800
+ "700": "http://fonts.gstatic.com/s/merriweather/v11/ZvcMqxEwPfh2qDWBPxn6nkD2ttfZwueP-QU272T9-k4.ttf",
7801
+ "700italic": "http://fonts.gstatic.com/s/merriweather/v11/EYh7Vl4ywhowqULgRdYwIPAs9-1nE9qOqhChW0m4nDE.ttf",
7802
+ "900": "http://fonts.gstatic.com/s/merriweather/v11/ZvcMqxEwPfh2qDWBPxn6nqObDOjC3UL77puoeHsE3fw.ttf",
7803
+ "900italic": "http://fonts.gstatic.com/s/merriweather/v11/EYh7Vl4ywhowqULgRdYwIBd0_s6jQr9r5s5OZYvtzBY.ttf"
7804
+ }
7805
+ },
7806
+ {
7807
+ "kind": "webfonts#webfont",
7808
+ "family": "Merriweather Sans",
7809
+ "category": "sans-serif",
7810
+ "variants": [
7811
+ "300",
7812
+ "300italic",
7813
+ "regular",
7814
+ "italic",
7815
+ "700",
7816
+ "700italic",
7817
+ "800",
7818
+ "800italic"
7819
+ ],
7820
+ "subsets": [
7821
+ "latin",
7822
+ "latin-ext"
7823
+ ],
7824
+ "version": "v7",
7825
+ "lastModified": "2016-04-25",
7826
+ "files": {
7827
+ "300": "http://fonts.gstatic.com/s/merriweathersans/v7/6LmGj5dOJopQKEkt88Gowan5N8K-_DP0e9e_v51obXQ.ttf",
7828
+ "300italic": "http://fonts.gstatic.com/s/merriweathersans/v7/nAqt4hiqwq3tzCecpgPmVdytE4nGXk2hYD5nJ740tBw.ttf",
7829
+ "regular": "http://fonts.gstatic.com/s/merriweathersans/v7/AKu1CjQ4qnV8MUltkAX3sOAj_ty82iuwwDTNEYXGiyQ.ttf",
7830
+ "italic": "http://fonts.gstatic.com/s/merriweathersans/v7/3Mz4hOHzs2npRMG3B1ascZ32VBCoA_HLsn85tSWZmdo.ttf",
7831
+ "700": "http://fonts.gstatic.com/s/merriweathersans/v7/6LmGj5dOJopQKEkt88GowbqxG25nQNOioCZSK4sU-CA.ttf",
7832
+ "700italic": "http://fonts.gstatic.com/s/merriweathersans/v7/nAqt4hiqwq3tzCecpgPmVbuqAJxizi8Dk_SK5et7kMg.ttf",
7833
+ "800": "http://fonts.gstatic.com/s/merriweathersans/v7/6LmGj5dOJopQKEkt88GowYufzO2zUYSj5LqoJ3UGkco.ttf",
7834
+ "800italic": "http://fonts.gstatic.com/s/merriweathersans/v7/nAqt4hiqwq3tzCecpgPmVdDmPrYMy3aZO4LmnZsxTQw.ttf"
7835
+ }
7836
+ },
7837
+ {
7838
+ "kind": "webfonts#webfont",
7839
+ "family": "Metal",
7840
+ "category": "display",
7841
+ "variants": [
7842
+ "regular"
7843
+ ],
7844
+ "subsets": [
7845
+ "khmer"
7846
+ ],
7847
+ "version": "v9",
7848
+ "lastModified": "2016-04-25",
7849
+ "files": {
7850
+ "regular": "http://fonts.gstatic.com/s/metal/v9/zA3UOP13ooQcxjv04BZX5g.ttf"
7851
+ }
7852
+ },
7853
+ {
7854
+ "kind": "webfonts#webfont",
7855
+ "family": "Metal Mania",
7856
+ "category": "display",
7857
+ "variants": [
7858
+ "regular"
7859
+ ],
7860
+ "subsets": [
7861
+ "latin",
7862
+ "latin-ext"
7863
+ ],
7864
+ "version": "v6",
7865
+ "lastModified": "2016-04-25",
7866
+ "files": {
7867
+ "regular": "http://fonts.gstatic.com/s/metalmania/v6/isriV_rAUgj6bPWPN6l9QKCWcynf_cDxXwCLxiixG1c.ttf"
7868
+ }
7869
+ },
7870
+ {
7871
+ "kind": "webfonts#webfont",
7872
+ "family": "Metamorphous",
7873
+ "category": "display",
7874
+ "variants": [
7875
+ "regular"
7876
+ ],
7877
+ "subsets": [
7878
+ "latin",
7879
+ "latin-ext"
7880
+ ],
7881
+ "version": "v6",
7882
+ "lastModified": "2016-04-25",
7883
+ "files": {
7884
+ "regular": "http://fonts.gstatic.com/s/metamorphous/v6/wGqUKXRinIYggz-BTRU9ei3USBnSvpkopQaUR-2r7iU.ttf"
7885
+ }
7886
+ },
7887
+ {
7888
+ "kind": "webfonts#webfont",
7889
+ "family": "Metrophobic",
7890
+ "category": "sans-serif",
7891
+ "variants": [
7892
+ "regular"
7893
+ ],
7894
+ "subsets": [
7895
+ "latin"
7896
+ ],
7897
+ "version": "v6",
7898
+ "lastModified": "2016-04-25",
7899
+ "files": {
7900
+ "regular": "http://fonts.gstatic.com/s/metrophobic/v6/SaglWZWCrrv_D17u1i4v_aCWcynf_cDxXwCLxiixG1c.ttf"
7901
+ }
7902
+ },
7903
+ {
7904
+ "kind": "webfonts#webfont",
7905
+ "family": "Michroma",
7906
+ "category": "sans-serif",
7907
+ "variants": [
7908
+ "regular"
7909
+ ],
7910
+ "subsets": [
7911
+ "latin"
7912
+ ],
7913
+ "version": "v7",
7914
+ "lastModified": "2016-04-25",
7915
+ "files": {
7916
+ "regular": "http://fonts.gstatic.com/s/michroma/v7/0c2XrW81_QsiKV8T9thumA.ttf"
7917
+ }
7918
+ },
7919
+ {
7920
+ "kind": "webfonts#webfont",
7921
+ "family": "Milonga",
7922
+ "category": "display",
7923
+ "variants": [
7924
+ "regular"
7925
+ ],
7926
+ "subsets": [
7927
+ "latin",
7928
+ "latin-ext"
7929
+ ],
7930
+ "version": "v4",
7931
+ "lastModified": "2016-04-25",
7932
+ "files": {
7933
+ "regular": "http://fonts.gstatic.com/s/milonga/v4/dzNdIUSTGFmy2ahovDRcWg.ttf"
7934
+ }
7935
+ },
7936
+ {
7937
+ "kind": "webfonts#webfont",
7938
+ "family": "Miltonian",
7939
+ "category": "display",
7940
+ "variants": [
7941
+ "regular"
7942
+ ],
7943
+ "subsets": [
7944
+ "latin"
7945
+ ],
7946
+ "version": "v9",
7947
+ "lastModified": "2016-04-25",
7948
+ "files": {
7949
+ "regular": "http://fonts.gstatic.com/s/miltonian/v9/Z4HrYZyqm0BnNNzcCUfzoQ.ttf"
7950
+ }
7951
+ },
7952
+ {
7953
+ "kind": "webfonts#webfont",
7954
+ "family": "Miltonian Tattoo",
7955
+ "category": "display",
7956
+ "variants": [
7957
+ "regular"
7958
+ ],
7959
+ "subsets": [
7960
+ "latin"
7961
+ ],
7962
+ "version": "v10",
7963
+ "lastModified": "2016-04-25",
7964
+ "files": {
7965
+ "regular": "http://fonts.gstatic.com/s/miltoniantattoo/v10/1oU_8OGYwW46eh02YHydn2uk0YtI6thZkz1Hmh-odwg.ttf"
7966
+ }
7967
+ },
7968
+ {
7969
+ "kind": "webfonts#webfont",
7970
+ "family": "Miniver",
7971
+ "category": "display",
7972
+ "variants": [
7973
+ "regular"
7974
+ ],
7975
+ "subsets": [
7976
+ "latin"
7977
+ ],
7978
+ "version": "v5",
7979
+ "lastModified": "2016-04-25",
7980
+ "files": {
7981
+ "regular": "http://fonts.gstatic.com/s/miniver/v5/4yTQohOH_cWKRS5laRFhYg.ttf"
7982
+ }
7983
+ },
7984
+ {
7985
+ "kind": "webfonts#webfont",
7986
+ "family": "Miss Fajardose",
7987
+ "category": "handwriting",
7988
+ "variants": [
7989
+ "regular"
7990
+ ],
7991
+ "subsets": [
7992
+ "latin",
7993
+ "latin-ext"
7994
+ ],
7995
+ "version": "v6",
7996
+ "lastModified": "2016-04-25",
7997
+ "files": {
7998
+ "regular": "http://fonts.gstatic.com/s/missfajardose/v6/WcXjlQPKn6nBfr8LY3ktNu6rPKfVZo7L2bERcf0BDns.ttf"
7999
+ }
8000
+ },
8001
+ {
8002
+ "kind": "webfonts#webfont",
8003
+ "family": "Modak",
8004
+ "category": "display",
8005
+ "variants": [
8006
+ "regular"
8007
+ ],
8008
+ "subsets": [
8009
+ "latin",
8010
+ "devanagari",
8011
+ "latin-ext"
8012
+ ],
8013
+ "version": "v2",
8014
+ "lastModified": "2016-05-10",
8015
+ "files": {
8016
+ "regular": "http://fonts.gstatic.com/s/modak/v2/lMsN0QIKid-pCPvL0hH4nw.ttf"
8017
+ }
8018
+ },
8019
+ {
8020
+ "kind": "webfonts#webfont",
8021
+ "family": "Modern Antiqua",
8022
+ "category": "display",
8023
+ "variants": [
8024
+ "regular"
8025
+ ],
8026
+ "subsets": [
8027
+ "latin",
8028
+ "latin-ext"
8029
+ ],
8030
+ "version": "v6",
8031
+ "lastModified": "2016-04-25",
8032
+ "files": {
8033
+ "regular": "http://fonts.gstatic.com/s/modernantiqua/v6/8qX_tr6Xzy4t9fvZDXPkh6rFJ4O13IHVxZbM6yoslpo.ttf"
8034
+ }
8035
+ },
8036
+ {
8037
+ "kind": "webfonts#webfont",
8038
+ "family": "Molengo",
8039
+ "category": "sans-serif",
8040
+ "variants": [
8041
+ "regular"
8042
+ ],
8043
+ "subsets": [
8044
+ "latin",
8045
+ "latin-ext"
8046
+ ],
8047
+ "version": "v7",
8048
+ "lastModified": "2016-04-25",
8049
+ "files": {
8050
+ "regular": "http://fonts.gstatic.com/s/molengo/v7/jcjgeGuzv83I55AzOTpXNQ.ttf"
8051
+ }
8052
+ },
8053
+ {
8054
+ "kind": "webfonts#webfont",
8055
+ "family": "Molle",
8056
+ "category": "handwriting",
8057
+ "variants": [
8058
+ "italic"
8059
+ ],
8060
+ "subsets": [
8061
+ "latin",
8062
+ "latin-ext"
8063
+ ],
8064
+ "version": "v4",
8065
+ "lastModified": "2016-04-25",
8066
+ "files": {
8067
+ "italic": "http://fonts.gstatic.com/s/molle/v4/9XTdCsjPXifLqo5et-YoGA.ttf"
8068
+ }
8069
+ },
8070
+ {
8071
+ "kind": "webfonts#webfont",
8072
+ "family": "Monda",
8073
+ "category": "sans-serif",
8074
+ "variants": [
8075
+ "regular",
8076
+ "700"
8077
+ ],
8078
+ "subsets": [
8079
+ "latin",
8080
+ "latin-ext"
8081
+ ],
8082
+ "version": "v4",
8083
+ "lastModified": "2016-04-25",
8084
+ "files": {
8085
+ "regular": "http://fonts.gstatic.com/s/monda/v4/qFMHZ9zvR6B_gnoIgosPrw.ttf",
8086
+ "700": "http://fonts.gstatic.com/s/monda/v4/EVOzZUyc_j1w2GuTgTAW1g.ttf"
8087
+ }
8088
+ },
8089
+ {
8090
+ "kind": "webfonts#webfont",
8091
+ "family": "Monofett",
8092
+ "category": "display",
8093
+ "variants": [
8094
+ "regular"
8095
+ ],
8096
+ "subsets": [
8097
+ "latin"
8098
+ ],
8099
+ "version": "v6",
8100
+ "lastModified": "2016-04-25",
8101
+ "files": {
8102
+ "regular": "http://fonts.gstatic.com/s/monofett/v6/C6K5L799Rgxzg2brgOaqAw.ttf"
8103
+ }
8104
+ },
8105
+ {
8106
+ "kind": "webfonts#webfont",
8107
+ "family": "Monoton",
8108
+ "category": "display",
8109
+ "variants": [
8110
+ "regular"
8111
+ ],
8112
+ "subsets": [
8113
+ "latin"
8114
+ ],
8115
+ "version": "v6",
8116
+ "lastModified": "2016-04-25",
8117
+ "files": {
8118
+ "regular": "http://fonts.gstatic.com/s/monoton/v6/aCz8ja_bE4dg-7agSvExdw.ttf"
8119
+ }
8120
+ },
8121
+ {
8122
+ "kind": "webfonts#webfont",
8123
+ "family": "Monsieur La Doulaise",
8124
+ "category": "handwriting",
8125
+ "variants": [
8126
+ "regular"
8127
+ ],
8128
+ "subsets": [
8129
+ "latin",
8130
+ "latin-ext"
8131
+ ],
8132
+ "version": "v5",
8133
+ "lastModified": "2016-04-25",
8134
+ "files": {
8135
+ "regular": "http://fonts.gstatic.com/s/monsieurladoulaise/v5/IMAdMj6Eq9jZ46CPctFtMKP61oAqTJXlx5ZVOBmcPdM.ttf"
8136
+ }
8137
+ },
8138
+ {
8139
+ "kind": "webfonts#webfont",
8140
+ "family": "Montaga",
8141
+ "category": "serif",
8142
+ "variants": [
8143
+ "regular"
8144
+ ],
8145
+ "subsets": [
8146
+ "latin"
8147
+ ],
8148
+ "version": "v4",
8149
+ "lastModified": "2016-04-25",
8150
+ "files": {
8151
+ "regular": "http://fonts.gstatic.com/s/montaga/v4/PwTwUboiD-M4-mFjZfJs2A.ttf"
8152
+ }
8153
+ },
8154
+ {
8155
+ "kind": "webfonts#webfont",
8156
+ "family": "Montez",
8157
+ "category": "handwriting",
8158
+ "variants": [
8159
+ "regular"
8160
+ ],
8161
+ "subsets": [
8162
+ "latin"
8163
+ ],
8164
+ "version": "v6",
8165
+ "lastModified": "2016-04-25",
8166
+ "files": {
8167
+ "regular": "http://fonts.gstatic.com/s/montez/v6/kx58rLOWQQLGFM4pDHv5Ng.ttf"
8168
+ }
8169
+ },
8170
+ {
8171
+ "kind": "webfonts#webfont",
8172
+ "family": "Montserrat",
8173
+ "category": "sans-serif",
8174
+ "variants": [
8175
+ "regular",
8176
+ "700"
8177
+ ],
8178
+ "subsets": [
8179
+ "latin"
8180
+ ],
8181
+ "version": "v6",
8182
+ "lastModified": "2016-04-25",
8183
+ "files": {
8184
+ "regular": "http://fonts.gstatic.com/s/montserrat/v6/Kqy6-utIpx_30Xzecmeo8_esZW2xOQ-xsNqO47m55DA.ttf",
8185
+ "700": "http://fonts.gstatic.com/s/montserrat/v6/IQHow_FEYlDC4Gzy_m8fcgJKKGfqHaYFsRG-T3ceEVo.ttf"
8186
+ }
8187
+ },
8188
+ {
8189
+ "kind": "webfonts#webfont",
8190
+ "family": "Montserrat Alternates",
8191
+ "category": "sans-serif",
8192
+ "variants": [
8193
+ "regular",
8194
+ "700"
8195
+ ],
8196
+ "subsets": [
8197
+ "latin"
8198
+ ],
8199
+ "version": "v4",
8200
+ "lastModified": "2016-04-25",
8201
+ "files": {
8202
+ "regular": "http://fonts.gstatic.com/s/montserratalternates/v4/z2n1Sjxk9souK3HCtdHuklPuEVRGaG9GCQnmM16YWq0.ttf",
8203
+ "700": "http://fonts.gstatic.com/s/montserratalternates/v4/YENqOGAVzwIHjYNjmKuAZpeqBKvsAhm-s2I4RVSXFfc.ttf"
8204
+ }
8205
+ },
8206
+ {
8207
+ "kind": "webfonts#webfont",
8208
+ "family": "Montserrat Subrayada",
8209
+ "category": "sans-serif",
8210
+ "variants": [
8211
+ "regular",
8212
+ "700"
8213
+ ],
8214
+ "subsets": [
8215
+ "latin"
8216
+ ],
8217
+ "version": "v4",
8218
+ "lastModified": "2016-04-25",
8219
+ "files": {
8220
+ "regular": "http://fonts.gstatic.com/s/montserratsubrayada/v4/nzoCWCz0e9c7Mr2Gl8bbgrJymm6ilkk9f0nDA_sC_qk.ttf",
8221
+ "700": "http://fonts.gstatic.com/s/montserratsubrayada/v4/wf-IKpsHcfm0C9uaz9IeGJvEcF1LWArDbGWgKZSH9go.ttf"
8222
+ }
8223
+ },
8224
+ {
8225
+ "kind": "webfonts#webfont",
8226
+ "family": "Moul",
8227
+ "category": "display",
8228
+ "variants": [
8229
+ "regular"
8230
+ ],
8231
+ "subsets": [
8232
+ "khmer"
8233
+ ],
8234
+ "version": "v8",
8235
+ "lastModified": "2016-04-25",
8236
+ "files": {
8237
+ "regular": "http://fonts.gstatic.com/s/moul/v8/Kb0ALQnfyXawP1a_P_gpTQ.ttf"
8238
+ }
8239
+ },
8240
+ {
8241
+ "kind": "webfonts#webfont",
8242
+ "family": "Moulpali",
8243
+ "category": "display",
8244
+ "variants": [
8245
+ "regular"
8246
+ ],
8247
+ "subsets": [
8248
+ "khmer"
8249
+ ],
8250
+ "version": "v9",
8251
+ "lastModified": "2016-04-25",
8252
+ "files": {
8253
+ "regular": "http://fonts.gstatic.com/s/moulpali/v9/diD74BprGhmVkJoerKmrKA.ttf"
8254
+ }
8255
+ },
8256
+ {
8257
+ "kind": "webfonts#webfont",
8258
+ "family": "Mountains of Christmas",
8259
+ "category": "display",
8260
+ "variants": [
8261
+ "regular",
8262
+ "700"
8263
+ ],
8264
+ "subsets": [
8265
+ "latin"
8266
+ ],
8267
+ "version": "v8",
8268
+ "lastModified": "2016-04-25",
8269
+ "files": {
8270
+ "regular": "http://fonts.gstatic.com/s/mountainsofchristmas/v8/dVGBFPwd6G44IWDbQtPew2Auds3jz1Fxb61CgfaGDr4.ttf",
8271
+ "700": "http://fonts.gstatic.com/s/mountainsofchristmas/v8/PymufKtHszoLrY0uiAYKNM9cPTbSBTrQyTa5TWAe3vE.ttf"
8272
+ }
8273
+ },
8274
+ {
8275
+ "kind": "webfonts#webfont",
8276
+ "family": "Mouse Memoirs",
8277
+ "category": "sans-serif",
8278
+ "variants": [
8279
+ "regular"
8280
+ ],
8281
+ "subsets": [
8282
+ "latin",
8283
+ "latin-ext"
8284
+ ],
8285
+ "version": "v4",
8286
+ "lastModified": "2016-04-25",
8287
+ "files": {
8288
+ "regular": "http://fonts.gstatic.com/s/mousememoirs/v4/NBFaaJFux_j0AQbAsW3QeH8f0n03UdmQgF_CLvNR2vg.ttf"
8289
+ }
8290
+ },
8291
+ {
8292
+ "kind": "webfonts#webfont",
8293
+ "family": "Mr Bedfort",
8294
+ "category": "handwriting",
8295
+ "variants": [
8296
+ "regular"
8297
+ ],
8298
+ "subsets": [
8299
+ "latin",
8300
+ "latin-ext"
8301
+ ],
8302
+ "version": "v5",
8303
+ "lastModified": "2016-04-25",
8304
+ "files": {
8305
+ "regular": "http://fonts.gstatic.com/s/mrbedfort/v5/81bGgHTRikLs_puEGshl7_esZW2xOQ-xsNqO47m55DA.ttf"
8306
+ }
8307
+ },
8308
+ {
8309
+ "kind": "webfonts#webfont",
8310
+ "family": "Mr Dafoe",
8311
+ "category": "handwriting",
8312
+ "variants": [
8313
+ "regular"
8314
+ ],
8315
+ "subsets": [
8316
+ "latin",
8317
+ "latin-ext"
8318
+ ],
8319
+ "version": "v5",
8320
+ "lastModified": "2016-04-25",
8321
+ "files": {
8322
+ "regular": "http://fonts.gstatic.com/s/mrdafoe/v5/s32Q1S6ZkT7EaX53mUirvQ.ttf"
8323
+ }
8324
+ },
8325
+ {
8326
+ "kind": "webfonts#webfont",
8327
+ "family": "Mr De Haviland",
8328
+ "category": "handwriting",
8329
+ "variants": [
8330
+ "regular"
8331
+ ],
8332
+ "subsets": [
8333
+ "latin",
8334
+ "latin-ext"
8335
+ ],
8336
+ "version": "v5",
8337
+ "lastModified": "2016-04-25",
8338
+ "files": {
8339
+ "regular": "http://fonts.gstatic.com/s/mrdehaviland/v5/fD8y4L6PJ4vqDk7z8Y8e27v4lrhng1lzu7-weKO6cw8.ttf"
8340
+ }
8341
+ },
8342
+ {
8343
+ "kind": "webfonts#webfont",
8344
+ "family": "Mrs Saint Delafield",
8345
+ "category": "handwriting",
8346
+ "variants": [
8347
+ "regular"
8348
+ ],
8349
+ "subsets": [
8350
+ "latin",
8351
+ "latin-ext"
8352
+ ],
8353
+ "version": "v4",
8354
+ "lastModified": "2016-04-25",
8355
+ "files": {
8356
+ "regular": "http://fonts.gstatic.com/s/mrssaintdelafield/v4/vuWagfFT7bj9lFtZOFBwmjHMBelqWf3tJeGyts2SmKU.ttf"
8357
+ }
8358
+ },
8359
+ {
8360
+ "kind": "webfonts#webfont",
8361
+ "family": "Mrs Sheppards",
8362
+ "category": "handwriting",
8363
+ "variants": [
8364
+ "regular"
8365
+ ],
8366
+ "subsets": [
8367
+ "latin",
8368
+ "latin-ext"
8369
+ ],
8370
+ "version": "v5",
8371
+ "lastModified": "2016-04-25",
8372
+ "files": {
8373
+ "regular": "http://fonts.gstatic.com/s/mrssheppards/v5/2WFsWMV3VUeCz6UVH7UjCn8f0n03UdmQgF_CLvNR2vg.ttf"
8374
+ }
8375
+ },
8376
+ {
8377
+ "kind": "webfonts#webfont",
8378
+ "family": "Muli",
8379
+ "category": "sans-serif",
8380
+ "variants": [
8381
+ "300",
8382
+ "300italic",
8383
+ "regular",
8384
+ "italic"
8385
+ ],
8386
+ "subsets": [
8387
+ "latin"
8388
+ ],
8389
+ "version": "v7",
8390
+ "lastModified": "2016-04-25",
8391
+ "files": {
8392
+ "300": "http://fonts.gstatic.com/s/muli/v7/VJw4F3ZHRAZ7Hmg3nQu5YQ.ttf",
8393
+ "300italic": "http://fonts.gstatic.com/s/muli/v7/s-NKMCru8HiyjEt0ZDoBoA.ttf",
8394
+ "regular": "http://fonts.gstatic.com/s/muli/v7/KJiP6KznxbALQgfJcDdPAw.ttf",
8395
+ "italic": "http://fonts.gstatic.com/s/muli/v7/Cg0K_IWANs9xkNoxV7H1_w.ttf"
8396
+ }
8397
+ },
8398
+ {
8399
+ "kind": "webfonts#webfont",
8400
+ "family": "Mystery Quest",
8401
+ "category": "display",
8402
+ "variants": [
8403
+ "regular"
8404
+ ],
8405
+ "subsets": [
8406
+ "latin",
8407
+ "latin-ext"
8408
+ ],
8409
+ "version": "v4",
8410
+ "lastModified": "2016-04-25",
8411
+ "files": {
8412
+ "regular": "http://fonts.gstatic.com/s/mysteryquest/v4/467jJvg0c7HgucvBB9PLDyeUSrabuTpOsMEiRLtKwk0.ttf"
8413
+ }
8414
+ },
8415
+ {
8416
+ "kind": "webfonts#webfont",
8417
+ "family": "NTR",
8418
+ "category": "sans-serif",
8419
+ "variants": [
8420
+ "regular"
8421
+ ],
8422
+ "subsets": [
8423
+ "latin",
8424
+ "telugu"
8425
+ ],
8426
+ "version": "v4",
8427
+ "lastModified": "2016-04-25",
8428
+ "files": {
8429
+ "regular": "http://fonts.gstatic.com/s/ntr/v4/e7H4ZLtGfVOYyOupo6T12g.ttf"
8430
+ }
8431
+ },
8432
+ {
8433
+ "kind": "webfonts#webfont",
8434
+ "family": "Neucha",
8435
+ "category": "handwriting",
8436
+ "variants": [
8437
+ "regular"
8438
+ ],
8439
+ "subsets": [
8440
+ "latin",
8441
+ "cyrillic"
8442
+ ],
8443
+ "version": "v8",
8444
+ "lastModified": "2016-04-25",
8445
+ "files": {
8446
+ "regular": "http://fonts.gstatic.com/s/neucha/v8/bijdhB-TzQdtpl0ykhGh4Q.ttf"
8447
+ }
8448
+ },
8449
+ {
8450
+ "kind": "webfonts#webfont",
8451
+ "family": "Neuton",
8452
+ "category": "serif",
8453
+ "variants": [
8454
+ "200",
8455
+ "300",
8456
+ "regular",
8457
+ "italic",
8458
+ "700",
8459
+ "800"
8460
+ ],
8461
+ "subsets": [
8462
+ "latin",
8463
+ "latin-ext"
8464
+ ],
8465
+ "version": "v8",
8466
+ "lastModified": "2016-04-25",
8467
+ "files": {
8468
+ "200": "http://fonts.gstatic.com/s/neuton/v8/DA3Mkew3XqSkPpi1f4tJow.ttf",
8469
+ "300": "http://fonts.gstatic.com/s/neuton/v8/xrc_aZ2hx-gdeV0mlY8Vww.ttf",
8470
+ "regular": "http://fonts.gstatic.com/s/neuton/v8/9R-MGIOQUdjAVeB6nE6PcQ.ttf",
8471
+ "italic": "http://fonts.gstatic.com/s/neuton/v8/uVMT3JOB5BNFi3lgPp6kEg.ttf",
8472
+ "700": "http://fonts.gstatic.com/s/neuton/v8/gnWpkWY7DirkKiovncYrfg.ttf",
8473
+ "800": "http://fonts.gstatic.com/s/neuton/v8/XPzBQV4lY6enLxQG9cF1jw.ttf"
8474
+ }
8475
+ },
8476
+ {
8477
+ "kind": "webfonts#webfont",
8478
+ "family": "New Rocker",
8479
+ "category": "display",
8480
+ "variants": [
8481
+ "regular"
8482
+ ],
8483
+ "subsets": [
8484
+ "latin",
8485
+ "latin-ext"
8486
+ ],
8487
+ "version": "v5",
8488
+ "lastModified": "2016-04-25",
8489
+ "files": {
8490
+ "regular": "http://fonts.gstatic.com/s/newrocker/v5/EFUWzHJedEkpW399zYOHofesZW2xOQ-xsNqO47m55DA.ttf"
8491
+ }
8492
+ },
8493
+ {
8494
+ "kind": "webfonts#webfont",
8495
+ "family": "News Cycle",
8496
+ "category": "sans-serif",
8497
+ "variants": [
8498
+ "regular",
8499
+ "700"
8500
+ ],
8501
+ "subsets": [
8502
+ "latin",
8503
+ "latin-ext"
8504
+ ],
8505
+ "version": "v13",
8506
+ "lastModified": "2016-04-25",
8507
+ "files": {
8508
+ "regular": "http://fonts.gstatic.com/s/newscycle/v13/xyMAr8VfiUzIOvS1abHJO_esZW2xOQ-xsNqO47m55DA.ttf",
8509
+ "700": "http://fonts.gstatic.com/s/newscycle/v13/G28Ny31cr5orMqEQy6ljtwJKKGfqHaYFsRG-T3ceEVo.ttf"
8510
+ }
8511
+ },
8512
+ {
8513
+ "kind": "webfonts#webfont",
8514
+ "family": "Niconne",
8515
+ "category": "handwriting",
8516
+ "variants": [
8517
+ "regular"
8518
+ ],
8519
+ "subsets": [
8520
+ "latin",
8521
+ "latin-ext"
8522
+ ],
8523
+ "version": "v6",
8524
+ "lastModified": "2016-04-25",
8525
+ "files": {
8526
+ "regular": "http://fonts.gstatic.com/s/niconne/v6/ZA-mFw2QNXodx5y7kfELBg.ttf"
8527
+ }
8528
+ },
8529
+ {
8530
+ "kind": "webfonts#webfont",
8531
+ "family": "Nixie One",
8532
+ "category": "display",
8533
+ "variants": [
8534
+ "regular"
8535
+ ],
8536
+ "subsets": [
8537
+ "latin"
8538
+ ],
8539
+ "version": "v7",
8540
+ "lastModified": "2016-04-25",
8541
+ "files": {
8542
+ "regular": "http://fonts.gstatic.com/s/nixieone/v7/h6kQfmzm0Shdnp3eswRaqQ.ttf"
8543
+ }
8544
+ },
8545
+ {
8546
+ "kind": "webfonts#webfont",
8547
+ "family": "Nobile",
8548
+ "category": "sans-serif",
8549
+ "variants": [
8550
+ "regular",
8551
+ "italic",
8552
+ "700",
8553
+ "700italic"
8554
+ ],
8555
+ "subsets": [
8556
+ "latin"
8557
+ ],
8558
+ "version": "v7",
8559
+ "lastModified": "2016-04-25",
8560
+ "files": {
8561
+ "regular": "http://fonts.gstatic.com/s/nobile/v7/lC_lPi1ddtN38iXTCRh6ow.ttf",
8562
+ "italic": "http://fonts.gstatic.com/s/nobile/v7/vGmrpKzWQQSrb-PR6FWBIA.ttf",
8563
+ "700": "http://fonts.gstatic.com/s/nobile/v7/9p6M-Yrg_r_QPmSD1skrOg.ttf",
8564
+ "700italic": "http://fonts.gstatic.com/s/nobile/v7/oQ1eYPaXV638N03KvsNvyKCWcynf_cDxXwCLxiixG1c.ttf"
8565
+ }
8566
+ },
8567
+ {
8568
+ "kind": "webfonts#webfont",
8569
+ "family": "Nokora",
8570
+ "category": "serif",
8571
+ "variants": [
8572
+ "regular",
8573
+ "700"
8574
+ ],
8575
+ "subsets": [
8576
+ "khmer"
8577
+ ],
8578
+ "version": "v9",
8579
+ "lastModified": "2016-04-25",
8580
+ "files": {
8581
+ "regular": "http://fonts.gstatic.com/s/nokora/v9/dRyz1JfnyKPNaRcBNX9F9A.ttf",
8582
+ "700": "http://fonts.gstatic.com/s/nokora/v9/QMqqa4QEOhQpiig3cAPmbQ.ttf"
8583
+ }
8584
+ },
8585
+ {
8586
+ "kind": "webfonts#webfont",
8587
+ "family": "Norican",
8588
+ "category": "handwriting",
8589
+ "variants": [
8590
+ "regular"
8591
+ ],
8592
+ "subsets": [
8593
+ "latin",
8594
+ "latin-ext"
8595
+ ],
8596
+ "version": "v4",
8597
+ "lastModified": "2016-04-25",
8598
+ "files": {
8599
+ "regular": "http://fonts.gstatic.com/s/norican/v4/SHnSqhYAWG5sZTWcPzEHig.ttf"
8600
+ }
8601
+ },
8602
+ {
8603
+ "kind": "webfonts#webfont",
8604
+ "family": "Nosifer",
8605
+ "category": "display",
8606
+ "variants": [
8607
+ "regular"
8608
+ ],
8609
+ "subsets": [
8610
+ "latin",
8611
+ "latin-ext"
8612
+ ],
8613
+ "version": "v5",
8614
+ "lastModified": "2016-04-25",
8615
+ "files": {
8616
+ "regular": "http://fonts.gstatic.com/s/nosifer/v5/7eJGoIuHRrtcG00j6CptSA.ttf"
8617
+ }
8618
+ },
8619
+ {
8620
+ "kind": "webfonts#webfont",
8621
+ "family": "Nothing You Could Do",
8622
+ "category": "handwriting",
8623
+ "variants": [
8624
+ "regular"
8625
+ ],
8626
+ "subsets": [
8627
+ "latin"
8628
+ ],
8629
+ "version": "v6",
8630
+ "lastModified": "2016-04-25",
8631
+ "files": {
8632
+ "regular": "http://fonts.gstatic.com/s/nothingyoucoulddo/v6/jpk1K3jbJoyoK0XKaSyQAf-TpkXjXYGWiJZAEtBRjPU.ttf"
8633
+ }
8634
+ },
8635
+ {
8636
+ "kind": "webfonts#webfont",
8637
+ "family": "Noticia Text",
8638
+ "category": "serif",
8639
+ "variants": [
8640
+ "regular",
8641
+ "italic",
8642
+ "700",
8643
+ "700italic"
8644
+ ],
8645
+ "subsets": [
8646
+ "latin",
8647
+ "latin-ext",
8648
+ "vietnamese"
8649
+ ],
8650
+ "version": "v6",
8651
+ "lastModified": "2016-04-25",
8652
+ "files": {
8653
+ "regular": "http://fonts.gstatic.com/s/noticiatext/v6/wdyV6x3eKpdeUPQ7BJ5uUC3USBnSvpkopQaUR-2r7iU.ttf",
8654
+ "italic": "http://fonts.gstatic.com/s/noticiatext/v6/dAuxVpkYE_Q_IwIm6elsKPMZXuCXbOrAvx5R0IT5Oyo.ttf",
8655
+ "700": "http://fonts.gstatic.com/s/noticiatext/v6/pEko-RqEtp45bE2P80AAKUD2ttfZwueP-QU272T9-k4.ttf",
8656
+ "700italic": "http://fonts.gstatic.com/s/noticiatext/v6/-rQ7V8ARjf28_b7kRa0JuvAs9-1nE9qOqhChW0m4nDE.ttf"
8657
+ }
8658
+ },
8659
+ {
8660
+ "kind": "webfonts#webfont",
8661
+ "family": "Noto Sans",
8662
+ "category": "sans-serif",
8663
+ "variants": [
8664
+ "regular",
8665
+ "italic",
8666
+ "700",
8667
+ "700italic"
8668
+ ],
8669
+ "subsets": [
8670
+ "latin",
8671
+ "greek",
8672
+ "devanagari",
8673
+ "latin-ext",
8674
+ "cyrillic-ext",
8675
+ "greek-ext",
8676
+ "vietnamese",
8677
+ "cyrillic"
8678
+ ],
8679
+ "version": "v6",
8680
+ "lastModified": "2016-04-25",
8681
+ "files": {
8682
+ "regular": "http://fonts.gstatic.com/s/notosans/v6/0Ue9FiUJwVhi4NGfHJS5uA.ttf",
8683
+ "italic": "http://fonts.gstatic.com/s/notosans/v6/dLcNKMgJ1H5RVoZFraDz0qCWcynf_cDxXwCLxiixG1c.ttf",
8684
+ "700": "http://fonts.gstatic.com/s/notosans/v6/PIbvSEyHEdL91QLOQRnZ1y3USBnSvpkopQaUR-2r7iU.ttf",
8685
+ "700italic": "http://fonts.gstatic.com/s/notosans/v6/9Z3uUWMRR7crzm1TjRicDne1Pd76Vl7zRpE7NLJQ7XU.ttf"
8686
+ }
8687
+ },
8688
+ {
8689
+ "kind": "webfonts#webfont",
8690
+ "family": "Noto Serif",
8691
+ "category": "serif",
8692
+ "variants": [
8693
+ "regular",
8694
+ "italic",
8695
+ "700",
8696
+ "700italic"
8697
+ ],
8698
+ "subsets": [
8699
+ "latin",
8700
+ "greek",
8701
+ "latin-ext",
8702
+ "cyrillic-ext",
8703
+ "greek-ext",
8704
+ "vietnamese",
8705
+ "cyrillic"
8706
+ ],
8707
+ "version": "v4",
8708
+ "lastModified": "2016-04-25",
8709
+ "files": {
8710
+ "regular": "http://fonts.gstatic.com/s/notoserif/v4/zW6mc7bC1CWw8dH0yxY8JfesZW2xOQ-xsNqO47m55DA.ttf",
8711
+ "italic": "http://fonts.gstatic.com/s/notoserif/v4/HQXBIwLHsOJCNEQeX9kNzy3USBnSvpkopQaUR-2r7iU.ttf",
8712
+ "700": "http://fonts.gstatic.com/s/notoserif/v4/lJAvZoKA5NttpPc9yc6lPQJKKGfqHaYFsRG-T3ceEVo.ttf",
8713
+ "700italic": "http://fonts.gstatic.com/s/notoserif/v4/Wreg0Be4tcFGM2t6VWytvED2ttfZwueP-QU272T9-k4.ttf"
8714
+ }
8715
+ },
8716
+ {
8717
+ "kind": "webfonts#webfont",
8718
+ "family": "Nova Cut",
8719
+ "category": "display",
8720
+ "variants": [
8721
+ "regular"
8722
+ ],
8723
+ "subsets": [
8724
+ "latin"
8725
+ ],
8726
+ "version": "v8",
8727
+ "lastModified": "2016-04-25",
8728
+ "files": {
8729
+ "regular": "http://fonts.gstatic.com/s/novacut/v8/6q12jWcBvj0KO2cMRP97tA.ttf"
8730
+ }
8731
+ },
8732
+ {
8733
+ "kind": "webfonts#webfont",
8734
+ "family": "Nova Flat",
8735
+ "category": "display",
8736
+ "variants": [
8737
+ "regular"
8738
+ ],
8739
+ "subsets": [
8740
+ "latin"
8741
+ ],
8742
+ "version": "v8",
8743
+ "lastModified": "2016-04-25",
8744
+ "files": {
8745
+ "regular": "http://fonts.gstatic.com/s/novaflat/v8/pK7a0CoGzI684qe_XSHBqQ.ttf"
8746
+ }
8747
+ },
8748
+ {
8749
+ "kind": "webfonts#webfont",
8750
+ "family": "Nova Mono",
8751
+ "category": "monospace",
8752
+ "variants": [
8753
+ "regular"
8754
+ ],
8755
+ "subsets": [
8756
+ "latin",
8757
+ "greek"
8758
+ ],
8759
+ "version": "v7",
8760
+ "lastModified": "2016-04-25",
8761
+ "files": {
8762
+ "regular": "http://fonts.gstatic.com/s/novamono/v7/6-SChr5ZIaaasJFBkgrLNw.ttf"
8763
+ }
8764
+ },
8765
+ {
8766
+ "kind": "webfonts#webfont",
8767
+ "family": "Nova Oval",
8768
+ "category": "display",
8769
+ "variants": [
8770
+ "regular"
8771
+ ],
8772
+ "subsets": [
8773
+ "latin"
8774
+ ],
8775
+ "version": "v8",
8776
+ "lastModified": "2016-04-25",
8777
+ "files": {
8778
+ "regular": "http://fonts.gstatic.com/s/novaoval/v8/VuukVpKP8BwUf8o9W5LYQQ.ttf"
8779
+ }
8780
+ },
8781
+ {
8782
+ "kind": "webfonts#webfont",
8783
+ "family": "Nova Round",
8784
+ "category": "display",
8785
+ "variants": [
8786
+ "regular"
8787
+ ],
8788
+ "subsets": [
8789
+ "latin"
8790
+ ],
8791
+ "version": "v8",
8792
+ "lastModified": "2016-04-25",
8793
+ "files": {
8794
+ "regular": "http://fonts.gstatic.com/s/novaround/v8/7-cK3Ari_8XYYFgVMxVhDvesZW2xOQ-xsNqO47m55DA.ttf"
8795
+ }
8796
+ },
8797
+ {
8798
+ "kind": "webfonts#webfont",
8799
+ "family": "Nova Script",
8800
+ "category": "display",
8801
+ "variants": [
8802
+ "regular"
8803
+ ],
8804
+ "subsets": [
8805
+ "latin"
8806
+ ],
8807
+ "version": "v8",
8808
+ "lastModified": "2016-04-25",
8809
+ "files": {
8810
+ "regular": "http://fonts.gstatic.com/s/novascript/v8/dEvxQDLgx1M1TKY-NmBWYaCWcynf_cDxXwCLxiixG1c.ttf"
8811
+ }
8812
+ },
8813
+ {
8814
+ "kind": "webfonts#webfont",
8815
+ "family": "Nova Slim",
8816
+ "category": "display",
8817
+ "variants": [
8818
+ "regular"
8819
+ ],
8820
+ "subsets": [
8821
+ "latin"
8822
+ ],
8823
+ "version": "v8",
8824
+ "lastModified": "2016-04-25",
8825
+ "files": {
8826
+ "regular": "http://fonts.gstatic.com/s/novaslim/v8/rPYXC81_VL2EW-4CzBX65g.ttf"
8827
+ }
8828
+ },
8829
+ {
8830
+ "kind": "webfonts#webfont",
8831
+ "family": "Nova Square",
8832
+ "category": "display",
8833
+ "variants": [
8834
+ "regular"
8835
+ ],
8836
+ "subsets": [
8837
+ "latin"
8838
+ ],
8839
+ "version": "v8",
8840
+ "lastModified": "2016-04-25",
8841
+ "files": {
8842
+ "regular": "http://fonts.gstatic.com/s/novasquare/v8/BcBzXoaDzYX78rquGXVuSqCWcynf_cDxXwCLxiixG1c.ttf"
8843
+ }
8844
+ },
8845
+ {
8846
+ "kind": "webfonts#webfont",
8847
+ "family": "Numans",
8848
+ "category": "sans-serif",
8849
+ "variants": [
8850
+ "regular"
8851
+ ],
8852
+ "subsets": [
8853
+ "latin"
8854
+ ],
8855
+ "version": "v6",
8856
+ "lastModified": "2016-04-25",
8857
+ "files": {
8858
+ "regular": "http://fonts.gstatic.com/s/numans/v6/g5snI2p6OEjjTNmTHyBdiQ.ttf"
8859
+ }
8860
+ },
8861
+ {
8862
+ "kind": "webfonts#webfont",
8863
+ "family": "Nunito",
8864
+ "category": "sans-serif",
8865
+ "variants": [
8866
+ "300",
8867
+ "regular",
8868
+ "700"
8869
+ ],
8870
+ "subsets": [
8871
+ "latin"
8872
+ ],
8873
+ "version": "v7",
8874
+ "lastModified": "2016-04-25",
8875
+ "files": {
8876
+ "300": "http://fonts.gstatic.com/s/nunito/v7/zXQvrWBJqUooM7Xv98MrQw.ttf",
8877
+ "regular": "http://fonts.gstatic.com/s/nunito/v7/ySZTeT3IuzJj0GK6uGpbBg.ttf",
8878
+ "700": "http://fonts.gstatic.com/s/nunito/v7/aEdlqgMuYbpe4U3TnqOQMA.ttf"
8879
+ }
8880
+ },
8881
+ {
8882
+ "kind": "webfonts#webfont",
8883
+ "family": "Odor Mean Chey",
8884
+ "category": "display",
8885
+ "variants": [
8886
+ "regular"
8887
+ ],
8888
+ "subsets": [
8889
+ "khmer"
8890
+ ],
8891
+ "version": "v8",
8892
+ "lastModified": "2016-04-25",
8893
+ "files": {
8894
+ "regular": "http://fonts.gstatic.com/s/odormeanchey/v8/GK3E7EjPoBkeZhYshGFo0eVKG8sq4NyGgdteJLvqLDs.ttf"
8895
+ }
8896
+ },
8897
+ {
8898
+ "kind": "webfonts#webfont",
8899
+ "family": "Offside",
8900
+ "category": "display",
8901
+ "variants": [
8902
+ "regular"
8903
+ ],
8904
+ "subsets": [
8905
+ "latin"
8906
+ ],
8907
+ "version": "v4",
8908
+ "lastModified": "2016-04-25",
8909
+ "files": {
8910
+ "regular": "http://fonts.gstatic.com/s/offside/v4/v0C913SB8wqQUvcu1faUqw.ttf"
8911
+ }
8912
+ },
8913
+ {
8914
+ "kind": "webfonts#webfont",
8915
+ "family": "Old Standard TT",
8916
+ "category": "serif",
8917
+ "variants": [
8918
+ "regular",
8919
+ "italic",
8920
+ "700"
8921
+ ],
8922
+ "subsets": [
8923
+ "latin"
8924
+ ],
8925
+ "version": "v7",
8926
+ "lastModified": "2016-04-25",
8927
+ "files": {
8928
+ "regular": "http://fonts.gstatic.com/s/oldstandardtt/v7/n6RTCDcIPWSE8UNBa4k-DLcB5jyhm1VsHs65c3QNDr0.ttf",
8929
+ "italic": "http://fonts.gstatic.com/s/oldstandardtt/v7/QQT_AUSp4AV4dpJfIN7U5PWrQzeMtsHf8QsWQ2cZg3c.ttf",
8930
+ "700": "http://fonts.gstatic.com/s/oldstandardtt/v7/5Ywdce7XEbTSbxs__4X1_HJqbZqK7TdZ58X80Q_Lw8Y.ttf"
8931
+ }
8932
+ },
8933
+ {
8934
+ "kind": "webfonts#webfont",
8935
+ "family": "Oldenburg",
8936
+ "category": "display",
8937
+ "variants": [
8938
+ "regular"
8939
+ ],
8940
+ "subsets": [
8941
+ "latin",
8942
+ "latin-ext"
8943
+ ],
8944
+ "version": "v4",
8945
+ "lastModified": "2016-04-25",
8946
+ "files": {
8947
+ "regular": "http://fonts.gstatic.com/s/oldenburg/v4/dqA_M_uoCVXZbCO-oKBTnQ.ttf"
8948
+ }
8949
+ },
8950
+ {
8951
+ "kind": "webfonts#webfont",
8952
+ "family": "Oleo Script",
8953
+ "category": "display",
8954
+ "variants": [
8955
+ "regular",
8956
+ "700"
8957
+ ],
8958
+ "subsets": [
8959
+ "latin",
8960
+ "latin-ext"
8961
+ ],
8962
+ "version": "v5",
8963
+ "lastModified": "2016-04-25",
8964
+ "files": {
8965
+ "regular": "http://fonts.gstatic.com/s/oleoscript/v5/21stZcmPyzbQVXtmGegyqKCWcynf_cDxXwCLxiixG1c.ttf",
8966
+ "700": "http://fonts.gstatic.com/s/oleoscript/v5/hudNQFKFl98JdNnlo363fne1Pd76Vl7zRpE7NLJQ7XU.ttf"
8967
+ }
8968
+ },
8969
+ {
8970
+ "kind": "webfonts#webfont",
8971
+ "family": "Oleo Script Swash Caps",
8972
+ "category": "display",
8973
+ "variants": [
8974
+ "regular",
8975
+ "700"
8976
+ ],
8977
+ "subsets": [
8978
+ "latin",
8979
+ "latin-ext"
8980
+ ],
8981
+ "version": "v4",
8982
+ "lastModified": "2016-04-25",
8983
+ "files": {
8984
+ "regular": "http://fonts.gstatic.com/s/oleoscriptswashcaps/v4/vdWhGqsBUAP-FF3NOYTe4iMF4kXAPemmyaDpMXQ31P0.ttf",
8985
+ "700": "http://fonts.gstatic.com/s/oleoscriptswashcaps/v4/HMO3ftxA9AU5floml9c755reFYaXZ4zuJXJ8fr8OO1g.ttf"
8986
+ }
8987
+ },
8988
+ {
8989
+ "kind": "webfonts#webfont",
8990
+ "family": "Open Sans",
8991
+ "category": "sans-serif",
8992
+ "variants": [
8993
+ "300",
8994
+ "300italic",
8995
+ "regular",
8996
+ "italic",
8997
+ "600",
8998
+ "600italic",
8999
+ "700",
9000
+ "700italic",
9001
+ "800",
9002
+ "800italic"
9003
+ ],
9004
+ "subsets": [
9005
+ "latin",
9006
+ "greek",
9007
+ "latin-ext",
9008
+ "cyrillic-ext",
9009
+ "greek-ext",
9010
+ "vietnamese",
9011
+ "cyrillic"
9012
+ ],
9013
+ "version": "v13",
9014
+ "lastModified": "2016-04-25",
9015
+ "files": {
9016
+ "300": "http://fonts.gstatic.com/s/opensans/v13/DXI1ORHCpsQm3Vp6mXoaTS3USBnSvpkopQaUR-2r7iU.ttf",
9017
+ "300italic": "http://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxi9-WlPSxbfiI49GsXo3q0g.ttf",
9018
+ "regular": "http://fonts.gstatic.com/s/opensans/v13/IgZJs4-7SA1XX_edsoXWog.ttf",
9019
+ "italic": "http://fonts.gstatic.com/s/opensans/v13/O4NhV7_qs9r9seTo7fnsVKCWcynf_cDxXwCLxiixG1c.ttf",
9020
+ "600": "http://fonts.gstatic.com/s/opensans/v13/MTP_ySUJH_bn48VBG8sNSi3USBnSvpkopQaUR-2r7iU.ttf",
9021
+ "600italic": "http://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxpZ7xm-Bj30Bj2KNdXDzSZg.ttf",
9022
+ "700": "http://fonts.gstatic.com/s/opensans/v13/k3k702ZOKiLJc3WVjuplzC3USBnSvpkopQaUR-2r7iU.ttf",
9023
+ "700italic": "http://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxne1Pd76Vl7zRpE7NLJQ7XU.ttf",
9024
+ "800": "http://fonts.gstatic.com/s/opensans/v13/EInbV5DfGHOiMmvb1Xr-hi3USBnSvpkopQaUR-2r7iU.ttf",
9025
+ "800italic": "http://fonts.gstatic.com/s/opensans/v13/PRmiXeptR36kaC0GEAetxg89PwPrYLaRFJ-HNCU9NbA.ttf"
9026
+ }
9027
+ },
9028
+ {
9029
+ "kind": "webfonts#webfont",
9030
+ "family": "Open Sans Condensed",
9031
+ "category": "sans-serif",
9032
+ "variants": [
9033
+ "300",
9034
+ "300italic",
9035
+ "700"
9036
+ ],
9037
+ "subsets": [
9038
+ "latin",
9039
+ "greek",
9040
+ "latin-ext",
9041
+ "cyrillic-ext",
9042
+ "greek-ext",
9043
+ "vietnamese",
9044
+ "cyrillic"
9045
+ ],
9046
+ "version": "v10",
9047
+ "lastModified": "2016-04-25",
9048
+ "files": {
9049
+ "300": "http://fonts.gstatic.com/s/opensanscondensed/v10/gk5FxslNkTTHtojXrkp-xEMwSSh38KQVJx4ABtsZTnA.ttf",
9050
+ "300italic": "http://fonts.gstatic.com/s/opensanscondensed/v10/jIXlqT1WKafUSwj6s9AzV4_LkTZ_uhAwfmGJ084hlvM.ttf",
9051
+ "700": "http://fonts.gstatic.com/s/opensanscondensed/v10/gk5FxslNkTTHtojXrkp-xBEM87DM3yorPOrvA-vB930.ttf"
9052
+ }
9053
+ },
9054
+ {
9055
+ "kind": "webfonts#webfont",
9056
+ "family": "Oranienbaum",
9057
+ "category": "serif",
9058
+ "variants": [
9059
+ "regular"
9060
+ ],
9061
+ "subsets": [
9062
+ "latin",
9063
+ "latin-ext",
9064
+ "cyrillic-ext",
9065
+ "cyrillic"
9066
+ ],
9067
+ "version": "v5",
9068
+ "lastModified": "2016-04-25",
9069
+ "files": {
9070
+ "regular": "http://fonts.gstatic.com/s/oranienbaum/v5/M98jYwCSn0PaFhXXgviCoaCWcynf_cDxXwCLxiixG1c.ttf"
9071
+ }
9072
+ },
9073
+ {
9074
+ "kind": "webfonts#webfont",
9075
+ "family": "Orbitron",
9076
+ "category": "sans-serif",
9077
+ "variants": [
9078
+ "regular",
9079
+ "500",
9080
+ "700",
9081
+ "900"
9082
+ ],
9083
+ "subsets": [
9084
+ "latin"
9085
+ ],
9086
+ "version": "v7",
9087
+ "lastModified": "2016-04-25",
9088
+ "files": {
9089
+ "regular": "http://fonts.gstatic.com/s/orbitron/v7/DY8swouAZjR3RaUPRf0HDQ.ttf",
9090
+ "500": "http://fonts.gstatic.com/s/orbitron/v7/p-y_ffzMdo5JN_7ia0vYEqCWcynf_cDxXwCLxiixG1c.ttf",
9091
+ "700": "http://fonts.gstatic.com/s/orbitron/v7/PS9_6SLkY1Y6OgPO3APr6qCWcynf_cDxXwCLxiixG1c.ttf",
9092
+ "900": "http://fonts.gstatic.com/s/orbitron/v7/2I3-8i9hT294TE_pyjy9SaCWcynf_cDxXwCLxiixG1c.ttf"
9093
+ }
9094
+ },
9095
+ {
9096
+ "kind": "webfonts#webfont",
9097
+ "family": "Oregano",
9098
+ "category": "display",
9099
+ "variants": [
9100
+ "regular",
9101
+ "italic"
9102
+ ],
9103
+ "subsets": [
9104
+ "latin",
9105
+ "latin-ext"
9106
+ ],
9107
+ "version": "v4",
9108
+ "lastModified": "2016-04-25",
9109
+ "files": {
9110
+ "regular": "http://fonts.gstatic.com/s/oregano/v4/UiLhqNixVv2EpjRoBG6axA.ttf",
9111
+ "italic": "http://fonts.gstatic.com/s/oregano/v4/_iwqGEht6XsAuEaCbYG64Q.ttf"
9112
+ }
9113
+ },
9114
+ {
9115
+ "kind": "webfonts#webfont",
9116
+ "family": "Orienta",
9117
+ "category": "sans-serif",
9118
+ "variants": [
9119
+ "regular"
9120
+ ],
9121
+ "subsets": [
9122
+ "latin",
9123
+ "latin-ext"
9124
+ ],
9125
+ "version": "v4",
9126
+ "lastModified": "2016-04-25",
9127
+ "files": {
9128
+ "regular": "http://fonts.gstatic.com/s/orienta/v4/_NKSk93mMs0xsqtfjCsB3Q.ttf"
9129
+ }
9130
+ },
9131
+ {
9132
+ "kind": "webfonts#webfont",
9133
+ "family": "Original Surfer",
9134
+ "category": "display",
9135
+ "variants": [
9136
+ "regular"
9137
+ ],
9138
+ "subsets": [
9139
+ "latin"
9140
+ ],
9141
+ "version": "v5",
9142
+ "lastModified": "2016-04-25",
9143
+ "files": {
9144
+ "regular": "http://fonts.gstatic.com/s/originalsurfer/v5/gdHw6HpSIN4D6Xt7pi1-qIkEz33TDwAZczo_6fY7eg0.ttf"
9145
+ }
9146
+ },
9147
+ {
9148
+ "kind": "webfonts#webfont",
9149
+ "family": "Oswald",
9150
+ "category": "sans-serif",
9151
+ "variants": [
9152
+ "300",
9153
+ "regular",
9154
+ "700"
9155
+ ],
9156
+ "subsets": [
9157
+ "latin",
9158
+ "latin-ext"
9159
+ ],
9160
+ "version": "v10",
9161
+ "lastModified": "2016-04-25",
9162
+ "files": {
9163
+ "300": "http://fonts.gstatic.com/s/oswald/v10/y3tZpCdiRD4oNRRYFcAR5Q.ttf",
9164
+ "regular": "http://fonts.gstatic.com/s/oswald/v10/uLEd2g2vJglLPfsBF91DCg.ttf",
9165
+ "700": "http://fonts.gstatic.com/s/oswald/v10/7wj8ldV_5Ti37rHa0m1DDw.ttf"
9166
+ }
9167
+ },
9168
+ {
9169
+ "kind": "webfonts#webfont",
9170
+ "family": "Over the Rainbow",
9171
+ "category": "handwriting",
9172
+ "variants": [
9173
+ "regular"
9174
+ ],
9175
+ "subsets": [
9176
+ "latin"
9177
+ ],
9178
+ "version": "v7",
9179
+ "lastModified": "2016-04-25",
9180
+ "files": {
9181
+ "regular": "http://fonts.gstatic.com/s/overtherainbow/v7/6gp-gkpI2kie2dHQQLM2jQBdxkZd83xOSx-PAQ2QmiI.ttf"
9182
+ }
9183
+ },
9184
+ {
9185
+ "kind": "webfonts#webfont",
9186
+ "family": "Overlock",
9187
+ "category": "display",
9188
+ "variants": [
9189
+ "regular",
9190
+ "italic",
9191
+ "700",
9192
+ "700italic",
9193
+ "900",
9194
+ "900italic"
9195
+ ],
9196
+ "subsets": [
9197
+ "latin",
9198
+ "latin-ext"
9199
+ ],
9200
+ "version": "v5",
9201
+ "lastModified": "2016-04-25",
9202
+ "files": {
9203
+ "regular": "http://fonts.gstatic.com/s/overlock/v5/Z8oYsGi88-E1cUB8YBFMAg.ttf",
9204
+ "italic": "http://fonts.gstatic.com/s/overlock/v5/rq6EacukHROOBrFrK_zF6_esZW2xOQ-xsNqO47m55DA.ttf",
9205
+ "700": "http://fonts.gstatic.com/s/overlock/v5/Fexr8SqXM8Bm_gEVUA7AKaCWcynf_cDxXwCLxiixG1c.ttf",
9206
+ "700italic": "http://fonts.gstatic.com/s/overlock/v5/wFWnYgeXKYBks6gEUwYnfAJKKGfqHaYFsRG-T3ceEVo.ttf",
9207
+ "900": "http://fonts.gstatic.com/s/overlock/v5/YPJCVTT8ZbG3899l_-KIGqCWcynf_cDxXwCLxiixG1c.ttf",
9208
+ "900italic": "http://fonts.gstatic.com/s/overlock/v5/iOZhxT2zlg7W5ij_lb-oDp0EAVxt0G0biEntp43Qt6E.ttf"
9209
+ }
9210
+ },
9211
+ {
9212
+ "kind": "webfonts#webfont",
9213
+ "family": "Overlock SC",
9214
+ "category": "display",
9215
+ "variants": [
9216
+ "regular"
9217
+ ],
9218
+ "subsets": [
9219
+ "latin",
9220
+ "latin-ext"
9221
+ ],
9222
+ "version": "v5",
9223
+ "lastModified": "2016-04-25",
9224
+ "files": {
9225
+ "regular": "http://fonts.gstatic.com/s/overlocksc/v5/8D7HYDsvS_g1GhBnlHzgzaCWcynf_cDxXwCLxiixG1c.ttf"
9226
+ }
9227
+ },
9228
+ {
9229
+ "kind": "webfonts#webfont",
9230
+ "family": "Ovo",
9231
+ "category": "serif",
9232
+ "variants": [
9233
+ "regular"
9234
+ ],
9235
+ "subsets": [
9236
+ "latin"
9237
+ ],
9238
+ "version": "v7",
9239
+ "lastModified": "2016-04-25",
9240
+ "files": {
9241
+ "regular": "http://fonts.gstatic.com/s/ovo/v7/mFg27dimu3s9t09qjCwB1g.ttf"
9242
+ }
9243
+ },
9244
+ {
9245
+ "kind": "webfonts#webfont",
9246
+ "family": "Oxygen",
9247
+ "category": "sans-serif",
9248
+ "variants": [
9249
+ "300",
9250
+ "regular",
9251
+ "700"
9252
+ ],
9253
+ "subsets": [
9254
+ "latin",
9255
+ "latin-ext"
9256
+ ],
9257
+ "version": "v5",
9258
+ "lastModified": "2016-04-25",
9259
+ "files": {
9260
+ "300": "http://fonts.gstatic.com/s/oxygen/v5/lZ31r0bR1Bzt_DfGZu1S8A.ttf",
9261
+ "regular": "http://fonts.gstatic.com/s/oxygen/v5/uhoyAE7XlQL22abzQieHjw.ttf",
9262
+ "700": "http://fonts.gstatic.com/s/oxygen/v5/yLqkmDwuNtt5pSqsJmhyrg.ttf"
9263
+ }
9264
+ },
9265
+ {
9266
+ "kind": "webfonts#webfont",
9267
+ "family": "Oxygen Mono",
9268
+ "category": "monospace",
9269
+ "variants": [
9270
+ "regular"
9271
+ ],
9272
+ "subsets": [
9273
+ "latin",
9274
+ "latin-ext"
9275
+ ],
9276
+ "version": "v4",
9277
+ "lastModified": "2016-04-25",
9278
+ "files": {
9279
+ "regular": "http://fonts.gstatic.com/s/oxygenmono/v4/DigTu7k4b7OmM8ubt1Qza6CWcynf_cDxXwCLxiixG1c.ttf"
9280
+ }
9281
+ },
9282
+ {
9283
+ "kind": "webfonts#webfont",
9284
+ "family": "PT Mono",
9285
+ "category": "monospace",
9286
+ "variants": [
9287
+ "regular"
9288
+ ],
9289
+ "subsets": [
9290
+ "latin",
9291
+ "latin-ext",
9292
+ "cyrillic-ext",
9293
+ "cyrillic"
9294
+ ],
9295
+ "version": "v4",
9296
+ "lastModified": "2016-04-25",
9297
+ "files": {
9298
+ "regular": "http://fonts.gstatic.com/s/ptmono/v4/QUbM8H9yJK5NhpQ0REO6Wg.ttf"
9299
+ }
9300
+ },
9301
+ {
9302
+ "kind": "webfonts#webfont",
9303
+ "family": "PT Sans",
9304
+ "category": "sans-serif",
9305
+ "variants": [
9306
+ "regular",
9307
+ "italic",
9308
+ "700",
9309
+ "700italic"
9310
+ ],
9311
+ "subsets": [
9312
+ "latin",
9313
+ "latin-ext",
9314
+ "cyrillic-ext",
9315
+ "cyrillic"
9316
+ ],
9317
+ "version": "v8",
9318
+ "lastModified": "2016-04-25",
9319
+ "files": {
9320
+ "regular": "http://fonts.gstatic.com/s/ptsans/v8/UFoEz2uiuMypUGZL1NKoeg.ttf",
9321
+ "italic": "http://fonts.gstatic.com/s/ptsans/v8/yls9EYWOd496wiu7qzfgNg.ttf",
9322
+ "700": "http://fonts.gstatic.com/s/ptsans/v8/F51BEgHuR0tYHxF0bD4vwvesZW2xOQ-xsNqO47m55DA.ttf",
9323
+ "700italic": "http://fonts.gstatic.com/s/ptsans/v8/lILlYDvubYemzYzN7GbLkC3USBnSvpkopQaUR-2r7iU.ttf"
9324
+ }
9325
+ },
9326
+ {
9327
+ "kind": "webfonts#webfont",
9328
+ "family": "PT Sans Caption",
9329
+ "category": "sans-serif",
9330
+ "variants": [
9331
+ "regular",
9332
+ "700"
9333
+ ],
9334
+ "subsets": [
9335
+ "latin",
9336
+ "latin-ext",
9337
+ "cyrillic-ext",
9338
+ "cyrillic"
9339
+ ],
9340
+ "version": "v9",
9341
+ "lastModified": "2016-04-25",
9342
+ "files": {
9343
+ "regular": "http://fonts.gstatic.com/s/ptsanscaption/v9/OXYTDOzBcXU8MTNBvBHeSW8by34Z3mUMtM-o4y-SHCY.ttf",
9344
+ "700": "http://fonts.gstatic.com/s/ptsanscaption/v9/Q-gJrFokeE7JydPpxASt25tc0eyfI4QDEsobEEpk_hA.ttf"
9345
+ }
9346
+ },
9347
+ {
9348
+ "kind": "webfonts#webfont",
9349
+ "family": "PT Sans Narrow",
9350
+ "category": "sans-serif",
9351
+ "variants": [
9352
+ "regular",
9353
+ "700"
9354
+ ],
9355
+ "subsets": [
9356
+ "latin",
9357
+ "latin-ext",
9358
+ "cyrillic-ext",
9359
+ "cyrillic"
9360
+ ],
9361
+ "version": "v7",
9362
+ "lastModified": "2016-04-25",
9363
+ "files": {
9364
+ "regular": "http://fonts.gstatic.com/s/ptsansnarrow/v7/UyYrYy3ltEffJV9QueSi4ZTvAuddT2xDMbdz0mdLyZY.ttf",
9365
+ "700": "http://fonts.gstatic.com/s/ptsansnarrow/v7/Q_pTky3Sc3ubRibGToTAYsLtdzs3iyjn_YuT226ZsLU.ttf"
9366
+ }
9367
+ },
9368
+ {
9369
+ "kind": "webfonts#webfont",
9370
+ "family": "PT Serif",
9371
+ "category": "serif",
9372
+ "variants": [
9373
+ "regular",
9374
+ "italic",
9375
+ "700",
9376
+ "700italic"
9377
+ ],
9378
+ "subsets": [
9379
+ "latin",
9380
+ "latin-ext",
9381
+ "cyrillic-ext",
9382
+ "cyrillic"
9383
+ ],
9384
+ "version": "v8",
9385
+ "lastModified": "2016-04-25",
9386
+ "files": {
9387
+ "regular": "http://fonts.gstatic.com/s/ptserif/v8/sAo427rn3-QL9sWCbMZXhA.ttf",
9388
+ "italic": "http://fonts.gstatic.com/s/ptserif/v8/9khWhKzhpkH0OkNnBKS3n_esZW2xOQ-xsNqO47m55DA.ttf",
9389
+ "700": "http://fonts.gstatic.com/s/ptserif/v8/kyZw18tqQ5if-_wpmxxOeKCWcynf_cDxXwCLxiixG1c.ttf",
9390
+ "700italic": "http://fonts.gstatic.com/s/ptserif/v8/Foydq9xJp--nfYIx2TBz9QJKKGfqHaYFsRG-T3ceEVo.ttf"
9391
+ }
9392
+ },
9393
+ {
9394
+ "kind": "webfonts#webfont",
9395
+ "family": "PT Serif Caption",
9396
+ "category": "serif",
9397
+ "variants": [
9398
+ "regular",
9399
+ "italic"
9400
+ ],
9401
+ "subsets": [
9402
+ "latin",
9403
+ "latin-ext",
9404
+ "cyrillic-ext",
9405
+ "cyrillic"
9406
+ ],
9407
+ "version": "v8",
9408
+ "lastModified": "2016-04-25",
9409
+ "files": {
9410
+ "regular": "http://fonts.gstatic.com/s/ptserifcaption/v8/7xkFOeTxxO1GMC1suOUYWVsRioCqs5fohhaYel24W3k.ttf",
9411
+ "italic": "http://fonts.gstatic.com/s/ptserifcaption/v8/0kfPsmrmTSgiec7u_Wa0DB1mqvzPHelJwRcF_s_EUM0.ttf"
9412
+ }
9413
+ },
9414
+ {
9415
+ "kind": "webfonts#webfont",
9416
+ "family": "Pacifico",
9417
+ "category": "handwriting",
9418
+ "variants": [
9419
+ "regular"
9420
+ ],
9421
+ "subsets": [
9422
+ "latin"
9423
+ ],
9424
+ "version": "v7",
9425
+ "lastModified": "2016-04-25",
9426
+ "files": {
9427
+ "regular": "http://fonts.gstatic.com/s/pacifico/v7/GIrpeRY1r5CzbfL8r182lw.ttf"
9428
+ }
9429
+ },
9430
+ {
9431
+ "kind": "webfonts#webfont",
9432
+ "family": "Palanquin",
9433
+ "category": "sans-serif",
9434
+ "variants": [
9435
+ "100",
9436
+ "200",
9437
+ "300",
9438
+ "regular",
9439
+ "500",
9440
+ "600",
9441
+ "700"
9442
+ ],
9443
+ "subsets": [
9444
+ "latin",
9445
+ "devanagari",
9446
+ "latin-ext"
9447
+ ],
9448
+ "version": "v1",
9449
+ "lastModified": "2016-04-25",
9450
+ "files": {
9451
+ "100": "http://fonts.gstatic.com/s/palanquin/v1/Hu0eGDVGK_g4saUFu6AK3KCWcynf_cDxXwCLxiixG1c.ttf",
9452
+ "200": "http://fonts.gstatic.com/s/palanquin/v1/pqXYXD7-VI5ezTjeqQOcyC3USBnSvpkopQaUR-2r7iU.ttf",
9453
+ "300": "http://fonts.gstatic.com/s/palanquin/v1/c0-J5OCAagpFCKkKraz-Ey3USBnSvpkopQaUR-2r7iU.ttf",
9454
+ "regular": "http://fonts.gstatic.com/s/palanquin/v1/xCwBUoAEV0kzCDwerAZ0Aw.ttf",
9455
+ "500": "http://fonts.gstatic.com/s/palanquin/v1/wLvvkEcZMKy95afLWh2EfC3USBnSvpkopQaUR-2r7iU.ttf",
9456
+ "600": "http://fonts.gstatic.com/s/palanquin/v1/405UIAv95_yZkCECrH6y-i3USBnSvpkopQaUR-2r7iU.ttf",
9457
+ "700": "http://fonts.gstatic.com/s/palanquin/v1/-UtkePo3NFvxEN3rGCtTvi3USBnSvpkopQaUR-2r7iU.ttf"
9458
+ }
9459
+ },
9460
+ {
9461
+ "kind": "webfonts#webfont",
9462
+ "family": "Palanquin Dark",
9463
+ "category": "sans-serif",
9464
+ "variants": [
9465
+ "regular",
9466
+ "500",
9467
+ "600",
9468
+ "700"
9469
+ ],
9470
+ "subsets": [
9471
+ "latin",
9472
+ "devanagari",
9473
+ "latin-ext"
9474
+ ],
9475
+ "version": "v1",
9476
+ "lastModified": "2016-04-25",
9477
+ "files": {
9478
+ "regular": "http://fonts.gstatic.com/s/palanquindark/v1/PamTqrrgbBh_M3702w39rOfChn3JSg5yz_Q_xmrKQN0.ttf",
9479
+ "500": "http://fonts.gstatic.com/s/palanquindark/v1/iXyBGf5UbFUu6BG8hOY-maMZTo-EwKMRQt3RWHocLi0.ttf",
9480
+ "600": "http://fonts.gstatic.com/s/palanquindark/v1/iXyBGf5UbFUu6BG8hOY-mVNxaunw8i4Gywrk2SigRnk.ttf",
9481
+ "700": "http://fonts.gstatic.com/s/palanquindark/v1/iXyBGf5UbFUu6BG8hOY-mWToair6W0TEE44XrlfKbiM.ttf"
9482
+ }
9483
+ },
9484
+ {
9485
+ "kind": "webfonts#webfont",
9486
+ "family": "Paprika",
9487
+ "category": "display",
9488
+ "variants": [
9489
+ "regular"
9490
+ ],
9491
+ "subsets": [
9492
+ "latin"
9493
+ ],
9494
+ "version": "v4",
9495
+ "lastModified": "2016-04-25",
9496
+ "files": {
9497
+ "regular": "http://fonts.gstatic.com/s/paprika/v4/b-VpyoRSieBdB5BPJVF8HQ.ttf"
9498
+ }
9499
+ },
9500
+ {
9501
+ "kind": "webfonts#webfont",
9502
+ "family": "Parisienne",
9503
+ "category": "handwriting",
9504
+ "variants": [
9505
+ "regular"
9506
+ ],
9507
+ "subsets": [
9508
+ "latin",
9509
+ "latin-ext"
9510
+ ],
9511
+ "version": "v4",
9512
+ "lastModified": "2016-04-25",
9513
+ "files": {
9514
+ "regular": "http://fonts.gstatic.com/s/parisienne/v4/TW74B5QISJNx9moxGlmJfvesZW2xOQ-xsNqO47m55DA.ttf"
9515
+ }
9516
+ },
9517
+ {
9518
+ "kind": "webfonts#webfont",
9519
+ "family": "Passero One",
9520
+ "category": "display",
9521
+ "variants": [
9522
+ "regular"
9523
+ ],
9524
+ "subsets": [
9525
+ "latin",
9526
+ "latin-ext"
9527
+ ],
9528
+ "version": "v8",
9529
+ "lastModified": "2016-04-25",
9530
+ "files": {
9531
+ "regular": "http://fonts.gstatic.com/s/passeroone/v8/Yc-7nH5deCCv9Ed0MMnAQqCWcynf_cDxXwCLxiixG1c.ttf"
9532
+ }
9533
+ },
9534
+ {
9535
+ "kind": "webfonts#webfont",
9536
+ "family": "Passion One",
9537
+ "category": "display",
9538
+ "variants": [
9539
+ "regular",
9540
+ "700",
9541
+ "900"
9542
+ ],
9543
+ "subsets": [
9544
+ "latin",
9545
+ "latin-ext"
9546
+ ],
9547
+ "version": "v6",
9548
+ "lastModified": "2016-04-25",
9549
+ "files": {
9550
+ "regular": "http://fonts.gstatic.com/s/passionone/v6/1UIK1tg3bKJ4J3o35M4heqCWcynf_cDxXwCLxiixG1c.ttf",
9551
+ "700": "http://fonts.gstatic.com/s/passionone/v6/feOcYDy2R-f3Ysy72PYJ2ne1Pd76Vl7zRpE7NLJQ7XU.ttf",
9552
+ "900": "http://fonts.gstatic.com/s/passionone/v6/feOcYDy2R-f3Ysy72PYJ2ienaqEuufTBk9XMKnKmgDA.ttf"
9553
+ }
9554
+ },
9555
+ {
9556
+ "kind": "webfonts#webfont",
9557
+ "family": "Pathway Gothic One",
9558
+ "category": "sans-serif",
9559
+ "variants": [
9560
+ "regular"
9561
+ ],
9562
+ "subsets": [
9563
+ "latin",
9564
+ "latin-ext"
9565
+ ],
9566
+ "version": "v4",
9567
+ "lastModified": "2016-04-25",
9568
+ "files": {
9569
+ "regular": "http://fonts.gstatic.com/s/pathwaygothicone/v4/Lqv9ztoTUV8Q0FmQZzPqaA6A6xIYD7vYcYDop1i-K-c.ttf"
9570
+ }
9571
+ },
9572
+ {
9573
+ "kind": "webfonts#webfont",
9574
+ "family": "Patrick Hand",
9575
+ "category": "handwriting",
9576
+ "variants": [
9577
+ "regular"
9578
+ ],
9579
+ "subsets": [
9580
+ "latin",
9581
+ "latin-ext",
9582
+ "vietnamese"
9583
+ ],
9584
+ "version": "v10",
9585
+ "lastModified": "2016-04-25",
9586
+ "files": {
9587
+ "regular": "http://fonts.gstatic.com/s/patrickhand/v10/9BG3JJgt_HlF3NpEUehL0C3USBnSvpkopQaUR-2r7iU.ttf"
9588
+ }
9589
+ },
9590
+ {
9591
+ "kind": "webfonts#webfont",
9592
+ "family": "Patrick Hand SC",
9593
+ "category": "handwriting",
9594
+ "variants": [
9595
+ "regular"
9596
+ ],
9597
+ "subsets": [
9598
+ "latin",
9599
+ "latin-ext",
9600
+ "vietnamese"
9601
+ ],
9602
+ "version": "v4",
9603
+ "lastModified": "2016-04-25",
9604
+ "files": {
9605
+ "regular": "http://fonts.gstatic.com/s/patrickhandsc/v4/OYFWCgfCR-7uHIovjUZXsbAgSRh1LpJXlLfl8IbsmHg.ttf"
9606
+ }
9607
+ },
9608
+ {
9609
+ "kind": "webfonts#webfont",
9610
+ "family": "Patua One",
9611
+ "category": "display",
9612
+ "variants": [
9613
+ "regular"
9614
+ ],
9615
+ "subsets": [
9616
+ "latin"
9617
+ ],
9618
+ "version": "v6",
9619
+ "lastModified": "2016-04-25",
9620
+ "files": {
9621
+ "regular": "http://fonts.gstatic.com/s/patuaone/v6/njZwotTYjswR4qdhsW-kJw.ttf"
9622
+ }
9623
+ },
9624
+ {
9625
+ "kind": "webfonts#webfont",
9626
+ "family": "Paytone One",
9627
+ "category": "sans-serif",
9628
+ "variants": [
9629
+ "regular"
9630
+ ],
9631
+ "subsets": [
9632
+ "latin"
9633
+ ],
9634
+ "version": "v8",
9635
+ "lastModified": "2016-04-25",
9636
+ "files": {
9637
+ "regular": "http://fonts.gstatic.com/s/paytoneone/v8/3WCxC7JAJjQHQVoIE0ZwvqCWcynf_cDxXwCLxiixG1c.ttf"
9638
+ }
9639
+ },
9640
+ {
9641
+ "kind": "webfonts#webfont",
9642
+ "family": "Peddana",
9643
+ "category": "serif",
9644
+ "variants": [
9645
+ "regular"
9646
+ ],
9647
+ "subsets": [
9648
+ "latin",
9649
+ "telugu"
9650
+ ],
9651
+ "version": "v4",
9652
+ "lastModified": "2016-04-25",
9653
+ "files": {
9654
+ "regular": "http://fonts.gstatic.com/s/peddana/v4/zaSZuj_GhmC8AOTugOROnA.ttf"
9655
+ }
9656
+ },
9657
+ {
9658
+ "kind": "webfonts#webfont",
9659
+ "family": "Peralta",
9660
+ "category": "display",
9661
+ "variants": [
9662
+ "regular"
9663
+ ],
9664
+ "subsets": [
9665
+ "latin",
9666
+ "latin-ext"
9667
+ ],
9668
+ "version": "v4",
9669
+ "lastModified": "2016-04-25",
9670
+ "files": {
9671
+ "regular": "http://fonts.gstatic.com/s/peralta/v4/cTJX5KEuc0GKRU9NXSm-8Q.ttf"
9672
+ }
9673
+ },
9674
+ {
9675
+ "kind": "webfonts#webfont",
9676
+ "family": "Permanent Marker",
9677
+ "category": "handwriting",
9678
+ "variants": [
9679
+ "regular"
9680
+ ],
9681
+ "subsets": [
9682
+ "latin"
9683
+ ],
9684
+ "version": "v5",
9685
+ "lastModified": "2016-04-25",
9686
+ "files": {
9687
+ "regular": "http://fonts.gstatic.com/s/permanentmarker/v5/9vYsg5VgPHKK8SXYbf3sMol14xj5tdg9OHF8w4E7StQ.ttf"
9688
+ }
9689
+ },
9690
+ {
9691
+ "kind": "webfonts#webfont",
9692
+ "family": "Petit Formal Script",
9693
+ "category": "handwriting",
9694
+ "variants": [
9695
+ "regular"
9696
+ ],
9697
+ "subsets": [
9698
+ "latin",
9699
+ "latin-ext"
9700
+ ],
9701
+ "version": "v4",
9702
+ "lastModified": "2016-04-25",
9703
+ "files": {
9704
+ "regular": "http://fonts.gstatic.com/s/petitformalscript/v4/OEZwr2-ovBsq2n3ACCKoEvVPl2Gjtxj0D6F7QLy1VQc.ttf"
9705
+ }
9706
+ },
9707
+ {
9708
+ "kind": "webfonts#webfont",
9709
+ "family": "Petrona",
9710
+ "category": "serif",
9711
+ "variants": [
9712
+ "regular"
9713
+ ],
9714
+ "subsets": [
9715
+ "latin"
9716
+ ],
9717
+ "version": "v5",
9718
+ "lastModified": "2016-04-25",
9719
+ "files": {
9720
+ "regular": "http://fonts.gstatic.com/s/petrona/v5/nnQwxlP6dhrGovYEFtemTg.ttf"
9721
+ }
9722
+ },
9723
+ {
9724
+ "kind": "webfonts#webfont",
9725
+ "family": "Philosopher",
9726
+ "category": "sans-serif",
9727
+ "variants": [
9728
+ "regular",
9729
+ "italic",
9730
+ "700",
9731
+ "700italic"
9732
+ ],
9733
+ "subsets": [
9734
+ "latin",
9735
+ "cyrillic"
9736
+ ],
9737
+ "version": "v7",
9738
+ "lastModified": "2016-04-25",
9739
+ "files": {
9740
+ "regular": "http://fonts.gstatic.com/s/philosopher/v7/oZLTrB9jmJsyV0u_T0TKEaCWcynf_cDxXwCLxiixG1c.ttf",
9741
+ "italic": "http://fonts.gstatic.com/s/philosopher/v7/_9Hnc_gz9k7Qq6uKaeHKmUeOrDcLawS7-ssYqLr2Xp4.ttf",
9742
+ "700": "http://fonts.gstatic.com/s/philosopher/v7/napvkewXG9Gqby5vwGHICHe1Pd76Vl7zRpE7NLJQ7XU.ttf",
9743
+ "700italic": "http://fonts.gstatic.com/s/philosopher/v7/PuKlryTcvTj7-qZWfLCFIM_zJjSACmk0BRPxQqhnNLU.ttf"
9744
+ }
9745
+ },
9746
+ {
9747
+ "kind": "webfonts#webfont",
9748
+ "family": "Piedra",
9749
+ "category": "display",
9750
+ "variants": [
9751
+ "regular"
9752
+ ],
9753
+ "subsets": [
9754
+ "latin",
9755
+ "latin-ext"
9756
+ ],
9757
+ "version": "v5",
9758
+ "lastModified": "2016-04-25",
9759
+ "files": {
9760
+ "regular": "http://fonts.gstatic.com/s/piedra/v5/owf-AvEEyAj9LJ2tVZ_3Mw.ttf"
9761
+ }
9762
+ },
9763
+ {
9764
+ "kind": "webfonts#webfont",
9765
+ "family": "Pinyon Script",
9766
+ "category": "handwriting",
9767
+ "variants": [
9768
+ "regular"
9769
+ ],
9770
+ "subsets": [
9771
+ "latin"
9772
+ ],
9773
+ "version": "v6",
9774
+ "lastModified": "2016-04-25",
9775
+ "files": {
9776
+ "regular": "http://fonts.gstatic.com/s/pinyonscript/v6/TzghnhfCn7TuE73f-CBQ0CeUSrabuTpOsMEiRLtKwk0.ttf"
9777
+ }
9778
+ },
9779
+ {
9780
+ "kind": "webfonts#webfont",
9781
+ "family": "Pirata One",
9782
+ "category": "display",
9783
+ "variants": [
9784
+ "regular"
9785
+ ],
9786
+ "subsets": [
9787
+ "latin",
9788
+ "latin-ext"
9789
+ ],
9790
+ "version": "v4",
9791
+ "lastModified": "2016-04-25",
9792
+ "files": {
9793
+ "regular": "http://fonts.gstatic.com/s/pirataone/v4/WnbD86B4vB2ckYcL7oxuhvesZW2xOQ-xsNqO47m55DA.ttf"
9794
+ }
9795
+ },
9796
+ {
9797
+ "kind": "webfonts#webfont",
9798
+ "family": "Plaster",
9799
+ "category": "display",
9800
+ "variants": [
9801
+ "regular"
9802
+ ],
9803
+ "subsets": [
9804
+ "latin",
9805
+ "latin-ext"
9806
+ ],
9807
+ "version": "v7",
9808
+ "lastModified": "2016-04-25",
9809
+ "files": {
9810
+ "regular": "http://fonts.gstatic.com/s/plaster/v7/O4QG9Z5116CXyfJdR9zxLw.ttf"
9811
+ }
9812
+ },
9813
+ {
9814
+ "kind": "webfonts#webfont",
9815
+ "family": "Play",
9816
+ "category": "sans-serif",
9817
+ "variants": [
9818
+ "regular",
9819
+ "700"
9820
+ ],
9821
+ "subsets": [
9822
+ "latin",
9823
+ "greek",
9824
+ "latin-ext",
9825
+ "cyrillic-ext",
9826
+ "cyrillic"
9827
+ ],
9828
+ "version": "v7",
9829
+ "lastModified": "2016-04-25",
9830
+ "files": {
9831
+ "regular": "http://fonts.gstatic.com/s/play/v7/GWvfObW8LhtsOX333MCpBg.ttf",
9832
+ "700": "http://fonts.gstatic.com/s/play/v7/crPhg6I0alLI-MpB3vW-zw.ttf"
9833
+ }
9834
+ },
9835
+ {
9836
+ "kind": "webfonts#webfont",
9837
+ "family": "Playball",
9838
+ "category": "display",
9839
+ "variants": [
9840
+ "regular"
9841
+ ],
9842
+ "subsets": [
9843
+ "latin",
9844
+ "latin-ext"
9845
+ ],
9846
+ "version": "v6",
9847
+ "lastModified": "2016-04-25",
9848
+ "files": {
9849
+ "regular": "http://fonts.gstatic.com/s/playball/v6/3hOFiQm_EUzycTpcN9uz4w.ttf"
9850
+ }
9851
+ },
9852
+ {
9853
+ "kind": "webfonts#webfont",
9854
+ "family": "Playfair Display",
9855
+ "category": "serif",
9856
+ "variants": [
9857
+ "regular",
9858
+ "italic",
9859
+ "700",
9860
+ "700italic",
9861
+ "900",
9862
+ "900italic"
9863
+ ],
9864
+ "subsets": [
9865
+ "latin",
9866
+ "latin-ext",
9867
+ "cyrillic"
9868
+ ],
9869
+ "version": "v10",
9870
+ "lastModified": "2016-04-25",
9871
+ "files": {
9872
+ "regular": "http://fonts.gstatic.com/s/playfairdisplay/v10/2NBgzUtEeyB-Xtpr9bm1CV6uyC_qD11hrFQ6EGgTJWI.ttf",
9873
+ "italic": "http://fonts.gstatic.com/s/playfairdisplay/v10/9MkijrV-dEJ0-_NWV7E6NzMsbnvDNEBX25F5HWk9AhI.ttf",
9874
+ "700": "http://fonts.gstatic.com/s/playfairdisplay/v10/UC3ZEjagJi85gF9qFaBgICsv6SrURqJprbhH_C1Mw8w.ttf",
9875
+ "700italic": "http://fonts.gstatic.com/s/playfairdisplay/v10/n7G4PqJvFP2Kubl0VBLDECsYW3XoOVcYyYdp9NzzS9E.ttf",
9876
+ "900": "http://fonts.gstatic.com/s/playfairdisplay/v10/UC3ZEjagJi85gF9qFaBgIKqwMe2wjvZrAR44M0BJZ48.ttf",
9877
+ "900italic": "http://fonts.gstatic.com/s/playfairdisplay/v10/n7G4PqJvFP2Kubl0VBLDEC0JfJ4xmm7j1kL6D7mPxrA.ttf"
9878
+ }
9879
+ },
9880
+ {
9881
+ "kind": "webfonts#webfont",
9882
+ "family": "Playfair Display SC",
9883
+ "category": "serif",
9884
+ "variants": [
9885
+ "regular",
9886
+ "italic",
9887
+ "700",
9888
+ "700italic",
9889
+ "900",
9890
+ "900italic"
9891
+ ],
9892
+ "subsets": [
9893
+ "latin",
9894
+ "latin-ext",
9895
+ "cyrillic"
9896
+ ],
9897
+ "version": "v5",
9898
+ "lastModified": "2016-04-25",
9899
+ "files": {
9900
+ "regular": "http://fonts.gstatic.com/s/playfairdisplaysc/v5/G0-tvBxd4eQRdwFKB8dRkcpjYTDWIvcAwAccqeW9uNM.ttf",
9901
+ "italic": "http://fonts.gstatic.com/s/playfairdisplaysc/v5/myuYiFR-4NTrUT4w6TKls2klJsJYggW8rlNoTOTuau0.ttf",
9902
+ "700": "http://fonts.gstatic.com/s/playfairdisplaysc/v5/5ggqGkvWJU_TtW2W8cEubA-Amcyomnuy4WsCiPxGHjw.ttf",
9903
+ "700italic": "http://fonts.gstatic.com/s/playfairdisplaysc/v5/6X0OQrQhEEnPo56RalREX4krgPi80XvBcbTwmz-rgmU.ttf",
9904
+ "900": "http://fonts.gstatic.com/s/playfairdisplaysc/v5/5ggqGkvWJU_TtW2W8cEubKXL3C32k275YmX_AcBPZ7w.ttf",
9905
+ "900italic": "http://fonts.gstatic.com/s/playfairdisplaysc/v5/6X0OQrQhEEnPo56RalREX8Zag2q3ssKz8uH1RU4a9gs.ttf"
9906
+ }
9907
+ },
9908
+ {
9909
+ "kind": "webfonts#webfont",
9910
+ "family": "Podkova",
9911
+ "category": "serif",
9912
+ "variants": [
9913
+ "regular",
9914
+ "700"
9915
+ ],
9916
+ "subsets": [
9917
+ "latin"
9918
+ ],
9919
+ "version": "v8",
9920
+ "lastModified": "2016-04-25",
9921
+ "files": {
9922
+ "regular": "http://fonts.gstatic.com/s/podkova/v8/eylljyGVfB8ZUQjYY3WZRQ.ttf",
9923
+ "700": "http://fonts.gstatic.com/s/podkova/v8/SqW4aa8m_KVrOgYSydQ33vesZW2xOQ-xsNqO47m55DA.ttf"
9924
+ }
9925
+ },
9926
+ {
9927
+ "kind": "webfonts#webfont",
9928
+ "family": "Poiret One",
9929
+ "category": "display",
9930
+ "variants": [
9931
+ "regular"
9932
+ ],
9933
+ "subsets": [
9934
+ "latin",
9935
+ "latin-ext",
9936
+ "cyrillic"
9937
+ ],
9938
+ "version": "v4",
9939
+ "lastModified": "2016-04-25",
9940
+ "files": {
9941
+ "regular": "http://fonts.gstatic.com/s/poiretone/v4/dWcYed048E5gHGDIt8i1CPesZW2xOQ-xsNqO47m55DA.ttf"
9942
+ }
9943
+ },
9944
+ {
9945
+ "kind": "webfonts#webfont",
9946
+ "family": "Poller One",
9947
+ "category": "display",
9948
+ "variants": [
9949
+ "regular"
9950
+ ],
9951
+ "subsets": [
9952
+ "latin"
9953
+ ],
9954
+ "version": "v6",
9955
+ "lastModified": "2016-04-25",
9956
+ "files": {
9957
+ "regular": "http://fonts.gstatic.com/s/pollerone/v6/dkctmDlTPcZ6boC8662RA_esZW2xOQ-xsNqO47m55DA.ttf"
9958
+ }
9959
+ },
9960
+ {
9961
+ "kind": "webfonts#webfont",
9962
+ "family": "Poly",
9963
+ "category": "serif",
9964
+ "variants": [
9965
+ "regular",
9966
+ "italic"
9967
+ ],
9968
+ "subsets": [
9969
+ "latin"
9970
+ ],
9971
+ "version": "v7",
9972
+ "lastModified": "2016-04-25",
9973
+ "files": {
9974
+ "regular": "http://fonts.gstatic.com/s/poly/v7/bcMAuiacS2qkd54BcwW6_Q.ttf",
9975
+ "italic": "http://fonts.gstatic.com/s/poly/v7/Zkx-eIlZSjKUrPGYhV5PeA.ttf"
9976
+ }
9977
+ },
9978
+ {
9979
+ "kind": "webfonts#webfont",
9980
+ "family": "Pompiere",
9981
+ "category": "display",
9982
+ "variants": [
9983
+ "regular"
9984
+ ],
9985
+ "subsets": [
9986
+ "latin"
9987
+ ],
9988
+ "version": "v6",
9989
+ "lastModified": "2016-04-25",
9990
+ "files": {
9991
+ "regular": "http://fonts.gstatic.com/s/pompiere/v6/o_va2p9CD5JfmFohAkGZIA.ttf"
9992
+ }
9993
+ },
9994
+ {
9995
+ "kind": "webfonts#webfont",
9996
+ "family": "Pontano Sans",
9997
+ "category": "sans-serif",
9998
+ "variants": [
9999
+ "regular"
10000
+ ],
10001
+ "subsets": [
10002
+ "latin",
10003
+ "latin-ext"
10004
+ ],
10005
+ "version": "v4",
10006
+ "lastModified": "2016-04-25",
10007
+ "files": {
10008
+ "regular": "http://fonts.gstatic.com/s/pontanosans/v4/gTHiwyxi6S7iiHpqAoiE3C3USBnSvpkopQaUR-2r7iU.ttf"
10009
+ }
10010
+ },
10011
+ {
10012
+ "kind": "webfonts#webfont",
10013
+ "family": "Poppins",
10014
+ "category": "sans-serif",
10015
+ "variants": [
10016
+ "300",
10017
+ "regular",
10018
+ "500",
10019
+ "600",
10020
+ "700"
10021
+ ],
10022
+ "subsets": [
10023
+ "latin",
10024
+ "devanagari",
10025
+ "latin-ext"
10026
+ ],
10027
+ "version": "v1",
10028
+ "lastModified": "2016-04-25",
10029
+ "files": {
10030
+ "300": "http://fonts.gstatic.com/s/poppins/v1/VIeViZ2fPtYBt3B2fQZplvesZW2xOQ-xsNqO47m55DA.ttf",
10031
+ "regular": "http://fonts.gstatic.com/s/poppins/v1/hlvAxH6aIdOjWlLzgm0jqg.ttf",
10032
+ "500": "http://fonts.gstatic.com/s/poppins/v1/4WGKlFyjcmCFVl8pRsgZ9vesZW2xOQ-xsNqO47m55DA.ttf",
10033
+ "600": "http://fonts.gstatic.com/s/poppins/v1/-zOABrCWORC3lyDh-ajNnPesZW2xOQ-xsNqO47m55DA.ttf",
10034
+ "700": "http://fonts.gstatic.com/s/poppins/v1/8JitanEsk5aDh7mDYs-fYfesZW2xOQ-xsNqO47m55DA.ttf"
10035
+ }
10036
+ },
10037
+ {
10038
+ "kind": "webfonts#webfont",
10039
+ "family": "Port Lligat Sans",
10040
+ "category": "sans-serif",
10041
+ "variants": [
10042
+ "regular"
10043
+ ],
10044
+ "subsets": [
10045
+ "latin"
10046
+ ],
10047
+ "version": "v5",
10048
+ "lastModified": "2016-04-25",
10049
+ "files": {
10050
+ "regular": "http://fonts.gstatic.com/s/portlligatsans/v5/CUEdhRk7oC7up0p6t0g4P6mASEpx5X0ZpsuJOuvfOGA.ttf"
10051
+ }
10052
+ },
10053
+ {
10054
+ "kind": "webfonts#webfont",
10055
+ "family": "Port Lligat Slab",
10056
+ "category": "serif",
10057
+ "variants": [
10058
+ "regular"
10059
+ ],
10060
+ "subsets": [
10061
+ "latin"
10062
+ ],
10063
+ "version": "v5",
10064
+ "lastModified": "2016-04-25",
10065
+ "files": {
10066
+ "regular": "http://fonts.gstatic.com/s/portlligatslab/v5/CUEdhRk7oC7up0p6t0g4PxLSPACXvawUYCBEnHsOe30.ttf"
10067
+ }
10068
+ },
10069
+ {
10070
+ "kind": "webfonts#webfont",
10071
+ "family": "Pragati Narrow",
10072
+ "category": "sans-serif",
10073
+ "variants": [
10074
+ "regular",
10075
+ "700"
10076
+ ],
10077
+ "subsets": [
10078
+ "latin",
10079
+ "devanagari",
10080
+ "latin-ext"
10081
+ ],
10082
+ "version": "v2",
10083
+ "lastModified": "2016-04-25",
10084
+ "files": {
10085
+ "regular": "http://fonts.gstatic.com/s/pragatinarrow/v2/HzG2TfC862qPNsZsV_djPpTvAuddT2xDMbdz0mdLyZY.ttf",
10086
+ "700": "http://fonts.gstatic.com/s/pragatinarrow/v2/DnSI1zRkc0CY-hI5SC3q3MLtdzs3iyjn_YuT226ZsLU.ttf"
10087
+ }
10088
+ },
10089
+ {
10090
+ "kind": "webfonts#webfont",
10091
+ "family": "Prata",
10092
+ "category": "serif",
10093
+ "variants": [
10094
+ "regular"
10095
+ ],
10096
+ "subsets": [
10097
+ "latin"
10098
+ ],
10099
+ "version": "v6",
10100
+ "lastModified": "2016-04-25",
10101
+ "files": {
10102
+ "regular": "http://fonts.gstatic.com/s/prata/v6/3gmx8r842loRRm9iQkCDGg.ttf"
10103
+ }
10104
+ },
10105
+ {
10106
+ "kind": "webfonts#webfont",
10107
+ "family": "Preahvihear",
10108
+ "category": "display",
10109
+ "variants": [
10110
+ "regular"
10111
+ ],
10112
+ "subsets": [
10113
+ "khmer"
10114
+ ],
10115
+ "version": "v8",
10116
+ "lastModified": "2016-04-25",
10117
+ "files": {
10118
+ "regular": "http://fonts.gstatic.com/s/preahvihear/v8/82tDI-xTc53CxxOzEG4hDaCWcynf_cDxXwCLxiixG1c.ttf"
10119
+ }
10120
+ },
10121
+ {
10122
+ "kind": "webfonts#webfont",
10123
+ "family": "Press Start 2P",
10124
+ "category": "display",
10125
+ "variants": [
10126
+ "regular"
10127
+ ],
10128
+ "subsets": [
10129
+ "latin",
10130
+ "greek",
10131
+ "latin-ext",
10132
+ "cyrillic"
10133
+ ],
10134
+ "version": "v4",
10135
+ "lastModified": "2016-04-25",
10136
+ "files": {
10137
+ "regular": "http://fonts.gstatic.com/s/pressstart2p/v4/8Lg6LX8-ntOHUQnvQ0E7o1jfl3W46Sz5gOkEVhcFWF4.ttf"
10138
+ }
10139
+ },
10140
+ {
10141
+ "kind": "webfonts#webfont",
10142
+ "family": "Princess Sofia",
10143
+ "category": "handwriting",
10144
+ "variants": [
10145
+ "regular"
10146
+ ],
10147
+ "subsets": [
10148
+ "latin",
10149
+ "latin-ext"
10150
+ ],
10151
+ "version": "v4",
10152
+ "lastModified": "2016-04-25",
10153
+ "files": {
10154
+ "regular": "http://fonts.gstatic.com/s/princesssofia/v4/8g5l8r9BM0t1QsXLTajDe-wjmA7ie-lFcByzHGRhCIg.ttf"
10155
+ }
10156
+ },
10157
+ {
10158
+ "kind": "webfonts#webfont",
10159
+ "family": "Prociono",
10160
+ "category": "serif",
10161
+ "variants": [
10162
+ "regular"
10163
+ ],
10164
+ "subsets": [
10165
+ "latin"
10166
+ ],
10167
+ "version": "v6",
10168
+ "lastModified": "2016-04-25",
10169
+ "files": {
10170
+ "regular": "http://fonts.gstatic.com/s/prociono/v6/43ZYDHWogdFeNBWTl6ksmw.ttf"
10171
+ }
10172
+ },
10173
+ {
10174
+ "kind": "webfonts#webfont",
10175
+ "family": "Prosto One",
10176
+ "category": "display",
10177
+ "variants": [
10178
+ "regular"
10179
+ ],
10180
+ "subsets": [
10181
+ "latin",
10182
+ "latin-ext",
10183
+ "cyrillic"
10184
+ ],
10185
+ "version": "v5",
10186
+ "lastModified": "2016-04-25",
10187
+ "files": {
10188
+ "regular": "http://fonts.gstatic.com/s/prostoone/v5/bsqnAElAqk9kX7eABTRFJPesZW2xOQ-xsNqO47m55DA.ttf"
10189
+ }
10190
+ },
10191
+ {
10192
+ "kind": "webfonts#webfont",
10193
+ "family": "Puritan",
10194
+ "category": "sans-serif",
10195
+ "variants": [
10196
+ "regular",
10197
+ "italic",
10198
+ "700",
10199
+ "700italic"
10200
+ ],
10201
+ "subsets": [
10202
+ "latin"
10203
+ ],
10204
+ "version": "v8",
10205
+ "lastModified": "2016-04-25",
10206
+ "files": {
10207
+ "regular": "http://fonts.gstatic.com/s/puritan/v8/wv_RtgVBSCn-or2MC0n4Kg.ttf",
10208
+ "italic": "http://fonts.gstatic.com/s/puritan/v8/BqZX8Tp200LeMv1KlzXgLQ.ttf",
10209
+ "700": "http://fonts.gstatic.com/s/puritan/v8/pJS2SdwI0SCiVnO0iQSFT_esZW2xOQ-xsNqO47m55DA.ttf",
10210
+ "700italic": "http://fonts.gstatic.com/s/puritan/v8/rFG3XkMJL75nUNZwCEIJqC3USBnSvpkopQaUR-2r7iU.ttf"
10211
+ }
10212
+ },
10213
+ {
10214
+ "kind": "webfonts#webfont",
10215
+ "family": "Purple Purse",
10216
+ "category": "display",
10217
+ "variants": [
10218
+ "regular"
10219
+ ],
10220
+ "subsets": [
10221
+ "latin",
10222
+ "latin-ext"
10223
+ ],
10224
+ "version": "v5",
10225
+ "lastModified": "2016-04-25",
10226
+ "files": {
10227
+ "regular": "http://fonts.gstatic.com/s/purplepurse/v5/Q5heFUrdmei9axbMITxxxS3USBnSvpkopQaUR-2r7iU.ttf"
10228
+ }
10229
+ },
10230
+ {
10231
+ "kind": "webfonts#webfont",
10232
+ "family": "Quando",
10233
+ "category": "serif",
10234
+ "variants": [
10235
+ "regular"
10236
+ ],
10237
+ "subsets": [
10238
+ "latin",
10239
+ "latin-ext"
10240
+ ],
10241
+ "version": "v5",
10242
+ "lastModified": "2016-04-25",
10243
+ "files": {
10244
+ "regular": "http://fonts.gstatic.com/s/quando/v5/03nDiEZuO2-h3xvtG6UmHg.ttf"
10245
+ }
10246
+ },
10247
+ {
10248
+ "kind": "webfonts#webfont",
10249
+ "family": "Quantico",
10250
+ "category": "sans-serif",
10251
+ "variants": [
10252
+ "regular",
10253
+ "italic",
10254
+ "700",
10255
+ "700italic"
10256
+ ],
10257
+ "subsets": [
10258
+ "latin"
10259
+ ],
10260
+ "version": "v5",
10261
+ "lastModified": "2016-04-25",
10262
+ "files": {
10263
+ "regular": "http://fonts.gstatic.com/s/quantico/v5/pwSnP8Xpaix2rIz99HrSlQ.ttf",
10264
+ "italic": "http://fonts.gstatic.com/s/quantico/v5/KQhDd2OsZi6HiITUeFQ2U_esZW2xOQ-xsNqO47m55DA.ttf",
10265
+ "700": "http://fonts.gstatic.com/s/quantico/v5/OVZZzjcZ3Hkq2ojVcUtDjaCWcynf_cDxXwCLxiixG1c.ttf",
10266
+ "700italic": "http://fonts.gstatic.com/s/quantico/v5/HeCYRcZbdRso3ZUu01ELbQJKKGfqHaYFsRG-T3ceEVo.ttf"
10267
+ }
10268
+ },
10269
+ {
10270
+ "kind": "webfonts#webfont",
10271
+ "family": "Quattrocento",
10272
+ "category": "serif",
10273
+ "variants": [
10274
+ "regular",
10275
+ "700"
10276
+ ],
10277
+ "subsets": [
10278
+ "latin",
10279
+ "latin-ext"
10280
+ ],
10281
+ "version": "v7",
10282
+ "lastModified": "2016-04-25",
10283
+ "files": {
10284
+ "regular": "http://fonts.gstatic.com/s/quattrocento/v7/WZDISdyil4HsmirlOdBRFC3USBnSvpkopQaUR-2r7iU.ttf",
10285
+ "700": "http://fonts.gstatic.com/s/quattrocento/v7/Uvi-cRwyvqFpl9j3oT2mqkD2ttfZwueP-QU272T9-k4.ttf"
10286
+ }
10287
+ },
10288
+ {
10289
+ "kind": "webfonts#webfont",
10290
+ "family": "Quattrocento Sans",
10291
+ "category": "sans-serif",
10292
+ "variants": [
10293
+ "regular",
10294
+ "italic",
10295
+ "700",
10296
+ "700italic"
10297
+ ],
10298
+ "subsets": [
10299
+ "latin",
10300
+ "latin-ext"
10301
+ ],
10302
+ "version": "v8",
10303
+ "lastModified": "2016-04-25",
10304
+ "files": {
10305
+ "regular": "http://fonts.gstatic.com/s/quattrocentosans/v8/efd6FGWWGX5Z3ztwLBrG9eAj_ty82iuwwDTNEYXGiyQ.ttf",
10306
+ "italic": "http://fonts.gstatic.com/s/quattrocentosans/v8/8PXYbvM__bjl0rBnKiByg532VBCoA_HLsn85tSWZmdo.ttf",
10307
+ "700": "http://fonts.gstatic.com/s/quattrocentosans/v8/tXSgPxDl7Lk8Zr_5qX8FIbqxG25nQNOioCZSK4sU-CA.ttf",
10308
+ "700italic": "http://fonts.gstatic.com/s/quattrocentosans/v8/8N1PdXpbG6RtFvTjl-5E7buqAJxizi8Dk_SK5et7kMg.ttf"
10309
+ }
10310
+ },
10311
+ {
10312
+ "kind": "webfonts#webfont",
10313
+ "family": "Questrial",
10314
+ "category": "sans-serif",
10315
+ "variants": [
10316
+ "regular"
10317
+ ],
10318
+ "subsets": [
10319
+ "latin"
10320
+ ],
10321
+ "version": "v6",
10322
+ "lastModified": "2016-04-25",
10323
+ "files": {
10324
+ "regular": "http://fonts.gstatic.com/s/questrial/v6/MoHHaw_WwNs_hd9ob1zTVw.ttf"
10325
+ }
10326
+ },
10327
+ {
10328
+ "kind": "webfonts#webfont",
10329
+ "family": "Quicksand",
10330
+ "category": "sans-serif",
10331
+ "variants": [
10332
+ "300",
10333
+ "regular",
10334
+ "700"
10335
+ ],
10336
+ "subsets": [
10337
+ "latin"
10338
+ ],
10339
+ "version": "v5",
10340
+ "lastModified": "2016-04-25",
10341
+ "files": {
10342
+ "300": "http://fonts.gstatic.com/s/quicksand/v5/qhfoJiLu10kFjChCCTvGlC3USBnSvpkopQaUR-2r7iU.ttf",
10343
+ "regular": "http://fonts.gstatic.com/s/quicksand/v5/Ngv3fIJjKB7sD-bTUGIFCA.ttf",
10344
+ "700": "http://fonts.gstatic.com/s/quicksand/v5/32nyIRHyCu6iqEka_hbKsi3USBnSvpkopQaUR-2r7iU.ttf"
10345
+ }
10346
+ },
10347
+ {
10348
+ "kind": "webfonts#webfont",
10349
+ "family": "Quintessential",
10350
+ "category": "handwriting",
10351
+ "variants": [
10352
+ "regular"
10353
+ ],
10354
+ "subsets": [
10355
+ "latin",
10356
+ "latin-ext"
10357
+ ],
10358
+ "version": "v4",
10359
+ "lastModified": "2016-04-25",
10360
+ "files": {
10361
+ "regular": "http://fonts.gstatic.com/s/quintessential/v4/mmk6ioesnTrEky_Zb92E5s02lXbtMOtZWfuxKeMZO8Q.ttf"
10362
+ }
10363
+ },
10364
+ {
10365
+ "kind": "webfonts#webfont",
10366
+ "family": "Qwigley",
10367
+ "category": "handwriting",
10368
+ "variants": [
10369
+ "regular"
10370
+ ],
10371
+ "subsets": [
10372
+ "latin",
10373
+ "latin-ext"
10374
+ ],
10375
+ "version": "v6",
10376
+ "lastModified": "2016-04-25",
10377
+ "files": {
10378
+ "regular": "http://fonts.gstatic.com/s/qwigley/v6/aDqxws-KubFID85TZHFouw.ttf"
10379
+ }
10380
+ },
10381
+ {
10382
+ "kind": "webfonts#webfont",
10383
+ "family": "Racing Sans One",
10384
+ "category": "display",
10385
+ "variants": [
10386
+ "regular"
10387
+ ],
10388
+ "subsets": [
10389
+ "latin",
10390
+ "latin-ext"
10391
+ ],
10392
+ "version": "v4",
10393
+ "lastModified": "2016-04-25",
10394
+ "files": {
10395
+ "regular": "http://fonts.gstatic.com/s/racingsansone/v4/1r3DpWaCiT7y3PD4KgkNyDjVlsJB_M_Q_LtZxsoxvlw.ttf"
10396
+ }
10397
+ },
10398
+ {
10399
+ "kind": "webfonts#webfont",
10400
+ "family": "Radley",
10401
+ "category": "serif",
10402
+ "variants": [
10403
+ "regular",
10404
+ "italic"
10405
+ ],
10406
+ "subsets": [
10407
+ "latin",
10408
+ "latin-ext"
10409
+ ],
10410
+ "version": "v9",
10411
+ "lastModified": "2016-04-25",
10412
+ "files": {
10413
+ "regular": "http://fonts.gstatic.com/s/radley/v9/FgE9di09a-mXGzAIyI6Q9Q.ttf",
10414
+ "italic": "http://fonts.gstatic.com/s/radley/v9/Z_JcACuPAOO2f9kzQcGRug.ttf"
10415
+ }
10416
+ },
10417
+ {
10418
+ "kind": "webfonts#webfont",
10419
+ "family": "Rajdhani",
10420
+ "category": "sans-serif",
10421
+ "variants": [
10422
+ "300",
10423
+ "regular",
10424
+ "500",
10425
+ "600",
10426
+ "700"
10427
+ ],
10428
+ "subsets": [
10429
+ "latin",
10430
+ "devanagari",
10431
+ "latin-ext"
10432
+ ],
10433
+ "version": "v5",
10434
+ "lastModified": "2016-04-25",
10435
+ "files": {
10436
+ "300": "http://fonts.gstatic.com/s/rajdhani/v5/9pItuEhQZVGdq8spnHTku6CWcynf_cDxXwCLxiixG1c.ttf",
10437
+ "regular": "http://fonts.gstatic.com/s/rajdhani/v5/Wfy5zp4PGFAFS7-Wetehzw.ttf",
10438
+ "500": "http://fonts.gstatic.com/s/rajdhani/v5/nd_5ZpVwm710HcLual0fBqCWcynf_cDxXwCLxiixG1c.ttf",
10439
+ "600": "http://fonts.gstatic.com/s/rajdhani/v5/5fnmZahByDeTtgxIiqbJSaCWcynf_cDxXwCLxiixG1c.ttf",
10440
+ "700": "http://fonts.gstatic.com/s/rajdhani/v5/UBK6d2Hg7X7wYLlF92aXW6CWcynf_cDxXwCLxiixG1c.ttf"
10441
+ }
10442
+ },
10443
+ {
10444
+ "kind": "webfonts#webfont",
10445
+ "family": "Raleway",
10446
+ "category": "sans-serif",
10447
+ "variants": [
10448
+ "100",
10449
+ "100italic",
10450
+ "200",
10451
+ "200italic",
10452
+ "300",
10453
+ "300italic",
10454
+ "regular",
10455
+ "italic",
10456
+ "500",
10457
+ "500italic",
10458
+ "600",
10459
+ "600italic",
10460
+ "700",
10461
+ "700italic",
10462
+ "800",
10463
+ "800italic",
10464
+ "900",
10465
+ "900italic"
10466
+ ],
10467
+ "subsets": [
10468
+ "latin",
10469
+ "latin-ext"
10470
+ ],
10471
+ "version": "v10",
10472
+ "lastModified": "2016-04-25",
10473
+ "files": {
10474
+ "100": "http://fonts.gstatic.com/s/raleway/v10/UDfD6oxBaBnmFJwQ7XAFNw.ttf",
10475
+ "100italic": "http://fonts.gstatic.com/s/raleway/v10/hUpHtml6IPNuUR-FwVi2UKCWcynf_cDxXwCLxiixG1c.ttf",
10476
+ "200": "http://fonts.gstatic.com/s/raleway/v10/LAQwev4hdCtYkOYX4Oc7nPesZW2xOQ-xsNqO47m55DA.ttf",
10477
+ "200italic": "http://fonts.gstatic.com/s/raleway/v10/N2DIbZG4399cPGfifZUEQi3USBnSvpkopQaUR-2r7iU.ttf",
10478
+ "300": "http://fonts.gstatic.com/s/raleway/v10/2VvSZU2kb4DZwFfRM4fLQPesZW2xOQ-xsNqO47m55DA.ttf",
10479
+ "300italic": "http://fonts.gstatic.com/s/raleway/v10/TVSB8ogXDKMcnAAJ5CqrUi3USBnSvpkopQaUR-2r7iU.ttf",
10480
+ "regular": "http://fonts.gstatic.com/s/raleway/v10/_dCzxpXzIS3sL-gdJWAP8A.ttf",
10481
+ "italic": "http://fonts.gstatic.com/s/raleway/v10/utU2m1gdZSfuQpArSy5Dbw.ttf",
10482
+ "500": "http://fonts.gstatic.com/s/raleway/v10/348gn6PEmbLDWlHbbV15d_esZW2xOQ-xsNqO47m55DA.ttf",
10483
+ "500italic": "http://fonts.gstatic.com/s/raleway/v10/S7vGLZZ40c85SJgiptJGVy3USBnSvpkopQaUR-2r7iU.ttf",
10484
+ "600": "http://fonts.gstatic.com/s/raleway/v10/M7no6oPkwKYJkedjB1wqEvesZW2xOQ-xsNqO47m55DA.ttf",
10485
+ "600italic": "http://fonts.gstatic.com/s/raleway/v10/OY22yoG8EJ3IN_muVWm29C3USBnSvpkopQaUR-2r7iU.ttf",
10486
+ "700": "http://fonts.gstatic.com/s/raleway/v10/VGEV9-DrblisWOWLbK-1XPesZW2xOQ-xsNqO47m55DA.ttf",
10487
+ "700italic": "http://fonts.gstatic.com/s/raleway/v10/lFxvRPuGFG5ktd7P0WRwKi3USBnSvpkopQaUR-2r7iU.ttf",
10488
+ "800": "http://fonts.gstatic.com/s/raleway/v10/mMh0JrsYMXcLO69jgJwpUvesZW2xOQ-xsNqO47m55DA.ttf",
10489
+ "800italic": "http://fonts.gstatic.com/s/raleway/v10/us4LjTCmlYgh3W8CKujEJi3USBnSvpkopQaUR-2r7iU.ttf",
10490
+ "900": "http://fonts.gstatic.com/s/raleway/v10/ajQQGcDBLcyLpaUfD76UuPesZW2xOQ-xsNqO47m55DA.ttf",
10491
+ "900italic": "http://fonts.gstatic.com/s/raleway/v10/oY2RadnkHfshu5f0FLsgVS3USBnSvpkopQaUR-2r7iU.ttf"
10492
+ }
10493
+ },
10494
+ {
10495
+ "kind": "webfonts#webfont",
10496
+ "family": "Raleway Dots",
10497
+ "category": "display",
10498
+ "variants": [
10499
+ "regular"
10500
+ ],
10501
+ "subsets": [
10502
+ "latin",
10503
+ "latin-ext"
10504
+ ],
10505
+ "version": "v4",
10506
+ "lastModified": "2016-04-25",
10507
+ "files": {
10508
+ "regular": "http://fonts.gstatic.com/s/ralewaydots/v4/lhLgmWCRcyz-QXo8LCzTfC3USBnSvpkopQaUR-2r7iU.ttf"
10509
+ }
10510
+ },
10511
+ {
10512
+ "kind": "webfonts#webfont",
10513
+ "family": "Ramabhadra",
10514
+ "category": "sans-serif",
10515
+ "variants": [
10516
+ "regular"
10517
+ ],
10518
+ "subsets": [
10519
+ "latin",
10520
+ "telugu"
10521
+ ],
10522
+ "version": "v5",
10523
+ "lastModified": "2016-04-25",
10524
+ "files": {
10525
+ "regular": "http://fonts.gstatic.com/s/ramabhadra/v5/JyhxLXRVQChLDGADS_c5MPesZW2xOQ-xsNqO47m55DA.ttf"
10526
+ }
10527
+ },
10528
+ {
10529
+ "kind": "webfonts#webfont",
10530
+ "family": "Ramaraja",
10531
+ "category": "serif",
10532
+ "variants": [
10533
+ "regular"
10534
+ ],
10535
+ "subsets": [
10536
+ "latin",
10537
+ "telugu"
10538
+ ],
10539
+ "version": "v1",
10540
+ "lastModified": "2016-04-25",
10541
+ "files": {
10542
+ "regular": "http://fonts.gstatic.com/s/ramaraja/v1/XIqzxFapVczstBedHdQTiw.ttf"
10543
+ }
10544
+ },
10545
+ {
10546
+ "kind": "webfonts#webfont",
10547
+ "family": "Rambla",
10548
+ "category": "sans-serif",
10549
+ "variants": [
10550
+ "regular",
10551
+ "italic",
10552
+ "700",
10553
+ "700italic"
10554
+ ],
10555
+ "subsets": [
10556
+ "latin",
10557
+ "latin-ext"
10558
+ ],
10559
+ "version": "v4",
10560
+ "lastModified": "2016-04-25",
10561
+ "files": {
10562
+ "regular": "http://fonts.gstatic.com/s/rambla/v4/YaTmpvm5gFg_ShJKTQmdzg.ttf",
10563
+ "italic": "http://fonts.gstatic.com/s/rambla/v4/mhUgsKmp0qw3uATdDDAuwA.ttf",
10564
+ "700": "http://fonts.gstatic.com/s/rambla/v4/C5VZH8BxQKmnBuoC00UPpw.ttf",
10565
+ "700italic": "http://fonts.gstatic.com/s/rambla/v4/ziMzUZya6QahrKONSI1TzqCWcynf_cDxXwCLxiixG1c.ttf"
10566
+ }
10567
+ },
10568
+ {
10569
+ "kind": "webfonts#webfont",
10570
+ "family": "Rammetto One",
10571
+ "category": "display",
10572
+ "variants": [
10573
+ "regular"
10574
+ ],
10575
+ "subsets": [
10576
+ "latin",
10577
+ "latin-ext"
10578
+ ],
10579
+ "version": "v5",
10580
+ "lastModified": "2016-04-25",
10581
+ "files": {
10582
+ "regular": "http://fonts.gstatic.com/s/rammettoone/v5/mh0uQ1tV8QgSx9v_KyEYPC3USBnSvpkopQaUR-2r7iU.ttf"
10583
+ }
10584
+ },
10585
+ {
10586
+ "kind": "webfonts#webfont",
10587
+ "family": "Ranchers",
10588
+ "category": "display",
10589
+ "variants": [
10590
+ "regular"
10591
+ ],
10592
+ "subsets": [
10593
+ "latin",
10594
+ "latin-ext"
10595
+ ],
10596
+ "version": "v4",
10597
+ "lastModified": "2016-04-25",
10598
+ "files": {
10599
+ "regular": "http://fonts.gstatic.com/s/ranchers/v4/9ya8CZYhqT66VERfjQ7eLA.ttf"
10600
+ }
10601
+ },
10602
+ {
10603
+ "kind": "webfonts#webfont",
10604
+ "family": "Rancho",
10605
+ "category": "handwriting",
10606
+ "variants": [
10607
+ "regular"
10608
+ ],
10609
+ "subsets": [
10610
+ "latin"
10611
+ ],
10612
+ "version": "v6",
10613
+ "lastModified": "2016-04-25",
10614
+ "files": {
10615
+ "regular": "http://fonts.gstatic.com/s/rancho/v6/ekp3-4QykC4--6KaslRgHA.ttf"
10616
+ }
10617
+ },
10618
+ {
10619
+ "kind": "webfonts#webfont",
10620
+ "family": "Ranga",
10621
+ "category": "display",
10622
+ "variants": [
10623
+ "regular",
10624
+ "700"
10625
+ ],
10626
+ "subsets": [
10627
+ "latin",
10628
+ "devanagari",
10629
+ "latin-ext"
10630
+ ],
10631
+ "version": "v1",
10632
+ "lastModified": "2016-04-25",
10633
+ "files": {
10634
+ "regular": "http://fonts.gstatic.com/s/ranga/v1/xpW6zFTNzY1JykoBIqE1Zg.ttf",
10635
+ "700": "http://fonts.gstatic.com/s/ranga/v1/h8G_gEUH7vHKH-NkjAs34A.ttf"
10636
+ }
10637
+ },
10638
+ {
10639
+ "kind": "webfonts#webfont",
10640
+ "family": "Rationale",
10641
+ "category": "sans-serif",
10642
+ "variants": [
10643
+ "regular"
10644
+ ],
10645
+ "subsets": [
10646
+ "latin"
10647
+ ],
10648
+ "version": "v7",
10649
+ "lastModified": "2016-04-25",
10650
+ "files": {
10651
+ "regular": "http://fonts.gstatic.com/s/rationale/v7/7M2eN-di0NGLQse7HzJRfg.ttf"
10652
+ }
10653
+ },
10654
+ {
10655
+ "kind": "webfonts#webfont",
10656
+ "family": "Ravi Prakash",
10657
+ "category": "display",
10658
+ "variants": [
10659
+ "regular"
10660
+ ],
10661
+ "subsets": [
10662
+ "latin",
10663
+ "telugu"
10664
+ ],
10665
+ "version": "v3",
10666
+ "lastModified": "2016-04-25",
10667
+ "files": {
10668
+ "regular": "http://fonts.gstatic.com/s/raviprakash/v3/8EzbM7Rymjk25jWeHxbO6C3USBnSvpkopQaUR-2r7iU.ttf"
10669
+ }
10670
+ },
10671
+ {
10672
+ "kind": "webfonts#webfont",
10673
+ "family": "Redressed",
10674
+ "category": "handwriting",
10675
+ "variants": [
10676
+ "regular"
10677
+ ],
10678
+ "subsets": [
10679
+ "latin"
10680
+ ],
10681
+ "version": "v6",
10682
+ "lastModified": "2016-04-25",
10683
+ "files": {
10684
+ "regular": "http://fonts.gstatic.com/s/redressed/v6/3aZ5sTBppH3oSm5SabegtA.ttf"
10685
+ }
10686
+ },
10687
+ {
10688
+ "kind": "webfonts#webfont",
10689
+ "family": "Reenie Beanie",
10690
+ "category": "handwriting",
10691
+ "variants": [
10692
+ "regular"
10693
+ ],
10694
+ "subsets": [
10695
+ "latin"
10696
+ ],
10697
+ "version": "v7",
10698
+ "lastModified": "2016-04-25",
10699
+ "files": {
10700
+ "regular": "http://fonts.gstatic.com/s/reeniebeanie/v7/ljpKc6CdXusL1cnGUSamX4jjx0o0jr6fNXxPgYh_a8Q.ttf"
10701
+ }
10702
+ },
10703
+ {
10704
+ "kind": "webfonts#webfont",
10705
+ "family": "Revalia",
10706
+ "category": "display",
10707
+ "variants": [
10708
+ "regular"
10709
+ ],
10710
+ "subsets": [
10711
+ "latin",
10712
+ "latin-ext"
10713
+ ],
10714
+ "version": "v4",
10715
+ "lastModified": "2016-04-25",
10716
+ "files": {
10717
+ "regular": "http://fonts.gstatic.com/s/revalia/v4/1TKw66fF5_poiL0Ktgo4_A.ttf"
10718
+ }
10719
+ },
10720
+ {
10721
+ "kind": "webfonts#webfont",
10722
+ "family": "Rhodium Libre",
10723
+ "category": "serif",
10724
+ "variants": [
10725
+ "regular"
10726
+ ],
10727
+ "subsets": [
10728
+ "latin",
10729
+ "devanagari",
10730
+ "latin-ext"
10731
+ ],
10732
+ "version": "v1",
10733
+ "lastModified": "2016-04-25",
10734
+ "files": {
10735
+ "regular": "http://fonts.gstatic.com/s/rhodiumlibre/v1/Vxr7A4-xE2zsBDDI8BcseIjjx0o0jr6fNXxPgYh_a8Q.ttf"
10736
+ }
10737
+ },
10738
+ {
10739
+ "kind": "webfonts#webfont",
10740
+ "family": "Ribeye",
10741
+ "category": "display",
10742
+ "variants": [
10743
+ "regular"
10744
+ ],
10745
+ "subsets": [
10746
+ "latin",
10747
+ "latin-ext"
10748
+ ],
10749
+ "version": "v5",
10750
+ "lastModified": "2016-04-25",
10751
+ "files": {
10752
+ "regular": "http://fonts.gstatic.com/s/ribeye/v5/e5w3VE8HnWBln4Ll6lUj3Q.ttf"
10753
+ }
10754
+ },
10755
+ {
10756
+ "kind": "webfonts#webfont",
10757
+ "family": "Ribeye Marrow",
10758
+ "category": "display",
10759
+ "variants": [
10760
+ "regular"
10761
+ ],
10762
+ "subsets": [
10763
+ "latin",
10764
+ "latin-ext"
10765
+ ],
10766
+ "version": "v6",
10767
+ "lastModified": "2016-04-25",
10768
+ "files": {
10769
+ "regular": "http://fonts.gstatic.com/s/ribeyemarrow/v6/q7cBSA-4ErAXBCDFPrhlY0cTNmV93fYG7UKgsLQNQWs.ttf"
10770
+ }
10771
+ },
10772
+ {
10773
+ "kind": "webfonts#webfont",
10774
+ "family": "Righteous",
10775
+ "category": "display",
10776
+ "variants": [
10777
+ "regular"
10778
+ ],
10779
+ "subsets": [
10780
+ "latin",
10781
+ "latin-ext"
10782
+ ],
10783
+ "version": "v5",
10784
+ "lastModified": "2016-04-25",
10785
+ "files": {
10786
+ "regular": "http://fonts.gstatic.com/s/righteous/v5/0nRRWM_gCGCt2S-BCfN8WQ.ttf"
10787
+ }
10788
+ },
10789
+ {
10790
+ "kind": "webfonts#webfont",
10791
+ "family": "Risque",
10792
+ "category": "display",
10793
+ "variants": [
10794
+ "regular"
10795
+ ],
10796
+ "subsets": [
10797
+ "latin",
10798
+ "latin-ext"
10799
+ ],
10800
+ "version": "v4",
10801
+ "lastModified": "2016-04-25",
10802
+ "files": {
10803
+ "regular": "http://fonts.gstatic.com/s/risque/v4/92RnElGnl8yHP97-KV3Fyg.ttf"
10804
+ }
10805
+ },
10806
+ {
10807
+ "kind": "webfonts#webfont",
10808
+ "family": "Roboto",
10809
+ "category": "sans-serif",
10810
+ "variants": [
10811
+ "100",
10812
+ "100italic",
10813
+ "300",
10814
+ "300italic",
10815
+ "regular",
10816
+ "italic",
10817
+ "500",
10818
+ "500italic",
10819
+ "700",
10820
+ "700italic",
10821
+ "900",
10822
+ "900italic"
10823
+ ],
10824
+ "subsets": [
10825
+ "latin",
10826
+ "greek",
10827
+ "latin-ext",
10828
+ "cyrillic-ext",
10829
+ "greek-ext",
10830
+ "vietnamese",
10831
+ "cyrillic"
10832
+ ],
10833
+ "version": "v15",
10834
+ "lastModified": "2016-04-25",
10835
+ "files": {
10836
+ "100": "http://fonts.gstatic.com/s/roboto/v15/7MygqTe2zs9YkP0adA9QQQ.ttf",
10837
+ "100italic": "http://fonts.gstatic.com/s/roboto/v15/T1xnudodhcgwXCmZQ490TPesZW2xOQ-xsNqO47m55DA.ttf",
10838
+ "300": "http://fonts.gstatic.com/s/roboto/v15/dtpHsbgPEm2lVWciJZ0P-A.ttf",
10839
+ "300italic": "http://fonts.gstatic.com/s/roboto/v15/iE8HhaRzdhPxC93dOdA056CWcynf_cDxXwCLxiixG1c.ttf",
10840
+ "regular": "http://fonts.gstatic.com/s/roboto/v15/W5F8_SL0XFawnjxHGsZjJA.ttf",
10841
+ "italic": "http://fonts.gstatic.com/s/roboto/v15/hcKoSgxdnKlbH5dlTwKbow.ttf",
10842
+ "500": "http://fonts.gstatic.com/s/roboto/v15/Uxzkqj-MIMWle-XP2pDNAA.ttf",
10843
+ "500italic": "http://fonts.gstatic.com/s/roboto/v15/daIfzbEw-lbjMyv4rMUUTqCWcynf_cDxXwCLxiixG1c.ttf",
10844
+ "700": "http://fonts.gstatic.com/s/roboto/v15/bdHGHleUa-ndQCOrdpfxfw.ttf",
10845
+ "700italic": "http://fonts.gstatic.com/s/roboto/v15/owYYXKukxFDFjr0ZO8NXh6CWcynf_cDxXwCLxiixG1c.ttf",
10846
+ "900": "http://fonts.gstatic.com/s/roboto/v15/H1vB34nOKWXqzKotq25pcg.ttf",
10847
+ "900italic": "http://fonts.gstatic.com/s/roboto/v15/b9PWBSMHrT2zM5FgUdtu0aCWcynf_cDxXwCLxiixG1c.ttf"
10848
+ }
10849
+ },
10850
+ {
10851
+ "kind": "webfonts#webfont",
10852
+ "family": "Roboto Condensed",
10853
+ "category": "sans-serif",
10854
+ "variants": [
10855
+ "300",
10856
+ "300italic",
10857
+ "regular",
10858
+ "italic",
10859
+ "700",
10860
+ "700italic"
10861
+ ],
10862
+ "subsets": [
10863
+ "latin",
10864
+ "greek",
10865
+ "latin-ext",
10866
+ "cyrillic-ext",
10867
+ "greek-ext",
10868
+ "vietnamese",
10869
+ "cyrillic"
10870
+ ],
10871
+ "version": "v13",
10872
+ "lastModified": "2016-04-25",
10873
+ "files": {
10874
+ "300": "http://fonts.gstatic.com/s/robotocondensed/v13/b9QBgL0iMZfDSpmcXcE8nJRhFVcex_hajThhFkHyhYk.ttf",
10875
+ "300italic": "http://fonts.gstatic.com/s/robotocondensed/v13/mg0cGfGRUERshzBlvqxeAPYa9bgCHecWXGgisnodcS0.ttf",
10876
+ "regular": "http://fonts.gstatic.com/s/robotocondensed/v13/Zd2E9abXLFGSr9G3YK2MsKDbm6fPDOZJsR8PmdG62gY.ttf",
10877
+ "italic": "http://fonts.gstatic.com/s/robotocondensed/v13/BP5K8ZAJv9qEbmuFp8RpJY_eiqgTfYGaH0bJiUDZ5GA.ttf",
10878
+ "700": "http://fonts.gstatic.com/s/robotocondensed/v13/b9QBgL0iMZfDSpmcXcE8nPOYkGiSOYDq_T7HbIOV1hA.ttf",
10879
+ "700italic": "http://fonts.gstatic.com/s/robotocondensed/v13/mg0cGfGRUERshzBlvqxeAE2zk2RGRC3SlyyLLQfjS_8.ttf"
10880
+ }
10881
+ },
10882
+ {
10883
+ "kind": "webfonts#webfont",
10884
+ "family": "Roboto Mono",
10885
+ "category": "monospace",
10886
+ "variants": [
10887
+ "100",
10888
+ "100italic",
10889
+ "300",
10890
+ "300italic",
10891
+ "regular",
10892
+ "italic",
10893
+ "500",
10894
+ "500italic",
10895
+ "700",
10896
+ "700italic"
10897
+ ],
10898
+ "subsets": [
10899
+ "latin",
10900
+ "greek",
10901
+ "latin-ext",
10902
+ "cyrillic-ext",
10903
+ "greek-ext",
10904
+ "vietnamese",
10905
+ "cyrillic"
10906
+ ],
10907
+ "version": "v4",
10908
+ "lastModified": "2016-04-25",
10909
+ "files": {
10910
+ "100": "http://fonts.gstatic.com/s/robotomono/v4/aOIeRp72J9_Hp_8KwQ9M-YAWxXGWZ3yJw6KhWS7MxOk.ttf",
10911
+ "100italic": "http://fonts.gstatic.com/s/robotomono/v4/rqQ1zSE-ZGCKVZgew-A9dgyDtfpXZi-8rXUZYR4dumU.ttf",
10912
+ "300": "http://fonts.gstatic.com/s/robotomono/v4/N4duVc9C58uwPiY8_59Fzy9-WlPSxbfiI49GsXo3q0g.ttf",
10913
+ "300italic": "http://fonts.gstatic.com/s/robotomono/v4/1OsMuiiO6FCF2x67vzDKA2o9eWDfYYxG3A176Zl7aIg.ttf",
10914
+ "regular": "http://fonts.gstatic.com/s/robotomono/v4/eJ4cxQe85Lo39t-LVoKa26CWcynf_cDxXwCLxiixG1c.ttf",
10915
+ "italic": "http://fonts.gstatic.com/s/robotomono/v4/mE0EPT_93c7f86_WQexR3EeOrDcLawS7-ssYqLr2Xp4.ttf",
10916
+ "500": "http://fonts.gstatic.com/s/robotomono/v4/N4duVc9C58uwPiY8_59Fz8CNfqCYlB_eIx7H1TVXe60.ttf",
10917
+ "500italic": "http://fonts.gstatic.com/s/robotomono/v4/1OsMuiiO6FCF2x67vzDKA2nWRcJAYo5PSCx8UfGMHCI.ttf",
10918
+ "700": "http://fonts.gstatic.com/s/robotomono/v4/N4duVc9C58uwPiY8_59Fz3e1Pd76Vl7zRpE7NLJQ7XU.ttf",
10919
+ "700italic": "http://fonts.gstatic.com/s/robotomono/v4/1OsMuiiO6FCF2x67vzDKA8_zJjSACmk0BRPxQqhnNLU.ttf"
10920
+ }
10921
+ },
10922
+ {
10923
+ "kind": "webfonts#webfont",
10924
+ "family": "Roboto Slab",
10925
+ "category": "serif",
10926
+ "variants": [
10927
+ "100",
10928
+ "300",
10929
+ "regular",
10930
+ "700"
10931
+ ],
10932
+ "subsets": [
10933
+ "latin",
10934
+ "greek",
10935
+ "latin-ext",
10936
+ "cyrillic-ext",
10937
+ "greek-ext",
10938
+ "vietnamese",
10939
+ "cyrillic"
10940
+ ],
10941
+ "version": "v6",
10942
+ "lastModified": "2016-04-25",
10943
+ "files": {
10944
+ "100": "http://fonts.gstatic.com/s/robotoslab/v6/MEz38VLIFL-t46JUtkIEgIAWxXGWZ3yJw6KhWS7MxOk.ttf",
10945
+ "300": "http://fonts.gstatic.com/s/robotoslab/v6/dazS1PrQQuCxC3iOAJFEJS9-WlPSxbfiI49GsXo3q0g.ttf",
10946
+ "regular": "http://fonts.gstatic.com/s/robotoslab/v6/3__ulTNA7unv0UtplybPiqCWcynf_cDxXwCLxiixG1c.ttf",
10947
+ "700": "http://fonts.gstatic.com/s/robotoslab/v6/dazS1PrQQuCxC3iOAJFEJXe1Pd76Vl7zRpE7NLJQ7XU.ttf"
10948
+ }
10949
+ },
10950
+ {
10951
+ "kind": "webfonts#webfont",
10952
+ "family": "Rochester",
10953
+ "category": "handwriting",
10954
+ "variants": [
10955
+ "regular"
10956
+ ],
10957
+ "subsets": [
10958
+ "latin"
10959
+ ],
10960
+ "version": "v6",
10961
+ "lastModified": "2016-04-25",
10962
+ "files": {
10963
+ "regular": "http://fonts.gstatic.com/s/rochester/v6/bnj8tmQBiOkdji_G_yvypg.ttf"
10964
+ }
10965
+ },
10966
+ {
10967
+ "kind": "webfonts#webfont",
10968
+ "family": "Rock Salt",
10969
+ "category": "handwriting",
10970
+ "variants": [
10971
+ "regular"
10972
+ ],
10973
+ "subsets": [
10974
+ "latin"
10975
+ ],
10976
+ "version": "v6",
10977
+ "lastModified": "2016-04-25",
10978
+ "files": {
10979
+ "regular": "http://fonts.gstatic.com/s/rocksalt/v6/Zy7JF9h9WbhD9V3SFMQ1UQ.ttf"
10980
+ }
10981
+ },
10982
+ {
10983
+ "kind": "webfonts#webfont",
10984
+ "family": "Rokkitt",
10985
+ "category": "serif",
10986
+ "variants": [
10987
+ "regular",
10988
+ "700"
10989
+ ],
10990
+ "subsets": [
10991
+ "latin"
10992
+ ],
10993
+ "version": "v10",
10994
+ "lastModified": "2016-04-25",
10995
+ "files": {
10996
+ "regular": "http://fonts.gstatic.com/s/rokkitt/v10/GMA7Z_ToF8uSvpZAgnp_VQ.ttf",
10997
+ "700": "http://fonts.gstatic.com/s/rokkitt/v10/gxlo-sr3rPmvgSixYog_ofesZW2xOQ-xsNqO47m55DA.ttf"
10998
+ }
10999
+ },
11000
+ {
11001
+ "kind": "webfonts#webfont",
11002
+ "family": "Romanesco",
11003
+ "category": "handwriting",
11004
+ "variants": [
11005
+ "regular"
11006
+ ],
11007
+ "subsets": [
11008
+ "latin",
11009
+ "latin-ext"
11010
+ ],
11011
+ "version": "v5",
11012
+ "lastModified": "2016-04-25",
11013
+ "files": {
11014
+ "regular": "http://fonts.gstatic.com/s/romanesco/v5/2udIjUrpK_CPzYSxRVzD4Q.ttf"
11015
+ }
11016
+ },
11017
+ {
11018
+ "kind": "webfonts#webfont",
11019
+ "family": "Ropa Sans",
11020
+ "category": "sans-serif",
11021
+ "variants": [
11022
+ "regular",
11023
+ "italic"
11024
+ ],
11025
+ "subsets": [
11026
+ "latin",
11027
+ "latin-ext"
11028
+ ],
11029
+ "version": "v5",
11030
+ "lastModified": "2016-04-25",
11031
+ "files": {
11032
+ "regular": "http://fonts.gstatic.com/s/ropasans/v5/Gba7ZzVBuhg6nX_AoSwlkQ.ttf",
11033
+ "italic": "http://fonts.gstatic.com/s/ropasans/v5/V1zbhZQscNrh63dy5Jk2nqCWcynf_cDxXwCLxiixG1c.ttf"
11034
+ }
11035
+ },
11036
+ {
11037
+ "kind": "webfonts#webfont",
11038
+ "family": "Rosario",
11039
+ "category": "sans-serif",
11040
+ "variants": [
11041
+ "regular",
11042
+ "italic",
11043
+ "700",
11044
+ "700italic"
11045
+ ],
11046
+ "subsets": [
11047
+ "latin"
11048
+ ],
11049
+ "version": "v11",
11050
+ "lastModified": "2016-04-25",
11051
+ "files": {
11052
+ "regular": "http://fonts.gstatic.com/s/rosario/v11/bL-cEh8dXtDupB2WccA2LA.ttf",
11053
+ "italic": "http://fonts.gstatic.com/s/rosario/v11/pkflNy18HEuVVx4EOjeb_Q.ttf",
11054
+ "700": "http://fonts.gstatic.com/s/rosario/v11/nrS6PJvDWN42RP4TFWccd_esZW2xOQ-xsNqO47m55DA.ttf",
11055
+ "700italic": "http://fonts.gstatic.com/s/rosario/v11/EOgFX2Va5VGrkhn_eDpIRS3USBnSvpkopQaUR-2r7iU.ttf"
11056
+ }
11057
+ },
11058
+ {
11059
+ "kind": "webfonts#webfont",
11060
+ "family": "Rosarivo",
11061
+ "category": "serif",
11062
+ "variants": [
11063
+ "regular",
11064
+ "italic"
11065
+ ],
11066
+ "subsets": [
11067
+ "latin",
11068
+ "latin-ext"
11069
+ ],
11070
+ "version": "v4",
11071
+ "lastModified": "2016-04-25",
11072
+ "files": {
11073
+ "regular": "http://fonts.gstatic.com/s/rosarivo/v4/EmPiINK0qyqc7KSsNjJamA.ttf",
11074
+ "italic": "http://fonts.gstatic.com/s/rosarivo/v4/u3VuWsWQlX1pDqsbz4paNPesZW2xOQ-xsNqO47m55DA.ttf"
11075
+ }
11076
+ },
11077
+ {
11078
+ "kind": "webfonts#webfont",
11079
+ "family": "Rouge Script",
11080
+ "category": "handwriting",
11081
+ "variants": [
11082
+ "regular"
11083
+ ],
11084
+ "subsets": [
11085
+ "latin"
11086
+ ],
11087
+ "version": "v5",
11088
+ "lastModified": "2016-04-25",
11089
+ "files": {
11090
+ "regular": "http://fonts.gstatic.com/s/rougescript/v5/AgXDSqZJmy12qS0ixjs6Vy3USBnSvpkopQaUR-2r7iU.ttf"
11091
+ }
11092
+ },
11093
+ {
11094
+ "kind": "webfonts#webfont",
11095
+ "family": "Rozha One",
11096
+ "category": "serif",
11097
+ "variants": [
11098
+ "regular"
11099
+ ],
11100
+ "subsets": [
11101
+ "latin",
11102
+ "devanagari",
11103
+ "latin-ext"
11104
+ ],
11105
+ "version": "v2",
11106
+ "lastModified": "2016-04-25",
11107
+ "files": {
11108
+ "regular": "http://fonts.gstatic.com/s/rozhaone/v2/PyrMHQ6lucEIxwKmhqsX8A.ttf"
11109
+ }
11110
+ },
11111
+ {
11112
+ "kind": "webfonts#webfont",
11113
+ "family": "Rubik",
11114
+ "category": "sans-serif",
11115
+ "variants": [
11116
+ "300",
11117
+ "300italic",
11118
+ "regular",
11119
+ "italic",
11120
+ "500",
11121
+ "500italic",
11122
+ "700",
11123
+ "700italic",
11124
+ "900",
11125
+ "900italic"
11126
+ ],
11127
+ "subsets": [
11128
+ "latin",
11129
+ "latin-ext",
11130
+ "cyrillic"
11131
+ ],
11132
+ "version": "v1",
11133
+ "lastModified": "2016-04-25",
11134
+ "files": {
11135
+ "300": "http://fonts.gstatic.com/s/rubik/v1/o1vXYO8YwDpErHEAPAxpOg.ttf",
11136
+ "300italic": "http://fonts.gstatic.com/s/rubik/v1/NyXDvUhvZLSWiVfGa5KM-vesZW2xOQ-xsNqO47m55DA.ttf",
11137
+ "regular": "http://fonts.gstatic.com/s/rubik/v1/4sMyW_teKWHB3K8Hm-Il6A.ttf",
11138
+ "italic": "http://fonts.gstatic.com/s/rubik/v1/elD65ddI0qvNcCh42b1Iqg.ttf",
11139
+ "500": "http://fonts.gstatic.com/s/rubik/v1/D4HihERG27s-BJrQ4dvkbw.ttf",
11140
+ "500italic": "http://fonts.gstatic.com/s/rubik/v1/0hcxMdoMbXtHiEM1ebdN6PesZW2xOQ-xsNqO47m55DA.ttf",
11141
+ "700": "http://fonts.gstatic.com/s/rubik/v1/m1GGHcpLe6Mb0_sAyjXE4g.ttf",
11142
+ "700italic": "http://fonts.gstatic.com/s/rubik/v1/R4g_rs714cUXVZcdnRdHw_esZW2xOQ-xsNqO47m55DA.ttf",
11143
+ "900": "http://fonts.gstatic.com/s/rubik/v1/mOHfPRl5uP4vw7-5-dbnng.ttf",
11144
+ "900italic": "http://fonts.gstatic.com/s/rubik/v1/HH1b7kBbwInqlw8OQxRE5vesZW2xOQ-xsNqO47m55DA.ttf"
11145
+ }
11146
+ },
11147
+ {
11148
+ "kind": "webfonts#webfont",
11149
+ "family": "Rubik Mono One",
11150
+ "category": "sans-serif",
11151
+ "variants": [
11152
+ "regular"
11153
+ ],
11154
+ "subsets": [
11155
+ "latin",
11156
+ "latin-ext",
11157
+ "cyrillic"
11158
+ ],
11159
+ "version": "v5",
11160
+ "lastModified": "2016-04-25",
11161
+ "files": {
11162
+ "regular": "http://fonts.gstatic.com/s/rubikmonoone/v5/e_cupPtD4BrZzotubJD7UbAREgn5xbW23GEXXnhMQ5Y.ttf"
11163
+ }
11164
+ },
11165
+ {
11166
+ "kind": "webfonts#webfont",
11167
+ "family": "Rubik One",
11168
+ "category": "sans-serif",
11169
+ "variants": [
11170
+ "regular"
11171
+ ],
11172
+ "subsets": [
11173
+ "latin",
11174
+ "latin-ext",
11175
+ "cyrillic"
11176
+ ],
11177
+ "version": "v4",
11178
+ "lastModified": "2016-04-25",
11179
+ "files": {
11180
+ "regular": "http://fonts.gstatic.com/s/rubikone/v4/Zs6TtctNRSIR8T5PO018rQ.ttf"
11181
+ }
11182
+ },
11183
+ {
11184
+ "kind": "webfonts#webfont",
11185
+ "family": "Ruda",
11186
+ "category": "sans-serif",
11187
+ "variants": [
11188
+ "regular",
11189
+ "700",
11190
+ "900"
11191
+ ],
11192
+ "subsets": [
11193
+ "latin",
11194
+ "latin-ext"
11195
+ ],
11196
+ "version": "v7",
11197
+ "lastModified": "2016-04-25",
11198
+ "files": {
11199
+ "regular": "http://fonts.gstatic.com/s/ruda/v7/jPEIPB7DM2DNK_uBGv2HGw.ttf",
11200
+ "700": "http://fonts.gstatic.com/s/ruda/v7/JABOu1SYOHcGXVejUq4w6g.ttf",
11201
+ "900": "http://fonts.gstatic.com/s/ruda/v7/Uzusv-enCjoIrznlJJaBRw.ttf"
11202
+ }
11203
+ },
11204
+ {
11205
+ "kind": "webfonts#webfont",
11206
+ "family": "Rufina",
11207
+ "category": "serif",
11208
+ "variants": [
11209
+ "regular",
11210
+ "700"
11211
+ ],
11212
+ "subsets": [
11213
+ "latin",
11214
+ "latin-ext"
11215
+ ],
11216
+ "version": "v4",
11217
+ "lastModified": "2016-04-25",
11218
+ "files": {
11219
+ "regular": "http://fonts.gstatic.com/s/rufina/v4/s9IFr_fIemiohfZS-ZRDbQ.ttf",
11220
+ "700": "http://fonts.gstatic.com/s/rufina/v4/D0RUjXFr55y4MVZY2Ww_RA.ttf"
11221
+ }
11222
+ },
11223
+ {
11224
+ "kind": "webfonts#webfont",
11225
+ "family": "Ruge Boogie",
11226
+ "category": "handwriting",
11227
+ "variants": [
11228
+ "regular"
11229
+ ],
11230
+ "subsets": [
11231
+ "latin",
11232
+ "latin-ext"
11233
+ ],
11234
+ "version": "v7",
11235
+ "lastModified": "2016-04-25",
11236
+ "files": {
11237
+ "regular": "http://fonts.gstatic.com/s/rugeboogie/v7/U-TTmltL8aENLVIqYbI5QaCWcynf_cDxXwCLxiixG1c.ttf"
11238
+ }
11239
+ },
11240
+ {
11241
+ "kind": "webfonts#webfont",
11242
+ "family": "Ruluko",
11243
+ "category": "sans-serif",
11244
+ "variants": [
11245
+ "regular"
11246
+ ],
11247
+ "subsets": [
11248
+ "latin",
11249
+ "latin-ext"
11250
+ ],
11251
+ "version": "v4",
11252
+ "lastModified": "2016-04-25",
11253
+ "files": {
11254
+ "regular": "http://fonts.gstatic.com/s/ruluko/v4/lv4cMwJtrx_dzmlK5SDc1g.ttf"
11255
+ }
11256
+ },
11257
+ {
11258
+ "kind": "webfonts#webfont",
11259
+ "family": "Rum Raisin",
11260
+ "category": "sans-serif",
11261
+ "variants": [
11262
+ "regular"
11263
+ ],
11264
+ "subsets": [
11265
+ "latin",
11266
+ "latin-ext"
11267
+ ],
11268
+ "version": "v4",
11269
+ "lastModified": "2016-04-25",
11270
+ "files": {
11271
+ "regular": "http://fonts.gstatic.com/s/rumraisin/v4/kDiL-ntDOEq26B7kYM7cx_esZW2xOQ-xsNqO47m55DA.ttf"
11272
+ }
11273
+ },
11274
+ {
11275
+ "kind": "webfonts#webfont",
11276
+ "family": "Ruslan Display",
11277
+ "category": "display",
11278
+ "variants": [
11279
+ "regular"
11280
+ ],
11281
+ "subsets": [
11282
+ "latin",
11283
+ "latin-ext",
11284
+ "cyrillic"
11285
+ ],
11286
+ "version": "v7",
11287
+ "lastModified": "2016-04-25",
11288
+ "files": {
11289
+ "regular": "http://fonts.gstatic.com/s/ruslandisplay/v7/SREdhlyLNUfU1VssRBfs3rgH88D3l9N4auRNHrNS708.ttf"
11290
+ }
11291
+ },
11292
+ {
11293
+ "kind": "webfonts#webfont",
11294
+ "family": "Russo One",
11295
+ "category": "sans-serif",
11296
+ "variants": [
11297
+ "regular"
11298
+ ],
11299
+ "subsets": [
11300
+ "latin",
11301
+ "latin-ext",
11302
+ "cyrillic"
11303
+ ],
11304
+ "version": "v5",
11305
+ "lastModified": "2016-04-25",
11306
+ "files": {
11307
+ "regular": "http://fonts.gstatic.com/s/russoone/v5/zfwxZ--UhUc7FVfgT21PRQ.ttf"
11308
+ }
11309
+ },
11310
+ {
11311
+ "kind": "webfonts#webfont",
11312
+ "family": "Ruthie",
11313
+ "category": "handwriting",
11314
+ "variants": [
11315
+ "regular"
11316
+ ],
11317
+ "subsets": [
11318
+ "latin",
11319
+ "latin-ext"
11320
+ ],
11321
+ "version": "v6",
11322
+ "lastModified": "2016-04-25",
11323
+ "files": {
11324
+ "regular": "http://fonts.gstatic.com/s/ruthie/v6/vJ2LorukHSbWYoEs5juivg.ttf"
11325
+ }
11326
+ },
11327
+ {
11328
+ "kind": "webfonts#webfont",
11329
+ "family": "Rye",
11330
+ "category": "display",
11331
+ "variants": [
11332
+ "regular"
11333
+ ],
11334
+ "subsets": [
11335
+ "latin",
11336
+ "latin-ext"
11337
+ ],
11338
+ "version": "v4",
11339
+ "lastModified": "2016-04-25",
11340
+ "files": {
11341
+ "regular": "http://fonts.gstatic.com/s/rye/v4/VUrJlpPpSZxspl3w_yNOrQ.ttf"
11342
+ }
11343
+ },
11344
+ {
11345
+ "kind": "webfonts#webfont",
11346
+ "family": "Sacramento",
11347
+ "category": "handwriting",
11348
+ "variants": [
11349
+ "regular"
11350
+ ],
11351
+ "subsets": [
11352
+ "latin",
11353
+ "latin-ext"
11354
+ ],
11355
+ "version": "v4",
11356
+ "lastModified": "2016-04-25",
11357
+ "files": {
11358
+ "regular": "http://fonts.gstatic.com/s/sacramento/v4/_kv-qycSHMNdhjiv0Kj7BvesZW2xOQ-xsNqO47m55DA.ttf"
11359
+ }
11360
+ },
11361
+ {
11362
+ "kind": "webfonts#webfont",
11363
+ "family": "Sahitya",
11364
+ "category": "serif",
11365
+ "variants": [
11366
+ "regular",
11367
+ "700"
11368
+ ],
11369
+ "subsets": [
11370
+ "latin",
11371
+ "devanagari"
11372
+ ],
11373
+ "version": "v1",
11374
+ "lastModified": "2016-04-25",
11375
+ "files": {
11376
+ "regular": "http://fonts.gstatic.com/s/sahitya/v1/wQWULcDbZqljdTfjOUtDvw.ttf",
11377
+ "700": "http://fonts.gstatic.com/s/sahitya/v1/Zm5hNvMwUyN3tC4GMkH1l_esZW2xOQ-xsNqO47m55DA.ttf"
11378
+ }
11379
+ },
11380
+ {
11381
+ "kind": "webfonts#webfont",
11382
+ "family": "Sail",
11383
+ "category": "display",
11384
+ "variants": [
11385
+ "regular"
11386
+ ],
11387
+ "subsets": [
11388
+ "latin",
11389
+ "latin-ext"
11390
+ ],
11391
+ "version": "v7",
11392
+ "lastModified": "2016-04-25",
11393
+ "files": {
11394
+ "regular": "http://fonts.gstatic.com/s/sail/v7/iuEoG6kt-bePGvtdpL0GUQ.ttf"
11395
+ }
11396
+ },
11397
+ {
11398
+ "kind": "webfonts#webfont",
11399
+ "family": "Salsa",
11400
+ "category": "display",
11401
+ "variants": [
11402
+ "regular"
11403
+ ],
11404
+ "subsets": [
11405
+ "latin"
11406
+ ],
11407
+ "version": "v6",
11408
+ "lastModified": "2016-04-25",
11409
+ "files": {
11410
+ "regular": "http://fonts.gstatic.com/s/salsa/v6/BnpUCBmYdvggScEPs5JbpA.ttf"
11411
+ }
11412
+ },
11413
+ {
11414
+ "kind": "webfonts#webfont",
11415
+ "family": "Sanchez",
11416
+ "category": "serif",
11417
+ "variants": [
11418
+ "regular",
11419
+ "italic"
11420
+ ],
11421
+ "subsets": [
11422
+ "latin",
11423
+ "latin-ext"
11424
+ ],
11425
+ "version": "v4",
11426
+ "lastModified": "2016-04-25",
11427
+ "files": {
11428
+ "regular": "http://fonts.gstatic.com/s/sanchez/v4/BEL8ao-E2LJ5eHPLB2UAiw.ttf",
11429
+ "italic": "http://fonts.gstatic.com/s/sanchez/v4/iSrhkWLexUZzDeNxNEHtzA.ttf"
11430
+ }
11431
+ },
11432
+ {
11433
+ "kind": "webfonts#webfont",
11434
+ "family": "Sancreek",
11435
+ "category": "display",
11436
+ "variants": [
11437
+ "regular"
11438
+ ],
11439
+ "subsets": [
11440
+ "latin",
11441
+ "latin-ext"
11442
+ ],
11443
+ "version": "v7",
11444
+ "lastModified": "2016-04-25",
11445
+ "files": {
11446
+ "regular": "http://fonts.gstatic.com/s/sancreek/v7/8ZacBMraWMvHly4IJI3esw.ttf"
11447
+ }
11448
+ },
11449
+ {
11450
+ "kind": "webfonts#webfont",
11451
+ "family": "Sansita One",
11452
+ "category": "display",
11453
+ "variants": [
11454
+ "regular"
11455
+ ],
11456
+ "subsets": [
11457
+ "latin"
11458
+ ],
11459
+ "version": "v6",
11460
+ "lastModified": "2016-04-25",
11461
+ "files": {
11462
+ "regular": "http://fonts.gstatic.com/s/sansitaone/v6/xWqf68oB50JXqGIRR0h2hqCWcynf_cDxXwCLxiixG1c.ttf"
11463
+ }
11464
+ },
11465
+ {
11466
+ "kind": "webfonts#webfont",
11467
+ "family": "Sarala",
11468
+ "category": "sans-serif",
11469
+ "variants": [
11470
+ "regular",
11471
+ "700"
11472
+ ],
11473
+ "subsets": [
11474
+ "latin",
11475
+ "devanagari",
11476
+ "latin-ext"
11477
+ ],
11478
+ "version": "v1",
11479
+ "lastModified": "2016-04-25",
11480
+ "files": {
11481
+ "regular": "http://fonts.gstatic.com/s/sarala/v1/ohip9lixCHoBab7hTtgLnw.ttf",
11482
+ "700": "http://fonts.gstatic.com/s/sarala/v1/hpc9cz8KYsazwq2In_oJYw.ttf"
11483
+ }
11484
+ },
11485
+ {
11486
+ "kind": "webfonts#webfont",
11487
+ "family": "Sarina",
11488
+ "category": "display",
11489
+ "variants": [
11490
+ "regular"
11491
+ ],
11492
+ "subsets": [
11493
+ "latin",
11494
+ "latin-ext"
11495
+ ],
11496
+ "version": "v5",
11497
+ "lastModified": "2016-04-25",
11498
+ "files": {
11499
+ "regular": "http://fonts.gstatic.com/s/sarina/v5/XYtRfaSknHIU3NHdfTdXoQ.ttf"
11500
+ }
11501
+ },
11502
+ {
11503
+ "kind": "webfonts#webfont",
11504
+ "family": "Sarpanch",
11505
+ "category": "sans-serif",
11506
+ "variants": [
11507
+ "regular",
11508
+ "500",
11509
+ "600",
11510
+ "700",
11511
+ "800",
11512
+ "900"
11513
+ ],
11514
+ "subsets": [
11515
+ "latin",
11516
+ "devanagari",
11517
+ "latin-ext"
11518
+ ],
11519
+ "version": "v1",
11520
+ "lastModified": "2016-04-25",
11521
+ "files": {
11522
+ "regular": "http://fonts.gstatic.com/s/sarpanch/v1/YMBZdT27b6O5a1DADbAGSg.ttf",
11523
+ "500": "http://fonts.gstatic.com/s/sarpanch/v1/Ov7BxSrFSZYrfuJxL1LzQaCWcynf_cDxXwCLxiixG1c.ttf",
11524
+ "600": "http://fonts.gstatic.com/s/sarpanch/v1/WTnP2wnc0qSbUaaDG-2OQ6CWcynf_cDxXwCLxiixG1c.ttf",
11525
+ "700": "http://fonts.gstatic.com/s/sarpanch/v1/57kYsSpovYmFaEt2hsZhv6CWcynf_cDxXwCLxiixG1c.ttf",
11526
+ "800": "http://fonts.gstatic.com/s/sarpanch/v1/OKyqPLjdnuVghR-1TV6RzaCWcynf_cDxXwCLxiixG1c.ttf",
11527
+ "900": "http://fonts.gstatic.com/s/sarpanch/v1/JhYc2cr6kqWTo_P0vfvJR6CWcynf_cDxXwCLxiixG1c.ttf"
11528
+ }
11529
+ },
11530
+ {
11531
+ "kind": "webfonts#webfont",
11532
+ "family": "Satisfy",
11533
+ "category": "handwriting",
11534
+ "variants": [
11535
+ "regular"
11536
+ ],
11537
+ "subsets": [
11538
+ "latin"
11539
+ ],
11540
+ "version": "v6",
11541
+ "lastModified": "2016-04-25",
11542
+ "files": {
11543
+ "regular": "http://fonts.gstatic.com/s/satisfy/v6/PRlyepkd-JCGHiN8e9WV2w.ttf"
11544
+ }
11545
+ },
11546
+ {
11547
+ "kind": "webfonts#webfont",
11548
+ "family": "Scada",
11549
+ "category": "sans-serif",
11550
+ "variants": [
11551
+ "regular",
11552
+ "italic",
11553
+ "700",
11554
+ "700italic"
11555
+ ],
11556
+ "subsets": [
11557
+ "latin",
11558
+ "latin-ext",
11559
+ "cyrillic"
11560
+ ],
11561
+ "version": "v4",
11562
+ "lastModified": "2016-04-25",
11563
+ "files": {
11564
+ "regular": "http://fonts.gstatic.com/s/scada/v4/iZNC3ZEYwe3je6H-28d5Ug.ttf",
11565
+ "italic": "http://fonts.gstatic.com/s/scada/v4/PCGyLT1qNawkOUQ3uHFhBw.ttf",
11566
+ "700": "http://fonts.gstatic.com/s/scada/v4/t6XNWdMdVWUz93EuRVmifQ.ttf",
11567
+ "700italic": "http://fonts.gstatic.com/s/scada/v4/kLrBIf7V4mDMwcd_Yw7-D_esZW2xOQ-xsNqO47m55DA.ttf"
11568
+ }
11569
+ },
11570
+ {
11571
+ "kind": "webfonts#webfont",
11572
+ "family": "Scheherazade",
11573
+ "category": "serif",
11574
+ "variants": [
11575
+ "regular",
11576
+ "700"
11577
+ ],
11578
+ "subsets": [
11579
+ "latin",
11580
+ "arabic"
11581
+ ],
11582
+ "version": "v11",
11583
+ "lastModified": "2016-04-25",
11584
+ "files": {
11585
+ "regular": "http://fonts.gstatic.com/s/scheherazade/v11/AuKlqGWzUC-8XqMOmsqXiy3USBnSvpkopQaUR-2r7iU.ttf",
11586
+ "700": "http://fonts.gstatic.com/s/scheherazade/v11/C1wtT46acJkQxc6mPHwvHED2ttfZwueP-QU272T9-k4.ttf"
11587
+ }
11588
+ },
11589
+ {
11590
+ "kind": "webfonts#webfont",
11591
+ "family": "Schoolbell",
11592
+ "category": "handwriting",
11593
+ "variants": [
11594
+ "regular"
11595
+ ],
11596
+ "subsets": [
11597
+ "latin"
11598
+ ],
11599
+ "version": "v6",
11600
+ "lastModified": "2016-04-25",
11601
+ "files": {
11602
+ "regular": "http://fonts.gstatic.com/s/schoolbell/v6/95-3djEuubb3cJx-6E7j4vesZW2xOQ-xsNqO47m55DA.ttf"
11603
+ }
11604
+ },
11605
+ {
11606
+ "kind": "webfonts#webfont",
11607
+ "family": "Seaweed Script",
11608
+ "category": "display",
11609
+ "variants": [
11610
+ "regular"
11611
+ ],
11612
+ "subsets": [
11613
+ "latin",
11614
+ "latin-ext"
11615
+ ],
11616
+ "version": "v4",
11617
+ "lastModified": "2016-04-25",
11618
+ "files": {
11619
+ "regular": "http://fonts.gstatic.com/s/seaweedscript/v4/eorWAPpOvvWrPw5IHwE60BnpV0hQCek3EmWnCPrvGRM.ttf"
11620
+ }
11621
+ },
11622
+ {
11623
+ "kind": "webfonts#webfont",
11624
+ "family": "Sevillana",
11625
+ "category": "display",
11626
+ "variants": [
11627
+ "regular"
11628
+ ],
11629
+ "subsets": [
11630
+ "latin",
11631
+ "latin-ext"
11632
+ ],
11633
+ "version": "v4",
11634
+ "lastModified": "2016-04-25",
11635
+ "files": {
11636
+ "regular": "http://fonts.gstatic.com/s/sevillana/v4/6m1Nh35oP7YEt00U80Smiw.ttf"
11637
+ }
11638
+ },
11639
+ {
11640
+ "kind": "webfonts#webfont",
11641
+ "family": "Seymour One",
11642
+ "category": "sans-serif",
11643
+ "variants": [
11644
+ "regular"
11645
+ ],
11646
+ "subsets": [
11647
+ "latin",
11648
+ "latin-ext",
11649
+ "cyrillic"
11650
+ ],
11651
+ "version": "v4",
11652
+ "lastModified": "2016-04-25",
11653
+ "files": {
11654
+ "regular": "http://fonts.gstatic.com/s/seymourone/v4/HrdG2AEG_870Xb7xBVv6C6CWcynf_cDxXwCLxiixG1c.ttf"
11655
+ }
11656
+ },
11657
+ {
11658
+ "kind": "webfonts#webfont",
11659
+ "family": "Shadows Into Light",
11660
+ "category": "handwriting",
11661
+ "variants": [
11662
+ "regular"
11663
+ ],
11664
+ "subsets": [
11665
+ "latin"
11666
+ ],
11667
+ "version": "v6",
11668
+ "lastModified": "2016-04-25",
11669
+ "files": {
11670
+ "regular": "http://fonts.gstatic.com/s/shadowsintolight/v6/clhLqOv7MXn459PTh0gXYAW_5bEze-iLRNvGrRpJsfM.ttf"
11671
+ }
11672
+ },
11673
+ {
11674
+ "kind": "webfonts#webfont",
11675
+ "family": "Shadows Into Light Two",
11676
+ "category": "handwriting",
11677
+ "variants": [
11678
+ "regular"
11679
+ ],
11680
+ "subsets": [
11681
+ "latin",
11682
+ "latin-ext"
11683
+ ],
11684
+ "version": "v4",
11685
+ "lastModified": "2016-04-25",
11686
+ "files": {
11687
+ "regular": "http://fonts.gstatic.com/s/shadowsintolighttwo/v4/gDxHeefcXIo-lOuZFCn2xVQrZk-Pga5KeEE_oZjkQjQ.ttf"
11688
+ }
11689
+ },
11690
+ {
11691
+ "kind": "webfonts#webfont",
11692
+ "family": "Shanti",
11693
+ "category": "sans-serif",
11694
+ "variants": [
11695
+ "regular"
11696
+ ],
11697
+ "subsets": [
11698
+ "latin"
11699
+ ],
11700
+ "version": "v8",
11701
+ "lastModified": "2016-04-25",
11702
+ "files": {
11703
+ "regular": "http://fonts.gstatic.com/s/shanti/v8/lc4nG_JG6Q-2FQSOMMhb_w.ttf"
11704
+ }
11705
+ },
11706
+ {
11707
+ "kind": "webfonts#webfont",
11708
+ "family": "Share",
11709
+ "category": "display",
11710
+ "variants": [
11711
+ "regular",
11712
+ "italic",
11713
+ "700",
11714
+ "700italic"
11715
+ ],
11716
+ "subsets": [
11717
+ "latin",
11718
+ "latin-ext"
11719
+ ],
11720
+ "version": "v5",
11721
+ "lastModified": "2016-04-25",
11722
+ "files": {
11723
+ "regular": "http://fonts.gstatic.com/s/share/v5/1ytD7zSb_-g9I2GG67vmVw.ttf",
11724
+ "italic": "http://fonts.gstatic.com/s/share/v5/a9YGdQWFRlNJ0zClJVaY3Q.ttf",
11725
+ "700": "http://fonts.gstatic.com/s/share/v5/XrU8e7a1YKurguyY2azk1Q.ttf",
11726
+ "700italic": "http://fonts.gstatic.com/s/share/v5/A992-bLVYwAflKu6iaznufesZW2xOQ-xsNqO47m55DA.ttf"
11727
+ }
11728
+ },
11729
+ {
11730
+ "kind": "webfonts#webfont",
11731
+ "family": "Share Tech",
11732
+ "category": "sans-serif",
11733
+ "variants": [
11734
+ "regular"
11735
+ ],
11736
+ "subsets": [
11737
+ "latin"
11738
+ ],
11739
+ "version": "v4",
11740
+ "lastModified": "2016-04-25",
11741
+ "files": {
11742
+ "regular": "http://fonts.gstatic.com/s/sharetech/v4/Dq3DuZ5_0SW3oEfAWFpen_esZW2xOQ-xsNqO47m55DA.ttf"
11743
+ }
11744
+ },
11745
+ {
11746
+ "kind": "webfonts#webfont",
11747
+ "family": "Share Tech Mono",
11748
+ "category": "monospace",
11749
+ "variants": [
11750
+ "regular"
11751
+ ],
11752
+ "subsets": [
11753
+ "latin"
11754
+ ],
11755
+ "version": "v5",
11756
+ "lastModified": "2016-04-25",
11757
+ "files": {
11758
+ "regular": "http://fonts.gstatic.com/s/sharetechmono/v5/RQxK-3RA0Lnf3gnnnNrAscwD6PD0c3_abh9zHKQtbGU.ttf"
11759
+ }
11760
+ },
11761
+ {
11762
+ "kind": "webfonts#webfont",
11763
+ "family": "Shojumaru",
11764
+ "category": "display",
11765
+ "variants": [
11766
+ "regular"
11767
+ ],
11768
+ "subsets": [
11769
+ "latin",
11770
+ "latin-ext"
11771
+ ],
11772
+ "version": "v4",
11773
+ "lastModified": "2016-04-25",
11774
+ "files": {
11775
+ "regular": "http://fonts.gstatic.com/s/shojumaru/v4/WP8cxonzQQVAoI3RJQ2wug.ttf"
11776
+ }
11777
+ },
11778
+ {
11779
+ "kind": "webfonts#webfont",
11780
+ "family": "Short Stack",
11781
+ "category": "handwriting",
11782
+ "variants": [
11783
+ "regular"
11784
+ ],
11785
+ "subsets": [
11786
+ "latin"
11787
+ ],
11788
+ "version": "v6",
11789
+ "lastModified": "2016-04-25",
11790
+ "files": {
11791
+ "regular": "http://fonts.gstatic.com/s/shortstack/v6/v4dXPI0Rm8XN9gk4SDdqlqCWcynf_cDxXwCLxiixG1c.ttf"
11792
+ }
11793
+ },
11794
+ {
11795
+ "kind": "webfonts#webfont",
11796
+ "family": "Siemreap",
11797
+ "category": "display",
11798
+ "variants": [
11799
+ "regular"
11800
+ ],
11801
+ "subsets": [
11802
+ "khmer"
11803
+ ],
11804
+ "version": "v9",
11805
+ "lastModified": "2016-04-25",
11806
+ "files": {
11807
+ "regular": "http://fonts.gstatic.com/s/siemreap/v9/JSK-mOIsXwxo-zE9XDDl_g.ttf"
11808
+ }
11809
+ },
11810
+ {
11811
+ "kind": "webfonts#webfont",
11812
+ "family": "Sigmar One",
11813
+ "category": "display",
11814
+ "variants": [
11815
+ "regular"
11816
+ ],
11817
+ "subsets": [
11818
+ "latin"
11819
+ ],
11820
+ "version": "v6",
11821
+ "lastModified": "2016-04-25",
11822
+ "files": {
11823
+ "regular": "http://fonts.gstatic.com/s/sigmarone/v6/oh_5NxD5JBZksdo2EntKefesZW2xOQ-xsNqO47m55DA.ttf"
11824
+ }
11825
+ },
11826
+ {
11827
+ "kind": "webfonts#webfont",
11828
+ "family": "Signika",
11829
+ "category": "sans-serif",
11830
+ "variants": [
11831
+ "300",
11832
+ "regular",
11833
+ "600",
11834
+ "700"
11835
+ ],
11836
+ "subsets": [
11837
+ "latin",
11838
+ "latin-ext"
11839
+ ],
11840
+ "version": "v6",
11841
+ "lastModified": "2016-04-25",
11842
+ "files": {
11843
+ "300": "http://fonts.gstatic.com/s/signika/v6/0wDPonOzsYeEo-1KO78w4fesZW2xOQ-xsNqO47m55DA.ttf",
11844
+ "regular": "http://fonts.gstatic.com/s/signika/v6/WvDswbww0oAtvBg2l1L-9w.ttf",
11845
+ "600": "http://fonts.gstatic.com/s/signika/v6/lQMOF6NUN2ooR7WvB7tADvesZW2xOQ-xsNqO47m55DA.ttf",
11846
+ "700": "http://fonts.gstatic.com/s/signika/v6/lEcnfPBICWJPv5BbVNnFJPesZW2xOQ-xsNqO47m55DA.ttf"
11847
+ }
11848
+ },
11849
+ {
11850
+ "kind": "webfonts#webfont",
11851
+ "family": "Signika Negative",
11852
+ "category": "sans-serif",
11853
+ "variants": [
11854
+ "300",
11855
+ "regular",
11856
+ "600",
11857
+ "700"
11858
+ ],
11859
+ "subsets": [
11860
+ "latin",
11861
+ "latin-ext"
11862
+ ],
11863
+ "version": "v5",
11864
+ "lastModified": "2016-04-25",
11865
+ "files": {
11866
+ "300": "http://fonts.gstatic.com/s/signikanegative/v5/q5TOjIw4CenPw6C-TW06FjYFXpUPtCmIEFDvjUnLLaI.ttf",
11867
+ "regular": "http://fonts.gstatic.com/s/signikanegative/v5/Z-Q1hzbY8uAo3TpTyPFMXVM1lnCWMnren5_v6047e5A.ttf",
11868
+ "600": "http://fonts.gstatic.com/s/signikanegative/v5/q5TOjIw4CenPw6C-TW06FrKLaDJM01OezSVA2R_O3qI.ttf",
11869
+ "700": "http://fonts.gstatic.com/s/signikanegative/v5/q5TOjIw4CenPw6C-TW06FpYzPxtVvobH1w3hEppR8WI.ttf"
11870
+ }
11871
+ },
11872
+ {
11873
+ "kind": "webfonts#webfont",
11874
+ "family": "Simonetta",
11875
+ "category": "display",
11876
+ "variants": [
11877
+ "regular",
11878
+ "italic",
11879
+ "900",
11880
+ "900italic"
11881
+ ],
11882
+ "subsets": [
11883
+ "latin",
11884
+ "latin-ext"
11885
+ ],
11886
+ "version": "v5",
11887
+ "lastModified": "2016-04-25",
11888
+ "files": {
11889
+ "regular": "http://fonts.gstatic.com/s/simonetta/v5/fN8puNuahBo4EYMQgp12Yg.ttf",
11890
+ "italic": "http://fonts.gstatic.com/s/simonetta/v5/ynxQ3FqfF_Nziwy3T9ZwL6CWcynf_cDxXwCLxiixG1c.ttf",
11891
+ "900": "http://fonts.gstatic.com/s/simonetta/v5/22EwvvJ2r1VwVCxit5LcVi3USBnSvpkopQaUR-2r7iU.ttf",
11892
+ "900italic": "http://fonts.gstatic.com/s/simonetta/v5/WUXOpCgBZaRPrWtMCpeKoienaqEuufTBk9XMKnKmgDA.ttf"
11893
+ }
11894
+ },
11895
+ {
11896
+ "kind": "webfonts#webfont",
11897
+ "family": "Sintony",
11898
+ "category": "sans-serif",
11899
+ "variants": [
11900
+ "regular",
11901
+ "700"
11902
+ ],
11903
+ "subsets": [
11904
+ "latin",
11905
+ "latin-ext"
11906
+ ],
11907
+ "version": "v4",
11908
+ "lastModified": "2016-04-25",
11909
+ "files": {
11910
+ "regular": "http://fonts.gstatic.com/s/sintony/v4/IDhCijoIMev2L6Lg5QsduQ.ttf",
11911
+ "700": "http://fonts.gstatic.com/s/sintony/v4/zVXQB1wqJn6PE4dWXoYpvPesZW2xOQ-xsNqO47m55DA.ttf"
11912
+ }
11913
+ },
11914
+ {
11915
+ "kind": "webfonts#webfont",
11916
+ "family": "Sirin Stencil",
11917
+ "category": "display",
11918
+ "variants": [
11919
+ "regular"
11920
+ ],
11921
+ "subsets": [
11922
+ "latin"
11923
+ ],
11924
+ "version": "v5",
11925
+ "lastModified": "2016-04-25",
11926
+ "files": {
11927
+ "regular": "http://fonts.gstatic.com/s/sirinstencil/v5/pRpLdo0SawzO7MoBpvowsImg74kgS1F7KeR8rWhYwkU.ttf"
11928
+ }
11929
+ },
11930
+ {
11931
+ "kind": "webfonts#webfont",
11932
+ "family": "Six Caps",
11933
+ "category": "sans-serif",
11934
+ "variants": [
11935
+ "regular"
11936
+ ],
11937
+ "subsets": [
11938
+ "latin"
11939
+ ],
11940
+ "version": "v7",
11941
+ "lastModified": "2016-04-25",
11942
+ "files": {
11943
+ "regular": "http://fonts.gstatic.com/s/sixcaps/v7/_XeDnO0HOV8Er9u97If1tQ.ttf"
11944
+ }
11945
+ },
11946
+ {
11947
+ "kind": "webfonts#webfont",
11948
+ "family": "Skranji",
11949
+ "category": "display",
11950
+ "variants": [
11951
+ "regular",
11952
+ "700"
11953
+ ],
11954
+ "subsets": [
11955
+ "latin",
11956
+ "latin-ext"
11957
+ ],
11958
+ "version": "v4",
11959
+ "lastModified": "2016-04-25",
11960
+ "files": {
11961
+ "regular": "http://fonts.gstatic.com/s/skranji/v4/jnOLPS0iZmDL7dfWnW3nIw.ttf",
11962
+ "700": "http://fonts.gstatic.com/s/skranji/v4/Lcrhg-fviVkxiEgoadsI1vesZW2xOQ-xsNqO47m55DA.ttf"
11963
+ }
11964
+ },
11965
+ {
11966
+ "kind": "webfonts#webfont",
11967
+ "family": "Slabo 13px",
11968
+ "category": "serif",
11969
+ "variants": [
11970
+ "regular"
11971
+ ],
11972
+ "subsets": [
11973
+ "latin",
11974
+ "latin-ext"
11975
+ ],
11976
+ "version": "v3",
11977
+ "lastModified": "2016-04-25",
11978
+ "files": {
11979
+ "regular": "http://fonts.gstatic.com/s/slabo13px/v3/jPGWFTjRXfCSzy0qd1nqdvesZW2xOQ-xsNqO47m55DA.ttf"
11980
+ }
11981
+ },
11982
+ {
11983
+ "kind": "webfonts#webfont",
11984
+ "family": "Slabo 27px",
11985
+ "category": "serif",
11986
+ "variants": [
11987
+ "regular"
11988
+ ],
11989
+ "subsets": [
11990
+ "latin",
11991
+ "latin-ext"
11992
+ ],
11993
+ "version": "v3",
11994
+ "lastModified": "2016-04-25",
11995
+ "files": {
11996
+ "regular": "http://fonts.gstatic.com/s/slabo27px/v3/gC0o8B9eU21EafNkXlRAfPesZW2xOQ-xsNqO47m55DA.ttf"
11997
+ }
11998
+ },
11999
+ {
12000
+ "kind": "webfonts#webfont",
12001
+ "family": "Slackey",
12002
+ "category": "display",
12003
+ "variants": [
12004
+ "regular"
12005
+ ],
12006
+ "subsets": [
12007
+ "latin"
12008
+ ],
12009
+ "version": "v6",
12010
+ "lastModified": "2016-04-25",
12011
+ "files": {
12012
+ "regular": "http://fonts.gstatic.com/s/slackey/v6/evRIMNhGVCRJvCPv4kteeA.ttf"
12013
+ }
12014
+ },
12015
+ {
12016
+ "kind": "webfonts#webfont",
12017
+ "family": "Smokum",
12018
+ "category": "display",
12019
+ "variants": [
12020
+ "regular"
12021
+ ],
12022
+ "subsets": [
12023
+ "latin"
12024
+ ],
12025
+ "version": "v6",
12026
+ "lastModified": "2016-04-25",
12027
+ "files": {
12028
+ "regular": "http://fonts.gstatic.com/s/smokum/v6/8YP4BuAcy97X8WfdKfxVRw.ttf"
12029
+ }
12030
+ },
12031
+ {
12032
+ "kind": "webfonts#webfont",
12033
+ "family": "Smythe",
12034
+ "category": "display",
12035
+ "variants": [
12036
+ "regular"
12037
+ ],
12038
+ "subsets": [
12039
+ "latin"
12040
+ ],
12041
+ "version": "v7",
12042
+ "lastModified": "2016-04-25",
12043
+ "files": {
12044
+ "regular": "http://fonts.gstatic.com/s/smythe/v7/yACD1gy_MpbB9Ft42fUvYw.ttf"
12045
+ }
12046
+ },
12047
+ {
12048
+ "kind": "webfonts#webfont",
12049
+ "family": "Sniglet",
12050
+ "category": "display",
12051
+ "variants": [
12052
+ "regular",
12053
+ "800"
12054
+ ],
12055
+ "subsets": [
12056
+ "latin",
12057
+ "latin-ext"
12058
+ ],
12059
+ "version": "v7",
12060
+ "lastModified": "2016-04-25",
12061
+ "files": {
12062
+ "regular": "http://fonts.gstatic.com/s/sniglet/v7/XWhyQLHH4SpCVsHRPRgu9w.ttf",
12063
+ "800": "http://fonts.gstatic.com/s/sniglet/v7/NLF91nBmcEfkBgcEWbHFa_esZW2xOQ-xsNqO47m55DA.ttf"
12064
+ }
12065
+ },
12066
+ {
12067
+ "kind": "webfonts#webfont",
12068
+ "family": "Snippet",
12069
+ "category": "sans-serif",
12070
+ "variants": [
12071
+ "regular"
12072
+ ],
12073
+ "subsets": [
12074
+ "latin"
12075
+ ],
12076
+ "version": "v6",
12077
+ "lastModified": "2016-04-25",
12078
+ "files": {
12079
+ "regular": "http://fonts.gstatic.com/s/snippet/v6/eUcYMLq2GtHZovLlQH_9kA.ttf"
12080
+ }
12081
+ },
12082
+ {
12083
+ "kind": "webfonts#webfont",
12084
+ "family": "Snowburst One",
12085
+ "category": "display",
12086
+ "variants": [
12087
+ "regular"
12088
+ ],
12089
+ "subsets": [
12090
+ "latin",
12091
+ "latin-ext"
12092
+ ],
12093
+ "version": "v4",
12094
+ "lastModified": "2016-04-25",
12095
+ "files": {
12096
+ "regular": "http://fonts.gstatic.com/s/snowburstone/v4/zSQzKOPukXRux2oTqfYJjIjjx0o0jr6fNXxPgYh_a8Q.ttf"
12097
+ }
12098
+ },
12099
+ {
12100
+ "kind": "webfonts#webfont",
12101
+ "family": "Sofadi One",
12102
+ "category": "display",
12103
+ "variants": [
12104
+ "regular"
12105
+ ],
12106
+ "subsets": [
12107
+ "latin"
12108
+ ],
12109
+ "version": "v4",
12110
+ "lastModified": "2016-04-25",
12111
+ "files": {
12112
+ "regular": "http://fonts.gstatic.com/s/sofadione/v4/nirf4G12IcJ6KI8Eoj119fesZW2xOQ-xsNqO47m55DA.ttf"
12113
+ }
12114
+ },
12115
+ {
12116
+ "kind": "webfonts#webfont",
12117
+ "family": "Sofia",
12118
+ "category": "handwriting",
12119
+ "variants": [
12120
+ "regular"
12121
+ ],
12122
+ "subsets": [
12123
+ "latin"
12124
+ ],
12125
+ "version": "v5",
12126
+ "lastModified": "2016-04-25",
12127
+ "files": {
12128
+ "regular": "http://fonts.gstatic.com/s/sofia/v5/Imnvx0Ag9r6iDBFUY5_RaQ.ttf"
12129
+ }
12130
+ },
12131
+ {
12132
+ "kind": "webfonts#webfont",
12133
+ "family": "Sonsie One",
12134
+ "category": "display",
12135
+ "variants": [
12136
+ "regular"
12137
+ ],
12138
+ "subsets": [
12139
+ "latin",
12140
+ "latin-ext"
12141
+ ],
12142
+ "version": "v5",
12143
+ "lastModified": "2016-04-25",
12144
+ "files": {
12145
+ "regular": "http://fonts.gstatic.com/s/sonsieone/v5/KSP7xT1OSy0q2ob6RQOTWPesZW2xOQ-xsNqO47m55DA.ttf"
12146
+ }
12147
+ },
12148
+ {
12149
+ "kind": "webfonts#webfont",
12150
+ "family": "Sorts Mill Goudy",
12151
+ "category": "serif",
12152
+ "variants": [
12153
+ "regular",
12154
+ "italic"
12155
+ ],
12156
+ "subsets": [
12157
+ "latin",
12158
+ "latin-ext"
12159
+ ],
12160
+ "version": "v6",
12161
+ "lastModified": "2016-04-25",
12162
+ "files": {
12163
+ "regular": "http://fonts.gstatic.com/s/sortsmillgoudy/v6/JzRrPKdwEnE8F1TDmDLMUlIL2Qjg-Xlsg_fhGbe2P5U.ttf",
12164
+ "italic": "http://fonts.gstatic.com/s/sortsmillgoudy/v6/UUu1lKiy4hRmBWk599VL1TYNkCNSzLyoucKmbTguvr0.ttf"
12165
+ }
12166
+ },
12167
+ {
12168
+ "kind": "webfonts#webfont",
12169
+ "family": "Source Code Pro",
12170
+ "category": "monospace",
12171
+ "variants": [
12172
+ "200",
12173
+ "300",
12174
+ "regular",
12175
+ "500",
12176
+ "600",
12177
+ "700",
12178
+ "900"
12179
+ ],
12180
+ "subsets": [
12181
+ "latin",
12182
+ "latin-ext"
12183
+ ],
12184
+ "version": "v6",
12185
+ "lastModified": "2016-04-25",
12186
+ "files": {
12187
+ "200": "http://fonts.gstatic.com/s/sourcecodepro/v6/leqv3v-yTsJNC7nFznSMqaXvKVW_haheDNrHjziJZVk.ttf",
12188
+ "300": "http://fonts.gstatic.com/s/sourcecodepro/v6/leqv3v-yTsJNC7nFznSMqVP7R5lD_au4SZC6Ks_vyWs.ttf",
12189
+ "regular": "http://fonts.gstatic.com/s/sourcecodepro/v6/mrl8jkM18OlOQN8JLgasD9Rl0pGnog23EMYRrBmUzJQ.ttf",
12190
+ "500": "http://fonts.gstatic.com/s/sourcecodepro/v6/leqv3v-yTsJNC7nFznSMqX63uKwMO11Of4rJWV582wg.ttf",
12191
+ "600": "http://fonts.gstatic.com/s/sourcecodepro/v6/leqv3v-yTsJNC7nFznSMqeiMeWyi5E_-XkTgB5psiDg.ttf",
12192
+ "700": "http://fonts.gstatic.com/s/sourcecodepro/v6/leqv3v-yTsJNC7nFznSMqfgXsetDviZcdR5OzC1KPcw.ttf",
12193
+ "900": "http://fonts.gstatic.com/s/sourcecodepro/v6/leqv3v-yTsJNC7nFznSMqRA_awHl7mXRjE_LQVochcU.ttf"
12194
+ }
12195
+ },
12196
+ {
12197
+ "kind": "webfonts#webfont",
12198
+ "family": "Source Sans Pro",
12199
+ "category": "sans-serif",
12200
+ "variants": [
12201
+ "200",
12202
+ "200italic",
12203
+ "300",
12204
+ "300italic",
12205
+ "regular",
12206
+ "italic",
12207
+ "600",
12208
+ "600italic",
12209
+ "700",
12210
+ "700italic",
12211
+ "900",
12212
+ "900italic"
12213
+ ],
12214
+ "subsets": [
12215
+ "latin",
12216
+ "latin-ext",
12217
+ "vietnamese"
12218
+ ],
12219
+ "version": "v9",
12220
+ "lastModified": "2016-04-25",
12221
+ "files": {
12222
+ "200": "http://fonts.gstatic.com/s/sourcesanspro/v9/toadOcfmlt9b38dHJxOBGKXvKVW_haheDNrHjziJZVk.ttf",
12223
+ "200italic": "http://fonts.gstatic.com/s/sourcesanspro/v9/fpTVHK8qsXbIeTHTrnQH6OptKU7UIBg2hLM7eMTU8bI.ttf",
12224
+ "300": "http://fonts.gstatic.com/s/sourcesanspro/v9/toadOcfmlt9b38dHJxOBGFP7R5lD_au4SZC6Ks_vyWs.ttf",
12225
+ "300italic": "http://fonts.gstatic.com/s/sourcesanspro/v9/fpTVHK8qsXbIeTHTrnQH6DUpNKoQAsDux-Todp8f29w.ttf",
12226
+ "regular": "http://fonts.gstatic.com/s/sourcesanspro/v9/ODelI1aHBYDBqgeIAH2zlNRl0pGnog23EMYRrBmUzJQ.ttf",
12227
+ "italic": "http://fonts.gstatic.com/s/sourcesanspro/v9/M2Jd71oPJhLKp0zdtTvoMwRX4TIfMQQEXLu74GftruE.ttf",
12228
+ "600": "http://fonts.gstatic.com/s/sourcesanspro/v9/toadOcfmlt9b38dHJxOBGOiMeWyi5E_-XkTgB5psiDg.ttf",
12229
+ "600italic": "http://fonts.gstatic.com/s/sourcesanspro/v9/fpTVHK8qsXbIeTHTrnQH6Pp6lGoTTgjlW0sC4r900Co.ttf",
12230
+ "700": "http://fonts.gstatic.com/s/sourcesanspro/v9/toadOcfmlt9b38dHJxOBGPgXsetDviZcdR5OzC1KPcw.ttf",
12231
+ "700italic": "http://fonts.gstatic.com/s/sourcesanspro/v9/fpTVHK8qsXbIeTHTrnQH6LVT4locI09aamSzFGQlDMY.ttf",
12232
+ "900": "http://fonts.gstatic.com/s/sourcesanspro/v9/toadOcfmlt9b38dHJxOBGBA_awHl7mXRjE_LQVochcU.ttf",
12233
+ "900italic": "http://fonts.gstatic.com/s/sourcesanspro/v9/fpTVHK8qsXbIeTHTrnQH6A0NcF6HPGWR298uWIdxWv0.ttf"
12234
+ }
12235
+ },
12236
+ {
12237
+ "kind": "webfonts#webfont",
12238
+ "family": "Source Serif Pro",
12239
+ "category": "serif",
12240
+ "variants": [
12241
+ "regular",
12242
+ "600",
12243
+ "700"
12244
+ ],
12245
+ "subsets": [
12246
+ "latin",
12247
+ "latin-ext"
12248
+ ],
12249
+ "version": "v4",
12250
+ "lastModified": "2016-04-25",
12251
+ "files": {
12252
+ "regular": "http://fonts.gstatic.com/s/sourceserifpro/v4/CeUM4np2c42DV49nanp55YGL0S0YDpKs5GpLtZIQ0m4.ttf",
12253
+ "600": "http://fonts.gstatic.com/s/sourceserifpro/v4/yd5lDMt8Sva2PE17yiLarGi4cQnvCGV11m1KlXh97aQ.ttf",
12254
+ "700": "http://fonts.gstatic.com/s/sourceserifpro/v4/yd5lDMt8Sva2PE17yiLarEkpYHRvxGNSCrR82n_RDNk.ttf"
12255
+ }
12256
+ },
12257
+ {
12258
+ "kind": "webfonts#webfont",
12259
+ "family": "Special Elite",
12260
+ "category": "display",
12261
+ "variants": [
12262
+ "regular"
12263
+ ],
12264
+ "subsets": [
12265
+ "latin"
12266
+ ],
12267
+ "version": "v6",
12268
+ "lastModified": "2016-04-25",
12269
+ "files": {
12270
+ "regular": "http://fonts.gstatic.com/s/specialelite/v6/9-wW4zu3WNoD5Fjka35Jm4jjx0o0jr6fNXxPgYh_a8Q.ttf"
12271
+ }
12272
+ },
12273
+ {
12274
+ "kind": "webfonts#webfont",
12275
+ "family": "Spicy Rice",
12276
+ "category": "display",
12277
+ "variants": [
12278
+ "regular"
12279
+ ],
12280
+ "subsets": [
12281
+ "latin"
12282
+ ],
12283
+ "version": "v5",
12284
+ "lastModified": "2016-04-25",
12285
+ "files": {
12286
+ "regular": "http://fonts.gstatic.com/s/spicyrice/v5/WGCtz7cLoggXARPi9OGD6_esZW2xOQ-xsNqO47m55DA.ttf"
12287
+ }
12288
+ },
12289
+ {
12290
+ "kind": "webfonts#webfont",
12291
+ "family": "Spinnaker",
12292
+ "category": "sans-serif",
12293
+ "variants": [
12294
+ "regular"
12295
+ ],
12296
+ "subsets": [
12297
+ "latin",
12298
+ "latin-ext"
12299
+ ],
12300
+ "version": "v8",
12301
+ "lastModified": "2016-04-25",
12302
+ "files": {
12303
+ "regular": "http://fonts.gstatic.com/s/spinnaker/v8/MQdIXivKITpjROUdiN6Jgg.ttf"
12304
+ }
12305
+ },
12306
+ {
12307
+ "kind": "webfonts#webfont",
12308
+ "family": "Spirax",
12309
+ "category": "display",
12310
+ "variants": [
12311
+ "regular"
12312
+ ],
12313
+ "subsets": [
12314
+ "latin"
12315
+ ],
12316
+ "version": "v5",
12317
+ "lastModified": "2016-04-25",
12318
+ "files": {
12319
+ "regular": "http://fonts.gstatic.com/s/spirax/v5/IOKqhk-Ccl7y31yDsePPkw.ttf"
12320
+ }
12321
+ },
12322
+ {
12323
+ "kind": "webfonts#webfont",
12324
+ "family": "Squada One",
12325
+ "category": "display",
12326
+ "variants": [
12327
+ "regular"
12328
+ ],
12329
+ "subsets": [
12330
+ "latin"
12331
+ ],
12332
+ "version": "v5",
12333
+ "lastModified": "2016-04-25",
12334
+ "files": {
12335
+ "regular": "http://fonts.gstatic.com/s/squadaone/v5/3tzGuaJdD65cZVgfQzN8uvesZW2xOQ-xsNqO47m55DA.ttf"
12336
+ }
12337
+ },
12338
+ {
12339
+ "kind": "webfonts#webfont",
12340
+ "family": "Sree Krushnadevaraya",
12341
+ "category": "serif",
12342
+ "variants": [
12343
+ "regular"
12344
+ ],
12345
+ "subsets": [
12346
+ "latin",
12347
+ "telugu"
12348
+ ],
12349
+ "version": "v4",
12350
+ "lastModified": "2016-04-25",
12351
+ "files": {
12352
+ "regular": "http://fonts.gstatic.com/s/sreekrushnadevaraya/v4/CdsXmnHyEqVl1ahzOh5qnzjDZVem5Eb4d0dXjXa0F_Q.ttf"
12353
+ }
12354
+ },
12355
+ {
12356
+ "kind": "webfonts#webfont",
12357
+ "family": "Stalemate",
12358
+ "category": "handwriting",
12359
+ "variants": [
12360
+ "regular"
12361
+ ],
12362
+ "subsets": [
12363
+ "latin",
12364
+ "latin-ext"
12365
+ ],
12366
+ "version": "v4",
12367
+ "lastModified": "2016-04-25",
12368
+ "files": {
12369
+ "regular": "http://fonts.gstatic.com/s/stalemate/v4/wQLCnG0qB6mOu2Wit2dt_w.ttf"
12370
+ }
12371
+ },
12372
+ {
12373
+ "kind": "webfonts#webfont",
12374
+ "family": "Stalinist One",
12375
+ "category": "display",
12376
+ "variants": [
12377
+ "regular"
12378
+ ],
12379
+ "subsets": [
12380
+ "latin",
12381
+ "latin-ext",
12382
+ "cyrillic"
12383
+ ],
12384
+ "version": "v8",
12385
+ "lastModified": "2016-04-25",
12386
+ "files": {
12387
+ "regular": "http://fonts.gstatic.com/s/stalinistone/v8/MQpS-WezM9W4Dd7D3B7I-UT7eZ8.ttf"
12388
+ }
12389
+ },
12390
+ {
12391
+ "kind": "webfonts#webfont",
12392
+ "family": "Stardos Stencil",
12393
+ "category": "display",
12394
+ "variants": [
12395
+ "regular",
12396
+ "700"
12397
+ ],
12398
+ "subsets": [
12399
+ "latin"
12400
+ ],
12401
+ "version": "v6",
12402
+ "lastModified": "2016-04-25",
12403
+ "files": {
12404
+ "regular": "http://fonts.gstatic.com/s/stardosstencil/v6/ygEOyTW9a6u4fi4OXEZeTFf2eT4jUldwg_9fgfY_tHc.ttf",
12405
+ "700": "http://fonts.gstatic.com/s/stardosstencil/v6/h4ExtgvoXhPtv9Ieqd-XC81wDCbBgmIo8UyjIhmkeSM.ttf"
12406
+ }
12407
+ },
12408
+ {
12409
+ "kind": "webfonts#webfont",
12410
+ "family": "Stint Ultra Condensed",
12411
+ "category": "display",
12412
+ "variants": [
12413
+ "regular"
12414
+ ],
12415
+ "subsets": [
12416
+ "latin",
12417
+ "latin-ext"
12418
+ ],
12419
+ "version": "v5",
12420
+ "lastModified": "2016-04-25",
12421
+ "files": {
12422
+ "regular": "http://fonts.gstatic.com/s/stintultracondensed/v5/8DqLK6-YSClFZt3u3EgOUYelbRYnLTTQA1Z5cVLnsI4.ttf"
12423
+ }
12424
+ },
12425
+ {
12426
+ "kind": "webfonts#webfont",
12427
+ "family": "Stint Ultra Expanded",
12428
+ "category": "display",
12429
+ "variants": [
12430
+ "regular"
12431
+ ],
12432
+ "subsets": [
12433
+ "latin",
12434
+ "latin-ext"
12435
+ ],
12436
+ "version": "v4",
12437
+ "lastModified": "2016-04-25",
12438
+ "files": {
12439
+ "regular": "http://fonts.gstatic.com/s/stintultraexpanded/v4/FeigX-wDDgHMCKuhekhedQ7dxr0N5HY0cZKknTIL6n4.ttf"
12440
+ }
12441
+ },
12442
+ {
12443
+ "kind": "webfonts#webfont",
12444
+ "family": "Stoke",
12445
+ "category": "serif",
12446
+ "variants": [
12447
+ "300",
12448
+ "regular"
12449
+ ],
12450
+ "subsets": [
12451
+ "latin",
12452
+ "latin-ext"
12453
+ ],
12454
+ "version": "v6",
12455
+ "lastModified": "2016-04-25",
12456
+ "files": {
12457
+ "300": "http://fonts.gstatic.com/s/stoke/v6/Sell9475FOS8jUqQsfFsUQ.ttf",
12458
+ "regular": "http://fonts.gstatic.com/s/stoke/v6/A7qJNoqOm2d6o1E6e0yUFg.ttf"
12459
+ }
12460
+ },
12461
+ {
12462
+ "kind": "webfonts#webfont",
12463
+ "family": "Strait",
12464
+ "category": "sans-serif",
12465
+ "variants": [
12466
+ "regular"
12467
+ ],
12468
+ "subsets": [
12469
+ "latin"
12470
+ ],
12471
+ "version": "v4",
12472
+ "lastModified": "2016-04-25",
12473
+ "files": {
12474
+ "regular": "http://fonts.gstatic.com/s/strait/v4/m4W73ViNmProETY2ybc-Bg.ttf"
12475
+ }
12476
+ },
12477
+ {
12478
+ "kind": "webfonts#webfont",
12479
+ "family": "Sue Ellen Francisco",
12480
+ "category": "handwriting",
12481
+ "variants": [
12482
+ "regular"
12483
+ ],
12484
+ "subsets": [
12485
+ "latin"
12486
+ ],
12487
+ "version": "v7",
12488
+ "lastModified": "2016-04-25",
12489
+ "files": {
12490
+ "regular": "http://fonts.gstatic.com/s/sueellenfrancisco/v7/TwHX4vSxMUnJUdEz1JIgrhzazJzPVbGl8jnf1tisRz4.ttf"
12491
+ }
12492
+ },
12493
+ {
12494
+ "kind": "webfonts#webfont",
12495
+ "family": "Sumana",
12496
+ "category": "serif",
12497
+ "variants": [
12498
+ "regular",
12499
+ "700"
12500
+ ],
12501
+ "subsets": [
12502
+ "latin",
12503
+ "devanagari",
12504
+ "latin-ext"
12505
+ ],
12506
+ "version": "v1",
12507
+ "lastModified": "2016-04-25",
12508
+ "files": {
12509
+ "regular": "http://fonts.gstatic.com/s/sumana/v1/wgdl__wAK7pzliiWs0Nlog.ttf",
12510
+ "700": "http://fonts.gstatic.com/s/sumana/v1/8AcM-KAproitONSBBHj3sQ.ttf"
12511
+ }
12512
+ },
12513
+ {
12514
+ "kind": "webfonts#webfont",
12515
+ "family": "Sunshiney",
12516
+ "category": "handwriting",
12517
+ "variants": [
12518
+ "regular"
12519
+ ],
12520
+ "subsets": [
12521
+ "latin"
12522
+ ],
12523
+ "version": "v6",
12524
+ "lastModified": "2016-04-25",
12525
+ "files": {
12526
+ "regular": "http://fonts.gstatic.com/s/sunshiney/v6/kaWOb4pGbwNijM7CkxK1sQ.ttf"
12527
+ }
12528
+ },
12529
+ {
12530
+ "kind": "webfonts#webfont",
12531
+ "family": "Supermercado One",
12532
+ "category": "display",
12533
+ "variants": [
12534
+ "regular"
12535
+ ],
12536
+ "subsets": [
12537
+ "latin"
12538
+ ],
12539
+ "version": "v6",
12540
+ "lastModified": "2016-04-25",
12541
+ "files": {
12542
+ "regular": "http://fonts.gstatic.com/s/supermercadoone/v6/kMGPVTNFiFEp1U274uBMb4mm5hmSKNFf3C5YoMa-lrM.ttf"
12543
+ }
12544
+ },
12545
+ {
12546
+ "kind": "webfonts#webfont",
12547
+ "family": "Sura",
12548
+ "category": "serif",
12549
+ "variants": [
12550
+ "regular",
12551
+ "700"
12552
+ ],
12553
+ "subsets": [
12554
+ "latin",
12555
+ "devanagari",
12556
+ "latin-ext"
12557
+ ],
12558
+ "version": "v1",
12559
+ "lastModified": "2016-04-25",
12560
+ "files": {
12561
+ "regular": "http://fonts.gstatic.com/s/sura/v1/jznKrhTH5NezYxb0-Q5zzA.ttf",
12562
+ "700": "http://fonts.gstatic.com/s/sura/v1/Z5bXQaFGmoWicN1WlcncxA.ttf"
12563
+ }
12564
+ },
12565
+ {
12566
+ "kind": "webfonts#webfont",
12567
+ "family": "Suranna",
12568
+ "category": "serif",
12569
+ "variants": [
12570
+ "regular"
12571
+ ],
12572
+ "subsets": [
12573
+ "latin",
12574
+ "telugu"
12575
+ ],
12576
+ "version": "v4",
12577
+ "lastModified": "2016-04-25",
12578
+ "files": {
12579
+ "regular": "http://fonts.gstatic.com/s/suranna/v4/PYmfr6TQeTqZ-r8HnPM-kA.ttf"
12580
+ }
12581
+ },
12582
+ {
12583
+ "kind": "webfonts#webfont",
12584
+ "family": "Suravaram",
12585
+ "category": "serif",
12586
+ "variants": [
12587
+ "regular"
12588
+ ],
12589
+ "subsets": [
12590
+ "latin",
12591
+ "telugu"
12592
+ ],
12593
+ "version": "v3",
12594
+ "lastModified": "2016-04-25",
12595
+ "files": {
12596
+ "regular": "http://fonts.gstatic.com/s/suravaram/v3/G4dPee4pel_w2HqzavW4MA.ttf"
12597
+ }
12598
+ },
12599
+ {
12600
+ "kind": "webfonts#webfont",
12601
+ "family": "Suwannaphum",
12602
+ "category": "display",
12603
+ "variants": [
12604
+ "regular"
12605
+ ],
12606
+ "subsets": [
12607
+ "khmer"
12608
+ ],
12609
+ "version": "v9",
12610
+ "lastModified": "2016-04-25",
12611
+ "files": {
12612
+ "regular": "http://fonts.gstatic.com/s/suwannaphum/v9/1jIPOyXied3T79GCnSlCN6CWcynf_cDxXwCLxiixG1c.ttf"
12613
+ }
12614
+ },
12615
+ {
12616
+ "kind": "webfonts#webfont",
12617
+ "family": "Swanky and Moo Moo",
12618
+ "category": "handwriting",
12619
+ "variants": [
12620
+ "regular"
12621
+ ],
12622
+ "subsets": [
12623
+ "latin"
12624
+ ],
12625
+ "version": "v6",
12626
+ "lastModified": "2016-04-25",
12627
+ "files": {
12628
+ "regular": "http://fonts.gstatic.com/s/swankyandmoomoo/v6/orVNZ9kDeE3lWp3U3YELu9DVLKqNC3_XMNHhr8S94FU.ttf"
12629
+ }
12630
+ },
12631
+ {
12632
+ "kind": "webfonts#webfont",
12633
+ "family": "Syncopate",
12634
+ "category": "sans-serif",
12635
+ "variants": [
12636
+ "regular",
12637
+ "700"
12638
+ ],
12639
+ "subsets": [
12640
+ "latin"
12641
+ ],
12642
+ "version": "v7",
12643
+ "lastModified": "2016-04-25",
12644
+ "files": {
12645
+ "regular": "http://fonts.gstatic.com/s/syncopate/v7/RQVwO52fAH6MI764EcaYtw.ttf",
12646
+ "700": "http://fonts.gstatic.com/s/syncopate/v7/S5z8ixiOoC4WJ1im6jAlYC3USBnSvpkopQaUR-2r7iU.ttf"
12647
+ }
12648
+ },
12649
+ {
12650
+ "kind": "webfonts#webfont",
12651
+ "family": "Tangerine",
12652
+ "category": "handwriting",
12653
+ "variants": [
12654
+ "regular",
12655
+ "700"
12656
+ ],
12657
+ "subsets": [
12658
+ "latin"
12659
+ ],
12660
+ "version": "v7",
12661
+ "lastModified": "2016-04-25",
12662
+ "files": {
12663
+ "regular": "http://fonts.gstatic.com/s/tangerine/v7/DTPeM3IROhnkz7aYG2a9sA.ttf",
12664
+ "700": "http://fonts.gstatic.com/s/tangerine/v7/UkFsr-RwJB_d2l9fIWsx3i3USBnSvpkopQaUR-2r7iU.ttf"
12665
+ }
12666
+ },
12667
+ {
12668
+ "kind": "webfonts#webfont",
12669
+ "family": "Taprom",
12670
+ "category": "display",
12671
+ "variants": [
12672
+ "regular"
12673
+ ],
12674
+ "subsets": [
12675
+ "khmer"
12676
+ ],
12677
+ "version": "v8",
12678
+ "lastModified": "2016-04-25",
12679
+ "files": {
12680
+ "regular": "http://fonts.gstatic.com/s/taprom/v8/-KByU3BaUsyIvQs79qFObg.ttf"
12681
+ }
12682
+ },
12683
+ {
12684
+ "kind": "webfonts#webfont",
12685
+ "family": "Tauri",
12686
+ "category": "sans-serif",
12687
+ "variants": [
12688
+ "regular"
12689
+ ],
12690
+ "subsets": [
12691
+ "latin",
12692
+ "latin-ext"
12693
+ ],
12694
+ "version": "v4",
12695
+ "lastModified": "2016-04-25",
12696
+ "files": {
12697
+ "regular": "http://fonts.gstatic.com/s/tauri/v4/XIWeYJDXNqiVNej0zEqtGg.ttf"
12698
+ }
12699
+ },
12700
+ {
12701
+ "kind": "webfonts#webfont",
12702
+ "family": "Teko",
12703
+ "category": "sans-serif",
12704
+ "variants": [
12705
+ "300",
12706
+ "regular",
12707
+ "500",
12708
+ "600",
12709
+ "700"
12710
+ ],
12711
+ "subsets": [
12712
+ "latin",
12713
+ "devanagari",
12714
+ "latin-ext"
12715
+ ],
12716
+ "version": "v5",
12717
+ "lastModified": "2016-04-25",
12718
+ "files": {
12719
+ "300": "http://fonts.gstatic.com/s/teko/v5/OobFGE9eo24rcBpN6zXDaQ.ttf",
12720
+ "regular": "http://fonts.gstatic.com/s/teko/v5/UtekqODEqZXSN2L-njejpA.ttf",
12721
+ "500": "http://fonts.gstatic.com/s/teko/v5/FQ0duU7gWM4cSaImOfAjBA.ttf",
12722
+ "600": "http://fonts.gstatic.com/s/teko/v5/QDx_i8H-TZ1IK1JEVrqwEQ.ttf",
12723
+ "700": "http://fonts.gstatic.com/s/teko/v5/xKfTxe_SWpH4xU75vmvylA.ttf"
12724
+ }
12725
+ },
12726
+ {
12727
+ "kind": "webfonts#webfont",
12728
+ "family": "Telex",
12729
+ "category": "sans-serif",
12730
+ "variants": [
12731
+ "regular"
12732
+ ],
12733
+ "subsets": [
12734
+ "latin"
12735
+ ],
12736
+ "version": "v4",
12737
+ "lastModified": "2016-04-25",
12738
+ "files": {
12739
+ "regular": "http://fonts.gstatic.com/s/telex/v4/24-3xP9ywYeHOcFU3iGk8A.ttf"
12740
+ }
12741
+ },
12742
+ {
12743
+ "kind": "webfonts#webfont",
12744
+ "family": "Tenali Ramakrishna",
12745
+ "category": "sans-serif",
12746
+ "variants": [
12747
+ "regular"
12748
+ ],
12749
+ "subsets": [
12750
+ "latin",
12751
+ "telugu"
12752
+ ],
12753
+ "version": "v3",
12754
+ "lastModified": "2016-04-25",
12755
+ "files": {
12756
+ "regular": "http://fonts.gstatic.com/s/tenaliramakrishna/v3/M0nTmDqv2M7AGoGh-c946BZak5pSBHqWX6uyVMiMFoA.ttf"
12757
+ }
12758
+ },
12759
+ {
12760
+ "kind": "webfonts#webfont",
12761
+ "family": "Tenor Sans",
12762
+ "category": "sans-serif",
12763
+ "variants": [
12764
+ "regular"
12765
+ ],
12766
+ "subsets": [
12767
+ "latin",
12768
+ "latin-ext",
12769
+ "cyrillic"
12770
+ ],
12771
+ "version": "v7",
12772
+ "lastModified": "2016-04-25",
12773
+ "files": {
12774
+ "regular": "http://fonts.gstatic.com/s/tenorsans/v7/dUBulmjNJJInvK5vL7O9yfesZW2xOQ-xsNqO47m55DA.ttf"
12775
+ }
12776
+ },
12777
+ {
12778
+ "kind": "webfonts#webfont",
12779
+ "family": "Text Me One",
12780
+ "category": "sans-serif",
12781
+ "variants": [
12782
+ "regular"
12783
+ ],
12784
+ "subsets": [
12785
+ "latin",
12786
+ "latin-ext"
12787
+ ],
12788
+ "version": "v4",
12789
+ "lastModified": "2016-04-25",
12790
+ "files": {
12791
+ "regular": "http://fonts.gstatic.com/s/textmeone/v4/9em_3ckd_P5PQkP4aDyDLqCWcynf_cDxXwCLxiixG1c.ttf"
12792
+ }
12793
+ },
12794
+ {
12795
+ "kind": "webfonts#webfont",
12796
+ "family": "The Girl Next Door",
12797
+ "category": "handwriting",
12798
+ "variants": [
12799
+ "regular"
12800
+ ],
12801
+ "subsets": [
12802
+ "latin"
12803
+ ],
12804
+ "version": "v7",
12805
+ "lastModified": "2016-04-25",
12806
+ "files": {
12807
+ "regular": "http://fonts.gstatic.com/s/thegirlnextdoor/v7/cWRA4JVGeEcHGcPl5hmX7kzo0nFFoM60ux_D9BUymX4.ttf"
12808
+ }
12809
+ },
12810
+ {
12811
+ "kind": "webfonts#webfont",
12812
+ "family": "Tienne",
12813
+ "category": "serif",
12814
+ "variants": [
12815
+ "regular",
12816
+ "700",
12817
+ "900"
12818
+ ],
12819
+ "subsets": [
12820
+ "latin"
12821
+ ],
12822
+ "version": "v8",
12823
+ "lastModified": "2016-04-25",
12824
+ "files": {
12825
+ "regular": "http://fonts.gstatic.com/s/tienne/v8/-IIfDl701C0z7-fy2kmGvA.ttf",
12826
+ "700": "http://fonts.gstatic.com/s/tienne/v8/JvoCDOlyOSEyYGRwCyfs3g.ttf",
12827
+ "900": "http://fonts.gstatic.com/s/tienne/v8/FBano5T521OWexj2iRYLMw.ttf"
12828
+ }
12829
+ },
12830
+ {
12831
+ "kind": "webfonts#webfont",
12832
+ "family": "Tillana",
12833
+ "category": "handwriting",
12834
+ "variants": [
12835
+ "regular",
12836
+ "500",
12837
+ "600",
12838
+ "700",
12839
+ "800"
12840
+ ],
12841
+ "subsets": [
12842
+ "latin",
12843
+ "devanagari",
12844
+ "latin-ext"
12845
+ ],
12846
+ "version": "v1",
12847
+ "lastModified": "2016-04-25",
12848
+ "files": {
12849
+ "regular": "http://fonts.gstatic.com/s/tillana/v1/zN0D-jDPsr1HzU3VRFLY5g.ttf",
12850
+ "500": "http://fonts.gstatic.com/s/tillana/v1/gqdUngSIcY9tSla5eCZky_esZW2xOQ-xsNqO47m55DA.ttf",
12851
+ "600": "http://fonts.gstatic.com/s/tillana/v1/fqon6-r15hy8M1cyiYfQBvesZW2xOQ-xsNqO47m55DA.ttf",
12852
+ "700": "http://fonts.gstatic.com/s/tillana/v1/jGARMTxLrMerzTCpGBpMffesZW2xOQ-xsNqO47m55DA.ttf",
12853
+ "800": "http://fonts.gstatic.com/s/tillana/v1/pmTtNH_Ibktj5Cyc1XrP6vesZW2xOQ-xsNqO47m55DA.ttf"
12854
+ }
12855
+ },
12856
+ {
12857
+ "kind": "webfonts#webfont",
12858
+ "family": "Timmana",
12859
+ "category": "sans-serif",
12860
+ "variants": [
12861
+ "regular"
12862
+ ],
12863
+ "subsets": [
12864
+ "latin",
12865
+ "telugu"
12866
+ ],
12867
+ "version": "v1",
12868
+ "lastModified": "2016-04-25",
12869
+ "files": {
12870
+ "regular": "http://fonts.gstatic.com/s/timmana/v1/T25SicsJUJkc2s2sbBsDnA.ttf"
12871
+ }
12872
+ },
12873
+ {
12874
+ "kind": "webfonts#webfont",
12875
+ "family": "Tinos",
12876
+ "category": "serif",
12877
+ "variants": [
12878
+ "regular",
12879
+ "italic",
12880
+ "700",
12881
+ "700italic"
12882
+ ],
12883
+ "subsets": [
12884
+ "latin",
12885
+ "greek",
12886
+ "hebrew",
12887
+ "latin-ext",
12888
+ "cyrillic-ext",
12889
+ "greek-ext",
12890
+ "vietnamese",
12891
+ "cyrillic"
12892
+ ],
12893
+ "version": "v9",
12894
+ "lastModified": "2016-04-25",
12895
+ "files": {
12896
+ "regular": "http://fonts.gstatic.com/s/tinos/v9/EqpUbkVmutfwZ0PjpoGwCg.ttf",
12897
+ "italic": "http://fonts.gstatic.com/s/tinos/v9/slfyzlasCr9vTsaP4lUh9A.ttf",
12898
+ "700": "http://fonts.gstatic.com/s/tinos/v9/vHXfhX8jZuQruowfon93yQ.ttf",
12899
+ "700italic": "http://fonts.gstatic.com/s/tinos/v9/M6kfzvDMM0CdxdraoFpG6vesZW2xOQ-xsNqO47m55DA.ttf"
12900
+ }
12901
+ },
12902
+ {
12903
+ "kind": "webfonts#webfont",
12904
+ "family": "Titan One",
12905
+ "category": "display",
12906
+ "variants": [
12907
+ "regular"
12908
+ ],
12909
+ "subsets": [
12910
+ "latin",
12911
+ "latin-ext"
12912
+ ],
12913
+ "version": "v4",
12914
+ "lastModified": "2016-04-25",
12915
+ "files": {
12916
+ "regular": "http://fonts.gstatic.com/s/titanone/v4/FbvpRvzfV_oipS0De3iAZg.ttf"
12917
+ }
12918
+ },
12919
+ {
12920
+ "kind": "webfonts#webfont",
12921
+ "family": "Titillium Web",
12922
+ "category": "sans-serif",
12923
+ "variants": [
12924
+ "200",
12925
+ "200italic",
12926
+ "300",
12927
+ "300italic",
12928
+ "regular",
12929
+ "italic",
12930
+ "600",
12931
+ "600italic",
12932
+ "700",
12933
+ "700italic",
12934
+ "900"
12935
+ ],
12936
+ "subsets": [
12937
+ "latin",
12938
+ "latin-ext"
12939
+ ],
12940
+ "version": "v4",
12941
+ "lastModified": "2016-04-25",
12942
+ "files": {
12943
+ "200": "http://fonts.gstatic.com/s/titilliumweb/v4/anMUvcNT0H1YN4FII8wprzOdCrLccoxq42eaxM802O0.ttf",
12944
+ "200italic": "http://fonts.gstatic.com/s/titilliumweb/v4/RZunN20OBmkvrU7sA4GPPj4N98U-66ThNJvtgddRfBE.ttf",
12945
+ "300": "http://fonts.gstatic.com/s/titilliumweb/v4/anMUvcNT0H1YN4FII8wpr9ZAkYT8DuUZELiKLwMGWAo.ttf",
12946
+ "300italic": "http://fonts.gstatic.com/s/titilliumweb/v4/RZunN20OBmkvrU7sA4GPPrfzCkqg7ORZlRf2cc4mXu8.ttf",
12947
+ "regular": "http://fonts.gstatic.com/s/titilliumweb/v4/7XUFZ5tgS-tD6QamInJTcTyagQBwYgYywpS70xNq8SQ.ttf",
12948
+ "italic": "http://fonts.gstatic.com/s/titilliumweb/v4/r9OmwyQxrgzUAhaLET_KO-ixohbIP6lHkU-1Mgq95cY.ttf",
12949
+ "600": "http://fonts.gstatic.com/s/titilliumweb/v4/anMUvcNT0H1YN4FII8wpr28K9dEd5Ue-HTQrlA7E2xQ.ttf",
12950
+ "600italic": "http://fonts.gstatic.com/s/titilliumweb/v4/RZunN20OBmkvrU7sA4GPPgOhzTSndyK8UWja2yJjKLc.ttf",
12951
+ "700": "http://fonts.gstatic.com/s/titilliumweb/v4/anMUvcNT0H1YN4FII8wpr2-6tpSbB9YhmWtmd1_gi_U.ttf",
12952
+ "700italic": "http://fonts.gstatic.com/s/titilliumweb/v4/RZunN20OBmkvrU7sA4GPPio3LEw-4MM8Ao2j9wPOfpw.ttf",
12953
+ "900": "http://fonts.gstatic.com/s/titilliumweb/v4/anMUvcNT0H1YN4FII8wpr7L0GmZLri-m-nfoo0Vul4Y.ttf"
12954
+ }
12955
+ },
12956
+ {
12957
+ "kind": "webfonts#webfont",
12958
+ "family": "Trade Winds",
12959
+ "category": "display",
12960
+ "variants": [
12961
+ "regular"
12962
+ ],
12963
+ "subsets": [
12964
+ "latin"
12965
+ ],
12966
+ "version": "v5",
12967
+ "lastModified": "2016-04-25",
12968
+ "files": {
12969
+ "regular": "http://fonts.gstatic.com/s/tradewinds/v5/sDOCVgAxw6PEUi2xdMsoDaCWcynf_cDxXwCLxiixG1c.ttf"
12970
+ }
12971
+ },
12972
+ {
12973
+ "kind": "webfonts#webfont",
12974
+ "family": "Trocchi",
12975
+ "category": "serif",
12976
+ "variants": [
12977
+ "regular"
12978
+ ],
12979
+ "subsets": [
12980
+ "latin",
12981
+ "latin-ext"
12982
+ ],
12983
+ "version": "v4",
12984
+ "lastModified": "2016-04-25",
12985
+ "files": {
12986
+ "regular": "http://fonts.gstatic.com/s/trocchi/v4/uldNPaKrUGVeGCVsmacLwA.ttf"
12987
+ }
12988
+ },
12989
+ {
12990
+ "kind": "webfonts#webfont",
12991
+ "family": "Trochut",
12992
+ "category": "display",
12993
+ "variants": [
12994
+ "regular",
12995
+ "italic",
12996
+ "700"
12997
+ ],
12998
+ "subsets": [
12999
+ "latin"
13000
+ ],
13001
+ "version": "v4",
13002
+ "lastModified": "2016-04-25",
13003
+ "files": {
13004
+ "regular": "http://fonts.gstatic.com/s/trochut/v4/6Y65B0x-2JsnYt16OH5omw.ttf",
13005
+ "italic": "http://fonts.gstatic.com/s/trochut/v4/pczUwr4ZFvC79TgNO5cZng.ttf",
13006
+ "700": "http://fonts.gstatic.com/s/trochut/v4/lWqNOv6ISR8ehNzGLFLnJ_esZW2xOQ-xsNqO47m55DA.ttf"
13007
+ }
13008
+ },
13009
+ {
13010
+ "kind": "webfonts#webfont",
13011
+ "family": "Trykker",
13012
+ "category": "serif",
13013
+ "variants": [
13014
+ "regular"
13015
+ ],
13016
+ "subsets": [
13017
+ "latin",
13018
+ "latin-ext"
13019
+ ],
13020
+ "version": "v5",
13021
+ "lastModified": "2016-04-25",
13022
+ "files": {
13023
+ "regular": "http://fonts.gstatic.com/s/trykker/v5/YiVrVJpBFN7I1l_CWk6yYQ.ttf"
13024
+ }
13025
+ },
13026
+ {
13027
+ "kind": "webfonts#webfont",
13028
+ "family": "Tulpen One",
13029
+ "category": "display",
13030
+ "variants": [
13031
+ "regular"
13032
+ ],
13033
+ "subsets": [
13034
+ "latin"
13035
+ ],
13036
+ "version": "v6",
13037
+ "lastModified": "2016-04-25",
13038
+ "files": {
13039
+ "regular": "http://fonts.gstatic.com/s/tulpenone/v6/lwcTfVIEVxpZLZlWzR5baPesZW2xOQ-xsNqO47m55DA.ttf"
13040
+ }
13041
+ },
13042
+ {
13043
+ "kind": "webfonts#webfont",
13044
+ "family": "Ubuntu",
13045
+ "category": "sans-serif",
13046
+ "variants": [
13047
+ "300",
13048
+ "300italic",
13049
+ "regular",
13050
+ "italic",
13051
+ "500",
13052
+ "500italic",
13053
+ "700",
13054
+ "700italic"
13055
+ ],
13056
+ "subsets": [
13057
+ "latin",
13058
+ "greek",
13059
+ "latin-ext",
13060
+ "cyrillic-ext",
13061
+ "greek-ext",
13062
+ "cyrillic"
13063
+ ],
13064
+ "version": "v9",
13065
+ "lastModified": "2016-04-25",
13066
+ "files": {
13067
+ "300": "http://fonts.gstatic.com/s/ubuntu/v9/7-wH0j2QCTHKgp7vLh9-sQ.ttf",
13068
+ "300italic": "http://fonts.gstatic.com/s/ubuntu/v9/j-TYDdXcC_eQzhhp386SjaCWcynf_cDxXwCLxiixG1c.ttf",
13069
+ "regular": "http://fonts.gstatic.com/s/ubuntu/v9/lhhB5ZCwEkBRbHMSnYuKyA.ttf",
13070
+ "italic": "http://fonts.gstatic.com/s/ubuntu/v9/b9hP8wd30SygxZjGGk4DCQ.ttf",
13071
+ "500": "http://fonts.gstatic.com/s/ubuntu/v9/bMbHEMwSUmkzcK2x_74QbA.ttf",
13072
+ "500italic": "http://fonts.gstatic.com/s/ubuntu/v9/NWdMogIO7U6AtEM4dDdf_aCWcynf_cDxXwCLxiixG1c.ttf",
13073
+ "700": "http://fonts.gstatic.com/s/ubuntu/v9/B7BtHjNYwAp3HgLNagENOQ.ttf",
13074
+ "700italic": "http://fonts.gstatic.com/s/ubuntu/v9/pqisLQoeO9YTDCNnlQ9bf6CWcynf_cDxXwCLxiixG1c.ttf"
13075
+ }
13076
+ },
13077
+ {
13078
+ "kind": "webfonts#webfont",
13079
+ "family": "Ubuntu Condensed",
13080
+ "category": "sans-serif",
13081
+ "variants": [
13082
+ "regular"
13083
+ ],
13084
+ "subsets": [
13085
+ "latin",
13086
+ "greek",
13087
+ "latin-ext",
13088
+ "cyrillic-ext",
13089
+ "greek-ext",
13090
+ "cyrillic"
13091
+ ],
13092
+ "version": "v7",
13093
+ "lastModified": "2016-04-25",
13094
+ "files": {
13095
+ "regular": "http://fonts.gstatic.com/s/ubuntucondensed/v7/DBCt-NXN57MTAFjitYxdrKDbm6fPDOZJsR8PmdG62gY.ttf"
13096
+ }
13097
+ },
13098
+ {
13099
+ "kind": "webfonts#webfont",
13100
+ "family": "Ubuntu Mono",
13101
+ "category": "monospace",
13102
+ "variants": [
13103
+ "regular",
13104
+ "italic",
13105
+ "700",
13106
+ "700italic"
13107
+ ],
13108
+ "subsets": [
13109
+ "latin",
13110
+ "greek",
13111
+ "latin-ext",
13112
+ "cyrillic-ext",
13113
+ "greek-ext",
13114
+ "cyrillic"
13115
+ ],
13116
+ "version": "v6",
13117
+ "lastModified": "2016-04-25",
13118
+ "files": {
13119
+ "regular": "http://fonts.gstatic.com/s/ubuntumono/v6/EgeuS9OtEmA0y_JRo03MQaCWcynf_cDxXwCLxiixG1c.ttf",
13120
+ "italic": "http://fonts.gstatic.com/s/ubuntumono/v6/KAKuHXAHZOeECOWAHsRKA0eOrDcLawS7-ssYqLr2Xp4.ttf",
13121
+ "700": "http://fonts.gstatic.com/s/ubuntumono/v6/ceqTZGKHipo8pJj4molytne1Pd76Vl7zRpE7NLJQ7XU.ttf",
13122
+ "700italic": "http://fonts.gstatic.com/s/ubuntumono/v6/n_d8tv_JOIiYyMXR4eaV9c_zJjSACmk0BRPxQqhnNLU.ttf"
13123
+ }
13124
+ },
13125
+ {
13126
+ "kind": "webfonts#webfont",
13127
+ "family": "Ultra",
13128
+ "category": "serif",
13129
+ "variants": [
13130
+ "regular"
13131
+ ],
13132
+ "subsets": [
13133
+ "latin"
13134
+ ],
13135
+ "version": "v8",
13136
+ "lastModified": "2016-04-25",
13137
+ "files": {
13138
+ "regular": "http://fonts.gstatic.com/s/ultra/v8/OW8uXkOstRADuhEmGOFQLA.ttf"
13139
+ }
13140
+ },
13141
+ {
13142
+ "kind": "webfonts#webfont",
13143
+ "family": "Uncial Antiqua",
13144
+ "category": "display",
13145
+ "variants": [
13146
+ "regular"
13147
+ ],
13148
+ "subsets": [
13149
+ "latin"
13150
+ ],
13151
+ "version": "v4",
13152
+ "lastModified": "2016-04-25",
13153
+ "files": {
13154
+ "regular": "http://fonts.gstatic.com/s/uncialantiqua/v4/F-leefDiFwQXsyd6eaSllqrFJ4O13IHVxZbM6yoslpo.ttf"
13155
+ }
13156
+ },
13157
+ {
13158
+ "kind": "webfonts#webfont",
13159
+ "family": "Underdog",
13160
+ "category": "display",
13161
+ "variants": [
13162
+ "regular"
13163
+ ],
13164
+ "subsets": [
13165
+ "latin",
13166
+ "latin-ext",
13167
+ "cyrillic"
13168
+ ],
13169
+ "version": "v5",
13170
+ "lastModified": "2016-04-25",
13171
+ "files": {
13172
+ "regular": "http://fonts.gstatic.com/s/underdog/v5/gBv9yjez_-5PnTprHWq0ig.ttf"
13173
+ }
13174
+ },
13175
+ {
13176
+ "kind": "webfonts#webfont",
13177
+ "family": "Unica One",
13178
+ "category": "display",
13179
+ "variants": [
13180
+ "regular"
13181
+ ],
13182
+ "subsets": [
13183
+ "latin",
13184
+ "latin-ext"
13185
+ ],
13186
+ "version": "v4",
13187
+ "lastModified": "2016-04-25",
13188
+ "files": {
13189
+ "regular": "http://fonts.gstatic.com/s/unicaone/v4/KbYKlhWMDpatWViqDkNQgA.ttf"
13190
+ }
13191
+ },
13192
+ {
13193
+ "kind": "webfonts#webfont",
13194
+ "family": "UnifrakturCook",
13195
+ "category": "display",
13196
+ "variants": [
13197
+ "700"
13198
+ ],
13199
+ "subsets": [
13200
+ "latin"
13201
+ ],
13202
+ "version": "v8",
13203
+ "lastModified": "2016-04-25",
13204
+ "files": {
13205
+ "700": "http://fonts.gstatic.com/s/unifrakturcook/v8/ASwh69ykD8iaoYijVEU6RrWZkcsCTHKV51zmcUsafQ0.ttf"
13206
+ }
13207
+ },
13208
+ {
13209
+ "kind": "webfonts#webfont",
13210
+ "family": "UnifrakturMaguntia",
13211
+ "category": "display",
13212
+ "variants": [
13213
+ "regular"
13214
+ ],
13215
+ "subsets": [
13216
+ "latin"
13217
+ ],
13218
+ "version": "v7",
13219
+ "lastModified": "2016-04-25",
13220
+ "files": {
13221
+ "regular": "http://fonts.gstatic.com/s/unifrakturmaguntia/v7/7KWy3ymCVR_xfAvvcIXm3-kdNg30GQauG_DE-tMYtWk.ttf"
13222
+ }
13223
+ },
13224
+ {
13225
+ "kind": "webfonts#webfont",
13226
+ "family": "Unkempt",
13227
+ "category": "display",
13228
+ "variants": [
13229
+ "regular",
13230
+ "700"
13231
+ ],
13232
+ "subsets": [
13233
+ "latin"
13234
+ ],
13235
+ "version": "v7",
13236
+ "lastModified": "2016-04-25",
13237
+ "files": {
13238
+ "regular": "http://fonts.gstatic.com/s/unkempt/v7/NLLBeNSspr0RGs71R5LHWA.ttf",
13239
+ "700": "http://fonts.gstatic.com/s/unkempt/v7/V7H-GCl9bgwGwqFqTTgDHvesZW2xOQ-xsNqO47m55DA.ttf"
13240
+ }
13241
+ },
13242
+ {
13243
+ "kind": "webfonts#webfont",
13244
+ "family": "Unlock",
13245
+ "category": "display",
13246
+ "variants": [
13247
+ "regular"
13248
+ ],
13249
+ "subsets": [
13250
+ "latin"
13251
+ ],
13252
+ "version": "v6",
13253
+ "lastModified": "2016-04-25",
13254
+ "files": {
13255
+ "regular": "http://fonts.gstatic.com/s/unlock/v6/rXEQzK7uIAlhoyoAEiMy1w.ttf"
13256
+ }
13257
+ },
13258
+ {
13259
+ "kind": "webfonts#webfont",
13260
+ "family": "Unna",
13261
+ "category": "serif",
13262
+ "variants": [
13263
+ "regular"
13264
+ ],
13265
+ "subsets": [
13266
+ "latin"
13267
+ ],
13268
+ "version": "v8",
13269
+ "lastModified": "2016-04-25",
13270
+ "files": {
13271
+ "regular": "http://fonts.gstatic.com/s/unna/v8/UAS0AM7AmbdCNY_80xyAZQ.ttf"
13272
+ }
13273
+ },
13274
+ {
13275
+ "kind": "webfonts#webfont",
13276
+ "family": "VT323",
13277
+ "category": "monospace",
13278
+ "variants": [
13279
+ "regular"
13280
+ ],
13281
+ "subsets": [
13282
+ "latin"
13283
+ ],
13284
+ "version": "v7",
13285
+ "lastModified": "2016-04-25",
13286
+ "files": {
13287
+ "regular": "http://fonts.gstatic.com/s/vt323/v7/ITU2YQfM073o1iYK3nSOmQ.ttf"
13288
+ }
13289
+ },
13290
+ {
13291
+ "kind": "webfonts#webfont",
13292
+ "family": "Vampiro One",
13293
+ "category": "display",
13294
+ "variants": [
13295
+ "regular"
13296
+ ],
13297
+ "subsets": [
13298
+ "latin",
13299
+ "latin-ext"
13300
+ ],
13301
+ "version": "v7",
13302
+ "lastModified": "2016-04-25",
13303
+ "files": {
13304
+ "regular": "http://fonts.gstatic.com/s/vampiroone/v7/OVDs4gY4WpS5u3Qd1gXRW6CWcynf_cDxXwCLxiixG1c.ttf"
13305
+ }
13306
+ },
13307
+ {
13308
+ "kind": "webfonts#webfont",
13309
+ "family": "Varela",
13310
+ "category": "sans-serif",
13311
+ "variants": [
13312
+ "regular"
13313
+ ],
13314
+ "subsets": [
13315
+ "latin",
13316
+ "latin-ext"
13317
+ ],
13318
+ "version": "v7",
13319
+ "lastModified": "2016-04-25",
13320
+ "files": {
13321
+ "regular": "http://fonts.gstatic.com/s/varela/v7/ON7qs0cKUUixhhDFXlZUjw.ttf"
13322
+ }
13323
+ },
13324
+ {
13325
+ "kind": "webfonts#webfont",
13326
+ "family": "Varela Round",
13327
+ "category": "sans-serif",
13328
+ "variants": [
13329
+ "regular"
13330
+ ],
13331
+ "subsets": [
13332
+ "latin"
13333
+ ],
13334
+ "version": "v6",
13335
+ "lastModified": "2016-04-25",
13336
+ "files": {
13337
+ "regular": "http://fonts.gstatic.com/s/varelaround/v6/APH4jr0uSos5wiut5cpjri3USBnSvpkopQaUR-2r7iU.ttf"
13338
+ }
13339
+ },
13340
+ {
13341
+ "kind": "webfonts#webfont",
13342
+ "family": "Vast Shadow",
13343
+ "category": "display",
13344
+ "variants": [
13345
+ "regular"
13346
+ ],
13347
+ "subsets": [
13348
+ "latin"
13349
+ ],
13350
+ "version": "v6",
13351
+ "lastModified": "2016-04-25",
13352
+ "files": {
13353
+ "regular": "http://fonts.gstatic.com/s/vastshadow/v6/io4hqKX3ibiqQQjYfW0-h6CWcynf_cDxXwCLxiixG1c.ttf"
13354
+ }
13355
+ },
13356
+ {
13357
+ "kind": "webfonts#webfont",
13358
+ "family": "Vesper Libre",
13359
+ "category": "serif",
13360
+ "variants": [
13361
+ "regular",
13362
+ "500",
13363
+ "700",
13364
+ "900"
13365
+ ],
13366
+ "subsets": [
13367
+ "latin",
13368
+ "devanagari",
13369
+ "latin-ext"
13370
+ ],
13371
+ "version": "v7",
13372
+ "lastModified": "2016-04-25",
13373
+ "files": {
13374
+ "regular": "http://fonts.gstatic.com/s/vesperlibre/v7/Cg-TeZFsqV8BaOcoVwzu2C3USBnSvpkopQaUR-2r7iU.ttf",
13375
+ "500": "http://fonts.gstatic.com/s/vesperlibre/v7/0liLgNkygqH6EOtsVjZDsZMQuUSAwdHsY8ov_6tk1oA.ttf",
13376
+ "700": "http://fonts.gstatic.com/s/vesperlibre/v7/0liLgNkygqH6EOtsVjZDsUD2ttfZwueP-QU272T9-k4.ttf",
13377
+ "900": "http://fonts.gstatic.com/s/vesperlibre/v7/0liLgNkygqH6EOtsVjZDsaObDOjC3UL77puoeHsE3fw.ttf"
13378
+ }
13379
+ },
13380
+ {
13381
+ "kind": "webfonts#webfont",
13382
+ "family": "Vibur",
13383
+ "category": "handwriting",
13384
+ "variants": [
13385
+ "regular"
13386
+ ],
13387
+ "subsets": [
13388
+ "latin"
13389
+ ],
13390
+ "version": "v7",
13391
+ "lastModified": "2016-04-25",
13392
+ "files": {
13393
+ "regular": "http://fonts.gstatic.com/s/vibur/v7/xB9aKsUbJo68XP0bAg2iLw.ttf"
13394
+ }
13395
+ },
13396
+ {
13397
+ "kind": "webfonts#webfont",
13398
+ "family": "Vidaloka",
13399
+ "category": "serif",
13400
+ "variants": [
13401
+ "regular"
13402
+ ],
13403
+ "subsets": [
13404
+ "latin"
13405
+ ],
13406
+ "version": "v8",
13407
+ "lastModified": "2016-04-25",
13408
+ "files": {
13409
+ "regular": "http://fonts.gstatic.com/s/vidaloka/v8/C6Nul0ogKUWkx356rrt9RA.ttf"
13410
+ }
13411
+ },
13412
+ {
13413
+ "kind": "webfonts#webfont",
13414
+ "family": "Viga",
13415
+ "category": "sans-serif",
13416
+ "variants": [
13417
+ "regular"
13418
+ ],
13419
+ "subsets": [
13420
+ "latin",
13421
+ "latin-ext"
13422
+ ],
13423
+ "version": "v5",
13424
+ "lastModified": "2016-04-25",
13425
+ "files": {
13426
+ "regular": "http://fonts.gstatic.com/s/viga/v5/uD87gDbhS7frHLX4uL6agg.ttf"
13427
+ }
13428
+ },
13429
+ {
13430
+ "kind": "webfonts#webfont",
13431
+ "family": "Voces",
13432
+ "category": "display",
13433
+ "variants": [
13434
+ "regular"
13435
+ ],
13436
+ "subsets": [
13437
+ "latin",
13438
+ "latin-ext"
13439
+ ],
13440
+ "version": "v5",
13441
+ "lastModified": "2016-04-25",
13442
+ "files": {
13443
+ "regular": "http://fonts.gstatic.com/s/voces/v5/QoBH6g6yKgNIgvL8A2aE2Q.ttf"
13444
+ }
13445
+ },
13446
+ {
13447
+ "kind": "webfonts#webfont",
13448
+ "family": "Volkhov",
13449
+ "category": "serif",
13450
+ "variants": [
13451
+ "regular",
13452
+ "italic",
13453
+ "700",
13454
+ "700italic"
13455
+ ],
13456
+ "subsets": [
13457
+ "latin"
13458
+ ],
13459
+ "version": "v8",
13460
+ "lastModified": "2016-04-25",
13461
+ "files": {
13462
+ "regular": "http://fonts.gstatic.com/s/volkhov/v8/MDIZAofe1T_J3un5Kgo8zg.ttf",
13463
+ "italic": "http://fonts.gstatic.com/s/volkhov/v8/1rTjmztKEpbkKH06JwF8Yw.ttf",
13464
+ "700": "http://fonts.gstatic.com/s/volkhov/v8/L8PbKS-kEoLHm7nP--NCzPesZW2xOQ-xsNqO47m55DA.ttf",
13465
+ "700italic": "http://fonts.gstatic.com/s/volkhov/v8/W6oG0QDDjCgj0gmsHE520C3USBnSvpkopQaUR-2r7iU.ttf"
13466
+ }
13467
+ },
13468
+ {
13469
+ "kind": "webfonts#webfont",
13470
+ "family": "Vollkorn",
13471
+ "category": "serif",
13472
+ "variants": [
13473
+ "regular",
13474
+ "italic",
13475
+ "700",
13476
+ "700italic"
13477
+ ],
13478
+ "subsets": [
13479
+ "latin"
13480
+ ],
13481
+ "version": "v6",
13482
+ "lastModified": "2016-04-25",
13483
+ "files": {
13484
+ "regular": "http://fonts.gstatic.com/s/vollkorn/v6/IiexqYAeh8uII223thYx3w.ttf",
13485
+ "italic": "http://fonts.gstatic.com/s/vollkorn/v6/UuIzosgR1ovBhJFdwVp3fvesZW2xOQ-xsNqO47m55DA.ttf",
13486
+ "700": "http://fonts.gstatic.com/s/vollkorn/v6/gOwQjJVGXlDOONC12hVoBqCWcynf_cDxXwCLxiixG1c.ttf",
13487
+ "700italic": "http://fonts.gstatic.com/s/vollkorn/v6/KNiAlx6phRqXCwnZZG51JAJKKGfqHaYFsRG-T3ceEVo.ttf"
13488
+ }
13489
+ },
13490
+ {
13491
+ "kind": "webfonts#webfont",
13492
+ "family": "Voltaire",
13493
+ "category": "sans-serif",
13494
+ "variants": [
13495
+ "regular"
13496
+ ],
13497
+ "subsets": [
13498
+ "latin"
13499
+ ],
13500
+ "version": "v6",
13501
+ "lastModified": "2016-04-25",
13502
+ "files": {
13503
+ "regular": "http://fonts.gstatic.com/s/voltaire/v6/WvqBzaGEBbRV-hrahwO2cA.ttf"
13504
+ }
13505
+ },
13506
+ {
13507
+ "kind": "webfonts#webfont",
13508
+ "family": "Waiting for the Sunrise",
13509
+ "category": "handwriting",
13510
+ "variants": [
13511
+ "regular"
13512
+ ],
13513
+ "subsets": [
13514
+ "latin"
13515
+ ],
13516
+ "version": "v7",
13517
+ "lastModified": "2016-04-25",
13518
+ "files": {
13519
+ "regular": "http://fonts.gstatic.com/s/waitingforthesunrise/v7/eNfH7kLpF1PZWpsetF-ha9TChrNgrDiT3Zy6yGf3FnM.ttf"
13520
+ }
13521
+ },
13522
+ {
13523
+ "kind": "webfonts#webfont",
13524
+ "family": "Wallpoet",
13525
+ "category": "display",
13526
+ "variants": [
13527
+ "regular"
13528
+ ],
13529
+ "subsets": [
13530
+ "latin"
13531
+ ],
13532
+ "version": "v8",
13533
+ "lastModified": "2016-04-25",
13534
+ "files": {
13535
+ "regular": "http://fonts.gstatic.com/s/wallpoet/v8/hmum4WuBN4A0Z_7367NDIg.ttf"
13536
+ }
13537
+ },
13538
+ {
13539
+ "kind": "webfonts#webfont",
13540
+ "family": "Walter Turncoat",
13541
+ "category": "handwriting",
13542
+ "variants": [
13543
+ "regular"
13544
+ ],
13545
+ "subsets": [
13546
+ "latin"
13547
+ ],
13548
+ "version": "v6",
13549
+ "lastModified": "2016-04-25",
13550
+ "files": {
13551
+ "regular": "http://fonts.gstatic.com/s/walterturncoat/v6/sG9su5g4GXy1KP73cU3hvQplL2YwNeota48DxFlGDUo.ttf"
13552
+ }
13553
+ },
13554
+ {
13555
+ "kind": "webfonts#webfont",
13556
+ "family": "Warnes",
13557
+ "category": "display",
13558
+ "variants": [
13559
+ "regular"
13560
+ ],
13561
+ "subsets": [
13562
+ "latin",
13563
+ "latin-ext"
13564
+ ],
13565
+ "version": "v6",
13566
+ "lastModified": "2016-04-25",
13567
+ "files": {
13568
+ "regular": "http://fonts.gstatic.com/s/warnes/v6/MXG7_Phj4YpzAXxKGItuBw.ttf"
13569
+ }
13570
+ },
13571
+ {
13572
+ "kind": "webfonts#webfont",
13573
+ "family": "Wellfleet",
13574
+ "category": "display",
13575
+ "variants": [
13576
+ "regular"
13577
+ ],
13578
+ "subsets": [
13579
+ "latin",
13580
+ "latin-ext"
13581
+ ],
13582
+ "version": "v4",
13583
+ "lastModified": "2016-04-25",
13584
+ "files": {
13585
+ "regular": "http://fonts.gstatic.com/s/wellfleet/v4/J5tOx72iFRPgHYpbK9J4XQ.ttf"
13586
+ }
13587
+ },
13588
+ {
13589
+ "kind": "webfonts#webfont",
13590
+ "family": "Wendy One",
13591
+ "category": "sans-serif",
13592
+ "variants": [
13593
+ "regular"
13594
+ ],
13595
+ "subsets": [
13596
+ "latin",
13597
+ "latin-ext"
13598
+ ],
13599
+ "version": "v4",
13600
+ "lastModified": "2016-04-25",
13601
+ "files": {
13602
+ "regular": "http://fonts.gstatic.com/s/wendyone/v4/R8CJT2oDXdMk_ZtuHTxoxw.ttf"
13603
+ }
13604
+ },
13605
+ {
13606
+ "kind": "webfonts#webfont",
13607
+ "family": "Wire One",
13608
+ "category": "sans-serif",
13609
+ "variants": [
13610
+ "regular"
13611
+ ],
13612
+ "subsets": [
13613
+ "latin"
13614
+ ],
13615
+ "version": "v7",
13616
+ "lastModified": "2016-04-25",
13617
+ "files": {
13618
+ "regular": "http://fonts.gstatic.com/s/wireone/v7/sRLhaQOQpWnvXwIx0CycQw.ttf"
13619
+ }
13620
+ },
13621
+ {
13622
+ "kind": "webfonts#webfont",
13623
+ "family": "Work Sans",
13624
+ "category": "sans-serif",
13625
+ "variants": [
13626
+ "100",
13627
+ "200",
13628
+ "300",
13629
+ "regular",
13630
+ "500",
13631
+ "600",
13632
+ "700",
13633
+ "800",
13634
+ "900"
13635
+ ],
13636
+ "subsets": [
13637
+ "latin",
13638
+ "latin-ext"
13639
+ ],
13640
+ "version": "v2",
13641
+ "lastModified": "2016-04-25",
13642
+ "files": {
13643
+ "100": "http://fonts.gstatic.com/s/worksans/v2/ZAhtNqLaAViKjGLajtuwWaCWcynf_cDxXwCLxiixG1c.ttf",
13644
+ "200": "http://fonts.gstatic.com/s/worksans/v2/u_mYNr_qYP37m7vgvmIYZy3USBnSvpkopQaUR-2r7iU.ttf",
13645
+ "300": "http://fonts.gstatic.com/s/worksans/v2/FD_Udbezj8EHXbdsqLUply3USBnSvpkopQaUR-2r7iU.ttf",
13646
+ "regular": "http://fonts.gstatic.com/s/worksans/v2/zVvigUiMvx7JVEnrJgc-5Q.ttf",
13647
+ "500": "http://fonts.gstatic.com/s/worksans/v2/Nbre-U_bp6Xktt8cpgwaJC3USBnSvpkopQaUR-2r7iU.ttf",
13648
+ "600": "http://fonts.gstatic.com/s/worksans/v2/z9rX03Xuz9ZNHTMg1_ghGS3USBnSvpkopQaUR-2r7iU.ttf",
13649
+ "700": "http://fonts.gstatic.com/s/worksans/v2/4udXuXg54JlPEP5iKO5AmS3USBnSvpkopQaUR-2r7iU.ttf",
13650
+ "800": "http://fonts.gstatic.com/s/worksans/v2/IQh-ap2Uqs7kl1YINeeEGi3USBnSvpkopQaUR-2r7iU.ttf",
13651
+ "900": "http://fonts.gstatic.com/s/worksans/v2/Hjn0acvjHfjY_vAK9Uc6gi3USBnSvpkopQaUR-2r7iU.ttf"
13652
+ }
13653
+ },
13654
+ {
13655
+ "kind": "webfonts#webfont",
13656
+ "family": "Yanone Kaffeesatz",
13657
+ "category": "sans-serif",
13658
+ "variants": [
13659
+ "200",
13660
+ "300",
13661
+ "regular",
13662
+ "700"
13663
+ ],
13664
+ "subsets": [
13665
+ "latin",
13666
+ "latin-ext"
13667
+ ],
13668
+ "version": "v7",
13669
+ "lastModified": "2016-04-25",
13670
+ "files": {
13671
+ "200": "http://fonts.gstatic.com/s/yanonekaffeesatz/v7/We_iSDqttE3etzfdfhuPRbq92v6XxU4pSv06GI0NsGc.ttf",
13672
+ "300": "http://fonts.gstatic.com/s/yanonekaffeesatz/v7/We_iSDqttE3etzfdfhuPRZlIwXPiNoNT_wxzJ2t3mTE.ttf",
13673
+ "regular": "http://fonts.gstatic.com/s/yanonekaffeesatz/v7/YDAoLskQQ5MOAgvHUQCcLdXn3cHbFGWU4T2HrSN6JF4.ttf",
13674
+ "700": "http://fonts.gstatic.com/s/yanonekaffeesatz/v7/We_iSDqttE3etzfdfhuPRf2R4S6PlKaGXWPfWpHpcl0.ttf"
13675
+ }
13676
+ },
13677
+ {
13678
+ "kind": "webfonts#webfont",
13679
+ "family": "Yantramanav",
13680
+ "category": "sans-serif",
13681
+ "variants": [
13682
+ "100",
13683
+ "300",
13684
+ "regular",
13685
+ "500",
13686
+ "700",
13687
+ "900"
13688
+ ],
13689
+ "subsets": [
13690
+ "latin",
13691
+ "devanagari",
13692
+ "latin-ext"
13693
+ ],
13694
+ "version": "v1",
13695
+ "lastModified": "2016-04-25",
13696
+ "files": {
13697
+ "100": "http://fonts.gstatic.com/s/yantramanav/v1/Rs1I2PF4Z8GAb6qjgvr8wIAWxXGWZ3yJw6KhWS7MxOk.ttf",
13698
+ "300": "http://fonts.gstatic.com/s/yantramanav/v1/HSfbC4Z8I8BZ00wiXeA5bC9-WlPSxbfiI49GsXo3q0g.ttf",
13699
+ "regular": "http://fonts.gstatic.com/s/yantramanav/v1/FwdziO-qWAO8pZg8e376kaCWcynf_cDxXwCLxiixG1c.ttf",
13700
+ "500": "http://fonts.gstatic.com/s/yantramanav/v1/HSfbC4Z8I8BZ00wiXeA5bMCNfqCYlB_eIx7H1TVXe60.ttf",
13701
+ "700": "http://fonts.gstatic.com/s/yantramanav/v1/HSfbC4Z8I8BZ00wiXeA5bHe1Pd76Vl7zRpE7NLJQ7XU.ttf",
13702
+ "900": "http://fonts.gstatic.com/s/yantramanav/v1/HSfbC4Z8I8BZ00wiXeA5bCenaqEuufTBk9XMKnKmgDA.ttf"
13703
+ }
13704
+ },
13705
+ {
13706
+ "kind": "webfonts#webfont",
13707
+ "family": "Yellowtail",
13708
+ "category": "handwriting",
13709
+ "variants": [
13710
+ "regular"
13711
+ ],
13712
+ "subsets": [
13713
+ "latin"
13714
+ ],
13715
+ "version": "v6",
13716
+ "lastModified": "2016-04-25",
13717
+ "files": {
13718
+ "regular": "http://fonts.gstatic.com/s/yellowtail/v6/HLrU6lhCTjXfLZ7X60LcB_esZW2xOQ-xsNqO47m55DA.ttf"
13719
+ }
13720
+ },
13721
+ {
13722
+ "kind": "webfonts#webfont",
13723
+ "family": "Yeseva One",
13724
+ "category": "display",
13725
+ "variants": [
13726
+ "regular"
13727
+ ],
13728
+ "subsets": [
13729
+ "latin",
13730
+ "latin-ext",
13731
+ "cyrillic"
13732
+ ],
13733
+ "version": "v10",
13734
+ "lastModified": "2016-04-25",
13735
+ "files": {
13736
+ "regular": "http://fonts.gstatic.com/s/yesevaone/v10/eenQQxvpzSA80JmisGcgX_esZW2xOQ-xsNqO47m55DA.ttf"
13737
+ }
13738
+ },
13739
+ {
13740
+ "kind": "webfonts#webfont",
13741
+ "family": "Yesteryear",
13742
+ "category": "handwriting",
13743
+ "variants": [
13744
+ "regular"
13745
+ ],
13746
+ "subsets": [
13747
+ "latin"
13748
+ ],
13749
+ "version": "v5",
13750
+ "lastModified": "2016-04-25",
13751
+ "files": {
13752
+ "regular": "http://fonts.gstatic.com/s/yesteryear/v5/dv09hP_ZrdjVOfZQXKXuZvesZW2xOQ-xsNqO47m55DA.ttf"
13753
+ }
13754
+ },
13755
+ {
13756
+ "kind": "webfonts#webfont",
13757
+ "family": "Zeyada",
13758
+ "category": "handwriting",
13759
+ "variants": [
13760
+ "regular"
13761
+ ],
13762
+ "subsets": [
13763
+ "latin"
13764
+ ],
13765
+ "version": "v6",
13766
+ "lastModified": "2016-04-25",
13767
+ "files": {
13768
+ "regular": "http://fonts.gstatic.com/s/zeyada/v6/hmonmGYYFwqTZQfG2nRswQ.ttf"
13769
+ }
13770
+ }
13771
+ ]
13772
+ }
cherry-framework/modules/cherry-customizer/assets/fonts/standard.json ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "kind": "standartfonts#standartfonts",
3
+ "items": [
4
+ {
5
+ "kind": "standartfonts#standartfonts",
6
+ "family": "Arial, Helvetica",
7
+ "category": "sans-serif",
8
+ "variants": [
9
+ "regular",
10
+ "italic",
11
+ "700",
12
+ "700italic"
13
+ ],
14
+ "subsets": ["latin"]
15
+ },
16
+ {
17
+ "kind": "standartfonts#standartfonts",
18
+ "family": "Arial Black, Gadget",
19
+ "category": "sans-serif",
20
+ "variants": [
21
+ "regular",
22
+ "italic",
23
+ "700",
24
+ "700italic"
25
+ ],
26
+ "subsets": ["latin"]
27
+ },
28
+ {
29
+ "kind": "standartfonts#standartfont",
30
+ "family": "Bookman Old Style",
31
+ "category": "serif",
32
+ "variants": [
33
+ "regular",
34
+ "italic",
35
+ "700",
36
+ "700italic"
37
+ ],
38
+ "subsets": ["latin"]
39
+ },
40
+ {
41
+ "kind": "standartfonts#standartfont",
42
+ "family": "Comic Sans MS",
43
+ "category": "cursive",
44
+ "variants": [
45
+ "regular",
46
+ "italic",
47
+ "700",
48
+ "700italic"
49
+ ],
50
+ "subsets": ["latin"]
51
+ },
52
+ {
53
+ "kind": "standartfonts#standartfont",
54
+ "family": "Courier",
55
+ "category": "monospace",
56
+ "variants": [
57
+ "regular",
58
+ "italic",
59
+ "700",
60
+ "700italic"
61
+ ],
62
+ "subsets": ["latin"]
63
+ },
64
+ {
65
+ "kind": "standartfonts#standartfont",
66
+ "family": "Garamond",
67
+ "category": "serif",
68
+ "variants": [
69
+ "regular",
70
+ "italic",
71
+ "700",
72
+ "700italic"
73
+ ],
74
+ "subsets": ["latin"]
75
+ },
76
+ {
77
+ "kind": "standartfonts#standartfont",
78
+ "family": "Georgia",
79
+ "category": "serif",
80
+ "variants": [
81
+ "regular",
82
+ "italic",
83
+ "700",
84
+ "700italic"
85
+ ],
86
+ "subsets": ["latin"]
87
+ },
88
+ {
89
+ "kind": "standartfonts#standartfont",
90
+ "family": "Impact, Charcoal",
91
+ "category": "sans-serif",
92
+ "variants": [
93
+ "regular",
94
+ "italic",
95
+ "700",
96
+ "700italic"
97
+ ],
98
+ "subsets": ["latin"]
99
+ },
100
+ {
101
+ "kind": "standartfonts#standartfont",
102
+ "family": "Lucida Console, Monaco",
103
+ "category": "monospace",
104
+ "variants": [
105
+ "regular",
106
+ "italic",
107
+ "700",
108
+ "700italic"
109
+ ],
110
+ "subsets": ["latin"]
111
+ },
112
+ {
113
+ "kind": "standartfonts#standartfont",
114
+ "family": "Lucida Sans Unicode, Lucida Grande",
115
+ "category": "sans-serif",
116
+ "variants": [
117
+ "regular",
118
+ "italic",
119
+ "700",
120
+ "700italic"
121
+ ],
122
+ "subsets": ["latin"]
123
+ },
124
+ {
125
+ "kind": "standartfonts#standartfont",
126
+ "family": "MS Sans Serif, Geneva",
127
+ "category": "sans-serif",
128
+ "variants": [
129
+ "regular",
130
+ "italic",
131
+ "700",
132
+ "700italic"
133
+ ],
134
+ "subsets": ["latin"]
135
+ },
136
+ {
137
+ "kind": "standartfonts#standartfont",
138
+ "family": "MS Serif, New York",
139
+ "category": "sans-serif",
140
+ "variants": [
141
+ "regular",
142
+ "italic",
143
+ "700",
144
+ "700italic"
145
+ ],
146
+ "subsets": ["latin"]
147
+ },
148
+ {
149
+ "kind": "standartfonts#standartfont",
150
+ "family": "Palatino Linotype, Book Antiqua, Palatino",
151
+ "category": "serif",
152
+ "variants": [
153
+ "regular",
154
+ "italic",
155
+ "700",
156
+ "700italic"
157
+ ],
158
+ "subsets": ["latin"]
159
+ },
160
+ {
161
+ "kind": "standartfonts#standartfont",
162
+ "family": "Tahoma, Geneva",
163
+ "category": "sans-serif",
164
+ "variants": [
165
+ "regular",
166
+ "italic",
167
+ "700",
168
+ "700italic"
169
+ ],
170
+ "subsets": ["latin"]
171
+ },
172
+ {
173
+ "kind": "standartfonts#standartfont",
174
+ "family": "Times New Roman, Times",
175
+ "category": "serif",
176
+ "variants": [
177
+ "regular",
178
+ "italic",
179
+ "700",
180
+ "700italic"
181
+ ],
182
+ "subsets": ["latin"]
183
+ },
184
+ {
185
+ "kind": "standartfonts#standartfont",
186
+ "family": "Trebuchet MS, Helvetica",
187
+ "category": "sans-serif",
188
+ "variants": [
189
+ "regular",
190
+ "italic",
191
+ "700",
192
+ "700italic"
193
+ ],
194
+ "subsets": ["latin"]
195
+ },
196
+ {
197
+ "kind": "standartfonts#standartfont",
198
+ "family": "Verdana, Geneva",
199
+ "category": "sans-serif",
200
+ "variants": [
201
+ "regular",
202
+ "italic",
203
+ "700",
204
+ "700italic"
205
+ ],
206
+ "subsets": ["latin"]
207
+ }
208
+ ]
209
+ }
cherry-framework/modules/cherry-customizer/cherry-customizer.php ADDED
@@ -0,0 +1,1148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Customizer
4
+ * Description: Customizer functionality.
5
+ * Version: 1.1.4
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.1.4
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Customizer' ) ) {
26
+
27
+ /**
28
+ * Contains methods for customizing the theme customization screen.
29
+ *
30
+ * @since 1.0.0
31
+ * @since 1.0.1 Removed `module_dir` and `module_uri` properties.
32
+ */
33
+ class Cherry_Customizer {
34
+
35
+ /**
36
+ * The version of this module.
37
+ *
38
+ * @since 1.0.0
39
+ * @access protected
40
+ * @var string
41
+ */
42
+ protected $version;
43
+
44
+ /**
45
+ * Unique prefix.
46
+ * This is a theme or plugin slug.
47
+ *
48
+ * @since 1.0.0
49
+ * @access protected
50
+ * @var string
51
+ */
52
+ protected $prefix;
53
+
54
+ /**
55
+ * Capability.
56
+ *
57
+ * @since 1.0.0
58
+ * @access protected
59
+ * @var string
60
+ */
61
+ protected $capability;
62
+
63
+ /**
64
+ * Setting type.
65
+ *
66
+ * @since 1.0.0
67
+ * @access protected
68
+ * @var string
69
+ */
70
+ protected $type;
71
+
72
+ /**
73
+ * Options.
74
+ *
75
+ * @since 1.0.0
76
+ * @access protected
77
+ * @var array
78
+ */
79
+ protected $options;
80
+
81
+ /**
82
+ * Core instance.
83
+ *
84
+ * @since 1.0.0
85
+ * @access protected
86
+ * @var object
87
+ */
88
+ protected $core;
89
+
90
+ /**
91
+ * WP_Customize_Manager instance.
92
+ *
93
+ * @since 1.0.0
94
+ * @access protected
95
+ * @var object.
96
+ */
97
+ protected $customize;
98
+
99
+ /**
100
+ * Module directory URI.
101
+ *
102
+ * @since 1.0.0
103
+ * @access protected
104
+ * @var array.
105
+ */
106
+ protected $fonts;
107
+
108
+ /**
109
+ * Module initialization.
110
+ *
111
+ * @since 1.0.0
112
+ * @param object $core Cherry_Core instance.
113
+ * @param array $args Aguments.
114
+ */
115
+
116
+ /*
117
+ * $args = array(
118
+ * 'prefix' => 'unique_prefix', // theme or plugin slug (*).
119
+ * 'capability' => 'edit_theme_options', // (default: `edit_theme_options`).
120
+ * 'type' => 'theme_mod', // `theme_mod` - for themes; `option` - for plugins (default: `theme_mod`).
121
+ * 'options' => array(
122
+ * 'unique_panel_ID' => array(
123
+ * 'title' => esc_html__( 'Panel Title', 'text-domain' ),
124
+ * 'description' => esc_html__( 'Panel Description', 'text-domain' ),
125
+ * 'priority' => 140,
126
+ * 'capability' => '', (optional)
127
+ * 'theme_supports' => '', (optional)
128
+ * 'active_callback' => '', // (optional: is_front_page, is_single)
129
+ * 'type' => 'panel', // panel, section or control (*).
130
+ * ),
131
+ * 'unique_section_ID' => array(
132
+ * 'title' => esc_html__( 'Section Title', 'text-domain' ),
133
+ * 'description' => esc_html__( 'Section Description', 'text-domain' ),
134
+ * 'priority' => 10, (10, 20, 30, ...)
135
+ * 'panel' => 'unique_panel_ID', (*)
136
+ * 'type' => 'section', (*)
137
+ * ),
138
+ * 'unique_control_ID' => array(
139
+ * 'title' => esc_html__( 'Control Title', 'text-domain' ),
140
+ * 'description' => esc_html__( 'Control Description', 'text-domain' ),
141
+ * 'section' => 'unique_section_ID', (*)
142
+ * 'default' => '',
143
+ * 'field' => 'text', // text, textarea, checkbox, radio, select, fonts, hex_color, image, file.
144
+ * 'choices' => array(), // for `select` and `radio` field.
145
+ * 'type' => 'control', (*)
146
+ * 'active_callback' => '', (optional: is_front_page, is_single)
147
+ * 'transport' => 'refresh', // refresh or postMessage (default: refresh)
148
+ * 'sanitize_callback' => '', (optional) Maybe need to use a custom function or sanitization.
149
+ * 'sanitize_js_callback' => '', (optional)
150
+ * ),
151
+ * )
152
+ * );
153
+ */
154
+ /**
155
+ * Cherry customizer class construct.
156
+ */
157
+ public function __construct( $core, $args ) {
158
+ /**
159
+ * Cherry Customizer only works in WordPress 4.0 or later.
160
+ */
161
+ if ( version_compare( $GLOBALS['wp_version'], '4.0', '<' ) ) {
162
+ return;
163
+ }
164
+
165
+ $this->type = ! empty( $args['type'] ) && $this->sanitize_type( $args['type'] ) ? $args['type'] : 'theme_mod';
166
+
167
+ if ( empty( $args['options'] ) || ( ( 'option' === $this->type ) && empty( $args['prefix'] ) ) ) {
168
+ return;
169
+ }
170
+
171
+ $this->prefix = $this->prepare_prefix( $args['prefix'] );
172
+ $this->capability = ! empty( $args['capability'] ) ? $args['capability'] : 'edit_theme_options';
173
+ $this->type = ! empty( $args['type'] ) && $this->sanitize_type( $args['type'] )
174
+ ? $args['type'] : 'theme_mod';
175
+ $this->options = $args['options'];
176
+ $this->core = $core;
177
+ $this->fonts = array();
178
+ $this->version = '1.1.0';
179
+
180
+ add_action( 'customize_register', array( $this, 'register' ) );
181
+
182
+ // Prepare fonts data.
183
+ add_action( 'after_switch_theme', array( $this, 'init_fonts' ), 10 );
184
+ add_action( 'after_switch_theme', array( $this, 'add_options' ), 11 );
185
+
186
+ // Clear fonts data.
187
+ add_action( 'switch_theme', array( $this, 'clear_fonts' ) );
188
+ add_action( 'upgrader_process_complete', array( $this, 'fire_clear_fonts' ), 10, 2 );
189
+
190
+ add_filter( 'cherry_customizer_get_core', array( $this, 'pass_core_into_control' ) );
191
+
192
+ $this->include_custom_controls();
193
+
194
+ }
195
+
196
+ /**
197
+ * Pass current core instance into custom controls
198
+ *
199
+ * @param mixed $core Default core instance (false) or core instance if its not first callback.
200
+ * @return Cherry_Core
201
+ */
202
+ public function pass_core_into_control( $core = false ) {
203
+ return $this->core;
204
+ }
205
+
206
+ /**
207
+ * Include advanced customizer controls classes
208
+ *
209
+ * @since 1.1.0
210
+ * @since 1.1.4 Using dirname( __FILE__ ) instead of __DIR__.
211
+ */
212
+ private function include_custom_controls() {
213
+
214
+ if ( ! class_exists( 'Cherry_WP_Customize_Iconpicker' ) ) {
215
+ require_once( trailingslashit( dirname( __FILE__ ) ) . '/inc/class-cherry-wp-customize-iconpicker.php' );
216
+ }
217
+
218
+ }
219
+
220
+ /**
221
+ * Registeration for a new panel, sections, settings and controls.
222
+ *
223
+ * @since 1.0.0
224
+ * @param object $wp_customize WP_Customize_Manager instance.
225
+ */
226
+ public function register( $wp_customize ) {
227
+
228
+ // Failsafe is safe.
229
+ if ( ! isset( $wp_customize ) ) {
230
+ return;
231
+ }
232
+
233
+ $this->set_customize( $wp_customize );
234
+
235
+ foreach ( (array) $this->options as $id => $option ) {
236
+
237
+ if ( empty( $option['type'] ) ) {
238
+ continue;
239
+ }
240
+
241
+ if ( 'panel' === $option['type'] ) {
242
+ $this->add_panel( $id, $option );
243
+ }
244
+
245
+ if ( 'section' === $option['type'] ) {
246
+ $this->add_section( $id, $option );
247
+ }
248
+
249
+ if ( 'control' === $option['type'] ) {
250
+ $this->add_control( $id, $option );
251
+ }
252
+ }
253
+ }
254
+
255
+ /**
256
+ * Add a customize panel.
257
+ *
258
+ * @since 1.0.0
259
+ * @param number $id Settings ID.
260
+ * @param array $args Panel arguments.
261
+ */
262
+ public function add_panel( $id, $args ) {
263
+ $prefix = $this->prefix . '_';
264
+ $priority = isset( $args['priority'] ) ? $args['priority'] : 160;
265
+ $theme_supports = isset( $args['theme_supports'] ) ? $args['theme_supports'] : '';
266
+ $title = isset( $args['title'] ) ? esc_attr( $args['title'] ) : 'Untitled Panel';
267
+ $description = isset( $args['description'] ) ? esc_attr( $args['description'] ) : '';
268
+ $active_callback = isset( $args['active_callback'] ) ? $this->active_callback( $args['active_callback'] ) : '';
269
+
270
+ $this->customize->add_panel( $prefix . esc_attr( $id ), array(
271
+ 'priority' => $priority,
272
+ 'capability' => $this->capability,
273
+ 'theme_supports' => $theme_supports,
274
+ 'title' => $title,
275
+ 'description' => $description,
276
+ 'active_callback' => $active_callback,
277
+ ) );
278
+ }
279
+
280
+ /**
281
+ * Add a customize section.
282
+ *
283
+ * @since 1.0.0
284
+ * @param array $id Settings ID.
285
+ * @param array $args Section arguments.
286
+ */
287
+
288
+ /**
289
+ * The priorities of the core sections are below:
290
+ *
291
+ * Title ID Priority (Order)
292
+ * Site Title & Tagline title_tagline 20
293
+ * Colors colors 40
294
+ * Header Image header_image 60
295
+ * Background Image background_image 80
296
+ * Navigation nav 100
297
+ * Widgets (Panel) widgets 110
298
+ * Static Front Page static_front_page 120
299
+ */
300
+ public function add_section( $id, $args ) {
301
+ $prefix = $this->prefix . '_';
302
+ $title = isset( $args['title'] ) ? esc_attr( $args['title'] ) : 'Untitled Section';
303
+ $description = isset( $args['description'] ) ? esc_attr( $args['description'] ) : '';
304
+ $panel = isset( $args['panel'] ) ? $prefix . esc_attr( $args['panel'] ) : '';
305
+ $priority = isset( $args['priority'] ) ? $args['priority'] : 160;
306
+ $theme_supports = isset( $args['theme_supports'] ) ? $args['theme_supports'] : '';
307
+ $active_callback = isset( $args['active_callback'] ) ? $this->active_callback( $args['active_callback'] ) : '';
308
+
309
+ $this->customize->add_section( $prefix . esc_attr( $id ), array(
310
+ 'title' => $title,
311
+ 'description' => $description,
312
+ 'panel' => $panel,
313
+ 'priority' => $priority,
314
+ 'capability' => $this->capability,
315
+ 'theme_supports' => $theme_supports,
316
+ 'active_callback' => $active_callback,
317
+ ) );
318
+ }
319
+
320
+ /**
321
+ * Add a customize control.
322
+ *
323
+ * @since 1.0.0
324
+ * @param numder $id Settings ID.
325
+ * @param array $args Control arguments.
326
+ */
327
+ public function add_control( $id, $args ) {
328
+ static $control_priority = 0;
329
+
330
+ $prefix = $this->prefix . '_';
331
+ $section = $this->get_control_section( $args );
332
+ $id = ( 'option' === $this->type ) ? sprintf( '%1$s_options[%2$s]', $this->prefix, esc_attr( $id ) ) : esc_attr( $id );
333
+ $priority = isset( $args['priority'] ) ? $args['priority'] : ++$control_priority;
334
+ $default = isset( $args['default'] ) ? $args['default'] : '';
335
+ $title = isset( $args['title'] ) ? esc_attr( $args['title'] ) : 'Untitled Control';
336
+ $description = isset( $args['description'] ) ? esc_attr( $args['description'] ) : '';
337
+ $transport = isset( $args['transport'] ) ? esc_attr( $args['transport'] ) : 'refresh';
338
+ $field_type = isset( $args['field'] ) ? esc_attr( $args['field'] ) : 'text';
339
+
340
+ $sanitize_callback = isset( $args['sanitize_callback'] ) ? esc_attr( $args['sanitize_callback'] ) : array( $this, 'sanitize_' . $field_type );
341
+ $sanitize_callback = is_callable( $sanitize_callback ) ? $sanitize_callback : 'sanitize_text_field';
342
+ $sanitize_js_callback = isset( $args['sanitize_js_callback'] ) ? esc_attr( $args['sanitize_js_callback'] ) : '';
343
+ $active_callback = isset( $args['active_callback'] ) ? $this->active_callback( $args['active_callback'] ) : '';
344
+
345
+ // Add a customize setting.
346
+ $this->customize->add_setting( $id, array(
347
+ 'type' => $this->type,
348
+ 'capability' => $this->capability,
349
+ 'default' => $default,
350
+ 'transport' => $transport,
351
+ 'sanitize_callback' => $sanitize_callback,
352
+ 'sanitize_js_callback' => $sanitize_js_callback,
353
+ ) );
354
+
355
+ // Prepare arguments for a customize control.
356
+ $control_args = array(
357
+ 'priority' => $priority,
358
+ 'section' => $section,
359
+ 'label' => $title,
360
+ 'description' => $description,
361
+ 'active_callback' => $active_callback,
362
+ 'choices' => '', // select, radio
363
+ );
364
+ $control_class = '';
365
+
366
+ switch ( $field_type ) {
367
+
368
+ case 'text':
369
+ case 'textarea':
370
+ case 'email':
371
+ case 'url':
372
+ case 'password':
373
+ case 'checkbox':
374
+ $control_args = wp_parse_args( array( 'type' => $field_type ), $control_args );
375
+ break;
376
+
377
+ case 'range':
378
+ case 'number':
379
+ $input_attrs = ( isset( $args['input_attrs'] ) ) ? $args['input_attrs'] : array();
380
+ $control_args = wp_parse_args( array( 'type' => $field_type, 'input_attrs' => $input_attrs ), $control_args );
381
+ break;
382
+
383
+ case 'select':
384
+ $choices = ( isset( $args['choices'] ) ) ? $args['choices'] : array();
385
+ $control_args = wp_parse_args( array( 'type' => 'select', 'choices' => $choices ), $control_args );
386
+ break;
387
+
388
+ case 'fonts':
389
+ $choices = ( isset( $args['choices'] ) ) ? $args['choices'] : $this->get_fonts();
390
+ $control_args = wp_parse_args( array( 'type' => 'select', 'choices' => $choices ), $control_args );
391
+ break;
392
+
393
+ case 'radio':
394
+ $choices = ( isset( $args['choices'] ) ) ? $args['choices'] : array();
395
+ $control_args = wp_parse_args( array( 'type' => 'radio', 'choices' => $choices ), $control_args );
396
+ break;
397
+
398
+ case 'hex_color':
399
+ $control_class = 'WP_Customize_Color_Control';
400
+ break;
401
+
402
+ case 'image':
403
+ $control_class = 'WP_Customize_Image_Control';
404
+ break;
405
+
406
+ case 'file':
407
+ $control_class = 'WP_Customize_Upload_Control';
408
+ break;
409
+ case 'iconpicker':
410
+ $control_class = 'Cherry_WP_Customize_Iconpicker';
411
+ $icon_data = ( isset( $args['icon_data'] ) ) ? $args['icon_data'] : array();
412
+ $control_args = wp_parse_args( array( 'icon_data' => $icon_data ), $control_args );
413
+ break;
414
+ default:
415
+ /**
416
+ * Filter arguments for a `$field_type` customize control.
417
+ *
418
+ * @since 1.0.0
419
+ * @param array $control_args Control's arguments.
420
+ * @param string $id Control's ID.
421
+ * @param object $this Cherry_Customizer instance.
422
+ */
423
+ $control_args = apply_filters( 'cherry_customizer_control_args_for_{$field_type}', $control_args, $id, $this );
424
+ break;
425
+ }
426
+
427
+ /**
428
+ * Filter arguments for a customize control.
429
+ *
430
+ * @since 1.0.0
431
+ * @param array $control_args Control's arguments.
432
+ * @param string $id Control's ID.
433
+ * @param object $this Cherry_Customizer instance.
434
+ */
435
+ $control_args = apply_filters( 'cherry_customizer_control_args', $control_args, $id, $this );
436
+
437
+ /**
438
+ * Filter PHP-class name for a customize control (maybe custom).
439
+ *
440
+ * @since 1.0.0
441
+ * @param array $control_args Control's PHP-class name.
442
+ * @param string $id Control's ID.
443
+ * @param object $this Cherry_Customizer instance.
444
+ */
445
+ $control_class = apply_filters( 'cherry_customizer_control_class', $control_class, $id, $this );
446
+
447
+ if ( class_exists( $control_class ) ) {
448
+ $this->customize->add_control( new $control_class( $this->customize, $id, $control_args ) );
449
+ } else {
450
+ $this->customize->add_control( $id, $control_args );
451
+ }
452
+ }
453
+
454
+ /**
455
+ * Get section name from arguments - prefixed, if is custom section, unprefixed - if is core section.
456
+ *
457
+ * @since 1.0.0
458
+ * @param array $args Control arguments.
459
+ * @return string
460
+ */
461
+ public function get_control_section( $args ) {
462
+
463
+ if ( ! isset( $args['section'] ) ) {
464
+ return '';
465
+ }
466
+
467
+ $default_sections = apply_filters( 'cherry_customizer_core_sections', array(
468
+ 'title_tagline',
469
+ 'colors',
470
+ 'header_image',
471
+ 'background_image',
472
+ 'nav',
473
+ 'widgets',
474
+ 'static_front_page',
475
+ ) );
476
+
477
+ if ( in_array( esc_attr( $args['section'] ), $default_sections ) ) {
478
+ return esc_attr( $args['section'] );
479
+ }
480
+
481
+ return $this->prefix . '_' . esc_attr( $args['section'] );
482
+ }
483
+
484
+ /**
485
+ * Retrieve a prefix.
486
+ *
487
+ * @since 1.0.0
488
+ * @return string
489
+ */
490
+ public function prepare_prefix( $prefix ) {
491
+ $prefix = preg_replace( '/\W/', '-', strtolower( $prefix ) );
492
+ $prefix = sanitize_key( $prefix );
493
+
494
+ return $prefix;
495
+ }
496
+
497
+ /**
498
+ * Save WP_Customize_Manager instance to prorerty.
499
+ *
500
+ * @since 1.0.0
501
+ * @param object $customize WP_Customize_Manager instance.
502
+ */
503
+ public function set_customize( $customize ) {
504
+ $this->customize = $customize;
505
+ }
506
+
507
+ /**
508
+ * Retrieve the version number.
509
+ *
510
+ * @since 1.0.0
511
+ * @return string The version number of the module.
512
+ */
513
+ public function get_version() {
514
+ return $this->version;
515
+ }
516
+
517
+ /**
518
+ * Retrieve a option value by ID.
519
+ *
520
+ * @since 1.0.0
521
+ * @param mixed $id Settings ID.
522
+ * @return bool|mixed
523
+ */
524
+ public function get_value( $id, $default = null ) {
525
+
526
+ if ( null === $default ) {
527
+ $default = $this->get_default( $id );
528
+ }
529
+
530
+ if ( 'theme_mod' === $this->type ) {
531
+ return get_theme_mod( $id, $default );
532
+ }
533
+
534
+ if ( 'option' === $this->type ) {
535
+ $options = get_option( $this->prefix . '_options', array() );
536
+
537
+ return isset( $options[ $id ] ) ? $options[ $id ] : $default;
538
+ }
539
+
540
+ return $default;
541
+ }
542
+
543
+ /**
544
+ * Retrieve a default option value.
545
+ *
546
+ * @since 1.0.0
547
+ * @param [string] $id Settings ID.
548
+ * @return mixed
549
+ */
550
+ public function get_default( $id ) {
551
+ return isset( $this->options[ $id ]['default'] ) ? $this->options[ $id ]['default'] : null;
552
+ }
553
+
554
+ /**
555
+ * Whitelist for setting type.
556
+ *
557
+ * @since 1.0.0
558
+ * @param [string] $type Settings type.
559
+ * @return bool
560
+ */
561
+ public function sanitize_type( $type ) {
562
+ return in_array( $type, array( 'theme_mod', 'option' ) );
563
+ }
564
+
565
+ /**
566
+ * Text sanitization callback.
567
+ *
568
+ * - Sanitization: html
569
+ * - Control: text, textarea
570
+ *
571
+ * Sanitization callback for 'html' type text inputs. This callback sanitizes `$html`
572
+ * for HTML allowable in posts.
573
+ *
574
+ * NOTE: wp_filter_post_kses() can be passed directly as `$wp_customize->add_setting()`
575
+ * 'sanitize_callback'. It is wrapped in a callback here merely for example purposes.
576
+ *
577
+ * @author WPTRT <https://github.com/WPTRT>
578
+ * @author Cherry Team <cherryframework@gmail.com>
579
+ * @see wp_filter_post_kses() https://developer.wordpress.org/reference/functions/wp_filter_post_kses/
580
+ * @since 1.0.0
581
+ * @param [string] $html HTML to sanitize.
582
+ * @return string Sanitized HTML.
583
+ */
584
+ public function sanitize_text( $html ) {
585
+ return wp_filter_post_kses( $html );
586
+ }
587
+
588
+ /**
589
+ * Email sanitization callback.
590
+ *
591
+ * - Sanitization: email
592
+ * - Control: text
593
+ *
594
+ * Sanitization callback for 'email' type text controls. This callback sanitizes `$email`
595
+ * as a valid email address.
596
+ *
597
+ * @author WPTRT <https://github.com/WPTRT>
598
+ * @author Cherry Team <cherryframework@gmail.com>
599
+ * @see sanitize_email() https://developer.wordpress.org/reference/functions/sanitize_key/
600
+ * @link sanitize_email() https://codex.wordpress.org/Function_Reference/sanitize_email
601
+ * @since 1.0.0
602
+ * @param [string] $email Email address to sanitize.
603
+ * @param WP_Customize_Setting $setting Setting instance.
604
+ * @return string The sanitized email if not null; otherwise, the setting default.
605
+ */
606
+ public function sanitize_email( $email, $setting ) {
607
+ // Sanitize $input as a hex value without the hash prefix.
608
+ $email = sanitize_email( $email );
609
+
610
+ // If $email is a valid email, return it; otherwise, return the default.
611
+ return ( '' === $email ) ? $setting->default : $email;
612
+ }
613
+
614
+ /**
615
+ * Textarea sanitization callback.
616
+ *
617
+ * @since 1.0.0
618
+ * @param [string] $html HTML to sanitize.
619
+ * @return string Sanitized HTML.
620
+ */
621
+ public function sanitize_textarea( $html ) {
622
+ return $this->sanitize_text( $html );
623
+ }
624
+
625
+ /**
626
+ * Select sanitization callback.
627
+ *
628
+ * - Sanitization: select
629
+ * - Control: select, radio
630
+ *
631
+ * Sanitization callback for 'select' and 'radio' type controls. This callback sanitizes `$input`
632
+ * as a slug, and then validates `$input` against the choices defined for the control.
633
+ *
634
+ * @author WPTRT <https://github.com/WPTRT>
635
+ * @author Cherry Team <cherryframework@gmail.com>
636
+ * @see sanitize_key() https://developer.wordpress.org/reference/functions/sanitize_key/
637
+ * @see $wp_customize->get_control() https://developer.wordpress.org/reference/classes/wp_customize_manager/get_control/
638
+ * @since 1.0.0
639
+ * @param [string] $input Slug to sanitize.
640
+ * @param WP_Customize_Setting $setting Setting instance.
641
+ * @return string Sanitized slug if it is a valid choice; otherwise, the setting default.
642
+ */
643
+ public function sanitize_select( $input, $setting ) {
644
+
645
+ // Ensure input is a slug.
646
+ $input = sanitize_key( $input );
647
+
648
+ // Get list of choices from the control associated with the setting.
649
+ $choices = $setting->manager->get_control( $setting->id )->choices;
650
+
651
+ // If the input is a valid key, return it; otherwise, return the default.
652
+ return ( array_key_exists( $input, $choices ) ? $input : $setting->default );
653
+ }
654
+
655
+ /**
656
+ * Function sanitize_radio
657
+ */
658
+ public function sanitize_radio( $input, $setting ) {
659
+ return $this->sanitize_select( $input, $setting );
660
+ }
661
+
662
+ /**
663
+ * Checkbox sanitization callback.
664
+ *
665
+ * Sanitization callback for 'checkbox' type controls. This callback sanitizes `$checked`
666
+ * as a boolean value, either TRUE or FALSE.
667
+ *
668
+ * @author WPTRT <https://github.com/WPTRT>
669
+ * @author Cherry Team <cherryframework@gmail.com>
670
+ * @since 1.0.0
671
+ * @param bool $checked Whether the checkbox is checked.
672
+ * @return bool Whether the checkbox is checked.
673
+ */
674
+ public function sanitize_checkbox( $checked ) {
675
+ return ( ( isset( $checked ) && true == $checked ) ? true : false );
676
+ }
677
+
678
+ /**
679
+ * HEX Color sanitization callback example.
680
+ *
681
+ * - Sanitization: hex_color
682
+ * - Control: text, WP_Customize_Color_Control
683
+ *
684
+ * Note: sanitize_hex_color_no_hash() can also be used here, depending on whether
685
+ * or not the hash prefix should be stored/retrieved with the hex color value.
686
+ *
687
+ * @author WPTRT <https://github.com/WPTRT>
688
+ * @author Cherry Team <cherryframework@gmail.com>
689
+ * @see sanitize_hex_color() https://developer.wordpress.org/reference/functions/sanitize_hex_color/
690
+ * @link sanitize_hex_color_no_hash() https://developer.wordpress.org/reference/functions/sanitize_hex_color_no_hash/
691
+ * @since 1.0.0
692
+ * @param [string] $hex_color HEX color to sanitize.
693
+ * @param WP_Customize_Setting $setting Setting instance.
694
+ * @return string The sanitized hex color if not null; otherwise, the setting default.
695
+ */
696
+ public function sanitize_hex_color( $hex_color, $setting ) {
697
+ // Sanitize $input as a hex value without the hash prefix.
698
+ $hex_color = sanitize_hex_color( $hex_color );
699
+
700
+ // If $input is a valid hex value, return it; otherwise, return the default.
701
+ return ( '' === $hex_color ) ? $setting->default : $hex_color;
702
+ }
703
+
704
+ /**
705
+ * Image sanitization callback.
706
+ *
707
+ * Checks the image's file extension and mime type against a whitelist. If they're allowed,
708
+ * send back the filename, otherwise, return the setting default.
709
+ *
710
+ * - Sanitization: image file extension
711
+ * - Control: text, WP_Customize_Image_Control
712
+ *
713
+ * @author WPTRT <https://github.com/WPTRT>
714
+ * @author Cherry Team <cherryframework@gmail.com>
715
+ * @see wp_check_filetype() https://developer.wordpress.org/reference/functions/wp_check_filetype/
716
+ * @since 1.0.0
717
+ * @param [string] $image Image filename.
718
+ * @param WP_Customize_Setting $setting Setting instance.
719
+ * @return string The image filename if the extension is allowed; otherwise, the setting default.
720
+ */
721
+ public function sanitize_image( $image, $setting ) {
722
+
723
+ // Allow to correctly remove selected image
724
+ if ( empty( $image ) ) {
725
+ return $image;
726
+ }
727
+
728
+ $mimes = $this->get_image_types();
729
+
730
+ // Return an array with file extension and mime_type.
731
+ $file = wp_check_filetype( $image, $mimes );
732
+
733
+ // If $image has a valid mime_type, return it; otherwise, return the default.
734
+ return ( $file['ext'] ? $image : $setting->default );
735
+ }
736
+
737
+ /**
738
+ * URL sanitization callback.
739
+ *
740
+ * - Sanitization: url
741
+ * - Control: text, url
742
+ *
743
+ * Sanitization callback for 'url' type text inputs. This callback sanitizes `$url` as a valid URL.
744
+ *
745
+ * NOTE: esc_url_raw() can be passed directly as `$wp_customize->add_setting()` 'sanitize_callback'.
746
+ * It is wrapped in a callback here merely for example purposes.
747
+ *
748
+ * @author WPTRT <https://github.com/WPTRT>
749
+ * @author Cherry Team <cherryframework@gmail.com>
750
+ * @see esc_url_raw() https://developer.wordpress.org/reference/functions/esc_url_raw/
751
+ * @since 1.0.0
752
+ * @param [string] $url URL to sanitize.
753
+ * @return string Sanitized URL.
754
+ */
755
+ public function sanitize_url( $url ) {
756
+ return esc_url_raw( $url );
757
+ }
758
+
759
+ /**
760
+ * File URL sanitization callback.
761
+ *
762
+ * @since 1.0.0
763
+ * @param [string] $url File URL to sanitize.
764
+ * @return string Sanitized URL.
765
+ */
766
+ public function sanitize_file( $url ) {
767
+ return $this->sanitize_url( $url );
768
+ }
769
+
770
+ /**
771
+ * Range sanitization callback.
772
+ *
773
+ * - Sanitization: number_range
774
+ * - Control: number, tel
775
+ *
776
+ * Sanitization callback for 'number' or 'tel' type text inputs. This callback sanitizes
777
+ * `$number` as an absolute integer within a defined min-max range.
778
+ *
779
+ * @author WPTRT <https://github.com/WPTRT>
780
+ * @author Cherry Team <cherryframework@gmail.com>
781
+ * @see absint() https://developer.wordpress.org/reference/functions/absint/
782
+ * @since 1.0.0
783
+ * @param int $number Number to check within the numeric range defined by the setting.
784
+ * @param WP_Customize_Setting $setting Setting instance.
785
+ * @return int|string The number, if it is zero or greater and falls within the defined range;
786
+ * otherwise, the setting default.
787
+ */
788
+ public function sanitize_range( $number, $setting ) {
789
+ // Get the input attributes associated with the setting.
790
+ $atts = $setting->manager->get_control( $setting->id )->input_attrs;
791
+
792
+ // Get step.
793
+ $step = ( isset( $atts['step'] ) ? $atts['step'] : 1 );
794
+
795
+ if ( is_float( $step ) ) {
796
+
797
+ // Ensure input is a float value.
798
+ $number = floatval( $number );
799
+ $checker = is_float( $number / $step );
800
+ } else {
801
+
802
+ // Ensure input is an absolute integer.
803
+ $number = absint( $number );
804
+ $checker = is_int( $number / $step );
805
+ }
806
+
807
+ // Get minimum number in the range.
808
+ $min = ( isset( $atts['min'] ) ? $atts['min'] : $number );
809
+
810
+ // Get maximum number in the range.
811
+ $max = ( isset( $atts['max'] ) ? $atts['max'] : $number );
812
+
813
+ // If the number is within the valid range, return it; otherwise, return the default
814
+ return ( $min <= $number && $number <= $max && $checker ? $number : $setting->default );
815
+ }
816
+
817
+ /**
818
+ * Number sanitization callback.
819
+ *
820
+ * @since 1.0.0
821
+ * @param int $number Number to check within the numeric range defined by the setting.
822
+ * @param WP_Customize_Setting $setting Setting instance.
823
+ * @return int|string The number, if it is zero or greater and falls within the defined range;
824
+ * otherwise, the setting default.
825
+ */
826
+ public function sanitize_number( $number, $setting ) {
827
+ return $this->sanitize_range( $number, $setting );
828
+ }
829
+
830
+ /**
831
+ * Retrieve array of image file types.
832
+ *
833
+ * @author WPTRT <https://github.com/WPTRT>
834
+ * @author Cherry Team <cherryframework@gmail.com>
835
+ * @since 1.0.0
836
+ * @return array
837
+ */
838
+ public function get_image_types() {
839
+ /**
840
+ * Filter array of valid image file types.
841
+ *
842
+ * The array includes image mime types that are included in wp_get_mime_types()
843
+ *
844
+ * @since 1.0.0
845
+ * @param array $mimes Image mime types.
846
+ * @param object $this Cherry_Customiser instance.
847
+ */
848
+ return apply_filters( 'cherry_customizer_get_image_types', array(
849
+ 'jpg|jpeg|jpe' => 'image/jpeg',
850
+ 'gif' => 'image/gif',
851
+ 'png' => 'image/png',
852
+ 'bmp' => 'image/bmp',
853
+ 'tif|tiff' => 'image/tiff',
854
+ 'ico' => 'image/x-icon',
855
+ ), $this );
856
+ }
857
+
858
+ /**
859
+ * Fonts initialization.
860
+ * Once add records to the `wp_options` table.
861
+ *
862
+ * @since 1.0.0
863
+ */
864
+ public function init_fonts() {
865
+ $fonts_data = $this->get_fonts_data();
866
+ $fonts_data = (array) $fonts_data;
867
+
868
+ foreach ( $fonts_data as $type => $file ) {
869
+ $data = $this->read_font_file( $file );
870
+ add_option( 'cherry_customiser_fonts_' . $type, $data );
871
+ }
872
+ }
873
+
874
+ /**
875
+ * Prepare fonts.
876
+ *
877
+ * @since 1.0.0
878
+ */
879
+ public function prepare_fonts() {
880
+ $fonts_data = $this->get_fonts_data();
881
+ $fonts_data = (array) $fonts_data;
882
+
883
+ foreach ( $fonts_data as $type => $file ) {
884
+
885
+ $fonts = get_option( 'cherry_customiser_fonts_' . $type, false );
886
+
887
+ if ( false === $fonts ) {
888
+ $fonts = $this->read_font_file( $file );
889
+ update_option( 'cherry_customiser_fonts_' . $type, $fonts );
890
+ }
891
+
892
+ if ( is_array( $fonts ) ) {
893
+ $this->fonts = array_merge( $this->fonts, $this->satizite_font_family( $fonts ) );
894
+ }
895
+ }
896
+ }
897
+
898
+ /**
899
+ * Retrieve array with fonts file path.
900
+ *
901
+ * @since 1.0.0
902
+ * @return array
903
+ */
904
+ public function get_fonts_data() {
905
+ /**
906
+ * Filter array of fonts data.
907
+ *
908
+ * @since 1.0.0
909
+ * @param array $data Set of fonts data.
910
+ * @param object $this Cherry_Customiser instance.
911
+ */
912
+ return apply_filters( 'cherry_customizer_get_fonts_data', array(
913
+ 'standard' => dirname( __FILE__ ) . '/assets/fonts/standard.json',
914
+ 'google' => dirname( __FILE__ ) . '/assets/fonts/google.json',
915
+ ), $this );
916
+ }
917
+
918
+ /**
919
+ * Retrieve array with font-family (for select element).
920
+ *
921
+ * @since 1.0.0
922
+ * @param [string] $type Font type.
923
+ * @return array
924
+ */
925
+ public function get_fonts( $type = '' ) {
926
+
927
+ if ( ! empty( $this->fonts[ $type ] ) ) {
928
+ return $this->fonts[ $type ];
929
+ }
930
+
931
+ if ( ! empty( $this->fonts ) ) {
932
+ return $this->fonts;
933
+ }
934
+
935
+ $this->prepare_fonts( $type );
936
+
937
+ return ! empty( $type ) && isset( $this->fonts[ $type ] ) ? $this->fonts[ $type ] : $this->fonts;
938
+ }
939
+
940
+ /**
941
+ * Retrieve a data from font's file.
942
+ *
943
+ * @since 1.0.0
944
+ * @param string $file File path.
945
+ * @return array Fonts data.
946
+ */
947
+ public function read_font_file( $file ) {
948
+
949
+ if ( ! $this->file_exists( $file ) ) {
950
+ return false;
951
+ }
952
+
953
+ // Read the file.
954
+ $json = $this->get_file( $file );
955
+
956
+ if ( ! $json ) {
957
+ return new WP_Error( 'reading_error', 'Error when reading file' );
958
+ }
959
+
960
+ $content = json_decode( $json, true );
961
+
962
+ return $content['items'];
963
+ }
964
+
965
+ /**
966
+ * Safely checks exists file or not
967
+ *
968
+ * @global object $wp_filesystem
969
+ * @param string $file File path.
970
+ * @return bool
971
+ */
972
+ public function file_exists( $file ) {
973
+
974
+ if ( ! function_exists( 'WP_Filesystem' ) ) {
975
+ include_once( ABSPATH . '/wp-admin/includes/file.php' );
976
+ }
977
+
978
+ WP_Filesystem();
979
+ global $wp_filesystem;
980
+
981
+ if ( $wp_filesystem->abspath() ) {
982
+ return $wp_filesystem->exists( $file );
983
+ } else {
984
+ return file_exists( $file );
985
+ }
986
+ }
987
+
988
+ /**
989
+ * Safely get file content.
990
+ *
991
+ * @global object $wp_filesystem
992
+ * @param string $file File path.
993
+ * @return bool
994
+ */
995
+ public function get_file( $file ) {
996
+
997
+ if ( ! function_exists( 'WP_Filesystem' ) ) {
998
+ include_once( ABSPATH . '/wp-admin/includes/file.php' );
999
+ }
1000
+
1001
+ WP_Filesystem();
1002
+ global $wp_filesystem;
1003
+
1004
+ $result = '';
1005
+
1006
+ if ( $wp_filesystem->abspath() ) {
1007
+ $result = $wp_filesystem->get_contents( $file );
1008
+ } else {
1009
+ $result = Cherry_Toolkit::get_file( $file );
1010
+ }
1011
+
1012
+ return $result;
1013
+ }
1014
+
1015
+ /**
1016
+ * Retrieve a set with `font-family` ( 'foo' => 'foo' ).
1017
+ *
1018
+ * @since 1.0.0
1019
+ * @param array $data All fonts data.
1020
+ * @return array
1021
+ */
1022
+ public function satizite_font_family( $data ) {
1023
+ $keys = array_map( array( $this, '_build_keys' ), $data );
1024
+ $values = array_map( array( $this, '_build_values' ), $data );
1025
+
1026
+ array_filter( $keys );
1027
+ array_filter( $values );
1028
+
1029
+ return array_combine( $keys, $values );
1030
+ }
1031
+
1032
+ /**
1033
+ * Function _build_keys
1034
+ */
1035
+ public function _build_keys( $item ) {
1036
+
1037
+ if ( empty( $item['family'] ) ) {
1038
+ return false;
1039
+ }
1040
+
1041
+ return sprintf( '%1$s, %2$s', $item['family'], $item['category'] );
1042
+ }
1043
+
1044
+ /**
1045
+ * Function _build_values
1046
+ */
1047
+ public function _build_values( $item ) {
1048
+
1049
+ if ( empty( $item['family'] ) ) {
1050
+ return false;
1051
+ }
1052
+
1053
+ return $item['family'];
1054
+ }
1055
+
1056
+ /**
1057
+ * Function add_options
1058
+ */
1059
+ public function add_options() {
1060
+
1061
+ if ( empty( $this->options ) ) {
1062
+ return;
1063
+ }
1064
+
1065
+ $mods = get_theme_mods();
1066
+
1067
+ foreach ( $this->options as $id => $option ) {
1068
+
1069
+ if ( 'control' != $option['type'] ) {
1070
+ continue;
1071
+ }
1072
+
1073
+ if ( isset( $mods[ $id ] ) ) {
1074
+ continue;
1075
+ }
1076
+
1077
+ $mods[ $id ] = $this->get_default( $id );
1078
+ }
1079
+
1080
+ $theme = get_option( 'stylesheet' );
1081
+ update_option( "theme_mods_$theme", $mods );
1082
+ }
1083
+
1084
+ /**
1085
+ * Callback-function for `upgrader_process_complete` hook (for clear fonts data).
1086
+ *
1087
+ * @since 1.0.0
1088
+ * @param WP_Upgrader $updater Upgrader instance.
1089
+ * @param array $data Array of bulk item update data.
1090
+ */
1091
+ public function fire_clear_fonts( $updater, $data ) {
1092
+ $this->clear_fonts();
1093
+ }
1094
+
1095
+ /**
1096
+ * Clear customizer fonts.
1097
+ *
1098
+ * @since 1.0.0
1099
+ */
1100
+ public function clear_fonts() {
1101
+ $fonts_data = $this->get_fonts_data();
1102
+ $fonts_data = (array) $fonts_data;
1103
+
1104
+ foreach ( $fonts_data as $type => $file ) {
1105
+ delete_option( 'cherry_customiser_fonts_' . $type );
1106
+ }
1107
+
1108
+ $this->fonts = array();
1109
+ }
1110
+
1111
+ /**
1112
+ * Handler for custom `active_callback` feature.
1113
+ *
1114
+ * @since 1.0.0
1115
+ * @param [string] $callback Callback-function.
1116
+ * @return mixed
1117
+ */
1118
+ public function active_callback( $callback ) {
1119
+ $callback = esc_attr( $callback );
1120
+
1121
+ if ( is_callable( array( $this, $callback ) ) ) {
1122
+ return array( $this, $callback );
1123
+ }
1124
+
1125
+ return $callback;
1126
+ }
1127
+
1128
+ /**
1129
+ * Is the customizer preview a single post?
1130
+ *
1131
+ * @since 1.0.0
1132
+ * @return bool
1133
+ */
1134
+ public function callback_single() {
1135
+ return is_single();
1136
+ }
1137
+
1138
+ /**
1139
+ * Returns the instance.
1140
+ *
1141
+ * @since 1.0.0
1142
+ * @return object
1143
+ */
1144
+ public static function get_instance( $core, $args ) {
1145
+ return new self( $core, $args );
1146
+ }
1147
+ }
1148
+ }
cherry-framework/modules/cherry-customizer/inc/class-cherry-wp-customize-iconpicker.php ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Iconpicker customizer control
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Modules/Customizer
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
11
+ */
12
+
13
+ if ( class_exists( 'WP_Customize_Control' ) ) {
14
+
15
+ /**
16
+ * Iconpicker control for customizer
17
+ */
18
+ class Cherry_WP_Customize_Iconpicker extends WP_Customize_Control {
19
+
20
+ /**
21
+ * Cherry Core instance
22
+ *
23
+ * @var array
24
+ */
25
+ public $icon_data = array();
26
+
27
+ /**
28
+ * UI instance
29
+ *
30
+ * @var object
31
+ */
32
+ private $iconpicker = null;
33
+
34
+ /**
35
+ * Render the control's content.
36
+ */
37
+ public function render_content() {
38
+ ?>
39
+ <label>
40
+ <span class="customize-control-title">
41
+ <?php echo esc_html( $this->label ); ?>
42
+ </span>
43
+
44
+ </label>
45
+ <?php
46
+ echo str_replace(
47
+ 'id="' . $this->id . '"',
48
+ 'id="' . $this->id . '" ' . $this->get_link(),
49
+ $this->iconpicker->render()
50
+ );
51
+ }
52
+
53
+ /**
54
+ * Enqueue assets
55
+ */
56
+ public function enqueue() {
57
+
58
+ $core = apply_filters( 'cherry_customizer_get_core', false );
59
+ $ui_builder = $core->init_module(
60
+ 'cherry-ui-elements',
61
+ array( 'ui_elements' => array( 'iconpicker' ) )
62
+ );
63
+
64
+ $args = array(
65
+ 'type' => 'iconpicker',
66
+ 'id' => $this->id,
67
+ 'name' => $this->id,
68
+ 'value' => $this->value(),
69
+ 'icon_data' => $this->icon_data,
70
+ );
71
+
72
+ add_action( 'customize_controls_print_styles', array( $this, 'print_sets' ) );
73
+
74
+ $this->iconpicker = $ui_builder->get_ui_element_instance( 'iconpicker', $args );
75
+ $this->iconpicker->enqueue_assets();
76
+ }
77
+
78
+ /**
79
+ * Print JS var with sets data
80
+ *
81
+ * @return void
82
+ */
83
+ public function print_sets() {
84
+ $this->iconpicker->prepare_icon_set();
85
+ UI_Iconpicker::$printed = false;
86
+ $this->iconpicker->print_icon_set();
87
+ }
88
+ }
89
+
90
+ }
cherry-framework/modules/cherry-dynamic-css/assets/cherry-css-collector.js ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Handler for CSS Collector
3
+ */
4
+ function CherryCSSCollector() {
5
+
6
+ 'use strict';
7
+
8
+ var style,
9
+ collectedCSS = window.CherryCollectedCSS;
10
+
11
+ if ( undefined !== collectedCSS ) {
12
+
13
+ style = document.createElement( 'style' );
14
+
15
+ style.setAttribute( 'title', collectedCSS.title );
16
+ style.setAttribute( 'type', collectedCSS.type );
17
+
18
+ style.textContent = collectedCSS.css;
19
+
20
+ document.head.appendChild( style );
21
+ }
22
+ }
23
+
24
+ CherryCSSCollector();
cherry-framework/modules/cherry-dynamic-css/assets/min/cherry-css-collector.min.js ADDED
@@ -0,0 +1 @@
 
1
+ function CherryCSSCollector(){"use strict";var t,e=window.CherryCollectedCSS;void 0!==e&&(t=document.createElement("style"),t.setAttribute("title",e.title),t.setAttribute("type",e.type),t.textContent=e.css,document.head.appendChild(t))}CherryCSSCollector();
cherry-framework/modules/cherry-dynamic-css/cherry-dynamic-css.php ADDED
@@ -0,0 +1,478 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Dynamic CSS
4
+ * Description: CSS parser which uses variables & functions for CSS code optimization
5
+ * Version: 1.2.0
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.2.0
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Dynamic_Css' ) ) {
26
+
27
+ /**
28
+ * Dynamic CSS parser
29
+ */
30
+ class Cherry_Dynamic_Css {
31
+
32
+ /**
33
+ * Module arguments
34
+ *
35
+ * @var array
36
+ */
37
+ public $args = array();
38
+
39
+ /**
40
+ * Core instance
41
+ *
42
+ * @var object
43
+ */
44
+ public $core = null;
45
+
46
+ /**
47
+ * Holder for processed variables array
48
+ *
49
+ * @var array
50
+ */
51
+ public $variables = null;
52
+
53
+ /**
54
+ * Variable pattern
55
+ *
56
+ * @var array
57
+ */
58
+ public $var_pattern = '/\$(([-_a-zA-Z0-9]+)(\[[\'\"]*([-_a-zA-Z0-9]+)[\'\"]*\])?({([a-z%]+)})?)/';
59
+
60
+ /**
61
+ * Function pattern
62
+ *
63
+ * @var array
64
+ */
65
+ public $func_pattern = '/@(([a-zA-Z_]+)\(([^@\)]*)?\))/';
66
+
67
+ /**
68
+ * Collector instance holder
69
+ *
70
+ * @since 1.2.0
71
+ * @var object
72
+ */
73
+ public static $collector = null;
74
+
75
+ /**
76
+ * Constructor for the module
77
+ */
78
+ function __construct( $core, $args ) {
79
+
80
+ $this->core = $core;
81
+ $this->args = wp_parse_args( $args, array(
82
+ 'prefix' => 'blank',
83
+ 'type' => 'theme_mod',
84
+ 'single' => true,
85
+ 'css_files' => null,
86
+ 'options' => array(),
87
+ ) );
88
+
89
+ add_action( 'wp_head', array( $this, 'print_inline_css' ), 99 );
90
+
91
+ $this->init_collector();
92
+ }
93
+
94
+ /**
95
+ * Initalize CSS collector class
96
+ *
97
+ * @since 1.2.0
98
+ * @return bool
99
+ */
100
+ public function init_collector() {
101
+
102
+ if ( null !== self::$collector ) {
103
+ return true;
104
+ }
105
+
106
+ require_once 'inc/class-cherry-dynamic-css-collector.php';
107
+
108
+ ob_start();
109
+ include 'assets/min/cherry-css-collector.min.js';
110
+ $handler = ob_get_clean();
111
+
112
+ self::$collector = Cherry_Dynamic_Css_Collector::get_instance( $handler );
113
+ add_action( 'wp_footer', array( self::$collector, 'print_style' ), 11 );
114
+ add_action( 'wp_footer', array( self::$collector, 'add_js_handler' ), 11 );
115
+
116
+ return true;
117
+
118
+ }
119
+
120
+ /**
121
+ * Add new style to collector
122
+ *
123
+ * @since 1.2.0
124
+ * @param string $selector CSS selector to add styles for.
125
+ * @param array $style Styles array to add.
126
+ * @param array $media Media breakpoints.
127
+ * @return void
128
+ */
129
+ public function add_style( $selector, $style = array(), $media = array() ) {
130
+ if ( ! $selector ) {
131
+ return;
132
+ }
133
+ self::$collector->add_style( $selector, $style, $media );
134
+ }
135
+
136
+ /**
137
+ * Get CSS variables into array
138
+ *
139
+ * @since 1.0.0
140
+ * @return array dynamic CSS variables
141
+ */
142
+ public function get_css_varaibles() {
143
+
144
+ if ( null !== $this->variables ) {
145
+ return $this->variables;
146
+ }
147
+
148
+ $variables = $this->get_standard_vars();
149
+ $var_list = ! empty( $this->args['options'] ) ? $this->args['options'] : array();
150
+
151
+ /**
152
+ * Filter options names list to use it as varaibles
153
+ *
154
+ * @since 1.0.0
155
+ * @param array $var_list default variables list.
156
+ * @param array $this->args module arguments.
157
+ */
158
+ $var_list = apply_filters( 'cherry_css_var_list', $var_list, $this->args );
159
+
160
+ if ( empty( $var_list ) ) {
161
+ return $variables;
162
+ }
163
+
164
+ $custom_vars = array();
165
+
166
+ foreach ( $var_list as $var ) {
167
+ $custom_vars[ $var ] = $this->get_setting( $var );
168
+ }
169
+
170
+ $variables = array_merge( $variables, $custom_vars );
171
+
172
+ /**
173
+ * Filter result variables list with values
174
+ *
175
+ * @since 1.0.0
176
+ * @param array $variables default variables list.
177
+ * @param array $this->args module arguments.
178
+ */
179
+ $this->variables = apply_filters( 'cherry_css_variables', $variables, $this->args );
180
+
181
+ return $this->variables;
182
+ }
183
+
184
+ /**
185
+ * Get current setting by name
186
+ *
187
+ * @since 1.0.0
188
+ * @return mixed
189
+ */
190
+ public function get_setting( $name ) {
191
+
192
+ $type = $this->args['type'];
193
+
194
+ if ( 'theme_mod' == $type ) {
195
+ $setting = get_theme_mod( $name );
196
+ return $setting;
197
+ }
198
+
199
+ if ( true != $this->args['single'] ) {
200
+ $setting = get_option( $name );
201
+ return $setting;
202
+ }
203
+
204
+ $settings = get_option( $this->args['prefix'] );
205
+
206
+ if ( ! empty( $settings ) && isset( $settings[ $name ] ) ) {
207
+ return $settings[ $name ];
208
+ }
209
+
210
+ return false;
211
+
212
+ }
213
+
214
+ /**
215
+ * Get standard WordPress variables from customizer - header image, background image etc.
216
+ *
217
+ * @since 1.0.0
218
+ * @return array
219
+ */
220
+ public function get_standard_vars() {
221
+
222
+ $standard_vars = array(
223
+ 'header_image',
224
+ 'background_image',
225
+ 'background_repeat',
226
+ 'background_position_x',
227
+ 'background_attachment',
228
+ );
229
+
230
+ $result = array();
231
+
232
+ foreach ( $standard_vars as $var ) {
233
+ $result[ $var ] = get_theme_mod( $var );
234
+ }
235
+
236
+ return $result;
237
+
238
+ }
239
+
240
+ /**
241
+ * Get avaliable functions into array
242
+ *
243
+ * @since 1.0.0
244
+ * @return array dynamic CSS variables
245
+ */
246
+ public function get_css_functions() {
247
+
248
+ require_once 'inc/class-cherry-dynamic-css-utilities.php';
249
+ $utilities = Cherry_Dynamic_Css_Utilities::get_instance();
250
+
251
+ $func_list = array(
252
+ 'darken' => array( $utilities, 'color_darken' ),
253
+ 'lighten' => array( $utilities, 'color_lighten' ),
254
+ 'contrast' => array( $utilities, 'color_contrast' ),
255
+ 'alpha' => array( $utilities, 'color_alpha' ),
256
+ 'background' => array( $utilities, 'background_css' ),
257
+ 'typography' => array( $utilities, 'get_typography_css' ),
258
+ 'box' => array( $utilities, 'get_box_model_css' ),
259
+ 'emph' => array( $utilities, 'element_emphasis' ),
260
+ 'font_family' => array( $utilities, 'typography_font_family' ),
261
+ 'font_size' => array( $utilities, 'typography_size' ),
262
+ 'container_compare' => array( $utilities, 'container_width_compare' ),
263
+ 'sum' => array( $utilities, 'simple_sum' ),
264
+ 'diff' => array( $utilities, 'simple_diff' ),
265
+ 'menu_toogle_endpoint' => array( $utilities, 'menu_toogle_endpoint' ),
266
+ );
267
+
268
+ /**
269
+ * Filter available CSS functions list
270
+ *
271
+ * @since 1.0.0
272
+ * @param array $func_list default functions list.
273
+ * @param array $this->args module arguments.
274
+ */
275
+ return apply_filters( 'cherry_css_func_list', $func_list, $this->args );
276
+
277
+ }
278
+
279
+ /**
280
+ * Parse CSS string and replasce varaibles and functions
281
+ *
282
+ * @since 1.0.0
283
+ * @param [type] $css CSS to parse.
284
+ * @return string
285
+ */
286
+ public function parse( $css ) {
287
+
288
+ $replce_vars = preg_replace_callback( $this->var_pattern, array( $this, 'replace_vars' ), $css );
289
+ $replace_func = preg_replace_callback( $this->func_pattern, array( $this, 'replace_func' ), $replce_vars );
290
+
291
+ $result = preg_replace( '/\t|\r|\n|\s{2,}/', '', $replace_func );
292
+
293
+ return $result;
294
+
295
+ }
296
+
297
+ /**
298
+ * Print inline CSS after current theme stylesheet
299
+ *
300
+ * @since 1.0.0
301
+ * @return void|bool false
302
+ */
303
+ public function print_inline_css() {
304
+
305
+ if ( ! $this->args['css_files'] ) {
306
+ return false;
307
+ }
308
+
309
+ if ( ! is_array( $this->args['css_files'] ) ) {
310
+ $this->args['css_files'] = array( $this->args['css_files'] );
311
+ }
312
+
313
+ ob_start();
314
+
315
+ foreach ( $this->args['css_files'] as $file ) {
316
+
317
+ if ( ! file_exists( $file ) ) {
318
+ continue;
319
+ }
320
+
321
+ include $file;
322
+
323
+ }
324
+
325
+ /**
326
+ * Allow to include custom dynamic CSS files
327
+ *
328
+ * @since 1.0.0
329
+ * @param array $this->args Current dynamic CSS arguments array.
330
+ * @param array $this->core Current core instance.
331
+ */
332
+ do_action( 'cherry_dynamic_css_include_custom_files', $this->args, $this->core );
333
+
334
+ $css = ob_get_clean();
335
+ $parsed_css = $this->parse( $css );
336
+
337
+ /**
338
+ * Filter parsed dynamic CSS
339
+ *
340
+ * @since 1.0.0
341
+ * @param string $parsed_css default functions list.
342
+ * @param array $this->args module arguments.
343
+ */
344
+ $parsed_css = apply_filters( 'cherry_dynamic_css_parsed_styles', $parsed_css, $this->args );
345
+
346
+ printf( '<style type="text/css">%s</style>', $parsed_css );
347
+
348
+ }
349
+
350
+ /**
351
+ * Callback function to replace CSS vars
352
+ *
353
+ * @since 1.0.0
354
+ * @param [string] $matches founded vars.
355
+ */
356
+ function replace_vars( $matches ) {
357
+
358
+ $not_found = '/* Variable not found */';
359
+
360
+ // check if variable name found
361
+ if ( empty( $matches[2] ) ) {
362
+ return $not_found;
363
+ }
364
+
365
+ $variables = $this->get_css_varaibles();
366
+
367
+ // check if var exists
368
+ if ( ! array_key_exists( $matches[2], $variables ) ) {
369
+ return $not_found;
370
+ }
371
+
372
+ $val = $variables[ $matches[2] ];
373
+
374
+ $maybe_units = '';
375
+
376
+ // check if we need to add units after value
377
+ if ( ! empty( $matches[6] ) ) {
378
+ $maybe_units = $matches[6];
379
+ }
380
+
381
+ // check if we search for array val
382
+ if ( ! empty( $matches[4] ) && is_array( $val ) && isset( $val[ $matches[4] ] ) ) {
383
+ return $val[ $matches[4] ] . $maybe_units;
384
+ }
385
+
386
+ if ( ! is_array( $val ) ) {
387
+ return $val . $maybe_units;
388
+ } else {
389
+ return $matches[0];
390
+ }
391
+
392
+ }
393
+
394
+ /**
395
+ * Callback function to replace CSS functions
396
+ *
397
+ * @since 1.0.0
398
+ * @param [string] $matches founded dunction.
399
+ */
400
+ function replace_func( $matches ) {
401
+
402
+ $not_found = '/* Function does not exist */';
403
+
404
+ // check if functions name found
405
+ if ( empty( $matches[2] ) ) {
406
+ return $not_found;
407
+ }
408
+
409
+ $functions = $this->get_css_functions();
410
+
411
+ // check if function exists and is not CSS @media query
412
+ if ( ! array_key_exists( $matches[2], $functions ) && 'media' !== $matches[2] ) {
413
+ return $not_found;
414
+ } elseif ( 'media' == $matches[2] ) {
415
+ return $matches[0];
416
+ }
417
+
418
+ $function = $functions[ $matches[2] ];
419
+ $args = isset( $matches[3] ) ? $matches[3] : array();
420
+
421
+ if ( empty( $args ) ) {
422
+ $result = call_user_func( $function );
423
+ return $result;
424
+ }
425
+
426
+ if ( 'font_family' == $matches[2] ) {
427
+ $result = call_user_func( $function, $args );
428
+ return $result;
429
+ }
430
+
431
+ $args = str_replace( ' ', '', $args );
432
+ $args = explode( ',', $args );
433
+
434
+ if ( ! is_callable( $function ) ) {
435
+ return $not_found;
436
+ }
437
+
438
+ if ( ! empty( $args ) ) {
439
+ $args = array_map( array( $this, 'prepare_args' ), $args );
440
+ }
441
+
442
+ $result = call_user_func_array( $function, $args );
443
+
444
+ return $result;
445
+
446
+ }
447
+
448
+ /**
449
+ * Filter user function arguments
450
+ *
451
+ * @since 4.0.0
452
+ */
453
+ function prepare_args( $item ) {
454
+
455
+ $name = str_replace( '$', '', $item );
456
+ $variables = $this->get_css_varaibles();
457
+
458
+ if ( ! array_key_exists( $name, $variables ) ) {
459
+
460
+ return $item;
461
+ }
462
+
463
+ return $variables[ $name ];
464
+
465
+ }
466
+
467
+ /**
468
+ * Returns the instance.
469
+ *
470
+ * @since 1.0.0
471
+ * @return object
472
+ */
473
+ public static function get_instance( $core, $args ) {
474
+ return new self( $core, $args );
475
+ }
476
+ }
477
+
478
+ }
cherry-framework/modules/cherry-dynamic-css/inc/class-cherry-dynamic-css-collector.php ADDED
@@ -0,0 +1,281 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Dynamic CSS collector class.
4
+ *
5
+ * @package Cherry_Framework
6
+ * @author Cherry Team <cherryframework@gmail.com>
7
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
8
+ * @link http://www.cherryframework.com/
9
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
10
+ */
11
+
12
+ // If this file is called directly, abort.
13
+ if ( ! defined( 'WPINC' ) ) {
14
+ die;
15
+ }
16
+
17
+ if ( ! class_exists( 'Cherry_Dynamic_Css_Collector' ) ) {
18
+
19
+ /**
20
+ * Define Cherry_Dynamic_Css_Collector class
21
+ */
22
+ class Cherry_Dynamic_Css_Collector {
23
+
24
+ /**
25
+ * A reference to an instance of this class.
26
+ *
27
+ * @since 1.2.0
28
+ * @var object
29
+ */
30
+ private static $instance = null;
31
+
32
+ /**
33
+ * Array with sorted css
34
+ *
35
+ * @var array
36
+ */
37
+ public static $sorted_css = array();
38
+
39
+ /**
40
+ * Apropriate JS handle name
41
+ *
42
+ * @var string
43
+ */
44
+ public static $js_handle = 'cherry-js-core';
45
+
46
+ /**
47
+ * Passed handler file content
48
+ *
49
+ * @var string
50
+ */
51
+ public static $handler_file = null;
52
+
53
+ /**
54
+ * Set handler file on construct
55
+ */
56
+ function __construct( $handler_file = null ) {
57
+ self::$handler_file = $handler_file;
58
+ }
59
+
60
+ /**
61
+ * Add new style to collector
62
+ *
63
+ * @param string $selector CSS selector to add styles for.
64
+ * @param array $style Styles array to add.
65
+ * @param array $media Media breakpoints.
66
+ * @return void
67
+ */
68
+ public function add_style( $selector, $style = array(), $media = array() ) {
69
+
70
+ $this->prepare_rule(
71
+ $selector,
72
+ array(
73
+ 'style' => $style,
74
+ 'media' => $media,
75
+ )
76
+ );
77
+
78
+ }
79
+
80
+ /**
81
+ * Return JS handle name
82
+ *
83
+ * @return string
84
+ */
85
+ public function get_handle() {
86
+ return apply_filters( 'cherry_dynamic_css_collector_handle', self::$js_handle );
87
+ }
88
+
89
+ /**
90
+ * Add inline JS handler
91
+ *
92
+ * @return void
93
+ */
94
+ public function add_js_handler() {
95
+
96
+ if ( ! self::$handler_file ) {
97
+ return;
98
+ }
99
+
100
+ wp_add_inline_script( $this->get_handle(), self::$handler_file );
101
+ }
102
+
103
+ /**
104
+ * Print grabbed CSS
105
+ *
106
+ * @return void
107
+ */
108
+ public function print_style() {
109
+
110
+ self::$sorted_css = apply_filters(
111
+ 'cherry_dynamic_css_collected_styles',
112
+ self::$sorted_css
113
+ );
114
+
115
+ if ( empty( self::$sorted_css ) || ! is_array( self::$sorted_css ) ) {
116
+ return;
117
+ }
118
+
119
+ ob_start();
120
+
121
+ do_action( 'cherry_dynamic_css_before_print_collected' );
122
+
123
+ array_walk( self::$sorted_css, array( $this, 'print_breakpoint' ) );
124
+
125
+ do_action( 'cherry_dynamic_css_after_print_collected' );
126
+
127
+ $styles = ob_get_clean();
128
+
129
+ $localize_var = apply_filters( 'cherry_dynamic_css_collector_localize_object', array(
130
+ 'type' => 'text/css',
131
+ 'title' => 'cherry-collected-dynamic-style',
132
+ 'css' => $styles,
133
+ ) );
134
+
135
+ wp_localize_script( $this->get_handle(), 'CherryCollectedCSS', $localize_var );
136
+
137
+ }
138
+
139
+ /**
140
+ * Print single breakpoint
141
+ *
142
+ * @param array $rules Rules array.
143
+ * @param string $breakpoint Breakpoint name.
144
+ * @return void
145
+ */
146
+ public function print_breakpoint( $rules, $breakpoint ) {
147
+
148
+ if ( empty( $rules ) ) {
149
+ return;
150
+ }
151
+
152
+ if ( 'all' !== $breakpoint ) {
153
+ echo '@' . $breakpoint . ' {';
154
+ }
155
+
156
+ do_action( 'cherry_dynamic_css_breakpoint_start', $breakpoint );
157
+
158
+ array_walk( $rules, array( $this, 'print_rules' ) );
159
+
160
+ do_action( 'cherry_dynamic_css_breakpoint_end', $breakpoint );
161
+
162
+ if ( 'all' !== $breakpoint ) {
163
+ echo '}';
164
+ }
165
+
166
+ }
167
+
168
+ /**
169
+ * Print rules for selector.
170
+ *
171
+ * @param array $rule Single rule.
172
+ * @param string $selector Selector name.
173
+ * @return void
174
+ */
175
+ public function print_rules( $rule, $selector ) {
176
+
177
+ echo $selector . ' {';
178
+
179
+ do_action( 'cherry_dynamic_css_rule_start', $selector );
180
+
181
+ array_walk( $rule, array( $this, 'print_property' ) );
182
+
183
+ do_action( 'cherry_dynamic_css_rule_end', $selector );
184
+
185
+ echo '}';
186
+
187
+ }
188
+
189
+ /**
190
+ * Print single rule.
191
+ *
192
+ * @param string $value Property value.
193
+ * @param string $name Property name.
194
+ * @return void
195
+ */
196
+ public function print_property( $value, $name ) {
197
+ printf( '%1$s:%2$s; ', $name, $value );
198
+ }
199
+
200
+ /**
201
+ * Print passed rule.
202
+ *
203
+ * @param string $selector Selector name.
204
+ * @param array $rule CSS rule data.
205
+ * @return void|bool
206
+ */
207
+ public function prepare_rule( $selector, $rule ) {
208
+
209
+ $rule = array_merge( array(
210
+ 'style' => array(),
211
+ 'media' => array(),
212
+ ), $rule );
213
+
214
+ if ( empty( $rule['style'] ) ) {
215
+ return false;
216
+ }
217
+
218
+ $breakpoint = $this->breakpoint_name( $rule['media'] );
219
+
220
+ if ( ! isset( self::$sorted_css[ $breakpoint ] ) ) {
221
+ self::$sorted_css[ $breakpoint ] = array();
222
+ }
223
+
224
+ if ( isset( self::$sorted_css[ $breakpoint ][ $selector ] ) ) {
225
+ self::$sorted_css[ $breakpoint ][ $selector ] = array_merge(
226
+ self::$sorted_css[ $breakpoint ][ $selector ],
227
+ $rule['style']
228
+ );
229
+ } else {
230
+ self::$sorted_css[ $breakpoint ][ $selector ] = $rule['style'];
231
+ }
232
+
233
+ }
234
+
235
+ /**
236
+ * Generate media rule name
237
+ *
238
+ * @param array $media Media breakpoints.
239
+ * @return string
240
+ */
241
+ public function breakpoint_name( $media ) {
242
+
243
+ $has_media = false;
244
+ $min = '';
245
+ $max = '';
246
+
247
+ if ( ! empty( $media['min'] ) ) {
248
+ $has_media = true;
249
+ $min = sprintf( '(min-width: %1$s)', esc_attr( $media['min'] ) );
250
+ }
251
+
252
+ if ( ! empty( $media['max'] ) ) {
253
+ $sep = true === $has_media ? ' and ' : '';
254
+ $has_media = true;
255
+ $max = sprintf( '(max-width: %1$s)', esc_attr( $media['max'] ) );
256
+ }
257
+
258
+ if ( ! $has_media ) {
259
+ return 'all';
260
+ }
261
+
262
+ return sprintf( 'media %1$s%3$s%2$s', $min, $max, $sep );
263
+ }
264
+
265
+ /**
266
+ * Returns the instance.
267
+ *
268
+ * @since 1.2.0
269
+ * @return object
270
+ */
271
+ public static function get_instance( $handler_file = null ) {
272
+
273
+ // If the single instance hasn't been set, set it now.
274
+ if ( null == self::$instance ) {
275
+ self::$instance = new self( $handler_file );
276
+ }
277
+ return self::$instance;
278
+ }
279
+ }
280
+
281
+ }
cherry-framework/modules/cherry-dynamic-css/inc/class-cherry-dynamic-css-utilities.php ADDED
@@ -0,0 +1,841 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Define CSS functions callbacks
4
+ *
5
+ * @package package_name
6
+ * @author Cherry Team
7
+ * @license GPL-3.0+
8
+ */
9
+
10
+ // If this file is called directly, abort.
11
+ if ( ! defined( 'WPINC' ) ) {
12
+ die;
13
+ }
14
+
15
+ if ( ! class_exists( 'Cherry_Dynamic_Css_Utilities' ) ) {
16
+
17
+ /**
18
+ * Define Cherry_Dynamic_Css_Utilities class
19
+ */
20
+ class Cherry_Dynamic_Css_Utilities {
21
+
22
+ /**
23
+ * A reference to an instance of this class.
24
+ *
25
+ * @since 1.0.0
26
+ * @var object
27
+ */
28
+ private static $instance = null;
29
+
30
+ /**
31
+ * Make passed color darken.
32
+ *
33
+ * @since 1.0.0
34
+ * @param [string] $color HEX or RGB(A) color value.
35
+ * @param [float] $darken Darken percent (0-100).
36
+ * @return string Processed color.
37
+ */
38
+ public function color_darken( $color, $darken = 0 ) {
39
+
40
+ if ( ! $color ) {
41
+ return false;
42
+ }
43
+
44
+ $prepared_data = $this->prepare_color_mod( $color, $darken );
45
+
46
+ if ( ! $prepared_data || ! is_array( $prepared_data ) ) {
47
+ return false;
48
+ }
49
+
50
+ $r = $prepared_data['r'];
51
+ $g = $prepared_data['g'];
52
+ $b = $prepared_data['b'];
53
+ $a = $prepared_data['a'];
54
+ $percent = $prepared_data['percent'];
55
+
56
+ // Calc darken vals.
57
+ $r = round( $r - 255 * $percent, 0 );
58
+ $g = round( $g - 255 * $percent, 0 );
59
+ $b = round( $b - 255 * $percent, 0 );
60
+
61
+ $r = $r < 0 ? 0 : $r;
62
+ $g = $g < 0 ? 0 : $g;
63
+ $b = $b < 0 ? 0 : $b;
64
+
65
+ if ( false !== $a ) {
66
+ return sprintf( 'rgba(%s,%s,%s,%s)', $r, $g, $b, $a );
67
+ } else {
68
+ return sprintf( 'rgb(%s,%s,%s)', $r, $g, $b );
69
+ }
70
+ }
71
+
72
+ /**
73
+ * Make passed color lighten.
74
+ *
75
+ * @since 1.0.0
76
+ * @param [string] $color HEX or RGB(A) color value.
77
+ * @param [float] $lighten Lighten percent (0-100).
78
+ * @return string Processed color.
79
+ */
80
+ public function color_lighten( $color, $lighten = 0 ) {
81
+
82
+ if ( ! $color ) {
83
+ return false;
84
+ }
85
+
86
+ $prepared_data = $this->prepare_color_mod( $color, $lighten );
87
+
88
+ if ( ! $prepared_data || ! is_array( $prepared_data ) ) {
89
+ return false;
90
+ }
91
+
92
+ $r = $prepared_data['r'];
93
+ $g = $prepared_data['g'];
94
+ $b = $prepared_data['b'];
95
+ $a = $prepared_data['a'];
96
+ $percent = $prepared_data['percent'];
97
+
98
+ // Calc lighten vals
99
+ $r = round( $r + 255 * $percent, 0 );
100
+ $g = round( $g + 255 * $percent, 0 );
101
+ $b = round( $b + 255 * $percent, 0 );
102
+
103
+ $r = $r > 255 ? 255 : $r;
104
+ $g = $g > 255 ? 255 : $g;
105
+ $b = $b > 255 ? 255 : $b;
106
+
107
+ if ( false !== $a ) {
108
+ return sprintf( 'rgba(%s,%s,%s,%s)', $r, $g, $b, $a );
109
+ } else {
110
+ return sprintf( 'rgb(%s,%s,%s)', $r, $g, $b );
111
+ }
112
+ }
113
+
114
+ /**
115
+ * Convert passed color into RGBa with passed opacity.
116
+ *
117
+ * @since 1.0.0
118
+ * @param [string] $color Color to convert.
119
+ * @param [integer] $opacity Opacity.
120
+ * @return string
121
+ */
122
+ public function color_alpha( $color, $opacity = 100 ) {
123
+
124
+ if ( ! $color ) {
125
+ return false;
126
+ }
127
+
128
+ $prepared_data = $this->prepare_color_mod( $color, 100 );
129
+
130
+ if ( ! $prepared_data || ! is_array( $prepared_data ) ) {
131
+ return false;
132
+ }
133
+
134
+ $r = $prepared_data['r'];
135
+ $g = $prepared_data['g'];
136
+ $b = $prepared_data['b'];
137
+ $a = intval( $opacity ) / 100;
138
+
139
+ return sprintf( 'rgba(%s,%s,%s,%s)', $r, $g, $b, $a );
140
+ }
141
+
142
+ /**
143
+ * Select contrast color for passed from 2 proposed.
144
+ *
145
+ * 1st proposed color must be light - it will selected if passed color is dark,
146
+ * 2nd selected if passed is light, so it must be darken.
147
+ *
148
+ * @since 1.0.0
149
+ * @param [string] $color Color to get contrast for.
150
+ * @param [string] $if_dark Return this if we had dark color.
151
+ * @param [string] $if_light Return this if we had light color.
152
+ * @return string Color.
153
+ */
154
+ public function color_contrast( $color, $if_dark = '#ffffff', $if_light = '#000000' ) {
155
+
156
+ if ( ! $color ) {
157
+ return false;
158
+ }
159
+
160
+ $prepared_data = $this->prepare_color_mod( $color, 100 );
161
+
162
+ if ( ! $prepared_data || ! is_array( $prepared_data ) ) {
163
+ return false;
164
+ }
165
+
166
+ $r = $prepared_data['r'];
167
+ $g = $prepared_data['g'];
168
+ $b = $prepared_data['b'];
169
+
170
+ $luminance = 0.299 * $r + 0.587 * $g + 0.114 * $b;
171
+
172
+ if ( $luminance >= 128 ) {
173
+ return $if_light;
174
+ } else {
175
+ return $if_dark;
176
+ }
177
+ }
178
+
179
+ /**
180
+ * Prepare color to modify.
181
+ *
182
+ * Bring passed color and change percent to array
183
+ * with R, G, B color values, opacity (if provided)
184
+ * and change percentage.
185
+ *
186
+ * @since 1.0.0
187
+ * @param [string] $color HEX or RGB(A) color value.
188
+ * @param [float] $percent Modify percent (0-100).
189
+ * @return array Prepared color and modify percent.
190
+ */
191
+ public function prepare_color_mod( $color, $percent = 0 ) {
192
+ $is_rgba = ( false !== strpos( $color, 'rgba' ) ) ? true : false;
193
+ $is_rgb = ( false !== strpos( $color, 'rgb' ) && false === $is_rgba ) ? true : false;
194
+ $is_hex = ( false === $is_rgba && false === $is_rgb ) ? true : false;
195
+
196
+ $percent = round( ( double ) $percent / 100, 4 );
197
+
198
+ if ( $is_hex && '#' == $color[0] ) {
199
+ $color = substr( $color, 1 );
200
+ }
201
+
202
+ // Prepare hex color.
203
+ if ( $is_hex && strlen( $color ) == 6 ) {
204
+ list( $r, $g, $b ) = array( $color[0] . $color[1], $color[2] . $color[3], $color[4] . $color[5] );
205
+ } elseif ( $is_hex && strlen( $color ) == 3 ) {
206
+ list( $r, $g, $b ) = array( $color[0] . $color[0], $color[1] . $color[1], $color[2] . $color[2] );
207
+ } elseif ( $is_hex ) {
208
+ return false;
209
+ }
210
+
211
+ if ( $is_hex ) {
212
+ $r = hexdec( $r );
213
+ $g = hexdec( $g );
214
+ $b = hexdec( $b );
215
+ }
216
+
217
+ $color = str_replace( ' ', '', $color );
218
+
219
+ // Prepare RGBA.
220
+ if ( $is_rgba ) {
221
+ preg_match( '/rgba\((.*)\)/', $color, $matches );
222
+ if ( ! is_array( $matches ) || empty( $matches[1] ) ) {
223
+ return false;
224
+ }
225
+ list( $r, $g, $b, $a ) = explode( ',', $matches[1] );
226
+ }
227
+
228
+ // Prepare RGB.
229
+ if ( $is_rgb ) {
230
+ preg_match( '/rgb\((.*)\)/', $color, $matches );
231
+ if ( ! is_array( $matches ) || empty( $matches[1] ) ) {
232
+ return false;
233
+ }
234
+ list( $r, $g, $b ) = explode( ',', $matches[1] );
235
+ }
236
+
237
+ $result = array(
238
+ 'r' => $r,
239
+ 'g' => $g,
240
+ 'b' => $b,
241
+ 'a' => isset( $a ) ? $a : false,
242
+ 'percent' => $percent,
243
+ );
244
+
245
+ return $result;
246
+ }
247
+
248
+ /**
249
+ * Get background CSS by bg data from options and selector.
250
+ * If passed multiplie images - returns retina ready CSS.
251
+ *
252
+ * @since 1.0.0
253
+ * @param [string] $selector CSS selector to apply bg for.
254
+ * @param [array] $data data-array from options.
255
+ * @return string
256
+ */
257
+ public function get_background_css( $selector, $data ) {
258
+
259
+ if ( ! $selector ) {
260
+ return;
261
+ }
262
+
263
+ if ( ! is_array( $data ) ) {
264
+ return;
265
+ }
266
+
267
+ if ( empty( $data['image'] ) && empty( $data['color'] ) ) {
268
+ return;
269
+ }
270
+
271
+ $standard_bg = cherry_prepare_background( $data );
272
+
273
+ if ( empty( $data['image'] ) ) {
274
+ $standard_bg .= 'background-image:none;';
275
+ return $selector . '{' . $standard_bg . '}';
276
+ }
277
+
278
+ $images = explode( ',', $data['image'] );
279
+
280
+ $property_format = "%1$s {background-image: url(%2$s);%3$s}";
281
+
282
+ if ( 1 == count( $images ) && wp_attachment_is_image( $images[0] ) ) {
283
+
284
+ $img = wp_get_attachment_image_src( $images[0], 'full' );
285
+ $result = sprintf( $property_format, $selector, $img[0], $standard_bg );
286
+
287
+ return $result;
288
+ }
289
+
290
+ $img1x = null;
291
+ $img2x = null;
292
+ $width1x = 0;
293
+ $count = 2;
294
+
295
+ for ( $i = 0; $i < $count; $i++ ) {
296
+
297
+ if ( ( ! isset( $images[ $i ] ) ) || ( ! wp_attachment_is_image( $images[ $i ] ) ) ) {
298
+ continue;
299
+ }
300
+
301
+ $img = wp_get_attachment_image_src( $images[ $i ], 'full' );
302
+
303
+ if ( ! is_array( $img ) ) {
304
+ continue;
305
+ }
306
+
307
+ $img_url = $img[0];
308
+ $img_width = intval( $img[1] );
309
+
310
+ if ( null == $img1x ) {
311
+ $img1x = $img_url;
312
+ $img2x = $img_url;
313
+ $width1x = $img_width;
314
+ } elseif ( $img_width > $width1x ) {
315
+ $img2x = $img_url;
316
+ } else {
317
+ $img1x = $img_url;
318
+ }
319
+ }
320
+
321
+ $bg1 = sprintf( $property_format, $selector, $img1x, $standard_bg );
322
+ $bg2 = sprintf( $property_format, $selector, $img2x, '' );
323
+ $result = $bg1 . ' @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {' . $bg2 . '}';
324
+
325
+ return $result;
326
+ }
327
+
328
+ /**
329
+ * Sanitizes a hex color.
330
+ *
331
+ * Always adds hash to color use `sanitize_hex_color` if exist.
332
+ *
333
+ * @since 1.0.0
334
+ * @param [string] $color Maybe HEX color.
335
+ * @return string|null Sanitized color.
336
+ */
337
+ public function sanitize_hex_color( $color ) {
338
+ $color = ltrim( $color, '#' );
339
+ $color = '#' . $color;
340
+
341
+ if ( '' === $color ) {
342
+ return '';
343
+ }
344
+
345
+ if ( function_exists( 'sanitize_hex_color' ) ) {
346
+ return sanitize_hex_color( $color );
347
+ }
348
+
349
+ // 3 or 6 hex digits, or the empty string.
350
+ if ( preg_match( '|^#([A-Fa-f0-9]{3}){1,2}$|', $color ) ) {
351
+ return $color;
352
+ }
353
+
354
+ return null;
355
+ }
356
+
357
+ /**
358
+ * Implode background properties array into CSS string.
359
+ *
360
+ * @since 1.0.0
361
+ * @param [array] $data Background data-array.
362
+ * @return string Set of background rules.
363
+ */
364
+ public function prepare_background( $data ) {
365
+
366
+ if ( ! is_array( $data ) ) {
367
+ return;
368
+ }
369
+
370
+ unset( $data['image'] );
371
+
372
+ $result = '';
373
+ $format = 'background-%s:%s;';
374
+
375
+ foreach ( $data as $prop => $value ) {
376
+
377
+ if ( ! $value ) {
378
+ continue;
379
+ }
380
+
381
+ switch ( $prop ) {
382
+ case 'color':
383
+ $value = $this->sanitize_hex_color( $value );
384
+ break;
385
+
386
+ case 'position':
387
+ $value = str_replace( '-', ' ', $value );
388
+ break;
389
+ }
390
+
391
+ $result .= sprintf( $format, $prop, $value );
392
+ }
393
+
394
+ return $result;
395
+ }
396
+
397
+ /**
398
+ * Implode typography data array from options into CSS string.
399
+ *
400
+ * @since 1.0.0
401
+ * @param [array] $data Typography parameters array from options.
402
+ * @param [array] $mod Optional parameter - pass function name and arg to modify values inside typography array.
403
+ * @return string Font, letter-spacing, text-align, color CSS properties string.
404
+ */
405
+ public function cherry_get_typography_css( $data, $mod = array() ) {
406
+
407
+ if ( ! is_array( $data ) || empty( $data ) ) {
408
+ return;
409
+ }
410
+
411
+ $defaults = array(
412
+ 'family' => '',
413
+ 'style' => '',
414
+ 'color' => '',
415
+ 'size' => '',
416
+ 'lineheight' => '',
417
+ 'letterspacing' => '',
418
+ 'align' => '',
419
+ );
420
+
421
+ $data = wp_parse_args( $data, $defaults );
422
+
423
+ $result = array();
424
+
425
+ if ( '' !== $data['letterspacing'] ) {
426
+ $units = '0' != $data['letterspacing'] ? 'px' : '';
427
+ $result[] = 'letter-spacing:' . $data['letterspacing'] . $units;
428
+ }
429
+
430
+ if ( 'notdefined' != $data['align'] ) {
431
+ $result[] = 'text-align:' . $data['align'];
432
+ }
433
+
434
+ if ( '' != $data['color'] ) {
435
+ $color = $this->sanitize_hex_color( $data['color'] );
436
+
437
+ if ( 1 < count( $mod ) && ( in_array( $mod[0], array( 'cherry_colors_lighten', 'cherry_colors_darken' ) ) ) ) {
438
+ $color = $mod[0]( $color, $mod[1] );
439
+ }
440
+
441
+ $result[] = 'color:' . $color;
442
+ }
443
+
444
+ $family = stripcslashes( $data['family'] );
445
+ $family = explode( ',', $family );
446
+
447
+ array_walk( $family, array( $this, 'typography_prepare_family' ) );
448
+
449
+ $family[] = ! empty( $data['category'] ) ? $data['category'] : 'sans-serif';
450
+ $family = array_unique( $family );
451
+
452
+ $font_style = false;
453
+ $font_weight = false;
454
+ $font_size = $data['size'] . 'px';
455
+ $line_height = $data['lineheight'] . 'px';
456
+
457
+ $font_family = implode( ', ', $family );
458
+
459
+ preg_match( '/^(\d*)(\w*)/i', $data['style'], $matches );
460
+
461
+ if ( is_array( $matches ) ) {
462
+ $font_style = ( 'regular' != $matches[2] ) ? $matches[2] : false;
463
+ $font_weight = $matches[1];
464
+ }
465
+
466
+ $font = array(
467
+ $font_style,
468
+ $font_weight,
469
+ $font_size . '/' . $line_height,
470
+ $font_family,
471
+ );
472
+
473
+ $font = implode( ' ', array_filter( $font ) );
474
+
475
+ $result[] = 'font:' . ltrim( $font );
476
+
477
+ $result = implode( ';', $result ) . ';';
478
+
479
+ return $result;
480
+ }
481
+
482
+ /**
483
+ * Prepare font family for passing into typography function.
484
+ *
485
+ * @since 4.0.5
486
+ * @param [string] $item Array item.
487
+ * @param [int] $index Array item index.
488
+ * @return void
489
+ */
490
+ public function typography_prepare_family( &$item, $index ) {
491
+ $item = trim( $item );
492
+
493
+ if ( strpos( $item, ' ' ) ) {
494
+ $item = '"' . $item . '"';
495
+ }
496
+ }
497
+
498
+ /**
499
+ * Get box model CSS from layout editor option.
500
+ *
501
+ * @since 1.0.0
502
+ * @param [array] $data Layout parameters array from options.
503
+ * @param [array] $mod Optional parameter - pass function name and arg to modify values inside layout array.
504
+ * @return string Indents, border etc.
505
+ */
506
+ public function cherry_get_box_model_css( $data, $mod = array() ) {
507
+
508
+ if ( ! is_array( $data ) || empty( $data ) ) {
509
+ return;
510
+ }
511
+
512
+ $defaults = array(
513
+ 'position' => array(),
514
+ 'margin' => array(),
515
+ 'border' => array(),
516
+ 'padding' => array(),
517
+ 'container' => array(),
518
+ );
519
+
520
+ $box_defaults = array(
521
+ 'top' => '',
522
+ 'right' => '',
523
+ 'bottom' => '',
524
+ 'left' => '',
525
+ );
526
+
527
+ $data = wp_parse_args( $data, $defaults );
528
+
529
+ $result = '';
530
+
531
+ // Prepare postion
532
+ $data['position'] = array_filter( $data['position'] );
533
+ if ( ! empty( $data['position'] ) ) {
534
+
535
+ $data['position'] = array_intersect_key( $data['position'], $box_defaults );
536
+
537
+ $parser_data = array(
538
+ 'prefix' => '',
539
+ 'allowed' => $box_defaults,
540
+ );
541
+
542
+ array_walk( $data['position'], 'cherry_prepare_box_item', $parser_data );
543
+
544
+ $result .= implode( ';', array_filter( $data['position'] ) ) . ';';
545
+ }
546
+
547
+ // Prepare indents.
548
+ $result .= cherry_prepare_css_indents( $data['margin'], 'margin' );
549
+ $result .= cherry_prepare_css_indents( $data['padding'], 'padding' );
550
+
551
+ // Prepare borders
552
+ if ( ! empty( $data['border'] ) ) {
553
+
554
+ $border_style = ! empty( $data['border']['style'] ) ? $data['border']['style'] : '';
555
+ $border_color = ! empty( $data['border']['color'] ) ? $data['border']['color'] : '';
556
+ $border_radius = ! empty( $data['border']['radius'] ) ? $data['border']['radius'] : '';
557
+
558
+ if ( '' != $border_radius ) {
559
+ $result .= 'border-radius:' . $border_radius . ';';
560
+ }
561
+
562
+ $border_format = 'border-%1$s:%2$s %3$s %4$s;';
563
+
564
+ foreach ( $data['border'] as $property => $value ) {
565
+
566
+ if ( ! array_key_exists( $property, $box_defaults ) ) {
567
+ continue;
568
+ }
569
+
570
+ if ( empty( $value ) ) {
571
+ continue;
572
+ }
573
+
574
+ $result .= sprintf(
575
+ $border_format,
576
+ $property, $value, $border_style, $border_color
577
+ );
578
+ }
579
+ }
580
+
581
+ // Prepare dimensions.
582
+ if ( ! empty( $data['container']['width'] ) ) {
583
+ $result .= 'width:' . $data['container']['width'] . ';';
584
+ }
585
+
586
+ if ( ! empty( $data['container']['height'] ) ) {
587
+ $result .= 'height:' . $data['container']['height'] . ';';
588
+ }
589
+
590
+ return $result;
591
+ }
592
+
593
+ /**
594
+ * Service function to grab CSS indents from data array into string.
595
+ *
596
+ * @since 1.0.0
597
+ * @param [array] $data data-array.
598
+ * @param [string] $property CSS property.
599
+ * @return string
600
+ */
601
+ public function cherry_prepare_css_indents( $data, $property ) {
602
+
603
+ if ( empty( $data ) ) {
604
+ return;
605
+ }
606
+
607
+ $box_defaults = array(
608
+ 'top' => '',
609
+ 'right' => '',
610
+ 'bottom' => '',
611
+ 'left' => '',
612
+ );
613
+
614
+ $data = array_intersect_key( $data, $box_defaults );
615
+ $data = array_filter( $data );
616
+
617
+ if ( 4 == count( $data ) ) {
618
+ $result = $property . ':' . implode( ' ', $data ) . ';';
619
+ return $result;
620
+ }
621
+
622
+ $parser_data = array(
623
+ 'prefix' => $property,
624
+ 'allowed' => $box_defaults,
625
+ );
626
+
627
+ array_walk( $data, 'cherry_prepare_box_item', $parser_data );
628
+
629
+ $result = implode( ';', array_filter( $data ) ) . ';';
630
+
631
+ return $result;
632
+ }
633
+
634
+ /**
635
+ * Service callback function for.
636
+ *
637
+ * @since 1.0.0
638
+ * @param [string] $item Position value.
639
+ * @param [string] $key Position key.
640
+ * @param [array] $data Array of allowed positions and property prefix.
641
+ * @return void
642
+ */
643
+ public function cherry_prepare_box_item( &$item, $key, $data ) {
644
+
645
+ if ( ! array_key_exists( $key, $data['allowed'] ) ) {
646
+ $item = false;
647
+ return;
648
+ }
649
+
650
+ if ( empty( $item ) ) {
651
+ $item = false;
652
+ return;
653
+ }
654
+
655
+ $prefix = '';
656
+
657
+ if ( ! empty( $data['prefix'] ) ) {
658
+ $prefix = $data['prefix'] . '-';
659
+ }
660
+
661
+ $item = $prefix . $key . ':' . $item;
662
+ }
663
+
664
+ /**
665
+ * Prepare font family to the using in CSS.
666
+ *
667
+ * @since 1.0.1
668
+ * @param [string] $font_family Font name.
669
+ * @return string
670
+ */
671
+ public function typography_font_family( $font_family ) {
672
+ $font_family = trim( $font_family );
673
+ $family_args = explode( ',', $font_family );
674
+
675
+ $names = '';
676
+ $type = end( $family_args );
677
+ $type = trim( $type );
678
+
679
+ for ( $i = 0; $i < count( $family_args ) - 1; $i++ ) {
680
+
681
+ if ( strpos( $family_args[ $i ], ' ' ) ) {
682
+ $names .= "'" . $family_args[ $i ] . "',";
683
+ } else {
684
+ $names .= $family_args[ $i ] . ',';
685
+ }
686
+ }
687
+
688
+ return sprintf( '%1$s, %2$s', trim( $names, ',' ), $type );
689
+ }
690
+
691
+ /**
692
+ * Make float size.
693
+ *
694
+ * @since 1.0.0
695
+ * @param [double] $size Font size.
696
+ * @param [string] $operation Arithmetic operator (multiple, addition).
697
+ * @param [string] $func Function name (floor, ceil, round, abs).
698
+ * @param [double] $percent Font size in percent.
699
+ * @return double Size.
700
+ */
701
+ public function typography_size( $size, $operation = ' ', $func = 'round', $percent ) {
702
+
703
+ if ( ! $size ) {
704
+ return false;
705
+ }
706
+
707
+ switch ( $operation ) {
708
+ case 'multiple' :
709
+ $size = ( double ) $size * ( double ) $percent;
710
+ break;
711
+ case 'addition' :
712
+ $size = ( double ) $size + ( double ) $percent;
713
+ break;
714
+ }
715
+
716
+ switch ( $func ) {
717
+ case 'floor' :
718
+ $size = floor( $size );
719
+ break;
720
+ case 'ceil' :
721
+ $size = ceil( $size );
722
+ break;
723
+ case 'round' :
724
+ $size = round( $size );
725
+ break;
726
+ case 'abs' :
727
+ $size = abs( $size );
728
+ break;
729
+ }
730
+
731
+ return $size;
732
+ }
733
+
734
+ /**
735
+ * Build a CSS-rule.
736
+ *
737
+ * @since 1.0.0
738
+ * @param [string|int] $value CSS-proterty value.
739
+ * @param [string] $rule CSS-proterty name.
740
+ * @return string CSS-rule.
741
+ */
742
+ public function empty_value( $value, $rule ) {
743
+
744
+ if ( '' == $value || 'notdefined' == $value ) {
745
+ return;
746
+ }
747
+
748
+ echo $rule . ': ' . $value;
749
+
750
+ if ( is_numeric( $value ) ) {
751
+ echo 'px; ';
752
+ } else {
753
+ echo '; ';
754
+ }
755
+ }
756
+
757
+ /**
758
+ * Set element emphasis.
759
+ *
760
+ * @since 1.0.0
761
+ * @param [string] $parent Parent selector.
762
+ * @param [string] $color Color.
763
+ * @param [string] $property To define.
764
+ */
765
+ public function element_emphasis( $parent, $color, $property ) {
766
+ $result = $parent . ' {' . $property . ':' . $color . ';}';
767
+ $result .= $parent . ':hover {' . $property . ':' . $this->color_darken( $color, 10 ) . ';}';
768
+
769
+ return $result;
770
+ }
771
+
772
+ /**
773
+ * Return width value for container.
774
+ *
775
+ * @since 1.0.0
776
+ * @param [int] $container_width A container width value.
777
+ * @param [int] $element_width Some-block (parent-block for container) width value.
778
+ * @return int Width value.
779
+ */
780
+ public function container_width_compare( $container_width, $element_width ) {
781
+ return ( $container_width > $element_width ) ? $element_width : $container_width;
782
+ }
783
+
784
+ /**
785
+ * Sum of $a and $b.
786
+ *
787
+ * @since 1.0.0
788
+ * @param [int] $a Operand 1.
789
+ * @param [int] $b Operand 2.
790
+ * @return int Addition.
791
+ */
792
+ public function simple_sum( $a, $b ) {
793
+ return intval( $a ) + intval( $b );
794
+ }
795
+
796
+ /**
797
+ * Difference of $a and $b.
798
+ *
799
+ * @since 1.0.0
800
+ * @param [int] $a Operand 1.
801
+ * @param [int] $b Operand 2.
802
+ * @return int Subtraction.
803
+ */
804
+ public function simple_diff( $a, $b ) {
805
+ return intval( $a ) - intval( $b );
806
+ }
807
+
808
+ /**
809
+ * Retrieve a width to swith on mobile menu from.
810
+ *
811
+ * @since 1.0.0
812
+ * @return int Width value.
813
+ */
814
+ public function menu_toogle_endpoint() {
815
+
816
+ /**
817
+ * Filters a value when mobile menu switched.
818
+ *
819
+ * @since 1.0.0
820
+ * @param int $value Width value.
821
+ */
822
+ return apply_filters( 'cherry_menu_toogle_endpoint', 600 );
823
+ }
824
+
825
+ /**
826
+ * Returns the instance.
827
+ *
828
+ * @since 1.0.0
829
+ * @return object
830
+ */
831
+ public static function get_instance() {
832
+
833
+ // If the single instance hasn't been set, set it now.
834
+ if ( null == self::$instance ) {
835
+ self::$instance = new self;
836
+ }
837
+ return self::$instance;
838
+ }
839
+ }
840
+
841
+ }
cherry-framework/modules/cherry-google-fonts-loader/cherry-google-fonts-loader.php ADDED
@@ -0,0 +1,372 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Google Fonts Loader
4
+ * Description: Enqueue Google fonts
5
+ * Version: 1.1.0
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.1.0
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Google_Fonts_Loader' ) ) {
26
+
27
+ /**
28
+ * Google fonts loader main class
29
+ */
30
+ class Cherry_Google_Fonts_Loader {
31
+
32
+ /**
33
+ * Module version
34
+ *
35
+ * @var string
36
+ */
37
+ public $module_version = '1.1.0';
38
+
39
+ /**
40
+ * Module version
41
+ *
42
+ * @var string
43
+ */
44
+ public $module_slug = 'cherry-google-fonts-loader';
45
+
46
+ /**
47
+ * Module arguments
48
+ *
49
+ * @var array
50
+ */
51
+ public $args = array();
52
+
53
+ /**
54
+ * Core instance
55
+ *
56
+ * @var object
57
+ */
58
+ public $core = null;
59
+
60
+ /**
61
+ * Define fonts server URL
62
+ *
63
+ * @var string
64
+ */
65
+ public $fonts_host = '//fonts.googleapis.com/css';
66
+
67
+ /**
68
+ * Google fonts set
69
+ *
70
+ * @var array
71
+ */
72
+ public $google_fonts = null;
73
+
74
+ /**
75
+ * Array of stored google fonts data
76
+ *
77
+ * @var array
78
+ */
79
+ public $fonts_data = array();
80
+
81
+ /**
82
+ * Constructor for the class
83
+ */
84
+ function __construct( $core, $args ) {
85
+
86
+ $this->core = $core;
87
+ $this->args = wp_parse_args( $args, array( 'options' => array() ) );
88
+
89
+ $this->fonts_host = apply_filters( 'cherry_google_fonts_cdn', $this->fonts_host );
90
+
91
+ add_action( 'customize_preview_init', array( $this, 'reset_fonts_cache' ) );
92
+ add_action( 'customize_save_after', array( $this, 'reset_fonts_cache' ) );
93
+ add_action( 'switch_theme', array( $this, 'reset_fonts_cache' ) );
94
+
95
+ if ( is_admin() ) {
96
+ return;
97
+ }
98
+
99
+ add_action( 'wp_enqueue_scripts', array( $this, 'prepare_fonts' ) );
100
+
101
+ }
102
+
103
+ /**
104
+ * Get fonts data and enqueue URL
105
+ *
106
+ * @since 1.0.0
107
+ */
108
+ public function prepare_fonts() {
109
+
110
+ $font_url = $this->get_fonts_url();
111
+ wp_enqueue_style( 'cherry-google-fonts', $font_url );
112
+ }
113
+
114
+ /**
115
+ * Return theme Google fonts URL to enqueue it
116
+ *
117
+ * @since 1.0.0
118
+ * @return string
119
+ */
120
+ public function get_fonts_url() {
121
+
122
+ $font_url = get_transient( 'cherry_google_fonts_url' );
123
+
124
+ if ( ! $font_url ) {
125
+
126
+ // Get typography options list
127
+ $options_set = $this->get_options_set();
128
+
129
+ // build Google fonts data array
130
+ foreach ( $options_set as $option ) {
131
+ $this->add_font( $option );
132
+ }
133
+
134
+ $font_url = $this->build_fonts_url();
135
+
136
+ if ( false == $font_url ) {
137
+ return;
138
+ }
139
+
140
+ global $wp_customize;
141
+ if ( ! isset( $wp_customize ) ) {
142
+ set_transient( 'cherry_google_fonts_url', $font_url, WEEK_IN_SECONDS );
143
+ }
144
+ }
145
+
146
+ return $font_url;
147
+
148
+ }
149
+
150
+ /**
151
+ * Get options set from module arguments
152
+ *
153
+ * @return array
154
+ */
155
+ public function get_options_set() {
156
+ return $this->args['options'];
157
+ }
158
+
159
+ /**
160
+ * Get current setting by name
161
+ *
162
+ * @since 1.0.0
163
+ * @return mixed
164
+ */
165
+ public function get_setting( $name ) {
166
+
167
+ $type = $this->args['type'];
168
+
169
+ if ( 'theme_mod' == $type ) {
170
+ $setting = get_theme_mod( $name );
171
+ return $setting;
172
+ }
173
+
174
+ if ( true != $this->args['single'] ) {
175
+ $setting = get_option( $name );
176
+ return $setting;
177
+ }
178
+
179
+ $settings = get_option( $this->args['prefix'] );
180
+
181
+ if ( ! empty( $settings ) && isset( $settings[ $name ] ) ) {
182
+ return $settings[ $name ];
183
+ }
184
+
185
+ return false;
186
+
187
+ }
188
+
189
+ /**
190
+ * Build Google fonts stylesheet URL from stored data
191
+ *
192
+ * @since 1.0.0
193
+ */
194
+ public function build_fonts_url() {
195
+
196
+ $font_families = array();
197
+ $subsets = array();
198
+
199
+ if ( empty( $this->fonts_data ) ) {
200
+ return false;
201
+ }
202
+
203
+ foreach ( $this->fonts_data as $family => $data ) {
204
+ $styles = implode( ',', array_unique( array_filter( $data['style'] ) ) );
205
+ $font_families[] = $family . ':' . $styles;
206
+ $subsets = array_merge( $subsets, $data['character'] );
207
+ }
208
+
209
+ $subsets = array_unique( array_filter( $subsets ) );
210
+
211
+ $query_args = array(
212
+ 'family' => urlencode( implode( '|', $font_families ) ),
213
+ 'subset' => urlencode( implode( ',', $subsets ) ),
214
+ );
215
+
216
+ $fonts_url = add_query_arg( $query_args, $this->fonts_host );
217
+
218
+ return $fonts_url;
219
+ }
220
+
221
+ /**
222
+ * Get single typography option value from database and store it in object property
223
+ *
224
+ * @since 1.0.0
225
+ * @param [type] $font option name to get from database.
226
+ */
227
+ public function add_font( $font ) {
228
+
229
+ $font = wp_parse_args( $font, array(
230
+ 'family' => '',
231
+ 'style' => 'normal',
232
+ 'weight' => '400',
233
+ 'charset' => 'latin',
234
+ ) );
235
+
236
+ $family = $this->get_setting( $font['family'] );
237
+ $family = explode( ',', $family );
238
+ $family = trim( $family[0], "'" );
239
+
240
+ if ( ! $this->is_google_font( $family ) ) {
241
+ return;
242
+ }
243
+
244
+ $load_style = $this->get_setting( $font['weight'] );
245
+ $font_style = $this->get_setting( $font['style'] );
246
+
247
+ if ( 'italic' === $font_style ) {
248
+ $load_style .= $font_style;
249
+ }
250
+
251
+ if ( ! isset( $this->fonts_data[ $family ] ) ) {
252
+
253
+ $this->fonts_data[ $family ] = array(
254
+ 'style' => array( $load_style ),
255
+ 'character' => array( $this->get_setting( $font['charset'] ) ),
256
+ );
257
+
258
+ } else {
259
+
260
+ $this->fonts_data[ $family ] = array(
261
+ 'style' => $this->add_font_prop(
262
+ $load_style,
263
+ $this->fonts_data[ $family ]['style']
264
+ ),
265
+ 'character' => $this->add_font_prop(
266
+ $this->get_setting( $font['charset'] ),
267
+ $this->fonts_data[ $family ]['character']
268
+ ),
269
+ );
270
+
271
+ }
272
+
273
+ }
274
+
275
+ /**
276
+ * Add new font property to existaing properties array
277
+ *
278
+ * @since 1.0.0
279
+ * @param [type] $new property to add.
280
+ * @param array $existing existing properties.
281
+ */
282
+ public function add_font_prop( $new, $existing ) {
283
+
284
+ if ( ! is_array( $existing ) ) {
285
+ return array( $new );
286
+ }
287
+
288
+ if ( ! in_array( $new, $existing ) ) {
289
+ $existing[] = $new;
290
+ }
291
+
292
+ return $existing;
293
+
294
+ }
295
+
296
+ /**
297
+ * Check if selected font is google font
298
+ *
299
+ * @since 1.0.0
300
+ * @param array $font_family font family to check.
301
+ * @return boolean
302
+ */
303
+ public function is_google_font( $font_family ) {
304
+
305
+ $google_fonts = $this->get_google_fonts();
306
+
307
+ if ( empty( $google_fonts ) ) {
308
+
309
+ $customizer = isset( $this->core->modules['cherry-customizer'] ) ? $this->core->modules['cherry-customizer'] : false;
310
+
311
+ if ( ! $customizer ) {
312
+ return false;
313
+ }
314
+
315
+ $customizer->init_fonts();
316
+
317
+ $google_fonts = $this->get_google_fonts();
318
+
319
+ if ( empty( $google_fonts ) ) {
320
+ return false;
321
+ }
322
+ }
323
+
324
+ $font_family = explode( ',', $font_family );
325
+ $font_family = trim( $font_family[0], "'" );
326
+
327
+ foreach ( $google_fonts as $font ) {
328
+ if ( $font_family === $font['family'] ) {
329
+ return true;
330
+ }
331
+ }
332
+
333
+ return false;
334
+
335
+ }
336
+
337
+ /**
338
+ * Get google fonts array
339
+ *
340
+ * @since 1.0.0
341
+ * @return array
342
+ */
343
+ public function get_google_fonts() {
344
+
345
+ if ( null === $this->google_fonts ) {
346
+ $this->google_fonts = get_option( 'cherry_customiser_fonts_google', null );
347
+ }
348
+
349
+ return $this->google_fonts;
350
+ }
351
+
352
+ /**
353
+ * Reset fonts cache
354
+ *
355
+ * @since 1.0.0
356
+ */
357
+ public function reset_fonts_cache() {
358
+ delete_transient( 'cherry_google_fonts_url' );
359
+ }
360
+
361
+ /**
362
+ * Returns the instance.
363
+ *
364
+ * @since 1.0.0
365
+ * @return object
366
+ */
367
+ public static function get_instance( $core, $args ) {
368
+ return new self( $core, $args );
369
+ }
370
+ }
371
+
372
+ }
cherry-framework/modules/cherry-handler/assets/css/cherry-handler-styles.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .cherry-handler-notice{background:#23282d;position:fixed;margin:5px 0;box-shadow:1px 1px 5px rgba(0,0,0,0.2);box-sizing:border-box;padding:8px 15px 8px 8px;min-width:200px;overflow:hidden;color:#fff;z-index:999;border-radius:2px;-webkit-transition:all 250ms cubic-bezier(0.85, 0.04, 1, 1);transition:all 250ms cubic-bezier(0.85, 0.04, 1, 1)}.cherry-handler-notice span.dashicons{position:relative;margin-right:10px}.cherry-handler-notice span.dashicons:before{position:absolute;font-size:30px;left:-6px;top:-4px}.cherry-handler-notice.success-notice span.dashicons{color:#48c569}.cherry-handler-notice.success-notice span.dashicons:before{content:"\f147"}.cherry-handler-notice.success-notice .inner b{color:#48c569}.cherry-handler-notice.info-notice span.dashicons{color:#faa730}.cherry-handler-notice.info-notice span.dashicons:before{content:"\f534"}.cherry-handler-notice.info-notice .inner b{color:#faa730}.cherry-handler-notice.error-notice span.dashicons{color:#e54343}.cherry-handler-notice.error-notice span.dashicons:before{content:"\f158"}.cherry-handler-notice.show-state{-webkit-transition:all 500ms cubic-bezier(0.1, 0.67, 0.26, 1);transition:all 500ms cubic-bezier(0.1, 0.67, 0.26, 1)}.cherry-handler-notice .inner{display:inline-block}
cherry-framework/modules/cherry-handler/assets/js/cherry-handler.js ADDED
@@ -0,0 +1,286 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ( function( $, CherryJsCore ) {
2
+ 'use strict';
3
+
4
+ /**
5
+ * CherryAjaxHandler class
6
+ *
7
+ * @param {object} options Handler options
8
+ */
9
+
10
+ CherryJsCore.utilites.namespace( 'CherryAjaxHandler' );
11
+ CherryJsCore.CherryAjaxHandler = function( options ) {
12
+
13
+ /**
14
+ * General default settings
15
+ *
16
+ * @type {Object}
17
+ */
18
+ var self = this,
19
+ settings = {
20
+ 'handlerId': '',
21
+ 'cache': false,
22
+ 'processData': true,
23
+ 'url': '',
24
+ 'beforeSendCallback': function() {},
25
+ 'errorCallback': function() {},
26
+ 'successCallback': function() {},
27
+ 'completeCallback': function() {}
28
+ };
29
+
30
+ /**
31
+ * Checking options, settings and options merging
32
+ *
33
+ */
34
+ if ( options ) {
35
+ $.extend( settings, options );
36
+ }
37
+
38
+ /**
39
+ * Check if handlerId ready to using
40
+ *
41
+ */
42
+ if ( ! window[ settings.handlerId ] ) {
43
+ if ( window.console ) {
44
+ window.console.warn( 'Handler id not found' );
45
+ }
46
+ return false;
47
+ }
48
+
49
+ /**
50
+ * Set handler settings from localized global variable
51
+ *
52
+ * @type {Object}
53
+ */
54
+ self.handlerSettings = window[ settings.handlerId ] || {};
55
+
56
+ /**
57
+ * Ajax request instance
58
+ *
59
+ * @type {Object}
60
+ */
61
+ self.ajaxRequest = null;
62
+
63
+ /**
64
+ * Ajax processing state
65
+ *
66
+ * @type {Boolean}
67
+ */
68
+ self.ajaxProcessing = false;
69
+
70
+ /**
71
+ * Set ajax request data
72
+ *
73
+ * @type {Object}
74
+ */
75
+ self.data = {
76
+ 'action': self.handlerSettings.action,
77
+ 'nonce': self.handlerSettings.nonce
78
+ };
79
+
80
+ /**
81
+ * Check ajax url is empty
82
+ */
83
+ if ( '' === settings.url ) {
84
+
85
+ // Check public request
86
+ if ( 'false' === self.handlerSettings.is_public ) {
87
+ settings.url = window.ajaxurl;
88
+ } else {
89
+ settings.url = window.cherryHandlerAjaxUrl.ajax_url;
90
+ }
91
+ }
92
+
93
+ /**
94
+ * Init ajax request
95
+ *
96
+ * @return {Void}
97
+ */
98
+ self.send = function() {
99
+ if ( self.ajaxProcessing ) {
100
+ CherryJsCore.cherryHandlerUtils.noticeCreate( 'error-notice', self.handlerSettings.sys_messages.wait_processing );
101
+ }
102
+ self.ajaxProcessing = true;
103
+
104
+ self.ajaxRequest = jQuery.ajax( {
105
+ type: self.handlerSettings.type.toUpperCase(),
106
+ url: settings.url,
107
+ data: self.data,
108
+ cache: settings.cache,
109
+ dataType: self.handlerSettings.data_type,
110
+ processData: settings.processData,
111
+ beforeSend: function( jqXHR, ajaxSettings ) {
112
+ if ( null !== self.ajaxRequest ) {
113
+ self.ajaxRequest.abort();
114
+ }
115
+
116
+ if ( settings.beforeSendCallback && 'function' === typeof( settings.beforeSendCallback ) ) {
117
+ settings.beforeSendCallback( jqXHR, ajaxSettings );
118
+ }
119
+ },
120
+ error: function( jqXHR, textStatus, errorThrown ) {
121
+ if ( settings.errorCallback && 'function' === typeof( settings.errorCallback ) ) {
122
+ settings.errorCallback( jqXHR, textStatus, errorThrown );
123
+ }
124
+ },
125
+ success: function( data, textStatus, jqXHR ) {
126
+ self.ajaxProcessing = false;
127
+ if ( settings.successCallback && 'function' === typeof( settings.successCallback ) ) {
128
+ settings.successCallback( data, textStatus, jqXHR );
129
+ }
130
+
131
+ CherryJsCore.cherryHandlerUtils.noticeCreate( data.type, data.message );
132
+ },
133
+ complete: function( jqXHR, textStatus ) {
134
+ if ( settings.completeCallback && 'function' === typeof( settings.completeCallback ) ) {
135
+ settings.completeCallback( jqXHR, textStatus );
136
+ }
137
+ }
138
+
139
+ } );
140
+ };
141
+
142
+ /**
143
+ * Send data ajax request
144
+ *
145
+ * @param {Object} data User data
146
+ * @return {Void}
147
+ */
148
+ self.sendData = function( data ) {
149
+ var sendData = data || {};
150
+ self.data = {
151
+ 'action': self.handlerSettings.action,
152
+ 'nonce': self.handlerSettings.nonce,
153
+ 'data': sendData
154
+ };
155
+
156
+ self.send();
157
+ };
158
+
159
+ /**
160
+ * Send form serialized data
161
+ * @param {String} formId Form selector
162
+ * @return {Void}
163
+ */
164
+ self.sendFormData = function( formId ) {
165
+ var form = $( formId ),
166
+ data;
167
+
168
+ data = CherryJsCore.cherryHandlerUtils.serializeObject( form );
169
+
170
+ self.sendData( data );
171
+ };
172
+ };
173
+
174
+ CherryJsCore.utilites.namespace( 'cherryHandlerUtils' );
175
+ CherryJsCore.cherryHandlerUtils = {
176
+ /**
177
+ * Rendering notice message
178
+ *
179
+ * @param {String} type Message type
180
+ * @param {String} message Message content
181
+ * @return {Void}
182
+ */
183
+ noticeCreate: function( type, message ) {
184
+ var notice,
185
+ rightDelta = 0,
186
+ timeoutId;
187
+
188
+ if ( ! message ) {
189
+ return false;
190
+ }
191
+
192
+ notice = $( '<div class="cherry-handler-notice ' + type + '"><span class="dashicons"></span><div class="inner">' + message + '</div></div>' );
193
+
194
+ $( 'body' ).prepend( notice );
195
+ reposition();
196
+ rightDelta = -1 * ( notice.outerWidth( true ) + 10 );
197
+ notice.css( { 'right': rightDelta } );
198
+
199
+ timeoutId = setTimeout( function() {
200
+ notice.css( { 'right': 10 } ).addClass( 'show-state' );
201
+ }, 100 );
202
+ timeoutId = setTimeout( function() {
203
+ rightDelta = -1 * ( notice.outerWidth( true ) + 10 );
204
+ notice.css( { right: rightDelta } ).removeClass( 'show-state' );
205
+ }, 4000 );
206
+ timeoutId = setTimeout( function() {
207
+ notice.remove();
208
+ clearTimeout( timeoutId );
209
+ }, 4500 );
210
+
211
+ function reposition() {
212
+ var topDelta = 100;
213
+
214
+ $( '.cherry-handler-notice' ).each( function() {
215
+ $( this ).css( { top: topDelta } );
216
+ topDelta += $( this ).outerHeight( true );
217
+ } );
218
+ }
219
+ },
220
+
221
+ /**
222
+ * Serialize form into
223
+ *
224
+ * @return {Object}
225
+ */
226
+ serializeObject: function( form ) {
227
+
228
+ var self = this,
229
+ json = {},
230
+ pushCounters = {},
231
+ patterns = {
232
+ 'validate': /^[a-zA-Z][a-zA-Z0-9_-]*(?:\[(?:\d*|[a-zA-Z0-9_-]+)\])*$/,
233
+ 'key': /[a-zA-Z0-9_-]+|(?=\[\])/g,
234
+ 'push': /^$/,
235
+ 'fixed': /^\d+$/,
236
+ 'named': /^[a-zA-Z0-9_-]+$/
237
+ };
238
+
239
+ this.build = function( base, key, value ) {
240
+ base[ key ] = value;
241
+
242
+ return base;
243
+ };
244
+
245
+ this.push_counter = function( key ) {
246
+ if ( undefined === pushCounters[ key ] ) {
247
+ pushCounters[ key ] = 0;
248
+ }
249
+
250
+ return pushCounters[ key ]++;
251
+ };
252
+
253
+ $.each( form.serializeArray(), function() {
254
+ var k, keys, merge, reverseKey;
255
+
256
+ // Skip invalid keys
257
+ if ( ! patterns.validate.test( this.name ) ) {
258
+ return;
259
+ }
260
+
261
+ keys = this.name.match( patterns.key );
262
+ merge = this.value;
263
+ reverseKey = this.name;
264
+
265
+ while ( undefined !== ( k = keys.pop() ) ) {
266
+
267
+ // Adjust reverseKey
268
+ reverseKey = reverseKey.replace( new RegExp( '\\[' + k + '\\]$' ), '' );
269
+
270
+ // Push
271
+ if ( k.match( patterns.push ) ) {
272
+ merge = self.build( [], self.push_counter( reverseKey ), merge );
273
+ } else if ( k.match( patterns.fixed ) ) {
274
+ merge = self.build( [], k, merge );
275
+ } else if ( k.match( patterns.named ) ) {
276
+ merge = self.build( {}, k, merge );
277
+ }
278
+ }
279
+
280
+ json = $.extend( true, json, merge );
281
+ });
282
+
283
+ return json;
284
+ }
285
+ };
286
+ }( jQuery, window.CherryJsCore ) );
cherry-framework/modules/cherry-handler/assets/js/min/cherry-handler.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,a){"use strict";a.utilites.namespace("CherryAjaxHandler"),a.CherryAjaxHandler=function(n){var t=this,r={handlerId:"",cache:!1,processData:!0,url:"",beforeSendCallback:function(){},errorCallback:function(){},successCallback:function(){},completeCallback:function(){}};return n&&e.extend(r,n),window[r.handlerId]?(t.handlerSettings=window[r.handlerId]||{},t.ajaxRequest=null,t.ajaxProcessing=!1,t.data={action:t.handlerSettings.action,nonce:t.handlerSettings.nonce},""===r.url&&(r.url="false"===t.handlerSettings.is_public?window.ajaxurl:window.cherryHandlerAjaxUrl.ajax_url),t.send=function(){t.ajaxProcessing&&a.cherryHandlerUtils.noticeCreate("error-notice",t.handlerSettings.sys_messages.wait_processing),t.ajaxProcessing=!0,t.ajaxRequest=jQuery.ajax({type:t.handlerSettings.type.toUpperCase(),url:r.url,data:t.data,cache:r.cache,dataType:t.handlerSettings.data_type,processData:r.processData,beforeSend:function(e,a){null!==t.ajaxRequest&&t.ajaxRequest.abort(),r.beforeSendCallback&&"function"==typeof r.beforeSendCallback&&r.beforeSendCallback(e,a)},error:function(e,a,n){r.errorCallback&&"function"==typeof r.errorCallback&&r.errorCallback(e,a,n)},success:function(e,n,c){t.ajaxProcessing=!1,r.successCallback&&"function"==typeof r.successCallback&&r.successCallback(e,n,c),a.cherryHandlerUtils.noticeCreate(e.type,e.message)},complete:function(e,a){r.completeCallback&&"function"==typeof r.completeCallback&&r.completeCallback(e,a)}})},t.sendData=function(e){var a=e||{};t.data={action:t.handlerSettings.action,nonce:t.handlerSettings.nonce,data:a},t.send()},void(t.sendFormData=function(n){var r,c=e(n);r=a.cherryHandlerUtils.serializeObject(c),t.sendData(r)})):(window.console&&window.console.warn("Handler id not found"),!1)},a.utilites.namespace("cherryHandlerUtils"),a.cherryHandlerUtils={noticeCreate:function(a,n){function t(){var a=100;e(".cherry-handler-notice").each(function(){e(this).css({top:a}),a+=e(this).outerHeight(!0)})}var r,c,s=0;return n?(r=e('<div class="cherry-handler-notice '+a+'"><span class="dashicons"></span><div class="inner">'+n+"</div></div>"),e("body").prepend(r),t(),s=-1*(r.outerWidth(!0)+10),r.css({right:s}),c=setTimeout(function(){r.css({right:10}).addClass("show-state")},100),c=setTimeout(function(){s=-1*(r.outerWidth(!0)+10),r.css({right:s}).removeClass("show-state")},4e3),void(c=setTimeout(function(){r.remove(),clearTimeout(c)},4500))):!1},serializeObject:function(a){var n=this,t={},r={},c={validate:/^[a-zA-Z][a-zA-Z0-9_-]*(?:\[(?:\d*|[a-zA-Z0-9_-]+)\])*$/,key:/[a-zA-Z0-9_-]+|(?=\[\])/g,push:/^$/,fixed:/^\d+$/,named:/^[a-zA-Z0-9_-]+$/};return this.build=function(e,a,n){return e[a]=n,e},this.push_counter=function(e){return void 0===r[e]&&(r[e]=0),r[e]++},e.each(a.serializeArray(),function(){var a,r,s,i;if(c.validate.test(this.name)){for(r=this.name.match(c.key),s=this.value,i=this.name;void 0!==(a=r.pop());)i=i.replace(new RegExp("\\["+a+"\\]$"),""),a.match(c.push)?s=n.build([],n.push_counter(i),s):a.match(c.fixed)?s=n.build([],a,s):a.match(c.named)&&(s=n.build({},a,s));t=e.extend(!0,t,s)}}),t}}}(jQuery,window.CherryJsCore);
cherry-framework/modules/cherry-handler/assets/scss/cherry-handler-styles.scss ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cherry-handler-notice{
2
+ background: #23282d;
3
+ position: fixed;
4
+ margin: 5px 0;
5
+ box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
6
+ box-sizing: border-box;
7
+ padding: 8px 15px 8px 8px;
8
+ min-width: 200px;
9
+ overflow: hidden;
10
+ color: #fff;
11
+ z-index: 999;
12
+ border-radius: 2px;
13
+ transition: all 250ms cubic-bezier(0.85, 0.04, 1, 1);
14
+ span.dashicons{
15
+ position: relative;
16
+ margin-right: 10px;
17
+ &:before{
18
+ position: absolute;
19
+ font-size: 30px;
20
+ left: -6px;
21
+ top: -4px;
22
+ }
23
+ }
24
+ &.success-notice{
25
+ span.dashicons{
26
+ color: #48c569;
27
+ &:before{
28
+ content: "\f147";
29
+ }
30
+ }
31
+ .inner{
32
+ b{
33
+ color: #48c569;
34
+ }
35
+ }
36
+ }
37
+ &.info-notice{
38
+ span.dashicons{
39
+ color: #faa730;
40
+ &:before{
41
+ content: "\f534";
42
+ }
43
+ }
44
+ .inner{
45
+ b{
46
+ color: #faa730;
47
+ }
48
+ }
49
+ }
50
+ &.error-notice{
51
+ span.dashicons{
52
+ color: #e54343;
53
+ &:before{
54
+ content: "\f158";
55
+ }
56
+ }
57
+ }
58
+ &.show-state{
59
+ -webkit-transition: all 500ms cubic-bezier(0.1, 0.67, 0.26, 1);
60
+ transition: all 500ms cubic-bezier(0.1, 0.67, 0.26, 1);
61
+ }
62
+ .inner{
63
+ display: inline-block;
64
+ }
65
+ }
cherry-framework/modules/cherry-handler/cherry-handler.php ADDED
@@ -0,0 +1,233 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Cherry handler
4
+ * Description: Initializes handlers
5
+ * Version: 1.0.0
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.0.0
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Handler' ) ) {
26
+
27
+ /**
28
+ * Cherry_Handler class.
29
+ *
30
+ * @since 1.0.0
31
+ */
32
+ class Cherry_Handler {
33
+
34
+ /**
35
+ * A reference to an instance of this class.
36
+ *
37
+ * @since 1.0.0
38
+ * @access private
39
+ * @var object
40
+ */
41
+ private static $handlers_list = array();
42
+
43
+ /**
44
+ * Default settings.
45
+ *
46
+ * @since 1.0.0
47
+ * @var array
48
+ */
49
+ private $settings = array(
50
+ 'id' => '',
51
+ 'action' => '',
52
+ 'capability' => '',
53
+ 'is_public' => false,
54
+ 'callback' => '',
55
+ 'type' => 'post',
56
+ 'data_type' => 'json',
57
+ 'sys_messages' => array(
58
+ 'invalid_base_data' => 'Unable to process the request without nonce or server error',
59
+ 'no_right' => 'No right for this action',
60
+ 'invalid_nonce' => 'Stop CHEATING!!!',
61
+ 'access_is_allowed' => 'Access is allowed',
62
+ 'wait_processing' => 'Please wait, processing the previous request',
63
+ ),
64
+ );
65
+
66
+ /**
67
+ * Class constructor.
68
+ *
69
+ * @since 1.0.0
70
+ * @param object $core Core instance.
71
+ * @param array $args Class args.
72
+ */
73
+ public function __construct( $core, $args = array() ) {
74
+ $this->settings = array_merge( $this->settings, $args );
75
+
76
+ if ( empty( $this->settings['id'] ) ) {
77
+ echo '<h3>ID is required attr</h3>';
78
+ return false;
79
+ }
80
+
81
+ if ( empty( $this->settings['action'] ) ) {
82
+ echo '<h3>Action is required attr</h3>';
83
+ return false;
84
+ }
85
+
86
+ // Action empty check
87
+ if ( ! empty( $this->settings['action'] ) ) {
88
+ add_action( 'wp_ajax_' . $this->settings['action'], array( $this, 'handler_init' ) );
89
+
90
+ // Public action check
91
+ if ( filter_var( $this->settings['is_public'], FILTER_VALIDATE_BOOLEAN ) ) {
92
+ add_action( 'wp_ajax_nopriv_' . $this->settings['action'], array( $this, 'handler_init' ) );
93
+ }
94
+ }
95
+
96
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
97
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
98
+ add_action( 'wp_print_scripts', array( $this, 'localize_script' ) );
99
+ }
100
+
101
+ /**
102
+ * Handler initialization
103
+ *
104
+ * @since 1.0.0
105
+ * @return void
106
+ */
107
+ public function handler_init() {
108
+ if ( ! empty( $_POST ) && array_key_exists( 'nonce', $_POST ) ) {
109
+
110
+ $nonce = $_POST['nonce'];
111
+
112
+ $nonce_action = ! empty( $this->settings['action'] ) ? $this->settings['action'] : 'cherry_ajax_nonce';
113
+
114
+ if ( ! wp_verify_nonce( $nonce, $nonce_action ) ) {
115
+ $response = array(
116
+ 'message' => $this->settings['sys_messages']['invalid_nonce'],
117
+ 'type' => 'error-notice',
118
+ );
119
+
120
+ wp_send_json( $response );
121
+ }
122
+
123
+ if ( ! empty( $this->settings['capability'] ) && ! current_user_can( $this->settings['capability'] ) ) {
124
+ $response = array(
125
+ 'message' => $this->settings['sys_messages']['no_right'],
126
+ 'type' => 'error-notice',
127
+ );
128
+
129
+ wp_send_json( $response );
130
+ }
131
+
132
+ if ( ! empty( $this->settings['callback'] ) && is_callable( $this->settings['callback'] ) ) {
133
+
134
+ ob_start();
135
+ $data = call_user_func( $this->settings['callback'] );
136
+
137
+ if ( ! $data ) {
138
+ $data = ob_get_contents();
139
+ }
140
+ ob_end_clean();
141
+
142
+ $response = array(
143
+ 'message' => $this->settings['sys_messages']['access_is_allowed'],
144
+ 'type' => 'success-notice',
145
+ 'data' => $data,
146
+ );
147
+
148
+ wp_send_json( $response );
149
+ }
150
+ } else {
151
+ $response = array(
152
+ 'message' => $this->settings['sys_messages']['invalid_base_data'],
153
+ 'type' => 'error-notice',
154
+ );
155
+
156
+ wp_send_json( $response );
157
+ }
158
+ }
159
+
160
+ /**
161
+ * Register and enqueue handlers js.
162
+ *
163
+ * @since 1.0.0
164
+ */
165
+ public function enqueue_scripts() {
166
+ wp_enqueue_script(
167
+ 'cherry-handler-js',
168
+ esc_url( Cherry_Core::base_url( 'assets/js/min/cherry-handler.min.js', __FILE__ ) ),
169
+ array( 'jquery' ),
170
+ '1.0.0',
171
+ true
172
+ );
173
+
174
+ wp_enqueue_style(
175
+ 'cherry-handler-css',
176
+ esc_url( Cherry_Core::base_url( 'assets/css/cherry-handler-styles.min.css', __FILE__ ) ),
177
+ array(),
178
+ '1.0.0',
179
+ 'all'
180
+ );
181
+ }
182
+
183
+ /**
184
+ * Prepare data for henler script.
185
+ *
186
+ * @since 1.0.0
187
+ * @return void
188
+ */
189
+ public function localize_script() {
190
+
191
+ $nonce = $this->create_nonce( $this->settings['action'] );
192
+
193
+ wp_localize_script( 'cherry-handler-js', $this->settings['id'],
194
+ array(
195
+ 'action' => $this->settings['action'],
196
+ 'nonce' => $nonce,
197
+ 'type' => $this->settings['type'],
198
+ 'data_type' => $this->settings['data_type'],
199
+ 'is_public' => $this->settings['is_public'] ? 'true' : 'false',
200
+ 'sys_messages' => $this->settings['sys_messages'],
201
+ )
202
+ );
203
+
204
+ if ( $this->settings['is_public'] ) {
205
+ wp_localize_script( 'cherry-handler-js', 'cherryHandlerAjaxUrl', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) );
206
+ }
207
+ }
208
+
209
+ /**
210
+ * Create nonce by action
211
+ *
212
+ * @param string $action Nonce name.
213
+ * @return string
214
+ */
215
+ public function create_nonce( $action = '' ) {
216
+ if ( ! empty( $action ) ) {
217
+ return wp_create_nonce( $action );
218
+ }
219
+
220
+ return wp_create_nonce( 'cherry_ajax_nonce' );
221
+ }
222
+
223
+ /**
224
+ * Returns the instance.
225
+ *
226
+ * @since 1.0.0
227
+ * @return object
228
+ */
229
+ public static function get_instance( $core, $args ) {
230
+ return new self( $core, $args );
231
+ }
232
+ }
233
+ }
cherry-framework/modules/cherry-interface-builder/cherry-interface-builder.php ADDED
@@ -0,0 +1,471 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Interface Builder
4
+ * Description: The module for the creation of interfaces in the WordPress admin panel
5
+ * Version: 1.0.3
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.0.3
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Interface_Builder' ) ) {
26
+
27
+ /**
28
+ * Class Cherry Interface Builder.
29
+ *
30
+ * @since 1.0.0
31
+ */
32
+ class Cherry_Interface_Builder {
33
+ /**
34
+ * Module settings.
35
+ *
36
+ * @since 1.0.0
37
+ * @access private
38
+ * @var array
39
+ */
40
+ private $args = array(
41
+ 'views' => array(
42
+ 'section' => 'inc/views/section.php',
43
+ 'component-tab-vertical' => 'inc/views/component-tab-vertical.php',
44
+ 'component-tab-horizontal' => 'inc/views/component-tab-horizontal.php',
45
+ 'component-toggle' => 'inc/views/component-toggle.php',
46
+ 'component-accordion' => 'inc/views/component-accordion.php',
47
+ 'component-repeater' => 'inc/views/component-repeater.php',
48
+ 'settings' => 'inc/views/settings.php',
49
+ 'control' => 'inc/views/control.php',
50
+ 'settings-children-title' => 'inc/views/settings-children-title.php',
51
+ 'tab-children-title' => 'inc/views/tab-children-title.php',
52
+ 'toggle-children-title' => 'inc/views/toggle-children-title.php',
53
+ 'form' => 'inc/views/form.php',
54
+ 'html' => 'inc/views/html.php',
55
+ ),
56
+ 'views_args' => array(
57
+ 'parent' => '',
58
+ 'type' => '',
59
+ 'view' => '',
60
+ 'view_wrapping' => true,
61
+ 'html' => '',
62
+ 'scroll' => false,
63
+ 'master' => false,
64
+ 'title' => '',
65
+ 'description' => '',
66
+ ),
67
+ );
68
+
69
+ /**
70
+ * A reference to an instance of this class.
71
+ *
72
+ * @since 1.0.0
73
+ * @access private
74
+ * @var object
75
+ */
76
+ private static $instance = null;
77
+
78
+ /**
79
+ * UI element instance.
80
+ *
81
+ * @since 1.0.0
82
+ * @access public
83
+ * @var object
84
+ */
85
+ public $ui_elements = null;
86
+
87
+ /**
88
+ * The structure of the interface elements.
89
+ *
90
+ * @since 1.0.0
91
+ * @access private
92
+ * @var array
93
+ */
94
+ private $structure = array();
95
+
96
+ /**
97
+ * Cherry_Interface_Builder constructor.
98
+ *
99
+ * @since 1.0.0
100
+ * @access public
101
+ * @return void
102
+ */
103
+ public function __construct( $core, array $args = array() ) {
104
+ $this->args = array_merge_recursive(
105
+ $args,
106
+ $this->args
107
+ );
108
+
109
+ $this->ui_elements = $core->init_module( 'cherry-ui-elements' );
110
+
111
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_assets' ) );
112
+ }
113
+
114
+ /**
115
+ * Register element type section.
116
+ *
117
+ * @since 1.0.0
118
+ * @access public
119
+ * @param array $args Options section.
120
+ * @return void
121
+ */
122
+ public function register_section( array $args = array() ) {
123
+ $this->add_new_element( $args, 'section' );
124
+ }
125
+
126
+ /**
127
+ * Register element type component.
128
+ *
129
+ * @since 1.0.0
130
+ * @access public
131
+ * @param array $args Options component.
132
+ * @return void
133
+ */
134
+ public function register_component( array $args = array() ) {
135
+ $this->add_new_element( $args, 'component' );
136
+ }
137
+
138
+ /**
139
+ * Register element type settings.
140
+ *
141
+ * @since 1.0.0
142
+ * @access public
143
+ * @param array $args Options settings.
144
+ * @return void
145
+ */
146
+ public function register_settings( array $args = array() ) {
147
+ $this->add_new_element( $args, 'settings' );
148
+ }
149
+
150
+ /**
151
+ * Register element type control.
152
+ *
153
+ * @since 1.0.0
154
+ * @access public
155
+ * @param array $args Options control.
156
+ * @return void
157
+ */
158
+ public function register_control( array $args = array() ) {
159
+ $this->add_new_element( $args, 'control' );
160
+ }
161
+
162
+ /**
163
+ * Register element type form.
164
+ *
165
+ * @since 1.0.0
166
+ * @access public
167
+ * @param array $args Options form.
168
+ * @return void
169
+ */
170
+ public function register_form( array $args = array() ) {
171
+ $this->add_new_element( $args, 'form' );
172
+ }
173
+
174
+ /**
175
+ * Register element type html.
176
+ *
177
+ * @since 1.0.0
178
+ * @access public
179
+ * @param array $args Options control.
180
+ * @return void
181
+ */
182
+ public function register_html( array $args = array() ) {
183
+ $this->add_new_element( $args, 'html' );
184
+ }
185
+
186
+ /**
187
+ * This function adds a new element to the structure.
188
+ *
189
+ * @since 1.0.0
190
+ * @access protected
191
+ * @param array $args Options new element.
192
+ * @param string $type Type new element.
193
+ * @return void
194
+ */
195
+ protected function add_new_element( array $args = array(), $type = 'section' ) {
196
+ if ( ! isset( $args[0] ) && ! is_array( current( $args ) ) ) {
197
+
198
+ if ( 'control' !== $type && 'component' !== $type ) {
199
+ $args['type'] = $type;
200
+ }
201
+
202
+ $this->structure[ $args['id'] ] = $args;
203
+ } else {
204
+ foreach ( $args as $key => $value ) {
205
+
206
+ if ( 'control' !== $type && 'component' !== $type ) {
207
+ $value['type'] = $type;
208
+ }
209
+
210
+ $this->structure[ $key ] = $value;
211
+ }
212
+ }
213
+ }
214
+
215
+ /**
216
+ * Sorts the elements of the structure, adding child items to the parent.
217
+ *
218
+ * @since 1.0.0
219
+ * @access protected
220
+ * @param array $structure The original structure of the elements.
221
+ * @param string $parent_key The key of the parent element.
222
+ * @return array
223
+ */
224
+ protected function sort_structure( array $structure = array(), $parent_key = null ) {
225
+ $new_array = array();
226
+
227
+ foreach ( $structure as $key => $value ) {
228
+ if (
229
+ ( null === $parent_key && ! isset( $value['parent'] ) )
230
+ || null === $parent_key && ! isset( $structure[ $value['parent'] ] )
231
+ || ( isset( $value['parent'] ) && $value['parent'] === $parent_key )
232
+ ) {
233
+
234
+ if ( ! isset( $value['id'] ) ) {
235
+ $value['id'] = $key;
236
+ }
237
+ if ( ! isset( $value['name'] ) ) {
238
+ $value['name'] = $key;
239
+ }
240
+ $new_array[ $key ] = $value;
241
+
242
+ $children = $this->sort_structure( $structure, $key );
243
+ if ( ! empty( $children ) ) {
244
+ $new_array[ $key ]['children'] = $children;
245
+ }
246
+ }
247
+ }
248
+
249
+ return $new_array;
250
+ }
251
+
252
+ /**
253
+ * Reset structure array.
254
+ * Call this method only after render.
255
+ *
256
+ * @since 1.0.1
257
+ * @return void
258
+ */
259
+ public function reset_structure() {
260
+ $this->structure = array();
261
+ }
262
+
263
+ /**
264
+ * Get view for interface elements.
265
+ *
266
+ * @since 1.0.0
267
+ * @access protected
268
+ * @param string $type View type.
269
+ * @param array $args Input data.
270
+ * @return string
271
+ */
272
+ protected function get_view( $type = 'control', array $args = array() ) {
273
+
274
+ if ( empty( $view ) ) {
275
+ $path = dirname( __FILE__ ) . '/';
276
+ $path .= ( array_key_exists( $type, $this->args['views'] ) ) ? $this->args['views'][ $type ] : $this->args['views']['control'] ;
277
+ } else {
278
+ $path = $view;
279
+ }
280
+
281
+ $view = Cherry_Toolkit::render_view( $path, $args );
282
+
283
+ return $view;
284
+ }
285
+
286
+ /**
287
+ * Render HTML elements.
288
+ *
289
+ * @since 1.0.0
290
+ * @access public
291
+ * @param bool $echo Input data.
292
+ * @param array $args The original structure of the elements.
293
+ * @return string
294
+ */
295
+ public function render( $echo = true, array $args = array() ) {
296
+
297
+ if ( empty( $args ) ) {
298
+ $args = $this->structure;
299
+ }
300
+
301
+ if ( empty( $args ) ) {
302
+ return false;
303
+ }
304
+
305
+ $sorted_structure = $this->sort_structure( $args );
306
+
307
+ $output = $this->build( $sorted_structure );
308
+ $output = str_replace( array( "\r\n", "\r", "\n", "\t" ), '', $output );
309
+
310
+ $this->reset_structure();
311
+
312
+ return $this->output_method( $output, $echo );
313
+ }
314
+
315
+ /**
316
+ * Render HTML elements.
317
+ *
318
+ * @since 1.0.0
319
+ * @access protected
320
+ * @param array $args Input data.
321
+ * @return string
322
+ */
323
+ protected function build( array $args = array() ) {
324
+ $output = '';
325
+ $views = $this->args['views'];
326
+
327
+ foreach ( $args as $key => $value ) {
328
+ $value = wp_parse_args(
329
+ $value,
330
+ $this->args['views_args']
331
+ );
332
+
333
+ $value['class'] = isset( $value['class'] ) ? $value['class'] . ' ' : '' ;
334
+ $value['class'] .= $value['id'] . ' ' ;
335
+ if ( $value['scroll'] ) {
336
+ $value['class'] .= 'cherry-scroll ';
337
+ }
338
+ if ( $value['master'] ) {
339
+ $value['class'] .= $value['master'] . ' ' ;
340
+ }
341
+
342
+ $type = array_key_exists( $value['type'], $views ) ? $value['type'] : 'field' ;
343
+ $has_child = isset( $value['children'] ) && is_array( $value['children'] ) && ! empty( $value['children'] );
344
+
345
+ switch ( $type ) {
346
+ case 'component-tab-vertical':
347
+ case 'component-tab-horizontal':
348
+ if ( $has_child ) {
349
+ $value['tabs'] = '';
350
+
351
+ foreach ( $value['children'] as $key_children => $value_children ) {
352
+ $value['tabs'] .= $this->get_view( 'tab-children-title', $value_children );
353
+
354
+ unset( $value['children'][ $key_children ]['title'] );
355
+ }
356
+ }
357
+ break;
358
+
359
+ case 'component-toggle':
360
+ case 'component-accordion':
361
+ if ( $has_child ) {
362
+ foreach ( $value['children'] as $key_children => $value_children ) {
363
+ $value['children'][ $key_children ]['title_in_view'] = $this->get_view( 'toggle-children-title', $value_children );
364
+ }
365
+ }
366
+ break;
367
+
368
+ case 'settings':
369
+ if ( isset( $value['title'] ) && $value['title'] ) {
370
+ $value['title'] = isset( $value['title_in_view'] ) ? $value['title_in_view'] : $this->get_view( 'settings-children-title', $value );
371
+ }
372
+ break;
373
+
374
+ case 'html':
375
+ $value['children'] = $value['html'];
376
+ break;
377
+
378
+ case 'form':
379
+ $value['accept-charset'] = isset( $value['accept-charset'] ) ? 'accept-charset="' . $value['accept-charset'] . '" ' : 'accept-charset="utf-8"';
380
+ $value['action'] = isset( $value['action'] ) ? 'action="' . $value['action'] . '" ' : '' ;
381
+ $value['autocomplete'] = isset( $value['autocomplete'] ) ? 'autocomplete="' . $value['autocomplete'] . '" ' : 'autocomplete="on"';
382
+ $value['enctype'] = isset( $value['enctype'] ) ? 'enctype="' . $value['enctype'] . '" ' : 'enctype="application/x-www-form-urlencoded"';
383
+ $value['method'] = isset( $value['method'] ) ? 'method="' . $value['method'] . '" ' : 'method="post"';
384
+ $value['novalidate'] = ( isset( $value['novalidate'] ) && $value['novalidate'] ) ? 'novalidate' : '';
385
+ $value['target'] = isset( $value['target'] ) ? 'target="' . $value['target'] . '" ' : '';
386
+ break;
387
+
388
+ case 'field':
389
+ $ui_args = $value;
390
+
391
+ $ui_args['class'] = isset( $ui_args['child_class'] ) ? $ui_args['child_class'] : '' ;
392
+
393
+ if ( isset( $ui_args['options_callback'] ) ) {
394
+ $ui_args['options'] = call_user_func( $ui_args['options_callback'] );
395
+ }
396
+
397
+ unset( $ui_args['master'] );
398
+
399
+ $value['children'] = $this->ui_elements->get_ui_element_instance( $ui_args['type'], $ui_args )->render();
400
+ break;
401
+ }
402
+
403
+ if ( $has_child ) {
404
+ $value['children'] = $this->build( $value['children'] );
405
+ }
406
+
407
+ $output .= ( $value['view_wrapping'] ) ? $this->get_view( $type, $value ) : $value['children'];
408
+ }
409
+
410
+ return $output;
411
+ }
412
+
413
+ /**
414
+ * Output HTML.
415
+ *
416
+ * @since 1.0.0
417
+ * @access protected
418
+ * @param string $output Output HTML.
419
+ * @param boolean $echo Output type.
420
+ * @return string
421
+ */
422
+ protected function output_method( $output = '', $echo = true ) {
423
+ if ( ! filter_var( $echo, FILTER_VALIDATE_BOOLEAN ) ) {
424
+ return $output;
425
+ } else {
426
+ echo $output;
427
+ }
428
+ }
429
+
430
+ /**
431
+ * Enqueue javascript and stylesheet interface builder.
432
+ *
433
+ * @since 4.0.0
434
+ * @access public
435
+ * @return void
436
+ */
437
+ public function enqueue_assets() {
438
+ wp_enqueue_script(
439
+ 'cherry-interface-builder',
440
+ esc_url( Cherry_Core::base_url( 'inc/assets/min/cherry-interface-builder.min.js', __FILE__ ) ),
441
+ array( 'jquery' ),
442
+ '1.0.0',
443
+ true
444
+ );
445
+ wp_enqueue_style(
446
+ 'cherry-interface-builder',
447
+ esc_url( Cherry_Core::base_url( 'inc/assets/min/cherry-interface-builder.min.css', __FILE__ ) ),
448
+ array(),
449
+ '1.0.0',
450
+ 'all'
451
+ );
452
+ }
453
+
454
+ /**
455
+ * Returns the instance.
456
+ *
457
+ * @since 1.0.0
458
+ * @access public
459
+ * @return object
460
+ */
461
+ public static function get_instance( $core, $args ) {
462
+
463
+ // If the single instance hasn't been set, set it now.
464
+ if ( null == self::$instance ) {
465
+ self::$instance = new self( $core, $args );
466
+ }
467
+
468
+ return self::$instance;
469
+ }
470
+ }
471
+ }
cherry-framework/modules/cherry-interface-builder/inc/assets/_use-in-js.scss ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .cherry-ui-kit{
2
+ button{
3
+ *{
4
+ pointer-events: none;
5
+ }
6
+ }
7
+ }
8
+ .cherry-component{
9
+ &__content{
10
+ .cherry-settings__content{
11
+ display: none;
12
+ &.show{
13
+ display: inherit;
14
+ }
15
+ }
16
+ }
17
+ }
cherry-framework/modules/cherry-interface-builder/inc/assets/cherry-interface-builder.js ADDED
@@ -0,0 +1,189 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Interface Builder
3
+ */
4
+ ;( function( $, CherryJsCore ) {
5
+ 'use strict';
6
+
7
+ CherryJsCore.utilites.namespace( 'interfaceBuilder' );
8
+
9
+ CherryJsCore.interfaceBuilder = {
10
+ init: function() {
11
+ this.component.init();
12
+ },
13
+ component: {
14
+ tabClass: '.cherry-tab',
15
+ accordionClass: '.cherry-accordion',
16
+ toggleClass: '.cherry-toggle',
17
+
18
+ buttonClass: '.cherry-component__button',
19
+ contentClass: '.cherry-settings__content',
20
+
21
+ buttonActiveClass: 'active',
22
+ showClass: 'show',
23
+
24
+ localStorage: {},
25
+
26
+ init: function () {
27
+ this.localStorage = this.getState() || {};
28
+
29
+ this.componentInit( this.tabClass );
30
+ this.componentInit( this.accordionClass );
31
+ this.componentInit( this.toggleClass );
32
+
33
+ this.addEvent();
34
+ },
35
+
36
+ addEvent: function() {
37
+ $( 'body' )
38
+ .on( 'click',
39
+ this.tabClass + ' ' + this.buttonClass + ', ' +
40
+ this.toggleClass + ' ' + this.buttonClass + ', ' +
41
+ this.accordionClass + ' ' + this.buttonClass,
42
+
43
+ this.componentClick.bind( this )
44
+ );
45
+ },
46
+
47
+ componentInit: function( componentClass ) {
48
+ var _this = this,
49
+ components = $( componentClass ),
50
+ componentId = null,
51
+ button = null,
52
+ contentId = null,
53
+ notShow = '';
54
+
55
+ components.each( function( index, component ) {
56
+ component = $( component );
57
+ componentId = component.data( 'compotent-id' );
58
+
59
+ switch ( componentClass ) {
60
+ case _this.toggleClass:
61
+ if ( _this.localStorage[ componentId ] && _this.localStorage[ componentId ].length ) {
62
+ notShow = _this.localStorage[ componentId ].join( ', ' );
63
+ }
64
+
65
+ $( _this.contentClass, component )
66
+ .not( notShow )
67
+ .addClass( _this.showClass )
68
+ .prevAll( _this.buttonClass )
69
+ .addClass( _this.buttonActiveClass );
70
+ break;
71
+
72
+ case _this.tabClass:
73
+ case _this.accordionClass:
74
+ if ( _this.localStorage[ componentId ] ) {
75
+ contentId = _this.localStorage[ componentId ][ 0 ];
76
+ button = $( '[data-content-id="' + contentId + '"]', component );
77
+ } else {
78
+ button = $( _this.buttonClass, component ).eq( 0 );
79
+ contentId = button.data( 'content-id' );
80
+ }
81
+
82
+ _this.showElement( button, component, contentId );
83
+ break;
84
+ }
85
+ } );
86
+ },
87
+
88
+ componentClick: function( event ) {
89
+ var $target = $( event.target ),
90
+ $parent = $target.closest( this.tabClass + ', ' + this.accordionClass + ', ' + this.toggleClass ),
91
+ expr = new RegExp( this.tabClass + '|' + this.accordionClass + '|' + this.toggleClass ),
92
+ componentName = $parent[0].className.match( expr )[ 0 ].replace( ' ', '.' ),
93
+ contentId = $target.data( 'content-id' ),
94
+ componentId = $parent.data( 'compotent-id' ),
95
+ activeFlag = $target.hasClass( this.buttonActiveClass ),
96
+ itemClosed;
97
+
98
+ switch ( componentName ) {
99
+ case this.tabClass:
100
+ if ( ! activeFlag ) {
101
+ this.hideElement( $parent );
102
+ this.showElement( $target, $parent, contentId );
103
+
104
+ this.localStorage[ componentId ] = new Array( contentId );
105
+ this.setState();
106
+ }
107
+ break;
108
+
109
+ case this.accordionClass:
110
+ this.hideElement( $parent );
111
+
112
+ if ( ! activeFlag ) {
113
+ this.showElement( $target, $parent, contentId );
114
+
115
+ this.localStorage[ componentId ] = new Array( contentId );
116
+ } else {
117
+ this.localStorage[ componentId ] = {};
118
+ }
119
+ this.setState();
120
+ break;
121
+
122
+ case this.toggleClass:
123
+ $target
124
+ .toggleClass( this.buttonActiveClass )
125
+ .nextAll( contentId )
126
+ .toggleClass( this.showClass );
127
+
128
+ if ( Array.isArray( this.localStorage[ componentId ] ) ) {
129
+ itemClosed = this.localStorage[ componentId ].indexOf( contentId );
130
+
131
+ if ( -1 !== itemClosed ) {
132
+ this.localStorage[ componentId ].splice( itemClosed, 1 );
133
+ } else {
134
+ this.localStorage[ componentId ].push( contentId );
135
+ }
136
+
137
+ } else {
138
+ this.localStorage[ componentId ] = new Array( contentId );
139
+ }
140
+
141
+ this.setState();
142
+ break;
143
+ }
144
+ $target.blur();
145
+
146
+ return false;
147
+ },
148
+
149
+ showElement: function ( button, holder, contentId ) {
150
+ button
151
+ .addClass( this.buttonActiveClass );
152
+
153
+ holder
154
+ .data( 'content-id', contentId );
155
+
156
+ $( contentId, holder )
157
+ .addClass( this.showClass );
158
+ },
159
+
160
+ hideElement: function ( holder ) {
161
+ var contsntId = holder.data( 'content-id' );
162
+
163
+ $( '[data-content-id="' + contsntId + '"]', holder )
164
+ .removeClass( this.buttonActiveClass );
165
+
166
+ $( contsntId, holder )
167
+ .removeClass( this.showClass );
168
+ },
169
+
170
+ getState: function() {
171
+ try {
172
+ return JSON.parse( localStorage.getItem( 'interface-builder' ) );
173
+ } catch ( e ) {
174
+ return false;
175
+ }
176
+ },
177
+
178
+ setState: function() {
179
+ try {
180
+ localStorage.setItem( 'interface-builder', JSON.stringify( this.localStorage ) );
181
+ } catch ( e ) {
182
+ return false;
183
+ }
184
+ }
185
+ }
186
+ };
187
+
188
+ CherryJsCore.interfaceBuilder.init();
189
+ }( jQuery, window.CherryJsCore ) );
cherry-framework/modules/cherry-interface-builder/inc/assets/cherry-interface-builder.scss ADDED
@@ -0,0 +1,463 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $color-1: #fff; // Background color.
2
+ $color-2: #efefef; // Background color.
3
+ $color-3: #96989a; // Description color and tabs button text color.
4
+ $color-4: #b4b7ba; //
5
+ $color-5: #f1f1f1; // Scrollbar background
6
+ $color-6: #e5e5e5; // Hover scrollbar background
7
+ $color-7: #495159; // Scrollbar track background
8
+ $link-color: #298ffc; // link color.
9
+ $link-hover-color: #23282d; // link hover color.
10
+
11
+ $shadow: 0px 5px 21px rgba(0, 0, 0, 0.1); //Shadow.
12
+ $border: 1px solid rgba(0, 0, 0, 0.1) ;
13
+
14
+ $br-radius: 5px; // Border radius.
15
+
16
+ $padding: 10px;
17
+ $margin: 10px;
18
+ $max-heught: 700px;
19
+
20
+ @import "use-in-js";
21
+
22
+ html{
23
+ font-size: 13px;
24
+ }
25
+ .cherry-ui-kit{
26
+ h1{
27
+ font-weight: 700;
28
+ font-size: 2.308rem;
29
+ line-height: 2.308rem;
30
+ .dashicons{
31
+ font-size: 3rem;
32
+ line-height: inherit;
33
+ width: 20px;
34
+ margin: 0 $margin * 2 0 $margin * -0.5;
35
+ }
36
+ }
37
+ h2{
38
+ font-weight: 600;
39
+ font-size: 1.538rem;
40
+ line-height: 1.538rem;
41
+ .dashicons{
42
+ font-size: 2rem;
43
+ line-height: inherit;
44
+ width: 20px;
45
+ margin-right: $margin * 2;
46
+ }
47
+ }
48
+ h3{
49
+ font-weight: 600;
50
+ font-size: 1.231rem;
51
+ line-height: 1.231rem;
52
+ .dashicons{
53
+ font-size: 1.7rem;
54
+ line-height: inherit;
55
+ margin-right: $margin * 0.5;
56
+ }
57
+ }
58
+ h4{
59
+ font-weight: 500;
60
+ font-size: 1.077rem;
61
+ line-height: 1.077rem;
62
+
63
+ }
64
+ h5{
65
+ font-weight: 500;
66
+ font-size: 1.077rem;
67
+ line-height: 1.077rem;
68
+ }
69
+ h6{
70
+ font-weight: 400;
71
+ font-size: 1rem;
72
+ line-height: 1rem;
73
+ }
74
+ a{
75
+ color: $link-color;
76
+ text-decoration: none;
77
+ &:hover{
78
+ color: $link-hover-color;
79
+ }
80
+ &:focus{
81
+ outline: 1px solid $link-hover-color;
82
+ }
83
+ }
84
+ &__description{
85
+ font-style: 1rem;
86
+ color: $color-3;
87
+ margin: $margin 0;
88
+ }
89
+ &__title{
90
+ margin: $margin*2 0;
91
+ }
92
+ &.hide{
93
+ display: none;
94
+ }
95
+ }
96
+
97
+ .cherry-control + .cherry-control, .cherry-settings + .cherry-control{
98
+ border-top: $border;
99
+ }
100
+
101
+ .cherry-section{
102
+ padding: $padding;
103
+ background-color: $color-1;
104
+ margin-left: -10px;
105
+ &__title, &__description{
106
+ margin: $margin 0 0 0;
107
+ }
108
+ & + .cherry-ui-kit {
109
+ border-top: $border;
110
+ }
111
+ @media ( min-width: 783px ) {
112
+ box-shadow:$shadow;
113
+ border-radius: $br-radius;
114
+ border: $border;
115
+ padding: $padding * 1.5;
116
+ margin: $margin * 1.5 $margin * 1.5 0 0;
117
+ &__holder{
118
+ background-color: $color-2;
119
+ border-radius: $br-radius;
120
+ padding: $padding * 1.5;
121
+ }
122
+ &__inner{
123
+
124
+ }
125
+ &__info{
126
+ background-color: $color-1;
127
+ border-radius: $br-radius;
128
+ padding: $padding * 1.5;
129
+ box-shadow: $shadow;
130
+ margin-bottom: $padding * 1.5;
131
+ }
132
+ .cherry-settings{
133
+ box-shadow: $shadow;
134
+ border-radius: $br-radius;
135
+ border: $border;
136
+ background-color: $color-1;
137
+ margin-top: $padding * 1.5;
138
+ &:first-child{
139
+ margin-top: 0;
140
+ }
141
+ }
142
+ }
143
+ @media ( min-width: 961px ) {
144
+ padding: $padding * 3;
145
+ margin: $margin * 2 $margin * 2 0 0;
146
+ &__info{
147
+ padding: $padding * 3;
148
+ margin-bottom: $padding * 3;
149
+ }
150
+ &__holder{
151
+ padding: $padding * 3;
152
+ }
153
+ .cherry-settings{
154
+ margin-top: $padding * 3;
155
+ }
156
+ }
157
+ }
158
+
159
+ .cherry-component{
160
+ padding: $padding * 2 0;
161
+ @media ( min-width: 783px ) {
162
+ padding: $padding * 1.5;
163
+ }
164
+ @media ( min-width: 961px ) {
165
+ padding: $padding * 3;
166
+ }
167
+ & + * {
168
+ border-top: $border;
169
+ }
170
+ &__title{
171
+ margin-top: 0;
172
+ }
173
+ & &__content{
174
+ .cherry-settings{
175
+ padding: 0;
176
+ border-top: none;
177
+ }
178
+ }
179
+ &__button{
180
+ display: block;
181
+ min-height: 45px;
182
+ .cherry-ui-kit__title {
183
+ color: inherit;
184
+ }
185
+ &.active, &:hover{
186
+ color: $link-color;
187
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
188
+ }
189
+ &:focus{
190
+ outline: none;
191
+ box-shadow: inset 0px 0px 10px rgba(41,143,252,0.5);
192
+ transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
193
+ }
194
+ transition: all 300ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
195
+ }
196
+ &.cherry-accordion, &.cherry-toggle{
197
+ .cherry-component__button{
198
+ width: 100%;
199
+ padding: $padding * 1.5 $padding * 2;
200
+ border:0;
201
+ background: none;
202
+ cursor: pointer;
203
+ .cherry-toggle__title {
204
+ font-weight: 700;
205
+ font-size: 14px;
206
+ float: left;
207
+ margin: 0;
208
+ }
209
+ span{
210
+ font-size: 25px;
211
+ color: $color-4;
212
+ float: right;
213
+ padding: 5px 5px;
214
+ width: 10px;
215
+ height: 9px;
216
+ text-align: left;
217
+ margin-right: -6px;
218
+ &.hide-icon{
219
+ &:before{
220
+ position: relative;
221
+ top: -8px;
222
+ left: -9px;
223
+ }
224
+ transform:scaleX(1);
225
+ transition: all 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
226
+ }
227
+ &.show-icon{
228
+ &:before{
229
+ position: relative;
230
+ top: -7px;
231
+ left: -9px;
232
+ }
233
+ position: relative;
234
+ left: 14px;
235
+ transform:scaleX(0);
236
+ transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);
237
+ }
238
+ }
239
+ &.active{
240
+ span{
241
+ &.show-icon{
242
+ transform:scaleX(1);
243
+ transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
244
+ }
245
+ &.hide-icon{
246
+ transform:scaleX(0);
247
+ transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
248
+ }
249
+ }
250
+ }
251
+ }
252
+ .cherry-component__button + .cherry-settings__content{
253
+ border-top: $border;
254
+ }
255
+ > .cherry-ui-kit__content{
256
+ & > .cherry-settings + .cherry-settings{
257
+ margin-top: $margin;
258
+ }
259
+ > .cherry-settings{
260
+ box-shadow:$shadow;
261
+ border-radius: $br-radius;
262
+ border: $border;
263
+ }
264
+ }
265
+ }
266
+ &.cherry-tab{
267
+ .cherry-tab__tabs{
268
+ display: flex;
269
+ flex-flow: row wrap;
270
+ justify-content: flex-start;
271
+ align-items: flex-start;
272
+ align-content: flex-start;
273
+ border-bottom: $border;
274
+ .cherry-component__button{
275
+ order: 0;
276
+ flex: 0 1 100%;
277
+ align-self: auto;
278
+ padding: $padding * 1.5 $padding * 2;
279
+ border: 0;
280
+ background: none;
281
+ cursor: pointer;
282
+ &.active{
283
+ -ms-box-shadow: inset 0px -3px 0px 0px $link-color;
284
+ box-shadow: inset 0px -3px 0px 0px $link-color;
285
+ }
286
+ .cherry-tab__title {
287
+ font-weight: 700;
288
+ font-size: 14px;
289
+ float: left;
290
+ margin: 0;
291
+ }
292
+ & + button{
293
+ border-top: $border;
294
+ }
295
+ }
296
+ }
297
+ .cherry-tab__body{
298
+ box-shadow:$shadow;
299
+ border-radius: $br-radius;
300
+ border: $border;
301
+ background-color: $color-1;
302
+ .cherry-settings{
303
+ box-shadow: none;
304
+ border-radius: 0;
305
+ border: none;
306
+ background-color: inherit;
307
+ margin: 0;
308
+ }
309
+ }
310
+ @media ( min-width: 783px ) {
311
+ .cherry-tab__tabs{
312
+ border: solid 1px rgba(0,0,0,0.1);
313
+ .cherry-component__button{
314
+ & + button{
315
+ border-top: none;
316
+ }
317
+ }
318
+ }
319
+ .cherry-tab__body{
320
+ border: none;
321
+ .cherry-tab__content{
322
+ border: $border;
323
+ }
324
+ }
325
+ &--horizontal{
326
+ >.cherry-tab__body{
327
+ border-radius: none;
328
+ >.cherry-tab__tabs{
329
+ flex-wrap: nowrap;
330
+ flex-direction: row;
331
+ border-radius:$br-radius $br-radius 0 0;
332
+ border-bottom: none;
333
+ .cherry-component__button{
334
+ flex: 0 1 auto;
335
+ }
336
+ }
337
+ >.cherry-tab__content{
338
+ border-radius: 0 0 $br-radius $br-radius;
339
+ }
340
+ }
341
+ }
342
+ &--vertical{
343
+ >.cherry-tab__body{
344
+ display: flex;
345
+ border-radius: none;
346
+ >.cherry-tab__tabs{
347
+ flex-direction: row;
348
+ -webkit-box-flex: 0;
349
+ flex: 0 1 25%;
350
+ border-radius:$br-radius 0 0 $br-radius;
351
+ border-right: none;
352
+ .cherry-component__button{
353
+ text-align: right;
354
+ .cherry-tab__title {
355
+ width: 100%;
356
+ }
357
+ &.active{
358
+ box-shadow: inset -3px 0px 0px $link-color;
359
+ }
360
+ }
361
+ }
362
+ >.cherry-tab__content{
363
+ -webkit-box-flex: 0;
364
+ flex: 0 1 75%;
365
+ border-radius: 0 $br-radius $br-radius 0;
366
+ }
367
+ }
368
+ }
369
+ }
370
+ @media ( min-width: 1200px ) {
371
+ &--vertical{
372
+ .cherry-tab__tabs{
373
+ flex: 0 1 20%;
374
+ }
375
+ .cherry-tab__content{
376
+ flex: 0 1 80%;
377
+ }
378
+ }
379
+ }
380
+ }
381
+ }
382
+ .cherry-settings{
383
+ & + & {
384
+ border-top: $border;
385
+ }
386
+ & &__title{
387
+ margin-bottom: $margin;
388
+ }
389
+ &__description, & &__title{
390
+ margin-left: $margin;
391
+ @media ( min-width: 783px ) {
392
+ margin-left: $margin * 1.5;
393
+ }
394
+ @media ( min-width: 961px ) {
395
+ margin-left: $margin * 3;
396
+ }
397
+ }
398
+ }
399
+ .cherry-control{
400
+ padding: $padding * 1.5 $padding * 2;
401
+ &__title{
402
+ margin: 0 0 $margin 0 ;
403
+ }
404
+ &__description{
405
+ margin-top: 0;
406
+ }
407
+ .cherry-ui-container {
408
+ margin: 0;
409
+ }
410
+ @media (min-width: 783px) {
411
+ padding: $padding * 1.5;
412
+ display: flex;
413
+ flex-flow: row nowrap;
414
+ &__info{
415
+ -webkit-box-flex: 0;
416
+ flex: 0 1 30%;
417
+ padding-right: $padding * 1.5;
418
+ }
419
+ &__content{
420
+ -webkit-box-flex: 0;
421
+ flex: 0 1 70%;
422
+ }
423
+ }
424
+ @media ( min-width: 961px ) {
425
+ padding: $padding * 3;
426
+ }
427
+ }
428
+
429
+ .cherry-section.cherry-scroll > .cherry-section__holder > .cherry-section__inner,
430
+ .cherry-tab__content > .cherry-scroll,
431
+ .cherry-accordion__content > .cherry-scroll > .cherry-settings__content,
432
+ .cherry-toggle__content > .cherry-scroll > .cherry-settings__content,
433
+ {
434
+ @media ( min-width: 783px ) {
435
+ max-height: $max-heught;
436
+ overflow-y: scroll;
437
+ position: relative;
438
+ &::-webkit-scrollbar {
439
+ width: 10px;
440
+ height: 10px;
441
+ &-button {
442
+ width: 0px;
443
+ height: 0px;
444
+ }
445
+ &-thumb {
446
+ background-color: $link-color;
447
+ border: none;
448
+ border-radius: $br-radius;
449
+ &:hover, &:active {
450
+ background: #206ff4;
451
+ }
452
+ }
453
+ &-track {
454
+ background-color: $color-1;
455
+ border: none;
456
+ border-radius: $br-radius;
457
+ }
458
+ &-corner {
459
+ background: transparent;
460
+ }
461
+ }
462
+ }
463
+ }
cherry-framework/modules/cherry-interface-builder/inc/assets/min/cherry-interface-builder.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .cherry-ui-kit button *{pointer-events:none}.cherry-component__content .cherry-settings__content{display:none}.cherry-component__content .cherry-settings__content.show{display:inherit}html{font-size:13px}.cherry-ui-kit h1{font-weight:700;font-size:2.308rem;line-height:2.308rem}.cherry-ui-kit h1 .dashicons{font-size:3rem;line-height:inherit;width:20px;margin:0 20px 0 -5px}.cherry-ui-kit h2{font-weight:600;font-size:1.538rem;line-height:1.538rem}.cherry-ui-kit h2 .dashicons{font-size:2rem;line-height:inherit;width:20px;margin-right:20px}.cherry-ui-kit h3{font-weight:600;font-size:1.231rem;line-height:1.231rem}.cherry-ui-kit h3 .dashicons{font-size:1.7rem;line-height:inherit;margin-right:5px}.cherry-ui-kit h4{font-weight:500;font-size:1.077rem;line-height:1.077rem}.cherry-ui-kit h5{font-weight:500;font-size:1.077rem;line-height:1.077rem}.cherry-ui-kit h6{font-weight:400;font-size:1rem;line-height:1rem}.cherry-ui-kit a{color:#298ffc;text-decoration:none}.cherry-ui-kit a:hover{color:#23282d}.cherry-ui-kit a:focus{outline:1px solid #23282d}.cherry-ui-kit__description{font-style:1rem;color:#96989a;margin:10px 0}.cherry-ui-kit__title{margin:20px 0}.cherry-ui-kit.hide{display:none}.cherry-control+.cherry-control,.cherry-settings+.cherry-control{border-top:1px solid rgba(0,0,0,0.1)}.cherry-section{padding:10px;background-color:#fff;margin-left:-10px}.cherry-section__title,.cherry-section__description{margin:10px 0 0 0}.cherry-section+.cherry-ui-kit{border-top:1px solid rgba(0,0,0,0.1)}@media (min-width: 783px){.cherry-section{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1);padding:15px;margin:15px 15px 0 0}.cherry-section__holder{background-color:#efefef;border-radius:5px;padding:15px}.cherry-section__info{background-color:#fff;border-radius:5px;padding:15px;box-shadow:0px 5px 21px rgba(0,0,0,0.1);margin-bottom:15px}.cherry-section .cherry-settings{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1);background-color:#fff;margin-top:15px}.cherry-section .cherry-settings:first-child{margin-top:0}}@media (min-width: 961px){.cherry-section{padding:30px;margin:20px 20px 0 0}.cherry-section__info{padding:30px;margin-bottom:30px}.cherry-section__holder{padding:30px}.cherry-section .cherry-settings{margin-top:30px}}.cherry-component{padding:20px 0}@media (min-width: 783px){.cherry-component{padding:15px}}@media (min-width: 961px){.cherry-component{padding:30px}}.cherry-component+*{border-top:1px solid rgba(0,0,0,0.1)}.cherry-component__title{margin-top:0}.cherry-component .cherry-component__content .cherry-settings{padding:0;border-top:none}.cherry-component__button{display:block;min-height:45px;-webkit-transition:all 300ms cubic-bezier(0.55, 0.055, 0.675, 0.19);transition:all 300ms cubic-bezier(0.55, 0.055, 0.675, 0.19)}.cherry-component__button .cherry-ui-kit__title{color:inherit}.cherry-component__button.active,.cherry-component__button:hover{color:#298ffc;-webkit-transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}.cherry-component__button:focus{outline:none;box-shadow:inset 0px 0px 10px rgba(41,143,252,0.5);-webkit-transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275);transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275)}.cherry-component.cherry-accordion .cherry-component__button,.cherry-component.cherry-toggle .cherry-component__button{width:100%;padding:15px 20px;border:0;background:none;cursor:pointer}.cherry-component.cherry-accordion .cherry-component__button .cherry-toggle__title,.cherry-component.cherry-toggle .cherry-component__button .cherry-toggle__title{font-weight:700;font-size:14px;float:left;margin:0}.cherry-component.cherry-accordion .cherry-component__button span,.cherry-component.cherry-toggle .cherry-component__button span{font-size:25px;color:#b4b7ba;float:right;padding:5px 5px;width:10px;height:9px;text-align:left;margin-right:-6px}.cherry-component.cherry-accordion .cherry-component__button span.hide-icon,.cherry-component.cherry-toggle .cherry-component__button span.hide-icon{-webkit-transform:scaleX(1);-ms-transform:scaleX(1);transform:scaleX(1);-webkit-transition:all 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275);transition:all 300ms cubic-bezier(0.175, 0.885, 0.32, 1.275)}.cherry-component.cherry-accordion .cherry-component__button span.hide-icon:before,.cherry-component.cherry-toggle .cherry-component__button span.hide-icon:before{position:relative;top:-8px;left:-9px}.cherry-component.cherry-accordion .cherry-component__button span.show-icon,.cherry-component.cherry-toggle .cherry-component__button span.show-icon{position:relative;left:14px;-webkit-transform:scaleX(0);-ms-transform:scaleX(0);transform:scaleX(0);-webkit-transition:all 300ms cubic-bezier(0.215, 0.61, 0.355, 1);transition:all 300ms cubic-bezier(0.215, 0.61, 0.355, 1)}.cherry-component.cherry-accordion .cherry-component__button span.show-icon:before,.cherry-component.cherry-toggle .cherry-component__button span.show-icon:before{position:relative;top:-7px;left:-9px}.cherry-component.cherry-accordion .cherry-component__button.active span.show-icon,.cherry-component.cherry-toggle .cherry-component__button.active span.show-icon{-webkit-transform:scaleX(1);-ms-transform:scaleX(1);transform:scaleX(1);-webkit-transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275);transition-timing-function:cubic-bezier(0.175, 0.885, 0.32, 1.275)}.cherry-component.cherry-accordion .cherry-component__button.active span.hide-icon,.cherry-component.cherry-toggle .cherry-component__button.active span.hide-icon{-webkit-transform:scaleX(0);-ms-transform:scaleX(0);transform:scaleX(0);-webkit-transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1);transition-timing-function:cubic-bezier(0.215, 0.61, 0.355, 1)}.cherry-component.cherry-accordion .cherry-component__button+.cherry-settings__content,.cherry-component.cherry-toggle .cherry-component__button+.cherry-settings__content{border-top:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-accordion>.cherry-ui-kit__content>.cherry-settings+.cherry-settings,.cherry-component.cherry-toggle>.cherry-ui-kit__content>.cherry-settings+.cherry-settings{margin-top:10px}.cherry-component.cherry-accordion>.cherry-ui-kit__content>.cherry-settings,.cherry-component.cherry-toggle>.cherry-ui-kit__content>.cherry-settings{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__tabs{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row wrap;-ms-flex-flow:row wrap;flex-flow:row wrap;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-align-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start;border-bottom:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button{-webkit-box-ordinal-group:1;-webkit-order:0;-ms-flex-order:0;order:0;-webkit-box-flex:0;-webkit-flex:0 1 100%;-ms-flex:0 1 100%;flex:0 1 100%;-webkit-align-self:auto;-ms-flex-item-align:auto;align-self:auto;padding:15px 20px;border:0;background:none;cursor:pointer}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button.active{-ms-box-shadow:inset 0px -3px 0px 0px #298ffc;box-shadow:inset 0px -3px 0px 0px #298ffc}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button .cherry-tab__title{font-weight:700;font-size:14px;float:left;margin:0}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button+button{border-top:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__body{box-shadow:0px 5px 21px rgba(0,0,0,0.1);border-radius:5px;border:1px solid rgba(0,0,0,0.1);background-color:#fff}.cherry-component.cherry-tab .cherry-tab__body .cherry-settings{box-shadow:none;border-radius:0;border:none;background-color:inherit;margin:0}@media (min-width: 783px){.cherry-component.cherry-tab .cherry-tab__tabs{border:solid 1px rgba(0,0,0,0.1)}.cherry-component.cherry-tab .cherry-tab__tabs .cherry-component__button+button{border-top:none}.cherry-component.cherry-tab .cherry-tab__body{border:none}.cherry-component.cherry-tab .cherry-tab__body .cherry-tab__content{border:1px solid rgba(0,0,0,0.1)}.cherry-component.cherry-tab--horizontal>.cherry-tab__body{border-radius:none}.cherry-component.cherry-tab--horizontal>.cherry-tab__body>.cherry-tab__tabs{-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;border-radius:5px 5px 0 0;border-bottom:none}.cherry-component.cherry-tab--horizontal>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button{-webkit-box-flex:0;-webkit-flex:0 1 auto;-ms-flex:0 1 auto;flex:0 1 auto}.cherry-component.cherry-tab--horizontal>.cherry-tab__body>.cherry-tab__content{border-radius:0 0 5px 5px}.cherry-component.cherry-tab--vertical>.cherry-tab__body{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;border-radius:none}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:0;-webkit-flex:0 1 25%;-ms-flex:0 1 25%;flex:0 1 25%;border-radius:5px 0 0 5px;border-right:none}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button{text-align:right}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button .cherry-tab__title{width:100%}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__tabs .cherry-component__button.active{box-shadow:inset -3px 0px 0px #298ffc}.cherry-component.cherry-tab--vertical>.cherry-tab__body>.cherry-tab__content{-webkit-box-flex:0;-webkit-flex:0 1 75%;-ms-flex:0 1 75%;flex:0 1 75%;border-radius:0 5px 5px 0}}@media (min-width: 1200px){.cherry-component.cherry-tab--vertical .cherry-tab__tabs{-webkit-box-flex:0;-webkit-flex:0 1 20%;-ms-flex:0 1 20%;flex:0 1 20%}.cherry-component.cherry-tab--vertical .cherry-tab__content{-webkit-box-flex:0;-webkit-flex:0 1 80%;-ms-flex:0 1 80%;flex:0 1 80%}}.cherry-settings+.cherry-settings{border-top:1px solid rgba(0,0,0,0.1)}.cherry-settings .cherry-settings__title{margin-bottom:10px}.cherry-settings__description,.cherry-settings .cherry-settings__title{margin-left:10px}@media (min-width: 783px){.cherry-settings__description,.cherry-settings .cherry-settings__title{margin-left:15px}}@media (min-width: 961px){.cherry-settings__description,.cherry-settings .cherry-settings__title{margin-left:30px}}.cherry-control{padding:15px 20px}.cherry-control__title{margin:0 0 10px 0}.cherry-control__description{margin-top:0}.cherry-control .cherry-ui-container{margin:0}@media (min-width: 783px){.cherry-control{padding:15px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-flow:row nowrap;-ms-flex-flow:row nowrap;flex-flow:row nowrap}.cherry-control__info{-webkit-box-flex:0;-webkit-flex:0 1 30%;-ms-flex:0 1 30%;flex:0 1 30%;padding-right:15px}.cherry-control__content{-webkit-box-flex:0;-webkit-flex:0 1 70%;-ms-flex:0 1 70%;flex:0 1 70%}}@media (min-width: 961px){.cherry-control{padding:30px}}@media (min-width: 783px){.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner,.cherry-tab__content>.cherry-scroll,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content{max-height:700px;overflow-y:scroll;position:relative}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar{width:10px;height:10px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-button,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-button,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-button,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-button{width:0px;height:0px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-thumb,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-thumb,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb{background-color:#298ffc;border:none;border-radius:5px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-thumb:hover,.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-thumb:active,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-thumb:hover,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-thumb:active,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:hover,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:active,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:hover,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-thumb:active{background:#206ff4}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-track,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-track,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-track,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-track{background-color:#fff;border:none;border-radius:5px}.cherry-section.cherry-scroll>.cherry-section__holder>.cherry-section__inner::-webkit-scrollbar-corner,.cherry-tab__content>.cherry-scroll::-webkit-scrollbar-corner,.cherry-accordion__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-corner,.cherry-toggle__content>.cherry-scroll>.cherry-settings__content::-webkit-scrollbar-corner{background:transparent}}
cherry-framework/modules/cherry-interface-builder/inc/assets/min/cherry-interface-builder.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(t,s){"use strict";s.utilites.namespace("interfaceBuilder"),s.interfaceBuilder={init:function(){this.component.init()},component:{tabClass:".cherry-tab",accordionClass:".cherry-accordion",toggleClass:".cherry-toggle",buttonClass:".cherry-component__button",contentClass:".cherry-settings__content",buttonActiveClass:"active",showClass:"show",localStorage:{},init:function(){this.localStorage=this.getState()||{},this.componentInit(this.tabClass),this.componentInit(this.accordionClass),this.componentInit(this.toggleClass),this.addEvent()},addEvent:function(){t("body").on("click",this.tabClass+" "+this.buttonClass+", "+this.toggleClass+" "+this.buttonClass+", "+this.accordionClass+" "+this.buttonClass,this.componentClick.bind(this))},componentInit:function(s){var a=this,e=t(s),o=null,i=null,l=null,n="";e.each(function(e,c){switch(c=t(c),o=c.data("compotent-id"),s){case a.toggleClass:a.localStorage[o]&&a.localStorage[o].length&&(n=a.localStorage[o].join(", ")),t(a.contentClass,c).not(n).addClass(a.showClass).prevAll(a.buttonClass).addClass(a.buttonActiveClass);break;case a.tabClass:case a.accordionClass:a.localStorage[o]?(l=a.localStorage[o][0],i=t('[data-content-id="'+l+'"]',c)):(i=t(a.buttonClass,c).eq(0),l=i.data("content-id")),a.showElement(i,c,l)}})},componentClick:function(s){var a,e=t(s.target),o=e.closest(this.tabClass+", "+this.accordionClass+", "+this.toggleClass),i=new RegExp(this.tabClass+"|"+this.accordionClass+"|"+this.toggleClass),l=o[0].className.match(i)[0].replace(" ","."),n=e.data("content-id"),c=o.data("compotent-id"),r=e.hasClass(this.buttonActiveClass);switch(l){case this.tabClass:r||(this.hideElement(o),this.showElement(e,o,n),this.localStorage[c]=new Array(n),this.setState());break;case this.accordionClass:this.hideElement(o),r?this.localStorage[c]={}:(this.showElement(e,o,n),this.localStorage[c]=new Array(n)),this.setState();break;case this.toggleClass:e.toggleClass(this.buttonActiveClass).nextAll(n).toggleClass(this.showClass),Array.isArray(this.localStorage[c])?(a=this.localStorage[c].indexOf(n),-1!==a?this.localStorage[c].splice(a,1):this.localStorage[c].push(n)):this.localStorage[c]=new Array(n),this.setState()}return e.blur(),!1},showElement:function(s,a,e){s.addClass(this.buttonActiveClass),a.data("content-id",e),t(e,a).addClass(this.showClass)},hideElement:function(s){var a=s.data("content-id");t('[data-content-id="'+a+'"]',s).removeClass(this.buttonActiveClass),t(a,s).removeClass(this.showClass)},getState:function(){try{return JSON.parse(localStorage.getItem("interface-builder"))}catch(t){return!1}},setState:function(){try{localStorage.setItem("interface-builder",JSON.stringify(this.localStorage))}catch(t){return!1}}}},s.interfaceBuilder.init()}(jQuery,window.CherryJsCore);
cherry-framework/modules/cherry-interface-builder/inc/views/component-accordion.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Accordion template.
4
+ *
5
+ * @package Cherry_Interface_Builder
6
+ * @subpackage Views
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+ ?>
18
+ <div class="cherry-ui-kit cherry-component cherry-accordion <?php echo $__data['class']; ?>" data-compotent-id="#<?php echo $__data['id'] ?>">
19
+ <?php if ( ! empty( $__data['title'] ) ) { ?>
20
+ <h2 class="cherry-ui-kit__title cherry-component__title" role="banner" ><?php echo $__data['title'] ?></h2>
21
+ <?php } ?>
22
+ <?php if ( ! empty( $__data['description'] ) ) { ?>
23
+ <div class="cherry-ui-kit__description cherry-component__description" role="note" ><?php echo $__data['description'] ?></div>
24
+ <?php } ?>
25
+ <?php if ( ! empty( $__data['children'] ) ) { ?>
26
+ <div class="cherry-ui-kit__content cherry-component__content cherry-accordion__content" role="group" >
27
+ <?php echo $__data['children'] ?>
28
+ </div>
29
+ <?php } ?>
30
+ </div>
cherry-framework/modules/cherry-interface-builder/inc/views/component-repeater.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Repeater template.
4
+ *
5
+ * @package Cherry_Interface_Builder
6
+ * @subpackage Views
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+ ?>
18
+ <div class="cherry-ui-kit cherry-component cherry-repeater <?php echo $__data['class']; ?>" data-compotent-id="#<?php echo $__data['id']; ?>">
19
+ <?php if ( ! empty( $__data['title'] ) ) { ?>
20
+ <h2 class="cherry-ui-kit__title cherry-component__title" role="banner" ><?php echo $__data['title']; ?></h2>
21
+ <?php } ?>
22
+ <?php if ( ! empty( $__data['description'] ) ) { ?>
23
+ <div class="cherry-ui-kit__description cherry-component__description" role="note" ><?php echo $__data['description']; ?></div>
24
+ <?php } ?>
25
+ <?php if ( ! empty( $__data['children'] ) ) { ?>
26
+ <div class="cherry-ui-kit__content cherry-component__content" role="group" >
27
+ <?php echo $__data['children']; ?>
28
+ </div>
29
+ <?php } ?>
30
+ </div>
cherry-framework/modules/cherry-interface-builder/inc/views/component-tab-horizontal.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Horizontal tab template.
4
+ *
5
+ * @package Cherry_Interface_Builder
6
+ * @subpackage Views
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+ ?>
18
+ <div class="cherry-ui-kit cherry-component cherry-tab cherry-tab--horizontal <?php echo $__data['class'] ?>" data-compotent-id="#<?php echo $__data['id'] ?>">
19
+ <?php if ( ! empty( $__data['title'] ) ) { ?>
20
+ <h2 class="cherry-ui-kit__title cherry-component__title" role="banner" ><?php echo $__data['title']; ?></h2>
21
+ <?php } ?>
22
+ <?php if ( ! empty( $__data['description'] ) ) { ?>
23
+ <div class="cherry-ui-kit__description cherry-component__description" role="note" ><?php echo $__data['description']; ?></div>
24
+ <?php } ?>
25
+ <?php if ( ! empty( $__data['children'] ) ) { ?>
26
+ <div class="cherry-tab__body" >
27
+ <div class="cherry-tab__tabs" role="navigation" >
28
+ <?php echo $__data['tabs']; ?>
29
+ </div>
30
+ <div class="cherry-ui-kit__content cherry-component__content cherry-tab__content" role="group" >
31
+ <?php echo $__data['children']; ?>
32
+ </div>
33
+ </div>
34
+ <?php } ?>
35
+ </div>
cherry-framework/modules/cherry-interface-builder/inc/views/component-tab-vertical.php ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Verticall tab template.
4
+ *
5
+ * @package Cherry_Interface_Builder
6
+ * @subpackage Views
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+ ?>
18
+ <div class="cherry-ui-kit cherry-component cherry-tab cherry-tab--vertical <?php echo $__data['class']; ?>" data-compotent-id="#<?php echo $__data['id']; ?>">
19
+ <?php if ( ! empty( $__data['title'] ) ) { ?>
20
+ <h2 class="cherry-ui-kit__title cherry-component__title" role="banner" ><?php echo $__data['title']; ?></h2>
21
+ <?php } ?>
22
+ <?php if ( ! empty( $__data['description'] ) ) { ?>
23
+ <div class="cherry-ui-kit__description cherry-component__description" role="note" ><?php echo $__data['description']; ?></div>
24
+ <?php } ?>
25
+ <?php if ( ! empty( $__data['children'] ) ) { ?>
26
+ <div class="cherry-tab__body" >
27
+ <div class="cherry-tab__tabs" role="navigation" >
28
+ <?php echo $__data['tabs'] ?>
29
+ </div>
30
+ <div class="cherry-ui-kit__content cherry-component__content cherry-tab__content" role="group" >
31
+ <?php echo $__data['children']; ?>
32
+ </div>
33
+ </div>
34
+ <?php } ?>
35
+ </div>
cherry-framework/modules/cherry-interface-builder/inc/views/component-toggle.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Toggle template.
4
+ *
5
+ * @package Cherry_Interface_Builder
6
+ * @subpackage Views
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+ ?>
18
+ <div class="cherry-ui-kit cherry-component cherry-toggle <?php echo $__data['class']; ?>" data-compotent-id="#<?php echo $__data['id'] ?>">
19
+ <?php if ( ! empty( $__data['title'] ) ) { ?>
20
+ <h2 class="cherry-ui-kit__title cherry-component__title" role="banner" ><?php echo $__data['title']; ?></h2>
21
+ <?php } ?>
22
+ <?php if ( ! empty( $__data['description'] ) ) { ?>
23
+ <div class="cherry-ui-kit__description cherry-component__description" role="note" ><?php echo $__data['description']; ?></div>
24
+ <?php } ?>
25
+ <?php if ( ! empty( $__data['children'] ) ) { ?>
26
+ <div class="cherry-ui-kit__content cherry-component__content cherry-toggle__content" role="group" >
27
+ <?php echo $__data['children']; ?>
28
+ </div>
29
+ <?php } ?>
30
+ </div>
cherry-framework/modules/cherry-interface-builder/inc/views/control.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Control template.
4
+ *
5
+ * @package Cherry_Interface_Builder
6
+ * @subpackage Views
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+ ?>
18
+ <div class="cherry-ui-kit cherry-control <?php echo $__data['class']; ?>">
19
+ <?php if ( ! empty( $__data['title'] ) || ! empty( $__data['description'] ) ) { ?>
20
+ <div class="cherry-control__info">
21
+ <?php if ( ! empty( $__data['title'] ) ) { ?>
22
+ <h4 class="cherry-ui-kit__title cherry-control__title" role="banner" ><?php echo $__data['title']; ?></h4>
23
+ <?php } ?>
24
+ <?php if ( ! empty( $__data['description'] ) ) { ?>
25
+ <div class="cherry-ui-kit__description cherry-control__description" role="note" ><?php echo $__data['description']; ?></div>
26
+ <?php } ?>
27
+ </div>
28
+ <?php } ?>
29
+ <?php if ( ! empty( $__data['children'] ) ) { ?>
30
+ <div class="cherry-ui-kit__content cherry-control__content" role="group" >
31
+ <?php echo $__data['children']; ?>
32
+ </div>
33
+ <?php } ?>
34
+ </div>
cherry-framework/modules/cherry-interface-builder/inc/views/form.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Form template.
4
+ *
5
+ * @package Cherry_Interface_Builder
6
+ * @subpackage Views
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+ ?>
18
+ <form class="cherry-form <?php echo $__data['class']; ?>" id="<?php echo $__data['id']; ?>" name="<?php echo $__data['id']; ?>" <?php echo $__data['accept-charset'] . $__data['action'] . $__data['autocomplete'] . $__data['enctype'] . $__data['method'] . $__data['novalidate'] . $__data['target']; ?>>
19
+ <?php
20
+ if ( ! empty( $__data['children'] ) ) {
21
+ echo $__data['children'];
22
+ }
23
+ ?>
24
+ </form>
cherry-framework/modules/cherry-interface-builder/inc/views/html.php ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * HTML template.
4
+ *
5
+ * @package Cherry_Interface_Builder
6
+ * @subpackage Views
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+ ?>
18
+ <div class="cherry-ui-kit <?php echo $__data['class']; ?>">
19
+ <?php if ( ! empty( $__data['children'] ) ) { ?>
20
+ <div class="cherry-ui-kit__content" role="group" >
21
+ <?php echo $__data['children']; ?>
22
+ </div>
23
+ <?php } ?>
24
+ </div>
cherry-framework/modules/cherry-interface-builder/inc/views/section.php ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Section template.
4
+ *
5
+ * @package Cherry_Interface_Builder
6
+ * @subpackage Views
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+ ?>
18
+ <div class="cherry-ui-kit cherry-section <?php echo $__data['class']; ?>" onclick="void(0)">
19
+ <div class="cherry-section__holder">
20
+ <div class="cherry-section__inner">
21
+ <div class="cherry-section__info">
22
+ <?php if ( ! empty( $__data['title'] ) ) { ?>
23
+ <h1 class="cherry-ui-kit__title cherry-section__title" role="banner" ><?php echo $__data['title']; ?></h1>
24
+ <?php } ?>
25
+ <?php if ( ! empty( $__data['description'] ) ) { ?>
26
+ <div class="cherry-ui-kit__description cherry-section__description " role="note" ><?php echo $__data['description']; ?></div>
27
+ <?php } ?>
28
+ </div>
29
+ <?php if ( ! empty( $__data['children'] ) ) { ?>
30
+ <div class="cherry-ui-kit__content cherry-section__content" role="group" >
31
+ <?php echo $__data['children']; ?>
32
+ </div>
33
+ <?php } ?>
34
+ </div>
35
+ </div>
36
+ </div>
cherry-framework/modules/cherry-interface-builder/inc/views/settings-children-title.php ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Settings title template.
4
+ *
5
+ * @package Cherry_Interface_Builder
6
+ * @subpackage Views
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+ ?>
18
+ <h3 class="cherry-ui-kit__title cherry-settings__title" role="banner" ><?php echo $__data['title']; ?></h3>
cherry-framework/modules/cherry-interface-builder/inc/views/settings.php ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Settings template.
4
+ *
5
+ * @package Cherry_Interface_Builder
6
+ * @subpackage Views
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+ ?>
18
+ <div class="cherry-ui-kit cherry-settings <?php echo $__data['class']; ?>">
19
+ <?php if ( ! empty( $__data['title'] ) ) {
20
+ echo $__data['title'];
21
+ } ?>
22
+ <?php if ( ! empty( $__data['children'] ) || ! empty( $__data['description'] ) ) { ?>
23
+ <div class="cherry-ui-kit__content cherry-settings__content" role="group" id="<?php echo $__data['id']; ?>" >
24
+ <?php if ( ! empty( $__data['description'] ) ) { ?>
25
+ <div class="cherry-ui-kit__description cherry-settings__description" role="note" ><?php echo $__data['description']; ?></div>
26
+ <?php } ?>
27
+ <?php if ( ! empty( $__data['children'] ) ) { ?>
28
+ <?php echo $__data['children']; ?>
29
+ <?php } ?>
30
+ </div>
31
+ <?php } ?>
32
+ </div>
cherry-framework/modules/cherry-interface-builder/inc/views/tab-children-title.php ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Tabs title template.
4
+ *
5
+ * @package Cherry_Interface_Builder
6
+ * @subpackage Views
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+ ?>
18
+ <button class="cherry-tab__button cherry-component__button" role="button" title="<?php echo $__data['title']; ?>" aria-expanded="false" data-content-id="#<?php echo $__data['id'] ?>">
19
+ <h3 class="cherry-ui-kit__title cherry-tab__title" aria-grabbed="true" role="banner" ><?php echo $__data['title']; ?></h3>
20
+ </button>
cherry-framework/modules/cherry-interface-builder/inc/views/toggle-children-title.php ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Toggle title template.
4
+ *
5
+ * @package Cherry_Interface_Builder
6
+ * @subpackage Views
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+ ?>
18
+ <button class="cherry-toggle__header cherry-component__button" role="button" aria-expanded="false" data-content-id="#<?php echo $__data['id'] ?>">
19
+ <h3 class="cherry-ui-kit__title cherry-toggle__title" aria-grabbed="true" role="banner" ><?php echo $__data['title']; ?></h3>
20
+ <span class="dashicons dashicons-arrow-down hide-icon"></span>
21
+ <span class="dashicons dashicons-arrow-up show-icon"></span>
22
+ </button>
cherry-framework/modules/cherry-js-core/assets/js/cherry-js-core.js ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ var CherryJsCore = {};
2
+
3
+ ( function( $ ) {
4
+ 'use strict';
5
+
6
+ CherryJsCore = {
7
+ name: 'Cherry Js Core',
8
+ version: '1.0.0',
9
+ author: 'Cherry Team',
10
+
11
+ variable: {
12
+ $document: $( document ),
13
+ $window: $( window ),
14
+ browser: $.browser,
15
+ browser_supported: true,
16
+ security: window.cherry_ajax,
17
+ loaded_assets: {
18
+ script: window.wp_load_script,
19
+ style: window.wp_load_style
20
+ },
21
+ ui_auto_init: ( 'true' === window.ui_init_object.auto_init ) ? true : false,
22
+ ui_auto_target: window.ui_init_object.targets
23
+ },
24
+
25
+ status: {
26
+ on_load: false,
27
+ is_ready: false
28
+ },
29
+
30
+ init: function(){
31
+
32
+ CherryJsCore.set_variable();
33
+
34
+ $( document ).on( 'ready', CherryJsCore.ready );
35
+
36
+ $( window ).on( 'load', CherryJsCore.load );
37
+ },
38
+
39
+ set_variable: function() {
40
+ //Set variable browser_supported
41
+ CherryJsCore.variable.browser_supported = ( function (){
42
+ var uset_browser = CherryJsCore.variable.browser,
43
+ not_supported = { 'msie': [8] };
44
+
45
+ for ( var browser in not_supported ) {
46
+ if( uset_browser.browser !== 'undefined' ){
47
+ for ( var version in not_supported[ browser ] ) {
48
+ if( uset_browser.version <= not_supported [ browser ] [ version ] ){
49
+ return false;
50
+ }
51
+ }
52
+ }
53
+ }
54
+
55
+ return true;
56
+ }() );
57
+ },
58
+
59
+ ready: function() {
60
+ CherryJsCore.status.is_ready = true;
61
+
62
+ // UI init after widget adding to sidebar
63
+ CherryJsCore.expressions.widget_ui_init();
64
+ },
65
+
66
+ load: function() {
67
+ CherryJsCore.status.on_load = true;
68
+ },
69
+
70
+ expressions: {
71
+ widget_ui_init: function() {
72
+ $( document ).on( 'widget-added widget-updated', function( event, data ) {
73
+ $( 'body' ).trigger( {
74
+ type: 'cherry-ui-elements-init',
75
+ _target: data
76
+ } );
77
+ } );
78
+ },
79
+ },
80
+
81
+ utilites: {
82
+ namespace: function( space_path ) {
83
+ var parts = space_path.split( '.' ),
84
+ parent = CherryJsCore,
85
+ length = parts.length,
86
+ i = 0;
87
+
88
+ for(i = 0; i < length; i += 1 ){
89
+ if( typeof parent[ parts[ i ] ] === 'undefined' ){
90
+ parent[ parts[ i ] ] = {};
91
+ }
92
+ parent = parent[ parts[ i ] ];
93
+ }
94
+ return parent;
95
+ }
96
+ }
97
+ };
98
+
99
+ CherryJsCore.init();
100
+ }(jQuery));
cherry-framework/modules/cherry-js-core/assets/js/min/cherry-js-core.min.js ADDED
@@ -0,0 +1 @@
 
1
+ var CherryJsCore={};!function(r){"use strict";CherryJsCore={name:"Cherry Js Core",version:"1.0.0",author:"Cherry Team",variable:{$document:r(document),$window:r(window),browser:r.browser,browser_supported:!0,security:window.cherry_ajax,loaded_assets:{script:window.wp_load_script,style:window.wp_load_style},ui_auto_init:"true"===window.ui_init_object.auto_init?!0:!1,ui_auto_target:window.ui_init_object.targets},status:{on_load:!1,is_ready:!1},init:function(){CherryJsCore.set_variable(),r(document).on("ready",CherryJsCore.ready),r(window).on("load",CherryJsCore.load)},set_variable:function(){CherryJsCore.variable.browser_supported=function(){var r=CherryJsCore.variable.browser,e={msie:[8]};for(var i in e)if("undefined"!==r.browser)for(var o in e[i])if(r.version<=e[i][o])return!1;return!0}()},ready:function(){CherryJsCore.status.is_ready=!0,CherryJsCore.expressions.widget_ui_init()},load:function(){CherryJsCore.status.on_load=!0},expressions:{widget_ui_init:function(){r(document).on("widget-added widget-updated",function(e,i){r("body").trigger({type:"cherry-ui-elements-init",_target:i})})}},utilites:{namespace:function(r){var e=r.split("."),i=CherryJsCore,o=e.length,t=0;for(t=0;o>t;t+=1)"undefined"==typeof i[e[t]]&&(i[e[t]]={}),i=i[e[t]];return i}}},CherryJsCore.init()}(jQuery);
cherry-framework/modules/cherry-js-core/cherry-js-core.php ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: JS Core
4
+ * Description: Initializes global JS object which provides additional plugin functionality
5
+ * Version: 1.1.2
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.1.2
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Js_Core' ) ) {
26
+
27
+ /**
28
+ * JS-core class.
29
+ *
30
+ * @since 1.0.0
31
+ * @since 1.0.1 Removed `module_directory` and `module_directory_uri` properties.
32
+ */
33
+ class Cherry_Js_Core {
34
+
35
+ /**
36
+ * A reference to an instance of this class.
37
+ *
38
+ * @since 1.0.0
39
+ * @var object
40
+ */
41
+ private static $instance = null;
42
+
43
+ /**
44
+ * Module version.
45
+ *
46
+ * @since 1.0.0
47
+ * @var string
48
+ */
49
+ private $module_version = '1.1.0';
50
+
51
+ /**
52
+ * Default options.
53
+ *
54
+ * @since 1.0.0
55
+ * @var array
56
+ */
57
+ private $options = array(
58
+ 'product_type' => 'framework',
59
+ 'src' => false,
60
+ 'version' => false,
61
+ );
62
+
63
+ /**
64
+ * Class constructor.
65
+ *
66
+ * @since 1.0.0
67
+ * @param object $core Core instance.
68
+ * @param array $args Class args.
69
+ */
70
+ public function __construct( $core, $args = array() ) {
71
+ $this->options = array_merge( $this->options, $args );
72
+
73
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_cherry_scripts' ), 0 );
74
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_cherry_scripts' ), 0 );
75
+ add_action( 'wp_print_scripts', array( $this, 'localize_script' ) );
76
+ }
77
+
78
+ /**
79
+ * Register and enqueue JS-core.
80
+ *
81
+ * @since 1.0.0
82
+ */
83
+ public function enqueue_cherry_scripts() {
84
+
85
+ if ( 'framework' === $this->options['product_type'] ) {
86
+ $src = esc_url( Cherry_Core::base_url( 'assets/js/min/cherry-js-core.min.js', __FILE__ ) );
87
+ $version = $this->module_version;
88
+ } else {
89
+ $src = ( ! empty( $this->options['src'] ) ? esc_url( $this->options['src'] ) : false );
90
+ $version = ( ! empty( $this->options['version'] ) ? absint( $this->options['src'] ) : false );
91
+ }
92
+
93
+ wp_enqueue_script( 'cherry-js-core', $src, array( 'jquery' ), $version, true );
94
+ }
95
+
96
+ /**
97
+ * Retrieve a scripts list.
98
+ *
99
+ * @since 1.0.0
100
+ * @return $array
101
+ */
102
+ private function get_include_script() {
103
+ return $this->add_suffix( '.js', wp_scripts()->queue );
104
+ }
105
+
106
+ /**
107
+ * Retrieve a styles list.
108
+ *
109
+ * @since 1.0.0
110
+ * @return $array
111
+ */
112
+ private function get_include_style() {
113
+ return $this->add_suffix( '.css', wp_styles()->queue );
114
+ }
115
+
116
+ /**
117
+ * [get_ui_init_settings]
118
+ *
119
+ * @since 1.0.0
120
+ * @return $array
121
+ */
122
+ private function get_ui_init_settings() {
123
+
124
+ // Default auto ui init settings.
125
+ $ui_init_settings = array(
126
+ 'auto_init' => false,
127
+ 'targets' => array(),
128
+ );
129
+
130
+ /**
131
+ * Filter to determine the list of selectors and the value of the automatic initialization ui js scripts
132
+ *
133
+ * @var array
134
+ */
135
+ return apply_filters( 'cherry_core_js_ui_init_settings', $ui_init_settings );
136
+ }
137
+
138
+ /**
139
+ * Add suffix to array.
140
+ *
141
+ * @since 1.0.0
142
+ */
143
+ private function add_suffix( $suffix, $array ) {
144
+
145
+ foreach ( $array as $key => $value ) {
146
+ $array[ $key ] = $value . $suffix;
147
+ }
148
+
149
+ return $array;
150
+ }
151
+
152
+ /**
153
+ * Prepare data for API script.
154
+ *
155
+ * @since 1.0.0
156
+ * @return void
157
+ */
158
+ public function localize_script() {
159
+ wp_localize_script( 'cherry-js-core', 'wp_load_style', $this->get_include_style() );
160
+ wp_localize_script( 'cherry-js-core', 'wp_load_script', $this->get_include_script() );
161
+ wp_localize_script( 'cherry-js-core', 'cherry_ajax', wp_create_nonce( 'cherry_ajax_nonce' ) );
162
+
163
+ $ui_init_settings = $this->get_ui_init_settings();
164
+ $ui_init_settings['auto_init'] = ( true == $ui_init_settings['auto_init'] ) ? 'true' : 'false';
165
+ wp_localize_script( 'cherry-js-core', 'ui_init_object', $ui_init_settings );
166
+ }
167
+
168
+ /**
169
+ * Returns the instance.
170
+ *
171
+ * @since 1.0.0
172
+ * @return object
173
+ */
174
+ public static function get_instance( $core, $args ) {
175
+
176
+ // If the single instance hasn't been set, set it now.
177
+ if ( null == self::$instance ) {
178
+ self::$instance = new self( $core, $args );
179
+ }
180
+
181
+ return self::$instance;
182
+ }
183
+ }
184
+ }
cherry-framework/modules/cherry-post-formats-api/assets/js/cherry-post-formats.js ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Post formats related scripts
3
+ * @use CherryJsCore
4
+ */
5
+ ( function($, CherryJsCore){
6
+ 'use strict';
7
+
8
+ CherryJsCore.utilites.namespace( 'post_formats' );
9
+ CherryJsCore.post_formats = {
10
+
11
+ init: function () {
12
+
13
+ var self = this;
14
+
15
+ if ( CherryJsCore.status.document_ready ) {
16
+ self.render( self );
17
+ } else {
18
+ CherryJsCore.variable.$document.on( 'ready', self.render( self ) );
19
+ }
20
+ },
21
+
22
+ render: function ( self ) {
23
+
24
+ // Init slider scripts
25
+ self.initalize( 'slider' );
26
+
27
+ // Init popup scripts
28
+ self.initalize( 'popup' );
29
+
30
+ },
31
+
32
+ initalize: function( object ) {
33
+
34
+ $(window).load(function () {
35
+
36
+ $( '*[data-cherry' + object + '="1"]' ).each( function() {
37
+ var plugin = $( this ).data( object ),
38
+ init = $( this ).data( 'init' );
39
+
40
+ $( this ).data( 'initalized', false );
41
+ $( this ).trigger({
42
+ type: 'cherry-post-formats-custom-init',
43
+ item: $( this ),
44
+ object: object
45
+ });
46
+
47
+ if ( true === $( this ).data( 'initalized' ) ) {
48
+ return 1;
49
+ }
50
+
51
+ if ( ! plugin ) {
52
+ return !1;
53
+ }
54
+
55
+ if ( ! $.isFunction( jQuery.fn[ plugin ] ) ) {
56
+ return !1;
57
+ }
58
+
59
+ $( this )[ plugin ]( init );
60
+ });
61
+ });
62
+
63
+ }
64
+ };
65
+
66
+ CherryJsCore.post_formats.init();
67
+
68
+ } (jQuery, window.CherryJsCore) );
cherry-framework/modules/cherry-post-formats-api/assets/js/min/cherry-post-formats.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(t,i){"use strict";i.utilites.namespace("post_formats"),i.post_formats={init:function(){var t=this;i.status.document_ready?t.render(t):i.variable.$document.on("ready",t.render(t))},render:function(t){t.initalize("slider"),t.initalize("popup")},initalize:function(i){t(window).load(function(){t("*[data-cherry"+i+'="1"]').each(function(){var n=t(this).data(i),e=t(this).data("init");return t(this).data("initalized",!1),t(this).trigger({type:"cherry-post-formats-custom-init",item:t(this),object:i}),!0===t(this).data("initalized")?1:n?t.isFunction(jQuery.fn[n])?(t(this)[n](e),void 0):!1:!1})})}},i.post_formats.init()}(jQuery,window.CherryJsCore);
cherry-framework/modules/cherry-post-formats-api/cherry-post-formats-api.php ADDED
@@ -0,0 +1,1096 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * API functions for post formats specific content
4
+ * Module Name: Post Formats API
5
+ * Description: API for post formats specific content
6
+ * Version: 1.1.2
7
+ * Author: Cherry Team
8
+ * Author URI: http://www.cherryframework.com/
9
+ * License: GPLv3
10
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
+ *
12
+ * @package Cherry_Framework
13
+ * @subpackage Modules
14
+ * @version 1.1.2
15
+ * @author Cherry Team <cherryframework@gmail.com>
16
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
17
+ * @link http://www.cherryframework.com/
18
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
19
+ */
20
+
21
+ // If this file is called directly, abort.
22
+ if ( ! defined( 'WPINC' ) ) {
23
+ die;
24
+ }
25
+
26
+ if ( ! class_exists( 'Cherry_Post_Formats_Api' ) ) {
27
+
28
+ /**
29
+ * API functions for post formats specific content
30
+ */
31
+ class Cherry_Post_Formats_Api {
32
+
33
+ /**
34
+ * Module version
35
+ *
36
+ * @var string
37
+ */
38
+ public $module_version = '1.1.0';
39
+
40
+ /**
41
+ * Module slug
42
+ *
43
+ * @var string
44
+ */
45
+ public $module_slug = 'cherry-post-formats-api';
46
+
47
+ /**
48
+ * Module arguments
49
+ *
50
+ * @var array
51
+ */
52
+ public $args = array();
53
+
54
+ /**
55
+ * Core instance
56
+ *
57
+ * @var object
58
+ */
59
+ public $core = null;
60
+
61
+ /**
62
+ * Constructor for the module
63
+ */
64
+ function __construct( $core, $args ) {
65
+
66
+ $this->core = $core;
67
+ $this->args = wp_parse_args( $args, array(
68
+ 'rewrite_default_gallery' => false,
69
+ 'gallery_args' => array(),
70
+ 'image_args' => array(),
71
+ 'link_args' => array(),
72
+ 'video_args' => array(),
73
+ ) );
74
+
75
+ $this->args['gallery_args'] = wp_parse_args( $this->args['gallery_args'], array(
76
+ 'base_class' => 'post-gallery',
77
+ 'container' => '<div class="%2$s" %3$s>%1$s</div>',
78
+ 'slide' => '<figure class="%2$s">%1$s</figure>',
79
+ 'slide_item' => '<a href="%3$s" %4$s>%1$s</a>%2$s',
80
+ 'slide_item_alt' => '%1$s%2$s',
81
+ 'img_class' => '',
82
+ 'size' => 'post-thumbnail',
83
+ 'link' => 'file',
84
+ 'slider' => false,
85
+ 'slider_init' => false,
86
+ 'slider_handle' => false,
87
+ 'popup' => false,
88
+ 'popup_init' => false,
89
+ 'popup_handle' => false,
90
+ ) );
91
+
92
+ $this->args['image_args'] = wp_parse_args( $this->args['image_args'], array(
93
+ 'base_class' => 'post-thumbnail',
94
+ 'container' => '<figure class="%2$s">%1$s</figure>',
95
+ 'item' => '<a href="%3$s" class="%2$s" %4$s>%1$s</a>',
96
+ 'size' => 'post-thumbnail',
97
+ 'link' => 'file',
98
+ 'popup' => false,
99
+ 'popup_init' => false,
100
+ 'popup_handle' => false,
101
+ ) );
102
+
103
+ $this->args['link_args'] = wp_parse_args( $this->args['link_args'], array(
104
+ 'render' => false,
105
+ 'class' => '',
106
+ ) );
107
+
108
+ $this->args['video_args'] = wp_parse_args( $this->args['video_args'], array(
109
+ 'width' => 600,
110
+ 'height' => 400,
111
+ ) );
112
+
113
+ $formats = array(
114
+ 'image',
115
+ 'gallery',
116
+ 'video',
117
+ 'audio',
118
+ 'link',
119
+ 'quote',
120
+ 'status',
121
+ );
122
+
123
+ // Register default post formats
124
+ foreach ( $formats as $format ) {
125
+ add_action( 'cherry_post_format_' . $format, array( $this, 'post_format_' . $format ) );
126
+ }
127
+
128
+ // Register an embed post formats
129
+ add_filter( 'cherry_get_embed_post_formats', array( $this, 'embed_post_formats' ), 10, 2 );
130
+
131
+ if ( true === $this->args['rewrite_default_gallery'] ) {
132
+ // Replace gallery shortcode
133
+ add_filter( 'post_gallery', array( $this, 'gallery_shortcode' ), 10, 3 );
134
+ }
135
+
136
+ add_action( 'wp_enqueue_scripts', array( $this, 'assets' ) );
137
+
138
+ $this->includes();
139
+
140
+ }
141
+
142
+ /**
143
+ * Register extra post formats rendering.
144
+ * Currently supported - facebook, twitter, soundcloud.
145
+ *
146
+ * @param bool $embed Default embed value - false.
147
+ * @return string|bool
148
+ */
149
+ public function embed_post_formats( $embed, $args = array() ) {
150
+
151
+ $args = wp_parse_args( $args, array(
152
+ 'fields' => array(),
153
+ 'width' => 350,
154
+ 'height' => 350,
155
+ ) );
156
+
157
+ if ( empty( $args['fields'] ) ) {
158
+ return $embed;
159
+ }
160
+
161
+ $extra_formats = array(
162
+ 'twitter' => 'https://twitter.com',
163
+ 'facebook' => 'https://www.facebook.com',
164
+ 'soundcloud' => 'https://soundcloud.com',
165
+ );
166
+
167
+ global $post;
168
+
169
+ if ( ! $post ) {
170
+ return $embed;
171
+ }
172
+
173
+ $excerpt = substr( $post->post_content, 0, 200 );
174
+
175
+ foreach ( $args['fields'] as $name ) {
176
+
177
+ $trigger = isset( $extra_formats[ $name ] ) ? $extra_formats[ $name ] : '';
178
+
179
+ if ( ! $trigger ) {
180
+ return $embed;
181
+ }
182
+
183
+ if ( false === strpos( $excerpt, $trigger ) ) {
184
+ continue;
185
+ }
186
+
187
+ $url = $this->get_content_url( $post->post_content );
188
+
189
+ if ( ! empty( $url ) ) {
190
+ return wp_oembed_get( $url, $args );
191
+ }
192
+ }
193
+
194
+ return $embed;
195
+
196
+ }
197
+
198
+ /**
199
+ * Include required API files
200
+ *
201
+ * @since 1.0.0
202
+ * @since 1.1.1 Using dirname( __FILE__ ) instead of __DIR__.
203
+ * @return void
204
+ */
205
+ public function includes() {
206
+ require_once dirname( __FILE__ ) . '/inc/class-cherry-facebook-embed.php';
207
+
208
+ // Register Facebook Embed.
209
+ if ( class_exists( 'Cherry_Facebook_Embed' ) ) {
210
+ Cherry_Facebook_Embed::get_instance();
211
+ }
212
+ }
213
+
214
+ /**
215
+ * Enqueue required assets
216
+ *
217
+ * @since 1.0.0
218
+ * @return void
219
+ */
220
+ public function assets() {
221
+ wp_enqueue_script(
222
+ 'cherry-post-formats',
223
+ Cherry_Core::base_url( 'assets/js/min/cherry-post-formats.min.js', __FILE__ ),
224
+ array( 'jquery', 'cherry-js-core' ),
225
+ $this->module_version,
226
+ true
227
+ );
228
+ }
229
+
230
+ /**
231
+ * If did not find a URL, check the post content for one. If nothing is found, return the post permalink.
232
+ *
233
+ * @author Justin Tadlock <justin@justintadlock.com>
234
+ * @author Cherry Team <support@cherryframework.com>
235
+ * @since 1.0.0
236
+ * @param array $args API arguments.
237
+ * @param object $post Post object.
238
+ * @return string
239
+ */
240
+ public function get_post_format_link( $args = array(), $post = null ) {
241
+
242
+ $args = wp_parse_args( $args, $this->args['link_args'] );
243
+
244
+ $post = is_null( $post ) ? get_post() : $post;
245
+ $content_url = $this->get_content_url( $post->post_content );
246
+ $url = ! empty( $content_url ) ? $content_url : get_permalink( $post->ID );
247
+
248
+ if ( false === $args['render'] ) {
249
+ return esc_url( $url );
250
+ } else {
251
+ return sprintf(
252
+ '<a href="%1$s" class="post-format-link %2$s">%1$s</a>',
253
+ esc_url( $url ), esc_attr( $args['class'] )
254
+ );
255
+ }
256
+
257
+ }
258
+
259
+ /**
260
+ * Callback for apropriate hook to show link post format related link.
261
+ *
262
+ * @since 1.0.0
263
+ * @param array $args Set of arguments.
264
+ */
265
+ public function post_format_link( $args = array() ) {
266
+
267
+ echo $this->get_post_format_link( $args );
268
+
269
+ }
270
+
271
+ /**
272
+ * Returns first blockquote from content. If not - returns excerpt.
273
+ *
274
+ * @author Cherry Team <support@cherryframework.com>
275
+ * @since 1.0.0
276
+ * @param object $post Post object.
277
+ * @return string UblockquoteRL.
278
+ */
279
+ public function get_post_format_quote( $post = null ) {
280
+
281
+ $post = is_null( $post ) ? get_post() : $post;
282
+ $quote = $this->get_content_quote( $post->post_content );
283
+ $quote = ! empty( $quote ) ? $quote : get_the_excerpt();
284
+
285
+ return sprintf( '<blockquote class="post-format-quote">%s</blockquote>', $quote );
286
+
287
+ }
288
+
289
+ /**
290
+ * Callback for apropriate hook to show link post format related link.
291
+ *
292
+ * @since 1.0.0
293
+ * @param array $args Set of arguments.
294
+ */
295
+ public function post_format_quote( $args ) {
296
+
297
+ echo $this->get_post_format_quote();
298
+
299
+ }
300
+
301
+ /**
302
+ * Retrieve a featured audio.
303
+ *
304
+ * Returns first finded audio tag in page content.
305
+ *
306
+ * @since 1.0.0
307
+ */
308
+ public function get_post_format_audio() {
309
+
310
+ /**
311
+ * Filter post format audio output to rewrite audio from child theme or plugins.
312
+ *
313
+ * @since 1.0.0
314
+ * @param bool|mixed $result Value to return instead of the featured audio.
315
+ * Default false to skip it.
316
+ */
317
+ $result = apply_filters( 'cherry_pre_get_post_audio', false );
318
+
319
+ if ( false !== $result ) {
320
+ return $result;
321
+ }
322
+
323
+ $content = get_the_content();
324
+ $embeds = get_media_embedded_in_content( apply_filters( 'the_content', $content ), array( 'audio' ) );
325
+
326
+ if ( empty( $embeds ) ) {
327
+ return false;
328
+ }
329
+
330
+ if ( false == preg_match( '/<audio[^>]*>(.*?)<\/audio>/', $embeds[0], $matches ) ) {
331
+ return false;
332
+ }
333
+
334
+ /**
335
+ * Filter a featured audio.
336
+ *
337
+ * @since 1.0.0
338
+ * @param string $output Featured audio.
339
+ */
340
+ return apply_filters( 'cherry_get_the_post_audio', $matches[0] );
341
+
342
+ }
343
+
344
+ /**
345
+ * Callback for apropriate hook to show audio post format related audio.
346
+ *
347
+ * @since 1.0.0
348
+ * @param array $args Set of arguments.
349
+ */
350
+ public function post_format_audio( $args ) {
351
+
352
+ echo $this->get_post_format_audio();
353
+
354
+ }
355
+
356
+ /**
357
+ * Retrieve a featured video.
358
+ *
359
+ * Returns first finded video, iframe, object or embed tag in content.
360
+ *
361
+ * @since 1.0.0
362
+ * @param array $args Set of arguments.
363
+ */
364
+ public function get_post_format_video( $args ) {
365
+
366
+ $args = wp_parse_args( $args, $this->args['video_args'] );
367
+
368
+ /**
369
+ * Filter post format video output to rewrite video from child theme or plugins.
370
+ *
371
+ * @since 1.0.0
372
+ * @param bool|mixed $result Value to return instead of the featured video.
373
+ * Default false to skip it.
374
+ */
375
+ $result = apply_filters( 'cherry_pre_get_post_video', false );
376
+
377
+ if ( false !== $result ) {
378
+ return $result;
379
+ }
380
+
381
+ $post_content = get_the_content();
382
+
383
+ if ( has_shortcode( $post_content, 'video' ) ) {
384
+ $result_format = '%s';
385
+ } else {
386
+ $result_format = '<div class="entry-video embed-responsive embed-responsive-16by9">%s</div>';
387
+ }
388
+
389
+ /** This filter is documented in wp-includes/post-template.php */
390
+ $content = apply_filters( 'the_content', $post_content );
391
+ $types = array( 'video', 'object', 'embed', 'iframe' );
392
+ $embeds = get_media_embedded_in_content( $content, $types );
393
+
394
+ if ( empty( $embeds ) ) {
395
+ return;
396
+ }
397
+
398
+ foreach ( $types as $tag ) {
399
+ if ( preg_match( "/<{$tag}[^>]*>(.*?)<\/{$tag}>/", $embeds[0], $matches ) ) {
400
+ $result = $matches[0];
401
+ break;
402
+ }
403
+ }
404
+
405
+ if ( false === $result ) {
406
+ return false;
407
+ }
408
+
409
+ $regex = array(
410
+ '/width=[\'\"](\d+)[\'\"]/',
411
+ '/height=[\'\"](\d+)[\'\"]/',
412
+ );
413
+
414
+ $replace = array(
415
+ 'width="' . $args['width'] . '"',
416
+ 'height="' . $args['height'] . '"',
417
+ );
418
+
419
+ $result = preg_replace( $regex, $replace, $result );
420
+ $result = sprintf( $result_format, $result );
421
+
422
+ /**
423
+ * Filter a featured video.
424
+ *
425
+ * @since 1.0.0
426
+ * @param string $result Featured video.
427
+ */
428
+ return apply_filters( 'cherry_get_the_post_video', $result );
429
+
430
+ }
431
+
432
+ /**
433
+ * Callback for apropriate hook to show video post format related video.
434
+ *
435
+ * @since 1.0.0
436
+ * @param array $args Set of arguments.
437
+ */
438
+ public function post_format_video( $args = array() ) {
439
+
440
+ echo $this->get_post_format_video( $args );
441
+
442
+ }
443
+
444
+ /**
445
+ * Retrieve a featured image.
446
+ *
447
+ * If has post thumbnail - will get post thumbnail, else - get first image from content.
448
+ *
449
+ * @since 1.0.0
450
+ * @param array $args Set of arguments.
451
+ * @return string Featured image.
452
+ */
453
+ public function get_post_format_image( $args ) {
454
+
455
+ /**
456
+ * Filter post format image output to rewrite image from child theme or plugins.
457
+ *
458
+ * @since 1.0.0
459
+ * @param bool|mixed $result Value to return instead of the featured image.
460
+ * Default false to skip it.
461
+ */
462
+ $result = apply_filters( 'cherry_pre_get_post_image', false );
463
+
464
+ if ( false !== $result ) {
465
+ return $result;
466
+ }
467
+
468
+ $post_id = get_the_ID();
469
+ $post_type = get_post_type( $post_id );
470
+
471
+ /**
472
+ * Filter the default arguments used to display a post image.
473
+ *
474
+ * @since 1.0.0
475
+ * @param array $defaults Array of arguments.
476
+ * @param int $post_id The post ID.
477
+ * @param string $post_type The post type of the current post.
478
+ */
479
+ $defaults = apply_filters(
480
+ 'cherry_get_the_post_image_defaults',
481
+ $this->args['image_args'],
482
+ $post_id,
483
+ $post_type
484
+ );
485
+
486
+ $args = wp_parse_args( $args, $defaults );
487
+
488
+ /**
489
+ * Filter image CSS model
490
+ *
491
+ * @param array $css_model Default CSS model.
492
+ * @param array $args Post formats module arguments.
493
+ */
494
+ $css_model = apply_filters( 'cherry_post_formats_image_css_model', array(
495
+ 'container' => $args['base_class'],
496
+ 'link' => $args['base_class'] . '__link',
497
+ 'image' => $args['base_class'] . '__img',
498
+ ), $args );
499
+
500
+ /**
501
+ * Filter image attributes array passed to post format image
502
+ *
503
+ * @since 1.0.0
504
+ * @param array existing attributes.
505
+ */
506
+ $img_atts = apply_filters( 'cherry_post_image_attributes', array( 'class' => $css_model['image'] ) );
507
+
508
+ if ( has_post_thumbnail( $post_id ) ) {
509
+
510
+ $thumb = get_the_post_thumbnail( $post_id, $args['size'], $img_atts );
511
+ $url = wp_get_attachment_url( get_post_thumbnail_id( $post_id ) );
512
+
513
+ } else {
514
+
515
+ $img = $this->get_post_images();
516
+
517
+ if ( ! $img || empty( $img ) || empty( $img[0] ) ) {
518
+ return false;
519
+
520
+ } elseif ( is_int( $img[0] ) ) {
521
+
522
+ $thumb = wp_get_attachment_image( $img[0], $args['size'], 0, $img_atts );
523
+ $url = wp_get_attachment_url( $img[0] );
524
+
525
+ } else {
526
+
527
+ global $_wp_additional_image_sizes;
528
+
529
+ if ( ! isset( $_wp_additional_image_sizes[ $args['size'] ] ) ) {
530
+ return false;
531
+ }
532
+
533
+ if ( has_excerpt( $post_id ) ) {
534
+ $alt = trim( strip_tags( get_the_excerpt() ) );
535
+ } else {
536
+ $alt = trim( strip_tags( get_the_title( $post_id ) ) );
537
+ }
538
+
539
+ $default_atts = array(
540
+ 'width' => $_wp_additional_image_sizes[ $args['size'] ]['width'],
541
+ 'alt' => esc_attr( $alt ),
542
+ );
543
+
544
+ $img_atts = array_merge( $default_atts, $img_atts );
545
+ $thumb = sprintf( '<img src="%s" %s>', esc_url( $img[0] ), $this->prepare_atts( $img_atts ) );
546
+ $url = $img[0];
547
+
548
+ }
549
+ }
550
+
551
+ if ( 'file' !== $args['link'] ) {
552
+ $url = get_permalink( $post_id );
553
+ }
554
+
555
+ $data_atts = array( 'data-cherrypopup' => true );
556
+
557
+ if ( false !== $args['popup_init'] ) {
558
+ $init = json_encode( $args['popup_init'] );
559
+ $data_atts['data-init'] = $init;
560
+ }
561
+
562
+ if ( false !== $args['popup'] ) {
563
+ $data_atts['data-popup'] = $args['popup'];
564
+ }
565
+
566
+ $data_string = $this->prepare_atts( $data_atts );
567
+
568
+ if ( ! empty( $args['popup_handle'] ) ) {
569
+ wp_enqueue_script( $args['popup_handle'] );
570
+ }
571
+
572
+ $item = sprintf( $args['item'], $thumb, $css_model['link'], $url, $data_string );
573
+ $result = sprintf( $args['container'], $item, $css_model['container'] );
574
+
575
+ /**
576
+ * Filter a featured image.
577
+ *
578
+ * @since 1.0.0
579
+ * @param string $result Featured image.
580
+ * @param array $args Array of arguments.
581
+ */
582
+ return apply_filters( 'cherry_get_the_post_image', $result, $args );
583
+
584
+ }
585
+
586
+ /**
587
+ * Callback for apropriate hook to show image post format related thumbnail.
588
+ *
589
+ * @since 1.0.0
590
+ * @param array $args Set of arguments.
591
+ */
592
+ public function post_format_image( $args ) {
593
+
594
+ echo $this->get_post_format_image( $args );
595
+
596
+ }
597
+
598
+ /**
599
+ * Retrieve a featured gallery.
600
+ *
601
+ * If has post thumbnail - will get post thumbnail, else - get first image from content.
602
+ *
603
+ * @since 1.0.0
604
+ * @return string $output Featured gallery.
605
+ */
606
+ public function get_post_format_gallery( $args ) {
607
+
608
+ if ( ! $args ) {
609
+ $args = array();
610
+ }
611
+
612
+ $args = wp_parse_args( $args, $this->args['gallery_args'] );
613
+
614
+ /**
615
+ * Filter post format gallery output to rewrite gallery from child theme or plugins.
616
+ *
617
+ * @since 1.0.0
618
+ * @param bool|mixed $result Value to return instead of the featured gallery.
619
+ * Default false to skip it.
620
+ */
621
+ $result = apply_filters( 'cherry_pre_get_post_gallery', false );
622
+
623
+ if ( false !== $result ) {
624
+ return $result;
625
+ }
626
+
627
+ // First - try to get images from galleries in post.
628
+ $is_html = ( true === $this->args['rewrite_default_gallery'] ) ? true : false;
629
+
630
+ // Temporary replace default global args with currently parsed
631
+ $temp_args = $this->args;
632
+ $this->args['gallery_args'] = $args;
633
+
634
+ $post_gallery = $this->get_gallery_images( $is_html, $args );
635
+
636
+ // Restore default arguments list
637
+ $this->args = null;
638
+ $this->args = $temp_args;
639
+
640
+ // If stanadrd gallery shortcode replaced with cherry - return HTML.
641
+ if ( is_string( $post_gallery ) && ! empty( $post_gallery ) ) {
642
+ return $post_gallery;
643
+ } else if ( empty( $post_gallery ) ) {
644
+ return false;
645
+ }
646
+
647
+ $output = $this->get_gallery_html( $post_gallery, $args );
648
+
649
+ /**
650
+ * Filter a post gallery.
651
+ *
652
+ * @since 1.0.0
653
+ * @param string $output Post gallery.
654
+ */
655
+ return apply_filters( 'cherry_get_the_post_gallery', $output );
656
+ }
657
+
658
+ /**
659
+ * Get galeery images list or try to get gallery HTML
660
+ *
661
+ * @param bool $is_html is HTML returns or not.
662
+ * @param array $args argumnets array.
663
+ * @return mixed
664
+ */
665
+ public function get_gallery_images( $is_html, $args = array() ) {
666
+
667
+ $post_id = get_the_ID();
668
+
669
+ $post_gallery = get_post_gallery( $post_id, $is_html );
670
+
671
+ // If stanadrd gallery shortcode replaced with cherry - return HTML.
672
+ if ( is_string( $post_gallery ) && ! empty( $post_gallery ) ) {
673
+ return $post_gallery;
674
+ }
675
+
676
+ if ( ! empty( $post_gallery['ids'] ) ) {
677
+ $post_gallery = explode( ',', $post_gallery['ids'] );
678
+ } elseif ( ! empty( $post_gallery['src'] ) ) {
679
+ $post_gallery = $post_gallery['src'];
680
+ } else {
681
+ $post_gallery = false;
682
+ }
683
+
684
+ // If can't try to catch images inserted into post.
685
+ if ( ! $post_gallery ) {
686
+ $post_gallery = $this->get_post_images( $post_id, 15 );
687
+ }
688
+
689
+ // And if not find any images - try to get images attached to post.
690
+ if ( ! $post_gallery || empty( $post_gallery ) ) {
691
+
692
+ $attachments = get_children( array(
693
+ 'post_parent' => $post_id,
694
+ 'posts_per_page' => 3,
695
+ 'post_status' => 'inherit',
696
+ 'post_type' => 'attachment',
697
+ 'post_mime_type' => 'image',
698
+ ) );
699
+
700
+ if ( $attachments && is_array( $attachments ) ) {
701
+ $post_gallery = array_keys( $attachments );
702
+ }
703
+ }
704
+
705
+ return $post_gallery;
706
+ }
707
+
708
+ /**
709
+ * Callback for apropriate hook to show gallery post format related gallery.
710
+ *
711
+ * @since 1.0.0
712
+ * @param array $args Set of arguments.
713
+ */
714
+ public function post_format_gallery( $args ) {
715
+
716
+ echo $this->get_post_format_gallery( $args );
717
+
718
+ }
719
+
720
+ /**
721
+ * Custom output for gallery shortcode.
722
+ *
723
+ * @since 1.0.0
724
+ * @param array $result S Value to return instead of the gallery shortcode.
725
+ * @param array $attr Shortcode attributes.
726
+ * @return string Gallery HTML.
727
+ */
728
+ public function gallery_shortcode( $result, $attr ) {
729
+
730
+ /**
731
+ * Filter a gallery output.
732
+ *
733
+ * @since 1.0.0
734
+ * @param bool|mixed $result Value to return instead of the gallery shortcode. Default false to skip it.
735
+ * @param array $attr Shortcode attributes.
736
+ * @param object $this Current class instance.
737
+ */
738
+ $result = apply_filters( 'cherry_pre_get_gallery_shortcode', false, $attr, $this );
739
+
740
+ if ( false !== $result ) {
741
+ return $result;
742
+ }
743
+
744
+ $post = get_post();
745
+
746
+ $atts = shortcode_atts( array(
747
+ 'order' => 'ASC',
748
+ 'orderby' => 'menu_order ID',
749
+ 'id' => $post ? $post->ID : 0,
750
+ 'include' => '',
751
+ 'exclude' => '',
752
+ 'link' => '',
753
+ ), $attr, 'gallery' );
754
+
755
+ $id = intval( $atts['id'] );
756
+
757
+ if ( ! empty( $atts['include'] ) ) {
758
+
759
+ $attachments = $this->esc_include_ids( $atts['include'] );
760
+
761
+ } elseif ( ! empty( $atts['exclude'] ) ) {
762
+
763
+ $attachments = get_children(
764
+ array(
765
+ 'post_parent' => $id,
766
+ 'exclude' => $atts['exclude'],
767
+ 'post_status' => 'inherit',
768
+ 'post_type' => 'attachment',
769
+ 'post_mime_type' => 'image',
770
+ 'order' => $atts['order'],
771
+ 'orderby' => $atts['orderby'],
772
+ )
773
+ );
774
+ $attachments = array_keys( $attachments );
775
+
776
+ } else {
777
+
778
+ $attachments = get_children(
779
+ array(
780
+ 'post_parent' => $id,
781
+ 'post_status' => 'inherit',
782
+ 'post_type' => 'attachment',
783
+ 'post_mime_type' => 'image',
784
+ 'order' => $atts['order'],
785
+ 'orderby' => $atts['orderby'],
786
+ )
787
+ );
788
+ $attachments = array_keys( $attachments );
789
+
790
+ }
791
+
792
+ if ( empty( $attachments ) || ! is_array( $attachments ) ) {
793
+ return;
794
+ }
795
+
796
+ $atts = array_merge( $atts, $this->args['gallery_args'] );
797
+ $result = $this->get_gallery_html( $attachments, $atts );
798
+
799
+ return $result;
800
+
801
+ }
802
+
803
+ /**
804
+ * Build default gallery HTML from images array.
805
+ *
806
+ * @since 1.0.0
807
+ * @param array $images Images array can contain image IDs or URLs.
808
+ * @param array $args Shortcode/user attributes array.
809
+ * @return string Gallery HTML markup.
810
+ */
811
+ public function get_gallery_html( $images, $args = array() ) {
812
+
813
+ $post_id = get_the_ID();
814
+ $post_type = get_post_type( $post_id );
815
+
816
+ /**
817
+ * Filter the default arguments used to display a post gallery.
818
+ *
819
+ * @since 1.0.0
820
+ * @param array $defaults Array of arguments.
821
+ * @param int $post_id The post ID.
822
+ * @param string $post_type The post type of the current post.
823
+ */
824
+ $defaults = apply_filters(
825
+ 'cherry_get_the_post_gallery_defaults',
826
+ $this->args['gallery_args'],
827
+ $post_id,
828
+ $post_type
829
+ );
830
+
831
+ $args = wp_parse_args( $args, $defaults );
832
+
833
+ /**
834
+ * Filter image CSS model
835
+ *
836
+ * @param array $css_model Default CSS model.
837
+ * @param array $args Post formats module arguments.
838
+ */
839
+ $css_model = apply_filters( 'cherry_post_formats_gallery_css_model', array(
840
+ 'container' => $args['base_class'],
841
+ 'slide' => $args['base_class'] . '__slide',
842
+ 'link' => $args['base_class'] . '__link',
843
+ 'image' => $args['base_class'] . '__image',
844
+ 'caption' => $args['base_class'] . '__caption',
845
+ ) );
846
+
847
+ if ( ! empty( $args['img_class'] ) ) {
848
+ $css_model['image'] .= ' ' . esc_attr( $args['img_class'] );
849
+ }
850
+
851
+ if ( ! empty( $args['slider_handle'] ) ) {
852
+ wp_enqueue_script( $args['slider_handle'] );
853
+ }
854
+
855
+ if ( ! empty( $args['popup_handle'] ) ) {
856
+ wp_enqueue_script( $args['popup_handle'] );
857
+ }
858
+
859
+ $slider_data = array( 'data-cherryslider' => true );
860
+ $popup_data = array( 'data-cherrypopup' => true );
861
+
862
+ if ( false !== $args['slider'] ) {
863
+ $slider_data['data-slider'] = $args['slider'];
864
+ }
865
+
866
+ if ( false !== $args['slider_init'] ) {
867
+ $slider_data['data-init'] = json_encode( $args['slider_init'] );
868
+ }
869
+
870
+ if ( false !== $args['popup'] ) {
871
+ $popup_data['data-popup'] = $args['popup'];
872
+ }
873
+
874
+ if ( false !== $args['popup_init'] ) {
875
+ $popup_data['data-init'] = json_encode( $args['popup_init'] );
876
+ }
877
+
878
+ $items = array();
879
+ $is_first = true;
880
+
881
+ foreach ( $images as $img ) {
882
+
883
+ $caption = '';
884
+
885
+ if ( true === $is_first ) {
886
+ $nth_class = '';
887
+ $is_first = false;
888
+ } else {
889
+ $nth_class = ' nth-child';
890
+ }
891
+
892
+ /**
893
+ * Filter image attributes for gallery item image
894
+ *
895
+ * @since 1.0.0
896
+ * @param array existing attributes.
897
+ * @param int|string $img current image,
898
+ */
899
+ $img_atts = apply_filters(
900
+ 'cherry_post_gallery_image_attributes',
901
+ array( 'class' => $css_model['image'] ),
902
+ $img
903
+ );
904
+
905
+ if ( 0 < intval( $img ) ) {
906
+
907
+ $image = wp_get_attachment_image( $img, $args['size'], '', $img_atts );
908
+ $attachment = get_post( $img );
909
+
910
+ if ( '' === $args['link'] ) {
911
+ $url = get_permalink( $img );
912
+ } else {
913
+ $url = wp_get_attachment_url( $img );
914
+ }
915
+
916
+ if ( ! empty( $attachment->post_excerpt ) ) {
917
+ $capt_txt = wptexturize( $attachment->post_excerpt );
918
+ $caption = '<figcaption class="' . $css_model['caption'] . '">' . $capt_txt . '</figcaption>';
919
+ }
920
+ } else {
921
+
922
+ global $_wp_additional_image_sizes;
923
+
924
+ if ( ! isset( $_wp_additional_image_sizes[ $args['size'] ] ) ) {
925
+ $width = 'auto';
926
+ } else {
927
+ $width = $_wp_additional_image_sizes[ $args['size'] ]['width'];
928
+ }
929
+
930
+ $default_atts = array( 'width' => $width );
931
+ $img_atts = array_merge( $default_atts, $img_atts );
932
+ $thumb = sprintf( '<img src="%s" %s>', esc_url( $img ), $this->prepare_atts( $img_atts ) );
933
+ $url = $img;
934
+
935
+ }
936
+
937
+ if ( 'none' === $args['link'] ) {
938
+ $format = $args['slide_item_alt'];
939
+ } else {
940
+ $format = $args['slide_item'];
941
+ }
942
+
943
+ $slide_atts = $this->prepare_atts(
944
+ array_merge( array( 'class' => $css_model['link'] . $nth_class ), $popup_data )
945
+ );
946
+
947
+ $slide_content = sprintf( $format, $image, $caption, $url, $slide_atts );
948
+ $items[] = sprintf( $args['slide'], $slide_content, $css_model['slide'] . $nth_class );
949
+ }
950
+
951
+ $items = implode( "\r\n", $items );
952
+
953
+ $slider_data_str = $this->prepare_atts( $slider_data );
954
+ $slider_id = 'gallery-' . rand( 100, 999 );
955
+
956
+ $result = sprintf(
957
+ $args['container'],
958
+ $items, $css_model['container'], $slider_data_str, $slider_id
959
+ );
960
+
961
+ return $result;
962
+ }
963
+
964
+ /**
965
+ * Include IDs set (array or string).
966
+ *
967
+ * @since 1.1.2
968
+ * @param mixed $ids ID's set.
969
+ * @return array
970
+ */
971
+ public function esc_include_ids( $ids ) {
972
+
973
+ if ( is_array( $ids ) ) {
974
+ return $ids;
975
+ } else {
976
+ return explode( ',', str_replace( ' ', '', $ids ) );
977
+ }
978
+
979
+ }
980
+
981
+ /**
982
+ * Prepare attributes string from array
983
+ *
984
+ * @since 1.0.0
985
+ * @param array $atts attributes array to parse.
986
+ * @return string
987
+ */
988
+ public function prepare_atts( $atts ) {
989
+
990
+ $result = '';
991
+
992
+ if ( empty( $atts ) ) {
993
+ return '';
994
+ }
995
+
996
+ foreach ( $atts as $attr => $value ) {
997
+ $result .= ' ' . $attr . '=\'' . esc_attr( $value ) . '\'';
998
+ }
999
+
1000
+ return $result;
1001
+
1002
+ }
1003
+
1004
+ /**
1005
+ * Retrieve images from post content.
1006
+ *
1007
+ * Returns image ID's if can find this image in database,
1008
+ * returns image URL or boolean false in other case.
1009
+ *
1010
+ * @since 1.0.0
1011
+ * @param int $post_id Post ID to search image in.
1012
+ * @param int $limit Max images count to search.
1013
+ * @return mixed Images.
1014
+ */
1015
+ public function get_post_images( $post_id = null, $limit = 1 ) {
1016
+
1017
+ $post_id = ( null === $post_id ) ? get_the_ID() : $post_id;
1018
+ $content = get_the_content();
1019
+
1020
+ // Gets first image from content.
1021
+ preg_match_all( '/< *img[^>]*src *= *["\']?([^"\']*)/i', $content, $matches );
1022
+
1023
+ if ( ! isset( $matches[1] ) ) {
1024
+ return false;
1025
+ }
1026
+
1027
+ $result = array();
1028
+
1029
+ global $wpdb;
1030
+
1031
+ for ( $i = 0; $i < $limit; $i++ ) {
1032
+
1033
+ if ( empty( $matches[1][ $i ] ) ) {
1034
+ continue;
1035
+ }
1036
+
1037
+ $image_src = esc_url( $matches[1][ $i ] );
1038
+ $image_src = preg_replace( '/^(.+)(-\d+x\d+)(\..+)$/', '$1$3', $image_src );
1039
+
1040
+ // Try to get current image ID.
1041
+ $id = $wpdb->get_var( $wpdb->prepare( "SELECT ID FROM {$wpdb->posts} WHERE guid = %s", $image_src ) );
1042
+
1043
+ if ( ! $id ) {
1044
+ $result[] = $image_src;
1045
+ } else {
1046
+ $result[] = (int) $id;
1047
+ }
1048
+ }
1049
+
1050
+ return $result;
1051
+ }
1052
+
1053
+ /**
1054
+ * Gets the first URL from the content, even if it's not wrapped in an <a> tag.
1055
+ *
1056
+ * @author Justin Tadlock <justin@justintadlock.com>
1057
+ * @author Cherry Team <support@cherryframework.com>
1058
+ * @since 1.0.0
1059
+ * @param [type] $content Post content.
1060
+ * @return string URL.
1061
+ */
1062
+ public function get_content_url( $content ) {
1063
+
1064
+ // Catch links that are not wrapped in an '<a>' tag.
1065
+ preg_match( '/<a\s[^>]*?href=[\'"](.+?)[\'"]/is', make_clickable( $content ), $matches );
1066
+
1067
+ return ! empty( $matches[1] ) ? esc_url_raw( $matches[1] ) : '';
1068
+ }
1069
+
1070
+ /**
1071
+ * Gets the first blockquote from post content.
1072
+ *
1073
+ * @author Cherry Team <support@cherryframework.com>
1074
+ * @since 1.0.0
1075
+ * @param [type] $content Post content.
1076
+ * @return string Quote.
1077
+ */
1078
+ public function get_content_quote( $content ) {
1079
+
1080
+ // Catch links that are not wrapped in an '<a>' tag.
1081
+ preg_match( '/<blockquote[^>]*>(.*?)<\/blockquote>/im', $content, $matches );
1082
+
1083
+ return ! empty( $matches[1] ) ? wp_kses_post( $matches[1] ) : '';
1084
+ }
1085
+
1086
+ /**
1087
+ * Returns the instance.
1088
+ *
1089
+ * @since 1.0.0
1090
+ * @return object
1091
+ */
1092
+ public static function get_instance( $core, $args ) {
1093
+ return new self( $core, $args );
1094
+ }
1095
+ }
1096
+ }
cherry-framework/modules/cherry-post-formats-api/inc/class-cherry-facebook-embed.php ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Facebook embed
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+ if ( ! class_exists( 'Cherry_Facebook_Embed' ) ) {
19
+
20
+ /**
21
+ * Define Cherry_Facebook_Embed class
22
+ */
23
+ class Cherry_Facebook_Embed {
24
+
25
+ /**
26
+ * A reference to an instance of this class.
27
+ *
28
+ * @since 1.0.0
29
+ * @var object
30
+ */
31
+ private static $instance = null;
32
+
33
+ /**
34
+ * Constructor for the class
35
+ */
36
+ function __construct() {
37
+ add_filter( 'init', array( $this, 'add_facebook' ) );
38
+ }
39
+
40
+ /**
41
+ * Register Facebook provider
42
+ *
43
+ * @since 1.0.0
44
+ * @param array $providers Existing providers.
45
+ */
46
+ public function add_facebook( $providers ) {
47
+
48
+ $endpoints = array(
49
+ '#https?://www\.facebook\.com/video.php.*#i' => 'https://www.facebook.com/plugins/video/oembed.json/',
50
+ '#https?://www\.facebook\.com/.*/videos/.*#i' => 'https://www.facebook.com/plugins/video/oembed.json/',
51
+ '#https?://www\.facebook\.com/.*/posts/.*#i' => 'https://www.facebook.com/plugins/post/oembed.json/',
52
+ '#https?://www\.facebook\.com/.*/activity/.*#i' => 'https://www.facebook.com/plugins/post/oembed.json/',
53
+ '#https?://www\.facebook\.com/photo(s/|.php).*#i' => 'https://www.facebook.com/plugins/post/oembed.json/',
54
+ '#https?://www\.facebook\.com/permalink.php.*#i' => 'https://www.facebook.com/plugins/post/oembed.json/',
55
+ '#https?://www\.facebook\.com/media/.*#i' => 'https://www.facebook.com/plugins/post/oembed.json/',
56
+ '#https?://www\.facebook\.com/questions/.*#i' => 'https://www.facebook.com/plugins/post/oembed.json/',
57
+ '#https?://www\.facebook\.com/notes/.*#i' => 'https://www.facebook.com/plugins/post/oembed.json/',
58
+ );
59
+
60
+ foreach ( $endpoints as $pattern => $endpoint ) {
61
+ wp_oembed_add_provider( $pattern, $endpoint, true );
62
+ }
63
+ }
64
+
65
+ /**
66
+ * Returns the instance.
67
+ *
68
+ * @since 1.0.0
69
+ * @return object
70
+ */
71
+ public static function get_instance() {
72
+
73
+ // If the single instance hasn't been set, set it now.
74
+ if ( null == self::$instance ) {
75
+ self::$instance = new self;
76
+ }
77
+ return self::$instance;
78
+ }
79
+ }
80
+
81
+ }
cherry-framework/modules/cherry-post-meta/cherry-post-meta.php ADDED
@@ -0,0 +1,547 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Post Meta
4
+ * Description: Manage post meta
5
+ * Version: 1.2.1
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.2.1
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Post_Meta' ) ) {
26
+
27
+ /**
28
+ * Post meta management module.
29
+ *
30
+ * @since 1.0.0
31
+ * @since 1.0.2 Removed `module_directory` property.
32
+ */
33
+ class Cherry_Post_Meta {
34
+
35
+ /**
36
+ * Module slug.
37
+ *
38
+ * @var string
39
+ */
40
+ public $module_slug = 'cherry-post-meta';
41
+
42
+ /**
43
+ * Module arguments.
44
+ *
45
+ * @var array
46
+ */
47
+ public $args = array();
48
+
49
+ /**
50
+ * Interface builder instance.
51
+ *
52
+ * @var object
53
+ */
54
+ public $builder = null;
55
+
56
+ /**
57
+ * Core instance.
58
+ *
59
+ * @var object
60
+ */
61
+ public $core = null;
62
+
63
+ /**
64
+ * Current nonce name to check.
65
+ *
66
+ * @var null
67
+ */
68
+ public $nonce = 'cherry-meta-nonce';
69
+
70
+ /**
71
+ * Storage of meta values.
72
+ *
73
+ * @since 1.0.0
74
+ * @var array
75
+ */
76
+ public $meta_values = array();
77
+
78
+ /**
79
+ * Constructor for the module.
80
+ *
81
+ * @since 1.0.0
82
+ */
83
+ public function __construct( $core, $args ) {
84
+ $this->core = $core;
85
+ $this->args = wp_parse_args(
86
+ $args,
87
+ array(
88
+ 'id' => 'cherry-post-metabox',
89
+ 'title' => '',
90
+ 'page' => array( 'post' ),
91
+ 'context' => 'normal',
92
+ 'priority' => 'high',
93
+ 'single' => false,
94
+ 'callback_args' => false,
95
+ 'fields' => array(),
96
+ )
97
+ );
98
+
99
+ if ( empty( $this->args['fields'] ) ) {
100
+ return;
101
+ }
102
+
103
+ $this->builder = $this->core->init_module( 'cherry-interface-builder', array() );
104
+
105
+ $this->init_columns_actions();
106
+
107
+ if ( ! $this->builder ) {
108
+ return;
109
+ }
110
+
111
+ add_action( 'add_meta_boxes', array( $this, 'add_meta_boxes' ), 10, 2 );
112
+ add_action( 'save_post', array( $this, 'save_meta' ), 10, 2 );
113
+
114
+ }
115
+
116
+ /**
117
+ * Initalize admin columns
118
+ *
119
+ * @return void
120
+ */
121
+ public function init_columns_actions() {
122
+
123
+ if ( empty( $this->args['admin_columns'] ) ) {
124
+ return;
125
+ }
126
+
127
+ if ( ! is_array( $this->args['page'] ) ) {
128
+ $pages = array( $this->args['page'] );
129
+ } else {
130
+ $pages = $this->args['page'];
131
+ }
132
+
133
+ foreach ( $pages as $page ) {
134
+ add_filter( 'manage_edit-' . $page . '_columns', array( $this, 'edit_columns' ) );
135
+ add_action( 'manage_' . $page . '_posts_custom_column', array( $this, 'manage_columns' ), 10, 2 );
136
+ }
137
+
138
+ }
139
+
140
+ /**
141
+ * Edit admin columns
142
+ *
143
+ * @since 1.1.3
144
+ * @param array $columns current post table columns.
145
+ * @return array
146
+ */
147
+ public function edit_columns( $columns ) {
148
+
149
+ foreach ( $this->args['admin_columns'] as $column_key => $column_data ) {
150
+
151
+ if ( empty( $column_data['label'] ) ) {
152
+ continue;
153
+ }
154
+
155
+ if ( ! empty( $column_data['position'] ) && 0 !== (int) $column_data['position'] ) {
156
+
157
+ $length = count( $columns );
158
+
159
+ if ( (int) $column_data['position'] > $length ) {
160
+ $columns[ $column_key ] = $column_data['label'];
161
+ }
162
+
163
+ $columns_before = array_slice( $columns, 0, (int) $column_data['position'] );
164
+ $columns_after = array_slice( $columns, (int) $column_data['position'], $length - (int) $column_data['position'] );
165
+
166
+ $columns = array_merge(
167
+ $columns_before,
168
+ array( $column_key => $column_data['label'] ),
169
+ $columns_after
170
+ );
171
+ } else {
172
+ $columns[ $column_key ] = $column_data['label'];
173
+ }
174
+ }
175
+
176
+ return $columns;
177
+
178
+ }
179
+
180
+ /**
181
+ * Add output for custom columns.
182
+ *
183
+ * @since 1.1.3
184
+ * @param string $column current post list categories.
185
+ * @param int $post_id current post ID.
186
+ * @return void
187
+ */
188
+ public function manage_columns( $column, $post_id ) {
189
+
190
+ if ( empty( $this->args['admin_columns'][ $column ] ) ) {
191
+ return;
192
+ }
193
+
194
+ if ( ! empty( $this->args['admin_columns'][ $column ]['callback'] ) && is_callable( $this->args['admin_columns'][ $column ]['callback'] ) ) {
195
+ call_user_func( $this->args['admin_columns'][ $column ]['callback'], $column, $post_id );
196
+ } else {
197
+ echo get_post_meta( $post_id, $column, true );
198
+ }
199
+
200
+ }
201
+
202
+ /**
203
+ * Check if defined metabox is allowed on current page
204
+ *
205
+ * @since 1.0.0
206
+ * @return boolean
207
+ */
208
+ public function is_allowed_page() {
209
+
210
+ global $current_screen;
211
+
212
+ if ( empty( $current_screen ) ) {
213
+ return false;
214
+ }
215
+
216
+ if ( is_array( $this->args['page'] ) && ! in_array( $current_screen->id, $this->args['page'] ) ) {
217
+ return false;
218
+ }
219
+
220
+ if ( is_string( $this->args['page'] ) && $current_screen->id !== $this->args['page'] ) {
221
+ return false;
222
+ }
223
+
224
+ return true;
225
+ }
226
+
227
+ /**
228
+ * Add meta box handler
229
+ *
230
+ * @since 1.0.0
231
+ * @param [type] $post_type The post type of the current post being edited.
232
+ * @param object $post The current post object.
233
+ * @return void
234
+ */
235
+ public function add_meta_boxes( $post_type, $post ) {
236
+
237
+ if ( ! $this->is_allowed_page() ) {
238
+ return;
239
+ }
240
+
241
+ add_meta_box(
242
+ $this->args['id'],
243
+ $this->args['title'],
244
+ array( $this, 'render_metabox' ),
245
+ $this->args['page'],
246
+ $this->args['context'],
247
+ $this->args['priority'],
248
+ $this->args['callback_args']
249
+ );
250
+ }
251
+
252
+ /**
253
+ * Render metabox funciton
254
+ *
255
+ * @since 1.0.0
256
+ * @param object $post The post object currently being edited.
257
+ * @param array $metabox Specific information about the meta box being loaded.
258
+ * @return void
259
+ */
260
+ public function render_metabox( $post, $metabox ) {
261
+
262
+ /**
263
+ * Filter custom metabox output. Prevent from showing main box, if user output passed
264
+ *
265
+ * @var string
266
+ */
267
+ $custom_box = apply_filters( 'cherry_post_meta_custom_box', false, $post, $metabox );
268
+
269
+ if ( false !== $custom_box ) {
270
+ echo $custom_box;
271
+ return;
272
+ }
273
+
274
+ wp_nonce_field( $this->nonce, $this->nonce );
275
+
276
+ /**
277
+ * Hook fires before metabox output started.
278
+ */
279
+ do_action( 'cherry_post_meta_box_before' );
280
+
281
+ $this->get_fields( $post );
282
+
283
+ /**
284
+ * Hook fires after metabox output finished.
285
+ */
286
+ do_action( 'cherry_post_meta_box_after' );
287
+
288
+ }
289
+
290
+ /**
291
+ * Get registered control fields
292
+ *
293
+ * @since 1.0.0
294
+ * @since 1.1.3 Using dirname( __FILE__ ) instead of __DIR__.
295
+ * @since 1.2.0 Use interface builder for HTML rendering.
296
+ *
297
+ * @param mixed $post Current post object.
298
+ * @return void
299
+ */
300
+ public function get_fields( $post ) {
301
+
302
+ if ( is_array( $this->args['single'] ) && isset( $this->args['single']['key'] ) ) {
303
+ $this->meta_values = get_post_meta( $post->ID, $this->args['single']['key'], true );
304
+ }
305
+
306
+ $zero_allowed = apply_filters(
307
+ 'cherry_zero_allowed_controls',
308
+ array(
309
+ 'stepper',
310
+ 'slider',
311
+ )
312
+ );
313
+
314
+ foreach ( $this->args['fields'] as $key => $field ) {
315
+
316
+ $default = Cherry_Toolkit::get_arg( $field, 'value', '' );
317
+ $value = $this->get_meta( $post, $key, $default );
318
+
319
+ if ( isset( $field['options_callback'] ) ) {
320
+ $field['options'] = call_user_func( $field['options_callback'] );
321
+ }
322
+
323
+ $element = Cherry_Toolkit::get_arg( $field, 'element', 'control' );
324
+ $field['id'] = Cherry_Toolkit::get_arg( $field, 'id', $key );
325
+ $field['name'] = Cherry_Toolkit::get_arg( $field, 'name', $key );
326
+ $field['type'] = Cherry_Toolkit::get_arg( $field, 'type', '' );
327
+ $field['value'] = $value;
328
+
329
+ // Fix zero values for stepper and slider
330
+ if ( ! $value && in_array( $field['type'], $zero_allowed ) ) {
331
+ $field['value'] = 0;
332
+ }
333
+
334
+ $register_callback = 'register_' . $element;
335
+
336
+ if ( method_exists( $this->builder, $register_callback ) ) {
337
+ call_user_func( array( $this->builder, $register_callback ), $field );
338
+ }
339
+ }
340
+
341
+ $this->builder->render();
342
+ }
343
+
344
+ /**
345
+ * Save additional taxonomy meta on edit or create tax
346
+ *
347
+ * @since 1.0.0
348
+ * @param int $post_id The ID of the current post being saved.
349
+ * @param object $post The post object currently being saved.
350
+ * @return void|int
351
+ */
352
+ public function save_meta( $post_id, $post = '' ) {
353
+
354
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
355
+ return;
356
+ }
357
+
358
+ if ( ! isset( $_POST[ $this->nonce ] ) || ! wp_verify_nonce( $_POST[ $this->nonce ], $this->nonce ) ) {
359
+ return;
360
+ }
361
+
362
+ $posts = ! empty( $this->args['page'] ) ? $this->args['page'] : array( 'post' );
363
+ $posts = is_array( $posts ) ? $posts : array( $posts );
364
+
365
+ $maybe_break = false;
366
+
367
+ foreach ( $posts as $post_type ) {
368
+
369
+ if ( get_post_type( $post_id ) !== $post_type ) {
370
+ $maybe_break = true;
371
+ continue;
372
+ }
373
+
374
+ $maybe_break = false;
375
+ $obj = get_post_type_object( $post_type );
376
+
377
+ if ( ! isset( $obj->cap->edit_posts ) || ! current_user_can( $obj->cap->edit_posts ) ) {
378
+ $maybe_break = true;
379
+ continue;
380
+ }
381
+
382
+ break;
383
+ }
384
+
385
+ if ( true === $maybe_break ) {
386
+ return;
387
+ }
388
+
389
+ if ( ! $this->is_allowed_page() ) {
390
+ return;
391
+ }
392
+
393
+ if ( ! is_object( $post ) ) {
394
+ $post = get_post();
395
+ }
396
+
397
+ /**
398
+ * Hook on current metabox saving
399
+ */
400
+ do_action( 'cherry_save_meta_' . $this->args['id'] );
401
+
402
+ if ( is_array( $this->args['single'] ) && isset( $this->args['single']['key'] ) ) {
403
+ $this->save_meta_mod( $post_id );
404
+ } else {
405
+ $this->save_meta_option( $post_id );
406
+ }
407
+
408
+ }
409
+
410
+ /**
411
+ * Save all meta values as a one array value in `wp_postmeta` table.
412
+ *
413
+ * @since 1.1.0
414
+ * @param int $post_id Post ID.
415
+ */
416
+ public function save_meta_mod( $post_id ) {
417
+ $meta_key = $this->args['single']['key'];
418
+
419
+ // Array of new post meta value.
420
+ $new_meta_value = array();
421
+
422
+ if ( empty( $_POST[ $meta_key ] ) ) {
423
+ return;
424
+ }
425
+
426
+ foreach ( $_POST[ $meta_key ] as $key => $value ) {
427
+
428
+ $new_meta_value[ $key ] = $this->sanitize_meta( $key, $value );
429
+ }
430
+
431
+ // Get current post meta data.
432
+ $meta_value = get_post_meta( $post_id, $meta_key, true );
433
+
434
+ if ( $new_meta_value && '' == $meta_value ) {
435
+ add_post_meta( $post_id, $meta_key, $new_meta_value, true );
436
+ } elseif ( $new_meta_value && $new_meta_value != $meta_value ) {
437
+ update_post_meta( $post_id, $meta_key, $new_meta_value );
438
+ } elseif ( empty( $new_meta_value ) && $meta_value ) {
439
+ delete_post_meta( $post_id, $meta_key, $meta_value );
440
+ }
441
+ }
442
+
443
+ /**
444
+ * Save each meta value as a single value in `wp_postmeta` table.
445
+ *
446
+ * @since 1.1.0
447
+ * @param int $post_id Post ID.
448
+ */
449
+ public function save_meta_option( $post_id ) {
450
+
451
+ foreach ( $this->args['fields'] as $key => $field ) {
452
+
453
+ if ( isset( $field['element'] ) && 'control' !== $field['element'] ) {
454
+ continue;
455
+ }
456
+
457
+ if ( empty( $_POST[ $key ] ) ) {
458
+ update_post_meta( $post_id, $key, false );
459
+ continue;
460
+ }
461
+
462
+ $value = $this->sanitize_meta( $key, $_POST[ $key ] );
463
+ update_post_meta( $post_id, $key, $value );
464
+ }
465
+
466
+ }
467
+
468
+ /**
469
+ * Sanitize passed meta value
470
+ *
471
+ * @since 1.1.3
472
+ * @param string $key Meta key to sanitize.
473
+ * @param mixed $value Meta value.
474
+ * @return mixed
475
+ */
476
+ public function sanitize_meta( $key, $value ) {
477
+
478
+ if ( empty( $this->args['fields'][ $key ]['sanitize_callback'] ) ) {
479
+ return $this->sanitize_deafult( $value );
480
+ }
481
+
482
+ if ( ! is_callable( $this->args['fields'][ $key ]['sanitize_callback'] ) ) {
483
+ return $this->sanitize_deafult( $value );
484
+ }
485
+
486
+ return call_user_func(
487
+ $this->args['fields'][ $key ]['sanitize_callback'],
488
+ $value,
489
+ $key,
490
+ $this->args['fields'][ $key ]
491
+ );
492
+
493
+ }
494
+
495
+ /**
496
+ * Cleare value with sanitize_text_field if not is array
497
+ *
498
+ * @since 1.1.3
499
+ * @param mixed $value Passed value.
500
+ * @return mixed
501
+ */
502
+ public function sanitize_deafult( $value ) {
503
+ return is_array( $value ) ? $value : sanitize_text_field( $value );
504
+ }
505
+
506
+ /**
507
+ * Retrieve post meta field.
508
+ *
509
+ * @since 1.1.0
510
+ * @since 1.2.0 Process default value.
511
+ *
512
+ * @param object $post Current post object.
513
+ * @param string $key The meta key to retrieve.
514
+ * @param mixed $default Default value.
515
+ * @return string
516
+ */
517
+ public function get_meta( $post, $key, $default = false ) {
518
+
519
+ if ( ! is_object( $post ) ) {
520
+ return '';
521
+ }
522
+
523
+ if ( is_array( $this->args['single'] ) && isset( $this->args['single']['key'] ) ) {
524
+ return isset( $this->meta_values[ $key ] ) ? $this->meta_values[ $key ] : $default;
525
+ }
526
+
527
+ $meta = get_post_meta( $post->ID, $key, false );
528
+
529
+ return ( empty( $meta ) ) ? $default : $meta[0];
530
+ }
531
+
532
+ /**
533
+ * Returns the instance.
534
+ *
535
+ * @since 1.0.0
536
+ * @return object
537
+ */
538
+ public static function get_instance( $core, $args ) {
539
+
540
+ if ( ! is_admin() ) {
541
+ return;
542
+ }
543
+
544
+ return new self( $core, $args );
545
+ }
546
+ }
547
+ }
cherry-framework/modules/cherry-template-manager/cherry-template-manager.php ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Template Manager
4
+ * Description: Module load and parse tmpl files.
5
+ * Version: 1.0.0
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.0.0
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Template_Manager' ) ) {
26
+
27
+ /**
28
+ * Class Cherry Template Manager.
29
+ *
30
+ * @since 1.0.0
31
+ */
32
+ class Cherry_Template_Manager {
33
+
34
+ /**
35
+ * A reference to an instance of this class.
36
+ *
37
+ * @since 1.0.0
38
+ * @access private
39
+ * @var object
40
+ */
41
+ private static $instance = null;
42
+
43
+ /**
44
+ * Module arguments.
45
+ *
46
+ * @since 1.0.0
47
+ * @access private
48
+ * @var array
49
+ */
50
+ private $args = array();
51
+
52
+ /**
53
+ * It contains a class Cherry_Template_Parser.
54
+ *
55
+ * @since 1.0.0
56
+ * @access public
57
+ * @var object
58
+ */
59
+ public $parser = null;
60
+
61
+ /**
62
+ * It contains a class Cherry_Template_Loader.
63
+ *
64
+ * @since 1.0.0
65
+ * @access public
66
+ * @var object
67
+ */
68
+ public $loader = null;
69
+
70
+ /**
71
+ * Cherry_Template_Manager constructor.
72
+ *
73
+ * @since 1.0.0
74
+ * @access public
75
+ * @return void
76
+ */
77
+ public function __construct( $core = null, $args = array() ) {
78
+ $this->include_class();
79
+
80
+ $this->args = array_merge_recursive(
81
+ $args,
82
+ $this->args
83
+ );
84
+
85
+ $this->set_class();
86
+ }
87
+
88
+ /**
89
+ * Include abstract widget class
90
+ *
91
+ * @since 1.0.0
92
+ * @access public
93
+ * @return void
94
+ */
95
+ public function include_class() {
96
+ require_once( dirname( __FILE__ ) . '/inc/cherry-template-loader.php' );
97
+ require_once( dirname( __FILE__ ) . '/inc/cherry-template-parser.php' );
98
+ }
99
+
100
+ /**
101
+ * Function set the child classes.
102
+ *
103
+ * @since 1.0.0
104
+ * @access public
105
+ * @return void
106
+ */
107
+ public function set_class() {
108
+ $this->loader = Cherry_Template_Loader::get_instance( $this->args, $this );
109
+ $this->parser = Cherry_Template_Parser::get_instance( $this->args, $this );
110
+ }
111
+
112
+ /**
113
+ * Returns the instance.
114
+ *
115
+ * @since 1.0.0
116
+ * @access public
117
+ * @return object
118
+ */
119
+ public static function get_instance() {
120
+
121
+ // If the single instance hasn't been set, set it now.
122
+ if ( null == self::$instance ) {
123
+ self::$instance = new self;
124
+ }
125
+
126
+ return self::$instance;
127
+ }
128
+ }
129
+ }
cherry-framework/modules/cherry-template-manager/inc/cherry-template-loader.php ADDED
@@ -0,0 +1,223 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Template Loader
4
+ * Description: Module load tmpl files.
5
+ * Version: 1.0.0
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.0.0
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Template_Loader' ) ) {
26
+
27
+ /**
28
+ * Class Cherry Template Loader.
29
+ *
30
+ * @since 1.0.0
31
+ */
32
+ class Cherry_Template_Loader {
33
+
34
+ /**
35
+ * A reference to an instance of this class.
36
+ *
37
+ * @since 1.0.0
38
+ * @access private
39
+ * @var object
40
+ */
41
+ private static $instance = null;
42
+
43
+ /**
44
+ * A reference to an instance of this Cherry_Template_Manager class.
45
+ *
46
+ * @since 1.0.0
47
+ * @access private
48
+ * @var object
49
+ */
50
+ private $cherry_template_manager_class = null;
51
+
52
+ /**
53
+ * Module arguments.
54
+ *
55
+ * @since 1.0.0
56
+ * @access private
57
+ * @var array
58
+ */
59
+ private $args = array(
60
+ 'template_dir' => 'templates/%1$s/%2$s.tmpl',
61
+ 'slug' => '',
62
+ 'upload_dir' => '',
63
+ );
64
+
65
+ /**
66
+ * Cherry_Template_Loader constructor.
67
+ *
68
+ * @since 1.0.0
69
+ * @access public
70
+ * @return void
71
+ */
72
+ public function __construct( $args = array(), $main_class = null ) {
73
+
74
+ $this->args = array_merge_recursive(
75
+ $args,
76
+ $this->args
77
+ );
78
+
79
+ $this->cherry_template_manager_class = $main_class;
80
+
81
+ $this->set_default_variable();
82
+ $this->includes_file_system();
83
+
84
+ }
85
+
86
+ /**
87
+ * Set the default variables.
88
+ *
89
+ * @since 1.0.0
90
+ * @access private
91
+ * @return void
92
+ */
93
+ private function set_default_variable() {
94
+ if ( ! $this->args['slug'] ) {
95
+ $this->args['slug'] = $this->get_slug();
96
+ }
97
+
98
+ if ( ! $this->args['upload_dir'] ) {
99
+ $get_upload_dir = wp_upload_dir();
100
+ $this->args['upload_dir'] = trailingslashit( $get_upload_dir['basedir'] );
101
+ }
102
+ }
103
+
104
+ /**
105
+ * Function Include file with class WP_Filesystem.
106
+ *
107
+ * @since 1.0.0
108
+ * @access private
109
+ * @return void
110
+ */
111
+ private function includes_file_system() {
112
+ if ( ! function_exists( 'WP_Filesystem' ) ) {
113
+ include_once( ABSPATH . '/wp-admin/includes/file.php' );
114
+ }
115
+
116
+ WP_Filesystem();
117
+ }
118
+
119
+ /**
120
+ * Return product slug.
121
+ *
122
+ * @since 1.0.0
123
+ * @access private
124
+ * @return string
125
+ */
126
+ private function get_slug() {
127
+ $file_dir = wp_normalize_path( __DIR__ );
128
+ $product_dir = $this->get_project_root();
129
+
130
+ $slug = str_replace( $product_dir, '', $file_dir );
131
+ preg_match( '/^[a-zA-Z-]*/' , $slug, $slug );
132
+
133
+ return $slug[0];
134
+ }
135
+
136
+ /**
137
+ * Function return the project root dir, themes or plugins.
138
+ *
139
+ * @since 1.0.0
140
+ * @access private
141
+ * @return string
142
+ */
143
+ private function get_project_root() {
144
+ $themes_dir = wp_normalize_path( get_theme_root() );
145
+ $plugin_dir = wp_normalize_path( WP_PLUGIN_DIR );
146
+ $file_dir = wp_normalize_path( __DIR__ );
147
+ $project_root = ( false === strpos( $file_dir, $themes_dir ) ) ? $plugin_dir : $themes_dir;
148
+
149
+ return trailingslashit( $project_root );
150
+ }
151
+
152
+ /**
153
+ * Retrieve a *.tmpl file content.
154
+ *
155
+ * @since 1.0.0
156
+ * @param string $name File name.
157
+ * @access private
158
+ * @return string|bool
159
+ */
160
+ public function get_template_by_name( $name ) {
161
+ $file = '';
162
+ $template_dir = sprintf( $this->args['template_dir'], $this->args['slug'], $name );
163
+ $in_uploads = $this->args['upload_dir'] . $template_dir ;
164
+ $in_project = trailingslashit( $this->get_project_root() . $this->args['slug'] ) . $template_dir;
165
+
166
+ if ( file_exists( $in_uploads ) ) {
167
+ $file = $in_uploads;
168
+ } elseif ( $theme_template = locate_template( $template_dir ) ) {
169
+ $file = $theme_template;
170
+ } else {
171
+ $file = $in_project;
172
+ }
173
+
174
+ if ( ! empty( $file ) ) {
175
+ return $this->get_contents( $file );
176
+ } else {
177
+ return false;
178
+ }
179
+ }
180
+
181
+ /**
182
+ * Read template (static).
183
+ *
184
+ * @since 1.0.0
185
+ * @param string $file Correct file path.
186
+ * @access public
187
+ * @return string|bool
188
+ */
189
+ public function get_contents( $file ) {
190
+ global $wp_filesystem;
191
+
192
+ $file = wp_normalize_path( $file );
193
+
194
+ // Check for existence.
195
+ if ( ! $content = $wp_filesystem->get_contents( $file ) ) {
196
+ return false;
197
+ }
198
+
199
+ if ( ! $content ) {
200
+ // Return error object.
201
+ return new WP_Error( 'reading_error', 'Error when reading file' );
202
+ }
203
+
204
+ return $content;
205
+ }
206
+
207
+ /**
208
+ * Returns the instance.
209
+ *
210
+ * @since 1.0.0
211
+ * @return object
212
+ */
213
+ public static function get_instance( $args, $main_class ) {
214
+
215
+ // If the single instance hasn't been set, set it now.
216
+ if ( null == self::$instance ) {
217
+ self::$instance = new self( $args, $main_class );
218
+ }
219
+
220
+ return self::$instance;
221
+ }
222
+ }
223
+ }
cherry-framework/modules/cherry-template-manager/inc/cherry-template-parser.php ADDED
@@ -0,0 +1,219 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Template Parser
4
+ * Description: Module parsed tmpl files.
5
+ * Version: 1.0.0
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.0.0
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Template_Parser' ) ) {
26
+
27
+ /**
28
+ * Class Cherry Template Parser.
29
+ *
30
+ * @since 1.0.0
31
+ */
32
+ class Cherry_Template_Parser {
33
+
34
+ /**
35
+ * A reference to an instance of this class.
36
+ *
37
+ * @since 1.0.0
38
+ * @access private
39
+ * @var object
40
+ */
41
+ private static $instance = null;
42
+
43
+ /**
44
+ * A reference to an instance of this Cherry_Template_Manager class.
45
+ *
46
+ * @since 1.0.0
47
+ * @access private
48
+ * @var object
49
+ */
50
+ private $cherry_template_manager_class = null;
51
+
52
+ /**
53
+ * Module arguments.
54
+ *
55
+ * @since 1.0.0
56
+ * @access private
57
+ * @var array
58
+ */
59
+ private $args = array(
60
+ 'macros_callback' => '/%%.+?%%/',
61
+ 'macros_variable' => '/\$\$.+?\$\$/',
62
+ );
63
+
64
+ /**
65
+ * Keeps the user callbacks class.
66
+ *
67
+ * @since 1.0.0
68
+ * @access private
69
+ * @var object
70
+ */
71
+ private static $callbacks_class = null;
72
+
73
+ /**
74
+ * Cherry_Template_Parser constructor.
75
+ *
76
+ * @since 1.0.0
77
+ * @access public
78
+ * @return void
79
+ */
80
+ public function __construct( $args = array(), $main_class = null ) {
81
+ $this->args = array_merge_recursive(
82
+ $args,
83
+ $this->args
84
+ );
85
+
86
+ $this->cherry_template_manager_class = $main_class;
87
+ }
88
+
89
+ /**
90
+ * Function parsed template.
91
+ *
92
+ * @since 1.0.0
93
+ * @param string $template_name Template Name.
94
+ * @param string|stdClass $class An instance or class name.
95
+ * @param string $macros_callback The regular expression for the callback.
96
+ * @param string $macros_variable The regular expression for the variable.
97
+ * @access public
98
+ * @return string|bool
99
+ */
100
+ public function parsed_template( $template_name = false, $class = false, $macros_callback = false, $macros_variable = false ) {
101
+ if ( $template_name && $class ) {
102
+
103
+ if ( ! $macros_callback ) {
104
+ $macros_callback = $this->args['macros_callback'];
105
+ }
106
+
107
+ if ( ! $macros_variable ) {
108
+ $macros_variable = $this->args['macros_variable'];
109
+ }
110
+
111
+ $search_form_template = $this->cherry_template_manager_class->loader->get_template_by_name( $template_name );
112
+
113
+ if ( ! $search_form_template ) {
114
+ return false;
115
+ }
116
+
117
+ if ( 'string' === gettype( $class ) && class_exists( $class ) ) {
118
+ $class = new $class();
119
+ }
120
+
121
+ if ( $class !== self::$callbacks_class ) {
122
+ self::$callbacks_class = $class;
123
+ }
124
+
125
+ $ouput = preg_replace_callback( $macros_callback, array( $this, 'replace_callback' ), $search_form_template );
126
+ $ouput = preg_replace_callback( $macros_variable, array( $this, 'replace_variable' ), $ouput );
127
+
128
+ return $ouput;
129
+ } else {
130
+ return false;
131
+ }
132
+
133
+ }
134
+
135
+ /**
136
+ * Callback to replace macros with data.
137
+ *
138
+ * @since 1.0.0
139
+ * @param array $matches Founded macros.
140
+ * @access private
141
+ * @return string
142
+ */
143
+ private function replace_callback( $matches ) {
144
+
145
+ if ( ! is_array( $matches ) ) {
146
+ return false;
147
+ }
148
+
149
+ if ( empty( $matches ) ) {
150
+ return false;
151
+ }
152
+
153
+ $item = trim( $matches[0], '%%' );
154
+ $arr = explode( ' ', $item, 2 );
155
+ $macros = strtolower( $arr[0] );
156
+ $attr = isset( $arr[1] ) ? shortcode_parse_atts( $arr[1] ) : array();
157
+
158
+ $callback = array( self::$callbacks_class, 'get_' . $macros );
159
+
160
+ if ( ! is_callable( $callback ) ) {
161
+ return false;
162
+ }
163
+
164
+ if ( ! empty( $attr ) ) {
165
+ // Call a WordPress function.
166
+ return call_user_func( $callback, $attr );
167
+ }
168
+
169
+ return call_user_func( $callback );
170
+ }
171
+
172
+ /**
173
+ * Callback to replace macros with data.
174
+ *
175
+ * @since 1.0.0
176
+ * @param array $matches Founded macros.
177
+ * @access private
178
+ * @return string
179
+ */
180
+ private function replace_variable( $matches ) {
181
+
182
+ if ( ! is_array( $matches ) ) {
183
+ return;
184
+ }
185
+
186
+ if ( empty( $matches ) ) {
187
+ return;
188
+ }
189
+
190
+ $item = trim( $matches[0], '$$' );
191
+ $arr = explode( ' ', $item, 2 );
192
+ $macros = strtoupper( $arr[0] );
193
+
194
+ if ( isset( self::$callbacks_class->variable ) && array_key_exists( $macros, self::$callbacks_class->variable ) ) {
195
+ $variable = self::$callbacks_class->variable[ $macros ];
196
+ } else {
197
+ return;
198
+ }
199
+
200
+ return $variable;
201
+ }
202
+
203
+ /**
204
+ * Returns the instance.
205
+ *
206
+ * @since 1.0.0
207
+ * @return object
208
+ */
209
+ public static function get_instance( $args, $main_class ) {
210
+
211
+ // If the single instance hasn't been set, set it now.
212
+ if ( null == self::$instance ) {
213
+ self::$instance = new self( $args, $main_class );
214
+ }
215
+
216
+ return self::$instance;
217
+ }
218
+ }
219
+ }
cherry-framework/modules/cherry-term-meta/cherry-term-meta.php ADDED
@@ -0,0 +1,303 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Term Meta
4
+ * Description: Manage term metadata
5
+ * Version: 1.1.4
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.1.4
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Term_Meta' ) ) {
26
+
27
+ /**
28
+ * Term meta management module
29
+ */
30
+ class Cherry_Term_Meta {
31
+
32
+ /**
33
+ * Module slug
34
+ *
35
+ * @var string
36
+ */
37
+ public $module_slug = 'cherry-term-meta';
38
+
39
+ /**
40
+ * Module arguments
41
+ *
42
+ * @var array
43
+ */
44
+ public $args = array();
45
+
46
+ /**
47
+ * Existing field types
48
+ *
49
+ * @var array
50
+ */
51
+ public $field_types = array();
52
+
53
+ /**
54
+ * UI builder instance
55
+ *
56
+ * @var object
57
+ */
58
+ public $ui_builder = null;
59
+
60
+ /**
61
+ * Already registered field.
62
+ *
63
+ * @since 1.0.2
64
+ * @var array
65
+ */
66
+ static public $register_fields = array();
67
+
68
+ /**
69
+ * Core instance
70
+ *
71
+ * @var object
72
+ */
73
+ public $core = null;
74
+
75
+ /**
76
+ * Constructor for the module
77
+ */
78
+ function __construct( $core, $args ) {
79
+
80
+ $this->core = $core;
81
+ $this->args = wp_parse_args( $args, array(
82
+ 'tax' => 'category',
83
+ 'priority' => 10,
84
+ 'fields' => array(),
85
+ ) );
86
+
87
+ if ( empty( $this->args['fields'] ) ) {
88
+ return;
89
+ }
90
+
91
+ add_action( 'admin_enqueue_scripts', array( $this, 'init_ui' ), 1 );
92
+
93
+ $priority = intval( $this->args['priority'] );
94
+ $tax = esc_attr( $this->args['tax'] );
95
+
96
+ add_action( "{$tax}_add_form_fields", array( $this, 'render_add_fields' ), $priority );
97
+ add_action( "{$tax}_edit_form_fields", array( $this, 'render_edit_fields' ), $priority, 2 );
98
+
99
+ add_action( "created_{$tax}", array( $this, 'save_meta' ) );
100
+ add_action( "edited_{$tax}", array( $this, 'save_meta' ) );
101
+ }
102
+
103
+ /**
104
+ * Init UI builder.
105
+ *
106
+ * @since 1.0.0
107
+ * @return bool
108
+ */
109
+ public function init_ui() {
110
+
111
+ global $current_screen;
112
+
113
+ if ( empty( $current_screen ) || ! in_array( $current_screen->base, array( 'edit-tags', 'term' ) ) ) {
114
+ return false;
115
+ }
116
+
117
+ array_walk( $this->args['fields'], array( $this, 'set_field_types' ) );
118
+
119
+ if ( in_array( 'slider', $this->field_types ) ) {
120
+ $this->field_types[] = 'stepper';
121
+ }
122
+
123
+ $this->ui_builder = $this->core->init_module( 'cherry-ui-elements', $this->field_types );
124
+
125
+ return true;
126
+ }
127
+
128
+ /**
129
+ * Render add term form fields
130
+ *
131
+ * @since 1.0.0
132
+ * @param [type] $taxonomy taxonomy name.
133
+ * @return void
134
+ */
135
+ public function render_add_fields( $taxonomy ) {
136
+
137
+ $format = '<div style="padding:10px 0;">%s</div>';
138
+ echo $this->get_fields( false, $taxonomy, $format );
139
+ }
140
+
141
+ /**
142
+ * Render edit term form fields
143
+ *
144
+ * @since 1.0.0
145
+ * @param object $term current term object.
146
+ * @param [type] $taxonomy taxonomy name.
147
+ * @return void
148
+ */
149
+ public function render_edit_fields( $term, $taxonomy ) {
150
+
151
+ $format = '<tr class="form-field cherry-term-meta-wrap"><th>&nbsp;</th><td>%s</td></tr>';
152
+ echo $this->get_fields( $term, $taxonomy, $format );
153
+ }
154
+
155
+ /**
156
+ * Get registered control fields
157
+ *
158
+ * @since 1.0.0
159
+ * @param mixed $term current term object.
160
+ * @param [type] $taxonomy current taxonomy name.
161
+ * @return string
162
+ */
163
+ public function get_fields( $term, $taxonomy, $format = '%s' ) {
164
+
165
+ $result = '';
166
+
167
+ foreach ( $this->args['fields'] as $key => $field ) {
168
+
169
+ if ( in_array( $key, Cherry_Term_Meta::$register_fields ) ) {
170
+ continue;
171
+ } else {
172
+ Cherry_Term_Meta::$register_fields[] = $key;
173
+ }
174
+
175
+ if ( false !== $term ) {
176
+ $value = get_term_meta( $term->term_id, $key, true );
177
+ } else {
178
+ $value = '';
179
+ }
180
+
181
+ $value = ! empty( $value ) ? $value : Cherry_Toolkit::get_arg( $field, 'value', '' );
182
+
183
+ if ( isset( $field['options_callback'] ) ) {
184
+ $options = call_user_func( $field['options_callback'] );
185
+ } else {
186
+ $options = Cherry_Toolkit::get_arg( $field, 'options', array() );
187
+ }
188
+
189
+ $args = array(
190
+ 'type' => Cherry_Toolkit::get_arg( $field, 'type', 'text' ),
191
+ 'id' => $key,
192
+ 'name' => $key,
193
+ 'value' => $value,
194
+ 'label' => Cherry_Toolkit::get_arg( $field, 'label', '' ),
195
+ 'options' => $options,
196
+ 'multiple' => Cherry_Toolkit::get_arg( $field, 'multiple', false ),
197
+ 'filter' => Cherry_Toolkit::get_arg( $field, 'filter', false ),
198
+ 'size' => Cherry_Toolkit::get_arg( $field, 'size', 1 ),
199
+ 'null_option' => Cherry_Toolkit::get_arg( $field, 'null_option', 'None' ),
200
+ 'multi_upload' => Cherry_Toolkit::get_arg( $field, 'multi_upload', true ),
201
+ 'library_type' => Cherry_Toolkit::get_arg( $field, 'library_type', 'image' ),
202
+ 'upload_button_text' => Cherry_Toolkit::get_arg( $field, 'upload_button_text', 'Choose' ),
203
+ 'max_value' => Cherry_Toolkit::get_arg( $field, 'max_value', '100' ),
204
+ 'min_value' => Cherry_Toolkit::get_arg( $field, 'min_value', '0' ),
205
+ 'max' => Cherry_Toolkit::get_arg( $field, 'max', '100' ),
206
+ 'min' => Cherry_Toolkit::get_arg( $field, 'min', '0' ),
207
+ 'step_value' => Cherry_Toolkit::get_arg( $field, 'step_value', '1' ),
208
+ 'style' => Cherry_Toolkit::get_arg( $field, 'style', 'normal' ),
209
+ 'display_input' => Cherry_Toolkit::get_arg( $field, 'display_input', true ),
210
+ 'controls' => Cherry_Toolkit::get_arg( $field, 'controls', array() ),
211
+ 'fields' => Cherry_Toolkit::get_arg( $field, 'fields', array() ),
212
+ 'auto_parse' => Cherry_Toolkit::get_arg( $field, 'auto_parse', false ),
213
+ 'icon_data' => Cherry_Toolkit::get_arg( $field, 'icon_data', array() ),
214
+ 'toggle' => Cherry_Toolkit::get_arg( $field, 'toggle', array(
215
+ 'true_toggle' => 'On',
216
+ 'false_toggle' => 'Off',
217
+ 'true_slave' => '',
218
+ 'false_slave' => '',
219
+ ) ),
220
+ 'class' => Cherry_Toolkit::get_arg( $field, 'class' ),
221
+ 'required' => Cherry_Toolkit::get_arg( $field, 'required', false ),
222
+ 'placeholder' => Cherry_Toolkit::get_arg( $field, 'placeholder' ),
223
+ 'master' => Cherry_Toolkit::get_arg( $field, 'master' ),
224
+ 'title_field' => Cherry_Toolkit::get_arg( $field, 'title_field' ),
225
+ 'ui_kit' => Cherry_Toolkit::get_arg( $field, 'ui_kit', true ),
226
+ );
227
+
228
+ $current_element = $this->ui_builder->get_ui_element_instance( $args['type'], $args );
229
+
230
+ $result .= sprintf( $format, $current_element->render() );
231
+
232
+ }
233
+
234
+ return $result;
235
+
236
+ }
237
+
238
+ /**
239
+ * Store field types used in this widget into class property
240
+ *
241
+ * @since 1.0.0
242
+ * @param array $field field data.
243
+ * @param [type] $id field key.
244
+ * @return bool
245
+ */
246
+ public function set_field_types( $field, $id ) {
247
+
248
+ if ( is_array( $field ) || ! isset( $field['type'] ) ) {
249
+ return false;
250
+ }
251
+
252
+ if ( ! in_array( $field['type'], $this->field_types ) ) {
253
+ $this->field_types[] = $field['type'];
254
+ }
255
+
256
+ return true;
257
+
258
+ }
259
+
260
+ /**
261
+ * Save additional taxonomy meta on edit or create tax
262
+ *
263
+ * @since 1.0.0
264
+ * @param int $term_id Term ID.
265
+ * @return bool
266
+ */
267
+ public function save_meta( $term_id ) {
268
+
269
+ if ( ! current_user_can( 'edit_posts' ) ) {
270
+ return false;
271
+ }
272
+
273
+ foreach ( $this->args['fields'] as $key => $field ) {
274
+
275
+ if ( ! isset( $_POST[ $key ] ) ) {
276
+ continue;
277
+ }
278
+
279
+ if ( is_array( $_POST[ $key ] ) ) {
280
+ $new_val = array_filter( $_POST[ $key ] );
281
+ } else {
282
+ $new_val = esc_attr( $_POST[ $key ] );
283
+ }
284
+
285
+ update_term_meta( $term_id, $key, $new_val );
286
+
287
+ }
288
+
289
+ return true;
290
+
291
+ }
292
+
293
+ /**
294
+ * Returns the instance.
295
+ *
296
+ * @since 1.0.0
297
+ * @return object
298
+ */
299
+ public static function get_instance( $core, $args ) {
300
+ return new self( $core, $args );
301
+ }
302
+ }
303
+ }
cherry-framework/modules/cherry-toolkit/cherry-toolkit.php ADDED
@@ -0,0 +1,219 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: Framework Toolkit
4
+ * Description: Framework Toolkit contains various PHP utilities
5
+ * Version: 1.2.0
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Class
13
+ * @version 1.2.0
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_Toolkit' ) ) {
26
+
27
+ /**
28
+ * Various PHP utilities
29
+ */
30
+ class Cherry_Toolkit {
31
+
32
+ /**
33
+ * Module slug
34
+ *
35
+ * @var string Module slug
36
+ */
37
+ public $module_slug = 'cherry-toolkit';
38
+
39
+ /**
40
+ * Constructor for the module
41
+ *
42
+ * @param Cherry_Core $core Core instance.
43
+ * @param array $args Module arguments.
44
+ */
45
+ public function __construct( $core, $args ) {}
46
+
47
+ /**
48
+ * Returns the instance.
49
+ *
50
+ * @since 1.0.0
51
+ * @return object
52
+ */
53
+ public static function get_instance( $core, $args ) {
54
+ return new self( $core, $args );
55
+ }
56
+
57
+ /**
58
+ * Safely get attribute from field settings array.
59
+ *
60
+ * @since 1.0.0
61
+ * @param array $field arguments array.
62
+ * @param string|int|float $arg argument key.
63
+ * @param mixed $default default argument value.
64
+ * @return mixed
65
+ */
66
+ public static function get_arg( $field, $arg, $default = '' ) {
67
+
68
+ if ( is_array( $field ) && isset( $field[ $arg ] ) ) {
69
+ return $field[ $arg ];
70
+ }
71
+
72
+ return $default;
73
+ }
74
+
75
+ /**
76
+ * Get class instance
77
+ *
78
+ * @param string $class_name Class name.
79
+ * @param Cherry_Core $core Core instance.
80
+ * @param array $args Additional arguments.
81
+ * @return object New class instance.
82
+ * @throws InvalidArgumentException If class does not exists.
83
+ */
84
+ public static function get_class_instance( $class_name = '', $core, $args ) {
85
+ if ( ! class_exists( $class_name ) ) {
86
+ throw new InvalidArgumentException( 'Class "' . $class_name . '" doesn\'t exists' );
87
+ }
88
+
89
+ return new $class_name( $core, $args );
90
+ }
91
+
92
+ /**
93
+ * Render view
94
+ *
95
+ * @param string $path View path.
96
+ * @param array $data Include data.
97
+ * @return string Rendered html.
98
+ */
99
+ public static function render_view( $path, array $data = array() ) {
100
+
101
+ // Add parameters to temporary query variable.
102
+ if ( array_key_exists( 'wp_query', $GLOBALS ) ) {
103
+ if ( is_array( $GLOBALS['wp_query']->query_vars ) ) {
104
+ $GLOBALS['wp_query']->query_vars['__data'] = $data;
105
+ }
106
+ }
107
+
108
+ ob_start();
109
+ load_template( $path, false );
110
+ $result = ltrim( ob_get_clean() );
111
+
112
+ /**
113
+ * Remove temporary wp query variable
114
+ * Yeah. I'm paranoic.
115
+ */
116
+ if ( array_key_exists( 'wp_query', $GLOBALS ) ) {
117
+ if ( is_array( $GLOBALS['wp_query']->query_vars ) ) {
118
+ unset( $GLOBALS['wp_query']->query_vars['__data'] );
119
+ }
120
+ }
121
+
122
+ // Return the compiled view and terminate the output buffer.
123
+ return $result;
124
+ }
125
+
126
+ /**
127
+ * Remove empty elements
128
+ *
129
+ * @param array $arr --- array with empty elements.
130
+ * @return array --- array without empty elements
131
+ */
132
+ public static function remove_empty( $arr ) {
133
+ return array_filter( $arr, array( __CLASS__, 'remove_empty_check' ) );
134
+ }
135
+
136
+ /**
137
+ * Check if empty.
138
+ * It's need for PHP 5.2.4 version
139
+ *
140
+ * @param [type] $var variable.
141
+ * @return boolean
142
+ */
143
+ public static function remove_empty_check( $var ) {
144
+ return '' != $var;
145
+ }
146
+
147
+ /**
148
+ * Join array to string
149
+ *
150
+ * @param array $arr --- array like 'key' => 'value'.
151
+ * @return string --- joined string
152
+ */
153
+ public static function join( $arr = array() ) {
154
+ $arr = self::remove_empty( $arr );
155
+ $result = array();
156
+ foreach ( $arr as $key => $value ) {
157
+ $result[] = sprintf( '%s="%s"', $key, $value );
158
+ }
159
+ return implode( ' ', $result );
160
+ }
161
+
162
+ /**
163
+ * Lave just right keys in array
164
+ *
165
+ * @param array $right_keys right keys to leave.
166
+ * @param array $array list.
167
+ * @return array
168
+ */
169
+ public static function leave_right_keys( $right_keys, $array ) {
170
+ $right_keys = (array) $right_keys;
171
+ $array = (array) $array;
172
+ if ( count( $array ) ) {
173
+ foreach ( $array as $key => $value ) {
174
+ if ( ! in_array( $key, $right_keys ) ) {
175
+ unset( $array[ $key ] );
176
+ }
177
+ }
178
+ }
179
+ return $array;
180
+ }
181
+
182
+ /**
183
+ * Safely get file content by path
184
+ *
185
+ * @param string $filepath Path to file.
186
+ * @return mixed
187
+ */
188
+ public static function get_file( $filepath ) {
189
+
190
+ if ( ! file_exists( $filepath ) ) {
191
+ return false;
192
+ }
193
+
194
+ ob_start();
195
+ include $filepath;
196
+ return ob_get_clean();
197
+ }
198
+
199
+ /**
200
+ * Remove some keys form array
201
+ *
202
+ * @param [type] $right_keys keys to remove.
203
+ * @param [type] $array where we want remove this keys.
204
+ * @return array without keys
205
+ */
206
+ public static function remove_right_keys( $right_keys, $array ) {
207
+ $right_keys = (array) $right_keys;
208
+ $array = (array) $array;
209
+ if ( count( $right_keys ) ) {
210
+ foreach ( $right_keys as $key ) {
211
+ if ( array_key_exists( $key, $array ) ) {
212
+ unset( $array[ $key ] );
213
+ }
214
+ }
215
+ }
216
+ return $array;
217
+ }
218
+ }
219
+ }
cherry-framework/modules/cherry-ui-elements/cherry-ui-elements.php ADDED
@@ -0,0 +1,154 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Module Name: UI Elements
4
+ * Description: Class for the building ui elements
5
+ * Version: 1.3.0
6
+ * Author: Cherry Team
7
+ * Author URI: http://www.cherryframework.com/
8
+ * License: GPLv3
9
+ * License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
+ *
11
+ * @package Cherry_Framework
12
+ * @subpackage Modules
13
+ * @version 1.3.0
14
+ * @author Cherry Team <cherryframework@gmail.com>
15
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
16
+ * @link http://www.cherryframework.com/
17
+ * @license http://www.gnu.org/licenses/gpl-3.0.html
18
+ */
19
+
20
+ // If this file is called directly, abort.
21
+ if ( ! defined( 'WPINC' ) ) {
22
+ die;
23
+ }
24
+
25
+ if ( ! class_exists( 'Cherry_UI_Elements' ) ) {
26
+
27
+ /**
28
+ * Class for the building ui elements.
29
+ *
30
+ * @since 1.0.0
31
+ * @since 1.0.3 Removed `module_directory` and `module_directory_uri` properties.
32
+ */
33
+ class Cherry_UI_Elements {
34
+
35
+ /**
36
+ * Default arguments.
37
+ *
38
+ * @since 1.0.0
39
+ * @var array
40
+ */
41
+ private $args = array(
42
+ 'ui_elements' => array(
43
+ 'text',
44
+ 'textarea',
45
+ 'select',
46
+ 'checkbox',
47
+ 'radio',
48
+ 'colorpicker',
49
+ 'media',
50
+ 'stepper',
51
+ 'switcher',
52
+ 'slider',
53
+ 'repeater',
54
+ 'iconpicker',
55
+ 'button',
56
+ ),
57
+ );
58
+
59
+ /**
60
+ * Constructor.
61
+ *
62
+ * @since 1.0.0
63
+ * @param object $core Core.
64
+ * @param array $args Arguments.
65
+ */
66
+ public function __construct( $core, $args ) {
67
+ $this->args = array_merge( $this->args, $args );
68
+ $this->ui_elements_require();
69
+
70
+ // Load admin assets.
71
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_assets' ), 9 );
72
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_admin_assets' ), 9 );
73
+ }
74
+
75
+ /**
76
+ * Get UI-element instance.
77
+ *
78
+ * @since 1.0.0
79
+ * @param [type] $ui_slug ui element.
80
+ * @param array $args arguments.
81
+ * @return object
82
+ */
83
+ public function get_ui_element_instance( $ui_slug, $args ) {
84
+
85
+ if ( empty( $ui_slug ) ) {
86
+ echo '<p>Set an empty slug</p>';
87
+ return false;
88
+ }
89
+
90
+ if ( ! in_array( $ui_slug, $this->args['ui_elements'] ) ) {
91
+ echo '<p> Element <b>' . $ui_slug . '</b> has not been initialized in this instance!</p>';
92
+ return false;
93
+ }
94
+
95
+ $ui_class_name = 'UI_' . ucwords( $ui_slug );
96
+
97
+ if ( ! class_exists( $ui_class_name ) ) {
98
+ echo '<p>Class <b>' . $ui_class_name . '</b> not exist!</p>';
99
+ return false;
100
+ }
101
+ return new $ui_class_name( $args );
102
+ }
103
+
104
+ /**
105
+ * Require UI-elements.
106
+ *
107
+ * @since 1.0.0
108
+ * @since 1.1.4 Using dirname( __FILE__ ) instead of __DIR__.
109
+ * @return void
110
+ */
111
+ public function ui_elements_require() {
112
+
113
+ // Add I_UI interface.
114
+ if ( ! interface_exists( 'I_UI' ) ) {
115
+ require_once( dirname( __FILE__ ) . '/i-ui.php' );
116
+ }
117
+
118
+ if ( ! class_exists( 'UI_Element' ) ) {
119
+ require_once( dirname( __FILE__ ) . '/ui-element.php' );
120
+ }
121
+
122
+ if ( ! empty( $this->args['ui_elements'] ) ) {
123
+ foreach ( $this->args['ui_elements'] as $ui_element ) {
124
+ require_once( dirname( __FILE__ ) . '/inc/ui-elements/ui-' . $ui_element . '/ui-' . $ui_element . '.php' );
125
+ }
126
+ }
127
+ }
128
+
129
+ /**
130
+ * Load admin assets.
131
+ *
132
+ * @since 1.0.0
133
+ */
134
+ public function enqueue_admin_assets() {
135
+ if ( ! empty( $this->args['ui_elements'] ) ) {
136
+ foreach ( $this->args['ui_elements'] as $ui_element ) {
137
+ $ui_class_name = 'UI_' . ucwords( $ui_element );
138
+ call_user_func( array( $ui_class_name, 'enqueue_assets' ) );
139
+
140
+ }
141
+ }
142
+ }
143
+
144
+ /**
145
+ * Returns the instance.
146
+ *
147
+ * @since 1.0.0
148
+ * @return object
149
+ */
150
+ public static function get_instance( $core, $args ) {
151
+ return new self( $core, $args );
152
+ }
153
+ }
154
+ }
cherry-framework/modules/cherry-ui-elements/i-ui.php ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * I'am UI interface
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-3.0.html
11
+ */
12
+
13
+ /**
14
+ * UI element interface
15
+ */
16
+
17
+ interface I_UI {
18
+
19
+ /**
20
+ * Enqueue javascript and stylesheet to UI element.
21
+ */
22
+ public static function enqueue_assets();
23
+
24
+ /**
25
+ * Render UI element.
26
+ *
27
+ * @return string.
28
+ */
29
+ public function render();
30
+
31
+ /**
32
+ * Get control name
33
+ *
34
+ * @return string control name.
35
+ */
36
+ public function get_name();
37
+
38
+ /**
39
+ * Set control name
40
+ *
41
+ * @param [type] $name new control name.
42
+ */
43
+ public function set_name( $name );
44
+
45
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/assets/min/ui-button.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .ui-button{padding:16px 30px;display:inline-block;background-color:#96989a;font-weight:900;text-transform:uppercase;color:#fff;box-shadow:0px 0px 13px rgba(0,0,0,0.2);cursor:pointer;border-radius:4px;border:none;-webkit-transition:background 300ms ease-in-out;transition:background 300ms ease-in-out}.ui-button:hover{background-color:#b4b7ba}.ui-button:focus{outline:none}.ui-button.ui-button-normal-style{background-color:#495159}.ui-button.ui-button-normal-style:hover{background-color:#393f45}.ui-button.ui-button-success-style{background-color:#48c569}.ui-button.ui-button-success-style:hover{background-color:#3ba956}.ui-button.ui-button-primary-style{background-color:#298ffc}.ui-button.ui-button-primary-style:hover{background-color:#206ff4}.ui-button.ui-button-danger-style{background-color:#e54343}.ui-button.ui-button-danger-style:hover{background-color:#c73434}.ui-button.ui-button-warning-style{background-color:#faa730}.ui-button.ui-button-warning-style:hover{background-color:#ee8425}
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/assets/ui-button.scss ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import "ui-kit/variables";
2
+ @import "ui-kit/mixins";
3
+
4
+ .ui-button{
5
+ padding: 16px 30px;
6
+ display: inline-block;
7
+ background-color: $grey_color_1;
8
+ font-weight: 900;
9
+ text-transform: uppercase;
10
+ color: #fff;
11
+ box-shadow: 0px 0px 13px rgba(0, 0, 0, 0.2);
12
+ cursor: pointer;
13
+ border-radius: 4px;
14
+ border: none;
15
+ transition: background 300ms ease-in-out;
16
+ &:hover{
17
+ background-color: $grey_color_4;
18
+ }
19
+ &:focus{
20
+ outline: none;
21
+ }
22
+ &.ui-button-normal-style{
23
+ background-color: $normal_color;
24
+ &:hover{
25
+ background-color: $normal_color_h;
26
+ }
27
+ }
28
+ &.ui-button-success-style{
29
+ background-color: $green_color;
30
+ &:hover{
31
+ background-color: $green_color_h;
32
+ }
33
+ }
34
+ &.ui-button-primary-style{
35
+ background-color: $blue_color;
36
+ &:hover{
37
+ background-color: $blue_color_h;
38
+ }
39
+ }
40
+ &.ui-button-danger-style{
41
+ background-color: $red_color;
42
+ &:hover{
43
+ background-color: $red_color_h;
44
+ }
45
+ }
46
+ &.ui-button-warning-style{
47
+ background-color: $orange_color;
48
+ &:hover{
49
+ background-color: $orange_color_h;
50
+ }
51
+ }
52
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/assets/ui-kit/_mixins.scss ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @mixin button_base() {
2
+ display: inline-block;
3
+ text-decoration: none;
4
+ font-size: 12px;
5
+ line-height: 20px;
6
+ font-weight: bold;
7
+ padding: 15px 20px;
8
+ color: #fff;
9
+ text-transform: uppercase;
10
+ border-radius: $border_radius_small;
11
+ transition: all 200ms linear;
12
+ box-shadow: $box_shadow;
13
+ &:hover {
14
+ color: #fff;
15
+ box-shadow: none;
16
+ }
17
+ &:focus,
18
+ &:active {
19
+ outline: none;
20
+ box-shadow: none;
21
+ color: #fff;
22
+ }
23
+ }
24
+
25
+ @mixin button_normal() {
26
+ background: $dark_color_2;
27
+ &:hover {
28
+ background: $dark_color_2_h;
29
+ }
30
+ }
31
+
32
+ @mixin button_primary() {
33
+ background: $blue_color;
34
+ &:hover {
35
+ background: $blue_color_h;
36
+ }
37
+ }
38
+
39
+ @mixin button_success() {
40
+ background: $green_color;
41
+ &:hover {
42
+ background: $green_color_h;
43
+ }
44
+ }
45
+
46
+ @mixin button_danger() {
47
+ background: $red_color;
48
+ &:hover {
49
+ background: $red_color_h;
50
+ }
51
+ }
52
+
53
+ @mixin button_warning() {
54
+ background: $orange_color;
55
+ &:hover {
56
+ background: $orange_color_h;
57
+ }
58
+ }
59
+
60
+ @mixin input() {
61
+ font-size: 14px;
62
+ line-height: 20px;
63
+ color: $dark_color_1;
64
+ background-color: $grey_color_3;
65
+ border-radius: $border_radius_extra_small;
66
+ padding: 10px 20px;
67
+ min-height: 50px;
68
+ border: 1px solid $grey_color_3;
69
+ box-shadow: none;
70
+ &:focus{
71
+ border-color: rgba(72,197,105,.6);
72
+ box-shadow: 0 0 2px rgba(72,197,105,.6);
73
+ }
74
+ }
75
+
76
+ @mixin button_icon( $icon ) {
77
+ content: $icon;
78
+ display: inline-block;
79
+ font-family: dashicons;
80
+ font-size: 16px;
81
+ font-style: normal;
82
+ font-weight: 400;
83
+ height: 18px;
84
+ line-height: 18px;
85
+ text-align: center;
86
+ text-decoration: inherit;
87
+ transition: all 200ms linear;
88
+ vertical-align: middle;
89
+ }
90
+
91
+ @mixin button_icon_before( $icon ) {
92
+ &:before {
93
+ @include button_icon( $icon );
94
+ padding: 0 5px 0 0;
95
+ }
96
+ }
97
+
98
+ @mixin button_icon_after( $icon ) {
99
+ &:after {
100
+ @include button_icon( $icon );
101
+ padding: 0 0 0 5px;
102
+ }
103
+ }
104
+
105
+ @mixin button_icon_middle( $icon ) {
106
+ &:before {
107
+ @include button_icon( $icon );
108
+ margin: 0 -5px;
109
+ }
110
+ }
111
+
112
+ @mixin link() {
113
+ display: inline-block;
114
+ text-decoration: none;
115
+ font-size: 12px;
116
+ line-height: 20px;
117
+ font-weight: bold;
118
+ color: $blue_color;
119
+ text-transform: uppercase;
120
+ transition: all 200ms linear;
121
+ &:hover {
122
+ color: $dark_color_1;
123
+ box-shadow: none;
124
+ }
125
+ &:focus,
126
+ &:active {
127
+ outline: none;
128
+ box-shadow: none;
129
+ color: $blue_color;
130
+ }
131
+ }
132
+
133
+ @mixin link_icon_before( $icon ) {
134
+ &:before {
135
+ @include button_icon( $icon );
136
+ padding: 0 5px 0 0;
137
+ color: $grey_color_4;
138
+ }
139
+ &:hover {
140
+ &:before {
141
+ color: $blue_color;
142
+ }
143
+ }
144
+ }
145
+
146
+ @mixin container() {
147
+ padding: 30px;
148
+ border: 2px solid $grey_color_2;
149
+ background: $grey_color_3;
150
+ border-radius: $border_radius_large;
151
+ }
152
+
153
+ @mixin container_heading() {
154
+ margin: -30px -30px 30px -30px;
155
+ border-radius: $border_radius_large $border_radius_large 0 0;
156
+ border-bottom: 1px solid $grey_color_2;
157
+ padding: 20px 30px;
158
+ font-weight: bold;
159
+ font-size: 16px;
160
+ line-height: 18px;
161
+ text-align: center;
162
+ background: #fff;
163
+ }
164
+
165
+ @mixin box() {
166
+ margin: 0 0 30px;
167
+ padding: 20px;
168
+ background: #fff;
169
+ box-shadow: $box_shadow_box;
170
+ border-radius: $border_radius;
171
+ }
172
+
173
+ @mixin box_heading() {
174
+ margin: -20px -20px 20px -20px;
175
+ border-radius: $border_radius_small $border_radius_small 0 0;
176
+ border-bottom: 1px solid $grey_color_2;
177
+ padding: 20px 30px;
178
+ font-weight: bold;
179
+ font-size: 16px;
180
+ line-height: 18px;
181
+ background: #fff;
182
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/assets/ui-kit/_variables.scss ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $dark_color_1: #23282d;
2
+ $dark_color_2: #495159;
3
+ $dark_color_2_h: #393f45;
4
+ $grey_color_1: #96989a;
5
+ $grey_color_2: #e5e5e5;
6
+ $grey_color_3: #f1f1f1;
7
+ $grey_color_4: #b4b7ba;
8
+ $normal_color: #495159;
9
+ $normal_color_h: #393f45;
10
+ $blue_color: #298ffc;
11
+ $blue_color_h: #206ff4;
12
+ $green_color: #48c569;
13
+ $green_color_h: #3ba956;
14
+ $red_color: #e54343;
15
+ $red_color_h: #c73434;
16
+ $orange_color: #faa730;
17
+ $orange_color_h: #ee8425;
18
+
19
+ $border_radius_extra_small: 2px;
20
+ $border_radius_small: 4px;
21
+ $border_radius_medium: 6px;
22
+ $border_radius_large: 8px;
23
+
24
+ $box_shadow: 0 5px 13px rgba(0,0,0,.18);
25
+ $box_shadow_box: 0 8px 21px rgba(0,0,0,.1);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/ui-button.php ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class for the building ui-button elements.
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <support@cherryframework.com>
8
+ * @copyright Copyright (c) 2012 - 2015, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+ if ( ! class_exists( 'UI_Button' ) ) {
19
+
20
+ /**
21
+ * Class for the building ui-text elements.
22
+ */
23
+ class UI_Button extends UI_Element implements I_UI {
24
+
25
+ /**
26
+ * Default settings
27
+ *
28
+ * @var array
29
+ */
30
+ private $defaults_settings = array(
31
+ 'type' => 'text',
32
+ 'id' => 'cherry-ui-button-id',
33
+ 'name' => 'cherry-ui-button-name',
34
+ 'value' => 'button',
35
+ 'disabled' => false,
36
+ 'form' => '',
37
+ 'formaction' => '',
38
+ 'type' => 'button',
39
+ 'style' => 'normal',
40
+ 'content' => 'Button',
41
+ 'class' => '',
42
+ 'master' => '',
43
+ );
44
+
45
+ /**
46
+ * Constructor method for the UI_Text class.
47
+ *
48
+ * @since 4.0.0
49
+ */
50
+ function __construct( $args = array() ) {
51
+ $this->defaults_settings['id'] = 'cherry-ui-button-' . uniqid();
52
+ $this->settings = wp_parse_args( $args, $this->defaults_settings );
53
+
54
+ add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_assets' ) );
55
+ }
56
+
57
+ /**
58
+ * Render html UI_Text.
59
+ *
60
+ * @since 4.0.0
61
+ */
62
+ public function render() {
63
+ $html = Cherry_Toolkit::render_view(
64
+ dirname( __FILE__ ) . '/view/button-view.php',
65
+ $this->settings
66
+ );
67
+
68
+ return $html;
69
+ }
70
+
71
+ /**
72
+ * Enqueue javascript and stylesheet UI_Text
73
+ *
74
+ * @since 4.0.0
75
+ */
76
+ public static function enqueue_assets() {
77
+
78
+ wp_enqueue_style(
79
+ 'ui-button',
80
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-button.min.css', __FILE__ ) ),
81
+ array(),
82
+ '1.0.0',
83
+ 'all'
84
+ );
85
+ }
86
+ }
87
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-button/view/button-view.php ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Ui-Button view
4
+ *
5
+ * @package Cherry_UI_Elements
6
+ * @subpackage View
7
+ * @author Cherry Team <cherryframework@gmail.com>
8
+ * @copyright Copyright (c) 2012 - 2016, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+ $attrs = Cherry_Toolkit::join(
19
+ array(
20
+ 'type' => $__data['type'],
21
+ 'id' => $__data['id'],
22
+ 'name' => $__data['name'],
23
+ 'class' => 'ui-button ui-button-' . $__data['style'] . '-style ' . $__data['master'] . $__data['class'],
24
+ 'disabled' => filter_var( $__data['disabled'], FILTER_VALIDATE_BOOLEAN ),
25
+ 'form' => $__data['form'],
26
+ 'formaction' => $__data['formaction'],
27
+ )
28
+ );
29
+ ?>
30
+
31
+ <button <?php echo $attrs; ?>><?php echo $__data['content']; ?></button>
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/min/ui-checkbox.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.hide{display:none !important}.cherry-checkbox-item{width:26px;height:26px;display:inline-block;border-radius:2px;margin-right:10px;margin-bottom:6px;cursor:pointer;position:relative;background-color:#f1f1f1;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-transition:all 0.4s cubic-bezier(0.77, 0, 0.175, 1);transition:all 0.4s cubic-bezier(0.77, 0, 0.175, 1)}.cherry-checkbox-item .marker{position:absolute;width:26px;height:26px;top:0px;left:0px;color:#fff;font-size:28px;-webkit-transition:inherit;transition:inherit;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.cherry-checkbox-item .marker:before{-webkit-transition:inherit;transition:inherit;position:relative;left:-2px}.cherry-checkbox-input[checked]+.cherry-checkbox-item{background-color:#48c569}.cherry-checkbox-input[checked]+.cherry-checkbox-item .marker{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.cherry-checkbox-label{display:inline-block;vertical-align:top;font-size:14px;line-height:26px;color:#23282d;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/min/ui-checkbox.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,t){"use strict";t.utilites.namespace("ui_elements.checkbox"),t.ui_elements.checkbox={inputClass:'.cherry-checkbox-input[type="hidden"]:not([name*="__i__"])',labelClass:".cherry-checkbox-label, .cherry-checkbox-item",wrapperClass:".widget, .postbox, .cherry-form",init:function(){e(document).on("ready.cherry-ui-elements-init",this.addEvent.bind(this)).on("cherry-ui-elements-init",this.initState.bind(this))},addEvent:function(){e("body").on("click.masterSlave",this.labelClass,this.switchState.bind(this)),this.initState()},initState:function(){for(var t,i,s=e(this.inputClass),a=s.length-1;a>=0;a--)t=e(s[a]),i=t.data(),jQuery.isEmptyObject(i)||e("."+i.slave)[t[0].checked?"removeClass":"addClass"]("hide")},switchState:function(t){var i=e(t.currentTarget).siblings(this.inputClass),s=i.data(),a=i[0].checked,n=i.closest(this.wrapperClass);i.val(a?"false":"true").attr("checked",a?!1:!0).trigger("change"),jQuery.isEmptyObject(s)||e("."+s.slave,n)[a?"addClass":"removeClass"]("hide")}},t.ui_elements.checkbox.init()}(jQuery,window.CherryJsCore);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-checkbox.js ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Checkbox
3
+ */
4
+ (function($, CherryJsCore){
5
+ 'use strict';
6
+
7
+ CherryJsCore.utilites.namespace('ui_elements.checkbox');
8
+ CherryJsCore.ui_elements.checkbox = {
9
+ inputClass: '.cherry-checkbox-input[type="hidden"]:not([name*="__i__"])',
10
+ labelClass: '.cherry-checkbox-label, .cherry-checkbox-item',
11
+ wrapperClass: '.widget, .postbox, .cherry-form',
12
+
13
+ init: function () {
14
+ $( document )
15
+ .on( 'ready.cherry-ui-elements-init', this.addEvent.bind( this ) )
16
+ .on( 'cherry-ui-elements-init', this.initState.bind( this ) );
17
+ },
18
+ addEvent: function () {
19
+ $( 'body' ).on( 'click.masterSlave', this.labelClass, this.switchState.bind( this ) );
20
+ this.initState();
21
+ },
22
+ initState: function (){
23
+ var $_input = $( this.inputClass ),
24
+ i = $_input.length - 1,
25
+ $_target,
26
+ data;
27
+
28
+ for (; i >= 0; i--) {
29
+ $_target = $( $_input[ i ] );
30
+ data = $_target.data();
31
+
32
+ if ( jQuery.isEmptyObject( data ) ) {
33
+ continue;
34
+ } else {
35
+ $( '.' + data.slave )[ ( $_target[ 0 ].checked ) ? 'removeClass' : 'addClass' ]( 'hide' );
36
+ }
37
+ }
38
+ },
39
+ switchState: function ( event ) {
40
+ var $_input = $( event.currentTarget ).siblings( this.inputClass ),
41
+ data = $_input.data(),
42
+ flag = $_input[0].checked,
43
+ wrapper = $_input.closest( this.wrapperClass );
44
+
45
+ $_input
46
+ .val( ( flag ) ? 'false' : 'true' )
47
+ .attr( 'checked', ( flag ) ? false : true )
48
+ .trigger('change');
49
+
50
+ if ( ! jQuery.isEmptyObject( data ) ) {
51
+ $( '.' + data.slave, wrapper )[ ( flag ) ? 'addClass' : 'removeClass' ]( 'hide' );
52
+ }
53
+ }
54
+ };
55
+
56
+ CherryJsCore.ui_elements.checkbox.init();
57
+ }(jQuery, window.CherryJsCore));
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-checkbox.scss ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import "ui-kit/variables";
2
+ @import "ui-kit/mixins";
3
+
4
+ .cherry-ui-container{
5
+ margin: 10px 0 20px 0;
6
+ }
7
+ label.cherry-label{
8
+ margin: 0 0 5px 0;
9
+ display: block;
10
+ }
11
+ .hide{
12
+ display: none !important;
13
+ }
14
+ .cherry-checkbox-item{
15
+ width: 26px;
16
+ height: 26px;
17
+ display: inline-block;
18
+ border-radius: $border_radius_extra_small;
19
+ margin-right: 10px;
20
+ margin-bottom: 6px;
21
+ cursor: pointer;
22
+ position: relative;
23
+ background-color: $grey_color_3;
24
+ user-select: none;
25
+ transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
26
+ .marker{
27
+ position: absolute;
28
+ width: 26px;
29
+ height: 26px;
30
+ top: 0px;
31
+ left: 0px;
32
+ color: #fff;
33
+ font-size: 28px;
34
+ transition:inherit;
35
+ transform: scale(0);
36
+ &:before{
37
+ transition:inherit;
38
+ position: relative;
39
+ left: -2px;
40
+ }
41
+ }
42
+ }
43
+ .cherry-checkbox-input[checked]{
44
+ &+.cherry-checkbox-item{
45
+ background-color: $green_color;
46
+ .marker{
47
+ transform: scale(1);
48
+ }
49
+ }
50
+ }
51
+ .cherry-checkbox-label{
52
+ display: inline-block;
53
+ vertical-align: top;
54
+ font-size: 14px;
55
+ line-height: 26px;
56
+ color: $dark_color_1;
57
+ user-select: none;
58
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-kit/_mixins.scss ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @mixin button_base() {
2
+ display: inline-block;
3
+ text-decoration: none;
4
+ font-size: 12px;
5
+ line-height: 20px;
6
+ font-weight: bold;
7
+ padding: 15px 20px;
8
+ color: #fff;
9
+ text-transform: uppercase;
10
+ border-radius: $border_radius_small;
11
+ transition: all 200ms linear;
12
+ box-shadow: $box_shadow;
13
+ &:hover {
14
+ color: #fff;
15
+ box-shadow: none;
16
+ }
17
+ &:focus,
18
+ &:active {
19
+ outline: none;
20
+ box-shadow: none;
21
+ color: #fff;
22
+ }
23
+ }
24
+
25
+ @mixin button_normal() {
26
+ background: $dark_color_2;
27
+ &:hover {
28
+ background: $dark_color_2_h;
29
+ }
30
+ }
31
+
32
+ @mixin button_primary() {
33
+ background: $blue_color;
34
+ &:hover {
35
+ background: $blue_color_h;
36
+ }
37
+ }
38
+
39
+ @mixin button_success() {
40
+ background: $green_color;
41
+ &:hover {
42
+ background: $green_color_h;
43
+ }
44
+ }
45
+
46
+ @mixin button_danger() {
47
+ background: $red_color;
48
+ &:hover {
49
+ background: $red_color_h;
50
+ }
51
+ }
52
+
53
+ @mixin button_warning() {
54
+ background: $orange_color;
55
+ &:hover {
56
+ background: $orange_color_h;
57
+ }
58
+ }
59
+
60
+ @mixin input() {
61
+ font-size: 14px;
62
+ line-height: 20px;
63
+ color: $dark_color_1;
64
+ background-color: $grey_color_3;
65
+ border-radius: $border_radius_extra_small;
66
+ padding: 10px 20px;
67
+ height: 50px;
68
+ border: 1px solid $grey_color_3;
69
+ box-shadow: none;
70
+ &:focus{
71
+ border-color: rgba(72,197,105,.6);
72
+ box-shadow: 0 0 2px rgba(72,197,105,.6);
73
+ }
74
+ }
75
+
76
+ @mixin button_icon( $icon ) {
77
+ content: $icon;
78
+ display: inline-block;
79
+ font-family: dashicons;
80
+ font-size: 16px;
81
+ font-style: normal;
82
+ font-weight: 400;
83
+ height: 18px;
84
+ line-height: 18px;
85
+ text-align: center;
86
+ text-decoration: inherit;
87
+ transition: all 200ms linear;
88
+ vertical-align: middle;
89
+ }
90
+
91
+ @mixin button_icon_before( $icon ) {
92
+ &:before {
93
+ @include button_icon( $icon );
94
+ padding: 0 5px 0 0;
95
+ }
96
+ }
97
+
98
+ @mixin button_icon_after( $icon ) {
99
+ &:after {
100
+ @include button_icon( $icon );
101
+ padding: 0 0 0 5px;
102
+ }
103
+ }
104
+
105
+ @mixin button_icon_middle( $icon ) {
106
+ &:before {
107
+ @include button_icon( $icon );
108
+ margin: 0 -5px;
109
+ }
110
+ }
111
+
112
+ @mixin link() {
113
+ display: inline-block;
114
+ text-decoration: none;
115
+ font-size: 12px;
116
+ line-height: 20px;
117
+ font-weight: bold;
118
+ color: $blue_color;
119
+ text-transform: uppercase;
120
+ transition: all 200ms linear;
121
+ &:hover {
122
+ color: $dark_color_1;
123
+ box-shadow: none;
124
+ }
125
+ &:focus,
126
+ &:active {
127
+ outline: none;
128
+ box-shadow: none;
129
+ color: $blue_color;
130
+ }
131
+ }
132
+
133
+ @mixin link_icon_before( $icon ) {
134
+ &:before {
135
+ @include button_icon( $icon );
136
+ padding: 0 5px 0 0;
137
+ color: $grey_color_4;
138
+ }
139
+ &:hover {
140
+ &:before {
141
+ color: $blue_color;
142
+ }
143
+ }
144
+ }
145
+
146
+ @mixin container() {
147
+ padding: 30px;
148
+ border: 2px solid $grey_color_2;
149
+ background: $grey_color_3;
150
+ border-radius: $border_radius_large;
151
+ }
152
+
153
+ @mixin container_heading() {
154
+ margin: -30px -30px 30px -30px;
155
+ border-radius: $border_radius_large $border_radius_large 0 0;
156
+ border-bottom: 1px solid $grey_color_2;
157
+ padding: 20px 30px;
158
+ font-weight: bold;
159
+ font-size: 16px;
160
+ line-height: 18px;
161
+ text-align: center;
162
+ background: #fff;
163
+ }
164
+
165
+ @mixin box() {
166
+ margin: 0 0 30px;
167
+ padding: 20px;
168
+ background: #fff;
169
+ box-shadow: $box_shadow_box;
170
+ border-radius: $border_radius;
171
+ }
172
+
173
+ @mixin box_heading() {
174
+ margin: -20px -20px 20px -20px;
175
+ border-radius: $border_radius_small $border_radius_small 0 0;
176
+ border-bottom: 1px solid $grey_color_2;
177
+ padding: 20px 30px;
178
+ font-weight: bold;
179
+ font-size: 16px;
180
+ line-height: 18px;
181
+ background: #fff;
182
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-kit/_variables.scss ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $dark_color_1: #23282d;
2
+ $dark_color_2: #495159;
3
+ $dark_color_2_h: #393f45;
4
+ $grey_color_1: #96989a;
5
+ $grey_color_2: #e5e5e5;
6
+ $grey_color_3: #f1f1f1;
7
+ $grey_color_4: #b4b7ba;
8
+ $blue_color: #298ffc;
9
+ $blue_color_h: #206ff4;
10
+ $green_color: #48c569;
11
+ $green_color_h: #3ba956;
12
+ $red_color: #e54343;
13
+ $red_color_h: #c73434;
14
+ $orange_color: #faa730;
15
+ $orange_color_h: #ee8425;
16
+
17
+ $border_radius_extra_small: 2px;
18
+ $border_radius_small: 4px;
19
+ $border_radius_medium: 6px;
20
+ $border_radius_large: 8px;
21
+
22
+ $box_shadow: 0 5px 13px rgba(0,0,0,.18);
23
+ $box_shadow_box: 0 8px 21px rgba(0,0,0,.1);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/ui-checkbox.php ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class for the building ui-checkbox elements.
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <support@cherryframework.com>
8
+ * @copyright Copyright (c) 2012 - 2015, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+ if ( ! class_exists( 'UI_Checkbox' ) ) {
19
+
20
+ /**
21
+ * Class for the building UI_Checkbox elements.
22
+ */
23
+ class UI_Checkbox extends UI_Element implements I_UI {
24
+ /**
25
+ * Default settings
26
+ *
27
+ * @var array
28
+ */
29
+ private $defaults_settings = array(
30
+ 'id' => 'cherry-ui-checkbox-id',
31
+ 'name' => 'cherry-ui-checkbox-name',
32
+ 'value' => array(
33
+ 'checkbox-1' => 'true',
34
+ 'checkbox-2' => 'true',
35
+ 'checkbox-3' => 'true',
36
+ ),
37
+ 'options' => array(
38
+ 'checkbox-1' => 'checkbox 1',
39
+ 'checkbox-2' => 'checkbox 2',
40
+ 'checkbox-3' => 'checkbox 3',
41
+ ),
42
+ 'label' => '',
43
+ 'class' => '',
44
+ 'master' => '',
45
+ );
46
+
47
+ /**
48
+ * Constructor method for the UI_Checkbox class.
49
+ *
50
+ * @since 4.0.0
51
+ */
52
+ function __construct( $args = array() ) {
53
+ $this->defaults_settings['id'] = 'cherry-ui-checkbox-' . uniqid();
54
+ $this->settings = wp_parse_args( $args, $this->defaults_settings );
55
+ add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_assets' ) );
56
+ }
57
+
58
+ /**
59
+ * Render html UI_Checkbox.
60
+ *
61
+ * @since 4.0.0
62
+ */
63
+ public function render() {
64
+ $html = '';
65
+ $class = $this->settings['class'];
66
+ $class .= ' ' . $this->settings['master'];
67
+
68
+ $html .= '<div class="cherry-ui-container ' . esc_attr( $class ) . '">';
69
+
70
+ $counter = 0;
71
+ if ( $this->settings['options'] && ! empty( $this->settings['options'] ) && is_array( $this->settings['options'] ) ) {
72
+ if ( ! is_array( $this->settings['value'] ) ) {
73
+ $this->settings['value'] = array( $this->settings['value'] );
74
+ }
75
+ if ( '' !== $this->settings['label'] ) {
76
+ $html .= '<label class="cherry-label" for="' . esc_attr( $this->settings['id'] ) . '">' . esc_html( $this->settings['label'] ) . '</label> ';
77
+ }
78
+
79
+ foreach ( $this->settings['options'] as $option => $option_value ) {
80
+
81
+ if ( ! empty( $this->settings['value'] ) ) {
82
+ $option_checked = array_key_exists( $option, $this->settings['value'] ) ? $option : '';
83
+ $item_value = ! empty( $option_checked ) ? $this->settings['value'][ $option ] : 'false';
84
+ } else {
85
+ $option_checked = '';
86
+ $item_value = 'false';
87
+ }
88
+
89
+ $checked = ( ! empty( $option_checked ) && 'true' === $item_value ) ? 'checked' : '';
90
+
91
+ $option_label = isset( $option_value ) && is_array( $option_value ) ? $option_value['label'] : $option_value;
92
+ $data_slave = isset( $option_value['slave'] ) && ! empty( $option_value['slave'] ) ? ' data-slave="' . $option_value['slave'] . '"' : '';
93
+
94
+ $html .= '<div class="cherry-checkbox-item-wrap">';
95
+ $html .= '<input type="hidden" id="' . esc_attr( $this->settings['id'] ) . '-' . $counter . '" class="cherry-checkbox-input" name="' . esc_attr( $this->settings['name'] ) . '[' . $option . ']" ' . $checked . ' value="' . esc_html( $item_value ) . '"' . $data_slave . '>';
96
+ $html .= '<div class="cherry-checkbox-item"><span class="marker dashicons dashicons-yes"></span></div>';
97
+ $html .= '<label class="cherry-checkbox-label" for="' . esc_attr( $this->settings['id'] ) . '-' . $counter . '">' . esc_html( $option_label ) . '</label> ';
98
+ $html .= '</div>';
99
+
100
+ $counter++;
101
+ }
102
+ }
103
+ $html .= '</div>';
104
+
105
+ return $html;
106
+ }
107
+
108
+ /**
109
+ * Enqueue javascript and stylesheet UI_Checkbox
110
+ *
111
+ * @since 4.0.0
112
+ */
113
+ public static function enqueue_assets() {
114
+ wp_enqueue_script(
115
+ 'ui-checkbox-min',
116
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-checkbox.min.js', __FILE__ ) ),
117
+ array( 'jquery' ),
118
+ '1.0.0',
119
+ true
120
+ );
121
+
122
+ wp_enqueue_style(
123
+ 'ui-checkbox-min',
124
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-checkbox.min.css', __FILE__ ) ),
125
+ array(),
126
+ '1.0.0',
127
+ 'all'
128
+ );
129
+ }
130
+ }
131
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/min/ui-colorpicker.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.wp-picker-container{display:block;background-color:#f1f1f1;border-radius:2px;display:inline-block;padding:8px;max-width:380px}.wp-picker-container a.wp-color-result{border:medium none;box-shadow:none;height:35px;margin:0;border-radius:0;padding-left:36px}.wp-picker-container a.wp-color-result:after{background-color:#f1f1f1;border:medium none;border-radius:0;line-height:36px;font-size:14px;color:#23282d;padding:0 80px 0 20px}@media screen and (max-width: 782px){.wp-picker-container a.wp-color-result{height:36px}.wp-picker-container a.wp-color-result:after{line-height:36px}}.wp-picker-container .wp-picker-holder{position:absolute;z-index:1000}.wp-picker-container .wp-picker-input-wrap input[type="text"]{padding:7px 4px}.wp-picker-container .wp-picker-input-wrap input.wp-picker-clear{height:32px}
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/min/ui-colorpicker.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,r){"use strict";r.utilites.namespace("ui_elements.colorpicker"),r.ui_elements.colorpicker={init:function(){e(document).on("ready",this.render).on("cherry-ui-elements-init",this.render)},render:function(r){var i=r._target?r._target:e("body"),n=e('input.cherry-ui-colorpicker:not([name*="__i__"])',i);n[0]&&n.wpColorPicker()}},r.ui_elements.colorpicker.init()}(jQuery,window.CherryJsCore);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-colorpicker.js ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * ColorPicker
3
+ */
4
+ ( function( $, CherryJsCore ) {
5
+ 'use strict';
6
+
7
+ CherryJsCore.utilites.namespace('ui_elements.colorpicker');
8
+ CherryJsCore.ui_elements.colorpicker = {
9
+ init: function () {
10
+ $( document )
11
+ .on( 'ready', this.render )
12
+ .on( 'cherry-ui-elements-init', this.render );
13
+ },
14
+ render: function ( event ) {
15
+ var target = ( event._target ) ? event._target : $( 'body' ),
16
+ input = $( 'input.cherry-ui-colorpicker:not([name*="__i__"])', target );
17
+
18
+ if ( input[0] ) {
19
+ input.wpColorPicker();
20
+ }
21
+ }
22
+ };
23
+
24
+ CherryJsCore.ui_elements.colorpicker.init();
25
+
26
+ }( jQuery, window.CherryJsCore ));
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-colorpicker.scss ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import "ui-kit/variables";
2
+ @import "ui-kit/mixins";
3
+
4
+ .cherry-ui-container{
5
+ margin: 10px 0 20px 0;
6
+ }
7
+ label.cherry-label{
8
+ margin: 0 0 5px 0;
9
+ display: block;
10
+ }
11
+ .wp-picker-container{
12
+ display: block;
13
+ background-color: $grey_color_3;
14
+ border-radius: $border_radius_extra_small;
15
+ display: inline-block;
16
+ padding: 8px;
17
+ max-width: 380px;
18
+ a.wp-color-result{
19
+ border: medium none;
20
+ box-shadow: none;
21
+ height: 35px;
22
+ margin: 0;
23
+ border-radius: 0;
24
+ padding-left: 36px;
25
+ &:after{
26
+ background-color: $grey_color_3;
27
+ border: medium none;
28
+ border-radius: 0;
29
+ line-height: 36px;
30
+ font-size: 14px;
31
+ color: $dark_color_1;
32
+ padding: 0 80px 0 20px;
33
+ }
34
+ @media screen and (max-width: 782px){
35
+ height: 36px;
36
+ &:after{
37
+ line-height: 36px;
38
+ }
39
+ }
40
+ }
41
+ .wp-picker-holder{
42
+ position: absolute;
43
+ z-index: 1000;
44
+ }
45
+ .wp-picker-input-wrap{
46
+ input[type="text"]{
47
+ padding: 7px 4px;
48
+ }
49
+ input.wp-picker-clear{
50
+ height: 32px;
51
+ }
52
+ }
53
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-kit/_mixins.scss ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @mixin button_base() {
2
+ display: inline-block;
3
+ text-decoration: none;
4
+ font-size: 12px;
5
+ line-height: 20px;
6
+ font-weight: bold;
7
+ padding: 15px 20px;
8
+ color: #fff;
9
+ text-transform: uppercase;
10
+ border-radius: $border_radius_small;
11
+ transition: all 200ms linear;
12
+ box-shadow: $box_shadow;
13
+ &:hover {
14
+ color: #fff;
15
+ box-shadow: none;
16
+ }
17
+ &:focus,
18
+ &:active {
19
+ outline: none;
20
+ box-shadow: none;
21
+ color: #fff;
22
+ }
23
+ }
24
+
25
+ @mixin button_normal() {
26
+ background: $dark_color_2;
27
+ &:hover {
28
+ background: $dark_color_2_h;
29
+ }
30
+ }
31
+
32
+ @mixin button_primary() {
33
+ background: $blue_color;
34
+ &:hover {
35
+ background: $blue_color_h;
36
+ }
37
+ }
38
+
39
+ @mixin button_success() {
40
+ background: $green_color;
41
+ &:hover {
42
+ background: $green_color_h;
43
+ }
44
+ }
45
+
46
+ @mixin button_danger() {
47
+ background: $red_color;
48
+ &:hover {
49
+ background: $red_color_h;
50
+ }
51
+ }
52
+
53
+ @mixin button_warning() {
54
+ background: $orange_color;
55
+ &:hover {
56
+ background: $orange_color_h;
57
+ }
58
+ }
59
+
60
+ @mixin input() {
61
+ font-size: 14px;
62
+ line-height: 20px;
63
+ color: $dark_color_1;
64
+ background-color: $grey_color_3;
65
+ border-radius: $border_radius_extra_small;
66
+ padding: 10px 20px;
67
+ height: 50px;
68
+ border: 1px solid $grey_color_3;
69
+ box-shadow: none;
70
+ &:focus{
71
+ border-color: rgba(72,197,105,.6);
72
+ box-shadow: 0 0 2px rgba(72,197,105,.6);
73
+ }
74
+ }
75
+
76
+ @mixin button_icon( $icon ) {
77
+ content: $icon;
78
+ display: inline-block;
79
+ font-family: dashicons;
80
+ font-size: 16px;
81
+ font-style: normal;
82
+ font-weight: 400;
83
+ height: 18px;
84
+ line-height: 18px;
85
+ text-align: center;
86
+ text-decoration: inherit;
87
+ transition: all 200ms linear;
88
+ vertical-align: middle;
89
+ }
90
+
91
+ @mixin button_icon_before( $icon ) {
92
+ &:before {
93
+ @include button_icon( $icon );
94
+ padding: 0 5px 0 0;
95
+ }
96
+ }
97
+
98
+ @mixin button_icon_after( $icon ) {
99
+ &:after {
100
+ @include button_icon( $icon );
101
+ padding: 0 0 0 5px;
102
+ }
103
+ }
104
+
105
+ @mixin button_icon_middle( $icon ) {
106
+ &:before {
107
+ @include button_icon( $icon );
108
+ margin: 0 -5px;
109
+ }
110
+ }
111
+
112
+ @mixin link() {
113
+ display: inline-block;
114
+ text-decoration: none;
115
+ font-size: 12px;
116
+ line-height: 20px;
117
+ font-weight: bold;
118
+ color: $blue_color;
119
+ text-transform: uppercase;
120
+ transition: all 200ms linear;
121
+ &:hover {
122
+ color: $dark_color_1;
123
+ box-shadow: none;
124
+ }
125
+ &:focus,
126
+ &:active {
127
+ outline: none;
128
+ box-shadow: none;
129
+ color: $blue_color;
130
+ }
131
+ }
132
+
133
+ @mixin link_icon_before( $icon ) {
134
+ &:before {
135
+ @include button_icon( $icon );
136
+ padding: 0 5px 0 0;
137
+ color: $grey_color_4;
138
+ }
139
+ &:hover {
140
+ &:before {
141
+ color: $blue_color;
142
+ }
143
+ }
144
+ }
145
+
146
+ @mixin container() {
147
+ padding: 30px;
148
+ border: 2px solid $grey_color_2;
149
+ background: $grey_color_3;
150
+ border-radius: $border_radius_large;
151
+ }
152
+
153
+ @mixin container_heading() {
154
+ margin: -30px -30px 30px -30px;
155
+ border-radius: $border_radius_large $border_radius_large 0 0;
156
+ border-bottom: 1px solid $grey_color_2;
157
+ padding: 20px 30px;
158
+ font-weight: bold;
159
+ font-size: 16px;
160
+ line-height: 18px;
161
+ text-align: center;
162
+ background: #fff;
163
+ }
164
+
165
+ @mixin box() {
166
+ margin: 0 0 30px;
167
+ padding: 20px;
168
+ background: #fff;
169
+ box-shadow: $box_shadow_box;
170
+ border-radius: $border_radius;
171
+ }
172
+
173
+ @mixin box_heading() {
174
+ margin: -20px -20px 20px -20px;
175
+ border-radius: $border_radius_small $border_radius_small 0 0;
176
+ border-bottom: 1px solid $grey_color_2;
177
+ padding: 20px 30px;
178
+ font-weight: bold;
179
+ font-size: 16px;
180
+ line-height: 18px;
181
+ background: #fff;
182
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/assets/ui-kit/_variables.scss ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $dark_color_1: #23282d;
2
+ $dark_color_2: #495159;
3
+ $dark_color_2_h: #393f45;
4
+ $grey_color_1: #96989a;
5
+ $grey_color_2: #e5e5e5;
6
+ $grey_color_3: #f1f1f1;
7
+ $grey_color_4: #b4b7ba;
8
+ $blue_color: #298ffc;
9
+ $blue_color_h: #206ff4;
10
+ $green_color: #48c569;
11
+ $green_color_h: #3ba956;
12
+ $red_color: #e54343;
13
+ $red_color_h: #c73434;
14
+ $orange_color: #faa730;
15
+ $orange_color_h: #ee8425;
16
+
17
+ $border_radius_extra_small: 2px;
18
+ $border_radius_small: 4px;
19
+ $border_radius_medium: 6px;
20
+ $border_radius_large: 8px;
21
+
22
+ $box_shadow: 0 5px 13px rgba(0,0,0,.18);
23
+ $box_shadow_box: 0 8px 21px rgba(0,0,0,.1);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-colorpicker/ui-colorpicker.php ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class for the building ui-colorpicker elements.
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <support@cherryframework.com>
8
+ * @copyright Copyright (c) 2012 - 2015, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+ if ( ! class_exists( 'UI_Colorpicker' ) ) {
19
+
20
+ /**
21
+ * Class for the building UI_Colorpicker elements.
22
+ */
23
+ class UI_Colorpicker extends UI_Element implements I_UI {
24
+
25
+ /**
26
+ * Default settings
27
+ *
28
+ * @var array
29
+ */
30
+ private $defaults_settings = array(
31
+ 'id' => 'cherry-ui-colorpicker-id',
32
+ 'name' => 'cherry-ui-colorpicker-name',
33
+ 'value' => '',
34
+ 'label' => '',
35
+ 'class' => '',
36
+ 'master' => '',
37
+ );
38
+
39
+ /**
40
+ * Constructor method for the UI_Colorpicker class.
41
+ *
42
+ * @since 4.0.0
43
+ */
44
+ function __construct( $args = array() ) {
45
+
46
+ $this->defaults_settings['id'] = 'cherry-ui-colorpicker-' . uniqid();
47
+ $this->settings = wp_parse_args( $args, $this->defaults_settings );
48
+
49
+ add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_assets' ) );
50
+ }
51
+
52
+ /**
53
+ * Render html UI_Colorpicker.
54
+ *
55
+ * @since 4.0.0
56
+ */
57
+ public function render() {
58
+ $html = '';
59
+ $class = $this->settings['class'];
60
+ $class .= ' ' . $this->settings['master'];
61
+
62
+ $html .= '<div class="cherry-ui-container ' . esc_attr( $class ) . '">';
63
+ if ( '' !== $this->settings['label'] ) {
64
+ $html .= '<label class="cherry-label" for="' . esc_attr( $this->settings['id'] ) . '">' . esc_html( $this->settings['label'] ) . '</label> ';
65
+ }
66
+ $html .= '<div class="cherry-ui-colorpicker-wrapper">';
67
+ $html .= '<input type="text" id="' . esc_attr( $this->settings['id'] ) . '" class="cherry-ui-colorpicker" name="' . esc_attr( $this->settings['name'] ) . '" value="' . esc_html( $this->settings['value'] ) . '"/>';
68
+ $html .= '</div>';
69
+ $html .= '</div>';
70
+
71
+ return $html;
72
+ }
73
+
74
+ /**
75
+ * Enqueue javascript and stylesheet UI_Colorpicker
76
+ *
77
+ * @since 4.0.0
78
+ */
79
+ public static function enqueue_assets() {
80
+
81
+ wp_enqueue_script(
82
+ 'ui-colorpicker-min',
83
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-colorpicker.min.js', __FILE__ ) ),
84
+ array( 'jquery', 'wp-color-picker' ),
85
+ '1.0.0',
86
+ true
87
+ );
88
+
89
+ wp_enqueue_style(
90
+ 'ui-colorpicker-min',
91
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-colorpicker.min.css', __FILE__ ) ),
92
+ array( 'wp-color-picker' ),
93
+ '1.0.0',
94
+ 'all'
95
+ );
96
+ }
97
+ }
98
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/jquery-iconpicker.js ADDED
@@ -0,0 +1,1445 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Font Awesome Icon Picker
3
+ * http://mjolnic.github.io/fontawesome-iconpicker/
4
+ *
5
+ * Originally written by (c) 2014 Javier Aguilar @mjolnic
6
+ * Licensed under the MIT License
7
+ * https://github.com/mjolnic/fontawesome-iconpicker/blob/master/LICENSE
8
+ *
9
+ */
10
+
11
+ (function(factory) {
12
+ "use strict";
13
+ if (typeof define === 'function' && define.amd) {
14
+ define(['jquery'], factory);
15
+ } else if (window.jQuery && !window.jQuery.fn.iconpicker) {
16
+ factory(window.jQuery);
17
+ }
18
+ }
19
+ (function($) {
20
+ 'use strict';
21
+
22
+ var _helpers = {
23
+ isEmpty: function(val) {
24
+ return ((val === false) || (val === '') || (val === null) || (val === undefined));
25
+ },
26
+ isEmptyObject: function(val) {
27
+ return (this.isEmpty(val) === true) || (val.length === 0);
28
+ },
29
+ isElement: function(selector) {
30
+ return ($(selector).length > 0);
31
+ },
32
+ isString: function(val) {
33
+ return ((typeof val === 'string') || (val instanceof String));
34
+ },
35
+ isArray: function(val) {
36
+ return $.isArray(val);
37
+ },
38
+ inArray: function(val, arr) {
39
+ return ($.inArray(val, arr) !== -1);
40
+ },
41
+ throwError: function(text) {
42
+ throw "Font Awesome Icon Picker Exception: " + text;
43
+ }
44
+ };
45
+
46
+ var Iconpicker = function(element, options) {
47
+ this._id = Iconpicker._idCounter++;
48
+ this.element = $(element).addClass('iconpicker-element');
49
+ this._trigger('iconpickerCreate');
50
+ this.options = $.extend({}, Iconpicker.defaultOptions, this.element.data(), options);
51
+ this.options.templates = $.extend({}, Iconpicker.defaultOptions.templates, this.options.templates);
52
+ this.options.originalPlacement = this.options.placement;
53
+
54
+ // Iconpicker container element
55
+ this.container = (_helpers.isElement(this.options.container) ? $(this.options.container) : false);
56
+ if (this.container === false) {
57
+ if (this.element.is('.dropdown-toggle')) {
58
+ this.container = $('~ .dropdown-menu:first', this.element);
59
+ } else {
60
+ this.container = (this.element.is('input,textarea,button,.btn') ? this.element.parent() : this.element);
61
+ }
62
+ }
63
+ this.container.addClass('iconpicker-container');
64
+
65
+ if (this.isDropdownMenu()) {
66
+ // if you try to click the dropdown, it is closed, because of that
67
+ // we'll hide some picker controls
68
+ this.options.templates.search = false;
69
+ this.options.templates.buttons = false;
70
+ this.options.placement = 'inline';
71
+ }
72
+
73
+ // Is the element an input? Should we search inside for any input?
74
+ this.input = (this.element.is('input,textarea') ? this.element.addClass('iconpicker-input') : false);
75
+ if (this.input === false) {
76
+ this.input = (this.container.find(this.options.input));
77
+ if (!this.input.is('input,textarea')) {
78
+ this.input = false;
79
+ }
80
+ }
81
+
82
+ // Plugin as component ?
83
+ this.component = this.isDropdownMenu() ? this.container.parent().find(this.options.component) : this.container.find(this.options.component);
84
+ if (this.component.length === 0) {
85
+ this.component = false;
86
+ } else {
87
+ this.component.find('i').addClass('iconpicker-component');
88
+ }
89
+
90
+ // Create popover and iconpicker HTML
91
+ this._createPopover();
92
+ this._createIconpicker();
93
+
94
+ if (this.getAcceptButton().length === 0) {
95
+ // disable this because we don't have accept buttons
96
+ this.options.mustAccept = false;
97
+ }
98
+
99
+ // Avoid CSS issues with input-group-addon(s)
100
+ if (this.isInputGroup()) {
101
+ this.container.parent().append(this.popover);
102
+ } else {
103
+ this.container.append(this.popover);
104
+ }
105
+
106
+ // Bind events
107
+ this._bindElementEvents();
108
+ this._bindWindowEvents();
109
+
110
+ // Refresh everything
111
+ this.update(this.options.selected);
112
+
113
+ if (this.isInline()) {
114
+ this.show();
115
+ }
116
+
117
+ this._trigger('iconpickerCreated');
118
+ };
119
+
120
+ // Instance identifier counter
121
+ Iconpicker._idCounter = 0;
122
+
123
+ Iconpicker.defaultOptions = {
124
+ title: false, // Popover title (optional) only if specified in the template
125
+ selected: false, // use this value as the current item and ignore the original
126
+ defaultValue: false, // use this value as the current item if input or element value is empty
127
+ placement: 'bottom', // (has some issues with auto and CSS). auto, top, bottom, left, right
128
+ collision: 'none', // If true, the popover will be repositioned to another position when collapses with the window borders
129
+ animation: true, // fade in/out on show/hide ?
130
+ //hide iconpicker automatically when a value is picked. it is ignored if mustAccept is not false and the accept button is visible
131
+ hideOnSelect: false,
132
+ showFooter: false,
133
+ searchInFooter: false, // If true, the search will be added to the footer instead of the title
134
+ mustAccept: false, // only applicable when there's an iconpicker-btn-accept button in the popover footer
135
+ selectedCustomClass: 'bg-primary', // Appends this class when to the selected item
136
+ icons: [], // list of icon classes (declared at the bottom of this script for maintainability)
137
+ iconBaseClass: 'fa',
138
+ iconClassPrefix: 'fa-',
139
+ fullClassFormatter: function(val) {
140
+ return 'fa ' + val;
141
+ },
142
+ input: 'input,.iconpicker-input', // children input selector
143
+ inputSearch: false, // use the input as a search box too?
144
+ container: false, // Appends the popover to a specific element. If not set, the selected element or element parent is used
145
+ component: '.input-group-addon,.iconpicker-component', // children component jQuery selector or object, relative to the container element
146
+ // Plugin templates:
147
+ templates: {
148
+ popover: '<div class="iconpicker-popover popover"><div class="arrow"></div>' +
149
+ '<div class="popover-title"></div><div class="popover-content"></div></div>',
150
+ footer: '<div class="popover-footer"></div>',
151
+ buttons: '<button class="iconpicker-btn iconpicker-btn-cancel btn btn-default btn-sm">Cancel</button>' +
152
+ ' <button class="iconpicker-btn iconpicker-btn-accept btn btn-primary btn-sm">Accept</button>',
153
+ search: '<input type="search" class="form-control iconpicker-search" placeholder="Type to filter" />',
154
+ iconpicker: '<div class="iconpicker"><div class="iconpicker-items"></div></div>',
155
+ iconpickerItem: '<a role="button" href="#" class="iconpicker-item"><i></i></a>',
156
+ }
157
+ };
158
+
159
+ Iconpicker.batch = function(selector, method) {
160
+ var args = Array.prototype.slice.call(arguments, 2);
161
+ return $(selector).each(function() {
162
+ var $inst = $(this).data('iconpicker');
163
+ if (!!$inst) {
164
+ $inst[method].apply($inst, args);
165
+ }
166
+ });
167
+ };
168
+
169
+ Iconpicker.prototype = {
170
+ constructor: Iconpicker,
171
+ options: {},
172
+ _id: 0, // instance identifier for bind/unbind events
173
+ _trigger: function(name, opts) {
174
+ //triggers an event bound to the element
175
+ opts = opts || {};
176
+ this.element.trigger($.extend({
177
+ type: name,
178
+ iconpickerInstance: this
179
+ }, opts));
180
+ //console.log(name + ' triggered for instance #' + this._id);
181
+ },
182
+ _createPopover: function() {
183
+ this.popover = $(this.options.templates.popover);
184
+
185
+ // title (header)
186
+ var _title = this.popover.find('.popover-title');
187
+ if (!!this.options.title) {
188
+ _title.append($('<div class="popover-title-text">' + this.options.title + '</div>'));
189
+ }
190
+ if (this.hasSeparatedSearchInput() && !this.options.searchInFooter) {
191
+ _title.append(this.options.templates.search);
192
+ } else if (!this.options.title) {
193
+ _title.remove();
194
+ }
195
+
196
+ // footer
197
+ if (this.options.showFooter && !_helpers.isEmpty(this.options.templates.footer)) {
198
+ var _footer = $(this.options.templates.footer);
199
+ if (this.hasSeparatedSearchInput() && this.options.searchInFooter) {
200
+ _footer.append($(this.options.templates.search));
201
+ }
202
+ if (!_helpers.isEmpty(this.options.templates.buttons)) {
203
+ _footer.append($(this.options.templates.buttons));
204
+ }
205
+ this.popover.append(_footer);
206
+ }
207
+
208
+ if (this.options.animation === true) {
209
+ this.popover.addClass('fade');
210
+ }
211
+
212
+ return this.popover;
213
+ },
214
+ _createIconpicker: function() {
215
+ var _self = this;
216
+ this.iconpicker = $(this.options.templates.iconpicker);
217
+
218
+ var itemClickFn = function(e) {
219
+ var $this = $(this);
220
+
221
+ if ($this.is('i')) {
222
+ $this = $this.parent();
223
+ }
224
+
225
+ _self._trigger('iconpickerSelect', {
226
+ iconpickerItem: $this,
227
+ iconpickerValue: _self.iconpickerValue
228
+ });
229
+
230
+ if (_self.options.mustAccept === false) {
231
+ _self.update($this.data('iconpickerValue'));
232
+ _self._trigger('iconpickerSelected', {
233
+ iconpickerItem: this,
234
+ iconpickerValue: _self.iconpickerValue
235
+ });
236
+ } else {
237
+ _self.update($this.data('iconpickerValue'), true);
238
+ }
239
+
240
+ if (_self.options.hideOnSelect && (_self.options.mustAccept === false)) {
241
+ // only hide when the accept button is not present
242
+ _self.hide();
243
+ }
244
+ e.preventDefault();
245
+ return false;
246
+ };
247
+
248
+ for (var i in this.options.icons) {
249
+ var itemElement = $(this.options.templates.iconpickerItem);
250
+ itemElement.find('i')
251
+ .addClass( this.options.iconBaseClass + ' ' + this.options.iconClassPrefix + this.options.icons[i]);
252
+ itemElement.data('iconpickerValue', this.options.icons[i])
253
+ .on('click.iconpicker', itemClickFn);
254
+ this.iconpicker.find('.iconpicker-items').append(itemElement
255
+ .attr('title', '.' + this.options.iconClassPrefix + this.options.icons[i]));
256
+ }
257
+
258
+ this.popover.find('.popover-content').append(this.iconpicker);
259
+
260
+ this.component.append( '<i class="' + this.options.iconBaseClass + ' ' + this.input.val() + '"></i>' );
261
+
262
+ return this.iconpicker;
263
+ },
264
+ _isEventInsideIconpicker: function(e) {
265
+ var _t = $(e.target);
266
+
267
+ if ((!_t.hasClass('iconpicker-element')  ||
268
+ (_t.hasClass('iconpicker-element') && !_t.is(this.element))) &&
269
+ (_t.parents('.iconpicker-popover').length === 0)) {
270
+ return false;
271
+ }
272
+ return true;
273
+ },
274
+ _bindElementEvents: function() {
275
+ var _self = this;
276
+
277
+ this.getSearchInput().on('keyup.iconpicker', function() {
278
+ _self.filter($(this).val().toLowerCase());
279
+ });
280
+
281
+ this.getAcceptButton().on('click.iconpicker', function() {
282
+ var _picked = _self.iconpicker.find('.iconpicker-selected').get(0);
283
+
284
+ _self.update(_self.iconpickerValue);
285
+
286
+ _self._trigger('iconpickerSelected', {
287
+ iconpickerItem: _picked,
288
+ iconpickerValue: _self.iconpickerValue
289
+ });
290
+ if (!_self.isInline()) {
291
+ _self.hide();
292
+ }
293
+ });
294
+ this.getCancelButton().on('click.iconpicker', function() {
295
+ if (!_self.isInline()) {
296
+ _self.hide();
297
+ }
298
+ });
299
+
300
+ this.element.on('focus.iconpicker', function(e) {
301
+ _self.show();
302
+ e.stopPropagation();
303
+ });
304
+
305
+ if (this.hasComponent()) {
306
+ this.component.on('click.iconpicker', function() {
307
+ _self.toggle();
308
+ });
309
+ }
310
+
311
+ if (this.hasInput()) {
312
+ // Bind input keyup event
313
+ this.input.on('keyup.iconpicker', function(e) {
314
+ if (!_helpers.inArray(e.keyCode, [38, 40, 37, 39, 16, 17, 18, 9, 8, 91, 93, 20, 46, 186, 190, 46, 78, 188, 44, 86])) {
315
+ _self.update();
316
+ } else {
317
+ _self._updateFormGroupStatus(_self.getValid(this.value) !== false);
318
+ }
319
+ if (_self.options.inputSearch === true) {
320
+ _self.filter($(this).val().toLowerCase());
321
+ }
322
+ //_self.hide();
323
+ });
324
+ }
325
+
326
+ },
327
+ _bindWindowEvents: function() {
328
+ var $doc = $(window.document);
329
+ var _self = this;
330
+
331
+ // Add a namespace to the document events so they can be identified
332
+ // later for every instance separately
333
+ var _eventNs = '.iconpicker.inst' + this._id;
334
+
335
+ $(window).on('resize.iconpicker' + _eventNs + ' orientationchange.iconpicker' + _eventNs, function(e) {
336
+ // reposition popover
337
+ if (_self.popover.hasClass('in')) {
338
+ _self.updatePlacement();
339
+ }
340
+ });
341
+
342
+
343
+ if (!_self.isInline()) {
344
+ $doc.on('mouseup' + _eventNs, function(e) {
345
+ if ( !_self._isEventInsideIconpicker(e) && !_self.isInline()) {
346
+ _self.hide();
347
+ }
348
+ });
349
+ }
350
+
351
+ return false;
352
+ },
353
+ _unbindElementEvents: function() {
354
+ this.popover.off('.iconpicker');
355
+ this.element.off('.iconpicker');
356
+
357
+ if (this.hasInput()) {
358
+ this.input.off('.iconpicker');
359
+ }
360
+
361
+ if (this.hasComponent()) {
362
+ this.component.off('.iconpicker');
363
+ }
364
+
365
+ if (this.hasContainer()) {
366
+ this.container.off('.iconpicker');
367
+ }
368
+ },
369
+ _unbindWindowEvents: function() {
370
+ // destroy window and window.document bound events
371
+ $(window).off('.iconpicker.inst' + this._id);
372
+ $(window.document).off('.iconpicker.inst' + this._id);
373
+ },
374
+ updatePlacement: function(placement, collision) {
375
+ placement = placement || this.options.placement;
376
+ this.options.placement = placement; // set new placement
377
+ collision = collision || this.options.collision;
378
+ collision = (collision === true ? 'flip' : collision);
379
+
380
+ var _pos = {
381
+ // at: Defines which position (or side) on container element to align the
382
+ // popover element against: "horizontal vertical" alignment.
383
+ at: "right bottom",
384
+ // my: Defines which position (or side) on the popover being positioned to align
385
+ // with the container element: "horizontal vertical" alignment
386
+ my: "right top",
387
+ // of: Which element to position against.
388
+ of: (this.hasInput() && !this.isInputGroup()) ? this.input : this.container,
389
+ // collision: When the positioned element overflows the window (or within element)
390
+ // in some direction, move it to an alternative position.
391
+ collision: (collision === true ? 'flip' : collision),
392
+ // within: Element to position within, affecting collision detection.
393
+ within: window
394
+ };
395
+
396
+ // remove previous classes
397
+ this.popover.removeClass('inline topLeftCorner topLeft top topRight topRightCorner ' +
398
+ 'rightTop right rightBottom bottomRight bottomRightCorner ' +
399
+ 'bottom bottomLeft bottomLeftCorner leftBottom left leftTop');
400
+
401
+ if (typeof placement === 'object') {
402
+ // custom position ?
403
+ return this.popover.pos($.extend({}, _pos, placement));
404
+ }
405
+
406
+ switch (placement) {
407
+ case 'inline':
408
+ {
409
+ _pos = false;
410
+ }
411
+ break;
412
+ case 'topLeftCorner':
413
+ {
414
+ _pos.my = 'right bottom';
415
+ _pos.at = 'left top';
416
+ }
417
+ break;
418
+
419
+ case 'topLeft':
420
+ {
421
+ _pos.my = 'left bottom';
422
+ _pos.at = 'left top';
423
+ }
424
+ break;
425
+
426
+ case 'top':
427
+ {
428
+ _pos.my = 'center bottom';
429
+ _pos.at = 'center top';
430
+ }
431
+ break;
432
+
433
+ case 'topRight':
434
+ {
435
+ _pos.my = 'right bottom';
436
+ _pos.at = 'right top';
437
+ }
438
+ break;
439
+
440
+ case 'topRightCorner':
441
+ {
442
+ _pos.my = 'left bottom';
443
+ _pos.at = 'right top';
444
+ }
445
+ break;
446
+
447
+ case 'rightTop':
448
+ {
449
+ _pos.my = 'left bottom';
450
+ _pos.at = 'right center';
451
+ }
452
+ break;
453
+
454
+ case 'right':
455
+ {
456
+ _pos.my = 'left center';
457
+ _pos.at = 'right center';
458
+ }
459
+ break;
460
+
461
+ case 'rightBottom':
462
+ {
463
+ _pos.my = 'left top';
464
+ _pos.at = 'right center';
465
+ }
466
+ break;
467
+
468
+ case 'bottomRightCorner':
469
+ {
470
+ _pos.my = 'left top';
471
+ _pos.at = 'right bottom';
472
+ }
473
+ break;
474
+
475
+ case 'bottomRight':
476
+ {
477
+ _pos.my = 'right top';
478
+ _pos.at = 'right bottom';
479
+ }
480
+ break;
481
+ case 'bottom':
482
+ {
483
+ _pos.my = 'center top';
484
+ _pos.at = 'center bottom';
485
+ }
486
+ break;
487
+
488
+ case 'bottomLeft':
489
+ {
490
+ _pos.my = 'left top';
491
+ _pos.at = 'left bottom';
492
+ }
493
+ break;
494
+
495
+ case 'bottomLeftCorner':
496
+ {
497
+ _pos.my = 'right top';
498
+ _pos.at = 'left bottom';
499
+ }
500
+ break;
501
+
502
+ case 'leftBottom':
503
+ {
504
+ _pos.my = 'right top';
505
+ _pos.at = 'left center';
506
+ }
507
+ break;
508
+
509
+ case 'left':
510
+ {
511
+ _pos.my = 'right center';
512
+ _pos.at = 'left center';
513
+ }
514
+ break;
515
+
516
+ case 'leftTop':
517
+ {
518
+ _pos.my = 'right bottom';
519
+ _pos.at = 'left center';
520
+ }
521
+ break;
522
+
523
+ default:
524
+ {
525
+ return false;
526
+ }
527
+ break;
528
+
529
+ }
530
+
531
+ this.popover.css({
532
+ 'display': (this.options.placement === 'inline') ? '' : 'block'
533
+ });
534
+
535
+ if (_pos !== false) {
536
+ this.popover.pos(_pos).css('maxWidth', $(window).width() - this.container.offset().left - 5);
537
+ } else {
538
+ //reset position
539
+ this.popover.css({
540
+ 'top': 'auto',
541
+ 'right': 'auto',
542
+ 'bottom': 'auto',
543
+ 'left': 'auto',
544
+ 'maxWidth': 'none'
545
+ });
546
+ }
547
+ this.popover.addClass(this.options.placement);
548
+
549
+ return true;
550
+ },
551
+ _updateComponents: function() {
552
+ // Update selected item
553
+ this.iconpicker.find('.iconpicker-item.iconpicker-selected')
554
+ .removeClass('iconpicker-selected ' + this.options.selectedCustomClass);
555
+
556
+ if (this.iconpickerValue) {
557
+ this.iconpicker.find('.' + this.options.fullClassFormatter(this.iconpickerValue).replace(/ /g, '.')).parent()
558
+ .addClass('iconpicker-selected ' + this.options.selectedCustomClass);
559
+ }
560
+
561
+ // Update component item
562
+ if (this.hasComponent()) {
563
+ var icn = this.component.find('i');
564
+ if (icn.length > 0) {
565
+ icn.attr('class', this.options.fullClassFormatter(this.iconpickerValue));
566
+ } else {
567
+ this.component.html(this.getHtml());
568
+ }
569
+ }
570
+
571
+ },
572
+ _updateFormGroupStatus: function(isValid) {
573
+ if (this.hasInput()) {
574
+ if (isValid !== false) {
575
+ // Remove form-group error class if any
576
+ this.input.parents('.form-group:first').removeClass('has-error');
577
+ } else {
578
+ this.input.parents('.form-group:first').addClass('has-error');
579
+ }
580
+ return true;
581
+ }
582
+ return false;
583
+ },
584
+ getValid: function(val) {
585
+ // here we must validate the value (you may change this validation
586
+ // to suit your needs
587
+ if (!_helpers.isString(val)) {
588
+ val = '';
589
+ }
590
+
591
+ var isEmpty = (val === '');
592
+
593
+ // trim string
594
+ val = $.trim(val);
595
+
596
+ if (_helpers.inArray(val, this.options.icons) || isEmpty) {
597
+ return val;
598
+ }
599
+ return false;
600
+ },
601
+ /**
602
+ * Sets the internal item value and updates everything, excepting the input or element.
603
+ * For doing so, call setSourceValue() or update() instead
604
+ */
605
+ setValue: function(val) {
606
+ // sanitize first
607
+ var _val = this.getValid(val);
608
+ if (_val !== false) {
609
+ this.iconpickerValue = _val;
610
+ this._trigger('iconpickerSetValue', {
611
+ iconpickerValue: _val
612
+ });
613
+ return this.iconpickerValue;
614
+ } else {
615
+ this._trigger('iconpickerInvalid', {
616
+ iconpickerValue: val
617
+ });
618
+ return false;
619
+ }
620
+ },
621
+ getHtml: function() {
622
+ return '<i class="' + this.options.fullClassFormatter(this.iconpickerValue) + '"></i>';
623
+ },
624
+ /**
625
+ * Calls setValue and if it's a valid item value, sets the input or element value
626
+ */
627
+ setSourceValue: function(val) {
628
+ val = this.setValue(val);
629
+
630
+ if ((val !== false) && (val !== '')) {
631
+ if (this.hasInput()) {
632
+ this.input.val( this.options.iconClassPrefix + this.iconpickerValue );
633
+ } else {
634
+ this.element.data('iconpickerValue', this.iconpickerValue);
635
+ }
636
+ this._trigger('iconpickerSetSourceValue', {
637
+ iconpickerValue: val
638
+ });
639
+ }
640
+ return val;
641
+ },
642
+ /**
643
+ * Returns the input or element item value, without formatting, or defaultValue
644
+ * if it's empty string, undefined, false or null
645
+ * @param {type} defaultValue
646
+ * @returns string|mixed
647
+ */
648
+ getSourceValue: function(defaultValue) {
649
+ // returns the input or element value, as string
650
+ defaultValue = defaultValue || this.options.defaultValue;
651
+ var val = defaultValue;
652
+
653
+ if (this.hasInput()) {
654
+ val = this.input.val();
655
+ } else {
656
+ val = this.element.data('iconpickerValue');
657
+ }
658
+ if ((val === undefined) || (val === '') || (val === null) || (val === false)) {
659
+ // if not defined or empty, return default
660
+ val = defaultValue;
661
+ }
662
+ return val;
663
+ },
664
+ hasInput: function() {
665
+ return (this.input !== false);
666
+ },
667
+ isInputSearch: function() {
668
+ return (this.hasInput() && (this.options.inputSearch === true));
669
+ },
670
+ isInputGroup: function() {
671
+ return this.container.is('.input-group');
672
+ },
673
+ isDropdownMenu: function() {
674
+ return this.container.is('.dropdown-menu');
675
+ },
676
+ hasSeparatedSearchInput: function() {
677
+ return (this.options.templates.search !== false) && (!this.isInputSearch());
678
+ },
679
+ hasComponent: function() {
680
+ return (this.component !== false);
681
+ },
682
+ hasContainer: function() {
683
+ return (this.container !== false);
684
+ },
685
+ getAcceptButton: function() {
686
+ return this.popover.find('.iconpicker-btn-accept');
687
+ },
688
+ getCancelButton: function() {
689
+ return this.popover.find('.iconpicker-btn-cancel');
690
+ },
691
+ getSearchInput: function() {
692
+ return this.popover.find('.iconpicker-search');
693
+ },
694
+ filter: function(filterText) {
695
+ if (_helpers.isEmpty(filterText)) {
696
+ this.iconpicker.find('.iconpicker-item').show();
697
+ return $(false);
698
+ } else {
699
+ var found = [];
700
+ this.iconpicker.find('.iconpicker-item').each(function() {
701
+ var $this = $(this);
702
+ var text = $this.attr('title').toLowerCase();
703
+ var regex = false;
704
+ try {
705
+ regex = new RegExp(filterText, 'g');
706
+ } catch (e) {
707
+ regex = false;
708
+ }
709
+ if ((regex !== false) && text.match(regex)) {
710
+ found.push($this);
711
+ $this.show();
712
+ } else {
713
+ $this.hide();
714
+ }
715
+ });
716
+ return found;
717
+ }
718
+ },
719
+ show: function() {
720
+ if (this.popover.hasClass('in')) {
721
+ return false;
722
+ }
723
+ // hide other non-inline pickers
724
+ $.iconpicker.batch($('.iconpicker-popover.in:not(.inline)').not(this.popover), 'hide');
725
+
726
+ this._trigger('iconpickerShow');
727
+ this.updatePlacement();
728
+ this.popover.addClass('in');
729
+ setTimeout($.proxy(function() {
730
+ this.popover.css('display', this.isInline() ? '' : 'block');
731
+ this._trigger('iconpickerShown');
732
+ }, this), this.options.animation ? 300 : 1); // animation duration
733
+ },
734
+ hide: function() {
735
+ if (!this.popover.hasClass('in')) {
736
+ return false;
737
+ }
738
+ this._trigger('iconpickerHide');
739
+ this.popover.removeClass('in');
740
+ setTimeout($.proxy(function() {
741
+ this.popover.css('display', 'none');
742
+ this.getSearchInput().val('');
743
+ this.filter(''); // clear filter
744
+ this._trigger('iconpickerHidden');
745
+ }, this), this.options.animation ? 300 : 1);
746
+ },
747
+ toggle: function() {
748
+ if (this.popover.is(":visible")) {
749
+ this.hide();
750
+ } else {
751
+ this.show(true);
752
+ }
753
+ },
754
+ update: function(val, updateOnlyInternal) {
755
+ val = (val ? val :  this.getSourceValue(this.iconpickerValue));
756
+ // reads the input or element value again and tries to update the plugin
757
+ // fallback to the current selected item value
758
+ this._trigger('iconpickerUpdate');
759
+
760
+ if (updateOnlyInternal === true) {
761
+ val = this.setValue(val);
762
+ } else {
763
+ val = this.setSourceValue(val);
764
+ this._updateFormGroupStatus(val !== false);
765
+ }
766
+
767
+ if (val !== false) {
768
+ this._updateComponents();
769
+ }
770
+
771
+ this._trigger('iconpickerUpdated');
772
+ return val;
773
+ },
774
+ destroy: function() {
775
+ this._trigger('iconpickerDestroy');
776
+
777
+ // unbinds events and resets everything to the initial state,
778
+ // including component mode
779
+ this.element.removeData('iconpicker').removeData('iconpickerValue').removeClass('iconpicker-element');
780
+
781
+ this._unbindElementEvents();
782
+ this._unbindWindowEvents();
783
+
784
+ $(this.popover).remove();
785
+
786
+ this._trigger('iconpickerDestroyed');
787
+ },
788
+ disable: function() {
789
+ if (this.hasInput()) {
790
+ this.input.prop('disabled', true);
791
+ return true;
792
+ }
793
+ return false;
794
+ },
795
+ enable: function() {
796
+ if (this.hasInput()) {
797
+ this.input.prop('disabled', false);
798
+ return true;
799
+ }
800
+ return false;
801
+ },
802
+ isDisabled: function() {
803
+ if (this.hasInput()) {
804
+ return (this.input.prop('disabled') === true);
805
+ }
806
+ return false;
807
+ },
808
+ isInline: function() {
809
+ return (this.options.placement === 'inline') || (this.popover.hasClass('inline'));
810
+ }
811
+ };
812
+
813
+ $.iconpicker = Iconpicker;
814
+
815
+ // jQuery plugin
816
+ $.fn.iconpicker = function(options) {
817
+ return this.each(function() {
818
+ var $this = $(this);
819
+ if (!$this.data('iconpicker')) {
820
+ // create plugin instance (only if not exists) and expose the entire instance API
821
+ $this.data('iconpicker', new Iconpicker(this, ((typeof options === 'object') ? options : {})));
822
+ }
823
+ });
824
+ };
825
+
826
+ // List of all Font Awesome icons without class prefix
827
+ Iconpicker.defaultOptions.icons = [
828
+ 'fa-500px','fa-adjust','fa-adn','fa-align-center','fa-align-justify','fa-align-left','fa-align-right','fa-amazon',
829
+ 'fa-ambulance','fa-anchor','fa-android','fa-angellist','fa-angle-double-down','fa-angle-double-left','fa-angle-double-right',
830
+ 'fa-angle-double-up','fa-angle-down','fa-angle-left','fa-angle-right','fa-angle-up','fa-apple','fa-archive','fa-area-chart',
831
+ 'fa-arrow-circle-down','fa-arrow-circle-left','fa-arrow-circle-o-down','fa-arrow-circle-o-left','fa-arrow-circle-o-right',
832
+ 'fa-arrow-circle-o-up','fa-arrow-circle-right','fa-arrow-circle-up','fa-arrow-down','fa-arrow-left','fa-arrow-right',
833
+ 'fa-arrow-up','fa-arrows','fa-arrows-alt','fa-arrows-h','fa-arrows-v','fa-asterisk','fa-at','fa-automobile','fa-backward',
834
+ 'fa-balance-scale','fa-ban','fa-bank','fa-bar-chart','fa-bar-chart-o','fa-barcode','fa-bars','fa-battery-0','fa-battery-1',
835
+ 'fa-battery-2','fa-battery-3','fa-battery-4','fa-battery-empty','fa-battery-full','fa-battery-half','fa-battery-quarter',
836
+ 'fa-battery-three-quarters','fa-bed','fa-beer','fa-behance','fa-behance-square','fa-bell','fa-bell-o','fa-bell-slash',
837
+ 'fa-bell-slash-o','fa-bicycle','fa-binoculars','fa-birthday-cake','fa-bitbucket','fa-bitbucket-square','fa-bitcoin',
838
+ 'fa-black-tie','fa-bold','fa-bolt','fa-bomb','fa-book','fa-bookmark','fa-bookmark-o','fa-briefcase','fa-btc','fa-bug',
839
+ 'fa-building','fa-building-o','fa-bullhorn','fa-bullseye','fa-bus','fa-buysellads','fa-cab','fa-calculator','fa-calendar',
840
+ 'fa-calendar-check-o','fa-calendar-minus-o','fa-calendar-o','fa-calendar-plus-o','fa-calendar-times-o','fa-camera',
841
+ 'fa-camera-retro','fa-car','fa-caret-down','fa-caret-left','fa-caret-right','fa-caret-square-o-down',
842
+ 'fa-caret-square-o-left','fa-caret-square-o-right','fa-caret-square-o-up','fa-caret-up','fa-cart-arrow-down','fa-cart-plus',
843
+ 'fa-cc','fa-cc-amex','fa-cc-diners-club','fa-cc-discover','fa-cc-jcb','fa-cc-mastercard','fa-cc-paypal','fa-cc-stripe',
844
+ 'fa-cc-visa','fa-certificate','fa-chain','fa-chain-broken','fa-check','fa-check-circle','fa-check-circle-o',
845
+ 'fa-check-square','fa-check-square-o','fa-chevron-circle-down','fa-chevron-circle-left','fa-chevron-circle-right',
846
+ 'fa-chevron-circle-up','fa-chevron-down','fa-chevron-left','fa-chevron-right','fa-chevron-up','fa-child','fa-chrome',
847
+ 'fa-circle','fa-circle-o','fa-circle-o-notch','fa-circle-thin','fa-clipboard','fa-clock-o','fa-clone','fa-close','fa-cloud',
848
+ 'fa-cloud-download','fa-cloud-upload','fa-cny','fa-code','fa-code-fork','fa-codepen','fa-coffee','fa-cog','fa-cogs',
849
+ 'fa-columns','fa-comment','fa-comment-o','fa-commenting','fa-commenting-o','fa-comments','fa-comments-o','fa-compass',
850
+ 'fa-compress','fa-connectdevelop','fa-contao','fa-copy','fa-copyright','fa-creative-commons','fa-credit-card','fa-crop',
851
+ 'fa-crosshairs','fa-css3','fa-cube','fa-cubes','fa-cut','fa-cutlery','fa-dashboard','fa-dashcube','fa-database','fa-dedent',
852
+ 'fa-delicious','fa-desktop','fa-deviantart','fa-diamond','fa-digg','fa-dollar','fa-dot-circle-o','fa-download','fa-dribbble',
853
+ 'fa-dropbox','fa-drupal','fa-edit','fa-eject','fa-ellipsis-h','fa-ellipsis-v','fa-empire','fa-envelope','fa-envelope-o',
854
+ 'fa-envelope-square','fa-eraser','fa-eur','fa-euro','fa-exchange','fa-exclamation','fa-exclamation-circle',
855
+ 'fa-exclamation-triangle','fa-expand','fa-expeditedssl','fa-external-link','fa-external-link-square','fa-eye','fa-eye-slash',
856
+ 'fa-eyedropper','fa-facebook','fa-facebook-f','fa-facebook-official','fa-facebook-square','fa-fast-backward','fa-fast-forward',
857
+ 'fa-fax','fa-feed','fa-female','fa-fighter-jet','fa-file','fa-file-archive-o','fa-file-audio-o','fa-file-code-o',
858
+ 'fa-file-excel-o','fa-file-image-o','fa-file-movie-o','fa-file-o','fa-file-pdf-o','fa-file-photo-o','fa-file-picture-o',
859
+ 'fa-file-powerpoint-o','fa-file-sound-o','fa-file-text','fa-file-text-o','fa-file-video-o','fa-file-word-o','fa-file-zip-o',
860
+ 'fa-files-o','fa-film','fa-filter','fa-fire','fa-fire-extinguisher','fa-firefox','fa-flag','fa-flag-checkered','fa-flag-o',
861
+ 'fa-flash','fa-flask','fa-flickr','fa-floppy-o','fa-folder','fa-folder-o','fa-folder-open','fa-folder-open-o','fa-font',
862
+ 'fa-fonticons','fa-forumbee','fa-forward','fa-foursquare','fa-frown-o','fa-futbol-o','fa-gamepad','fa-gavel','fa-gbp','fa-ge',
863
+ 'fa-gear','fa-gears','fa-genderless','fa-get-pocket','fa-gg','fa-gg-circle','fa-gift','fa-git','fa-git-square','fa-github',
864
+ 'fa-github-alt','fa-github-square','fa-gittip','fa-glass','fa-globe','fa-google','fa-google-plus','fa-google-plus-square',
865
+ 'fa-google-wallet','fa-graduation-cap','fa-gratipay','fa-group','fa-h-square','fa-hacker-news','fa-hand-grab-o',
866
+ 'fa-hand-lizard-o','fa-hand-o-down','fa-hand-o-left','fa-hand-o-right','fa-hand-o-up','fa-hand-paper-o','fa-hand-peace-o',
867
+ 'fa-hand-pointer-o','fa-hand-scissors-o','fa-hand-spock-o','fa-hand-stop-o','fa-hdd-o','fa-header','fa-headphones',
868
+ 'fa-heart','fa-heart-o','fa-heartbeat','fa-history','fa-home','fa-hospital-o','fa-hotel','fa-hourglass','fa-hourglass-1',
869
+ 'fa-hourglass-2','fa-hourglass-3','fa-hourglass-end','fa-hourglass-half','fa-hourglass-o','fa-hourglass-start','fa-houzz',
870
+ 'fa-html5','fa-i-cursor','fa-ils','fa-image','fa-inbox','fa-indent','fa-industry','fa-info','fa-info-circle','fa-inr',
871
+ 'fa-instagram','fa-institution','fa-internet-explorer','fa-intersex','fa-ioxhost','fa-italic','fa-joomla','fa-jpy','fa-jsfiddle',
872
+ 'fa-key','fa-keyboard-o','fa-krw','fa-language','fa-laptop','fa-lastfm','fa-lastfm-square','fa-leaf','fa-leanpub','fa-legal',
873
+ 'fa-lemon-o','fa-level-down','fa-level-up','fa-life-bouy','fa-life-buoy','fa-life-ring','fa-life-saver','fa-lightbulb-o',
874
+ 'fa-line-chart','fa-link','fa-linkedin','fa-linkedin-square','fa-linux','fa-list','fa-list-alt','fa-list-ol','fa-list-ul',
875
+ 'fa-location-arrow','fa-lock','fa-long-arrow-down','fa-long-arrow-left','fa-long-arrow-right','fa-long-arrow-up','fa-magic',
876
+ 'fa-magnet','fa-mail-forward','fa-mail-reply','fa-mail-reply-all','fa-male','fa-map','fa-map-marker','fa-map-o','fa-map-pin',
877
+ 'fa-map-signs','fa-mars-double','fa-mars-stroke','fa-mars-stroke-h','fa-mars-stroke-v','fa-maxcdn','fa-meanpath','fa-medium',
878
+ 'fa-medkit','fa-mercury','fa-microphone','fa-microphone-slash','fa-minus','fa-minus-circle','fa-minus-square','fa-minus-square-o',
879
+ 'fa-mobile','fa-mobile-phone','fa-money','fa-moon-o','fa-mortar-board','fa-motorcycle','fa-mouse-pointer','fa-music','fa-navicon',
880
+ 'fa-neuter','fa-newspaper-o','fa-object-group','fa-object-ungroup','fa-odnoklassniki','fa-odnoklassniki-square','fa-opencart',
881
+ 'fa-openid','fa-opera','fa-optin-monster','fa-outdent','fa-pagelines','fa-paint-brush','fa-paper-plane','fa-paper-plane-o',
882
+ 'fa-paperclip','fa-paragraph','fa-paste','fa-pause','fa-paw','fa-paypal','fa-pencil','fa-pencil-square','fa-pencil-square-o',
883
+ 'fa-phone','fa-phone-square','fa-photo','fa-picture-o','fa-pie-chart','fa-pied-piper','fa-pied-piper-alt','fa-pinterest',
884
+ 'fa-pinterest-p','fa-pinterest-square','fa-plane','fa-play','fa-play-circle','fa-play-circle-o','fa-plug','fa-plus','fa-plus-circle',
885
+ 'fa-plus-square','fa-plus-square-o','fa-power-off','fa-print','fa-puzzle-piece','fa-qq','fa-qrcode','fa-question',
886
+ 'fa-question-circle','fa-quote-left','fa-quote-right','fa-ra','fa-random','fa-rebel','fa-recycle','fa-reddit','fa-reddit-square',
887
+ 'fa-refresh','fa-registered','fa-remove','fa-renren','fa-reorder','fa-repeat','fa-reply','fa-reply-all','fa-retweet','fa-rmb',
888
+ 'fa-road','fa-rocket','fa-rotate-left','fa-rotate-right','fa-rouble','fa-rss','fa-rss-square','fa-rub','fa-ruble','fa-rupee',
889
+ 'fa-safari','fa-save','fa-scissors','fa-search','fa-search-minus','fa-search-plus','fa-sellsy','fa-send','fa-send-o','fa-server',
890
+ 'fa-share','fa-share-alt','fa-share-alt-square','fa-share-square','fa-share-square-o','fa-shekel','fa-sheqel','fa-shield',
891
+ 'fa-ship','fa-shirtsinbulk','fa-shopping-cart','fa-sign-in','fa-sign-out','fa-signal','fa-simplybuilt','fa-sitemap','fa-skyatlas',
892
+ 'fa-skype','fa-slack','fa-sliders','fa-slideshare','fa-smile-o','fa-soccer-ball-o','fa-sort','fa-sort-alpha-asc',
893
+ 'fa-sort-alpha-desc','fa-sort-amount-asc','fa-sort-amount-desc','fa-sort-asc','fa-sort-desc','fa-sort-down','fa-sort-numeric-asc',
894
+ 'fa-sort-numeric-desc','fa-sort-up','fa-soundcloud','fa-space-shuttle','fa-spinner','fa-spoon','fa-spotify','fa-square',
895
+ 'fa-square-o','fa-stack-exchange','fa-stack-overflow','fa-steam','fa-steam-square','fa-star','fa-star-half','fa-star-half-empty',
896
+ 'fa-star-half-full','fa-star-half-o','fa-star-o','fa-step-backward','fa-step-forward','fa-stethoscope','fa-sticky-note',
897
+ 'fa-sticky-note-o','fa-stop','fa-street-view','fa-strikethrough','fa-stumbleupon','fa-stumbleupon-circle','fa-subscript',
898
+ 'fa-subway','fa-suitcase','fa-sun-o','fa-superscript','fa-support','fa-table','fa-tablet','fa-tachometer','fa-tag','fa-tags',
899
+ 'fa-tasks','fa-taxi','fa-television','fa-tencent-weibo','fa-terminal','fa-text-height','fa-text-width','fa-th','fa-th-large',
900
+ 'fa-th-list','fa-thumb-tack','fa-thumbs-down','fa-thumbs-o-down','fa-thumbs-o-up','fa-thumbs-up','fa-ticket','fa-times',
901
+ 'fa-times-circle','fa-times-circle-o','fa-tint','fa-toggle-down','fa-toggle-left','fa-toggle-off','fa-toggle-on','fa-toggle-right',
902
+ 'fa-toggle-up','fa-trademark','fa-train','fa-transgender','fa-transgender-alt','fa-trash','fa-trash-o','fa-tree','fa-trello',
903
+ 'fa-tripadvisor','fa-trophy','fa-truck','fa-try','fa-tty','fa-tumblr','fa-tumblr-square','fa-turkish-lira','fa-tv','fa-twitch',
904
+ 'fa-twitter','fa-twitter-square','fa-umbrella','fa-underline','fa-university','fa-unlink','fa-unlock','fa-unlock-alt','fa-unsorted',
905
+ 'fa-upload','fa-usd','fa-user','fa-user-md','fa-user-plus','fa-user-secret','fa-user-times','fa-users','fa-venus','fa-venus-double',
906
+ 'fa-venus-mars','fa-viacoin','fa-video-camera','fa-vimeo','fa-vimeo-square','fa-vine','fa-vk','fa-volume-down','fa-volume-off',
907
+ 'fa-volume-up','fa-warning','fa-wechat','fa-weibo','fa-weixin','fa-whatsapp','fa-wheelchair','fa-wifi','fa-wikipedia-w','fa-windows',
908
+ 'fa-won','fa-wordpress','fa-wrench','fa-xing','fa-xing-square','fa-y-combinator','fa-y-combinator-square','fa-yahoo','fa-yc',
909
+ 'fa-yc-square','fa-yelp','fa-yen','fa-youtube','fa-youtube-play','fa-youtube-square'
910
+ ];
911
+ }));
912
+
913
+ /*!
914
+ * .pos() plugin based on jQuery UI Position 1.10.4, renamed to avoid
915
+ * problems with jQuery native .position(), and added some triggers when position
916
+ * collapses
917
+ *
918
+ * http://jqueryui.com
919
+ *
920
+ * Copyright 2014 jQuery Foundation and other contributors
921
+ * Released under the MIT license.
922
+ * http://jquery.org/license
923
+ *
924
+ * http://api.jqueryui.com/position/
925
+ */
926
+ (function($, undefined) {
927
+
928
+ $.ui = $.ui || {};
929
+
930
+ var cachedScrollbarWidth,
931
+ max = Math.max,
932
+ abs = Math.abs,
933
+ round = Math.round,
934
+ rhorizontal = /left|center|right/,
935
+ rvertical = /top|center|bottom/,
936
+ roffset = /[\+\-]\d+(\.[\d]+)?%?/,
937
+ rposition = /^\w+/,
938
+ rpercent = /%$/,
939
+ _position = $.fn.pos;
940
+
941
+ function getOffsets(offsets, width, height) {
942
+ return [
943
+ parseFloat(offsets[0]) * (rpercent.test(offsets[0]) ? width / 100 : 1),
944
+ parseFloat(offsets[1]) * (rpercent.test(offsets[1]) ? height / 100 : 1)
945
+ ];
946
+ }
947
+
948
+ function parseCss(element, property) {
949
+ return parseInt($.css(element, property), 10) || 0;
950
+ }
951
+
952
+ function getDimensions(elem) {
953
+ var raw = elem[0];
954
+ if (raw.nodeType === 9) {
955
+ return {
956
+ width: elem.width(),
957
+ height: elem.height(),
958
+ offset: {
959
+ top: 0,
960
+ left: 0
961
+ }
962
+ };
963
+ }
964
+ if ($.isWindow(raw)) {
965
+ return {
966
+ width: elem.width(),
967
+ height: elem.height(),
968
+ offset: {
969
+ top: elem.scrollTop(),
970
+ left: elem.scrollLeft()
971
+ }
972
+ };
973
+ }
974
+ if (raw.preventDefault) {
975
+ return {
976
+ width: 0,
977
+ height: 0,
978
+ offset: {
979
+ top: raw.pageY,
980
+ left: raw.pageX
981
+ }
982
+ };
983
+ }
984
+ return {
985
+ width: elem.outerWidth(),
986
+ height: elem.outerHeight(),
987
+ offset: elem.offset()
988
+ };
989
+ }
990
+
991
+ $.pos = {
992
+ scrollbarWidth: function() {
993
+ if (cachedScrollbarWidth !== undefined) {
994
+ return cachedScrollbarWidth;
995
+ }
996
+ var w1, w2,
997
+ div = $("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),
998
+ innerDiv = div.children()[0];
999
+
1000
+ $("body").append(div);
1001
+ w1 = innerDiv.offsetWidth;
1002
+ div.css("overflow", "scroll");
1003
+
1004
+ w2 = innerDiv.offsetWidth;
1005
+
1006
+ if (w1 === w2) {
1007
+ w2 = div[0].clientWidth;
1008
+ }
1009
+
1010
+ div.remove();
1011
+
1012
+ return (cachedScrollbarWidth = w1 - w2);
1013
+ },
1014
+ getScrollInfo: function(within) {
1015
+ var overflowX = within.isWindow || within.isDocument ? "" :
1016
+ within.element.css("overflow-x"),
1017
+ overflowY = within.isWindow || within.isDocument ? "" :
1018
+ within.element.css("overflow-y"),
1019
+ hasOverflowX = overflowX === "scroll" ||
1020
+ (overflowX === "auto" && within.width < within.element[0].scrollWidth),
1021
+ hasOverflowY = overflowY === "scroll" ||
1022
+ (overflowY === "auto" && within.height < within.element[0].scrollHeight);
1023
+ return {
1024
+ width: hasOverflowY ? $.pos.scrollbarWidth() : 0,
1025
+ height: hasOverflowX ? $.pos.scrollbarWidth() : 0
1026
+ };
1027
+ },
1028
+ getWithinInfo: function(element) {
1029
+ var withinElement = $(element || window),
1030
+ isWindow = $.isWindow(withinElement[0]),
1031
+ isDocument = !!withinElement[0] && withinElement[0].nodeType === 9;
1032
+ return {
1033
+ element: withinElement,
1034
+ isWindow: isWindow,
1035
+ isDocument: isDocument,
1036
+ offset: withinElement.offset() || {
1037
+ left: 0,
1038
+ top: 0
1039
+ },
1040
+ scrollLeft: withinElement.scrollLeft(),
1041
+ scrollTop: withinElement.scrollTop(),
1042
+ width: isWindow ? withinElement.width() : withinElement.outerWidth(),
1043
+ height: isWindow ? withinElement.height() : withinElement.outerHeight()
1044
+ };
1045
+ }
1046
+ };
1047
+
1048
+ $.fn.pos = function(options) {
1049
+ if (!options || !options.of) {
1050
+ return _position.apply(this, arguments);
1051
+ }
1052
+
1053
+ // make a copy, we don't want to modify arguments
1054
+ options = $.extend({}, options);
1055
+
1056
+ var atOffset, targetWidth, targetHeight, targetOffset, basePosition, dimensions,
1057
+ target = $(options.of),
1058
+ within = $.pos.getWithinInfo(options.within),
1059
+ scrollInfo = $.pos.getScrollInfo(within),
1060
+ collision = (options.collision || "flip").split(" "),
1061
+ offsets = {};
1062
+
1063
+ dimensions = getDimensions(target);
1064
+ if (target[0].preventDefault) {
1065
+ // force left top to allow flipping
1066
+ options.at = "left top";
1067
+ }
1068
+ targetWidth = dimensions.width;
1069
+ targetHeight = dimensions.height;
1070
+ targetOffset = dimensions.offset;
1071
+ // clone to reuse original targetOffset later
1072
+ basePosition = $.extend({}, targetOffset);
1073
+
1074
+ // force my and at to have valid horizontal and vertical positions
1075
+ // if a value is missing or invalid, it will be converted to center
1076
+ $.each(["my", "at"], function() {
1077
+ var pos = (options[this] || "").split(" "),
1078
+ horizontalOffset,
1079
+ verticalOffset;
1080
+
1081
+ if (pos.length === 1) {
1082
+ pos = rhorizontal.test(pos[0]) ?
1083
+ pos.concat(["center"]) :
1084
+ rvertical.test(pos[0]) ? ["center"].concat(pos) : ["center", "center"];
1085
+ }
1086
+ pos[0] = rhorizontal.test(pos[0]) ? pos[0] : "center";
1087
+ pos[1] = rvertical.test(pos[1]) ? pos[1] : "center";
1088
+
1089
+ // calculate offsets
1090
+ horizontalOffset = roffset.exec(pos[0]);
1091
+ verticalOffset = roffset.exec(pos[1]);
1092
+ offsets[this] = [
1093
+ horizontalOffset ? horizontalOffset[0] : 0,
1094
+ verticalOffset ? verticalOffset[0] : 0
1095
+ ];
1096
+
1097
+ // reduce to just the positions without the offsets
1098
+ options[this] = [
1099
+ rposition.exec(pos[0])[0],
1100
+ rposition.exec(pos[1])[0]
1101
+ ];
1102
+ });
1103
+
1104
+ // normalize collision option
1105
+ if (collision.length === 1) {
1106
+ collision[1] = collision[0];
1107
+ }
1108
+
1109
+ if (options.at[0] === "right") {
1110
+ basePosition.left += targetWidth;
1111
+ } else if (options.at[0] === "center") {
1112
+ basePosition.left += targetWidth / 2;
1113
+ }
1114
+
1115
+ if (options.at[1] === "bottom") {
1116
+ basePosition.top += targetHeight;
1117
+ } else if (options.at[1] === "center") {
1118
+ basePosition.top += targetHeight / 2;
1119
+ }
1120
+
1121
+ atOffset = getOffsets(offsets.at, targetWidth, targetHeight);
1122
+ basePosition.left += atOffset[0];
1123
+ basePosition.top += atOffset[1];
1124
+
1125
+ return this.each(function() {
1126
+ var collisionPosition, using,
1127
+ elem = $(this),
1128
+ elemWidth = elem.outerWidth(),
1129
+ elemHeight = elem.outerHeight(),
1130
+ marginLeft = parseCss(this, "marginLeft"),
1131
+ marginTop = parseCss(this, "marginTop"),
1132
+ collisionWidth = elemWidth + marginLeft + parseCss(this, "marginRight") + scrollInfo.width,
1133
+ collisionHeight = elemHeight + marginTop + parseCss(this, "marginBottom") + scrollInfo.height,
1134
+ position = $.extend({}, basePosition),
1135
+ myOffset = getOffsets(offsets.my, elem.outerWidth(), elem.outerHeight());
1136
+
1137
+ if (options.my[0] === "right") {
1138
+ position.left -= elemWidth;
1139
+ } else if (options.my[0] === "center") {
1140
+ position.left -= elemWidth / 2;
1141
+ }
1142
+
1143
+ if (options.my[1] === "bottom") {
1144
+ position.top -= elemHeight;
1145
+ } else if (options.my[1] === "center") {
1146
+ position.top -= elemHeight / 2;
1147
+ }
1148
+
1149
+ position.left += myOffset[0];
1150
+ position.top += myOffset[1];
1151
+
1152
+ // if the browser doesn't support fractions, then round for consistent results
1153
+ if (!$.support.offsetFractions) {
1154
+ position.left = round(position.left);
1155
+ position.top = round(position.top);
1156
+ }
1157
+
1158
+ collisionPosition = {
1159
+ marginLeft: marginLeft,
1160
+ marginTop: marginTop
1161
+ };
1162
+
1163
+ $.each(["left", "top"], function(i, dir) {
1164
+ if ($.ui.pos[collision[i]]) {
1165
+ $.ui.pos[collision[i]][dir](position, {
1166
+ targetWidth: targetWidth,
1167
+ targetHeight: targetHeight,
1168
+ elemWidth: elemWidth,
1169
+ elemHeight: elemHeight,
1170
+ collisionPosition: collisionPosition,
1171
+ collisionWidth: collisionWidth,
1172
+ collisionHeight: collisionHeight,
1173
+ offset: [atOffset[0] + myOffset[0], atOffset[1] + myOffset[1]],
1174
+ my: options.my,
1175
+ at: options.at,
1176
+ within: within,
1177
+ elem: elem
1178
+ });
1179
+ }
1180
+ });
1181
+
1182
+ if (options.using) {
1183
+ // adds feedback as second argument to using callback, if present
1184
+ using = function(props) {
1185
+ var left = targetOffset.left - position.left,
1186
+ right = left + targetWidth - elemWidth,
1187
+ top = targetOffset.top - position.top,
1188
+ bottom = top + targetHeight - elemHeight,
1189
+ feedback = {
1190
+ target: {
1191
+ element: target,
1192
+ left: targetOffset.left,
1193
+ top: targetOffset.top,
1194
+ width: targetWidth,
1195
+ height: targetHeight
1196
+ },
1197
+ element: {
1198
+ element: elem,
1199
+ left: position.left,
1200
+ top: position.top,
1201
+ width: elemWidth,
1202
+ height: elemHeight
1203
+ },
1204
+ horizontal: right < 0 ? "left" : left > 0 ? "right" : "center",
1205
+ vertical: bottom < 0 ? "top" : top > 0 ? "bottom" : "middle"
1206
+ };
1207
+ if (targetWidth < elemWidth && abs(left + right) < targetWidth) {
1208
+ feedback.horizontal = "center";
1209
+ }
1210
+ if (targetHeight < elemHeight && abs(top + bottom) < targetHeight) {
1211
+ feedback.vertical = "middle";
1212
+ }
1213
+ if (max(abs(left), abs(right)) > max(abs(top), abs(bottom))) {
1214
+ feedback.important = "horizontal";
1215
+ } else {
1216
+ feedback.important = "vertical";
1217
+ }
1218
+ options.using.call(this, props, feedback);
1219
+ };
1220
+ }
1221
+
1222
+ elem.offset($.extend(position, {
1223
+ using: using
1224
+ }));
1225
+ });
1226
+ };
1227
+
1228
+ $.ui.pos = {
1229
+ _trigger: function(position, data, name, triggered) {
1230
+ if (data.elem) {
1231
+ data.elem.trigger({
1232
+ 'type': name,
1233
+ 'position': position,
1234
+ 'positionData': data,
1235
+ 'triggered': triggered
1236
+ });
1237
+ }
1238
+ },
1239
+ fit: {
1240
+ left: function(position, data) {
1241
+ $.ui.pos._trigger(position, data, 'posCollide', 'fitLeft');
1242
+ var within = data.within,
1243
+ withinOffset = within.isWindow ? within.scrollLeft : within.offset.left,
1244
+ outerWidth = within.width,
1245
+ collisionPosLeft = position.left - data.collisionPosition.marginLeft,
1246
+ overLeft = withinOffset - collisionPosLeft,
1247
+ overRight = collisionPosLeft + data.collisionWidth - outerWidth - withinOffset,
1248
+ newOverRight;
1249
+
1250
+ // element is wider than within
1251
+ if (data.collisionWidth > outerWidth) {
1252
+ // element is initially over the left side of within
1253
+ if (overLeft > 0 && overRight <= 0) {
1254
+ newOverRight = position.left + overLeft + data.collisionWidth - outerWidth - withinOffset;
1255
+ position.left += overLeft - newOverRight;
1256
+ // element is initially over right side of within
1257
+ } else if (overRight > 0 && overLeft <= 0) {
1258
+ position.left = withinOffset;
1259
+ // element is initially over both left and right sides of within
1260
+ } else {
1261
+ if (overLeft > overRight) {
1262
+ position.left = withinOffset + outerWidth - data.collisionWidth;
1263
+ } else {
1264
+ position.left = withinOffset;
1265
+ }
1266
+ }
1267
+ // too far left -> align with left edge
1268
+ } else if (overLeft > 0) {
1269
+ position.left += overLeft;
1270
+ // too far right -> align with right edge
1271
+ } else if (overRight > 0) {
1272
+ position.left -= overRight;
1273
+ // adjust based on position and margin
1274
+ } else {
1275
+ position.left = max(position.left - collisionPosLeft, position.left);
1276
+ }
1277
+ $.ui.pos._trigger(position, data, 'posCollided', 'fitLeft');
1278
+ },
1279
+ top: function(position, data) {
1280
+ $.ui.pos._trigger(position, data, 'posCollide', 'fitTop');
1281
+ var within = data.within,
1282
+ withinOffset = within.isWindow ? within.scrollTop : within.offset.top,
1283
+ outerHeight = data.within.height,
1284
+ collisionPosTop = position.top - data.collisionPosition.marginTop,
1285
+ overTop = withinOffset - collisionPosTop,
1286
+ overBottom = collisionPosTop + data.collisionHeight - outerHeight - withinOffset,
1287
+ newOverBottom;
1288
+
1289
+ // element is taller than within
1290
+ if (data.collisionHeight > outerHeight) {
1291
+ // element is initially over the top of within
1292
+ if (overTop > 0 && overBottom <= 0) {
1293
+ newOverBottom = position.top + overTop + data.collisionHeight - outerHeight - withinOffset;
1294
+ position.top += overTop - newOverBottom;
1295
+ // element is initially over bottom of within
1296
+ } else if (overBottom > 0 && overTop <= 0) {
1297
+ position.top = withinOffset;
1298
+ // element is initially over both top and bottom of within
1299
+ } else {
1300
+ if (overTop > overBottom) {
1301
+ position.top = withinOffset + outerHeight - data.collisionHeight;
1302
+ } else {
1303
+ position.top = withinOffset;
1304
+ }
1305
+ }
1306
+ // too far up -> align with top
1307
+ } else if (overTop > 0) {
1308
+ position.top += overTop;
1309
+ // too far down -> align with bottom edge
1310
+ } else if (overBottom > 0) {
1311
+ position.top -= overBottom;
1312
+ // adjust based on position and margin
1313
+ } else {
1314
+ position.top = max(position.top - collisionPosTop, position.top);
1315
+ }
1316
+ $.ui.pos._trigger(position, data, 'posCollided', 'fitTop');
1317
+ }
1318
+ },
1319
+ flip: {
1320
+ left: function(position, data) {
1321
+ $.ui.pos._trigger(position, data, 'posCollide', 'flipLeft');
1322
+ var within = data.within,
1323
+ withinOffset = within.offset.left + within.scrollLeft,
1324
+ outerWidth = within.width,
1325
+ offsetLeft = within.isWindow ? within.scrollLeft : within.offset.left,
1326
+ collisionPosLeft = position.left - data.collisionPosition.marginLeft,
1327
+ overLeft = collisionPosLeft - offsetLeft,
1328
+ overRight = collisionPosLeft + data.collisionWidth - outerWidth - offsetLeft,
1329
+ myOffset = data.my[0] === "left" ?
1330
+ -data.elemWidth :
1331
+ data.my[0] === "right" ?
1332
+ data.elemWidth :
1333
+ 0,
1334
+ atOffset = data.at[0] === "left" ?
1335
+ data.targetWidth :
1336
+ data.at[0] === "right" ?
1337
+ -data.targetWidth :
1338
+ 0,
1339
+ offset = -2 * data.offset[0],
1340
+ newOverRight,
1341
+ newOverLeft;
1342
+
1343
+ if (overLeft < 0) {
1344
+ newOverRight = position.left + myOffset + atOffset + offset + data.collisionWidth - outerWidth - withinOffset;
1345
+ if (newOverRight < 0 || newOverRight < abs(overLeft)) {
1346
+ position.left += myOffset + atOffset + offset;
1347
+ }
1348
+ } else if (overRight > 0) {
1349
+ newOverLeft = position.left - data.collisionPosition.marginLeft + myOffset + atOffset + offset - offsetLeft;
1350
+ if (newOverLeft > 0 || abs(newOverLeft) < overRight) {
1351
+ position.left += myOffset + atOffset + offset;
1352
+ }
1353
+ }
1354
+ $.ui.pos._trigger(position, data, 'posCollided', 'flipLeft');
1355
+ },
1356
+ top: function(position, data) {
1357
+ $.ui.pos._trigger(position, data, 'posCollide', 'flipTop');
1358
+ var within = data.within,
1359
+ withinOffset = within.offset.top + within.scrollTop,
1360
+ outerHeight = within.height,
1361
+ offsetTop = within.isWindow ? within.scrollTop : within.offset.top,
1362
+ collisionPosTop = position.top - data.collisionPosition.marginTop,
1363
+ overTop = collisionPosTop - offsetTop,
1364
+ overBottom = collisionPosTop + data.collisionHeight - outerHeight - offsetTop,
1365
+ top = data.my[1] === "top",
1366
+ myOffset = top ?
1367
+ -data.elemHeight :
1368
+ data.my[1] === "bottom" ?
1369
+ data.elemHeight :
1370
+ 0,
1371
+ atOffset = data.at[1] === "top" ?
1372
+ data.targetHeight :
1373
+ data.at[1] === "bottom" ?
1374
+ -data.targetHeight :
1375
+ 0,
1376
+ offset = -2 * data.offset[1],
1377
+ newOverTop,
1378
+ newOverBottom;
1379
+ if (overTop < 0) {
1380
+ newOverBottom = position.top + myOffset + atOffset + offset + data.collisionHeight - outerHeight - withinOffset;
1381
+ if ((position.top + myOffset + atOffset + offset) > overTop && (newOverBottom < 0 || newOverBottom < abs(overTop))) {
1382
+ position.top += myOffset + atOffset + offset;
1383
+ }
1384
+ } else if (overBottom > 0) {
1385
+ newOverTop = position.top - data.collisionPosition.marginTop + myOffset + atOffset + offset - offsetTop;
1386
+ if ((position.top + myOffset + atOffset + offset) > overBottom && (newOverTop > 0 || abs(newOverTop) < overBottom)) {
1387
+ position.top += myOffset + atOffset + offset;
1388
+ }
1389
+ }
1390
+ $.ui.pos._trigger(position, data, 'posCollided', 'flipTop');
1391
+ }
1392
+ },
1393
+ flipfit: {
1394
+ left: function() {
1395
+ $.ui.pos.flip.left.apply(this, arguments);
1396
+ $.ui.pos.fit.left.apply(this, arguments);
1397
+ },
1398
+ top: function() {
1399
+ $.ui.pos.flip.top.apply(this, arguments);
1400
+ $.ui.pos.fit.top.apply(this, arguments);
1401
+ }
1402
+ }
1403
+ };
1404
+
1405
+ // fraction support test
1406
+ (function() {
1407
+ var testElement, testElementParent, testElementStyle, offsetLeft, i,
1408
+ body = document.getElementsByTagName("body")[0],
1409
+ div = document.createElement("div");
1410
+
1411
+ //Create a "fake body" for testing based on method used in jQuery.support
1412
+ testElement = document.createElement(body ? "div" : "body");
1413
+ testElementStyle = {
1414
+ visibility: "hidden",
1415
+ width: 0,
1416
+ height: 0,
1417
+ border: 0,
1418
+ margin: 0,
1419
+ background: "none"
1420
+ };
1421
+ if (body) {
1422
+ $.extend(testElementStyle, {
1423
+ position: "absolute",
1424
+ left: "-1000px",
1425
+ top: "-1000px"
1426
+ });
1427
+ }
1428
+ for (i in testElementStyle) {
1429
+ testElement.style[i] = testElementStyle[i];
1430
+ }
1431
+ testElement.appendChild(div);
1432
+ testElementParent = body || document.documentElement;
1433
+ testElementParent.insertBefore(testElement, testElementParent.firstChild);
1434
+
1435
+ div.style.cssText = "position: absolute; left: 10.7432222px;";
1436
+
1437
+ offsetLeft = $(div).offset().left;
1438
+ $.support.offsetFractions = offsetLeft > 10 && offsetLeft < 11;
1439
+
1440
+ testElement.innerHTML = "";
1441
+ testElementParent.removeChild(testElement);
1442
+ })();
1443
+
1444
+ }(jQuery));
1445
+
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/min/jquery-iconpicker.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):window.jQuery&&!window.jQuery.fn.iconpicker&&t(window.jQuery)}(function(t){"use strict";var e={isEmpty:function(t){return t===!1||""===t||null===t||void 0===t},isEmptyObject:function(t){return this.isEmpty(t)===!0||0===t.length},isElement:function(e){return t(e).length>0},isString:function(t){return"string"==typeof t||t instanceof String},isArray:function(e){return t.isArray(e)},inArray:function(e,a){return-1!==t.inArray(e,a)},throwError:function(t){throw"Font Awesome Icon Picker Exception: "+t}},a=function(i,o){this._id=a._idCounter++,this.element=t(i).addClass("iconpicker-element"),this._trigger("iconpickerCreate"),this.options=t.extend({},a.defaultOptions,this.element.data(),o),this.options.templates=t.extend({},a.defaultOptions.templates,this.options.templates),this.options.originalPlacement=this.options.placement,this.container=e.isElement(this.options.container)?t(this.options.container):!1,this.container===!1&&(this.container=this.element.is(".dropdown-toggle")?t("~ .dropdown-menu:first",this.element):this.element.is("input,textarea,button,.btn")?this.element.parent():this.element),this.container.addClass("iconpicker-container"),this.isDropdownMenu()&&(this.options.templates.search=!1,this.options.templates.buttons=!1,this.options.placement="inline"),this.input=this.element.is("input,textarea")?this.element.addClass("iconpicker-input"):!1,this.input===!1&&(this.input=this.container.find(this.options.input),this.input.is("input,textarea")||(this.input=!1)),this.component=this.isDropdownMenu()?this.container.parent().find(this.options.component):this.container.find(this.options.component),0===this.component.length?this.component=!1:this.component.find("i").addClass("iconpicker-component"),this._createPopover(),this._createIconpicker(),0===this.getAcceptButton().length&&(this.options.mustAccept=!1),this.isInputGroup()?this.container.parent().append(this.popover):this.container.append(this.popover),this._bindElementEvents(),this._bindWindowEvents(),this.update(this.options.selected),this.isInline()&&this.show(),this._trigger("iconpickerCreated")};a._idCounter=0,a.defaultOptions={title:!1,selected:!1,defaultValue:!1,placement:"bottom",collision:"none",animation:!0,hideOnSelect:!1,showFooter:!1,searchInFooter:!1,mustAccept:!1,selectedCustomClass:"bg-primary",icons:[],iconBaseClass:"fa",iconClassPrefix:"fa-",fullClassFormatter:function(t){return"fa "+t},input:"input,.iconpicker-input",inputSearch:!1,container:!1,component:".input-group-addon,.iconpicker-component",templates:{popover:'<div class="iconpicker-popover popover"><div class="arrow"></div><div class="popover-title"></div><div class="popover-content"></div></div>',footer:'<div class="popover-footer"></div>',buttons:'<button class="iconpicker-btn iconpicker-btn-cancel btn btn-default btn-sm">Cancel</button> <button class="iconpicker-btn iconpicker-btn-accept btn btn-primary btn-sm">Accept</button>',search:'<input type="search" class="form-control iconpicker-search" placeholder="Type to filter" />',iconpicker:'<div class="iconpicker"><div class="iconpicker-items"></div></div>',iconpickerItem:'<a role="button" href="#" class="iconpicker-item"><i></i></a>'}},a.batch=function(e,a){var i=Array.prototype.slice.call(arguments,2);return t(e).each(function(){var e=t(this).data("iconpicker");e&&e[a].apply(e,i)})},a.prototype={constructor:a,options:{},_id:0,_trigger:function(e,a){a=a||{},this.element.trigger(t.extend({type:e,iconpickerInstance:this},a))},_createPopover:function(){this.popover=t(this.options.templates.popover);var a=this.popover.find(".popover-title");if(this.options.title&&a.append(t('<div class="popover-title-text">'+this.options.title+"</div>")),this.hasSeparatedSearchInput()&&!this.options.searchInFooter?a.append(this.options.templates.search):this.options.title||a.remove(),this.options.showFooter&&!e.isEmpty(this.options.templates.footer)){var i=t(this.options.templates.footer);this.hasSeparatedSearchInput()&&this.options.searchInFooter&&i.append(t(this.options.templates.search)),e.isEmpty(this.options.templates.buttons)||i.append(t(this.options.templates.buttons)),this.popover.append(i)}return this.options.animation===!0&&this.popover.addClass("fade"),this.popover},_createIconpicker:function(){var e=this;this.iconpicker=t(this.options.templates.iconpicker);var a=function(a){var i=t(this);return i.is("i")&&(i=i.parent()),e._trigger("iconpickerSelect",{iconpickerItem:i,iconpickerValue:e.iconpickerValue}),e.options.mustAccept===!1?(e.update(i.data("iconpickerValue")),e._trigger("iconpickerSelected",{iconpickerItem:this,iconpickerValue:e.iconpickerValue})):e.update(i.data("iconpickerValue"),!0),e.options.hideOnSelect&&e.options.mustAccept===!1&&e.hide(),a.preventDefault(),!1};for(var i in this.options.icons){var o=t(this.options.templates.iconpickerItem);o.find("i").addClass(this.options.iconBaseClass+" "+this.options.iconClassPrefix+this.options.icons[i]),o.data("iconpickerValue",this.options.icons[i]).on("click.iconpicker",a),this.iconpicker.find(".iconpicker-items").append(o.attr("title","."+this.options.iconClassPrefix+this.options.icons[i]))}return this.popover.find(".popover-content").append(this.iconpicker),this.component.append('<i class="'+this.options.iconBaseClass+" "+this.input.val()+'"></i>'),this.iconpicker},_isEventInsideIconpicker:function(e){var a=t(e.target);return a.hasClass("iconpicker-element")&&(!a.hasClass("iconpicker-element")||a.is(this.element))||0!==a.parents(".iconpicker-popover").length?!0:!1},_bindElementEvents:function(){var a=this;this.getSearchInput().on("keyup.iconpicker",function(){a.filter(t(this).val().toLowerCase())}),this.getAcceptButton().on("click.iconpicker",function(){var t=a.iconpicker.find(".iconpicker-selected").get(0);a.update(a.iconpickerValue),a._trigger("iconpickerSelected",{iconpickerItem:t,iconpickerValue:a.iconpickerValue}),a.isInline()||a.hide()}),this.getCancelButton().on("click.iconpicker",function(){a.isInline()||a.hide()}),this.element.on("focus.iconpicker",function(t){a.show(),t.stopPropagation()}),this.hasComponent()&&this.component.on("click.iconpicker",function(){a.toggle()}),this.hasInput()&&this.input.on("keyup.iconpicker",function(i){e.inArray(i.keyCode,[38,40,37,39,16,17,18,9,8,91,93,20,46,186,190,46,78,188,44,86])?a._updateFormGroupStatus(a.getValid(this.value)!==!1):a.update(),a.options.inputSearch===!0&&a.filter(t(this).val().toLowerCase())})},_bindWindowEvents:function(){var e=t(window.document),a=this,i=".iconpicker.inst"+this._id;return t(window).on("resize.iconpicker"+i+" orientationchange.iconpicker"+i,function(){a.popover.hasClass("in")&&a.updatePlacement()}),a.isInline()||e.on("mouseup"+i,function(t){a._isEventInsideIconpicker(t)||a.isInline()||a.hide()}),!1},_unbindElementEvents:function(){this.popover.off(".iconpicker"),this.element.off(".iconpicker"),this.hasInput()&&this.input.off(".iconpicker"),this.hasComponent()&&this.component.off(".iconpicker"),this.hasContainer()&&this.container.off(".iconpicker")},_unbindWindowEvents:function(){t(window).off(".iconpicker.inst"+this._id),t(window.document).off(".iconpicker.inst"+this._id)},updatePlacement:function(e,a){e=e||this.options.placement,this.options.placement=e,a=a||this.options.collision,a=a===!0?"flip":a;var i={at:"right bottom",my:"right top",of:this.hasInput()&&!this.isInputGroup()?this.input:this.container,collision:a===!0?"flip":a,within:window};if(this.popover.removeClass("inline topLeftCorner topLeft top topRight topRightCorner rightTop right rightBottom bottomRight bottomRightCorner bottom bottomLeft bottomLeftCorner leftBottom left leftTop"),"object"==typeof e)return this.popover.pos(t.extend({},i,e));switch(e){case"inline":i=!1;break;case"topLeftCorner":i.my="right bottom",i.at="left top";break;case"topLeft":i.my="left bottom",i.at="left top";break;case"top":i.my="center bottom",i.at="center top";break;case"topRight":i.my="right bottom",i.at="right top";break;case"topRightCorner":i.my="left bottom",i.at="right top";break;case"rightTop":i.my="left bottom",i.at="right center";break;case"right":i.my="left center",i.at="right center";break;case"rightBottom":i.my="left top",i.at="right center";break;case"bottomRightCorner":i.my="left top",i.at="right bottom";break;case"bottomRight":i.my="right top",i.at="right bottom";break;case"bottom":i.my="center top",i.at="center bottom";break;case"bottomLeft":i.my="left top",i.at="left bottom";break;case"bottomLeftCorner":i.my="right top",i.at="left bottom";break;case"leftBottom":i.my="right top",i.at="left center";break;case"left":i.my="right center",i.at="left center";break;case"leftTop":i.my="right bottom",i.at="left center";break;default:return!1}return this.popover.css({display:"inline"===this.options.placement?"":"block"}),i!==!1?this.popover.pos(i).css("maxWidth",t(window).width()-this.container.offset().left-5):this.popover.css({top:"auto",right:"auto",bottom:"auto",left:"auto",maxWidth:"none"}),this.popover.addClass(this.options.placement),!0},_updateComponents:function(){if(this.iconpicker.find(".iconpicker-item.iconpicker-selected").removeClass("iconpicker-selected "+this.options.selectedCustomClass),this.iconpickerValue&&this.iconpicker.find("."+this.options.fullClassFormatter(this.iconpickerValue).replace(/ /g,".")).parent().addClass("iconpicker-selected "+this.options.selectedCustomClass),this.hasComponent()){var t=this.component.find("i");t.length>0?t.attr("class",this.options.fullClassFormatter(this.iconpickerValue)):this.component.html(this.getHtml())}},_updateFormGroupStatus:function(t){return this.hasInput()?(t!==!1?this.input.parents(".form-group:first").removeClass("has-error"):this.input.parents(".form-group:first").addClass("has-error"),!0):!1},getValid:function(a){e.isString(a)||(a="");var i=""===a;return a=t.trim(a),e.inArray(a,this.options.icons)||i?a:!1},setValue:function(t){var e=this.getValid(t);return e!==!1?(this.iconpickerValue=e,this._trigger("iconpickerSetValue",{iconpickerValue:e}),this.iconpickerValue):(this._trigger("iconpickerInvalid",{iconpickerValue:t}),!1)},getHtml:function(){return'<i class="'+this.options.fullClassFormatter(this.iconpickerValue)+'"></i>'},setSourceValue:function(t){return t=this.setValue(t),t!==!1&&""!==t&&(this.hasInput()?this.input.val(this.options.iconClassPrefix+this.iconpickerValue):this.element.data("iconpickerValue",this.iconpickerValue),this._trigger("iconpickerSetSourceValue",{iconpickerValue:t})),t},getSourceValue:function(t){t=t||this.options.defaultValue;var e=t;return e=this.hasInput()?this.input.val():this.element.data("iconpickerValue"),(void 0===e||""===e||null===e||e===!1)&&(e=t),e},hasInput:function(){return this.input!==!1},isInputSearch:function(){return this.hasInput()&&this.options.inputSearch===!0},isInputGroup:function(){return this.container.is(".input-group")},isDropdownMenu:function(){return this.container.is(".dropdown-menu")},hasSeparatedSearchInput:function(){return this.options.templates.search!==!1&&!this.isInputSearch()},hasComponent:function(){return this.component!==!1},hasContainer:function(){return this.container!==!1},getAcceptButton:function(){return this.popover.find(".iconpicker-btn-accept")},getCancelButton:function(){return this.popover.find(".iconpicker-btn-cancel")},getSearchInput:function(){return this.popover.find(".iconpicker-search")},filter:function(a){if(e.isEmpty(a))return this.iconpicker.find(".iconpicker-item").show(),t(!1);var i=[];return this.iconpicker.find(".iconpicker-item").each(function(){var e=t(this),o=e.attr("title").toLowerCase(),n=!1;try{n=new RegExp(a,"g")}catch(r){n=!1}n!==!1&&o.match(n)?(i.push(e),e.show()):e.hide()}),i},show:function(){return this.popover.hasClass("in")?!1:(t.iconpicker.batch(t(".iconpicker-popover.in:not(.inline)").not(this.popover),"hide"),this._trigger("iconpickerShow"),this.updatePlacement(),this.popover.addClass("in"),void setTimeout(t.proxy(function(){this.popover.css("display",this.isInline()?"":"block"),this._trigger("iconpickerShown")},this),this.options.animation?300:1))},hide:function(){return this.popover.hasClass("in")?(this._trigger("iconpickerHide"),this.popover.removeClass("in"),void setTimeout(t.proxy(function(){this.popover.css("display","none"),this.getSearchInput().val(""),this.filter(""),this._trigger("iconpickerHidden")},this),this.options.animation?300:1)):!1},toggle:function(){this.popover.is(":visible")?this.hide():this.show(!0)},update:function(t,e){return t=t?t:this.getSourceValue(this.iconpickerValue),this._trigger("iconpickerUpdate"),e===!0?t=this.setValue(t):(t=this.setSourceValue(t),this._updateFormGroupStatus(t!==!1)),t!==!1&&this._updateComponents(),this._trigger("iconpickerUpdated"),t},destroy:function(){this._trigger("iconpickerDestroy"),this.element.removeData("iconpicker").removeData("iconpickerValue").removeClass("iconpicker-element"),this._unbindElementEvents(),this._unbindWindowEvents(),t(this.popover).remove(),this._trigger("iconpickerDestroyed")},disable:function(){return this.hasInput()?(this.input.prop("disabled",!0),!0):!1},enable:function(){return this.hasInput()?(this.input.prop("disabled",!1),!0):!1},isDisabled:function(){return this.hasInput()?this.input.prop("disabled")===!0:!1},isInline:function(){return"inline"===this.options.placement||this.popover.hasClass("inline")}},t.iconpicker=a,t.fn.iconpicker=function(e){return this.each(function(){var i=t(this);i.data("iconpicker")||i.data("iconpicker",new a(this,"object"==typeof e?e:{}))})},a.defaultOptions.icons=["fa-500px","fa-adjust","fa-adn","fa-align-center","fa-align-justify","fa-align-left","fa-align-right","fa-amazon","fa-ambulance","fa-anchor","fa-android","fa-angellist","fa-angle-double-down","fa-angle-double-left","fa-angle-double-right","fa-angle-double-up","fa-angle-down","fa-angle-left","fa-angle-right","fa-angle-up","fa-apple","fa-archive","fa-area-chart","fa-arrow-circle-down","fa-arrow-circle-left","fa-arrow-circle-o-down","fa-arrow-circle-o-left","fa-arrow-circle-o-right","fa-arrow-circle-o-up","fa-arrow-circle-right","fa-arrow-circle-up","fa-arrow-down","fa-arrow-left","fa-arrow-right","fa-arrow-up","fa-arrows","fa-arrows-alt","fa-arrows-h","fa-arrows-v","fa-asterisk","fa-at","fa-automobile","fa-backward","fa-balance-scale","fa-ban","fa-bank","fa-bar-chart","fa-bar-chart-o","fa-barcode","fa-bars","fa-battery-0","fa-battery-1","fa-battery-2","fa-battery-3","fa-battery-4","fa-battery-empty","fa-battery-full","fa-battery-half","fa-battery-quarter","fa-battery-three-quarters","fa-bed","fa-beer","fa-behance","fa-behance-square","fa-bell","fa-bell-o","fa-bell-slash","fa-bell-slash-o","fa-bicycle","fa-binoculars","fa-birthday-cake","fa-bitbucket","fa-bitbucket-square","fa-bitcoin","fa-black-tie","fa-bold","fa-bolt","fa-bomb","fa-book","fa-bookmark","fa-bookmark-o","fa-briefcase","fa-btc","fa-bug","fa-building","fa-building-o","fa-bullhorn","fa-bullseye","fa-bus","fa-buysellads","fa-cab","fa-calculator","fa-calendar","fa-calendar-check-o","fa-calendar-minus-o","fa-calendar-o","fa-calendar-plus-o","fa-calendar-times-o","fa-camera","fa-camera-retro","fa-car","fa-caret-down","fa-caret-left","fa-caret-right","fa-caret-square-o-down","fa-caret-square-o-left","fa-caret-square-o-right","fa-caret-square-o-up","fa-caret-up","fa-cart-arrow-down","fa-cart-plus","fa-cc","fa-cc-amex","fa-cc-diners-club","fa-cc-discover","fa-cc-jcb","fa-cc-mastercard","fa-cc-paypal","fa-cc-stripe","fa-cc-visa","fa-certificate","fa-chain","fa-chain-broken","fa-check","fa-check-circle","fa-check-circle-o","fa-check-square","fa-check-square-o","fa-chevron-circle-down","fa-chevron-circle-left","fa-chevron-circle-right","fa-chevron-circle-up","fa-chevron-down","fa-chevron-left","fa-chevron-right","fa-chevron-up","fa-child","fa-chrome","fa-circle","fa-circle-o","fa-circle-o-notch","fa-circle-thin","fa-clipboard","fa-clock-o","fa-clone","fa-close","fa-cloud","fa-cloud-download","fa-cloud-upload","fa-cny","fa-code","fa-code-fork","fa-codepen","fa-coffee","fa-cog","fa-cogs","fa-columns","fa-comment","fa-comment-o","fa-commenting","fa-commenting-o","fa-comments","fa-comments-o","fa-compass","fa-compress","fa-connectdevelop","fa-contao","fa-copy","fa-copyright","fa-creative-commons","fa-credit-card","fa-crop","fa-crosshairs","fa-css3","fa-cube","fa-cubes","fa-cut","fa-cutlery","fa-dashboard","fa-dashcube","fa-database","fa-dedent","fa-delicious","fa-desktop","fa-deviantart","fa-diamond","fa-digg","fa-dollar","fa-dot-circle-o","fa-download","fa-dribbble","fa-dropbox","fa-drupal","fa-edit","fa-eject","fa-ellipsis-h","fa-ellipsis-v","fa-empire","fa-envelope","fa-envelope-o","fa-envelope-square","fa-eraser","fa-eur","fa-euro","fa-exchange","fa-exclamation","fa-exclamation-circle","fa-exclamation-triangle","fa-expand","fa-expeditedssl","fa-external-link","fa-external-link-square","fa-eye","fa-eye-slash","fa-eyedropper","fa-facebook","fa-facebook-f","fa-facebook-official","fa-facebook-square","fa-fast-backward","fa-fast-forward","fa-fax","fa-feed","fa-female","fa-fighter-jet","fa-file","fa-file-archive-o","fa-file-audio-o","fa-file-code-o","fa-file-excel-o","fa-file-image-o","fa-file-movie-o","fa-file-o","fa-file-pdf-o","fa-file-photo-o","fa-file-picture-o","fa-file-powerpoint-o","fa-file-sound-o","fa-file-text","fa-file-text-o","fa-file-video-o","fa-file-word-o","fa-file-zip-o","fa-files-o","fa-film","fa-filter","fa-fire","fa-fire-extinguisher","fa-firefox","fa-flag","fa-flag-checkered","fa-flag-o","fa-flash","fa-flask","fa-flickr","fa-floppy-o","fa-folder","fa-folder-o","fa-folder-open","fa-folder-open-o","fa-font","fa-fonticons","fa-forumbee","fa-forward","fa-foursquare","fa-frown-o","fa-futbol-o","fa-gamepad","fa-gavel","fa-gbp","fa-ge","fa-gear","fa-gears","fa-genderless","fa-get-pocket","fa-gg","fa-gg-circle","fa-gift","fa-git","fa-git-square","fa-github","fa-github-alt","fa-github-square","fa-gittip","fa-glass","fa-globe","fa-google","fa-google-plus","fa-google-plus-square","fa-google-wallet","fa-graduation-cap","fa-gratipay","fa-group","fa-h-square","fa-hacker-news","fa-hand-grab-o","fa-hand-lizard-o","fa-hand-o-down","fa-hand-o-left","fa-hand-o-right","fa-hand-o-up","fa-hand-paper-o","fa-hand-peace-o","fa-hand-pointer-o","fa-hand-scissors-o","fa-hand-spock-o","fa-hand-stop-o","fa-hdd-o","fa-header","fa-headphones","fa-heart","fa-heart-o","fa-heartbeat","fa-history","fa-home","fa-hospital-o","fa-hotel","fa-hourglass","fa-hourglass-1","fa-hourglass-2","fa-hourglass-3","fa-hourglass-end","fa-hourglass-half","fa-hourglass-o","fa-hourglass-start","fa-houzz","fa-html5","fa-i-cursor","fa-ils","fa-image","fa-inbox","fa-indent","fa-industry","fa-info","fa-info-circle","fa-inr","fa-instagram","fa-institution","fa-internet-explorer","fa-intersex","fa-ioxhost","fa-italic","fa-joomla","fa-jpy","fa-jsfiddle","fa-key","fa-keyboard-o","fa-krw","fa-language","fa-laptop","fa-lastfm","fa-lastfm-square","fa-leaf","fa-leanpub","fa-legal","fa-lemon-o","fa-level-down","fa-level-up","fa-life-bouy","fa-life-buoy","fa-life-ring","fa-life-saver","fa-lightbulb-o","fa-line-chart","fa-link","fa-linkedin","fa-linkedin-square","fa-linux","fa-list","fa-list-alt","fa-list-ol","fa-list-ul","fa-location-arrow","fa-lock","fa-long-arrow-down","fa-long-arrow-left","fa-long-arrow-right","fa-long-arrow-up","fa-magic","fa-magnet","fa-mail-forward","fa-mail-reply","fa-mail-reply-all","fa-male","fa-map","fa-map-marker","fa-map-o","fa-map-pin","fa-map-signs","fa-mars-double","fa-mars-stroke","fa-mars-stroke-h","fa-mars-stroke-v","fa-maxcdn","fa-meanpath","fa-medium","fa-medkit","fa-mercury","fa-microphone","fa-microphone-slash","fa-minus","fa-minus-circle","fa-minus-square","fa-minus-square-o","fa-mobile","fa-mobile-phone","fa-money","fa-moon-o","fa-mortar-board","fa-motorcycle","fa-mouse-pointer","fa-music","fa-navicon","fa-neuter","fa-newspaper-o","fa-object-group","fa-object-ungroup","fa-odnoklassniki","fa-odnoklassniki-square","fa-opencart","fa-openid","fa-opera","fa-optin-monster","fa-outdent","fa-pagelines","fa-paint-brush","fa-paper-plane","fa-paper-plane-o","fa-paperclip","fa-paragraph","fa-paste","fa-pause","fa-paw","fa-paypal","fa-pencil","fa-pencil-square","fa-pencil-square-o","fa-phone","fa-phone-square","fa-photo","fa-picture-o","fa-pie-chart","fa-pied-piper","fa-pied-piper-alt","fa-pinterest","fa-pinterest-p","fa-pinterest-square","fa-plane","fa-play","fa-play-circle","fa-play-circle-o","fa-plug","fa-plus","fa-plus-circle","fa-plus-square","fa-plus-square-o","fa-power-off","fa-print","fa-puzzle-piece","fa-qq","fa-qrcode","fa-question","fa-question-circle","fa-quote-left","fa-quote-right","fa-ra","fa-random","fa-rebel","fa-recycle","fa-reddit","fa-reddit-square","fa-refresh","fa-registered","fa-remove","fa-renren","fa-reorder","fa-repeat","fa-reply","fa-reply-all","fa-retweet","fa-rmb","fa-road","fa-rocket","fa-rotate-left","fa-rotate-right","fa-rouble","fa-rss","fa-rss-square","fa-rub","fa-ruble","fa-rupee","fa-safari","fa-save","fa-scissors","fa-search","fa-search-minus","fa-search-plus","fa-sellsy","fa-send","fa-send-o","fa-server","fa-share","fa-share-alt","fa-share-alt-square","fa-share-square","fa-share-square-o","fa-shekel","fa-sheqel","fa-shield","fa-ship","fa-shirtsinbulk","fa-shopping-cart","fa-sign-in","fa-sign-out","fa-signal","fa-simplybuilt","fa-sitemap","fa-skyatlas","fa-skype","fa-slack","fa-sliders","fa-slideshare","fa-smile-o","fa-soccer-ball-o","fa-sort","fa-sort-alpha-asc","fa-sort-alpha-desc","fa-sort-amount-asc","fa-sort-amount-desc","fa-sort-asc","fa-sort-desc","fa-sort-down","fa-sort-numeric-asc","fa-sort-numeric-desc","fa-sort-up","fa-soundcloud","fa-space-shuttle","fa-spinner","fa-spoon","fa-spotify","fa-square","fa-square-o","fa-stack-exchange","fa-stack-overflow","fa-steam","fa-steam-square","fa-star","fa-star-half","fa-star-half-empty","fa-star-half-full","fa-star-half-o","fa-star-o","fa-step-backward","fa-step-forward","fa-stethoscope","fa-sticky-note","fa-sticky-note-o","fa-stop","fa-street-view","fa-strikethrough","fa-stumbleupon","fa-stumbleupon-circle","fa-subscript","fa-subway","fa-suitcase","fa-sun-o","fa-superscript","fa-support","fa-table","fa-tablet","fa-tachometer","fa-tag","fa-tags","fa-tasks","fa-taxi","fa-television","fa-tencent-weibo","fa-terminal","fa-text-height","fa-text-width","fa-th","fa-th-large","fa-th-list","fa-thumb-tack","fa-thumbs-down","fa-thumbs-o-down","fa-thumbs-o-up","fa-thumbs-up","fa-ticket","fa-times","fa-times-circle","fa-times-circle-o","fa-tint","fa-toggle-down","fa-toggle-left","fa-toggle-off","fa-toggle-on","fa-toggle-right","fa-toggle-up","fa-trademark","fa-train","fa-transgender","fa-transgender-alt","fa-trash","fa-trash-o","fa-tree","fa-trello","fa-tripadvisor","fa-trophy","fa-truck","fa-try","fa-tty","fa-tumblr","fa-tumblr-square","fa-turkish-lira","fa-tv","fa-twitch","fa-twitter","fa-twitter-square","fa-umbrella","fa-underline","fa-university","fa-unlink","fa-unlock","fa-unlock-alt","fa-unsorted","fa-upload","fa-usd","fa-user","fa-user-md","fa-user-plus","fa-user-secret","fa-user-times","fa-users","fa-venus","fa-venus-double","fa-venus-mars","fa-viacoin","fa-video-camera","fa-vimeo","fa-vimeo-square","fa-vine","fa-vk","fa-volume-down","fa-volume-off","fa-volume-up","fa-warning","fa-wechat","fa-weibo","fa-weixin","fa-whatsapp","fa-wheelchair","fa-wifi","fa-wikipedia-w","fa-windows","fa-won","fa-wordpress","fa-wrench","fa-xing","fa-xing-square","fa-y-combinator","fa-y-combinator-square","fa-yahoo","fa-yc","fa-yc-square","fa-yelp","fa-yen","fa-youtube","fa-youtube-play","fa-youtube-square"]}),function(t,e){function a(t,e,a){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?a/100:1)]}function i(e,a){return parseInt(t.css(e,a),10)||0}function o(e){var a=e[0];return 9===a.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(a)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:a.preventDefault?{width:0,height:0,offset:{top:a.pageY,left:a.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}t.ui=t.ui||{};var n,r=Math.max,s=Math.abs,f=Math.round,c=/left|center|right/,l=/top|center|bottom/,p=/[\+\-]\d+(\.[\d]+)?%?/,h=/^\w+/,u=/%$/,d=t.fn.pos;t.pos={scrollbarWidth:function(){if(n!==e)return n;var a,i,o=t("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),r=o.children()[0];return t("body").append(o),a=r.offsetWidth,o.css("overflow","scroll"),i=r.offsetWidth,a===i&&(i=o[0].clientWidth),o.remove(),n=a-i},getScrollInfo:function(e){var a=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),i=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),o="scroll"===a||"auto"===a&&e.width<e.element[0].scrollWidth,n="scroll"===i||"auto"===i&&e.height<e.element[0].scrollHeight;return{width:n?t.pos.scrollbarWidth():0,height:o?t.pos.scrollbarWidth():0}},getWithinInfo:function(e){var a=t(e||window),i=t.isWindow(a[0]),o=!!a[0]&&9===a[0].nodeType;return{element:a,isWindow:i,isDocument:o,offset:a.offset()||{left:0,top:0},scrollLeft:a.scrollLeft(),scrollTop:a.scrollTop(),width:i?a.width():a.outerWidth(),height:i?a.height():a.outerHeight()}}},t.fn.pos=function(e){if(!e||!e.of)return d.apply(this,arguments);e=t.extend({},e);var n,u,m,g,b,k,v=t(e.of),w=t.pos.getWithinInfo(e.within),y=t.pos.getScrollInfo(w),C=(e.collision||"flip").split(" "),x={};return k=o(v),v[0].preventDefault&&(e.at="left top"),u=k.width,m=k.height,g=k.offset,b=t.extend({},g),t.each(["my","at"],function(){var t,a,i=(e[this]||"").split(" ");1===i.length&&(i=c.test(i[0])?i.concat(["center"]):l.test(i[0])?["center"].concat(i):["center","center"]),i[0]=c.test(i[0])?i[0]:"center",i[1]=l.test(i[1])?i[1]:"center",t=p.exec(i[0]),a=p.exec(i[1]),x[this]=[t?t[0]:0,a?a[0]:0],e[this]=[h.exec(i[0])[0],h.exec(i[1])[0]]}),1===C.length&&(C[1]=C[0]),"right"===e.at[0]?b.left+=u:"center"===e.at[0]&&(b.left+=u/2),"bottom"===e.at[1]?b.top+=m:"center"===e.at[1]&&(b.top+=m/2),n=a(x.at,u,m),b.left+=n[0],b.top+=n[1],this.each(function(){var o,c,l=t(this),p=l.outerWidth(),h=l.outerHeight(),d=i(this,"marginLeft"),k=i(this,"marginTop"),q=p+d+i(this,"marginRight")+y.width,_=h+k+i(this,"marginBottom")+y.height,I=t.extend({},b),W=a(x.my,l.outerWidth(),l.outerHeight());"right"===e.my[0]?I.left-=p:"center"===e.my[0]&&(I.left-=p/2),"bottom"===e.my[1]?I.top-=h:"center"===e.my[1]&&(I.top-=h/2),I.left+=W[0],I.top+=W[1],t.support.offsetFractions||(I.left=f(I.left),I.top=f(I.top)),o={marginLeft:d,marginTop:k},t.each(["left","top"],function(a,i){t.ui.pos[C[a]]&&t.ui.pos[C[a]][i](I,{targetWidth:u,targetHeight:m,elemWidth:p,elemHeight:h,collisionPosition:o,collisionWidth:q,collisionHeight:_,offset:[n[0]+W[0],n[1]+W[1]],my:e.my,at:e.at,within:w,elem:l})}),e.using&&(c=function(t){var a=g.left-I.left,i=a+u-p,o=g.top-I.top,n=o+m-h,f={target:{element:v,left:g.left,top:g.top,width:u,height:m},element:{element:l,left:I.left,top:I.top,width:p,height:h},horizontal:0>i?"left":a>0?"right":"center",vertical:0>n?"top":o>0?"bottom":"middle"};p>u&&s(a+i)<u&&(f.horizontal="center"),h>m&&s(o+n)<m&&(f.vertical="middle"),f.important=r(s(a),s(i))>r(s(o),s(n))?"horizontal":"vertical",e.using.call(this,t,f)}),l.offset(t.extend(I,{using:c}))})},t.ui.pos={_trigger:function(t,e,a,i){e.elem&&e.elem.trigger({type:a,position:t,positionData:e,triggered:i})},fit:{left:function(e,a){t.ui.pos._trigger(e,a,"posCollide","fitLeft");var i,o=a.within,n=o.isWindow?o.scrollLeft:o.offset.left,s=o.width,f=e.left-a.collisionPosition.marginLeft,c=n-f,l=f+a.collisionWidth-s-n;a.collisionWidth>s?c>0&&0>=l?(i=e.left+c+a.collisionWidth-s-n,e.left+=c-i):e.left=l>0&&0>=c?n:c>l?n+s-a.collisionWidth:n:c>0?e.left+=c:l>0?e.left-=l:e.left=r(e.left-f,e.left),t.ui.pos._trigger(e,a,"posCollided","fitLeft")},top:function(e,a){t.ui.pos._trigger(e,a,"posCollide","fitTop");var i,o=a.within,n=o.isWindow?o.scrollTop:o.offset.top,s=a.within.height,f=e.top-a.collisionPosition.marginTop,c=n-f,l=f+a.collisionHeight-s-n;a.collisionHeight>s?c>0&&0>=l?(i=e.top+c+a.collisionHeight-s-n,e.top+=c-i):e.top=l>0&&0>=c?n:c>l?n+s-a.collisionHeight:n:c>0?e.top+=c:l>0?e.top-=l:e.top=r(e.top-f,e.top),t.ui.pos._trigger(e,a,"posCollided","fitTop")}},flip:{left:function(e,a){t.ui.pos._trigger(e,a,"posCollide","flipLeft");var i,o,n=a.within,r=n.offset.left+n.scrollLeft,f=n.width,c=n.isWindow?n.scrollLeft:n.offset.left,l=e.left-a.collisionPosition.marginLeft,p=l-c,h=l+a.collisionWidth-f-c,u="left"===a.my[0]?-a.elemWidth:"right"===a.my[0]?a.elemWidth:0,d="left"===a.at[0]?a.targetWidth:"right"===a.at[0]?-a.targetWidth:0,m=-2*a.offset[0];0>p?(i=e.left+u+d+m+a.collisionWidth-f-r,(0>i||i<s(p))&&(e.left+=u+d+m)):h>0&&(o=e.left-a.collisionPosition.marginLeft+u+d+m-c,(o>0||s(o)<h)&&(e.left+=u+d+m)),t.ui.pos._trigger(e,a,"posCollided","flipLeft")},top:function(e,a){t.ui.pos._trigger(e,a,"posCollide","flipTop");var i,o,n=a.within,r=n.offset.top+n.scrollTop,f=n.height,c=n.isWindow?n.scrollTop:n.offset.top,l=e.top-a.collisionPosition.marginTop,p=l-c,h=l+a.collisionHeight-f-c,u="top"===a.my[1],d=u?-a.elemHeight:"bottom"===a.my[1]?a.elemHeight:0,m="top"===a.at[1]?a.targetHeight:"bottom"===a.at[1]?-a.targetHeight:0,g=-2*a.offset[1];0>p?(o=e.top+d+m+g+a.collisionHeight-f-r,e.top+d+m+g>p&&(0>o||o<s(p))&&(e.top+=d+m+g)):h>0&&(i=e.top-a.collisionPosition.marginTop+d+m+g-c,e.top+d+m+g>h&&(i>0||s(i)<h)&&(e.top+=d+m+g)),t.ui.pos._trigger(e,a,"posCollided","flipTop")}},flipfit:{left:function(){t.ui.pos.flip.left.apply(this,arguments),t.ui.pos.fit.left.apply(this,arguments)},top:function(){t.ui.pos.flip.top.apply(this,arguments),t.ui.pos.fit.top.apply(this,arguments)}}},function(){var e,a,i,o,n,r=document.getElementsByTagName("body")[0],s=document.createElement("div");e=document.createElement(r?"div":"body"),i={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},r&&t.extend(i,{position:"absolute",left:"-1000px",top:"-1000px"});for(n in i)e.style[n]=i[n];e.appendChild(s),a=r||document.documentElement,a.insertBefore(e,a.firstChild),s.style.cssText="position: absolute; left: 10.7432222px;",o=t(s).offset().left,t.support.offsetFractions=o>10&&11>o,e.innerHTML="",a.removeChild(e)}()}(jQuery);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/min/ui-iconpicker.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .cherry-ui-iconpicker-group{max-width:230px;position:relative}.cherry-ui-iconpicker-group .input-group-addon{position:absolute;width:36px;height:36px;left:0px;top:0px;background:#f1f1f1;font-size:14px;line-height:36px;text-align:center;border-radius:3px 0 0 3px;border-right:1px solid #dddcdc;margin:7px}.cherry-ui-iconpicker-group .input-group-addon .fa{line-height:36px}.cherry-ui-iconpicker-group .cherry-ui-text{font-size:14px;line-height:20px;color:#23282d;background-color:#f1f1f1;border-radius:2px;padding:10px 20px;height:50px;border:1px solid #f1f1f1;box-shadow:none;padding-left:60px}.cherry-ui-iconpicker-group .cherry-ui-text:focus{border-color:rgba(72,197,105,0.6);box-shadow:0 0 2px rgba(72,197,105,0.6)}.iconpicker-popover.popover{position:absolute;top:0;left:0;display:none;max-width:none;padding:1px;text-align:left;width:242px;background:#f0f0f0;z-index:999}.iconpicker-popover.popover.top,.iconpicker-popover.popover.topLeftCorner,.iconpicker-popover.popover.topLeft,.iconpicker-popover.popover.topRight,.iconpicker-popover.popover.topRightCorner{margin-top:-10px}.iconpicker-popover.popover.right,.iconpicker-popover.popover.rightTop,.iconpicker-popover.popover.rightBottom{margin-left:10px}.iconpicker-popover.popover.bottom,.iconpicker-popover.popover.bottomRightCorner,.iconpicker-popover.popover.bottomRight,.iconpicker-popover.popover.bottomLeft,.iconpicker-popover.popover.bottomLeftCorner{margin-top:10px}.iconpicker-popover.popover.left,.iconpicker-popover.popover.leftBottom,.iconpicker-popover.popover.leftTop{margin-left:-10px}.iconpicker-popover.popover.inline{margin:0 0 14px 0;position:relative;display:inline-block;opacity:1;top:auto;left:auto;bottom:auto;right:auto;max-width:100%;box-shadow:none;z-index:auto;vertical-align:top}.iconpicker-popover.popover.inline>.arrow{display:none}.dropdown-menu .iconpicker-popover.inline{margin:0;border:none}.dropdown-menu.iconpicker-container{padding:0}.iconpicker-popover.popover .popover-title{padding:14px;font-size:14px;line-height:16px;border-bottom:1px solid #ebebeb;background-color:#f0f0f0}.iconpicker-popover.popover .popover-title input[type=search].iconpicker-search{margin:0 0 2px 0}.iconpicker-popover.popover .popover-title-text ~ input[type=search].iconpicker-search{margin-top:14px}.iconpicker-popover.popover .popover-content{padding:0px;text-align:center}.iconpicker-popover .popover-footer{float:none;clear:both;padding:14px;text-align:right;margin:0;border-top:1px solid #ebebeb;background-color:#f0f0f0}.iconpicker-popover .popover-footer:before,.iconpicker-popover .popover-footer:after{content:" ";display:table}.iconpicker-popover .popover-footer:after{clear:both}.iconpicker-popover .popover-footer .iconpicker-btn{margin-left:10px}.iconpicker-popover .popover-footer input[type=search].iconpicker-search{margin-bottom:14px}.iconpicker-popover.popover>.arrow,.iconpicker-popover.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.iconpicker-popover.popover>.arrow{border-width:11px}.iconpicker-popover.popover>.arrow:after{border-width:10px;content:""}.iconpicker-popover.popover.top>.arrow,.iconpicker-popover.popover.topLeft>.arrow,.iconpicker-popover.popover.topRight>.arrow{left:50%;margin-left:-11px;border-bottom-width:0;border-top-color:#f0f0f0;bottom:-11px}.iconpicker-popover.popover.top>.arrow:after,.iconpicker-popover.popover.topLeft>.arrow:after,.iconpicker-popover.popover.topRight>.arrow:after{content:" ";bottom:1px;margin-left:-10px;border-bottom-width:0;border-top-color:#ffffff}.iconpicker-popover.popover.topLeft>.arrow{left:14px;margin-left:0}.iconpicker-popover.popover.topRight>.arrow{left:auto;right:14px;margin-left:0}.iconpicker-popover.popover.right>.arrow,.iconpicker-popover.popover.rightTop>.arrow,.iconpicker-popover.popover.rightBottom>.arrow{top:50%;left:-11px;margin-top:-11px;border-left-width:0;border-right-color:#f0f0f0}.iconpicker-popover.popover.right>.arrow:after,.iconpicker-popover.popover.rightTop>.arrow:after,.iconpicker-popover.popover.rightBottom>.arrow:after{content:" ";left:1px;bottom:-10px;border-left-width:0;border-right-color:#ffffff}.iconpicker-popover.popover.rightTop>.arrow{top:auto;bottom:14px;margin-top:0}.iconpicker-popover.popover.rightBottom>.arrow{top:14px;margin-top:0}.iconpicker-popover.popover.bottom>.arrow,.iconpicker-popover.popover.bottomRight>.arrow,.iconpicker-popover.popover.bottomLeft>.arrow{left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#f0f0f0;top:-11px}.iconpicker-popover.popover.bottom>.arrow:after,.iconpicker-popover.popover.bottomRight>.arrow:after,.iconpicker-popover.popover.bottomLeft>.arrow:after{content:" ";top:1px;margin-left:-10px;border-top-width:0;border-bottom-color:#f0f0f0}.iconpicker-popover.popover.bottomLeft>.arrow{left:14px;margin-left:0}.iconpicker-popover.popover.bottomRight>.arrow{left:auto;right:14px;margin-left:0}.iconpicker-popover.popover.left>.arrow,.iconpicker-popover.popover.leftBottom>.arrow,.iconpicker-popover.popover.leftTop>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#f0f0f0}.iconpicker-popover.popover.left>.arrow:after,.iconpicker-popover.popover.leftBottom>.arrow:after,.iconpicker-popover.popover.leftTop>.arrow:after{content:" ";right:1px;border-right-width:0;border-left-color:#ffffff;bottom:-10px}.iconpicker-popover.popover.leftBottom>.arrow{top:14px;margin-top:0}.iconpicker-popover.popover.leftTop>.arrow{top:auto;bottom:14px;margin-top:0}.iconpicker{position:relative;text-align:left;text-shadow:none;line-height:0;display:block;margin:0;overflow:hidden}.iconpicker *{box-sizing:content-box;position:relative}.iconpicker:before,.iconpicker:after{content:" ";display:table}.iconpicker:after{clear:both}.iconpicker .iconpicker-items{position:relative;clear:both;float:none;padding:10px 0 0 10px;background:#fff;margin:0;overflow:hidden;overflow-y:auto;min-height:55px;max-height:275px}.iconpicker .iconpicker-items:before,.iconpicker .iconpicker-items:after{content:" ";display:table}.iconpicker .iconpicker-items:after{clear:both}.iconpicker .iconpicker-item{float:left;width:28px;height:28px;line-height:28px;margin:0 7px 7px 0;text-align:center;cursor:pointer;border-radius:3px;font-size:18px;color:#444;box-shadow:0 0 0 1px #dddddd}.iconpicker .iconpicker-item .fa{line-height:28px}.iconpicker .iconpicker-item:hover:not(.iconpicker-selected){background-color:#eeeeee}.iconpicker .iconpicker-item.iconpicker-selected{box-shadow:none;background:#ddd}.iconpicker-component{cursor:pointer}
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/min/ui-iconpicker.min.js ADDED
@@ -0,0 +1 @@
 
1
+ !function(e,i){"use strict";i.utilites.namespace("ui_elements.iconpicker"),i.ui_elements.iconpicker={init:function(){e(document).on("ready",this.render).on("cherry-ui-elements-init",this.render)},render:function(i){var n,t,c,r=i._target?i._target:e("body"),o=e('.cherry-ui-iconpicker:not([name*="__i__"])',r);o.each(function(){n=e(this),t=n.data("set"),c=window[t],n.length&&c.icons&&n.iconpicker({icons:c.icons,iconBaseClass:c.iconBase,iconClassPrefix:c.iconPrefix,animation:!1,fullClassFormatter:function(e){return c.iconBase+" "+c.iconPrefix+e}}).on("iconpickerUpdated",function(){e(this).trigger("change")}),c&&e("body").append('<link rel="stylesheet" type="text/css" href="'+c.iconCSS+'"">')})}},i.ui_elements.iconpicker.init()}(jQuery,window.CherryJsCore);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-iconpicker.js ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Iconpicker
3
+ */
4
+ (function( $, CherryJsCore ) {
5
+ 'use strict';
6
+
7
+ CherryJsCore.utilites.namespace( 'ui_elements.iconpicker' );
8
+ CherryJsCore.ui_elements.iconpicker = {
9
+ init: function() {
10
+ $( document )
11
+ .on( 'ready', this.render )
12
+ .on( 'cherry-ui-elements-init', this.render );
13
+ },
14
+ render: function( event ) {
15
+ var target = ( event._target ) ? event._target : $( 'body' ),
16
+ $picker = $( '.cherry-ui-iconpicker:not([name*="__i__"])', target ),
17
+ $this,
18
+ set,
19
+ setData;
20
+
21
+ $picker.each( function() {
22
+ $this = $( this );
23
+ set = $this.data( 'set' );
24
+ setData = window[set];
25
+
26
+ if ( $this.length && setData.icons ) {
27
+ $this.iconpicker({
28
+ icons: setData.icons,
29
+ iconBaseClass: setData.iconBase,
30
+ iconClassPrefix: setData.iconPrefix,
31
+ animation: false,
32
+ fullClassFormatter: function( val ) {
33
+ return setData.iconBase + ' ' + setData.iconPrefix + val;
34
+ }
35
+ }).on( 'iconpickerUpdated', function() {
36
+ $( this ).trigger( 'change' );
37
+ });
38
+ }
39
+
40
+ if ( setData ) {
41
+ $( 'body' ).append( '<link rel="stylesheet" type="text/css" href="' + setData.iconCSS + '"">' );
42
+ }
43
+ } );
44
+ }
45
+ };
46
+
47
+ CherryJsCore.ui_elements.iconpicker.init();
48
+
49
+ }( jQuery, window.CherryJsCore ) );
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-iconpicker.scss ADDED
@@ -0,0 +1,322 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import "ui-kit/variables";
2
+ @import "ui-kit/mixins";
3
+
4
+ .cherry-ui-iconpicker-group {
5
+ max-width: 230px;
6
+ position: relative;
7
+ .input-group-addon {
8
+ position: absolute;
9
+ width: 36px;
10
+ height: 36px;
11
+ left: 0px;
12
+ top: 0px;
13
+ background: $grey_color_3;
14
+ font-size: 14px;
15
+ line-height: 36px;
16
+ text-align: center;
17
+ border-radius: 3px 0 0 3px;
18
+ border-right: 1px solid #dddcdc;
19
+ margin: 7px;
20
+ .fa {
21
+ line-height: 36px;
22
+ }
23
+ }
24
+ .cherry-ui-text{
25
+ @include input();
26
+ padding-left: 60px;
27
+ }
28
+ }
29
+
30
+ .iconpicker-popover.popover {
31
+ position: absolute;
32
+ top: 0;
33
+ left: 0;
34
+ display: none;
35
+ max-width: none;
36
+ padding: 1px;
37
+ text-align: left;
38
+ width: 242px;
39
+ background: #f0f0f0;
40
+ z-index: 999;
41
+ }
42
+ .iconpicker-popover.popover.top,
43
+ .iconpicker-popover.popover.topLeftCorner,
44
+ .iconpicker-popover.popover.topLeft,
45
+ .iconpicker-popover.popover.topRight,
46
+ .iconpicker-popover.popover.topRightCorner {
47
+ margin-top: -10px;
48
+ }
49
+ .iconpicker-popover.popover.right,
50
+ .iconpicker-popover.popover.rightTop,
51
+ .iconpicker-popover.popover.rightBottom {
52
+ margin-left: 10px;
53
+ }
54
+ .iconpicker-popover.popover.bottom,
55
+ .iconpicker-popover.popover.bottomRightCorner,
56
+ .iconpicker-popover.popover.bottomRight,
57
+ .iconpicker-popover.popover.bottomLeft,
58
+ .iconpicker-popover.popover.bottomLeftCorner {
59
+ margin-top: 10px;
60
+ }
61
+ .iconpicker-popover.popover.left,
62
+ .iconpicker-popover.popover.leftBottom,
63
+ .iconpicker-popover.popover.leftTop {
64
+ margin-left: -10px;
65
+ }
66
+ .iconpicker-popover.popover.inline {
67
+ margin: 0 0 14px 0;
68
+ position: relative;
69
+ display: inline-block;
70
+ opacity: 1;
71
+ top: auto;
72
+ left: auto;
73
+ bottom: auto;
74
+ right: auto;
75
+ max-width: 100%;
76
+ box-shadow: none;
77
+ z-index: auto;
78
+ vertical-align: top;
79
+ }
80
+ .iconpicker-popover.popover.inline > .arrow {
81
+ display: none;
82
+ }
83
+ .dropdown-menu .iconpicker-popover.inline {
84
+ margin: 0;
85
+ border: none;
86
+ }
87
+ .dropdown-menu.iconpicker-container {
88
+ padding: 0;
89
+ }
90
+ .iconpicker-popover.popover .popover-title {
91
+ padding: 14px;
92
+ font-size: 14px;
93
+ line-height: 16px;
94
+ border-bottom: 1px solid #ebebeb;
95
+ background-color: #f0f0f0;
96
+ }
97
+ .iconpicker-popover.popover .popover-title input[type=search].iconpicker-search {
98
+ margin: 0 0 2px 0;
99
+ }
100
+ .iconpicker-popover.popover .popover-title-text ~ input[type=search].iconpicker-search {
101
+ margin-top: 14px;
102
+ }
103
+ .iconpicker-popover.popover .popover-content {
104
+ padding: 0px;
105
+ text-align: center;
106
+ }
107
+ .iconpicker-popover .popover-footer {
108
+ float: none;
109
+ clear: both;
110
+ padding: 14px;
111
+ text-align: right;
112
+ margin: 0;
113
+ border-top: 1px solid #ebebeb;
114
+ background-color: #f0f0f0;
115
+ }
116
+ .iconpicker-popover .popover-footer:before,
117
+ .iconpicker-popover .popover-footer:after {
118
+ content: " ";
119
+ display: table;
120
+ }
121
+ .iconpicker-popover .popover-footer:after {
122
+ clear: both;
123
+ }
124
+ .iconpicker-popover .popover-footer .iconpicker-btn {
125
+ margin-left: 10px;
126
+ }
127
+ .iconpicker-popover .popover-footer input[type=search].iconpicker-search {
128
+ margin-bottom: 14px;
129
+ }
130
+ .iconpicker-popover.popover > .arrow,
131
+ .iconpicker-popover.popover > .arrow:after {
132
+ position: absolute;
133
+ display: block;
134
+ width: 0;
135
+ height: 0;
136
+ border-color: transparent;
137
+ border-style: solid;
138
+ }
139
+ .iconpicker-popover.popover > .arrow {
140
+ border-width: 11px;
141
+ }
142
+ .iconpicker-popover.popover > .arrow:after {
143
+ border-width: 10px;
144
+ content: "";
145
+ }
146
+ .iconpicker-popover.popover.top > .arrow,
147
+ .iconpicker-popover.popover.topLeft > .arrow,
148
+ .iconpicker-popover.popover.topRight > .arrow {
149
+ left: 50%;
150
+ margin-left: -11px;
151
+ border-bottom-width: 0;
152
+ border-top-color: #f0f0f0;
153
+ bottom: -11px;
154
+ }
155
+ .iconpicker-popover.popover.top > .arrow:after,
156
+ .iconpicker-popover.popover.topLeft > .arrow:after,
157
+ .iconpicker-popover.popover.topRight > .arrow:after {
158
+ content: " ";
159
+ bottom: 1px;
160
+ margin-left: -10px;
161
+ border-bottom-width: 0;
162
+ border-top-color: #ffffff;
163
+ }
164
+ .iconpicker-popover.popover.topLeft > .arrow {
165
+ left: 14px;
166
+ margin-left: 0;
167
+ }
168
+ .iconpicker-popover.popover.topRight > .arrow {
169
+ left: auto;
170
+ right: 14px;
171
+ margin-left: 0;
172
+ }
173
+ .iconpicker-popover.popover.right > .arrow,
174
+ .iconpicker-popover.popover.rightTop > .arrow,
175
+ .iconpicker-popover.popover.rightBottom > .arrow {
176
+ top: 50%;
177
+ left: -11px;
178
+ margin-top: -11px;
179
+ border-left-width: 0;
180
+ border-right-color: #f0f0f0;
181
+ }
182
+ .iconpicker-popover.popover.right > .arrow:after,
183
+ .iconpicker-popover.popover.rightTop > .arrow:after,
184
+ .iconpicker-popover.popover.rightBottom > .arrow:after {
185
+ content: " ";
186
+ left: 1px;
187
+ bottom: -10px;
188
+ border-left-width: 0;
189
+ border-right-color: #ffffff;
190
+ }
191
+ .iconpicker-popover.popover.rightTop > .arrow {
192
+ top: auto;
193
+ bottom: 14px;
194
+ margin-top: 0;
195
+ }
196
+ .iconpicker-popover.popover.rightBottom > .arrow {
197
+ top: 14px;
198
+ margin-top: 0;
199
+ }
200
+ .iconpicker-popover.popover.bottom > .arrow,
201
+ .iconpicker-popover.popover.bottomRight > .arrow,
202
+ .iconpicker-popover.popover.bottomLeft > .arrow {
203
+ left: 50%;
204
+ margin-left: -11px;
205
+ border-top-width: 0;
206
+ border-bottom-color: #f0f0f0;
207
+ top: -11px;
208
+ }
209
+ .iconpicker-popover.popover.bottom > .arrow:after,
210
+ .iconpicker-popover.popover.bottomRight > .arrow:after,
211
+ .iconpicker-popover.popover.bottomLeft > .arrow:after {
212
+ content: " ";
213
+ top: 1px;
214
+ margin-left: -10px;
215
+ border-top-width: 0;
216
+ border-bottom-color: #f0f0f0;
217
+ }
218
+ .iconpicker-popover.popover.bottomLeft > .arrow {
219
+ left: 14px;
220
+ margin-left: 0;
221
+ }
222
+ .iconpicker-popover.popover.bottomRight > .arrow {
223
+ left: auto;
224
+ right: 14px;
225
+ margin-left: 0;
226
+ }
227
+ .iconpicker-popover.popover.left > .arrow,
228
+ .iconpicker-popover.popover.leftBottom > .arrow,
229
+ .iconpicker-popover.popover.leftTop > .arrow {
230
+ top: 50%;
231
+ right: -11px;
232
+ margin-top: -11px;
233
+ border-right-width: 0;
234
+ border-left-color: #f0f0f0;
235
+ }
236
+ .iconpicker-popover.popover.left > .arrow:after,
237
+ .iconpicker-popover.popover.leftBottom > .arrow:after,
238
+ .iconpicker-popover.popover.leftTop > .arrow:after {
239
+ content: " ";
240
+ right: 1px;
241
+ border-right-width: 0;
242
+ border-left-color: #ffffff;
243
+ bottom: -10px;
244
+ }
245
+ .iconpicker-popover.popover.leftBottom > .arrow {
246
+ top: 14px;
247
+ margin-top: 0;
248
+ }
249
+ .iconpicker-popover.popover.leftTop > .arrow {
250
+ top: auto;
251
+ bottom: 14px;
252
+ margin-top: 0;
253
+ }
254
+ .iconpicker {
255
+ position: relative;
256
+ text-align: left;
257
+ text-shadow: none;
258
+ line-height: 0;
259
+ display: block;
260
+ margin: 0;
261
+ overflow: hidden;
262
+ }
263
+ .iconpicker * {
264
+ -webkit-box-sizing: content-box;
265
+ -moz-box-sizing: content-box;
266
+ box-sizing: content-box;
267
+ position: relative;
268
+ }
269
+ .iconpicker:before,
270
+ .iconpicker:after {
271
+ content: " ";
272
+ display: table;
273
+ }
274
+ .iconpicker:after {
275
+ clear: both;
276
+ }
277
+ .iconpicker .iconpicker-items {
278
+ position: relative;
279
+ clear: both;
280
+ float: none;
281
+ padding: 10px 0 0 10px;
282
+ background: #fff;
283
+ margin: 0;
284
+ overflow: hidden;
285
+ overflow-y: auto;
286
+ min-height: 55px;
287
+ max-height: 275px;
288
+ }
289
+ .iconpicker .iconpicker-items:before,
290
+ .iconpicker .iconpicker-items:after {
291
+ content: " ";
292
+ display: table;
293
+ }
294
+ .iconpicker .iconpicker-items:after {
295
+ clear: both;
296
+ }
297
+ .iconpicker .iconpicker-item {
298
+ float: left;
299
+ width: 28px;
300
+ height: 28px;
301
+ line-height: 28px;
302
+ margin: 0 7px 7px 0;
303
+ text-align: center;
304
+ cursor: pointer;
305
+ border-radius: 3px;
306
+ font-size: 18px;
307
+ color: #444;
308
+ box-shadow: 0 0 0 1px #dddddd;
309
+ .fa {
310
+ line-height: 28px;
311
+ }
312
+ }
313
+ .iconpicker .iconpicker-item:hover:not(.iconpicker-selected) {
314
+ background-color: #eeeeee;
315
+ }
316
+ .iconpicker .iconpicker-item.iconpicker-selected {
317
+ box-shadow: none;
318
+ background: #ddd;
319
+ }
320
+ .iconpicker-component {
321
+ cursor: pointer;
322
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-kit/_mixins.scss ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @mixin button_base() {
2
+ display: inline-block;
3
+ text-decoration: none;
4
+ font-size: 12px;
5
+ line-height: 20px;
6
+ font-weight: bold;
7
+ padding: 15px 20px;
8
+ color: #fff;
9
+ text-transform: uppercase;
10
+ border-radius: $border_radius_small;
11
+ transition: all 200ms linear;
12
+ box-shadow: $box_shadow;
13
+ &:hover {
14
+ color: #fff;
15
+ box-shadow: none;
16
+ }
17
+ &:focus,
18
+ &:active {
19
+ outline: none;
20
+ box-shadow: none;
21
+ color: #fff;
22
+ }
23
+ }
24
+
25
+ @mixin button_normal() {
26
+ background: $dark_color_2;
27
+ &:hover {
28
+ background: $dark_color_2_h;
29
+ }
30
+ }
31
+
32
+ @mixin button_primary() {
33
+ background: $blue_color;
34
+ &:hover {
35
+ background: $blue_color_h;
36
+ }
37
+ }
38
+
39
+ @mixin button_success() {
40
+ background: $green_color;
41
+ &:hover {
42
+ background: $green_color_h;
43
+ }
44
+ }
45
+
46
+ @mixin button_danger() {
47
+ background: $red_color;
48
+ &:hover {
49
+ background: $red_color_h;
50
+ }
51
+ }
52
+
53
+ @mixin button_warning() {
54
+ background: $orange_color;
55
+ &:hover {
56
+ background: $orange_color_h;
57
+ }
58
+ }
59
+
60
+ @mixin input() {
61
+ font-size: 14px;
62
+ line-height: 20px;
63
+ color: $dark_color_1;
64
+ background-color: $grey_color_3;
65
+ border-radius: $border_radius_extra_small;
66
+ padding: 10px 20px;
67
+ height: 50px;
68
+ border: 1px solid $grey_color_3;
69
+ box-shadow: none;
70
+ &:focus{
71
+ border-color: rgba(72,197,105,.6);
72
+ box-shadow: 0 0 2px rgba(72,197,105,.6);
73
+ }
74
+ }
75
+
76
+ @mixin button_icon( $icon ) {
77
+ content: $icon;
78
+ display: inline-block;
79
+ font-family: dashicons;
80
+ font-size: 16px;
81
+ font-style: normal;
82
+ font-weight: 400;
83
+ height: 18px;
84
+ line-height: 18px;
85
+ text-align: center;
86
+ text-decoration: inherit;
87
+ transition: all 200ms linear;
88
+ vertical-align: middle;
89
+ }
90
+
91
+ @mixin button_icon_before( $icon ) {
92
+ &:before {
93
+ @include button_icon( $icon );
94
+ padding: 0 5px 0 0;
95
+ }
96
+ }
97
+
98
+ @mixin button_icon_after( $icon ) {
99
+ &:after {
100
+ @include button_icon( $icon );
101
+ padding: 0 0 0 5px;
102
+ }
103
+ }
104
+
105
+ @mixin button_icon_middle( $icon ) {
106
+ &:before {
107
+ @include button_icon( $icon );
108
+ margin: 0 -5px;
109
+ }
110
+ }
111
+
112
+ @mixin link() {
113
+ display: inline-block;
114
+ text-decoration: none;
115
+ font-size: 12px;
116
+ line-height: 20px;
117
+ font-weight: bold;
118
+ color: $blue_color;
119
+ text-transform: uppercase;
120
+ transition: all 200ms linear;
121
+ &:hover {
122
+ color: $dark_color_1;
123
+ box-shadow: none;
124
+ }
125
+ &:focus,
126
+ &:active {
127
+ outline: none;
128
+ box-shadow: none;
129
+ color: $blue_color;
130
+ }
131
+ }
132
+
133
+ @mixin link_icon_before( $icon ) {
134
+ &:before {
135
+ @include button_icon( $icon );
136
+ padding: 0 5px 0 0;
137
+ color: $grey_color_4;
138
+ }
139
+ &:hover {
140
+ &:before {
141
+ color: $blue_color;
142
+ }
143
+ }
144
+ }
145
+
146
+ @mixin container() {
147
+ padding: 30px;
148
+ border: 2px solid $grey_color_2;
149
+ background: $grey_color_3;
150
+ border-radius: $border_radius_large;
151
+ }
152
+
153
+ @mixin container_heading() {
154
+ margin: -30px -30px 30px -30px;
155
+ border-radius: $border_radius_large $border_radius_large 0 0;
156
+ border-bottom: 1px solid $grey_color_2;
157
+ padding: 20px 30px;
158
+ font-weight: bold;
159
+ font-size: 16px;
160
+ line-height: 18px;
161
+ text-align: center;
162
+ background: #fff;
163
+ }
164
+
165
+ @mixin box() {
166
+ margin: 0 0 30px;
167
+ padding: 20px;
168
+ background: #fff;
169
+ box-shadow: $box_shadow_box;
170
+ border-radius: $border_radius;
171
+ }
172
+
173
+ @mixin box_heading() {
174
+ margin: -20px -20px 20px -20px;
175
+ border-radius: $border_radius_small $border_radius_small 0 0;
176
+ border-bottom: 1px solid $grey_color_2;
177
+ padding: 20px 30px;
178
+ font-weight: bold;
179
+ font-size: 16px;
180
+ line-height: 18px;
181
+ background: #fff;
182
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/assets/ui-kit/_variables.scss ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $dark_color_1: #23282d;
2
+ $dark_color_2: #495159;
3
+ $dark_color_2_h: #393f45;
4
+ $grey_color_1: #96989a;
5
+ $grey_color_2: #e5e5e5;
6
+ $grey_color_3: #f1f1f1;
7
+ $grey_color_4: #b4b7ba;
8
+ $blue_color: #298ffc;
9
+ $blue_color_h: #206ff4;
10
+ $green_color: #48c569;
11
+ $green_color_h: #3ba956;
12
+ $red_color: #e54343;
13
+ $red_color_h: #c73434;
14
+ $orange_color: #faa730;
15
+ $orange_color_h: #ee8425;
16
+
17
+ $border_radius_extra_small: 2px;
18
+ $border_radius_small: 4px;
19
+ $border_radius_medium: 6px;
20
+ $border_radius_large: 8px;
21
+
22
+ $box_shadow: 0 5px 13px rgba(0,0,0,.18);
23
+ $box_shadow_box: 0 8px 21px rgba(0,0,0,.1);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-iconpicker/ui-iconpicker.php ADDED
@@ -0,0 +1,295 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class for the building ui-iconpicker elements.
4
+ *
5
+ * @package Cherry_Framework
6
+ * @subpackage Class
7
+ * @author Cherry Team <support@cherryframework.com>
8
+ * @copyright Copyright (c) 2012 - 2015, Cherry Team
9
+ * @link http://www.cherryframework.com/
10
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-3.0.html
11
+ */
12
+
13
+ // If this file is called directly, abort.
14
+ if ( ! defined( 'WPINC' ) ) {
15
+ die;
16
+ }
17
+
18
+ if ( ! class_exists( 'UI_Iconpicker' ) ) {
19
+
20
+ /**
21
+ * Class for the building ui-iconpicker elements.
22
+ */
23
+ class UI_Iconpicker extends UI_Element implements I_UI {
24
+
25
+ /**
26
+ * Default settings
27
+ *
28
+ * @var array
29
+ */
30
+ private $defaults_settings = array(
31
+ 'type' => 'iconpicker',
32
+ 'id' => 'cherry-ui-input-id',
33
+ 'name' => 'cherry-ui-input-name',
34
+ 'value' => '',
35
+ 'placeholder' => '',
36
+ 'icon_data' => array(),
37
+ 'auto_parse' => false,
38
+ 'label' => '',
39
+ 'class' => '',
40
+ 'master' => '',
41
+ 'required' => false,
42
+ );
43
+
44
+ /**
45
+ * Default icon data settings
46
+ *
47
+ * @var array
48
+ */
49
+ private $default_icon_data = array(
50
+ 'icon_set' => '',
51
+ 'icon_css' => '',
52
+ 'icon_base' => 'icon',
53
+ 'icon_prefix' => '',
54
+ 'icons' => '',
55
+ );
56
+
57
+ /**
58
+ * Icons sets
59
+ *
60
+ * @var array
61
+ */
62
+ public static $sets = array();
63
+
64
+ /**
65
+ * Check if sets already printed
66
+ *
67
+ * @var boolean
68
+ */
69
+ public static $printed = false;
70
+
71
+ /**
72
+ * Array of already printed sets to check it before printing current
73
+ *
74
+ * @var array
75
+ */
76
+ public static $printed_sets = array();
77
+
78
+ /**
79
+ * Constructor method for the UI_Text class.
80
+ *
81
+ * @since 4.0.0
82
+ */
83
+ function __construct( $args = array() ) {
84
+ $this->defaults_settings['id'] = 'cherry-ui-input-icon-' . uniqid();
85
+ $this->settings = wp_parse_args( $args, $this->defaults_settings );
86
+
87
+ add_action( 'admin_enqueue_scripts', array( __CLASS__, 'enqueue_assets' ) );
88
+ add_action( 'admin_footer', array( $this, 'print_icon_set' ), 1 );
89
+ add_action( 'customize_controls_print_footer_scripts', array( $this, 'print_icon_set' ), 9999 );
90
+ }
91
+
92
+ /**
93
+ * Get required attribute
94
+ *
95
+ * @return string required attribute
96
+ */
97
+ public function get_required() {
98
+ if ( $this->settings['required'] ) {
99
+ return 'required="required"';
100
+ }
101
+ return '';
102
+ }
103
+
104
+ /**
105
+ * Render html UI_Text.
106
+ *
107
+ * @since 4.0.0
108
+ */
109
+ public function render() {
110
+ $html = '';
111
+ $class = $this->settings['class'];
112
+ $class .= ' ' . $this->settings['master'];
113
+
114
+ $html .= '<div class="cherry-ui-container ' . esc_attr( $class ) . '">';
115
+ if ( '' !== $this->settings['label'] ) {
116
+ $html .= '<label class="cherry-label" for="' . esc_attr( $this->settings['id'] ) . '">' . esc_html( $this->settings['label'] ) . '</label> ';
117
+ }
118
+
119
+ $this->settings['icon_data'] = wp_parse_args(
120
+ $this->settings['icon_data'],
121
+ $this->default_icon_data
122
+ );
123
+
124
+ $this->maybe_parse_set_from_css();
125
+
126
+ $html .= '<div class="cherry-ui-iconpicker-group">';
127
+
128
+ if ( $this->validate_icon_data( $this->settings['icon_data'] ) ) {
129
+ $html .= $this->render_picker();
130
+ } else {
131
+ $html .= 'Incorrect Icon Data Settings';
132
+ }
133
+
134
+ $html .= '</div>';
135
+ $html .= '</div>';
136
+ return $html;
137
+ }
138
+
139
+ /**
140
+ * Returns iconpicker html markup
141
+ *
142
+ * @return string
143
+ */
144
+ private function render_picker() {
145
+
146
+ $format = '<span class="input-group-addon"></span><input type="text" name="%1$s" id="%2$s" value="%3$s" class="widefat cherry-ui-text cherry-ui-iconpicker %4$s" data-set="%5$s">';
147
+
148
+ $this->prepare_icon_set();
149
+
150
+ return sprintf(
151
+ $format,
152
+ $this->settings['name'],
153
+ $this->settings['id'],
154
+ $this->settings['value'],
155
+ $this->settings['class'],
156
+ $this->settings['icon_data']['icon_set']
157
+ );
158
+
159
+ }
160
+
161
+ /**
162
+ * Return JS markup for icon set variable.
163
+ *
164
+ * @return void
165
+ */
166
+ public function prepare_icon_set() {
167
+
168
+ if ( ! array_key_exists( $this->settings['icon_data']['icon_set'], self::$sets ) ) {
169
+ self::$sets[ $this->settings['icon_data']['icon_set'] ] = array(
170
+ 'iconCSS' => $this->settings['icon_data']['icon_css'],
171
+ 'iconBase' => $this->settings['icon_data']['icon_base'],
172
+ 'iconPrefix' => $this->settings['icon_data']['icon_prefix'],
173
+ 'icons' => $this->settings['icon_data']['icons'],
174
+ );
175
+ }
176
+
177
+ }
178
+
179
+ /**
180
+ * Check if 'parse_set' is true and try to get icons set from CSS file
181
+ *
182
+ * @return void
183
+ */
184
+ private function maybe_parse_set_from_css() {
185
+
186
+ if ( true !== $this->settings['auto_parse'] || empty( $this->settings['icon_data']['icon_css'] ) ) {
187
+ return;
188
+ }
189
+
190
+ ob_start();
191
+
192
+ $path = str_replace( WP_CONTENT_URL, WP_CONTENT_DIR, $this->settings['icon_data']['icon_css'] );
193
+ if ( file_exists( $path ) ) {
194
+ include $path;
195
+ }
196
+
197
+ $result = ob_get_clean();
198
+
199
+ preg_match_all( '/\.([-a-zA-Z0-9]+):before[, {]/', $result, $matches );
200
+
201
+ if ( ! is_array( $matches ) || empty( $matches[1] ) ) {
202
+ return;
203
+ }
204
+
205
+ if ( is_array( $this->settings['icon_data']['icons'] ) ) {
206
+ $this->settings['icon_data']['icons'] = array_merge(
207
+ $this->settings['icon_data']['icons'],
208
+ $matches[1]
209
+ );
210
+ } else {
211
+ $this->settings['icon_data']['icons'] = $matches[1];
212
+ }
213
+
214
+ }
215
+
216
+ /**
217
+ * Checks if all required icon data fields are passed
218
+ *
219
+ * @param array $data Icon data.
220
+ * @return bool
221
+ */
222
+ private function validate_icon_data( $data ) {
223
+
224
+ $validate = array_diff( $this->default_icon_data, array( 'icon_base', 'icon_prefix' ) );
225
+
226
+ foreach ( $validate as $key => $field ) {
227
+
228
+ if ( empty( $data[ $key ] ) ) {
229
+ return false;
230
+ }
231
+
232
+ return true;
233
+ }
234
+
235
+ }
236
+
237
+ /**
238
+ * Print icon sets
239
+ *
240
+ * @return void
241
+ */
242
+ public function print_icon_set() {
243
+
244
+ if ( empty( self::$sets ) || true === self::$printed ) {
245
+ return;
246
+ }
247
+
248
+ self::$printed = true;
249
+
250
+ foreach ( self::$sets as $set => $data ) {
251
+
252
+ if ( in_array( $set, self::$printed_sets ) ) {
253
+ continue;
254
+ }
255
+
256
+ self::$printed_sets[] = $set;
257
+ $json = json_encode( $data );
258
+
259
+ printf( '<script>window.%1$s = %2$s</script>', $set, $json );
260
+ }
261
+
262
+ }
263
+
264
+ /**
265
+ * Enqueue javascript and stylesheet UI_Text
266
+ *
267
+ * @since 4.0.0
268
+ */
269
+ public static function enqueue_assets() {
270
+
271
+ wp_enqueue_style(
272
+ 'ui-iconpicker',
273
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-iconpicker.min.css', __FILE__ ) ),
274
+ array(),
275
+ '1.0.0',
276
+ 'all'
277
+ );
278
+
279
+ wp_enqueue_script(
280
+ 'jquery-iconpicker',
281
+ esc_url( Cherry_Core::base_url( 'assets/min/jquery-iconpicker.min.js', __FILE__ ) ),
282
+ array( 'jquery' ),
283
+ '1.0.0',
284
+ true
285
+ );
286
+ wp_enqueue_script(
287
+ 'ui-iconpicker',
288
+ esc_url( Cherry_Core::base_url( 'assets/min/ui-iconpicker.min.js', __FILE__ ) ),
289
+ array( 'jquery' ),
290
+ '1.0.0',
291
+ true
292
+ );
293
+ }
294
+ }
295
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/min/ui-media.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .cherry-ui-container{margin:10px 0 20px 0}label.cherry-label{margin:0 0 5px 0;display:block}.cherry-ui-media-wrap .cherry-upload-preview{display:block;margin:0 0 5px 0}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap{position:relative;display:inline-block;vertical-align:top;width:120px;height:120px}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner{width:110px;height:110px;margin:3px;position:relative;border:2px solid #298ffc;border-radius:2px;overflow:hidden}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .preview-holder{width:100%;height:100%;position:relative;background:#f1f1f1;box-sizing:border-box}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .preview-holder .centered{position:absolute;width:100%;height:100%;top:0;left:0;-webkit-transform:translate(50%, 50%);-ms-transform:translate(50%, 50%);transform:translate(50%, 50%)}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .preview-holder img{max-width:100%;height:auto;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .preview-holder span{width:auto;height:auto;font-size:60px;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap .inner .title{position:absolute;width:100%;padding:5px 0;bottom:0;left:0;color:#fff;background:rgba(41,143,252,0.8);text-align:center;font-size:11px;overflow:hidden}.cherry-ui-media-wrap .cherry-upload-preview .cherry-image-wrap:hover .cherry-remove-image{display:block}.cherry-ui-media-wrap .cherry-upload-preview .cherry-media-thumb-sortable-placeholder{width:112px;height:112px;margin:3px;vertical-align:top;border:1px dashed #96989a;display:inline-block;background-color:#f1f1f1}.cherry-ui-media-wrap .upload-button{float:left}.cherry-ui-media-wrap .cherry-remove-image{width:30px;height:30px;color:#e54343;display:block;position:absolute;top:0;right:0;cursor:pointer;text-decoration:none;outline:0;display:none}.cherry-ui-media-wrap .cherry-remove-image i{width:30px;height:30px;font-size:30px}.cherry-ui-media-wrap .cherry-remove-image:hover{color:#c73434}.cherry-ui-media-wrap .cherry-bgsetting{float:left;width:32%;margin-right:1%}.cherry-ui-media-wrap .cherry-bgsetting:nth-child(3n+1){width:34%;margin-right:0}.cherry-ui-media-wrap .cherry-bgsetting select{margin-bottom:10px}.button-default_{display:inline-block;text-decoration:none;font-size:12px;line-height:20px;font-weight:bold;padding:15px 20px;color:#fff;text-transform:uppercase;border-radius:4px;-webkit-transition:all 200ms linear;transition:all 200ms linear;box-shadow:0 5px 13px rgba(0,0,0,0.18);border:none;cursor:pointer;background:#495159}.button-default_:hover{color:#fff;box-shadow:none}.button-default_:focus,.button-default_:active{outline:none;box-shadow:none;color:#fff}.button-default_:hover{background:#393f45}
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/min/ui-media.min.js ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Media
3
+ */
4
+ (function( $, CherryJsCore){
5
+ 'use strict';
6
+
7
+ CherryJsCore.utilites.namespace('ui_elements.media');
8
+ CherryJsCore.ui_elements.media = {
9
+ init: function () {
10
+ $( document )
11
+ .on( 'ready', this.render )
12
+ .on( 'cherry-ui-elements-init', this.render );
13
+ },
14
+ render: function ( event ) {
15
+ var target = ( event._target ) ? event._target : $( 'body' ),
16
+ buttons = $('.cherry-upload-button', target);
17
+
18
+ buttons.each( function() {
19
+ var button = $( this ),
20
+ button_parent = button.closest('.cherry-ui-media-wrap'),
21
+ settings = {
22
+ input: $('.cherry-upload-input', button_parent),
23
+ img_holder: $('.cherry-upload-preview', button_parent),
24
+ title_text: button.data('title'),
25
+ multiple: button.data('multi-upload'),
26
+ library_type: button.data('library-type'),
27
+ },
28
+ cherry_uploader = wp.media.frames.file_frame = wp.media({
29
+ title: settings.title_text,
30
+ button: { text: settings.title_text },
31
+ multiple: settings.multiple,
32
+ library : { type : settings.library_type }
33
+ });
34
+
35
+ if ( ! button_parent.has('input[name*="__i__"]')[ 0 ] ) {
36
+ button.on( 'click', function() {
37
+ cherry_uploader.open();
38
+ return !1;
39
+ } ); // end click
40
+
41
+ cherry_uploader.on('select', function() {
42
+ var attachment = cherry_uploader.state().get('selection').toJSON(),
43
+ count = 0,
44
+ input_value = '',
45
+ new_img_object = $('.cherry-all-images-wrap', settings.img_holder),
46
+ new_img = '',
47
+ delimiter = '';
48
+
49
+ if ( settings.multiple ) {
50
+ input_value = settings.input.val();
51
+ delimiter = ',';
52
+ new_img = new_img_object.html();
53
+ }
54
+
55
+ while( attachment[ count ] ) {
56
+ var img_data = attachment[count],
57
+ return_data = img_data.id,
58
+ mimeType = img_data.mime,
59
+ img_src = '',
60
+ thumb = '';
61
+
62
+ switch (mimeType) {
63
+ case 'image/jpeg':
64
+ case 'image/png':
65
+ case 'image/gif':
66
+ if( img_data.sizes !== undefined){
67
+ img_src = img_data.sizes.thumbnail ? img_data.sizes.thumbnail.url : img_data.sizes.full.url;
68
+ }
69
+ thumb = '<img src="' + img_src + '" alt="" data-img-attr="'+return_data+'">';
70
+ break;
71
+ case 'image/x-icon':
72
+ thumb = '<span class="dashicons dashicons-format-image"></span>';
73
+ break;
74
+ case 'video/mpeg':
75
+ case 'video/mp4':
76
+ case 'video/quicktime':
77
+ case 'video/webm':
78
+ case 'video/ogg':
79
+ thumb = '<span class="dashicons dashicons-format-video"></span>';
80
+ break;
81
+ case 'audio/mpeg':
82
+ case 'audio/wav':
83
+ case 'audio/ogg':
84
+ thumb = '<span class="dashicons dashicons-format-audio"></span>';
85
+ break;
86
+ }
87
+
88
+ new_img += '<div class="cherry-image-wrap">'+
89
+ '<div class="inner">'+
90
+ '<div class="preview-holder" data-id-attr="' + return_data +'"><div class="centered">' + thumb + '</div></div>'+
91
+ '<a class="cherry-remove-image" href="#"><i class="dashicons dashicons-no"></i></a>'+
92
+ '<span class="title">' + img_data.title + '</span>'+
93
+ '</div>'+
94
+ '</div>';
95
+
96
+ input_value += delimiter+return_data;
97
+ count++;
98
+ }
99
+
100
+ settings.input.val(input_value.replace(/(^,)/, '')).trigger( 'change' );
101
+ new_img_object.html(new_img);
102
+ } );
103
+
104
+ var removeMediaPreview = function( item ) {
105
+ var button_parent = item.closest('.cherry-ui-media-wrap'),
106
+ input = $('.cherry-upload-input', button_parent),
107
+ img_holder = item.parent().parent('.cherry-image-wrap'),
108
+ img_attr = $('.preview-holder', img_holder).data('id-attr'),
109
+ input_value = input.attr('value'),
110
+ pattern = new RegExp(''+img_attr+'(,*)', 'i');
111
+
112
+ input_value = input_value.replace(pattern, '');
113
+ input_value = input_value.replace(/(,$)/, '');
114
+ input.attr({'value':input_value}).trigger( 'change' );
115
+ img_holder.remove();
116
+ };
117
+
118
+ // This function remove upload image
119
+ button_parent.on('click', '.cherry-remove-image', function () {
120
+ removeMediaPreview( $(this) );
121
+ return !1;
122
+ });
123
+ }
124
+ } ); // end each
125
+
126
+ // Image ordering
127
+ $('.cherry-all-images-wrap', target).sortable( {
128
+ items: 'div.cherry-image-wrap',
129
+ cursor: 'move',
130
+ scrollSensitivity: 40,
131
+ forcePlaceholderSize: true,
132
+ forceHelperSize: false,
133
+ helper: 'clone',
134
+ opacity: 0.65,
135
+ placeholder: 'cherry-media-thumb-sortable-placeholder',
136
+ start:function(){},
137
+ stop:function(){},
138
+ update: function() {
139
+ var attachment_ids = '';
140
+ $('.cherry-image-wrap', this).each(
141
+ function() {
142
+ var attachment_id = $('.preview-holder', this).data( 'id-attr' );
143
+ attachment_ids = attachment_ids + attachment_id + ',';
144
+ }
145
+ );
146
+ attachment_ids = attachment_ids.substr(0, attachment_ids.lastIndexOf(',') );
147
+ $(this).parent().siblings('.cherry-element-wrap').find('input.cherry-upload-input').val( attachment_ids ).trigger( 'change' );
148
+ }
149
+ } );
150
+ // End Image ordering
151
+ }
152
+ };
153
+
154
+ CherryJsCore.ui_elements.media.init();
155
+
156
+ }( jQuery , window.CherryJsCore ) );
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-kit/_mixins.scss ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @mixin button_base() {
2
+ display: inline-block;
3
+ text-decoration: none;
4
+ font-size: 12px;
5
+ line-height: 20px;
6
+ font-weight: bold;
7
+ padding: 15px 20px;
8
+ color: #fff;
9
+ text-transform: uppercase;
10
+ border-radius: $border_radius_small;
11
+ transition: all 200ms linear;
12
+ box-shadow: $box_shadow;
13
+ border: none;
14
+ cursor: pointer;
15
+ &:hover {
16
+ color: #fff;
17
+ box-shadow: none;
18
+ }
19
+ &:focus,
20
+ &:active {
21
+ outline: none;
22
+ box-shadow: none;
23
+ color: #fff;
24
+ }
25
+ }
26
+
27
+ @mixin button_normal() {
28
+ background: $dark_color_2;
29
+ &:hover {
30
+ background: $dark_color_2_h;
31
+ }
32
+ }
33
+
34
+ @mixin button_primary() {
35
+ background: $blue_color;
36
+ &:hover {
37
+ background: $blue_color_h;
38
+ }
39
+ }
40
+
41
+ @mixin button_success() {
42
+ background: $green_color;
43
+ &:hover {
44
+ background: $green_color_h;
45
+ }
46
+ }
47
+
48
+ @mixin button_danger() {
49
+ background: $red_color;
50
+ &:hover {
51
+ background: $red_color_h;
52
+ }
53
+ }
54
+
55
+ @mixin button_warning() {
56
+ background: $orange_color;
57
+ &:hover {
58
+ background: $orange_color_h;
59
+ }
60
+ }
61
+
62
+ @mixin input() {
63
+ font-size: 14px;
64
+ line-height: 20px;
65
+ color: $dark_color_1;
66
+ background-color: $grey_color_3;
67
+ border-radius: $border_radius_extra_small;
68
+ padding: 10px 20px;
69
+ height: 50px;
70
+ border: 1px solid $grey_color_3;
71
+ box-shadow: none;
72
+ &:focus{
73
+ border-color: rgba(72,197,105,.6);
74
+ box-shadow: 0 0 2px rgba(72,197,105,.6);
75
+ }
76
+ }
77
+
78
+ @mixin button_icon( $icon ) {
79
+ content: $icon;
80
+ display: inline-block;
81
+ font-family: dashicons;
82
+ font-size: 16px;
83
+ font-style: normal;
84
+ font-weight: 400;
85
+ height: 18px;
86
+ line-height: 18px;
87
+ text-align: center;
88
+ text-decoration: inherit;
89
+ transition: all 200ms linear;
90
+ vertical-align: middle;
91
+ }
92
+
93
+ @mixin button_icon_before( $icon ) {
94
+ &:before {
95
+ @include button_icon( $icon );
96
+ padding: 0 5px 0 0;
97
+ }
98
+ }
99
+
100
+ @mixin button_icon_after( $icon ) {
101
+ &:after {
102
+ @include button_icon( $icon );
103
+ padding: 0 0 0 5px;
104
+ }
105
+ }
106
+
107
+ @mixin button_icon_middle( $icon ) {
108
+ &:before {
109
+ @include button_icon( $icon );
110
+ margin: 0 -5px;
111
+ }
112
+ }
113
+
114
+ @mixin link() {
115
+ display: inline-block;
116
+ text-decoration: none;
117
+ font-size: 12px;
118
+ line-height: 20px;
119
+ font-weight: bold;
120
+ color: $blue_color;
121
+ text-transform: uppercase;
122
+ transition: all 200ms linear;
123
+ &:hover {
124
+ color: $dark_color_1;
125
+ box-shadow: none;
126
+ }
127
+ &:focus,
128
+ &:active {
129
+ outline: none;
130
+ box-shadow: none;
131
+ color: $blue_color;
132
+ }
133
+ }
134
+
135
+ @mixin link_icon_before( $icon ) {
136
+ &:before {
137
+ @include button_icon( $icon );
138
+ padding: 0 5px 0 0;
139
+ color: $grey_color_4;
140
+ }
141
+ &:hover {
142
+ &:before {
143
+ color: $blue_color;
144
+ }
145
+ }
146
+ }
147
+
148
+ @mixin container() {
149
+ padding: 30px;
150
+ border: 2px solid $grey_color_2;
151
+ background: $grey_color_3;
152
+ border-radius: $border_radius_large;
153
+ }
154
+
155
+ @mixin container_heading() {
156
+ margin: -30px -30px 30px -30px;
157
+ border-radius: $border_radius_large $border_radius_large 0 0;
158
+ border-bottom: 1px solid $grey_color_2;
159
+ padding: 20px 30px;
160
+ font-weight: bold;
161
+ font-size: 16px;
162
+ line-height: 18px;
163
+ text-align: center;
164
+ background: #fff;
165
+ }
166
+
167
+ @mixin box() {
168
+ margin: 0 0 30px;
169
+ padding: 20px;
170
+ background: #fff;
171
+ box-shadow: $box_shadow_box;
172
+ border-radius: $border_radius;
173
+ }
174
+
175
+ @mixin box_heading() {
176
+ margin: -20px -20px 20px -20px;
177
+ border-radius: $border_radius_small $border_radius_small 0 0;
178
+ border-bottom: 1px solid $grey_color_2;
179
+ padding: 20px 30px;
180
+ font-weight: bold;
181
+ font-size: 16px;
182
+ line-height: 18px;
183
+ background: #fff;
184
+ }
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-kit/_variables.scss ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ $dark_color_1: #23282d;
2
+ $dark_color_2: #495159;
3
+ $dark_color_2_h: #393f45;
4
+ $grey_color_1: #96989a;
5
+ $grey_color_2: #e5e5e5;
6
+ $grey_color_3: #f1f1f1;
7
+ $grey_color_4: #b4b7ba;
8
+ $blue_color: #298ffc;
9
+ $blue_color_h: #206ff4;
10
+ $green_color: #48c569;
11
+ $green_color_h: #3ba956;
12
+ $red_color: #e54343;
13
+ $red_color_h: #c73434;
14
+ $orange_color: #faa730;
15
+ $orange_color_h: #ee8425;
16
+
17
+ $border_radius_extra_small: 2px;
18
+ $border_radius_small: 4px;
19
+ $border_radius_medium: 6px;
20
+ $border_radius_large: 8px;
21
+
22
+ $box_shadow: 0 5px 13px rgba(0,0,0,.18);
23
+ $box_shadow_box: 0 8px 21px rgba(0,0,0,.1);
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-media.js ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Media
3
+ */
4
+ (function( $, CherryJsCore){
5
+ 'use strict';
6
+
7
+ CherryJsCore.utilites.namespace('ui_elements.media');
8
+ CherryJsCore.ui_elements.media = {
9
+ init: function () {
10
+ $( document )
11
+ .on( 'ready', this.render )
12
+ .on( 'cherry-ui-elements-init', this.render );
13
+ },
14
+ render: function ( event ) {
15
+ var target = ( event._target ) ? event._target : $( 'body' ),
16
+ buttons = $('.cherry-upload-button', target);
17
+
18
+ buttons.each( function() {
19
+ var button = $( this ),
20
+ button_parent = button.closest('.cherry-ui-media-wrap'),
21
+ settings = {
22
+ input: $('.cherry-upload-input', button_parent),
23
+ img_holder: $('.cherry-upload-preview', button_parent),
24
+ title_text: button.data('title'),
25
+ multiple: button.data('multi-upload'),
26
+ library_type: button.data('library-type'),
27
+ },
28
+ cherry_uploader = wp.media.frames.file_frame = wp.media({
29
+ title: settings.title_text,
30
+ button: { text: settings.title_text },
31
+ multiple: settings.multiple,
32
+ library : { type : settings.library_type }
33
+ });
34
+
35
+ if ( ! button_parent.has('input[name*="__i__"]')[ 0 ] ) {
36
+ button.on( 'click', function() {
37
+ cherry_uploader.open();
38
+ return !1;
39
+ } ); // end click
40
+
41
+ cherry_uploader.on('select', function() {
42
+ var attachment = cherry_uploader.state().get('selection').toJSON(),
43
+ count = 0,
44
+ input_value = '',
45
+ new_img_object = $('.cherry-all-images-wrap', settings.img_holder),
46
+ new_img = '',
47
+ delimiter = '';
48
+
49
+ if ( settings.multiple ) {
50
+ input_value = settings.input.val();
51
+ delimiter = ',';
52
+ new_img = new_img_object.html();
53
+ }
54
+
55
+ while( attachment[ count ] ) {
56
+ var img_data = attachment[count],
57
+ return_data = img_data.id,
58
+ mimeType = img_data.mime,
59
+ img_src = '',
60
+ thumb = '';
61
+
62
+ switch (mimeType) {
63
+ case 'image/jpeg':
64
+ case 'image/png':
65
+ case 'image/gif':
66
+ if( img_data.sizes !== undefined){
67
+ img_src = img_data.sizes.thumbnail ? img_data.sizes.thumbnail.url : img_data.sizes.full.url;
68
+ }
69
+ thumb = '<img src="' + img_src + '" alt="" data-img-attr="'+return_data+'">';
70
+ break;
71
+ case 'image/x-icon':
72
+ thumb = '<span class="dashicons dashicons-format-image"></span>';
73
+ break;
74
+ case 'video/mpeg':
75
+ case 'video/mp4':
76
+ case 'video/quicktime':
77
+ case 'video/webm':
78
+ case 'video/ogg':
79
+ thumb = '<span class="dashicons dashicons-format-video"></span>';
80
+ break;
81
+ case 'audio/mpeg':
82
+ case 'audio/wav':
83
+ case 'audio/ogg':
84
+ thumb = '<span class="dashicons dashicons-format-audio"></span>';
85
+ break;
86
+ }
87
+
88
+ new_img += '<div class="cherry-image-wrap">'+
89
+ '<div class="inner">'+
90
+ '<div class="preview-holder" data-id-attr="' + return_data +'"><div class="centered">' + thumb + '</div></div>'+
91
+ '<a class="cherry-remove-image" href="#"><i class="dashicons dashicons-no"></i></a>'+
92
+ '<span class="title">' + img_data.title + '</span>'+
93
+ '</div>'+
94
+ '</div>';
95
+
96
+ input_value += delimiter+return_data;
97
+ count++;
98
+ }
99
+
100
+ settings.input.val(input_value.replace(/(^,)/, '')).trigger( 'change' );
101
+ new_img_object.html(new_img);
102
+ } );
103
+
104
+ var removeMediaPreview = function( item ) {
105
+ var button_parent = item.closest('.cherry-ui-media-wrap'),
106
+ input = $('.cherry-upload-input', button_parent),
107
+ img_holder = item.parent().parent('.cherry-image-wrap'),
108
+ img_attr = $('.preview-holder', img_holder).data('id-attr'),
109
+ input_value = input.attr('value'),
110
+ pattern = new RegExp(''+img_attr+'(,*)', 'i');
111
+
112
+ input_value = input_value.replace(pattern, '');
113
+ input_value = input_value.replace(/(,$)/, '');
114
+ input.attr({'value':input_value}).trigger( 'change' );
115
+ img_holder.remove();
116
+ };
117
+
118
+ // This function remove upload image
119
+ button_parent.on('click', '.cherry-remove-image', function () {
120
+ removeMediaPreview( $(this) );
121
+ return !1;
122
+ });
123
+ }
124
+ } ); // end each
125
+
126
+ // Image ordering
127
+ $('.cherry-all-images-wrap', target).sortable( {
128
+ items: 'div.cherry-image-wrap',
129
+ cursor: 'move',
130
+ scrollSensitivity: 40,
131
+ forcePlaceholderSize: true,
132
+ forceHelperSize: false,
133
+ helper: 'clone',
134
+ opacity: 0.65,
135
+ placeholder: 'cherry-media-thumb-sortable-placeholder',
136
+ start:function(){},
137
+ stop:function(){},
138
+ update: function() {
139
+ var attachment_ids = '';
140
+ $('.cherry-image-wrap', this).each(
141
+ function() {
142
+ var attachment_id = $('.preview-holder', this).data( 'id-attr' );
143
+ attachment_ids = attachment_ids + attachment_id + ',';
144
+ }
145
+ );
146
+ attachment_ids = attachment_ids.substr(0, attachment_ids.lastIndexOf(',') );
147
+ $(this).parent().siblings('.cherry-element-wrap').find('input.cherry-upload-input').val( attachment_ids ).trigger( 'change' );
148
+ }
149
+ } );
150
+ // End Image ordering
151
+ }
152
+ };
153
+
154
+ CherryJsCore.ui_elements.media.init();
155
+
156
+ }( jQuery , window.CherryJsCore ) );
cherry-framework/modules/cherry-ui-elements/inc/ui-elements/ui-media/assets/ui-media.scss ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
1
+ @import "ui-kit/variables";
2
+ @import "ui-kit/mixins";
3
+
4
+ .cherry-ui-container{
5
+ margin: 10