(function(){var a="sproutcore/standard_theme";if(!SC.BUNDLE_INFO){throw"SC.BUNDLE_INFO is not defined!"
}if(SC.BUNDLE_INFO[a]){return}SC.BUNDLE_INFO[a]={requires:["sproutcore/empty_theme"],styles:["/static/sproutcore/standard_theme/fr/cedf18d9c171dfea682b509c92e9b34c4318c6dd/stylesheet-packed.css","/static/sproutcore/standard_theme/fr/cedf18d9c171dfea682b509c92e9b34c4318c6dd/stylesheet.css"],scripts:["/static/sproutcore/standard_theme/fr/cedf18d9c171dfea682b509c92e9b34c4318c6dd/javascript-packed.js"]}
})();SC.stringsFor("Français",{_KlbTitle:"Kiva en Français",_OK:"OK",_Edit:"Modifier",_About:"À Propos",_Projects:"Projets",_Learn_More:"En Savoir Plus",_Register:"S'inscrire",_Demo:"Demo",_Choose_A_Loan:"Choisir un Projet","_Get started now by finding an entrepreneur and making a loan!":"Essayez tout de suite. Choisissez un entrepreneur et faites un prêt!",_Checkout:"Finaliser",_Sort_by:"Trier par",_Loan_Amount:"Montant du prêt",_Amount_Remaining:"Restant à financer","_sb:Expiring Soon":"Date d'expiration",_Most_Recent:"Les plus récents",_List_Grid:"Liste Grille",_List:"Liste",_Explore:"Explorer","_Getting Started":"Commencer","_Browse All Loans":"Tous les prêts","_Sample Filters":"Exemples de filtres","_African Farmers":"Fermiers africains","_Francophone Countries":"Pays Francophones","_Expiring Soon":"Expiration proche","_Filter Options":"Recherche Avancée",_Search:"Recherche (très prochainement)",_Countries:"Pays",_Sectors:"Secteurs",_Gender:"Sexe",_Female:"Femme",_Male:"Homme",_Gender:"Sexe",_Sector:"Secteur",_Borrowers:"Emprunteurs",_Partner_Rating:"Note du partenaire",_Groups:"Groupes",_Individuals:"Individus",_Reset:"Reset",_Save:"Enregistrer",_All:"Tous","_Choose Countries":"Choisir le pays","_Choose Sectors":"Choisir un secteur","_loans found":"prêts trouvés","_loan found":"prêt trouvé","_Finding Available Loans":"Recherche des prêts en cours…","_No Loans Matched Your Criteria":"Aucun prêt ne correspond à ces critères","_Please choose another filter or change your filter options.":"Choisissez d‘autres filtres svp",_Loan_Use:"But",_Country:"Pays",_Rating:"Note",_Needed_Out_Of:"besoin total de","_Lend $25":"Prêtez $25",_AFGHANISTAN:"Afghanistan","_ÅLLAND_ISLANDS":"Ålland Islands",_ALBANIA:"Albanie",_ALGERIA:"Algérie",_AMERICAN_SAMOA:"Samoa",_ANDORRA:"Andorre",_ANGOLA:"Angola",_ANGUILLA:"Anguilla",_ANTARCTICA:"Antarctique","_ANTIGUA_AND BARBUDA":"Antigua And Barbuda",_ARGENTINA:"Argentine",_ARMENIA:"Arménie",_ARUBA:"Aruba",_AUSTRALIA:"Australie",_AUSTRIA:"Autriche",_AZERBAIJAN:"Azerbaïdjan",_BAHAMAS:"Bahamas",_BAHRAIN:"Bahreïn",_BANGLADESH:"Bangladesh",_BARBADOS:"Barbades",_BELARUS:"Biélorussie",_BELGIUM:"Belgique",_BELIZE:"Bélize",_BENIN:"Bénin",_BERMUDA:"Bermudes",_BHUTAN:"Boutan","_BOLIVIA,_PLURINATIONAL STATE OF":"Bolivie","_BOSNIA_AND HERZEGOVINA":"Bosnie et Herzégovine",_BOTSWANA:"Botswana",_BOUVET_ISLAND:"Bouvet Island",_BRAZIL:"Brésil","_BRITISH_INDIAN OCEAN TERRITORY":"British Indian Ocean Territory",_BRUNEI_DARUSSALAM:"Brunéi Darussalam",_BULGARIA:"Bulgarie",_BURKINA_FASO:"Burkina Faso",_BURUNDI:"Burundi",_CAMBODIA:"Cambodge",_CAMEROON:"Cameroun",_CANADA:"Canada",_CAPE_VERDE:"Cape Vert",_CAYMAN_ISLANDS:"Iles Cayman","_CENTRAL_AFRICAN REPUBLIC":"République Centrafricaine",_CHAD:"Chad",_CHILE:"Chilie",_CHINA:"Chine",_CHRISTMAS_ISLAND:"Christmas Island","_COCOS_(KEELING)_ISLANDS":"Cocos Islands",_COLOMBIA:"Colombie",_COMOROS:"Comores",_CONGO:"République du Congo","_CONGO,_THE DEMOCRATIC REPUBLIC OF THE":"République Démocratique du Congo",_COOK_ISLANDS:"Iles Cook",_COSTA_RICA:"Costa Rica","_CÔTE_D'IVOIRE":"Côte d'Ivoire",_CROATIA:"Croatie",_CUBA:"Cuba",_CYPRUS:"Chypre",_CZECH_REPUBLIC:"République Tchèque",_DENMARK:"Danemark",_DJIBOUTI:"Djibouti",_DOMINICA:"Dominica",_DOMINICAN_REPUBLIC:"Republique Dominicaine",_ECUADOR:"Equateur",_EGYPT:"Egypte",_EL_SALVADOR:"Salvador",_EQUATORIAL_GUINEA:"Guinée Equatoriale",_ERITREA:"Erythrée",_ESTONIA:"Estonie",_ETHIOPIA:"Ethiopie","_FALKLAND_ISLANDS_(MALVINAS)":"Iles Falkland",_FAROE_ISLANDS:"Iles Féroé",_FIJI:"Fiji",_FINLAND:"Finlande",_FRANCE:"France",_FRENCH_GUIANA:"Guyane Française",_FRENCH_POLYNESIA:"Polynésie Française","_FRENCH_SOUTHERN TERRITORIES":"Territoires Français du Sud",_GABON:"Gabon",_GAMBIA:"Gambie",_GEORGIA:"Géorgie",_GERMANY:"Allemagne",_GHANA:"Ghana",_GIBRALTAR:"Gibraltar",_GREECE:"Grèce",_GREENLAND:"Groënland",_GRENADA:"Grenade",_GUADELOUPE:"Guadeloupe",_GUAM:"Guam",_GUATEMALA:"Guatemala",_GUERNSEY:"Guernsey",_GUINEA:"Guinée","_GUINEA-BISSAU":"Guinée-Bissau",_GUYANA:"Guyane",_HAITI:"Haïti","_HEARD_ISLAND AND MCDONALD ISLANDS":"Ile Heard et Ile Mcdonald",_HONDURAS:"Honduras",_HONG_KONG:"Hong Kong",_HUNGARY:"Hongrie",_ICELAND:"Islande",_INDIA:"Inde",_INDONESIA:"Indonésie","_IRAN,_ISLAMIC REPUBLIC OF":"Iran",_IRAQ:"Irak",_IRELAND:"Irlande","_ISLE_OF MAN":"Ile de Man",_ISRAEL:"Israël",_ITALY:"Italie",_JAMAICA:"Jamaïque",_JAPAN:"Japon",_JERSEY:"Jersey",_JORDAN:"Jordanie",_KAZAKHSTAN:"Kazakhstan",_KENYA:"Kenya",_KIRIBATI:"Kiribati","_KOREA,_DEMOCRATIC PEOPLE'S REPUBLIC OF":"Corée du Sud","_KOREA,_REPUBLIC OF":"Corée du Nord",_KUWAIT:"Koweït",_KYRGYZSTAN:"Kirghizistan","_LAO_PEOPLE'S DEMOCRATIC REPUBLIC":"Laos",_LATVIA:"Lettonie",_LEBANON:"Liban",_LESOTHO:"Lesotho",_LIBERIA:"Liberia","_LIBYAN_ARAB JAMAHIRIYA":"Libyan Arab Jamahiriya",_LIECHTENSTEIN:"Liechtenstein",_LITHUANIA:"Lituanie",_LUXEMBOURG:"Luxembourg",_MACAO:"Macao","_MACEDONIA,_THE FORMER YUGOSLAV REPUBLIC OF":"Macédoine",_MADAGASCAR:"Madagascar",_MALAWI:"Malawi",_MALAYSIA:"Malaisie",_MALDIVES:"Maldives",_MALI:"Mali",_MALTA:"Malte",_MARSHALL_ISLANDS:"Iles Marshall",_MARTINIQUE:"Martinique",_MAURITANIA:"Mauritanie",_MAURITIUS:"Ile Maurice",_MAYOTTE:"Mayotte",_MEXICO:"Mexique","_MICRONESIA,_FEDERATED STATES OF":"Micronésie","_MOLDOVA,_REPUBLIC OF":"Moldavie",_MONACO:"Monaco",_MONGOLIA:"Mongolie",_MONTENEGRO:"Monténégro",_MONTSERRAT:"Montserrat",_MOROCCO:"Maroc",_MOZAMBIQUE:"Mozambique",_MYANMAR:"Myanmar",_NAMIBIA:"Namibie",_NAURU:"Nauru",_NEPAL:"Népal",_NETHERLANDS:"Pays-Bas",_NETHERLANDS_ANTILLES:"Antilles Néerlandaises",_NEW_CALEDONIA:"Nouvelle-Calédonie",_NEW_ZEALAND:"Nouvelle-Zélande",_NICARAGUA:"Nicaragua",_NIGER:"Niger",_NIGERIA:"Nigéria",_NIUE:"Nioué",_NORFOLK_ISLAND:"Ile Norfolk","_NORTHERN_MARIANA ISLANDS":"Marianne du Nord",_NORWAY:"Norvège",_OMAN:"Oman",_PAKISTAN:"Pakistan",_PALAU:"Palaos","_PALESTINIAN_TERRITORY, OCCUPIED":"Palestine",_PANAMA:"Panama","_PAPUA_NEW GUINEA":"Papouasie Nouvelle Guinée",_PARAGUAY:"Paraguay",_PERU:"Pérou",_PHILIPPINES:"Philippines",_PITCAIRN:"Pitcairn",_POLAND:"Pologne",_PORTUGAL:"Portugal",_PUERTO_RICO:"Porto Rico",_QATAR:"Qatar","_RÉUNION":"Réunion",_ROMANIA:"Roumanie",_RUSSIAN_FEDERATION:"Fédération de Russie",_RWANDA:"Rwanda","_SAINT_BARTHÃ‰LEMY":"Saint BarthÃ‰Lemy","_SAINT_HELENA, ASCENSION AND TRISTAN DA CUNHA":"Saint Helena, Ascension And Tristan Da Cunha","_TTS_AND NEVIS":"Saint-Kitts-et-Nevis",_SAINT_LUCIA:"Sainte-Lucie",_SAINT_MARTIN:"Saint-Martin","_SAINT_PIERRE AND MIQUELON":"Saint-Pierre et Miquelon","_SAINT_VINCENT AND THE GRENADINES":"Saint-Vincent-et-les Grenadines",_SAMOA:"Samoa",_SAN_MARINO:"Saint-Marin","_SAO_TOME AND PRINCIPE":"Sao Tomé-et-Principe",_SAUDI_ARABIA:"Arabia Saoudite",_SENEGAL:"Sénégal",_SERBIA:"Serbie",_SEYCHELLES:"Seychelles",_SIERRA_LEONE:"Sierra Leone",_SINGAPORE:"Singapour",_SLOVAKIA:"Slovaquie",_SLOVENIA:"Slovénie",_SOLOMON_ISLANDS:"Iles Salomon",_SOMALIA:"Somalie",_SOUTH_AFRICA:"Afrique du Sud","_SOUTH_GEORGIA AND THE SOUTH SANDWICH ISLANDS":"South Georgia And The South Sandwich Islands",_SPAIN:"Espagne",_SRI_LANKA:"Sri Lanka",_SUDAN:"Soudan",_SURINAME:"Suriname","_SVALBARD_AND JAN MAYEN":"Svalbard And Jan Mayen",_SWAZILAND:"Swaziland",_SWEDEN:"Suède",_SWITZERLAND:"Suisse","_SYRIAN_ARAB REPUBLIC":"Syrie","_TAIWAN,_PROVINCE OF CHINA":"Taïwan",_TAJIKISTAN:"Tadjikistan","_TANZANIA,_UNITED_REPUBLIC_OF":"Tanzanie",_THAILAND:"Thaïlande","_TIMOR-LESTE":"Timor-Leste",_TOGO:"Togo",_TOKELAU:"Tokelau",_TONGA:"Tonga","_TRINIDAD_AND TOBAGO":"Trinité et Tobago",_TUNISIA:"Tunisie",_TURKEY:"Turquie",_TURKMENISTAN:"Turkménistan","_TURKS_AND CAICOS ISLANDS":"Turks And Caicos Islands",_TUVALU:"Tuvalu",_UGANDA:"Ouganda",_UKRAINE:"Ukraine","_UNITED_ARAB EMIRATES":"Emirats Arabes Unis",_UNITED_KINGDOM:"Grande Bretagne",_UNITED_STATES:"Etats Unis","_UNITED_STATES MINOR OUTLYING ISLANDS":"United States Minor Outlying Islands",_URUGUAY:"Uruguay",_UZBEKISTAN:"Ouzbekistan",_VANUATU:"Vanuatu","_VATICAN_CITY STATE":"Vatican","_VENEZUELA,_BOLIVARIAN REPUBLIC OF":"Vénézuela",_VIET_NAM:"Vietnam","_VIRGIN_ISLANDS, BRITISH":"Iles Vierges Britaniques","_VIRGIN_ISLANDS, U.S.":"Iles Vierges, U.S.","_WALLIS_AND FUTUNA":"Wallis et Futuna",_WESTERN_SAHARA:"Sahara Occidental",_YEMEN:"Yémen",_ZAMBIA:"Zambie",_ZIMBABWE:"Zimbabwe","_SOUTHERN_SUDAN_TERRITORY,_PROVISIONAL":"Soudan du Sud",_Agriculture:"Agriculture","_Air Conditioning":"Air Conditionné","_Animal Sales":"Ventes d'Animaux",_Arts:"Arts","_Auto Repair":"Réparation d'Automobile",_Bakery:"Boulangerie","_Balut-Making":"Confection de Balut","_Barber Shop":"Barbier","_Beauty Salon":"Salon de Beauté","_Bicycle Repair":"Réparation de Bicyclettes","_Bicycle Sales":"Vente de Bicyclettes",_Biofuels:"Bio-carburants",_Blacksmith:"Serruruer",_Bookbinding:"Reliure de livres",_Bookstore:"Librairie",_Bricks:"Briques","_Butcher Shop":"Boucher",_Cafe:"Café","_Call Center":"Centre d'Appels",_Carpentry:"Menuiserie",_Catering:"Traiteur",_Cattle:"Bétail",_Cement:"Ciment",_Cereals:"Céréales","_Charcoal Sales":"Ventes de Charbon","_Cheese Making":"Fromager","_Child Care":"Garde d'Enfants","_Cloth and Dressmaking Supplies":"Fournitures pour la confection de vêtements",_Clothing:"Vêtements","_Clothing Sales":"Ventes de Vêtements",_Cobbler:"Cordonnier",_Computers:"Ordinateurs",_Construction:"Construction","_Construction Supplies":"Stocks pour la Construction","_Consumer Goods":"Produits de Consommation","_Cosmetics Sales":"Ventes de Produits Cosmétiques",_Crafts:"Artisanat",_Dairy:"Laiterie","_Decorations Sales":"Ventes de Produits pour la Decoration",_Dental:"Dentiste","_Electrical Goods":"Produits Electriques",_Electrician:"Electricien","_Electronics Repair":"Réparations de Produits Electroniques","_Electronics Sales":"Ventes de Produits Electroniques",_Embroidery:"Broderie","_Energy Efficiency":"Efficacité Energétique",_Entertainment:"Divertissement","_Farm Supplies":"Stocks pour l'Exploitation Agricole",_Farming:"Exploitation Agricole",_Film:"Film","_Fish Selling":"Ventes de Poissons",_Fishing:"Pêche",_Flowers:"Fleurs",_Food:"Alimentation","_Food Market":"Marché","_Food Production/Sales":"Produits Alimentaires/Ventes","_Food Stall":"Echoppe","_Fruits and Vegetables":"Fruits et Légumes","_Fruits & Vegetables":"Fruits et Légumes","_Fuel/Firewood":"Carburant/Bois à Brûler","_Funeral Expenses":"Dépenses pour des Obsèques","_Furniture Making":"Furniture Making",_Games:"Jeux","_General Store":"Bazar","_Goods Distribution":"Distribution",_Green:"Développement Durable","_Grocery Store":"Epicerie",_Hardware:"Quincaillerie",_Health:"Santé","_Home Appliances":"Appareils Ménagers","_Home Products Sales":"Ventes de Produits pour la Maison",_Hotel:"Hôtelerie","_Internet Cafe":"Cyber Café",_Jewelry:"Bijouterie",_Knitting:"Tricot","_Land Rental":"Location de Terrain",_Laundry:"Buanderie","_Liquor Store / Off-License":"Marchant de Vins et Spiritueux",_Livestock:"Bétail","_Machine Shop":"Atelier","_Machinery Rental":"Location de Machines",_Manufacturing:"Confection","_Medical Clinic":"Clinique Médicale","_Metal Shop":"Ferronnier","_Milk Sales":"Ventes de Lait","_Mobile Phones":"Téléphones Portable","_Motorcycle Repair":"Réparation de Motos","_Motorcycle Transport":"Transport en Moto","_Movie Tapes and DVDs":"Films Cassettes Vidéo et DVD","_Music Discs and Tapes":"Musiques Disques et Cassettes","_Musical Instruments":"Instruments de Musique","_Musical Performance":"Performance Musicale","_Natural Medicines":"Médicaments Naturels","_Office Supplies":"Fournitures de Bureau","_Paper Sales":"Ventes de Papier","_Party Supplies":"Articles de Fêtes",_Patchwork:"Patchwork",_Perfumes:"Parfums","_Personal Education Expenses":"Dépenses Personnelles pour l'Education","_Personal Housing Expenses":"Dépenses Personnelles de Logement","_Personal Medical Expenses":"Dépenses Personnelles pour les Soins Médicaux","_Personal Products Sales":"Ventes de Produits Personnels","_Personal Purchases":"Achats Personnels",_Pharmacy:"Pharmacie","_Phone Accessories":"Accessoires pour le Téléphone","_Phone Repair":"Réparations de Téléphones","_Phone Use Sales":"Ventes Utilisation de Téléphone",_Photography:"Photographie",_Pigs:"Porc","_Plastics Sales":"Ventes de Plastiques",_Poultry:"Volaille",_Printing:"Impression",_Property:"Propriété",_Pub:"Pub",_Quarrying:"Extraction",_Recycling:"Recyclage","_Religious Articles":"Articles Religieux",_Restaurant:"Restaurant",_Retail:"Vente au Détail",_Rickshaw:"Pousse-Pousse","_Secretarial Services":"Services de Secrétariat",_Services:"Services",_Sewing:"Couture","_Shoe Sales":"Ventes de Chaussures","_Soft Drinks":"Boissons Non Alcoolisées","_Solar Power":"Energie Solaire","_Souvenir Sales":"Ventes d'Objets de Souvenir","_Spare Parts":"Pièces de Rechange","_Sporting Good Sales":"Ventes d'Articles de Sport",_Tailoring:"Façonnage",_Taxi:"Taxi","_Teaching and Schools":"Enseigement",_Textiles:"Textiles","_Timber Sales":"Ventes de Bois",_Tourism:"Tourisme",_Transportation:"Transports","_Traveling Sales":"Ventes de Voyage",_Upholstery:"Revêtement","_Used Clothing":"Vêtements Usagés",_Utilities:"Charges",_Vehicle:"Véhicule","_Vehicle Repairs":"Réparation de Véhicules","_Veterinary Sales":"Vétérinaire","_Waste Management":"Gestion des Déchêts","_Water Distribution":"Distribution d'Eau",_Weaving:"Tissage","_Wedding Expenses":"Dépenses de Mariage","_Well digging":"Creusage de Puit",_Wholesale:"Vente de Gros",_Agriculture:"Agriculture",_Arts:"Arts",_Clothing:"Vêtements",_Construction:"Construction",_Education:"Education",_Entertainment:"Divertissement",_Food:"Alimentation",_Green:"Développement Durable",_Health:"Santé",_Housing:"Habitation",_Manufacturing:"Confection",_Personal_Use:"Usage Personnel",_Retail:"Vente de Détail",_Services:"Services",_Transportation:"Transports",_Wholesale:"Vente de Gros","_The Situation":"La situation","_In Numbers":"Les chiffres","_something about why to click the browse CTA":"","_Kiva. Make a loan, change a life.":"Kiva. Faites un prêt, changez une vie.","_An entrepreneur needs a loan to grow her business":"Un microentrepreneur a besoin d’un prêt pour développer son activité","_Kiva works with local partners who specialize in microcredit":"Kiva travaille avec un réseau de partenaires locaux spécialisés dans le micro crédit","_People from all over the world become lenders, helping in big ways with small amounts of money":"Il existe partout dans le monde des personnes qui contribuent à changer des vies en décidant de prêter des petites sommes","_Make the choice to change a life":"Faites le choix de changer une vie","_Get repaid":"Recevez vos remboursements régulièrement","_Become part of the Kiva community":"Rejoignez la communauté Kiva","_How Microfinance Began":"D‘où vient la micro-finance?","_What Is Kiva?":"Kiva, qu‘est-ce que c‘est?","_Why Kiva en Français?":"Pourquoi Kiva en Français?",_Contact:"Nous contacter","_Our Partners":"Nos partenaires","_in loans":"prêtés","_entrepreneurs helped":"entrepreneurs aidés",_countries:"pays",_partners:"partenaires","_Kiva connects people through lending to alleviate poverty.":"Kiva connecte des personnes par des prêts et participe à réduire la pauvreté.","*about_captionYunus1":"«Donnez un poisson à un homme, il mangera un jour… Apprenez-lui à pêcher, il mangera toujours.»","*about_captionYunus2":"Et s’il sait pêcher mais ne peut simplement pas s’acheter un filet?","*mfHow_para_1":"Le micro-crédit a été développé au Bangladesh par le professeur d’économie Muhammad Yunus, Prix Nobel de la Paix 2006.","*mfHow_para_2":"C’est l’attribution de prêts de faible montant à des porteurs de projets qui ne peuvent accéder aux prêts bancaires classiques. Il permet aux plus défavorisés d’avoir accès à du crédit dans un environnement sûr et contrôlé par l’intermédiaire d’une institution de microfinance.","*mfHow_para_3":"La microfinance a permis à des millions de gens  dans les pays en développement de sortir de la pauvreté, en concrétisant des projets favorisant l’activité et la création de richesse.","*mfHow_para_4":"Cette grande innovation sociale se répand aujourd’hui aussi dans les pays développés ou en transition.","*kivaWhat_para_1":"kiva.org est la première ONG au monde de micro-crédit en ligne, finançant près de 500 projets par jour.","*kivaWhat_para_2":"Cette success story, fondée à San Francisco en 2005, a réuni depuis plus de 110M€ de prêts, à destination de plus de 50 pays différents.","*kivaWhat_para_3":"kiva.org a rigoureusement sélectionné 116 institutions de microfinance (IMF) qui sont ses relais sur le terrain, et atteint un taux de remboursement de 98,5%.","*kivaWhat_para_4":"Au fil des mois, les prêteurs sont remboursés de leur prêt qu'ils peuvent récupérer ou réinvestir dans de nouveaux projets. Ces prêteurs constituent une véritable communauté, qui réinvestit très majoritairement leurs remboursements, et pendant des années.","*kefWhy_para_1":"L'idée est de permettre à la communauté francophone dans le monde d’aider elle aussi des microentrepreneurs dans les pays en développement par l’intermédiaire de Kiva et de faire progresser le micro-crédit dans son impact économique et social.","*kefWhy_para_2":"Ce site a pour objectif de vous accompagner dans la sélection du ou des projets que vous souhaitez soutenir. Une fois que vous aurez fait votre choix de projet(s), votre prêt est finalisé en dollars sur le site web de l'ONG kiva.org (en anglais).","*kefWhy_para_3":"Les créateurs de ce site web en français sont des passionnés de kiva.org basés en France, ainsi que des anciens de kiva.org souhaitant faire partager leur enthousiasme.","*reg_disclaimer_text1":"Pour valider votre prêt, vous devez avoir un compte d’utilisateur Kiva. Ce processus est en anglais mais un accompagnement en français est à votre disposition à gauche de l’écran. Une fois votre compte ouvert, vous serez redirigé sur kiva.org pour compléter le paiement.","*reg_disclaimer_text2":"Si vous possédez déjà un compte kiva, vous serez redirigé sur le site kiva.org où vous pourrez vous connecter à votre compte pour compléter votre paiement.","_Loading Kiva Website":"Le site de Kiva est en cours de chargement…",_Help:"Aide","_Use of the english site":"Utilisation du site en anglais","_Enter your first name":"Entrez votre prénom","_Enter your last name":"Entrez votre nom","_Enter your email address":"Entrez votre adresse email","_Re-enter your email address":"Confirmez votre adresse email","_Choose a password between 6 and 12 characters":"Choisissez un mot de passe entre 6 et 12 caractères","_Confirm the password you chose":"Confirmez le mot de passe choisi","_If your friend recommended you to loan on Kiva, please enter their email address so that Kiva can thank them!":"Si un ou une amie vous a recommandé de faire un prêt sur Kiva, merci d‘indiquer son adresse email pour que Kiva le ou la remercie!","_The Pedro Story":"L‘histoire de Pedro","_Demos coming soon… for now, enjoy this introduction to Kiva through the story of Pedro, a farmer in Boliva:":"Les demos arriveront bientôt… en attendant, regardez la video de Pedro, un planteur du café en Boliva:"});
var Typekit=(function(ab){var au={safari:"b",chrome:"a",ff35:"b",chromewin:"b",ff36:"d",ie:"c"};
var ac={ua:function(d){if(d){for(var c=0;c<this.enabledMatchers.length;c++){var a=this.enabledMatchers[c][1];
if(a.call(null,d)){var b=this.enabledMatchers[c][0];return{fonts:(!!b),format:b}}}return{fonts:false}
}},enabledMatchers:[],enable:function(b){this.enabledMatchers=[];for(var d=0;d<this.matchers.length;
d++){var a=this.matchers[d];for(var c=0;c<b.length;c++){if(a[0]==b[c]){this.enabledMatchers.push([a[1],a[2]]);
break}}}},matchers:[],add:function(c,b,a){this.matchers.push([b,c,a])}};var Q={};
ac.add(au.ff36,"ff36",function(c){var d=c.match(/rv:(\d+\.\d+)\.(\d+).*Gecko\//);
if(d){var a=parseFloat(d[1]);var b=parseInt(d[2]);if(a>=1.9&&b>1){return true}else{return false
}}});ac.add(au.ff35,"ff35",function(b){var a=b.match(/rv:1\.9\.1.*Gecko\//);if(b.match(/rv:1.9.1b[123]{1}/)){return false
}if(a){return true}else{return false}});Q.isMobileOSX=function(b){var a=b.match(/OS.(\d)_(\d)/);
if(a){if(a[1]=="3"){return parseInt(a[2])>0}else{if(parseInt(a[1])>3){return true
}}}return false};ac.add(au.iphone,"iphone",function(a){if(!a.match(/(iPhone|iPod)/)){return false
}return Q.isMobileOSX(a)});ac.add(au.ipad,"ipad",function(a){if(!a.match(/iPad/)){return false
}return Q.isMobileOSX(a)});Q.isSafari=function(b){if(b.match(/Chrome/)){return false
}if(b.match(/(iPhone|iPad|iPod)/)){return false}if(b.match(/webOS/)){return false
}if(b.match(/Android/)){return false}var c=b.match(/AppleWebKit\/(\d+\.\d+)/);if(c){var a=c[1];
return parseFloat(a)>=525.13}};Q.isChrome=function(d){var f;if(d.match(/Chrome/)){f=d.match(/Chrome\/(\d+\.\d+)\.(\d+)\.(\d+)/);
if(f){var a=parseFloat(f[1]);var c=parseInt(f[2]);var b=parseInt(f[3]);if(a>4){return true
}else{if(a==4&&c>249){return true}else{if(a==4&&c==249&&b>=4){return true}else{return false
}}}}}};ac.add(au.chromewin,"chromewin",function(a){if(!a.match(/Windows/)){return false
}return Q.isChrome(a)});ac.add(au.safari,"safari",Q.isSafari);ac.add(au.chrome,"chrome",Q.isChrome);
ac.add(au.ie,"ie",function(b){var c=b.match(/MSIE\s(\d+\.\d+)/);if(c){var a=c[1];
return parseFloat(a)>=6}});var ar=(function(){var g=document.defaultView||{};var d=false;
var b=false;var c=[];function a(){if(!d){d=true;for(var h=0;h<c.length;h++){c[h].call(null)
}}}function f(){if(b){return}b=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);
a()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);
a()}});if(document.documentElement.doScroll&&window==window.top){(function(){if(d){return
}try{document.documentElement.doScroll("left")}catch(j){setTimeout(arguments.callee,0);
return}a()})()}}}if(window.onload){var h=window.onload;window.onload=function(){h();
a()}}else{window.onload=a}}return{ready:function(h){f();if(d){h()}else{c.push(h)}},insertInto:function(j,h){var k=document.getElementsByTagName(j)[0];
if(k&&k.lastChild){k.insertBefore(h,k.lastChild);return true}else{return false}},createStyleElement:function(j){var h=document.createElement("style");
h.setAttribute("type","text/css");if(h.styleSheet){h.styleSheet.cssText=j}else{h.appendChild(document.createTextNode(j))
}return h},createCssLink:function(h){var j=document.createElement("link");j.setAttribute("rel","stylesheet");
j.setAttribute("type","text/css");j.setAttribute("href",h);return j},css:function(j,h){if(g.getComputedStyle){var k=g.getComputedStyle(j,null);
return k?k.getPropertyValue(h):null}else{if(j.currentStyle){return j.currentStyle[h]
}}},loadScript:function(h,j){var k=document.getElementsByTagName("head")[0];if(k){var l=document.createElement("script");
l.src=h;var m=false;l.onload=l.onreadystatechange=function(){if(!m&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){m=true;
if(j){j()}l.onload=l.onreadystatechange=null;if(l.parentNode.tagName=="HEAD"){k.removeChild(l)
}}};k.appendChild(l)}},appendClassName:function(h,k){var j=" "+h.className+" ";if(!j.match("\\s+"+k+"\\s+")){h.className=h.className+" "+k
}},removeClassName:function(h,l){var j=" "+h.className+" ";if(j.match("\\s+"+l+"\\s+")){var m=j.split(/\s+/);
var k=0;var n=[];for(k=0;k<m.length;k++){if(m[k]!=l&&m[k]!=""){n.push(m[k])}}h.className=n.join(" ")
}}}})();function Z(){return"/k"}function aq(){return"http://"}var R={};var aj={};
var Y={};var V=[];var aw={};var ag={};var al=[];if(window.tkKitsTracked==undefined){window.tkKitsTracked=0
}function ao(b){for(var a in b){aj[a]=b[a]}av("setOptions",aj)}function ax(b){ac.enable(b.supportedBrowsers);
var c=aj.ua;if(c){var a=ac.ua(c);aj.fonts=a.fonts;aj.compatibility=a.format;av("detectUA",aj.fonts,aj.compatibility)
}}function av(a){if(aj.debug&&window.console&&window.console.log){window.console.log(arguments)
}}function P(a,b){if(!aw[a]){aw[a]=[]}if(b){aw[a].push(b);av("addCallback",a,aw[a].length,b)
}}function ai(a){var b=document.getElementsByTagName("html")[0];if(b){ar.appendClassName(b,a)
}}function S(a){var b=document.getElementsByTagName("html")[0];if(b){ar.removeClassName(b,a)
}}function aa(b){var a=new Date().getTime();P(b,function(c){O(b).time=(new Date().getTime())-a
})}function W(a,b){av("executeCallbacks",a);var c=aw[a];if(c){for(var d=0;d<c.length;
d++){c[d](b)}}}function ay(f,b,c,d,g,a,h){av("addDataSet",f,b,c,d,g,a,h);V.push(f);
Y[f]={kitId:f,securityToken:b,supportedBrowsers:c,badgeOptions:d,kitOptions:g,fontData:a,selectorData:h};
Y[f]["callbackData"]=a;Y[f]["callbackData"]["kitId"]=f}function af(a,b){if(a){av("loading kit",a);
T(Y[a],b)}else{for(var c=0;c<V.length;c++){var a=V[c];var d=Y[a];av("loading kit",a);
T(d,b)}}}function T(a,b){ax(a);if(a&&a.kitId){av("loadKit",a);al.push(a);an(a.selectorData);
if(b["kit-initialized"]){b["kit-initialized"](a.callbackData)}if(aj.fonts){aa(a.kitId);
S("wf-inactive");ai("wf-loading");if(b.loading){b.loading(a.callbackData)}P(a.kitId,function(){S("wf-loading");
ai("wf-active");if(b.active){b.active(a.callbackData)}});N(a.kitId,a.securityToken,aj.compatibility)
}else{S("wf-loading");ai("wf-inactive");if(b.inactive){b.inactive(a.callbackData)
}}if(b["kit-loaded"]){b["kit-loaded"](a.callbackData)}}else{av("loadKit","data is invalid",a)
}}function an(h){if(h&&h.selectors){var c=h.selectors;var f=[];for(var g=0;g<c.length;
g++){var k=c[g];if(k){var a=k.selectors;var d=k.declarations;if(a&&d){var b=[];for(var j=0;
j<d.length;j++){b.push(d[j]["name"]+":"+d[j]["value"]+";")}f.push(a+"{"+b.join("")+"}")
}}}ar.insertInto("head",ar.createStyleElement(f.join("")))}}function N(b,a,d){var c=aq()+aj.host+Z()+"/"+b+"-"+d+".css?"+a;
av("loadKitStyle",c);if(ar.insertInto("head",ar.createCssLink(c))){am(b)}}function am(c){av("waitForStyleLoaded",c);
var g=function(h){var j=document.createElement("span");j.setAttribute("class","wf-font-watcher");
j.setAttribute("style","position:absolute;left:-999px;font-size:200px;font-family:"+h+",NONE");
j.innerHTML="Mm";return j};var b=function(l,n){var m=g("NONE");var h=g(l);ar.insertInto("html",m);
ar.insertInto("html",h);var j=m.offsetWidth;var k=function(){if(h.offsetWidth!=j){n()
}else{setTimeout(k,aj.styleLoadIntervalTime)}};k()};var a=Y[c].fontData.fonts;if(a&&a.length>0){var d=a.length;
for(var f=0;f<a.length;f++){b(a[f].family_name,function(){if(--d==0){if(Y[c]){W(c,Y[c].callbackData)
}}})}}else{W(c,Y[c].callbackData)}}function O(b){var a=ag[b];if(!a){a=ag[b]={time:0}
}return a}function at(b,a){R[b]=a}function ad(){if(!aj.fonts){return}for(var c=0;
c<al.length;c++){var d=al[c];var a=d.badgeOptions;if(a&&a.enabled){var b=R["default"];
if(b){var f=b(d.kitId,a,aj);if(f){f.setAttribute("id","typekit-badge-"+d.kitId);ar.insertInto("body",f)
}}}}}function ak(){if(window.tkKitsTracked>0){return}for(var d=0;d<al.length;d++){var f=al[d];
var c=f.kitOptions;if(c&&c.ga){if(window._gat){ae()}else{var a=aq();var b=a.match(/https/)?"ssl":"www";
ar.loadScript(a+b+".google-analytics.com/ga.js",ae)}break}}}function ae(){try{window._gat._getTracker("UA-8850781-3")._trackPageview()
}catch(a){}window.tkKitsTracked++}ar.ready(ad);ar.ready(ak);ao({host:"",root:"",assetHost:"",assetRoot:"",colophonHost:"typekit.com",ua:navigator.userAgent,styleLoadIntervalTime:50,bodyWaitIntervalTime:20,debug:false});
function X(){return{addDataSet:ay,clearDataSets:function(){V=[];Y={};al=[]},insertBadges:ad,optionallyCallGoogleAnalytics:ak}
}function ap(){return{configure:ao,load:function(a){var b,c;if(typeof arguments[0]=="string"){b=arguments[0];
c=arguments[1]}else{b=null;c=arguments[0]}af(b,c||{})},stats:O}}at("default",function(c,d,a){function b(k,l){var m=0,j=0;
if(document.documentElement&&(document.documentElement[k]||document.documentElement[l])){m=document.documentElement[k];
j=document.documentElement[l]}else{if(document.body&&(document.body[k]||document.body[l])){m=document.body[k];
j=document.body[l]}}return[m,j]}function f(){return b("clientWidth","clientHeight")
}function h(){return b("scrollLeft","scrollTop")}function g(j,k,l){if(j.attachEvent){j["e"+k+l]=l;
j[k+l]=function(){j["e"+k+l](window.event)};j.attachEvent("on"+k,j[k+l])}else{j.addEventListener(k,l,false)
}}});ao({host:"use.typekit.com",root:"/",assetHost:"use.typekit.com",assetRoot:"/"});
ay("qek5aly","3bb2a6e53c9684ffdc9a9bf6195b2a62173cbd03ca8deaa4c4329a86dd530b375ddd9884ba5df2f08f387cca0b14acf3004aabb7039a5fdb0006ed8cac7e8554f09eb6bf6ee8824d9d85061a67601ff7e9c01893e8c0536c44508766cf8310b9c1a6dcb3c30fcb",["chrome","chromewin","ff35","ff36","ie","safari"],{enabled:true},{ga:false},{fonts:[{family_name:'"museo-slab-1","museo-slab-2"',variations:{a:["n1","i1","n3","i3","n5","i5","n7","i7","n8","i8","n9","i9"],b:["n1","i1","n3","i3","n5","i5","n7","i7","n8","i8","n9","i9"],c:["n5"],d:["n1","i1","n3","i3","n5","i5","n7","i7","n8","i8","n9","i9"],f:["n1","i1","n3","i3","n5","i5","n7","i7","n8","i8","n9","i9"]}}]},{selectors:[{selectors:".kef-branded-font,.tk-museo-slab",declarations:[{value:'"museo-slab-1","museo-slab-2","Arial","sans-serif"',name:"font-family"}]}]});
if(window.__webfonttypekitmodule__){for(var U=0;U<V.length;U++){var ah=V[U];var az=window.__webfonttypekitmodule__[ah];
if(az){az(function(a,k,b){ao(k.configure||{});af(ah,{});var d=Y[ah];var h=[];var c={};
for(var g=0;g<d.fontData.fonts.length;g++){var j=d.fontData.fonts[g];var f=j.family_name;
h.push(f);c[f]=j.variations[aj.compatibility]}var l=aj.fonts;b(l,h,c)})}}}return ap()
})();var _gaq=_gaq||[];_gaq.push(["_setAccount","UA-17184074-1"]);_gaq.push(["_setDomainName",".kivaenfrancais.org"]);
_gaq.push(["_trackPageview"]);(function(){var b=document.createElement("script");
b.type="text/javascript";b.async=true;b.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";
var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(b,a)})();
sc_require("utils/typekit");try{Typekit.load()}catch(e){console.log("TYPEKIT failed to load.")
}sc_require("utils/ga_loader");Klb=SC.Application.create({NAMESPACE:"Klb",VERSION:"0.5.0",store:SC.Store.create(),trace:YES,currentPane:null,pickerPanes:{}});
Klb.staticImagePath="images/ratingStar_full.png";Klb.absStaticImagePath="/static/klb/fr/cedf18d9c171dfea682b509c92e9b34c4318c6dd/resources/images/ratingStar_full.png";
Klb.imageByName=function(a){var b=Klb.absStaticImagePath.substring(0,Klb.absStaticImagePath.indexOf(Klb.staticImagePath));
return b+a};Klb.AVAILABLE_PARTNERS_QUERY=SC.Query.local(Klb.Partner,{conditions:"rating > 0"});
Klb.AVAILABLE_LOANS_QUERY=SC.Query.local(Klb.Loan,{conditions:'loanStatus = "fundraising"',orderBy:["postedDate"]});
Klb.Demo=SC.Record.extend({primaryKey:"id",name:SC.Record.attr(String)});sc_require("models/demo");
Klb.demosController=SC.ArrayController.create({primeData:function(){}});Klb.detailController=SC.ObjectController.create({largeImage:function(){if(this.get("image")){return"https://s3.amazonaws.com/s3.kiva.org/img/w450h360/"+this.get("image").id+".jpg"
}else{return""}}.property("image"),smallImage:function(){if(this.get("image")){return"https://s3.amazonaws.com/s3.kiva.org/img/w200h200/"+this.get("image").id+".jpg"
}else{return""}}.property()});Klb.filtersController=SC.TreeController.create(SC.CollectionViewDelegate,{collectionViewShouldSelectIndexes:function(b,c,d){var a=b.get("content").objectAt(c.firstObject());
if(a&&a.get("isEnabled")){return c}return null}});Klb.lendingController=SC.ObjectController.create({currentScene:"loansLoading"});
Klb.Loan=SC.Record.extend({primaryKey:"id",loanStatus:SC.Record.attr(String,{key:"status"}),fundedAmount:SC.Record.attr(Number,{key:"funded_amount",defaultValue:0}),loanAmount:SC.Record.attr(Number,{key:"loan_amount",defaultValue:0}),name:SC.Record.attr(String),use:SC.Record.attr(String),sector:SC.Record.attr(String),partner:SC.Record.toOne("Klb.Partner",{key:"partner_id",defaultValue:0}),country:SC.Record.toOne("Klb.Country",{key:"loc_country_code",defaultValue:"XX"}),loc_country_code:SC.Record.attr(String,{key:"loc_country_code",defaultValue:"XX"}),image:SC.Record.attr(Object,{key:"image"}),postedDate:SC.Record.attr(SC.DateTime,{key:"posted_date"}),borrowerCount:SC.Record.attr(Number,{key:"borrower_count"}),gender:SC.Record.attr(String,{key:"gender"}),fundedName:function(){return this.get("name")+" "+this.get("fundedAmount")
}.property("name","fundedAmount").cacheable(),remainingAmount:function(){return this.get("loanAmount")-this.get("fundedAmount")
}.property("fundedAmount","loanAmount").cacheable(),fundedPercentage:function(){return 100*this.get("fundedAmount")/this.get("loanAmount")
}.property("fundedAmount","loanAmount").cacheable()});require("models/loan");SC.Query.registerQueryExtension("ANY_COUNTRY",{reservedWord:true,leftType:"PRIMITIVE",rightType:"PRIMITIVE",evalType:"BOOLEAN",evaluate:function(d,a){var g=this.leftSide.evaluate(d,a);
var b=this.rightSide.evaluate(d,a);var f=false;var c=0;while(f===false&&c<b.length){if(g===b[c]){f=true
}c++}return f}});Klb.loansController=SC.ArrayController.create(SC.CollectionViewDelegate,{searchControllerQueryDidChange:function(){var a=Klb.getPath("searchController.query");
if(a){console.log("current query");SC.Logger.dir(a);this.set("content",Klb.store.find(SC.Query.create({location:SC.Query.LOCAL,recordType:Klb.Loan,conditions:a.conditions,parameters:a.parameters,orderBy:a.orderBy})))
}}.observes("Klb.searchController.query"),searchResultsCountDidChange:function(){Klb.sendAction("updateStateForResultCount",this,null)
}.observes("Klb.loansController.length"),lengthNamedForDisplay:function(){return this.get("length")+" "+"_loans found".loc()
}.property("length").cacheable(),collectionViewShouldSelectIndexes:function(a,b,c){return null
}});Klb.Search=SC.Object.extend(SC.Copyable,{id:"_none",male:true,female:true,groups:true,queryString:"",countries:[],sectors:[],sortOrder:"postedDate DESC",copy:function(){return this.constructor.create({id:this.get("id"),male:this.get("male"),female:this.get("female"),groups:this.get("groups"),queryString:this.get("queryString"),countries:this.get("countries").slice(),sectors:this.get("sectors").slice(),sortOrder:this.get("sortOrder")})
}});require("models/search");require("controllers/loans");Klb.searchController=SC.ObjectController.create({availableCountries:[],selectedCountries:[],availableSectors:[],selectedSectors:[],availablePartners:[],showMale:true,showFemale:true,showGroups:true,sortOptions:[{name:"_Most_Recent".loc(),value:"postedDate DESC"},{name:"_Amount_Remaining".loc(),value:"remainingAmount"},{name:"_Loan_Amount".loc(),value:"loanAmount"},{name:"_Sector".loc(),value:"sector"},{name:"_sb:Expiring Soon".loc(),value:"postedDate ASC"}],currentSortOrder:"postedDate DESC",currentSearch:Klb.Search.create(),canCheckout:NO,query:function(){var c=[],g={},b,f,a,j,h,d;
this.currentSearch.set("male",this.get("showMale"));this.currentSearch.set("female",this.get("showFemale"));
this.currentSearch.set("groups",this.get("showGroups"));this.currentSearch.set("sortOrder",this.get("currentSortOrder"));
j=this.get("currentSearch"),h=j.get("countries");d=j.get("sectors");if(h&&h.get("length")>0){c.push("loc_country_code ANY {countries}");
g.countries=h}if(d&&d.get("length")>0){c.push("sector ANY {sectors}");g.sectors=d.getEach("value")
}f="(borrowerCount=1 AND gender='male')";b="(borrowerCount=1 AND gender='female')";
if(j.get("female")){if(!j.get("groups")){c.push("borrowerCount = 1")}}else{if(j.get("groups")){a="(borrowerCount > 2";
if(j.get("male")){a+=" OR "+f}else{if(j.get("female")){a+=" OR "+b}}a+=")";c.push(a)
}else{c.push("borrowerCount = 0")}}console.log("MY JOINS: "+c.join(" AND "));return{conditions:c.join(" AND "),parameters:g,orderBy:j.get("sortOrder")}
}.property("showMale","showFemale","showGroups","currentSortOrder"),availableCountries:function(){var b=this.get("availablePartners");
var a=[];b.forEach(function(f,d,c){a.pushObjects(f.get("countries"))});return a.uniq().sortProperty("name")
}.property("availablePartners").cacheable(),formattedCountries:function(){var c=this.get("currentSearch").get("countries"),a=c.get("length"),b;
if(a===0){return"_All".loc()}b=Klb.store.find(SC.Query.create({location:SC.Query.LOCAL,recordType:Klb.Country,conditions:"id ANY {country}",parameters:{country:c},orderBy:"name"}));
return b.mapProperty("name").sort().join(", ")}.property("currentSearch","currentSearch.countries").cacheable(),formattedSectors:function(){var b=this.get("currentSearch").get("sectors"),a=b.get("length");
return a===0?"_All".loc():b.mapProperty("name").sort().join(", ")}.property("currentSearch","currentSearch.sectors").cacheable(),currentFilters:SC.Object.extend({treeItemIsExpanded:YES,title:"Root",isEnabled:YES,value:null,treeItemChildren:function(){var a,b=[];
b.push(Klb.searchController.browseFilters.create());b.push(Klb.searchController.sampleFilters.create());
return b}.property().cacheable()}),browseFilters:SC.Object.extend({treeItemIsExpanded:YES,title:"_Explore".loc(),isEnabled:NO,treeItemChildren:function(){var a,b=[];
b.push(Klb.searchController.currentFilters.create({title:"_Browse All Loans".loc(),value:Klb.Search.create(),treeItemIsExpanded:NO,treeItemChildren:null}));
return b}.property().cacheable()}),sampleFilters:SC.Object.extend({treeItemIsExpanded:YES,title:"_Sample Filters".loc(),isEnabled:NO,treeItemChildren:function(){var a,b=[];
b.push(Klb.searchController.currentFilters.create({title:"_African Farmers".loc(),value:Klb.Search.create({countries:["BJ","BI","CM","GH","ML","MZ","UG","EC","NG","CD","CG","_S","RW","SN","TG","TD","CI","SL","TZ"],sectors:[{name:"_Agriculture".loc(),value:"Agriculture",isSelected:false}]}),treeItemIsExpanded:NO,treeItemChildren:null}));
b.push(Klb.searchController.currentFilters.create({title:"_Francophone Countries".loc(),value:Klb.Search.create({countries:["BJ","BI","CM","HT","LB","ML","CD","CG","RW","SN","TG","TD","CI"]}),treeItemIsExpanded:NO,treeItemChildren:null}));
b.push(Klb.searchController.currentFilters.create({title:"_Expiring Soon".loc(),value:Klb.Search.create({sortOrder:"postedDate ASC"}),treeItemIsExpanded:NO,treeItemChildren:null}));
return b}.property().cacheable()}),primeData:function(){var a=[{name:"_Agriculture".loc(),value:"Agriculture",isSelected:false},{name:"_Transportation".loc(),value:"Transportation",isSelected:false},{name:"_Services".loc(),value:"Services",isSelected:false},{name:"_Clothing".loc(),value:"Clothing",isSelected:false},{name:"_Health".loc(),value:"Health",isSelected:false},{name:"_Retail".loc(),value:"Retail",isSelected:false},{name:"_Manufacturing".loc(),value:"Manufacturing",isSelected:false},{name:"_Arts".loc(),value:"Arts",isSelected:false},{name:"_Housing".loc(),value:"Housing",isSelected:false},{name:"_Food".loc(),value:"Food",isSelected:false},{name:"_Wholesale".loc(),value:"Wholesale",isSelected:false},{name:"_Construction".loc(),value:"Construction",isSelected:false},{name:"_Education".loc(),value:"Education",isSelected:false},{name:"_Personal_Use".loc(),value:"Personal Use",isSelected:false},{name:"_Entertainment".loc(),value:"Entertainment",isSelected:false},{name:"_Green".loc(),value:"Green",isSelected:false}];
this.set("availableSectors",a);Klb.store.loadRecords(Klb.Country,Klb.COUNTRIES_ISO);
this.set("availableCountries",Klb.store.find(SC.Query.local(Klb.Country)));this.set("availablePartners",Klb.store.find(Klb.AVAILABLE_PARTNERS_QUERY));
Klb.filtersController.set("content",Klb.searchController.currentFilters.create());
Klb.filtersController.selectObject(Klb.filtersController.get("arrangedObjects").objectAt(1));
this.set("currentSearch",Klb.Search.create());Klb.store.find(Klb.AVAILABLE_LOANS_QUERY);
this.notifyPropertyChange("query")},selectSidebarItem:function(a){var b=a.get("selection").firstObject().get("value").copy();
this.set("currentSearch",b);this.notifyPropertyChange("query");this.notifyPropertyChange("formattedSectors");
this.notifyPropertyChange("formattedCountries")},availablePartnersDidChange:function(b){var a=this.get("availablePartners").get("length");
console.log("Observed availablePartners change w/ "+a);if(this.get("availablePartners").get("length")>0){Klb.makeFirstResponder(Klb.READY_LIST)
}}.observes("*availablePartners.length"),updateLocalBindingsForNewCurrentSearch:function(){var a=this.get("currentSearch");
this.beginPropertyChanges();this.set("showMale",a.get("male"));this.set("showFemale",a.get("female"));
this.set("showGroups",a.get("groups"));this.set("currentSortOrder",a.get("sortOrder"));
this.endPropertyChanges()}.observes("currentSearch"),showCountryPicker:function(a){Klb.getPath("pickerPanes.countryPicker.mainPane").append()
},chooseCountries:function(c){var b=c.getPath("parentView.buttonGridView.optionButtons"),a=[];
b.forEach(function(d){if(d.isSelected){a.push(d.get("content").get("id"))}});this.get("currentSearch").set("countries",a);
Klb.getPath("pickerPanes.countryPicker.mainPane").remove();Klb.filtersController.set("selection",SC.SelectionSet.EMPTY);
this.notifyPropertyChange("query");this.notifyPropertyChange("formattedCountries")
},showSectorPicker:function(a){Klb.getPath("pickerPanes.sectorPicker.mainPane").append()
},chooseSectors:function(b){var a=b.getPath("parentView.scrollView.contentView.selection");
this.get("currentSearch").set("sectors",a);Klb.getPath("pickerPanes.sectorPicker.mainPane").remove();
Klb.filtersController.set("selection",SC.SelectionSet.EMPTY);this.notifyPropertyChange("query");
this.notifyPropertyChange("formattedSectors")},lendNow:function(b){var f=b.parentView.get("content").get("id"),d,c,g,a;
d=document.createElement("FORM");d.setAttribute("action","http://www.kiva.org/basket/set/");
d.setAttribute("method","post");d.setAttribute("id","kivaBasketPostForm");d.setAttribute("target","_kivaBasketFrame");
c=document.createElement("INPUT");c.setAttribute("name","loans");c.setAttribute("value",'[{"id":'+f+', "amount":25}]');
g=document.createElement("INPUT");g.setAttribute("name","donation");g.setAttribute("value","2.5");
a=document.createElement("INPUT");a.setAttribute("name","app_id");a.setAttribute("value","org.kivaenfrancais");
d.appendChild(c);d.appendChild(g);d.appendChild(a);document.getElementById("invisible_form_view").appendChild(d);
d.submit();_gaq.push(["_trackEvent","conversion","lendOne","loan_id:"+f])}});sc_require("models/loan");
Klb.KivaDataSource=SC.DataSource.extend({fetch:function(a,c){var b;if(c===Klb.AVAILABLE_PARTNERS_QUERY){SC.Request.getUrl("/proxy/api_proxy.rb?method=partners").json().notify(this,"didFetchPartners",a,c).send();
return YES}else{if(c===Klb.AVAILABLE_LOANS_QUERY){for(b=0;b<=10;b++){SC.Request.getUrl("/proxy/api_proxy.rb?method=loans&page=%@".fmt(b)).json().notify(this,"didFetchNewestLoans",a,c).send();
c=null}return YES}}return NO},didFetchNewestLoans:function(b,a,c){console.log("NEW LOANS fetch did complete.");
if(SC.ok(b)&&b.get("body").loans){b.get("body").loans.forEach(function(g,f,d){if(g.location.country==="South Sudan"){g.location.country_code="_S"
}g.loc_country_code=g.location.country_code});a.loadRecords(Klb.Loan,b.get("body").loans);
if(c){a.dataSourceDidFetchQuery(c)}}else{a.dataSourceDidErrorQuery(c,b)}console.log("END didFetchNewestLoans.")
},didFetchPartners:function(b,a,c){console.log("PARTNERS fetch did complete.");if(SC.ok(b)){b.get("body").partners.forEach(function(g,f,d){if(g.countries[0].name==="South Sudan"){console.log("plugged one SS entry for "+g.name);
g.countries[0].iso_code="_S"}g.country_codes=g.countries.mapProperty("iso_code")});
a.loadRecords(Klb.Partner,b.get("body").partners);a.dataSourceDidFetchQuery(c)}else{a.dataSourceDidErrorQuery(c,b)
}console.log("END didFetchPartners.")},retrieveRecord:function(a,b){return NO},createRecord:function(a,b){return NO
},updateRecord:function(a,b){return NO},destroyRecord:function(a,b){return NO}});
Klb.Country=SC.Record.extend({primaryKey:"iso_code",name:SC.Record.attr(String),iso_code:SC.Record.attr(String),region_code:SC.Record.attr(String),iconBySize:function(a){return"http://kivaenfrancais.org/rez_static/flags_iso/%@/%@.png".fmt(a,this.get("iso_code").toLowerCase())
}});Klb.Partner=SC.Record.extend({primaryKey:"id",id:SC.Record.attr(Number),name:SC.Record.attr(String),partnerStatus:SC.Record.attr(String,{key:"status"}),countries:SC.Record.toMany("Klb.Country",{key:"country_codes"}),start_date:SC.Record.attr(SC.DateTime),imageUrl:SC.Record.attr(String),rating:SC.Record.attr(Number),delinquency_rate:SC.Record.attr(Number),default_rate:SC.Record.attr(Number),amount_raised:SC.Record.attr(Number,{key:"total_amount_raised"}),loans_posted:SC.Record.attr(Number)});
Klb.COUNTRIES_ISO=[{iso_code:"AF",iso_name:"AFGHANISTAN",name:"_AFGHANISTAN".loc(),region:"xx"},{iso_code:"AX",iso_name:"ÅLAND ISLANDS",name:"_ÅLAND_ISLANDS".loc(),region:"xx"},{iso_code:"AL",iso_name:"ALBANIA",name:"_ALBANIA".loc(),region:"xx"},{iso_code:"DZ",iso_name:"ALGERIA",name:"_ALGERIA".loc(),region:"af"},{iso_code:"AS",iso_name:"AMERICAN SAMOA",name:"_AMERICAN_SAMOA".loc(),region:"xx"},{iso_code:"AD",iso_name:"ANDORRA",name:"_ANDORRA".loc(),region:"xx"},{iso_code:"AO",iso_name:"ANGOLA",name:"_ANGOLA".loc(),region:"xx"},{iso_code:"AI",iso_name:"ANGUILLA",name:"_ANGUILLA".loc(),region:"xx"},{iso_code:"AQ",iso_name:"ANTARCTICA",name:"_ANTARCTICA".loc(),region:"xx"},{iso_code:"AG",iso_name:"ANTIGUA AND BARBUDA",name:"_ANTIGUA_AND BARBUDA".loc(),region:"xx"},{iso_code:"AR",iso_name:"ARGENTINA",name:"_ARGENTINA".loc(),region:"xx"},{iso_code:"AM",iso_name:"ARMENIA",name:"_ARMENIA".loc(),region:"xx"},{iso_code:"AW",iso_name:"ARUBA",name:"_ARUBA".loc(),region:"xx"},{iso_code:"AU",iso_name:"AUSTRALIA",name:"_AUSTRALIA".loc(),region:"xx"},{iso_code:"AT",iso_name:"AUSTRIA",name:"_AUSTRIA".loc(),region:"xx"},{iso_code:"AZ",iso_name:"AZERBAIJAN",name:"_AZERBAIJAN".loc(),region:"xx"},{iso_code:"BS",iso_name:"BAHAMAS",name:"_BAHAMAS".loc(),region:"xx"},{iso_code:"BH",iso_name:"BAHRAIN",name:"_BAHRAIN".loc(),region:"xx"},{iso_code:"BD",iso_name:"BANGLADESH",name:"_BANGLADESH".loc(),region:"xx"},{iso_code:"BB",iso_name:"BARBADOS",name:"_BARBADOS".loc(),region:"xx"},{iso_code:"BY",iso_name:"BELARUS",name:"_BELARUS".loc(),region:"xx"},{iso_code:"BE",iso_name:"BELGIUM",name:"_BELGIUM".loc(),region:"xx"},{iso_code:"BZ",iso_name:"BELIZE",name:"_BELIZE".loc(),region:"xx"},{iso_code:"BJ",iso_name:"BENIN",name:"_BENIN".loc(),region:"xx"},{iso_code:"BM",iso_name:"BERMUDA",name:"_BERMUDA".loc(),region:"xx"},{iso_code:"BT",iso_name:"BHUTAN",name:"_BHUTAN".loc(),region:"xx"},{iso_code:"BO",iso_name:"BOLIVIA, PLURINATIONAL STATE OF",name:"_BOLIVIA,_PLURINATIONAL STATE OF".loc(),region:"xx"},{iso_code:"BA",iso_name:"BOSNIA AND HERZEGOVINA",name:"_BOSNIA_AND HERZEGOVINA".loc(),region:"xx"},{iso_code:"BW",iso_name:"BOTSWANA",name:"_BOTSWANA".loc(),region:"xx"},{iso_code:"BV",iso_name:"BOUVET ISLAND",name:"_BOUVET_ISLAND".loc(),region:"xx"},{iso_code:"BR",iso_name:"BRAZIL",name:"_BRAZIL".loc(),region:"xx"},{iso_code:"IO",iso_name:"BRITISH INDIAN OCEAN TERRITORY",name:"_BRITISH_INDIAN OCEAN TERRITORY".loc(),region:"xx"},{iso_code:"BN",iso_name:"BRUNEI DARUSSALAM",name:"_BRUNEI_DARUSSALAM".loc(),region:"xx"},{iso_code:"BG",iso_name:"BULGARIA",name:"_BULGARIA".loc(),region:"xx"},{iso_code:"BF",iso_name:"BURKINA FASO",name:"_BURKINA_FASO".loc(),region:"xx"},{iso_code:"BI",iso_name:"BURUNDI",name:"_BURUNDI".loc(),region:"xx"},{iso_code:"KH",iso_name:"CAMBODIA",name:"_CAMBODIA".loc(),region:"xx"},{iso_code:"CM",iso_name:"CAMEROON",name:"_CAMEROON".loc(),region:"xx"},{iso_code:"CA",iso_name:"CANADA",name:"_CANADA".loc(),region:"xx"},{iso_code:"CV",iso_name:"CAPE VERDE",name:"_CAPE_VERDE".loc(),region:"xx"},{iso_code:"KY",iso_name:"CAYMAN ISLANDS",name:"_CAYMAN_ISLANDS".loc(),region:"xx"},{iso_code:"CF",iso_name:"CENTRAL AFRICAN REPUBLIC",name:"_CENTRAL_AFRICAN REPUBLIC".loc(),region:"xx"},{iso_code:"TD",iso_name:"CHAD",name:"_CHAD".loc(),region:"xx"},{iso_code:"CL",iso_name:"CHILE",name:"_CHILE".loc(),region:"xx"},{iso_code:"CN",iso_name:"CHINA",name:"_CHINA".loc(),region:"xx"},{iso_code:"CX",iso_name:"CHRISTMAS ISLAND",name:"_CHRISTMAS_ISLAND".loc(),region:"xx"},{iso_code:"CC",iso_name:"COCOS (KEELING) ISLANDS",name:"_COCOS_(KEELING) ISLANDS".loc(),region:"xx"},{iso_code:"CO",iso_name:"COLOMBIA",name:"_COLOMBIA".loc(),region:"xx"},{iso_code:"KM",iso_name:"COMOROS",name:"_COMOROS".loc(),region:"xx"},{iso_code:"CG",iso_name:"CONGO",name:"_CONGO".loc(),region:"xx"},{iso_code:"CD",iso_name:"CONGO, THE DEMOCRATIC REPUBLIC OF THE",name:"_CONGO,_THE DEMOCRATIC REPUBLIC OF THE".loc(),region:"xx"},{iso_code:"CK",iso_name:"COOK ISLANDS",name:"_COOK_ISLANDS".loc(),region:"xx"},{iso_code:"CR",iso_name:"COSTA RICA",name:"_COSTA_RICA".loc(),region:"xx"},{iso_code:"CI",iso_name:"CÔTE D'IVOIRE",name:"_CÔTE_D'IVOIRE".loc(),region:"xx"},{iso_code:"HR",iso_name:"CROATIA",name:"_CROATIA".loc(),region:"xx"},{iso_code:"CU",iso_name:"CUBA",name:"_CUBA".loc(),region:"xx"},{iso_code:"CY",iso_name:"CYPRUS",name:"_CYPRUS".loc(),region:"xx"},{iso_code:"CZ",iso_name:"CZECH REPUBLIC",name:"_CZECH_REPUBLIC".loc(),region:"xx"},{iso_code:"DK",iso_name:"DENMARK",name:"_DENMARK".loc(),region:"xx"},{iso_code:"DJ",iso_name:"DJIBOUTI",name:"_DJIBOUTI".loc(),region:"xx"},{iso_code:"DM",iso_name:"DOMINICA",name:"_DOMINICA".loc(),region:"xx"},{iso_code:"DO",iso_name:"DOMINICAN REPUBLIC",name:"_DOMINICAN_REPUBLIC".loc(),region:"xx"},{iso_code:"EC",iso_name:"ECUADOR",name:"_ECUADOR".loc(),region:"xx"},{iso_code:"EG",iso_name:"EGYPT",name:"_EGYPT".loc(),region:"xx"},{iso_code:"SV",iso_name:"EL SALVADOR",name:"_EL_SALVADOR".loc(),region:"xx"},{iso_code:"GQ",iso_name:"EQUATORIAL GUINEA",name:"_EQUATORIAL_GUINEA".loc(),region:"xx"},{iso_code:"ER",iso_name:"ERITREA",name:"_ERITREA".loc(),region:"xx"},{iso_code:"EE",iso_name:"ESTONIA",name:"_ESTONIA".loc(),region:"xx"},{iso_code:"ET",iso_name:"ETHIOPIA",name:"_ETHIOPIA".loc(),region:"xx"},{iso_code:"FK",iso_name:"FALKLAND ISLANDS (MALVINAS)",name:"_FALKLAND_ISLANDS (MALVINAS)".loc(),region:"xx"},{iso_code:"FO",iso_name:"FAROE ISLANDS",name:"_FAROE_ISLANDS".loc(),region:"xx"},{iso_code:"FJ",iso_name:"FIJI",name:"_FIJI".loc(),region:"xx"},{iso_code:"FI",iso_name:"FINLAND",name:"_FINLAND".loc(),region:"xx"},{iso_code:"FR",iso_name:"FRANCE",name:"_FRANCE".loc(),region:"xx"},{iso_code:"GF",iso_name:"FRENCH GUIANA",name:"_FRENCH_GUIANA".loc(),region:"xx"},{iso_code:"PF",iso_name:"FRENCH POLYNESIA",name:"_FRENCH_POLYNESIA".loc(),region:"xx"},{iso_code:"TF",iso_name:"FRENCH SOUTHERN TERRITORIES",name:"_FRENCH_SOUTHERN TERRITORIES".loc(),region:"xx"},{iso_code:"GA",iso_name:"GABON",name:"_GABON".loc(),region:"xx"},{iso_code:"GM",iso_name:"GAMBIA",name:"_GAMBIA".loc(),region:"xx"},{iso_code:"GE",iso_name:"GEORGIA",name:"_GEORGIA".loc(),region:"xx"},{iso_code:"DE",iso_name:"GERMANY",name:"_GERMANY".loc(),region:"xx"},{iso_code:"GH",iso_name:"GHANA",name:"_GHANA".loc(),region:"xx"},{iso_code:"GI",iso_name:"GIBRALTAR",name:"_GIBRALTAR".loc(),region:"xx"},{iso_code:"GR",iso_name:"GREECE",name:"_GREECE".loc(),region:"xx"},{iso_code:"GL",iso_name:"GREENLAND",name:"_GREENLAND".loc(),region:"xx"},{iso_code:"GD",iso_name:"GRENADA",name:"_GRENADA".loc(),region:"xx"},{iso_code:"GP",iso_name:"GUADELOUPE",name:"_GUADELOUPE".loc(),region:"xx"},{iso_code:"GU",iso_name:"GUAM",name:"_GUAM".loc(),region:"xx"},{iso_code:"GT",iso_name:"GUATEMALA",name:"_GUATEMALA".loc(),region:"xx"},{iso_code:"GG",iso_name:"GUERNSEY",name:"_GUERNSEY".loc(),region:"xx"},{iso_code:"GN",iso_name:"GUINEA",name:"_GUINEA".loc(),region:"xx"},{iso_code:"GW",iso_name:"GUINEA-BISSAU",name:"_GUINEA-BISSAU".loc(),region:"xx"},{iso_code:"GY",iso_name:"GUYANA",name:"_GUYANA".loc(),region:"xx"},{iso_code:"HT",iso_name:"HAITI",name:"_HAITI".loc(),region:"xx"},{iso_code:"HM",iso_name:"HEARD ISLAND AND MCDONALD ISLANDS",name:"_HEARD_ISLAND AND MCDONALD ISLANDS".loc(),region:"xx"},{iso_code:"VA",iso_name:"HOLY SEE (VATICAN CITY STATE)",name:"_HOLY_SEE (VATICAN CITY STATE)".loc(),region:"xx"},{iso_code:"HN",iso_name:"HONDURAS",name:"_HONDURAS".loc(),region:"xx"},{iso_code:"HK",iso_name:"HONG KONG",name:"_HONG_KONG".loc(),region:"xx"},{iso_code:"HU",iso_name:"HUNGARY",name:"_HUNGARY".loc(),region:"xx"},{iso_code:"IS",iso_name:"ICELAND",name:"_ICELAND".loc(),region:"xx"},{iso_code:"IN",iso_name:"INDIA",name:"_INDIA".loc(),region:"xx"},{iso_code:"ID",iso_name:"INDONESIA",name:"_INDONESIA".loc(),region:"xx"},{iso_code:"IR",iso_name:"IRAN, ISLAMIC REPUBLIC OF",name:"_IRAN,_ISLAMIC REPUBLIC OF".loc(),region:"xx"},{iso_code:"IQ",iso_name:"IRAQ",name:"_IRAQ".loc(),region:"xx"},{iso_code:"IE",iso_name:"IRELAND",name:"_IRELAND".loc(),region:"xx"},{iso_code:"IM",iso_name:"ISLE OF MAN",name:"_ISLE_OF MAN".loc(),region:"xx"},{iso_code:"IL",iso_name:"ISRAEL",name:"_ISRAEL".loc(),region:"xx"},{iso_code:"IT",iso_name:"ITALY",name:"_ITALY".loc(),region:"xx"},{iso_code:"JM",iso_name:"JAMAICA",name:"_JAMAICA".loc(),region:"xx"},{iso_code:"JP",iso_name:"JAPAN",name:"_JAPAN".loc(),region:"xx"},{iso_code:"JE",iso_name:"JERSEY",name:"_JERSEY".loc(),region:"xx"},{iso_code:"JO",iso_name:"JORDAN",name:"_JORDAN".loc(),region:"xx"},{iso_code:"KZ",iso_name:"KAZAKHSTAN",name:"_KAZAKHSTAN".loc(),region:"xx"},{iso_code:"KE",iso_name:"KENYA",name:"_KENYA".loc(),region:"xx"},{iso_code:"KI",iso_name:"KIRIBATI",name:"_KIRIBATI".loc(),region:"xx"},{iso_code:"KP",iso_name:"KOREA, DEMOCRATIC PEOPLE'S REPUBLIC OF",name:"_KOREA,_DEMOCRATIC PEOPLE'S REPUBLIC OF".loc(),region:"xx"},{iso_code:"KR",iso_name:"KOREA, REPUBLIC OF",name:"_KOREA,_REPUBLIC OF".loc(),region:"xx"},{iso_code:"KW",iso_name:"KUWAIT",name:"_KUWAIT".loc(),region:"xx"},{iso_code:"KG",iso_name:"KYRGYZSTAN",name:"_KYRGYZSTAN".loc(),region:"xx"},{iso_code:"LA",iso_name:"LAO PEOPLE'S DEMOCRATIC REPUBLIC",name:"_LAO_PEOPLE'S DEMOCRATIC REPUBLIC".loc(),region:"xx"},{iso_code:"LV",iso_name:"LATVIA",name:"_LATVIA".loc(),region:"xx"},{iso_code:"LB",iso_name:"LEBANON",name:"_LEBANON".loc(),region:"xx"},{iso_code:"LS",iso_name:"LESOTHO",name:"_LESOTHO".loc(),region:"xx"},{iso_code:"LR",iso_name:"LIBERIA",name:"_LIBERIA".loc(),region:"xx"},{iso_code:"LY",iso_name:"LIBYAN ARAB JAMAHIRIYA",name:"_LIBYAN_ARAB JAMAHIRIYA".loc(),region:"xx"},{iso_code:"LI",iso_name:"LIECHTENSTEIN",name:"_LIECHTENSTEIN".loc(),region:"xx"},{iso_code:"LT",iso_name:"LITHUANIA",name:"_LITHUANIA".loc(),region:"xx"},{iso_code:"LU",iso_name:"LUXEMBOURG",name:"_LUXEMBOURG".loc(),region:"xx"},{iso_code:"MO",iso_name:"MACAO",name:"_MACAO".loc(),region:"xx"},{iso_code:"MK",iso_name:"MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF",name:"_MACEDONIA,_THE FORMER YUGOSLAV REPUBLIC OF".loc(),region:"xx"},{iso_code:"MG",iso_name:"MADAGASCAR",name:"_MADAGASCAR".loc(),region:"xx"},{iso_code:"MW",iso_name:"MALAWI",name:"_MALAWI".loc(),region:"xx"},{iso_code:"MY",iso_name:"MALAYSIA",name:"_MALAYSIA".loc(),region:"xx"},{iso_code:"MV",iso_name:"MALDIVES",name:"_MALDIVES".loc(),region:"xx"},{iso_code:"ML",iso_name:"MALI",name:"_MALI".loc(),region:"xx"},{iso_code:"MT",iso_name:"MALTA",name:"_MALTA".loc(),region:"xx"},{iso_code:"MH",iso_name:"MARSHALL ISLANDS",name:"_MARSHALL_ISLANDS".loc(),region:"xx"},{iso_code:"MQ",iso_name:"MARTINIQUE",name:"_MARTINIQUE".loc(),region:"xx"},{iso_code:"MR",iso_name:"MAURITANIA",name:"_MAURITANIA".loc(),region:"xx"},{iso_code:"MU",iso_name:"MAURITIUS",name:"_MAURITIUS".loc(),region:"xx"},{iso_code:"YT",iso_name:"MAYOTTE",name:"_MAYOTTE".loc(),region:"xx"},{iso_code:"MX",iso_name:"MEXICO",name:"_MEXICO".loc(),region:"xx"},{iso_code:"FM",iso_name:"MICRONESIA, FEDERATED STATES OF",name:"_MICRONESIA,_FEDERATED STATES OF".loc(),region:"xx"},{iso_code:"MD",iso_name:"MOLDOVA, REPUBLIC OF",name:"_MOLDOVA,_REPUBLIC OF".loc(),region:"xx"},{iso_code:"MC",iso_name:"MONACO",name:"_MONACO".loc(),region:"xx"},{iso_code:"MN",iso_name:"MONGOLIA",name:"_MONGOLIA".loc(),region:"xx"},{iso_code:"ME",iso_name:"MONTENEGRO",name:"_MONTENEGRO".loc(),region:"xx"},{iso_code:"MS",iso_name:"MONTSERRAT",name:"_MONTSERRAT".loc(),region:"xx"},{iso_code:"MA",iso_name:"MOROCCO",name:"_MOROCCO".loc(),region:"xx"},{iso_code:"MZ",iso_name:"MOZAMBIQUE",name:"_MOZAMBIQUE".loc(),region:"xx"},{iso_code:"MM",iso_name:"MYANMAR",name:"_MYANMAR".loc(),region:"xx"},{iso_code:"NA",iso_name:"NAMIBIA",name:"_NAMIBIA".loc(),region:"xx"},{iso_code:"NR",iso_name:"NAURU",name:"_NAURU".loc(),region:"xx"},{iso_code:"NP",iso_name:"NEPAL",name:"_NEPAL".loc(),region:"xx"},{iso_code:"NL",iso_name:"NETHERLANDS",name:"_NETHERLANDS".loc(),region:"xx"},{iso_code:"AN",iso_name:"NETHERLANDS ANTILLES",name:"_NETHERLANDS_ANTILLES".loc(),region:"xx"},{iso_code:"NC",iso_name:"NEW CALEDONIA",name:"_NEW_CALEDONIA".loc(),region:"xx"},{iso_code:"NZ",iso_name:"NEW ZEALAND",name:"_NEW_ZEALAND".loc(),region:"xx"},{iso_code:"NI",iso_name:"NICARAGUA",name:"_NICARAGUA".loc(),region:"xx"},{iso_code:"NE",iso_name:"NIGER",name:"_NIGER".loc(),region:"xx"},{iso_code:"NG",iso_name:"NIGERIA",name:"_NIGERIA".loc(),region:"xx"},{iso_code:"NU",iso_name:"NIUE",name:"_NIUE".loc(),region:"xx"},{iso_code:"NF",iso_name:"NORFOLK ISLAND",name:"_NORFOLK_ISLAND".loc(),region:"xx"},{iso_code:"MP",iso_name:"NORTHERN MARIANA ISLANDS",name:"_NORTHERN_MARIANA ISLANDS".loc(),region:"xx"},{iso_code:"NO",iso_name:"NORWAY",name:"_NORWAY".loc(),region:"xx"},{iso_code:"OM",iso_name:"OMAN",name:"_OMAN".loc(),region:"xx"},{iso_code:"PK",iso_name:"PAKISTAN",name:"_PAKISTAN".loc(),region:"xx"},{iso_code:"PW",iso_name:"PALAU",name:"_PALAU".loc(),region:"xx"},{iso_code:"PS",iso_name:"PALESTINIAN TERRITORY, OCCUPIED",name:"_PALESTINIAN_TERRITORY, OCCUPIED".loc(),region:"xx"},{iso_code:"PA",iso_name:"PANAMA",name:"_PANAMA".loc(),region:"xx"},{iso_code:"PG",iso_name:"PAPUA NEW GUINEA",name:"_PAPUA_NEW GUINEA".loc(),region:"xx"},{iso_code:"PY",iso_name:"PARAGUAY",name:"_PARAGUAY".loc(),region:"xx"},{iso_code:"PE",iso_name:"PERU",name:"_PERU".loc(),region:"xx"},{iso_code:"PH",iso_name:"PHILIPPINES",name:"_PHILIPPINES".loc(),region:"xx"},{iso_code:"PN",iso_name:"PITCAIRN",name:"_PITCAIRN".loc(),region:"xx"},{iso_code:"PL",iso_name:"POLAND",name:"_POLAND".loc(),region:"xx"},{iso_code:"PT",iso_name:"PORTUGAL",name:"_PORTUGAL".loc(),region:"xx"},{iso_code:"PR",iso_name:"PUERTO RICO",name:"_PUERTO_RICO".loc(),region:"xx"},{iso_code:"QA",iso_name:"QATAR",name:"_QATAR".loc(),region:"xx"},{iso_code:"RE",iso_name:"RÉUNION",name:"_RÉUNION".loc(),region:"xx"},{iso_code:"RO",iso_name:"ROMANIA",name:"_ROMANIA".loc(),region:"xx"},{iso_code:"RU",iso_name:"RUSSIAN FEDERATION",name:"_RUSSIAN_FEDERATION".loc(),region:"xx"},{iso_code:"RW",iso_name:"RWANDA",name:"_RWANDA".loc(),region:"xx"},{iso_code:"BL",iso_name:"SAINT BARTHÉLEMY",name:"_SAINT_BARTHÉLEMY".loc(),region:"xx"},{iso_code:"SH",iso_name:"SAINT HELENA, ASCENSION AND TRISTAN DA CUNHA",name:"_SAINT_HELENA, ASCENSION AND TRISTAN DA CUNHA".loc(),region:"xx"},{iso_code:"KN",iso_name:"TTS AND NEVIS",name:"_TTS_AND NEVIS".loc(),region:"xx"},{iso_code:"LC",iso_name:"SAINT LUCIA",name:"_SAINT_LUCIA".loc(),region:"xx"},{iso_code:"MF",iso_name:"SAINT MARTIN",name:"_SAINT_MARTIN".loc(),region:"xx"},{iso_code:"PM",iso_name:"SAINT PIERRE AND MIQUELON",name:"_SAINT_PIERRE AND MIQUELON".loc(),region:"xx"},{iso_code:"VC",iso_name:"SAINT VINCENT AND THE GRENADINES",name:"_SAINT_VINCENT AND THE GRENADINES".loc(),region:"xx"},{iso_code:"WS",iso_name:"SAMOA",name:"_SAMOA".loc(),region:"xx"},{iso_code:"SM",iso_name:"SAN MARINO",name:"_SAN_MARINO".loc(),region:"xx"},{iso_code:"ST",iso_name:"SAO TOME AND PRINCIPE",name:"_SAO_TOME AND PRINCIPE".loc(),region:"xx"},{iso_code:"SA",iso_name:"SAUDI ARABIA",name:"_SAUDI_ARABIA".loc(),region:"xx"},{iso_code:"SN",iso_name:"SENEGAL",name:"_SENEGAL".loc(),region:"xx"},{iso_code:"RS",iso_name:"SERBIA",name:"_SERBIA".loc(),region:"xx"},{iso_code:"SC",iso_name:"SEYCHELLES",name:"_SEYCHELLES".loc(),region:"xx"},{iso_code:"SL",iso_name:"SIERRA LEONE",name:"_SIERRA_LEONE".loc(),region:"xx"},{iso_code:"SG",iso_name:"SINGAPORE",name:"_SINGAPORE".loc(),region:"xx"},{iso_code:"SK",iso_name:"SLOVAKIA",name:"_SLOVAKIA".loc(),region:"xx"},{iso_code:"SI",iso_name:"SLOVENIA",name:"_SLOVENIA".loc(),region:"xx"},{iso_code:"SB",iso_name:"SOLOMON ISLANDS",name:"_SOLOMON_ISLANDS".loc(),region:"xx"},{iso_code:"SO",iso_name:"SOMALIA",name:"_SOMALIA".loc(),region:"xx"},{iso_code:"ZA",iso_name:"SOUTH AFRICA",name:"_SOUTH_AFRICA".loc(),region:"xx"},{iso_code:"GS",iso_name:"SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS",name:"_SOUTH_GEORGIA AND THE SOUTH SANDWICH ISLANDS".loc(),region:"xx"},{iso_code:"ES",iso_name:"SPAIN",name:"_SPAIN".loc(),region:"xx"},{iso_code:"LK",iso_name:"SRI LANKA",name:"_SRI_LANKA".loc(),region:"xx"},{iso_code:"SD",iso_name:"SUDAN",name:"_SUDAN".loc(),region:"xx"},{iso_code:"SR",iso_name:"SURINAME",name:"_SURINAME".loc(),region:"xx"},{iso_code:"SJ",iso_name:"SVALBARD AND JAN MAYEN",name:"_SVALBARD_AND_JAN_MAYEN".loc(),region:"xx"},{iso_code:"SZ",iso_name:"SWAZILAND",name:"_SWAZILAND".loc(),region:"xx"},{iso_code:"SE",iso_name:"SWEDEN",name:"_SWEDEN".loc(),region:"xx"},{iso_code:"CH",iso_name:"SWITZERLAND",name:"_SWITZERLAND".loc(),region:"xx"},{iso_code:"SY",iso_name:"SYRIAN ARAB REPUBLIC",name:"_SYRIAN_ARAB_REPUBLIC".loc(),region:"xx"},{iso_code:"TW",iso_name:"TAIWAN, PROVINCE OF CHINA",name:"_TAIWAN,_PROVINCE_OF_CHINA".loc(),region:"xx"},{iso_code:"TJ",iso_name:"TAJIKISTAN",name:"_TAJIKISTAN".loc(),region:"xx"},{iso_code:"TZ",iso_name:"TANZANIA, UNITED REPUBLIC OF",name:"_TANZANIA,_UNITED_REPUBLIC_OF".loc(),region:"xx"},{iso_code:"TH",iso_name:"THAILAND",name:"_THAILAND".loc(),region:"xx"},{iso_code:"TL",iso_name:"TIMOR-LESTE",name:"_TIMOR-LESTE".loc(),region:"xx"},{iso_code:"TG",iso_name:"TOGO",name:"_TOGO".loc(),region:"xx"},{iso_code:"TK",iso_name:"TOKELAU",name:"_TOKELAU".loc(),region:"xx"},{iso_code:"TO",iso_name:"TONGA",name:"_TONGA".loc(),region:"xx"},{iso_code:"TT",iso_name:"TRINIDAD AND TOBAGO",name:"_TRINIDAD_AND_TOBAGO".loc(),region:"xx"},{iso_code:"TN",iso_name:"TUNISIA",name:"_TUNISIA".loc(),region:"xx"},{iso_code:"TR",iso_name:"TURKEY",name:"_TURKEY".loc(),region:"xx"},{iso_code:"TM",iso_name:"TURKMENISTAN",name:"_TURKMENISTAN".loc(),region:"xx"},{iso_code:"TC",iso_name:"TURKS AND CAICOS ISLANDS",name:"_TURKS_AND_CAICOS_ISLANDS".loc(),region:"xx"},{iso_code:"TV",iso_name:"TUVALU",name:"_TUVALU".loc(),region:"xx"},{iso_code:"UG",iso_name:"UGANDA",name:"_UGANDA".loc(),region:"xx"},{iso_code:"UA",iso_name:"UKRAINE",name:"_UKRAINE".loc(),region:"xx"},{iso_code:"AE",iso_name:"UNITED ARAB EMIRATES",name:"_UNITED_ARAB_EMIRATES".loc(),region:"xx"},{iso_code:"GB",iso_name:"UNITED KINGDOM",name:"_UNITED_KINGDOM".loc(),region:"xx"},{iso_code:"US",iso_name:"UNITED STATES",name:"_UNITED_STATES".loc(),region:"xx"},{iso_code:"UM",iso_name:"UNITED STATES MINOR OUTLYING ISLANDS",name:"_UNITED_STATES_MINOR_OUTLYING_ISLANDS".loc(),region:"xx"},{iso_code:"UY",iso_name:"URUGUAY",name:"_URUGUAY".loc(),region:"xx"},{iso_code:"UZ",iso_name:"UZBEKISTAN",name:"_UZBEKISTAN".loc(),region:"xx"},{iso_code:"VU",iso_name:"VANUATU",name:"_VANUATU".loc(),region:"xx"},{iso_code:"see HOLY SEE",iso_name:"VATICAN CITY STATE",name:"_VATICAN_CITY_STATE".loc(),region:"xx"},{iso_code:"VE",iso_name:"VENEZUELA, BOLIVARIAN REPUBLIC OF",name:"_VENEZUELA,_BOLIVARIAN_REPUBLIC_OF".loc(),region:"xx"},{iso_code:"VN",iso_name:"VIET NAM",name:"_VIET_NAM".loc(),region:"xx"},{iso_code:"VG",iso_name:"VIRGIN ISLANDS, BRITISH",name:"_VIRGIN_ISLANDS, BRITISH".loc(),region:"xx"},{iso_code:"VI",iso_name:"VIRGIN ISLANDS, U.S.",name:"_VIRGIN_ISLANDS,_U.S.".loc(),region:"xx"},{iso_code:"WF",iso_name:"WALLIS AND FUTUNA",name:"_WALLIS_AND_FUTUNA".loc(),region:"xx"},{iso_code:"EH",iso_name:"WESTERN SAHARA",name:"_WESTERN_SAHARA".loc(),region:"xx"},{iso_code:"YE",iso_name:"YEMEN",name:"_YEMEN".loc(),region:"xx"},{iso_code:"ZM",iso_name:"ZAMBIA",name:"_ZAMBIA".loc(),region:"xx"},{iso_code:"ZW",iso_name:"ZIMBABWE",name:"_ZIMBABWE".loc(),region:"xx"},{iso_code:"_S",iso_name:"SOUTHERN SUDAN TERRITORY, PROVISIONAL",name:"_SOUTHERN_SUDAN_TERRITORY,_PROVISIONAL".loc(),region:"xx"}];
Klb.GridView=SC.View.extend({awake:function(){arguments.callee.base.apply(this,arguments);
this.invokeLast(this.generateButtons)},generateButtons:function(){var h=this.get("content");
if(h){console.log("CONTENT DEFINED");var j=[];var l,g=h.get("length"),d=0,c=d,k=d,a=180,m=this.get("frame").width,f,n,b;
this.optionButtons=[];for(f=0;f<g;++f){n=h.objectAt(f);b=n.get("name");l=SC.ButtonView.create({layout:{top:k,left:c,width:a,height:36},classNames:"align-left".w(),icon:n.iconBySize(24),title:b,buttonBehavior:SC.TOGGLE_BEHAVIOR,content:n});
j.push(l);this.optionButtons.push(l);c+=a+16;if(c+a+d>m){c=d;k+=25+16}}this.replaceAllChildren(j)
}}});require("views/grid");Klb.pickerPanes.countryPicker=SC.Page.design({mainPane:SC.PanelPane.design({layout:{width:1010,height:550,centerX:0,centerY:0},contentView:SC.View.design({childViews:"selectButton label buttonGridView".w(),label:SC.LabelView.design({layout:{top:10,left:20,right:20,height:24},value:"_Choose Countries".loc(),controlSize:SC.LARGE_CONTROL_SIZE}),buttonGridView:Klb.GridView.design({layout:{top:40,left:18,bottom:18+24+18,right:18},contentBinding:"Klb.searchController.availableCountries",classNames:"buttonGridView".w()}),selectButton:SC.ButtonView.design({layout:{centerX:0,width:150,height:24,bottom:18},title:"_OK".loc(),isDefault:YES,action:"chooseCountries",target:"Klb.searchController"})})})});
Klb.pickerPanes.sectorPicker=SC.Page.design({mainPane:SC.PanelPane.design({layout:{width:300,height:300,centerX:0,centerY:0},contentView:SC.View.design({childViews:"selectButton label scrollView".w(),label:SC.LabelView.design({layout:{top:20,left:20,right:20,height:30},value:"_Choose Sectors".loc()+":"}),scrollView:SC.ScrollView.design({layout:{top:40,left:18,bottom:18+24+18,right:18},hasHorizontalScroller:NO,borderStyle:SC.BORDER_GRAY,contentView:SC.ListView.design({contentBinding:"Klb.searchController.availableSectors",contentValueKey:"name",rowHeight:24})}),selectButton:SC.ButtonView.design({layout:{centerX:0,width:150,height:24,bottom:18},title:"_OK".loc(),isDefault:YES,action:"chooseSectors",target:"Klb.searchController"})})})});
Klb.NO_LOANS=SC.Responder.create({nextResponder:Klb.READY,didBecomeFirstResponder:function(){Klb.lendingController.set("currentScene","noTargets")
},willLoseFirstResponder:function(){Klb.lendingController.set("currentScene",null)
},updateStateForResultCount:function(){if(Klb.loansController.get("length")>0){Klb.makeFirstResponder(Klb.READY_LIST)
}}});Klb.READY=SC.Responder.create({selectLoan:function(a,b){if(!Klb.searchController.get("hasContent")){return NO
}if(b&&b.isEnumerable){b=b.firstObject()}Klb.detailController.set("content",b);if(b){Klb.makeFirstResponder(Klb.READY_DETAIL)
}else{Klb.makeFirstResponder(Klb.READY_LIST)}return null},selectSidebarItem:function(a,b){},back:function(){Klb.detailController.set("content",null);
Klb.makeFirstResponder(Klb.READY_LIST)}});sc_require("states/ready");Klb.READY_DETAIL=SC.Responder.create({nextResponder:Klb.READY,didBecomeFirstResponder:function(){Klb.lendingController.set("currentScene","loanDetail")
},willLoseFirstResponder:function(){Klb.lendingController.set("currentScene",null)
},back:function(){Klb.detailController.set("content",null);Klb.makeFirstResponder(Klb.READY_LIST)
}});sc_require("states/ready");Klb.READY_LIST=SC.Responder.create({nextResponder:Klb.READY,didBecomeFirstResponder:function(){Klb.lendingController.set("currentScene","searchListView")
},willLoseFirstResponder:function(){Klb.lendingController.set("currentScene",null)
},updateStateForResultCount:function(){if(Klb.loansController.get("length")<=0){Klb.makeFirstResponder(Klb.NO_LOANS)
}}});sc_require("states/ready");Klb.READY_LOADING=SC.Responder.create({nextResponder:Klb.READY,didBecomeFirstResponder:function(){Klb.lendingController.set("currentScene","loansLoading")
},willLoseFirstResponder:function(){Klb.lendingController.set("currentScene",null)
}});Klb.READY_NO_LOANS=SC.Responder.create({nextResponder:Klb.READY,didBecomeFirstResponder:function(){Klb.lendingController.set("currentScene","noTargets")
},willLoseFirstResponder:function(){Klb.lendingController.set("currentScene",null)
}});Klb.START=SC.Responder.create({didBecomeFirstResponder:function(){var a=Klb.getPath("prehomePage.mainView");
if(Klb.mainController.checkPrehomeBypassCookie()){a=Klb.getPath("lendingPage.mainView")
}Klb.mainController.set("currentSection",a);Klb.makeFirstResponder(Klb.READY_LOADING)
},willLoseFirstResponder:function(){_gaq.push(["_trackEvent","navigation","beginVisit"]);
Klb.mainController.set("shouldTrackNavigation",true)}});var Typekit=(function(ab){var au={safari:"b",chromewin:"b",chrome:"a",ff35:"b",ff36:"d",ie:"c"};
var ac={ua:function(d){if(d){for(var c=0;c<this.enabledMatchers.length;c++){var a=this.enabledMatchers[c][1];
if(a.call(null,d)){var b=this.enabledMatchers[c][0];return{fonts:(!!b),format:b}}}return{fonts:false}
}},enabledMatchers:[],enable:function(b){this.enabledMatchers=[];for(var d=0;d<this.matchers.length;
d++){var a=this.matchers[d];for(var c=0;c<b.length;c++){if(a[0]==b[c]){this.enabledMatchers.push([a[1],a[2]]);
break}}}},matchers:[],add:function(c,b,a){this.matchers.push([b,c,a])}};var Q={};
ac.add(au.ff36,"ff36",function(c){var d=c.match(/rv:(\d+\.\d+)\.(\d+).*Gecko\//);
if(d){var a=parseFloat(d[1]);var b=parseInt(d[2]);if(a>=1.9&&b>1){return true}else{return false
}}});ac.add(au.ff35,"ff35",function(b){var a=b.match(/rv:1\.9\.1.*Gecko\//);if(b.match(/rv:1.9.1b[123]{1}/)){return false
}if(a){return true}else{return false}});Q.isMobileOSX=function(b){var a=b.match(/OS.(\d)_(\d)/);
if(a){if(a[1]=="3"){return parseInt(a[2])>0}else{if(parseInt(a[1])>3){return true
}}}return false};ac.add(au.iphone,"iphone",function(a){if(!a.match(/(iPhone|iPod)/)){return false
}return Q.isMobileOSX(a)});ac.add(au.ipad,"ipad",function(a){if(!a.match(/iPad/)){return false
}return Q.isMobileOSX(a)});Q.isSafari=function(b){if(b.match(/Chrome/)){return false
}if(b.match(/(iPhone|iPad|iPod)/)){return false}if(b.match(/webOS/)){return false
}if(b.match(/Android/)){return false}var c=b.match(/AppleWebKit\/(\d+\.\d+)/);if(c){var a=c[1];
return parseFloat(a)>=525.13}};Q.isChrome=function(d){var f;if(d.match(/Chrome/)){f=d.match(/Chrome\/(\d+\.\d+)\.(\d+)\.(\d+)/);
if(f){var a=parseFloat(f[1]);var c=parseInt(f[2]);var b=parseInt(f[3]);if(a>4){return true
}else{if(a==4&&c>249){return true}else{if(a==4&&c==249&&b>=4){return true}else{return false
}}}}}};ac.add(au.chromewin,"chromewin",function(a){if(!a.match(/Windows/)){return false
}return Q.isChrome(a)});ac.add(au.safari,"safari",Q.isSafari);ac.add(au.chrome,"chrome",Q.isChrome);
ac.add(au.ie,"ie",function(b){var c=b.match(/MSIE\s(\d+\.\d+)/);if(c){var a=c[1];
return parseFloat(a)>=6}});var ar=(function(){var g=document.defaultView||{};var d=false;
var b=false;var c=[];function a(){if(!d){d=true;for(var h=0;h<c.length;h++){c[h].call(null)
}}}function f(){if(b){return}b=true;if(document.addEventListener){document.addEventListener("DOMContentLoaded",function(){document.removeEventListener("DOMContentLoaded",arguments.callee,false);
a()},false)}else{if(document.attachEvent){document.attachEvent("onreadystatechange",function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",arguments.callee);
a()}});if(document.documentElement.doScroll&&window==window.top){(function(){if(d){return
}try{document.documentElement.doScroll("left")}catch(j){setTimeout(arguments.callee,0);
return}a()})()}}}if(window.onload){var h=window.onload;window.onload=function(){h();
a()}}else{window.onload=a}}return{ready:function(h){f();if(d){h()}else{c.push(h)}},insertInto:function(j,h){var k=document.getElementsByTagName(j)[0];
if(k&&k.lastChild){k.insertBefore(h,k.lastChild);return true}else{return false}},createStyleElement:function(j){var h=document.createElement("style");
h.setAttribute("type","text/css");if(h.styleSheet){h.styleSheet.cssText=j}else{h.appendChild(document.createTextNode(j))
}return h},createCssLink:function(h){var j=document.createElement("link");j.setAttribute("rel","stylesheet");
j.setAttribute("type","text/css");j.setAttribute("href",h);return j},css:function(j,h){if(g.getComputedStyle){var k=g.getComputedStyle(j,null);
return k?k.getPropertyValue(h):null}else{if(j.currentStyle){return j.currentStyle[h]
}}},loadScript:function(h,j){var k=document.getElementsByTagName("head")[0];if(k){var l=document.createElement("script");
l.src=h;var m=false;l.onload=l.onreadystatechange=function(){if(!m&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){m=true;
if(j){j()}l.onload=l.onreadystatechange=null;if(l.parentNode.tagName=="HEAD"){k.removeChild(l)
}}};k.appendChild(l)}},appendClassName:function(h,k){var j=" "+h.className+" ";if(!j.match("\\s+"+k+"\\s+")){h.className=h.className+" "+k
}},removeClassName:function(h,l){var j=" "+h.className+" ";if(j.match("\\s+"+l+"\\s+")){var m=j.split(/\s+/);
var k=0;var n=[];for(k=0;k<m.length;k++){if(m[k]!=l&&m[k]!=""){n.push(m[k])}}h.className=n.join(" ")
}}}})();function Z(){return"/k"}function aq(){return"http://"}var R={};var aj={};
var Y={};var V=[];var aw={};var ag={};var al=[];if(window.tkKitsTracked==undefined){window.tkKitsTracked=0
}function ao(b){for(var a in b){aj[a]=b[a]}av("setOptions",aj)}function ax(b){ac.enable(b.supportedBrowsers);
var c=aj.ua;if(c){var a=ac.ua(c);aj.fonts=a.fonts;aj.compatibility=a.format;av("detectUA",aj.fonts,aj.compatibility)
}}function av(a){if(aj.debug&&window.console&&window.console.log){window.console.log(arguments)
}}function P(a,b){if(!aw[a]){aw[a]=[]}if(b){aw[a].push(b);av("addCallback",a,aw[a].length,b)
}}function ai(a){var b=document.getElementsByTagName("html")[0];if(b){ar.appendClassName(b,a)
}}function S(a){var b=document.getElementsByTagName("html")[0];if(b){ar.removeClassName(b,a)
}}function aa(b){var a=new Date().getTime();P(b,function(c){O(b).time=(new Date().getTime())-a
})}function W(a,b){av("executeCallbacks",a);var c=aw[a];if(c){for(var d=0;d<c.length;
d++){c[d](b)}}}function ay(f,b,c,d,g,a,h){av("addDataSet",f,b,c,d,g,a,h);V.push(f);
Y[f]={kitId:f,securityToken:b,supportedBrowsers:c,badgeOptions:d,kitOptions:g,fontData:a,selectorData:h};
Y[f]["callbackData"]=a;Y[f]["callbackData"]["kitId"]=f}function af(a,b){if(a){av("loading kit",a);
T(Y[a],b)}else{for(var c=0;c<V.length;c++){var a=V[c];var d=Y[a];av("loading kit",a);
T(d,b)}}}function T(a,b){ax(a);if(a&&a.kitId){av("loadKit",a);al.push(a);an(a.selectorData);
if(b["kit-initialized"]){b["kit-initialized"](a.callbackData)}if(aj.fonts){aa(a.kitId);
S("wf-inactive");ai("wf-loading");if(b.loading){b.loading(a.callbackData)}P(a.kitId,function(){S("wf-loading");
ai("wf-active");if(b.active){b.active(a.callbackData)}});N(a.kitId,a.securityToken,aj.compatibility)
}else{S("wf-loading");ai("wf-inactive");if(b.inactive){b.inactive(a.callbackData)
}}if(b["kit-loaded"]){b["kit-loaded"](a.callbackData)}}else{av("loadKit","data is invalid",a)
}}function an(h){if(h&&h.selectors){var c=h.selectors;var f=[];for(var g=0;g<c.length;
g++){var k=c[g];if(k){var a=k.selectors;var d=k.declarations;if(a&&d){var b=[];for(var j=0;
j<d.length;j++){b.push(d[j]["name"]+":"+d[j]["value"]+";")}f.push(a+"{"+b.join("")+"}")
}}}ar.insertInto("head",ar.createStyleElement(f.join("")))}}function N(b,a,d){var c=aq()+aj.host+Z()+"/"+b+"-"+d+".css?"+a;
av("loadKitStyle",c);if(ar.insertInto("head",ar.createCssLink(c))){am(b)}}function am(c){av("waitForStyleLoaded",c);
var g=function(h){var j=document.createElement("span");j.setAttribute("class","wf-font-watcher");
j.setAttribute("style","position:absolute;left:-999px;font-size:200px;font-family:"+h+",NONE");
j.innerHTML="Mm";return j};var b=function(l,n){var m=g("NONE");var h=g(l);ar.insertInto("html",m);
ar.insertInto("html",h);var j=m.offsetWidth;var k=function(){if(h.offsetWidth!=j){n()
}else{setTimeout(k,aj.styleLoadIntervalTime)}};k()};var a=Y[c].fontData.fonts;if(a&&a.length>0){var d=a.length;
for(var f=0;f<a.length;f++){b(a[f].family_name,function(){if(--d==0){if(Y[c]){W(c,Y[c].callbackData)
}}})}}else{W(c,Y[c].callbackData)}}function O(b){var a=ag[b];if(!a){a=ag[b]={time:0}
}return a}function at(b,a){R[b]=a}function ad(){if(!aj.fonts){return}for(var c=0;
c<al.length;c++){var d=al[c];var a=d.badgeOptions;if(a&&a.enabled){var b=R["default"];
if(b){var f=b(d.kitId,a,aj);if(f){f.setAttribute("id","typekit-badge-"+d.kitId);ar.insertInto("body",f)
}}}}}function ak(){if(window.tkKitsTracked>0){return}for(var d=0;d<al.length;d++){var f=al[d];
var c=f.kitOptions;if(c&&c.ga){if(window._gat){ae()}else{var a=aq();var b=a.match(/https/)?"ssl":"www";
ar.loadScript(a+b+".google-analytics.com/ga.js",ae)}break}}}function ae(){try{window._gat._getTracker("UA-8850781-3")._trackPageview()
}catch(a){}window.tkKitsTracked++}ar.ready(ad);ar.ready(ak);ao({host:"",root:"",assetHost:"",assetRoot:"",colophonHost:"typekit.com",ua:navigator.userAgent,styleLoadIntervalTime:50,bodyWaitIntervalTime:20,debug:false});
function X(){return{addDataSet:ay,clearDataSets:function(){V=[];Y={};al=[]},insertBadges:ad,optionallyCallGoogleAnalytics:ak}
}function ap(){return{configure:ao,load:function(a){var b,c;if(typeof arguments[0]=="string"){b=arguments[0];
c=arguments[1]}else{b=null;c=arguments[0]}af(b,c||{})},stats:O}}at("default",function(d,h,a){function b(o,p){var q=0,n=0;
if(document.documentElement&&(document.documentElement[o]||document.documentElement[p])){q=document.documentElement[o];
n=document.documentElement[p]}else{if(document.body&&(document.body[o]||document.body[p])){q=document.body[o];
n=document.body[p]}}return[q,n]}function j(){return b("clientWidth","clientHeight")
}function l(){return b("scrollLeft","scrollTop")}function k(n,o,p){if(n.attachEvent){n["e"+o+p]=p;
n[o+p]=function(){n["e"+o+p](window.event)};n.attachEvent("on"+o,n[o+p])}else{n.addEventListener(o,p,false)
}}var f=document.createElement("img");var m=62;var c=25;f.setAttribute("width",m);
f.setAttribute("height",c);f.setAttribute("src",aq()+a.assetHost+a.assetRoot+"/badges/default.gif");
f.setAttribute("class","typekit-badge");f.setAttribute("alt","Fonts by Typekit");
f.setAttribute("title","Information about the fonts used on this site");f.style.position="fixed";
f.style.zIndex=2000000000;f.style.right=0;f.style.bottom=0;f.style.cursor="pointer";
f.style.border=0;f.style.content="normal";f.style.display="inline";f.style["float"]="none";
f.style.height=c+"px";f.style.left="auto";f.style.margin=0;f.style.maxHeight=c+"px";
f.style.maxWidth=m+"px";f.style.minHeight=c+"px";f.style.minWidth=m+"px";f.style.orphans=2;
f.style.outline="none";f.style.overflow="visible";f.style.padding=0;f.style.pageBreakAfter="auto";
f.style.pageBreakBefore="auto";f.style.pageBreakInside="auto";f.style.tableLayout="auto";
f.style.textIndent=0;f.style.top="auto";f.style.unicodeBidi="normal";f.style.verticalAlign="baseline";
f.style.visibility="visible";f.style.widows=2;f.style.width="65px";k(f,"click",function(){document.location.href="http://"+a.colophonHost+"/colophons/"+d
});if(a.ua.match(/MSIE\s(\d+\.\d+)/)){f.style.position="absolute";function g(){f.style.bottom="auto";
f.style.right="auto";f.style.top=(l()[1]+j()[1]-c)+"px";f.style.left=(l()[0]+j()[0]-3-m)+"px"
}ar.ready(g);k(window,"scroll",g);k(window,"resize",g)}return f});ao({host:"use.typekit.com",root:"/",assetHost:"use.typekit.com",assetRoot:"/"});
ay("qek5aly","3bb2a6e53c9684ffdc9a9bf6195b2a62173cbd03ca8deaa4c4329a86dd530b375ddd9884ba5df2f08f387cca0b14acf3004aabb7039a5fdb0006ed8cac7e8554f09eb6bf6ee8824d9d85061a67601ff7e9c01893e8c0536c44508766cf8310b9c1a6dcb3c30fcb",["chrome","chromewin","ff35","ff36","ie","safari"],{enabled:true},{ga:false},{fonts:[{family_name:'"museo-slab-1","museo-slab-2"',variations:{a:["n1","i1","n3","i3","n5","i5","n7","i7","n8","i8","n9","i9"],b:["n1","i1","n3","i3","n5","i5","n7","i7","n8","i8","n9","i9"],c:["n5"],d:["n1","i1","n3","i3","n5","i5","n7","i7","n8","i8","n9","i9"],f:["n1","i1","n3","i3","n5","i5","n7","i7","n8","i8","n9","i9"]}}]},{selectors:[{selectors:".kef-branded-font,.tk-museo-slab",declarations:[{value:'"museo-slab-1","museo-slab-2",serif',name:"font-family"}]}]});
if(window.__webfonttypekitmodule__){for(var U=0;U<V.length;U++){var ah=V[U];var az=window.__webfonttypekitmodule__[ah];
if(az){az(function(a,k,b){ao(k.configure||{});af(ah,{});var d=Y[ah];var h=[];var c={};
for(var g=0;g<d.fontData.fonts.length;g++){var j=d.fontData.fonts[g];var f=j.family_name;
h.push(f);c[f]=j.variations[aj.compatibility]}var l=aj.fonts;b(l,h,c)})}}}return ap()
})();Klb.DisplayTextView=SC.LabelView.extend({isTextSelectable:YES,escapeHTML:NO,textAlign:null,fontWeight:null,_TEMPORARY_CLASS_HASH:{},render:function(d,a){var m=this.get("displayValue"),l=this.get("icon"),h=this.get("hintValue"),g,f,n,j=false,c=false;
if(l){var b=(l.indexOf("/")>=0)?l:SC.BLANK_IMAGE_URL,k=(b===l)?"":l;l='<img src="'+b+'" alt="" class="icon '+k+'" />';
if(l!==this._iconCache){this._iconCache=l;j=true}}if(h&&(!m||m==="")){n='<span class="sc-hint">'+h+"</span>"
}else{n=m}if(n!==this._textCache){this._textCache=n;c=true}if(a||c||j){d.push(l,n)
}f={};if(this.get("textAlign")){f["text-align"]=this.get("textAlign")}if(this.get("fontWeight")){f["font-weight"]=this.get("fontWeight")
}if(this.get("isEditing")){f.opacity=0}d.addStyle(f);g=this._TEMPORARY_CLASS_HASH;
g.icon=!!this.get("icon");d.setClass(g)}});Klb.DisplayTextView.classNames=["sc-view","sc-display-text-view"];
Klb.FilterItemView=SC.ListItemView.extend({classNames:["klb-filter-item-view"],render:function(c,a){var f=this.get("content"),k=this.displayDelegate,b=this.get("outlineLevel"),d=this.get("outlineIndent"),j,h,g;
if(b<=0){c.addClass("top-level");if(!f.get("isEnabled")){c.setClass("disabled")}}g=c.begin("div").addClass("sc-outline");
if(b>=0&&d>0){g.addStyle("left",d*(b))}j=this.getDelegateProperty("contentValueKey",k);
h=(j&&f)?(f.get?f.get(j):f[j]):f;if(h&&SC.typeOf(h)!==SC.T_STRING){h=h.toString()
}if(this.get("escapeHTML")){h=SC.RenderContext.escapeHTML(h)}this.renderLabel(g,h);
j=this.getDelegateProperty("listItemActionProperty",k);h=(j&&f)?(f.get?f.get(j):f[j]):null;
if(h){this.renderAction(g,h);c.addClass("has-action")}if(!f.get("isEnabled")){c.addClass("disabled")
}c=g.end()}});Klb.LoanListingView=SC.ListItemView.extend({childViews:"lendButton".w(),lendButton:SC.ButtonView.design({layout:{bottom:15,height:20,right:10,width:100},title:"_Lend $25".loc(),action:"lendNow",target:"Klb.searchController",classNames:"picker-button lendButton".w(),controlSize:SC.SMALL_CONTROL_SIZE,titleMinWidth:40}),render:function(b,a){var g=this.get("content"),m,d,h,j,f,l,c;
if(a===YES){this.renderChildViews(b,a);b.begin("div").addClass("sc-view").addStyle({top:10,left:10,width:100,height:100,backgroundColor:"#dddddd",backgroundImage:"url(http://www.kiva.org/img/w200h200/"+g.get("image").id+".jpg)","-moz-background-size":"cover","-webkit-background-size":"cover","-moz-border-radius":6,"-webkit-border-radius":6}).end();
b.begin("div").addClass("sc-view").addStyle({fontSize:"18px",left:120,top:10,height:26,fontWeight:"bold"}).push(g.get("name")).end();
b.begin("div").addClass("sc-view").addStyle({left:120,top:34,height:18}).push(("_"+g.get("activity")).loc()).end();
b.begin("div").addClass("sc-view").addStyle({left:120,width:330,top:78,height:24}).begin("div").addStyle({background:"url("+g.get("country").iconBySize(24)+") no-repeat"}).push('<div style="padding:5px 0 3px 30px">',g.get("country").get("name"),"</div>").end().end();
h=b.begin("div").addClass("sc-view").addStyle({left:120+340,width:50+(17*5),top:83,height:18}).push('<span style="font-weight: bold;">',"_Rating".loc(),": </span>");
d=g.get("partner").get("rating");j=Math.floor(d);l=d-j;f=5-j;for(c=0;c<j;c++){h.begin("div").addClass("sc-view").addStyle({left:50+(c*17),width:17,bottom:0,height:17,border:"0px",backgroundImage:"url("+Klb.imageByName("images/ratingStar_full.png")+")"}).end()
}if(l*10>5.4){h.begin("div").addClass("sc-view").addStyle({left:50+j*17,width:17,bottom:0,height:17,border:"0px",backgroundImage:"url("+Klb.imageByName("images/ratingStar_half.png")+")"}).end();
j++}for(c=0;c<f;c++){h.begin("div").addClass("sc-view").addStyle({left:50+(j+c)*17,width:17,bottom:0,height:17,border:"0px",backgroundImage:"url("+Klb.imageByName("images/ratingStar_empty.png")+")"}).end()
}h.end();b.begin("div").addClass("sc-view").addStyle({right:10,top:10,height:34,width:150,fontSize:"24px",textAlign:"right"}).push("$",g.get("remainingAmount")).end();
b.begin("div").addClass("sc-view").addStyle({right:10,top:43,height:18,width:150,textAlign:"right"}).push("_Needed_Out_Of".loc()," ","$",g.get("loanAmount")).end();
m=g.get("fundedPercentage")+"%";b.begin("div").addClass("sc-view").addStyle({right:10,top:63,height:6,width:75,border:"1px solid #555",backgroundColor:"#ffffff"}).begin("div").addStyle({position:"relative",width:m,height:"100%",background:"rgb(98,133,37)"}).end().end()
}else{}}});Klb.RegSidebarView=SC.View.extend({classNames:["regSidebar"],backgroundColor:"white",render:function(a,c){var b=this.get("content");
a.begin("div").addStyle({top:10,height:30,left:10,right:10}).addClass("sc-view").addClass("regSidebarHeader").push("_Help".loc()).end();
a.begin("div").addStyle({top:50,height:32,left:10,right:10}).addClass("sc-view").addClass("regSidebarCaption").push("_Use of the english site".loc()+":").end();
a.begin("ol").addStyle({top:85,left:10,right:10}).begin("li").push("_Enter your first name".loc()).end().begin("li").push("_Enter your last name".loc()).end().begin("li").push("_Enter your email address".loc()).end().begin("li").push("_Re-enter your email address".loc()).end().begin("li").push("_Choose a password between 6 and 12 characters".loc()).end().begin("li").push("_Confirm the password you chose".loc()).end().begin("li").push("_If your friend recommended you to loan on Kiva, please enter their email address so that Kiva can thank them!".loc()).end().end()
}});Klb.ScrollView=SC.ScrollView.extend({mouseWheel:function(b){var a=1;if(SC.browser.isSafari){a=0.125
}else{if(SC.browser.isIE){a=0.4}}this._scroll_wheelDeltaX+=(b.wheelDeltaX*a);this._scroll_wheelDeltaY+=(b.wheelDeltaY*a);
this.invokeLater(this._scroll_mouseWheel,10);return this.get("canScrollHorizontal")||this.get("canScrollVertical")
}});sc_require("core");SCUI={};SCUI.SimpleButton={target:null,action:null,hasState:NO,hasHover:NO,inState:NO,_hover:NO,stateClass:"state",hoverClass:"hover",activeClass:"active",_isMouseDown:NO,displayProperties:["inState"],mouseDown:function(a){if(!this.get("isEnabledInPane")){return YES
}this._isMouseDown=YES;this.displayDidChange();return YES},mouseExited:function(a){if(this.get("hasHover")){this._hover=NO;
this.displayDidChange()}return YES},mouseEntered:function(a){if(this.get("hasHover")){this._hover=YES;
this.displayDidChange()}return YES},mouseUp:function(a){if(!this.get("isEnabledInPane")){return YES
}this._isMouseDown=false;var c=this.get("target")||null;var b=this.get("action");
if(this._hasLegacyActionHandler()){this._triggerLegacyActionHandler(a)}else{this.getPath("pane.rootResponder").sendAction(b,c,this,this.get("pane"))
}if(this.get("hasState")){this.set("inState",!this.get("inState"))}this.displayDidChange();
return YES},renderMixin:function(c,g){if(this.get("hasHover")){var d=this.get("hoverClass");
c.setClass(d,this._hover&&!this._isMouseDown)}if(this.get("hasState")){var f=this.get("stateClass");
c.setClass(f,this.inState)}var b=this.get("activeClass");c.setClass(b,this._isMouseDown);
var a=this.get("toolTip");if(SC.typeOf(a)===SC.T_STRING){if(this.get("localize")){a=a.loc()
}c.attr("title",a);c.attr("alt",a)}},_hasLegacyActionHandler:function(){var a=this.get("action");
if(a&&(SC.typeOf(a)===SC.T_FUNCTION)){return true}if(a&&(SC.typeOf(a)===SC.T_STRING)&&(a.indexOf(".")!==-1)){return true
}return false},_triggerLegacyActionHandler:function(evt){var target=this.get("target");
var action=this.get("action");if(target===undefined&&SC.typeOf(action)===SC.T_FUNCTION){this.action(evt)
}else{if(target!==undefined&&SC.typeOf(action)===SC.T_FUNCTION){action.apply(target,[evt])
}}if(SC.typeOf(action)===SC.T_STRING){eval("this.action = function(e) { return "+action+"(this, e); };");
this.action(evt)}}};Klb.StaticContentView=SC.View.extend(SC.StaticLayout,{classNames:["sc-static-content-view"],displayProperties:["content"],content:null,contentLayoutDidChange:function(){this.notifyPropertyChange("frame")
},useStaticLayout:YES,frame:function(){var a=this.get("layer"),b;if(!a){return{x:0,y:0,width:0,height:0}
}if(a.getBoundingClientRect){b=a.getBoundingClientRect();return{x:0,y:0,width:b.width,height:b.height}
}else{return{x:0,y:0,width:a.clientWidth,height:a.clientHeight}}}.property("content").cacheable(),parentViewDidResize:function(){this.contentLayoutDidChange()
},didCreateLayer:function(){this.contentLayoutDidChange()},render:function(a,c){var b=this.get("content");
if(b){a.push(b||"")}}});Klb.WebView=SC.WebView.extend({didCreateLayer:function(){var a=this.$("iframe");
SC.Event.add(a,"load",this,this.iframeDidLoad)},iframeDidLoad:function(){}});sc_require("views/static_content");
sc_require("views/display_text");sc_require("views/scroll");Klb.aboutPage=SC.Page.design({mainView:Klb.ScrollView.design({hasHorizontalScroller:NO,layout:{top:0,bottom:0,left:0,right:0},contentView:SC.View.design({layout:{left:0,right:0,top:0,height:2500},childViews:"pageView".w(),classNames:"contentBackdrop",pageView:SC.View.design({layout:{top:0,bottom:50,centerX:0,width:840},childViews:"pageContent".w(),classNames:"contentPage aboutSection".w(),pageContent:SC.View.design({layout:{top:20,bottom:20,left:20,right:20},childViews:"mfHow sep1 kivaWhat sep2 kefWhy sep3 contacts sep4 partners".w(),mfHow:SC.View.design({layout:{top:20,height:640,left:20,right:20},childViews:"title photo content".w(),title:Klb.DisplayTextView.design({layout:{top:0,height:30,left:0,right:0},value:"_How Microfinance Began".loc(),classNames:"aboutSectionHeader"}),photo:SC.ImageView.design({layout:{top:20,height:507,right:0,width:400},value:"/static/klb/fr/cedf18d9c171dfea682b509c92e9b34c4318c6dd/resources/images/muhammad_yunus.jpg"}),content:SC.View.design({layout:{top:40,left:0,right:0},childViews:"detailText caption1 caption2".w(),detailText:SC.View.design({layout:{top:0,left:0,width:330},childViews:"paraText".w(),paraText:Klb.DisplayTextView.design({layout:{top:0,left:0,right:0},value:"<div>"+"*mfHow_para_1".loc()+"</div><div>&nbsp;</div><div>"+"*mfHow_para_2".loc()+"</div><div>&nbsp;</div><div>"+"*mfHow_para_3".loc()+"</div><div>&nbsp;</div><div>"+"*mfHow_para_4".loc()+"</div>"})}),caption1:Klb.DisplayTextView.design({layout:{top:395,height:100,left:0,width:330},classNames:"caption",value:"*about_captionYunus1".loc()}),caption2:Klb.DisplayTextView.design({layout:{top:480,height:80,left:0,width:330},classNames:"caption",value:"*about_captionYunus2".loc()})})}),sep1:SC.View.design({layout:{top:590,height:25,centerX:0,width:680},classNames:"separator"}),kivaWhat:SC.View.design({layout:{top:650,left:0,right:0},childViews:"title content".w(),title:Klb.DisplayTextView.design({layout:{top:0,height:30,left:20,right:20},value:"_What Is Kiva?".loc(),classNames:"aboutSectionHeader"}),content:SC.View.design({layout:{top:40,left:0,right:0},childViews:"infographic detailText caption graphicBox".w(),infographic:SC.View.design({layout:{top:0,height:480,centerX:0,width:785},childViews:"diagram borrowerStory".w(),diagram:SC.ImageView.design({layout:{top:0,height:385,centerX:0,width:785},value:"/static/klb/fr/cedf18d9c171dfea682b509c92e9b34c4318c6dd/resources/images/prehome-illustration.jpg"}),borrowerStory:SC.View.design({layout:{top:385,height:100,centerX:0,width:765},childViews:"step1 step2 step3".w(),step1:Klb.DisplayTextView.design({layout:{top:10,left:15,width:225},value:"_An entrepreneur needs a loan to grow her business".loc(),textAlign:SC.ALIGN_CENTER}),step2:Klb.DisplayTextView.design({layout:{top:10,centerX:0,width:225},value:"_Kiva works with local partners who specialize in microcredit".loc(),textAlign:SC.ALIGN_CENTER}),step3:Klb.DisplayTextView.design({layout:{top:10,right:10,width:225},value:"_People from all over the world become lenders, helping in big ways with small amounts of money".loc(),textAlign:SC.ALIGN_CENTER})})}),caption:Klb.DisplayTextView.design({layout:{top:500,height:80,left:20,width:400},classNames:"caption",value:"_Kiva connects people through lending to alleviate poverty.".loc()}),detailText:SC.View.design({layout:{top:575,left:20,width:400},childViews:"paraText".w(),paraText:Klb.DisplayTextView.design({layout:{top:0},value:"<div>"+"*kivaWhat_para_1".loc()+"</div><div>&nbsp;</div><div>"+"*kivaWhat_para_2".loc()+"</div><div>&nbsp;</div><div>"+"*kivaWhat_para_3".loc()+"</div><div>&nbsp;</div><div>"+"*kivaWhat_para_4".loc()+"</div>"})}),graphicBox:SC.View.design({layout:{top:520,right:20,width:350},childViews:"logo data1 data2 data3 data4".w(),logo:SC.ImageView.design({layout:{top:0,height:90,centerX:0,width:170},value:"http://l3-1.kiva.org/r23214/images/logoLeafy3.gif"}),data1:SC.View.design({layout:{top:110,height:100,left:30,width:175},childViews:"figure label".w(),classNames:"dataFigureHolder",figure:Klb.DisplayTextView.design({layout:{top:0,height:50},classNames:"dataFigure",value:"53",textAlign:SC.ALIGN_CENTER}),label:Klb.DisplayTextView.design({layout:{top:40,height:24},classNames:"dataFigureLabel",value:"_countries".loc(),textAlign:SC.ALIGN_CENTER})}),data2:SC.View.design({layout:{top:110,height:100,right:30,width:175},childViews:"figure label".w(),classNames:"dataFigureHolder",figure:Klb.DisplayTextView.design({layout:{top:0,height:50},classNames:"dataFigure",value:"119",textAlign:SC.ALIGN_CENTER}),label:Klb.DisplayTextView.design({layout:{top:40,height:24},classNames:"dataFigureLabel",value:"_partners".loc(),textAlign:SC.ALIGN_CENTER})}),data3:SC.View.design({layout:{top:190,height:100,centerX:0,width:350},childViews:"figure label".w(),classNames:"dataFigureHolder",figure:Klb.DisplayTextView.design({layout:{top:0,height:50},classNames:"dataFigure",value:"368,007",textAlign:SC.ALIGN_CENTER}),label:Klb.DisplayTextView.design({layout:{top:40,height:24},classNames:"dataFigureLabel",value:"_entrepreneurs helped".loc(),textAlign:SC.ALIGN_CENTER})}),data4:SC.View.design({layout:{top:270,height:100,centerX:0,width:350},childViews:"figure label".w(),classNames:"dataFigureHolder",figure:Klb.DisplayTextView.design({layout:{top:0,height:50},classNames:"dataFigure",value:"$142,920,635",textAlign:SC.ALIGN_CENTER}),label:Klb.DisplayTextView.design({layout:{top:40,height:24},classNames:"dataFigureLabel",value:"_in loans".loc(),textAlign:SC.ALIGN_CENTER})})})})}),sep2:SC.View.design({layout:{top:1570,height:25,centerX:0,width:680},classNames:"separator"}),kefWhy:SC.View.design({layout:{top:1620,left:20,right:20},childViews:"title content".w(),title:Klb.DisplayTextView.design({layout:{top:0,height:30,left:0,right:0},value:"_Why Kiva en Français?".loc(),classNames:"aboutSectionHeader"}),content:SC.View.design({layout:{top:30,height:250,left:0,right:0},childViews:"detailText logo".w(),detailText:SC.View.design({layout:{top:0,bottom:0,left:300,right:0},childViews:"paraText".w(),paraText:Klb.DisplayTextView.design({layout:{top:0},value:"<div>"+"*kefWhy_para_1".loc()+"</div><div>&nbsp;</div><div>"+"*kefWhy_para_2".loc()+"</div><div>&nbsp;</div><div>"+"*kefWhy_para_3".loc()+"</div>"})}),logo:SC.ImageView.design({layout:{centerY:-30,height:250*0.4,left:30,width:500*0.4},value:"/static/klb/fr/cedf18d9c171dfea682b509c92e9b34c4318c6dd/resources/images/kef_logo_500.png"})})}),sep3:SC.View.design({layout:{top:1900,height:25,centerX:0,width:680},classNames:"separator"}),contacts:SC.View.design({layout:{top:1950,left:20,right:20},childViews:"title email twitter".w(),title:Klb.DisplayTextView.design({layout:{top:0,height:30,left:0,right:0},value:"_Contact".loc(),classNames:"aboutSectionHeader"}),email:Klb.DisplayTextView.design({layout:{top:40,height:30,left:10,right:0},classNames:"aboutContactLink",value:'Email: <a href="mailto:info@kivaenfrancais.org">info@kivaenfrancais.org</a>'.loc()}),twitter:Klb.DisplayTextView.design({layout:{top:40,height:30,left:300,right:0},classNames:"aboutContactLink",value:'Twitter: <a href="http://twitter.com/kivaenfrancais" target="_blank">@kivaenfrancais</a>'.loc()})}),sep4:SC.View.design({layout:{top:2020,height:25,centerX:0,width:680},classNames:"separator"}),partners:SC.View.design({layout:{top:2070,left:20,right:20},childViews:"title logo1 logo2 logo3 logo4 logo5".w(),title:Klb.DisplayTextView.design({layout:{top:0,height:30,left:0,right:0},value:"_Our Partners".loc(),classNames:"aboutSectionHeader"}),logo1:SC.ImageView.design({layout:{top:50,height:53,centerX:0,width:449},value:"/static/klb/fr/cedf18d9c171dfea682b509c92e9b34c4318c6dd/resources/images/partner_danoneCommunities.png"}),logo2:SC.ImageView.design({layout:{top:115,height:81,left:120,width:183},value:"/static/klb/fr/cedf18d9c171dfea682b509c92e9b34c4318c6dd/resources/images/partner_laser.png"}),logo3:SC.ImageView.design({layout:{top:120,height:70,right:120,width:224},value:"/static/klb/fr/cedf18d9c171dfea682b509c92e9b34c4318c6dd/resources/images/partner_greenwichConsulting.png"}),logo4:SC.ImageView.design({layout:{top:227,height:52,left:150,width:181},value:"/static/klb/fr/cedf18d9c171dfea682b509c92e9b34c4318c6dd/resources/images/partner_eyeka.png"}),logo5:SC.ImageView.design({layout:{top:210,height:87,right:200,width:111},value:"/static/klb/fr/cedf18d9c171dfea682b509c92e9b34c4318c6dd/resources/images/partner_mtv.png"})})})})})})});
require("views/static_content");Klb.demoPage=SC.Page.design({mainView:SC.View.design({layout:{top:0,bottom:0,left:0,right:0},childViews:"displayArea".w(),displayArea:SC.View.design({layout:{top:10,bottom:0,centerX:0,width:800},childViews:"videoView".w(),videoView:Klb.StaticContentView.design({content:"<p><p>"+"_Demos coming soon… for now, enjoy this introduction to Kiva through the story of Pedro, a farmer in Boliva:".loc()+'</p><div class="klb-static-content"><center><h2>'+"_The Pedro Story".loc()+'</h2><p><object width="601" height="338" style="border:1px solid gray;"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=12893084&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=85B100&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=12893084&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=85B100&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="601" height="338"></embed></object></center></div>'})})})});
sc_require("views/loan_listing");sc_require("views/filter_item");sc_require("views/scroll");
sc_require("controllers/loans");sc_require("controllers/lending");Klb.lendingPage=SC.Page.design({mainView:SC.View.design({layout:{top:0,bottom:0,left:0,right:0},childViews:"sidebarView resultsView".w(),defaultResponder:Klb,bottombarView:SC.View.design({layout:{bottom:0,left:0,right:0,height:40},classNames:"klb-chrome".w(),childViews:"checkoutButton".w(),checkoutButton:SC.ButtonView.design({layout:{right:10,top:10,width:80,height:24},title:"_Checkout".loc(),action:"checkout",isEnabledBinding:"Klb.loansController.canCheckout"})}),sidebarView:SC.SplitView.design({layout:{top:0,left:0,bottom:0,width:300},backgroundColor:"#DDDDDD",layoutDirection:SC.LAYOUT_VERTICAL,defaultThickness:230,autoresizeBehavior:SC.RESIZE_TOP_LEFT,canCollapseViews:YES,classNames:"lendingSidebar",topLeftMinThickness:200,topLeftMaxThickness:800,topLeftView:SC.ScrollView.design({isVisible:NO,hasHorizontalScroller:NO,classNames:"no-border",contentView:SC.SourceListView.design({contentBinding:"Klb.filtersController.arrangedObjects",selectionBinding:"Klb.filtersController.selection",contentValueKey:"title",actOnSelect:YES,action:"selectSidebarItem",target:"Klb.searchController",selectionDelegate:Klb.filtersController,exampleView:Klb.FilterItemView})}),dividerView:SC.SplitDividerView,bottomRightView:SC.View.design({childViews:"filterTitle searchField genderLabel femaleCheckbox groupCheckbox locationLabel locationContent locationButton sectorLabel sectorContent sectorButton".w(),filterTitle:SC.LabelView.design({layout:{left:5,top:5,right:5,height:32},value:"_Filter Options".loc(),controlSize:SC.LARGE_CONTROL_SIZE,classNames:"filter-header"}),searchField:SC.TextFieldView.design({layout:{left:10,top:37,right:10,height:22},hint:"_Search".loc(),valueBinding:"Klb.searchController.currentQueryString",isEnabled:NO}),genderLabel:SC.LabelView.design({layout:{left:5,top:65,right:5,height:22},value:"_Borrowers".loc(),controlSize:SC.LARGE_CONTROL_SIZE,classNames:"filter-subheader"}),femaleCheckbox:SC.CheckboxView.design({layout:{left:10,top:90,width:80,height:24},title:"_Individuals".loc(),valueBinding:"Klb.searchController.showFemale"}),maleCheckbox:SC.CheckboxView.design({layout:{left:100,top:90,width:80,height:24},title:"_Male".loc(),valueBinding:"Klb.searchController.showMale"}),groupCheckbox:SC.CheckboxView.design({layout:{left:190,top:90,width:80,height:24},title:"_Groups".loc(),valueBinding:"Klb.searchController.showGroups"}),locationLabel:SC.LabelView.design({layout:{left:5,top:65+(50*1),right:5,height:22},value:"_Countries".loc(),controlSize:SC.LARGE_CONTROL_SIZE,classNames:"filter-subheader"}),locationContent:SC.LabelView.design({layout:{left:10,top:90+(50*1),width:200,height:24},valueBinding:"Klb.searchController.formattedCountries"}),locationButton:SC.ButtonView.design({layout:{right:10,top:90+(50*1),width:65,height:18},title:"_Edit".loc(),action:"showCountryPicker",target:"Klb.searchController",classNames:"picker-button",controlSize:SC.SMALL_CONTROL_SIZE,titleMinWidth:40}),sectorLabel:SC.LabelView.design({layout:{left:5,top:65+(50*2),right:5,height:22},value:"_Sectors".loc(),controlSize:SC.LARGE_CONTROL_SIZE,classNames:"filter-subheader"}),sectorContent:SC.LabelView.design({layout:{left:10,top:90+(50*2),width:200,height:24},valueBinding:"Klb.searchController.formattedSectors"}),sectorButton:SC.ButtonView.design({layout:{right:10,top:90+(50*2),width:65,height:18},title:"_Edit".loc(),action:"showSectorPicker",target:"Klb.searchController",classNames:"picker-button",controlSize:SC.SMALL_CONTROL_SIZE,titleMinWidth:40}),resetButton:SC.ButtonView.design({layout:{centerX:-50,bottom:10,width:90,height:24},title:"_Reset".loc()}),saveButton:SC.ButtonView.design({layout:{centerX:50,bottom:10,width:90,height:24},title:"_Save".loc()})})}),resultsView:SC.SceneView.design({layout:{top:0,bottom:0,left:301,right:0},scenes:"searchListView loanDetail".w(),nowShowingBinding:"Klb.lendingController.currentScene"})}),loansLoading:SC.View.design({layout:{top:0,bottom:0,left:0,right:0},childViews:"loadingLabelView".w(),backgroundColor:"white",loadingLabelView:SC.LabelView.design({layout:{left:0,right:0,centerY:0,height:24},textAlign:SC.ALIGN_CENTER,classNames:"center-label",controlSize:SC.LARGE_CONTROL_SIZE,fontWeight:SC.BOLD_WEIGHT,value:"_Finding Available Loans".loc()})}),noTargets:SC.View.design({layout:{top:0,bottom:0,left:0,right:0},childViews:"labelView sublabelView".w(),backgroundColor:"white",labelView:SC.LabelView.design({layout:{left:0,right:0,centerY:-24,height:24},backgroundColor:"white",textAlign:SC.ALIGN_CENTER,classNames:"center-label",controlSize:SC.LARGE_CONTROL_SIZE,fontWeight:SC.BOLD_WEIGHT,value:"_No Loans Matched Your Criteria".loc()}),sublabelView:SC.LabelView.design({layout:{centerX:0,centerY:0,height:24,width:400},textAlign:SC.ALIGN_CENTER,value:"_Please choose another filter or change your filter options.".loc()})}),loanDetail:SC.View.design({childViews:"navigationView detailView".w(),navigationView:SC.ToolbarView.design({classNames:"navigation-bar",layout:{top:0,left:0,right:0,height:30},childViews:"backButton".w(),backButton:SC.ButtonView.design({layout:{top:5,left:8,width:80,height:24},title:"« Back",action:"back"})}),detailView:SC.View.design({layout:{top:31,left:0,right:0,bottom:0},childViews:"name picture posted statusLabel status loanAmountLabel loanAmount fundedAmountLabel fundedAmount borrowerCountLabel borrowerCount activityLabel activity sectorLabel sectorLabel sector useLabel use loanLabel loan countryLabel country partnerLabel partner".w(),name:SC.LabelView.design({layout:{top:10,left:10,width:230,height:20},valueBinding:"Klb.detailController.name",controlSize:SC.LARGE_CONTROL_SIZE,fontWeight:SC.BOLD_WEIGHT}),posted:SC.LabelView.design({layout:{top:10,left:250,width:150,height:20},valueBinding:"Klb.detailController.posted_date"}),picture:SC.ImageView.design({layout:{top:35,left:10,width:450,height:360},valueBinding:"Klb.detailController.largeImage"}),statusLabel:SC.LabelView.design({layout:{top:35,left:470,width:120,height:20},fontWeight:SC.BOLD_WEIGHT,value:"Status:"}),status:SC.LabelView.design({layout:{top:35,left:600,width:120,height:20},valueBinding:"Klb.detailController.status"}),loanAmountLabel:SC.LabelView.design({layout:{top:60,left:470,width:120,height:20},fontWeight:SC.BOLD_WEIGHT,value:"Loan Amount:"}),loanAmount:SC.LabelView.design({layout:{top:60,left:600,width:120,height:20},valueBinding:"Klb.detailController.loan_amount"}),fundedAmountLabel:SC.LabelView.design({layout:{top:85,left:470,width:120,height:20},fontWeight:SC.BOLD_WEIGHT,value:"Funded Amount:"}),fundedAmount:SC.LabelView.design({layout:{top:85,left:600,width:120,height:20},valueBinding:"Klb.detailController.funded_amount"}),borrowerCountLabel:SC.LabelView.design({layout:{top:110,left:470,width:120,height:20},fontWeight:SC.BOLD_WEIGHT,value:"Borrowers:"}),borrowerCount:SC.LabelView.design({layout:{top:110,left:600,width:120,height:20},valueBinding:"Klb.detailController.borrower_count"}),activityLabel:SC.LabelView.design({layout:{top:135,left:470,width:120,height:20},fontWeight:SC.BOLD_WEIGHT,value:"Activity:"}),activity:SC.LabelView.design({layout:{top:135,left:600,width:120,height:20},valueBinding:"Klb.detailController.activity"}),sectorLabel:SC.LabelView.design({layout:{top:160,left:470,width:120,height:20},fontWeight:SC.BOLD_WEIGHT,value:"Sector:"}),sector:SC.LabelView.design({layout:{top:160,left:600,width:120,height:20},valueBinding:"Klb.detailController.sector"}),useLabel:SC.LabelView.design({layout:{top:185,left:470,width:120,height:20},fontWeight:SC.BOLD_WEIGHT,value:"Use:"}),use:SC.LabelView.design({layout:{top:185,left:600,width:120,height:20},valueBinding:"Klb.detailController.use"}),loanLabel:SC.LabelView.design({layout:{top:210,left:470,width:120,height:20},fontWeight:SC.BOLD_WEIGHT,value:"Loan:"}),loan:SC.LabelView.design({layout:{top:210,left:600,width:120,height:20},valueBinding:"Klb.detailController.loan"}),countryLabel:SC.LabelView.design({layout:{top:235,left:470,width:120,height:20},fontWeight:SC.BOLD_WEIGHT,value:"Country"}),country:SC.LabelView.design({layout:{top:235,left:600,width:120,height:20},valueBinding:"Klb.detailController.country"}),partnerLabel:SC.LabelView.design({layout:{top:260,left:470,width:120,height:20},fontWeight:SC.BOLD_WEIGHT,value:"Partner:"}),partner:SC.LabelView.design({layout:{top:260,left:600,width:120,height:20},valueBinding:"Klb.detailController.partner_id"})})}),searchListView:SC.View.design({layout:{top:0,bottom:0,left:0,right:0},childViews:"loanView loanViewBar".w(),loanView:Klb.ScrollView.design({hasHorizontalScroller:NO,layout:{top:0,bottom:41,left:0,right:0},classNames:"no-border",backgroundColor:"white",contentView:SC.ListView.design({classNames:"loanListView",contentBinding:"Klb.loansController.arrangedObjects",selectionDelegate:Klb.loansController,contentValueKey:"name",exampleView:Klb.LoanListingView,rowHeight:120,actOnSelect:YES,action:"selectLoan"})}),loanViewBar:SC.View.design({layout:{bottom:0,left:0,right:0,height:40},childViews:"resultsLabel sortLabel sortSelectView".w(),classNames:"klb-chrome lendingLoanListBar".w(),layerId:"id-lendingLoanListBar",resultsLabel:SC.LabelView.design({valueBinding:"Klb.loansController.lengthNamedForDisplay",layout:{left:10,top:10,width:180,height:24},controlSize:SC.REGULAR_CONTROL_SIZE,fontWeight:SC.BOLD_WEIGHT}),sortLabel:SC.LabelView.design({layout:{right:140,top:9,width:80,height:24},textAlign:SC.ALIGN_RIGHT,value:"_Sort_by".loc()}),sortSelectView:SC.SelectFieldView.design({layout:{right:5,top:10,width:130,height:24},nameKey:"name",valueKey:"value",objects:Klb.searchController.get("sortOptions"),valueBinding:"Klb.searchController.currentSortOrder",disableSort:true}),viewModeSegmentedView:SC.SegmentedView.design({layout:{right:5,top:5,width:100,height:24},items:"_List_Grid".loc().w(),value:"_List".loc()})})})});
Klb.mainController=SC.ObjectController.create({currentSection:null,shouldTrackNavigation:false,showPrehome:function(){this.set("currentSection",Klb.getPath("prehomePage.mainView"))
},showLending:function(){this.set("currentSection",Klb.getPath("lendingPage.mainView"));
_gaq.push(["_trackEvent","conversion","cta-ChooseProject"])},setPrehomeBypassCookie:function(){var a,b=new Date();
b.setTime(b.getTime());a=new Date(b.getTime()+(1000*60*60*24*120));document.cookie="pv=1;path=/;expires="+a.toGMTString()
},checkPrehomeBypassCookie:function(){var a=SC.Cookie.find("pv");if(a&&a.get("value")){return true
}return false},checkSectionStatus:function(){var a=NO,c=this.get("currentSection"),b="(unknown)";
if(c===Klb.getPath("lendingPage.mainView")&&!this.checkPrehomeBypassCookie()){this.setPrehomeBypassCookie()
}if(c===Klb.getPath("prehomePage.mainView")){a=YES}Klb.getPath("mainPage.appPane.topbarView.rightPromo").set("isVisible",a);
if(this.get("shouldTrackNavigation")&&c!==null){if(c===Klb.getPath("lendingPage.mainView")){b="lending"
}else{if(c===Klb.getPath("aboutPage.mainView")){b="about"}else{if(c===Klb.getPath("prehomePage.mainView")){b="prehome"
}else{if(c===Klb.getPath("registerPage.mainView")||c==="Klb.registerPage.mainView"){b="register"
}else{if(c===Klb.getPath("demoPage.mainView")||c==="Klb.demoPage.mainView"){b="demo"
}}}}}_gaq.push(["_trackEvent","navigation",b])}Klb.getPath("aboutPage.mainView").set("verticalScrollOffset",0);
Klb.getPath("prehomePage.mainView").set("verticalScrollOffset",0)}.observes("currentSection"),getCookie:function(a){var g=document.cookie.split(";");
var b="";var d="";var f="";var c=false;for(i=0;i<g.length;i++){b=g[i].split("=");
d=b[0].replace(/^\s+|\s+$/g,"");if(d==a){c=true;if(b.length>1){f=unescape(b[1].replace(/^\s+|\s+$/g,""))
}return f}b=null;d=""}if(!c){return null}}});require("controllers/main");Klb.mainPage=SC.Page.design({appPane:SC.MainPane.design({childViews:"topbarView mainPaneView invisibleFormView".w(),defaultResponder:Klb.mainController,topbarView:SC.View.design({layout:{top:0,left:0,right:0,height:74},childViews:"logoView buttonBar rightPromo".w(),classNames:"klb-header".w(),logoView:SC.ImageView.extend(SCUI.SimpleButton).design({layout:{left:5,top:5,width:123,height:64},value:"/static/klb/fr/cedf18d9c171dfea682b509c92e9b34c4318c6dd/resources/images/kef_logo_123.png",classNames:"simulatedLogoButton",target:"Klb.mainController",action:"showPrehome"}),buttonBar:SC.SegmentedView.design({layout:{top:5,height:65,left:150,width:102*4},itemTitleKey:"title",valueBinding:"Klb.mainController.currentSection",itemWidthKey:"width",itemValueKey:"value",classNames:"mainNav",items:[{title:"_About".loc(),value:Klb.getPath("aboutPage.mainView"),width:90},{title:"_Projects".loc(),value:Klb.getPath("lendingPage.mainView"),width:90},{title:"_Register".loc(),value:"Klb.registerPage.mainView",width:90},{title:"_Demo".loc(),value:"Klb.demoPage.mainView",width:90}]}),rightPromo:SC.View.design({layout:{centerY:0,height:60,right:20,width:250},childViews:"caption cta".w(),classNames:"brandedFontContent ctaPromo",isVisible:YES,caption:Klb.DisplayTextView.design({layout:{top:0,height:30,left:10,right:10},color:"white",value:"_Get started now by finding an entrepreneur and making a loan!".loc(),classNames:"primaryCtaCaption",textAlign:SC.ALIGN_CENTER}),cta:SC.ButtonView.design({layout:{bottom:0,height:30,left:0,right:0},classNames:"ctaButton primaryCta".w(),title:"_Choose_A_Loan".loc(),target:"Klb.mainController",action:"showLending",controlSize:SC.LARGE_CONTROL_SIZE})})}),mainPaneView:SC.ContainerView.design({layout:{bottom:0,left:0,right:0,top:76},nowShowingBinding:"Klb.mainController.currentSection"}),invisibleFormView:SC.View.design({layout:{top:-20,height:5,left:0,right:0},layerId:"invisible_form_view",isVisible:NO})})});
sc_require("views/display_text");sc_require("views/scroll");Klb.prehomePage=SC.Page.design({mainView:Klb.ScrollView.design({layout:{top:0,bottom:0,left:0,right:0},contentView:SC.View.design({layout:{top:0,height:860,right:0,left:0},childViews:"pageView".w(),classNames:"contentBackdrop",pageView:SC.View.design({layout:{top:0,bottom:50,centerX:0,width:840},childViews:"illustration borrowerStory lenderStory".w(),classNames:"contentPage",illustration:SC.View.design({layout:{top:10,height:385,centerX:0,width:785},childViews:"slidesContent".w(),slidesContent:SC.View.design({childViews:"placeholderGraphic".w(),placeholderGraphic:SC.ImageView.design({value:"/static/klb/fr/cedf18d9c171dfea682b509c92e9b34c4318c6dd/resources/images/prehome-illustration.jpg"})})}),borrowerStory:SC.View.design({layout:{top:385,height:100,left:40,right:40},childViews:"step1 step2 step3".w(),step1:Klb.DisplayTextView.design({layout:{top:10,left:15,width:225},value:"_An entrepreneur needs a loan to grow her business".loc(),textAlign:SC.ALIGN_CENTER}),step2:Klb.DisplayTextView.design({layout:{top:10,centerX:0,width:225},value:"_Kiva works with local partners who specialize in microcredit".loc(),textAlign:SC.ALIGN_CENTER}),step3:Klb.DisplayTextView.design({layout:{top:10,right:10,width:225},value:"_People from all over the world become lenders, helping in big ways with small amounts of money".loc(),textAlign:SC.ALIGN_CENTER})}),lenderStory:SC.View.design({layout:{top:500,height:270,left:40,right:40},childViews:"caption step1 step2 step3 cta".w(),classNames:"lenderStoryBox",caption:Klb.DisplayTextView.design({layout:{top:10,height:24,left:10,right:10},value:"_Kiva. Make a loan, change a life.".loc(),classNames:"prehomeCaption"}),step1:SC.View.design({layout:{top:50,left:10,width:240},childViews:"number text".w(),number:SC.View.design({layout:{top:0,height:21,left:0,width:22},classNames:"lenderPoints itemOne".w()}),text:Klb.DisplayTextView.design({layout:{top:0,left:30,width:190},value:"<div class='lenderPointsCaption'>"+"_Make the choice to change a life".loc()+"</div><div style='line-height:5px'>&nbsp;</div><div class=''>"+"Choisissez un micro entrepreneur. Prêtez. Aidez le à créer son activité tout en améliorant ses conditions de vie.".loc()+"</div/>"})}),step2:SC.View.design({layout:{top:50,centerX:0,width:240},childViews:"number text".w(),number:SC.View.design({layout:{top:0,height:21,left:0,width:22},classNames:"lenderPoints itemTwo".w()}),text:Klb.DisplayTextView.design({layout:{top:0,left:30,right:0},value:"<div class='lenderPointsCaption'>"+"_Get repaid".loc()+"</div><div style='line-height:5px'>&nbsp;</div><div class=''>"+"98% des emprunts sont remboursés. Vous avez ensuite le choix de réinvestir votre argent dans d'autres projets.".loc()+"</div/>"})}),step3:SC.View.design({layout:{top:50,right:10,width:240},childViews:"number text".w(),number:SC.View.design({layout:{top:0,height:21,left:0,width:22},classNames:"lenderPoints itemThree".w()}),text:Klb.DisplayTextView.design({layout:{top:0,left:30,right:0},value:"<div class='lenderPointsCaption'>"+"_Become part of the Kiva community".loc()+"</div><div style='line-height:5px'>&nbsp;</div><div class=''>"+"Rencontrez et interagissez avec d’autres prêteurs dans le monde entier. Invitez votre entourage à contribuer à leur tour à changer des vies.".loc()+"</div/>"})}),cta:SC.View.design({layout:{bottom:20,height:38,left:10,width:720},childViews:"caption cta".w(),classNames:"brandedFontContent ctaPromo",isVisible:YES,caption:Klb.DisplayTextView.design({layout:{centerY:0,height:14,right:215,left:0},color:"white",value:"_Get started now by finding an entrepreneur and making a loan!".loc(),classNames:"primaryCtaCaption",textAlign:SC.ALIGN_RIGHT}),cta:SC.ButtonView.design({layout:{centerY:0,height:30,right:0,width:200},classNames:"ctaButton primaryCta".w(),title:"_Choose_A_Loan".loc(),target:"Klb.mainController",action:"showLending",controlSize:SC.LARGE_CONTROL_SIZE})})})})})})});
Klb.registerPage=SC.Page.design({mainView:SC.View.design({layout:{top:0,left:0,right:0,bottom:0},childViews:"rightView sidebarView".w(),classNames:"brandedFontContent",sidebarView:Klb.RegSidebarView.design({layout:{top:0,bottom:0,left:0,right:950,minWidth:120}}),rightView:SC.View.design({layout:{top:0,bottom:0,right:0,width:950,minWidth:950},childViews:"topView webView kivaRegLoading".w(),topView:SC.View.design({layout:{top:0,left:0,height:80,right:0},backgroundColor:"#F7F3DE",classNames:"regTopView",childViews:"note1 note2".w(),note1:SC.LabelView.design({layout:{top:5,centerX:0,width:900},textAlign:SC.ALIGN_CENTER,classNames:"center-label",value:"*reg_disclaimer_text1".loc()}),note2:SC.LabelView.design({layout:{top:40,centerX:0,width:600},textAlign:SC.ALIGN_CENTER,classNames:"center-label",value:"*reg_disclaimer_text2".loc()})}),kivaRegLoading:SC.View.design({layout:{top:81,left:0,bottom:0,right:0},childViews:"loadingMeter labelView".w(),backgroundColor:"#dddddd",loadingMeter:SC.ImageView.design({layout:{centerX:0,centerY:-32,height:32,width:32},value:"/static/klb/fr/cedf18d9c171dfea682b509c92e9b34c4318c6dd/resources/images/animated_loader.gif"}),labelView:SC.LabelView.design({layout:{centerX:0,centerY:24,height:24,width:300},textAlign:SC.ALIGN_CENTER,classNames:"center-label",controlSize:SC.LARGE_CONTROL_SIZE,fontWeight:SC.BOLD_WEIGHT,value:"Loading Kiva website...".loc()})}),webView:Klb.WebView.design({layout:{top:81,left:0,bottom:0,right:0},value:"http://www.kiva.org/register",iframeDidLoad:function(){Klb.registerPage.mainView.rightView.kivaRegLoading.set("isVisible",NO)
}})})})});Klb.main=function main(){if(window.location.hash.toString().match("fixtures")){console.log("USING FIXTURES STORE!");
Klb.store.from(SC.Record.fixtures)}else{Klb.store.from("Klb.KivaDataSource")}Klb.getPath("mainPage.appPane").append();
Klb.makeFirstResponder(Klb.START);Klb.searchController.primeData()};function main(){Klb.main()
};