!function(){function t(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,i,o,u,a=[],c=!0,s=!1;try{if(o=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(a.push(n.value),a.length!==e);c=!0);}catch(t){s=!0,i=t}finally{try{if(!c&&null!=r.return&&(u=r.return(),Object(u)!==u))return}finally{if(s)throw i}}return a}}(t,r)||function(t,r){if(!t)return;if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(t,r)}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}System.register(["./index-legacy-DF2p3puw.js"],(function(e,r){"use strict";var n;return{setters:[function(t){n=t.r}],execute:function(){e("u",(function(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=r.threshold,o=r.delay,u=r.trackVisibility,a=r.rootMargin,c=r.root,l=r.triggerOnce,f=r.skip,d=r.initialInView,v=r.fallbackInView,y=r.onChange,h=n.useState(null),g=t(h,2),b=g[0],m=g[1],p=n.useRef(),w=n.useState({inView:!!d,entry:void 0}),V=t(w,2),S=V[0],A=V[1];p.current=y,n.useEffect((function(){var t;if(!f&&b)return t=s(b,(function(e,r){A({inView:e,entry:r}),p.current&&p.current(e,r),r.isIntersecting&&l&&t&&(t(),t=void 0)}),{root:c,rootMargin:a,threshold:i,trackVisibility:u,delay:o},v),function(){t&&t()}}),[Array.isArray(i)?i.toString():i,b,c,a,l,f,u,v,o]);var I=null==(e=S.entry)?void 0:e.target,O=n.useRef();b||!I||l||f||O.current===I||(O.current=I,A({inView:!!d,entry:void 0}));var j=[m,S.inView,S.entry];return j.ref=j[0],j.inView=j[1],j.entry=j[2],j}));var r=new Map,i=new WeakMap,o=0,u=void 0;function a(t){return Object.keys(t).sort().filter((function(e){return void 0!==t[e]})).map((function(e){return"".concat(e,"_").concat("root"===e?(r=t.root)?(i.has(r)||(o+=1,i.set(r,o.toString())),i.get(r)):"0":t[e]);var r})).toString()}function c(t){var e=a(t),n=r.get(e);if(!n){var i,o=new Map,u=new IntersectionObserver((function(e){e.forEach((function(e){var r,n=e.isIntersecting&&i.some((function(t){return e.intersectionRatio>=t}));t.trackVisibility&&void 0===e.isVisible&&(e.isVisible=n),null==(r=o.get(e.target))||r.forEach((function(t){t(n,e)}))}))}),t);i=u.thresholds||(Array.isArray(t.threshold)?t.threshold:[t.threshold||0]),n={id:e,observer:u,elements:o},r.set(e,n)}return n}function s(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u;if(void 0===window.IntersectionObserver&&void 0!==i){var o=t.getBoundingClientRect();return e(i,{isIntersecting:i,target:t,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),function(){}}var a=c(n),s=a.id,l=a.observer,f=a.elements,d=f.get(t)||[];return f.has(t)||f.set(t,d),d.push(e),l.observe(t),function(){d.splice(d.indexOf(e),1),0===d.length&&(f.delete(t),l.unobserve(t)),0===f.size&&(l.disconnect(),r.delete(s))}}}}}))}();
