{"version":3,"sources":["category-script.js","init-foundation.js","nav-script.js","wp-foundation.js"],"names":["jQuery","document","ready","each","textCat","this","html","sliceCat","substr","restCat","injectSpan","foundation","click","toggleClass","remove","last","addClass","innerWidth","innerHeight","wrap"],"mappings":"AAAAA,OAAAC,UAAAC,MAAA,WAGAF,OAAA,6BAAAG,KAAA,WACA,GAAAC,GAAAJ,OAAAK,MAAAC,OACAC,EAAAH,EAAAI,OAAA,EAAA,GACAC,EAAAL,EAAAI,OAAA,GACAE,EAAA,uBAAAH,EAAA,UAAAE,CACAT,QAAAK,MAAAC,KAAAI,KAGAV,OAAA,6CAAAG,KAAA,WACA,GAAAC,GAAAJ,OAAAK,MAAAC,OACAC,EAAAH,EAAAI,OAAA,EAAA,GACAE,EAAA,uBAAAH,EAAA,SACAP,QAAAK,MAAAC,KAAAI,KAGAV,OAAA,sCAAAG,KAAA,WACA,GAAAC,GAAAJ,OAAAK,MAAAC,OACAC,EAAAH,EAAAI,OAAA,EAAA,GACAC,EAAAL,EAAAI,OAAA,GACAE,EAAA,uBAAAH,EAAA,UAAAE,CACAT,QAAAK,MAAAC,KAAAI,OCvBAV,OAAAC,UAAAU,aCCAX,OAAAC,UAAAC,MAAA,WAEAF,OAAA,wBAAAY,MAAA,WACAZ,OAAAK,MAAAQ,YAAA,aACAb,OAAA,uBAAAa,YAAA,2BCAAb,OAAAC,UAAAC,MAAA,WAGAF,OAAA,sCAAAc,SAGAd,OAAA,0BAAAe,OAAAC,SAAA,OAGAhB,OAAA,wDAAAG,KAAA,WACAH,OAAAK,MAAAY,aAAAjB,OAAAK,MAAAa,cAAA,IACAlB,OAAAK,MAAAc,KAAA,wCAEAnB,OAAAK,MAAAc,KAAA","file":"scripts.min.js","sourcesContent":["jQuery(document).ready(function(){\n\n\t/* The function for the category badges */\n\tjQuery(\".posts-category .category\").each(function() {\n\t\tvar textCat = jQuery(this).html();\n\t\tvar sliceCat = textCat.substr(0, 3);\n\t\tvar restCat = textCat.substr(3);\n\t\tvar injectSpan = ''+sliceCat+''+restCat;\n\t\tjQuery(this).html(injectSpan);\n\t});\n\n\tjQuery(\".mobile-tribe-events-categories .category\").each(function() {\n\t\tvar textCat = jQuery(this).html();\n\t\tvar sliceCat = textCat.substr(0, 3);\n\t\tvar injectSpan = ''+sliceCat+'';\n\t\tjQuery(this).html(injectSpan);\n\t});\n\n\tjQuery(\".tribe-events-categories .category\").each(function() {\n\t\tvar textCat = jQuery(this).html();\n\t\tvar sliceCat = textCat.substr(0, 3);\n\t\tvar restCat = textCat.substr(3);\n\t\tvar injectSpan = ''+sliceCat+''+restCat;\n\t\tjQuery(this).html(injectSpan);\n\t});\n\n});","jQuery(document).foundation();","/* The function for the accordion menu */\njQuery(document).ready(function(){\n// Add a class to the primary menu title bar and menu accordion icon when open\n jQuery(\".menu-accordion-menu\").click(function(){\n jQuery(this).toggleClass('menu-open'); // add menu-open class to the title-bar when menu is open\n jQuery(\".top-accordion-menu\").toggleClass('open-accordion-menu');\n });\n});","/*\nThese functions make sure WordPress\nand Foundation play nice together.\n*/\n\njQuery(document).ready(function() {\n\n // Remove empty P tags created by WP inside of Accordion and Orbit\n jQuery('.accordion p:empty, .orbit p:empty').remove();\n\n\t // Makes sure last grid item floats left\n\tjQuery('.archive-grid .columns').last().addClass( 'end' );\n\n\t// Adds Flex Video to YouTube and Vimeo Embeds\n jQuery('iframe[src*=\"youtube.com\"], iframe[src*=\"vimeo.com\"]').each(function() {\n if ( jQuery(this).innerWidth() / jQuery(this).innerHeight() > 1.5 ) {\n jQuery(this).wrap(\"
\");\n } else {\n jQuery(this).wrap(\"\");\n }\n });\n\n});\n"]}