/**
 * Adobe Edge: symbol definitions
 */
(function($, Edge, compId){
//images folder
var im='images/';

var fonts = {};
var opts = {};
var resources = [
];
var symbols = {
"stage": {
    version: "3.0.0",
    minimumCompatibleVersion: "3.0.0",
    build: "3.0.0.322",
    baseState: "Base State",
    scaleToFit: "width",
    centerStage: "both",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
            {
                id: 'bg_1',
                type: 'image',
                rect: ['0', '0','1100px','700px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson4_11/bg_12.jpg",'0px','0px']
            },
            {
                id: 'mascot_1_animate',
                type: 'rect',
                rect: ['50', '443','auto','auto','auto', 'auto']
            },
            {
                id: 'text_1Copy',
                type: 'image',
                rect: ['51px', '180px','997px','111px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/lesson4_11/text_13.png",'0px','0px']
            },
            {
                id: 'ipst_logo',
                type: 'image',
                rect: ['25px', '25px','273px','52px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"air/ipst_logo.png",'0px','0px']
            }],
            symbolInstances: [
            {
                id: 'mascot_1_animate',
                symbolName: 'mascot_1_animate',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${_Stage}": [
                ["color", "background-color", 'rgba(255,255,255,1)'],
                ["style", "min-width", '1024px'],
                ["style", "overflow", 'hidden'],
                ["style", "height", '700px'],
                ["style", "max-width", '1100px'],
                ["style", "width", '1100px']
            ],
            "${_text_1Copy}": [
                ["style", "-webkit-transform-origin", [21,93], {valueTemplate:'@@0@@% @@1@@%'} ],
                ["style", "-moz-transform-origin", [21,93],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-ms-transform-origin", [21,93],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "msTransformOrigin", [21,93],{valueTemplate:'@@0@@% @@1@@%'}],
                ["style", "-o-transform-origin", [21,93],{valueTemplate:'@@0@@% @@1@@%'}],
                ["transform", "scaleY", '0.08'],
                ["transform", "scaleX", '0.08'],
                ["style", "opacity", '0'],
                ["style", "left", '35px'],
                ["style", "top", '237px']
            ],
            "${_mascot_1_animate}": [
                ["transform", "scaleX", '1.37011'],
                ["style", "left", '70px'],
                ["transform", "scaleY", '1.37011'],
                ["style", "top", '767px']
            ],
            "${_ipst_logo}": [
                ["style", "top", '25px'],
                ["style", "left", '25px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 2145,
            autoPlay: true,
            timeline: [
                { id: "eid31", tween: [ "style", "${_text_1Copy}", "left", '51px', { fromValue: '35px'}], position: 1332, duration: 813, easing: "easeOutBack" },
                { id: "eid28", tween: [ "transform", "${_text_1Copy}", "scaleY", '1', { fromValue: '0.08'}], position: 1332, duration: 813, easing: "easeOutBack" },
                { id: "eid21", tween: [ "transform", "${_mascot_1_animate}", "scaleX", '1.37011', { fromValue: '1.37011'}], position: 0, duration: 0 },
                { id: "eid26", tween: [ "transform", "${_mascot_1_animate}", "scaleY", '1.37011', { fromValue: '1.37011'}], position: 0, duration: 0 },
                { id: "eid29", tween: [ "transform", "${_text_1Copy}", "scaleX", '1', { fromValue: '0.08'}], position: 1332, duration: 813, easing: "easeOutBack" },
                { id: "eid27", tween: [ "style", "${_text_1Copy}", "top", '180px', { fromValue: '237px'}], position: 1332, duration: 813, easing: "easeOutBack" },
                { id: "eid25", tween: [ "style", "${_mascot_1_animate}", "left", '70px', { fromValue: '70px'}], position: 0, duration: 0 },
                { id: "eid23", tween: [ "style", "${_mascot_1_animate}", "top", '767px', { fromValue: '767px'}], position: 0, duration: 0 },
                { id: "eid24", tween: [ "style", "${_mascot_1_animate}", "top", '408px', { fromValue: '767px'}], position: 500, duration: 750, easing: "easeOutBack" },
                { id: "eid30", tween: [ "style", "${_text_1Copy}", "opacity", '1', { fromValue: '0'}], position: 1332, duration: 813, easing: "easeOutBack" }            ]
        }
    }
},
"mount_1": {
    version: "3.0.0",
    minimumCompatibleVersion: "3.0.0",
    build: "3.0.0.322",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    type: 'image',
                    display: 'block',
                    rect: ['0px', '0px', '30px', '9px', 'auto', 'auto'],
                    id: 'mouth_2',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson4_8/mouth_22.png', '0px', '0px']
                },
                {
                    type: 'ellipse',
                    borderRadius: ['50%', '50%', '50%', '50%'],
                    rect: ['0px', '5px', '30px', '4px', 'auto', 'auto'],
                    id: 'Ellipse',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    display: 'none',
                    fill: ['rgba(60,59,59,1.00)']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_Ellipse}": [
                ["style", "display", 'none'],
                ["style", "height", '4px'],
                ["color", "background-color", 'rgba(60,59,59,1.00)'],
                ["style", "top", '5px']
            ],
            "${_mouth_2}": [
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "display", 'block']
            ],
            "${symbolSelector}": [
                ["style", "height", '9px'],
                ["style", "width", '30px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 1250,
            autoPlay: true,
            labels: {
                "move": 500
            },
            timeline: [
                { id: "eid14", tween: [ "style", "${_Ellipse}", "display", 'block', { fromValue: 'none'}], position: 500, duration: 0 },
                { id: "eid15", tween: [ "style", "${_Ellipse}", "display", 'none', { fromValue: 'block'}], position: 615, duration: 0 },
                { id: "eid16", tween: [ "style", "${_Ellipse}", "display", 'block', { fromValue: 'none'}], position: 675, duration: 0 },
                { id: "eid17", tween: [ "style", "${_Ellipse}", "display", 'none', { fromValue: 'block'}], position: 750, duration: 0 },
                { id: "eid18", tween: [ "style", "${_Ellipse}", "display", 'block', { fromValue: 'none'}], position: 865, duration: 0 },
                { id: "eid19", tween: [ "style", "${_Ellipse}", "display", 'none', { fromValue: 'block'}], position: 942, duration: 0 },
                { id: "eid8", tween: [ "style", "${_mouth_2}", "display", 'none', { fromValue: 'block'}], position: 500, duration: 0 },
                { id: "eid9", tween: [ "style", "${_mouth_2}", "display", 'block', { fromValue: 'none'}], position: 615, duration: 0 },
                { id: "eid10", tween: [ "style", "${_mouth_2}", "display", 'none', { fromValue: 'block'}], position: 675, duration: 0 },
                { id: "eid11", tween: [ "style", "${_mouth_2}", "display", 'block', { fromValue: 'none'}], position: 750, duration: 0 },
                { id: "eid12", tween: [ "style", "${_mouth_2}", "display", 'none', { fromValue: 'block'}], position: 865, duration: 0 },
                { id: "eid13", tween: [ "style", "${_mouth_2}", "display", 'block', { fromValue: 'none'}], position: 942, duration: 0 }            ]
        }
    }
},
"eye_animate": {
    version: "3.0.0",
    minimumCompatibleVersion: "3.0.0",
    build: "3.0.0.322",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    type: 'image',
                    display: 'block',
                    rect: ['0px', '0px', '64px', '36px', 'auto', 'auto'],
                    id: 'eyeCopy',
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson4_8/eye2.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_eyeCopy}": [
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "display", 'block']
            ],
            "${symbolSelector}": [
                ["style", "height", '36px'],
                ["style", "width", '64px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 3000,
            autoPlay: true,
            timeline: [
                { id: "eid1", tween: [ "style", "${_eyeCopy}", "display", 'none', { fromValue: 'block'}], position: 500, duration: 0 },
                { id: "eid3", tween: [ "style", "${_eyeCopy}", "display", 'block', { fromValue: 'none'}], position: 631, duration: 0 },
                { id: "eid4", tween: [ "style", "${_eyeCopy}", "display", 'none', { fromValue: 'block'}], position: 750, duration: 0 },
                { id: "eid5", tween: [ "style", "${_eyeCopy}", "display", 'block', { fromValue: 'none'}], position: 860, duration: 0 },
                { id: "eid6", tween: [ "style", "${_eyeCopy}", "display", 'none', { fromValue: 'block'}], position: 1395, duration: 0 },
                { id: "eid7", tween: [ "style", "${_eyeCopy}", "display", 'block', { fromValue: 'none'}], position: 1500, duration: 0 }            ]
        }
    }
},
"mascot_1_animate": {
    version: "3.0.0",
    minimumCompatibleVersion: "3.0.0",
    build: "3.0.0.322",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    id: 'mascot_12',
                    type: 'image',
                    rect: ['0px', '0px', '195px', '246px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/air/lesson4_8/mascot_12.png', '0px', '0px']
                },
                {
                    id: 'mount_1',
                    type: 'rect',
                    rect: ['83', '92', 'auto', 'auto', 'auto', 'auto']
                },
                {
                    id: 'eye_animateCopy',
                    type: 'rect',
                    rect: ['116', '485', 'auto', 'auto', 'auto', 'auto']
                }
            ],
            symbolInstances: [
            {
                id: 'eye_animateCopy',
                symbolName: 'eye_animate',
                autoPlay: {

               }
            },
            {
                id: 'mount_1',
                symbolName: 'mount_1',
                autoPlay: {

               }
            }            ]
        },
    states: {
        "Base State": {
            "${_eye_animateCopy}": [
                ["style", "left", '66px'],
                ["style", "top", '42px']
            ],
            "${_mascot_12}": [
                ["style", "top", '0px'],
                ["style", "left", '0px']
            ],
            "${symbolSelector}": [
                ["style", "height", '246px'],
                ["style", "width", '195px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 1980,
            autoPlay: false,
            timeline: [
                { id: "eid20", tween: [ "style", "${_eye_animateCopy}", "left", '66px', { fromValue: '66px'}], position: 0, duration: 0 },
                { id: "eid22", tween: [ "style", "${_eye_animateCopy}", "top", '42px', { fromValue: '42px'}], position: 0, duration: 0 }            ]
        }
    }
}
};


Edge.registerCompositionDefn(compId, symbols, fonts, resources, opts);

/**
 * Adobe Edge DOM Ready Event Handler
 */
$(window).ready(function() {
     Edge.launchComposition(compId);
});
})(jQuery, AdobeEdge, "EDGE-1071171");
