-
- var data = {
-
- firstNames: {
- "male": ["James", "John", "Robert", "Michael", "William", "David", "Richard", "Joseph", "Charles", "Thomas", "Christopher", "Daniel", "Matthew", "George", "Donald", "Anthony", "Paul", "Mark", "Edward", "Steven", "Kenneth", "Andrew", "Brian", "Joshua", "Kevin", "Ronald", "Timothy", "Jason", "Jeffrey", "Frank", "Gary", "Ryan", "Nicholas", "Eric", "Stephen", "Jacob", "Larry", "Jonathan", "Scott", "Raymond", "Justin", "Brandon", "Gregory", "Samuel", "Benjamin", "Patrick", "Jack", "Henry", "Walter", "Dennis", "Jerry", "Alexander", "Peter", "Tyler", "Douglas", "Harold", "Aaron", "Jose", "Adam", "Arthur", "Zachary", "Carl", "Nathan", "Albert", "Kyle", "Lawrence", "Joe", "Willie", "Gerald", "Roger", "Keith", "Jeremy", "Terry", "Harry", "Ralph", "Sean", "Jesse", "Roy", "Louis", "Billy", "Austin", "Bruce", "Eugene", "Christian", "Bryan", "Wayne", "Russell", "Howard", "Fred", "Ethan", "Jordan", "Philip", "Alan", "Juan", "Randy", "Vincent", "Bobby", "Dylan", "Johnny", "Phillip", "Victor", "Clarence", "Ernest", "Martin", "Craig", "Stanley", "Shawn", "Travis", "Bradley", "Leonard", "Earl", "Gabriel", "Jimmy", "Francis", "Todd", "Noah", "Danny", "Dale", "Cody", "Carlos", "Allen", "Frederick", "Logan", "Curtis", "Alex", "Joel", "Luis", "Norman", "Marvin", "Glenn", "Tony", "Nathaniel", "Rodney", "Melvin", "Alfred", "Steve", "Cameron", "Chad", "Edwin", "Caleb", "Evan", "Antonio", "Lee", "Herbert", "Jeffery", "Isaac", "Derek", "Ricky", "Marcus", "Theodore", "Elijah", "Luke", "Jesus", "Eddie", "Troy", "Mike", "Dustin", "Ray", "Adrian", "Bernard", "Leroy", "Angel", "Randall", "Wesley", "Ian", "Jared", "Mason", "Hunter", "Calvin", "Oscar", "Clifford", "Jay", "Shane", "Ronnie", "Barry", "Lucas", "Corey", "Manuel", "Leo", "Tommy", "Warren", "Jackson", "Isaiah", "Connor", "Don", "Dean", "Jon", "Julian", "Miguel", "Bill", "Lloyd", "Charlie", "Mitchell", "Leon", "Jerome", "Darrell", "Jeremiah", "Alvin", "Brett", "Seth", "Floyd", "Jim", "Blake", "Micheal", "Gordon", "Trevor", "Lewis", "Erik", "Edgar", "Vernon", "Devin", "Gavin", "Jayden", "Chris", "Clyde", "Tom", "Derrick", "Mario", "Brent", "Marc", "Herman", "Chase", "Dominic", "Ricardo", "Franklin", "Maurice", "Max", "Aiden", "Owen", "Lester", "Gilbert", "Elmer", "Gene", "Francisco", "Glen", "Cory", "Garrett", "Clayton", "Sam", "Jorge", "Chester", "Alejandro", "Jeff", "Harvey", "Milton", "Cole", "Ivan", "Andre", "Duane", "Landon"],
- "female": ["Mary", "Emma", "Elizabeth", "Minnie", "Margaret", "Ida", "Alice", "Bertha", "Sarah", "Annie", "Clara", "Ella", "Florence", "Cora", "Martha", "Laura", "Nellie", "Grace", "Carrie", "Maude", "Mabel", "Bessie", "Jennie", "Gertrude", "Julia", "Hattie", "Edith", "Mattie", "Rose", "Catherine", "Lillian", "Ada", "Lillie", "Helen", "Jessie", "Louise", "Ethel", "Lula", "Myrtle", "Eva", "Frances", "Lena", "Lucy", "Edna", "Maggie", "Pearl", "Daisy", "Fannie", "Josephine", "Dora", "Rosa", "Katherine", "Agnes", "Marie", "Nora", "May", "Mamie", "Blanche", "Stella", "Ellen", "Nancy", "Effie", "Sallie", "Nettie", "Della", "Lizzie", "Flora", "Susie", "Maud", "Mae", "Etta", "Harriet", "Sadie", "Caroline", "Katie", "Lydia", "Elsie", "Kate", "Susan", "Mollie", "Alma", "Addie", "Georgia", "Eliza", "Lulu", "Nannie", "Lottie", "Amanda", "Belle", "Charlotte", "Rebecca", "Ruth", "Viola", "Olive", "Amelia", "Hannah", "Jane", "Virginia", "Emily", "Matilda", "Irene", "Kathryn", "Esther", "Willie", "Henrietta", "Ollie", "Amy", "Rachel", "Sara", "Estella", "Theresa", "Augusta", "Ora", "Pauline", "Josie", "Lola", "Sophia", "Leona", "Anne", "Mildred", "Ann", "Beulah", "Callie", "Lou", "Delia", "Eleanor", "Barbara", "Iva", "Louisa", "Maria", "Mayme", "Evelyn", "Estelle", "Nina", "Betty", "Marion", "Bettie", "Dorothy", "Luella", "Inez", "Lela", "Rosie", "Allie", "Millie", "Janie", "Cornelia", "Victoria", "Ruby", "Winifred", "Alta", "Celia", "Christine", "Beatrice", "Birdie", "Harriett", "Mable", "Myra", "Sophie", "Tillie", "Isabel", "Sylvia", "Carolyn", "Isabelle", "Leila", "Sally", "Ina", "Essie", "Bertie", "Nell", "Alberta", "Katharine", "Lora", "Rena", "Mina", "Rhoda", "Mathilda", "Abbie", "Eula", "Dollie", "Hettie", "Eunice", "Fanny", "Ola", "Lenora", "Adelaide", "Christina", "Lelia", "Nelle", "Sue", "Johanna", "Lilly", "Lucinda", "Minerva", "Lettie", "Roxie", "Cynthia", "Helena", "Hilda", "Hulda", "Bernice", "Genevieve", "Jean", "Cordelia", "Marian", "Francis", "Jeanette", "Adeline", "Gussie", "Leah", "Lois", "Lura", "Mittie", "Hallie", "Isabella", "Olga", "Phoebe", "Teresa", "Hester", "Lida", "Lina", "Winnie", "Claudia", "Marguerite", "Vera", "Cecelia", "Bess", "Emilie", "John", "Rosetta", "Verna", "Myrtie", "Cecilia", "Elva", "Olivia", "Ophelia", "Georgie", "Elnora", "Violet", "Adele", "Lily", "Linnie", "Loretta", "Madge", "Polly", "Virgie", "Eugenia", "Lucile", "Lucille", "Mabelle", "Rosalie"]
- },
-
- lastNames: ['Smith', 'Johnson', 'Williams', 'Jones', 'Brown', 'Davis', 'Miller', 'Wilson', 'Moore', 'Taylor', 'Anderson', 'Thomas', 'Jackson', 'White', 'Harris', 'Martin', 'Thompson', 'Garcia', 'Martinez', 'Robinson', 'Clark', 'Rodriguez', 'Lewis', 'Lee', 'Walker', 'Hall', 'Allen', 'Young', 'Hernandez', 'King', 'Wright', 'Lopez', 'Hill', 'Scott', 'Green', 'Adams', 'Baker', 'Gonzalez', 'Nelson', 'Carter', 'Mitchell', 'Perez', 'Roberts', 'Turner', 'Phillips', 'Campbell', 'Parker', 'Evans', 'Edwards', 'Collins', 'Stewart', 'Sanchez', 'Morris', 'Rogers', 'Reed', 'Cook', 'Morgan', 'Bell', 'Murphy', 'Bailey', 'Rivera', 'Cooper', 'Richardson', 'Cox', 'Howard', 'Ward', 'Torres', 'Peterson', 'Gray', 'Ramirez', 'James', 'Watson', 'Brooks', 'Kelly', 'Sanders', 'Price', 'Bennett', 'Wood', 'Barnes', 'Ross', 'Henderson', 'Coleman', 'Jenkins', 'Perry', 'Powell', 'Long', 'Patterson', 'Hughes', 'Flores', 'Washington', 'Butler', 'Simmons', 'Foster', 'Gonzales', 'Bryant', 'Alexander', 'Russell', 'Griffin', 'Diaz', 'Hayes', 'Myers', 'Ford', 'Hamilton', 'Graham', 'Sullivan', 'Wallace', 'Woods', 'Cole', 'West', 'Jordan', 'Owens', 'Reynolds', 'Fisher', 'Ellis', 'Harrison', 'Gibson', 'McDonald', 'Cruz', 'Marshall', 'Ortiz', 'Gomez', 'Murray', 'Freeman', 'Wells', 'Webb', 'Simpson', 'Stevens', 'Tucker', 'Porter', 'Hunter', 'Hicks', 'Crawford', 'Henry', 'Boyd', 'Mason', 'Morales', 'Kennedy', 'Warren', 'Dixon', 'Ramos', 'Reyes', 'Burns', 'Gordon', 'Shaw', 'Holmes', 'Rice', 'Robertson', 'Hunt', 'Black', 'Daniels', 'Palmer', 'Mills', 'Nichols', 'Grant', 'Knight', 'Ferguson', 'Rose', 'Stone', 'Hawkins', 'Dunn', 'Perkins', 'Hudson', 'Spencer', 'Gardner', 'Stephens', 'Payne', 'Pierce', 'Berry', 'Matthews', 'Arnold', 'Wagner', 'Willis', 'Ray', 'Watkins', 'Olson', 'Carroll', 'Duncan', 'Snyder', 'Hart', 'Cunningham', 'Bradley', 'Lane', 'Andrews', 'Ruiz', 'Harper', 'Fox', 'Riley', 'Armstrong', 'Carpenter', 'Weaver', 'Greene', 'Lawrence', 'Elliott', 'Chavez', 'Sims', 'Austin', 'Peters', 'Kelley', 'Franklin', 'Lawson', 'Fields', 'Gutierrez', 'Ryan', 'Schmidt', 'Carr', 'Vasquez', 'Castillo', 'Wheeler', 'Chapman', 'Oliver', 'Montgomery', 'Richards', 'Williamson', 'Johnston', 'Banks', 'Meyer', 'Bishop', 'McCoy', 'Howell', 'Alvarez', 'Morrison', 'Hansen', 'Fernandez', 'Garza', 'Harvey', 'Little', 'Burton', 'Stanley', 'Nguyen', 'George', 'Jacobs', 'Reid', 'Kim', 'Fuller', 'Lynch', 'Dean', 'Gilbert', 'Garrett', 'Romero', 'Welch', 'Larson', 'Frazier', 'Burke', 'Hanson', 'Day', 'Mendoza', 'Moreno', 'Bowman', 'Medina', 'Fowler', 'Brewer', 'Hoffman', 'Carlson', 'Silva', 'Pearson', 'Holland', 'Douglas', 'Fleming', 'Jensen', 'Vargas', 'Byrd', 'Davidson', 'Hopkins', 'May', 'Terry', 'Herrera', 'Wade', 'Soto', 'Walters', 'Curtis', 'Neal', 'Caldwell', 'Lowe', 'Jennings', 'Barnett', 'Graves', 'Jimenez', 'Horton', 'Shelton', 'Barrett', 'Obrien', 'Castro', 'Sutton', 'Gregory', 'McKinney', 'Lucas', 'Miles', 'Craig', 'Rodriquez', 'Chambers', 'Holt', 'Lambert', 'Fletcher', 'Watts', 'Bates', 'Hale', 'Rhodes', 'Pena', 'Beck', 'Newman', 'Haynes', 'McDaniel', 'Mendez', 'Bush', 'Vaughn', 'Parks', 'Dawson', 'Santiago', 'Norris', 'Hardy', 'Love', 'Steele', 'Curry', 'Powers', 'Schultz', 'Barker', 'Guzman', 'Page', 'Munoz', 'Ball', 'Keller', 'Chandler', 'Weber', 'Leonard', 'Walsh', 'Lyons', 'Ramsey', 'Wolfe', 'Schneider', 'Mullins', 'Benson', 'Sharp', 'Bowen', 'Daniel', 'Barber', 'Cummings', 'Hines', 'Baldwin', 'Griffith', 'Valdez', 'Hubbard', 'Salazar', 'Reeves', 'Warner', 'Stevenson', 'Burgess', 'Santos', 'Tate', 'Cross', 'Garner', 'Mann', 'Mack', 'Moss', 'Thornton', 'Dennis', 'McGee', 'Farmer', 'Delgado', 'Aguilar', 'Vega', 'Glover', 'Manning', 'Cohen', 'Harmon', 'Rodgers', 'Robbins', 'Newton', 'Todd', 'Blair', 'Higgins', 'Ingram', 'Reese', 'Cannon', 'Strickland', 'Townsend', 'Potter', 'Goodwin', 'Walton', 'Rowe', 'Hampton', 'Ortega', 'Patton', 'Swanson', 'Joseph', 'Francis', 'Goodman', 'Maldonado', 'Yates', 'Becker', 'Erickson', 'Hodges', 'Rios', 'Conner', 'Adkins', 'Webster', 'Norman', 'Malone', 'Hammond', 'Flowers', 'Cobb', 'Moody', 'Quinn', 'Blake', 'Maxwell', 'Pope', 'Floyd', 'Osborne', 'Paul', 'McCarthy', 'Guerrero', 'Lindsey', 'Estrada', 'Sandoval', 'Gibbs', 'Tyler', 'Gross', 'Fitzgerald', 'Stokes', 'Doyle', 'Sherman', 'Saunders', 'Wise', 'Colon', 'Gill', 'Alvarado', 'Greer', 'Padilla', 'Simon', 'Waters', 'Nunez', 'Ballard', 'Schwartz', 'McBride', 'Houston', 'Christensen', 'Klein', 'Pratt', 'Briggs', 'Parsons', 'McLaughlin', 'Zimmerman', 'French', 'Buchanan', 'Moran', 'Copeland', 'Roy', 'Pittman', 'Brady', 'McCormick', 'Holloway', 'Brock', 'Poole', 'Frank', 'Logan', 'Owen', 'Bass', 'Marsh', 'Drake', 'Wong', 'Jefferson', 'Park', 'Morton', 'Abbott', 'Sparks', 'Patrick', 'Norton', 'Huff', 'Clayton', 'Massey', 'Lloyd', 'Figueroa', 'Carson', 'Bowers', 'Roberson', 'Barton', 'Tran', 'Lamb', 'Harrington', 'Casey', 'Boone', 'Cortez', 'Clarke', 'Mathis', 'Singleton', 'Wilkins', 'Cain', 'Bryan', 'Underwood', 'Hogan', 'McKenzie', 'Collier', 'Luna', 'Phelps', 'McGuire', 'Allison', 'Bridges', 'Wilkerson', 'Nash', 'Summers', 'Atkins'],
-
- provinces: [
- {name: 'Alberta', abbreviation: 'AB'},
- {name: 'British Columbia', abbreviation: 'BC'},
- {name: 'Manitoba', abbreviation: 'MB'},
- {name: 'New Brunswick', abbreviation: 'NB'},
- {name: 'Newfoundland and Labrador', abbreviation: 'NL'},
- {name: 'Nova Scotia', abbreviation: 'NS'},
- {name: 'Ontario', abbreviation: 'ON'},
- {name: 'Prince Edward Island', abbreviation: 'PE'},
- {name: 'Quebec', abbreviation: 'QC'},
- {name: 'Saskatchewan', abbreviation: 'SK'},
-
- // The case could be made that the following are not actually provinces
- // since they are technically considered "territories" however they all
- // look the same on an envelope!
- {name: 'Northwest Territories', abbreviation: 'NT'},
- {name: 'Nunavut', abbreviation: 'NU'},
- {name: 'Yukon', abbreviation: 'YT'}
- ],
-
- us_states_and_dc: [
- {name: 'Alabama', abbreviation: 'AL'},
- {name: 'Alaska', abbreviation: 'AK'},
- {name: 'Arizona', abbreviation: 'AZ'},
- {name: 'Arkansas', abbreviation: 'AR'},
- {name: 'California', abbreviation: 'CA'},
- {name: 'Colorado', abbreviation: 'CO'},
- {name: 'Connecticut', abbreviation: 'CT'},
- {name: 'Delaware', abbreviation: 'DE'},
- {name: 'District of Columbia', abbreviation: 'DC'},
- {name: 'Florida', abbreviation: 'FL'},
- {name: 'Georgia', abbreviation: 'GA'},
- {name: 'Hawaii', abbreviation: 'HI'},
- {name: 'Idaho', abbreviation: 'ID'},
- {name: 'Illinois', abbreviation: 'IL'},
- {name: 'Indiana', abbreviation: 'IN'},
- {name: 'Iowa', abbreviation: 'IA'},
- {name: 'Kansas', abbreviation: 'KS'},
- {name: 'Kentucky', abbreviation: 'KY'},
- {name: 'Louisiana', abbreviation: 'LA'},
- {name: 'Maine', abbreviation: 'ME'},
- {name: 'Maryland', abbreviation: 'MD'},
- {name: 'Massachusetts', abbreviation: 'MA'},
- {name: 'Michigan', abbreviation: 'MI'},
- {name: 'Minnesota', abbreviation: 'MN'},
- {name: 'Mississippi', abbreviation: 'MS'},
- {name: 'Missouri', abbreviation: 'MO'},
- {name: 'Montana', abbreviation: 'MT'},
- {name: 'Nebraska', abbreviation: 'NE'},
- {name: 'Nevada', abbreviation: 'NV'},
- {name: 'New Hampshire', abbreviation: 'NH'},
- {name: 'New Jersey', abbreviation: 'NJ'},
- {name: 'New Mexico', abbreviation: 'NM'},
- {name: 'New York', abbreviation: 'NY'},
- {name: 'North Carolina', abbreviation: 'NC'},
- {name: 'North Dakota', abbreviation: 'ND'},
- {name: 'Ohio', abbreviation: 'OH'},
- {name: 'Oklahoma', abbreviation: 'OK'},
- {name: 'Oregon', abbreviation: 'OR'},
- {name: 'Pennsylvania', abbreviation: 'PA'},
- {name: 'Rhode Island', abbreviation: 'RI'},
- {name: 'South Carolina', abbreviation: 'SC'},
- {name: 'South Dakota', abbreviation: 'SD'},
- {name: 'Tennessee', abbreviation: 'TN'},
- {name: 'Texas', abbreviation: 'TX'},
- {name: 'Utah', abbreviation: 'UT'},
- {name: 'Vermont', abbreviation: 'VT'},
- {name: 'Virginia', abbreviation: 'VA'},
- {name: 'Washington', abbreviation: 'WA'},
- {name: 'West Virginia', abbreviation: 'WV'},
- {name: 'Wisconsin', abbreviation: 'WI'},
- {name: 'Wyoming', abbreviation: 'WY'}
- ],
-
- territories: [
- {name: 'American Samoa', abbreviation: 'AS'},
- {name: 'Federated States of Micronesia', abbreviation: 'FM'},
- {name: 'Guam', abbreviation: 'GU'},
- {name: 'Marshall Islands', abbreviation: 'MH'},
- {name: 'Northern Mariana Islands', abbreviation: 'MP'},
- {name: 'Puerto Rico', abbreviation: 'PR'},
- {name: 'Virgin Islands, U.S.', abbreviation: 'VI'}
- ],
-
- armed_forces: [
- {name: 'Armed Forces Europe', abbreviation: 'AE'},
- {name: 'Armed Forces Pacific', abbreviation: 'AP'},
- {name: 'Armed Forces the Americas', abbreviation: 'AA'}
- ],
-
- street_suffixes: [
- {name: 'Avenue', abbreviation: 'Ave'},
- {name: 'Boulevard', abbreviation: 'Blvd'},
- {name: 'Center', abbreviation: 'Ctr'},
- {name: 'Circle', abbreviation: 'Cir'},
- {name: 'Court', abbreviation: 'Ct'},
- {name: 'Drive', abbreviation: 'Dr'},
- {name: 'Extension', abbreviation: 'Ext'},
- {name: 'Glen', abbreviation: 'Gln'},
- {name: 'Grove', abbreviation: 'Grv'},
- {name: 'Heights', abbreviation: 'Hts'},
- {name: 'Highway', abbreviation: 'Hwy'},
- {name: 'Junction', abbreviation: 'Jct'},
- {name: 'Key', abbreviation: 'Key'},
- {name: 'Lane', abbreviation: 'Ln'},
- {name: 'Loop', abbreviation: 'Loop'},
- {name: 'Manor', abbreviation: 'Mnr'},
- {name: 'Mill', abbreviation: 'Mill'},
- {name: 'Park', abbreviation: 'Park'},
- {name: 'Parkway', abbreviation: 'Pkwy'},
- {name: 'Pass', abbreviation: 'Pass'},
- {name: 'Path', abbreviation: 'Path'},
- {name: 'Pike', abbreviation: 'Pike'},
- {name: 'Place', abbreviation: 'Pl'},
- {name: 'Plaza', abbreviation: 'Plz'},
- {name: 'Point', abbreviation: 'Pt'},
- {name: 'Ridge', abbreviation: 'Rdg'},
- {name: 'River', abbreviation: 'Riv'},
- {name: 'Road', abbreviation: 'Rd'},
- {name: 'Square', abbreviation: 'Sq'},
- {name: 'Street', abbreviation: 'St'},
- {name: 'Terrace', abbreviation: 'Ter'},
- {name: 'Trail', abbreviation: 'Trl'},
- {name: 'Turnpike', abbreviation: 'Tpke'},
- {name: 'View', abbreviation: 'Vw'},
- {name: 'Way', abbreviation: 'Way'}
- ],
-
- months: [
- {name: 'January', short_name: 'Jan', numeric: '01', days: 31},
- // Not messing with leap years...
- {name: 'February', short_name: 'Feb', numeric: '02', days: 28},
- {name: 'March', short_name: 'Mar', numeric: '03', days: 31},
- {name: 'April', short_name: 'Apr', numeric: '04', days: 30},
- {name: 'May', short_name: 'May', numeric: '05', days: 31},
- {name: 'June', short_name: 'Jun', numeric: '06', days: 30},
- {name: 'July', short_name: 'Jul', numeric: '07', days: 31},
- {name: 'August', short_name: 'Aug', numeric: '08', days: 31},
- {name: 'September', short_name: 'Sep', numeric: '09', days: 30},
- {name: 'October', short_name: 'Oct', numeric: '10', days: 31},
- {name: 'November', short_name: 'Nov', numeric: '11', days: 30},
- {name: 'December', short_name: 'Dec', numeric: '12', days: 31}
- ],
-
- // http://en.wikipedia.org/wiki/Bank_card_number#Issuer_identification_number_.28IIN.29
- cc_types: [
- {name: "American Express", short_name: 'amex', prefix: '34', length: 15},
- {name: "Bankcard", short_name: 'bankcard', prefix: '5610', length: 16},
- {name: "China UnionPay", short_name: 'chinaunion', prefix: '62', length: 16},
- {name: "Diners Club Carte Blanche", short_name: 'dccarte', prefix: '300', length: 14},
- {name: "Diners Club enRoute", short_name: 'dcenroute', prefix: '2014', length: 15},
- {name: "Diners Club International", short_name: 'dcintl', prefix: '36', length: 14},
- {name: "Diners Club United States & Canada", short_name: 'dcusc', prefix: '54', length: 16},
- {name: "Discover Card", short_name: 'discover', prefix: '6011', length: 16},
- {name: "InstaPayment", short_name: 'instapay', prefix: '637', length: 16},
- {name: "JCB", short_name: 'jcb', prefix: '3528', length: 16},
- {name: "Laser", short_name: 'laser', prefix: '6304', length: 16},
- {name: "Maestro", short_name: 'maestro', prefix: '5018', length: 16},
- {name: "Mastercard", short_name: 'mc', prefix: '51', length: 16},
- {name: "Solo", short_name: 'solo', prefix: '6334', length: 16},
- {name: "Switch", short_name: 'switch', prefix: '4903', length: 16},
- {name: "Visa", short_name: 'visa', prefix: '4', length: 16},
- {name: "Visa Electron", short_name: 'electron', prefix: '4026', length: 16}
- ],
-
- //return all world currency by ISO 4217
- currency_types: [
- {'code' : 'AED', 'name' : 'United Arab Emirates Dirham'},
- {'code' : 'AFN', 'name' : 'Afghanistan Afghani'},
- {'code' : 'ALL', 'name' : 'Albania Lek'},
- {'code' : 'AMD', 'name' : 'Armenia Dram'},
- {'code' : 'ANG', 'name' : 'Netherlands Antilles Guilder'},
- {'code' : 'AOA', 'name' : 'Angola Kwanza'},
- {'code' : 'ARS', 'name' : 'Argentina Peso'},
- {'code' : 'AUD', 'name' : 'Australia Dollar'},
- {'code' : 'AWG', 'name' : 'Aruba Guilder'},
- {'code' : 'AZN', 'name' : 'Azerbaijan New Manat'},
- {'code' : 'BAM', 'name' : 'Bosnia and Herzegovina Convertible Marka'},
- {'code' : 'BBD', 'name' : 'Barbados Dollar'},
- {'code' : 'BDT', 'name' : 'Bangladesh Taka'},
- {'code' : 'BGN', 'name' : 'Bulgaria Lev'},
- {'code' : 'BHD', 'name' : 'Bahrain Dinar'},
- {'code' : 'BIF', 'name' : 'Burundi Franc'},
- {'code' : 'BMD', 'name' : 'Bermuda Dollar'},
- {'code' : 'BND', 'name' : 'Brunei Darussalam Dollar'},
- {'code' : 'BOB', 'name' : 'Bolivia Boliviano'},
- {'code' : 'BRL', 'name' : 'Brazil Real'},
- {'code' : 'BSD', 'name' : 'Bahamas Dollar'},
- {'code' : 'BTN', 'name' : 'Bhutan Ngultrum'},
- {'code' : 'BWP', 'name' : 'Botswana Pula'},
- {'code' : 'BYR', 'name' : 'Belarus Ruble'},
- {'code' : 'BZD', 'name' : 'Belize Dollar'},
- {'code' : 'CAD', 'name' : 'Canada Dollar'},
- {'code' : 'CDF', 'name' : 'Congo/Kinshasa Franc'},
- {'code' : 'CHF', 'name' : 'Switzerland Franc'},
- {'code' : 'CLP', 'name' : 'Chile Peso'},
- {'code' : 'CNY', 'name' : 'China Yuan Renminbi'},
- {'code' : 'COP', 'name' : 'Colombia Peso'},
- {'code' : 'CRC', 'name' : 'Costa Rica Colon'},
- {'code' : 'CUC', 'name' : 'Cuba Convertible Peso'},
- {'code' : 'CUP', 'name' : 'Cuba Peso'},
- {'code' : 'CVE', 'name' : 'Cape Verde Escudo'},
- {'code' : 'CZK', 'name' : 'Czech Republic Koruna'},
- {'code' : 'DJF', 'name' : 'Djibouti Franc'},
- {'code' : 'DKK', 'name' : 'Denmark Krone'},
- {'code' : 'DOP', 'name' : 'Dominican Republic Peso'},
- {'code' : 'DZD', 'name' : 'Algeria Dinar'},
- {'code' : 'EGP', 'name' : 'Egypt Pound'},
- {'code' : 'ERN', 'name' : 'Eritrea Nakfa'},
- {'code' : 'ETB', 'name' : 'Ethiopia Birr'},
- {'code' : 'EUR', 'name' : 'Euro Member Countries'},
- {'code' : 'FJD', 'name' : 'Fiji Dollar'},
- {'code' : 'FKP', 'name' : 'Falkland Islands (Malvinas) Pound'},
- {'code' : 'GBP', 'name' : 'United Kingdom Pound'},
- {'code' : 'GEL', 'name' : 'Georgia Lari'},
- {'code' : 'GGP', 'name' : 'Guernsey Pound'},
- {'code' : 'GHS', 'name' : 'Ghana Cedi'},
- {'code' : 'GIP', 'name' : 'Gibraltar Pound'},
- {'code' : 'GMD', 'name' : 'Gambia Dalasi'},
- {'code' : 'GNF', 'name' : 'Guinea Franc'},
- {'code' : 'GTQ', 'name' : 'Guatemala Quetzal'},
- {'code' : 'GYD', 'name' : 'Guyana Dollar'},
- {'code' : 'HKD', 'name' : 'Hong Kong Dollar'},
- {'code' : 'HNL', 'name' : 'Honduras Lempira'},
- {'code' : 'HRK', 'name' : 'Croatia Kuna'},
- {'code' : 'HTG', 'name' : 'Haiti Gourde'},
- {'code' : 'HUF', 'name' : 'Hungary Forint'},
- {'code' : 'IDR', 'name' : 'Indonesia Rupiah'},
- {'code' : 'ILS', 'name' : 'Israel Shekel'},
- {'code' : 'IMP', 'name' : 'Isle of Man Pound'},
- {'code' : 'INR', 'name' : 'India Rupee'},
- {'code' : 'IQD', 'name' : 'Iraq Dinar'},
- {'code' : 'IRR', 'name' : 'Iran Rial'},
- {'code' : 'ISK', 'name' : 'Iceland Krona'},
- {'code' : 'JEP', 'name' : 'Jersey Pound'},
- {'code' : 'JMD', 'name' : 'Jamaica Dollar'},
- {'code' : 'JOD', 'name' : 'Jordan Dinar'},
- {'code' : 'JPY', 'name' : 'Japan Yen'},
- {'code' : 'KES', 'name' : 'Kenya Shilling'},
- {'code' : 'KGS', 'name' : 'Kyrgyzstan Som'},
- {'code' : 'KHR', 'name' : 'Cambodia Riel'},
- {'code' : 'KMF', 'name' : 'Comoros Franc'},
- {'code' : 'KPW', 'name' : 'Korea (North) Won'},
- {'code' : 'KRW', 'name' : 'Korea (South) Won'},
- {'code' : 'KWD', 'name' : 'Kuwait Dinar'},
- {'code' : 'KYD', 'name' : 'Cayman Islands Dollar'},
- {'code' : 'KZT', 'name' : 'Kazakhstan Tenge'},
- {'code' : 'LAK', 'name' : 'Laos Kip'},
- {'code' : 'LBP', 'name' : 'Lebanon Pound'},
- {'code' : 'LKR', 'name' : 'Sri Lanka Rupee'},
- {'code' : 'LRD', 'name' : 'Liberia Dollar'},
- {'code' : 'LSL', 'name' : 'Lesotho Loti'},
- {'code' : 'LTL', 'name' : 'Lithuania Litas'},
- {'code' : 'LYD', 'name' : 'Libya Dinar'},
- {'code' : 'MAD', 'name' : 'Morocco Dirham'},
- {'code' : 'MDL', 'name' : 'Moldova Leu'},
- {'code' : 'MGA', 'name' : 'Madagascar Ariary'},
- {'code' : 'MKD', 'name' : 'Macedonia Denar'},
- {'code' : 'MMK', 'name' : 'Myanmar (Burma) Kyat'},
- {'code' : 'MNT', 'name' : 'Mongolia Tughrik'},
- {'code' : 'MOP', 'name' : 'Macau Pataca'},
- {'code' : 'MRO', 'name' : 'Mauritania Ouguiya'},
- {'code' : 'MUR', 'name' : 'Mauritius Rupee'},
- {'code' : 'MVR', 'name' : 'Maldives (Maldive Islands) Rufiyaa'},
- {'code' : 'MWK', 'name' : 'Malawi Kwacha'},
- {'code' : 'MXN', 'name' : 'Mexico Peso'},
- {'code' : 'MYR', 'name' : 'Malaysia Ringgit'},
- {'code' : 'MZN', 'name' : 'Mozambique Metical'},
- {'code' : 'NAD', 'name' : 'Namibia Dollar'},
- {'code' : 'NGN', 'name' : 'Nigeria Naira'},
- {'code' : 'NIO', 'name' : 'Nicaragua Cordoba'},
- {'code' : 'NOK', 'name' : 'Norway Krone'},
- {'code' : 'NPR', 'name' : 'Nepal Rupee'},
- {'code' : 'NZD', 'name' : 'New Zealand Dollar'},
- {'code' : 'OMR', 'name' : 'Oman Rial'},
- {'code' : 'PAB', 'name' : 'Panama Balboa'},
- {'code' : 'PEN', 'name' : 'Peru Nuevo Sol'},
- {'code' : 'PGK', 'name' : 'Papua New Guinea Kina'},
- {'code' : 'PHP', 'name' : 'Philippines Peso'},
- {'code' : 'PKR', 'name' : 'Pakistan Rupee'},
- {'code' : 'PLN', 'name' : 'Poland Zloty'},
- {'code' : 'PYG', 'name' : 'Paraguay Guarani'},
- {'code' : 'QAR', 'name' : 'Qatar Riyal'},
- {'code' : 'RON', 'name' : 'Romania New Leu'},
- {'code' : 'RSD', 'name' : 'Serbia Dinar'},
- {'code' : 'RUB', 'name' : 'Russia Ruble'},
- {'code' : 'RWF', 'name' : 'Rwanda Franc'},
- {'code' : 'SAR', 'name' : 'Saudi Arabia Riyal'},
- {'code' : 'SBD', 'name' : 'Solomon Islands Dollar'},
- {'code' : 'SCR', 'name' : 'Seychelles Rupee'},
- {'code' : 'SDG', 'name' : 'Sudan Pound'},
- {'code' : 'SEK', 'name' : 'Sweden Krona'},
- {'code' : 'SGD', 'name' : 'Singapore Dollar'},
- {'code' : 'SHP', 'name' : 'Saint Helena Pound'},
- {'code' : 'SLL', 'name' : 'Sierra Leone Leone'},
- {'code' : 'SOS', 'name' : 'Somalia Shilling'},
- {'code' : 'SPL', 'name' : 'Seborga Luigino'},
- {'code' : 'SRD', 'name' : 'Suriname Dollar'},
- {'code' : 'STD', 'name' : 'São Tomé and PrÃncipe Dobra'},
- {'code' : 'SVC', 'name' : 'El Salvador Colon'},
- {'code' : 'SYP', 'name' : 'Syria Pound'},
- {'code' : 'SZL', 'name' : 'Swaziland Lilangeni'},
- {'code' : 'THB', 'name' : 'Thailand Baht'},
- {'code' : 'TJS', 'name' : 'Tajikistan Somoni'},
- {'code' : 'TMT', 'name' : 'Turkmenistan Manat'},
- {'code' : 'TND', 'name' : 'Tunisia Dinar'},
- {'code' : 'TOP', 'name' : 'Tonga Pa\'anga'},
- {'code' : 'TRY', 'name' : 'Turkey Lira'},
- {'code' : 'TTD', 'name' : 'Trinidad and Tobago Dollar'},
- {'code' : 'TVD', 'name' : 'Tuvalu Dollar'},
- {'code' : 'TWD', 'name' : 'Taiwan New Dollar'},
- {'code' : 'TZS', 'name' : 'Tanzania Shilling'},
- {'code' : 'UAH', 'name' : 'Ukraine Hryvnia'},
- {'code' : 'UGX', 'name' : 'Uganda Shilling'},
- {'code' : 'USD', 'name' : 'United States Dollar'},
- {'code' : 'UYU', 'name' : 'Uruguay Peso'},
- {'code' : 'UZS', 'name' : 'Uzbekistan Som'},
- {'code' : 'VEF', 'name' : 'Venezuela Bolivar'},
- {'code' : 'VND', 'name' : 'Viet Nam Dong'},
- {'code' : 'VUV', 'name' : 'Vanuatu Vatu'},
- {'code' : 'WST', 'name' : 'Samoa Tala'},
- {'code' : 'XAF', 'name' : 'Communauté Financière Africaine (BEAC) CFA Franc BEAC'},
- {'code' : 'XCD', 'name' : 'East Caribbean Dollar'},
- {'code' : 'XDR', 'name' : 'International Monetary Fund (IMF) Special Drawing Rights'},
- {'code' : 'XOF', 'name' : 'Communauté Financière Africaine (BCEAO) Franc'},
- {'code' : 'XPF', 'name' : 'Comptoirs Français du Pacifique (CFP) Franc'},
- {'code' : 'YER', 'name' : 'Yemen Rial'},
- {'code' : 'ZAR', 'name' : 'South Africa Rand'},
- {'code' : 'ZMW', 'name' : 'Zambia Kwacha'},
- {'code' : 'ZWD', 'name' : 'Zimbabwe Dollar'}
- ]
- };
-
- function copyObject(source, target) {
- var key;
-
- target = target || (Array.isArray(source) ? [] : {});
-
- for (key in source) {
- if (source.hasOwnProperty(key)) {
- target[key] = source[key] || target[key];
- }
- }
-
- return target;
- }
-
- /** Get the data based on key**/
- Chance.prototype.get = function (name) {
- return copyObject(data[name]);
- };
-
- // Mac Address
- Chance.prototype.mac_address = function(options){
- // typically mac addresses are separated by ":"
- // however they can also be separated by "-"
- // the network variant uses a dot every fourth byte
-
- options = initOptions(options);
- if(!options.separator) {
- options.separator = options.networkVersion ? "." : ":";
- }
-
- var mac_pool="ABCDEF1234567890",
- mac = "";
- if(!options.networkVersion) {
- mac = this.n(this.string, 6, { pool: mac_pool, length:2 }).join(options.separator);
- } else {
- mac = this.n(this.string, 3, { pool: mac_pool, length:4 }).join(options.separator);
- }
-
- return mac;
- };
-
- Chance.prototype.normal = function (options) {
- options = initOptions(options, {mean : 0, dev : 1});
-
- // The Marsaglia Polar method
- var s, u, v, norm,
- mean = options.mean,
- dev = options.dev;
-
- do {
- // U and V are from the uniform distribution on (-1, 1)
- u = this.random() * 2 - 1;
- v = this.random() * 2 - 1;
-
- s = u * u + v * v;
- } while (s >= 1);
-
- // Compute the standard normal variate
- norm = u * Math.sqrt(-2 * Math.log(s) / s);
-
- // Shape and scale
- return dev * norm + mean;
- };
-
- Chance.prototype.radio = function (options) {
- // Initial Letter (Typically Designated by Side of Mississippi River)
- options = initOptions(options, {side : "?"});
- var fl = "";
- switch (options.side.toLowerCase()) {
- case "east":
- case "e":
- fl = "W";
- break;
- case "west":
- case "w":
- fl = "K";
- break;
- default:
- fl = this.character({pool: "KW"});
- break;
- }
-
- return fl + this.character({alpha: true, casing: "upper"}) +
- this.character({alpha: true, casing: "upper"}) +
- this.character({alpha: true, casing: "upper"});
- };
-
- // Set the data as key and data or the data map
- Chance.prototype.set = function (name, values) {
- if (typeof name === "string") {
- data[name] = values;
- } else {
- data = copyObject(name, data);
- }
- };
-
- Chance.prototype.tv = function (options) {
- return this.radio(options);