(function(c,b){var a="Telerik.OData.ItemsUrl",f="$callback",e="application/json",d={0:"json",1:"jsonp"}; c.NavigationControlODataSettings=function(h){c.NavigationControlODataSettings.initializeBase(this,[h]); var g=h.ODataSettings; this._path=h.Path; this._odata=true; this._responseType=g.ResponseType; if(!this.get_isEmpty()){this._tree=new c.ODataBinderTree(g.InitialContainerName,g.Entities,g.EntityContainer); }}; c.NavigationControlODataSettings.prototype={get_path:function(){return this._path; },get_responseType:function(){return this._responseType; },get_tree:function(){return this._tree; },get_isEmpty:function(){var g=this._odata; return this._path==""||(g.InitialContainerName==""||g.Entities>0); }}; c.NavigationControlODataSettings.registerClass("Telerik.Web.UI.NavigationControlODataSettings",c.WebServiceSettings); c.ODataBinderTree=function(h,i,g){this._entities=i; this._map=g; this._loaded=false; this._tree=this._buildTree(h); }; c.ODataBinderTree.prototype={get_settingsByDepth:function(g){function h(j,i){if(j==g){return i; }return h(++j,i.child); }return h(0,this._tree); },_buildTree:function(h){var g=!!h?this._getEntitySetByName(h):this._map[0]; return this._buildNode(g,this._findChildCallback); },_findChildCallback:function(h){if(!h){return; }var g=this._getEntitySetByName(h); return this._buildNode(g,this._findChildCallback); },_buildNode:function(g,k){var j=this._getEntityByName(g.Name),h=this,i={name:g.Name,type:g.EntityType,entity:j,child:k.apply(h,[j.NavigationProperty])}; return i; },_getByName:function(k,h){for(var j=0; j