"use strict";Liferay.Loader.define("change-tracking-web$dom-helpers@5.2.0/cjs/addEventListener",["module","exports","require","@change-tracking-web$babel/runtime/helpers/interopRequireDefault","./canUseDOM"],(function(e,t,n){window;var r=n("@change-tracking-web$babel/runtime/helpers/interopRequireDefault");t.__esModule=!0,t.default=t.onceSupported=t.optionsSupported=void 0;var o=r(n("./canUseDOM")),i=!1;t.optionsSupported=i;var a=!1;t.onceSupported=a;try{var d={get passive(){return t.optionsSupported=i=!0},get once(){return t.onceSupported=a=t.optionsSupported=i=!0}};o.default&&(window.addEventListener("test",d,d),window.removeEventListener("test",d,!0))}catch(e){}t.default=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!a){var o=r.once,d=r.capture,p=n;!a&&o&&(p=n.__once||function e(r){this.removeEventListener(t,e,d),n.call(this,r)},n.__once=p),e.addEventListener(t,p,i?r:d)}e.addEventListener(t,n,r)}}));
//# sourceMappingURL=addEventListener.js.map