!function(){"use strict";var t={d:function(e,n){for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{waypointExtended:function(){return n}});const n=(t,e,n)=>{n=parseInt(n?.toString(),10),Number.isNaN(n)&&(n=parseInt(t.data("et_waypoint_max_instances"),10)),Number.isNaN(n)&&(n=1);const o=t.data("et_waypoint")||[];let i=[];if("et_pb_custom"in window&&(i=window?.et_pb_custom?.waypoints_options?.context),i&&Array.isArray(i)){const n=i.find((e=>t.closest(e).length>0));n&&(e.context=n)}if(o.length<n){const n=t.waypoint(e);n&&Array.isArray(n)&&n.length>0&&(o.push(n[0]),t.data("et_waypoint",o))}else o.forEach((t=>{t.context.refresh()}))};((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryWaypointExtended=e}();