define(["Ti/_/lang"],function(t){var e,i=document.body,n=document.createElement("div");return n.style.width="1in",n.style.visibility="hidden",i.appendChild(n),e=parseInt(n.clientWidth),i.removeChild(n),t.setObject("Ti._",{assert:function(t,e){if(!t)throw new Error(e)},dpi:e,escapeHtmlEntities:function(t){return(""+t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")},getAbsolutePath:function(t){return/^app\:\/\//.test(t)&&(t=t.substring(6)),/^\//.test(t)&&(t=t.substring(1)),/^\/\//.test(t)||~t.indexOf("://")?t:location.pathname.replace(/(.*)\/.*/,"$1")+"/"+t},isBinaryMimeType:function(t){return/^(application|image|audio|video)\/(?!javascript|x\-javascript|atom\+xml|rss\+xml|json)/.test(t)},uuid:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var e=16*Math.random()|0,i="x"==t?e:3&e|8;return i.toString(16)}).toUpperCase()}})});