var jsRoutes = {}; (function(_root){
var _nS = function(c,f,b){var e=c.split(f||"."),g=b||_root,d,a;for(d=0,a=e.length;d<a;d++){g=g[e[d]]=g[e[d]]||{}}return g}
var _qS = function(items){var qs = ''; for(var i=0;i<items.length;i++) {if(items[i]) qs += (qs ? '&' : '') + items[i]}; return qs ? ('?' + qs) : ''}
var _s = function(p,s){return p+((s===true||(s&&s.secure))?'s':'')+'://'}
var _wA = function(r){return {ajax:function(c){c=c||{};c.url=r.url;c.type=r.method;return jQuery.ajax(c)}, method:r.method,type:r.method,url:r.url,absoluteURL: function(s){return _s('http',s)+'sentione.com'+r.url},webSocketURL: function(s){return _s('ws',s)+'sentione.com'+r.url}}}
_nS('controllers.chimeo.app.AuthController'); _root['controllers']['chimeo']['app']['AuthController']['ajaxRegister'] = 
        function() {
          return _wA({method:"POST", url:"/app/" + "ajaxRegister"})
        }
      ;
_nS('controllers.chimeo.app.AuthController'); _root['controllers']['chimeo']['app']['AuthController']['ajaxForgot'] = 
        function() {
          return _wA({method:"POST", url:"/app/" + "ajaxForgot"})
        }
      ;
_nS('controllers.chimeo.app.AuthController'); _root['controllers']['chimeo']['app']['AuthController']['registerFacebook'] = 
        function(lang0,buyNowProduct1,buyNowPlanType2,promoCode3) {
        
          if (lang0 == 'pl-PL') {
            return _wA({method:"POST", url:"/app/" + "pl/registerFacebook" + _qS([(buyNowProduct1 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("buyNowProduct", buyNowProduct1)), (buyNowPlanType2 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("buyNowPlanType", buyNowPlanType2)), (promoCode3 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("promoCode", promoCode3))])})
          }
        
          if (lang0 == 'de-DE') {
            return _wA({method:"POST", url:"/app/" + "de/registerFacebook" + _qS([(buyNowProduct1 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("buyNowProduct", buyNowProduct1)), (buyNowPlanType2 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("buyNowPlanType", buyNowPlanType2)), (promoCode3 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("promoCode", promoCode3))])})
          }
        
          if (lang0 == 'hu-HU') {
            return _wA({method:"POST", url:"/app/" + "hu/registerFacebook" + _qS([(buyNowProduct1 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("buyNowProduct", buyNowProduct1)), (buyNowPlanType2 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("buyNowPlanType", buyNowPlanType2)), (promoCode3 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("promoCode", promoCode3))])})
          }
        
          if (lang0 == 'cs-CZ') {
            return _wA({method:"POST", url:"/app/" + "cz/registerFacebook" + _qS([(buyNowProduct1 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("buyNowProduct", buyNowProduct1)), (buyNowPlanType2 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("buyNowPlanType", buyNowPlanType2)), (promoCode3 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("promoCode", promoCode3))])})
          }
        
          if (lang0 == 'es-ES') {
            return _wA({method:"POST", url:"/app/" + "es/registerFacebook" + _qS([(buyNowProduct1 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("buyNowProduct", buyNowProduct1)), (buyNowPlanType2 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("buyNowPlanType", buyNowPlanType2)), (promoCode3 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("promoCode", promoCode3))])})
          }
        
          if (true) {
            return _wA({method:"POST", url:"/app/" + "registerFacebook" + _qS([(lang0 == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("lang", lang0)), (buyNowProduct1 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("buyNowProduct", buyNowProduct1)), (buyNowPlanType2 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("buyNowPlanType", buyNowPlanType2)), (promoCode3 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("promoCode", promoCode3))])})
          }
        
        }
      ;
_nS('controllers.chimeo.app.FreebieController'); _root['controllers']['chimeo']['app']['FreebieController']['ajaxSendContactMessage'] = 
        function() {
          return _wA({method:"POST", url:"/app/" + "requestDemo"})
        }
      ;
_nS('controllers.chimeo.app.AuthController'); _root['controllers']['chimeo']['app']['AuthController']['loginFacebook'] = 
        function(whitelabel0,fromMobile1,lang2,promoCode3) {
        
          if (lang2 == 'pl-PL') {
            return _wA({method:"GET", url:"/app/" + "pl/loginFacebook" + _qS([(whitelabel0 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("whitelabel", whitelabel0)), (fromMobile1 == null ? null : (function(k,v){return k+'='+(!!v)})("fromMobile", fromMobile1)), (promoCode3 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("promoCode", promoCode3))])})
          }
        
          if (lang2 == 'de-DE') {
            return _wA({method:"GET", url:"/app/" + "de/loginFacebook" + _qS([(whitelabel0 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("whitelabel", whitelabel0)), (fromMobile1 == null ? null : (function(k,v){return k+'='+(!!v)})("fromMobile", fromMobile1)), (promoCode3 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("promoCode", promoCode3))])})
          }
        
          if (lang2 == 'hu-HU') {
            return _wA({method:"GET", url:"/app/" + "hu/loginFacebook" + _qS([(whitelabel0 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("whitelabel", whitelabel0)), (fromMobile1 == null ? null : (function(k,v){return k+'='+(!!v)})("fromMobile", fromMobile1)), (promoCode3 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("promoCode", promoCode3))])})
          }
        
          if (lang2 == 'cs-CZ') {
            return _wA({method:"GET", url:"/app/" + "cz/loginFacebook" + _qS([(whitelabel0 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("whitelabel", whitelabel0)), (fromMobile1 == null ? null : (function(k,v){return k+'='+(!!v)})("fromMobile", fromMobile1)), (promoCode3 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("promoCode", promoCode3))])})
          }
        
          if (lang2 == 'es-ES') {
            return _wA({method:"GET", url:"/app/" + "es/loginFacebook" + _qS([(whitelabel0 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("whitelabel", whitelabel0)), (fromMobile1 == null ? null : (function(k,v){return k+'='+(!!v)})("fromMobile", fromMobile1)), (promoCode3 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("promoCode", promoCode3))])})
          }
        
          if (true) {
            return _wA({method:"GET", url:"/app/" + "loginFacebook" + _qS([(whitelabel0 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("whitelabel", whitelabel0)), (fromMobile1 == null ? null : (function(k,v){return k+'='+(!!v)})("fromMobile", fromMobile1)), (lang2 == null ? null : (function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})("lang", lang2)), (promoCode3 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("promoCode", promoCode3))])})
          }
        
        }
      ;
_nS('controllers.chimeo.app.AuthController'); _root['controllers']['chimeo']['app']['AuthController']['authenticateAjax'] = 
        function() {
          return _wA({method:"POST", url:"/app/" + "loginAjax"})
        }
      ;
_nS('controllers.chimeo.app.AuthController'); _root['controllers']['chimeo']['app']['AuthController']['saveChangePasswordAjax'] = 
        function() {
          return _wA({method:"POST", url:"/app/" + "ajaxChangePassword"})
        }
      ;
_nS('controllers.chimeo.app.SocialIndexController'); _root['controllers']['chimeo']['app']['SocialIndexController']['socialIndexYearlyRequestAjax'] = 
        function() {
          return _wA({method:"POST", url:"/app/" + "social-media-2016"})
        }
      ;
_nS('controllers.chimeo.app.FreebieController'); _root['controllers']['chimeo']['app']['FreebieController']['ajaxSubscribeCampaign'] = 
        function() {
          return _wA({method:"POST", url:"/app/" + "ajaxSubscribeCampaign"})
        }
      ;
_nS('controllers.chimeo.app.AssetsController'); _root['controllers']['chimeo']['app']['AssetsController']['getStatementAsset'] = 
        function(statementId0,assetId1) {
          return _wA({method:"GET", url:"/app/" + "assets/statements" + _qS([(statementId0 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("statementId", statementId0)), (assetId1 == null ? null : (function(k,v){return v!=null?(function(k,v) {return encodeURIComponent(k)+'='+encodeURIComponent(v)})(k,v):''})("assetId", assetId1))])})
        }
      ;
})(jsRoutes)