text: /*! Made by Chirag Bhansali */
  $(document).ready(function(){function a(){1==document.getElementById("serif").checked?m[0]=!0:m[0]=!1,1==document.getElementById("sans-serif").checked?m[1]=!0:m[1]=!1,1==document.getElementById("monospace").checked?m[2]=!0:m[2]=!1,1==document.getElementById("handwriting").checked?m[3]=!0:m[3]=!1,1==document.getElementById("display").checked?m[4]=!0:m[4]=!1,e()}function e(){if(m[0])-1===$.inArray(l,k)&&k.push(l);else if(-1!==$.inArray(l,k)){a=k.indexOf(l);k.splice(a,1)}if(m[1])-1===$.inArray(s,k)&&k.push(s);else if(-1!==$.inArray(s,k)){a=k.indexOf(s);k.splice(a,1)}if(m[2])-1===$.inArray(u,k)&&k.push(u);else if(-1!==$.inArray(u,k)){a=k.indexOf(u);k.splice(a,1)}if(m[3])-1===$.inArray(d,k)&&k.push(d);else if(-1!==$.inArray(d,k)){a=k.indexOf(d);k.splice(a,1)}if(m[4])-1===$.inArray(c,k)&&k.push(c);else if(-1!==$.inArray(c,k)){var a=k.indexOf(c);k.splice(a,1)}0===k.length&&k.push(l,s,u,d,c)}function n(){var a=k.length,e=Math.floor(Math.random()*a),n=k[e].length,o=Math.floor(Math.random()*n);C=k[e][o],O.css("font-family",C),g.text(C),h.push(C),k[e].splice(o,1)}function o(){O.css("font-family",h[h.length-2]),g.text(h[h.length-2])}function i(){for(var a="https://fonts.googleapis.com/css?family=",e=0;e<S.length;e++)S.length-e>1?a+=S[e].split(" ").join("+")+"|":a+=S[e].split(" ").join("+");v.text(a)}function r(){$(".bookmark-badges").html("");for(var a=0;a<S.length;a++)$('<span class="bookmark-badge">'+S[a]+"</span>").appendTo(".bookmark-badges");console.log("hello")}var t,l,s,d,c,u,h,S,m,k,C;l=["Abhaya Libre","Adamina","Alegreya","Alegreya SC","Alice","Alike","Alike Angular","Almendra","Almendra SC","Amethysta","Amiri","Andada","Antic Didone","Antic Slab","Arapey","Arbutus Slab","Aref Ruqaa","Artifika","Arvo","Asar","Average","Balthazar","Belgrano","Bellefair","Bentham","BioRhyme","BioRhyme Expanded","Bitter","Brawler","Bree Serif","Buenard","Cambo","Cantata One","Cardo","Caudex","Cinzel","Copse","Cormorant","Cormorant Garamond","Cormorant Infant","Cormorant SC","Cormorant Unicase","Cormorant Upright","Coustard","Crete Round","Crimson Text","Cutive","David Libre","Della Respira","Domine","Donegal One","Droid Serif","EB Garamond","Eczar","Enriqueta","Esteban","Fanwood Text","Fasthand","Fauna One","Faustina","Fenix","Fjord One","Frank Ruhl Libre","GFS Didot","Gabriela","Gentium Basic","Gentium Book Basic","Gilda Display","Glegoo","Goudy Bookletter 1911","Gurajada","Habibi","Halant","Hanuman","Headland One","Holtwood One SC","IM Fell DW Pica","IM Fell DW Pica SC","IM Fell Double Pica","IM Fell Double Pica SC","IM Fell English","IM Fell English SC","IM Fell French Canon","IM Fell French Canon SC","IM Fell Great Primer","IM Fell Great Primer SC","Inika","Inknut Antiqua","Italiana","Jacques Francois","Josefin Slab","Judson","Junge","Kadwa","Kameron","Karma","Kotta One","Kreon","Kurale","Laila","Ledger","Libre Baskerville","Linden Hill","Lora","Lusitana","Lustria","Maitree","Manuale","Marcellus","Marcellus SC","Marko One","Martel","Mate","Mate SC","Merriweather","Montaga","Neuton","Nokora","Noticia Text","Noto Serif","Old Standard TT","Oranienbaum","Ovo","PT Serif","PT Serif Caption","Peddana","Petrona","Playfair Display","Playfair Display SC","Podkova","Poly","Port Lligat Slab","Prata","Pridi","Prociono","Quando","Quattrocento","Radley","Ramaraja","Rasa","Rhodium Libre","Roboto Slab","Rokkitt","Rosarivo","Rozha One","Rufina","Sahitya","Sanchez","Scheherazade","Scope One","Slabo 13px","Slabo 27px","Sorts Mill Goudy","Source Serif Pro","Spectral","Sree Krushnadevaraya","Stoke","Suez One","Sumana","Sura","Suranna","Suravaram","Taviraj","Tienne","Tinos","Trirong","Trocchi","Trykker","Ultra","Unna","Vesper Libre","Vidaloka","Volkhov","Vollkorn","Yrsa","Zilla Slab"],s=["ABeeZee","Abel","Aclonica","Acme","Actor","Advent Pro","Aldrich","Alef","Alegreya Sans","Alegreya Sans SC","Allerta","Allerta Stencil","Amaranth","Amiko","Anaheim","Andika","Antic","Anton","Archivo","Archivo Black","Archivo Narrow","Arimo","Armata","Arsenal","Arya","Asap","Asap Condensed","Assistant","Asul","Athiti","Average Sans","Basic","Belleza","BenchNine","Biryani","Bubbler One","Cabin","Cabin Condensed","Cagliostro","Cairo","Cambay","Candal","Cantarell","Cantora One","Capriola","Carme","Carrois Gothic","Carrois Gothic SC","Catamaran","Changa","Chathura","Chau Philomene One","Chivo","Coda Caption","Convergence","Cuprum","Days One","Denk One","Dhurjati","Didact Gothic","Doppio One","Dorsa","Dosis","Droid Sans","Duru Sans","Economica","El Messiri","Electrolize","Encode Sans","Encode Sans Condensed","Encode Sans Expanded","Encode Sans Semi Condensed","Encode Sans Semi Expanded","Englebert","Exo","Exo 2","Federo","Fira Sans","Fira Sans Condensed","Fira Sans Extra Condensed","Fjalla One","Francois One","Fresca","GFS Neohellenic","Gafata","Galdeano","Geo","Gidugu","Gudea","Hammersmith One","Harmattan","Heebo","Hind","Hind Guntur","Hind Madurai","Hind Siliguri","Hind Vadodara","Homenaje","Imprima","Inder","Istok Web","Jaldi","Jockey One","Josefin Sans","Julius Sans One","Jura","Kanit","Kantumruy","Karla","Khand","Khula","Kite One","Krona One","Lato","Lekton","Libre Franklin","Mada","Magra","Mako","Mallanna","Mandali","Marmelad","Martel Sans","Marvel","Maven Pro","Meera Inimai","Merriweather Sans","Metrophobic","Michroma","Miriam Libre","Mitr","Molengo","Monda","Montserrat","Montserrat Alternates","Montserrat Subrayada","Mouse Memoirs","Mukta","Mukta Mahee","Mukta Malar","Mukta Vaani","Muli","NTR","News Cycle","Nobile","Noto Sans","Numans","Nunito","Nunito Sans","Open Sans","Open Sans Condensed","Orbitron","Orienta","Oswald","Overpass","Oxygen","PT Sans","PT Sans Caption","PT Sans Narrow","Padauk","Palanquin","Palanquin Dark","Pathway Gothic One","Pattaya","Pavanam","Paytone One","Philosopher","Play","Pontano Sans","Poppins","Port Lligat Sans","Pragati Narrow","Prompt","Proza Libre","Puritan","Quantico","Quattrocento Sans","Questrial","Quicksand","Rajdhani","Raleway","Ramabhadra","Rambla","Rationale","Reem Kufi","Roboto","Roboto Condensed","Ropa Sans","Rosario","Rubik","Rubik Mono One","Ruda","Ruluko","Rum Raisin","Russo One","Saira","Saira Condensed","Saira Extra Condensed","Saira Semi Condensed","Sansita","Sarala","Sarpanch","Scada","Secular One","Seymour One","Shanti","Share Tech","Signika","Signika Negative","Sintony","Six Caps","Snippet","Source Sans Pro","Spinnaker","Strait","Syncopate","Tauri","Teko","Telex","Tenali Ramakrishna","Tenor Sans","Text Me One","Timmana","Titillium Web","Ubuntu","Ubuntu Condensed","Varela","Varela Round","Viga","Voltaire","Wendy One","Wire One","Work Sans","Yanone Kaffeesatz","Yantramanav"],u=["Anonymous Pro","Cousine","Cutive Mono","Droid Sans Mono","Fira Mono","Inconsolata","Nova Mono","Overpass Mono","Oxygen Mono","PT Mono","Roboto Mono","Share Tech Mono","Source Code Pro","Space Mono","Ubuntu Mono","VT323"],c=["Abril Fatface","Akronim","Alfa Slab One","Allan","Almendra Display","Amarante","Amatica SC","Angkor","Arbutus","Arima Madurai","Asset","Astloch","Atma","Atomic Age","Aubrey","Audiowide","Autour One","Averia Gruesa Libre","Averia Libre","Averia Sans Libre","Averia Serif Libre","Bahiana","Baloo","Baloo Bhai","Baloo Bhaijaan","Baloo Bhaina","Baloo Chettan","Baloo Da","Baloo Paaji","Baloo Tamma","Baloo Tammudu","Baloo Thambi","Bangers","Barrio","Battambang","Baumans","Bayon","Bevan","Bigelow Rules","Bigshot One","Black Ops One","Bokor","Boogaloo","Bowlby One","Bowlby One SC","Bubblegum Sans","Buda","Bungee","Bungee Hairline","Bungee Inline","Bungee Outline","Bungee Shade","Butcherman","Cabin Sketch","Caesar Dressing","Carter One","Ceviche One","Changa One","Chango","Chela One","Chelsea Market","Chenla","Cherry Cream Soda","Cherry Swash","Chewy","Chicle","Chonburi","Cinzel Decorative","Coda","Codystar","Coiny","Combo","Comfortaa","Concert One","Content","Contrail One","Corben","Creepster","Croissant One","Crushed","Dangrek","Diplomata","Diplomata SC","Dynalight","Eater","Elsie","Elsie Swash Caps","Emblema One","Emilys Candy","Erica One","Ewert","Expletus Sans","Farsan","Fascinate","Fascinate Inline","Faster One","Federant","Finger Paint","Flamenco","Flavors","Fontdiner Swanky","Forum","Freckle Face","Fredericka the Great","Fredoka One","Freehand","Frijole","Fruktur","Fugaz One","Galada","Galindo","Geostar","Geostar Fill","Germania One","Glass Antiqua","Goblin One","Gorditas","Graduate","Gravitas One","Griffy","Gruppo","Hanalei","Hanalei Fill","Happy Monkey","Henny Penny","Iceberg","Iceland","Irish Grover","Jacques Francois Shadow","Jolly Lodger","Jomhuria","Joti One","Katibeh","Kavoon","Kdam Thmor","Keania One","Kelly Slab","Kenia","Khmer","Knewave","Koulen","Kranky","Kumar One","Kumar One Outline","Lalezar","Lancelot","Lemon","Lemonada","Libre Barcode 128","Libre Barcode 128 Text","Libre Barcode 39","Libre Barcode 39 Extended","Libre Barcode 39 Extended Text","Libre Barcode 39 Text","Life Savers","Lilita One","Lily Script One","Limelight","Lobster","Lobster Two","Londrina Outline","Londrina Shadow","Londrina Sketch","Londrina Solid","Love Ya Like A Sister","Luckiest Guy","Macondo","Macondo Swash Caps","Maiden Orange","Margarine","McLaren","MedievalSharp","Medula One","Megrim","Metal","Metal Mania","Metamorphous","Milonga","Miltonian","Miltonian Tattoo","Miniver","Mirza","Modak","Modern Antiqua","Mogra","Monofett","Monoton","Moul","Moulpali","Mountains of Christmas","Mystery Quest","New Rocker","Nixie One","Nosifer","Nova Cut","Nova Flat","Nova Oval","Nova Round","Nova Script","Nova Slim","Nova Square","Odor Mean Chey","Offside","Oldenburg","Oleo Script","Oleo Script Swash Caps","Oregano","Original Surfer","Overlock","Overlock SC","Paprika","Passero One","Passion One","Patua One","Peralta","Piedra","Pirata One","Plaster","Playball","Poiret One","Poller One","Pompiere","Preahvihear","Press Start 2P","Prosto One","Purple Purse","Racing Sans One","Rakkas","Raleway Dots","Rammetto One","Ranchers","Ranga","Ravi Prakash","Revalia","Ribeye","Ribeye Marrow","Righteous","Risque","Ruslan Display","Rye","Sail","Salsa","Sancreek","Sarina","Seaweed Script","Sevillana","Share","Shojumaru","Shrikhand","Siemreap","Sigmar One","Simonetta","Sirin Stencil","Skranji","Slackey","Smokum","Smythe","Sniglet","Snowburst One","Sofadi One","Sonsie One","Special Elite","Spicy Rice","Spirax","Squada One","Stalinist One","Stardos Stencil","Stint Ultra Condensed","Stint Ultra Expanded","Supermercado One","Suwannaphum","Taprom","Titan One","Trade Winds","Trochut","Tulpen One","Uncial Antiqua","Underdog","Unica One","UnifrakturCook","UnifrakturMaguntia","Unkempt","Unlock","Vampiro One","Vast Shadow","Voces","Wallpoet","Warnes","Wellfleet","Yatra One","Yeseva One","Zilla Slab Highlight"],d=["Aguafina Script","Aladin","Alex Brush","Allura","Amatic SC","Amita","Annie Use Your Telescope","Architects Daughter","Arizonia","Bad Script","Berkshire Swash","Bilbo","Bilbo Swash Caps","Bonbon","Butterfly Kids","Calligraffitti","Caveat","Caveat Brush","Cedarville Cursive","Clicker Script","Coming Soon","Condiment","Cookie","Courgette","Covered By Your Grace","Crafty Girls","Damion","Dancing Script","Dawning of a New Day","Dekko","Delius","Delius Swash Caps","Delius Unicase","Devonshire","Dr Sugiyama","Eagle Lake","Engagement","Euphoria Script","Felipa","Fondamento","Give You Glory","Gloria Hallelujah","Gochi Hand","Grand Hotel","Great Vibes","Handlee","Herr Von Muellerhoff","Homemade Apple","Indie Flower","Italianno","Itim","Jim Nightshade","Julee","Just Another Hand","Just Me Again Down Here","Kalam","Kaushan Script","Kavivanar","Kristi","La Belle Aurore","Lakki Reddy","Lateef","League Script","Leckerli One","Loved by the King","Lovers Quarrel","Marck Script","Meddon","Meie Script","Merienda","Merienda One","Miss Fajardose","Molle","Monsieur La Doulaise","Montez","Mr Bedfort","Mr Dafoe","Mr De Haviland","Mrs Saint Delafield","Mrs Sheppards","Neucha","Niconne","Norican","Nothing You Could Do","Over the Rainbow","Pacifico","Pangolin","Parisienne","Patrick Hand","Patrick Hand SC","Permanent Marker","Petit Formal Script","Pinyon Script","Princess Sofia","Quintessential","Qwigley","Rancho","Redressed","Reenie Beanie","Rochester","Rock Salt","Romanesco","Rouge Script","Ruge Boogie","Ruthie","Sacramento","Satisfy","Schoolbell","Sedgwick Ave","Sedgwick Ave Display","Shadows Into Light","Shadows Into Light Two","Short Stack","Sofia","Sriracha","Stalemate","Sue Ellen Francisco","Sunshiney","Swanky and Moo Moo","Tangerine","The Girl Next Door","Tillana","Vibur","Waiting for the Sunrise","Walter Turncoat","Yellowtail","Yesteryear","Zeyada"];var p,g,f,b,y,O,M,A,v;p=$(".hamburger"),g=$(".fontname"),f=$(".arrow-right"),b=$(".arrow-left"),y=$(".settings"),O=$(".input"),M=$("[data-bookmarks]"),A=$(".bookmark-collection"),v=$(".code-block"),t=[l,s,u,d,c],m=[!0,!0,!0,!0,!0],k=[],h=[],S=[],function(){for(var a="",e=0;e<t.length;e++)for(var n=0;n<t[e].length;n++)a+=t[e][n].split(" ").join("+")+"|";$('<link href="https://fonts.googleapis.com/css?family='+a+'" rel="stylesheet" fontl>').insertAfter($("link[fontcdn]"))}(),$(this).width()<768?(b.parent().parent().removeClass("col-1").addClass("col-2"),p.parent().removeClass("col-1").addClass("col-3"),A.parent().removeClass("col-1").addClass("col-3"),$(".outro span").text("Click to continue or exit.")):b.parent().removeClass("col-3").addClass("col-1"),y.hasClass("open")&&$(document).css({height:$(document).height(),width:$(document).width()}),$(".settings-icon").on("click",function(){y.addClass("open")}),$(this).on("keyup",function(e){32===e.keyCode&&y.hasClass("open")&&(y.removeClass("open"),a())}),$(".outro").on("click",function(){y.removeClass("open"),a()}),$("input[type=checkbox]").on("change","input",function(e){a()}),O.on("focus",function(){O.addClass("focused")}),O.on("blur",function(){O.removeClass("focused")}),f.on("click",function(a){n()}),$(this).on("keyup",function(a){39!==a.keyCode&&32!==a.keyCode&&13!==a.keyCode||y.hasClass("open")||O.hasClass("focused")||n()}),b.on("click",o),$(this).on("keyup",function(a){(37===a.keyCode||8===a.keyCode&&!O.hasClass("focused"))&&o()}),g.on("click",function(a){if(-1===S.indexOf($(this).text()))S.push($(this).text()),M.attr("data-bookmarks",S.length);else{var e=S.indexOf($(this).text());S.splice(e,1),M.attr("data-bookmarks",S.length)}M.attr("data-bookmarks",S.length),M.text(M.attr("data-bookmarks"))}),new Clipboard(".code-block"),v.on("click",function(){$(this).next("span").text("Link Copied successfully").delay(2e3).fadeOut()}),$(".hamburger").on("click",function(a){$(".overlay-nav").addClass("open"),$(".wrapper").addClass("scale-down")}),$(".cross").on("click",function(a){v.next().text(""),$(".overlay-nav, .bookmark-window").removeClass("open"),$(".wrapper").removeClass("scale-down")}),A.on("click",function(){i(),r(),S.length>0?(v.fadeIn("fast"),$(".description").text("Click to view the font. Double click to remove it.")):(v.fadeOut("fast"),$(".description").text("No fonts bookmarked. Bookmark fonts by clicking on the font name")),$(".bookmark-window").addClass("open"),$(".wrapper").addClass("scale-down")}),$(".bookmark-badges").on("dblclick",".bookmark-badge",function(a){var e=S.indexOf($(a.target).text());-1!==e&&(S.splice(e,1),r()),S.length>0?(v.fadeIn("fast"),$(".description").text("Click to view the font. Double click to remove it.")):(v.fadeOut("fast"),$(".description").text("No fonts bookmarked. Bookmark fonts by clicking on the font name")),i(),M.attr("data-bookmarks",S.length),M.text(M.attr("data-bookmarks"))}),setTimeout(function(){$(".spinner-container").addClass("close").css("z-index","-1")},3500),$("a").attr("target","_blank")});
  //# sourceMappingURL=main.min.js.map