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BJ,cAAc,CAACC,mBAAO,CAAC,kGAAiB,CAAC,CAAC;AAC9C,CAAC,CAAC,C","sources":["webpack://starterpack/./cartridges/app_starterpack/cartridge/client/default/js/header/header.js","webpack://starterpack/./cartridges/storefront-reference-architecture/cartridges/app_storefront_base/cartridge/client/default/js/util.js","webpack://starterpack/webpack/bootstrap","webpack://starterpack/./cartridges/app_starterpack/cartridge/client/default/js/header.js"],"sourcesContent":["\"use strict\";\n\nmodule.exports = function () {\n    // let $win = $(window),\n    //     $main = $(\"#maincontent\"),\n    //     $mHeaderRich = $(\".m-header-rich\"),\n    //     $banner = $(\".header-banner\"),\n    //     navPos = $mHeaderRich.offset().top,\n    //     fixedClass = \"fixed\",\n    //     addPaddingTop = $(\"header\").outerHeight(),\n    //     stickyHeaderHeight =\n    //         $mHeaderRich.outerHeight() + $(\"nav\").outerHeight();\n    // // $win.on(\"load scroll\", function () {\n    // //     let value = $(this).scrollTop();\n    // //     if (value > navPos) {\n    // //         $banner.css(\"display\", \"none\");\n    // //         $(\"header\").addClass(fixedClass);\n    // //         $main.css(\"padding-top\", addPaddingTop);\n    // //     } else {\n    // //         $banner.css(\"display\", \"block\");\n    // //         $(\"header\").removeClass(fixedClass);\n    // //         $main.css(\"padding-top\", \"0\");\n    // //     }\n    // // });\n    // $('a[href^=\"#\"]').click(function () {\n    //     let speed = 100;\n    //     let href = $(this).attr(\"href\");\n    //     let target = $(href == \"#\" || href == \"\" ? \"html\" : href);\n    //     let position;\n    //     // // 縺顔衍繧峨○繝舌リ繝シ縺碁撼陦ィ遉コ縺九▽繝倥ャ繝€縺後せ繝�ぅ繝�く繝シ縺ァ縺ッ縺ェ縺Ыn    //     // if ($banner.css('display') === 'none' && $('header').css('position') === 'static') {\n    //     //     position =\n    //     //         target.offset().top -\n    //     //         stickyHeaderHeight -\n    //     //         $banner.outerHeight();\n    //     //     // 縺顔衍繧峨○繝舌リ繝シ縺瑚。ィ遉コ縺九▽繝倥ャ繝€縺後せ繝�ぅ繝�く繝シ縺ァ縺ッ縺ェ縺�€√∪縺溘�繝倥ャ繝€縺後せ繝�ぅ繝�く繝シ迥カ諷欺n    //     // } else {\n    //     position = target.offset().top - stickyHeaderHeight;\n    //     // }\n    //     $(\"body,html\").animate({ scrollTop: position }, speed, \"swing\");\n    //     return false;\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\nconst processInclude = require('base/util');\n\n$(document).ready(function () {\n    processInclude(require('./header/header'));\n});\n"],"names":["module","exports","_typeof","obj","Symbol","iterator","constructor","prototype","include","Object","keys","forEach","key","processInclude","require","$","document","ready"],"sourceRoot":""}