{"version":3,"file":"number-grid/index.js","mappings":";;;;;;;;;;;AAAA;;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;ACNsB;AAEtBA,MAAM,CAACC,gBAAgB,CAAC,MAAM,EAAE,YAAU;EAExC,MAAMC,kBAAkB,GAAGC,QAAQ,CAACC,gBAAgB,CAAC,uBAAuB,CAAC;EAE7E,MAAMC,IAAI,GAAIC,OAAO,IAAK;IAExBC,IAAI,CAACC,IAAI,CAACF,OAAO,CAACF,gBAAgB,CAAC,qBAAqB,CAAC,EAAE;MACzDK,aAAa,EAAE;QACbC,OAAO,EAAEJ,OAAO;QAChBK,GAAG,EAAE,KAAK;QAAI;QACdC,KAAK,EAAE,SAAS,CAAE;MACpB,CAAC;;MACDC,OAAO,EAAE,CAAC;MACVC,CAAC,EAAE,EAAE;MACLC,OAAO,EAAE;QACPC,IAAI,EAAE,IAAI;QACVC,IAAI,EAAE;MACR;IACF,CAAC,CAAC;EACJ,CAAC;EAEDf,kBAAkB,CAACgB,OAAO,CAACZ,OAAO,IAAI;IACpCD,IAAI,CAACC,OAAO,CAAC;EACf,CAAC,CAAC;AAEJ,CAAC,CAAC,C","sources":["webpack://wp-scripts-starter-theme/./blocks/number-grid/index.scss?9583","webpack://wp-scripts-starter-theme/webpack/bootstrap","webpack://wp-scripts-starter-theme/webpack/runtime/make namespace object","webpack://wp-scripts-starter-theme/./blocks/number-grid/index.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport {};","// 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","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import './index.scss';\n\nwindow.addEventListener('load', function(){\n \n const numberGridSections = document.querySelectorAll('.pd-block-number-grid')\n\n const init = (section) => {\n\n gsap.from(section.querySelectorAll('.pd_number-grid li '), {\n scrollTrigger: {\n trigger: section,\n pin: false, // pin the trigger element while active\n start: \"top 80%\", // when the top of the trigger hits the top of the viewport\n },\n opacity: 0,\n y: 20,\n stagger: {\n each: 0.25,\n ease: \"linear\"\n }\n });\n }\n\n numberGridSections.forEach(section => { \n init(section)\n })\n\n})"],"names":["window","addEventListener","numberGridSections","document","querySelectorAll","init","section","gsap","from","scrollTrigger","trigger","pin","start","opacity","y","stagger","each","ease","forEach"],"sourceRoot":""}