//>>built
define("mill/urlEnshortener","dojo/_base/lang dojo/i18n dijit/_Widget dijit/form/Button dijit/form/ValidationTextBox mill/mill".split(" "),function(h){window.mill||(mill={});mill.urlEnshortener||(mill.urlEnshortener={});dojo.mixin(mill.urlEnshortener,{registerUrl:function(f,a,b,d){a={Url:b,Handler:a||""};if(dojo.isObject(d)){b=1;for(var c in d)1==b||2==b||3==b?(a["ParamName"+b]=c,a["ParamValue"+b]=d[c],b++):-1==a.Url.indexOf("?")?a.Url=a.Url+"?"+c+"\x3d"+d[c]:a.Url=a.Url+"\x26"+c+"\x3d"+d[c]}var e=
"";dojo.xhrPost({url:mill.getRequestUrl(f,"registerUrl"),handleAs:"text",sync:!0,preventCache:!0,headers:{"Disable-Basic-Auth":"yes"},content:a,load:dojo.hitch(this,function(g){return e=g})});return e}});return mill.urlEnshortener});