hunk.code_window:     };
       // Modifiers have the ability to read the current Popper.js state, included
       // the popper offsets, and modify it to address specifc cases
       this.state = this.state.orderedModifiers.reduce(
         (state, { fn, enabled, options }) => {
           if (enabled && typeof fn === 'function') {
             state = fn((this.state: State), options);
           }
           return state;
         },
         this.state
       );
     }
     enableEventListeners(
       eventListeners: boolean | { scroll?: boolean, resize?: boolean }
  
hunk.labels: keep keep keep keep replace replace replace replace replace replace replace replace replace keep keep keep keep
hunk.after_edit:     this.state.reset = false;
       for (let index = 0; index < this.state.orderedModifiers.length; index++) {
         const { fn, enabled, options } = this.state.orderedModifiers[index];
         if (this.state.reset === true) {
           this.state.reset = false;
           index = 0;
           continue;
         }
         if (enabled && typeof fn === 'function') {
           this.state = fn((this.state: State), options);
         }
       }
  
hunk.file_path: src/index.js
hunk.type: replace
file: // @flow
  
  export default function getHTMLElementScroll(element: HTMLElement) {
    return {
      scrollLeft: element.scrollLeft,
      scrollTop: element.scrollTop,
    };
  }
  