/**
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/2815083
* @preserve
**/

(function (_ref) {
  var behaviors = _ref.behaviors;
  behaviors.js_interaction_test_trigger_link = {
    attach: function attach() {
      var removeBlockerTrigger = once('remove-blocker-trigger', '.remove-blocker-trigger').shift();
      removeBlockerTrigger.addEventListener('click', function (event) {
        event.preventDefault();
        setTimeout(function () {
          document.querySelector('.blocker-element').remove();
        }, 100);
      });
      var enableFieldTrigger = once('enable-field-trigger', '.enable-field-trigger').shift();
      enableFieldTrigger.addEventListener('click', function (event) {
        event.preventDefault();
        setTimeout(function () {
          document.querySelector('input[name="target_field"]').disabled = false;
        }, 100);
      });
    }
  };
})(Drupal);