//>>built
define("dijit/Viewport","dojo/Evented,dojo/on,dojo/ready,dojo/sniff,dojo/_base/window,dojo/window".split(","),function(h,e,i,f,j,g){var d=new h,a;i(200,function(){var b=g.getBox();d._rlh=e(j.global,"resize",function(){var a=g.getBox();b.h==a.h&&b.w==a.w||(b=a,d.emit("resize"))});if(8==f("ie")){var c=screen.deviceXDPI;setInterval(function(){if(screen.deviceXDPI!=c)c=screen.deviceXDPI,d.emit("resize")},500)}f("ios")&&(e(document,"focusin",function(b){a=b.target}),e(document,"focusout",function(){a=
null}))});d.getEffectiveBox=function(b){var b=g.getBox(b),c=a&&a.tagName&&a.tagName.toLowerCase();if(f("ios")&&a&&!a.readOnly&&("textarea"==c||"input"==c&&/^(color|email|number|password|search|tel|text|url)$/.test(a.type)))b.h*=0==orientation||180==orientation?0.66:0.4,c=a.getBoundingClientRect(),b.h=Math.max(b.h,c.top+c.height);return b};return d});