//>>built
define("demos/mobileGallery/src/css3",["dojo/_base/declare","dojo/_base/html","dojo/dom","dojo/dom-construct","dojo/on","dojo/fx","dojox/css3/fx"],function(_1,_2,_3,_4,on,fx,_5){demos.mobileGallery.src.css3=function(){_1("CSS3Demo",null,{menuNode:null,increment:360,angle:0,constructor:function(){_2.style("css3ribbon",{transform:"rotate(-45deg)"});var _6=["flip","bounce","shrink","expand","rotate","puff"];this.increment=360/_6.length;var _7=_3.byId("css3Boxes");for(var i=0,l=_6.length;i<l;i++){var _8=_4.create("div",{className:"css3Boxwrapper"});var _9=_4.create("div",{innerHTML:"<span>"+_6[i]+"</span>",className:"css3Box"},_8);_2.place(_8,_7,"last");on(_9,"click",(function(b,x){return function(){var _a=fx.chain([_5[_6[x]]({node:b})]);on(_a,"End",function(){_2.style(b,{transform:"scale(1)",opacity:"1"});});_a.play();};})(_9,i));}}});}();return {init:function(){new CSS3Demo();}};});