Version Description
Download this release
Release Info
Developer | DannyCooper |
Plugin | Google Fonts for WordPress |
Version | 2.2.2 |
Comparing to | |
See all releases |
Code changes from version 2.2.1 to 2.2.2
- blocks/dist/blocks.build.js +1 -1
- blocks/init.php +2 -0
- blocks/package-lock.json +6 -6
- blocks/src/google-fonts/edit.js +32 -13
- changelog.txt +4 -0
- includes/customizer/settings.php +41 -38
- olympus-google-fonts.php +2 -2
- readme.txt +1 -1
blocks/dist/blocks.build.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(i){function a(e){if(t[e])return t[e].exports;var l=t[e]={i:e,l:!1,exports:{}};return i[e].call(l.exports,l,l.exports,a),l.l=!0,l.exports}var t={};a.m=i,a.c=t,a.d=function(i,t,e){a.o(i,t)||Object.defineProperty(i,t,{configurable:!1,enumerable:!0,get:e})},a.n=function(i){var t=i&&i.__esModule?function(){return i.default}:function(){return i};return a.d(t,"a",t),t},a.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},a.p="",a(a.s=0)}([function(i,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});t(1)},function(i,a,t){"use strict";var e=t(2),l=t(5),__=wp.i18n.__;(0,wp.blocks.registerBlockType)("olympus-google-fonts/google-fonts",{title:__("Google Fonts","olympus-google-fonts"),category:"common",icon:wp.element.createElement("svg",{baseProfile:"tiny",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),wp.element.createElement("path",{d:"M9.93 13.5h4.14L12 7.98zM20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-4.05 16.5l-1.14-3H9.17l-1.12 3H5.96l5.11-13h1.86l5.11 13h-2.09z"})),keywords:[__("Fonts","olympus-google-fonts"),__("Heading","olympus-google-fonts")],transforms:l.a,edit:e.a,save:function(){return null}})},function(i,a,t){"use strict";function e(i,a){if(!(i instanceof a))throw new TypeError("Cannot call a class as a function")}function l(i,a){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||"object"!==typeof a&&"function"!==typeof a?i:a}function f(i,a){if("function"!==typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function, not "+typeof a);i.prototype=Object.create(a&&a.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(i,a):i.__proto__=a)}var c=t(3),v=t.n(c),n=t(4),o=t.n(n),r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"===typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},s=function(){function i(i,a){for(var t=0;t<a.length;t++){var e=a[t];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(i,e.key,e)}}return function(a,t,e){return t&&i(a.prototype,t),e&&i(a,e),a}}(),__=wp.i18n.__,u=wp.element,d=u.Component,m=u.Fragment,S=wp.components,h=S.SelectControl,p=S.RangeControl,g=S.PanelBody,b=wp.editor,y=b.RichText,C=b.InspectorControls,k=b.BlockControls,M=b.AlignmentToolbar,O=b.PanelColorSettings,w=function(i){function a(){return e(this,a),l(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return f(a,i),s(a,[{key:"componentDidUpdate",value:function(i){this.props.attributes.fontID!==i.attributes.fontID&&(this.props.attributes.v="0")}},{key:"getFontsForSelect",value:function(){var i=o.a.items.map(function(i){var a=i.label;return{value:i.id,label:a}}),a=v.a.items.map(function(i){var a=i.f;return{value:a.replace(/\s+/g,"+"),label:a}}),t=i.concat(a),e=Object.values(ogf_custom_fonts).map(function(i){return{value:i.id,label:i.label}});return t.concat(e)}},{key:"searchFonts",value:function(i,a){for(var t=0;t<a.length;t++)if(a[t].id===i)return a[t]}},{key:"isCustomFont",value:function(i){var a=this.searchFonts(i,Object.values(ogf_custom_fonts));return"object"===("undefined"===typeof a?"undefined":r(a))}},{key:"isSystemFont",value:function(i){var a=this.searchFonts(i,o.a.items);return"object"===("undefined"===typeof a?"undefined":r(a))}},{key:"isItalic",value:function(i){return!i.includes("0i")}},{key:"getVariantsForSelect",value:function(i){if(i){var a={0:__("- Default -","olympus-google-fonts"),100:__("Thin","olympus-google-fonts"),200:__("Extra Light","olympus-google-fonts"),300:__("Light","olympus-google-fonts"),400:__("Normal","olympus-google-fonts"),500:__("Medium","olympus-google-fonts"),600:__("Semi Bold","olympus-google-fonts"),700:__("Bold","olympus-google-fonts"),800:__("Extra Bold","olympus-google-fonts"),900:__("Ultra Bold","olympus-google-fonts")};return-1===i.v.indexOf("0")?i.v.unshift("0"):console.log("This item already exists"),i.v.filter(this.isItalic).map(function(i){return{value:i,label:a[i]}})}}},{key:"getFontObject",value:function(i){if(i)for(var a=0;a<v.a.items.length;a++)if(v.a.items[a].f===i)return v.a.items[a]}},{key:"addGoogleFontToHead",value:function(i,a){if(i&&a){var t=document.head,e=document.createElement("link");e.type="text/css",e.rel="stylesheet",e.href="https://fonts.googleapis.com/css?family="+i.replace(/\s+/g,"+")+":"+a.v.join(","),t.appendChild(e)}}},{key:"render",value:function(){var i=this.props,a=i.attributes,t=i.setAttributes,e=a.fontID,l=a.content,f=a.align,c=a.variant,v=a.fontSize,n=a.lineHeight,o=a.color,r=a.blockType,s=this.getFontsForSelect();s.unshift({label:"- Default -",value:"0"});var u=[{value:"0",label:"- Default -"},{value:"400",label:"Regular"},{value:"700",label:"Bold"}];if(!this.isSystemFont(e)&&!this.isCustomFont(e)){var d=this.getFontObject(e.replace(/\+/g," "));u=this.getVariantsForSelect(d),this.addGoogleFontToHead(e,d)}var S=wp.element.createElement(C,null,wp.element.createElement(g,{title:__("Font Settings","olympus-google-fonts")},wp.element.createElement(h,{label:__("Block Type","olympus-google-fonts"),type:"string",value:r,options:[{label:"Paragraph",value:"p"},{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"Span",value:"span"}],onChange:function(i){return t({blockType:i})}}),wp.element.createElement(h,{label:__("Font","olympus-google-fonts"),type:"string",value:e,options:s,onChange:function(i){return t({fontID:i})}}),wp.element.createElement(h,{label:__("Font Variant","olympus-google-fonts"),type:"string",value:c,options:u,onChange:function(i){return t({variant:i})}}),wp.element.createElement(p,{label:__("Font Size","olympus-google-fonts"),value:v,onChange:function(i){return t({fontSize:i})},allowReset:!0,min:"10",max:"50"}),wp.element.createElement(p,{label:__("Line Height","olympus-google-fonts"),value:n,onChange:function(i){return t({lineHeight:i})},allowReset:!0,min:"1",max:"3",step:"0.1"}),wp.element.createElement(O,{title:__("Color Settings","olympus-google-fonts"),colorSettings:[{value:a.color,onChange:function(i){return t({color:i})},label:__("Text Color","olympus-google-fonts")}]})));return wp.element.createElement(m,null,S,wp.element.createElement(k,null,wp.element.createElement(M,{value:f,onChange:function(i){return t({align:i})}})),wp.element.createElement(y,{tagName:r||"p",value:l,onChange:function(i){return t({content:i})},style:{fontSize:v?v+"px":void 0,textAlign:f,fontFamily:e.replace(/\+/g," "),fontWeight:c,lineHeight:n,color:o},placeholder:__("Add some content...","olympus-google-fonts"),formattingControls:["italic","link"]}))}}]),a}(d);a.a=w},function(i,a){i.exports={kind:"webfonts#webfontList",items:[{f:"ABeeZee",v:["400","400italic"]},{f:"Abel",v:["400"]},{f:"Abhaya Libre",v:["400","500","600","700","800"]},{f:"Abril Fatface",v:["400"]},{f:"Aclonica",v:["400"]},{f:"Acme",v:["400"]},{f:"Actor",v:["400"]},{f:"Adamina",v:["400"]},{f:"Advent Pro",v:["100","200","300","400","500","600","700"]},{f:"Aguafina Script",v:["400"]},{f:"Akronim",v:["400"]},{f:"Aladin",v:["400"]},{f:"Alata",v:["400"]},{f:"Alatsi",v:["400"]},{f:"Aldrich",v:["400"]},{f:"Alef",v:["400","700"]},{f:"Alegreya",v:["400","400italic","500","500italic","700","700italic","800","800italic","900","900italic"]},{f:"Alegreya SC",v:["400","400italic","500","500italic","700","700italic","800","800italic","900","900italic"]},{f:"Alegreya Sans",v:["100","100italic","300","300italic","400","400italic","500","500italic","700","700italic","800","800italic","900","900italic"]},{f:"Alegreya Sans SC",v:["100","100italic","300","300italic","400","400italic","500","500italic","700","700italic","800","800italic","900","900italic"]},{f:"Aleo",v:["300","300italic","400","400italic","700","700italic"]},{f:"Alex Brush",v:["400"]},{f:"Alfa Slab One",v:["400"]},{f:"Alice",v:["400"]},{f:"Alike",v:["400"]},{f:"Alike Angular",v:["400"]},{f:"Allan",v:["400","700"]},{f:"Allerta",v:["400"]},{f:"Allerta Stencil",v:["400"]},{f:"Allura",v:["400"]},{f:"Almarai",v:["300","400","700","800"]},{f:"Almendra",v:["400","400italic","700","700italic"]},{f:"Almendra Display",v:["400"]},{f:"Almendra SC",v:["400"]},{f:"Amarante",v:["400"]},{f:"Amaranth",v:["400","400italic","700","700italic"]},{f:"Amatic SC",v:["400","700"]},{f:"Amethysta",v:["400"]},{f:"Amiko",v:["400","600","700"]},{f:"Amiri",v:["400","400italic","700","700italic"]},{f:"Amita",v:["400","700"]},{f:"Anaheim",v:["400"]},{f:"Andada",v:["400"]},{f:"Andika",v:["400"]},{f:"Angkor",v:["400"]},{f:"Annie Use Your Telescope",v:["400"]},{f:"Anonymous Pro",v:["400","400italic","700","700italic"]},{f:"Antic",v:["400"]},{f:"Antic Didone",v:["400"]},{f:"Antic Slab",v:["400"]},{f:"Anton",v:["400"]},{f:"Arapey",v:["400","400italic"]},{f:"Arbutus",v:["400"]},{f:"Arbutus Slab",v:["400"]},{f:"Architects Daughter",v:["400"]},{f:"Archivo",v:["400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Archivo Black",v:["400"]},{f:"Archivo Narrow",v:["400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Aref Ruqaa",v:["400","700"]},{f:"Arima Madurai",v:["100","200","300","400","500","700","800","900"]},{f:"Arimo",v:["400","400italic","700","700italic"]},{f:"Arizonia",v:["400"]},{f:"Armata",v:["400"]},{f:"Arsenal",v:["400","400italic","700","700italic"]},{f:"Artifika",v:["400"]},{f:"Arvo",v:["400","400italic","700","700italic"]},{f:"Arya",v:["400","700"]},{f:"Asap",v:["400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Asap Condensed",v:["400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Asar",v:["400"]},{f:"Asset",v:["400"]},{f:"Assistant",v:["200","300","400","600","700","800"]},{f:"Astloch",v:["400","700"]},{f:"Asul",v:["400","700"]},{f:"Athiti",v:["200","300","400","500","600","700"]},{f:"Atma",v:["300","400","500","600","700"]},{f:"Atomic Age",v:["400"]},{f:"Aubrey",v:["400"]},{f:"Audiowide",v:["400"]},{f:"Autour One",v:["400"]},{f:"Average",v:["400"]},{f:"Average Sans",v:["400"]},{f:"Averia Gruesa Libre",v:["400"]},{f:"Averia Libre",v:["300","300italic","400","400italic","700","700italic"]},{f:"Averia Sans Libre",v:["300","300italic","400","400italic","700","700italic"]},{f:"Averia Serif Libre",v:["300","300italic","400","400italic","700","700italic"]},{f:"B612",v:["400","400italic","700","700italic"]},{f:"B612 Mono",v:["400","400italic","700","700italic"]},{f:"Bad Script",v:["400"]},{f:"Bahiana",v:["400"]},{f:"Bahianita",v:["400"]},{f:"Bai Jamjuree",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Baloo 2",v:["400","500","600","700","800"]},{f:"Baloo Bhai 2",v:["400","500","600","700","800"]},{f:"Baloo Bhaina 2",v:["400","500","600","700","800"]},{f:"Baloo Chettan 2",v:["400","500","600","700","800"]},{f:"Baloo Da 2",v:["400","500","600","700","800"]},{f:"Baloo Paaji 2",v:["400","500","600","700","800"]},{f:"Baloo Tamma 2",v:["400","500","600","700","800"]},{f:"Baloo Tammudu 2",v:["400","500","600","700","800"]},{f:"Baloo Thambi 2",v:["400","500","600","700","800"]},{f:"Balsamiq Sans",v:["400","400italic","700","700italic"]},{f:"Balthazar",v:["400"]},{f:"Bangers",v:["400"]},{f:"Barlow",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Barlow Condensed",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Barlow Semi Condensed",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Barriecito",v:["400"]},{f:"Barrio",v:["400"]},{f:"Basic",v:["400"]},{f:"Baskervville",v:["400","400italic"]},{f:"Battambang",v:["400","700"]},{f:"Baumans",v:["400"]},{f:"Bayon",v:["400"]},{f:"Be Vietnam",v:["100","100italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{f:"Bebas Neue",v:["400"]},{f:"Belgrano",v:["400"]},{f:"Bellefair",v:["400"]},{f:"Belleza",v:["400"]},{f:"Bellota",v:["300","300italic","400","400italic","700","700italic"]},{f:"Bellota Text",v:["300","300italic","400","400italic","700","700italic"]},{f:"BenchNine",v:["300","400","700"]},{f:"Bentham",v:["400"]},{f:"Berkshire Swash",v:["400"]},{f:"Beth Ellen",v:["400"]},{f:"Bevan",v:["400"]},{f:"Big Shoulders Display",v:["100","300","400","500","600","700","800","900"]},{f:"Big Shoulders Text",v:["100","300","400","500","600","700","800","900"]},{f:"Bigelow Rules",v:["400"]},{f:"Bigshot One",v:["400"]},{f:"Bilbo",v:["400"]},{f:"Bilbo Swash Caps",v:["400"]},{f:"BioRhyme",v:["200","300","400","700","800"]},{f:"BioRhyme Expanded",v:["200","300","400","700","800"]},{f:"Biryani",v:["200","300","400","600","700","800","900"]},{f:"Bitter",v:["400","400italic","700"]},{f:"Black And White Picture",v:["400"]},{f:"Black Han Sans",v:["400"]},{f:"Black Ops One",v:["400"]},{f:"Blinker",v:["100","200","300","400","600","700","800","900"]},{f:"Bokor",v:["400"]},{f:"Bonbon",v:["400"]},{f:"Boogaloo",v:["400"]},{f:"Bowlby One",v:["400"]},{f:"Bowlby One SC",v:["400"]},{f:"Brawler",v:["400"]},{f:"Bree Serif",v:["400"]},{f:"Bubblegum Sans",v:["400"]},{f:"Bubbler One",v:["400"]},{f:"Buda",v:["300"]},{f:"Buenard",v:["400","700"]},{f:"Bungee",v:["400"]},{f:"Bungee Hairline",v:["400"]},{f:"Bungee Inline",v:["400"]},{f:"Bungee Outline",v:["400"]},{f:"Bungee Shade",v:["400"]},{f:"Butcherman",v:["400"]},{f:"Butterfly Kids",v:["400"]},{f:"Cabin",v:["400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Cabin Condensed",v:["400","500","600","700"]},{f:"Cabin Sketch",v:["400","700"]},{f:"Caesar Dressing",v:["400"]},{f:"Cagliostro",v:["400"]},{f:"Cairo",v:["200","300","400","600","700","900"]},{f:"Caladea",v:["400","400italic","700","700italic"]},{f:"Calistoga",v:["400"]},{f:"Calligraffitti",v:["400"]},{f:"Cambay",v:["400","400italic","700","700italic"]},{f:"Cambo",v:["400"]},{f:"Candal",v:["400"]},{f:"Cantarell",v:["400","400italic","700","700italic"]},{f:"Cantata One",v:["400"]},{f:"Cantora One",v:["400"]},{f:"Capriola",v:["400"]},{f:"Cardo",v:["400","400italic","700"]},{f:"Carme",v:["400"]},{f:"Carrois Gothic",v:["400"]},{f:"Carrois Gothic SC",v:["400"]},{f:"Carter One",v:["400"]},{f:"Catamaran",v:["100","200","300","400","500","600","700","800","900"]},{f:"Caudex",v:["400","400italic","700","700italic"]},{f:"Caveat",v:["400","700"]},{f:"Caveat Brush",v:["400"]},{f:"Cedarville Cursive",v:["400"]},{f:"Ceviche One",v:["400"]},{f:"Chakra Petch",v:["300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Changa",v:["200","300","400","500","600","700","800"]},{f:"Changa One",v:["400","400italic"]},{f:"Chango",v:["400"]},{f:"Charm",v:["400","700"]},{f:"Charmonman",v:["400","700"]},{f:"Chathura",v:["100","300","400","700","800"]},{f:"Chau Philomene One",v:["400","400italic"]},{f:"Chela One",v:["400"]},{f:"Chelsea Market",v:["400"]},{f:"Chenla",v:["400"]},{f:"Cherry Cream Soda",v:["400"]},{f:"Cherry Swash",v:["400","700"]},{f:"Chewy",v:["400"]},{f:"Chicle",v:["400"]},{f:"Chilanka",v:["400"]},{f:"Chivo",v:["300","300italic","400","400italic","700","700italic","900","900italic"]},{f:"Chonburi",v:["400"]},{f:"Cinzel",v:["400","700","900"]},{f:"Cinzel Decorative",v:["400","700","900"]},{f:"Clicker Script",v:["400"]},{f:"Coda",v:["400","800"]},{f:"Coda Caption",v:["800"]},{f:"Codystar",v:["300","400"]},{f:"Coiny",v:["400"]},{f:"Combo",v:["400"]},{f:"Comfortaa",v:["300","400","500","600","700"]},{f:"Comic Neue",v:["300","300italic","400","400italic","700","700italic"]},{f:"Coming Soon",v:["400"]},{f:"Concert One",v:["400"]},{f:"Condiment",v:["400"]},{f:"Content",v:["400","700"]},{f:"Contrail One",v:["400"]},{f:"Convergence",v:["400"]},{f:"Cookie",v:["400"]},{f:"Copse",v:["400"]},{f:"Corben",v:["400","700"]},{f:"Cormorant",v:["300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Cormorant Garamond",v:["300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Cormorant Infant",v:["300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Cormorant SC",v:["300","400","500","600","700"]},{f:"Cormorant Unicase",v:["300","400","500","600","700"]},{f:"Cormorant Upright",v:["300","400","500","600","700"]},{f:"Courgette",v:["400"]},{f:"Courier Prime",v:["400","400italic","700","700italic"]},{f:"Cousine",v:["400","400italic","700","700italic"]},{f:"Coustard",v:["400","900"]},{f:"Covered By Your Grace",v:["400"]},{f:"Crafty Girls",v:["400"]},{f:"Creepster",v:["400"]},{f:"Crete Round",v:["400","400italic"]},{f:"Crimson Pro",v:["200","300","400","500","600","700","800","900","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Crimson Text",v:["400","400italic","600","600italic","700","700italic"]},{f:"Croissant One",v:["400"]},{f:"Crushed",v:["400"]},{f:"Cuprum",v:["400","400italic","700","700italic"]},{f:"Cute Font",v:["400"]},{f:"Cutive",v:["400"]},{f:"Cutive Mono",v:["400"]},{f:"DM Mono",v:["300","300italic","400","400italic","500","500italic"]},{f:"DM Sans",v:["400","400italic","500","500italic","700","700italic"]},{f:"DM Serif Display",v:["400","400italic"]},{f:"DM Serif Text",v:["400","400italic"]},{f:"Damion",v:["400"]},{f:"Dancing Script",v:["400","500","600","700"]},{f:"Dangrek",v:["400"]},{f:"Darker Grotesque",v:["300","400","500","600","700","800","900"]},{f:"David Libre",v:["400","500","700"]},{f:"Dawning of a New Day",v:["400"]},{f:"Days One",v:["400"]},{f:"Dekko",v:["400"]},{f:"Delius",v:["400"]},{f:"Delius Swash Caps",v:["400"]},{f:"Delius Unicase",v:["400","700"]},{f:"Della Respira",v:["400"]},{f:"Denk One",v:["400"]},{f:"Devonshire",v:["400"]},{f:"Dhurjati",v:["400"]},{f:"Didact Gothic",v:["400"]},{f:"Diplomata",v:["400"]},{f:"Diplomata SC",v:["400"]},{f:"Do Hyeon",v:["400"]},{f:"Dokdo",v:["400"]},{f:"Domine",v:["400","700"]},{f:"Donegal One",v:["400"]},{f:"Doppio One",v:["400"]},{f:"Dorsa",v:["400"]},{f:"Dosis",v:["200","300","400","500","600","700","800"]},{f:"Dr Sugiyama",v:["400"]},{f:"Duru Sans",v:["400"]},{f:"Dynalight",v:["400"]},{f:"EB Garamond",v:["400","500","600","700","800","400italic","500italic","600italic","700italic","800italic"]},{f:"Eagle Lake",v:["400"]},{f:"East Sea Dokdo",v:["400"]},{f:"Eater",v:["400"]},{f:"Economica",v:["400","400italic","700","700italic"]},{f:"Eczar",v:["400","500","600","700","800"]},{f:"El Messiri",v:["400","500","600","700"]},{f:"Electrolize",v:["400"]},{f:"Elsie",v:["400","900"]},{f:"Elsie Swash Caps",v:["400","900"]},{f:"Emblema One",v:["400"]},{f:"Emilys Candy",v:["400"]},{f:"Encode Sans",v:["100","200","300","400","500","600","700","800","900"]},{f:"Encode Sans Condensed",v:["100","200","300","400","500","600","700","800","900"]},{f:"Encode Sans Expanded",v:["100","200","300","400","500","600","700","800","900"]},{f:"Encode Sans Semi Condensed",v:["100","200","300","400","500","600","700","800","900"]},{f:"Encode Sans Semi Expanded",v:["100","200","300","400","500","600","700","800","900"]},{f:"Engagement",v:["400"]},{f:"Englebert",v:["400"]},{f:"Enriqueta",v:["400","500","600","700"]},{f:"Epilogue",v:["100","200","300","400","500","600","700","800","900","100italic","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Erica One",v:["400"]},{f:"Esteban",v:["400"]},{f:"Euphoria Script",v:["400"]},{f:"Ewert",v:["400"]},{f:"Exo",v:["100","200","300","400","500","600","700","800","900","100italic","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Exo 2",v:["100","200","300","400","500","600","700","800","900","100italic","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Expletus Sans",v:["400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Fahkwang",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Fanwood Text",v:["400","400italic"]},{f:"Farro",v:["300","400","500","700"]},{f:"Farsan",v:["400"]},{f:"Fascinate",v:["400"]},{f:"Fascinate Inline",v:["400"]},{f:"Faster One",v:["400"]},{f:"Fasthand",v:["400"]},{f:"Fauna One",v:["400"]},{f:"Faustina",v:["400","500","600","700","400italic","500italic","600italic","700italic"]},{f:"Federant",v:["400"]},{f:"Federo",v:["400"]},{f:"Felipa",v:["400"]},{f:"Fenix",v:["400"]},{f:"Finger Paint",v:["400"]},{f:"Fira Code",v:["300","400","500","600","700"]},{f:"Fira Mono",v:["400","500","700"]},{f:"Fira Sans",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Fira Sans Condensed",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Fira Sans Extra Condensed",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Fjalla One",v:["400"]},{f:"Fjord One",v:["400"]},{f:"Flamenco",v:["300","400"]},{f:"Flavors",v:["400"]},{f:"Fondamento",v:["400","400italic"]},{f:"Fontdiner Swanky",v:["400"]},{f:"Forum",v:["400"]},{f:"Francois One",v:["400"]},{f:"Frank Ruhl Libre",v:["300","400","500","700","900"]},{f:"Freckle Face",v:["400"]},{f:"Fredericka the Great",v:["400"]},{f:"Fredoka One",v:["400"]},{f:"Freehand",v:["400"]},{f:"Fresca",v:["400"]},{f:"Frijole",v:["400"]},{f:"Fruktur",v:["400"]},{f:"Fugaz One",v:["400"]},{f:"GFS Didot",v:["400"]},{f:"GFS Neohellenic",v:["400","400italic","700","700italic"]},{f:"Gabriela",v:["400"]},{f:"Gaegu",v:["300","400","700"]},{f:"Gafata",v:["400"]},{f:"Galada",v:["400"]},{f:"Galdeano",v:["400"]},{f:"Galindo",v:["400"]},{f:"Gamja Flower",v:["400"]},{f:"Gayathri",v:["100","400","700"]},{f:"Gelasio",v:["400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Gentium Basic",v:["400","400italic","700","700italic"]},{f:"Gentium Book Basic",v:["400","400italic","700","700italic"]},{f:"Geo",v:["400","400italic"]},{f:"Geostar",v:["400"]},{f:"Geostar Fill",v:["400"]},{f:"Germania One",v:["400"]},{f:"Gidugu",v:["400"]},{f:"Gilda Display",v:["400"]},{f:"Girassol",v:["400"]},{f:"Give You Glory",v:["400"]},{f:"Glass Antiqua",v:["400"]},{f:"Glegoo",v:["400","700"]},{f:"Gloria Hallelujah",v:["400"]},{f:"Goblin One",v:["400"]},{f:"Gochi Hand",v:["400"]},{f:"Gorditas",v:["400","700"]},{f:"Gothic A1",v:["100","200","300","400","500","600","700","800","900"]},{f:"Gotu",v:["400"]},{f:"Goudy Bookletter 1911",v:["400"]},{f:"Graduate",v:["400"]},{f:"Grand Hotel",v:["400"]},{f:"Gravitas One",v:["400"]},{f:"Great Vibes",v:["400"]},{f:"Grenze",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Grenze Gotisch",v:["100","200","300","400","500","600","700","800","900"]},{f:"Griffy",v:["400"]},{f:"Gruppo",v:["400"]},{f:"Gudea",v:["400","400italic","700"]},{f:"Gugi",v:["400"]},{f:"Gupter",v:["400","500","700"]},{f:"Gurajada",v:["400"]},{f:"Habibi",v:["400"]},{f:"Halant",v:["300","400","500","600","700"]},{f:"Hammersmith One",v:["400"]},{f:"Hanalei",v:["400"]},{f:"Hanalei Fill",v:["400"]},{f:"Handlee",v:["400"]},{f:"Hanuman",v:["400","700"]},{f:"Happy Monkey",v:["400"]},{f:"Harmattan",v:["400","700"]},{f:"Headland One",v:["400"]},{f:"Heebo",v:["100","200","300","400","500","600","700","800","900"]},{f:"Henny Penny",v:["400"]},{f:"Hepta Slab",v:["100","200","300","400","500","600","700","800","900"]},{f:"Herr Von Muellerhoff",v:["400"]},{f:"Hi Melody",v:["400"]},{f:"Hind",v:["300","400","500","600","700"]},{f:"Hind Guntur",v:["300","400","500","600","700"]},{f:"Hind Madurai",v:["300","400","500","600","700"]},{f:"Hind Siliguri",v:["300","400","500","600","700"]},{f:"Hind Vadodara",v:["300","400","500","600","700"]},{f:"Holtwood One SC",v:["400"]},{f:"Homemade Apple",v:["400"]},{f:"Homenaje",v:["400"]},{f:"IBM Plex Mono",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"IBM Plex Sans",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"IBM Plex Sans Condensed",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"IBM Plex Serif",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"IM Fell DW Pica",v:["400","400italic"]},{f:"IM Fell DW Pica SC",v:["400"]},{f:"IM Fell Double Pica",v:["400","400italic"]},{f:"IM Fell Double Pica SC",v:["400"]},{f:"IM Fell English",v:["400","400italic"]},{f:"IM Fell English SC",v:["400"]},{f:"IM Fell French Canon",v:["400","400italic"]},{f:"IM Fell French Canon SC",v:["400"]},{f:"IM Fell Great Primer",v:["400","400italic"]},{f:"IM Fell Great Primer SC",v:["400"]},{f:"Ibarra Real Nova",v:["400","400italic","600","600italic","700","700italic"]},{f:"Iceberg",v:["400"]},{f:"Iceland",v:["400"]},{f:"Imprima",v:["400"]},{f:"Inconsolata",v:["200","300","400","500","600","700","800","900"]},{f:"Inder",v:["400"]},{f:"Indie Flower",v:["400"]},{f:"Inika",v:["400","700"]},{f:"Inknut Antiqua",v:["300","400","500","600","700","800","900"]},{f:"Inria Sans",v:["300","300italic","400","400italic","700","700italic"]},{f:"Inria Serif",v:["300","300italic","400","400italic","700","700italic"]},{f:"Inter",v:["100","200","300","400","500","600","700","800","900"]},{f:"Irish Grover",v:["400"]},{f:"Istok Web",v:["400","400italic","700","700italic"]},{f:"Italiana",v:["400"]},{f:"Italianno",v:["400"]},{f:"Itim",v:["400"]},{f:"Jacques Francois",v:["400"]},{f:"Jacques Francois Shadow",v:["400"]},{f:"Jaldi",v:["400","700"]},{f:"Jim Nightshade",v:["400"]},{f:"Jockey One",v:["400"]},{f:"Jolly Lodger",v:["400"]},{f:"Jomhuria",v:["400"]},{f:"Jomolhari",v:["400"]},{f:"Josefin Sans",v:["100","200","300","400","500","600","700","100italic","200italic","300italic","400italic","500italic","600italic","700italic"]},{f:"Josefin Slab",v:["100","100italic","300","300italic","400","400italic","600","600italic","700","700italic"]},{f:"Jost",v:["100","200","300","400","500","600","700","800","900","100italic","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Joti One",v:["400"]},{f:"Jua",v:["400"]},{f:"Judson",v:["400","400italic","700"]},{f:"Julee",v:["400"]},{f:"Julius Sans One",v:["400"]},{f:"Junge",v:["400"]},{f:"Jura",v:["300","400","500","600","700"]},{f:"Just Another Hand",v:["400"]},{f:"Just Me Again Down Here",v:["400"]},{f:"K2D",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{f:"Kadwa",v:["400","700"]},{f:"Kalam",v:["300","400","700"]},{f:"Kameron",v:["400","700"]},{f:"Kanit",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Kantumruy",v:["300","400","700"]},{f:"Karla",v:["400","400italic","700","700italic"]},{f:"Karma",v:["300","400","500","600","700"]},{f:"Katibeh",v:["400"]},{f:"Kaushan Script",v:["400"]},{f:"Kavivanar",v:["400"]},{f:"Kavoon",v:["400"]},{f:"Kdam Thmor",v:["400"]},{f:"Keania One",v:["400"]},{f:"Kelly Slab",v:["400"]},{f:"Kenia",v:["400"]},{f:"Khand",v:["300","400","500","600","700"]},{f:"Khmer",v:["400"]},{f:"Khula",v:["300","400","600","700","800"]},{f:"Kirang Haerang",v:["400"]},{f:"Kite One",v:["400"]},{f:"Knewave",v:["400"]},{f:"KoHo",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Kodchasan",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Kosugi",v:["400"]},{f:"Kosugi Maru",v:["400"]},{f:"Kotta One",v:["400"]},{f:"Koulen",v:["400"]},{f:"Kranky",v:["400"]},{f:"Kreon",v:["300","400","500","600","700"]},{f:"Kristi",v:["400"]},{f:"Krona One",v:["400"]},{f:"Krub",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Kulim Park",v:["200","200italic","300","300italic","400","400italic","600","600italic","700","700italic"]},{f:"Kumar One",v:["400"]},{f:"Kumar One Outline",v:["400"]},{f:"Kurale",v:["400"]},{f:"La Belle Aurore",v:["400"]},{f:"Lacquer",v:["400"]},{f:"Laila",v:["300","400","500","600","700"]},{f:"Lakki Reddy",v:["400"]},{f:"Lalezar",v:["400"]},{f:"Lancelot",v:["400"]},{f:"Lateef",v:["400"]},{f:"Lato",v:["100","100italic","300","300italic","400","400italic","700","700italic","900","900italic"]},{f:"League Script",v:["400"]},{f:"Leckerli One",v:["400"]},{f:"Ledger",v:["400"]},{f:"Lekton",v:["400","400italic","700"]},{f:"Lemon",v:["400"]},{f:"Lemonada",v:["300","400","500","600","700"]},{f:"Lexend Deca",v:["400"]},{f:"Lexend Exa",v:["400"]},{f:"Lexend Giga",v:["400"]},{f:"Lexend Mega",v:["400"]},{f:"Lexend Peta",v:["400"]},{f:"Lexend Tera",v:["400"]},{f:"Lexend Zetta",v:["400"]},{f:"Libre Barcode 128",v:["400"]},{f:"Libre Barcode 128 Text",v:["400"]},{f:"Libre Barcode 39",v:["400"]},{f:"Libre Barcode 39 Extended",v:["400"]},{f:"Libre Barcode 39 Extended Text",v:["400"]},{f:"Libre Barcode 39 Text",v:["400"]},{f:"Libre Baskerville",v:["400","400italic","700"]},{f:"Libre Caslon Display",v:["400"]},{f:"Libre Caslon Text",v:["400","400italic","700"]},{f:"Libre Franklin",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Life Savers",v:["400","700","800"]},{f:"Lilita One",v:["400"]},{f:"Lily Script One",v:["400"]},{f:"Limelight",v:["400"]},{f:"Linden Hill",v:["400","400italic"]},{f:"Literata",v:["400","500","600","700","400italic","500italic","600italic","700italic"]},{f:"Liu Jian Mao Cao",v:["400"]},{f:"Livvic",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","900","900italic"]},{f:"Lobster",v:["400"]},{f:"Lobster Two",v:["400","400italic","700","700italic"]},{f:"Londrina Outline",v:["400"]},{f:"Londrina Shadow",v:["400"]},{f:"Londrina Sketch",v:["400"]},{f:"Londrina Solid",v:["100","300","400","900"]},{f:"Long Cang",v:["400"]},{f:"Lora",v:["400","500","600","700","400italic","500italic","600italic","700italic"]},{f:"Love Ya Like A Sister",v:["400"]},{f:"Loved by the King",v:["400"]},{f:"Lovers Quarrel",v:["400"]},{f:"Luckiest Guy",v:["400"]},{f:"Lusitana",v:["400","700"]},{f:"Lustria",v:["400"]},{f:"M PLUS 1p",v:["100","300","400","500","700","800","900"]},{f:"M PLUS Rounded 1c",v:["100","300","400","500","700","800","900"]},{f:"Ma Shan Zheng",v:["400"]},{f:"Macondo",v:["400"]},{f:"Macondo Swash Caps",v:["400"]},{f:"Mada",v:["200","300","400","500","600","700","900"]},{f:"Magra",v:["400","700"]},{f:"Maiden Orange",v:["400"]},{f:"Maitree",v:["200","300","400","500","600","700"]},{f:"Major Mono Display",v:["400"]},{f:"Mako",v:["400"]},{f:"Mali",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Mallanna",v:["400"]},{f:"Mandali",v:["400"]},{f:"Manjari",v:["100","400","700"]},{f:"Manrope",v:["200","300","400","500","600","700","800"]},{f:"Mansalva",v:["400"]},{f:"Manuale",v:["400","500","600","700","400italic","500italic","600italic","700italic"]},{f:"Marcellus",v:["400"]},{f:"Marcellus SC",v:["400"]},{f:"Marck Script",v:["400"]},{f:"Margarine",v:["400"]},{f:"Markazi Text",v:["400","500","600","700"]},{f:"Marko One",v:["400"]},{f:"Marmelad",v:["400"]},{f:"Martel",v:["200","300","400","600","700","800","900"]},{f:"Martel Sans",v:["200","300","400","600","700","800","900"]},{f:"Marvel",v:["400","400italic","700","700italic"]},{f:"Mate",v:["400","400italic"]},{f:"Mate SC",v:["400"]},{f:"Maven Pro",v:["400","500","600","700","800","900"]},{f:"McLaren",v:["400"]},{f:"Meddon",v:["400"]},{f:"MedievalSharp",v:["400"]},{f:"Medula One",v:["400"]},{f:"Meera Inimai",v:["400"]},{f:"Megrim",v:["400"]},{f:"Meie Script",v:["400"]},{f:"Merienda",v:["400","700"]},{f:"Merienda One",v:["400"]},{f:"Merriweather",v:["300","300italic","400","400italic","700","700italic","900","900italic"]},{f:"Merriweather Sans",v:["300","300italic","400","400italic","700","700italic","800","800italic"]},{f:"Metal",v:["400"]},{f:"Metal Mania",v:["400"]},{f:"Metamorphous",v:["400"]},{f:"Metrophobic",v:["400"]},{f:"Michroma",v:["400"]},{f:"Milonga",v:["400"]},{f:"Miltonian",v:["400"]},{f:"Miltonian Tattoo",v:["400"]},{f:"Mina",v:["400","700"]},{f:"Miniver",v:["400"]},{f:"Miriam Libre",v:["400","700"]},{f:"Mirza",v:["400","500","600","700"]},{f:"Miss Fajardose",v:["400"]},{f:"Mitr",v:["200","300","400","500","600","700"]},{f:"Modak",v:["400"]},{f:"Modern Antiqua",v:["400"]},{f:"Mogra",v:["400"]},{f:"Molengo",v:["400"]},{f:"Molle",v:["400italic"]},{f:"Monda",v:["400","700"]},{f:"Monofett",v:["400"]},{f:"Monoton",v:["400"]},{f:"Monsieur La Doulaise",v:["400"]},{f:"Montaga",v:["400"]},{f:"Montez",v:["400"]},{f:"Montserrat",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Montserrat Alternates",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Montserrat Subrayada",v:["400","700"]},{f:"Moul",v:["400"]},{f:"Moulpali",v:["400"]},{f:"Mountains of Christmas",v:["400","700"]},{f:"Mouse Memoirs",v:["400"]},{f:"Mr Bedfort",v:["400"]},{f:"Mr Dafoe",v:["400"]},{f:"Mr De Haviland",v:["400"]},{f:"Mrs Saint Delafield",v:["400"]},{f:"Mrs Sheppards",v:["400"]},{f:"Mukta",v:["200","300","400","500","600","700","800"]},{f:"Mukta Mahee",v:["200","300","400","500","600","700","800"]},{f:"Mukta Malar",v:["200","300","400","500","600","700","800"]},{f:"Mukta Vaani",v:["200","300","400","500","600","700","800"]},{f:"Mulish",v:["200","300","400","500","600","700","800","900","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"MuseoModerno",v:["100","200","300","400","500","600","700","800","900"]},{f:"Mystery Quest",v:["400"]},{f:"NTR",v:["400"]},{f:"Nanum Brush Script",v:["400"]},{f:"Nanum Gothic",v:["400","700","800"]},{f:"Nanum Gothic Coding",v:["400","700"]},{f:"Nanum Myeongjo",v:["400","700","800"]},{f:"Nanum Pen Script",v:["400"]},{f:"Neucha",v:["400"]},{f:"Neuton",v:["200","300","400","400italic","700","800"]},{f:"New Rocker",v:["400"]},{f:"News Cycle",v:["400","700"]},{f:"Niconne",v:["400"]},{f:"Niramit",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Nixie One",v:["400"]},{f:"Nobile",v:["400","400italic","500","500italic","700","700italic"]},{f:"Nokora",v:["400","700"]},{f:"Norican",v:["400"]},{f:"Nosifer",v:["400"]},{f:"Notable",v:["400"]},{f:"Nothing You Could Do",v:["400"]},{f:"Noticia Text",v:["400","400italic","700","700italic"]},{f:"Noto Sans",v:["400","400italic","700","700italic"]},{f:"Noto Sans HK",v:["100","300","400","500","700","900"]},{f:"Noto Sans JP",v:["100","300","400","500","700","900"]},{f:"Noto Sans KR",v:["100","300","400","500","700","900"]},{f:"Noto Sans SC",v:["100","300","400","500","700","900"]},{f:"Noto Sans TC",v:["100","300","400","500","700","900"]},{f:"Noto Serif",v:["400","400italic","700","700italic"]},{f:"Noto Serif JP",v:["200","300","400","500","600","700","900"]},{f:"Noto Serif KR",v:["200","300","400","500","600","700","900"]},{f:"Noto Serif SC",v:["200","300","400","500","600","700","900"]},{f:"Noto Serif TC",v:["200","300","400","500","600","700","900"]},{f:"Nova Cut",v:["400"]},{f:"Nova Flat",v:["400"]},{f:"Nova Mono",v:["400"]},{f:"Nova Oval",v:["400"]},{f:"Nova Round",v:["400"]},{f:"Nova Script",v:["400"]},{f:"Nova Slim",v:["400"]},{f:"Nova Square",v:["400"]},{f:"Numans",v:["400"]},{f:"Nunito",v:["200","200italic","300","300italic","400","400italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Nunito Sans",v:["200","200italic","300","300italic","400","400italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Odibee Sans",v:["400"]},{f:"Odor Mean Chey",v:["400"]},{f:"Offside",v:["400"]},{f:"Old Standard TT",v:["400","400italic","700"]},{f:"Oldenburg",v:["400"]},{f:"Oleo Script",v:["400","700"]},{f:"Oleo Script Swash Caps",v:["400","700"]},{f:"Open Sans",v:["300","300italic","400","400italic","600","600italic","700","700italic","800","800italic"]},{f:"Open Sans Condensed",v:["300","300italic","700"]},{f:"Oranienbaum",v:["400"]},{f:"Orbitron",v:["400","500","600","700","800","900"]},{f:"Oregano",v:["400","400italic"]},{f:"Orienta",v:["400"]},{f:"Original Surfer",v:["400"]},{f:"Oswald",v:["200","300","400","500","600","700"]},{f:"Over the Rainbow",v:["400"]},{f:"Overlock",v:["400","400italic","700","700italic","900","900italic"]},{f:"Overlock SC",v:["400"]},{f:"Overpass",v:["100","100italic","200","200italic","300","300italic","400","400italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Overpass Mono",v:["300","400","600","700"]},{f:"Ovo",v:["400"]},{f:"Oxanium",v:["200","300","400","500","600","700","800"]},{f:"Oxygen",v:["300","400","700"]},{f:"Oxygen Mono",v:["400"]},{f:"PT Mono",v:["400"]},{f:"PT Sans",v:["400","400italic","700","700italic"]},{f:"PT Sans Caption",v:["400","700"]},{f:"PT Sans Narrow",v:["400","700"]},{f:"PT Serif",v:["400","400italic","700","700italic"]},{f:"PT Serif Caption",v:["400","400italic"]},{f:"Pacifico",v:["400"]},{f:"Padauk",v:["400","700"]},{f:"Palanquin",v:["100","200","300","400","500","600","700"]},{f:"Palanquin Dark",v:["400","500","600","700"]},{f:"Pangolin",v:["400"]},{f:"Paprika",v:["400"]},{f:"Parisienne",v:["400"]},{f:"Passero One",v:["400"]},{f:"Passion One",v:["400","700","900"]},{f:"Pathway Gothic One",v:["400"]},{f:"Patrick Hand",v:["400"]},{f:"Patrick Hand SC",v:["400"]},{f:"Pattaya",v:["400"]},{f:"Patua One",v:["400"]},{f:"Pavanam",v:["400"]},{f:"Paytone One",v:["400"]},{f:"Peddana",v:["400"]},{f:"Peralta",v:["400"]},{f:"Permanent Marker",v:["400"]},{f:"Petit Formal Script",v:["400"]},{f:"Petrona",v:["400"]},{f:"Philosopher",v:["400","400italic","700","700italic"]},{f:"Piedra",v:["400"]},{f:"Pinyon Script",v:["400"]},{f:"Pirata One",v:["400"]},{f:"Plaster",v:["400"]},{f:"Play",v:["400","700"]},{f:"Playball",v:["400"]},{f:"Playfair Display",v:["400","500","600","700","800","900","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Playfair Display SC",v:["400","400italic","700","700italic","900","900italic"]},{f:"Podkova",v:["400","500","600","700","800"]},{f:"Poiret One",v:["400"]},{f:"Poller One",v:["400"]},{f:"Poly",v:["400","400italic"]},{f:"Pompiere",v:["400"]},{f:"Pontano Sans",v:["400"]},{f:"Poor Story",v:["400"]},{f:"Poppins",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Port Lligat Sans",v:["400"]},{f:"Port Lligat Slab",v:["400"]},{f:"Pragati Narrow",v:["400","700"]},{f:"Prata",v:["400"]},{f:"Preahvihear",v:["400"]},{f:"Press Start 2P",v:["400"]},{f:"Pridi",v:["200","300","400","500","600","700"]},{f:"Princess Sofia",v:["400"]},{f:"Prociono",v:["400"]},{f:"Prompt",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Prosto One",v:["400"]},{f:"Proza Libre",v:["400","400italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{f:"Public Sans",v:["100","200","300","400","500","600","700","800","900","100italic","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Puritan",v:["400","400italic","700","700italic"]},{f:"Purple Purse",v:["400"]},{f:"Quando",v:["400"]},{f:"Quantico",v:["400","400italic","700","700italic"]},{f:"Quattrocento",v:["400","700"]},{f:"Quattrocento Sans",v:["400","400italic","700","700italic"]},{f:"Questrial",v:["400"]},{f:"Quicksand",v:["300","400","500","600","700"]},{f:"Quintessential",v:["400"]},{f:"Qwigley",v:["400"]},{f:"Racing Sans One",v:["400"]},{f:"Radley",v:["400","400italic"]},{f:"Rajdhani",v:["300","400","500","600","700"]},{f:"Rakkas",v:["400"]},{f:"Raleway",v:["100","200","300","400","500","600","700","800","900","100italic","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Raleway Dots",v:["400"]},{f:"Ramabhadra",v:["400"]},{f:"Ramaraja",v:["400"]},{f:"Rambla",v:["400","400italic","700","700italic"]},{f:"Rammetto One",v:["400"]},{f:"Ranchers",v:["400"]},{f:"Rancho",v:["400"]},{f:"Ranga",v:["400","700"]},{f:"Rasa",v:["300","400","500","600","700"]},{f:"Rationale",v:["400"]},{f:"Ravi Prakash",v:["400"]},{f:"Recursive",v:["300","400","500","600","700","800","900"]},{f:"Red Hat Display",v:["400","400italic","500","500italic","700","700italic","900","900italic"]},{f:"Red Hat Text",v:["400","400italic","500","500italic","700","700italic"]},{f:"Red Rose",v:["300","400","700"]},{f:"Redressed",v:["400"]},{f:"Reem Kufi",v:["400"]},{f:"Reenie Beanie",v:["400"]},{f:"Revalia",v:["400"]},{f:"Rhodium Libre",v:["400"]},{f:"Ribeye",v:["400"]},{f:"Ribeye Marrow",v:["400"]},{f:"Righteous",v:["400"]},{f:"Risque",v:["400"]},{f:"Roboto",v:["100","100italic","300","300italic","400","400italic","500","500italic","700","700italic","900","900italic"]},{f:"Roboto Condensed",v:["300","300italic","400","400italic","700","700italic"]},{f:"Roboto Mono",v:["100","200","300","400","500","600","700","100italic","200italic","300italic","400italic","500italic","600italic","700italic"]},{f:"Roboto Slab",v:["100","200","300","400","500","600","700","800","900"]},{f:"Rochester",v:["400"]},{f:"Rock Salt",v:["400"]},{f:"Rokkitt",v:["100","200","300","400","500","600","700","800","900"]},{f:"Romanesco",v:["400"]},{f:"Ropa Sans",v:["400","400italic"]},{f:"Rosario",v:["300","400","500","600","700","300italic","400italic","500italic","600italic","700italic"]},{f:"Rosarivo",v:["400","400italic"]},{f:"Rouge Script",v:["400"]},{f:"Rowdies",v:["300","400","700"]},{f:"Rozha One",v:["400"]},{f:"Rubik",v:["300","300italic","400","400italic","500","500italic","700","700italic","900","900italic"]},{f:"Rubik Mono One",v:["400"]},{f:"Ruda",v:["400","500","600","700","800","900"]},{f:"Rufina",v:["400","700"]},{f:"Ruge Boogie",v:["400"]},{f:"Ruluko",v:["400"]},{f:"Rum Raisin",v:["400"]},{f:"Ruslan Display",v:["400"]},{f:"Russo One",v:["400"]},{f:"Ruthie",v:["400"]},{f:"Rye",v:["400"]},{f:"Sacramento",v:["400"]},{f:"Sahitya",v:["400","700"]},{f:"Sail",v:["400"]},{f:"Saira",v:["100","200","300","400","500","600","700","800","900"]},{f:"Saira Condensed",v:["100","200","300","400","500","600","700","800","900"]},{f:"Saira Extra Condensed",v:["100","200","300","400","500","600","700","800","900"]},{f:"Saira Semi Condensed",v:["100","200","300","400","500","600","700","800","900"]},{f:"Saira Stencil One",v:["400"]},{f:"Salsa",v:["400"]},{f:"Sanchez",v:["400","400italic"]},{f:"Sancreek",v:["400"]},{f:"Sansita",v:["400","400italic","700","700italic","800","800italic","900","900italic"]},{f:"Sarabun",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{f:"Sarala",v:["400","700"]},{f:"Sarina",v:["400"]},{f:"Sarpanch",v:["400","500","600","700","800","900"]},{f:"Satisfy",v:["400"]},{f:"Sawarabi Gothic",v:["400"]},{f:"Sawarabi Mincho",v:["400"]},{f:"Scada",v:["400","400italic","700","700italic"]},{f:"Scheherazade",v:["400","700"]},{f:"Schoolbell",v:["400"]},{f:"Scope One",v:["400"]},{f:"Seaweed Script",v:["400"]},{f:"Secular One",v:["400"]},{f:"Sedgwick Ave",v:["400"]},{f:"Sedgwick Ave Display",v:["400"]},{f:"Sen",v:["400","700","800"]},{f:"Sevillana",v:["400"]},{f:"Seymour One",v:["400"]},{f:"Shadows Into Light",v:["400"]},{f:"Shadows Into Light Two",v:["400"]},{f:"Shanti",v:["400"]},{f:"Share",v:["400","400italic","700","700italic"]},{f:"Share Tech",v:["400"]},{f:"Share Tech Mono",v:["400"]},{f:"Shojumaru",v:["400"]},{f:"Short Stack",v:["400"]},{f:"Shrikhand",v:["400"]},{f:"Siemreap",v:["400"]},{f:"Sigmar One",v:["400"]},{f:"Signika",v:["300","400","500","600","700"]},{f:"Signika Negative",v:["300","400","600","700"]},{f:"Simonetta",v:["400","400italic","900","900italic"]},{f:"Single Day",v:["400"]},{f:"Sintony",v:["400","700"]},{f:"Sirin Stencil",v:["400"]},{f:"Six Caps",v:["400"]},{f:"Skranji",v:["400","700"]},{f:"Slabo 13px",v:["400"]},{f:"Slabo 27px",v:["400"]},{f:"Slackey",v:["400"]},{f:"Smokum",v:["400"]},{f:"Smythe",v:["400"]},{f:"Sniglet",v:["400","800"]},{f:"Snippet",v:["400"]},{f:"Snowburst One",v:["400"]},{f:"Sofadi One",v:["400"]},{f:"Sofia",v:["400"]},{f:"Solway",v:["300","400","500","700","800"]},{f:"Song Myung",v:["400"]},{f:"Sonsie One",v:["400"]},{f:"Sora",v:["100","200","300","400","500","600","700","800"]},{f:"Sorts Mill Goudy",v:["400","400italic"]},{f:"Source Code Pro",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","900","900italic"]},{f:"Source Sans Pro",v:["200","200italic","300","300italic","400","400italic","600","600italic","700","700italic","900","900italic"]},{f:"Source Serif Pro",v:["200","200italic","300","300italic","400","400italic","600","600italic","700","700italic","900","900italic"]},{f:"Space Mono",v:["400","400italic","700","700italic"]},{f:"Spartan",v:["100","200","300","400","500","600","700","800","900"]},{f:"Special Elite",v:["400"]},{f:"Spectral",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{f:"Spectral SC",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{f:"Spicy Rice",v:["400"]},{f:"Spinnaker",v:["400"]},{f:"Spirax",v:["400"]},{f:"Squada One",v:["400"]},{f:"Sree Krushnadevaraya",v:["400"]},{f:"Sriracha",v:["400"]},{f:"Srisakdi",v:["400","700"]},{f:"Staatliches",v:["400"]},{f:"Stalemate",v:["400"]},{f:"Stalinist One",v:["400"]},{f:"Stardos Stencil",v:["400","700"]},{f:"Stint Ultra Condensed",v:["400"]},{f:"Stint Ultra Expanded",v:["400"]},{f:"Stoke",v:["300","400"]},{f:"Strait",v:["400"]},{f:"Stylish",v:["400"]},{f:"Sue Ellen Francisco",v:["400"]},{f:"Suez One",v:["400"]},{f:"Sulphur Point",v:["300","400","700"]},{f:"Sumana",v:["400","700"]},{f:"Sunflower",v:["300","500","700"]},{f:"Sunshiney",v:["400"]},{f:"Supermercado One",v:["400"]},{f:"Sura",v:["400","700"]},{f:"Suranna",v:["400"]},{f:"Suravaram",v:["400"]},{f:"Suwannaphum",v:["400"]},{f:"Swanky and Moo Moo",v:["400"]},{f:"Syncopate",v:["400","700"]},{f:"Tajawal",v:["200","300","400","500","700","800","900"]},{f:"Tangerine",v:["400","700"]},{f:"Taprom",v:["400"]},{f:"Tauri",v:["400"]},{f:"Taviraj",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Teko",v:["300","400","500","600","700"]},{f:"Telex",v:["400"]},{f:"Tenali Ramakrishna",v:["400"]},{f:"Tenor Sans",v:["400"]},{f:"Text Me One",v:["400"]},{f:"Thasadith",v:["400","400italic","700","700italic"]},{f:"The Girl Next Door",v:["400"]},{f:"Tienne",v:["400","700","900"]},{f:"Tillana",v:["400","500","600","700","800"]},{f:"Timmana",v:["400"]},{f:"Tinos",v:["400","400italic","700","700italic"]},{f:"Titan One",v:["400"]},{f:"Titillium Web",v:["200","200italic","300","300italic","400","400italic","600","600italic","700","700italic","900"]},{f:"Tomorrow",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Trade Winds",v:["400"]},{f:"Trirong",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Trocchi",v:["400"]},{f:"Trochut",v:["400","400italic","700"]},{f:"Trykker",v:["400"]},{f:"Tulpen One",v:["400"]},{f:"Turret Road",v:["200","300","400","500","700","800"]},{f:"Ubuntu",v:["300","300italic","400","400italic","500","500italic","700","700italic"]},{f:"Ubuntu Condensed",v:["400"]},{f:"Ubuntu Mono",v:["400","400italic","700","700italic"]},{f:"Ultra",v:["400"]},{f:"Uncial Antiqua",v:["400"]},{f:"Underdog",v:["400"]},{f:"Unica One",v:["400"]},{f:"UnifrakturCook",v:["700"]},{f:"UnifrakturMaguntia",v:["400"]},{f:"Unkempt",v:["400","700"]},{f:"Unlock",v:["400"]},{f:"Unna",v:["400","400italic","700","700italic"]},{f:"VT323",v:["400"]},{f:"Vampiro One",v:["400"]},{f:"Varela",v:["400"]},{f:"Varela Round",v:["400"]},{f:"Varta",v:["300","400","500","600","700"]},{f:"Vast Shadow",v:["400"]},{f:"Vesper Libre",v:["400","500","700","900"]},{f:"Viaoda Libre",v:["400"]},{f:"Vibes",v:["400"]},{f:"Vibur",v:["400"]},{f:"Vidaloka",v:["400"]},{f:"Viga",v:["400"]},{f:"Voces",v:["400"]},{f:"Volkhov",v:["400","400italic","700","700italic"]},{f:"Vollkorn",v:["400","500","600","700","800","900","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Vollkorn SC",v:["400","600","700","900"]},{f:"Voltaire",v:["400"]},{f:"Waiting for the Sunrise",v:["400"]},{f:"Wallpoet",v:["400"]},{f:"Walter Turncoat",v:["400"]},{f:"Warnes",v:["400"]},{f:"Wellfleet",v:["400"]},{f:"Wendy One",v:["400"]},{f:"Wire One",v:["400"]},{f:"Work Sans",v:["100","200","300","400","500","600","700","800","900","100italic","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Yanone Kaffeesatz",v:["200","300","400","500","600","700"]},{f:"Yantramanav",v:["100","300","400","500","700","900"]},{f:"Yatra One",v:["400"]},{f:"Yellowtail",v:["400"]},{f:"Yeon Sung",v:["400"]},{f:"Yeseva One",v:["400"]},{f:"Yesteryear",v:["400"]},{f:"Yrsa",v:["300","400","500","600","700"]},{f:"ZCOOL KuaiLe",v:["400"]},{f:"ZCOOL QingKe HuangYou",v:["400"]},{f:"ZCOOL XiaoWei",v:["400"]},{f:"Zeyada",v:["400"]},{f:"Zhi Mang Xing",v:["400"]},{f:"Zilla Slab",v:["300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Zilla Slab Highlight",v:["400","700"]}]}},function(i,a){i.exports={kind:"webfonts#webfontList",items:[{id:"arial",label:"Arial",stack:"Arial, Helvetica Neue, Helvetica, sans-serif"},{id:"calibri",label:"Calibri",stack:"Calibri, Candara, Segoe, Segoe UI, Optima, Arial, sans-serif;"},{id:"consolas",label:"Consolas",stack:"Consolas, monaco, monospace"},{id:"courier-new",label:"Courier New",stack:"Courier New, Courier, Lucida Sans Typewriter, Lucida Typewriter, monospace"},{id:"helvetica",label:"Helvetica Neue",stack:"Helvetica Neue, Helvetica, Arial, sans-serif"},{id:"georgia",label:"Georgia",stack:"Georgia, Times, Times New Roman, serif"},{id:"futura",label:"Futura",stack:"Futura, Trebuchet MS, Arial, sans-serif"},{id:"lucida-grande",label:"Lucida Grande",stack:"Lucida Grande, Lucida Sans Unicode, Lucida Sans, Geneva, Verdana, sans-serif"},{id:"tahoma",label:"Tahoma",stack:"Tahoma, Verdana, Segoe, sans-serif"},{id:"times-new-roman",label:"Times New Roman",stack:"TimesNewRoman, Times New Roman, Times, Baskerville, Georgia, serif"},{id:"trebuchet",label:"Trebuchet MS",stack:"Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif"},{id:"palatino",label:"Palatino",stack:"Palatino, Palatino Linotype, Palatino LT STD, Book Antiqua, Georgia, serif"},{id:"verdana",label:"Verdana",stack:"Verdana, Geneva, sans-serif;"}]}},function(i,a,t){"use strict";var e=wp.blocks.createBlock,l={from:[{type:"block",blocks:["core/paragraph"],transform:function(i){var a=i.content;return e("olympus-google-fonts/google-fonts",{content:a})}},{type:"block",blocks:["core/heading"],transform:function(i){var a=i.content,t=i.level;return e("olympus-google-fonts/google-fonts",{content:a,blockType:"h"+t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(i){var a=i.content;return e("core/paragraph",{content:a})}}]};a.a=l}]);
|
1 |
+
!function(i){function a(l){if(t[l])return t[l].exports;var e=t[l]={i:l,l:!1,exports:{}};return i[l].call(e.exports,e,e.exports,a),e.l=!0,e.exports}var t={};a.m=i,a.c=t,a.d=function(i,t,l){a.o(i,t)||Object.defineProperty(i,t,{configurable:!1,enumerable:!0,get:l})},a.n=function(i){var t=i&&i.__esModule?function(){return i.default}:function(){return i};return a.d(t,"a",t),t},a.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},a.p="",a(a.s=0)}([function(i,a,t){"use strict";Object.defineProperty(a,"__esModule",{value:!0});t(1)},function(i,a,t){"use strict";var l=t(2),e=t(5),__=wp.i18n.__;(0,wp.blocks.registerBlockType)("olympus-google-fonts/google-fonts",{title:__("Google Fonts","olympus-google-fonts"),category:"common",icon:wp.element.createElement("svg",{baseProfile:"tiny",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},wp.element.createElement("path",{fill:"none",d:"M0 0h24v24H0V0z"}),wp.element.createElement("path",{d:"M9.93 13.5h4.14L12 7.98zM20 2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-4.05 16.5l-1.14-3H9.17l-1.12 3H5.96l5.11-13h1.86l5.11 13h-2.09z"})),keywords:[__("Fonts","olympus-google-fonts"),__("Heading","olympus-google-fonts")],transforms:e.a,edit:l.a,save:function(){return null}})},function(i,a,t){"use strict";function l(i,a){if(!(i instanceof a))throw new TypeError("Cannot call a class as a function")}function e(i,a){if(!i)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!a||"object"!==typeof a&&"function"!==typeof a?i:a}function f(i,a){if("function"!==typeof a&&null!==a)throw new TypeError("Super expression must either be null or a function, not "+typeof a);i.prototype=Object.create(a&&a.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),a&&(Object.setPrototypeOf?Object.setPrototypeOf(i,a):i.__proto__=a)}var c=t(3),v=t.n(c),n=t(4),o=t.n(n),r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(i){return typeof i}:function(i){return i&&"function"===typeof Symbol&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},s=function(){function i(i,a){for(var t=0;t<a.length;t++){var l=a[t];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(i,l.key,l)}}return function(a,t,l){return t&&i(a.prototype,t),l&&i(a,l),a}}(),__=wp.i18n.__,u=wp.element,d=u.Component,m=u.Fragment,S=wp.components,h=S.SelectControl,p=S.RangeControl,g=S.PanelBody,b=wp.blockEditor,y=b.RichText,C=b.InspectorControls,k=b.BlockControls,M=b.AlignmentToolbar,O=b.PanelColorSettings,w=function(i){function a(){return l(this,a),e(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return f(a,i),s(a,[{key:"componentDidUpdate",value:function(i){this.props.attributes.fontID!==i.attributes.fontID&&(this.props.attributes.v="0")}},{key:"getFontsForSelect",value:function(){var i=Object.values(ogf_custom_fonts).map(function(i){return{value:i.id,label:i.label}});i.unshift({value:"",label:__("- Custom Fonts -","olympus-google-fonts"),disabled:!0});var a=o.a.items.map(function(i){var a=i.label;return{value:i.id,label:a}});a.unshift({value:"",label:__("- System Fonts -","olympus-google-fonts"),disabled:!0});var t=i.concat(a),l=v.a.items.map(function(i){var a=i.f;return{value:a.replace(/\s+/g,"+"),label:a}});return l.unshift({value:"",label:__("- Google Fonts -","olympus-google-fonts"),disabled:!0}),t.concat(l)}},{key:"searchFonts",value:function(i,a){for(var t=0;t<a.length;t++)if(a[t].id===i)return a[t]}},{key:"isCustomFont",value:function(i){var a=this.searchFonts(i,Object.values(ogf_custom_fonts));return"object"===("undefined"===typeof a?"undefined":r(a))}},{key:"isSystemFont",value:function(i){var a=this.searchFonts(i,o.a.items);return"object"===("undefined"===typeof a?"undefined":r(a))}},{key:"isItalic",value:function(i){return!i.includes("0i")}},{key:"getVariantsForSelect",value:function(i){if(i){var a={0:__("- Default -","olympus-google-fonts"),100:__("Thin","olympus-google-fonts"),200:__("Extra Light","olympus-google-fonts"),300:__("Light","olympus-google-fonts"),400:__("Normal","olympus-google-fonts"),500:__("Medium","olympus-google-fonts"),600:__("Semi Bold","olympus-google-fonts"),700:__("Bold","olympus-google-fonts"),800:__("Extra Bold","olympus-google-fonts"),900:__("Ultra Bold","olympus-google-fonts")};return-1===i.v.indexOf("0")?i.v.unshift("0"):console.log("This item already exists"),i.v.filter(this.isItalic).map(function(i){return{value:i,label:a[i]}})}}},{key:"getFontObject",value:function(i){if(i)for(var a=0;a<v.a.items.length;a++)if(v.a.items[a].f===i)return v.a.items[a]}},{key:"addGoogleFontToHead",value:function(i,a){if(i&&a){var t=document.head,l=document.createElement("link");l.type="text/css",l.rel="stylesheet",l.href="https://fonts.googleapis.com/css?family="+i.replace(/\s+/g,"+")+":"+a.v.join(","),t.appendChild(l)}}},{key:"render",value:function(){var i=this.props,a=i.attributes,t=i.setAttributes,l=a.fontID,e=a.content,f=a.align,c=a.variant,v=a.fontSize,n=a.lineHeight,o=a.color,r=a.blockType,s=this.getFontsForSelect();s.unshift({label:"- Default -",value:"0"});var u=[{value:"0",label:"- Default -"},{value:"400",label:"Regular"},{value:"700",label:"Bold"}];if(!this.isSystemFont(l)&&!this.isCustomFont(l)){var d=this.getFontObject(l.replace(/\+/g," "));u=this.getVariantsForSelect(d),this.addGoogleFontToHead(l,d)}var S=wp.element.createElement(C,null,wp.element.createElement(g,{title:__("Font Settings","olympus-google-fonts")},wp.element.createElement(h,{label:__("Block Type","olympus-google-fonts"),type:"string",value:r,options:[{label:"Paragraph",value:"p"},{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"Span",value:"span"}],onChange:function(i){return t({blockType:i})}}),wp.element.createElement(h,{label:__("Font","olympus-google-fonts"),type:"string",value:l,options:s,onChange:function(i){return t({fontID:i})}}),wp.element.createElement(h,{label:__("Font Variant","olympus-google-fonts"),type:"string",value:c,options:u,onChange:function(i){return t({variant:i})}}),wp.element.createElement(p,{label:__("Font Size","olympus-google-fonts"),value:v,onChange:function(i){return t({fontSize:i})},allowReset:!0,min:"10",max:"50"}),wp.element.createElement(p,{label:__("Line Height","olympus-google-fonts"),value:n,onChange:function(i){return t({lineHeight:i})},allowReset:!0,min:"1",max:"3",step:"0.1"}),wp.element.createElement(O,{title:__("Color Settings","olympus-google-fonts"),colorSettings:[{value:a.color,onChange:function(i){return t({color:i})},label:__("Text Color","olympus-google-fonts")}]})));return wp.element.createElement(m,null,S,wp.element.createElement(k,null,wp.element.createElement(M,{value:f,onChange:function(i){return t({align:i})}})),wp.element.createElement(y,{tagName:r||"p",value:e,onChange:function(i){return t({content:i})},style:{fontSize:v?v+"px":void 0,textAlign:f,fontFamily:l.replace(/\+/g," "),fontWeight:c,lineHeight:n,color:o},placeholder:__("Add some content...","olympus-google-fonts"),allowedFormats:["italic","link"]}))}}]),a}(d);a.a=w},function(i,a){i.exports={kind:"webfonts#webfontList",items:[{f:"ABeeZee",v:["400","400italic"]},{f:"Abel",v:["400"]},{f:"Abhaya Libre",v:["400","500","600","700","800"]},{f:"Abril Fatface",v:["400"]},{f:"Aclonica",v:["400"]},{f:"Acme",v:["400"]},{f:"Actor",v:["400"]},{f:"Adamina",v:["400"]},{f:"Advent Pro",v:["100","200","300","400","500","600","700"]},{f:"Aguafina Script",v:["400"]},{f:"Akronim",v:["400"]},{f:"Aladin",v:["400"]},{f:"Alata",v:["400"]},{f:"Alatsi",v:["400"]},{f:"Aldrich",v:["400"]},{f:"Alef",v:["400","700"]},{f:"Alegreya",v:["400","400italic","500","500italic","700","700italic","800","800italic","900","900italic"]},{f:"Alegreya SC",v:["400","400italic","500","500italic","700","700italic","800","800italic","900","900italic"]},{f:"Alegreya Sans",v:["100","100italic","300","300italic","400","400italic","500","500italic","700","700italic","800","800italic","900","900italic"]},{f:"Alegreya Sans SC",v:["100","100italic","300","300italic","400","400italic","500","500italic","700","700italic","800","800italic","900","900italic"]},{f:"Aleo",v:["300","300italic","400","400italic","700","700italic"]},{f:"Alex Brush",v:["400"]},{f:"Alfa Slab One",v:["400"]},{f:"Alice",v:["400"]},{f:"Alike",v:["400"]},{f:"Alike Angular",v:["400"]},{f:"Allan",v:["400","700"]},{f:"Allerta",v:["400"]},{f:"Allerta Stencil",v:["400"]},{f:"Allura",v:["400"]},{f:"Almarai",v:["300","400","700","800"]},{f:"Almendra",v:["400","400italic","700","700italic"]},{f:"Almendra Display",v:["400"]},{f:"Almendra SC",v:["400"]},{f:"Amarante",v:["400"]},{f:"Amaranth",v:["400","400italic","700","700italic"]},{f:"Amatic SC",v:["400","700"]},{f:"Amethysta",v:["400"]},{f:"Amiko",v:["400","600","700"]},{f:"Amiri",v:["400","400italic","700","700italic"]},{f:"Amita",v:["400","700"]},{f:"Anaheim",v:["400"]},{f:"Andada",v:["400"]},{f:"Andika",v:["400"]},{f:"Angkor",v:["400"]},{f:"Annie Use Your Telescope",v:["400"]},{f:"Anonymous Pro",v:["400","400italic","700","700italic"]},{f:"Antic",v:["400"]},{f:"Antic Didone",v:["400"]},{f:"Antic Slab",v:["400"]},{f:"Anton",v:["400"]},{f:"Arapey",v:["400","400italic"]},{f:"Arbutus",v:["400"]},{f:"Arbutus Slab",v:["400"]},{f:"Architects Daughter",v:["400"]},{f:"Archivo",v:["400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Archivo Black",v:["400"]},{f:"Archivo Narrow",v:["400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Aref Ruqaa",v:["400","700"]},{f:"Arima Madurai",v:["100","200","300","400","500","700","800","900"]},{f:"Arimo",v:["400","400italic","700","700italic"]},{f:"Arizonia",v:["400"]},{f:"Armata",v:["400"]},{f:"Arsenal",v:["400","400italic","700","700italic"]},{f:"Artifika",v:["400"]},{f:"Arvo",v:["400","400italic","700","700italic"]},{f:"Arya",v:["400","700"]},{f:"Asap",v:["400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Asap Condensed",v:["400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Asar",v:["400"]},{f:"Asset",v:["400"]},{f:"Assistant",v:["200","300","400","600","700","800"]},{f:"Astloch",v:["400","700"]},{f:"Asul",v:["400","700"]},{f:"Athiti",v:["200","300","400","500","600","700"]},{f:"Atma",v:["300","400","500","600","700"]},{f:"Atomic Age",v:["400"]},{f:"Aubrey",v:["400"]},{f:"Audiowide",v:["400"]},{f:"Autour One",v:["400"]},{f:"Average",v:["400"]},{f:"Average Sans",v:["400"]},{f:"Averia Gruesa Libre",v:["400"]},{f:"Averia Libre",v:["300","300italic","400","400italic","700","700italic"]},{f:"Averia Sans Libre",v:["300","300italic","400","400italic","700","700italic"]},{f:"Averia Serif Libre",v:["300","300italic","400","400italic","700","700italic"]},{f:"B612",v:["400","400italic","700","700italic"]},{f:"B612 Mono",v:["400","400italic","700","700italic"]},{f:"Bad Script",v:["400"]},{f:"Bahiana",v:["400"]},{f:"Bahianita",v:["400"]},{f:"Bai Jamjuree",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Baloo 2",v:["400","500","600","700","800"]},{f:"Baloo Bhai 2",v:["400","500","600","700","800"]},{f:"Baloo Bhaina 2",v:["400","500","600","700","800"]},{f:"Baloo Chettan 2",v:["400","500","600","700","800"]},{f:"Baloo Da 2",v:["400","500","600","700","800"]},{f:"Baloo Paaji 2",v:["400","500","600","700","800"]},{f:"Baloo Tamma 2",v:["400","500","600","700","800"]},{f:"Baloo Tammudu 2",v:["400","500","600","700","800"]},{f:"Baloo Thambi 2",v:["400","500","600","700","800"]},{f:"Balsamiq Sans",v:["400","400italic","700","700italic"]},{f:"Balthazar",v:["400"]},{f:"Bangers",v:["400"]},{f:"Barlow",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Barlow Condensed",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Barlow Semi Condensed",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Barriecito",v:["400"]},{f:"Barrio",v:["400"]},{f:"Basic",v:["400"]},{f:"Baskervville",v:["400","400italic"]},{f:"Battambang",v:["400","700"]},{f:"Baumans",v:["400"]},{f:"Bayon",v:["400"]},{f:"Be Vietnam",v:["100","100italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{f:"Bebas Neue",v:["400"]},{f:"Belgrano",v:["400"]},{f:"Bellefair",v:["400"]},{f:"Belleza",v:["400"]},{f:"Bellota",v:["300","300italic","400","400italic","700","700italic"]},{f:"Bellota Text",v:["300","300italic","400","400italic","700","700italic"]},{f:"BenchNine",v:["300","400","700"]},{f:"Bentham",v:["400"]},{f:"Berkshire Swash",v:["400"]},{f:"Beth Ellen",v:["400"]},{f:"Bevan",v:["400"]},{f:"Big Shoulders Display",v:["100","300","400","500","600","700","800","900"]},{f:"Big Shoulders Text",v:["100","300","400","500","600","700","800","900"]},{f:"Bigelow Rules",v:["400"]},{f:"Bigshot One",v:["400"]},{f:"Bilbo",v:["400"]},{f:"Bilbo Swash Caps",v:["400"]},{f:"BioRhyme",v:["200","300","400","700","800"]},{f:"BioRhyme Expanded",v:["200","300","400","700","800"]},{f:"Biryani",v:["200","300","400","600","700","800","900"]},{f:"Bitter",v:["400","400italic","700"]},{f:"Black And White Picture",v:["400"]},{f:"Black Han Sans",v:["400"]},{f:"Black Ops One",v:["400"]},{f:"Blinker",v:["100","200","300","400","600","700","800","900"]},{f:"Bokor",v:["400"]},{f:"Bonbon",v:["400"]},{f:"Boogaloo",v:["400"]},{f:"Bowlby One",v:["400"]},{f:"Bowlby One SC",v:["400"]},{f:"Brawler",v:["400"]},{f:"Bree Serif",v:["400"]},{f:"Bubblegum Sans",v:["400"]},{f:"Bubbler One",v:["400"]},{f:"Buda",v:["300"]},{f:"Buenard",v:["400","700"]},{f:"Bungee",v:["400"]},{f:"Bungee Hairline",v:["400"]},{f:"Bungee Inline",v:["400"]},{f:"Bungee Outline",v:["400"]},{f:"Bungee Shade",v:["400"]},{f:"Butcherman",v:["400"]},{f:"Butterfly Kids",v:["400"]},{f:"Cabin",v:["400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Cabin Condensed",v:["400","500","600","700"]},{f:"Cabin Sketch",v:["400","700"]},{f:"Caesar Dressing",v:["400"]},{f:"Cagliostro",v:["400"]},{f:"Cairo",v:["200","300","400","600","700","900"]},{f:"Caladea",v:["400","400italic","700","700italic"]},{f:"Calistoga",v:["400"]},{f:"Calligraffitti",v:["400"]},{f:"Cambay",v:["400","400italic","700","700italic"]},{f:"Cambo",v:["400"]},{f:"Candal",v:["400"]},{f:"Cantarell",v:["400","400italic","700","700italic"]},{f:"Cantata One",v:["400"]},{f:"Cantora One",v:["400"]},{f:"Capriola",v:["400"]},{f:"Cardo",v:["400","400italic","700"]},{f:"Carme",v:["400"]},{f:"Carrois Gothic",v:["400"]},{f:"Carrois Gothic SC",v:["400"]},{f:"Carter One",v:["400"]},{f:"Catamaran",v:["100","200","300","400","500","600","700","800","900"]},{f:"Caudex",v:["400","400italic","700","700italic"]},{f:"Caveat",v:["400","700"]},{f:"Caveat Brush",v:["400"]},{f:"Cedarville Cursive",v:["400"]},{f:"Ceviche One",v:["400"]},{f:"Chakra Petch",v:["300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Changa",v:["200","300","400","500","600","700","800"]},{f:"Changa One",v:["400","400italic"]},{f:"Chango",v:["400"]},{f:"Charm",v:["400","700"]},{f:"Charmonman",v:["400","700"]},{f:"Chathura",v:["100","300","400","700","800"]},{f:"Chau Philomene One",v:["400","400italic"]},{f:"Chela One",v:["400"]},{f:"Chelsea Market",v:["400"]},{f:"Chenla",v:["400"]},{f:"Cherry Cream Soda",v:["400"]},{f:"Cherry Swash",v:["400","700"]},{f:"Chewy",v:["400"]},{f:"Chicle",v:["400"]},{f:"Chilanka",v:["400"]},{f:"Chivo",v:["300","300italic","400","400italic","700","700italic","900","900italic"]},{f:"Chonburi",v:["400"]},{f:"Cinzel",v:["400","700","900"]},{f:"Cinzel Decorative",v:["400","700","900"]},{f:"Clicker Script",v:["400"]},{f:"Coda",v:["400","800"]},{f:"Coda Caption",v:["800"]},{f:"Codystar",v:["300","400"]},{f:"Coiny",v:["400"]},{f:"Combo",v:["400"]},{f:"Comfortaa",v:["300","400","500","600","700"]},{f:"Comic Neue",v:["300","300italic","400","400italic","700","700italic"]},{f:"Coming Soon",v:["400"]},{f:"Concert One",v:["400"]},{f:"Condiment",v:["400"]},{f:"Content",v:["400","700"]},{f:"Contrail One",v:["400"]},{f:"Convergence",v:["400"]},{f:"Cookie",v:["400"]},{f:"Copse",v:["400"]},{f:"Corben",v:["400","700"]},{f:"Cormorant",v:["300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Cormorant Garamond",v:["300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Cormorant Infant",v:["300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Cormorant SC",v:["300","400","500","600","700"]},{f:"Cormorant Unicase",v:["300","400","500","600","700"]},{f:"Cormorant Upright",v:["300","400","500","600","700"]},{f:"Courgette",v:["400"]},{f:"Courier Prime",v:["400","400italic","700","700italic"]},{f:"Cousine",v:["400","400italic","700","700italic"]},{f:"Coustard",v:["400","900"]},{f:"Covered By Your Grace",v:["400"]},{f:"Crafty Girls",v:["400"]},{f:"Creepster",v:["400"]},{f:"Crete Round",v:["400","400italic"]},{f:"Crimson Pro",v:["200","300","400","500","600","700","800","900","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Crimson Text",v:["400","400italic","600","600italic","700","700italic"]},{f:"Croissant One",v:["400"]},{f:"Crushed",v:["400"]},{f:"Cuprum",v:["400","400italic","700","700italic"]},{f:"Cute Font",v:["400"]},{f:"Cutive",v:["400"]},{f:"Cutive Mono",v:["400"]},{f:"DM Mono",v:["300","300italic","400","400italic","500","500italic"]},{f:"DM Sans",v:["400","400italic","500","500italic","700","700italic"]},{f:"DM Serif Display",v:["400","400italic"]},{f:"DM Serif Text",v:["400","400italic"]},{f:"Damion",v:["400"]},{f:"Dancing Script",v:["400","500","600","700"]},{f:"Dangrek",v:["400"]},{f:"Darker Grotesque",v:["300","400","500","600","700","800","900"]},{f:"David Libre",v:["400","500","700"]},{f:"Dawning of a New Day",v:["400"]},{f:"Days One",v:["400"]},{f:"Dekko",v:["400"]},{f:"Delius",v:["400"]},{f:"Delius Swash Caps",v:["400"]},{f:"Delius Unicase",v:["400","700"]},{f:"Della Respira",v:["400"]},{f:"Denk One",v:["400"]},{f:"Devonshire",v:["400"]},{f:"Dhurjati",v:["400"]},{f:"Didact Gothic",v:["400"]},{f:"Diplomata",v:["400"]},{f:"Diplomata SC",v:["400"]},{f:"Do Hyeon",v:["400"]},{f:"Dokdo",v:["400"]},{f:"Domine",v:["400","700"]},{f:"Donegal One",v:["400"]},{f:"Doppio One",v:["400"]},{f:"Dorsa",v:["400"]},{f:"Dosis",v:["200","300","400","500","600","700","800"]},{f:"Dr Sugiyama",v:["400"]},{f:"Duru Sans",v:["400"]},{f:"Dynalight",v:["400"]},{f:"EB Garamond",v:["400","500","600","700","800","400italic","500italic","600italic","700italic","800italic"]},{f:"Eagle Lake",v:["400"]},{f:"East Sea Dokdo",v:["400"]},{f:"Eater",v:["400"]},{f:"Economica",v:["400","400italic","700","700italic"]},{f:"Eczar",v:["400","500","600","700","800"]},{f:"El Messiri",v:["400","500","600","700"]},{f:"Electrolize",v:["400"]},{f:"Elsie",v:["400","900"]},{f:"Elsie Swash Caps",v:["400","900"]},{f:"Emblema One",v:["400"]},{f:"Emilys Candy",v:["400"]},{f:"Encode Sans",v:["100","200","300","400","500","600","700","800","900"]},{f:"Encode Sans Condensed",v:["100","200","300","400","500","600","700","800","900"]},{f:"Encode Sans Expanded",v:["100","200","300","400","500","600","700","800","900"]},{f:"Encode Sans Semi Condensed",v:["100","200","300","400","500","600","700","800","900"]},{f:"Encode Sans Semi Expanded",v:["100","200","300","400","500","600","700","800","900"]},{f:"Engagement",v:["400"]},{f:"Englebert",v:["400"]},{f:"Enriqueta",v:["400","500","600","700"]},{f:"Epilogue",v:["100","200","300","400","500","600","700","800","900","100italic","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Erica One",v:["400"]},{f:"Esteban",v:["400"]},{f:"Euphoria Script",v:["400"]},{f:"Ewert",v:["400"]},{f:"Exo",v:["100","200","300","400","500","600","700","800","900","100italic","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Exo 2",v:["100","200","300","400","500","600","700","800","900","100italic","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Expletus Sans",v:["400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Fahkwang",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Fanwood Text",v:["400","400italic"]},{f:"Farro",v:["300","400","500","700"]},{f:"Farsan",v:["400"]},{f:"Fascinate",v:["400"]},{f:"Fascinate Inline",v:["400"]},{f:"Faster One",v:["400"]},{f:"Fasthand",v:["400"]},{f:"Fauna One",v:["400"]},{f:"Faustina",v:["400","500","600","700","400italic","500italic","600italic","700italic"]},{f:"Federant",v:["400"]},{f:"Federo",v:["400"]},{f:"Felipa",v:["400"]},{f:"Fenix",v:["400"]},{f:"Finger Paint",v:["400"]},{f:"Fira Code",v:["300","400","500","600","700"]},{f:"Fira Mono",v:["400","500","700"]},{f:"Fira Sans",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Fira Sans Condensed",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Fira Sans Extra Condensed",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Fjalla One",v:["400"]},{f:"Fjord One",v:["400"]},{f:"Flamenco",v:["300","400"]},{f:"Flavors",v:["400"]},{f:"Fondamento",v:["400","400italic"]},{f:"Fontdiner Swanky",v:["400"]},{f:"Forum",v:["400"]},{f:"Francois One",v:["400"]},{f:"Frank Ruhl Libre",v:["300","400","500","700","900"]},{f:"Freckle Face",v:["400"]},{f:"Fredericka the Great",v:["400"]},{f:"Fredoka One",v:["400"]},{f:"Freehand",v:["400"]},{f:"Fresca",v:["400"]},{f:"Frijole",v:["400"]},{f:"Fruktur",v:["400"]},{f:"Fugaz One",v:["400"]},{f:"GFS Didot",v:["400"]},{f:"GFS Neohellenic",v:["400","400italic","700","700italic"]},{f:"Gabriela",v:["400"]},{f:"Gaegu",v:["300","400","700"]},{f:"Gafata",v:["400"]},{f:"Galada",v:["400"]},{f:"Galdeano",v:["400"]},{f:"Galindo",v:["400"]},{f:"Gamja Flower",v:["400"]},{f:"Gayathri",v:["100","400","700"]},{f:"Gelasio",v:["400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Gentium Basic",v:["400","400italic","700","700italic"]},{f:"Gentium Book Basic",v:["400","400italic","700","700italic"]},{f:"Geo",v:["400","400italic"]},{f:"Geostar",v:["400"]},{f:"Geostar Fill",v:["400"]},{f:"Germania One",v:["400"]},{f:"Gidugu",v:["400"]},{f:"Gilda Display",v:["400"]},{f:"Girassol",v:["400"]},{f:"Give You Glory",v:["400"]},{f:"Glass Antiqua",v:["400"]},{f:"Glegoo",v:["400","700"]},{f:"Gloria Hallelujah",v:["400"]},{f:"Goblin One",v:["400"]},{f:"Gochi Hand",v:["400"]},{f:"Gorditas",v:["400","700"]},{f:"Gothic A1",v:["100","200","300","400","500","600","700","800","900"]},{f:"Gotu",v:["400"]},{f:"Goudy Bookletter 1911",v:["400"]},{f:"Graduate",v:["400"]},{f:"Grand Hotel",v:["400"]},{f:"Gravitas One",v:["400"]},{f:"Great Vibes",v:["400"]},{f:"Grenze",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Grenze Gotisch",v:["100","200","300","400","500","600","700","800","900"]},{f:"Griffy",v:["400"]},{f:"Gruppo",v:["400"]},{f:"Gudea",v:["400","400italic","700"]},{f:"Gugi",v:["400"]},{f:"Gupter",v:["400","500","700"]},{f:"Gurajada",v:["400"]},{f:"Habibi",v:["400"]},{f:"Halant",v:["300","400","500","600","700"]},{f:"Hammersmith One",v:["400"]},{f:"Hanalei",v:["400"]},{f:"Hanalei Fill",v:["400"]},{f:"Handlee",v:["400"]},{f:"Hanuman",v:["400","700"]},{f:"Happy Monkey",v:["400"]},{f:"Harmattan",v:["400","700"]},{f:"Headland One",v:["400"]},{f:"Heebo",v:["100","200","300","400","500","600","700","800","900"]},{f:"Henny Penny",v:["400"]},{f:"Hepta Slab",v:["100","200","300","400","500","600","700","800","900"]},{f:"Herr Von Muellerhoff",v:["400"]},{f:"Hi Melody",v:["400"]},{f:"Hind",v:["300","400","500","600","700"]},{f:"Hind Guntur",v:["300","400","500","600","700"]},{f:"Hind Madurai",v:["300","400","500","600","700"]},{f:"Hind Siliguri",v:["300","400","500","600","700"]},{f:"Hind Vadodara",v:["300","400","500","600","700"]},{f:"Holtwood One SC",v:["400"]},{f:"Homemade Apple",v:["400"]},{f:"Homenaje",v:["400"]},{f:"IBM Plex Mono",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"IBM Plex Sans",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"IBM Plex Sans Condensed",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"IBM Plex Serif",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"IM Fell DW Pica",v:["400","400italic"]},{f:"IM Fell DW Pica SC",v:["400"]},{f:"IM Fell Double Pica",v:["400","400italic"]},{f:"IM Fell Double Pica SC",v:["400"]},{f:"IM Fell English",v:["400","400italic"]},{f:"IM Fell English SC",v:["400"]},{f:"IM Fell French Canon",v:["400","400italic"]},{f:"IM Fell French Canon SC",v:["400"]},{f:"IM Fell Great Primer",v:["400","400italic"]},{f:"IM Fell Great Primer SC",v:["400"]},{f:"Ibarra Real Nova",v:["400","400italic","600","600italic","700","700italic"]},{f:"Iceberg",v:["400"]},{f:"Iceland",v:["400"]},{f:"Imprima",v:["400"]},{f:"Inconsolata",v:["200","300","400","500","600","700","800","900"]},{f:"Inder",v:["400"]},{f:"Indie Flower",v:["400"]},{f:"Inika",v:["400","700"]},{f:"Inknut Antiqua",v:["300","400","500","600","700","800","900"]},{f:"Inria Sans",v:["300","300italic","400","400italic","700","700italic"]},{f:"Inria Serif",v:["300","300italic","400","400italic","700","700italic"]},{f:"Inter",v:["100","200","300","400","500","600","700","800","900"]},{f:"Irish Grover",v:["400"]},{f:"Istok Web",v:["400","400italic","700","700italic"]},{f:"Italiana",v:["400"]},{f:"Italianno",v:["400"]},{f:"Itim",v:["400"]},{f:"Jacques Francois",v:["400"]},{f:"Jacques Francois Shadow",v:["400"]},{f:"Jaldi",v:["400","700"]},{f:"Jim Nightshade",v:["400"]},{f:"Jockey One",v:["400"]},{f:"Jolly Lodger",v:["400"]},{f:"Jomhuria",v:["400"]},{f:"Jomolhari",v:["400"]},{f:"Josefin Sans",v:["100","200","300","400","500","600","700","100italic","200italic","300italic","400italic","500italic","600italic","700italic"]},{f:"Josefin Slab",v:["100","100italic","300","300italic","400","400italic","600","600italic","700","700italic"]},{f:"Jost",v:["100","200","300","400","500","600","700","800","900","100italic","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Joti One",v:["400"]},{f:"Jua",v:["400"]},{f:"Judson",v:["400","400italic","700"]},{f:"Julee",v:["400"]},{f:"Julius Sans One",v:["400"]},{f:"Junge",v:["400"]},{f:"Jura",v:["300","400","500","600","700"]},{f:"Just Another Hand",v:["400"]},{f:"Just Me Again Down Here",v:["400"]},{f:"K2D",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{f:"Kadwa",v:["400","700"]},{f:"Kalam",v:["300","400","700"]},{f:"Kameron",v:["400","700"]},{f:"Kanit",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Kantumruy",v:["300","400","700"]},{f:"Karla",v:["400","400italic","700","700italic"]},{f:"Karma",v:["300","400","500","600","700"]},{f:"Katibeh",v:["400"]},{f:"Kaushan Script",v:["400"]},{f:"Kavivanar",v:["400"]},{f:"Kavoon",v:["400"]},{f:"Kdam Thmor",v:["400"]},{f:"Keania One",v:["400"]},{f:"Kelly Slab",v:["400"]},{f:"Kenia",v:["400"]},{f:"Khand",v:["300","400","500","600","700"]},{f:"Khmer",v:["400"]},{f:"Khula",v:["300","400","600","700","800"]},{f:"Kirang Haerang",v:["400"]},{f:"Kite One",v:["400"]},{f:"Knewave",v:["400"]},{f:"KoHo",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Kodchasan",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Kosugi",v:["400"]},{f:"Kosugi Maru",v:["400"]},{f:"Kotta One",v:["400"]},{f:"Koulen",v:["400"]},{f:"Kranky",v:["400"]},{f:"Kreon",v:["300","400","500","600","700"]},{f:"Kristi",v:["400"]},{f:"Krona One",v:["400"]},{f:"Krub",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Kulim Park",v:["200","200italic","300","300italic","400","400italic","600","600italic","700","700italic"]},{f:"Kumar One",v:["400"]},{f:"Kumar One Outline",v:["400"]},{f:"Kurale",v:["400"]},{f:"La Belle Aurore",v:["400"]},{f:"Lacquer",v:["400"]},{f:"Laila",v:["300","400","500","600","700"]},{f:"Lakki Reddy",v:["400"]},{f:"Lalezar",v:["400"]},{f:"Lancelot",v:["400"]},{f:"Lateef",v:["400"]},{f:"Lato",v:["100","100italic","300","300italic","400","400italic","700","700italic","900","900italic"]},{f:"League Script",v:["400"]},{f:"Leckerli One",v:["400"]},{f:"Ledger",v:["400"]},{f:"Lekton",v:["400","400italic","700"]},{f:"Lemon",v:["400"]},{f:"Lemonada",v:["300","400","500","600","700"]},{f:"Lexend Deca",v:["400"]},{f:"Lexend Exa",v:["400"]},{f:"Lexend Giga",v:["400"]},{f:"Lexend Mega",v:["400"]},{f:"Lexend Peta",v:["400"]},{f:"Lexend Tera",v:["400"]},{f:"Lexend Zetta",v:["400"]},{f:"Libre Barcode 128",v:["400"]},{f:"Libre Barcode 128 Text",v:["400"]},{f:"Libre Barcode 39",v:["400"]},{f:"Libre Barcode 39 Extended",v:["400"]},{f:"Libre Barcode 39 Extended Text",v:["400"]},{f:"Libre Barcode 39 Text",v:["400"]},{f:"Libre Baskerville",v:["400","400italic","700"]},{f:"Libre Caslon Display",v:["400"]},{f:"Libre Caslon Text",v:["400","400italic","700"]},{f:"Libre Franklin",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Life Savers",v:["400","700","800"]},{f:"Lilita One",v:["400"]},{f:"Lily Script One",v:["400"]},{f:"Limelight",v:["400"]},{f:"Linden Hill",v:["400","400italic"]},{f:"Literata",v:["400","500","600","700","400italic","500italic","600italic","700italic"]},{f:"Liu Jian Mao Cao",v:["400"]},{f:"Livvic",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","900","900italic"]},{f:"Lobster",v:["400"]},{f:"Lobster Two",v:["400","400italic","700","700italic"]},{f:"Londrina Outline",v:["400"]},{f:"Londrina Shadow",v:["400"]},{f:"Londrina Sketch",v:["400"]},{f:"Londrina Solid",v:["100","300","400","900"]},{f:"Long Cang",v:["400"]},{f:"Lora",v:["400","500","600","700","400italic","500italic","600italic","700italic"]},{f:"Love Ya Like A Sister",v:["400"]},{f:"Loved by the King",v:["400"]},{f:"Lovers Quarrel",v:["400"]},{f:"Luckiest Guy",v:["400"]},{f:"Lusitana",v:["400","700"]},{f:"Lustria",v:["400"]},{f:"M PLUS 1p",v:["100","300","400","500","700","800","900"]},{f:"M PLUS Rounded 1c",v:["100","300","400","500","700","800","900"]},{f:"Ma Shan Zheng",v:["400"]},{f:"Macondo",v:["400"]},{f:"Macondo Swash Caps",v:["400"]},{f:"Mada",v:["200","300","400","500","600","700","900"]},{f:"Magra",v:["400","700"]},{f:"Maiden Orange",v:["400"]},{f:"Maitree",v:["200","300","400","500","600","700"]},{f:"Major Mono Display",v:["400"]},{f:"Mako",v:["400"]},{f:"Mali",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Mallanna",v:["400"]},{f:"Mandali",v:["400"]},{f:"Manjari",v:["100","400","700"]},{f:"Manrope",v:["200","300","400","500","600","700","800"]},{f:"Mansalva",v:["400"]},{f:"Manuale",v:["400","500","600","700","400italic","500italic","600italic","700italic"]},{f:"Marcellus",v:["400"]},{f:"Marcellus SC",v:["400"]},{f:"Marck Script",v:["400"]},{f:"Margarine",v:["400"]},{f:"Markazi Text",v:["400","500","600","700"]},{f:"Marko One",v:["400"]},{f:"Marmelad",v:["400"]},{f:"Martel",v:["200","300","400","600","700","800","900"]},{f:"Martel Sans",v:["200","300","400","600","700","800","900"]},{f:"Marvel",v:["400","400italic","700","700italic"]},{f:"Mate",v:["400","400italic"]},{f:"Mate SC",v:["400"]},{f:"Maven Pro",v:["400","500","600","700","800","900"]},{f:"McLaren",v:["400"]},{f:"Meddon",v:["400"]},{f:"MedievalSharp",v:["400"]},{f:"Medula One",v:["400"]},{f:"Meera Inimai",v:["400"]},{f:"Megrim",v:["400"]},{f:"Meie Script",v:["400"]},{f:"Merienda",v:["400","700"]},{f:"Merienda One",v:["400"]},{f:"Merriweather",v:["300","300italic","400","400italic","700","700italic","900","900italic"]},{f:"Merriweather Sans",v:["300","300italic","400","400italic","700","700italic","800","800italic"]},{f:"Metal",v:["400"]},{f:"Metal Mania",v:["400"]},{f:"Metamorphous",v:["400"]},{f:"Metrophobic",v:["400"]},{f:"Michroma",v:["400"]},{f:"Milonga",v:["400"]},{f:"Miltonian",v:["400"]},{f:"Miltonian Tattoo",v:["400"]},{f:"Mina",v:["400","700"]},{f:"Miniver",v:["400"]},{f:"Miriam Libre",v:["400","700"]},{f:"Mirza",v:["400","500","600","700"]},{f:"Miss Fajardose",v:["400"]},{f:"Mitr",v:["200","300","400","500","600","700"]},{f:"Modak",v:["400"]},{f:"Modern Antiqua",v:["400"]},{f:"Mogra",v:["400"]},{f:"Molengo",v:["400"]},{f:"Molle",v:["400italic"]},{f:"Monda",v:["400","700"]},{f:"Monofett",v:["400"]},{f:"Monoton",v:["400"]},{f:"Monsieur La Doulaise",v:["400"]},{f:"Montaga",v:["400"]},{f:"Montez",v:["400"]},{f:"Montserrat",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Montserrat Alternates",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Montserrat Subrayada",v:["400","700"]},{f:"Moul",v:["400"]},{f:"Moulpali",v:["400"]},{f:"Mountains of Christmas",v:["400","700"]},{f:"Mouse Memoirs",v:["400"]},{f:"Mr Bedfort",v:["400"]},{f:"Mr Dafoe",v:["400"]},{f:"Mr De Haviland",v:["400"]},{f:"Mrs Saint Delafield",v:["400"]},{f:"Mrs Sheppards",v:["400"]},{f:"Mukta",v:["200","300","400","500","600","700","800"]},{f:"Mukta Mahee",v:["200","300","400","500","600","700","800"]},{f:"Mukta Malar",v:["200","300","400","500","600","700","800"]},{f:"Mukta Vaani",v:["200","300","400","500","600","700","800"]},{f:"Mulish",v:["200","300","400","500","600","700","800","900","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"MuseoModerno",v:["100","200","300","400","500","600","700","800","900"]},{f:"Mystery Quest",v:["400"]},{f:"NTR",v:["400"]},{f:"Nanum Brush Script",v:["400"]},{f:"Nanum Gothic",v:["400","700","800"]},{f:"Nanum Gothic Coding",v:["400","700"]},{f:"Nanum Myeongjo",v:["400","700","800"]},{f:"Nanum Pen Script",v:["400"]},{f:"Neucha",v:["400"]},{f:"Neuton",v:["200","300","400","400italic","700","800"]},{f:"New Rocker",v:["400"]},{f:"News Cycle",v:["400","700"]},{f:"Niconne",v:["400"]},{f:"Niramit",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Nixie One",v:["400"]},{f:"Nobile",v:["400","400italic","500","500italic","700","700italic"]},{f:"Nokora",v:["400","700"]},{f:"Norican",v:["400"]},{f:"Nosifer",v:["400"]},{f:"Notable",v:["400"]},{f:"Nothing You Could Do",v:["400"]},{f:"Noticia Text",v:["400","400italic","700","700italic"]},{f:"Noto Sans",v:["400","400italic","700","700italic"]},{f:"Noto Sans HK",v:["100","300","400","500","700","900"]},{f:"Noto Sans JP",v:["100","300","400","500","700","900"]},{f:"Noto Sans KR",v:["100","300","400","500","700","900"]},{f:"Noto Sans SC",v:["100","300","400","500","700","900"]},{f:"Noto Sans TC",v:["100","300","400","500","700","900"]},{f:"Noto Serif",v:["400","400italic","700","700italic"]},{f:"Noto Serif JP",v:["200","300","400","500","600","700","900"]},{f:"Noto Serif KR",v:["200","300","400","500","600","700","900"]},{f:"Noto Serif SC",v:["200","300","400","500","600","700","900"]},{f:"Noto Serif TC",v:["200","300","400","500","600","700","900"]},{f:"Nova Cut",v:["400"]},{f:"Nova Flat",v:["400"]},{f:"Nova Mono",v:["400"]},{f:"Nova Oval",v:["400"]},{f:"Nova Round",v:["400"]},{f:"Nova Script",v:["400"]},{f:"Nova Slim",v:["400"]},{f:"Nova Square",v:["400"]},{f:"Numans",v:["400"]},{f:"Nunito",v:["200","200italic","300","300italic","400","400italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Nunito Sans",v:["200","200italic","300","300italic","400","400italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Odibee Sans",v:["400"]},{f:"Odor Mean Chey",v:["400"]},{f:"Offside",v:["400"]},{f:"Old Standard TT",v:["400","400italic","700"]},{f:"Oldenburg",v:["400"]},{f:"Oleo Script",v:["400","700"]},{f:"Oleo Script Swash Caps",v:["400","700"]},{f:"Open Sans",v:["300","300italic","400","400italic","600","600italic","700","700italic","800","800italic"]},{f:"Open Sans Condensed",v:["300","300italic","700"]},{f:"Oranienbaum",v:["400"]},{f:"Orbitron",v:["400","500","600","700","800","900"]},{f:"Oregano",v:["400","400italic"]},{f:"Orienta",v:["400"]},{f:"Original Surfer",v:["400"]},{f:"Oswald",v:["200","300","400","500","600","700"]},{f:"Over the Rainbow",v:["400"]},{f:"Overlock",v:["400","400italic","700","700italic","900","900italic"]},{f:"Overlock SC",v:["400"]},{f:"Overpass",v:["100","100italic","200","200italic","300","300italic","400","400italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Overpass Mono",v:["300","400","600","700"]},{f:"Ovo",v:["400"]},{f:"Oxanium",v:["200","300","400","500","600","700","800"]},{f:"Oxygen",v:["300","400","700"]},{f:"Oxygen Mono",v:["400"]},{f:"PT Mono",v:["400"]},{f:"PT Sans",v:["400","400italic","700","700italic"]},{f:"PT Sans Caption",v:["400","700"]},{f:"PT Sans Narrow",v:["400","700"]},{f:"PT Serif",v:["400","400italic","700","700italic"]},{f:"PT Serif Caption",v:["400","400italic"]},{f:"Pacifico",v:["400"]},{f:"Padauk",v:["400","700"]},{f:"Palanquin",v:["100","200","300","400","500","600","700"]},{f:"Palanquin Dark",v:["400","500","600","700"]},{f:"Pangolin",v:["400"]},{f:"Paprika",v:["400"]},{f:"Parisienne",v:["400"]},{f:"Passero One",v:["400"]},{f:"Passion One",v:["400","700","900"]},{f:"Pathway Gothic One",v:["400"]},{f:"Patrick Hand",v:["400"]},{f:"Patrick Hand SC",v:["400"]},{f:"Pattaya",v:["400"]},{f:"Patua One",v:["400"]},{f:"Pavanam",v:["400"]},{f:"Paytone One",v:["400"]},{f:"Peddana",v:["400"]},{f:"Peralta",v:["400"]},{f:"Permanent Marker",v:["400"]},{f:"Petit Formal Script",v:["400"]},{f:"Petrona",v:["400"]},{f:"Philosopher",v:["400","400italic","700","700italic"]},{f:"Piedra",v:["400"]},{f:"Pinyon Script",v:["400"]},{f:"Pirata One",v:["400"]},{f:"Plaster",v:["400"]},{f:"Play",v:["400","700"]},{f:"Playball",v:["400"]},{f:"Playfair Display",v:["400","500","600","700","800","900","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Playfair Display SC",v:["400","400italic","700","700italic","900","900italic"]},{f:"Podkova",v:["400","500","600","700","800"]},{f:"Poiret One",v:["400"]},{f:"Poller One",v:["400"]},{f:"Poly",v:["400","400italic"]},{f:"Pompiere",v:["400"]},{f:"Pontano Sans",v:["400"]},{f:"Poor Story",v:["400"]},{f:"Poppins",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Port Lligat Sans",v:["400"]},{f:"Port Lligat Slab",v:["400"]},{f:"Pragati Narrow",v:["400","700"]},{f:"Prata",v:["400"]},{f:"Preahvihear",v:["400"]},{f:"Press Start 2P",v:["400"]},{f:"Pridi",v:["200","300","400","500","600","700"]},{f:"Princess Sofia",v:["400"]},{f:"Prociono",v:["400"]},{f:"Prompt",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Prosto One",v:["400"]},{f:"Proza Libre",v:["400","400italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{f:"Public Sans",v:["100","200","300","400","500","600","700","800","900","100italic","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Puritan",v:["400","400italic","700","700italic"]},{f:"Purple Purse",v:["400"]},{f:"Quando",v:["400"]},{f:"Quantico",v:["400","400italic","700","700italic"]},{f:"Quattrocento",v:["400","700"]},{f:"Quattrocento Sans",v:["400","400italic","700","700italic"]},{f:"Questrial",v:["400"]},{f:"Quicksand",v:["300","400","500","600","700"]},{f:"Quintessential",v:["400"]},{f:"Qwigley",v:["400"]},{f:"Racing Sans One",v:["400"]},{f:"Radley",v:["400","400italic"]},{f:"Rajdhani",v:["300","400","500","600","700"]},{f:"Rakkas",v:["400"]},{f:"Raleway",v:["100","200","300","400","500","600","700","800","900","100italic","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Raleway Dots",v:["400"]},{f:"Ramabhadra",v:["400"]},{f:"Ramaraja",v:["400"]},{f:"Rambla",v:["400","400italic","700","700italic"]},{f:"Rammetto One",v:["400"]},{f:"Ranchers",v:["400"]},{f:"Rancho",v:["400"]},{f:"Ranga",v:["400","700"]},{f:"Rasa",v:["300","400","500","600","700"]},{f:"Rationale",v:["400"]},{f:"Ravi Prakash",v:["400"]},{f:"Recursive",v:["300","400","500","600","700","800","900"]},{f:"Red Hat Display",v:["400","400italic","500","500italic","700","700italic","900","900italic"]},{f:"Red Hat Text",v:["400","400italic","500","500italic","700","700italic"]},{f:"Red Rose",v:["300","400","700"]},{f:"Redressed",v:["400"]},{f:"Reem Kufi",v:["400"]},{f:"Reenie Beanie",v:["400"]},{f:"Revalia",v:["400"]},{f:"Rhodium Libre",v:["400"]},{f:"Ribeye",v:["400"]},{f:"Ribeye Marrow",v:["400"]},{f:"Righteous",v:["400"]},{f:"Risque",v:["400"]},{f:"Roboto",v:["100","100italic","300","300italic","400","400italic","500","500italic","700","700italic","900","900italic"]},{f:"Roboto Condensed",v:["300","300italic","400","400italic","700","700italic"]},{f:"Roboto Mono",v:["100","200","300","400","500","600","700","100italic","200italic","300italic","400italic","500italic","600italic","700italic"]},{f:"Roboto Slab",v:["100","200","300","400","500","600","700","800","900"]},{f:"Rochester",v:["400"]},{f:"Rock Salt",v:["400"]},{f:"Rokkitt",v:["100","200","300","400","500","600","700","800","900"]},{f:"Romanesco",v:["400"]},{f:"Ropa Sans",v:["400","400italic"]},{f:"Rosario",v:["300","400","500","600","700","300italic","400italic","500italic","600italic","700italic"]},{f:"Rosarivo",v:["400","400italic"]},{f:"Rouge Script",v:["400"]},{f:"Rowdies",v:["300","400","700"]},{f:"Rozha One",v:["400"]},{f:"Rubik",v:["300","300italic","400","400italic","500","500italic","700","700italic","900","900italic"]},{f:"Rubik Mono One",v:["400"]},{f:"Ruda",v:["400","500","600","700","800","900"]},{f:"Rufina",v:["400","700"]},{f:"Ruge Boogie",v:["400"]},{f:"Ruluko",v:["400"]},{f:"Rum Raisin",v:["400"]},{f:"Ruslan Display",v:["400"]},{f:"Russo One",v:["400"]},{f:"Ruthie",v:["400"]},{f:"Rye",v:["400"]},{f:"Sacramento",v:["400"]},{f:"Sahitya",v:["400","700"]},{f:"Sail",v:["400"]},{f:"Saira",v:["100","200","300","400","500","600","700","800","900"]},{f:"Saira Condensed",v:["100","200","300","400","500","600","700","800","900"]},{f:"Saira Extra Condensed",v:["100","200","300","400","500","600","700","800","900"]},{f:"Saira Semi Condensed",v:["100","200","300","400","500","600","700","800","900"]},{f:"Saira Stencil One",v:["400"]},{f:"Salsa",v:["400"]},{f:"Sanchez",v:["400","400italic"]},{f:"Sancreek",v:["400"]},{f:"Sansita",v:["400","400italic","700","700italic","800","800italic","900","900italic"]},{f:"Sarabun",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{f:"Sarala",v:["400","700"]},{f:"Sarina",v:["400"]},{f:"Sarpanch",v:["400","500","600","700","800","900"]},{f:"Satisfy",v:["400"]},{f:"Sawarabi Gothic",v:["400"]},{f:"Sawarabi Mincho",v:["400"]},{f:"Scada",v:["400","400italic","700","700italic"]},{f:"Scheherazade",v:["400","700"]},{f:"Schoolbell",v:["400"]},{f:"Scope One",v:["400"]},{f:"Seaweed Script",v:["400"]},{f:"Secular One",v:["400"]},{f:"Sedgwick Ave",v:["400"]},{f:"Sedgwick Ave Display",v:["400"]},{f:"Sen",v:["400","700","800"]},{f:"Sevillana",v:["400"]},{f:"Seymour One",v:["400"]},{f:"Shadows Into Light",v:["400"]},{f:"Shadows Into Light Two",v:["400"]},{f:"Shanti",v:["400"]},{f:"Share",v:["400","400italic","700","700italic"]},{f:"Share Tech",v:["400"]},{f:"Share Tech Mono",v:["400"]},{f:"Shojumaru",v:["400"]},{f:"Short Stack",v:["400"]},{f:"Shrikhand",v:["400"]},{f:"Siemreap",v:["400"]},{f:"Sigmar One",v:["400"]},{f:"Signika",v:["300","400","500","600","700"]},{f:"Signika Negative",v:["300","400","600","700"]},{f:"Simonetta",v:["400","400italic","900","900italic"]},{f:"Single Day",v:["400"]},{f:"Sintony",v:["400","700"]},{f:"Sirin Stencil",v:["400"]},{f:"Six Caps",v:["400"]},{f:"Skranji",v:["400","700"]},{f:"Slabo 13px",v:["400"]},{f:"Slabo 27px",v:["400"]},{f:"Slackey",v:["400"]},{f:"Smokum",v:["400"]},{f:"Smythe",v:["400"]},{f:"Sniglet",v:["400","800"]},{f:"Snippet",v:["400"]},{f:"Snowburst One",v:["400"]},{f:"Sofadi One",v:["400"]},{f:"Sofia",v:["400"]},{f:"Solway",v:["300","400","500","700","800"]},{f:"Song Myung",v:["400"]},{f:"Sonsie One",v:["400"]},{f:"Sora",v:["100","200","300","400","500","600","700","800"]},{f:"Sorts Mill Goudy",v:["400","400italic"]},{f:"Source Code Pro",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","900","900italic"]},{f:"Source Sans Pro",v:["200","200italic","300","300italic","400","400italic","600","600italic","700","700italic","900","900italic"]},{f:"Source Serif Pro",v:["200","200italic","300","300italic","400","400italic","600","600italic","700","700italic","900","900italic"]},{f:"Space Mono",v:["400","400italic","700","700italic"]},{f:"Spartan",v:["100","200","300","400","500","600","700","800","900"]},{f:"Special Elite",v:["400"]},{f:"Spectral",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{f:"Spectral SC",v:["200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic"]},{f:"Spicy Rice",v:["400"]},{f:"Spinnaker",v:["400"]},{f:"Spirax",v:["400"]},{f:"Squada One",v:["400"]},{f:"Sree Krushnadevaraya",v:["400"]},{f:"Sriracha",v:["400"]},{f:"Srisakdi",v:["400","700"]},{f:"Staatliches",v:["400"]},{f:"Stalemate",v:["400"]},{f:"Stalinist One",v:["400"]},{f:"Stardos Stencil",v:["400","700"]},{f:"Stint Ultra Condensed",v:["400"]},{f:"Stint Ultra Expanded",v:["400"]},{f:"Stoke",v:["300","400"]},{f:"Strait",v:["400"]},{f:"Stylish",v:["400"]},{f:"Sue Ellen Francisco",v:["400"]},{f:"Suez One",v:["400"]},{f:"Sulphur Point",v:["300","400","700"]},{f:"Sumana",v:["400","700"]},{f:"Sunflower",v:["300","500","700"]},{f:"Sunshiney",v:["400"]},{f:"Supermercado One",v:["400"]},{f:"Sura",v:["400","700"]},{f:"Suranna",v:["400"]},{f:"Suravaram",v:["400"]},{f:"Suwannaphum",v:["400"]},{f:"Swanky and Moo Moo",v:["400"]},{f:"Syncopate",v:["400","700"]},{f:"Tajawal",v:["200","300","400","500","700","800","900"]},{f:"Tangerine",v:["400","700"]},{f:"Taprom",v:["400"]},{f:"Tauri",v:["400"]},{f:"Taviraj",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Teko",v:["300","400","500","600","700"]},{f:"Telex",v:["400"]},{f:"Tenali Ramakrishna",v:["400"]},{f:"Tenor Sans",v:["400"]},{f:"Text Me One",v:["400"]},{f:"Thasadith",v:["400","400italic","700","700italic"]},{f:"The Girl Next Door",v:["400"]},{f:"Tienne",v:["400","700","900"]},{f:"Tillana",v:["400","500","600","700","800"]},{f:"Timmana",v:["400"]},{f:"Tinos",v:["400","400italic","700","700italic"]},{f:"Titan One",v:["400"]},{f:"Titillium Web",v:["200","200italic","300","300italic","400","400italic","600","600italic","700","700italic","900"]},{f:"Tomorrow",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Trade Winds",v:["400"]},{f:"Trirong",v:["100","100italic","200","200italic","300","300italic","400","400italic","500","500italic","600","600italic","700","700italic","800","800italic","900","900italic"]},{f:"Trocchi",v:["400"]},{f:"Trochut",v:["400","400italic","700"]},{f:"Trykker",v:["400"]},{f:"Tulpen One",v:["400"]},{f:"Turret Road",v:["200","300","400","500","700","800"]},{f:"Ubuntu",v:["300","300italic","400","400italic","500","500italic","700","700italic"]},{f:"Ubuntu Condensed",v:["400"]},{f:"Ubuntu Mono",v:["400","400italic","700","700italic"]},{f:"Ultra",v:["400"]},{f:"Uncial Antiqua",v:["400"]},{f:"Underdog",v:["400"]},{f:"Unica One",v:["400"]},{f:"UnifrakturCook",v:["700"]},{f:"UnifrakturMaguntia",v:["400"]},{f:"Unkempt",v:["400","700"]},{f:"Unlock",v:["400"]},{f:"Unna",v:["400","400italic","700","700italic"]},{f:"VT323",v:["400"]},{f:"Vampiro One",v:["400"]},{f:"Varela",v:["400"]},{f:"Varela Round",v:["400"]},{f:"Varta",v:["300","400","500","600","700"]},{f:"Vast Shadow",v:["400"]},{f:"Vesper Libre",v:["400","500","700","900"]},{f:"Viaoda Libre",v:["400"]},{f:"Vibes",v:["400"]},{f:"Vibur",v:["400"]},{f:"Vidaloka",v:["400"]},{f:"Viga",v:["400"]},{f:"Voces",v:["400"]},{f:"Volkhov",v:["400","400italic","700","700italic"]},{f:"Vollkorn",v:["400","500","600","700","800","900","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Vollkorn SC",v:["400","600","700","900"]},{f:"Voltaire",v:["400"]},{f:"Waiting for the Sunrise",v:["400"]},{f:"Wallpoet",v:["400"]},{f:"Walter Turncoat",v:["400"]},{f:"Warnes",v:["400"]},{f:"Wellfleet",v:["400"]},{f:"Wendy One",v:["400"]},{f:"Wire One",v:["400"]},{f:"Work Sans",v:["100","200","300","400","500","600","700","800","900","100italic","200italic","300italic","400italic","500italic","600italic","700italic","800italic","900italic"]},{f:"Yanone Kaffeesatz",v:["200","300","400","500","600","700"]},{f:"Yantramanav",v:["100","300","400","500","700","900"]},{f:"Yatra One",v:["400"]},{f:"Yellowtail",v:["400"]},{f:"Yeon Sung",v:["400"]},{f:"Yeseva One",v:["400"]},{f:"Yesteryear",v:["400"]},{f:"Yrsa",v:["300","400","500","600","700"]},{f:"ZCOOL KuaiLe",v:["400"]},{f:"ZCOOL QingKe HuangYou",v:["400"]},{f:"ZCOOL XiaoWei",v:["400"]},{f:"Zeyada",v:["400"]},{f:"Zhi Mang Xing",v:["400"]},{f:"Zilla Slab",v:["300","300italic","400","400italic","500","500italic","600","600italic","700","700italic"]},{f:"Zilla Slab Highlight",v:["400","700"]}]}},function(i,a){i.exports={kind:"webfonts#webfontList",items:[{id:"arial",label:"Arial",stack:"Arial, Helvetica Neue, Helvetica, sans-serif"},{id:"calibri",label:"Calibri",stack:"Calibri, Candara, Segoe, Segoe UI, Optima, Arial, sans-serif;"},{id:"consolas",label:"Consolas",stack:"Consolas, monaco, monospace"},{id:"courier-new",label:"Courier New",stack:"Courier New, Courier, Lucida Sans Typewriter, Lucida Typewriter, monospace"},{id:"helvetica",label:"Helvetica Neue",stack:"Helvetica Neue, Helvetica, Arial, sans-serif"},{id:"georgia",label:"Georgia",stack:"Georgia, Times, Times New Roman, serif"},{id:"futura",label:"Futura",stack:"Futura, Trebuchet MS, Arial, sans-serif"},{id:"lucida-grande",label:"Lucida Grande",stack:"Lucida Grande, Lucida Sans Unicode, Lucida Sans, Geneva, Verdana, sans-serif"},{id:"tahoma",label:"Tahoma",stack:"Tahoma, Verdana, Segoe, sans-serif"},{id:"times-new-roman",label:"Times New Roman",stack:"TimesNewRoman, Times New Roman, Times, Baskerville, Georgia, serif"},{id:"trebuchet",label:"Trebuchet MS",stack:"Trebuchet MS, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Tahoma, sans-serif"},{id:"palatino",label:"Palatino",stack:"Palatino, Palatino Linotype, Palatino LT STD, Book Antiqua, Georgia, serif"},{id:"verdana",label:"Verdana",stack:"Verdana, Geneva, sans-serif;"}]}},function(i,a,t){"use strict";var l=wp.blocks.createBlock,e={from:[{type:"block",blocks:["core/paragraph"],transform:function(i){var a=i.content;return l("olympus-google-fonts/google-fonts",{content:a})}},{type:"block",blocks:["core/heading"],transform:function(i){var a=i.content,t=i.level;return l("olympus-google-fonts/google-fonts",{content:a,blockType:"h"+t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(i){var a=i.content;return l("core/paragraph",{content:a})}}]};a.a=e}]);
|
blocks/init.php
CHANGED
@@ -105,6 +105,8 @@ function olympus_google_fonts_block_render( $attributes ) {
|
|
105 |
wp_enqueue_style( 'google-font-' . $font_id_standardized, 'https://fonts.googleapis.com/css?family=' . $font_id . ':' . $variants_for_url . '&display=swap', array(), OGF_VERSION );
|
106 |
|
107 |
$font_family = esc_attr( str_replace( '+', ' ', $font_id ) );
|
|
|
|
|
108 |
}
|
109 |
|
110 |
$style = "font-family: {$font_family};";
|
105 |
wp_enqueue_style( 'google-font-' . $font_id_standardized, 'https://fonts.googleapis.com/css?family=' . $font_id . ':' . $variants_for_url . '&display=swap', array(), OGF_VERSION );
|
106 |
|
107 |
$font_family = esc_attr( str_replace( '+', ' ', $font_id ) );
|
108 |
+
} else {
|
109 |
+
$font_family = $font_id;
|
110 |
}
|
111 |
|
112 |
$style = "font-family: {$font_family};";
|
blocks/package-lock.json
CHANGED
@@ -2148,9 +2148,9 @@
|
|
2148 |
"integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA=="
|
2149 |
},
|
2150 |
"dot-prop": {
|
2151 |
-
"version": "4.2.
|
2152 |
-
"resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.
|
2153 |
-
"integrity": "sha512-
|
2154 |
"requires": {
|
2155 |
"is-obj": "^1.0.0"
|
2156 |
}
|
@@ -2180,9 +2180,9 @@
|
|
2180 |
"integrity": "sha512-PUurrpyDA74MuAjJRD+79ss5BqJlU3mdArRbuu4wO/dt6jc3Ic/6BDmFJxkdwbfq39cHf/XKm2vW98XSvut9Dg=="
|
2181 |
},
|
2182 |
"elliptic": {
|
2183 |
-
"version": "6.5.
|
2184 |
-
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.
|
2185 |
-
"integrity": "sha512-
|
2186 |
"requires": {
|
2187 |
"bn.js": "^4.4.0",
|
2188 |
"brorand": "^1.0.1",
|
2148 |
"integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA=="
|
2149 |
},
|
2150 |
"dot-prop": {
|
2151 |
+
"version": "4.2.1",
|
2152 |
+
"resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-4.2.1.tgz",
|
2153 |
+
"integrity": "sha512-l0p4+mIuJIua0mhxGoh4a+iNL9bmeK5DvnSVQa6T0OhrVmaEa1XScX5Etc673FePCJOArq/4Pa2cLGODUWTPOQ==",
|
2154 |
"requires": {
|
2155 |
"is-obj": "^1.0.0"
|
2156 |
}
|
2180 |
"integrity": "sha512-PUurrpyDA74MuAjJRD+79ss5BqJlU3mdArRbuu4wO/dt6jc3Ic/6BDmFJxkdwbfq39cHf/XKm2vW98XSvut9Dg=="
|
2181 |
},
|
2182 |
"elliptic": {
|
2183 |
+
"version": "6.5.3",
|
2184 |
+
"resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz",
|
2185 |
+
"integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==",
|
2186 |
"requires": {
|
2187 |
"bn.js": "^4.4.0",
|
2188 |
"brorand": "^1.0.1",
|
blocks/src/google-fonts/edit.js
CHANGED
@@ -6,7 +6,7 @@ import systemFontsJson from './systemFonts.json';
|
|
6 |
const { __ } = wp.i18n;
|
7 |
const { Component, Fragment } = wp.element;
|
8 |
const { SelectControl, RangeControl, PanelBody } = wp.components;
|
9 |
-
const { RichText, InspectorControls, BlockControls, AlignmentToolbar, PanelColorSettings } = wp.
|
10 |
|
11 |
class GoogleFontsBlock extends Component {
|
12 |
|
@@ -22,6 +22,21 @@ class GoogleFontsBlock extends Component {
|
|
22 |
* @returns {Object} value/label pair.
|
23 |
*/
|
24 |
getFontsForSelect() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
const systemFonts = systemFontsJson.items.map( ( font ) => {
|
26 |
const label = font.label;
|
27 |
const value = font.id;
|
@@ -32,6 +47,14 @@ class GoogleFontsBlock extends Component {
|
|
32 |
};
|
33 |
} );
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
const googleFonts = fontsJson.items.map( ( font ) => {
|
36 |
const label = font.f;
|
37 |
const value = label.replace( /\s+/g, '+' );
|
@@ -42,17 +65,13 @@ class GoogleFontsBlock extends Component {
|
|
42 |
};
|
43 |
} );
|
44 |
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
value: font.id,
|
51 |
-
label: font.label,
|
52 |
-
};
|
53 |
-
} );
|
54 |
|
55 |
-
return combinedFonts.concat(
|
56 |
}
|
57 |
|
58 |
searchFonts( nameKey, myArray ){
|
@@ -64,7 +83,7 @@ class GoogleFontsBlock extends Component {
|
|
64 |
}
|
65 |
|
66 |
isCustomFont( fontID ) {
|
67 |
-
const searchResults = this.searchFonts( fontID, Object.values(ogf_custom_fonts) );
|
68 |
|
69 |
if ( typeof searchResults === 'object' ) {
|
70 |
return true;
|
@@ -285,7 +304,7 @@ class GoogleFontsBlock extends Component {
|
|
285 |
color: color,
|
286 |
} }
|
287 |
placeholder={ __( 'Add some content...', 'olympus-google-fonts' ) }
|
288 |
-
|
289 |
/>
|
290 |
</Fragment>
|
291 |
);
|
6 |
const { __ } = wp.i18n;
|
7 |
const { Component, Fragment } = wp.element;
|
8 |
const { SelectControl, RangeControl, PanelBody } = wp.components;
|
9 |
+
const { RichText, InspectorControls, BlockControls, AlignmentToolbar, PanelColorSettings } = wp.blockEditor;
|
10 |
|
11 |
class GoogleFontsBlock extends Component {
|
12 |
|
22 |
* @returns {Object} value/label pair.
|
23 |
*/
|
24 |
getFontsForSelect() {
|
25 |
+
|
26 |
+
const customFonts = Object.values( ogf_custom_fonts ).map( ( font ) => {
|
27 |
+
|
28 |
+
return {
|
29 |
+
value: font.id,
|
30 |
+
label: font.label,
|
31 |
+
};
|
32 |
+
} );
|
33 |
+
|
34 |
+
customFonts.unshift({
|
35 |
+
value: '',
|
36 |
+
label: __( '- Custom Fonts -', 'olympus-google-fonts' ),
|
37 |
+
disabled: true,
|
38 |
+
});
|
39 |
+
|
40 |
const systemFonts = systemFontsJson.items.map( ( font ) => {
|
41 |
const label = font.label;
|
42 |
const value = font.id;
|
47 |
};
|
48 |
} );
|
49 |
|
50 |
+
systemFonts.unshift({
|
51 |
+
value: '',
|
52 |
+
label: __( '- System Fonts -', 'olympus-google-fonts' ),
|
53 |
+
disabled: true,
|
54 |
+
});
|
55 |
+
|
56 |
+
const combinedFonts = customFonts.concat( systemFonts );
|
57 |
+
|
58 |
const googleFonts = fontsJson.items.map( ( font ) => {
|
59 |
const label = font.f;
|
60 |
const value = label.replace( /\s+/g, '+' );
|
65 |
};
|
66 |
} );
|
67 |
|
68 |
+
googleFonts.unshift({
|
69 |
+
value: '',
|
70 |
+
label: __( '- Google Fonts -', 'olympus-google-fonts' ),
|
71 |
+
disabled: true,
|
72 |
+
});
|
|
|
|
|
|
|
|
|
73 |
|
74 |
+
return combinedFonts.concat( googleFonts );
|
75 |
}
|
76 |
|
77 |
searchFonts( nameKey, myArray ){
|
83 |
}
|
84 |
|
85 |
isCustomFont( fontID ) {
|
86 |
+
const searchResults = this.searchFonts( fontID, Object.values( ogf_custom_fonts ) );
|
87 |
|
88 |
if ( typeof searchResults === 'object' ) {
|
89 |
return true;
|
304 |
color: color,
|
305 |
} }
|
306 |
placeholder={ __( 'Add some content...', 'olympus-google-fonts' ) }
|
307 |
+
allowedFormats={ [ 'italic', 'link' ] }
|
308 |
/>
|
309 |
</Fragment>
|
310 |
);
|
changelog.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
= 2.2.1 =
|
2 |
|
3 |
* Fix broken activation redirect
|
1 |
+
= 2.2.2 =
|
2 |
+
|
3 |
+
* Block Editor improvements
|
4 |
+
|
5 |
= 2.2.1 =
|
6 |
|
7 |
* Fix broken activation redirect
|
includes/customizer/settings.php
CHANGED
@@ -180,53 +180,56 @@ function ogf_customize_register( $wp_customize ) {
|
|
180 |
|
181 |
$fonts = new OGF_Fonts();
|
182 |
|
183 |
-
|
184 |
|
185 |
-
|
186 |
-
foreach ( $choices as $font_id ) {
|
187 |
|
188 |
-
|
189 |
-
|
190 |
-
}
|
191 |
-
|
192 |
-
$weights = $fonts->get_font_weights( $font_id );
|
193 |
-
$name = $fonts->get_font_name( $font_id );
|
194 |
-
$all_variants = ogf_font_variants();
|
195 |
-
$new_variants = array();
|
196 |
-
foreach ( $weights as $key => $value ) {
|
197 |
-
$new_variants[ $key ] = $all_variants[ $key ];
|
198 |
-
}
|
199 |
-
unset( $new_variants[0] );
|
200 |
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
'default' => array( '100', '200', '300', '400', '500', '600', '700', '800', '900', '100i', '200i', '300i', '400i', '500i', '600i', '700i', '800i', '900i' ),
|
205 |
-
'transport' => 'refresh',
|
206 |
-
)
|
207 |
-
);
|
208 |
|
209 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
|
211 |
-
|
212 |
-
$input_attrs = array(
|
213 |
-
'disabled' => false,
|
214 |
-
);
|
215 |
-
}
|
216 |
-
|
217 |
-
$wp_customize->add_control(
|
218 |
-
new OGF_Customize_Multiple_Checkbox_Control(
|
219 |
-
$wp_customize,
|
220 |
$font_id . '_weights',
|
221 |
array(
|
222 |
-
'
|
223 |
-
'
|
224 |
-
'choices' => $new_variants,
|
225 |
-
'input_attrs' => $input_attrs,
|
226 |
)
|
227 |
-
)
|
228 |
-
|
|
|
229 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
230 |
}
|
231 |
|
232 |
$upsell_locations = array(
|
180 |
|
181 |
$fonts = new OGF_Fonts();
|
182 |
|
183 |
+
if ( $fonts->has_google_fonts() ) {
|
184 |
|
185 |
+
$choices = $fonts->choices;
|
|
|
186 |
|
187 |
+
// Build the selective font loading controls.
|
188 |
+
foreach ( $choices as $font_id ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
|
190 |
+
if ( ogf_is_system_font( $font_id ) || ogf_is_custom_font( $font_id ) ) {
|
191 |
+
return;
|
192 |
+
}
|
|
|
|
|
|
|
|
|
193 |
|
194 |
+
$weights = $fonts->get_font_weights( $font_id );
|
195 |
+
$name = $fonts->get_font_name( $font_id );
|
196 |
+
$all_variants = ogf_font_variants();
|
197 |
+
$new_variants = array();
|
198 |
+
foreach ( $weights as $key => $value ) {
|
199 |
+
$new_variants[ $key ] = $all_variants[ $key ];
|
200 |
+
}
|
201 |
+
unset( $new_variants[0] );
|
202 |
|
203 |
+
$wp_customize->add_setting(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
$font_id . '_weights',
|
205 |
array(
|
206 |
+
'default' => array( '100', '200', '300', '400', '500', '600', '700', '800', '900', '100i', '200i', '300i', '400i', '500i', '600i', '700i', '800i', '900i' ),
|
207 |
+
'transport' => 'refresh',
|
|
|
|
|
208 |
)
|
209 |
+
);
|
210 |
+
|
211 |
+
$input_attrs = array();
|
212 |
|
213 |
+
if ( ! defined( 'OGF_PRO' ) ) {
|
214 |
+
$input_attrs = array(
|
215 |
+
'disabled' => false,
|
216 |
+
);
|
217 |
+
}
|
218 |
+
|
219 |
+
$wp_customize->add_control(
|
220 |
+
new OGF_Customize_Multiple_Checkbox_Control(
|
221 |
+
$wp_customize,
|
222 |
+
$font_id . '_weights',
|
223 |
+
array(
|
224 |
+
'label' => $name,
|
225 |
+
'section' => 'ogf_font_loading',
|
226 |
+
'choices' => $new_variants,
|
227 |
+
'input_attrs' => $input_attrs,
|
228 |
+
)
|
229 |
+
)
|
230 |
+
);
|
231 |
+
|
232 |
+
}
|
233 |
}
|
234 |
|
235 |
$upsell_locations = array(
|
olympus-google-fonts.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Plugin Name: Fonts Plugin | Google Fonts Typography
|
6 |
* Plugin URI: https://wordpress.org/plugins/olympus-google-fonts/
|
7 |
* Description: The easiest to use Google Fonts typography plugin. No coding required. 900+ font choices.
|
8 |
-
* Version: 2.2.
|
9 |
* Author: Fonts Plugin
|
10 |
* Author URI: https://fontsplugin.com/?utm_source=wporg&utm_medium=readme&utm_campaign=description
|
11 |
* Text Domain: olympus-google-fonts
|
@@ -18,7 +18,7 @@
|
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
21 |
-
define( 'OGF_VERSION', '2.2.
|
22 |
define( 'OGF_DIR_PATH', plugin_dir_path( __FILE__ ) );
|
23 |
define( 'OGF_DIR_URL', plugin_dir_url( __FILE__ ) );
|
24 |
|
5 |
* Plugin Name: Fonts Plugin | Google Fonts Typography
|
6 |
* Plugin URI: https://wordpress.org/plugins/olympus-google-fonts/
|
7 |
* Description: The easiest to use Google Fonts typography plugin. No coding required. 900+ font choices.
|
8 |
+
* Version: 2.2.2
|
9 |
* Author: Fonts Plugin
|
10 |
* Author URI: https://fontsplugin.com/?utm_source=wporg&utm_medium=readme&utm_campaign=description
|
11 |
* Text Domain: olympus-google-fonts
|
18 |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
19 |
*/
|
20 |
|
21 |
+
define( 'OGF_VERSION', '2.2.2' );
|
22 |
define( 'OGF_DIR_PATH', plugin_dir_path( __FILE__ ) );
|
23 |
define( 'OGF_DIR_URL', plugin_dir_url( __FILE__ ) );
|
24 |
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://fontsplugin.com/#pricing
|
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.5
|
7 |
License: GPLv2 or later
|
8 |
-
Stable tag: 2.2.
|
9 |
|
10 |
The easiest to use Google Fonts Typography Plugin. No coding required. 900+ font choices.
|
11 |
|
5 |
Requires at least: 4.0
|
6 |
Tested up to: 5.5
|
7 |
License: GPLv2 or later
|
8 |
+
Stable tag: 2.2.2
|
9 |
|
10 |
The easiest to use Google Fonts Typography Plugin. No coding required. 900+ font choices.
|
11 |
|