(self.webpackChunkcontainer=self.webpackChunkcontainer||[]).push([[38],{57458:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=r(41357),i=r(87612),o=r(56170),a=r(33031),u=r(20826),s=r(33215),c=r(7350),l=r(5556),f=r(49794),d=r(70379),p=r(97200),h=r(63950),v=r(90179),g=r(35292),y=r(51216),m=r(16351),b=r(53811),w=r(46044),x=r(1389),_=r(4364),S=r(11554);function E(t){return t&&"object"==typeof t&&"default"in t?t:{"default":t}}var C,k=E(n),T=E(i),O=E(o),A=E(a),R=E(u),P=E(s),M=E(c),L=E(l),I=E(f),N=E(p),j=E(h),F=E(v),D=E(g),B=E(y),z=E(m),U=E(b),H=E(w),V=E(x),K=E(_),W=E(S);function q(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r1){for(var a=Array(o),u=0;u=0;--o){var a=this.tryEntries[o],u=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),g}},"catch":function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;A(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}var et,rt=k["default"].createContext(),nt=rt.Provider,it=rt.Consumer,ot=function(t){for(var e=t.offsetParent,r=t.offsetHeight,n=t.offsetWidth,i=t.offsetLeft,o=t.offsetTop;e&&1===e.nodeType;)i+=e.offsetLeft-e.scrollLeft,o+=e.offsetTop-e.scrollTop,e=e.offsetParent;return{height:r,left:i,top:o,width:n}},at=window.innerWidth,ut=window.innerHeight,st=function(){function t(){this.debugCtx=t.createCanvas("sn-debug",1010),this.layoutsCtx=t.createCanvas("sn-layouts",1e3)}t.createCanvas=function(t,e){var r=document.querySelector("#"+t)||document.createElement("canvas");r.setAttribute("id",t);var n=r.getContext("2d");return r.style="position: fixed; top: 0; left: 0; z-index: "+e,document.body.appendChild(r),r.width=at,r.height=ut,n};var e=t.prototype;return e.clear=function(){this.debugCtx.clearRect(0,0,at,ut)},e.clearLayouts=function(){this.layoutsCtx.clearRect(0,0,at,ut)},e.drawLayout=function(t,e,r){this.layoutsCtx.strokeStyle="green",this.layoutsCtx.strokeRect(t.left,t.top,t.width,t.height),this.layoutsCtx.font="8px monospace",this.layoutsCtx.fillStyle="red",this.layoutsCtx.fillText(e,t.left,t.top+10),this.layoutsCtx.fillText(r,t.left,t.top+25),this.layoutsCtx.fillText("left: "+t.left,t.left,t.top+40),this.layoutsCtx.fillText("top: "+t.top,t.left,t.top+55)},e.drawPoint=function(t,e,r,n){void 0===r&&(r="blue"),void 0===n&&(n=10),this.debugCtx.strokeStyle=r,this.debugCtx.lineWidth=3,this.debugCtx.strokeRect(t-n/2,e-n/2,n,n)},t}(),ct="SN:ROOT",lt="left",ft="right",dt="up",pt="down",ht="enter",vt=((et={})[lt]=37,et[dt]=38,et[ft]=39,et[pt]=40,et[ht]=13,et),gt={leading:!0,trailing:!1},yt=function(){function t(){this.focusableComponents={},this.focusKey=null,this.parentsHavingFocusedChild=[],this.enabled=!1,this.nativeMode=!1,this.throttle=0,this.pressedKeys={},this.paused=!1,this.keyDownEventListener=null,this.keyUpEventListener=null,this.keyMap=vt,this.onKeyEvent=this.onKeyEvent.bind(this),this.pause=this.pause.bind(this),this.resume=this.resume.bind(this),this.setFocus=this.setFocus.bind(this),this.navigateByDirection=this.navigateByDirection.bind(this),this.init=this.init.bind(this),this.setKeyMap=this.setKeyMap.bind(this),this.debug=!1,this.visualDebugger=null,this.direction=null,this.logIndex=0}t.getCutoffCoordinate=function(t,e,r,n){var i=n.left,o=n.top,a=n.width,u=n.height,s=t?o:i,c=t?u:a;return e?r?s:s+c:r?s+c:s},t.getRefCorners=function(t,e,r){var n=r.left,i=r.top,o=r.width,a=r.height,u={a:{x:0,y:0},b:{x:0,y:0}};switch(t){case dt:var s=e?i+a:i;u.a={x:n,y:s},u.b={x:n+o,y:s};break;case pt:var c=e?i:i+a;u.a={x:n,y:c},u.b={x:n+o,y:c};break;case lt:var l=e?n+o:n;u.a={x:l,y:i},u.b={x:l,y:i+a};break;case ft:var f=e?n:n+o;u.a={x:f,y:i},u.b={x:f,y:i+a}}return u},t.isAdjacentSlice=function(t,e,r){var n=t.a,i=t.b,o=e.a,a=e.b,u=r?"x":"y",s=n[u],c=i[u],l=o[u],f=a[u],d=.2*(c-s);return Math.max(0,Math.min(c,f)-Math.max(s,l))>=d},t.getPrimaryAxisDistance=function(t,e,r){var n=t.a,i=e.a,o=r?"y":"x";return Math.abs(i[o]-n[o])},t.getSecondaryAxisDistance=function(t,e,r){var n=t.a,i=t.b,o=e.a,a=e.b,u=r?"x":"y",s=n[u],c=i[u],l=o[u],f=a[u],d=[];return d.push(Math.abs(l-s)),d.push(Math.abs(l-c)),d.push(Math.abs(f-s)),d.push(Math.abs(f-c)),Math.min.apply(Math,d)};var e=t.prototype;return e.sortSiblingsByPriority=function(e,r,n,i){var o=n===pt||n===dt,a=t.getRefCorners(n,!1,r);return A["default"](e,(function(e){var r=t.getRefCorners(n,!0,e.layout),i=t.isAdjacentSlice(a,r,o),u=i?t.getPrimaryAxisDistance:t.getSecondaryAxisDistance,s=i?t.getSecondaryAxisDistance:t.getPrimaryAxisDistance;return(5*u(a,r,o)+s(a,r,o)+1)/(i?5:1)}))},e.init=function(t){var e=void 0===t?{}:t,r=e.debug,n=void 0!==r&&r,i=e.visualDebug,o=void 0!==i&&i,a=e.nativeMode,u=void 0!==a&&a,s=e.throttle,c=void 0===s?0:s;this.enabled||(this.enabled=!0,this.nativeMode=u,this.debug=n,this.nativeMode||(Number.isInteger(c)&&c>0&&(console.log("THROTTLE",c),this.throttle=c,console.log("THROTTLE",c)),this.bindEventHandlers(),o&&(this.visualDebugger=new st,this.startDrawLayouts())))},e.startDrawLayouts=function(){var t=this,e=function(){requestAnimationFrame((function(){t.visualDebugger.clearLayouts(),P["default"](t.focusableComponents,(function(e,r){t.visualDebugger.drawLayout(e.layout,r,e.parentFocusKey)})),e()}))};e()},e.destroy=function(){this.enabled&&(this.enabled=!1,this.nativeMode=!1,this.throttle=0,this.focusKey=null,this.parentsHavingFocusedChild=[],this.focusableComponents={},this.paused=!1,this.keyMap=vt,this.unbindEventHandlers())},e.getEventType=function(t){return R["default"](this.getKeyMap(),(function(e){return t===e}))},e.bindEventHandlers=function(){var t=this;window&&(this.keyDownEventListener=function(e){if(!0!==t.paused){t.debug&&(t.logIndex+=1);var r=t.getEventType(e.keyCode);if(r){t.pressedKeys[r]=t.pressedKeys[r]?t.pressedKeys[r]+1:1,e.preventDefault(),e.stopPropagation();var n={pressedKeys:t.pressedKeys};r===ht&&t.focusKey?t.onEnterPress(n):!1===t.onArrowPress(r,n)?t.visualDebugger&&t.visualDebugger.clear():t.onKeyEvent(e)}}},this.throttle&&(this.keyDownEventListener=M["default"](this.keyDownEventListener.bind(this),this.throttle,gt)),this.keyUpEventListener=function(e){var r=t.getEventType(e.keyCode);delete t.pressedKeys[r],!0!==t.paused&&r&&r!==ht&&t.onArrowRelease(r)},window.addEventListener("keyup",this.keyUpEventListener),window.addEventListener("keydown",this.keyDownEventListener))},e.unbindEventHandlers=function(){window&&(window.removeEventListener("keydown",this.keyDownEventListener),this.keyDownEventListener=null,this.throttle&&(window.removeEventListener("keyup",this.keyUpEventListener),this.keyUpEventListener=null))},e.onEnterPress=function(t){var e=this.focusableComponents[this.focusKey];e&&e.focusable&&e.onEnterPressHandler&&e.onEnterPressHandler(t)},e.onArrowPress=function(){var t=this.focusableComponents[this.focusKey];if(t)return t&&t.onArrowPressHandler&&t.onArrowPressHandler.apply(t,arguments)},e.onArrowRelease=function(){var t=this.focusableComponents[this.focusKey];if(t)return t&&t.onArrowReleaseHandler&&t.onArrowReleaseHandler.apply(t,arguments)},e.navigateByDirection=function(t,e,r){void 0===e&&(e={}),void 0===r&&(r=!1),!0!==this.paused&&[pt,dt,lt,ft].includes(t)&&(this.smartNavigate(t,null,e),r&&(this.direction=t))},e.onKeyEvent=function(t){this.visualDebugger&&this.visualDebugger.clear();var e=R["default"](this.getKeyMap(),(function(e){return t.keyCode===e}));this.direction=e,this.smartNavigate(e,null,{event:t})},e.smartNavigate=function(e,r,n){var i=this.focusableComponents[r||this.focusKey];if(i){var o=i.parentFocusKey,a=i.focusKey,u=i.layout,s=i.isLeafMatrix,c=e===pt||e===dt,l=e===pt||e===ft,f=t.getCutoffCoordinate(c,l,!1,u),d=T["default"](this.focusableComponents,(function(e){if(s&&e.isLeafMatrix){if(c&&e.parentFocusKey!==o&&e.focusable&&void 0===e.trackChildren){var r=t.getCutoffCoordinate(c,l,!0,e.layout);return l?r>=f:r<=f}if(e.parentFocusKey===o&&e.focusable){var n=t.getCutoffCoordinate(c,l,!0,e.layout);return l?n>=f:n<=f}}else if(e.parentFocusKey===o&&e.focusable){if(c&&e.isGrid&&void 0!==e.trackChildren){var i=t.getCutoffCoordinate(c,l,!0,e.layout);return l?i>=f:i<=f}var a=t.getCutoffCoordinate(c,l,!0,e.layout);return l?a>=f:a<=f}})),p=this.sortSiblingsByPriority(d,u,e,a),h=O["default"](p);if(h)this.setFocus(h.focusKey,null,n);else{var v=this.focusableComponents[o];this.saveLastFocusedChildKey(v,a),v&&!v.remainInFocus&&this.smartNavigate(e,o,n)}}},e.saveLastFocusedChildKey=function(t,e){t&&(t.lastFocusedChildKey=e)},e.log=function(t,e){},e.getNextFocusKey=function(t,e){var r=this.focusableComponents[t];if(!r||this.nativeMode)return t;var n=T["default"](this.focusableComponents,(function(e){return e.parentFocusKey===t&&e.focusable}));if(n.length>0){var i=r.lastFocusedChildKey,o=r.preferredChildFocusKey;if(i&&!r.forgetLastFocusedChild&&this.isParticipatingFocusableComponent(i))return this.getNextFocusKey(i);if(o&&this.isParticipatingFocusableComponent(o))return this.getNextFocusKey(o);var a=function(t){var e=A["default"](t,(function(t){var e=t.layout;return Math.abs(e.left)+Math.abs(e.top)}));return O["default"](e)}(n).focusKey;return this.getNextFocusKey(a)}return t},e.addFocusable=function(t){var e=t.focusKey,r=t.node,n=t.parentFocusKey,i=t.onEnterPressHandler,o=t.onArrowPressHandler,a=t.onArrowReleaseHandler,u=t.onBecameFocusedHandler,s=t.onBecameBlurredHandler,c=t.forgetLastFocusedChild,l=t.trackChildren,f=t.onUpdateFocus,d=t.onUpdateHasFocusedChild,p=t.preferredChildFocusKey,h=t.autoRestoreFocus,v=t.focusable,g=t.remainInFocus,y=t.isGrid,m=t.isLeafMatrix;this.focusableComponents[e]={focusKey:e,node:r,parentFocusKey:n,onEnterPressHandler:i,onArrowPressHandler:o,onArrowReleaseHandler:a,onBecameFocusedHandler:u,onBecameBlurredHandler:s,onUpdateFocus:f,onUpdateHasFocusedChild:d,forgetLastFocusedChild:c,trackChildren:l,lastFocusedChildKey:null,preferredChildFocusKey:p,focusable:v,autoRestoreFocus:h,remainInFocus:g,isGrid:y,isLeafMatrix:m,layout:{x:0,y:0,width:0,height:0,left:0,top:0,node:r}},this.nativeMode||(this.updateLayout(e),e===this.focusKey&&this.setFocus(e))},e.removeFocusable=function(t){var e=t.focusKey,r=this.focusableComponents[e];if(r){var n=r.parentFocusKey;delete this.focusableComponents[e];var i=this.focusableComponents[n],o=e===this.focusKey;if(i&&i.lastFocusedChildKey===e&&(i.lastFocusedChildKey=null),this.nativeMode)return;o&&i&&i.autoRestoreFocus&&this.setFocus(n)}},e.getNodeLayoutByFocusKey=function(t){var e=this.focusableComponents[t];return e?e.layout:null},e.getFocusableComponent=function(t){if(void 0===t&&(t=this.focusKey),"string"!=typeof t)return null;var e=this.focusableComponents[t];return void 0===e?null:e},e.getCurrentFocusedComponent=function(){return this.getFocusableComponent(this.focusKey)},e.getLastDirection=function(){return this.direction},e.getCurrentFocusedKey=function(){return this.focusKey},e.setCurrentFocusedKey=function(t,e){var r=this.focusKey;if(this.isFocusableComponent(this.focusKey)&&t!==this.focusKey){var n=this.focusableComponents[this.focusKey],i=this.focusableComponents[n.parentFocusKey];this.saveLastFocusedChildKey(i,this.focusKey),n.onUpdateFocus(!1),n.onBecameBlurredHandler(this.getNodeLayoutByFocusKey(this.focusKey),e),this.updateParentsHasLostFocused(this.focusKey,t)}if(this.focusKey=t,this.isFocusableComponent(this.focusKey)){var o=this.focusableComponents[this.focusKey];o.onUpdateFocus(!0),o.onBecameFocusedHandler(this.getNodeLayoutByFocusKey(this.focusKey),e),this.updateParentsHasFocusedChild(this.focusKey,r)}},e.updateParentsHasLostFocused=function(t,e){for(var r=this.focusableComponents[e],n=this.focusableComponents[t],i=ct;n;){var o=n.parentFocusKey,a=this.focusableComponents[o];i=r?r.parentFocusKey:ct;var u=this.focusableComponents[i];a&&(u?a.focusKey!==u.focusKey&&this.onIntermediateNodeBecameBlurred(a.focusKey,null):this.onIntermediateNodeBecameBlurred(a.focusKey,null)),n=a,r=u}},e.updateParentsHasFocusedChild=function(t,e){for(var r=this.focusableComponents[e],n=this.focusableComponents[t],i=ct;n;){var o=n.parentFocusKey,a=this.focusableComponents[o];i=r?r.parentFocusKey:ct;var u=this.focusableComponents[i];a&&(u?a.focusKey!==u.focusKey&&this.onIntermediateNodeBecameFocused(a.focusKey,null):this.onIntermediateNodeBecameFocused(a.focusKey,null)),n=a,r=u}},e.updateParentsLastFocusedChild=function(t){for(var e=this.focusableComponents[t];e;){var r=e.parentFocusKey,n=this.focusableComponents[r];n&&this.saveLastFocusedChildKey(n,e.focusKey),e=n}},e.getKeyMap=function(){return this.keyMap},e.setKeyMap=function(t){this.keyMap=J(J({},this.getKeyMap()),t)},e.isFocusableComponent=function(t){return!!this.focusableComponents[t]},e.isParticipatingFocusableComponent=function(t){return this.isFocusableComponent(t)&&this.focusableComponents[t].focusable},e.onIntermediateNodeBecameFocused=function(t,e){this.isParticipatingFocusableComponent(t)&&this.focusableComponents[t].onBecameFocusedHandler(this.getNodeLayoutByFocusKey(t),e)},e.onIntermediateNodeBecameBlurred=function(t,e){this.isParticipatingFocusableComponent(t)&&this.focusableComponents[t].onBecameBlurredHandler(this.getNodeLayoutByFocusKey(t),e)},e.pause=function(){this.paused=!0},e.resume=function(){this.paused=!1},e.setFocus=function(t,e,r,n){if(void 0===r&&(r={}),void 0===n&&(n=!1),this.enabled){n&&(this.direction=null);var i=e||t,o=this.focusKey,a=this.getNextFocusKey(i,r);this.setCurrentFocusedKey(a,r,n),this.updateParentsLastFocusedChild(o)}},e.updateAllLayouts=function(){var t=this;this.nativeMode||P["default"](this.focusableComponents,(function(e,r){t.updateLayout(r)}))},e.updateLayout=function(t){var e=this.focusableComponents[t];if(e&&!this.nativeMode){var r=e.node;!function(t,e){var r=t&&t.parentNode;if(t&&r){var n=ot(r),i=ot(t),o=i.height,a=i.left,u=i.top,s=i.width;e(a-n.left,u-n.top,s,o,a,u)}}(r,(function(t,n,i,o,a,u){e.layout={x:t,y:n,width:i,height:o,left:a,top:u,node:r}}))}},e.updateFocusable=function(t,e){var r=e.node,n=e.preferredChildFocusKey,i=e.focusable,o=e.remainInFocus,a=e.forgetLastFocusedChild;if(!this.nativeMode){var u=this.focusableComponents[t];u&&(u.preferredChildFocusKey=n,u.focusable=i,u.remainInFocus=o,u.forgetLastFocusedChild=a,r&&(u.node=r))}},e.isNativeMode=function(){return this.nativeMode},t}(),mt=new yt,bt=function(t){var e=mt;return null!==window.spatial&&void 0!==window.spatial?e=window.spatial:window.spatial=e,Q(nt,{value:{focusTo:function(t){return e.setFocus(t,void 0,{},!0)},navigateByDirection:e.navigateByDirection,pauseSpatialNavigation:function(t){void 0===t&&(t=!1),e.enabled=t,e.paused=!0},resumeSpatialNavigation:function(){e.enabled=!0,e.paused=!1}}},void 0,t.children)};function wt(t,e){void 0===e&&(e={});var r=e.insertAt;if(t&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===r&&n.firstChild?n.insertBefore(i,n.firstChild):n.appendChild(i),i.styleSheet?i.styleSheet.cssText=t:i.appendChild(document.createTextNode(t))}}wt(".antares-container {\r\n background-color: rgba(0, 0, 0, 0.0001);\r\n width: 100%;\r\n height: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n\r\n.antares-lists-container {\r\n width: 100%;\r\n height: 100%;\r\n}\r\n\r\n::-webkit-scrollbar {\r\n display: none;\r\n}\r\n\r\nbody {\r\n overflow: hidden;\r\n}\r\n\r\n.enhance-performace {\r\n will-change: transform, opacity, border;\r\n transform-style: preserve-3d;\r\n}"),wt(".secret-menu-container {\r\n position: absolute;\r\n width: 100%;\r\n height: 100%;\r\n left: 0;\r\n top: 0;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n flex-direction: column;\r\n background-color: rgba(0, 0, 0, 0.6);\r\n}\r\n\r\n.secret-menu-paper {\r\n background: #D8D8D8;\r\n box-shadow: 0 2px 9px 0 rgba(0,0,0,0.50);\r\n width: calc((100vw * 1000)/1920);\r\n height: calc((100vw * 615)/1920);\r\n display: flex;\r\n align-items: center;\r\n flex-direction: column;\r\n justify-content: center;\r\n}"),wt(".antares-scrollable-text-area {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n flex-direction: column;\r\n width: 100%;\r\n height: auto;\r\n}\r\n\r\n.antares-scrollable-text-area-container {\r\n display: flex;\r\n align-items: flex-start;\r\n justify-content: flex-start;\r\n flex-direction: row;\r\n width: 100%;\r\n height: 100%; \r\n}\r\n\r\n.antares-scrollable-text-area-wrapper {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n width: 100%;\r\n height: 100%;\r\n overflow: scroll;\r\n}\r\n\r\n.antares-text-area-scrollbar {\r\n width: auto;\r\n height: 100%;\r\n display: flex;\r\n align-items: flex-start;\r\n justify-content: center;\r\n flex-direction: column;\r\n}\r\n\r\n.antares-text-area-scrollbar-bar-container {\r\n width: 100%;\r\n height: 100%;\r\n display: flex;\r\n align-items: flex-start;\r\n justify-content: center;\r\n}\r\n\r\n.antares-text-area-scrollbar-cursor {\r\n width: 3px;\r\n height: auto;\r\n margin-top: 2px;\r\n}\r\n\r\n.antares-text-area-text {\r\n font-size: 20px;\r\n width: 90%;\r\n}"),wt(".rcs-custom-scroll {\r\n min-height: 0;\r\n min-width: 0; \r\n}\r\n .rcs-custom-scroll .rcs-outer-container {\r\n overflow: hidden; \r\n }\r\n .rcs-custom-scroll .rcs-outer-container .rcs-positioning {\r\n position: relative; \r\n }\r\n .rcs-custom-scroll .rcs-outer-container:hover .rcs-custom-scrollbar {\r\n opacity: 1;\r\n transition-duration: 0.2s; \r\n }\r\n .rcs-custom-scroll .rcs-inner-container {\r\n overflow-x: hidden;\r\n overflow-y: scroll;\r\n -webkit-overflow-scrolling: touch; \r\n }\r\n .rcs-custom-scroll .rcs-inner-container:after {\r\n content: '';\r\n position: absolute;\r\n top: 0;\r\n right: 0;\r\n left: 0;\r\n height: 0;\r\n background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.05) 60%, transparent 100%);\r\n pointer-events: none;\r\n transition: height 0.1s ease-in;\r\n will-change: height; \r\n }\r\n .rcs-custom-scroll .rcs-inner-container.rcs-content-scrolled:after {\r\n height: 5px;\r\n transition: height 0.15s ease-out; \r\n }\r\n .rcs-custom-scroll.rcs-scroll-handle-dragged .rcs-inner-container {\r\n -webkit-user-select: none;\r\n -moz-user-select: none;\r\n user-select: none; \r\n }\r\n .rcs-custom-scroll .rcs-custom-scrollbar {\r\n position: absolute;\r\n height: 100%;\r\n width: 6px;\r\n right: 3px;\r\n opacity: 1;\r\n z-index: 1;\r\n transition: opacity 0.4s ease-out;\r\n padding: 6px 0;\r\n box-sizing: border-box;\r\n will-change: opacity;\r\n pointer-events: none; \r\n }\r\n .rcs-custom-scroll .rcs-custom-scrollbar.rcs-custom-scrollbar-rtl {\r\n right: auto;\r\n left: 3px; \r\n }\r\n .rcs-custom-scroll.rcs-scroll-handle-dragged .rcs-custom-scrollbar {\r\n opacity: 1; \r\n }\r\n .rcs-custom-scroll .rcs-custom-scroll-handle {\r\n position: absolute;\r\n width: 100%;\r\n top: 0; \r\n }\r\n .rcs-custom-scroll .rcs-inner-handle {\r\n height: calc(100% - 12px);\r\n margin-top: 6px;\r\n background-color: rgba(78, 183, 245, 0.7);\r\n border-radius: 3px; \r\n }");var xt=function(t,e,r){void 0===e&&(e=200),void 0===r&&(r=!1);var n=!1,i=function(r){n||(n=!0,setTimeout((function(){n=!1}),e),t&&t(r))};return document.addEventListener("keydown",i,r),i},_t=function(t){document.removeEventListener("keydown",t)},St=n.forwardRef((function(t,e){var r=n.useState(0),i=r[0],o=r[1],a=n.useRef(0),u=n.useRef(!1),s=n.useRef(!0),c=n.useState(null),l=c[0],f=c[1],d=n.useRef(null),p=n.useRef(!0);n.useImperativeHandle(e,(function(){return{setScrollref:function(t){p.current=t}}})),n.useEffect((function(){return d.current=xt(h),function(){_t(d.current)}}),[]),n.useEffect((function(){l!==t.text&&(f(t.text),o(0),s.current=!0,u.current=!1)}),[t.text]);var h=function(t){if(p.current)return 38===t.keyCode?(t.preventDefault(),s.current||v("up")):40===t.keyCode&&(t.preventDefault(),u.current||v("down")),!1},v=function(e){var r=t.lineHeight*t.scrollRatioFactor,n=null;null!==e&&null!==(n="up"===e?-1:1)&&(a.current=a.current+r*n<=0?0:a.current+r*n,o(a.current))};return Q("div",{className:"antares-scrollable-text-area-container "+t.containerClassname},void 0,Q("div",{className:"antares-scrollable-text-area-wrapper"},void 0,Q(I["default"],{heightRelativeToParent:"calc(100% - "+t.heightRelativeToParent+"px)",scrollTo:i,minScrollHandleHeight:t.minScrollHandleHeight,onScroll:function(e){var r=e.currentTarget;r.scrollTop<=0?(s.current=!0,u.current=!1):r.scrollHeight-Math.round(r.scrollTop)===r.clientHeight?(s.current=!1,u.current=!0):(s.current=!1,u.current=!1),t.onScroll&&t.onScroll(s.current,u.current)}},void 0,Q("div",{className:"antares-scrollable-text-area "+t.classnameTextArea,id:"antares-scrollable-text-area"},void 0,Q("span",{className:"antares-text-area-text "+t.textClassName,id:"antares-scrollable-text-area-text",dangerouslySetInnerHTML:{__html:t.text}})))))}));St.propTypes={onScroll:L["default"].func,containerClassname:L["default"].string,textAreaClassname:L["default"].string,text:L["default"].string,textClassName:L["default"].string,minScrollHandleHeight:L["default"].number,heightRelativeToParent:L["default"].number,scrollRatioFactor:L["default"].number,lineHeight:L["default"].number,active:L["default"].bool},St.defaultProps={onScroll:function(){},text:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur non enim a diam maximus condimentum. Praesent venenatis, sapien vitae ullamcorper tempor, nisi elit hendrerit dolor, quis convallis lacus odio posuere elit. Suspendisse a fermentum mi. Sed sed mi sed arcu ullamcorper tempus et sed augue. Integer et augue sollicitudin, lacinia risus in, mattis neque. Duis lobortis scelerisque semper. Pellentesque mattis ex at auctor sodales. Nunc posuere feugiat quam. Aenean id felis pharetra, faucibus erat interdum, rutrum magna. Nunc laoreet elementum tellus, eget faucibus nisl rutrum venenatis. Phasellus dictum gravida neque a placerat. Cras porttitor, dui id venenatis vulputate, odio risus venenatis ligula, non aliquam urna libero id sem. Sed consectetur velit quam, in finibus tortor dapibus sed. Proin eu placerat ipsum. Ut vel facilisis libero. Morbi venenatis, ex sit amet molestie molestie, lorem urna aliquet metus, quis volutpat nibh nisi a lorem. Nam convallis in odio vitae aliquet. Mauris egestas diam hendrerit tortor fringilla molestie. Duis vel tincidunt elit. Maecenas sed libero sem. Nullam consectetur ornare justo, eget sodales mauris egestas sed. Quisque rhoncus vitae justo vel rutrum. Mauris vulputate aliquam luctus. Integer pharetra ligula sit amet consectetur porta. Vestibulum fermentum vel velit vel luctus. Pellentesque tincidunt consequat lacus, quis consectetur sapien. Proin ultrices vehicula elit et scelerisque. Cras porttitor, dui id venenatis vulputate, odio risus venenatis ligula, non aliquam urna libero id sem. Sed consectetur velit quam, in finibus tortor dapibus sed. Proin eu placerat ipsum. Ut vel facilisis libero. Morbi venenatis, ex sit amet molestie molestie, lorem urna aliquet metus, quis volutpat nibh nisi a lorem. Nam convallis in odio vitae aliquet. Mauris egestas diam hendrerit tortor fringilla molestie. Duis vel tincidunt elit. Maecenas sed libero sem. Nullam consectetur ornare justo, eget sodales mauris egestas sed. Quisque rhoncus vitae justo vel rutrum. Mauris vulputate aliquam luctus. Integer pharetra ligula sit amet consectetur porta. Vestibulum fermentum vel velit vel luctus. Pellentesque tincidunt consequat lacus, quis consectetur sapien. Proin ultrices vehicula elit et scelerisque. ##### Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur non enim a diam maximus condimentum. Praesent venenatis, sapien vitae ullamcorper tempor, nisi elit hendrerit dolor, quis convallis lacus odio posuere elit. Suspendisse a fermentum mi. Sed sed mi sed arcu ullamcorper tempus et sed augue. Integer et augue sollicitudin, lacinia risus in, mattis neque. Duis lobortis scelerisque semper. Pellentesque mattis ex at auctor sodales. Nunc posuere feugiat quam. Aenean id felis pharetra, faucibus erat interdum, rutrum magna. ######### Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur non enim a diam maximus condimentum. Praesent venenatis, sapien vitae ullamcorper tempor, nisi elit hendrerit dolor, quis convallis lacus odio posuere elit. Suspendisse a fermentum mi. Sed sed mi sed arcu ullamcorper tempus et sed augue. Integer et augue sollicitudin, lacinia risus in, mattis neque. Duis lobortis scelerisque semper. Pellentesque mattis ex at auctor sodales.",minScrollHandleHeight:10,heightRelativeToParent:0,scrollRatioFactor:1.618,lineHeight:40,active:!0};var Et=function(t){var e=n.useState({}),r=e[0],i=e[1];n.useEffect((function(){return window.addEventListener("keydown",u),function(){window.removeEventListener("keydown",u)}}),[]),n.useEffect((function(){JSON.stringify(t.infos)!==JSON.stringify(r)&&i(t.infos)}),[t.infos]);var o,a,u=function(e){461!==e.keyCode&&8!==e.keyCode||t.hideSecretMenu&&t.hideSecretMenu()};return Q("div",{className:"secret-menu-container"},void 0,Q("div",{className:"secret-menu-paper"},void 0,Q(St,{text:(o=Object.keys(r),a="",o.map((function(t){a+="

"+t+" : "+r[t]+"

"})),a)})))},Ct="appmgr",kt="oipfcfg",Tt="oipfdrm",Ot="mainVideoObject",At="capabilities",Rt="mediasynchroniser",Pt="hbbtvCSManager",Mt="COOKIES",Lt="LOCAL_STORAGE",It="UNKNOW",Nt=function(){var t=document.createElement("object");return t.setAttribute("type","application/oipfApplicationManager"),t.setAttribute("id",Ct),t},jt=function(){var t=document.createElement("object");return t.setAttribute("type","application/oipfConfiguration"),t.setAttribute("id",kt),t},Ft=function(){var t=document.createElement("object");return t.setAttribute("type","video/broadcast"),t.setAttribute("id",Ot),t},Dt=function(){var t=document.createElement("object");return t.setAttribute("type","application/oipfCapabilities"),t.setAttribute("id",At),t},Bt=function(){var t=document.createElement("object");return t.setAttribute("type","application/hbbtvMediaSynchroniser"),t.setAttribute("id",Rt),t.onError=function(t,e){console.log("MediaSynchroniserObject Error:",t,e)},t},zt=function(){var t=document.createElement("object");return t.setAttribute("type","application/hbbtvCSManager"),t.setAttribute("id",Pt),t},Ut=function(){var t=document.createElement("object");return t.setAttribute("type","application/oipfDrmAgent"),t.setAttribute("id",Tt),t},Ht=function(){var t="\n #"+Ct+" {\n position: absolute; \n left: 0px; \n top: 0px; \n width: 0px; \n height: 0px;\n }\n\n #"+Tt+" {\n position: absolute; \n left: 0px; \n top: 0px; \n width: 0px; \n height: 0px;\n }\n\n #"+kt+" {\n position: absolute; \n left: 0px; \n top: 0px; \n width: 0px; \n height: 0px;'\n }\n\n #"+Ot+" {\n position: absolute; \n left: 0px; \n top: 0px; \n width: 100%; \n height: 100%; \n z-index:-1;\n }\n\n #"+At+" {\n position: absolute; \n left: 0px; \n top: 0px; \n width: 0px; \n height: 0px;\n }\n\n #"+Rt+" {\n position: absolute; \n left: 0px; \n top: 0px; \n width: 0px; \n height: 0px;\n }\n\n #"+Pt+" {\n position: absolute; \n left: 0px; \n top: 0px; \n width: 0px; \n height: 0px;\n }\n ",e=document.createElement("style");e.setAttribute("type","text/css"),e.appendChild(document.createTextNode(t)),document.head.appendChild(e)},Vt=function(t){var e=document.getElementById(Ct);if(e&&e.getOwnerApplication){var r=e.getOwnerApplication(document).privateData.keyset;if(r)if(r.setValue)if(t&&Array.isArray(t)&&0!==t.length){var n=void 0;t.forEach((function(t){void 0===n?n=r[t]:n|=r[t]})),r.setValue(n)}else r.setValue(r.RED|r.BLUE|r.GREEN|r.YELLOW|r.NAVIGATION);else console.log("setValue is not defined")}},Kt=function(){var t=this;if($(this,"getStorageType",(function(){return t.storageMode})),$(this,"setItem",(function(e,r){switch(t.storageMode){case Mt:window.document.cookie=e+" = "+r+" ; expires=Thu, 31 Dec 2090 12:00:00 UTC";break;case Lt:case It:window.localStorage.setItem(e,r)}})),$(this,"getItem",(function(e){switch(t.storageMode){case Mt:var r=e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1"),n=new RegExp("(?:^|;)\\s?"+r+"=(.*?)(?:;|$)","i"),i=document.cookie.match(n);return i&&unescape(i[1]);case Lt:case It:return window.localStorage.getItem(e)}})),$(this,"removeItems",(function(e){Array.isArray(e)&&e.forEach((function(e){switch(t.storageMode){case Mt:window.document.cookie=e+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC";break;case Lt:case It:window.localStorage.removeItem(e)}}))})),this.instance)return this.instance;this.instance=this,this.storageMode="localStorage"in window&&null!==window.localStorage?Lt:window.document.cookie?Mt:(function(){var t={setItem:function(e,r){return t[e]=String(r)},getItem:function(e){return t.hasOwnProperty(e)?String(t[e]):undef},removeItem:function(e){return delete t[e]}};window.localStorage=t}(),It)};$(Kt,"instance",void 0);var Wt=new Kt,qt=new function(){var t=this;$(this,"start",(function(e){var r=e&&void 0!==e.appEndpoint?e.appEndpoint:"com.kineton.cs."+(new Date).getTime(),n=e&&void 0!==e.onServerStarted?e.onServerStarted:function(){return console.log("WSServer started!")},i=e&&void 0!==e.onServerFailed?e.onServerFailed:function(t){return console.log("WSServer is not initialized.",t)};try{t.localBaseURL=function(){var t=document.getElementById(Pt);return t&&t.getApp2AppLocalBaseURL?t.getApp2AppLocalBaseURL():null}(),t.ws=new WebSocket(t.localBaseURL+r),n()}catch(t){i(t)}})),$(this,"addCommunicationListener",(function(e){void 0===e&&(e=[]),Array.isArray(e)&&(t.ws.onmessage=function(t){if("pairingcompleted"!==t.data){console.log("lib received command",t),console.log("lib events",e);var r=JSON.parse(t.data);console.log("lib",r);var n=e.filter((function(t){return t.command===r.command}));if(console.log("lib eventToLaunch",n,n.length,n.callback),n.length>0)for(var i,o=function(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return q(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?q(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n);!(i=o()).done;){var a=i.value;if(a.callback)try{var u=JSON.parse(t.data);delete u.command,console.log("qui",u),a.callback(u)}catch(t){console.log("addCommunicationListener error",t)}}}})})),$(this,"sendMessage",(function(e){var r=e||"DEFAULT_MESSAGE";t.ws.send(r)}))},Gt=function(t,e,r){var n=document.getElementById(Ct);if(n&&n.getOwnerApplication&&(n=n.getOwnerApplication(document)),null!==n){if(n.show&&n.show(),n.activate&&n.activate(),t)try{void 0!==document.getElementById("mainVideoObject").getChannelConfig().channelList&&$t()}catch(t){document.getElementById(Ct).getOwnerApplication(document).destroyApplication()}else e&&$t();return r&&Vt(r),!0}},$t=function(){var t=document.getElementById(Ot);t.bindToCurrentChannel&&t.bindToCurrentChannel(),t.onPlayStateChange=function(t,e){e?console.log("onPlayStateChange error:",e):console.log("onPlayStateChange state:",t)},t.play&&t.play(1)},Yt=function(){var t=document.getElementById(Ct);return t&&t.getOwnerApplication?t.getOwnerApplication(document).privateData.currentChannel:0},Qt=function(){var t=window.navigator.userAgent,e=t.match(/HbbTV\/\d\.(\d).(\d)/g);null===e&&(e="Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.34 Safari/537.36 HbbTV/1.4.1 (+DRM+CPAS 2.0.1; LGE; 55SK850V-ZA; WEBOS4.0 03.00.09; W4_M16PP; W4_M16PP;)");var r=e[0];if(r){var n=t.substring(t.indexOf(r)+r.length).match(/\(([^)]+)\)/)[1];if(n)return n.split(";")}return"Mozilla/5.0 (Web0S; Linux/SmartTV) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.34 Safari/537.36 HbbTV/1.4.1 (+DRM+CPAS 2.0.1; LGE; 55SK850V-ZA; WEBOS4.0 03.00.09; W4_M16PP; W4_M16PP;)"},Xt=function(){var t=window.navigator.userAgent.toUpperCase();return t.indexOf("HBBTV")>=0&&1!==t.indexOf("HYBRIDTVVIEWER")},Jt=function(){var t=document.getElementById(Rt);return t?t.currentTime:null},Zt={initializeHbbTV:function(t){return void 0===t&&(t={bindToChannel:!1,destryAppOnCatch:!1}),new Promise((e=tt().mark((function n(e){var r,i,o,a,u,s,c;return tt().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(Ht(),r=Nt(),document.body.appendChild(r),i=jt(),document.body.appendChild(i),o=Ft(),document.body.appendChild(o),a=Dt(),document.body.appendChild(a),u=Bt(),document.body.appendChild(u),s=zt(),document.body.appendChild(s),c=Ut(),document.body.appendChild(c),!Xt()){n.next=18;break}return n.next=18,Gt(t.destryAppOnCatch,t.bindToChannel,t.keySet);case 18:return n.abrupt("return",e());case 19:case"end":return n.stop()}}),n)})),r=function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function a(t){G(o,n,i,a,u,"next",t)}function u(t){G(o,n,i,a,u,"throw",t)}a(void 0)}))},function(t){return r.apply(this,arguments)}))["catch"]((function(t){return t}));var e,r},getApplicationManagerObject:function(){return document.getElementById(Ct)},getOipfConfigurationObject:function(){return document.getElementById(kt)},getBroadcastVideoObject:function(){return document.getElementById(Ot)},setApplicationManagerObjectStyle:function(t){document.getElementById(Ct).className+=" "+t},setOipfConfigurationObjectStyle:function(t){document.getElementById(kt).className+=" "+t},setBroadcastVideoObjectStyle:function(t){var e=document.getElementById(Ot);e&&(e.className+=" "+t)},addApplicationManagerObjectClass:function(t){document.getElementById(Ct).className+=" "+t},addOipfConfigurationObjectClass:function(t){document.getElementById(kt).className+=" "+t},addBroadcastVideoObjectClass:function(t){var e=document.getElementById(Ot);e&&(e.className+=" "+t)},removeApplicationManagerObjectClass:function(t){var e=document.getElementById(Ct),r=new RegExp("/(?:^|s)"+t+"(?!S)/g");e.className=e.className.replace(r,"")},removeOipfConfigurationObjectClass:function(t){var e=document.getElementById(kt),r=new RegExp("/(?:^|s)"+t+"(?!S)/g");e.className=e.className.replace(r,"")},removeBroadcastVideoObjectClass:function(t){var e=document.getElementById(Ot);e&&e.classList.remove(t)},getConfiguration:function(){var t=document.getElementById(kt);return t&&t.configuration?t.configuration:null},getLocalSystem:function(){var t=document.getElementById(kt);return t&&t.localSystem?t.localSystem:null},getTunedChannels:function(t){void 0===t&&(t=!1);var e=document.getElementById(Ot).getChannelConfig().channelList,r=[];return[].concat(e).forEach((function(e){if(t){var n=e.dsd.toLowerCase().split(" ").join("_");r[n]=e}else r.push(e)})),r},jumpToChannel:function(t){var e=t.onid,r=t.sid,n=t.tsid,i=t.quiet,o=void 0===i?2:i;if(!e||!r||!n)throw"onid, sid or tsid are undefined!";if("number"!=typeof o)throw"quiet params must be 0, 1 or 2";if(0!==o&&1!==o&&2!==o)throw"quiet params must be 0, 1 or 2";var a=document.getElementById(Ot),u=a.getChannelConfig().channelList.getChannelByTriplet(e,n,r);a.setChannel(u,!1,void 0,o)},createStreamEventListener:function(t,e){var r=document.getElementById(Ot),n=r.currentChannel,i="dvb://"+n.onid.toString(16)+"."+n.tsid.toString(16)+"."+n.sid.toString(16)+".c/KINE_EVENT";try{r.addStreamEventListener(i,"KINE_EVENT",e)}catch(t){console.log("error on addStreamEventListener",t)}},getHbbTvVersion:function(){try{switch(navigator.userAgent.match(/HbbTV\/\d\.(\d).(\d)/g)[0].split("/")[1]){case"1.1.1":return"1.0";case"1.2.1":return"1.5";case"1.3.1":return"2.0";case"1.4.1":return"2.0.1";case"1.5.1":return"2.0.2";default:return null}}catch(n){return null}},initKeySet:Vt,stopBroadcastVideo:function(){var t=document.getElementById(Ot);t.stop&&t.stop()},startBroadcastVideo:$t,getCurrentChannel:Yt,getSerialNumber:function(t){var e=document.getElementById(kt);return e&&e.localSystem?e.localSystem.serialNumber:t?Wt.getItem(t):null},getVendorName:function(){var t=document.getElementById(kt);if(t&&t.localSystem&&t.localSystem.vendorName&&null!==t.localSystem.vendorName)return t.localSystem.vendorName;var e=Qt();return e&&e.length>=2?e[1]:""},getModelName:function(){var t=document.getElementById(kt);if(t&&t.localSystem)return t.localSystem.modelName;var e=Qt();return e&&e.length>=3?e[2]:""},getSoftwareVersion:function(){var t=document.getElementById(kt);if(t&&t.localSystem)return t.localSystem.softwareVersion;var e=Qt();return e&&e.length>=4?e[3]:""},getFamilyName:function(){var t=document.getElementById(kt);if(t&&t.localSystem)return t.localSystem.familyName;var e=Qt();return e&&e.length>=6?e[5]:""},getMacAddress:function(){var t=document.getElementById(kt);return t&&t.localSystem&&t.localSystem.networkInterfaces?t.localSystem.networkInterfaces.macAddress:""},getGeoInformations:function(t){return fetch(t).then((function(t){return t.json()})).then((function(t){return t}))["catch"]((function(t){return console.log("err",t)}))},setSerialNumber:function(t,e){var r=document.getElementById(kt);r&&r.localSystem&&r.localSystem.serialNumber||Wt.setItem(t,e)},storeManager:Wt,destroyApplication:function(){var t=document.getElementById(Ct);t&&t.destroyApplication&&t.destroyApplication()},HBBTV_KEYS:{GREEN:"GREEN",YELLOW:"YELLOW",BLUE:"BLUE",RED:"RED",NAVIGATION:"NAVIGATION",NUMERIC:"NUMERIC",VCR:"VCR",SCROLL:"SCROLL",INFO:"INFO",ALPHA:"ALPHA",OTHER:"OTHER"},isHbbTV:Xt,isPipAvailable:function(){var t=document.getElementById(At);return t?{extraSDVideoDecodes:t.extraSDVideoDecodes,extraHDVideoDecodes:t.extraHDVideoDecodes}:null},initMediaSyncroniserObject:function(t){void 0===t&&(t=void 0);var e=document.getElementById(Ot),r=document.getElementById(Rt);r&&r.initMediaSynchroniser&&(void 0===t?r.initMediaSynchroniser(e,"urn:dvb:css:timeline:pts"):r.initMediaSynchroniser(t,"urn:dvb:css:timeline:pts"))},addMediaToMediaSynchroniser:function(t){var e=document.getElementById(Rt),r=Jt(),n={tlvMaster:r,tlvOther:r+1e3};e&&e.addMediaObject&&e.addMediaObject(t,"urn:dvb:css:timeline:pts",n)},getMediaSynchroniserLastError:function(){var t=document.getElementById(Rt);if(t)return{lastError:t.lastError,lastErrorSource:t.lastErrorSource}},getMaxBroadbandStreamsWithBroadcast:function(){var t=document.getElementById(Rt);if(t)return t.maxBroadbandStreamsWithBroadcast},getMaxBroadbandStreamsNoBroadcast:function(){var t=document.getElementById(Rt);if(t)return t.maxBroadbandStreamsNoBroadcast},getMediaSynchroniserCurrentTime:Jt,requestAccessToDistinctiveIdentifier:function(t){void 0===t&&(t=function(t){console.log("requestAccessToDistinctiveIdentifier",t)});var e=document.getElementById(kt);e&&e.requestAccessToDistinctiveIdentifier?e.requestAccessToDistinctiveIdentifier(t):console.log("requestAccessToDistinctiveIdentifier not available",e.deviceId)},wsServer:qt,discoverCSLaunchers:function(t){void 0===t&&(t=function(t){console.log("discoverCSLaunchers",t)});var e=document.getElementById(Pt);e&&e.discoverCSLaunchers?e.discoverCSLaunchers(t):console.log("Unable to launch discoverCSLaunchers")},getLCN:function(){document.getElementById(Ot);var t=Yt();return t&&t.majorChannel?t.majorChannel:null},getTriplet:function(){var t=document.getElementById(Ot);if(!t)return[{onid:null,tsid:null,sid:null,toString:"null"}];var e=t.currentChannel;return e?[{onid:e.onid.toString(10),tsid:e.tsid.toString(10),sid:e.sid.toString(10),toString:e.onid.toString(10)+"."+e.tsid.toString(10)+"."+e.sid.toString(10)}]:null}};wt(".hbbtv-version-container {\r\n position: absolute;\r\n top: 50px;\r\n left: 50px;\r\n background-color: white;\r\n}\r\n\r\n.hbbtv-version {\r\n font-weight: bold;\r\n color: red;\r\n font-size: 30px;\r\n}");var te=function(t){return t.appVersion?Q("div",{className:"hbbtv-version-container"},void 0,Q("span",{className:"hbbtv-version"},void 0,t.appVersion.version)):null};wt("body {\r\n outline: none !important;\r\n outline-style: none;\r\n border-color: transparent;\r\n}\r\n\r\nspan {\r\n outline-width: 0px;\r\n}\r\n\r\n.antares-container {\r\n background-color: rgba(0, 0, 0, 0.001);\r\n width: 1920px;\r\n height: 1080px;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: center;\r\n}");var ee=["onEnterPress"],re=["onArrowPress"],ne=["onArrowRelease"],ie=["onBecameFocused"],oe=["onBecameBlurred"],ae=mt;null!==window.spatial&&void 0!==window.spatial?ae=window.spatial:window.spatial=ae;var ue=function(t){var e=void 0===t?{}:t,r=e.forgetLastFocusedChild,n=void 0!==r&&r,i=e.trackChildren,o=void 0!==i&&i,a=e.autoRestoreFocus;return D["default"](V["default"]({parentFocusKey:L["default"].string}),H["default"]((function(t){var e=t.focusKey,r=t.parentFocusKey,n=e||N["default"]("sn:focusable-item-");return{realFocusKey:n,setFocus:ae.isNativeMode()?j["default"]:ae.setFocus.bind(null,n),navigateByDirection:ae.navigateByDirection,stealFocus:ae.setFocus.bind(null,n,n),focused:!1,hasFocusedChild:!1,parentFocusKey:r||ct}}),{onUpdateFocus:function(){return function(t){return void 0===t&&(t=!1),{focused:t}}},onUpdateHasFocusedChild:function(){return function(t){return void 0===t&&(t=!1),{hasFocusedChild:t}}}}),U["default"]({parentFocusKey:L["default"].string},(function(t){return{parentFocusKey:t.realFocusKey}})),z["default"]({onEnterPressHandler:function(t){var e=t.onEnterPress,r=void 0===e?j["default"]:e,n=Z(t,ee);return function(t){r(n,t)}},onArrowPressHandler:function(t){var e=t.onArrowPress,r=void 0===e?j["default"]:e,n=Z(t,re);return function(t,e){return r(t,n,e)}},onArrowReleaseHandler:function(t){var e=t.onArrowRelease,r=void 0===e?j["default"]:e,n=Z(t,ne);return function(t,e){return r(t,n,e)}},onBecameFocusedHandler:function(t){var e=t.onBecameFocused,r=void 0===e?j["default"]:e,n=Z(t,ie);return function(t,e){r(t,n,e)}},onBecameBlurredHandler:function(t){var e=t.onBecameBlurred,r=void 0===e?j["default"]:e,n=Z(t,oe);return function(t,e){r(t,n,e)}},pausespatial:function(){return ae.pause},resumespatial:function(){return ae.resume}}),B["default"]({componentDidMount:function(){var t=this.props,e=t.realFocusKey,r=t.parentFocusKey,i=t.preferredChildFocusKey,u=t.forgetLastFocusedChild,s=void 0!==u&&u,c=t.onEnterPressHandler,l=t.onArrowPressHandler,f=t.onArrowReleaseHandler,p=t.onBecameFocusedHandler,h=t.onBecameBlurredHandler,v=t.onUpdateFocus,g=t.onUpdateHasFocusedChild,y=t.trackChildren,m=t.focusable,b=void 0===m||m,w=t.autoRestoreFocus,x=void 0===w||w,_=t.remainInFocus,S=void 0!==_&&_,E=t.isGrid,C=void 0!==E&&E,k=t.isLeafMatrix,T=void 0!==k&&k,O=d.findDOMNode(this);ae.addFocusable({focusKey:e,node:O,parentFocusKey:r,preferredChildFocusKey:i,onEnterPressHandler:c,onArrowPressHandler:l,onArrowReleaseHandler:f,onBecameFocusedHandler:p,onBecameBlurredHandler:h,onUpdateFocus:v,onUpdateHasFocusedChild:g,forgetLastFocusedChild:n||s,trackChildren:o||y,autoRestoreFocus:void 0!==a?a:x,focusable:b,remainInFocus:S,isGrid:C,isLeafMatrix:T})},componentDidUpdate:function(){var t=this.props,e=t.realFocusKey,r=t.preferredChildFocusKey,n=t.remainInFocus,i=t.forgetLastFocusedChild,o=t.focusable,a=void 0===o||o,u=d.findDOMNode(this);ae.updateFocusable(e,{node:u,preferredChildFocusKey:r,remainInFocus:n,forgetLastFocusedChild:i,focusable:a})},componentWillUnmount:function(){var t=this.props.realFocusKey;ae.removeFocusable({focusKey:t})}}),K["default"],function(t){return W["default"]((function(e){return F["default"](e,t)}))}(["onBecameFocusedHandler","onBecameBlurredHandler","onEnterPressHandler","onArrowPressHandler","onArrowReleaseHandler","onUpdateFocus","onUpdateHasFocusedChild","forgetLastFocusedChild","trackChildren","autoRestoreFocus"]))},se=mt.init;mt.setKeyMap;var ce=k["default"].createContext();function le(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fe(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e /*! * GSAP 3.12.5 * https://gsap.com * * @license Copyright 2008-2024, GreenSock. All rights reserved. * Subject to the terms at https://gsap.com/standard-license or for * Club GSAP members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */}var de,pe,he,ve,ge,ye,me,be,we,xe,_e,Se,Ee,Ce,ke,Te,Oe,Ae,Re,Pe,Me,Le,Ie,Ne,je,Fe,De={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Be={duration:.5,overwrite:!1,delay:0},ze=1e8,Ue=1e-8,He=2*Math.PI,Ve=He/4,Ke=0,We=Math.sqrt,qe=Math.cos,Ge=Math.sin,$e=function(t){return"string"==typeof t},Ye=function(t){return"function"==typeof t},Qe=function(t){return"number"==typeof t},Xe=function(t){return void 0===t},Je=function(t){return"object"==typeof t},Ze=function(t){return!1!==t},tr=function(){return"undefined"!=typeof window},er=function(t){return Ye(t)||$e(t)},rr="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},nr=Array.isArray,ir=/(?:-?\.?\d|\.)+/gi,or=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,ar=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ur=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,sr=/[+-]=-?[.\d]+/,cr=/[^,'"\[\]\s]+/gi,lr=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,fr={},dr={},pr=function(t){return(dr=Hr(t,fr))&&Vi},hr=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},vr=function(t,e){return!e&&console.warn(t)},gr=function(t,e){return t&&(fr[t]=e)&&dr&&(dr[t]=e)||fr},yr=function(){return 0},mr={suppressEvents:!0,isStart:!0,kill:!1},br={suppressEvents:!0,kill:!1},wr={suppressEvents:!0},xr={},_r=[],Sr={},Er={},Cr={},kr=30,Tr=[],Or="",Ar=function(t){var e,r,n=t[0];if(Je(n)||Ye(n)||(t=[t]),!(e=(n._gsap||{}).harness)){for(r=Tr.length;r--&&!Tr[r].targetTest(n););e=Tr[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new ni(t[r],e)))||t.splice(r,1);return t},Rr=function(t){return t._gsap||Ar(wn(t))[0]._gsap},Pr=function(t,e,r){return(r=t[e])&&Ye(r)?t[e]():Xe(r)&&t.getAttribute&&t.getAttribute(e)||r},Mr=function(t,e){return(t=t.split(",")).forEach(e)||t},Lr=function(t){return Math.round(1e5*t)/1e5||0},Ir=function(t){return Math.round(1e7*t)/1e7||0},Nr=function(t,e){var r=e.charAt(0),n=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+n:"-"===r?t-n:"*"===r?t*n:t/n},jr=function(t,e){for(var r=e.length,n=0;t.indexOf(e[n])<0&&++no;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[n]=e,e._prev=a,e.parent=e._dp=t,e},Gr=function(t,e,r,n){void 0===r&&(r="_first"),void 0===n&&(n="_last");var i=e._prev,o=e._next;i?i._next=o:t[r]===e&&(t[r]=o),o?o._prev=i:t[n]===e&&(t[n]=i),e._next=e._prev=e.parent=null},$r=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Yr=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},Qr=function(t,e,r,n){return t._startAt&&(pe?t._startAt.revert(br):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,n))},Xr=function Ra(t){return!t||t._ts&&Ra(t.parent)},Jr=function(t){return t._repeat?Zr(t._tTime,t=t.duration()+t._rDelay)*t:0},Zr=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},tn=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},en=function(t){return t._end=Ir(t._start+(t._tDur/Math.abs(t._ts||t._rts||Ue)||0))},rn=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=Ir(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),en(t),r._dirty||Yr(r,t)),t},nn=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._startUe)&&e.render(r,!0)),Yr(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},on=function(t,e,r,n){return e.parent&&$r(e),e._start=Ir((Qe(r)?r:r||t!==ve?pn(t,r,e):t._time)+e._delay),e._end=Ir(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),qr(t,e,"_first","_last",t._sort?"_start":0),cn(e)||(t._recent=e),n||nn(t,e),t._ts<0&&rn(t,t._tTime),t},an=function(t,e){return(fr.ScrollTrigger||hr("scrollTrigger",e))&&fr.ScrollTrigger.create(e,t)},un=function(t,e,r,n,i){return fi(t,e,i),t._initted?!r&&t._pt&&!pe&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&we!==Kn.frame?(_r.push(t),t._lazy=[i,n],1):void 0:1},sn=function Pa(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||Pa(e))},cn=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},ln=function(t,e,r,n){var i=t._repeat,o=Ir(e)||0,a=t._tTime/t._tDur;return a&&!n&&(t._time*=o/t._dur),t._dur=o,t._tDur=i?i<0?1e10:Ir(o*(i+1)+t._rDelay*i):o,a>0&&!n&&rn(t,t._tTime=t._tDur*a),t.parent&&en(t),r||Yr(t.parent,t),t},fn=function(t){return t instanceof oi?Yr(t):ln(t,t._dur)},dn={_start:0,endTime:yr,totalDuration:yr},pn=function Ma(t,e,r){var n,i,o,a=t.labels,u=t._recent||dn,s=t.duration()>=ze?u.endTime(!1):t._dur;return $e(e)&&(isNaN(e)||e in a)?(i=e.charAt(0),o="%"===e.substr(-1),n=e.indexOf("="),"<"===i||">"===i?(n>=0&&(e=e.replace(/=/,"")),("<"===i?u._start:u.endTime(u._repeat>=0))+(parseFloat(e.substr(1))||0)*(o?(n<0?u:r).totalDuration()/100:1)):n<0?(e in a||(a[e]=s),a[e]):(i=parseFloat(e.charAt(n-1)+e.substr(n+1)),o&&r&&(i=i/100*(nr(r)?r[0]:r).totalDuration()),n>1?Ma(t,e.substr(0,n-1),r)+i:s+i)):null==e?s:+e},hn=function(t,e,r){var n,i,o=Qe(e[1]),a=(o?2:1)+(t<2?0:1),u=e[a];if(o&&(u.duration=e[1]),u.parent=r,t){for(n=u,i=r;i&&!("immediateRender"in n);)n=i.vars.defaults||{},i=Ze(i.vars.inherit)&&i.parent;u.immediateRender=Ze(n.immediateRender),t<2?u.runBackwards=1:u.startAt=e[a-1]}return new gi(e[0],u,e[a+1])},vn=function(t,e){return t||0===t?e(t):e},gn=function(t,e,r){return re?e:r},yn=function(t,e){return $e(t)&&(e=lr.exec(t))?e[1]:""},mn=[].slice,bn=function(t,e){return t&&Je(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&Je(t[0]))&&!t.nodeType&&t!==ge},wn=function(t,e,r){return he&&!e&&he.selector?he.selector(t):!$e(t)||r||!ye&&Wn()?nr(t)?function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var n;return $e(t)&&!e||bn(t,1)?(n=r).push.apply(n,wn(t)):r.push(t)}))||r}(t,r):bn(t)?mn.call(t,0):t?[t]:[]:mn.call((e||me).querySelectorAll(t),0)},xn=function(t){return t=wn(t)[0]||vr("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return wn(e,r.querySelectorAll?r:r===t?vr("Invalid scope")||me.createElement("div"):t)}},_n=function(t){return t.sort((function(){return.5-Math.random()}))},Sn=function(t){if(Ye(t))return t;var e=Je(t)?t:{each:t},r=Jn(e.ease),n=e.from||0,i=parseFloat(e.base)||0,o={},a=n>0&&n<1,u=isNaN(n)||a,s=e.axis,c=n,l=n;return $e(n)?c=l={center:.5,edges:.5,end:1}[n]||0:!a&&u&&(c=n[0],l=n[1]),function(t,a,f){var d,p,h,v,g,y,m,b,w,x=(f||e).length,_=o[x];if(!_){if(!(w="auto"===e.grid?0:(e.grid||[1,ze])[1])){for(m=-1e8;m<(m=f[w++].getBoundingClientRect().left)&&wm&&(m=g),gx?x-1:s?"y"===s?x/w:w:Math.max(w,x/w))||0)*("edges"===n?-1:1),_.b=x<0?i-x:i,_.u=yn(e.amount||e.each)||0,r=r&&x<0?Qn(r):r}return x=(_[t]-_.min)/_.max||0,Ir(_.b+(r?r(x):x)*_.v)+_.u}},En=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var n=Ir(Math.round(parseFloat(r)/t)*t*e);return(n-n%1)/e+(Qe(r)?0:yn(r))}},Cn=function(t,e){var r,n,i=nr(t);return!i&&Je(t)&&(r=i=t.radius||ze,t.values?(t=wn(t.values),(n=!Qe(t[0]))&&(r*=r)):t=En(t.increment)),vn(e,i?Ye(t)?function(e){return n=t(e),Math.abs(n-e)<=r?n:e}:function(e){for(var i,o,a=parseFloat(n?e.x:e),u=parseFloat(n?e.y:0),s=ze,c=0,l=t.length;l--;)(i=n?(i=t[l].x-a)*i+(o=t[l].y-u)*o:Math.abs(t[l]-a))(i=Math.abs(i))&&(o=n,u=i);return o},Pn=function(t,e,r){var n,i,o,a=t.vars,u=a[e],s=he,c=t._ctx;if(u)return n=a[e+"Params"],i=a.callbackScope||t,r&&_r.length&&Fr(),c&&(he=c),o=n?u.apply(i,n):u.call(i),he=s,o},Mn=function(t){return $r(t),t.scrollTrigger&&t.scrollTrigger.kill(!!pe),t.progress()<1&&Pn(t,"onInterrupt"),t},Ln=[],In=function(t){if(t)if(t=!t.name&&t["default"]||t,tr()||t.headless){var e=t.name,r=Ye(t),n=e&&!r&&t.init?function(){this._props=[]}:t,i={init:yr,render:Ci,add:ci,kill:Ti,modifier:ki,rawVars:0},o={targetTest:0,get:0,getSetter:xi,aliases:{},register:0};if(Wn(),t!==n){if(Er[e])return;Ur(n,Ur(Kr(t,i),o)),Hr(n.prototype,Hr(i,Kr(t,o))),Er[n.prop=e]=n,t.targetTest&&(Tr.push(n),xr[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}gr(e,n),t.register&&t.register(Vi,n,Ri)}else Ln.push(t)},Nn=255,jn={aqua:[0,Nn,Nn],lime:[0,Nn,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Nn],navy:[0,0,128],white:[Nn,Nn,Nn],olive:[128,128,0],yellow:[Nn,Nn,0],orange:[Nn,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Nn,0,0],pink:[Nn,192,203],cyan:[0,Nn,Nn],transparent:[Nn,Nn,Nn,0]},Fn=function(t,e,r){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*Nn+.5|0},Dn=function(t,e,r){var n,i,o,a,u,s,c,l,f,d,p=t?Qe(t)?[t>>16,t>>8&Nn,t&Nn]:0:jn.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),jn[t])p=jn[t];else if("#"===t.charAt(0)){if(t.length<6&&(n=t.charAt(1),i=t.charAt(2),o=t.charAt(3),t="#"+n+n+i+i+o+o+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&Nn,p&Nn,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&Nn,t&Nn]}else if("hsl"===t.substr(0,3))if(p=d=t.match(ir),e){if(~t.indexOf("="))return p=t.match(or),r&&p.length<4&&(p[3]=1),p}else a=+p[0]%360/360,u=+p[1]/100,n=2*(s=+p[2]/100)-(i=s<=.5?s*(u+1):s+u-s*u),p.length>3&&(p[3]*=1),p[0]=Fn(a+1/3,n,i),p[1]=Fn(a,n,i),p[2]=Fn(a-1/3,n,i);else p=t.match(ir)||jn.transparent;p=p.map(Number)}return e&&!d&&(n=p[0]/Nn,i=p[1]/Nn,o=p[2]/Nn,s=((c=Math.max(n,i,o))+(l=Math.min(n,i,o)))/2,c===l?a=u=0:(f=c-l,u=s>.5?f/(2-c-l):f/(c+l),a=c===n?(i-o)/f+(iRe||o<0)&&(Me+=o-Pe),((e=(n=(Le+=o)-Me)-Ne)>0||a)&&(i=++ke.frame,Te=n-1e3*ke.time,ke.time=n/=1e3,Ne+=e+(e>=Ie?4:Ie-e),r=1),a||(Se=Ee(La)),r)for(Oe=0;Oe=e&&Oe--},_listeners:je=[]}),Wn=function(){return!_e&&Kn.wake()},qn={},Gn=/^[\d.\-M][\d.\-,\s]/,$n=/["']/g,Yn=function(t){for(var e,r,n,i={},o=t.substr(1,t.length-3).split(":"),a=o[0],u=1,s=o.length;u1&&r.config?r.config.apply(null,~t.indexOf("{")?[Yn(e[1])]:function(t){var e=t.indexOf("(")+1,r=t.indexOf(")"),n=t.indexOf("(",e);return t.substring(e,~n&&n=1?e:1,i=(r||(t?.3:.45))/(e<1?e:1),o=i/He*(Math.asin(1/n)||0),a=function(t){return 1===t?1:n*Math.pow(2,-10*t)*Ge((t-o)*i)+1},u="out"===t?a:"in"===t?function(t){return 1-a(1-t)}:ti(a);return i=He/i,u.config=function(e,r){return Na(t,e,r)},u},ri=function ja(t,e){void 0===e&&(e=1.70158);var r=function(t){return t?--t*t*((e+1)*t+e)+1:0},n="out"===t?r:"in"===t?function(t){return 1-r(1-t)}:ti(r);return n.config=function(e){return ja(t,e)},n};Mr("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;Zn(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},(function(t){return 1-Math.pow(1-t,r)}),(function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2}))})),qn.Linear.easeNone=qn.none=qn.Linear.easeIn,Zn("Elastic",ei("in"),ei("out"),ei()),function(t,e){var r=1/e,n=2*r,i=2.5*r,o=function(o){return o0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,ln(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Wn(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(rn(this,t),!r._dp||r.parent||nn(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t0||!this._tDur&&!t)&&on(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===Ue||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Dr(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Jr(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Jr(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Zr(this._tTime,r)+1:1},e.timeScale=function(t,e){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?tn(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(gn(-Math.abs(this._delay),this._tDur,r),!1!==e),en(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Wn(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==Ue&&(this._tTime-=Ue)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&on(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(Ze(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?tn(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=wr);var e=pe;return pe=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),pe=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,fn(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,fn(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(pn(this,t),Ze(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,Ze(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t1?(e?(n[t]=e,r&&(n[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete n[t],this):n[t]},e.then=function(t){var e=this;return new Promise((function(r){var n=Ye(t)?t:zr,i=function(){var t=e.then;e.then=null,Ye(n)&&(n=n(e))&&(n.then||n===e)&&(e.then=t),r(n),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i}))},e.kill=function(){Mn(this)},t}();Ur(ii.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var oi=function(t){function e(e,r){var n;return void 0===e&&(e={}),(n=t.call(this,e)||this).labels={},n.smoothChildTiming=!!e.smoothChildTiming,n.autoRemoveChildren=!!e.autoRemoveChildren,n._sort=Ze(e.sortChildren),ve&&on(e.parent||ve,le(n),r),e.reversed&&n.reverse(),e.paused&&n.paused(!0),e.scrollTrigger&&an(le(n),e.scrollTrigger),n}fe(e,t);var r=e.prototype;return r.to=function(t,e,r){return hn(0,arguments,this),this},r.from=function(t,e,r){return hn(1,arguments,this),this},r.fromTo=function(t,e,r,n){return hn(2,arguments,this),this},r.set=function(t,e,r){return e.duration=0,e.parent=this,Wr(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new gi(t,e,pn(this,r),1),this},r.call=function(t,e,r){return on(this,gi.delayedCall(0,t,e),r)},r.staggerTo=function(t,e,r,n,i,o,a){return r.duration=e,r.stagger=r.stagger||n,r.onComplete=o,r.onCompleteParams=a,r.parent=this,new gi(t,r,pn(this,i)),this},r.staggerFrom=function(t,e,r,n,i,o,a){return r.runBackwards=1,Wr(r).immediateRender=Ze(r.immediateRender),this.staggerTo(t,e,r,n,i,o,a)},r.staggerFromTo=function(t,e,r,n,i,o,a,u){return n.startAt=r,Wr(n).immediateRender=Ze(n.immediateRender),this.staggerTo(t,e,n,i,o,a,u)},r.render=function(t,e,r){var n,i,o,a,u,s,c,l,f,d,p,h,v=this._time,g=this._dirty?this.totalDuration():this._tDur,y=this._dur,m=t<=0?0:Ir(t),b=this._zTime<0!=t<0&&(this._initted||!y);if(this!==ve&&m>g&&t>=0&&(m=g),m!==this._tTime||r||b){if(v!==this._time&&y&&(m+=this._time-v,t+=this._time-v),n=m,f=this._start,s=!(l=this._ts),b&&(y||(v=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,u=y+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*u+t,e,r);if(n=Ir(m%u),m===g?(a=this._repeat,n=y):((a=~~(m/u))&&a===m/u&&(n=y,a--),n>y&&(n=y)),d=Zr(this._tTime,u),!v&&this._tTime&&d!==a&&this._tTime-d*u-this._dur<=0&&(d=a),p&&1&a&&(n=y-n,h=1),a!==d&&!this._lock){var w=p&&1&d,x=w===(p&&1&a);if(ae)for(n=t._first;n&&n._start<=r;){if("isPause"===n.data&&n._start>e)return n;n=n._next}else for(n=t._last;n&&n._start>=r;){if("isPause"===n.data&&n._start=v&&t>=0)for(i=this._first;i;){if(o=i._next,(i._act||n>=i._start)&&i._ts&&c!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(i._ts>0?(n-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(n-i._start)*i._ts,e,r),n!==this._time||!this._ts&&!s){c=0,o&&(m+=this._zTime=-1e-8);break}}i=o}else{i=this._last;for(var _=t<0?t:n;i;){if(o=i._prev,(i._act||_<=i._end)&&i._ts&&c!==i){if(i.parent!==this)return this.render(t,e,r);if(i.render(i._ts>0?(_-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(_-i._start)*i._ts,e,r||pe&&(i._initted||i._startAt)),n!==this._time||!this._ts&&!s){c=0,o&&(m+=this._zTime=_?-1e-8:Ue);break}}i=o}}if(c&&!e&&(this.pause(),c.render(n>=v?0:-1e-8)._zTime=n>=v?1:-1,this._ts))return this._start=f,en(this),this.render(t,e,r);this._onUpdate&&!e&&Pn(this,"onUpdate",!0),(m===g&&this._tTime>=this.totalDuration()||!m&&v)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||((t||!y)&&(m===g&&this._ts>0||!m&&this._ts<0)&&$r(this,1),e||t<0&&!v||!m&&!v&&g||(Pn(this,m===g&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(m0)&&this._prom())))}return this},r.add=function(t,e){var r=this;if(Qe(e)||(e=pn(this,e,t)),!(t instanceof ii)){if(nr(t))return t.forEach((function(t){return r.add(t,e)})),this;if($e(t))return this.addLabel(t,e);if(!Ye(t))return this;t=gi.delayedCall(0,t)}return this!==t?on(this,t,e):this},r.getChildren=function(t,e,r,n){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===n&&(n=-1e8);for(var i=[],o=this._first;o;)o._start>=n&&(o instanceof gi?e&&i.push(o):(r&&i.push(o),t&&i.push.apply(i,o.getChildren(!0,e,r)))),o=o._next;return i},r.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},r.remove=function(t){return $e(t)?this.removeLabel(t):Ye(t)?this.killTweensOf(t):(Gr(this,t),t===this._recent&&(this._recent=this._last),Yr(this))},r.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ir(Kn.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,r),this._forcing=0,this):this._tTime},r.addLabel=function(t,e){return this.labels[t]=pn(this,e),this},r.removeLabel=function(t){return delete this.labels[t],this},r.addPause=function(t,e,r){var n=gi.delayedCall(0,e||yr,r);return n.data="isPause",this._hasPause=1,on(this,n,pn(this,t))},r.removePause=function(t){var e=this._first;for(t=pn(this,t);e;)e._start===t&&"isPause"===e.data&&$r(e),e=e._next},r.killTweensOf=function(t,e,r){for(var n=this.getTweensOf(t,r),i=n.length;i--;)ai!==n[i]&&n[i].kill(t,e);return this},r.getTweensOf=function(t,e){for(var r,n=[],i=wn(t),o=this._first,a=Qe(e);o;)o instanceof gi?jr(o._targets,i)&&(a?(!ai||o._initted&&o._ts)&&o.globalTime(0)<=e&&o.globalTime(o.totalDuration())>e:!e||o.isActive())&&n.push(o):(r=o.getTweensOf(i,e)).length&&n.push.apply(n,r),o=o._next;return n},r.tweenTo=function(t,e){e=e||{};var r,n=this,i=pn(n,t),o=e,a=o.startAt,u=o.onStart,s=o.onStartParams,c=o.immediateRender,l=gi.to(n,Ur({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(a&&"time"in a?a.time:n._time))/n.timeScale())||Ue,onStart:function(){if(n.pause(),!r){var t=e.duration||Math.abs((i-(a&&"time"in a?a.time:n._time))/n.timeScale());l._dur!==t&&ln(l,t,0,1).render(l._time,!0,!0),r=1}u&&u.apply(l,s||[])}},e));return c?l.render(0):l},r.tweenFromTo=function(t,e,r){return this.tweenTo(e,Ur({startAt:{time:pn(this,t)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),Rn(this,pn(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),Rn(this,pn(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+Ue)},r.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var n,i=this._first,o=this.labels;i;)i._start>=r&&(i._start+=t,i._end+=t),i=i._next;if(e)for(n in o)o[n]>=r&&(o[n]+=t);return Yr(this)},r.invalidate=function(e){var r=this._first;for(this._lock=0;r;)r.invalidate(e),r=r._next;return t.prototype.invalidate.call(this,e)},r.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Yr(this)},r.totalDuration=function(t){var e,r,n,i=0,o=this,a=o._last,u=ze;if(arguments.length)return o.timeScale((o._repeat<0?o.duration():o.totalDuration())/(o.reversed()?-t:t));if(o._dirty){for(n=o.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),(r=a._start)>u&&o._sort&&a._ts&&!o._lock?(o._lock=1,on(o,a,r-a._delay,1)._lock=0):u=r,r<0&&a._ts&&(i-=r,(!n&&!o._dp||n&&n.smoothChildTiming)&&(o._start+=r/o._ts,o._time-=r,o._tTime-=r),o.shiftChildren(-r,!1,-1/0),u=0),a._end>i&&a._ts&&(i=a._end),a=e;ln(o,o===ve&&o._time>i?o._time:i,1,1),o._dirty=0}return o._tDur},e.updateRoot=function(t){if(ve._ts&&(Dr(ve,tn(t,ve)),we=Kn.frame),Kn.frame>=kr){kr+=De.autoSleep||120;var e=ve._first;if((!e||!e._ts)&&De.autoSleep&&Kn._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Kn.sleep()}}},e}(ii);Ur(oi.prototype,{_lock:0,_hasPause:0,_forcing:0});var ai,ui,si=function(t,e,r,n,i,o,a){var u,s,c,l,f,d,p,h,v=new Ri(this._pt,t,e,0,1,Ei,null,i),g=0,y=0;for(v.b=r,v.e=n,r+="",(p=~(n+="").indexOf("random("))&&(n=On(n)),o&&(o(h=[r,n],t,e),r=h[0],n=h[1]),s=r.match(ur)||[];u=ur.exec(n);)l=u[0],f=n.substring(g,u.index),c?c=(c+1)%5:"rgba("===f.substr(-5)&&(c=1),l!==s[y++]&&(d=parseFloat(s[y-1])||0,v._pt={_next:v._pt,p:f||1===y?f:",",s:d,c:"="===l.charAt(1)?Nr(d,l)-d:parseFloat(l)-d,m:c&&c<4?Math.round:0},g=ur.lastIndex);return v.c=g")})),a.duration();else{for(l in s={},w)"ease"===l||"easeEach"===l||di(l,w[l],s,w.easeEach);for(l in s)for(k=s[l].sort((function(t,e){return t.t-e.t})),A=0,u=0;up-Ue&&!v?p:th&&(n=h)),(s=this._yoyo&&1&o)&&(f=this._yEase,n=h-n),u=Zr(this._tTime,a),n===d&&!r&&this._initted&&o===u)return this._tTime=g,this;o!==u&&(l&&this._yEase&&Xn(l,s),this.vars.repeatRefresh&&!s&&!this._lock&&this._time!==a&&this._initted&&(this._lock=r=1,this.render(Ir(a*o),!0).invalidate()._lock=0))}if(!this._initted){if(un(this,v?t:n,r,e,g))return this._tTime=0,this;if(!(d===this._time||r&&this.vars.repeatRefresh&&o!==u))return this;if(h!==this._dur)return this.render(t,e,r)}if(this._tTime=g,this._time=n,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(f||this._ease)(n/h),this._from&&(this.ratio=c=1-c),n&&!d&&!e&&!o&&(Pn(this,"onStart"),this._tTime!==g))return this;for(i=this._pt;i;)i.r(c,i.d),i=i._next;l&&l.render(t<0?t:l._dur*l._ease(n/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(v&&Qr(this,t,0,r),Pn(this,"onUpdate")),this._repeat&&o!==u&&this.vars.onRepeat&&!e&&this.parent&&Pn(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(v&&!this._onUpdate&&Qr(this,t,0,!0),(t||!h)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&$r(this,1),e||v&&!d||!(g||d||s)||(Pn(this,g===p?"onComplete":"onReverseComplete",!0),this._prom&&!(g0)&&this._prom()))}}else!function(t,e,r,n){var i,o,a,u=t.ratio,s=e<0||!e&&(!t._start&&sn(t)&&(t._initted||!cn(t))||(t._ts<0||t._dp._ts<0)&&!cn(t))?0:1,c=t._rDelay,l=0;if(c&&t._repeat&&(l=gn(0,t._tDur,e),o=Zr(l,c),t._yoyo&&1&o&&(s=1-s),o!==Zr(t._tTime,c)&&(u=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==u||pe||n||t._zTime===Ue||!e&&t._zTime){if(!t._initted&&un(t,e,n,r,l))return;for(a=t._zTime,t._zTime=e||(r?Ue:0),r||(r=e&&!a),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=l,i=t._pt;i;)i.r(s,i.d),i=i._next;e<0&&Qr(t,e,0,!0),t._onUpdate&&!r&&Pn(t,"onUpdate"),l&&t._repeat&&!r&&t.parent&&Pn(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&$r(t,1),r||pe||(Pn(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},r.targets=function(){return this._targets},r.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},r.resetTo=function(t,e,r,n,i){_e||Kn.wake(),this._ts||this.play();var o=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||fi(this,o),function(t,e,r,n,i,o,a,u){var s,c,l,f,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],l=t._ptLookup,f=t._targets.length;f--;){if((s=l[f][e])&&s.d&&s.d._pt)for(s=s.d._pt;s&&s.p!==e&&s.fp!==e;)s=s._next;if(!s)return ui=1,t.vars[e]="+=0",fi(t,a),ui=0,u?vr(e+" not eligible for reset"):1;d.push(s)}for(f=d.length;f--;)(s=(c=d[f])._pt||c).s=!n&&0!==n||i?s.s+(n||0)+o*s.c:n,s.c=r-s.s,c.e&&(c.e=Lr(r)+yn(c.e)),c.b&&(c.b=s.s+yn(c.b))}(this,t,e,r,n,this._ease(o/this._dur),o,i)?this.resetTo(t,e,r,n,1):(rn(this,0),this.parent||qr(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?Mn(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,ai&&!0!==ai.vars.overwrite)._first||Mn(this),this.parent&&r!==this.timeline.totalDuration()&&ln(this,this._dur*this.timeline._tDur/r,0,1),this}var n,i,o,a,u,s,c,l=this._targets,f=t?wn(t):l,d=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,n=r===e.length;n&&r--&&t[r]===e[r];);return r<0}(l,f))return"all"===e&&(this._pt=0),Mn(this);for(n=this._op=this._op||[],"all"!==e&&($e(e)&&(u={},Mr(e,(function(t){return u[t]=1})),e=u),e=function(t,e){var r,n,i,o,a=t[0]?Rr(t[0]).harness:0,u=a&&a.aliases;if(!u)return e;for(n in r=Hr({},e),u)if(n in r)for(i=(o=u[n].split(",")).length;i--;)r[o[i]]=r[n];return r}(l,e)),c=l.length;c--;)if(~f.indexOf(l[c]))for(u in i=d[c],"all"===e?(n[c]=e,a=i,o={}):(o=n[c]=n[c]||{},a=e),a)(s=i&&i[u])&&("kill"in s.d&&!0!==s.d.kill(u)||Gr(this,s,"_pt"),delete i[u]),"all"!==o&&(o[u]=1);return this._initted&&!this._pt&&p&&Mn(this),this},e.to=function(t,r){return new e(t,r,arguments[2])},e.from=function(t,e){return hn(1,arguments)},e.delayedCall=function(t,r,n,i){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:r,onReverseComplete:r,onCompleteParams:n,onReverseCompleteParams:n,callbackScope:i})},e.fromTo=function(t,e,r){return hn(2,arguments)},e.set=function(t,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new e(t,r)},e.killTweensOf=function(t,e,r){return ve.killTweensOf(t,e,r)},e}(ii);Ur(gi.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Mr("staggerTo,staggerFrom,staggerFromTo",(function(t){gi[t]=function(){var e=new oi,r=mn.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var yi=function(t,e,r){return t[e]=r},mi=function(t,e,r){return t[e](r)},bi=function(t,e,r,n){return t[e](n.fp,r)},wi=function(t,e,r){return t.setAttribute(e,r)},xi=function(t,e){return Ye(t[e])?mi:Xe(t[e])&&t.setAttribute?wi:yi},_i=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},Si=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Ei=function(t,e){var r=e._pt,n="";if(!t&&e.b)n=e.b;else if(1===t&&e.e)n=e.e;else{for(;r;)n=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+n,r=r._next;n+=e.c}e.set(e.t,e.p,n,e)},Ci=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},ki=function(t,e,r,n){for(var i,o=this._pt;o;)i=o._next,o.p===n&&o.modifier(t,e,r),o=i},Ti=function(t){for(var e,r,n=this._pt;n;)r=n._next,n.p===t&&!n.op||n.op===t?Gr(this,n,"_pt"):n.dep||(e=1),n=r;return!e},Oi=function(t,e,r,n){n.mSet(t,e,n.m.call(n.tween,r,n.mt),n)},Ai=function(t){for(var e,r,n,i,o=t._pt;o;){for(e=o._next,r=n;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:i)?o._prev._next=o:n=o,(o._next=r)?r._prev=o:i=o,o=e}t._pt=n},Ri=function(){function t(t,e,r,n,i,o,a,u,s){this.t=e,this.s=n,this.c=i,this.p=r,this.r=o||_i,this.d=a||this,this.set=u||yi,this.pr=s||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=Oi,this.m=t,this.mt=r,this.tween=e},t}();Mr(Or+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return xr[t]=1})),fr.TweenMax=fr.TweenLite=gi,fr.TimelineLite=fr.TimelineMax=oi,ve=new oi({sortChildren:!1,defaults:Be,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),De.stringFilter=Vn;var Pi=[],Mi={},Li=[],Ii=0,Ni=0,ji=function(t){return(Mi[t]||Li).map((function(t){return t()}))},Fi=function(){var t=Date.now(),e=[];t-Ii>2&&(ji("matchMediaInit"),Pi.forEach((function(t){var r,n,i,o,a=t.queries,u=t.conditions;for(n in a)(r=ge.matchMedia(a[n]).matches)&&(i=1),r!==u[n]&&(u[n]=r,o=1);o&&(t.revert(),i&&e.push(t))})),ji("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t,(function(e){return t.add(null,e)}))})),Ii=t,ji("matchMedia"))},Di=function(){function t(t,e){this.selector=e&&xn(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Ni++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){Ye(t)&&(r=e,e=t,t=Ye);var n=this,i=function(){var t,i=he,o=n.selector;return i&&i!==n&&i.data.push(n),r&&(n.selector=xn(r)),he=n,t=e.apply(n,arguments),Ye(t)&&n._r.push(t),he=i,n.selector=o,n.isReverted=!1,t};return n.last=i,t===Ye?i(n,(function(t){return n.add(null,t)})):t?n[t]=i:i},e.ignore=function(t){var e=he;he=null,t(this),he=e},e.getTweens=function(){var e=[];return this.data.forEach((function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof gi&&!(r.parent&&"nested"===r.parent.data)&&e.push(r)})),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t?function(){for(var e,n=r.getTweens(),i=r.data.length;i--;)"isFlip"===(e=r.data[i]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach((function(t){return n.splice(n.indexOf(t),1)})));for(n.map((function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}})).sort((function(t,e){return e.g-t.g||-1/0})).forEach((function(e){return e.t.revert(t)})),i=r.data.length;i--;)(e=r.data[i])instanceof oi?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof gi)&&e.revert&&e.revert(t);r._r.forEach((function(e){return e(t,r)})),r.isReverted=!0}():this.data.forEach((function(t){return t.kill&&t.kill()})),this.clear(),e)for(var n=Pi.length;n--;)Pi[n].id===this.id&&Pi.splice(n,1)},e.revert=function(t){this.kill(t||{})},t}(),Bi=function(){function t(t){this.contexts=[],this.scope=t,he&&he.data.push(this)}var e=t.prototype;return e.add=function(t,e,r){Je(t)||(t={matches:t});var n,i,o,a=new Di(0,r||this.scope),u=a.conditions={};for(i in he&&!a.selector&&(a.selector=he.selector),this.contexts.push(a),e=a.add("onMatch",e),a.queries=t,t)"all"===i?o=1:(n=ge.matchMedia(t[i]))&&(Pi.indexOf(a)<0&&Pi.push(a),(u[i]=n.matches)&&(o=1),n.addListener?n.addListener(Fi):n.addEventListener("change",Fi));return o&&e(a,(function(t){return a.add(null,t)})),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),zi={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r1){var n=t.map((function(t){return Vi.quickSetter(t,e,r)})),i=n.length;return function(t){for(var e=i;e--;)n[e](t)}}t=t[0]||{};var o=Er[e],a=Rr(t),u=a.harness&&(a.harness.aliases||{})[e]||e,s=o?function(e){var n=new o;xe._pt=0,n.init(t,r?e+r:e,xe,0,[t]),n.render(1,n),xe._pt&&Ci(1,xe)}:a.set(t,u);return o?s:function(e){return s(t,u,r?e+r:e,a,1)}},quickTo:function(t,e,r){var n,i=Vi.to(t,Hr(((n={})[e]="+=0.1",n.paused=!0,n),r||{})),o=function(t,r,n){return i.resetTo(e,t,r,n)};return o.tween=i,o},isTweening:function(t){return ve.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Jn(t.ease,Be.ease)),Vr(Be,t||{})},config:function(t){return Vr(De,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,n=t.plugins,i=t.defaults,o=t.extendTimeline;(n||"").split(",").forEach((function(t){return t&&!Er[t]&&!fr[t]&&vr(e+" effect requires "+t+" plugin.")})),Cr[e]=function(t,e,n){return r(wn(t),Ur(e||{},i),n)},o&&(oi.prototype[e]=function(t,r,n){return this.add(Cr[e](t,Je(r)?r:(n=r)&&{},this),n)})},registerEase:function(t,e){qn[t]=Jn(e)},parseEase:function(t,e){return arguments.length?Jn(t,e):qn},getById:function(t){return ve.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,n,i=new oi(t);for(i.smoothChildTiming=Ze(t.smoothChildTiming),ve.remove(i),i._dp=0,i._time=i._tTime=ve._time,r=ve._first;r;)n=r._next,!e&&!r._dur&&r instanceof gi&&r.vars.onComplete===r._targets[0]||on(i,r,r._start-r._delay),r=n;return on(ve,i,0),i},context:function(t,e){return t?new Di(t,e):he},matchMedia:function(t){return new Bi(t)},matchMediaRefresh:function(){return Pi.forEach((function(t){var e,r,n=t.conditions;for(r in n)n[r]&&(n[r]=!1,e=1);e&&t.revert()}))||Fi()},addEventListener:function(t,e){var r=Mi[t]||(Mi[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=Mi[t],n=r&&r.indexOf(e);n>=0&&r.splice(n,1)},utils:{wrap:function Da(t,e,r){var n=e-t;return nr(t)?Tn(t,Da(0,t.length),e):vn(r,(function(e){return(n+(e-t)%n)%n+t}))},wrapYoyo:function Ba(t,e,r){var n=e-t,i=2*n;return nr(t)?Tn(t,Ba(0,t.length-1),e):vn(r,(function(e){return t+((e=(i+(e-t)%i)%i||0)>n?i-e:e)}))},distribute:Sn,random:kn,snap:Cn,normalize:function(t,e,r){return An(t,e,0,1,r)},getUnit:yn,clamp:function(t,e,r){return vn(r,(function(r){return gn(t,e,r)}))},splitColor:Dn,toArray:wn,selector:xn,mapRange:An,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r=0)return;o.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(xo,e,"")),t=wo}(i||e)&&this.props.push(t,e,i[t])},So=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Eo=function(){var t,e,r=this.props,n=this.target,i=n.style,o=n._gsap;for(t=0;t=0?Oo[i]:"")+t},Ro=function(){"undefined"!=typeof window&&window.document&&(Ki=window,Wi=Ki.document,qi=Wi.documentElement,$i=ko("div")||{style:{}},ko("div"),wo=Ao(wo),xo=wo+"Origin",$i.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Xi=!!Ao("perspective"),Qi=Vi.core.reverting,Gi=1)},Po=function Va(t){var e,r=ko("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,i=this.nextSibling,o=this.style.cssText;if(qi.appendChild(r),r.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=Va}catch(Va){}else this._gsapBBox&&(e=this._gsapBBox());return n&&(i?n.insertBefore(this,i):n.appendChild(this)),qi.removeChild(r),this.style.cssText=o,e},Mo=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Lo=function(t){var e;try{e=t.getBBox()}catch(o){e=Po.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Po||(e=Po.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+Mo(t,["x","cx","x1"])||0,y:+Mo(t,["y","cy","y1"])||0,width:0,height:0}},Io=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Lo(t))},No=function(t,e){if(e){var r,n=t.style;e in Ji&&e!==xo&&(e=wo),n.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty("--"===r?e:e.replace(no,"-$1").toLowerCase())):n.removeAttribute(e)}},jo=function(t,e,r,n,i,o){var a=new Ri(t._pt,e,r,0,1,o?po:fo);return t._pt=a,a.b=n,a.e=i,t._props.push(r),a},Fo={deg:1,rad:1,turn:1},Do={grid:1,flex:1},Bo=function Ka(t,e,r,n){var i,o,a,u,s=parseFloat(r)||0,c=(r+"").trim().substr((s+"").length)||"px",l=$i.style,f=io.test(e),d="svg"===t.tagName.toLowerCase(),p=(d?"client":"offset")+(f?"Width":"Height"),h=100,v="px"===n,g="%"===n;if(n===c||!s||Fo[n]||Fo[c])return s;if("px"!==c&&!v&&(s=Ka(t,e,r,"px")),u=t.getCTM&&Io(t),(g||"%"===c)&&(Ji[e]||~e.indexOf("adius")))return i=u?t.getBBox()[f?"width":"height"]:t[p],Lr(g?s/i*h:s/100*i);if(l[f?"width":"height"]=h+(v?c:n),o=~e.indexOf("adius")||"em"===n&&t.appendChild&&!d?t:t.parentNode,u&&(o=(t.ownerSVGElement||{}).parentNode),o&&o!==Wi&&o.appendChild||(o=Wi.body),(a=o._gsap)&&g&&a.width&&f&&a.time===Kn.time&&!a.uncache)return Lr(s/a.width*h);if(!g||"height"!==e&&"width"!==e)(g||"%"===c)&&!Do[To(o,"display")]&&(l.position=To(t,"position")),o===t&&(l.position="static"),o.appendChild($i),i=$i[p],o.removeChild($i),l.position="absolute";else{var y=t.style[e];t.style[e]=h+n,i=t[p],y?t.style[e]=y:No(t,e)}return f&&g&&((a=Rr(o)).time=Kn.time,a.width=o[p]),Lr(v?i*s/h:i&&s?h/i*s:0)},zo=function(t,e,r,n){var i;return Gi||Ro(),e in ao&&"transform"!==e&&~(e=ao[e]).indexOf(",")&&(e=e.split(",")[0]),Ji[e]&&"transform"!==e?(i=Jo(t,n),i="transformOrigin"!==e?i[e]:i.svg?i.origin:Zo(To(t,xo))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||n||~(i+"").indexOf("calc("))&&(i=Wo[e]&&Wo[e](t,e,r)||To(t,e)||Pr(t,e)||("opacity"===e?1:0)),r&&!~(i+"").trim().indexOf(" ")?Bo(t,e,i,r)+r:i},Uo=function(t,e,r,n){if(!r||"none"===r){var i=Ao(e,t,1),o=i&&To(t,i,1);o&&o!==r?(e=i,r=o):"borderColor"===e&&(r=To(t,"borderTopColor"))}var a,u,s,c,l,f,d,p,h,v,g,y=new Ri(this._pt,t.style,e,0,1,Ei),m=0,b=0;if(y.b=r,y.e=n,r+="","auto"==(n+="")&&(f=t.style[e],t.style[e]=n,n=To(t,e)||n,f?t.style[e]=f:No(t,e)),Vn(a=[r,n]),n=a[1],s=(r=a[0]).match(ar)||[],(n.match(ar)||[]).length){for(;u=ar.exec(n);)d=u[0],h=n.substring(m,u.index),l?l=(l+1)%5:"rgba("!==h.substr(-5)&&"hsla("!==h.substr(-5)||(l=1),d!==(f=s[b++]||"")&&(c=parseFloat(f)||0,g=f.substr((c+"").length),"="===d.charAt(1)&&(d=Nr(c,d)+g),p=parseFloat(d),v=d.substr((p+"").length),m=ar.lastIndex-v.length,v||(v=v||De.units[e]||g,m===n.length&&(n+=v,y.e+=v)),g!==v&&(c=Bo(t,e,f,v)||0),y._pt={_next:y._pt,p:h||1===b?h:",",s:c,c:p-c,m:l&&l<4||"zIndex"===e?Math.round:0});y.c=m-1;)r=u[i],Ji[r]&&(n=1,r="transformOrigin"===r?xo:wo),No(o,r);n&&(No(o,wo),s&&(s.svg&&o.removeAttribute("transform"),Jo(o,1),s.uncache=1,So(a)))}},Wo={clearProps:function(t,e,r,n,i){if("isFromStart"!==i.data){var o=t._pt=new Ri(t._pt,e,r,0,0,Ko);return o.u=n,o.pr=-10,o.tween=i,t._props.push(r),1}}},qo=[1,0,0,1,0,0],Go={},$o=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Yo=function(t){var e=To(t,wo);return $o(e)?qo:e.substr(7).match(or).map(Lr)},Qo=function(t,e){var r,n,i,o,a=t._gsap||Rr(t),u=t.style,s=Yo(t);return a.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(s=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?qo:s:(s!==qo||t.offsetParent||t===qi||a.svg||(i=u.display,u.display="block",(r=t.parentNode)&&t.offsetParent||(o=1,n=t.nextElementSibling,qi.appendChild(t)),s=Yo(t),i?u.display=i:No(t,"display"),o&&(n?r.insertBefore(t,n):r?r.appendChild(t):qi.removeChild(t))),e&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},Xo=function(t,e,r,n,i,o){var a,u,s,c=t._gsap,l=i||Qo(t,!0),f=c.xOrigin||0,d=c.yOrigin||0,p=c.xOffset||0,h=c.yOffset||0,v=l[0],g=l[1],y=l[2],m=l[3],b=l[4],w=l[5],x=e.split(" "),_=parseFloat(x[0])||0,S=parseFloat(x[1])||0;r?l!==qo&&(u=v*m-g*y)&&(s=_*(-g/u)+S*(v/u)-(v*w-g*b)/u,_=_*(m/u)+S*(-y/u)+(y*w-m*b)/u,S=s):(_=(a=Lo(t)).x+(~x[0].indexOf("%")?_/100*a.width:_),S=a.y+(~(x[1]||x[0]).indexOf("%")?S/100*a.height:S)),n||!1!==n&&c.smooth?(b=_-f,w=S-d,c.xOffset=p+(b*v+w*y)-b,c.yOffset=h+(b*g+w*m)-w):c.xOffset=c.yOffset=0,c.xOrigin=_,c.yOrigin=S,c.smooth=!!n,c.origin=e,c.originIsAbsolute=!!r,t.style[xo]="0px 0px",o&&(jo(o,c,"xOrigin",f,_),jo(o,c,"yOrigin",d,S),jo(o,c,"xOffset",p,c.xOffset),jo(o,c,"yOffset",h,c.yOffset)),t.setAttribute("data-svg-origin",_+" "+S)},Jo=function(t,e){var r=t._gsap||new ni(t);if("x"in r&&!e&&!r.uncache)return r;var n,i,o,a,u,s,c,l,f,d,p,h,v,g,y,m,b,w,x,_,S,E,C,k,T,O,A,R,P,M,L,I,N=t.style,j=r.scaleX<0,F="px",D="deg",B=getComputedStyle(t),z=To(t,xo)||"0";return n=i=o=s=c=l=f=d=p=0,a=u=1,r.svg=!(!t.getCTM||!Io(t)),B.translate&&("none"===B.translate&&"none"===B.scale&&"none"===B.rotate||(N[wo]=("none"!==B.translate?"translate3d("+(B.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==B.rotate?"rotate("+B.rotate+") ":"")+("none"!==B.scale?"scale("+B.scale.split(" ").join(",")+") ":"")+("none"!==B[wo]?B[wo]:"")),N.scale=N.rotate=N.translate="none"),g=Qo(t,r.svg),r.svg&&(r.uncache?(T=t.getBBox(),z=r.xOrigin-T.x+"px "+(r.yOrigin-T.y)+"px",k=""):k=!e&&t.getAttribute("data-svg-origin"),Xo(t,k||z,!!k||r.originIsAbsolute,!1!==r.smooth,g)),h=r.xOrigin||0,v=r.yOrigin||0,g!==qo&&(w=g[0],x=g[1],_=g[2],S=g[3],n=E=g[4],i=C=g[5],6===g.length?(a=Math.sqrt(w*w+x*x),u=Math.sqrt(S*S+_*_),s=w||x?eo(x,w)*Zi:0,(f=_||S?eo(_,S)*Zi+s:0)&&(u*=Math.abs(Math.cos(f*to))),r.svg&&(n-=h-(h*w+v*_),i-=v-(h*x+v*S))):(I=g[6],M=g[7],A=g[8],R=g[9],P=g[10],L=g[11],n=g[12],i=g[13],o=g[14],c=(y=eo(I,P))*Zi,y&&(k=E*(m=Math.cos(-y))+A*(b=Math.sin(-y)),T=C*m+R*b,O=I*m+P*b,A=E*-b+A*m,R=C*-b+R*m,P=I*-b+P*m,L=M*-b+L*m,E=k,C=T,I=O),l=(y=eo(-_,P))*Zi,y&&(m=Math.cos(-y),L=S*(b=Math.sin(-y))+L*m,w=k=w*m-A*b,x=T=x*m-R*b,_=O=_*m-P*b),s=(y=eo(x,w))*Zi,y&&(k=w*(m=Math.cos(y))+x*(b=Math.sin(y)),T=E*m+C*b,x=x*m-w*b,C=C*m-E*b,w=k,E=T),c&&Math.abs(c)+Math.abs(s)>359.9&&(c=s=0,l=180-l),a=Lr(Math.sqrt(w*w+x*x+_*_)),u=Lr(Math.sqrt(C*C+I*I)),y=eo(E,C),f=Math.abs(y)>2e-4?y*Zi:0,p=L?1/(L<0?-L:L):0),r.svg&&(k=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!$o(To(t,wo)),k&&t.setAttribute("transform",k))),Math.abs(f)>90&&Math.abs(f)<270&&(j?(a*=-1,f+=s<=0?180:-180,s+=s<=0?180:-180):(u*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=n-((r.xPercent=n&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-n)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+F,r.y=i-((r.yPercent=i&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+F,r.z=o+F,r.scaleX=Lr(a),r.scaleY=Lr(u),r.rotation=Lr(s)+D,r.rotationX=Lr(c)+D,r.rotationY=Lr(l)+D,r.skewX=f+D,r.skewY=d+D,r.transformPerspective=p+F,(r.zOrigin=parseFloat(z.split(" ")[2])||!e&&r.zOrigin||0)&&(N[xo]=Zo(z)),r.xOffset=r.yOffset=0,r.force3D=De.force3D,r.renderTransform=r.svg?aa:Xi?oa:ea,r.uncache=0,r},Zo=function(t){return(t=t.split(" "))[0]+" "+t[1]},ta=function(t,e,r){var n=yn(e);return Lr(parseFloat(e)+parseFloat(Bo(t,"x",r+"px",n)))+n},ea=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,oa(t,e)},ra="0deg",na="0px",ia=") ",oa=function(t,e){var r=e||this,n=r.xPercent,i=r.yPercent,o=r.x,a=r.y,u=r.z,s=r.rotation,c=r.rotationY,l=r.rotationX,f=r.skewX,d=r.skewY,p=r.scaleX,h=r.scaleY,v=r.transformPerspective,g=r.force3D,y=r.target,m=r.zOrigin,b="",w="auto"===g&&t&&1!==t||!0===g;if(m&&(l!==ra||c!==ra)){var x,_=parseFloat(c)*to,S=Math.sin(_),E=Math.cos(_);_=parseFloat(l)*to,x=Math.cos(_),o=ta(y,o,S*x*-m),a=ta(y,a,-Math.sin(_)*-m),u=ta(y,u,E*x*-m+m)}v!==na&&(b+="perspective("+v+ia),(n||i)&&(b+="translate("+n+"%, "+i+"%) "),(w||o!==na||a!==na||u!==na)&&(b+=u!==na||w?"translate3d("+o+", "+a+", "+u+") ":"translate("+o+", "+a+ia),s!==ra&&(b+="rotate("+s+ia),c!==ra&&(b+="rotateY("+c+ia),l!==ra&&(b+="rotateX("+l+ia),f===ra&&d===ra||(b+="skew("+f+", "+d+ia),1===p&&1===h||(b+="scale("+p+", "+h+ia),y.style[wo]=b||"translate(0, 0)"},aa=function(t,e){var r,n,i,o,a,u=e||this,s=u.xPercent,c=u.yPercent,l=u.x,f=u.y,d=u.rotation,p=u.skewX,h=u.skewY,v=u.scaleX,g=u.scaleY,y=u.target,m=u.xOrigin,b=u.yOrigin,w=u.xOffset,x=u.yOffset,_=u.forceCSS,S=parseFloat(l),E=parseFloat(f);d=parseFloat(d),p=parseFloat(p),(h=parseFloat(h))&&(p+=h=parseFloat(h),d+=h),d||p?(d*=to,p*=to,r=Math.cos(d)*v,n=Math.sin(d)*v,i=Math.sin(d-p)*-g,o=Math.cos(d-p)*g,p&&(h*=to,a=Math.tan(p-h),i*=a=Math.sqrt(1+a*a),o*=a,h&&(a=Math.tan(h),r*=a=Math.sqrt(1+a*a),n*=a)),r=Lr(r),n=Lr(n),i=Lr(i),o=Lr(o)):(r=v,o=g,n=i=0),(S&&!~(l+"").indexOf("px")||E&&!~(f+"").indexOf("px"))&&(S=Bo(y,"x",l,"px"),E=Bo(y,"y",f,"px")),(m||b||w||x)&&(S=Lr(S+m-(m*r+b*i)+w),E=Lr(E+b-(m*n+b*o)+x)),(s||c)&&(a=y.getBBox(),S=Lr(S+s/100*a.width),E=Lr(E+c/100*a.height)),a="matrix("+r+","+n+","+i+","+o+","+S+","+E+")",y.setAttribute("transform",a),_&&(y.style[wo]=a)},ua=function(t,e,r,n,i){var o,a,u=360,s=$e(i),c=parseFloat(i)*(s&&~i.indexOf("rad")?Zi:1)-n,l=n+c+"deg";return s&&("short"===(o=i.split("_")[1])&&(c%=u)!=c%180&&(c+=c<0?u:-360),"cw"===o&&c<0?c=(c+u*ro)%u-~~(c/u)*u:"ccw"===o&&c>0&&(c=(c-u*ro)%u-~~(c/u)*u)),t._pt=a=new Ri(t._pt,e,r,n,c,so),a.e=l,a.u="deg",t._props.push(r),a},sa=function(t,e){for(var r in e)t[r]=e[r];return t},ca=function(t,e,r){var n,i,o,a,u,s,c,l=sa({},r._gsap),f=r.style;for(i in l.svg?(o=r.getAttribute("transform"),r.setAttribute("transform",""),f[wo]=e,n=Jo(r,1),No(r,wo),r.setAttribute("transform",o)):(o=getComputedStyle(r)[wo],f[wo]=e,n=Jo(r,1),f[wo]=o),Ji)(o=l[i])!==(a=n[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(u=yn(o)!==(c=yn(a))?Bo(r,i,o,c):parseFloat(o),s=parseFloat(a),t._pt=new Ri(t._pt,n,i,u,s-u,uo),t._pt.u=c||0,t._props.push(i));sa(n,l)};Mr("padding,margin,Width,Radius",(function(t,e){var r="Top",n="Right",i="Bottom",o="Left",a=(e<3?[r,n,i,o]:[r+o,r+n,i+n,i+o]).map((function(r){return e<2?t+r:"border"+r+t}));Wo[e>1?"border"+t:t]=function(t,e,r,n,i){var o,u;if(arguments.length<4)return o=a.map((function(e){return zo(t,e,r)})),5===(u=o.join(" ")).split(o[0]).length?o[0]:u;o=(n+"").split(" "),u={},a.forEach((function(t,e){return u[t]=o[e]=o[e]||o[(e-1)/2|0]})),t.init(e,u,i)}}));var la={name:"css",register:Ro,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,n,i){var o,a,u,s,c,l,f,d,p,h,v,g,y,m,b,w,x=this._props,_=t.style,S=r.vars.startAt;for(f in Gi||Ro(),this.styles=this.styles||Co(t),w=this.styles.props,this.tween=r,e)if("autoRound"!==f&&(a=e[f],!Er[f]||!li(f,e,r,n,t,i)))if(c=typeof a,l=Wo[f],"function"===c&&(c=typeof(a=a.call(r,n,t,i))),"string"===c&&~a.indexOf("random(")&&(a=On(a)),l)l(this,t,f,a,r)&&(b=1);else if("--"===f.substr(0,2))o=(getComputedStyle(t).getPropertyValue(f)+"").trim(),a+="",Un.lastIndex=0,Un.test(o)||(d=yn(o),p=yn(a)),p?d!==p&&(o=Bo(t,f,o,p)+p):d&&(a+=d),this.add(_,"setProperty",o,a,n,i,0,0,f),x.push(f),w.push(f,0,_[f]);else if("undefined"!==c){if(S&&f in S?(o="function"==typeof S[f]?S[f].call(r,n,t,i):S[f],$e(o)&&~o.indexOf("random(")&&(o=On(o)),yn(o+"")||"auto"===o||(o+=De.units[f]||yn(zo(t,f))||""),"="===(o+"").charAt(1)&&(o=zo(t,f))):o=zo(t,f),s=parseFloat(o),(h="string"===c&&"="===a.charAt(1)&&a.substr(0,2))&&(a=a.substr(2)),u=parseFloat(a),f in ao&&("autoAlpha"===f&&(1===s&&"hidden"===zo(t,"visibility")&&u&&(s=0),w.push("visibility",0,_.visibility),jo(this,_,"visibility",s?"inherit":"hidden",u?"inherit":"hidden",!u)),"scale"!==f&&"transform"!==f&&~(f=ao[f]).indexOf(",")&&(f=f.split(",")[0])),v=f in Ji)if(this.styles.save(f),g||((y=t._gsap).renderTransform&&!e.parseTransform||Jo(t,e.parseTransform),m=!1!==e.smoothOrigin&&y.smooth,(g=this._pt=new Ri(this._pt,_,wo,0,1,y.renderTransform,y,0,-1)).dep=1),"scale"===f)this._pt=new Ri(this._pt,y,"scaleY",y.scaleY,(h?Nr(y.scaleY,h+u):u)-y.scaleY||0,uo),this._pt.u=0,x.push("scaleY",f),f+="X";else{if("transformOrigin"===f){w.push(xo,0,_[xo]),a=Vo(a),y.svg?Xo(t,a,0,m,0,this):((p=parseFloat(a.split(" ")[2])||0)!==y.zOrigin&&jo(this,y,"zOrigin",y.zOrigin,p),jo(this,_,f,Zo(o),Zo(a)));continue}if("svgOrigin"===f){Xo(t,a,1,m,0,this);continue}if(f in Go){ua(this,y,f,s,h?Nr(s,h+a):a);continue}if("smoothOrigin"===f){jo(this,y,"smooth",y.smooth,a);continue}if("force3D"===f){y[f]=a;continue}if("transform"===f){ca(this,a,t);continue}}else f in _||(f=Ao(f)||f);if(v||(u||0===u)&&(s||0===s)&&!oo.test(a)&&f in _)u||(u=0),(d=(o+"").substr((s+"").length))!==(p=yn(a)||(f in De.units?De.units[f]:d))&&(s=Bo(t,f,o,p)),this._pt=new Ri(this._pt,v?y:_,f,s,(h?Nr(s,h+u):u)-s,v||"px"!==p&&"zIndex"!==f||!1===e.autoRound?uo:lo),this._pt.u=p||0,d!==p&&"%"!==p&&(this._pt.b=o,this._pt.r=co);else if(f in _)Uo.call(this,t,f,o,h?h+a:a);else if(f in t)this.add(t,f,o||t[f],h?h+a:a,n,i);else if("parseTransform"!==f){hr(f,a);continue}v||(f in _?w.push(f,0,_[f]):w.push(f,1,o||t[f])),x.push(f)}b&&Ai(this)},render:function(t,e){if(e.tween._time||!Qi())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:zo,aliases:ao,getSetter:function(t,e,r){var n=ao[e];return n&&n.indexOf(",")<0&&(e=n),e in Ji&&e!==xo&&(t._gsap.x||zo(t,"x"))?r&&Yi===r?"scale"===e?yo:go:(Yi=r||{})&&("scale"===e?mo:bo):t.style&&!Xe(t.style[e])?ho:~e.indexOf("-")?vo:xi(t,e)},core:{_removeProperty:No,_getMatrix:Qo}};Vi.utils.checkPrefix=Ao,Vi.core.getStyleSaver=Co,function(t,e){var r=Mr(t+","+e+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Ji[t]=1}));Mr(e,(function(t){De.units[t]="deg",Go[t]=1})),ao[r[13]]=t+","+e,Mr("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");ao[e[1]]=r[e[0]]}))}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY"),Mr("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){De.units[t]="px"})),Vi.registerPlugin(la);var fa=Vi.registerPlugin(la)||Vi;fa.core.Tween,r(94092);var da=function(t){var e=n.useState(!1),r=e[0],i=e[1],o=n.useState(!1),a=o[0],u=o[1],s=n.createRef(0),c=n.createRef(null);t.federated,n.useEffect((function(){t.federated?(i(!0),t.onAntaresLoaded()):(null===c.current&&(window.addEventListener("keydown",l,!1),c.current=!0),f())}),[]);var l=function(){var t,e=null;t=Zt.isHbbTV()?[405,405,404,406,406,403]:[89,89,71,66,66,82],event.keyCode===t[s.current]?s.current===t.length-1?u(!0):(s.current=s.current+1,null!==e&&(clearTimeout(e),e=null),e=setTimeout((function(){s.current=0,clearTimeout(e),e=null}),5e3)):(s.current=0,clearTimeout(e),e=null)},f=function(){if(t.preventHbbTVInit||!Zt.isHbbTV())se({debug:t.spatialDebug,visualDebug:t.spatialVisualDebug,throttle:t.throttle}),i(!0),t.onAntaresLoaded();else{var e=t.keySet&&Array.isArray(t.keySet)?t.keySet:[Zt.HBBTV_KEYS.RED,Zt.HBBTV_KEYS.GREEN,Zt.HBBTV_KEYS.YELLOW,Zt.HBBTV_KEYS.BLUE,Zt.HBBTV_KEYS.NAVIGATION];Zt.initializeHbbTV({bindToChannel:!0,keySet:e,destryAppOnCatch:t.destryAppOnCatch}).then((function(){se({debug:!0,visualDebug:t.spatialVisualDebug,throttle:t.throttle}),fa.config({force3D:!0}),i(!0),t.onAntaresLoaded()}))["catch"]((function(t){return console.log(t)}))}};return r?Q(bt,{},void 0,Q(te,{appVersion:t.appVersion}),Q(ce.Provider,{value:{enhancePerformance:t.enhancePerformance,enableMagicRemoteController:t.enableMagicRemoteController}},void 0,Q("div",{id:"antares-container",className:"antares-container"},void 0,t.children)),t.secretMenuEnabled&&a?Q(Et,{infos:t.secretMenuInfo,hideSecretMenu:function(){u(!1)}}):null):null};da.propTypes={children:L["default"].node.isRequired,keySet:L["default"].array,preventHbbTVInit:L["default"].bool,onAntaresLoaded:L["default"].func,secretMenuEnabled:L["default"].bool,secretMenuInfo:L["default"].object,throttle:L["default"].number,appVersion:L["default"].object,federated:L["default"].bool,enhancePerformance:L["default"].bool,enableMagicRemoteController:L["default"].bool},da.defaultProps={withSecretMenu:!1,preventHbbTVInit:!1,onAntaresLoaded:function(){console.log("[ANTARES v.2.3.0] Framework loaded.")},secretMenuEnabled:!1,secretMenuInfo:{},throttle:0,spatialDebug:!1,spatialVisualDebug:!1,destryAppOnCatch:!1,federated:!1,enhancePerformance:!1,enableMagicRemoteController:!1};var pa=k["default"].createContext(),ha=pa.Provider,va=pa.Consumer,ga=function(){var t=(new Date).getTime();return"xxxxxxxxxxxx4xxxyxxxxxxxx".replace(/[xy]/g,(function(e){var r=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?r:3&r|8).toString(16)}))},ya={SCROLLABLE:0,PAGINATION:1},ma=mt;null!==window.spatial&&void 0!==window.spatial?ma=window.spatial:window.spatial=ma;var ba=function(t){var e=function(e){var r=e.node;t.onFocus&&t.onFocus(t.index,r,ma.direction)},r=function(e){var r=e.node;t.onBlur&&t.onBlur(t.index,r,ma.direction)},n=function(){t.onEnterDown&&t.onEnterDown(t.index,null,ma.direction)},i=function(e){return!t.onArrowPress||t.onArrowPress(e)},o=function(e){return!t.onArrowRelease||t.onArrowRelease(e)};return Q(va,{},void 0,(function(a){return Q(wa,{focusKey:t.focusableId?t.focusableId:"antares-focusable-"+ga(),focusable:a.isFocusable?a.isFocusable:t.isFocusable,onBecameFocused:e,onBecameBlurred:r,onEnterPress:n,onArrowPress:i,onArrowRelease:o,focusedClassname:t.focusedClassname,classname:t.classname,stealFocus:t.forceFocus,retainLastFocus:a.retainLastFocus,type:a.type,isGrid:a.isGrid,isLeafMatrix:a.hasChildrenMatrix,index:t.index,remainInFocus:a.remainInFocus,parentNode:a.parentNode,parentInnerNode:a.parentInnerNode,parentNodeLayout:a.parentNodeLayout,fixed:a.fixed,adjustFixed:a.adjustFixed,animationType:a.animationType,animationDuration:a.animationDuration,performAnimation:a.performAnimation,scrollOffset:t.scrollOffset,parent:a.parent,isNestedVertical:a.isNestedVertical},void 0,t.children)}))},wa=ue({trackChildren:!1})((function(t){var e=n.useRef(null),r=n.useRef(null),i=n.useRef(null);null===i.current&&(i.current="focusable-"+ga());var o=n.useContext(ce);n.useEffect((function(){return r.current=ma.focusableComponents[t.focusKey].node,e.current=r.current.getBoundingClientRect(),function(){i.current=null}}),[]),n.useEffect((function(){t.focused?(r.current.classList.contains(t.classname)&&r.current.classList.remove(t.classname),r.current.classList.add(t.focusedClassname),!t.isGrid||"up"!==ma.direction&&"down"!==ma.direction&&("left"!==ma.direction&&"right"!==ma.direction||t.retainLastFocus)?a():t.performAnimation()):(r.current.classList.contains(t.focusedClassname)&&r.current.classList.remove(t.focusedClassname),r.current.classList.add(t.classname))}),[t.focused]);var a=function(){if(null!==ma.direction||!o.enableMagicRemoteController){var n=r.current.getBoundingClientRect(),i=t.parentInnerNode.current.getBoundingClientRect(),a=null;t.isNestedVertical&&(a=t.parentNode.current.getBoundingClientRect());var s=t.scrollOffset,c=s.right,l=void 0===c?0:c,f=s.left,d=void 0===f?0:f,p=s.up,h=void 0===p?0:p,v=s.down,g=void 0===v?0:v,y=!1,m=!1;"vertical"===t.type?(m=t.parentNodeLayout.current.bottom>=i.bottom,y=!(t.parentNodeLayout.current.bottomn.top)):"horizontal"===t.type?(m=t.parentNodeLayout.current.right>=i.right,y=!(t.parentNodeLayout.current.rightn.left)):"grid"===t.type&&(m=t.parentNodeLayout.current.bottom>=i.bottom,y=t.isNestedVertical?!(a.bottomn.top):!(t.parentNodeLayout.current.bottomn.top)),t.fixed?t.adjustFixed?"horizontal"===t.type&&"right"===ma.direction||"vertical"===t.type&&"down"===ma.direction?m||("horizontal"===t.type?u(e.current.left-t.parentNodeLayout.current.left-l):("vertical"===t.type||"grid"===t.type)&&u(e.current.top-t.parentNodeLayout.current.top-g)):y||("horizontal"===t.type?u(e.current.left-t.parentNodeLayout.current.left-d):("vertical"===t.type||"grid"===t.type)&&u(e.current.top-t.parentNodeLayout.current.top-h)):"horizontal"===t.type?u(e.current.left-t.parentNodeLayout.current.left-l):("vertical"===t.type||"grid"===t.type)&&u(e.current.top-t.parentNodeLayout.current.top-g):y||(t.animationType===ya.PAGINATION?"horizontal"===t.type?"right"===ma.direction?u(e.current.left-t.parentNodeLayout.current.left+t.scrollOffset):"left"===ma.direction?u(e.current.right-t.parentNodeLayout.current.right+t.scrollOffset):("down"!==ma.direction&&"up"!==ma.direction||t.retainLastFocus)&&(null!==ma.direction||o.enableMagicRemoteController)||u(e.current.right-t.parentNodeLayout.current.right+t.scrollOffset):"vertical"===t.type&&("down"===ma.direction?u(e.current.top-t.parentNodeLayout.current.top+t.scrollOffset):"up"===ma.direction?u(e.current.bottom-t.parentNodeLayout.current.bottom+t.scrollOffset):("left"!==ma.direction&&"right"!==ma.direction||t.retainLastFocus)&&(null!==ma.direction||o.enableMagicRemoteController)||u(e.current.bottom-t.parentNodeLayout.current.bottom+t.scrollOffset)):"horizontal"===t.type?"right"===ma.direction?u(e.current.left-t.parentNodeLayout.current.left-(t.parentNodeLayout.current.width-e.current.width)+l):"left"===ma.direction?u(e.current.right+t.parentNodeLayout.current.width-t.parentNodeLayout.current.right-(e.current.width+d)):("down"!==ma.direction&&"up"!==ma.direction||t.retainLastFocus)&&(null!==ma.direction||o.enableMagicRemoteController)||u(e.current.right+t.parentNodeLayout.current.width-t.parentNodeLayout.current.right-(e.current.width+g)):("vertical"===t.type||"grid"===t.type)&&("down"===ma.direction?u(e.current.top-t.parentNodeLayout.current.top-(t.parentNodeLayout.current.height-e.current.height)+g):"up"===ma.direction?u(e.current.bottom+t.parentNodeLayout.current.height-t.parentNodeLayout.current.bottom-(e.current.height+h)):("left"!==ma.direction&&"right"!==ma.direction||t.retainLastFocus)&&(null!==ma.direction||o.enableMagicRemoteController)||("left"===ma.direction?u(e.current.bottom+t.parentNodeLayout.current.height-t.parentNodeLayout.current.bottom-(e.current.height+d)):"right"===ma.direction&&u(e.current.bottom+t.parentNodeLayout.current.height-t.parentNodeLayout.current.bottom-(e.current.height+l)))))}},u=function(e){"vertical"===t.type?fa.to(t.parentInnerNode.current,{y:-e,duration:t.animationDuration}):"horizontal"===t.type?fa.to(t.parentInnerNode.current,{x:-e,duration:t.animationDuration}):"grid"===t.type&&fa.to(t.parentInnerNode.current,{y:-e,duration:t.animationDuration})},s=n.useCallback((function(){o.enableMagicRemoteController&&t.focusable&&ma.focusKey!==t.focusKey&&window.spatial.setFocus(t.focusKey,void 0,{},!0)}),[i.current,t.focusable]),c=n.useCallback((function(){o.enableMagicRemoteController&&t.onEnterPress&&t.onEnterPress()}),[i.current,t.focusable,t.onEnterPress]);return Q("div",{className:t.classname+" "+(o.enhancePerformance?"enhance-performace":null),id:i.current,onClick:c,onMouseOver:s},void 0,t.children)}));ba.defaultProps={forceFocus:!1,scrollOffset:{right:0,up:0,down:0,left:0},animationDuration:.5,retainLastFocus:!1,isFocusable:!0},ba.propTypes={onArrowPress:L["default"].func,onArrowRelease:L["default"].func,onFocus:L["default"].func,onBlur:L["default"].func,onEnterDown:L["default"].func,classname:L["default"].string,focusedClassname:L["default"].string,focusableId:L["default"].string,index:L["default"].number,scrollOffset:L["default"].object},wt(".horizontal-list-root {\r\n display: inline-flex !important;\r\n align-items: center;\r\n justify-content: flex-start;\r\n flex-direction: row;\r\n}\r\n\r\n.horizontal-list-root-container {\r\n overflow: hidden;\r\n}");var xa=mt;null!==window.spatial&&void 0!==window.spatial?xa=window.spatial:window.spatial=xa;var _a=function(t){var e=function(e){var r=e.node;t.onFocus&&t.onFocus(r,xa.direction)},r=function(e){var r=e.node;t.onBlur&&t.onBlur(r,xa.direction)};return Q(va,{},void 0,(function(n){return n&&n.type&&"grid"===n.type?Q(Ea,{focusable:n.isFocusable,focusKey:t.focusableId?t.focusableId:"antares-grid-list-"+ga(),onBecameBlurred:r,onBecameFocused:e,containerClassname:t.containerClassname,innerClassname:t.innerClassname,remainInFocus:n.remainInFocus,forgetLastFocusedChild:!1,forceFocus:t.forceFocus,scrollOffset:t.scrollOffset,preferredChildFocusKey:t.preferredChildFocusKey,titleComponent:t.titleComponent,isGrid:!0,hasChildrenMatrix:t.hasChildrenMatrix,parentNode:n.parentNode,parentInnerNode:n.parentInnerNode,parentNodeLayout:n.parentNodeLayout,fixed:null!==t.overrideFixed?t.overrideFixed:n.fixed,adjustFixed:n.adjustFixed,animationDuration:t.animationDuration,animationType:n.animationType,parentHz:n,forceScroll:t.forceScroll,layoutExperimental:n.layoutExperimental},void 0,t.children):Q(Sa,{focusKey:t.focusableId?t.focusableId:"antares-horizontal-list-"+ga(),focusable:t.isFocusable,onBecameBlurred:r,onBecameFocused:e,containerClassname:t.containerClassname,innerClassname:t.innerClassname,titleComponent:t.titleComponent,remainInFocus:t.remainInFocus,forgetLastFocusedChild:!t.retainLastFocus,forceFocus:t.forceFocus,innerWidth:t.innerWidth,preferredChildFocusKey:t.preferredChildFocusKey,fixed:t.fixed,adjustFixed:t.adjustFixed,scrollOffset:t.scrollOffset,animationDuration:t.animationDuration,animationType:t.animationType,forceScroll:t.forceScroll},void 0,t.children)}))};_a.propTypes={onFocus:L["default"].func,onBlur:L["default"].func,onEnterDown:L["default"].func,innerClassname:L["default"].string,containerClassname:L["default"].string,focusableId:L["default"].string,scrollOffset:L["default"].object,animationDuration:L["default"].number,fixed:L["default"].bool,adjustFixed:L["default"].bool,remainInFocus:L["default"].bool,titleComponent:L["default"].oneOfType([L["default"].element,L["default"].elementType]),animationType:L["default"].oneOf([ya.SCROLLABLE,ya.PAGINATION]),overrideFixed:L["default"].bool,preferredChildFocusKey:L["default"].string,hasChildrenMatrix:L["default"].bool},_a.defaultProps={innerClassname:"",containerClassname:"",forceFocus:!1,fixed:!1,adjustFixed:!1,overrideFixed:null,animationDuration:.5,retainLastFocus:!1,scrollOffset:0,remainInFocus:!1,animationType:ya.SCROLLABLE,hasChildrenMatrix:!1,forceScroll:!1};var Sa=ue({trackChildren:!0})((function(t){var e=n.useRef(null);null===e.current&&(e.current="focusable-"+ga());var r=n.useRef(null),i=n.useRef(null),o=n.useRef(null),a=n.useContext(ce);n.useEffect((function(){return t.forceFocus&&t.stealFocus(),r.current=xa.focusableComponents[t.focusKey].node,i.current=xa.focusableComponents[t.focusKey].node.firstChild,o.current=r.current.getBoundingClientRect(),function(){e.current=null}}),[]);var u={parentNode:r,parentInnerNode:i,parentNodeLayout:o,type:"horizontal",fixed:t.fixed,adjustFixed:t.adjustFixed,animationType:t.animationType,animationDuration:t.animationDuration,remainInFocus:t.remainInFocus,isFocusable:t.isFocusable};return Q(ha,{value:u},void 0,t.titleComponent,Q("div",{id:"horizontal-list-container-"+e.current,className:t.containerClassname+" horizontal-list-root-container"},void 0,Q("div",{id:"horizontal-inner-list-"+e.current,className:t.innerClassname+" horizontal-list-root "+(a.enhancePerformance?"enhance-performace":"")},void 0,t.children)))})),Ea=ue({trackChildren:!0})((function(t){var e=n.useRef(null);null===e.current&&(e.current="focusable-"+ga());var r=n.useRef(null),i=n.useRef(null),o=n.useRef(null),a=n.useContext(ce);n.useEffect((function(){return o.current=r.current.firstChild,i.current=r.current.getBoundingClientRect(),t.forceFocus&&t.stealFocus(),function(){e.current=null}}),[]);var u=function(e){fa.to(t.parentInnerNode.current,{y:-e,duration:t.animationDuration})},s={parentNode:r,parentInnerNode:o,parentNodeLayout:i,type:"horizontal",fixed:t.fixed,adjustFixed:t.adjustFixed,animationType:t.animationType,animationDuration:t.animationDuration,isFocusable:t.isFocusable,performAnimation:function(){var e;if(t.layoutExperimental){var n,o=null==(n=xa.focusableComponents[t.focusKey])?void 0:n.layout;if(o&&o.top!==i.current.top){var a=J(J({},i.current),{},{top:o.top});t.hasChildrenMatrix||(a.left=o.left),i.current=a}}var s=r.current.getBoundingClientRect(),c=t.parentInnerNode.current.getBoundingClientRect(),l=t.parentNodeLayout.current.bottom>=c.bottom,f=!(t.parentNodeLayout.current.bottoms.top),d=t.scrollOffset,p=d.right,h=void 0===p?0:p,v=d.up,g=void 0===v?0:v,y=d.left,m=void 0===y?0:y,b=d.down,w=void 0===b?0:b;if(null!=t&&null!=(e=t.parentHz)&&null!=(e=e.parent)&&e.fixed)if("down"===xa.direction){var x=t.parentNode.current.getBoundingClientRect();!function(e){fa.to(t.parentHz.parent.parentInnerNode.current,{y:e,duration:t.animationDuration})}(t.parentHz.parent.parentNodeLayout.current.top-x.top-w)}else xa.direction;else if(t.fixed)t.adjustFixed?"down"===xa.direction?l||u(i.current.top-t.parentNodeLayout.current.top-w):"up"===xa.direction?f||u(i.current.top-t.parentNodeLayout.current.top-g):"left"!==xa.direction&&"right"!==xa.direction||t.retainLastFocus||("left"===xa.direction?u(i.current.top-t.parentNodeLayout.current.top-m):"right"===xa.direction&&u(i.current.top-t.parentNodeLayout.current.top-h)):"down"===xa.direction?u(i.current.top-t.parentNodeLayout.current.top-w):"up"===xa.direction&&u(i.current.top-t.parentNodeLayout.current.top-g);else if(f)t.forceScroll&&("down"===xa.direction?u(w):"up"===xa.direction&&u(g));else switch(t.animationType){case ya.PAGINATION:"down"===xa.direction?u(i.current.top-t.parentNodeLayout.current.top-t.scrollOffset):"up"===xa.direction?u(i.current.bottom-t.parentNodeLayout.current.bottom):"left"!==xa.direction&&"right"!==xa.direction||t.retainLastFocus||u(i.current.top-t.parentNodeLayout.current.top-t.scrollOffset);break;case ya.SCROLLABLE:t.isGrid&&("down"===xa.direction?u(i.current.top-t.parentNodeLayout.current.top-w):"up"===xa.direction&&u(i.current.top-t.parentNodeLayout.current.top-g));default:"down"===xa.direction?u(i.current.top-t.parentNodeLayout.current.top-(t.parentNodeLayout.current.height-i.current.height)+w):"up"===xa.direction?u(i.current.bottom+t.parentNodeLayout.current.height-t.parentNodeLayout.current.bottom-(i.current.height+g)):"left"!==xa.direction&&"right"!==xa.direction||t.retainLastFocus||("left"===xa.direction?u(i.current.bottom+t.parentNodeLayout.current.height-t.parentNodeLayout.current.bottom-(i.current.height+m)):"right"===xa.direction&&u(i.current.bottom+t.parentNodeLayout.current.height-t.parentNodeLayout.current.bottom-(i.current.height+h)))}},isGrid:!0,hasChildrenMatrix:t.hasChildrenMatrix,retainLastFocus:!0};return Q(ha,{value:s},void 0,t.titleComponent?t.titleComponent:null,k["default"].createElement("div",{ref:r,id:"horizontal-list-container-"+e.current,className:"horizontal-list-root-container "+t.containerClassname},Q("div",{id:"horizontal-inner-list-"+e.current,className:"horizontal-list-root "+t.innerClassname+" "+(a.enhancePerformance?"enhance-performace":"")},void 0,t.children)))}));wt(".vertical-list-root {\r\n display: inline-flex !important;\r\n align-items: flex-start;\r\n justify-content: flex-start;\r\n flex-direction: column;\r\n}\r\n\r\n.vertical-list-root-container {\r\n overflow: hidden;\r\n}");var Ca=mt;null!==window.spatial&&void 0!==window.spatial?Ca=window.spatial:window.spatial=Ca;var ka=function(t){var e=function(e){var r=e.node;t.onFocus&&t.onFocus(r,Ca.direction)},r=function(e){var r=e.node;t.onBlur&&t.onBlur(r,Ca.direction)};return Q(va,{},void 0,(function(n){return n&&n.type&&"grid"===n.type?Q(Oa,{focusable:n.isFocusable,focusKey:t.focusableId?t.focusableId:"antares-grid-list-"+ga(),onBecameBlurred:r,onBecameFocused:e,containerClassname:t.containerClassname,innerClassname:t.innerClassname,remainInFocus:n.remainInFocus,forgetLastFocusedChild:!1,forceFocus:t.forceFocus,scrollOffset:t.scrollOffset,preferredChildFocusKey:t.preferredChildFocusKey,titleComponent:t.titleComponent,isGrid:!0,hasChildrenMatrix:t.hasChildrenMatrix,parentNode:n.parentNode,parentInnerNode:n.parentInnerNode,parentNodeLayout:n.parentNodeLayout,fixed:null!==t.overrideFixed?t.overrideFixed:n.fixed,adjustFixed:n.adjustFixed,animationDuration:t.animationDuration,animationType:n.animationType,parent:n,isNestedVertical:t.isNestedVertical},void 0,t.children):Q(Ta,{focusKey:t.focusableId?t.focusableId:"antares-vertical-list-"+ga(),focusable:t.isFocusable,onBecameBlurred:r,onBecameFocused:e,containerClassname:t.containerClassname,innerClassname:t.innerClassname,titleComponent:t.titleComponent,remainInFocus:t.remainInFocus,forgetLastFocusedChild:!t.retainLastFocus,forceFocus:t.forceFocus,innerWidth:t.innerWidth,preferredChildFocusKey:t.preferredChildFocusKey,fixed:t.fixed,adjustFixed:t.adjustFixed,scrollOffset:t.scrollOffset,animationDuration:t.animationDuration,animationType:t.animationType,isGrid:t.isGrid,isNestedVertical:!1,layoutExperimental:t.layoutExperimental},void 0,t.children)}))};ka.propTypes={onFocus:L["default"].func,onBlur:L["default"].func,onEnterDown:L["default"].func,innerClassname:L["default"].string,containerClassname:L["default"].string,focusableId:L["default"].string,scrollOffset:L["default"].object,animationDuration:L["default"].number,animationType:L["default"].oneOf([ya.SCROLLABLE,ya.PAGINATION]),fixed:L["default"].bool,adjustFixed:L["default"].bool,remainInFocus:L["default"].bool,isGrid:L["default"].bool,preferredChildFocusKey:L["default"].string,layoutExperimental:L["default"].bool},ka.defaultProps={forceFocus:!1,fixed:!1,adjustFixed:!1,retainLastFocus:!1,animationDuration:.5,remainInFocus:!1,isGrid:!1,containerClassname:"",innerClassname:"",animationType:ya.SCROLLABLE,overrideFixed:null,isNestedVertical:!1,layoutExperimental:!1};var Ta=ue({trackChildren:!0})((function(t){var e=n.useRef(null);null===e.current&&(e.current="focusable-"+ga());var r=n.useRef(null),i=n.useRef(null),o=n.useRef(null),a=n.useContext(ce);n.useEffect((function(){return t.forceFocus&&t.stealFocus(),r.current=Ca.focusableComponents[t.focusKey].node,i.current=Ca.focusableComponents[t.focusKey].node.firstChild,o.current=r.current.getBoundingClientRect(),function(){e.current=null}}),[]);var u={parentNode:r,parentInnerNode:i,parentNodeLayout:o,type:t.isGrid?"grid":"vertical",fixed:t.fixed,isGrid:t.isGrid,adjustFixed:t.adjustFixed,animationDuration:t.animationDuration,animationType:t.animationType,remainInFocus:t.remainInFocus,isFocusable:t.isFocusable,overrideFixed:t.overrideFixed,isNestedVertical:!1,layoutExperimental:t.layoutExperimental};return Q("div",{id:"vertical-list-container-"+e.current,className:t.containerClassname+" vertical-list-root-container"},void 0,Q("div",{id:"vertical-inner-list-"+e.current,className:t.innerClassname+" vertical-list-root "+(a.enhancePerformance?"enhance-performace":"")},void 0,Q(ha,{value:u},void 0,t.children)))})),Oa=ue({trackChildren:!0})((function(t){var e=n.useRef(null);null===e.current&&(e.current="focusable-"+ga());var r=n.useRef(null),i=n.useRef(null),o=n.useRef(null),a=n.useContext(ce);n.useEffect((function(){return console.log("DID MOUNT vl-grid",t),o.current=r.current.firstChild,i.current=r.current.getBoundingClientRect(),t.forceFocus&&t.stealFocus(),function(){e.current=null}}),[]);var u=function(e){fa.to(t.parentInnerNode.current,{y:-e,duration:t.animationDuration})},s={parentNode:r,parentInnerNode:o,parentNodeLayout:i,type:t.isGrid?"grid":"vertical",fixed:t.fixed,adjustFixed:t.adjustFixed,animationType:t.animationType,animationDuration:t.animationDuration,isFocusable:t.isFocusable,performAnimation:function(){var e=r.current.getBoundingClientRect(),n=t.parentInnerNode.current.getBoundingClientRect(),o=t.parentNodeLayout.current.bottom>=n.bottom,a=!(t.parentNodeLayout.current.bottome.top);t.fixed?t.adjustFixed?"down"===Ca.direction?o||u(i.current.top-t.parentNodeLayout.current.top-0):"up"===Ca.direction&&(a||u(i.current.top-t.parentNodeLayout.current.top-0)):("down"===Ca.direction||"up"===Ca.direction)&&u(i.current.top-t.parentNodeLayout.current.top-0):a||(t.animationType===ya.PAGINATION?"down"===Ca.direction?u(i.current.top-t.parentNodeLayout.current.top-t.scrollOffset):"up"===Ca.direction&&u(i.current.bottom-t.parentNodeLayout.current.bottom):"down"===Ca.direction?t.isNestedVertical||u(i.current.top-t.parentNodeLayout.current.top-(t.parentNodeLayout.current.height-i.current.height)+0):"up"===Ca.direction&&(t.isNestedVertical||u(i.current.bottom+t.parentNodeLayout.current.height-t.parentNodeLayout.current.bottom-(i.current.height+0))))},isGrid:!0,hasChildrenMatrix:t.hasChildrenMatrix,retainLastFocus:!0,overrideFixed:t.overrideFixed,parent:t.parent,isNestedVertical:t.isNestedVertical};return Q(ha,{value:s},void 0,t.titleComponent?t.titleComponent:null,k["default"].createElement("div",{ref:r,id:"vertical-list-container-"+e.current,className:"vertical-list-root-container "+t.containerClassname},Q("div",{id:"vertical-inner-list-"+e.current,className:"vertical-list-root "+t.innerClassname+" "+(a.enhancePerformance?"enhance-performace":"")},void 0,t.children)))}));e.AnimationType=ya,e.AntaresFocusable=ba,e.AntaresHorizontalList=_a,e.AntaresScrollableTextArea=St,e.AntaresVerticalList=ka,e.SecretMenu=Et,e.addKeydownEvent=xt,e.altair=Zt,e["default"]=da,e.navigationUtilities=function(t){return function(e){return Q(it,{},void 0,(function(r){return k["default"].createElement(t,Y({focusTo:r.focusTo,navigateByDirection:r.navigateByDirection,pauseSpatialNavigation:r.pauseSpatialNavigation,resumeSpatialNavigation:r.resumeSpatialNavigation},e))}))}},e.removeKeydownEvent=_t},79795:function(t,e,r){"use strict";function n(t){o.length||(i(),true),o[o.length]=t}t.exports=n;var i,o=[],a=0;function u(){for(;a1024){for(var e=0,r=o.length-a;e0&&!n.test(e))throw new TypeError("invalid parameter value");return'"'+e.replace(a,"\\$1")+'"'}function c(t){this.parameters=Object.create(null),this.type=t}e.q=function(t){if(!t)throw new TypeError("argument string is required");var e="object"==typeof t?function(t){var e;"function"==typeof t.getHeader?e=t.getHeader("content-type"):"object"==typeof t.headers&&(e=t.headers&&t.headers["content-type"]);if("string"!=typeof e)throw new TypeError("content-type header is missing from object");return e}(t):t;if("string"!=typeof e)throw new TypeError("argument string is required to be a string");var n=e.indexOf(";"),i=-1!==n?e.slice(0,n).trim():e.trim();if(!u.test(i))throw new TypeError("invalid media type");var a=new c(i.toLowerCase());if(-1!==n){var s,l,f;for(r.lastIndex=n;l=r.exec(e);){if(l.index!==n)throw new TypeError("invalid parameter format");n+=l[0].length,s=l[1].toLowerCase(),34===(f=l[2]).charCodeAt(0)&&-1!==(f=f.slice(1,-1)).indexOf("\\")&&(f=f.replace(o,"$1")),a.parameters[s]=f}if(n!==e.length)throw new TypeError("invalid parameter format")}return a}},94092:function(t,e,r){"use strict";r(9491).polyfill()},9491:function(t){"use strict";function e(t,e){if(t===undefined||null===t)throw new TypeError("Cannot convert first argument to object");for(var r=Object(t),n=1;n0&&r(l)?e>1?o(l,e-1,r,a,u):n(u,l):a||(u[u.length]=l)}return u}},86649:function(t,e,r){var n=r(83221)();t.exports=n},30641:function(t,e,r){var n=r(86649),i=r(95950);t.exports=function(t,e){return t&&n(t,e,i)}},47422:function(t,e,r){var n=r(31769),i=r(77797);t.exports=function(t,e){for(var r=0,o=(e=n(e,t)).length;null!=t&&ri?0:i+e),(r=r>i?i:r)<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var o=Array(i);++ne||a&&u&&c&&!s&&!l||i&&u&&c||!r&&c||!o)return 1;if(!i&&!a&&!l&&t=s?c:c*("desc"==r[i]?-1:1)}return t.index-e.index}},23007:function(t){t.exports=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++rl))return false;var d=s.get(t),p=s.get(e);if(d&&p)return d==e&&p==t;var h=-1,v=true,g=2&r?new n:undefined;for(s.set(t,e),s.set(e,t);++h-1&&t%1==0&&t-1}},31175:function(t,e,r){var n=r(26025);t.exports=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}},63040:function(t,e,r){var n=r(21549),i=r(80079),o=r(68223);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(o||i),string:new n}}},17670:function(t,e,r){var n=r(12651);t.exports=function(t){var e=n(this,t)["delete"](t);return this.size-=e?1:0,e}},90289:function(t,e,r){var n=r(12651);t.exports=function(t){return n(this,t).get(t)}},4509:function(t,e,r){var n=r(12651);t.exports=function(t){return n(this,t).has(t)}},72949:function(t,e,r){var n=r(12651);t.exports=function(t,e){var r=n(this,t),i=r.size;return r.set(t,e),this.size+=r.size==i?0:1,this}},20317:function(t){t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},67197:function(t){t.exports=function(t,e){return function(r){return null!=r&&(r[t]===e&&(e!==undefined||t in Object(r)))}}},62224:function(t,e,r){var n=r(50104);t.exports=function(t){var e=n(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},81042:function(t,e,r){var n=r(56110)(Object,"create");t.exports=n},3650:function(t,e,r){var n=r(74335)(Object.keys,Object);t.exports=n},90181:function(t){t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},86009:function(t,e,r){t=r.nmd(t);var n=r(34840),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i&&n.process,u=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();t.exports=u},59350:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},74335:function(t){t.exports=function(t,e){return function(r){return t(e(r))}}},56757:function(t,e,r){var n=r(91033),i=Math.max;t.exports=function(t,e,r){return e=i(e===undefined?t.length-1:e,0),function(){for(var o=arguments,a=-1,u=i(o.length-e,0),s=Array(u);++a0){if(++r>=800)return arguments[0]}else r=0;return t.apply(undefined,arguments)}}},51420:function(t,e,r){var n=r(80079);t.exports=function(){this.__data__=new n,this.size=0}},90938:function(t){t.exports=function(t){var e=this.__data__,r=e["delete"](t);return this.size=e.size,r}},63605:function(t){t.exports=function(t){return this.__data__.get(t)}},29817:function(t){t.exports=function(t){return this.__data__.has(t)}},80945:function(t,e,r){var n=r(80079),i=r(68223),o=r(53661);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!i||a.length<199)return a.push([t,e]),this.size=++r.size,this;r=this.__data__=new o(a)}return r.set(t,e),this.size=r.size,this}},61802:function(t,e,r){var n=r(62224),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,a=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(i,(function(t,r,n,i){e.push(n?i.replace(o,"$1"):r||t)})),e}));t.exports=a},77797:function(t,e,r){var n=r(44394);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},47473:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(r){}try{return t+""}catch(r){}}return""}},31800:function(t){var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},37334:function(t){t.exports=function(t){return function(){return t}}},38221:function(t,e,r){var n=r(23805),i=r(10124),o=r(99374),a=Math.max,u=Math.min;t.exports=function(t,e,r){var s,c,l,f,d,p,h=0,v=false,g=false,y=true;if("function"!=typeof t)throw new TypeError("Expected a function");function m(e){var r=s,n=c;return s=c=undefined,h=e,f=t.apply(n,r)}function b(t){var r=t-p;return p===undefined||r>=e||r<0||g&&t-h>=l}function w(){var t=i();if(b(t))return x(t);d=setTimeout(w,function(t){var r=e-(t-p);return g?u(r,l-(t-h)):r}(t))}function x(t){return d=undefined,y&&s?m(t):(s=c=undefined,f)}function _(){var t=i(),r=b(t);if(s=arguments,c=this,p=t,r){if(d===undefined)return function(t){return h=t,d=setTimeout(w,e),v?m(t):f}(p);if(g)return clearTimeout(d),d=setTimeout(w,e),m(p)}return d===undefined&&(d=setTimeout(w,e)),f}return e=o(e)||0,n(r)&&(v=!!r.leading,l=(g="maxWait"in r)?a(o(r.maxWait)||0,e):l,y="trailing"in r?!!r.trailing:y),_.cancel=function(){d!==undefined&&clearTimeout(d),h=0,s=p=c=d=undefined},_.flush=function(){return d===undefined?f:x(i())},_}},75288:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},87612:function(t,e,r){var n=r(79770),i=r(16574),o=r(15389),a=r(56449);t.exports=function(t,e){return(a(t)?n:i)(t,o(e,3))}},20826:function(t,e,r){var n=r(53220),i=r(30641),o=r(15389);t.exports=function(t,e){return n(t,o(e,3),i)}},56170:function(t,e,r){t.exports=r(912)},35970:function(t,e,r){var n=r(83120);t.exports=function(t){return(null==t?0:t.length)?n(t,1):[]}},33215:function(t,e,r){var n=r(30641),i=r(24066);t.exports=function(t,e){return t&&n(t,i(e))}},58156:function(t,e,r){var n=r(47422);t.exports=function(t,e,r){var i=null==t?undefined:n(t,e);return i===undefined?r:i}},80631:function(t,e,r){var n=r(28077),i=r(49326);t.exports=function(t,e){return null!=t&&i(t,e,n)}},912:function(t){t.exports=function(t){return t&&t.length?t[0]:undefined}},83488:function(t){t.exports=function(t){return t}},72428:function(t,e,r){var n=r(27534),i=r(40346),o=Object.prototype,a=o.hasOwnProperty,u=o.propertyIsEnumerable,s=n(function(){return arguments}())?n:function(t){return i(t)&&a.call(t,"callee")&&!u.call(t,"callee")};t.exports=s},56449:function(t){var e=Array.isArray;t.exports=e},64894:function(t,e,r){var n=r(1882),i=r(30294);t.exports=function(t){return null!=t&&i(t.length)&&!n(t)}},3656:function(t,e,r){t=r.nmd(t);var n=r(9325),i=r(89935),o=e&&!e.nodeType&&e,a=o&&t&&!t.nodeType&&t,u=a&&a.exports===o?n.Buffer:undefined,s=(u?u.isBuffer:undefined)||i;t.exports=s},1882:function(t,e,r){var n=r(72552),i=r(23805);t.exports=function(t){if(!i(t))return false;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},30294:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},87730:function(t,e,r){var n=r(29172),i=r(27301),o=r(86009),a=o&&o.isMap,u=a?i(a):n;t.exports=u},23805:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},40346:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},11331:function(t,e,r){var n=r(72552),i=r(28879),o=r(40346),a=Function.prototype,u=Object.prototype,s=a.toString,c=u.hasOwnProperty,l=s.call(Object);t.exports=function(t){if(!o(t)||"[object Object]"!=n(t))return false;var e=i(t);if(null===e)return true;var r=c.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&s.call(r)==l}},38440:function(t,e,r){var n=r(16038),i=r(27301),o=r(86009),a=o&&o.isSet,u=a?i(a):n;t.exports=u},44394:function(t,e,r){var n=r(72552),i=r(40346);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==n(t)}},37167:function(t,e,r){var n=r(4901),i=r(27301),o=r(86009),a=o&&o.isTypedArray,u=a?i(a):n;t.exports=u},95950:function(t,e,r){var n=r(70695),i=r(88984),o=r(64894);t.exports=function(t){return o(t)?n(t):i(t)}},37241:function(t,e,r){var n=r(70695),i=r(72903),o=r(64894);t.exports=function(t){return o(t)?n(t,true):i(t)}},68090:function(t){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:undefined}},50104:function(t,e,r){var n=r(53661);function i(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=e?e.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=t.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(i.Cache||n),r}i.Cache=n,t.exports=i},63950:function(t){t.exports=function(){}},10124:function(t,e,r){var n=r(9325);t.exports=function(){return n.Date.now()}},90179:function(t,e,r){var n=r(34932),i=r(9999),o=r(19931),a=r(31769),u=r(21791),s=r(53138),c=r(38816),l=r(83349),f=c((function(t,e){var r={};if(null==t)return r;var c=false;e=n(e,(function(e){return e=a(e,t),c||(c=e.length>1),e})),u(t,l(t),r),c&&(r=i(r,7,s));for(var f=e.length;f--;)o(r,e[f]);return r}));t.exports=f},50583:function(t,e,r){var n=r(47237),i=r(17255),o=r(28586),a=r(77797);t.exports=function(t){return o(t)?n(a(t)):i(t)}},33031:function(t,e,r){var n=r(83120),i=r(46155),o=r(69302),a=r(36800),u=o((function(t,e){if(null==t)return[];var r=e.length;return r>1&&a(t,e[0],e[1])?e=[]:r>2&&a(e[0],e[1],e[2])&&(e=[e[0]]),i(t,n(e,1),[])}));t.exports=u},63345:function(t){t.exports=function(){return[]}},89935:function(t){t.exports=function(){return false}},7350:function(t,e,r){var n=r(38221),i=r(23805);t.exports=function(t,e,r){var o=true,a=true;if("function"!=typeof t)throw new TypeError("Expected a function");return i(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),n(t,e,{leading:o,maxWait:e,trailing:a})}},99374:function(t,e,r){var n=r(54128),i=r(23805),o=r(44394),a=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,s=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=u.test(t);return r||s.test(t)?c(t.slice(2),r?2:8):a.test(t)?NaN:+t}},13222:function(t,e,r){var n=r(77556);t.exports=function(t){return null==t?"":n(t)}},97200:function(t,e,r){var n=r(13222),i=0;t.exports=function(t){var e=++i;return n(t)+e}},45228:function(t){"use strict"; /* object-assign (c) Sindre Sorhus @license MIT */var e=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;t.exports=function(){try{if(!Object.assign)return false;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return false;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return false;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(t){n[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(i){return false}}()?Object.assign:function(t,i){for(var o,a,u=function(t){if(null===t||t===undefined)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}(t),s=1;s(r=r||0===r?r:t)?(console.error("min limit is greater than max limit"),t):tr?r:t};function m(t,e){return t.clientX>e.left&&t.clientXe.top&&t.clientY1;e.hasScroll!==t&&(e.hasScroll=t,e.forceUpdate())})),g(h(e),"updateScrollPosition",(function(t){var r=e.getScrolledElement(),n=y(t,0,e.contentHeight-e.visibleHeight);r.scrollTop=n,e.setState({scrollPos:n})})),g(h(e),"onClick",(function(t){if(e.hasScroll&&e.isMouseEventOnCustomScrollbar(t)&&!e.isMouseEventOnScrollHandle(t)){var r=e.calculateNewScrollHandleTop(t),n=e.getScrollValueFromHandlePosition(r);e.updateScrollPosition(n)}})),g(h(e),"isMouseEventOnCustomScrollbar",(function(t){if(!e.customScrollbarRef.current)return!1;var r=a.a.findDOMNode(h(e)).getBoundingClientRect(),n=e.customScrollbarRef.current.getBoundingClientRect(),i=e.props.rtl?{left:r.left,right:n.right}:{left:n.left,width:r.right};return m(t,Object.assign({},{left:r.left,right:r.right,top:r.top,height:r.height},i))})),g(h(e),"isMouseEventOnScrollHandle",(function(t){return!!e.scrollHandleRef.current&&function(t,e){return m(t,e.getBoundingClientRect())}(t,a.a.findDOMNode(e.scrollHandleRef.current))})),g(h(e),"calculateNewScrollHandleTop",(function(t){var r=a.a.findDOMNode(h(e)).getBoundingClientRect().top+window.pageYOffset,n=t.pageY-r,i=e.getScrollHandleStyle().top;return n>i+e.scrollHandleHeight?i+Math.min(e.scrollHandleHeight,e.visibleHeight-e.scrollHandleHeight):i-Math.max(e.scrollHandleHeight,0)})),g(h(e),"getScrollValueFromHandlePosition",(function(t){return t/e.scrollRatio})),g(h(e),"getScrollHandleStyle",(function(){var t=e.state.scrollPos*e.scrollRatio;return e.scrollHandleHeight=e.visibleHeight*e.scrollRatio,{height:e.scrollHandleHeight,top:t}})),g(h(e),"adjustCustomScrollPosToContentPos",(function(t){e.setState({scrollPos:t})})),g(h(e),"onScroll",(function(t){e.props.freezePosition||(e.hideScrollThumb(),e.adjustCustomScrollPosToContentPos(t.currentTarget.scrollTop),e.props.onScroll&&e.props.onScroll(t))})),g(h(e),"getScrolledElement",(function(){return e.innerContainerRef.current})),g(h(e),"onMouseDown",(function(t){e.hasScroll&&e.isMouseEventOnScrollHandle(t)&&(e.startDragHandlePos=e.getScrollHandleStyle().top,e.startDragMousePos=t.pageY,e.setState({onDrag:!0}),document.addEventListener("mousemove",e.onHandleDrag,{passive:!1}),document.addEventListener("mouseup",e.onHandleDragEnd,{passive:!1}))})),g(h(e),"onTouchStart",(function(){e.setState({onDrag:!0})})),g(h(e),"onHandleDrag",(function(t){t.preventDefault();var r=t.pageY-e.startDragMousePos,n=y(e.startDragHandlePos+r,0,e.visibleHeight-e.scrollHandleHeight),i=e.getScrollValueFromHandlePosition(n);e.updateScrollPosition(i)})),g(h(e),"onHandleDragEnd",(function(t){e.setState({onDrag:!1}),t.preventDefault(),document.removeEventListener("mousemove",e.onHandleDrag),document.removeEventListener("mouseup",e.onHandleDragEnd)})),g(h(e),"blockOuterScroll",(function(t){if(!e.props.allowOuterScroll){var r=t.currentTarget,n=t.currentTarget.scrollHeight-t.currentTarget.offsetHeight,i=t.deltaY%3?t.deltaY:10*t.deltaY;r.scrollTop+i<=0?(r.scrollTop=0,t.preventDefault()):r.scrollTop+i>=n&&(r.scrollTop=n,t.preventDefault()),t.stopPropagation()}})),g(h(e),"getInnerContainerClasses",(function(){return e.state.scrollPos&&e.props.addScrolledClass?"".concat(s.a.innerContainer," ").concat(s.a.contentScrolled):s.a.innerContainer})),g(h(e),"getScrollStyles",(function(){var t=e.scrollbarYWidth||20,r=e.props.rtl?"marginLeft":"marginRight",n={height:e.props.heightRelativeToParent||e.props.flex?"100%":""};n[r]=-1*t;var i={height:e.props.heightRelativeToParent||e.props.flex?"100%":"",overflowY:e.props.freezePosition?"hidden":"visible"};return i[r]=e.scrollbarYWidth?0:t,{innerContainer:n,contentWrapper:i}})),g(h(e),"getOuterContainerStyle",(function(){return{height:e.props.heightRelativeToParent||e.props.flex?"100%":""}})),g(h(e),"getRootStyles",(function(){var t={};return e.props.heightRelativeToParent?t.height=e.props.heightRelativeToParent:e.props.flex&&(t.flex=e.props.flex),t})),g(h(e),"enforceMinHandleHeight",(function(t){var r=e.props.minScrollHandleHeight;if(t.height>=r)return t;var n=(r-t.height)*(e.state.scrollPos/(e.contentHeight-e.visibleHeight));return{height:r,top:t.top-n}})),e.scrollbarYWidth=0,e.state={scrollPos:0,onDrag:!1},e.hideScrollThumb=function(t,e){var r;function n(){clearTimeout(r)}function i(){n(),r=setTimeout((function(){t()}),e)}return i.cancel=n,i}((function(){e.setState({onDrag:!1})}),500),e}return e=c,(r=[{key:"componentDidMount",value:function(){void 0!==this.props.scrollTo?this.updateScrollPosition(this.props.scrollTo):this.forceUpdate(),this.innerContainerRef.current&&this.innerContainerRef.current.addEventListener("wheel",this.blockOuterScroll,{passive:!1})}},{key:"componentDidUpdate",value:function(t,e){var r=this.contentHeight,n=this.visibleHeight,i=this.getScrolledElement(),o=e.scrollPos>=r-n;this.contentHeight=i.scrollHeight,this.scrollbarYWidth=i.offsetWidth-i.clientWidth,this.visibleHeight=i.clientHeight,this.scrollRatio=this.contentHeight?this.visibleHeight/this.contentHeight:1,this.toggleScrollIfNeeded();var a=this.state===e;(this.props.freezePosition||t.freezePosition)&&this.adjustFreezePosition(t),void 0!==this.props.scrollTo&&this.props.scrollTo!==t.scrollTo?this.updateScrollPosition(this.props.scrollTo):this.props.keepAtBottom&&a&&o&&this.updateScrollPosition(this.contentHeight-this.visibleHeight)}},{key:"componentWillUnmount",value:function(){this.hideScrollThumb.cancel(),document.removeEventListener("mousemove",this.onHandleDrag),document.removeEventListener("mouseup",this.onHandleDragEnd),this.innerContainerRef.current&&this.innerContainerRef.current.removeEventListener("wheel",this.blockOuterScroll)}},{key:"render",value:function(){var t=this.getScrollStyles(),e=this.getRootStyles(),r=this.enforceMinHandleHeight(this.getScrollHandleStyle());return i.a.createElement("div",{className:"".concat(s.a.customScroll," ").concat(this.state.onDrag?s.a.scrollHandleDragged:""),style:e},i.a.createElement("div",{className:s.a.outerContainer,style:this.getOuterContainerStyle(),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onClick:this.onClick},this.hasScroll?i.a.createElement("div",{className:s.a.positioning},i.a.createElement("div",{ref:this.customScrollbarRef,className:"".concat(s.a.customScrollbar," ").concat(this.props.rtl?s.a.customScrollbarRtl:""),key:"scrollbar"},i.a.createElement("div",{ref:this.scrollHandleRef,className:s.a.customScrollHandle,style:r},i.a.createElement("div",{className:this.props.handleClass})))):null,i.a.createElement("div",{ref:this.innerContainerRef,className:this.getInnerContainerClasses(),style:t.innerContainer,onScroll:this.onScroll},i.a.createElement("div",{className:s.a.contentWrapper,ref:this.contentWrapperRef,style:t.contentWrapper},this.props.children))))}}])&&l(e.prototype,r),o&&l(e,o),c}(n.Component);try{var w=r(3);b.propTypes={children:w.any,allowOuterScroll:w.bool,heightRelativeToParent:w.string,onScroll:w.func,addScrolledClass:w.bool,freezePosition:w.bool,handleClass:w.string,minScrollHandleHeight:w.number,flex:w.string,rtl:w.bool,scrollTo:w.number,keepAtBottom:w.bool}}catch(t){}b.defaultProps={handleClass:s.a.innerHandle,minScrollHandleHeight:38},e["default"]=b},function(t,e){t.exports={"custom-scroll":"rcs-custom-scroll",customScroll:"rcs-custom-scroll","outer-container":"rcs-outer-container",outerContainer:"rcs-outer-container",positioning:"rcs-positioning","custom-scrollbar":"rcs-custom-scrollbar",customScrollbar:"rcs-custom-scrollbar","inner-container":"rcs-inner-container",innerContainer:"rcs-inner-container","content-scrolled":"rcs-content-scrolled",contentScrolled:"rcs-content-scrolled","scroll-handle-dragged":"rcs-scroll-handle-dragged",scrollHandleDragged:"rcs-scroll-handle-dragged","custom-scrollbar-rtl":"rcs-custom-scrollbar-rtl",customScrollbarRtl:"rcs-custom-scrollbar-rtl","custom-scroll-handle":"rcs-custom-scroll-handle",customScrollHandle:"rcs-custom-scroll-handle","inner-handle":"rcs-inner-handle",innerHandle:"rcs-inner-handle"}}]))},49794:function(t,e,r){"use strict";var n=r(62562);t.exports=n},22551:function(t,e,r){"use strict"; /** @license React v17.0.2 * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var n=r(41357),i=r(45228),o=r(69982);function a(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r