/* Copyright (c) 2012 Yahoo! Inc. All rights reserved. Copyrights licensed under the MIT License.*/
(function(){function a(a,b){return(b||"3.5.1")+"/build/"+a+"/"+a+"-min.js"}function b(a){var b=(new RegExp("/([0-9ab.]+)/build/([a-z-]+)/[a-z-]+.js$")).exec(a);return b?[b[2],b[1]]:!1}var c={cb:{host:"cmbn.us"},cc:{host:"cdncss.com"},cj:{host:"cdnjs.cloudflare.com",prefix:"ajax/libs/"},gg:{host:"ajax.googleapis.com",prefix:"ajax/libs/"},gh:{host:"raw.github.com",protocol:"https"},ms:{host:"ajax.aspnetcdn.com",prefix:"ajax/"},yui:{host:"yui.yahooapis.com",formatter:a,deformatter:b}},d={getCdnByHost:function(a){var b,d;for(b in c){d=c.hasOwnProperty(b)?c[b]:{};if(d.host===a)return d.code=b,d}return null},getCdn:function(a){return c[a]},addCdn:function(a,b){c[a]=b},isFunc:function(a){return typeof a=="function"}},e=function(){return this}();e.cmbn=e.cmbn||{},e.cmbn.cdns=d})(),function(){var a=function(a,b){var c=b||{},e="",f,g;return a.forEach(function(a){var b=a.charAt(0);if("~"===b)g="/"+a;else{var c=(new RegExp("^https?://([^/]+)([^?#]+)")).exec(a),h=c[1],i=c[2],j=d.getCdnByHost(h)||[],k=j.code,l;if(j){var m=1+(j.prefix?j.prefix.length:0),l;l=d.isFunc(j.deformatter)?j.deformatter(i):i.substr(m).replace(/\//g,","),l instanceof Array&&(k+="@"+l[1],l=l[0]),g=(f===k?"":"/~"+k)+";"+l,f=k}}e+=g}),(c.protocol||"http")+"://"+(c.host||"cmbn.us")+e},b=function(){return this}(),c=b.cmbn;if(c){var d=c.cdns;c.client={combine:a}}}()
|