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EACb,CAAC,MAAM,IAAIN,OAAA,CAAOM,OAAO,MAAK,QAAQ,EAAE;IACpCC,MAAM,CAACC,IAAI,CAACF,OAAO,CAAC,CAACG,OAAO,CAAC,UAAUC,GAAG,EAAE;MACxC,IAAI,OAAOJ,OAAO,CAACI,GAAG,CAAC,KAAK,UAAU,EAAE;QACpCJ,OAAO,CAACI,GAAG,CAAC,CAAC,CAAC;MAClB;IACJ,CAAC,CAAC;EACN;AACJ,CAAC;;;;;;UCZD;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;;;;;ACtBa;;AAEb,IAAIC,cAAc,GAAGC,mBAAO,CAAC,uFAAW,CAAC;AAEzCnB,CAAC,CAACE,QAAQ,CAAC,CAACkB,KAAK,CAAC,YAAY;EAC1BF,cAAc,CAACC,mBAAO,CAAC,yHAAiC,CAAC,CAAC;AAC9D,CAAC,CAAC,C","sources":["webpack://app_custom_dietdirect/./cartridges/app_pd/cartridge/client/default/js/videoComponent/videoComponent.js","webpack://app_custom_dietdirect/./cartridges/app_storefront_base/cartridge/client/default/js/util.js","webpack://app_custom_dietdirect/webpack/bootstrap","webpack://app_custom_dietdirect/./cartridges/app_pd/cartridge/client/default/js/videoComponent.js"],"sourcesContent":["'use strict';\n\nmodule.exports = function () {\n var $videoSrc;\n var $videoId;\n var $modalId;\n\n $('.modal').on('shown.bs.modal', function() {\n $modalId = $(document).find('.modal.fade.show').attr('id');\n $videoId = $('#'+$modalId).find('.embed-responsive-item ').attr('id');\n $videoSrc = $('#'+$videoId).attr('src');\n });\n \n $('body').on('click', '.close', function() {\n console.log(\"in close function\");\n console.log($('#'+$videoId).attr('src'))\n });\n};\n","'use strict';\n\nmodule.exports = function (include) {\n if (typeof include === 'function') {\n include();\n } else if (typeof include === 'object') {\n Object.keys(include).forEach(function (key) {\n if (typeof include[key] === 'function') {\n include[key]();\n }\n });\n }\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","'use strict';\n\nvar processInclude = require('base/util');\n\n$(document).ready(function () {\n processInclude(require('./videoComponent/videoComponent'));\n});\n"],"names":["module","exports","$videoSrc","$videoId","$modalId","$","on","document","find","attr","console","log","_typeof","o","Symbol","iterator","constructor","prototype","include","Object","keys","forEach","key","processInclude","require","ready"],"sourceRoot":""}