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

var fonts = {};    fonts['Helvetica']='';
    fonts['cabin, sans-serif']='<script src=\"http://use.edgefonts.net/cabin:n4,i4,n7,i7,n5,i5,n6,i6:all.js\"></script>';

var opts = {
    'gAudioPreloadPreference': 'true',

    'gVideoPreloadPreference': 'auto'
};
var resources = [
];
var symbols = {
"stage": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "both",
    centerStage: "both",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
            {
                id: '_03_04_BG',
                type: 'image',
                rect: ['47px', '81px','1265px','650px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"_03_04_1.png",'0px','0px']
            },
            {
                id: '_03_04_02',
                type: 'image',
                rect: ['236px', '81px','1265px','650px','auto', 'auto'],
                clip: ['rect(0px 1076.7646484375px 650px 0px)'],
                fill: ["rgba(0,0,0,0)",im+"_03_04_02.png",'0px','0px']
            },
            {
                id: '_03_04_044',
                type: 'image',
                rect: ['218px', '282px','217px','337px','auto', 'auto'],
                fill: ["rgba(0,0,0,0)",im+"_03_04_04.png",'0px','0px']
            },
            {
                id: 'descripcion',
                type: 'text',
                rect: ['100px', '165px','1138px','92px','auto', 'auto'],
                text: "Para enviar una postal se deben completar los siguientes datos:<br>",
                align: "left",
                font: ['cabin, sans-serif', 32, "rgba(37,37,37,1.00)", "bold", "none", "normal"]
            },
            {
                id: 'instruccion',
                display: 'none',
                type: 'text',
                rect: ['100px', '209px','913px','auto','auto', 'auto'],
                text: "Escucha, lee y repite el trabalenguas. <br>",
                align: "left",
                font: ['cabin, sans-serif', 26, "rgba(102,102,102,1.00)", "400", "none", "normal"]
            },
            {
                id: 'titulo',
                type: 'rect',
                rect: ['86px', '273','auto','auto','auto', 'auto']
            }],
            symbolInstances: [
            {
                id: 'titulo',
                symbolName: 'titulo',
                autoPlay: {

                }
            }
            ]
        },
    states: {
        "Base State": {
            "${_titulo}": [
                ["style", "top", '240px'],
                ["style", "opacity", '0'],
                ["style", "left", '86px']
            ],
            "${_instruccion}": [
                ["style", "top", '209px'],
                ["style", "font-size", '26px'],
                ["color", "color", 'rgba(102,102,102,1)'],
                ["style", "display", 'none'],
                ["style", "font-weight", '400'],
                ["style", "left", '100px'],
                ["style", "width", '913px']
            ],
            "${_descripcion}": [
                ["style", "top", '165px'],
                ["transform", "scaleY", '1'],
                ["style", "height", '92px'],
                ["color", "color", 'rgba(37,37,37,1.00)'],
                ["style", "clip", [0,-5.529296875,92,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ],
                ["style", "left", '100px'],
                ["transform", "scaleX", '1']
            ],
            "${__03_04_02}": [
                ["style", "top", '81px'],
                ["style", "left", '236px'],
                ["style", "clip", [0,1076.7646484375,650,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ],
            "${_Stage}": [
                ["color", "background-color", 'rgba(255,255,255,0.00)'],
                ["style", "min-width", '320px'],
                ["style", "overflow", 'hidden'],
                ["style", "height", '768px'],
                ["style", "max-width", '1366px'],
                ["style", "width", '1366px']
            ],
            "${__03_04_BG}": [
                ["style", "left", '47px'],
                ["style", "top", '81px']
            ],
            "${_ok37}": [
                ["style", "top", '177px'],
                ["style", "height", '20px'],
                ["style", "display", 'none'],
                ["style", "left", '79px'],
                ["style", "width", '20px']
            ],
            "${__03_04_044}": [
                ["style", "top", '282px'],
                ["style", "opacity", '0'],
                ["style", "left", '218px'],
                ["style", "clip", [190.58837890625,32.29443359375,337,0], {valueTemplate:'rect(@@0@@px @@1@@px @@2@@px @@3@@px)'} ]
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 1500,
            autoPlay: true,
            timeline: [
                { id: "eid1398", tween: [ "style", "${__03_04_044}", "opacity", '1', { fromValue: '0'}], position: 1000, duration: 500 },
                { id: "eid1357", tween: [ "style", "${_descripcion}", "clip", [0,1138,92,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [0,-5.529296875,92,0]}], position: 0, duration: 750 },
                { id: "eid1263", tween: [ "style", "${_instruccion}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid888", tween: [ "style", "${_ok37}", "display", 'none', { fromValue: 'none'}], position: 0, duration: 0 },
                { id: "eid1396", tween: [ "style", "${__03_04_044}", "clip", [0,217,337,0], { valueTemplate: 'rect(@@0@@px @@1@@px @@2@@px @@3@@px)', fromValue: [190.58837890625,32.29443359375,337,0]}], position: 1000, duration: 500 },
                { id: "eid1390", tween: [ "style", "${_titulo}", "opacity", '1', { fromValue: '0'}], position: 500, duration: 500, easing: "easeOutBack" },
                { id: "eid1388", tween: [ "style", "${_titulo}", "top", '460px', { fromValue: '240px'}], position: 500, duration: 500, easing: "easeOutBack" }            ]
        }
    }
},
"flecha_bt": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    type: 'rect',
                    id: 'Rectangle2',
                    stroke: [0, 'rgb(0, 0, 0)', 'none'],
                    rect: ['0px', '0px', '89px', '83px', 'auto', 'auto'],
                    fill: ['rgba(192,192,192,0.00)']
                },
                {
                    id: 'M_G01_U01_L03_03_03_06Copy2',
                    type: 'image',
                    rect: ['0px', '0px', '80px', '200px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/M_G01_U01_L03_03_03_062.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_M_G01_U01_L03_03_03_06Copy2}": [
                ["style", "left", '0px'],
                ["style", "top", '0px']
            ],
            "${_Rectangle2}": [
                ["color", "background-color", 'rgba(192,192,192,0.00)'],
                ["style", "height", '83px'],
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "width", '89px']
            ],
            "${symbolSelector}": [
                ["style", "height", '83px'],
                ["style", "width", '89px'],
                ["style", "overflow", 'hidden']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 250,
            autoPlay: false,
            labels: {
                "up": 0,
                "down": 250
            },
            timeline: [
                { id: "eid1306", tween: [ "style", "${_M_G01_U01_L03_03_03_06Copy2}", "left", '0px', { fromValue: '0px'}], position: 0, duration: 0 },
                { id: "eid1307", tween: [ "style", "${_M_G01_U01_L03_03_03_06Copy2}", "top", '0px', { fromValue: '0px'}], position: 0, duration: 0 },
                { id: "eid1308", tween: [ "style", "${_M_G01_U01_L03_03_03_06Copy2}", "top", '-110px', { fromValue: '0px'}], position: 250, duration: 0 }            ]
        }
    }
},
"titulo": {
    version: "4.0.1",
    minimumCompatibleVersion: "4.0.1",
    build: "4.0.1.365",
    baseState: "Base State",
    scaleToFit: "none",
    centerStage: "none",
    initialState: "Base State",
    gpuAccelerate: false,
    resizeInstances: false,
    content: {
            dom: [
                {
                    rect: ['0px', '0px', '284px', '242px', 'auto', 'auto'],
                    borderRadius: ['10px', '10px', '10px', '10px'],
                    id: 'RoundRect',
                    stroke: [0, 'rgba(0,0,0,1)', 'none'],
                    type: 'rect',
                    fill: ['rgba(127,179,196,1.00)']
                },
                {
                    rect: ['32px', '25px', '230px', '204px', 'auto', 'auto'],
                    font: ['cabin, sans-serif', 32, 'rgba(255,255,255,1.00)', '400', 'none', 'normal'],
                    id: 'Text',
                    text: 'Todas las cosas interesantes del viaje se escriben brevemente en el contenido .<br>',
                    align: 'left',
                    type: 'text'
                },
                {
                    id: '_03_04_05',
                    type: 'image',
                    rect: ['55px', '175px', '159px', '46px', 'auto', 'auto'],
                    fill: ['rgba(0,0,0,0)', 'images/_03_04_05.png', '0px', '0px']
                }
            ],
            symbolInstances: [
            ]
        },
    states: {
        "Base State": {
            "${_RoundRect}": [
                ["color", "background-color", 'rgba(127,179,196,1.00)'],
                ["style", "height", '242px'],
                ["style", "top", '0px'],
                ["style", "left", '0px'],
                ["style", "width", '284px']
            ],
            "${_Text}": [
                ["style", "top", '25px'],
                ["style", "font-size", '32px'],
                ["style", "height", '204px'],
                ["color", "color", 'rgba(255,255,255,1.00)'],
                ["style", "font-weight", '400'],
                ["style", "left", '32px'],
                ["style", "width", '230px']
            ],
            "${symbolSelector}": [
                ["style", "height", '240px'],
                ["style", "width", '287px']
            ],
            "${__03_04_05}": [
                ["style", "left", '55px'],
                ["style", "top", '175px']
            ]
        }
    },
    timelines: {
        "Default Timeline": {
            fromState: "Base State",
            toState: "",
            duration: 0,
            autoPlay: true,
            timeline: [
            ]
        }
    }
}
};


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

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