tagged.loadStringsDirect({"tagged.nav.strings":{people:{"0":"Amis","1":"Me rencontrer","2":"Parcourir","3":"Recherche"},games:{"0":"Pets","1":"Cafe","2":"Mafia"},more:{"0":"Photos","1":"Cadeaux","2":"Tags","3":"Commentaires","4":"C\u00e2lin","5":"Clin d'\u0153il","6":"Jeux","7":"Groupes","8":"Vid\u00e9o","9":"Notifications","10":"Anniversaires"},account:{"0":"gold_amount","1":"Obtenir plus d'or","2":"Mon statut en ligne","3":"Disponible","4":"Invisible","5":"Param\u00e8tres","6":"Aide","7":"Contacte-nous","8":"Aide du chat","9":"Call Support","10":"Fermeture de session"},accountV2:{"0":"gold_amount","1":"Online status","2":"Disponible","3":"Invisible","4":"\u00c9diter le profil","5":"Param\u00e8tres","6":"Langue","7":"Aide","8":"Contacte-nous","9":"Aide du chat","10":"Call Support","11":"Fermeture de session","12":"TAC"},profile:{"0":"Amis","1":"Photos","2":"Vid\u00e9os","3":"Cadeaux","4":"C\u00e2lin","5":"Clin d'\u0153il","6":"Tags","7":"Commentaire","8":"Groupes","9":"Anniversaires"},util:{meetme_down:"D\u00e9sol\u00e9 Meet Me est en cours de maintenance. Reviens rapidement !",newAlerts:"Nouvelles alertes"}}});tagged.namespace("jst.toast.sendmessage");tagged.jst.toast.sendmessage.render=function(C,options){C=C||{};options=options||{};var ngettext=function(s,n){return s[(n==1?0:1)]};var s=[];var escapeHTML=TAGGED.jst.xssFilter;try{with(C){s.push('
');s.push(sprintf("%s added you to their Pets wishlist.",buyer_display_name));s.push('
')}return s.join("")}catch(e){if(typeof window!=="undefined"&&window._jstFailuresRaise){throw e}alert('template error in "toast/petswishyou.jst":\n\n'+e)}return""};tagged.namespace("modules.autosizeInput");tagged.modules.autosize_input={autosize:function(a,b){$(a).autoResize({onResize:function(){},animate:true,animateDuration:100,animateCallback:function(){},extraSpace:0,limit:b||140})}};tagged.namespace("json.pets.shorthand");tagged.json.pets.shorthand=[{symbol:"Td",threshold:48,color:"#A349A3",cssClass:"shorthand-td",value:"1000000000000000000000000000000000000000000"},{symbol:"U",threshold:42,color:"#7F7F7F",cssClass:"shorthand-u",value:"1000000000000000000000000000000000000"},{symbol:"N",threshold:36,color:"#4E6B6A",cssClass:"shorthand-n",value:"1000000000000000000000000000000"},{symbol:"S",threshold:30,color:"#DF7401",cssClass:"shorthand-s",value:"1000000000000000000000000"},{symbol:"Q",threshold:24,color:"#8A2BE2",cssClass:"shorthand-q",value:"1000000000000000000"},{symbol:"T",threshold:18,color:"#8B6508",cssClass:"shorthand-t",value:"1000000000000"},{symbol:"M",threshold:12,color:"#006600",cssClass:"shorthand-m",value:"1000000"},{symbol:"",threshold:0,color:"#000000",value:"1"}];tagged.namespace("util.big");(function(){var d=tagged.json.pets.shorthand.slice();var a={};tagged.util.big.symbolMap={};(function(){for(var g=0;gg-6){var j=true;k=tagged.util.format.currency(i.substring(0,f-g+6),j)}else{if(f>g-7){k="$0."+i.substring(0,2)}else{if(f>g-8){k="$0.0"+i.substring(0,1)}else{k=sprintf(h+tagged.util.big.strings.lessThan,"$0.01")}}}return k+h+l};Big.prototype.max=function(){var j=Array.prototype.slice.apply(arguments);var g=this;for(var k=0,h=j.length;kd[k].threshold){return d[k].symbol}else{if(g&&f>d[k].threshold-8){return d[k].symbol}}}return""};Big.prototype.getPetsShortHandSymbolWithLimit=function(h){var j=this.toIntegerString();for(var k=0,f=j.length,g=d.length;kd[k].threshold-h){return d[k].symbol}}return""};Big.prototype.toIntegerString=function(){var f=this.toString();var g=f.indexOf(".");if(g>=0){f=f.substr(0,g)}return f};Big.prototype.getPetsShortHandValue=function(h){var g=this.toIntegerString();if(h==""){return g}var f=g.length;return g.substring(0,f-a[h].threshold+6)};Big.prototype.getPetsLongHandComponents=function(){return{value:this.toIntegerString(),symbol:"-"}};Big.prototype.getPetsShortHandComponents=function(f){var g=this.getPetsShortHandSymbol(f);return{value:this.getPetsShortHandValue(g),symbol:g}};Big.prototype.toPetsShortHand=function(j,i,l){var h=this.toIntegerString();var k="";if(i){k=this.getPetsShortHandSymbol(j)}else{if(j!=null&&a[j]){k=j}else{k=this.getPetsShortHandSymbol()}}if(k){var g=c(h,a[k].threshold,k," ");var f=a[k].cssClass;return sprintf(e,f||"",tagged.util.format.currency(h,true),g,l||"")}else{return['',tagged.util.format.currency(h,true),l||"",""].join("")}};Big.prototype.formatToShorthand=function(){var f=this.toIntegerString();var g=this.getPetsShortHandSymbol();if(g){return c(f,a[g].threshold,g," ")}else{return tagged.util.format.currency(f,true)}};function b(h,i){var k=h.toString().split("");var j=0,g="",f=h.length;while(j2){for(var b=0;b'+d(this.data.buyer_display_name,10)+"")}if(typeof c.pet_display_name!="undefined"){this.data.pet_display_name=(''+d(this.data.pet_display_name,10)+"")}return true}else{return false}};tagged.toast_manager.Inactivity.prototype=new tagged.toast_manager.Toast(tagged.toast_manager);tagged.toast_manager.Inactivity.prototype.constructor=tagged.toast_manager.Inactivity;tagged.toast_manager.Inactivity.prototype.handleClick=function(b,a){TAGGED.api.call({method:"tagged.toasts.logInactivityToast",bucket:b,ltype:"click",callback:{fn:function(){window.location.pathname=a}}})};tagged.toast_manager.Luv.prototype=new tagged.toast_manager.Toast(tagged.toast_manager);tagged.toast_manager.Luv.prototype.constructor=tagged.toast_manager.Luv;tagged.toast_manager.Luv.prototype.luvHandlers=function(){this.setUpShowMore();$(".luv_toast_button",this.toastEl).click($.proxy(function(){window.location.href=this.data.version=="plus"?"/luv_plus.html":"/luv.html?link_id=old_luv_toast";this.destroy()},this))};tagged.toast_manager.Luv.prototype.filterData=function(a){if(a!==null&&typeof(a)=="object"&&"giver_display_name" in a&&"giver_url" in a&&"giver_thumbnail" in a&&"giver_uid" in a){this.data=a;this.data.giver_display_name=tagged.util.format.ellipse(a.giver_display_name,40);this.data.user_thumbnail=tagged.data.toast.user_thumbnail;return true}else{return false}};$(function(){tagged.toast_manager.init()});$(window).load($.proxy(tagged.toast_manager.inactivityModule.maybeBegin,tagged.toast_manager.inactivityModule,tagged.toast_manager.inactivityModule.pageLoadDelay));tagged.loadStringsDirect({"tagged.util.big.strings":{lessThan:"Moins de %s"}});tagged.loadStringsDirect({"tagged.toast_manager.strings":{m:"Homme",f:"Femme",generalFailure:"Une erreur est survenue et ton message n'a pu \u00eatre envoy\u00e9. Merci d'essayer \u00e0 nouveau.",error_empty:"D\u00e9sol\u00e9, ton message ne peut \u00eatre vierge.","15":"D\u00e9sol\u00e9s, tu essaies de publier du contenu interdit.","16":"D\u00e9sol\u00e9s, il y a du langage HTML invalide.","26":"D\u00e9sol\u00e9s, tu essayes de poster un contenu contenant des widgets Flash qui ne sont pas support\u00e9s par %s. ","27":"D\u00e9sol\u00e9, tu essaie de publier une vid\u00e9o YouTube dont le contenu est restreint.","103":"Tu as d\u00e9pass\u00e9 ta limite d'envois.","110":"Tu n\u2019es pas autoris\u00e9 \u00e0 envoyer de message \u00e0 cet utilisateur.","114":"D\u00e9sol\u00e9s, ton message \u00e9tait trop long.","401":"D\u00e9sol\u00e9s, il y a du langage HTML invalide.","600":"Au-del\u00e0 de la limite"}});tagged.namespace("presence");tagged.presence={idleTimer:null,idleTimeout:300000,isIdle:false,subscribePresence:function(g,f,e){e=(typeof(myVar)!=="undefined"&&e.group.trim().length>0)?"presence_"+e:"presence";var c=[];for(var d=0;d0)?"presence_"+a:"presence";tagged.realtime.unsubscribeGroup(a)}};$(function(){var a=new Nav.Views.Base({strings:tagged.nav.strings,data:tagged.data,realtime:tagged.realtime,stringUtil:tagged.util.string,base_url:tagged.base_url,secure_url:tagged.secure_url,video_url:tagged.video_url,static_url:tagged.static_uri,currentUserStatus:tagged.currentUserStatus,commify:tagged.util.format.commify,ClickLogger:ClickLogger})});