vendor: 20,550 bytes, lines 1-3
1var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),s=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},c=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},l=(n,r,a)=>(a=n==null?{}:e(i(n)),c(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var u=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function k(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var A=/\/+/g;function j(e,t){return typeof e==`object`&&e&&e.key!=null?k(``+e.key):t.toString(36)}function M(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function N(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,N(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+j(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(A,`$&/`)+`/`),N(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(A,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+j(a,u),c+=N(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+j(a,u++),c+=N(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return N(M(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function P(e,t,n){if(e==null)return e;var r=[],i=0;return N(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function ee(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var F=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},I={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=I,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:ee}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,F)}catch(e){F(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()},e.version=`19.2.5`})),d=o(((e,t)=>{t.exports=u()})),f=o((e=>{function t(e,t){var n=e.length;e.push(t);a:for(;0<n;){var r=n-1>>>1,a=e[r];if(0<i(a,t))e[r]=t,e[n]=a,n=r;else break a}}function n(e){return e.length===0?null:e[0]}function r(e){if(e.length===0)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;a:for(var r=0,a=e.length,o=a>>>1;r<o;){var s=2*(r+1)-1,c=e[s],l=s+1,u=e[l];if(0>i(c,n))l<a&&0>i(u,c)?(e[r]=u,e[l]=n,r=l):(e[r]=c,e[s]=n,r=s);else if(l<a&&0>i(u,n))e[r]=u,e[l]=n,r=l;else break a}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return n===0?e.id-t.id:n}if(e.unstable_now=void 0,typeof performance==`object`&&typeof performance.now==`function`){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var c=[],l=[],u=1,d=null,f=3,p=!1,m=!1,h=!1,g=!1,_=typeof setTimeout==`function`?setTimeout:null,v=typeof clearTimeout==`function`?clearTimeout:null,y=typeof setImmediate<`u`?setImmediate:null;function b(e){for(var i=n(l);i!==null;){if(i.callback===null)r(l);else if(i.startTime<=e)r(l),i.sortIndex=i.expirationTime,t(c,i);else break;i=n(l)}}function x(e){if(h=!1,b(e),!m)if(n(c)!==null)m=!0,S||(S=!0,O());else{var t=n(l);t!==null&&j(x,t.startTime-e)}}var S=!1,C=-1,w=5,T=-1;function E(){return g?!0:!(e.unstable_now()-T<w)}function D(){if(g=!1,S){var t=e.unstable_now();T=t;var i=!0;try{a:{m=!1,h&&(h=!1,v(C),C=-1),p=!0;var a=f;try{b:{for(b(t),d=n(c);d!==null&&!(d.expirationTime>t&&E());){var o=d.callback;if(typeof o==`function`){d.callback=null,f=d.priorityLevel;var s=o(d.expirationTime<=t);if(t=e.unstable_now(),typeof s==`function`){d.callback=s,b(t),i=!0;break b}d===n(c)&&r(c),b(t)}else r(c);d=n(c)}if(d!==null)i=!0;else{var u=n(l);u!==null&&j(x,u.startTime-t),i=!1}}break a}finally{d=null,f=a,p=!1}i=void 0}}finally{i?O():S=!1}}}var O;if(typeof y==`function`)O=function(){y(D)};else if(typeof MessageChannel<`u`){var k=new MessageChannel,A=k.port2;k.port1.onmessage=D,O=function(){A.postMessage(null)}}else O=function(){_(D,0)};function j(t,n){C=_(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error(`forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported`):w=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_requestPaint=function(){g=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,i,a){var o=e.unstable_now();switch(typeof a==`object`&&a?(a=a.delay,a=typeof a==`number`&&0<a?o+a:o):a=o,r){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return s=a+s,r={id:u++,callback:i,priorityLevel:r,startTime:a,expirationTime:s,sortIndex:-1},a>o?(r.sortIndex=a,t(l,r),n(c)===null&&r===n(l)&&(h?(v(C),C=-1):h=!0,j(x,a-o))):(r.sortIndex=s,t(c,r),m||p||(m=!0,S||(S=!0,O()))),r},e.unstable_shouldYield=E,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}})),p=o(((e,t)=>{t.exports=f()})),m=o((e=>{var t=d();function n(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function r(){}var i={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},a=Symbol.for(`react.portal`);function o(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var s=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,e.createPortal=function(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(n(299));return o(e,t,null,r)},e.flushSync=function(e){var t=s.T,n=i.p;try{if(s.T=null,i.p=2,e)return e()}finally{s.T=t,i.p=n,i.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,i.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&i.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin),a=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?i.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:a,fetchPriority:o}):n===`script`&&i.d.X(e,{crossOrigin:r,integrity:a,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=c(t.as,t.crossOrigin);i.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??i.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=c(n,t.crossOrigin);i.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=c(t.as,t.crossOrigin);i.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else i.d.m(e)},e.requestFormReset=function(e){i.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return s.H.useFormState(e,t,n)},e.useFormStatus=function(){return s.H.useHostTransitionStatus()},e.version=`19.2.5`})),h=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=m()})),g=o((e=>{var t=p(),n=d(),r=h();function i(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function a(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function o(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function s(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function c(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function l(e){if(o(e)!==e)throw Error(i(188))}function u(e){var t=e.alternate;if(!t){if(t=o(e),t===null)throw Error(i(188));return t===e?e:null}for(var n=e,r=t;;){var a=n.return;if(a===null)break;var s=a.alternate;if(s===null){if(r=a.return,r!==null){n=r;continue}break}if(a.child===s.child){for(s=a.child;s;){if(s===n)return l(a),e;if(s===r)return l(a),t;s=s.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=s;else{for(var c=!1,u=a.child;u;){if(u===n){c=!0,n=a,r=s;break}if(u===r){c=!0,r=a,n=s;break}u=u.sibling}if(!c){for(u=s.child;u;){if(u===n){c=!0,n=s,r=a;break}if(u===r){c=!0,r=s,n=a;break}u=u.sibling}if(!c)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function f(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=f(e),t!==null)return t;e=e.sibling}return null}var m=Object.assign,g=Symbol.for(`react.element`),_=Symbol.for(`react.transitional.element`),v=Symbol.for(`react.portal`),y=Symbol.for(`react.fragment`),b=Symbol.for(`react.strict_mode`),x=Symbol.for(`react.profiler`),S=Symbol.for(`react.consumer`),C=Symbol.for(`react.context`),w=Symbol.for(`react.forward_ref`),T=Symbol.for(`react.suspense`),E=Symbol.for(`react.suspense_list`),D=Symbol.for(`react.memo`),O=Symbol.for(`react.lazy`),k=Symbol.for(`react.activity`),A=Symbol.for(`react.memo_cache_sentinel`),j=Symbol.iterator;function M(e){return typeof e!=`object`||!e?null:(e=j&&e[j]||e[`@@iterator`],typeof e==`function`?e:null)}var N=Symbol.for(`react.client.reference`);function P(e){if(e==null)return null;if(typeof e==`function`)return e.$$typeof===N?null:e.displayName||e.name||null;if(typeof e==`string`)return e;switch(e){case y:return`Fragment`;case x:return`Profiler`;case b:return`StrictMode`;case T:return`Suspense`;case E:return`SuspenseList`;case k:return`Activity`}if(typeof e==`object`)switch(e.$$typeof){case v:return`Portal`;case C:return e.displayName||`Context`;case S:return(e._context.displayName||`Context`)+`.Consumer`;case w:var t=e.render;return e=e.displayName,e||=(e=t.displayName||t.name||``,e===``?`ForwardRef`:`ForwardRef(`+e+`)`),e;case D:return t=e.displayName||null,t===null?P(e.type)||`Memo`:t;case O:t=e._payload,e=e._init;try{return P(e(t))}catch{}}return null}var ee=Array.isArray,F=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},ne=[],re=-1;function ie(e){return{current:e}}function L(e){0>re||(e.current=ne[re],ne[re]=null,re--)}function R(e,t){re++,ne[re]=e.current,e.current=t}var ae=ie(null),oe=ie(null),se=ie(null),z=ie(null);function ce(e,t){switch(R(se,t),R(oe,e),R(ae,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?Wd(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=Wd(t),e=Gd(t,e);else switch(e){case`svg`:e=1;break;case`math`:e=2;break;default:e=0}}L(ae),R(ae,e)}function le(){L(ae),L(oe),L(se)}function B(e){e.memoizedState!==null&&R(z,e);var t=ae.current,n=Gd(t,e.type);t!==n&&(R(oe,e),R(ae,n))}function ue(e){oe.current===e&&(L(ae),L(oe)),z.current===e&&(L(z),tp._currentValue=te)}var de,fe;function pe(e){if(de===void 0)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);de=t&&t[1]||``,fe=-1<e.stack.indexOf(` 2 at`)?` (<anonymous>)`:-1<e.stack.indexOf(`@`)?`@unknown:0:0`:``}return` 3`+de+e+fe}var V=!1;function me(e,t){if(!e||V)return``;V=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var r={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,`props`,{set:function(){throw Error()}}),typeof Reflect==`object`&&Reflect.construct){try{Reflect.construct(n,[])}catch(e){var r=e}Reflect.construct(e,[],n)}
vendor: 6,575 bytes, lines 3-8
3else{try{n.call()}catch(e){r=e}e.call(n.prototype)}}else{try{throw Error()}catch(e){r=e}(n=e())&&typeof n.catch==`function`&&n.catch(function(){})}}catch(e){if(e&&r&&typeof e.stack==`string`)return[e.stack,r.stack]}return[null,null]}};r.DetermineComponentFrameRoot.displayName=`DetermineComponentFrameRoot`;var i=Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot,`name`);i&&i.configurable&&Object.defineProperty(r.DetermineComponentFrameRoot,`name`,{value:`DetermineComponentFrameRoot`});var a=r.DetermineComponentFrameRoot(),o=a[0],s=a[1];if(o&&s){var c=o.split(` 4`),l=s.split(` 5`);for(i=r=0;r<c.length&&!c[r].includes(`DetermineComponentFrameRoot`);)r++;for(;i<l.length&&!l[i].includes(`DetermineComponentFrameRoot`);)i++;if(r===c.length||i===l.length)for(r=c.length-1,i=l.length-1;1<=r&&0<=i&&c[r]!==l[i];)i--;for(;1<=r&&0<=i;r--,i--)if(c[r]!==l[i]){if(r!==1||i!==1)do if(r--,i--,0>i||c[r]!==l[i]){var u=` 6`+c[r].replace(` at new `,` at `);return e.displayName&&u.includes(`<anonymous>`)&&(u=u.replace(`<anonymous>`,e.displayName)),u}while(1<=r&&0<=i);break}}}finally{V=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:``)?pe(n):``}function he(e,t){switch(e.tag){case 26:case 27:case 5:return pe(e.type);case 16:return pe(`Lazy`);case 13:return e.child!==t&&t!==null?pe(`Suspense Fallback`):pe(`Suspense`);case 19:return pe(`SuspenseList`);case 0:case 15:return me(e.type,!1);case 11:return me(e.type.render,!1);case 1:return me(e.type,!0);case 31:return pe(`Activity`);default:return``}}function ge(e){try{var t=``,n=null;do t+=he(e,n),n=e,e=e.return;while(e);return t}catch(e){return` 7Error generating stack: `+e.message+` 8`+e.stack}}var _e=Object.prototype.hasOwnProperty,H=t.unstable_scheduleCallback,ve=t.unstable_cancelCallback,U=t.unstable_shouldYield,ye=t.unstable_requestPaint,W=t.unstable_now,G=t.unstable_getCurrentPriorityLevel,be=t.unstable_ImmediatePriority,xe=t.unstable_UserBlockingPriority,Se=t.unstable_NormalPriority,Ce=t.unstable_LowPriority,we=t.unstable_IdlePriority,Te=t.log,Ee=t.unstable_setDisableYieldValue,K=null,De=null;function Oe(e){if(typeof Te==`function`&&Ee(e),De&&typeof De.setStrictMode==`function`)try{De.setStrictMode(K,e)}catch{}}var ke=Math.clz32?Math.clz32:Me,Ae=Math.log,je=Math.LN2;function Me(e){return e>>>=0,e===0?32:31-(Ae(e)/je|0)|0}var Ne=256,Pe=262144,Fe=4194304;function Ie(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Le(e,t,n){var r=e.pendingLanes;if(r===0)return 0;var i=0,a=e.suspendedLanes,o=e.pingedLanes;e=e.warmLanes;var s=r&134217727;return s===0?(s=r&~a,s===0?o===0?n||(n=r&~e,n!==0&&(i=Ie(n))):i=Ie(o):i=Ie(s)):(r=s&~a,r===0?(o&=s,o===0?n||(n=s&~e,n!==0&&(i=Ie(n))):i=Ie(o)):i=Ie(r)),i===0?0:t!==0&&t!==i&&(t&a)===0&&(a=i&-i,n=t&-t,a>=n||a===32&&n&4194048)?t:i}function Re(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function ze(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Be(){var e=Fe;return Fe<<=1,!(Fe&62914560)&&(Fe=4194304),e}function Ve(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function He(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ue(e,t,n,r,i,a){var o=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var s=e.entanglements,c=e.expirationTimes,l=e.hiddenUpdates;for(n=o&~n;0<n;){var u=31-ke(n),d=1<<u;s[u]=0,c[u]=-1;var f=l[u];if(f!==null)for(l[u]=null,u=0;u<f.length;u++){var p=f[u];p!==null&&(p.lane&=-536870913)}n&=~d}r!==0&&We(e,r,0),a!==0&&i===0&&e.tag!==0&&(e.suspendedLanes|=a&~(o&~t))}function We(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var r=31-ke(t);e.entangledLanes|=t,e.entanglements[r]=e.entanglements[r]|1073741824|n&261930}function Ge(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ke(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}function Ke(e,t){var n=t&-t;return n=n&42?1:qe(n),(n&(e.suspendedLanes|t))===0?n:0}function qe(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Je(e){return e&=-e,2<e?8<e?e&134217727?32:268435456:8:2}function Ye(){var e=I.p;return e===0?(e=window.event,e===void 0?32:_p(e.type)):e}function Xe(e,t){var n=I.p;try{return I.p=e,t()}finally{I.p=n}}var Ze=Math.random().toString(36).slice(2),Qe=`__reactFiber$`+Ze,$e=`__reactProps$`+Ze,et=`__reactContainer$`+Ze,tt=`__reactEvents$`+Ze,nt=`__reactListeners$`+Ze,rt=`__reactHandles$`+Ze,it=`__reactResources$`+Ze,at=`__reactMarker$`+Ze;function ot(e){delete e[Qe],delete e[$e],delete e[tt],delete e[nt],delete e[rt]}function st(e){var t=e[Qe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[et]||n[Qe]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=mf(e);e!==null;){if(n=e[Qe])return n;e=mf(e)}return t}e=n,n=e.parentNode}return null}function ct(e){if(e=e[Qe]||e[et]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function lt(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(i(33))}function ut(e){var t=e[it];return t||=e[it]={hoistableStyles:new Map,hoistableScripts:new Map},t}function dt(e){e[at]=!0}var ft=new Set,pt={};function mt(e,t){ht(e,t),ht(e+`Capture`,t)}function ht(e,t){for(pt[e]=t,e=0;e<t.length;e++)ft.add(t[e])}var gt=RegExp(`^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
8037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`),_t={},vt={};function yt(e){return _e.call(vt,e)?!0:_e.call(_t,e)?!1:gt.test(e)?vt[e]=!0:(_t[e]=!0,!1)}function bt(e,t,n){if(yt(t))if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:e.removeAttribute(t);return;case`boolean`:var r=t.toLowerCase().slice(0,5);if(r!==`data-`&&r!==`aria-`){e.removeAttribute(t);return}}e.setAttribute(t,``+n)}}function xt(e,t,n){if(n===null)e.removeAttribute(t);else{switch(typeof n){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(t);return}e.setAttribute(t,``+n)}}function St(e,t,n,r){if(r===null)e.removeAttribute(n);else{switch(typeof r){case`undefined`:case`function`:case`symbol`:case`boolean`:e.removeAttribute(n);return}e.setAttributeNS(t,n,``+r)}}function Ct(e){switch(typeof e){case`bigint`:case`boolean`:case`number`:case`string`:case`undefined`:return e;case`object`:return e;default:return``}}function wt(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===`input`&&(t===`checkbox`||t===`radio`)}function Tt(e,t,n){var r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&r!==void 0&&typeof r.get==`function`&&typeof r.set==`function`){var i=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){n=``+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=``+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Et(e){if(!e._valueTracker){var t=wt(e)?`checked`:`value`;e._valueTracker=Tt(e,t,``+e[t])}}function Dt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r=``;return e&&(r=wt(e)?e.checked?`true`:`false`:e.value),e=r,e===n?!1:(t.setValue(e),!0)}function Ot(e){if(e||=typeof document<`u`?document:void 0,e===void 0)return null;try{return e.activeElement||e.body}catch{return e.body}}var kt=/[\n"\\]/g;function At(e){return e.replace(kt,function(e){return`\\`+e.charCodeAt(0).toString(16)+` `})}function jt(e,t,n,r,i,a,o,s){e.name=``,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`?e.type=o:e.removeAttribute(`type`),t==null?o!==`submit`&&o!==`reset`||e.removeAttribute(`value`):o===`number`?(t===0&&e.value===``||e.value!=t)&&(e.value=``+Ct(t)):e.value!==``+Ct(t)&&(e.value=``+Ct(t)),t==null?n==null?r!=null&&e.removeAttribute(`value`):Nt(e,o,Ct(n)):Nt(e,o,Ct(t)),i==null&&a!=null&&(e.defaultChecked=!!a),i!=null&&(e.checked=i&&typeof i!=`function`&&typeof i!=`symbol`),s!=null&&typeof s!=`function`&&typeof s!=`symbol`&&typeof s!=`boolean`?e.name=``+Ct(s):e.removeAttribute(`name`)}function Mt(e,t,n,r,i,a,o,s){if(a!=null&&typeof a!=`function`&&typeof a!=`symbol`&&typeof a!=`boolean`&&(e.type=a),t!=null||n!=null){if(!(a!==`submit`&&a!==`reset`||t!=null)){Et(e);return}n=n==null?``:``+Ct(n),t=t==null?n:``+Ct(t),s||t===e.value||(e.value=t),e.defaultValue=t}r??=i,r=typeof r!=`function`&&typeof r!=`symbol`&&!!r,e.checked=s?e.checked:!!r,e.defaultChecked=!!r,o!=null&&typeof o!=`function`&&typeof o!=`symbol`&&typeof o!=`boolean`&&(e.name=o),Et(e)}function Nt(e,t,n){t===`number`&&Ot(e.ownerDocument)===e||e.defaultValue===``+n||(e.defaultValue=``+n)}function Pt(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t[`$`+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty(`$`+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=``+Ct(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ft(e,t,n){if(t!=null&&(t=``+Ct(t),t!==e.value&&(e.value=t),n==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=n==null?``:``+Ct(n)}function It(e,t,n,r){if(t==null){if(r!=null){if(n!=null)throw Error(i(92));if(ee(r)){if(1<r.length)throw Error(i(93));r=r[0]}n=r}n??=``,t=n}
vendor: 9,508 bytes, line 8
8n=Ct(t),e.defaultValue=n,r=e.textContent,r===n&&r!==``&&r!==null&&(e.value=r),Et(e)}function Lt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Rt=new Set(`animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp`.split(` `));function zt(e,t,n){var r=t.indexOf(`--`)===0;n==null||typeof n==`boolean`||n===``?r?e.setProperty(t,``):t===`float`?e.cssFloat=``:e[t]=``:r?e.setProperty(t,n):typeof n!=`number`||n===0||Rt.has(t)?t===`float`?e.cssFloat=n:e[t]=(``+n).trim():e[t]=n+`px`}function Bt(e,t,n){if(t!=null&&typeof t!=`object`)throw Error(i(62));if(e=e.style,n!=null){for(var r in n)!n.hasOwnProperty(r)||t!=null&&t.hasOwnProperty(r)||(r.indexOf(`--`)===0?e.setProperty(r,``):r===`float`?e.cssFloat=``:e[r]=``);for(var a in t)r=t[a],t.hasOwnProperty(a)&&n[a]!==r&&zt(e,a,r)}else for(var o in t)t.hasOwnProperty(o)&&zt(e,o,t[o])}function Vt(e){if(e.indexOf(`-`)===-1)return!1;switch(e){case`annotation-xml`:case`color-profile`:case`font-face`:case`font-face-src`:case`font-face-uri`:case`font-face-format`:case`font-face-name`:case`missing-glyph`:return!1;default:return!0}}var Ht=new Map([[`acceptCharset`,`accept-charset`],[`htmlFor`,`for`],[`httpEquiv`,`http-equiv`],[`crossOrigin`,`crossorigin`],[`accentHeight`,`accent-height`],[`alignmentBaseline`,`alignment-baseline`],[`arabicForm`,`arabic-form`],[`baselineShift`,`baseline-shift`],[`capHeight`,`cap-height`],[`clipPath`,`clip-path`],[`clipRule`,`clip-rule`],[`colorInterpolation`,`color-interpolation`],[`colorInterpolationFilters`,`color-interpolation-filters`],[`colorProfile`,`color-profile`],[`colorRendering`,`color-rendering`],[`dominantBaseline`,`dominant-baseline`],[`enableBackground`,`enable-background`],[`fillOpacity`,`fill-opacity`],[`fillRule`,`fill-rule`],[`floodColor`,`flood-color`],[`floodOpacity`,`flood-opacity`],[`fontFamily`,`font-family`],[`fontSize`,`font-size`],[`fontSizeAdjust`,`font-size-adjust`],[`fontStretch`,`font-stretch`],[`fontStyle`,`font-style`],[`fontVariant`,`font-variant`],[`fontWeight`,`font-weight`],[`glyphName`,`glyph-name`],[`glyphOrientationHorizontal`,`glyph-orientation-horizontal`],[`glyphOrientationVertical`,`glyph-orientation-vertical`],[`horizAdvX`,`horiz-adv-x`],[`horizOriginX`,`horiz-origin-x`],[`imageRendering`,`image-rendering`],[`letterSpacing`,`letter-spacing`],[`lightingColor`,`lighting-color`],[`markerEnd`,`marker-end`],[`markerMid`,`marker-mid`],[`markerStart`,`marker-start`],[`overlinePosition`,`overline-position`],[`overlineThickness`,`overline-thickness`],[`paintOrder`,`paint-order`],[`panose-1`,`panose-1`],[`pointerEvents`,`pointer-events`],[`renderingIntent`,`rendering-intent`],[`shapeRendering`,`shape-rendering`],[`stopColor`,`stop-color`],[`stopOpacity`,`stop-opacity`],[`strikethroughPosition`,`strikethrough-position`],[`strikethroughThickness`,`strikethrough-thickness`],[`strokeDasharray`,`stroke-dasharray`],[`strokeDashoffset`,`stroke-dashoffset`],[`strokeLinecap`,`stroke-linecap`],[`strokeLinejoin`,`stroke-linejoin`],[`strokeMiterlimit`,`stroke-miterlimit`],[`strokeOpacity`,`stroke-opacity`],[`strokeWidth`,`stroke-width`],[`textAnchor`,`text-anchor`],[`textDecoration`,`text-decoration`],[`textRendering`,`text-rendering`],[`transformOrigin`,`transform-origin`],[`underlinePosition`,`underline-position`],[`underlineThickness`,`underline-thickness`],[`unicodeBidi`,`unicode-bidi`],[`unicodeRange`,`unicode-range`],[`unitsPerEm`,`units-per-em`],[`vAlphabetic`,`v-alphabetic`],[`vHanging`,`v-hanging`],[`vIdeographic`,`v-ideographic`],[`vMathematical`,`v-mathematical`],[`vectorEffect`,`vector-effect`],[`vertAdvY`,`vert-adv-y`],[`vertOriginX`,`vert-origin-x`],[`vertOriginY`,`vert-origin-y`],[`wordSpacing`,`word-spacing`],[`writingMode`,`writing-mode`],[`xmlnsXlink`,`xmlns:xlink`],[`xHeight`,`x-height`]]),Ut=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Wt(e){return Ut.test(``+e)?`javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')`:e}function Gt(){}var Kt=null;function qt(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Jt=null,Yt=null;function Xt(e){var t=ct(e);if(t&&(e=t.stateNode)){var n=e[$e]||null;a:switch(e=t.stateNode,t.type){case`input`:if(jt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,n.type===`radio`&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll(`input[name="`+At(``+t)+`"][type="radio"]`),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=r[$e]||null;if(!a)throw Error(i(90));jt(r,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name)}}for(t=0;t<n.length;t++)r=n[t],r.form===e.form&&Dt(r)}break a;case`textarea`:Ft(e,n.value,n.defaultValue);break a;case`select`:t=n.value,t!=null&&Pt(e,!!n.multiple,t,!1)}}}var Zt=!1;function Qt(e,t,n){if(Zt)return e(t,n);Zt=!0;try{return e(t)}finally{if(Zt=!1,(Jt!==null||Yt!==null)&&(bu(),Jt&&(t=Jt,e=Yt,Yt=Jt=null,Xt(t),e)))for(t=0;t<e.length;t++)Xt(e[t])}}function $t(e,t){var n=e.stateNode;if(n===null)return null;var r=n[$e]||null;if(r===null)return null;n=r[t];a:switch(t){case`onClick`:case`onClickCapture`:case`onDoubleClick`:case`onDoubleClickCapture`:case`onMouseDown`:case`onMouseDownCapture`:case`onMouseMove`:case`onMouseMoveCapture`:case`onMouseUp`:case`onMouseUpCapture`:case`onMouseEnter`:(r=!r.disabled)||(e=e.type,r=!(e===`button`||e===`input`||e===`select`||e===`textarea`)),e=!r;break a;default:e=!1}if(e)return null;if(n&&typeof n!=`function`)throw Error(i(231,t,typeof n));return n}var en=!(typeof window>`u`||window.document===void 0||window.document.createElement===void 0),tn=!1;if(en)try{var nn={};Object.defineProperty(nn,`passive`,{get:function(){tn=!0}}),window.addEventListener(`test`,nn,nn),window.removeEventListener(`test`,nn,nn)}catch{tn=!1}var rn=null,an=null,on=null;function sn(){if(on)return on;var e,t=an,n=t.length,r,i=`value`in rn?rn.value:rn.textContent,a=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[a-r];r++);return on=i.slice(e,1<r?1-r:void 0)}function cn(e){var t=e.keyCode;return`charCode`in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function ln(){return!0}function un(){return!1}function dn(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(i.defaultPrevented==null?!1===i.returnValue:i.defaultPrevented)?ln:un,this.isPropagationStopped=un,this}return m(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():typeof e.returnValue!=`unknown`&&(e.returnValue=!1),this.isDefaultPrevented=ln)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():typeof e.cancelBubble!=`unknown`&&(e.cancelBubble=!0),this.isPropagationStopped=ln)},persist:function(){},isPersistent:ln}),t}var fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=dn(fn),mn=m({},fn,{view:0,detail:0}),hn=dn(mn),gn,_n,vn,yn=m({},mn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:An,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return`movementX`in e?e.movementX:(e!==vn&&(vn&&e.type===`mousemove`?(gn=e.screenX-vn.screenX,_n=e.screenY-vn.screenY):_n=gn=0,vn=e),gn)},movementY:function(e){return`movementY`in e?e.movementY:_n}}),bn=dn(yn),xn=dn(m({},yn,{dataTransfer:0})),Sn=dn(m({},mn,{relatedTarget:0})),Cn=dn(m({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),wn=dn(m({},fn,{clipboardData:function(e){return`clipboardData`in e?e.clipboardData:window.clipboardData}})),Tn=dn(m({},fn,{data:0})),En={Esc:`Escape`,Spacebar:` `,Left:`ArrowLeft`,Up:`ArrowUp`,Right:`ArrowRight`,Down:`ArrowDown`,Del:`Delete`,Win:`OS`,Menu:`ContextMenu`,Apps:`ContextMenu`,Scroll:`ScrollLock`,MozPrintableKey:`Unidentified`},Dn={8:`Backspace`,9:`Tab`,12:`Clear`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,19:`Pause`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,45:`Insert`,46:`Delete`,112:`F1`,113:`F2`,114:`F3`,115:`F4`,116:`F
85`,117:`F6`,118:`F7`,119:`F8`,120:`F9`,121:`F10`,122:`F11`,123:`F12`,144:`NumLock`,145:`ScrollLock`,224:`Meta`},On={Alt:`altKey`,Control:`ctrlKey`,Meta:`metaKey`,Shift:`shiftKey`};function kn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=On[e])?!!t[e]:!1}function An(){return kn}var jn=dn(m({},mn,{key:function(e){if(e.key){var t=En[e.key]||e.key;if(t!==`Unidentified`)return t}return e.type===`keypress`?(e=cn(e),e===13?`Enter`:String.fromCharCode(e)):e.type===`keydown`||e.type===`keyup`?Dn[e.keyCode]||`Unidentified`:``},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:An,charCode:function(e){return e.type===`keypress`?cn(e):0},keyCode:function(e){return e.type===`keydown`||e.type===`keyup`?e.keyCode:0},which:function(e){return e.type===`keypress`?cn(e):e.type===`keydown`||e.type===`keyup`?e.keyCode:0}})),Mn=dn(m({},yn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Nn=dn(m({},mn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:An})),Pn=dn(m({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Fn=dn(m({},yn,{deltaX:function(e){return`deltaX`in e?e.deltaX:`wheelDeltaX`in e?-e.wheelDeltaX:0},deltaY:function(e){return`deltaY`in e?e.deltaY:`wheelDeltaY`in e?-e.wheelDeltaY:`wheelDelta`in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),In=dn(m({},fn,{newState:0,oldState:0})),Ln=[9,13,27,32],Rn=en&&`CompositionEvent`in window,zn=null;en&&`documentMode`in document&&(zn=document.documentMode);var Bn=en&&`TextEvent`in window&&!zn,Vn=en&&(!Rn||zn&&8<zn&&11>=zn),Hn=` `,Un=!1;function Wn(e,t){switch(e){case`keyup`:return Ln.indexOf(t.keyCode)!==-1;case`keydown`:return t.keyCode!==229;case`keypress`:case`mousedown`:case`focusout`:return!0;default:return!1}}function Gn(e){return e=e.detail,typeof e==`object`&&`data`in e?e.data:null}var Kn=!1;function qn(e,t){switch(e){case`compositionend`:return Gn(t);case`keypress`:return t.which===32?(Un=!0,Hn):null;case`textInput`:return e=t.data,e===Hn&&Un?null:e;default:return null}}function Jn(e,t){if(Kn)return e===`compositionend`||!Rn&&Wn(e,t)?(e=sn(),on=an=rn=null,Kn=!1,e):null;switch(e){case`paste`:return null;case`keypress`:if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case`compositionend`:return Vn&&t.locale!==`ko`?null:t.data;default:return null}}var Yn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Xn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t===`input`?!!Yn[e.type]:t===`textarea`}function Zn(e,t,n,r){Jt?Yt?Yt.push(r):Yt=[r]:Jt=r,t=Od(t,`onChange`),0<t.length&&(n=new pn(`onChange`,`change`,null,n,r),e.push({event:n,listeners:t}))}var Qn=null,$n=null;function er(e){bd(e,0)}function tr(e){if(Dt(lt(e)))return e}function nr(e,t){if(e===`change`)return t}var rr=!1;if(en){var ir;if(en){var ar=`oninput`in document;if(!ar){var or=document.createElement(`div`);or.setAttribute(`oninput`,`return;`),ar=typeof or.oninput==`function`}ir=ar}else ir=!1;rr=ir&&(!document.documentMode||9<document.documentMode)}function sr(){Qn&&(Qn.detachEvent(`onpropertychange`,cr),$n=Qn=null)}function cr(e){if(e.propertyName===`value`&&tr($n)){var t=[];Zn(t,$n,e,qt(e)),Qt(er,t)}}function lr(e,t,n){e===`focusin`?(sr(),Qn=t,$n=n,Qn.attachEvent(`onpropertychange`,cr)):e===`focusout`&&sr()}function ur(e){if(e===`selectionchange`||e===`keyup`||e===`keydown`)return tr($n)}function dr(e,t){if(e===`click`)return tr(t)}function fr(e,t){if(e===`input`||e===`change`)return tr(t)}function pr(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var mr=typeof Object.is==`function`?Object.is:pr;function hr(e,t){if(mr(e,t))return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!_e.call(t,i)||!mr(e[i],t[i]))return!1}return!0}function gr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function _r(e,t){var n=gr(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}a:{for(;n;){if(n.nextSibling){n=n.nextSibling;break a}n=n.parentNode}n=void 0}n=gr(n)}}function vr(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?vr(e,t.parentNode):`contains`in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function yr(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ot(e.document);t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==`string`}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ot(e.document)}return t}function br(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t===`input`&&(e.type===`text`||e.type===`search`||e.type===`tel`||e.type===`url`||e.type===`password`)||t===`textarea`||e.contentEditable===`true`)}var xr=en&&`documentMode`in document&&11>=document.documentMode,Sr=null,Cr=null,wr=null,Tr=!1;function Er(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Tr||Sr==null||Sr!==Ot(r)||(r=Sr,`selectionStart`in r&&br(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 100,929 bytes, line 8
8sNode:r.focusNode,focusOffset:r.focusOffset}),wr&&hr(wr,r)||(wr=r,r=Od(Cr,`onSelect`),0<r.length&&(t=new pn(`onSelect`,`select`,null,t,n),e.push({event:t,listeners:r}),t.target=Sr)))}function Dr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n[`Webkit`+e]=`webkit`+t,n[`Moz`+e]=`moz`+t,n}var Or={animationend:Dr(`Animation`,`AnimationEnd`),animationiteration:Dr(`Animation`,`AnimationIteration`),animationstart:Dr(`Animation`,`AnimationStart`),transitionrun:Dr(`Transition`,`TransitionRun`),transitionstart:Dr(`Transition`,`TransitionStart`),transitioncancel:Dr(`Transition`,`TransitionCancel`),transitionend:Dr(`Transition`,`TransitionEnd`)},kr={},Ar={};en&&(Ar=document.createElement(`div`).style,`AnimationEvent`in window||(delete Or.animationend.animation,delete Or.animationiteration.animation,delete Or.animationstart.animation),`TransitionEvent`in window||delete Or.transitionend.transition);function jr(e){if(kr[e])return kr[e];if(!Or[e])return e;var t=Or[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ar)return kr[e]=t[n];return e}var Mr=jr(`animationend`),Nr=jr(`animationiteration`),Pr=jr(`animationstart`),Fr=jr(`transitionrun`),Ir=jr(`transitionstart`),Lr=jr(`transitioncancel`),Rr=jr(`transitionend`),zr=new Map,Br=`abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel`.split(` `);Br.push(`scrollEnd`);function Vr(e,t){zr.set(e,t),mt(t,[e])}var Hr=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},Ur=[],Wr=0,Gr=0;function Kr(){for(var e=Wr,t=Gr=Wr=0;t<e;){var n=Ur[t];Ur[t++]=null;var r=Ur[t];Ur[t++]=null;var i=Ur[t];Ur[t++]=null;var a=Ur[t];if(Ur[t++]=null,r!==null&&i!==null){var o=r.pending;o===null?i.next=i:(i.next=o.next,o.next=i),r.pending=i}a!==0&&Xr(n,i,a)}}function qr(e,t,n,r){Ur[Wr++]=e,Ur[Wr++]=t,Ur[Wr++]=n,Ur[Wr++]=r,Gr|=r,e.lanes|=r,e=e.alternate,e!==null&&(e.lanes|=r)}function Jr(e,t,n,r){return qr(e,t,n,r),Zr(e)}function Yr(e,t){return qr(e,null,null,t),Zr(e)}function Xr(e,t,n){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n);for(var i=!1,a=e.return;a!==null;)a.childLanes|=n,r=a.alternate,r!==null&&(r.childLanes|=n),a.tag===22&&(e=a.stateNode,e===null||e._visibility&1||(i=!0)),e=a,a=a.return;return e.tag===3?(a=e.stateNode,i&&t!==null&&(i=31-ke(n),e=a.hiddenUpdates,r=e[i],r===null?e[i]=[t]:r.push(t),t.lane=n|536870912),a):null}function Zr(e){if(50<du)throw du=0,fu=null,Error(i(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Qr={};function $r(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ei(e,t,n,r){return new $r(e,t,n,r)}function ti(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ni(e,t){var n=e.alternate;return n===null?(n=ei(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&65011712,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function ri(e,t){e.flags&=65011714;var n=e.alternate;return n===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,t=n.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function ii(e,t,n,r,a,o){var s=0;if(r=e,typeof e==`function`)ti(e)&&(s=1);else if(typeof e==`string`)s=Kf(e,n,ae.current)?26:e===`html`||e===`head`||e===`body`?27:5;else a:switch(e){case k:return e=ei(31,n,t,a),e.elementType=k,e.lanes=o,e;case y:return ai(n.children,a,o,t);case b:s=8,a|=24;break;case x:return e=ei(12,n,t,a|2),e.elementType=x,e.lanes=o,e;case T:return e=ei(13,n,t,a),e.elementType=T,e.lanes=o,e;case E:return e=ei(19,n,t,a),e.elementType=E,e.lanes=o,e;default:if(typeof e==`object`&&e)switch(e.$$typeof){case C:s=10;break a;case S:s=9;break a;case w:s=11;break a;case D:s=14;break a;case O:s=16,r=null;break a}s=29,n=Error(i(130,e===null?`null`:typeof e,``)),r=null}return t=ei(s,n,t,a),t.elementType=e,t.type=r,t.lanes=o,t}function ai(e,t,n,r){return e=ei(7,e,r,t),e.lanes=n,e}function oi(e,t,n){return e=ei(6,e,null,t),e.lanes=n,e}function si(e){var t=ei(18,null,null,0);return t.stateNode=e,t}function ci(e,t,n){return t=ei(4,e.children===null?[]:e.children,e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var li=new WeakMap;function ui(e,t){if(typeof e==`object`&&e){var n=li.get(e);return n===void 0?(t={value:e,source:t,stack:ge(t)},li.set(e,t),t):n}return{value:e,source:t,stack:ge(t)}}var di=[],fi=0,pi=null,mi=0,hi=[],gi=0,_i=null,vi=1,yi=``;function bi(e,t){di[fi++]=mi,di[fi++]=pi,pi=e,mi=t}function xi(e,t,n){hi[gi++]=vi,hi[gi++]=yi,hi[gi++]=_i,_i=e;var r=vi;e=yi;var i=32-ke(r)-1;r&=~(1<<i),n+=1;var a=32-ke(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,vi=1<<32-ke(t)+i|n<<i|r,yi=a+e}else vi=1<<a|n<<i|r,yi=e}function Si(e){e.return!==null&&(bi(e,1),xi(e,1,0))}function Ci(e){for(;e===pi;)pi=di[--fi],di[fi]=null,mi=di[--fi],di[fi]=null;for(;e===_i;)_i=hi[--gi],hi[gi]=null,yi=hi[--gi],hi[gi]=null,vi=hi[--gi],hi[gi]=null}function wi(e,t){hi[gi++]=vi,hi[gi++]=yi,hi[gi++]=_i,vi=t.id,yi=t.overflow,_i=e}var Ti=null,Ei=null,Di=!1,Oi=null,ki=!1,Ai=Error(i(519));function ji(e){throw Li(ui(Error(i(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?`text`:`HTML`,``)),e)),Ai}function Mi(e){var t=e.stateNode,n=e.type,r=e.memoizedProps;switch(t[Qe]=e,t[$e]=r,n){case`dialog`:xd(`cancel`,t),xd(`close`,t);break;case`iframe`:case`object`:case`embed`:xd(`load`,t);break;case`video`:case`audio`:for(n=0;n<vd.length;n++)xd(vd[n],t);break;case`source`:xd(`error`,t);break;case`img`:case`image`:case`link`:xd(`error`,t),xd(`load`,t);break;case`details`:xd(`toggle`,t);break;case`input`:xd(`invalid`,t),Mt(t,r.value,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name,!0);break;case`select`:xd(`invalid`,t);break;case`textarea`:xd(`invalid`,t),It(t,r.value,r.defaultValue,r.children)}n=r.children,typeof n!=`string`&&typeof n!=`number`&&typeof n!=`bigint`||t.textContent===``+n||!0===r.suppressHydrationWarning||Pd(t.textContent,n)?(r.popover!=null&&(xd(`beforetoggle`,t),xd(`toggle`,t)),r.onScroll!=null&&xd(`scroll`,t),r.onScrollEnd!=null&&xd(`scrollend`,t),r.onClick!=null&&(t.onclick=Gt),t=!0):t=!1,t||ji(e,!0)}function Ni(e){for(Ti=e.return;Ti;)switch(Ti.tag){case 5:case 31:case 13:ki=!1;return;case 27:case 3:ki=!0;return;default:Ti=Ti.return}}function Pi(e){if(e!==Ti)return!1;if(!Di)return Ni(e),Di=!0,!1;var t=e.tag,n;if((n=t!==3&&t!==27)&&((n=t===5)&&(n=e.type,n=!(n!==`form`&&n!==`button`)||Kd(e.type,e.memoizedProps)),n=!n),n&&Ei&&ji(e),Ni(e),t===13){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Ei=pf(e)}else if(t===31){if(e=e.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(317));Ei=pf(e)}else t===27?(t=Ei,ef(e.type)?(e=ff,ff=null,Ei=e):Ei=t):Ei=Ti?df(e.stateNode.nextSibling):null;return!0}function Fi(){Ei=Ti=null,Di=!1}function Ii(){var e=Oi;return e!==null&&(Zl===null?Zl=e:Zl.push.apply(Zl,e),Oi=null),e}function Li(e){Oi===null?Oi=[e]:Oi.push(e)}var Ri=ie(null),zi=null,Bi=null;function Vi(e,t,n){R(Ri,t._currentValue),t._currentValue=n}function Hi(e){e._currentValue=Ri.current,L(Ri)}function Ui(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t?r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t):(e.childLanes|=t,r!==null&&(r.childLanes|=t)),e===n)break;e=e.return}}function Wi(e,t,n,r){var a=e.child;for(a!==null&&(a.return=e);a!==null;){var o=a.dependencies;if(o!==null){var s=a.child;o=o.firstContext;a:for(;o!==null;){var c=o;o=a;for(var l=0;l<t.length;l++)if(c.context===t[l]){o.lanes|=n,c=o.alternate,c!==null&&(c.lanes|=n),Ui(o.return,n,e),r||(s=null);break a}o=c.next}}else if(a.tag===18){if(s=a.return,s===null)throw Error(i(341));s.lanes|=n,o=s.alternate,o!==null&&(o.lanes|=n),Ui(s,n,e),s=null}else s=a.child;if(s!==null)s.return=a;else for(s=a;s!==null;){if(s===e){s=null;break}if(a=s.sibling,a!==null){a.return=s.return,s=a;break}s=s.return}a=s}}function Gi(e,t,n,r){e=null;for(var a=t,o=!1;a!==null;){if(!o){if(a.flags&524288)o=!0;else if(a.flags&262144)break}if(a.tag===10){var s=a.alternate;if(s===null)throw Error(i(387));if(s=s.memoizedProps,s!==null){var c=a.type;mr(a.pendingProps.value,s.value)||(e===null?e=[c]:e.push(c))}}else if(a===z.current){if(s=a.alternate,s===null)throw Error(i(387));s.memoizedState.memoizedState!==a.memoizedState.memoizedState&&(e===null?e=[tp]:e.push(tp))}a=a.return}e!==null&&Wi(t,e,n,r),t.flags|=262144}function Ki(e){for(e=e.firstContext;e!==null;){if(!mr(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function qi(e){zi=e,Bi=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ji(e){return Xi(zi,e)}function Yi(e,t){return zi===null&&qi(e),Xi(e,t)}function Xi(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},Bi===null){if(e===null)throw Error(i(308));Bi=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Bi=Bi.next=t;return n}var Zi=typeof AbortController<`u`?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Qi=t.unstable_scheduleCallback,$i=t.unstable_NormalPriority,ea={$$typeof:C,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function ta(){return{controller:new Zi,data:new Map,refCount:0}}function na(e){e.refCount--,e.refCount===0&&Qi($i,function(){e.controller.abort()})}var ra=null,ia=0,aa=0,oa=null;function sa(e,t){if(ra===null){var n=ra=[];ia=0,aa=fd(),oa={status:`pending`,value:void 0,then:function(e){n.push(e)}}}return ia++,t.then(ca,ca),t}function ca(){if(--ia===0&&ra!==null){oa!==null&&(oa.status=`fulfilled`);var e=ra;ra=null,aa=0,oa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function la(e,t){var n=[],r={status:`pending`,value:null,reason:null,then:function(e){n.push(e)}};return e.then(function(){r.status=`fulfilled`,r.value=t;for(var e=0;e<n.length;e++)(0,n[e])(t)},function(e){for(r.status=`rejected`,r.reason=e,e=0;e<n.length;e++)(0,n[e])(void 0)}),r}var ua=F.S;F.S=function(e,t){eu=W(),typeof t==`object`&&t&&typeof t.then==`function`&&sa(e,t),ua!==null&&ua(e,t)};var da=ie(null);function fa(){var e=da.current;return e===null?Ll.pooledCache:e}function pa(e,t){t===null?R(da,da.current):R(da,t.pool)}function ma(){var e=fa();return e===null?null:{parent:ea._currentValue,pool:e}}var ha=Error(i(460)),ga=Error(i(474)),_a=Error(i(542)),q={then:function(){}};function va(e){return e=e.status,e===`fulfilled`||e===`rejected`}function ya(e,t,n){switch(n=e[n],n===void 0?e.push(t):n!==t&&(t.then(Gt,Gt),t=n),t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ca(e),e;default:if(typeof t.status==`string`)t.then(Gt,Gt);else{if(e=Ll,e!==null&&100<e.shellSuspendCounter)throw Error(i(482));e=t,e.status=`pending`,e.then(function(e){if(t.status===`pending`){var n=t;n.status=`fulfilled`,n.value=e}},function(e){if(t.status===`pending`){var n=t;n.status=`rejected`,n.reason=e}})}switch(t.status){case`fulfilled`:return t.value;case`rejected`:throw e=t.reason,Ca(e),e}throw xa=t,ha}}function ba(e){try{var t=e._init;return t(e._payload)}catch(e){throw typeof e==`object`&&e&&typeof e.then==`function`?(xa=e,ha):e}}var xa=null;function Sa(){if(xa===null)throw Error(i(459));var e=xa;return xa=null,e}function Ca(e){if(e===ha||e===_a)throw Error(i(483))}var wa=null,Ta=0;function Ea(e){var t=Ta;return Ta+=1,wa===null&&(wa=[]),ya(wa,e,t)}function Da(e,t){t=t.props.ref,e.ref=t===void 0?null:t}function Oa(e,t){throw t.$$typeof===g?Error(i(525)):(e=Object.prototype.toString.call(t),Error(i(31,e===`[object Object]`?`object with keys {`+Object.keys(t).join(`, `)+`}`:e)))}function ka(e){function t(t,n){if(e){var r=t.deletions;r===null?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;r!==null;)t(n,r),r=r.sibling;return null}function r(e){for(var t=new Map;e!==null;)e.key===null?t.set(e.index,e):t.set(e.key,e),e=e.sibling;return t}function a(e,t){return e=ni(e,t),e.index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?(r=t.alternate,r===null?(t.flags|=67108866,n):(r=r.index,r<n?(t.flags|=67108866,n):r)):(t.flags|=1048576,n)}function s(t){return e&&t.alternate===null&&(t.flags|=67108866),t}function c(e,t,n,r){return t===null||t.tag!==6?(t=oi(n,e.mode,r),t.return=e,t):(t=a(t,n),t.return=e,t)}function l(e,t,n,r){var i=n.type;return i===y?d(e,t,n.props.children,r,n.key):t!==null&&(t.elementType===i||typeof i==`object`&&i&&i.$$typeof===O&&ba(i)===t.type)?(t=a(t,n.props),Da(t,n),t.return=e,t):(t=ii(n.type,n.key,n.props,null,e.mode,r),Da(t,n),t.return=e,t)}function u(e,t,n,r){return t===null||t.tag!==4||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=ci(n,e.mode,r),t.return=e,t):(t=a(t,n.children||[]),t.return=e,t)}function d(e,t,n,r,i){return t===null||t.tag!==7?(t=ai(n,e.mode,r,i),t.return=e,t):(t=a(t,n),t.return=e,t)}function f(e,t,n){if(typeof t==`string`&&t!==``||typeof t==`number`||typeof t==`bigint`)return t=oi(``+t,e.mode,n),t.return=e,t;if(typeof t==`object`&&t){switch(t.$$typeof){case _:return n=ii(t.type,t.key,t.props,null,e.mode,n),Da(n,t),n.return=e,n;case v:return t=ci(t,e.mode,n),t.return=e,t;case O:return t=ba(t),f(e,t,n)}if(ee(t)||M(t))return t=ai(t,e.mode,n,null),t.return=e,t;if(typeof t.then==`function`)return f(e,Ea(t),n);if(t.$$typeof===C)return f(e,Yi(e,t),n);Oa(e,t)}return null}function p(e,t,n,r){var i=t===null?null:t.key;if(typeof n==`string`&&n!==``||typeof n==`number`||typeof n==`bigint`)return i===null?c(e,t,``+n,r):null;if(typeof n==`object`&&n){switch(n.$$typeof){case _:return n.key===i?l(e,t,n,r):null;case v:return n.key===i?u(e,t,n,r):null;case O:return n=ba(n),p(e,t,n,r)}if(ee(n)||M(n))return i===null?d(e,t,n,r,null):null;if(typeof n.then==`function`)return p(e,t,Ea(n),r);if(n.$$typeof===C)return p(e,t,Yi(e,n),r);Oa(e,n)}return null}function m(e,t,n,r,i){if(typeof r==`string`&&r!==``||typeof r==`number`||typeof r==`bigint`)return e=e.get(n)||null,c(t,e,``+r,i);if(typeof r==`object`&&r){switch(r.$$typeof){case _:return e=e.get(r.key===null?n:r.key)||null,l(t,e,r,i);case v:return e=e.get(r.key===null?n:r.key)||null,u(t,e,r,i);case O:return r=ba(r),m(e,t,n,r,i)}if(ee(r)||M(r))return e=e.get(n)||null,d(t,e,r,i,null);if(typeof r.then==`function`)return m(e,t,n,Ea(r),i);if(r.$$typeof===C)return m(e,t,n,Yi(t,r),i);Oa(t,r)}return null}function h(i,a,s,c){for(var l=null,u=null,d=a,h=a=0,g=null;d!==null&&h<s.length;h++){d.index>h?(g=d,d=null):g=d.sibling;var _=p(i,d,s[h],c);if(_===null){d===null&&(d=g);break}e&&d&&_.alternate===null&&t(i,d),a=o(_,a,h),u===null?l=_:u.sibling=_,u=_,d=g}if(h===s.length)return n(i,d),Di&&bi(i,h),l;if(d===null){for(;h<s.length;h++)d=f(i,s[h],c),d!==null&&(a=o(d,a,h),u===null?l=d:u.sibling=d,u=d);return Di&&bi(i,h),l}for(d=r(d);h<s.length;h++)g=m(d,i,h,s[h],c),g!==null&&(e&&g.alternate!==null&&d.delete(g.key===null?h:g.key),a=o(g,a,h),u===null?l=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),Di&&bi(i,h),l}function g(a,s,c,l){if(c==null)throw Error(i(151));for(var u=null,d=null,h=s,g=s=0,_=null,v=c.next();h!==null&&!v.done;g++,v=c.next()){h.index>g?(_=h,h=null):_=h.sibling;var y=p(a,h,v.value,l);if(y===null){h===null&&(h=_);break}e&&h&&y.alternate===null&&t(a,h),s=o(y,s,g),d===null?u=y:d.sibling=y,d=y,h=_}if(v.done)return n(a,h),Di&&bi(a,g),u;if(h===null){for(;!v.done;g++,v=c.next())v=f(a,v.value,l),v!==null&&(s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return Di&&bi(a,g),u}for(h=r(h);!v.done;g++,v=c.next())v=m(h,a,g,v.value,l),v!==null&&(e&&v.alternate!==null&&h.delete(v.key===null?g:v.key),s=o(v,s,g),d===null?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(a,e)}),Di&&bi(a,g),u}function b(e,r,o,c){if(typeof o==`object`&&o&&o.type===y&&o.key===null&&(o=o.props.children),typeof o==`object`&&o){switch(o.$$typeof){case _:a:{for(var l=o.key;r!==null;){if(r.key===l){if(l=o.type,l===y){if(r.tag===7){n(e,r.sibling),c=a(r,o.props.children),c.return=e,e=c;break a}}else if(r.elementType===l||typeof l==`object`&&l&&l.$$typeof===O&&ba(l)===r.type){n(e,r.sibling),c=a(r,o.props),Da(c,o),c.return=e,e=c;break a}n(e,r);break}else t(e,r);r=r.sibling}o.type===y?(c=ai(o.props.children,e.mode,c,o.key),c.return=e,e=c):(c=ii(o.type,o.key,o.props,null,e.mode,c),Da(c,o),c.return=e,e=c)}return s(e);case v:a:{for(l=o.key;r!==null;){if(r.key===l)if(r.tag===4&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),c=a(r,o.children||[]),c.return=e,e=c;break a}else{n(e,r);break}else t(e,r);r=r.sibling}c=ci(o,e.mode,c),c.return=e,e=c}return s(e);case O:return o=ba(o),b(e,r,o,c)}if(ee(o))return h(e,r,o,c);if(M(o)){if(l=M(o),typeof l!=`function`)throw Error(i(150));return o=l.call(o),g(e,r,o,c)}if(typeof o.then==`function`)return b(e,r,Ea(o),c);if(o.$$typeof===C)return b(e,r,Yi(e,o),c);Oa(e,o)}return typeof o==`string`&&o!==``||typeof o==`number`||typeof o==`bigint`?(o=``+o,r!==null&&r.tag===6?(n(e,r.sibling),c=a(r,o),c.return=e,e=c):(n(e,r),c=oi(o,e.mode,c),c.return=e,e=c),s(e)):n(e,r)}return function(e,t,n,r){try{Ta=0;var i=b(e,t,n,r);return wa=null,i}catch(t){if(t===ha||t===_a)throw t;var a=ei(29,t,null,e.mode);return a.lanes=r,a.return=e,a}}}var Aa=ka(!0),ja=ka(!1),Ma=!1;function Na(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Pa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Fa(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ia(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Il&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,t=Zr(e),Xr(e,null,n),t}return qr(e,r,t,n),Zr(e)}function La(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,n&4194048)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ge(e,n)}}function Ra(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,a=null;if(n=n.firstBaseUpdate,n!==null){do{var o={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};a===null?i=a=o:a=a.next=o,n=n.next}while(n!==null);a===null?i=a=t:a=a.next=t}else i=a=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,callbacks:r.callbacks},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}var za=!1;function Ba(){if(za){var e=oa;if(e!==null)throw e}}function Va(e,t,n,r){za=!1;var i=e.updateQueue;Ma=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var c=s,l=c.next;c.next=null,o===null?a=l:o.next=l,o=c;var u=e.alternate;u!==null&&(u=u.updateQueue,s=u.lastBaseUpdate,s!==o&&(s===null?u.firstBaseUpdate=l:s.next=l,u.lastBaseUpdate=c))}if(a!==null){var d=i.baseState;o=0,u=l=c=null,s=a;do{var f=s.lane&-536870913,p=f!==s.lane;if(p?(X&f)===f:(r&f)===f){f!==0&&f===aa&&(za=!0),u!==null&&(u=u.next={lane:0,tag:s.tag,payload:s.payload,callback:null,next:null});a:{var h=e,g=s;f=t;var _=n;switch(g.tag){case 1:if(h=g.payload,typeof h==`function`){d=h.call(_,d,f);break a}d=h;break a;case 3:h.flags=h.flags&-65537|128;case 0:if(h=g.payload,f=typeof h==`function`?h.call(_,d,f):h,f==null)break a;d=m({},d,f);break a;case 2:Ma=!0}}f=s.callback,f!==null&&(e.flags|=64,p&&(e.flags|=8192),p=i.callbacks,p===null?i.callbacks=[f]:p.push(f))}else p={lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},u===null?(l=u=p,c=d):u=u.next=p,o|=f;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(1);u===null&&(c=d),i.baseState=c,i.firstBaseUpdate=l,i.lastBaseUpdate=u,a===null&&(i.shared.lanes=0),Gl|=o,e.lanes=o,e.memoizedState=d}}function Ha(e,t){if(typeof e!=`function`)throw Error(i(191,e));e.call(t)}function Ua(e,t){var n=e.callbacks;if(n!==null)for(e.callbacks=null,e=0;e<n.length;e++)Ha(n[e],t)}var Wa=ie(null),Ga=ie(0);function Ka(e,t){e=Ul,R(Ga,e),R(Wa,t),Ul=e|t.baseLanes}function qa(){R(Ga,Ul),R(Wa,Wa.current)}function Ja(){Ul=Ga.current,L(Wa),L(Ga)}var Ya=ie(null),Xa=null;function Za(e){var t=e.alternate;R(no,no.current&1),R(Ya,e),Xa===null&&(t===null||Wa.current!==null||t.memoizedState!==null)&&(Xa=e)}function Qa(e){R(no,no.current),R(Ya,e),Xa===null&&(Xa=e)}function $a(e){e.tag===22?(R(no,no.current),R(Ya,e),Xa===null&&(Xa=e)):eo(e)}function eo(){R(no,no.current),R(Ya,Ya.current)}function to(e){L(Ya),Xa===e&&(Xa=null),L(no)}var no=ie(0);function ro(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||cf(n)||lf(n)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder===`forwards`||t.memoizedProps.revealOrder===`backwards`||t.memoizedProps.revealOrder===`unstable_legacy-backwards`||t.memoizedProps.revealOrder===`together`)){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var io=0,J=null,ao=null,oo=null,so=!1,co=!1,lo=!1,uo=0,fo=0,po=null,mo=0;function ho(){throw Error(i(321))}function go(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!mr(e[n],t[n]))return!1;return!0}function _o(e,t,n,r,i,a){return io=a,J=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,F.H=e===null||e.memoizedState===null?Ps:Fs,lo=!1,a=n(r,i),lo=!1,co&&(a=yo(t,n,r,i)),vo(e),a}function vo(e){F.H=Ns;var t=ao!==null&&ao.next!==null;if(io=0,oo=ao=J=null,so=!1,fo=0,po=null,t)throw Error(i(300));e===null||Qs||(e=e.dependencies,e!==null&&Ki(e)&&(Qs=!0))}function yo(e,t,n,r){J=e;var a=0;do{if(co&&(po=null),fo=0,co=!1,25<=a)throw Error(i(301));if(a+=1,oo=ao=null,e.updateQueue!=null){var o=e.updateQueue;o.lastEffect=null,o.events=null,o.stores=null,o.memoCache!=null&&(o.memoCache.index=0)}F.H=Is,o=t(n,r)}while(co);return o}function bo(){var e=F.H,t=e.useState()[0];return t=typeof t.then==`function`?Do(t):t,e=e.useState()[0],(ao===null?null:ao.memoizedState)!==e&&(J.flags|=1024),t}function xo(){var e=uo!==0;return uo=0,e}function So(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Co(e){if(so){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}so=!1}io=0,oo=ao=J=null,co=!1,fo=uo=0,po=null}function wo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return oo===null?J.memoizedState=oo=e:oo=oo.next=e,oo}function To(){if(ao===null){var e=J.alternate;e=e===null?null:e.memoizedState}else e=ao.next;var t=oo===null?J.memoizedState:oo.next;if(t!==null)oo=t,ao=e;else{if(e===null)throw J.alternate===null?Error(i(467)):Error(i(310));ao=e,e={memoizedState:ao.memoizedState,baseState:ao.baseState,baseQueue:ao.baseQueue,queue:ao.queue,next:null},oo===null?J.memoizedState=oo=e:oo=oo.next=e}return oo}function Eo(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Do(e){var t=fo;return fo+=1,po===null&&(po=[]),e=ya(po,e,t),t=J,(oo===null?t.memoizedState:oo.next)===null&&(t=t.alternate,F.H=t===null||t.memoizedState===null?Ps:Fs),e}function Oo(e){if(typeof e==`object`&&e){if(typeof e.then==`function`)return Do(e);if(e.$$typeof===C)return Ji(e)}throw Error(i(438,String(e)))}function ko(e){var t=null,n=J.updateQueue;if(n!==null&&(t=n.memoCache),t==null){var r=J.alternate;r!==null&&(r=r.updateQueue,r!==null&&(r=r.memoCache,r!=null&&(t={data:r.data.map(function(e){return e.slice()}),index:0})))}if(t??={data:[],index:0},n===null&&(n=Eo(),J.updateQueue=n),n.memoCache=t,n=t.data[t.index],n===void 0)for(n=t.data[t.index]=Array(e),r=0;r<e;r++)n[r]=A;return t.index++,n}function Ao(e,t){return typeof t==`function`?t(e):t}function jo(e){return Mo(To(),ao,e)}function Mo(e,t,n){var r=e.queue;if(r===null)throw Error(i(311));r.lastRenderedReducer=n;var a=e.baseQueue,o=r.pending;if(o!==null){if(a!==null){var s=a.next;a.next=o.next,o.next=s}t.baseQueue=a=o,r.pending=null}if(o=e.baseState,a===null)e.memoizedState=o;else{t=a.next;var c=s=null,l=null,u=t,d=!1;do{var f=u.lane&-536870913;if(f===u.lane?(io&f)===f:(X&f)===f){var p=u.revertLane;if(p===0)l!==null&&(l=l.next={lane:0,revertLane:0,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),f===aa&&(d=!0);else if((io&p)===p){u=u.next,p===aa&&(d=!0);continue}else f={lane:0,revertLane:u.revertLane,gesture:null,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=f,s=o):l=l.next=f,J.lanes|=p,Gl|=p;f=u.action,lo&&n(o,f),o=u.hasEagerState?u.eagerState:n(o,f)}else p={lane:f,revertLane:u.revertLane,gesture:u.gesture,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},l===null?(c=l=p,s=o):l=l.next=p,J.lanes|=f,Gl|=f;u=u.next}while(u!==null&&u!==t);if(l===null?s=o:l.next=c,!mr(o,e.memoizedState)&&(Qs=!0,d&&(n=oa,n!==null)))throw n;e.memoizedState=o,e.baseState=s,e.baseQueue=l,r.lastRenderedState=o}return a===null&&(r.lanes=0),[e.memoizedState,r.dispatch]}function No(e){var t=To(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var s=a=a.next;do o=e(o,s.action),s=s.next;while(s!==a);mr(o,t.memoizedState)||(Qs=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Po(e,t,n){var r=J,a=To(),o=Di;if(o){if(n===void 0)throw Error(i(407));n=n()}else n=t();var s=!mr((ao||a).memoizedState,n);if(s&&(a.memoizedState=n,Qs=!0),a=a.queue,as(Lo.bind(null,r,a,e),[e]),a.getSnapshot!==t||s||oo!==null&&oo.memoizedState.tag&1){if(r.flags|=2048,es(9,{destroy:void 0},Io.bind(null,r,a,n,t),null),Ll===null)throw Error(i(349));o||io&127||Fo(r,t,n)}return n}function Fo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=J.updateQueue,t===null?(t=Eo(),J.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Io(e,t,n,r){t.value=n,t.getSnapshot=r,Ro(t)&&zo(e)}function Lo(e,t,n){return n(function(){Ro(t)&&zo(e)})}function Ro(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!mr(e,n)}catch{return!0}}function zo(e){var t=Yr(e,2);t!==null&&hu(t,e,2)}function Bo(e){var t=wo();if(typeof e==`function`){var n=e;if(e=n(),lo){Oe(!0);try{n()}finally{Oe(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ao,lastRenderedState:e},t}function Vo(e,t,n,r){return e.baseState=n,Mo(e,ao,typeof r==`function`?r:Ao)}function Ho(e,t,n,r,a){if(As(e))throw Error(i(485));if(e=t.action,e!==null){var o={payload:a,action:e,next:null,isTransition:!0,status:`pending`,value:null,reason:null,listeners:[],then:function(e){o.listeners.push(e)}};F.T===null?o.isTransition=!1:n(!0),r(o),n=t.pending,n===null?(o.next=t.pending=o,Uo(t,o)):(o.next=n.next,t.pending=n.next=o)}}function Uo(e,t){var n=t.action,r=t.payload,i=e.state;if(t.isTransition){var a=F.T,o={};F.T=o;try{var s=n(i,r),c=F.S;c!==null&&c(o,s),Wo(e,t,s)}catch(n){Ko(e,t,n)}finally{a!==null&&o.types!==null&&(a.types=o.types),F.T=a}}else try{a=n(i,r),Wo(e,t,a)}catch(n){Ko(e,t,n)}}function Wo(e,t,n){typeof n==`object`&&n&&typeof n.then==`function`?n.then(function(n){Go(e,t,n)},function(n){return Ko(e,t,n)}):Go(e,t,n)}function Go(e,t,n){t.status=`fulfilled`,t.value=n,qo(t),e.state=n,t=e.pending,t!==null&&(n=t.next,n===t?e.pending=null:(n=n.next,t.next=n,Uo(e,n)))}function Ko(e,t,n){var r=e.pending;if(e.pending=null,r!==null){r=r.next;do t.status=`rejected`,t.reason=n,qo(t),t=t.next;while(t!==r)}e.action=null}function qo(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Jo(e,t){return t}function Yo(e,t){if(Di){var n=Ll.formState;if(n!==null){a:{var r=J;if(Di){if(Ei){b:{for(var i=Ei,a=ki;i.nodeType!==8;){if(!a){i=null;break b}if(i=df(i.nextSibling),i===null){i=null;break b}}a=i.data,i=a===`F!`||a===`F`?i:null}if(i){Ei=df(i.nextSibling),r=i.data===`F!`;break a}}ji(r)}r=!1}r&&(t=n[0])}}return n=wo(),n.memoizedState=n.baseState=t,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Jo,lastRenderedState:t},n.queue=r,n=Ds.bind(null,J,r),r.dispatch=n,r=Bo(!1),a=ks.bind(null,J,!1,r.queue),r=wo(),i={state:t,dispatch:null,action:e,pending:null},r.queue=i,n=Ho.bind(null,J,i,a,n),i.dispatch=n,r.memoizedState=e,[t,n,!1]}function Xo(e){return Zo(To(),ao,e)}function Zo(e,t,n){if(t=Mo(e,t,Jo)[0],e=jo(Ao)[0],typeof t==`object`&&t&&typeof t.then==`function`)try{var r=Do(t)}catch(e){throw e===ha?_a:e}else r=t;t=To();var i=t.queue,a=i.dispatch;return n!==t.memoizedState&&(J.flags|=2048,es(9,{destroy:void 0},Qo.bind(null,i,n),null)),[r,a,e]}function Qo(e,t){e.action=t}function $o(e){var t=To(),n=ao;if(n!==null)return Zo(t,n,e);To(),t=t.memoizedState,n=To();var r=n.queue.dispatch;return n.memoizedState=e,[t,r,!1]}function es(e,t,n,r){return e={tag:e,create:n,deps:r,inst:t,next:null},t=J.updateQueue,t===null&&(t=Eo(),J.updateQueue=t),n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ts(){return To().memoizedState}function ns(e,t,n,r){var i=wo();J.flags|=e,i.memoizedState=es(1|t,{destroy:void 0},n,r===void 0?null:r)}function rs(e,t,n,r){var i=To();r=r===void 0?null:r;var a=i.memoizedState.inst;ao!==null&&r!==null&&go(r,ao.memoizedState.deps)?i.memoizedState=es(t,a,n,r):(J.flags|=e,i.memoizedState=es(1|t,a,n,r))}function is(e,t){ns(8390656,8,e,t)}function as(e,t){rs(2048,8,e,t)}function os(e){J.flags|=4;var t=J.updateQueue;if(t===null)t=Eo(),J.updateQueue=t,t.events=[e];else{var n=t.events;n===null?t.events=[e]:n.push(e)}}function ss(e){var t=To().memoizedState;return os({ref:t,nextImpl:e}),function(){if(Il&2)throw Error(i(440));return t.impl.apply(void 0,arguments)}}function cs(e,t){return rs(4,2,e,t)}function ls(e,t){return rs(4,4,e,t)}function us(e,t){if(typeof t==`function`){e=e();var n=t(e);return function(){typeof n==`function`?n():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function ds(e,t,n){n=n==null?null:n.concat([e]),rs(4,4,us.bind(null,t,e),n)}function fs(){}function ps(e,t){var n=To();t=t===void 0?null:t;var r=n.memoizedState;return t!==null&&go(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ms(e,t){var n=To();t=t===void 0?null:t;var r=n.memoizedState;if(t!==null&&go(t,r[1]))return r[0];if(r=e(),lo){Oe(!0);try{e()}finally{Oe(!1)}}return n.memoizedState=[r,t],r}function hs(e,t,n){return n===void 0||io&1073741824&&!(X&261930)?e.memoizedState=t:(e.memoizedState=n,e=mu(),J.lanes|=e,Gl|=e,n)}function gs(e,t,n,r){return mr(n,t)?n:Wa.current===null?!(io&42)||io&1073741824&&!(X&261930)?(Qs=!0,e.memoizedState=n):(e=mu(),J.lanes|=e,Gl|=e,t):(e=hs(e,n,r),mr(e,t)||(Qs=!0),e)}function _s(e,t,n,r,i){var a=I.p;I.p=a!==0&&8>a?a:8;var o=F.T,s={};F.T=s,ks(e,!1,t,n);try{var c=i(),l=F.S;l!==null&&l(s,c),typeof c==`object`&&c&&typeof c.then==`function`?Os(e,t,la(c,r),pu(e)):Os(e,t,r,pu(e))}catch(n){Os(e,t,{then:function(){},status:`rejected`,reason:n},pu())}finally{I.p=a,o!==null&&s.types!==null&&(o.types=s.types),F.T=o}}function vs(){}function ys(e,t,n,r){if(e.tag!==5)throw Error(i(476));var a=bs(e).queue;_s(e,a,t,te,n===null?vs:function(){return xs(e),n(r)})}function bs(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ao,lastRenderedState:te},next:null};var n={};return t.next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ao,lastRenderedState:n},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function xs(e){var t=bs(e);t.next===null&&(t=e.alternate.memoizedState),Os(e,t.next.queue,{},pu())}function Ss(){return Ji(tp)}function Cs(){return To().memoizedState}function ws(){return To().memoizedState}function Ts(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var n=pu();e=Fa(n);var r=Ia(t,e,n);r!==null&&(hu(r,t,n),La(r,t,n)),t={cache:ta()},e.payload=t;return}t=t.return}}function Es(e,t,n){var r=pu();n={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},As(e)?js(t,n):(n=Jr(e,t,n,r),n!==null&&(hu(n,e,r),Ms(n,t,r)))}function Ds(e,t,n){Os(e,t,n,pu())}function Os(e,t,n,r){var i={lane:r,revertLane:0,gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null};if(As(e))js(t,i);else{var a=e.alternate;if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,mr(s,o))return qr(e,t,i,0),Ll===null&&Kr(),!1}catch{}if(n=Jr(e,t,i,r),n!==null)return hu(n,e,r),Ms(n,t,r),!0}return!1}function ks(e,t,n,r){if(r={lane:2,revertLane:fd(),gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},As(e)){if(t)throw Error(i(479))}else t=Jr(e,n,r,2),t!==null&&hu(t,e,2)}function As(e){var t=e.alternate;return e===J||t!==null&&t===J}function js(e,t){co=so=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ms(e,t,n){if(n&4194048){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Ge(e,n)}}var Ns={readContext:Ji,use:Oo,useCallback:ho,useContext:ho,useEffect:ho,useImperativeHandle:ho,useLayoutEffect:ho,useInsertionEffect:ho,useMemo:ho,useReducer:ho,useRef:ho,useState:ho,useDebugValue:ho,useDeferredValue:ho,useTransition:ho,useSyncExternalStore:ho,useId:ho,useHostTransitionStatus:ho,useFormState:ho,useActionState:ho,useOptimistic:ho,useMemoCache:ho,useCacheRefresh:ho};Ns.useEffectEvent=ho;var Ps={readContext:Ji,use:Oo,useCallback:function(e,t){return wo().memoizedState=[e,t===void 0?null:t],e},useContext:Ji,useEffect:is,useImperativeHandle:function(e,t,n){n=n==null?null:n.concat([e]),ns(4194308,4,us.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ns(4194308,4,e,t)},useInsertionEffect:function(e,t){ns(4,2,e,t)},useMemo:function(e,t){var n=wo();t=t===void 0?null:t;var r=e();if(lo){Oe(!0);try{e()}finally{Oe(!1)}}return n.memoizedState=[r,t],r},useReducer:function(e,t,n){var r=wo();if(n!==void 0){var i=n(t);if(lo){Oe(!0);try{n(t)}finally{Oe(!1)}}}else i=t;return r.memoizedState=r.baseState=i,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:i},r.queue=e,e=e.dispatch=Es.bind(null,J,e),[r.memoizedState,e]},useRef:function(e){var t=wo();return e={current:e},t.memoizedState=e},useState:function(e){e=Bo(e);var t=e.queue,n=Ds.bind(null,J,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:fs,useDeferredValue:function(e,t){return hs(wo(),e,t)},useTransition:function(){var e=Bo(!1);return e=_s.bind(null,J,e.queue,!0,!1),wo().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var r=J,a=wo();if(Di){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),Ll===null)throw Error(i(349));X&127||Fo(r,t,n)}a.memoizedState=n;var o={value:n,getSnapshot:t};return a.queue=o,is(Lo.bind(null,r,o,e),[e]),r.flags|=2048,es(9,{destroy:void 0},Io.bind(null,r,o,n,t),null),n},useId:function(){var e=wo(),t=Ll.identifierPrefix;if(Di){var n=yi,r=vi;n=(r&~(1<<32-ke(r)-1)).toString(32)+n,t=`_`+t+`R_`+n,n=uo++,0<n&&(t+=`H`+n.toString(32)),t+=`_`}else n=mo++,t=`_`+t+`r_`+n.toString(32)+`_`;return e.memoizedState=t},useHostTransitionStatus:Ss,useFormState:Yo,useActionState:Yo,useOptimistic:function(e){var t=wo();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=ks.bind(null,J,!0,n),n.dispatch=t,[e,t]},useMemoCache:ko,useCacheRefresh:function(){return wo().memoizedState=Ts.bind(null,J)},useEffectEvent:function(e){var t=wo(),n={impl:e};return t.memoizedState=n,function(){if(Il&2)throw Error(i(440));return n.impl.apply(void 0,arguments)}}},Fs={readContext:Ji,use:Oo,useCallback:ps,useContext:Ji,useEffect:as,useImperativeHandle:ds,useInsertionEffect:cs,useLayoutEffect:ls,useMemo:ms,useReducer:jo,useRef:ts,useState:function(){return jo(Ao)},useDebugValue:fs,useDeferredValue:function(e,t){return gs(To(),ao.memoizedState,e,t)},useTransition:function(){var e=jo(Ao)[0],t=To().memoizedState;return[typeof e==`boolean`?e:Do(e),t]},useSyncExternalStore:Po,useId:Cs,useHostTransitionStatus:Ss,useFormState:Xo,useActionState:Xo,useOptimistic:function(e,t){return Vo(To(),ao,e,t)},useMemoCache:ko,useCacheRefresh:ws};Fs.useEffectEvent=ss;var Is={readContext:Ji,use:Oo,useCallback:ps,useContext:Ji,useEffect:as,useImperativeHandle:ds,useInsertionEffect:cs,useLayoutEffect:ls,useMemo:ms,useReducer:No,useRef:ts,useState:function(){return No(Ao)},useDebugValue:fs,useDeferredValue:function(e,t){var n=To();return ao===null?hs(n,e,t):gs(n,ao.memoizedState,e,t)},useTransition:function(){var e=No(Ao)[0],t=To().memoizedState;return[typeof e==`boolean`?e:Do(e),t]},useSyncExternalStore:Po,useId:Cs,useHostTransitionStatus:Ss,useFormState:$o,useActionState:$o,useOptimistic:function(e,t){var n=To();return ao===null?(n.baseState=e,[e,n.queue.dispatch]):Vo(n,ao,e,t)},useMemoCache:ko,useCacheRefresh:ws};Is.useEffectEvent=ss;function Ls(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:m({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Rs={enqueueSetState:function(e,t,n){e=e._reactInternals;var r=pu(),i=Fa(r);i.payload=t,n!=null&&(i.callback=n),t=Ia(e,i,r),t!==null&&(hu(t,e,r),La(t,e,r))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=pu(),i=Fa(r);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Ia(e,i,r),t!==null&&(hu(t,e,r),La(t,e,r))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=pu(),r=Fa(n);r.tag=2,t!=null&&(r.callback=t),t=Ia(e,r,n),t!==null&&(hu(t,e,n),La(t,e,n))}};function zs(e,t,n,r,i,a,o){return e=e.stateNode,typeof e.shouldComponentUpdate==`function`?e.shouldComponentUpdate(r,a,o):t.prototype&&t.prototype.isPureReactComponent?!hr(n,r)||!hr(i,a):!0}function Bs(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps==`function`&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps==`function`&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Rs.enqueueReplaceState(t,t.state,null)}function Vs(e,t){var n=t;if(`ref`in t)for(var r in n={},t)r!==`ref`&&(n[r]=t[r]);if(e=e.defaultProps)for(var i in n===t&&(n=m({},n)),e)n[i]===void 0&&(n[i]=e[i]);return n}function Hs(e){Hr(e)}function Us(e){console.error(e)}function Ws(e){Hr(e)}function Gs(e,t){try{var n=e.onUncaughtError;n(t.value,{componentStack:t.stack})}catch(e){setTimeout(function(){throw e})}}function Ks(e,t,n){try{var r=e.onCaughtError;r(n.value,{componentStack:n.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(e){setTimeout(function(){throw e})}}function qs(e,t,n){return n=Fa(n),n.tag=3,n.payload={element:null},n.callback=function(){Gs(e,t)},n}function Js(e){return e=Fa(e),e.tag=3,e}function Ys(e,t,n,r){var i=n.type.getDerivedStateFromError;if(typeof i==`function`){var a=r.value;e.payload=function(){return i(a)},e.callback=function(){Ks(t,n,r)}}var o=n.stateNode;o!==null&&typeof o.componentDidCatch==`function`&&(e.callback=function(){Ks(t,n,r),typeof i!=`function`&&(ru===null?ru=new Set([this]):ru.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:e===null?``:e})})}function Xs(e,t,n,r,a){if(n.flags|=32768,typeof r==`object`&&r&&typeof r.then==`function`){if(t=n.alternate,t!==null&&Gi(t,n,a,!0),n=Ya.current,n!==null){switch(n.tag){case 31:case 13:return Xa===null?Du():n.alternate===null&&Wl===0&&(Wl=3),n.flags&=-257,n.flags|=65536,n.lanes=a,r===q?n.flags|=16384:(t=n.updateQueue,t===null?n.updateQueue=new Set([r]):t.add(r),Ku(e,r,a)),!1;case 22:return n.flags|=65536,r===q?n.flags|=16384:(t=n.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([r])},n.updateQueue=t):(n=t.retryQueue,n===null?t.retryQueue=new Set([r]):n.add(r)),Ku(e,r,a)),!1}throw Error(i(435,n.tag))}return Ku(e,r,a),Du(),!1}if(Di)return t=Ya.current,t===null?(r!==Ai&&(t=Error(i(423),{cause:r}),Li(ui(t,n))),e=e.current.alternate,e.flags|=65536,a&=-a,e.lanes|=a,r=ui(r,n),a=qs(e.stateNode,r,a),Ra(e,a),Wl!==4&&(Wl=2)):(!(t.flags&65536)&&(t.flags|=256),t.flags|=65536,t.lanes=a,r!==Ai&&(e=Error(i(422),{cause:r}),Li(ui(e,n)))),!1;var o=Error(i(520),{cause:r});if(o=ui(o,n),Xl===null?Xl=[o]:Xl.push(o),Wl!==4&&(Wl=2),t===null)return!0;r=ui(r,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,e=a&-a,n.lanes|=e,e=qs(n.stateNode,r,e),Ra(n,e),!1;case 1:if(t=n.type,o=n.stateNode,!(n.flags&128)&&(typeof t.getDerivedStateFromError==`function`||o!==null&&typeof o.componentDidCatch==`function`&&(ru===null||!ru.has(o))))return n.flags|=65536,a&=-a,n.lanes|=a,a=Js(a),Ys(a,e,n,r),Ra(n,a),!1}n=n.return}while(n!==null);return!1}var Zs=Error(i(461)),Qs=!1;function $s(e,t,n,r){t.child=e===null?ja(t,null,n,r):Aa(t,e.child,n,r)}function ec(e,t,n,r,i){n=n.render;var a=t.ref;if(`ref`in r){var o={};for(var s in r)s!==`ref`&&(o[s]=r[s])}else o=r;return qi(t),r=_o(e,t,n,o,a,i),s=xo(),e!==null&&!Qs?(So(e,t,i),wc(e,t,i)):(Di&&s&&Si(t),t.flags|=1,$s(e,t,r,i),t.child)}function tc(e,t,n,r,i){if(e===null){var a=n.type;return typeof a==`function`&&!ti(a)&&a.defaultProps===void 0&&n.compare===null?(t.tag=15,t.type=a,nc(e,t,a,r,i)):(e=ii(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(a=e.child,!Tc(e,i)){var o=a.memoizedProps;if(n=n.compare,n=n===null?hr:n,n(o,r)&&e.ref===t.ref)return wc(e,t,i)}return t.flags|=1,e=ni(a,r),e.ref=t.ref,e.return=t,t.child=e}function nc(e,t,n,r,i){if(e!==null){var a=e.memoizedProps;if(hr(a,r)&&e.ref===t.ref)if(Qs=!1,t.pendingProps=r=a,Tc(e,i))e.flags&131072&&(Qs=!0);else return t.lanes=e.lanes,wc(e,t,i)}return uc(e,t,n,r,i)}function rc(e,t,n,r){var i=r.children,a=e===null?null:e.memoizedState;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),r.mode===`hidden`){if(t.flags&128){if(a=a===null?n:a.baseLanes|n,e!==null){for(r=t.child=e.child,i=0;r!==null;)i=i|r.lanes|r.childLanes,r=r.sibling;r=i&~a}else r=0,t.child=null;return ac(e,t,a,n,r)}if(n&536870912)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&pa(t,a===null?null:a.cachePool),a===null?qa():Ka(t,a),$a(t);else return r=t.lanes=536870912,ac(e,t,a===null?n:a.baseLanes|n,n,r)}else a===null?(e!==null&&pa(t,null),qa(),eo(t)):(pa(t,a.cachePool),Ka(t,a),eo(t),t.memoizedState=null);return $s(e,t,i,n),t.child}function ic(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function ac(e,t,n,r,i){var a=fa();return a=a===null?null:{parent:ea._currentValue,pool:a},t.memoizedState={baseLanes:n,cachePool:a},e!==null&&pa(t,null),qa(),$a(t),e!==null&&Gi(e,t,r,!0),t.childLanes=i,null}function oc(e,t){return t=yc({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function sc(e,t,n){return Aa(t,e.child,null,n),e=oc(t,t.pendingProps),e.flags|=2,to(t),t.memoizedState=null,e}function cc(e,t,n){var r=t.pendingProps,a=(t.flags&128)!=0;if(t.flags&=-129,e===null){if(Di){if(r.mode===`hidden`)return e=oc(t,r),t.lanes=536870912,ic(null,e);if(Qa(t),(e=Ei)?(e=sf(e,ki),e=e!==null&&e.data===`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:_i===null?null:{id:vi,overflow:yi},retryLane:536870912,hydrationErrors:null},n=si(e),n.return=t,t.child=n,Ti=t,Ei=null)):e=null,e===null)throw ji(t);return t.lanes=536870912,null}return oc(t,r)}var o=e.memoizedState;if(o!==null){var s=o.dehydrated;if(Qa(t),a)if(t.flags&256)t.flags&=-257,t=sc(e,t,n);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(i(558));else if(Qs||Gi(e,t,n,!1),a=(n&e.childLanes)!==0,Qs||a){if(r=Ll,r!==null&&(s=Ke(r,n),s!==0&&s!==o.retryLane))throw o.retryLane=s,Yr(e,s),hu(r,e,s),Zs;Du(),t=sc(e,t,n)}else e=o.treeContext,Ei=df(s.nextSibling),Ti=t,Di=!0,Oi=null,ki=!1,e!==null&&wi(t,e),t=oc(t,r),t.flags|=4096;return t}return e=ni(e.child,{mode:r.mode,children:r.children}),e.ref=t.ref,t.child=e,e.return=t,e}function lc(e,t){var n=t.ref;if(n===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof n!=`function`&&typeof n!=`object`)throw Error(i(284));(e===null||e.ref!==n)&&(t.flags|=4194816)}}function uc(e,t,n,r,i){return qi(t),n=_o(e,t,n,r,void 0,i),r=xo(),e!==null&&!Qs?(So(e,t,i),wc(e,t,i)):(Di&&r&&Si(t),t.flags|=1,$s(e,t,n,i),t.child)}function dc(e,t,n,r,i,a){return qi(t),t.updateQueue=null,n=yo(t,r,n,i),vo(e),r=xo(),e!==null&&!Qs?(So(e,t,a),wc(e,t,a)):(Di&&r&&Si(t),t.flags|=1,$s(e,t,n,a),t.child)}function fc(e,t,n,r,i){if(qi(t),t.stateNode===null){var a=Qr,o=n.contextType;typeof o==`object`&&o&&(a=Ji(o)),a=new n(r,a),t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,a.updater=Rs,t.stateNode=a,a._reactInternals=t,a=t.stateNode,a.props=r,a.state=t.memoizedState,a.refs={},Na(t),o=n.contextType,a.context=typeof o==`object`&&o?Ji(o):Qr,a.state=t.memoizedState,o=n.getDerivedStateFromProps,typeof o==`function`&&(Ls(t,n,o,r),a.state=t.memoizedState),typeof n.getDerivedStateFromProps==`function`||typeof a.getSnapshotBeforeUpdate==`function`||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(o=a.state,typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount(),o!==a.state&&Rs.enqueueReplaceState(a,a.state,null),Va(t,r,a,i),Ba(),a.state=t.memoizedState),typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!0}else if(e===null){a=t.stateNode;var s=t.memoizedProps,c=Vs(n,s);a.props=c;var l=a.context,u=n.contextType;o=Qr,typeof u==`object`&&u&&(o=Ji(u));var d=n.getDerivedStateFromProps;u=typeof d==`function`||typeof a.getSnapshotBeforeUpdate==`function`,s=t.pendingProps!==s,u||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(s||l!==o)&&Bs(t,a,r,o),Ma=!1;var f=t.memoizedState;a.state=f,Va(t,r,a,i),Ba(),l=t.memoizedState,s||f!==l||Ma?(typeof d==`function`&&(Ls(t,n,d,r),l=t.memoizedState),(c=Ma||zs(t,n,c,r,f,l,o))?(u||typeof a.UNSAFE_componentWillMount!=`function`&&typeof a.componentWillMount!=`function`||(typeof a.componentWillMount==`function`&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount==`function`&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount==`function`&&(t.flags|=4194308)):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=o,r=c):(typeof a.componentDidMount==`function`&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,Pa(e,t),o=t.memoizedProps,u=Vs(n,o),a.props=u,d=t.pendingProps,f=a.context,l=n.contextType,c=Qr,typeof l==`object`&&l&&(c=Ji(l)),s=n.getDerivedStateFromProps,(l=typeof s==`function`||typeof a.getSnapshotBeforeUpdate==`function`)||typeof a.UNSAFE_componentWillReceiveProps!=`function`&&typeof a.componentWillReceiveProps!=`function`||(o!==d||f!==c)&&Bs(t,a,r,c),Ma=!1,f=t.memoizedState,a.state=f,Va(t,r,a,i),Ba();var p=t.memoizedState;o!==d||f!==p||Ma||e!==null&&e.dependencies!==null&&Ki(e.dependencies)?(typeof s==`function`&&(Ls(t,n,s,r),p=t.memoizedState),(u=Ma||zs(t,n,u,r,f,p,c)||e!==null&&e.dependencies!==null&&Ki(e.dependencies))?(l||typeof a.UNSAFE_componentWillUpdate!=`function`&&typeof a.componentWillUpdate!=`function`||(typeof a.componentWillUpdate==`function`&&a.componentWillUpdate(r,p,c),typeof a.UNSAFE_componentWillUpdate==`function`&&a.UNSAFE_componentWillUpdate(r,p,c)),typeof a.componentDidUpdate==`function`&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate==`function`&&(t.flags|=1024)):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),a.props=r,a.state=p,a.context=c,r=u):(typeof a.componentDidUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!=`function`||o===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return a=r,lc(e,t),r=(t.flags&128)!=0,a||r?(a=t.stateNode,n=r&&typeof n.getDerivedStateFromError!=`function`?null:a.render(),t.flags|=1,e!==null&&r?(t.child=Aa(t,e.child,null,i),t.child=Aa(t,null,n,i)):$s(e,t,n,i),t.memoizedState=a.state,e=t.child):e=wc(e,t,i),e}function pc(e,t,n,r){return Fi(),t.flags|=256,$s(e,t,n,r),t.child}var mc={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function hc(e){return{baseLanes:e,cachePool:ma()}}function gc(e,t,n){return e=e===null?0:e.childLanes&~n,t&&(e|=Jl),e}function _c(e,t,n){var r=t.pendingProps,a=!1,o=(t.flags&128)!=0,s;if((s=o)||(s=e!==null&&e.memoizedState===null?!1:(no.current&2)!=0),s&&(a=!0,t.flags&=-129),s=(t.flags&32)!=0,t.flags&=-33,e===null){if(Di){if(a?Za(t):eo(t),(e=Ei)?(e=sf(e,ki),e=e!==null&&e.data!==`&`?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:_i===null?null:{id:vi,overflow:yi},retryLane:536870912,hydrationErrors:null},n=si(e),n.return=t,t.child=n,Ti=t,Ei=null)):e=null,e===null)throw ji(t);return lf(e)?t.lanes=32:t.lanes=536870912,null}var c=r.children;return r=r.fallback,a?(eo(t),a=t.mode,c=yc({mode:`hidden`,children:c},a),r=ai(r,a,n,null),c.return=t,r.return=t,c.sibling=r,t.child=c,r=t.child,r.memoizedState=hc(n),r.childLanes=gc(e,s,n),t.memoizedState=mc,ic(null,r)):(Za(t),vc(t,c))}var l=e.memoizedState;if(l!==null&&(c=l.dehydrated,c!==null)){if(o)t.flags&256?(Za(t),t.flags&=-257,t=bc(e,t,n)):t.memoizedState===null?(eo(t),c=r.fallback,a=t.mode,r=yc({mode:`visible`,children:r.children},a),c=ai(c,a,n,null),c.flags|=2,r.return=t,c.return=t,r.sibling=c,t.child=r,Aa(t,e.child,null,n),r=t.child,r.memoizedState=hc(n),r.childLanes=gc(e,s,n),t.memoizedState=mc,t=ic(null,r)):(eo(t),t.child=e.child,t.flags|=128,t=null);else if(Za(t),lf(c)){if(s=c.nextSibling&&c.nextSibling.dataset,s)var u=s.dgst;s=u,r=Error(i(419)),r.stack=``,r.digest=s,Li({value:r,source:null,stack:null}),t=bc(e,t,n)}else if(Qs||Gi(e,t,n,!1),s=(n&e.childLanes)!==0,Qs||s){if(s=Ll,s!==null&&(r=Ke(s,n),r!==0&&r!==l.retryLane))throw l.retryLane=r,Yr(e,r),hu(s,e,r),Zs;cf(c)||Du(),t=bc(e,t,n)}else cf(c)?(t.flags|=192,t.child=e.child,t=null):(e=l.treeContext,Ei=df(c.nextSibling),Ti=t,Di=!0,Oi=null,ki=!1,e!==null&&wi(t,e),t=vc(t,r.children),t.flags|=4096);return t}return a?(eo(t),c=r.fallback,a=t.mode,l=e.child,u=l.sibling,r=ni(l,{mode:`hidden`,children:r.children}),r.subtreeFlags=l.subtreeFlags&65011712,u===null?(c=ai(c,a,n,null),c.flags|=2):c=ni(u,c),c.return=t,r.return=t,r.sibling=c,t.child=r,ic(null,r),r=t.child,c=e.child.memoizedState,c===null?c=hc(n):(a=c.cachePool,a===null?a=ma():(l=ea._currentValue,a=a.parent===l?a:{parent:l,pool:l}),c={baseLanes:c.baseLanes|n,cachePool:a}),r.memoizedState=c,r.childLanes=gc(e,s,n),t.memoizedState=mc,ic(e.child,r)):(Za(t),n=e.child,e=n.sibling,n=ni(n,{mode:`visible`,children:r.children}),n.return=t,n.sibling=null,e!==null&&(s=t.deletions,s===null?(t.deletions=[e],t.flags|=16):s.push(e)),t.child=n,t.memoizedState=null,n)}function vc(e,t){return t=yc({mode:`visible`,children:t},e.mode),t.return=e,e.child=t}function yc(e,t){return e=ei(22,e,null,t),e.lanes=0,e}function bc(e,t,n){return Aa(t,e.child,null,n),e=vc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function xc(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Ui(e.return,t,n)}function Sc(e,t,n,r,i,a){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i,treeForkCount:a}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i,o.treeForkCount=a)}function Cc(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;r=r.children;var o=no.current,s=(o&2)!=0;if(s?(o=o&1|2,t.flags|=128):o&=1,R(no,o),$s(e,t,r,n),r=Di?mi:0,!s&&e!==null&&e.flags&128)a:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&xc(e,n,t);else if(e.tag===19)xc(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break a;for(;e.sibling===null;){if(e.return===null||e.return===t)break a;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(i){case`forwards`:for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&ro(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Sc(t,!1,i,n,a,r);break;case`backwards`:case`unstable_legacy-backwards`:for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ro(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Sc(t,!0,n,null,a,r);break;case`together`:Sc(t,!1,null,null,void 0,r);break;default:t.memoizedState=null}return t.child}function wc(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Gl|=t.lanes,(n&t.childLanes)===0)if(e!==null){if(Gi(e,t,n,!1),(n&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(e=t.child,n=ni(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ni(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Tc(e,t){return(e.lanes&t)===0?(e=e.dependencies,!!(e!==null&&Ki(e))):!0}function Ec(e,t,n){switch(t.tag){case 3:ce(t,t.stateNode.containerInfo),Vi(t,ea,e.memoizedState.cache),Fi();break;case 27:case 5:B(t);break;case 4:ce(t,t.stateNode.containerInfo);break;case 10:Vi(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Qa(t),null;break;case 13:var r=t.memoizedState;if(r!==null)return r.dehydrated===null?(n&t.child.childLanes)===0?(Za(t),e=wc(e,t,n),e===null?null:e.sibling):_c(e,t,n):(Za(t),t.flags|=128,null);Za(t);break;case 19:var i=(e.flags&128)!=0;if(r=(n&t.childLanes)!==0,r||=(Gi(e,t,n,!1),(n&t.childLanes)!==0),i){if(r)return Cc(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),R(no,no.current),r)break;return null;case 22:return t.lanes=0,rc(e,t,n,t.pendingProps);case 24:Vi(t,ea,e.memoizedState.cache)}return wc(e,t,n)}function Dc(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps)Qs=!0;else{if(!Tc(e,n)&&!(t.flags&128))return Qs=!1,Ec(e,t,n);Qs=!!(e.flags&131072)}else Qs=!1,Di&&t.flags&1048576&&xi(t,mi,t.index);switch(t.lanes=0,t.tag){case 16:a:{var r=t.pendingProps;if(e=ba(t.elementType),t.type=e,typeof e==`function`)ti(e)?(r=Vs(e,r),t.tag=1,t=fc(null,t,e,r,n)):(t.tag=0,t=uc(null,t,e,r,n));else{if(e!=null){var a=e.$$typeof;if(a===w){t.tag=11,t=ec(null,t,e,r,n);break a}else if(a===D){t.tag=14,t=tc(null,t,e,r,n);break a}}throw t=P(e)||e,Error(i(306,t,``))}}return t;case 0:return uc(e,t,t.type,t.pendingProps,n);case 1:return r=t.type,a=Vs(r,t.pendingProps),fc(e,t,r,a,n);case 3:a:{if(ce(t,t.stateNode.containerInfo),e===null)throw Error(i(387));r=t.pendingProps;var o=t.memoizedState;a=o.element,Pa(e,t),Va(t,r,null,n);var s=t.memoizedState;if(r=s.cache,Vi(t,ea,r),r!==o.cache&&Wi(t,[ea],n,!0),Ba(),r=s.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:s.cache},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){t=pc(e,t,r,n);break a}else if(r!==a){a=ui(Error(i(424)),t),Li(a),t=pc(e,t,r,n);break a}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName===`HTML`?e.ownerDocument.body:e}for(Ei=df(e.firstChild),Ti=t,Di=!0,Oi=null,ki=!0,n=ja(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling}else{if(Fi(),r===a){t=wc(e,t,n);break a}$s(e,t,r,n)}t=t.child}return t;case 26:return lc(e,t),e===null?(n=Mf(t.type,null,t.pendingProps,null))?t.memoizedState=n:Di||(n=t.type,e=t.pendingProps,r=Ud(se.current).createElement(n),r[Qe]=t,r[$e]=e,Ld(r,n,e),dt(r),t.stateNode=r):t.memoizedState=Mf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return B(t),e===null&&Di&&(r=t.stateNode=hf(t.type,t.pendingProps,se.current),Ti=t,ki=!0,a=Ei,ef(t.type)?(ff=a,Ei=df(r.firstChild)):Ei=a),$s(e,t,t.pendingProps.children,n),lc(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&Di&&((a=r=Ei)&&(r=af(r,t.type,t.pendingProps,ki),r===null?a=!1:(t.stateNode=r,Ti=t,Ei=df(r.firstChild),ki=!1,a=!0)),a||ji(t)),B(t),a=t.type,o=t.pendingProps,s=e===null?null:e.memoizedProps,r=o.children,Kd(a,o)?r=null:s!==null&&Kd(a,s)&&(t.flags|=32),t.memoizedState!==null&&(a=_o(e,t,bo,null,null,n),tp._currentValue=a),lc(e,t),$s(e,t,r,n),t.child;case 6:return e===null&&Di&&((e=n=Ei)&&(n=of(n,t.pendingProps,ki),n===null?e=!1:(t.stateNode=n,Ti=t,Ei=null,e=!0)),e||ji(t)),null;case 13:return _c(e,t,n);case 4:return ce(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Aa(t,null,r,n):$s(e,t,r,n),t.child;case 11:return ec(e,t,t.type,t.pendingProps,n);case 7:return $s(e,t,t.pendingProps,n),t.child;case 8:return $s(e,t,t.pendingProps.children,n),t.child;case 12:return $s(e,t,t.pendingProps.children,n),t.child;case 10:return r=t.pendingProps,Vi(t,t.type,r.value),$s(e,t,r.children,n),t.child;case 9:return a=t.type._context,r=t.pendingProps.children,qi(t),a=Ji(a),r=r(a),t.flags|=1,$s(e,t,r,n),t.child;case 14:return tc(e,t,t.type,t.pendingProps,n);case 15:return nc(e,t,t.type,t.pendingProps,n);case 19:return Cc(e,t,n);case 31:return cc(e,t,n);case 22:return rc(e,t,n,t.pendingProps);case 24:return qi(t),r=Ji(ea),e===null?(a=fa(),a===null&&(a=Ll,o=ta(),a.pooledCache=o,o.refCount++,o!==null&&(a.pooledCacheLanes|=n),a=o),t.memoizedState={parent:r,cache:a},Na(t),Vi(t,ea,a)):((e.lanes&n)!==0&&(Pa(e,t),Va(t,null,null,n),Ba()),a=e.memoizedState,o=t.memoizedState,a.parent===r?(r=o.cache,Vi(t,ea,r),r!==a.cache&&Wi(t,[ea],n,!0)):(a={parent:r,cache:r},t.memoizedState=a,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=a),Vi(t,ea,r))),$s(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(i(156,t.tag))}function Oc(e){e.flags|=4}function kc(e,t,n,r,i){if((t=(e.mode&32)!=0)&&(t=!1),t){if(e.flags|=16777216,(i&335544128)===i)if(e.stateNode.complete)e.flags|=8192;else if(wu())e.flags|=8192;else throw xa=q,ga}else e.flags&=-16777217}function Ac(e,t){if(t.type!==`stylesheet`||t.state.loading&4)e.flags&=-16777217;else if(e.flags|=16777216,!qf(t))if(wu())e.flags|=8192;else throw xa=q,ga}function jc(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag===22?536870912:Be(),e.lanes|=t,Yl|=t)}function Mc(e,t){if(!Di)switch(e.tailMode){case`hidden`:t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case`collapsed`:n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Nc(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&65011712,r|=i.flags&65011712,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Pc(e,t,n){var r=t.pendingProps;switch(Ci(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Nc(t),null;case 1:return Nc(t),null;case 3:return n=t.stateNode,r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Hi(ea),le(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(Pi(t)?Oc(t):e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ii())),Nc(t),null;case 26:var a=t.type,o=t.memoizedState;return e===null?(Oc(t),o===null?(Nc(t),kc(t,a,null,r,n)):(Nc(t),Ac(t,o))):o?o===e.memoizedState?(Nc(t),t.flags&=-16777217):(Oc(t),Nc(t),Ac(t,o)):(e=e.memoizedProps,e!==r&&Oc(t),Nc(t),kc(t,a,e,r,n)),null;case 27:if(ue(t),n=se.current,a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Oc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Nc(t),null}e=ae.current,Pi(t)?Mi(t,e):(e=hf(a,r,n),t.stateNode=e,Oc(t))}return Nc(t),null;case 5:if(ue(t),a=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==r&&Oc(t);else{if(!r){if(t.stateNode===null)throw Error(i(166));return Nc(t),null}if(o=ae.current,Pi(t))Mi(t,o);else{var s=Ud(se.current);switch(o){case 1:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case 2:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;default:switch(a){case`svg`:o=s.createElementNS(`http://www.w3.org/2000/svg`,a);break;case`math`:o=s.createElementNS(`http://www.w3.org/1998/Math/MathML`,a);break;case`script`:o=s.createElement(`div`),o.innerHTML=`<script><\/script>`,o=o.removeChild(o.firstChild);break;case`select`:o=typeof r.is==`string`?s.createElement(`select`,{is:r.is}):s.createElement(`select`),r.multiple?o.multiple=!0:r.size&&(o.size=r.size);break;default:o=typeof r.is==`string`?s.createElement(a,{is:r.is}):s.createElement(a)}}o[Qe]=t,o[$e]=r;a:for(s=t.child;s!==null;){if(s.tag===5||s.tag===6)o.appendChild(s.stateNode);else if(s.tag!==4&&s.tag!==27&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===t)break a;for(;s.sibling===null;){if(s.return===null||s.return===t)break a;s=s.return}s.sibling.return=s.return,s=s.sibling}t.stateNode=o;a:switch(Ld(o,a,r),a){case`button`:case`input`:case`select`:case`textarea`:r=!!r.autoFocus;break a;case`img`:r=!0;break a;default:r=!1}r&&Oc(t)}}return Nc(t),kc(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,n),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==r&&Oc(t);else{if(typeof r!=`string`&&t.stateNode===null)throw Error(i(166));if(e=se.current,Pi(t)){if(e=t.stateNode,n=t.memoizedProps,r=null,a=Ti,a!==null)switch(a.tag){case 27:case 5:r=a.memoizedProps}e[Qe]=t,e=!!(e.nodeValue===n||r!==null&&!0===r.suppressHydrationWarning||Pd(e.nodeValue,n)),e||ji(t,!0)}else e=Ud(e).createTextNode(r),e[Qe]=t,t.stateNode=e}return Nc(t),null;case 31:if(n=t.memoizedState,e===null||e.memoizedState!==null){if(r=Pi(t),n!==null){if(e===null){if(!r)throw Error(i(318));if(e=t.memoizedState,e=e===null?null:e.dehydrated,!e)throw Error(i(557));e[Qe]=t}else Fi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Nc(t),e=!1}else n=Ii(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=n),e=!0;if(!e)return t.flags&256?(to(t),t):(to(t),null);if(t.flags&128)throw Error(i(558))}return Nc(t),null;case 13:if(r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(a=Pi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!a)throw Error(i(318));if(a=t.memoizedState,a=a===null?null:a.dehydrated,!a)throw Error(i(317));a[Qe]=t}else Fi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Nc(t),a=!1}else a=Ii(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),a=!0;if(!a)return t.flags&256?(to(t),t):(to(t),null)}return to(t),t.flags&128?(t.lanes=n,t):(n=r!==null,e=e!==null&&e.memoizedState!==null,n&&(r=t.child,a=null,r.alternate!==null&&r.alternate.memoizedState!==null&&r.alternate.memoizedState.cachePool!==null&&(a=r.alternate.memoizedState.cachePool.pool),o=null,r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(o=r.memoizedState.cachePool.pool),o!==a&&(r.flags|=2048)),n!==e&&n&&(t.child.flags|=8192),jc(t,t.updateQueue),Nc(t),null);case 4:return le(),e===null&&wd(t.stateNode.containerInfo),Nc(t),null;case 10:return Hi(t.type),Nc(t),null;case 19:if(L(no),r=t.memoizedState,r===null)return Nc(t),null;if(a=(t.flags&128)!=0,o=r.rendering,o===null)if(a)Mc(r,!1);else{if(Wl!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=ro(e),o!==null){for(t.flags|=128,Mc(r,!1),e=o.updateQueue,t.updateQueue=e,jc(t,e),t.subtreeFlags=0,e=n,n=t.child;n!==null;)ri(n,e),n=n.sibling;return R(no,no.current&1|2),Di&&bi(t,r.treeForkCount),t.child}e=e.sibling}r.tail!==null&&W()>tu&&(t.flags|=128,a=!0,Mc(r,!1),t.lanes=4194304)}else{if(!a)if(e=ro(o),e!==null){if(t.flags|=128,a=!0,e=e.updateQueue,t.updateQueue=e,jc(t,e),Mc(r,!0),r.tail===null&&r.tailMode===`hidden`&&!o.alternate&&!Di)return Nc(t),null}else 2*W()-r.renderingStartTime>tu&&n!==536870912&&(t.flags|=128,a=!0,Mc(r,!1),t.lanes=4194304);r.isBackwards?(o.sibling=t.child,t.child=o):(e=r.last,e===null?t.child=o:e.sibling=o,r.last=o)}return r.tail===null?(Nc(t),null):(e=r.tail,r.rendering=e,r.tail=e.sibling,r.renderingStartTime=W(),e.sibling=null,n=no.current,R(no,a?n&1|2:n&1),Di&&bi(t,r.treeForkCount),e);case 22:case 23:return to(t),Ja(),r=t.memoizedState!==null,e===null?r&&(t.flags|=8192):e.memoizedState!==null!==r&&(t.flags|=8192),r?n&536870912&&!(t.flags&128)&&(Nc(t),t.subtreeFlags&6&&(t.flags|=8192)):Nc(t),n=t.updateQueue,n!==null&&jc(t,n.retryQueue),n=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),r=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(r=t.memoizedState.cachePool.pool),r!==n&&(t.flags|=2048),e!==null&&L(da),null;case 24:return n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Hi(ea),Nc(t),null;case 25:return null;case 30:return null}throw Error(i(156,t.tag))}function Fc(e,t){switch(Ci(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Hi(ea),le(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return ue(t),null;case 31:if(t.memoizedState!==null){if(to(t),t.alternate===null)throw Error(i(340));Fi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(to(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Fi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return L(no),null;case 4:return le(),null;case 10:return Hi(t.type),null;case 22:case 23:return to(t),Ja(),e!==null&&L(da),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Hi(ea),null;case 25:return null;default:return null}}function Ic(e,t){switch(Ci(t),t.tag){case 3:Hi(ea),le();break;case 26:case 27:case 5:ue(t);break;case 4:le();break;case 31:t.memoizedState!==null&&to(t);break;case 13:to(t);break;case 19:L(no);break;case 10:Hi(t.type);break;case 22:case 23:to(t),Ja(),e!==null&&L(da);break;case 24:Hi(ea)}}function Lc(e,t){try{var n=t.updateQueue,r=n===null?null:n.lastEffect;if(r!==null){var i=r.next;n=i;do{if((n.tag&e)===e){r=void 0;var a=n.create,o=n.inst;r=a(),o.destroy=r}n=n.next}while(n!==i)}}catch(e){Gu(t,t.return,e)}}function Rc(e,t,n){try{var r=t.updateQueue,i=r===null?null:r.lastEffect;if(i!==null){var a=i.next;r=a;do{if((r.tag&e)===e){var o=r.inst,s=o.destroy;if(s!==void 0){o.destroy=void 0,i=t;var c=n,l=s;try{l()}catch(e){Gu(i,c,e)}}}r=r.next}while(r!==a)}}catch(e){Gu(t,t.return,e)}}function zc(e){var t=e.updateQueue;if(t!==null){var n=e.stateNode;try{Ua(t,n)}catch(t){Gu(e,e.return,t)}}}function Bc(e,t,n){n.props=Vs(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(n){Gu(e,t,n)}}function Vc(e,t){try{var n=e.ref;if(n!==null){switch(e.tag){case 26:case 27:case 5:var r=e.stateNode;break;case 30:r=e.stateNode;break;default:r=e.stateNode}typeof n==`function`?e.refCleanup=n(r):n.current=r}}catch(n){Gu(e,t,n)}}function Hc(e,t){var n=e.ref,r=e.refCleanup;if(n!==null)if(typeof r==`function`)try{r()}catch(n){Gu(e,t,n)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof n==`function`)try{n(null)}catch(n){Gu(e,t,n)}else n.current=null}function Uc(e){var t=e.type,n=e.memoizedProps,r=e.stateNode;try{a:switch(t){case`button`:case`input`:case`select`:case`textarea`:n.autoFocus&&r.focus();break a;case`img`:n.src?r.src=n.src:n.srcSet&&(r.srcset=n.srcSet)}}catch(t){Gu(e,e.return,t)}}function Wc(e,t,n){try{var r=e.stateNode;Rd(r,e.type,n,t),r[$e]=t}catch(t){Gu(e,e.return,t)}}function Gc(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ef(e.type)||e.tag===4}function Kc(e){a:for(;;){for(;e.sibling===null;){if(e.return===null||Gc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&ef(e.type)||e.flags&2||e.child===null||e.tag===4)continue a;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function qc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?(n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n).insertBefore(e,t):(t=n.nodeType===9?n.body:n.nodeName===`HTML`?n.ownerDocument.body:n,t.appendChild(e),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Gt));else if(r!==4&&(r===27&&ef(e.type)&&(n=e.stateNode,t=null),e=e.child,e!==null))for(qc(e,t,n),e=e.sibling;e!==null;)qc(e,t,n),e=e.sibling}function Jc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(r===27&&ef(e.type)&&(n=e.stateNode),e=e.child,e!==null))for(Jc(e,t,n),e=e.sibling;e!==null;)Jc(e,t,n),e=e.sibling}function Yc(e){var t=e.stateNode,n=e.memoizedProps;try{for(var r=e.type,i=t.attributes;i.length;)t.removeAttributeNode(i[0]);Ld(t,r,n),t[Qe]=e,t[$e]=n}catch(t){Gu(e,e.return,t)}}var Xc=!1,Zc=!1,Qc=!1,$c=typeof WeakSet==`function`?WeakSet:Set,el=null;function tl(e,t){if(e=e.containerInfo,Vd=up,e=yr(e),br(e)){if(`selectionStart`in e)var n={start:e.selectionStart,end:e.selectionEnd};else a:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var a=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break a}var s=0,c=-1,l=-1,u=0,d=0,f=e,p=null;b:for(;;){for(var m;f!==n||a!==0&&f.nodeType!==3||(c=s+a),f!==o||r!==0&&f.nodeType!==3||(l=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(m=f.firstChild)!==null;)p=f,f=m;for(;;){if(f===e)break b;if(p===n&&++u===a&&(c=s),p===o&&++d===r&&(l=s),(m=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=m}n=c===-1||l===-1?null:{start:c,end:l}}else n=null}n||={start:0,end:0}}else n=null;for(Hd={focusedElem:e,selectionRange:n},up=!1,el=t;el!==null;)if(t=el,e=t.child,t.subtreeFlags&1028&&e!==null)e.return=t,el=e;else for(;el!==null;){switch(t=el,o=t.alternate,e=t.flags,t.tag){case 0:if(e&4&&(e=t.updateQueue,e=e===null?null:e.events,e!==null))for(n=0;n<e.length;n++)a=e[n],a.ref.impl=a.nextImpl;break;case 11:case 15:break;case 1:if(e&1024&&o!==null){e=void 0,n=t,a=o.memoizedProps,o=o.memoizedState,r=n.stateNode;try{var h=Vs(n.type,a);e=r.getSnapshotBeforeUpdate(h,o),r.__reactInternalSnapshotBeforeUpdate=e}catch(e){Gu(n,n.return,e)}}break;case 3:if(e&1024){if(e=t.stateNode.containerInfo,n=e.nodeType,n===9)rf(e);else if(n===1)switch(e.nodeName){case`HEAD`:case`HTML`:case`BODY`:rf(e);break;default:e.textContent=``}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if(e&1024)throw Error(i(163))}if(e=t.sibling,e!==null){e.return=t.return,el=e;break}el=t.return}}function nl(e,t,n){var r=n.flags;switch(n.tag){case 0:case 11:case 15:_l(e,n),r&4&&Lc(5,n);break;case 1:if(_l(e,n),r&4)if(e=n.stateNode,t===null)try{e.componentDidMount()}catch(e){Gu(n,n.return,e)}else{var i=Vs(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(i,t,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Gu(n,n.return,e)}}r&64&&zc(n),r&512&&Vc(n,n.return);break;case 3:if(_l(e,n),r&64&&(e=n.updateQueue,e!==null)){if(t=null,n.child!==null)switch(n.child.tag){case 27:case 5:t=n.child.stateNode;break;case 1:t=n.child.stateNode}try{Ua(e,t)}catch(e){Gu(n,n.return,e)}}break;case 27:t===null&&r&4&&Yc(n);case 26:case 5:_l(e,n),t===null&&r&4&&Uc(n),r&512&&Vc(n,n.return);break;case 12:_l(e,n);break;case 31:_l(e,n),r&4&&cl(e,n);break;case 13:_l(e,n),r&4&&ll(e,n),r&64&&(e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(n=Yu.bind(null,n),uf(e,n))));break;case 22:if(r=n.memoizedState!==null||Xc,!r){t=t!==null&&t.memoizedState!==null||Zc,i=Xc;var a=Zc;Xc=r,(Zc=t)&&!a?yl(e,n,(n.subtreeFlags&8772)!=0):_l(e,n),Xc=i,Zc=a}break;case 30:break;default:_l(e,n)}}function rl(e){var t=e.alternate;t!==null&&(e.alternate=null,rl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ot(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var il=null,al=!1;function ol(e,t,n){for(n=n.child;n!==null;)sl(e,t,n),n=n.sibling}function sl(e,t,n){if(De&&typeof De.onCommitFiberUnmount==`function`)try{De.onCommitFiberUnmount(K,n)}catch{}switch(n.tag){case 26:Zc||Hc(n,t),ol(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode,n.parentNode.removeChild(n));break;case 27:Zc||Hc(n,t);var r=il,i=al;ef(n.type)&&(il=n.stateNode,al=!1),ol(e,t,n),gf(n.stateNode),il=r,al=i;break;case 5:Zc||Hc(n,t);case 6:if(r=il,i=al,il=null,ol(e,t,n),il=r,al=i,il!==null)if(al)try{(il.nodeType===9?il.body:il.nodeName===`HTML`?il.ownerDocument.body:il).removeChild(n.stateNode)}catch(e){Gu(n,t,e)}else try{il.removeChild(n.stateNode)}catch(e){Gu(n,t,e)}break;case 18:il!==null&&(al?(e=il,tf(e.nodeType===9?e.body:e.nodeName===`HTML`?e.ownerDocument.body:e,n.stateNode),Fp(e)):tf(il,n.stateNode));break;case 4:r=il,i=al,il=n.stateNode.containerInfo,al=!0,ol(e,t,n),il=r,al=i;break;case 0:case 11:case 14:case 15:Rc(2,n,t),Zc||Rc(4,n,t),ol(e,t,n);break;case 1:Zc||(Hc(n,t),r=n.stateNode,typeof r.componentWillUnmount==`function`&&Bc(n,t,r)),ol(e,t,n);break;case 21:ol(e,t,n);break;case 22:Zc=(r=Zc)||n.memoizedState!==null,ol(e,t,n),Zc=r;break;default:ol(e,t,n)}}function cl(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Fp(e)}catch(e){Gu(t,t.return,e)}}}function ll(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Fp(e)}catch(e){Gu(t,t.return,e)}}function ul(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new $c),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new $c),t;default:throw Error(i(435,e.tag))}}function dl(e,t){var n=ul(e);t.forEach(function(t){if(!n.has(t)){n.add(t);var r=Xu.bind(null,e,t);t.then(r,r)}})}function fl(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var a=n[r],o=e,s=t,c=s;a:for(;c!==null;){switch(c.tag){case 27:if(ef(c.type)){il=c.stateNode,al=!1;break a}break;case 5:il=c.stateNode,al=!1;break a;case 3:case 4:il=c.stateNode.containerInfo,al=!0;break a}c=c.return}if(il===null)throw Error(i(160));sl(o,s,a),il=null,al=!1,o=a.alternate,o!==null&&(o.return=null),a.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)ml(t,e),t=t.sibling}var pl=null;function ml(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:fl(t,e),hl(e),r&4&&(Rc(3,e,e.return),Lc(3,e),Rc(5,e,e.return));break;case 1:fl(t,e),hl(e),r&512&&(Zc||n===null||Hc(n,n.return)),r&64&&Xc&&(e=e.updateQueue,e!==null&&(r=e.callbacks,r!==null&&(n=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=n===null?r:n.concat(r))));break;case 26:var a=pl;if(fl(t,e),hl(e),r&512&&(Zc||n===null||Hc(n,n.return)),r&4){var o=n===null?null:n.memoizedState;if(r=e.memoizedState,n===null)if(r===null)if(e.stateNode===null){a:{r=e.type,n=e.memoizedProps,a=a.ownerDocument||a;b:switch(r){case`title`:o=a.getElementsByTagName(`title`)[0],(!o||o[at]||o[Qe]||o.namespaceURI===`http://www.w3.org/2000/svg`||o.hasAttribute(`itemprop`))&&(o=a.createElement(r),a.head.insertBefore(o,a.querySelector(`head > title`))),Ld(o,r,n),o[Qe]=e,dt(o),r=o;break a;case`link`:var s=Wf(`link`,`href`,a).get(r+(n.href||``));if(s){for(var c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`href`)===(n.href==null||n.href===``?null:n.href)&&o.getAttribute(`rel`)===(n.rel==null?null:n.rel)&&o.getAttribute(`title`)===(n.title==null?null:n.title)&&o.getAttribute(`crossorigin`)===(n.crossOrigin==null?null:n.crossOrigin)){s.splice(c,1);break b}}o=a.createElement(r),Ld(o,r,n),a.head.appendChild(o);break;case`meta`:if(s=Wf(`meta`,`content`,a).get(r+(n.content||``))){for(c=0;c<s.length;c++)if(o=s[c],o.getAttribute(`content`)===(n.content==null?null:``+n.content)&&o.getAttribute(`name`)===(n.name==null?null:n.name)&&o.getAttribute(`property`)===(n.property==null?null:n.property)&&o.getAttribute(`http-equiv`)===(n.httpEquiv==null?null:n.httpEquiv)&&o.getAttribute(`charset`)===(n.charSet==null?null:n.charSet)){s.splice(c,1);break b}}o=a.createElement(r),Ld(o,r,n),a.head.appendChild(o);break;default:throw Error(i(468,r))}o[Qe]=e,dt(o),r=o}e.stateNode=r}else Gf(a,e.type,e.stateNode);else e.stateNode=zf(a,r,e.memoizedProps);else o===r?r===null&&e.stateNode!==null&&Wc(e,e.memoizedProps,n.memoizedProps):(o===null?n.stateNode!==null&&(n=n.stateNode,n.parentNode.removeChild(n)):o.count--,r===null?Gf(a,e.type,e.stateNode):zf(a,r,e.memoizedProps))}break;case 27:fl(t,e),hl(e),r&512&&(Zc||n===null||Hc(n,n.return)),n!==null&&r&4&&Wc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(fl(t,e),hl(e),r&512&&(Zc||n===null||Hc(n,n.return)),e.flags&32){a=e.stateNode;try{Lt(a,``)}catch(t){Gu(e,e.return,t)}}r&4&&e.stateNode!=null&&(a=e.memoizedProps,Wc(e,a,n===null?a:n.memoizedProps)),r&1024&&(Qc=!0);break;case 6:if(fl(t,e),hl(e),r&4){if(e.stateNode===null)throw Error(i(162));r=e.memoizedProps,n=e.stateNode;try{n.nodeValue=r}catch(t){Gu(e,e.return,t)}}break;case 3:if(Uf=null,a=pl,pl=yf(t.containerInfo),fl(t,e),pl=a,hl(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Fp(t.containerInfo)}catch(t){Gu(e,e.return,t)}Qc&&(Qc=!1,gl(e));break;case 4:r=pl,pl=yf(e.stateNode.containerInfo),fl(t,e),hl(e),pl=r;break;case 12:fl(t,e),hl(e);break;case 31:fl(t,e),hl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,dl(e,r)));break;case 13:fl(t,e),hl(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&($l=W()),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,dl(e,r)));break;case 22:a=e.memoizedState!==null;var l=n!==null&&n.memoizedState!==null,u=Xc,d=Zc;if(Xc=u||a,Zc=d||l,fl(t,e),Zc=d,Xc=u,hl(e),r&8192)a:for(t=e.stateNode,t._visibility=a?t._visibility&-2:t._visibility|1,a&&(n===null||l||Xc||Zc||vl(e)),n=null,t=e;;){if(t.tag===5||t.tag===26){if(n===null){l=n=t;try{if(o=l.stateNode,a)s=o.style,typeof s.setProperty==`function`?s.setProperty(`display`,`none`,`important`):s.display=`none`;else{c=l.stateNode;var f=l.memoizedProps.style,p=f!=null&&f.hasOwnProperty(`display`)?f.display:null;c.style.display=p==null||typeof p==`boolean`?``:(``+p).trim()}}catch(e){Gu(l,l.return,e)}}}else if(t.tag===6){if(n===null){l=t;try{l.stateNode.nodeValue=a?``:l.memoizedProps}catch(e){Gu(l,l.return,e)}}}else if(t.tag===18){if(n===null){l=t;try{var m=l.stateNode;a?nf(m,!0):nf(l.stateNode,!1)}catch(e){Gu(l,l.return,e)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break a;for(;t.sibling===null;){if(t.return===null||t.return===e)break a;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}r&4&&(r=e.updateQueue,r!==null&&(n=r.retryQueue,n!==null&&(r.retryQueue=null,dl(e,n))));break;case 19:fl(t,e),hl(e),r&4&&(r=e.updateQueue,r!==null&&(e.updateQueue=null,dl(e,r)));break;case 30:break;case 21:break;default:fl(t,e),hl(e)}}function hl(e){var t=e.flags;if(t&2){try{for(var n,r=e.return;r!==null;){if(Gc(r)){n=r;break}r=r.return}if(n==null)throw Error(i(160));switch(n.tag){case 27:var a=n.stateNode;Jc(e,Kc(e),a);break;case 5:var o=n.stateNode;n.flags&32&&(Lt(o,``),n.flags&=-33),Jc(e,Kc(e),o);break;case 3:case 4:var s=n.stateNode.containerInfo;qc(e,Kc(e),s);break;default:throw Error(i(161))}}catch(t){Gu(e,e.return,t)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function gl(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;gl(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function _l(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)nl(e,t.alternate,t),t=t.sibling}function vl(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:Rc(4,t,t.return),vl(t);break;case 1:Hc(t,t.return);var n=t.stateNode;typeof n.componentWillUnmount==`function`&&Bc(t,t.return,n),vl(t);break;case 27:gf(t.stateNode);case 26:case 5:Hc(t,t.return),vl(t);break;case 22:t.memoizedState===null&&vl(t);break;case 30:vl(t);break;default:vl(t)}e=e.sibling}}function yl(e,t,n){for(n&&=(t.subtreeFlags&8772)!=0,t=t.child;t!==null;){var r=t.alternate,i=e,a=t,o=a.flags;switch(a.tag){case 0:case 11:case 15:yl(i,a,n),Lc(4,a);break;case 1:if(yl(i,a,n),r=a,i=r.stateNode,typeof i.componentDidMount==`function`)try{i.componentDidMount()}catch(e){Gu(r,r.return,e)}if(r=a,i=r.updateQueue,i!==null){var s=r.stateNode;try{var c=i.shared.hiddenCallbacks;if(c!==null)for(i.shared.hiddenCallbacks=null,i=0;i<c.length;i++)Ha(c[i],s)}catch(e){Gu(r,r.return,e)}}n&&o&64&&zc(a),Vc(a,a.return);break;case 27:Yc(a);case 26:case 5:yl(i,a,n),n&&r===null&&o&4&&Uc(a),Vc(a,a.return);break;case 12:yl(i,a,n);break;case 31:yl(i,a,n),n&&o&4&&cl(i,a);break;case 13:yl(i,a,n),n&&o&4&&ll(i,a);break;case 22:a.memoizedState===null&&yl(i,a,n),Vc(a,a.return);break;case 30:break;default:yl(i,a,n)}t=t.sibling}}function bl(e,t){var n=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(n=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(e!=null&&e.refCount++,n!=null&&na(n))}function xl(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&na(e))}function Sl(e,t,n,r){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Cl(e,t,n,r),t=t.sibling}function Cl(e,t,n,r){var i=t.flags;switch(t.tag){case 0:case 11:case 15:Sl(e,t,n,r),i&2048&&Lc(9,t);break;case 1:Sl(e,t,n,r);break;case 3:Sl(e,t,n,r),i&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&na(e)));break;case 12:if(i&2048){Sl(e,t,n,r),e=t.stateNode;try{var a=t.memoizedProps,o=a.id,s=a.onPostCommit;typeof s==`function`&&s(o,t.alternate===null?`mount`:`update`,e.passiveEffectDuration,-0)}catch(e){Gu(t,t.return,e)}}else Sl(e,t,n,r);break;case 31:Sl(e,t,n,r);break;case 13:Sl(e,t,n,r);break;case 23:break;case 22:a=t.stateNode,o=t.alternate,t.memoizedState===null?a._visibility&2?Sl(e,t,n,r):(a._visibility|=2,wl(e,t,n,r,(t.subtreeFlags&10256)!=0||!1)):a._visibility&2?Sl(e,t,n,r):Tl(e,t),i&2048&&bl(o,t);break;case 24:Sl(e,t,n,r),i&2048&&xl(t.alternate,t);break;default:Sl(e,t,n,r)}}function wl(e,t,n,r,i){for(i&&=(t.subtreeFlags&10256)!=0||!1,t=t.child;t!==null;){var a=e,o=t,s=n,c=r,l=o.flags;switch(o.tag){case 0:case 11:case 15:wl(a,o,s,c,i),Lc(8,o);break;case 23:break;case 22:var u=o.stateNode;o.memoizedState===null?(u._visibility|=2,wl(a,o,s,c,i)):u._visibility&2?wl(a,o,s,c,i):Tl(a,o),i&&l&2048&&bl(o.alternate,o);break;case 24:wl(a,o,s,c,i),i&&l&2048&&xl(o.alternate,o);break;default:wl(a,o,s,c,i)}t=t.sibling}}function Tl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var n=e,r=t,i=r.flags;switch(r.tag){case 22:Tl(n,r),i&2048&&bl(r.alternate,r);break;case 24:Tl(n,r),i&2048&&xl(r.alternate,r);break;default:Tl(n,r)}t=t.sibling}}var El=8192;function Dl(e,t,n){if(e.subtreeFlags&El)for(e=e.child;e!==null;)Ol(e,t,n),e=e.sibling}function Ol(e,t,n){switch(e.tag){case 26:Dl(e,t,n),e.flags&El&&e.memoizedState!==null&&Jf(n,pl,e.memoizedState,e.memoizedProps);break;case 5:Dl(e,t,n);break;case 3:case 4:var r=pl;pl=yf(e.stateNode.containerInfo),Dl(e,t,n),pl=r;break;case 22:e.memoizedState===null&&(r=e.alternate,r!==null&&r.memoizedState!==null?(r=El,El=16777216,Dl(e,t,n),El=r):Dl(e,t,n));break;default:Dl(e,t,n)}}function kl(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Al(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];el=r,Nl(r,e)}kl(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)jl(e),e=e.sibling}function jl(e){switch(e.tag){case 0:case 11:case 15:Al(e),e.flags&2048&&Rc(9,e,e.return);break;case 3:Al(e);break;case 12:Al(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Ml(e)):Al(e);break;default:Al(e)}}function Ml(e){var t=e.deletions;if(e.flags&16){if(t!==null)for(var n=0;n<t.length;n++){var r=t[n];el=r,Nl(r,e)}kl(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Rc(8,t,t.return),Ml(t);break;case 22:n=t.stateNode,n._visibility&2&&(n._visibility&=-3,Ml(t));break;default:Ml(t)}e=e.sibling}}function Nl(e,t){for(;el!==null;){var n=el;switch(n.tag){case 0:case 11:case 15:Rc(8,n,t);break;case 23:case 22:if(n.memoizedState!==null&&n.memoizedState.cachePool!==null){var r=n.memoizedState.cachePool.pool;r!=null&&r.refCount++}break;case 24:na(n.memoizedState.cache)}if(r=n.child,r!==null)r.return=n,el=r;else a:for(n=e;el!==null;){r=el;var i=r.sibling,a=r.return;if(rl(r),r===n){el=null;break a}if(i!==null){i.return=a,el=i;break a}el=a}}}var Pl={getCacheForType:function(e){var t=Ji(ea),n=t.data.get(e);return n===void 0&&(n=e(),t.data.set(e,n)),n},cacheSignal:function(){return Ji(ea).controller.signal}},Fl=typeof WeakMap==`function`?WeakMap:Map,Il=0,Ll=null,Y=null,X=0,Rl=0,zl=null,Bl=!1,Vl=!1,Hl=!1,Ul=0,Wl=0,Gl=0,Kl=0,ql=0,Jl=0,Yl=0,Xl=null,Zl=null,Ql=!1,$l=0,eu=0,tu=1/0,nu=null,ru=null,iu=0,au=null,ou=null,su=0,cu=0,lu=null,uu=null,du=0,fu=null;function pu(){return Il&2&&X!==0?X&-X:F.T===null?Ye():fd()}function mu(){if(Jl===0)if(!(X&536870912)||Di){var e=Pe;Pe<<=1,!(Pe&3932160)&&(Pe=262144),Jl=e}else Jl=536870912;return e=Ya.current,e!==null&&(e.flags|=32),Jl}function hu(e,t,n){(e===Ll&&(Rl===2||Rl===9)||e.cancelPendingCommit!==null)&&(Su(e,0),yu(e,X,Jl,!1)),He(e,n),(!(Il&2)||e!==Ll)&&(e===Ll&&(!(Il&2)&&(Kl|=n),Wl===4&&yu(e,X,Jl,!1)),id(e))}function gu(e,t,n){if(Il&6)throw Error(i(327));var r=!n&&(t&127)==0&&(t&e.expiredLanes)===0||Re(e,t),a=r?Au(e,t):Ou(e,t,!0),o=r;do{if(a===0){Vl&&!r&&yu(e,t,0,!1);break}else{if(n=e.current.alternate,o&&!vu(n)){a=Ou(e,t,!1),o=!1;continue}if(a===2){if(o=t,e.errorRecoveryDisabledLanes&o)var s=0;else s=e.pendingLanes&-536870913,s=s===0?s&536870912?536870912:0:s;if(s!==0){t=s;a:{var c=e;a=Xl;var l=c.current.memoizedState.isDehydrated;if(l&&(Su(c,s).flags|=256),s=Ou(c,s,!1),s!==2){if(Hl&&!l){c.errorRecoveryDisabledLanes|=o,Kl|=o,a=4;break a}o=Zl,Zl=a,o!==null&&(Zl===null?Zl=o:Zl.push.apply(Zl,o))}a=s}if(o=!1,a!==2)continue}}if(a===1){Su(e,0),yu(e,t,0,!0);break}a:{switch(r=e,o=a,o){case 0:case 1:throw Error(i(345));case 4:if((t&4194048)!==t)break;case 6:yu(r,t,Jl,!Bl);break a;case 2:Zl=null;break;case 3:case 5:break;default:throw Error(i(329))}if((t&62914560)===t&&(a=$l+300-W(),10<a)){if(yu(r,t,Jl,!Bl),Le(r,0,!0)!==0)break a;su=t,r.timeoutHandle=Yd(_u.bind(null,r,n,Zl,nu,Ql,t,Jl,Kl,Yl,Bl,o,`Throttled`,-0,0),a);break a}_u(r,n,Zl,nu,Ql,t,Jl,Kl,Yl,Bl,o,null,-0,0)}}break}while(1);id(e)}function _u(e,t,n,r,i,a,o,s,c,l,u,d,f,p){if(e.timeoutHandle=-1,d=t.subtreeFlags,d&8192||(d&16785408)==16785408){d={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Gt},Ol(t,a,d);var m=(a&62914560)===a?$l-W():(a&4194048)===a?eu-W():0;if(m=Xf(d,m),m!==null){su=a,e.cancelPendingCommit=m(Lu.bind(null,e,t,a,n,r,i,o,s,c,u,d,null,f,p)),yu(e,a,o,!l);return}}Lu(e,t,a,n,r,i,o,s,c)}function vu(e){for(var t=e;;){var n=t.tag;if((n===0||n===11||n===15)&&t.flags&16384&&(n=t.updateQueue,n!==null&&(n=n.stores,n!==null)))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!mr(a(),i))return!1}catch{return!1}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function yu(e,t,n,r){t&=~ql,t&=~Kl,e.suspendedLanes|=t,e.pingedLanes&=~t,r&&(e.warmLanes|=t),r=e.expirationTimes;for(var i=t;0<i;){var a=31-ke(i),o=1<<a;r[a]=-1,i&=~o}n!==0&&We(e,n,t)}function bu(){return Il&6?!0:(ad(0,!1),!1)}function xu(){if(Y!==null){if(Rl===0)var e=Y.return;else e=Y,Bi=zi=null,Co(e),wa=null,Ta=0,e=Y;for(;e!==null;)Ic(e.alternate,e),e=e.return;Y=null}}function Su(e,t){var n=e.timeoutHandle;n!==-1&&(e.timeoutHandle=-1,Xd(n)),n=e.cancelPendingCommit,n!==null&&(e.cancelPendingCommit=null,n()),su=0,xu(),Ll=e,Y=n=ni(e.current,null),X=t,Rl=0,zl=null,Bl=!1,Vl=Re(e,t),Hl=!1,Yl=Jl=ql=Kl=Gl=Wl=0,Zl=Xl=null,Ql=!1,t&8&&(t|=t&32);var r=e.entangledLanes;if(r!==0)for(e=e.entanglements,r&=t;0<r;){var i=31-ke(r),a=1<<i;t|=e[i],r&=~a}return Ul=t,Kr(),n}function Cu(e,t){J=null,F.H=Ns,t===ha||t===_a?(t=Sa(),Rl=3):t===ga?(t=Sa(),Rl=4):Rl=t===Zs?8:typeof t==`object`&&t&&typeof t.then==`function`?6:1,zl=t,Y===null&&(Wl=1,Gs(e,ui(t,e.current)))}function wu(){var e=Ya.current;return e===null?!0:(X&4194048)===X?Xa===null:(X&62914560)===X||X&536870912?e===Xa:!1}function Tu(){var e=F.H;return F.H=Ns,e===null?Ns:e}function Eu(){var e=F.A;return F.A=Pl,e}function Du(){Wl=4,Bl||(X&4194048)!==X&&Ya.current!==null||(Vl=!0),!(Gl&134217727)&&!(Kl&134217727)||Ll===null||yu(Ll,X,Jl,!1)}function Ou(e,t,n){var r=Il;Il|=2;var i=Tu(),a=Eu();(Ll!==e||X!==t)&&(nu=null,Su(e,t)),t=!1;var o=Wl;a:do try{if(Rl!==0&&Y!==null){var s=Y,c=zl;switch(Rl){case 8:xu(),o=6;break a;case 3:case 2:case 9:case 6:Ya.current===null&&(t=!0);var l=Rl;if(Rl=0,zl=null,Pu(e,s,c,l),n&&Vl){o=0;break a}break;default:l=Rl,Rl=0,zl=null,Pu(e,s,c,l)}}ku(),o=Wl;break}catch(t){Cu(e,t)}while(1);return t&&e.shellSuspendCounter++,Bi=zi=null,Il=r,F.H=i,F.A=a,Y===null&&(Ll=null,X=0,Kr()),o}function ku(){for(;Y!==null;)Mu(Y)}function Au(e,t){var n=Il;Il|=2;var r=Tu(),a=Eu();Ll!==e||X!==t?(nu=null,tu=W()+500,Su(e,t)):Vl=Re(e,t);a:do try{if(Rl!==0&&Y!==null){t=Y;var o=zl;b:switch(Rl){case 1:Rl=0,zl=null,Pu(e,t,o,1);break;case 2:case 9:if(va(o)){Rl=0,zl=null,Nu(t);break}t=function(){Rl!==2&&Rl!==9||Ll!==e||(Rl=7),id(e)},o.then(t,t);break a;case 3:Rl=7;break a;case 4:Rl=5;break a;case 7:va(o)?(Rl=0,zl=null,Nu(t)):(Rl=0,zl=null,Pu(e,t,o,7));break;case 5:var s=null;switch(Y.tag){case 26:s=Y.memoizedState;case 5:case 27:var c=Y;if(s?qf(s):c.stateNode.complete){Rl=0,zl=null;var l=c.sibling;if(l!==null)Y=l;else{var u=c.return;u===null?Y=null:(Y=u,Fu(u))}break b}}Rl=0,zl=null,Pu(e,t,o,5);break;case 6:Rl=0,zl=null,Pu(e,t,o,6);break;case 8:xu(),Wl=6;break a;default:throw Error(i(462))}}ju();break}catch(t){Cu(e,t)}while(1);return Bi=zi=null,F.H=r,F.A=a,Il=n,Y===null?(Ll=null,X=0,Kr(),Wl):0}function ju(){for(;Y!==null&&!U();)Mu(Y)}function Mu(e){var t=Dc(e.alternate,e,Ul);e.memoizedProps=e.pendingProps,t===null?Fu(e):Y=t}function Nu(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=dc(n,t,t.pendingProps,t.type,void 0,X);break;case 11:t=dc(n,t,t.pendingProps,t.type.render,t.ref,X);break;case 5:Co(t);default:Ic(n,t),t=Y=ri(t,Ul),t=Dc(n,t,Ul)}e.memoizedProps=e.pendingProps,t===null?Fu(e):Y=t}function Pu(e,t,n,r){Bi=zi=null,Co(t),wa=null,Ta=0;var i=t.return;try{if(Xs(e,i,t,n,X)){Wl=1,Gs(e,ui(n,e.current)),Y=null;return}}catch(t){if(i!==null)throw Y=i,t;Wl=1,Gs(e,ui(n,e.current)),Y=null;return}t.flags&32768?(Di||r===1?e=!0:Vl||X&536870912?e=!1:(Bl=e=!0,(r===2||r===9||r===3||r===6)&&(r=Ya.current,r!==null&&r.tag===13&&(r.flags|=16384))),Iu(t,e)):Fu(t)}function Fu(e){var t=e;do{if(t.flags&32768){Iu(t,Bl);return}e=t.return;var n=Pc(t.alternate,t,Ul);if(n!==null){Y=n;return}if(t=t.sibling,t!==null){Y=t;return}Y=t=e}while(t!==null);Wl===0&&(Wl=5)}function Iu(e,t){do{var n=Fc(e.alternate,e);if(n!==null){n.flags&=32767,Y=n;return}if(n=e.return,n!==null&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&(e=e.sibling,e!==null)){Y=e;return}Y=e=n}while(e!==null);Wl=6,Y=null}function Lu(e,t,n,r,a,o,s,c,l){e.cancelPendingCommit=null;do Hu();while(iu!==0);if(Il&6)throw Error(i(327));if(t!==null){if(t===e.current)throw Error(i(177));if(o=t.lanes|t.childLanes,o|=Gr,Ue(e,n,o,s,c,l),e===Ll&&(Y=Ll=null,X=0),ou=t,au=e,su=n,cu=o,lu=a,uu=r,t.subtreeFlags&10256||t.flags&10256?(e.callbackNode=null,e.callbackPriority=0,Zu(Se,function(){return Uu(),null})):(e.callbackNode=null,e.callbackPriority=0),r=(t.flags&13878)!=0,t.subtreeFlags&13878||r){r=F.T,F.T=null,a=I.p,I.p=2,s=Il,Il|=4;try{tl(e,t,n)}finally{Il=s,I.p=a,F.T=r}}iu=1,Ru(),zu(),Bu()}}function Ru(){if(iu===1){iu=0;var e=au,t=ou,n=(t.flags&13878)!=0;if(t.subtreeFlags&13878||n){n=F.T,F.T=null;var r=I.p;I.p=2;var i=Il;Il|=4;try{ml(t,e);var a=Hd,o=yr(e.containerInfo),s=a.focusedElem,c=a.selectionRange;if(o!==s&&s&&s.ownerDocument&&vr(s.ownerDocument.documentElement,s)){if(c!==null&&br(s)){var l=c.start,u=c.end;if(u===void 0&&(u=l),`selectionStart`in s)s.selectionStart=l,s.selectionEnd=Math.min(u,s.value.length);else{var d=s.ownerDocument||document,f=d&&d.defaultView||window;if(f.getSelection){var p=f.getSelection(),m=s.textContent.length,h=Math.min(c.start,m),g=c.end===void 0?h:Math.min(c.end,m);!p.extend&&h>g&&(o=g,g=h,h=o);var _=_r(s,h),v=_r(s,g);if(_&&v&&(p.rangeCount!==1||p.anchorNode!==_.node||p.anchorOffset!==_.offset||p.focusNode!==v.node||p.focusOffset!==v.offset)){var y=d.createRange();y.setStart(_.node,_.offset),p.removeAllRanges(),h>g?(p.addRange(y),p.extend(v.node,v.offset)):(y.setEnd(v.node,v.offset),p.addRange(y))}}}}for(d=[],p=s;p=p.parentNode;)p.nodeType===1&&d.push({element:p,left:p.scrollLeft,top:p.scrollTop});for(typeof s.focus==`function`&&s.focus(),s=0;s<d.length;s++){var b=d[s];b.element.scrollLeft=b.left,b.element.scrollTop=b.top}}up=!!Vd,Hd=Vd=null}finally{Il=i,I.p=r,F.T=n}}e.current=t,iu=2}}function zu(){if(iu===2){iu=0;var e=au,t=ou,n=(t.flags&8772)!=0;if(t.subtreeFlags&8772||n){n=F.T,F.T=null;var r=I.p;I.p=2;var i=Il;Il|=4;try{nl(e,t.alternate,t)}finally{Il=i,I.p=r,F.T=n}}iu=3}}function Bu(){if(iu===4||iu===3){iu=0,ye();var e=au,t=ou,n=su,r=uu;t.subtreeFlags&10256||t.flags&10256?iu=5:(iu=0,ou=au=null,Vu(e,e.pendingLanes));var i=e.pendingLanes;if(i===0&&(ru=null),Je(n),t=t.stateNode,De&&typeof De.onCommitFiberRoot==`function`)try{De.onCommitFiberRoot(K,t,void 0,(t.current.flags&128)==128)}catch{}if(r!==null){t=F.T,i=I.p,I.p=2,F.T=null;try{for(var a=e.onRecoverableError,o=0;o<r.length;o++){var s=r[o];a(s.value,{componentStack:s.stack})}}finally{F.T=t,I.p=i}}su&3&&Hu(),id(e),i=e.pendingLanes,n&261930&&i&42?e===fu?du++:(du=0,fu=e):du=0,ad(0,!1)}}function Vu(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,na(t)))}function Hu(){return Ru(),zu(),Bu(),Uu()}function Uu(){if(iu!==5)return!1;var e=au,t=cu;cu=0;var n=Je(su),r=F.T,a=I.p;try{I.p=32>n?32:n,F.T=null,n=lu,lu=null;var o=au,s=su;if(iu=0,ou=au=null,su=0,Il&6)throw Error(i(331));var c=Il;if(Il|=4,jl(o.current),Cl(o,o.current,s,n),Il=c,ad(0,!1),De&&typeof De.onPostCommitFiberRoot==`function`)try{De.onPostCommitFiberRoot(K,o)}catch{}return!0}finally{I.p=a,F.T=r,Vu(e,t)}}function Wu(e,t,n){t=ui(n,t),t=qs(e.stateNode,t,2),e=Ia(e,t,2),e!==null&&(He(e,2),id(e))}function Gu(e,t,n){if(e.tag===3)Wu(e,e,n);else for(;t!==null;){if(t.tag===3){Wu(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError==`function`||typeof r.componentDidCatch==`function`&&(ru===null||!ru.has(r))){e=ui(n,e),n=Js(2),r=Ia(t,n,2),r!==null&&(Ys(n,r,t,e),He(r,2),id(r));break}}t=t.return}}function Ku(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Fl;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(Hl=!0,i.add(n),e=qu.bind(null,e,t,n),t.then(e,e))}function qu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,Ll===e&&(X&n)===n&&(Wl===4||Wl===3&&(X&62914560)===X&&300>W()-$l?!(Il&2)&&Su(e,0):ql|=n,Yl===X&&(Yl=0)),id(e)}function Ju(e,t){t===0&&(t=Be()),e=Yr(e,t),e!==null&&(He(e,t),id(e))}function Yu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Ju(e,n)}function Xu(e,t){var n=0;switch(e.tag){case 31:case 13:var r=e.stateNode,a=e.memoizedState;a!==null&&(n=a.retryLane);break;case 19:r=e.stateNode;break;case 22:r=e.stateNode._retryCache;break;default:throw Error(i(314))}r!==null&&r.delete(t),Ju(e,n)}function Zu(e,t){return H(e,t)}var Qu=null,$u=null,ed=!1,td=!1,nd=!1,rd=0;function id(e){e!==$u&&e.next===null&&($u===null?Qu=$u=e:$u=$u.next=e),td=!0,ed||(ed=!0,dd())}function ad(e,t){if(!nd&&td){nd=!0;do for(var n=!1,r=Qu;r!==null;){if(!t)if(e!==0){var i=r.pendingLanes;if(i===0)var a=0;else{var o=r.suspendedLanes,s=r.pingedLanes;a=(1<<31-ke(42|e)+1)-1,a&=i&~(o&~s),a=a&201326741?a&201326741|1:a?a|2:0}a!==0&&(n=!0,ud(r,a))}else a=X,a=Le(r,r===Ll?a:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),!(a&3)||Re(r,a)||(n=!0,ud(r,a));r=r.next}while(n);nd=!1}}function od(){sd()}function sd(){td=ed=!1;var e=0;rd!==0&&Jd()&&(e=rd);for(var t=W(),n=null,r=Qu;r!==null;){var i=r.next,a=cd(r,t);a===0?(r.next=null,n===null?Qu=i:n.next=i,i===null&&($u=n)):(n=r,(e!==0||a&3)&&(td=!0)),r=i}iu!==0&&iu!==5||ad(e,!1),rd!==0&&(rd=0)}function cd(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes&-62914561;0<a;){var o=31-ke(a),s=1<<o,c=i[o];c===-1?((s&n)===0||(s&r)!==0)&&(i[o]=ze(s,t)):c<=t&&(e.expiredLanes|=s),a&=~s}if(t=Ll,n=X,n=Le(e,e===t?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r=e.callbackNode,n===0||e===t&&(Rl===2||Rl===9)||e.cancelPendingCommit!==null)return r!==null&&r!==null&&ve(r),e.callbackNode=null,e.callbackPriority=0;if(!(n&3)||Re(e,n)){if(t=n&-n,t===e.callbackPriority)return t;switch(r!==null&&ve(r),Je(n)){case 2:case 8:n=xe;break;case 32:n=Se;break;case 268435456:n=we;break;default:n=Se}return r=ld.bind(null,e),n=H(n,r),e.callbackPriority=t,e.callbackNode=n,t}return r!==null&&r!==null&&ve(r),e.callbackPriority=2,e.callbackNode=null,2}function ld(e,t){if(iu!==0&&iu!==5)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(Hu()&&e.callbackNode!==n)return null;var r=X;return r=Le(e,e===Ll?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),r===0?null:(gu(e,r,t),cd(e,W()),e.callbackNode!=null&&e.callbackNode===n?ld.bind(null,e):null)}function ud(e,t){if(Hu())return null;gu(e,t,!0)}function dd(){Qd(function(){Il&6?H(be,od):sd()})}function fd(){if(rd===0){var e=aa;e===0&&(e=Ne,Ne<<=1,!(Ne&261888)&&(Ne=256)),rd=e}return rd}function pd(e){return e==null||typeof e==`symbol`||typeof e==`boolean`?null:typeof e==`function`?e:Wt(``+e)}function md(e,t){var n=t.ownerDocument.createElement(`input`);return n.name=t.name,n.value=t.value,e.id&&n.setAttribute(`form`,e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}function hd(e,t,n,r,i){if(t===`submit`&&n&&n.stateNode===i){var a=pd((i[$e]||null).action),o=r.submitter;o&&(t=(t=o[$e]||null)?pd(t.formAction):o.getAttribute(`formAction`),t!==null&&(a=t,o=null));var s=new pn(`action`,`action`,null,r,i);e.push({event:s,listeners:[{instance:null,listener:function(){if(r.defaultPrevented){if(rd!==0){var e=o?md(i,o):new FormData(i);ys(n,{pending:!0,data:e,method:i.method,action:a},null,e)}}else typeof a==`function`&&(s.preventDefault(),e=o?md(i,o):new FormData(i),ys(n,{pending:!0,data:e,method:i.method,action:a},a,e))},currentTarget:i}]})}}for(var gd=0;gd<Br.length;gd++){var _d=Br[gd];Vr(_d.toLowerCase(),`on`+(_d[0].toUpperCase()+_d.slice(1)))}Vr(Mr,`onAnimationEnd`),Vr(Nr,`onAnimationIteration`),Vr(Pr,`onAnimationStart`),Vr(`dblclick`,`onDoubleClick`),Vr(`focusin`,`onFocus`),Vr(`focusout`,`onBlur`),Vr(Fr,`onTransitionRun`),Vr(Ir,`onTransitionStart`),Vr(Lr,`onTransitionCancel`),Vr(Rr,`onTransitionEnd`),ht(`onMouseEnter`,[`mouseout`,`mouseover`]),ht(`onMouseLeave`,[`mouseout`,`mouseover`]),ht(`onPointerEnter`,[`pointerout`,`pointerover`]),ht(`onPointerLeave`,[`pointerout`,`pointerover`]),mt(`onChange`,`change click focusin focusout input keydown keyup selectionchange`.split(` `)),mt(`onSelect`,`focusout contextmenu dragend focu
8sin keydown keyup mousedown mouseup selectionchange`.split(` `)),mt(`onBeforeInput`,[`compositionend`,`keypress`,`textInput`,`paste`]),mt(`onCompositionEnd`,`compositionend focusout keydown keypress keyup mousedown`.split(` `)),mt(`onCompositionStart`,`compositionstart focusout keydown keypress keyup mousedown`.split(` `)),mt(`onCompositionUpdate`,`compositionupdate focusout keydown keypress keyup mousedown`.split(` `));var vd=`abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting`.split(` `),yd=new Set(`beforetoggle cancel close invalid load scroll scrollend toggle`.split(` `).concat(vd));function bd(e,t){t=(t&4)!=0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;a:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],c=s.instance,l=s.currentTarget;if(s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Hr(e)}i.currentTarget=null,a=c}else for(o=0;o<r.length;o++){if(s=r[o],c=s.instance,l=s.currentTarget,s=s.listener,c!==a&&i.isPropagationStopped())break a;a=s,i.currentTarget=l;try{a(i)}catch(e){Hr(e)}i.currentTarget=null,a=c}}}}function xd(e,t){var n=t[tt];n===void 0&&(n=t[tt]=new Set);var r=e+`__bubble`;n.has(r)||(Td(t,e,2,!1),n.add(r))}function Sd(e,t,n){var r=0;t&&(r|=4),Td(n,e,r,t)}var Cd=`_reactListening`+Math.random().toString(36).slice(2);function wd(e){if(!e[Cd]){e[Cd]=!0,ft.forEach(function(t){t!==`selectionchange`&&(yd.has(t)||Sd(t,!1,e),Sd(t,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Cd]||(t[Cd]=!0,Sd(`selectionchange`,!1,t))}}function Td(e,t,n,r){switch(_p(t)){case 2:var i=dp;break;case 8:i=fp;break;default:i=pp}n=i.bind(null,t,n,e),i=void 0,!tn||t!==`touchstart`&&t!==`touchmove`&&t!==`wheel`||(i=!0),r?i===void 0?e.addEventListener(t,n,!0):e.addEventListener(t,n,{capture:!0,passive:i}):i===void 0?e.addEventListener(t,n,!1):e.addEventListener(t,n,{passive:i})}function Ed(e,t,n,r,i){var a=r;if(!(t&1)&&!(t&2)&&r!==null)a:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var c=r.stateNode.containerInfo;if(c===i)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&s.stateNode.containerInfo===i)return;s=s.return}for(;c!==null;){if(s=st(c),s===null)return;if(l=s.tag,l===5||l===6||l===26||l===27){r=a=s;continue a}c=c.parentNode}}r=r.return}Qt(function(){var r=a,i=qt(n),s=[];a:{var c=zr.get(e);if(c!==void 0){var l=pn,u=e;switch(e){case`keypress`:if(cn(n)===0)break a;case`keydown`:case`keyup`:l=jn;break;case`focusin`:u=`focus`,l=Sn;break;case`focusout`:u=`blur`,l=Sn;break;case`beforeblur`:case`afterblur`:l=Sn;break;case`click`:if(n.button===2)break a;case`auxclick`:case`dblclick`:case`mousedown`:case`mousemove`:case`mouseup`:case`mouseout`:case`mouseover`:case`contextmenu`:l=bn;break;case`drag`:case`dragend`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`dragstart`:case`drop`:l=xn;break;case`touchcancel`:case`touchend`:case`touchmove`:case`touchstart`:l=Nn;break;case Mr:case Nr:case Pr:l=Cn;break;case Rr:l=Pn;break;case`scroll`:case`scrollend`:l=hn;break;case`wheel`:l=Fn;break;case`copy`:case`cut`:case`paste`:l=wn;break;case`gotpointercapture`:case`lostpointercapture`:case`pointercancel`:case`pointerdown`:case`pointermove`:case`pointerout`:case`pointerover`:case`pointerup`:l=Mn;break;case`toggle`:case`beforetoggle`:l=In}var d=(t&4)!=0,f=!d&&(e===`scroll`||e===`scrollend`),p=d?c===null?null:c+`Capture`:c;d=[];for(var m=r,h;m!==null;){var g=m;if(h=g.stateNode,g=g.tag,g!==5&&g!==26&&g!==27||h===null||p===null||(g=$t(m,p),g!=null&&d.push(Dd(m,g,h))),f)break;m=m.return}0<d.length&&(c=new l(c,u,null,n,i),s.push({event:c,listeners:d}))}}if(!(t&7)){a:{if(c=e===`mouseover`||e===`pointerover`,l=e===`mouseout`||e===`pointerout`,c&&n!==Kt&&(u=n.relatedTarget||n.fromElement)&&(st(u)||u[et]))break a;if((l||c)&&(c=i.window===i?i:(c=i.ownerDocument)?c.defaultView||c.parentWindow:window,l?(u=n.relatedTarget||n.toElement,l=r,u=u?st(u):null,u!==null&&(f=o(u),d=u.tag,u!==f||d!==5&&d!==27&&d!==6)&&(u=null)):(l=null,u=r),l!==u)){if(d=bn,g=`onMouseLeave`,p=`onMouseEnter`,m=`mouse`,(e===`pointerout`||e===`pointerover`)&&(d=Mn,g=`onPointerLeave`,p=`onPointerEnter`,m=`pointer`),f=l==null?c:lt(l),h=u==null?c:lt(u),c=new d(g,m+`leave`,l,n,i),c.target=f,c.relatedTarget=h,g=null,st(i)===r&&(d=new d(p,m+`enter`,u,n,i),d.target=h,d.relatedTarget=f,g=d),f=g,l&&u)b:{for(d=kd,p=l,m=u,h=0,g=p;g;g=d(g))h++;g=0;for(var _=m;_;_=d(_))g++;for(;0<h-g;)p=d(p),h--;for(;0<g-h;)m=d(m),g--;for(;h--;){if(p===m||m!==null&&p===m.alternate){d=p;break b}p=d(p),m=d(m)}d=null}else d=null;l!==null&&Ad(s,c,l,d,!1),u!==null&&f!==null&&Ad(s,f,u,d,!0)}}a:{if(c=r?lt(r):window,l=c.nodeName&&c.nodeName.toLowerCase(),l===`select`||l===`input`&&c.type===`file`)var v=nr;else if(Xn(c))if(rr)v=fr;else{v=ur;var y=lr}else l=c.nodeName,!l||l.toLowerCase()!==`input`||c.type!==`checkbox`&&c.type!==`radio`?r&&Vt(r.elementType)&&(v=nr):v=dr;if(v&&=v(e,r)){Zn(s,v,n,i);break a}y&&y(e,c,r),e===`focusout`&&r&&c.type===`number`&&r.memoizedProps.value!=null&&Nt(c,`number`,c.value)}switch(y=r?lt(r):window,e){case`focusin`:(Xn(y)||y.contentEditable===`true`)&&(Sr=y,Cr=r,wr=null);break;case`focusout`:wr=Cr=Sr=null;break;case`mousedown`:Tr=!0;break;case`contextmenu`:case`mouseup`:case`dragend`:Tr=!1,Er(s,n,i);break;case`selectionchange`:if(xr)break;case`keydown`:case`keyup`:Er(s,n,i)}var b;if(Rn)b:{switch(e){case`compositionstart`:var x=`onCompositionStart`;break b;case`compositionend`:x=`onCompositionEnd`;break b;case`compositionupdate`:x=`onCompositionUpdate`;break b}x=void 0}else Kn?Wn(e,n)&&(x=`onCompositionEnd`):e===`keydown`&&n.keyCode===229&&(x=`onCompositionStart`);x&&(Vn&&n.locale!==`ko`&&(Kn||x!==`onCompositionStart`?x===`onCompositionEnd`&&Kn&&(b=sn()):(rn=i,an=`value`in rn?rn.value:rn.textContent,Kn=!0)),y=Od(r,x),0<y.length&&(x=new Tn(x,e,null,n,i),s.push({event:x,listeners:y}),b?x.data=b:(b=Gn(n),b!==null&&(x.data=b)))),(b=Bn?qn(e,n):Jn(e,n))&&
vendor: 11,390 bytes, lines 8-9
8(x=Od(r,`onBeforeInput`),0<x.length&&(y=new Tn(`onBeforeInput`,`beforeinput`,null,n,i),s.push({event:y,listeners:x}),y.data=b)),hd(s,e,r,n,i)}bd(s,t)})}function Dd(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Od(e,t){for(var n=t+`Capture`,r=[];e!==null;){var i=e,a=i.stateNode;if(i=i.tag,i!==5&&i!==26&&i!==27||a===null||(i=$t(e,n),i!=null&&r.unshift(Dd(e,i,a)),i=$t(e,t),i!=null&&r.push(Dd(e,i,a))),e.tag===3)return r;e=e.return}return[]}function kd(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Ad(e,t,n,r,i){for(var a=t._reactName,o=[];n!==null&&n!==r;){var s=n,c=s.alternate,l=s.stateNode;if(s=s.tag,c!==null&&c===r)break;s!==5&&s!==26&&s!==27||l===null||(c=l,i?(l=$t(n,a),l!=null&&o.unshift(Dd(n,l,c))):i||(l=$t(n,a),l!=null&&o.push(Dd(n,l,c)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var jd=/\r\n?/g,Md=/\u0000|\uFFFD/g;function Nd(e){return(typeof e==`string`?e:``+e).replace(jd,` 9`).replace(Md,``)}function Pd(e,t){return t=Nd(t),Nd(e)===t}function Fd(e,t,n,r,a,o){switch(n){case`children`:typeof r==`string`?t===`body`||t===`textarea`&&r===``||Lt(e,r):(typeof r==`number`||typeof r==`bigint`)&&t!==`body`&&Lt(e,``+r);break;case`className`:xt(e,`class`,r);break;case`tabIndex`:xt(e,`tabindex`,r);break;case`dir`:case`role`:case`viewBox`:case`width`:case`height`:xt(e,n,r);break;case`style`:Bt(e,r,o);break;case`data`:if(t!==`object`){xt(e,`data`,r);break}case`src`:case`href`:if(r===``&&(t!==`a`||n!==`href`)){e.removeAttribute(n);break}if(r==null||typeof r==`function`||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Wt(``+r),e.setAttribute(n,r);break;case`action`:case`formAction`:if(typeof r==`function`){e.setAttribute(n,`javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')`);break}else typeof o==`function`&&(n===`formAction`?(t!==`input`&&Fd(e,t,`name`,a.name,a,null),Fd(e,t,`formEncType`,a.formEncType,a,null),Fd(e,t,`formMethod`,a.formMethod,a,null),Fd(e,t,`formTarget`,a.formTarget,a,null)):(Fd(e,t,`encType`,a.encType,a,null),Fd(e,t,`method`,a.method,a,null),Fd(e,t,`target`,a.target,a,null)));if(r==null||typeof r==`symbol`||typeof r==`boolean`){e.removeAttribute(n);break}r=Wt(``+r),e.setAttribute(n,r);break;case`onClick`:r!=null&&(e.onclick=Gt);break;case`onScroll`:r!=null&&xd(`scroll`,e);break;case`onScrollEnd`:r!=null&&xd(`scrollend`,e);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`multiple`:e.multiple=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`muted`:e.muted=r&&typeof r!=`function`&&typeof r!=`symbol`;break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`defaultValue`:case`defaultChecked`:case`innerHTML`:case`ref`:break;case`autoFocus`:break;case`xlinkHref`:if(r==null||typeof r==`function`||typeof r==`boolean`||typeof r==`symbol`){e.removeAttribute(`xlink:href`);break}n=Wt(``+r),e.setAttributeNS(`http://www.w3.org/1999/xlink`,`xlink:href`,n);break;case`contentEditable`:case`spellCheck`:case`draggable`:case`value`:case`autoReverse`:case`externalResourcesRequired`:case`focusable`:case`preserveAlpha`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``+r):e.removeAttribute(n);break;case`inert`:case`allowFullScreen`:case`async`:case`autoPlay`:case`controls`:case`default`:case`defer`:case`disabled`:case`disablePictureInPicture`:case`disableRemotePlayback`:case`formNoValidate`:case`hidden`:case`loop`:case`noModule`:case`noValidate`:case`open`:case`playsInline`:case`readOnly`:case`required`:case`reversed`:case`scoped`:case`seamless`:case`itemScope`:r&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,``):e.removeAttribute(n);break;case`capture`:case`download`:!0===r?e.setAttribute(n,``):!1!==r&&r!=null&&typeof r!=`function`&&typeof r!=`symbol`?e.setAttribute(n,r):e.removeAttribute(n);break;case`cols`:case`rows`:case`size`:case`span`:r!=null&&typeof r!=`function`&&typeof r!=`symbol`&&!isNaN(r)&&1<=r?e.setAttribute(n,r):e.removeAttribute(n);break;case`rowSpan`:case`start`:r==null||typeof r==`function`||typeof r==`symbol`||isNaN(r)?e.removeAttribute(n):e.setAttribute(n,r);break;case`popover`:xd(`beforetoggle`,e),xd(`toggle`,e),bt(e,`popover`,r);break;case`xlinkActuate`:St(e,`http://www.w3.org/1999/xlink`,`xlink:actuate`,r);break;case`xlinkArcrole`:St(e,`http://www.w3.org/1999/xlink`,`xlink:arcrole`,r);break;case`xlinkRole`:St(e,`http://www.w3.org/1999/xlink`,`xlink:role`,r);break;case`xlinkShow`:St(e,`http://www.w3.org/1999/xlink`,`xlink:show`,r);break;case`xlinkTitle`:St(e,`http://www.w3.org/1999/xlink`,`xlink:title`,r);break;case`xlinkType`:St(e,`http://www.w3.org/1999/xlink`,`xlink:type`,r);break;case`xmlBase`:St(e,`http://www.w3.org/XML/1998/namespace`,`xml:base`,r);break;case`xmlLang`:St(e,`http://www.w3.org/XML/1998/namespace`,`xml:lang`,r);break;case`xmlSpace`:St(e,`http://www.w3.org/XML/1998/namespace`,`xml:space`,r);break;case`is`:bt(e,`is`,r);break;case`innerText`:case`textContent`:break;default:(!(2<n.length)||n[0]!==`o`&&n[0]!==`O`||n[1]!==`n`&&n[1]!==`N`)&&(n=Ht.get(n)||n,bt(e,n,r))}}function Id(e,t,n,r,a,o){switch(n){case`style`:Bt(e,r,o);break;case`dangerouslySetInnerHTML`:if(r!=null){if(typeof r!=`object`||!(`__html`in r))throw Error(i(61));if(n=r.__html,n!=null){if(a.children!=null)throw Error(i(60));e.innerHTML=n}}break;case`children`:typeof r==`string`?Lt(e,r):(typeof r==`number`||typeof r==`bigint`)&&Lt(e,``+r);break;case`onScroll`:r!=null&&xd(`scroll`,e);break;case`onScrollEnd`:r!=null&&xd(`scrollend`,e);break;case`onClick`:r!=null&&(e.onclick=Gt);break;case`suppressContentEditableWarning`:case`suppressHydrationWarning`:case`innerHTML`:case`ref`:break;case`innerText`:case`textContent`:break;default:if(!pt.hasOwnProperty(n))a:{if(n[0]===`o`&&n[1]===`n`&&(a=n.endsWith(`Capture`),t=n.slice(2,a?n.length-7:void 0),o=e[$e]||null,o=o==null?null:o[n],typeof o==`function`&&e.removeEventListener(t,o,a),typeof r==`function`)){typeof o!=`function`&&o!==null&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,r,a);break a}n in e?e[n]=r:!0===r?e.setAttribute(n,``):bt(e,n,r)}}}function Ld(e,t,n){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`img`:xd(`error`,e),xd(`load`,e);var r=!1,a=!1,o;for(o in n)if(n.hasOwnProperty(o)){var s=n[o];if(s!=null)switch(o){case`src`:r=!0;break;case`srcSet`:a=!0;break;case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Fd(e,t,o,s,n,null)}}a&&Fd(e,t,`srcSet`,n.srcSet,n,null),r&&Fd(e,t,`src`,n.src,n,null);return;case`input`:xd(`invalid`,e);var c=o=s=a=null,l=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(d!=null)switch(r){case`name`:a=d;break;case`type`:s=d;break;case`checked`:l=d;break;case`defaultChecked`:u=d;break;case`value`:o=d;break;case`defaultValue`:c=d;break;case`children`:case`dangerouslySetInnerHTML`:if(d!=null)throw Error(i(137,t));break;default:Fd(e,t,r,d,n,null)}}Mt(e,o,c,l,u,s,a,!1);return;case`select`:for(a in xd(`invalid`,e),r=s=o=null,n)if(n.hasOwnProperty(a)&&(c=n[a],c!=null))switch(a){case`value`:o=c;break;case`defaultValue`:s=c;break;case`multiple`:r=c;default:Fd(e,t,a,c,n,null)}t=o,n=s,e.multiple=!!r,t==null?n!=null&&Pt(e,!!r,n,!0):Pt(e,!!r,t,!1);return;case`textarea`:for(s in xd(`invalid`,e),o=a=r=null,n)if(n.hasOwnProperty(s)&&(c=n[s],c!=null))switch(s){case`value`:r=c;break;case`defaultValue`:a=c;break;case`children`:o=c;break;case`dangerouslySetInnerHTML`:if(c!=null)throw Error(i(91));break;default:Fd(e,t,s,c,n,null)}It(e,r,a,o);return;case`option`:for(l in n)if(n.hasOwnProperty(l)&&(r=n[l],r!=null))switch(l){case`selected`:e.selected=r&&typeof r!=`function`&&typeof r!=`symbol`;break;default:Fd(e,t,l,r,n,null)}return;case`dialog`:xd(`beforetoggle`,e),xd(`toggle`,e),xd(`cancel`,e),xd(`close`,e);break;case`iframe`:case`object`:xd(`load`,e);break;case`video`:case`audio`:for(r=0;r<vd.length;r++)xd(vd[r],e);break;case`image`:xd(`error`,e),xd(`load`,e);break;case`details`:xd(`toggle`,e);break;case`embed`:case`source`:case`link`:xd(`error`,e),xd(`load`,e);case`area`:case`base`:case`br`:case`col`:case`hr`:case`keygen`:case`meta`:case`param`:case`track`:case`wbr`:case`menuitem`:for(u in n)if(n.hasOwnProperty(u)&&(r=n[u],r!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:throw Error(i(137,t));default:Fd(e,t,u,r,n,null)}return;default:if(Vt(t)){for(d in n)n.hasOwnProperty(d)&&(r=n[d],r!==void 0&&Id(e,t,d,r,n,void 0));return}}for(c in n)n.hasOwnProperty(c)&&(r=n[c],r!=null&&Fd(e,t,c,r,n,null))}function Rd(e,t,n,r){switch(t){case`div`:case`span`:case`svg`:case`path`:case`a`:case`g`:case`p`:case`li`:break;case`input`:var a=null,o=null,s=null,c=null,l=null,u=null,d=null;for(m in n){var f=n[m];if(n.hasOwnProperty(m)&&f!=null)switch(m){case`checked`:break;case`value`:break;case`defaultValue`:l=f;default:r.hasOwnProperty(m)||Fd(e,t,m,null,r,f)}}for(var p in r){var m=r[p];if(f=n[p],r.hasOwnProperty(p)&&(m!=null||f!=null))switch(p){case`type`:o=m;break;case`name`:a=m;break;case`checked`:u=m;break;case`defaultChecked`:d=m;break;case`value`:s=m;break;case`defaultValue`:c=m;break;case`children`:case`dangerouslySetInnerHTML`:if(m!=null)throw Error(i(137,t));break;default:m!==f&&Fd(e,t,p,m,r,f)}}jt(e,s,c,l,u,d,o,a);return;case`select`:for(o in m=s=c=p=null,n)if(l=n[o],n.hasOwnProperty(o)&&l!=null)switch(o){case`value`:break;case`multiple`:m=l;default:r.hasOwnProperty(o)||Fd(e,t,o,null,r,l)}for(a in r)if(o=r[a],l=n[a],r.hasOwnProperty(a)&&(o!=null||l!=null))switch(a){case`value`:p=o;break;case`defaultValue`:c=o;break;case`multiple`:s=o;default:o!==l&&Fd(e,t,a,o,r,l)}t=c,n=s,r=m,p==null?!!r!=!!n&&(t==null?Pt(e,!!n,n?[]:``,!1):Pt(e,!!n,t,!0)):Pt(e,!!n,p,!1);return;case`textarea`:for(c in m=p=null,n)if(a=n[c],n.hasOwnProperty(c)&&a!=null&&!r.hasOwnProperty(c))switch(c){case`value`:break;case`children`:break;default:Fd(e,t,c,null,r,a)}for(s in r)if(a=r[s],o=n[s],r.hasOwnProperty(s)&&(a!=null||o!=null))switch(s){case`value`:p=a;break;case`defaultValue`:m=a;break;case`children`:break;case`dangerouslySetInnerHTML`:if(a!=null)throw Error(i(91));break;default:a!==o&&Fd(e,t,s,a,r,o)}Ft(e,p,m);return;case`option`:for(var h in n)if(p=n[h],n.hasOwnProperty(h)&&p!=null&&!r.hasOwnProperty(h))switch(h){case`selected`:e.selected=!1;break;default:Fd(e,t,h,null,r,p)}for(l in r)if(p=r[l],m=n[l],r.hasOwnProperty(l)&&p!==m&&(p!=null||m!=null))switch(l){case`selected`:e.selected=p&&typeof p!=`function`&&typeof p!=`symbol`;break;default:Fd(e,t,l,p,r,m)}return;case`img`:case`link`:case`area`:case`base`:case`br`:case`col`:case`embed`:case`hr`:case`keygen`:case`meta`:case`param`:case`source`:case`track`:case`wbr`:case`menuitem`:for(var g in n)p=n[g],n.hasOwnProperty(g)&&p!=null&&!r.hasOwnProperty(g)&&Fd(e,t,g,null,r,p);for(u in r)if(p=r[u],m=n[u],r.hasOwnProperty(u)&&p!==m&&(p!=null||m!=null))switch(u){case`children`:case`dangerouslySetInnerHTML`:if(p!=null)throw Error(i(137,t));break;default:Fd(e,t,u,p,r,m)}return;default:if(Vt(t)){for(var _ in n)p=n[_],n.hasOwnProperty(_)&&p!==void 0&&!r.hasOwnProperty(_)&&Id(e,t,_,void 0,r,p);
vendor: 4,463 bytes, line 9
9for(d in r)p=r[d],m=n[d],!r.hasOwnProperty(d)||p===m||p===void 0&&m===void 0||Id(e,t,d,p,r,m);return}}for(var v in n)p=n[v],n.hasOwnProperty(v)&&p!=null&&!r.hasOwnProperty(v)&&Fd(e,t,v,null,r,p);for(f in r)p=r[f],m=n[f],!r.hasOwnProperty(f)||p===m||p==null&&m==null||Fd(e,t,f,p,r,m)}function zd(e){switch(e){case`css`:case`script`:case`font`:case`img`:case`image`:case`input`:case`link`:return!0;default:return!1}}function Bd(){if(typeof performance.getEntriesByType==`function`){for(var e=0,t=0,n=performance.getEntriesByType(`resource`),r=0;r<n.length;r++){var i=n[r],a=i.transferSize,o=i.initiatorType,s=i.duration;if(a&&s&&zd(o)){for(o=0,s=i.responseEnd,r+=1;r<n.length;r++){var c=n[r],l=c.startTime;if(l>s)break;var u=c.transferSize,d=c.initiatorType;u&&zd(d)&&(c=c.responseEnd,o+=u*(c<s?1:(s-l)/(c-l)))}if(--r,t+=8*(a+o)/(i.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e==`number`)?e:5}var Vd=null,Hd=null;function Ud(e){return e.nodeType===9?e:e.ownerDocument}function Wd(e){switch(e){case`http://www.w3.org/2000/svg`:return 1;case`http://www.w3.org/1998/Math/MathML`:return 2;default:return 0}}function Gd(e,t){if(e===0)switch(t){case`svg`:return 1;case`math`:return 2;default:return 0}return e===1&&t===`foreignObject`?0:e}function Kd(e,t){return e===`textarea`||e===`noscript`||typeof t.children==`string`||typeof t.children==`number`||typeof t.children==`bigint`||typeof t.dangerouslySetInnerHTML==`object`&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var qd=null;function Jd(){var e=window.event;return e&&e.type===`popstate`?e===qd?!1:(qd=e,!0):(qd=null,!1)}var Yd=typeof setTimeout==`function`?setTimeout:void 0,Xd=typeof clearTimeout==`function`?clearTimeout:void 0,Zd=typeof Promise==`function`?Promise:void 0,Qd=typeof queueMicrotask==`function`?queueMicrotask:Zd===void 0?Yd:function(e){return Zd.resolve(null).then(e).catch($d)};function $d(e){setTimeout(function(){throw e})}function ef(e){return e===`head`}function tf(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n===`/$`||n===`/&`){if(r===0){e.removeChild(i),Fp(t);return}r--}else if(n===`$`||n===`$?`||n===`$~`||n===`$!`||n===`&`)r++;else if(n===`html`)gf(e.ownerDocument.documentElement);else if(n===`head`){n=e.ownerDocument.head,gf(n);for(var a=n.firstChild;a;){var o=a.nextSibling,s=a.nodeName;a[at]||s===`SCRIPT`||s===`STYLE`||s===`LINK`&&a.rel.toLowerCase()===`stylesheet`||n.removeChild(a),a=o}}else n===`body`&&gf(e.ownerDocument.body);n=i}while(n);Fp(t)}function nf(e,t){var n=e;e=0;do{var r=n.nextSibling;if(n.nodeType===1?t?(n._stashedDisplay=n.style.display,n.style.display=`none`):(n.style.display=n._stashedDisplay||``,n.getAttribute(`style`)===``&&n.removeAttribute(`style`)):n.nodeType===3&&(t?(n._stashedText=n.nodeValue,n.nodeValue=``):n.nodeValue=n._stashedText||``),r&&r.nodeType===8)if(n=r.data,n===`/$`){if(e===0)break;e--}else n!==`$`&&n!==`$?`&&n!==`$~`&&n!==`$!`||e++;n=r}while(n)}function rf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case`HTML`:case`HEAD`:case`BODY`:rf(n),ot(n);continue;case`SCRIPT`:case`STYLE`:continue;case`LINK`:if(n.rel.toLowerCase()===`stylesheet`)continue}e.removeChild(n)}}function af(e,t,n,r){for(;e.nodeType===1;){var i=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!r&&(e.nodeName!==`INPUT`||e.type!==`hidden`))break}else if(!r)if(t===`input`&&e.type===`hidden`){var a=i.name==null?null:``+i.name;if(i.type===`hidden`&&e.getAttribute(`name`)===a)return e}else return e;else if(!e[at])switch(t){case`meta`:if(!e.hasAttribute(`itemprop`))break;return e;case`link`:if(a=e.getAttribute(`rel`),a===`stylesheet`&&e.hasAttribute(`data-precedence`)||a!==i.rel||e.getAttribute(`href`)!==(i.href==null||i.href===``?null:i.href)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin)||e.getAttribute(`title`)!==(i.title==null?null:i.title))break;return e;case`style`:if(e.hasAttribute(`data-precedence`))break;return e;case`script`:if(a=e.getAttribute(`src`),(a!==(i.src==null?null:i.src)||e.getAttribute(`type`)!==(i.type==null?null:i.type)||e.getAttribute(`crossorigin`)!==(i.crossOrigin==null?null:i.crossOrigin))&&a&&e.hasAttribute(`async`)&&!e.hasAttribute(`itemprop`))break;return e;default:return e}if(e=df(e.nextSibling),e===null)break}return null}function of(e,t,n){if(t===``)return null;for(;
vendor: 20,901 bytes, line 9
9e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!n||(e=df(e.nextSibling),e===null))return null;return e}function sf(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!==`INPUT`||e.type!==`hidden`)&&!t||(e=df(e.nextSibling),e===null))return null;return e}function cf(e){return e.data===`$?`||e.data===`$~`}function lf(e){return e.data===`$!`||e.data===`$?`&&e.ownerDocument.readyState!==`loading`}function uf(e,t){var n=e.ownerDocument;if(e.data===`$~`)e._reactRetry=t;else if(e.data!==`$?`||n.readyState!==`loading`)t();else{var r=function(){t(),n.removeEventListener(`DOMContentLoaded`,r)};n.addEventListener(`DOMContentLoaded`,r),e._reactRetry=r}}function df(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===`$`||t===`$!`||t===`$?`||t===`$~`||t===`&`||t===`F!`||t===`F`)break;if(t===`/$`||t===`/&`)return null}}return e}var ff=null;function pf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`/$`||n===`/&`){if(t===0)return df(e.nextSibling);t--}else n!==`$`&&n!==`$!`&&n!==`$?`&&n!==`$~`&&n!==`&`||t++}e=e.nextSibling}return null}function mf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n===`$`||n===`$!`||n===`$?`||n===`$~`||n===`&`){if(t===0)return e;t--}else n!==`/$`&&n!==`/&`||t++}e=e.previousSibling}return null}function hf(e,t,n){switch(t=Ud(n),e){case`html`:if(e=t.documentElement,!e)throw Error(i(452));return e;case`head`:if(e=t.head,!e)throw Error(i(453));return e;case`body`:if(e=t.body,!e)throw Error(i(454));return e;default:throw Error(i(451))}}function gf(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ot(e)}var _f=new Map,vf=new Set;function yf(e){return typeof e.getRootNode==`function`?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var bf=I.d;I.d={f:xf,r:Sf,D:Tf,C:Ef,L:Df,m:Of,X:Af,S:kf,M:jf};function xf(){var e=bf.f(),t=bu();return e||t}function Sf(e){var t=ct(e);t!==null&&t.tag===5&&t.type===`form`?xs(t):bf.r(e)}var Cf=typeof document>`u`?null:document;function wf(e,t,n){var r=Cf;if(r&&typeof t==`string`&&t){var i=At(t);i=`link[rel="`+e+`"][href="`+i+`"]`,typeof n==`string`&&(i+=`[crossorigin="`+n+`"]`),vf.has(i)||(vf.add(i),e={rel:e,crossOrigin:n,href:t},r.querySelector(i)===null&&(t=r.createElement(`link`),Ld(t,`link`,e),dt(t),r.head.appendChild(t)))}}function Tf(e){bf.D(e),wf(`dns-prefetch`,e,null)}function Ef(e,t){bf.C(e,t),wf(`preconnect`,e,t)}function Df(e,t,n){bf.L(e,t,n);var r=Cf;if(r&&e&&t){var i=`link[rel="preload"][as="`+At(t)+`"]`;t===`image`&&n&&n.imageSrcSet?(i+=`[imagesrcset="`+At(n.imageSrcSet)+`"]`,typeof n.imageSizes==`string`&&(i+=`[imagesizes="`+At(n.imageSizes)+`"]`)):i+=`[href="`+At(e)+`"]`;var a=i;switch(t){case`style`:a=Nf(e);break;case`script`:a=Lf(e)}_f.has(a)||(e=m({rel:`preload`,href:t===`image`&&n&&n.imageSrcSet?void 0:e,as:t},n),_f.set(a,e),r.querySelector(i)!==null||t===`style`&&r.querySelector(Pf(a))||t===`script`&&r.querySelector(Rf(a))||(t=r.createElement(`link`),Ld(t,`link`,e),dt(t),r.head.appendChild(t)))}}function Of(e,t){bf.m(e,t);var n=Cf;if(n&&e){var r=t&&typeof t.as==`string`?t.as:`script`,i=`link[rel="modulepreload"][as="`+At(r)+`"][href="`+At(e)+`"]`,a=i;switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:a=Lf(e)}if(!_f.has(a)&&(e=m({rel:`modulepreload`,href:e},t),_f.set(a,e),n.querySelector(i)===null)){switch(r){case`audioworklet`:case`paintworklet`:case`serviceworker`:case`sharedworker`:case`worker`:case`script`:if(n.querySelector(Rf(a)))return}r=n.createElement(`link`),Ld(r,`link`,e),dt(r),n.head.appendChild(r)}}}function kf(e,t,n){bf.S(e,t,n);var r=Cf;if(r&&e){var i=ut(r).hoistableStyles,a=Nf(e);t||=`default`;var o=i.get(a);if(!o){var s={loading:0,preload:null};if(o=r.querySelector(Pf(a)))s.loading=5;else{e=m({rel:`stylesheet`,href:e,"data-precedence":t},n),(n=_f.get(a))&&Vf(e,n);var c=o=r.createElement(`link`);dt(c),Ld(c,`link`,e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener(`load`,function(){s.loading|=1}),c.addEventListener(`error`,function(){s.loading|=2}),s.loading|=4,Bf(o,t,r)}o={type:`stylesheet`,instance:o,count:1,state:s},i.set(a,o)}}}function Af(e,t){bf.X(e,t);var n=Cf;if(n&&e){var r=ut(n).hoistableScripts,i=Lf(e),a=r.get(i);a||(a=n.querySelector(Rf(i)),a||(e=m({src:e,async:!0},t),(t=_f.get(i))&&Hf(e,t),a=n.createElement(`script`),dt(a),Ld(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function jf(e,t){bf.M(e,t);var n=Cf;if(n&&e){var r=ut(n).hoistableScripts,i=Lf(e),a=r.get(i);a||(a=n.querySelector(Rf(i)),a||(e=m({src:e,async:!0,type:`module`},t),(t=_f.get(i))&&Hf(e,t),a=n.createElement(`script`),dt(a),Ld(a,`link`,e),n.head.appendChild(a)),a={type:`script`,instance:a,count:1,state:null},r.set(i,a))}}function Mf(e,t,n,r){var a=(a=se.current)?yf(a):null;if(!a)throw Error(i(446));switch(e){case`meta`:case`title`:return null;case`style`:return typeof n.precedence==`string`&&typeof n.href==`string`?(t=Nf(n.href),n=ut(a).hoistableStyles,r=n.get(t),r||(r={type:`style`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};case`link`:if(n.rel===`stylesheet`&&typeof n.href==`string`&&typeof n.precedence==`string`){e=Nf(n.href);var o=ut(a).hoistableStyles,s=o.get(e);if(s||(a=a.ownerDocument||a,s={type:`stylesheet`,instance:null,count:0,state:{loading:0,preload:null}},o.set(e,s),(o=a.querySelector(Pf(e)))&&!o._p&&(s.instance=o,s.state.loading=5),_f.has(e)||(n={rel:`preload`,as:`style`,href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy},_f.set(e,n),o||If(a,e,n,s.state))),t&&r===null)throw Error(i(528,``));return s}if(t&&r!==null)throw Error(i(529,``));return null;case`script`:return t=n.async,n=n.src,typeof n==`string`&&t&&typeof t!=`function`&&typeof t!=`symbol`?(t=Lf(n),n=ut(a).hoistableScripts,r=n.get(t),r||(r={type:`script`,instance:null,count:0,state:null},n.set(t,r)),r):{type:`void`,instance:null,count:0,state:null};default:throw Error(i(444,e))}}function Nf(e){return`href="`+At(e)+`"`}function Pf(e){return`link[rel="stylesheet"][`+e+`]`}function Ff(e){return m({},e,{"data-precedence":e.precedence,precedence:null})}function If(e,t,n,r){e.querySelector(`link[rel="preload"][as="style"][`+t+`]`)?r.loading=1:(t=e.createElement(`link`),r.preload=t,t.addEventListener(`load`,function(){return r.loading|=1}),t.addEventListener(`error`,function(){return r.loading|=2}),Ld(t,`link`,n),dt(t),e.head.appendChild(t))}function Lf(e){return`[src="`+At(e)+`"]`}function Rf(e){return`script[async]`+e}function zf(e,t,n){if(t.count++,t.instance===null)switch(t.type){case`style`:var r=e.querySelector(`style[data-href~="`+At(n.href)+`"]`);if(r)return t.instance=r,dt(r),r;var a=m({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return r=(e.ownerDocument||e).createElement(`style`),dt(r),Ld(r,`style`,a),Bf(r,n.precedence,e),t.instance=r;case`stylesheet`:a=Nf(n.href);var o=e.querySelector(Pf(a));if(o)return t.state.loading|=4,t.instance=o,dt(o),o;r=Ff(n),(a=_f.get(a))&&Vf(r,a),o=(e.ownerDocument||e).createElement(`link`),dt(o);var s=o;return s._p=new Promise(function(e,t){s.onload=e,s.onerror=t}),Ld(o,`link`,r),t.state.loading|=4,Bf(o,n.precedence,e),t.instance=o;case`script`:return o=Lf(n.src),(a=e.querySelector(Rf(o)))?(t.instance=a,dt(a),a):(r=n,(a=_f.get(o))&&(r=m({},n),Hf(r,a)),e=e.ownerDocument||e,a=e.createElement(`script`),dt(a),Ld(a,`link`,r),e.head.appendChild(a),t.instance=a);case`void`:return null;default:throw Error(i(443,t.type))}else t.type===`stylesheet`&&!(t.state.loading&4)&&(r=t.instance,t.state.loading|=4,Bf(r,n.precedence,e));return t.instance}function Bf(e,t,n){for(var r=n.querySelectorAll(`link[rel="stylesheet"][data-precedence],style[data-precedence]`),i=r.length?r[r.length-1]:null,a=i,o=0;o<r.length;o++){var s=r[o];if(s.dataset.precedence===t)a=s;else if(a!==i)break}a?a.parentNode.insertBefore(e,a.nextSibling):(t=n.nodeType===9?n.head:n,t.insertBefore(e,t.firstChild))}function Vf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.title??=t.title}function Hf(e,t){e.crossOrigin??=t.crossOrigin,e.referrerPolicy??=t.referrerPolicy,e.integrity??=t.integrity}var Uf=null;function Wf(e,t,n){if(Uf===null){var r=new Map,i=Uf=new Map;i.set(n,r)}else i=Uf,r=i.get(n),r||(r=new Map,i.set(n,r));if(r.has(e))return r;for(r.set(e,null),n=n.getElementsByTagName(e),i=0;i<n.length;i++){var a=n[i];if(!(a[at]||a[Qe]||e===`link`&&a.getAttribute(`rel`)===`stylesheet`)&&a.namespaceURI!==`http://www.w3.org/2000/svg`){var o=a.getAttribute(t)||``;o=e+o;var s=r.get(o);s?s.push(a):r.set(o,[a])}}return r}function Gf(e,t,n){e=e.ownerDocument||e,e.head.insertBefore(n,t===`title`?e.querySelector(`head > title`):null)}function Kf(e,t,n){if(n===1||t.itemProp!=null)return!1;switch(e){case`meta`:case`title`:return!0;case`style`:if(typeof t.precedence!=`string`||typeof t.href!=`string`||t.href===``)break;return!0;case`link`:if(typeof t.rel!=`string`||typeof t.href!=`string`||t.href===``||t.onLoad||t.onError)break;switch(t.rel){case`stylesheet`:return e=t.disabled,typeof t.precedence==`string`&&e==null;default:return!0}case`script`:if(t.async&&typeof t.async!=`function`&&typeof t.async!=`symbol`&&!t.onLoad&&!t.onError&&t.src&&typeof t.src==`string`)return!0}return!1}function qf(e){return!(e.type===`stylesheet`&&!(e.state.loading&3))}function Jf(e,t,n,r){if(n.type===`stylesheet`&&(typeof r.media!=`string`||!1!==matchMedia(r.media).matches)&&!(n.state.loading&4)){if(n.instance===null){var i=Nf(r.href),a=t.querySelector(Pf(i));if(a){t=a._p,typeof t==`object`&&t&&typeof t.then==`function`&&(e.count++,e=Zf.bind(e),t.then(e,e)),n.state.loading|=4,n.instance=a,dt(a);return}a=t.ownerDocument||t,r=Ff(r),(i=_f.get(i))&&Vf(r,i),a=a.createElement(`link`),dt(a);var o=a;o._p=new Promise(function(e,t){o.onload=e,o.onerror=t}),Ld(a,`link`,r),n.instance=a}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(n,t),(t=n.state.preload)&&!(n.state.loading&3)&&(e.count++,n=Zf.bind(e),t.addEventListener(`load`,n),t.addEventListener(`error`,n))}}var Yf=0;function Xf(e,t){return e.stylesheets&&e.count===0&&$f(e,e.stylesheets),0<e.count||0<e.imgCount?function(n){var r=setTimeout(function(){if(e.stylesheets&&$f(e,e.stylesheets),e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4+t);0<e.imgBytes&&Yf===0&&(Yf=62500*Bd());var i=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&$f(e,e.stylesheets),e.unsuspend)){var t=e.unsuspend;e.unsuspend=null,t()}},(e.imgBytes>Yf?50:800)+t);return e.unsuspend=n,function(){e.unsuspend=null,clearTimeout(r),clearTimeout(i)}}:null}function Zf(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)$f(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Qf=null;function $f(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Qf=new Map,t.forEach(ep,e),Qf=null,Zf.call(e))}function ep(e,t){if(!(t.state.loading&4)){var n=Qf.get(e);if(n)var r=n.get(null);else{n=new Map,Qf.set(e,n);for(var i=e.querySelectorAll(`link[data-precedence],style[data-precedence]`),a=0;a<i.length;a++){var o=i[a];(o.nodeName===`LINK`||o.getAttribute(`media`)!==`not all`)&&(n.set(o.dataset.precedence,o),r=o)}r&&n.set(null,r)}i=t.instance,o=i.getAttribute(`data-precedence`),a=n.get(o)||r,a===r&&n.set(null,i),n.set(o,i),this.count++,r=Zf.bind(this),i.addEventListener(`load`,r),i.addEventListener(`error`,r),a?a.parentNode.insertBefore(i,a.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(i,e.firstChild)),t.state.loading|=4}}var tp={$$typeof:C,Provider:null,Consumer:null,_currentValue:te,_currentValue2:te,_threadCount:0};function np(e,t,n,r,i,a,o,s,c){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Ve(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ve(0),this.hiddenUpdates=Ve(null),this.identifierPrefix=r,this.onUncaughtError=i,this.onCaughtError=a,this.onRecoverableError=o,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=c,this.incompleteTransitions=new Map}function rp(e,t,n,r,i,a,o,s,c,l,u,d){return e=new np(e,t,n,o,c,l,u,d,s),t=1,!0===a&&(t|=24),a=ei(3,null,null,t),e.current=a,a.stateNode=e,t=ta(),t.refCount++,e.pooledCache=t,t.refCount++,a.memoizedState={element:r,isDehydrated:n,cache:t},Na(a),e}function ip(e){return e?(e=Qr,e):Qr}function ap(e,t,n,r,i,a){i=ip(i),r.context===null?r.context=i:r.pendingContext=i,r=Fa(t),r.payload={element:n},a=a===void 0?null:a,a!==null&&(r.callback=a),n=Ia(e,r,t),n!==null&&(hu(n,e,t),La(n,e,t))}function op(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function sp(e,t){op(e,t),(e=e.alternate)&&op(e,t)}function cp(e){if(e.tag===13||e.tag===31){var t=Yr(e,67108864);t!==null&&hu(t,e,67108864),sp(e,67108864)}}function lp(e){if(e.tag===13||e.tag===31){var t=pu();t=qe(t);var n=Yr(e,t);n!==null&&hu(n,e,t),sp(e,t)}}var up=!0;function dp(e,t,n,r){var i=F.T;F.T=null;var a=I.p;try{I.p=2,pp(e,t,n,r)}finally{I.p=a,F.T=i}}function fp(e,t,n,r){var i=F.T;F.T=null;var a=I.p;try{I.p=8,pp(e,t,n,r)}finally{I.p=a,F.T=i}}function pp(e,t,n,r){if(up){var i=mp(r);if(i===null)Ed(e,t,r,hp,n),Ep(e,r);else if(Op(i,e,t,n,r))r.stopPropagation();else if(Ep(e,r),t&4&&-1<Tp.indexOf(e)){for(;i!==null;){var a=ct(i);if(a!==null)switch(a.tag){case 3:if(a=a.stateNode,a.current.memoizedState.isDehydrated){var o=Ie(a.pendingLanes);if(o!==0){var s=a;for(s.pendingLanes|=2,s.entangledLanes|=2;o;){var c=1<<31-ke(o);s.entanglements[1]|=c,o&=~c}id(a),!(Il&6)&&(tu=W()+500,ad(0,!1))}}break;case 31:case 13:s=Yr(a,2),s!==null&&hu(s,a,2),bu(),sp(a,2)}if(a=mp(r),a===null&&Ed(e,t,r,hp,n),a===i)break;i=a}i!==null&&r.stopPropagation()}else Ed(e,t,r,null,n)}}function mp(e){return e=qt(e),gp(e)}var hp=null;function gp(e){if(hp=null,e=st(e),e!==null){var t=o(e);if(t===null)e=null;else{var n=t.tag;if(n===13){if(e=s(t),e!==null)return e;e=null}else if(n===31){if(e=c(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return hp=e,null}function _p(e){switch(e){case`beforetoggle`:case`cancel`:case`click`:case`close`:case`contextmenu`:case`copy`:case`cut`:case`auxclick`:case`dblclick`:case`dragend`:case`dragstart`:case`drop`:case`focusin`:case`focusout`:case`input`:case`invalid`:case`keydown`:case`keypress`:case`keyup`:case`mousedown`:case`mouseup`:case`paste`:case`pause`:case`play`:case`pointercancel`:case`pointerdown`:case`pointerup`:case`ratechange`:case`reset`:case`resize`:case`seeked`:case`submit`:case`toggle`:case`touchcancel`:case`touchend`:case`touchstart`:case`volumechange`:case`change`:case`selectionchange`:case`textInput`:case`compositionstart`:case`compositionend`:case`compositionupdate`:case`beforeblur`:case`afterblur`:case`beforeinput`:case`blur`:case`fullscreenchange`:case`focus`:case`hashchange`:case`popstate`:case`select`:case`selectstart`:return 2;case`drag`:case`dragenter`:case`dragexit`:case`dragleave`:case`dragover`:case`mousemove`:case`mouseout`:case`mouseover`:case`pointermove`:case`pointerout`:case`pointerover`:case`scroll`:case`touchmove`:case`wheel`:case`mouseenter`:case`mouseleave`:case`pointerenter`:case`pointerleave`:return 8;case`message`:switch(G()){case be:return 2;case xe:return 8;case Se:case Ce:return 32;case we:return 268435456;default:return 32}default:return 32}}var vp=!1,yp=null,bp=null,xp=null,Sp=new Map,Cp=new Map,wp=[],Tp=`mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset`.split(` `);function Ep(e,t){switch(e){case`focusin`:case`focusout`:yp=null;break;case`dragenter`:case`dragleave`:bp=null;break;case`mouseover`:case`mouseout`:xp=null;break;case`pointerover`:case`pointerout`:Sp.delete(t.pointerId);break;case`gotpointercapture`:case`lostpointercapture`:Cp.delete(t.pointerId)}}function Dp(e,t,n,r,i,a){return e===null||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},t!==null&&(t=ct(t),t!==null&&cp(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Op(e,t,n,r,i){switch(t){case`focusin`:return yp=Dp(yp,e,t,n,r,i),!0;case`dragenter`:return bp=Dp(bp,e,t,n,r,i),!0;case`mouseover`:return xp=Dp(xp,e,t,n,r,i),!0;case`pointerover`:var a=i.pointerId;return Sp.set(a,Dp(Sp.get(a)||null,e,t,n,r,i)),!0;case`gotpointercapture`:return a=i.pointerId,Cp.set(a,Dp(Cp.get(a)||null,e,t,n,r,i)),!0}return!1}function kp(e){var t=st(e.target);if(t!==null){var n=o(t);if(n!==null){if(t=n.tag,t===13){if(t=s(n),t!==null){e.blockedOn=t,Xe(e.priority,function(){lp(n)});return}}else if(t===31){if(t=c(n),t!==null){e.blockedOn=t,Xe(e.priority,function(){lp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Ap(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=mp(e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Kt=r,n.target.dispatchEvent(r),Kt=null}else return t=ct(n),t!==null&&cp(t),e.blockedOn=n,!1;t.shift()}return!0}function Z(e,t,n){Ap(e)&&n.delete(t)}function jp(){vp=!1,yp!==null&&Ap(yp)&&(yp=null),bp!==null&&Ap(bp)&&(bp=null),xp!==null&&Ap(xp)&&(xp=null),Sp.forEach(Z),Cp.forEach(Z)}function Mp(e,n){e.blockedOn===n&&(e.blockedOn=null,vp||(vp=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,jp)))}var Np=null;function Pp(e){Np!==e&&(Np=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Np===e&&(Np=null);for(var t=0;t<e.length;t+=3){var n=e[t],r=e[t+1],i=e[t+2];if(typeof r!=`function`){if(gp(r||n)===null)continue;break}var a=ct(n);a!==null&&(e.splice(t,3),t-=3,ys(a,{pending:!0,data:i,method:n.method,action:r},r,i))}}))}function Fp(e){function t(t){return Mp(t,e)}yp!==null&&Mp(yp,e),bp!==null&&Mp(bp,e),xp!==null&&Mp(xp,e),Sp.forEach(t),Cp.forEach(t);for(var n=0;n<wp.length;n++){var r=wp[n];r.blockedOn===e&&(r.blockedOn=null)}for(;0<wp.length&&(n=wp[0],n.blockedOn===null);)kp(n),n.blockedOn===null&&wp.shift();if(n=(e.ownerDocument||e).$$reactFormReplay,n!=null)for(r=0;r<n.length;r+=3){var i=n[r],a=n[r+1],o=i[$e]||null;if(typeof a==`function`)o||Pp(n);else if(o){var s=null;if(a&&a.hasAttribute(`formAction`)){if(i=a,o=a[$e]||null)s=o.formAction;else if(gp(i)!==null)continue}else s=o.action;typeof s==`function`?n[r+1]=s:(n.splice(r,3),r-=3),Pp(n)}}}function Ip(){function e(e){e.canIntercept&&e.info===`react-transition`&&e.intercept({handler:function(){return new Promise(function(e){return i=e})},focusReset:`manual`,scroll:`manual`})}function t(){i!==null&&(i(),i=null),r||setTimeout(n,20)}function n(){if(!r&&!navigation.transition){var e=navigation.currentEntry;e&&e.url!=null&&navigation.navigate(e.url,{state:e.getState(),info:`react-transition`,history:`replace`})}}if(typeof navigation==`object`){var r=!1,i=null;return navigation.addEventListener(`navigate`,e),navigation.addEventListener(`navigatesuccess`,t),navigation.addEventListener(`navigateerror`,t),setTimeout(n,100),function(){r=!0,navigation.removeEventListener(`navigate`,e),navigation.removeEventListener(`navigatesuccess`,t),navigation.removeEventListener(`navigateerror`,t),i!==null&&(i(),i=null)}}}function Lp(e){this._internalRoot=e}Rp.prototype.render=Lp.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));var n=t.current;ap(n,pu(),e,t,null,null)},Rp.prototype.unmount=Lp.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;ap(e.current,2,null,e,null,null),bu(),t[et]=null}};function Rp(e){this._internalRoot=e}Rp.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ye();e={blockedOn:null,target:e,priority:t};for(var n=0;n<wp.length&&t!==0&&t<wp[n].priority;n++);wp.splice(n,0,e),n===0&&kp(e)}};var zp=n.version;if(zp!==`19.2.5`)throw Error(i(527,zp,`19.2.5`));I.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render==`function`?Error(i(188)):(e=Object.keys(e).join(`,`),Error(i(268,e)));return e=u(t),e=e===null?null:f(e),e=e===null?null:e.stateNode,e};var Bp={bundleType:0,version:`19.2.5`,rendererPackageName:`react-dom`,currentDispatcherRef:F,reconcilerVersion:`19.2.5`};
9if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<`u`){var Vp=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vp.isDisabled&&Vp.supportsFiber)try{K=Vp.inject(Bp),De=Vp}catch{}}e.createRoot=function(e,t){if(!a(e))throw Error(i(299));var n=!1,r=``,o=Hs,s=Us,c=Ws;return t!=null&&(!0===t.unstable_strictMode&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(s=t.onCaughtError),t.onRecoverableError!==void 0&&(c=t.onRecoverableError)),t=rp(e,1,!1,null,null,n,r,null,o,s,c,Ip),e[et]=t.current,wd(e),new Lp(t)}})),_=o(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=g()})),v=l(d(),1),y=_(),b=`modulepreload`,x=function(e){return`/`+e},S={},C=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=x(t,n),t in S)return;S[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:b,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},w=`popstate`;function T(e){return typeof e==`object`&&!!e&&`pathname`in e&&`search`in e&&`hash`in e&&`state`in e&&`key`in e}function E(e={}){function t(e,t){let n=t.state?.masked,{pathname:r,search:i,hash:a}=n||e.location;return j(``,{pathname:r,search:i,hash:a},t.state&&t.state.usr||null,t.state&&t.state.key||`default`,n?{pathname:e.location.pathname,search:e.location.search,hash:e.location.hash}:void 0)}function n(e,t){return typeof t==`string`?t:M(t)}return P(t,n,null,e)}function D(e,t){if(e===!1||e==null)throw Error(t)}function O(e,t){if(!e){typeof console<`u`&&console.warn(t);try{throw Error(t)}catch{}}}function k(){return Math.random().toString(36).substring(2,10)}function A(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.unstable_mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function j(e,t,n=null,r,i){return{pathname:typeof e==`string`?e:e.pathname,search:``,hash:``,...typeof t==`string`?N(t):t,state:n,key:t&&t.key||r||k(),unstable_mask:i}}function M({pathname:e=`/`,search:t=``,hash:n=``}){return t&&t!==`?`&&(e+=t.charAt(0)===`?`?t:`?`+t),n&&n!==`#`&&(e+=n.charAt(0)===`#`?n:`#`+n),e}function N(e){let t={};if(e){let n=e.indexOf(`#`);n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(`?`);r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function P(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,o=i.history,s=`POP`,c=null,l=u();l??(l=0,o.replaceState({...o.state,idx:l},``));function u(){return(o.state||{idx:null}).idx}function d(){s=`POP`;let e=u(),t=e==null?null:e-l;l=e,c&&c({action:s,location:h.location,delta:t})}function f(e,t){s=`PUSH`;let r=T(e)?e:j(h.location,e,t);n&&n(r,e),l=u()+1;let d=A(r,l),f=h.createHref(r.unstable_mask||r);try{o.pushState(d,``,f)}catch(e){if(e instanceof DOMException&&e.name===`DataCloneError`)throw e;i.location.assign(f)}a&&c&&c({action:s,location:h.location,delta:1})}function p(e,t){s=`REPLACE`;let r=T(e)?e:j(h.location,e,t);n&&n(r,e),l=u();let i=A(r,l),d=h.createHref(r.unstable_mask||r);o.replaceState(i,``,d),a&&c&&c({action:s,location:h.location,delta:0})}function m(e){return ee(e)}let h={get action(){return s},get location(){return e(i,o)},listen(e){if(c)throw Error(`A history only accepts one active listener`);return i.addEventListener(w,d),c=e,()=>{i.removeEventListener(w,d),c=null}},createHref(e){return t(i,e)},createURL:m,encodeLocation(e){let t=m(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:f,replace:p,go(e){return o.go(e)}};return h}function ee(e,t=!1){let n=`http://localhost`;typeof window<`u`&&(n=window.location.origin===`null`?window.location.href:window.location.origin),D(n,`No window.location.(origin|href) available to create URL`);let r=typeof e==`string`?e:M(e);return r=r.replace(/ $/,`%20`),!t&&r.startsWith(`//`)&&(r=n+r),new URL(r,n)}function F(e,t,n=`/`){return I(e,t,n,!1)}function I(e,t,n,r){let i=V((typeof t==`string`?N(t):t).pathname||`/`,n);if(i==null)return null;let a=ne(e);ie(a);let o=null;for(let e=0;o==null&&e<a.length;++e){let t=pe(i);o=ue(a[e],t,r)}return o}function te(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],loaderData:t[n.id],handle:n.handle}}function ne(e,t=[],n=[],r=``,i=!1){let a=(e,a,o=i,s)=>{let c={relativePath:s===void 0?e.path||``:s,caseSensitive:e.caseSensitive===!0,childrenIndex:a,route:e};if(c.relativePath.startsWith(`/`)){if(!c.relativePath.startsWith(r)&&o)return;D(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}
9" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let l=W([r,c.relativePath]),u=n.concat(c);e.children&&e.children.length>0&&(D(e.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${l}".`),ne(e.children,t,u,l,o)),!(e.path==null&&!e.index)&&t.push({path:l,score:le(l,e.index),routesMeta:u})};return e.forEach((e,t)=>{if(e.path===``||!e.path?.includes(`?`))a(e,t);else for(let n of re(e.path))a(e,t,!0,n)}),t}function re(e){let t=e.split(`/`);if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(`?`),a=n.replace(/\?$/,``);if(r.length===0)return i?[a,``]:[a];let o=re(r.join(`/`)),s=[];return s.push(...o.map(e=>e===``?a:[a,e].join(`/`))),i&&s.push(...o),s.map(t=>e.startsWith(`/`)&&t===``?`/`:t)}function ie(e){e.sort((e,t)=>e.score===t.score?B(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)):t.score-e.score)}var L=/^:[\w-]+$/,R=3,ae=2,oe=1,se=10,z=-2,ce=e=>e===`*`;function le(e,t){let n=e.split(`/`),r=n.length;return n.some(ce)&&(r+=z),t&&(r+=ae),n.filter(e=>!ce(e)).reduce((e,t)=>e+(L.test(t)?R:t===``?oe:se),r)}function B(e,t){return e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n])?e[e.length-1]-t[t.length-1]:0}function ue(e,t,n=!1){let{routesMeta:r}=e,i={},a=`/`,o=[];for(let e=0;e<r.length;++e){let s=r[e],c=e===r.length-1,l=a===`/`?t:t.slice(a.length)||`/`,u=de({path:s.relativePath,caseSensitive:s.caseSensitive,end:c},l),d=s.route;if(!u&&c&&n&&!r[r.length-1].route.index&&(u=de({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},l)),!u)return null;
9Object.assign(i,u.params),o.push({params:i,pathname:W([a,u.pathname]),pathnameBase:be(W([a,u.pathnameBase])),route:d}),u.pathnameBase!==`/`&&(a=W([a,u.pathnameBase]))}return o}function de(e,t){typeof e==`string`&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=fe(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,`$1`),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if(t===`*`){let e=s[r]||``;o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,`$1`)}let i=s[r];return n&&!i?e[t]=void 0:e[t]=(i||``).replace(/%2F/g,`/`),e},{}),pathname:a,pathnameBase:o,pattern:e}}function fe(e,t=!1,n=!0){O(e===`*`||!e.endsWith(`*`)||e.endsWith(`/*`),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,`/*`)}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,`/*`)}".`);let r=[],i=`^`+e.replace(/\/*\*?$/,``).replace(/^\/*/,`/`).replace(/[\\.*+^${}|()[\]]/g,`\\$&`).replace(/\/:([\w-]+)(\?)?/g,(e,t,n,i,a)=>{if(r.push({paramName:t,isOptional:n!=null}),n){let t=a.charAt(i+e.length);return t&&t!==`/`?`/([^\\/]*)`:`(?:/([^\\/]*))?`}return`/([^\\/]+)`}).replace(/\/([\w-]+)\?(\/|$)/g,`(/$1)?$2`);return e.endsWith(`*`)?(r.push({paramName:`*`}),i+=e===`*`||e===`/*`?`(.*)$`:`(?:\\/(.+)|\\/*)$`):n?i+=`\\/*$`:e!==``&&e!==`/`&&(i+=`(?:(?=\\/|$))`),[new RegExp(i,t?void 0:`i`),r]}function pe(e){try{return e.split(`/`).map(e=>decodeURIComponent(e).replace(/\//g,`%2F`)).join(`/`)}catch(t){return O(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function V(e,t){if(t===`/`)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(`/`)?t.length-1:t.length,r=e.charAt(n);return r&&r!==`/`?null:e.slice(n)||`/`}var me=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function he(e,t=`/`){let{pathname:n,search:r=``,hash:i=``}=typeof e==`string`?N(e):e,a;return n?(n=ye(n),a=n.startsWith(`/`)?ge(n.substring(1),`/`):ge(n,t)):a=t,{pathname:a,search:xe(r),hash:Se(i)}}function ge(e,t){let n=G(t).split(`/`);return e.split(`/`).forEach(e=>{e===`..`?n.length>1&&n.pop():e!==`.`&&n.push(e)}),n.length>1?n.join(`/`):`/`}function _e(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function H(e){return e.filter((e,t)=>t===0||e.route.path&&e.route.path.length>0)}function ve(e){let t=H(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function U(e,t,n,r=!1){let i;typeof e==`string`?i=N(e):(i={...e},D(!i.pathname||!i.pathname.includes(`?`),_e(`?`,`pathname`,`search`,i)),D(!i.pathname||!i.pathname.includes(`#`),_e(`#`,`pathname`,`hash`,i)),D(!i.search||!i.search.includes(`#`),_e(`#`,`search`,`hash`,i)));let a=e===``||i.pathname===``,o=a?`/`:i.pathname,s;if(o==null)s=n;else{let e=t.length-1;if(!r&&o.startsWith(`..`)){let t=o.split(`/`);for(;t[0]===`..`;)t.shift(),--e;i.pathname=t.join(`/`)}s=e>=0?t[e]:`/`}let c=he(i,s),l=o&&o!==`/`&&o.endsWith(`/`),u=(a||o===`.`)&&n.endsWith(`/`);return!c.pathname.endsWith(`/`)&&(l||u)&&(c.pathname+=`/`),c}var ye=e=>e.replace(/\/\/+/g,`/`),W=e=>ye(e.join(`/`)),G=e=>e.replace(/\/+$/,``),be=e=>G(e).replace(/^\/*/,`/`),xe=e=>!e||e===`?`?``:e.startsWith(`?`)?e:`?`+e,Se=e=>!e||e===`#`?``:e.startsWith(`#`)?e:`#`+e,Ce=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||``,this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function we(e){return e!=null&&typeof e.status==`number`&&typeof e.statusText==`string`&&typeof e.internal==`boolean`&&`data`in e}function Te(e){return W(e.map(e=>e.route.path).filter(Boolean))||`/`}var Ee=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;function K(e,t){let n=e;if(typeof n!=`string`||!me.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if(Ee)try{let e=new URL(window.location.href),r=n.startsWith(`//`)?new URL(e.protocol+n):new URL(n),a=V(r.pathname,t);r.origin===e.origin&&a!=null?n=a+r.search+r.hash:i=!0}catch{O(!1,`<Link to="${n}">
9 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var De=[`POST`,`PUT`,`PATCH`,`DELETE`];new Set(De);var Oe=[`GET`,...De];new Set(Oe);var ke=v.createContext(null);ke.displayName=`DataRouter`;var Ae=v.createContext(null);Ae.displayName=`DataRouterState`;var je=v.createContext(!1);function Me(){return v.useContext(je)}var Ne=v.createContext({isTransitioning:!1});Ne.displayName=`ViewTransition`;var Pe=v.createContext(new Map);Pe.displayName=`Fetchers`;var Fe=v.createContext(null);Fe.displayName=`Await`;var Ie=v.createContext(null);Ie.displayName=`Navigation`;var Le=v.createContext(null);Le.displayName=`Location`;var Re=v.createContext({outlet:null,matches:[],isDataRoute:!1});Re.displayName=`Route`;var ze=v.createContext(null);ze.displayName=`RouteError`;var Be=`REACT_ROUTER_ERROR`,Ve=`REDIRECT`,He=`ROUTE_ERROR_RESPONSE`;function Ue(e){if(e.startsWith(`${Be}:${Ve}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`&&typeof t.location==`string`&&typeof t.reloadDocument==`boolean`&&typeof t.replace==`boolean`)return t}catch{}}function We(e){if(e.startsWith(`${Be}:${He}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t==`object`&&t&&typeof t.status==`number`&&typeof t.statusText==`string`)return new Ce(t.status,t.statusText,t.data)}catch{}}function Ge(e,{relative:t}={}){D(Ke(),`useHref() may be used only in the context of a <Router> component.`);let{basename:n,navigator:r}=v.useContext(Ie),{hash:i,pathname:a,search:o}=Qe(e,{relative:t}),s=a;return n!==`/`&&(s=a===`/`?n:W([n,a])),r.createHref({pathname:s,search:o,hash:i})}function Ke(){return v.useContext(Le)!=null}function qe(){return D(Ke(),`useLocation() may be used only in the context of a <Router> component.`),v.useContext(Le).location}var Je=`You should call navigate() in a React.useEffect(), not when your component is first rendered.`;function Ye(e){v.useContext(Ie).static||v.useLayoutEffect(e)}function Xe(){let{isDataRoute:e}=v.useContext(Re);return e?_t():Ze()}function Ze(){D(Ke(),`useNavigate() may be used only in the context of a <Router> component.`);let e=v.useContext(ke),{basename:t,navigator:n}=v.useContext(Ie),{matches:r}=v.useContext(Re),{pathname:i}=qe(),a=JSON.stringify(ve(r)),o=v.useRef(!1);return Ye(()=>{o.current=!0}),v.useCallback((r,s={})=>{if(O(o.current,Je),!o.current)return;if(typeof r==`number`){n.go(r);return}let c=U(r,JSON.parse(a),i,s.relative===`path`);e==null&&t!==`/`&&(c.pathname=c.pathname===`/`?t:W([t,c.pathname])),(s.replace?n.replace:n.push)(c,s.state,s)},[t,n,a,i,e])}v.createContext(null);function Qe(e,{relative:t}={}){let{matches:n}=v.useContext(Re),{pathname:r}=qe(),i=JSON.stringify(ve(n));return v.useMemo(()=>U(e,JSON.parse(i),r,t===`path`),[e,i,r,t])}function $e(e,t){return et(e,t)}function et(e,t,n){D(Ke(),`useRoutes() may be used only in the context of a <Router> component.`);let{navigator:r}=v.useContext(Ie),{matches:i}=v.useContext(Re),a=i[i.length-1],o=a?a.params:{},s=a?a.pathname:`/`,c=a?a.pathnameBase:`/`,l=a&&a.route;{let e=l&&l.path||``;yt(s,!l||e.endsWith(`*`)||e.endsWith(`*?`),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 10 11Please change the parent <Route path="${e}"> to <Route path="${e===`/`?`*`:`${e}/*`}">.`)}let u=qe(),d;if(t){let e=typeof t==`string`?N(t):t;D(c===`/`||e.pathname?.startsWith(c),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${c}" but pathname "${e.pathname}" was given in the \`location\` prop.`),d=e}else d=u;let f=d.pathname||`/`,p=f;if(c!==`/`){let e=c.replace(/^\//,``).split(`/`);p=`/`+f.replace(/^\//,``).split(`/`).slice(e.length).join(`/`)}let m=F(e,{pathname:p});O(l||m!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),O(m==null||m[m.length-1].route.element!==void 0||m[m.length-1].route.Component!==void 0||m[m.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let h=st(m&&m.map(e=>Object.assign({},e,{params:Object.assign({},o,e.params),pathname:W([c,r.encodeLocation?r.encodeLocation(e.pathname.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathname]),pathnameBase:e.pathnameBase===`/`?c:W([c,r.encodeLocation?r.encodeLocation(e.pathnameBase.replace(/%/g,`%25`).replace(/\?/g,`%3F`).replace(/#/g,`%23`)).pathname:e.pathnameBase])})),i,n);return t&&h?v.createElement(Le.Provider,{value:{location:{pathname:`/`,search:``,hash:``,state:null,key:`default`,unstable_mask:void 0,...d},navigationType:`POP`}},h):h}function tt(){let e=gt(),t=we(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=`rgba(200,200,200, 0.5)`,i={padding:`0.5rem`,backgroundColor:r},a={padding:`2px 4px`,backgroundColor:r},o=null;return console.error(`Error handled by React Router default ErrorBoundary:`,e),o=v.createElement(v.Fragment,null,v.createElement(`p`,null,`ð¿ Hey developer ð`),v.createElement(`p`,null,`You can provide a way better UX than this when your app throws errors by providing your own `,v.createElement(`code`,{style:a},`ErrorBoundary`),` or`,` `,v.createElement(`code`,{style:a},`errorElement`),` prop on your route.`)),v.createElement(v.Fragment,null,v.createElement(`h2`,null,`Unexpected Application
11Error!`),v.createElement(`h3`,{style:{fontStyle:`italic`}},t),n?v.createElement(`pre`,{style:i},n):null,o)}var nt=v.createElement(tt,null),rt=class extends v.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==`idle`&&e.revalidation===`idle`?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error===void 0?t.error:e.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error(`React Router caught the following error during render`,e)}render(){let e=this.state.error;if(this.context&&typeof e==`object`&&e&&`digest`in e&&typeof e.digest==`string`){let t=We(e.digest);t&&(e=t)}let t=e===void 0?this.props.children:v.createElement(Re.Provider,{value:this.props.routeContext},v.createElement(ze.Provider,{value:e,children:this.props.component}));return this.context?v.createElement(at,{error:e},t):t}};rt.contextType=je;var it=new WeakMap;function at({children:e,error:t}){let{basename:n}=v.useContext(Ie);if(typeof t==`object`&&t&&`digest`in t&&typeof t.digest==`string`){let e=Ue(t.digest);if(e){let r=it.get(t);if(r)throw r;let i=K(e.location,n);if(Ee&&!it.get(t))if(i.isExternal||e.reloadDocument)window.location.href=i.absoluteURL||i.to;else{let n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:e.replace}));throw it.set(t,n),n}return v.createElement(`meta`,{httpEquiv:`refresh`,content:`0;url=${i.absoluteURL||i.to}`})}}return e}function ot({routeContext:e,match:t,children:n}){let r=v.useContext(ke);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),v.createElement(Re.Provider,{value:e},n)}function st(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let i=e,a=r?.errors;if(a!=null){let e=i.findIndex(e=>e.route.id&&a?.[e.route.id]!==void 0);D(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(a).join(`,`)}`),i=i.slice(0,Math.min(i.length,e+1))}let o=!1,s=-1;if(n&&r){o=r.renderFallback;for(let e=0;e<i.length;e++){let t=i[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:a}=r,c=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!a||a[t.route.id]===void 0);if(t.route.lazy||c){n.isStatic&&(o=!0),i=s>=0?i.slice(0,s+1):[i[0]];break}}}}let c=n?.onError,l=r&&c?(e,t)=>{c(e,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:Te(r.matches),errorInfo:t})}:void 0;return i.reduceRight((e,n,c)=>{let u,d=!1,f=null,p=null;r&&(u=a&&n.route.id?a[n.route.id]:void 0,f=n.route.errorElement||nt,o&&(s<0&&c===0?(yt(`route-fallback`,!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,p=null):s===c&&(d=!0,p=n.route.hydrateFallbackElement||null)));let m=t.concat(i.slice(0,c+1)),h=()=>{let t;return t=u?f:d?p:n.route.Component?v.createElement(n.route.Component,null):n.route.element?n.route.element:e,v.createElement(ot,{match:n,routeContext:{outlet:e,matches:m,isDataRoute:r!=null},children:t})};return r&&(n.route.ErrorBoundary||n.route.errorElement||c===0)?v.createElement(rt,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:l}):h()},null)}function ct(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function lt(e){let t=v.useContext(ke);return D(t,ct(e)),t}function ut(e){let t=v.useContext(Ae);return D(t,ct(e)),t}function dt(e){let t=v.useContext(Re);return D(t,ct(e)),t}function ft(e){let t=dt(e),n=t.matches[t.matches.length-1];return D(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function pt(){return ft(`useRouteId`)}function mt(){return ut(`useNavigation`).navigation}function ht(){let{matches:e,loaderData:t}=ut(`useMatches`);return v.useMemo(()=>e.map(e=>te(e,t)),[e,t])}function gt(){let e=v.useContext(ze),t=ut(`useRouteError`),n=ft(`useRouteError`);return e===void 0?t.errors?.[n]:e}function _t(){let{router:e}=lt(`useNavigate`),t=ft(`useNavigate`),n=v.useRef(!1);return Ye(()=>{n.current=!0}),v.useCallback(async(r,i={})=>{O(n.current,Je),n.current&&(typeof r==`number`?await e.navigate(r):await e.navigate(r,{fromRouteId:t,...i}))},[e,t])}var vt={};function yt(e,t,n){!t&&!vt[e]&&(vt[e]=!0,O(!1,n))}v.memo(bt);function bt({routes:e,future:t,state:n,isStatic:r,onError:i}){return et(e,void 0,{state:n,isStatic:r,onError:i,future:t})}function xt(e){D(!1,`A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.`)}function St({basename:e=`/`,children:t=null,location:n,navigationType:r=`POP`,navigator:i,static:a=!1,unstable_useTransitions:o}){D(!Ke(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let s=e.replace(/^\/*/,`/`),c=v.useMemo(()=>({basename:s,navigator:i,static:a,unstable_useTransitions:o,future:{}}),[s,i,a,o]);typeof n==`string`&&(n=N(n));let{pathname:l=`/`,search:u=``,hash:d=``,state:f=null,key:p=`default`,unstable_mask:m}=n,h=v.useMemo(()=>{let e=V(l,s);return e==null?null:{location:{pathname:e,search:u,hash:d,state:f,key:p,unstable_mask:m},navigationType:r}},[s,l,u,d,f,p,r,m]);
11return O(h!=null,`<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`),h==null?null:v.createElement(Ie.Provider,{value:c},v.createElement(Le.Provider,{children:t,value:h}))}function Ct({children:e,location:t}){return $e(wt(e),t)}v.Component;function wt(e,t=[]){let n=[];return v.Children.forEach(e,(e,r)=>{if(!v.isValidElement(e))return;let i=[...t,r];if(e.type===v.Fragment){n.push.apply(n,wt(e.props.children,i));return}D(e.type===xt,`[${typeof e.type==`string`?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),D(!e.props.index||!e.props.children,`An index route cannot have child routes.`);let a={id:e.props.id||i.join(`-`),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:e.props.hasErrorBoundary===!0||e.props.ErrorBoundary!=null||e.props.errorElement!=null,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=wt(e.props.children,i)),n.push(a)}),n}var Tt=`get`,Et=`application/x-www-form-urlencoded`;function Dt(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function Ot(e){return Dt(e)&&e.tagName.toLowerCase()===`button`}function kt(e){return Dt(e)&&e.tagName.toLowerCase()===`form`}function At(e){return Dt(e)&&e.tagName.toLowerCase()===`input`}function jt(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Mt(e,t){return e.button===0&&(!t||t===`_self`)&&!jt(e)}function Nt(e=``){return new URLSearchParams(typeof e==`string`||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(e=>[n,e]):[[n,r]])},[]))}function Pt(e,t){let n=Nt(e);return t&&t.forEach((e,r)=>{n.has(r)||t.getAll(r).forEach(e=>{n.append(r,e)})}),n}var Ft=null;function It(){if(Ft===null)try{new FormData(document.createElement(`form`),0),Ft=!1}catch{Ft=!0}return Ft}var Lt=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function Rt(e){return e!=null&&!Lt.has(e)?(O(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Et}"`),null):e}function zt(e,t){let n,r,i,a,o;if(kt(e)){let o=e.getAttribute(`action`);r=o?V(o,t):null,n=e.getAttribute(`method`)||Tt,i=Rt(e.getAttribute(`enctype`))||Et,a=new FormData(e)}else if(Ot(e)||At(e)&&(e.type===`submit`||e.type===`image`)){let o=e.form;if(o==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let s=e.getAttribute(`formaction`)||o.getAttribute(`action`);if(r=s?V(s,t):null,n=e.getAttribute(`formmethod`)||o.getAttribute(`method`)||Tt,i=Rt(e.getAttribute(`formenctype`))||Rt(o.getAttribute(`enctype`))||Et,a=new FormData(o,e),!It()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?`${t}.`:``;a.append(`${e}x`,`0`),a.append(`${e}y`,`0`)}else t&&a.append(t,r)}}else if(Dt(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=Tt,r=null,i=Et,o=e;return a&&i===`text/plain`&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}Object.getOwnPropertyNames(Object.prototype).sort().join(`\0`);var Bt={"&":`\\u0026`,">":`\\u003e`,"<":`\\u003c`,"\u2028":`\\u2028`,"\u2029":`\\u2029`},Vt=/[&><\u2028\u2029]/g;function Ht(e){return e.replace(Vt,e=>Bt[e])}function Ut(e,t){if(e===!1||e==null)throw Error(t)}function Wt(e,t,n,r){let i=typeof e==`string`?new URL(e,typeof window>`u`?`server://singlefetch/`:window.location.origin):e;return n?i.pathname.endsWith(`/`)?i.pathname=`${i.pathname}_.${r}`:i.pathname=`${i.pathname}.${r}`:i.pathname===`/`?i.pathname=`_root.${r}`:t&&V(i.pathname,t)===`/`?i.pathname=`${G(t)}/_root.${r}`:i.pathname=`${G(i.pathname)}.${r}`,i}async function Gt(e,t){if(e.id in t)return t[e.id];try{let n=await C(()=>import(e.module),[]);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.
11isSpaMode,window.location.reload(),new Promise(()=>{})}}function Kt(e){return e!=null&&typeof e.page==`string`}function qt(e){return e==null?!1:e.href==null?e.rel===`preload`&&typeof e.imageSrcSet==`string`&&typeof e.imageSizes==`string`:typeof e.rel==`string`&&typeof e.href==`string`}async function Jt(e,t,n){return $t((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await Gt(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(qt).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function Yt(e,t,n,r,i,a){let o=(e,t)=>n[t]?e.route.id!==n[t].route.id:!0,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith(`*`)&&n[t].params[`*`]!==e.params[`*`];return a===`assets`?t.filter((e,t)=>o(e,t)||s(e,t)):a===`data`?t.filter((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if(typeof r==`boolean`)return r}return!0}):[]}function Xt(e,t,{includeHydrateFallback:n}={}){return Zt(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1))}function Zt(e){return[...new Set(e)]}function Qt(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function $t(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!Kt(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(Qt(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function en(){let e=v.useContext(ke);return Ut(e,`You must render this element inside a <DataRouterContext.Provider> element`),e}function tn(){let e=v.useContext(Ae);return Ut(e,`You must render this element inside a <DataRouterStateContext.Provider> element`),e}var nn=v.createContext(void 0);nn.displayName=`FrameworkContext`;function rn(){let e=v.useContext(nn);return Ut(e,`You must render this element inside a <HydratedRouter> element`),e}function an(e,t){let n=v.useContext(nn),[r,i]=v.useState(!1),[a,o]=v.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=v.useRef(null);v.useEffect(()=>{if(e===`render`&&o(!0),e===`viewport`){let e=new IntersectionObserver(e=>{e.forEach(e=>{o(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),v.useEffect(()=>{if(r){let e=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{i(!0)},m=()=>{i(!1),o(!1)};return n?e===`intent`?[a,f,{onFocus:on(s,p),onBlur:on(c,m),onMouseEnter:on(l,p),onMouseLeave:on(u,m),onTouchStart:on(d,p)}]:[a,f,{}]:[!1,f,{}]}function on(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function sn({page:e,...t}){let n=Me(),{router:r}=en(),i=v.useMemo(()=>F(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?n?v.createElement(ln,{page:e,matches:i,...t}):v.createElement(un,{page:e,matches:i,...t}):null}function cn(e){let{manifest:t,routeModules:n}=rn(),[r,i]=v.useState([]);return v.useEffect(()=>{let r=!1;return Jt(e,t,n).then(e=>{r||i(e)}),()=>{r=!0}},[e,t,n]),r}function ln({page:e,matches:t,...n}){let r=qe(),{future:i}=rn(),{basename:a}=en(),o=v.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=Wt(e,a,i.unstable_trailingSlashAwareDataRequests,`rsc`),o=!1,s=[];for(let e of t)typeof e.route.shouldRevalidate==`function`?o=!0:s.push(e.route.id);return o&&s.length>0&&n.searchParams.set(`_routes`,s.join(`,`)),[n.pathname+n.search]},[a,i.unstable_trailingSlashAwareDataRequests,e,r,t]);return v.createElement(v.Fragment,null,o.map(e=>v.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function un({page:e,matches:t,...n}){let r=qe(),{future:i,manifest:a,routeModules:o}=rn(),{basename:s}=en(),{loaderData:c,matches:l}=tn(),u=v.useMemo(()=>Yt(e,t,l,a,r,`data`),[e,t,l,a,r]),d=v.useMemo(()=>Yt(e,t,l,a,r,`assets`),[e,t,l,a,r]),f=v.useMemo(()=>
11{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,l=!1;if(t.forEach(e=>{let t=a.routes[e.route.id];!t||!t.hasLoader||(!u.some(t=>t.route.id===e.route.id)&&e.route.id in c&&o[e.route.id]?.shouldRevalidate||t.hasClientLoader?l=!0:n.add(e.route.id))}),n.size===0)return[];let d=Wt(e,s,i.unstable_trailingSlashAwareDataRequests,`data`);return l&&n.size>0&&d.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[d.pathname+d.search]},[s,i.unstable_trailingSlashAwareDataRequests,c,r,a,u,t,e,o]),p=v.useMemo(()=>Xt(d,a),[d,a]),m=cn(d);return v.createElement(v.Fragment,null,f.map(e=>v.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),p.map(e=>v.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),m.map(({key:e,link:t})=>v.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function dn(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}v.Component;var fn=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{fn&&(window.__reactRouterVersion=`7.14.2`)}catch{}function pn({basename:e,children:t,unstable_useTransitions:n,window:r}){let i=v.useRef();i.current??=E({window:r,v5Compat:!0});let a=i.current,[o,s]=v.useState({action:a.action,location:a.location}),c=v.useCallback(e=>{n===!1?s(e):v.startTransition(()=>s(e))},[n]);return v.useLayoutEffect(()=>a.listen(c),[a,c]),v.createElement(St,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a,unstable_useTransitions:n})}function mn({basename:e,children:t,history:n,unstable_useTransitions:r}){let[i,a]=v.useState({action:n.action,location:n.location}),o=v.useCallback(e=>{r===!1?a(e):v.startTransition(()=>a(e))},[r]);return v.useLayoutEffect(()=>n.listen(o),[n,o]),v.createElement(St,{basename:e,children:t,location:i.location,navigationType:i.action,navigator:n,unstable_useTransitions:r})}mn.displayName=`unstable_HistoryRouter`;var hn=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,gn=v.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:a,unstable_mask:o,state:s,target:c,to:l,preventScrollReset:u,viewTransition:d,unstable_defaultShouldRevalidate:f,...p},m){let{basename:h,navigator:g,unstable_useTransitions:_}=v.useContext(Ie),y=typeof l==`string`&&hn.test(l),b=K(l,h);l=b.to;let x=Ge(l,{relative:r}),S=qe(),C=null;if(o){let e=U(o,[],S.unstable_mask?S.unstable_mask.pathname:`/`,!0);h!==`/`&&(e.pathname=e.pathname===`/`?h:W([h,e.pathname])),C=g.createHref(e)}let[w,T,E]=an(n,p),D=Cn(l,{replace:a,unstable_mask:o,state:s,target:c,preventScrollReset:u,relative:r,viewTransition:d,unstable_defaultShouldRevalidate:f,unstable_useTransitions:_});function O(t){e&&e(t),t.defaultPrevented||D(t)}let k=!(b.isExternal||i),A=v.createElement(`a`,{...p,...E,href:(k?C:void 0)||b.absoluteURL||x,onClick:k?O:e,ref:dn(m,T),target:c,"data-discover":!y&&t===`render`?`true`:void 0});return w&&!y?v.createElement(v.Fragment,null,A,v.createElement(sn,{page:x})):A});gn.displayName=`Link`;var _n=v.forwardRef(function({"aria-current":e=`page`,caseSensitive:t=!1,className:n=``,end:r=!1,style:i,to:a,viewTransition:o,children:s,...c},l){let u=Qe(a,{relative:c.relative}),d=qe(),f=v.useContext(Ae),{navigator:p,basename:m}=v.useContext(Ie),h=f!=null&&Pn(u)&&o===!0,g=p.encodeLocation?p.encodeLocation(u).pathname:u.pathname,_=d.pathname,y=f&&f.navigation&&f.navigation.location?f.navigation.location.pathname:null;t||(_=_.toLowerCase(),y=y?y.toLowerCase():null,g=g.toLowerCase()),y&&m&&(y=V(y,m)||y);let b=g!==`/`&&g.endsWith(`/`)?g.length-1:g.length,x=_===g||!r&&_.startsWith(g)&&_.charAt(b)===`/`,S=y!=null&&(y===g||!r&&y.startsWith(g)&&y.charAt(g.length)===`/`),C={isActive:x,isPending:S,isTransitioning:h},w=x?e:void 0,T;T=typeof n==`function`?n(C):[n,x?`active`:null,S?`pending`:null,h?`transitioning`:null].filter(Boolean).join(` `);let E=typeof i==`function`?i(C):i;return v.createElement(gn,{...c,"aria-current":w,className:T,ref:l,style:E,to:a,viewTransition:o},typeof s==`function`?s(C):s)});_n.displayName=`NavLink`;var vn=v.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=Tt,action:s,onSubmit:c,relative:l,preventScrollReset:u,viewTransition:d,unstable_defaultShouldRevalidate:f,...p},m)=>{let{unstable_useTransitions:h}=v.useContext(Ie),g=Dn(),_=On(s,{relative:l}),y=o.toLowerCase()===`get`?`get`:`post`,b=typeof s==`string`&&hn.test(s);return v.createElement(`form`,{ref:m,method:y,action:_,onSubmit:r?c:e=>{if(c&&c(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,s=r?.getAttribute(`formmethod`)||o,p=()=>g(r||e.currentTarget,{fetcherKey:t,method:s,navigate:n,replace:i,state:a,relative:l,preventScrollReset:u,viewTransition:d,unstable_defaultShouldRevalidate:f});
11h&&n!==!1?v.startTransition(()=>p()):p()},...p,"data-discover":!b&&e===`render`?`true`:void 0})});vn.displayName=`Form`;function yn({getKey:e,storageKey:t,...n}){let r=v.useContext(nn),{basename:i}=v.useContext(Ie),a=qe(),o=ht();Mn({getKey:e,storageKey:t});let s=v.useMemo(()=>{if(!r||!e)return null;let t=jn(a,o,i,e);return t===a.key?null:t},[]);if(!r||r.isSpaMode)return null;let c=((e,t)=>{if(!window.history.state||!window.history.state.key){let e=Math.random().toString(32).slice(2);window.history.replaceState({key:e},``)}try{let n=JSON.parse(sessionStorage.getItem(e)||`{}`)[t||window.history.state.key];typeof n==`number`&&window.scrollTo(0,n)}catch(t){console.error(t),sessionStorage.removeItem(e)}}).toString();return v.createElement(`script`,{...n,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${c})(${Ht(JSON.stringify(t||kn))}, ${Ht(JSON.stringify(s))})`}})}yn.displayName=`ScrollRestoration`;function bn(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function xn(e){let t=v.useContext(ke);return D(t,bn(e)),t}function Sn(e){let t=v.useContext(Ae);return D(t,bn(e)),t}function Cn(e,{target:t,replace:n,unstable_mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,unstable_defaultShouldRevalidate:c,unstable_useTransitions:l}={}){let u=Xe(),d=qe(),f=Qe(e,{relative:o});return v.useCallback(p=>{if(Mt(p,t)){p.preventDefault();let t=n===void 0?M(d)===M(f):n,m=()=>u(e,{replace:t,unstable_mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,unstable_defaultShouldRevalidate:c});l?v.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}function wn(e){O(typeof URLSearchParams<`u`,"You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=v.useRef(Nt(e)),n=v.useRef(!1),r=qe(),i=v.useMemo(()=>Pt(r.search,n.current?null:t.current),[r.search]),a=Xe();return[i,v.useCallback((e,t)=>{let r=Nt(typeof e==`function`?e(new URLSearchParams(i)):e);n.current=!0,a(`?`+r,t)},[a,i])]}var Tn=0,En=()=>`__${String(++Tn)}__`;function Dn(){let{router:e}=xn(`useSubmit`),{basename:t}=v.useContext(Ie),n=pt(),r=e.fetch,i=e.navigate;return v.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=zt(e,t);a.navigate===!1?await r(a.fetcherKey||En(),n,a.action||o,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync}):await i(a.action||o,{unstable_defaultShouldRevalidate:a.unstable_defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function On(e,{relative:t}={}){let{basename:n}=v.useContext(Ie),r=v.useContext(Re);D(r,`useFormAction must be used inside a RouteContext`);let[i]=r.matches.slice(-1),a={...Qe(e||`.`,{relative:t})},o=qe();if(e==null){a.search=o.search;let e=new URLSearchParams(a.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();a.search=n?`?${n}`:``}}return(!e||e===`.`)&&i.route.index&&(a.search=a.search?a.search.replace(/^\?/,`?index&`):`?index`),n!==`/`&&(a.pathname=a.pathname===`/`?n:W([n,a.pathname])),M(a)}var kn=`react-router-scroll-positions`,An={};function jn(e,t,n,r){let i=null;return r&&(i=r(n===`/`?e:{...e,pathname:V(e.pathname,n)||e.pathname},t)),i??=e.key,i}function Mn({getKey:e,storageKey:t}={}){let{router:n}=xn(`useScrollRestoration`),{restoreScrollPosition:r,preventScrollReset:i}=Sn(`useScrollRestoration`),{basename:a}=v.useContext(Ie),o=qe(),s=ht(),c=mt();v.useEffect(()=>(window.history.scrollRestoration=`manual`,()=>{window.history.scrollRestoration=`auto`}),[]),Nn(v.useCallback(()=>{if(c.state===`idle`){let t=jn(o,s,a,e);An[t]=window.scrollY}try{sessionStorage.setItem(t||kn,JSON.stringify(An))}catch(e){O(!1,`Failed to save scroll positions in sessionStorage, <ScrollRestoration /> will not work properly (${e}).`)}window.history.scrollRestoration=`auto`},[c.state,e,a,o,s,t])),typeof document<`u`&&(v.useLayoutEffect(()=>{try{let e=sessionStorage.getItem(t||kn);e&&(An=JSON.parse(e))}catch{}},[t]),v.useLayoutEffect(()=>{let t=n?.enableScrollRestoration(An,()=>window.scrollY,e?(t,n)=>jn(t,n,a,e):void 0);return()=>t&&t()},[n,a,e]),v.useLayoutEffect(()=>{if(r!==!1){if(typeof r==`number`){window.scrollTo(0,r);return}try{if(o.hash){let e=document.getElementById(decodeURIComponent(o.hash.slice(1)));if(e){e.scrollIntoView();return}}}catch{O(!1,`"${o.hash.slice(1)}" is not a decodable element ID. The view will not scroll to it.`)}i!==!0&&window.scrollTo(0,0)}},[o,r,i]))}function Nn(e,t){let{capture:n}=t||{};v.useEffect(()=>{let t=n==null?void 0:{capture:n};return window.addEventListener(`pagehide`,e,t),()=>{window.removeEventListener(`pagehide`,e,t)}},[e,n])}function Pn(e,{relative:t}={}){let n=v.useContext(Ne);D(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=xn(`useViewTransitionState`),i=Qe(e,{relative:t});if(!n.isTransitioning)return!1;let a=V(n.currentLocation.pathname,r)||n.currentLocation.pathname,o=V(n.nextLocation.pathname,r)||n.nextLocation.pathname;return de(i.pathname,o)!=null||de(i.pathname,a)!=null}function Fn(e){let t,n=`algolia-client-js-${e.key}`;function r(){return t===void 0&&(t=e.localStorage||window.localStorage),t}function i(){return JSON.parse(r().getItem(n)||`{}`)}function a(e){r().setItem(n,JSON.stringify(e))}function o(){let t=e.timeToLive?e.timeToLive*1e3:null,n=i(),r=Object.fromEntries(Object.entries(n).filter(([,e])=>e.timestamp!==void 0));a(r),t&&a(Object.fromEntries(Object.entries(r).filter(([,e])=>{let n=new Date().getTime();return!(e.timestamp+t<n)})))}return{get(e,t,n={miss:()=>Promise.resolve()}){return Promise.resolve().then(()=>(o(),i()[JSON.stringify(e)])).then(e=>Promise.all([e?e.value:t(),e!==void 0])).then(([e,t])=>Promise.all([e,t||n.miss(e)])).then(([e])=>e)},set(e,t){return Promise.resolve().then(()=>{let a=i();return a[JSON.stringify(e)]={timestamp:new Date().getTime(),value:t},r().setItem(n,JSON.stringify(a)),t})},delete(e){return Promise.resolve().then(()=>{let t=i();delete t[JSON.stringify(e)],r().setItem(n,JSON.stringify(t))})},clear(){return Promise.resolve().then(()=>{r().removeItem(n)})}}}function In(){return{get(e,t,n={miss:()=>Promise.resolve()}){return t().then(e=>Promise.all([e,n.miss(e)])).then(([e])=>e)},set(e,t){return Promise.resolve(t)},delete(e){return Promise.resolve()},clear(){return Promise.resolve()}}}function Ln(e){let t=[...e.caches],n=t.shift();return n===void 0?In():{get(e,r,i={miss:()=>Promise.resolve()}){return n.get(e,r,i).catch(()=>Ln({caches:t}).get(e,r,i))},set(e,r){return n.set(e,r).catch(()=>Ln({caches:t}).set(e,r))},delete(e){return n.delete(e).catch(()=>Ln({caches:t}).delete(e))}
11,clear(){return n.clear().catch(()=>Ln({caches:t}).clear())}}}function Rn(e={serializable:!0}){let t={};return{get(n,r,i={miss:()=>Promise.resolve()}){let a=JSON.stringify(n);if(a in t)return Promise.resolve(e.serializable?JSON.parse(t[a]):t[a]);let o=r();return o.then(e=>i.miss(e)).then(()=>o)},set(n,r){return t[JSON.stringify(n)]=e.serializable?JSON.stringify(r):r,Promise.resolve(r)},delete(e){return delete t[JSON.stringify(e)],Promise.resolve()},clear(){return t={},Promise.resolve()}}}function zn(e){let t={value:`Algolia for JavaScript (${e})`,add(e){let n=`; ${e.segment}${e.version===void 0?``:` (${e.version})`}`;return t.value.indexOf(n)===-1&&(t.value=`${t.value}${n}`),t}};return t}function Bn(e,t,n=`WithinHeaders`){let r={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers(){return n===`WithinHeaders`?r:{}},queryParameters(){return n===`WithinQueryParameters`?r:{}}}}function Vn({func:e,validate:t,aggregator:n,error:r,timeout:i=()=>0}){let a=o=>new Promise((s,c)=>{e(o).then(async e=>(n&&await n(e),await t(e)?s(e):r&&await r.validate(e)?c(Error(await r.message(e))):setTimeout(()=>{a(e).then(s).catch(c)},await i()))).catch(e=>{c(e)})});return a()}function Hn({algoliaAgents:e,client:t,version:n}){let r=zn(n).add({segment:t,version:n});return e.forEach(e=>r.add(e)),r}function Un(){return{debug(e,t){return Promise.resolve()},info(e,t){return Promise.resolve()},error(e,t){return Promise.resolve()}}}var Wn=120*1e3;function Gn(e,t=`up`){let n=Date.now();function r(){return t===`up`||Date.now()-n>Wn}function i(){return t===`timed out`&&Date.now()-n<=Wn}return{...e,status:t,lastUpdate:n,isUp:r,isTimedOut:i}}var Kn=class extends Error{name=`AlgoliaError`;constructor(e,t){super(e),t&&(this.name=t)}},qn=class extends Kn{stackTrace;constructor(e,t,n){super(e,n),this.stackTrace=t}},Jn=class extends qn{constructor(e){super(`Unreachable hosts - your application id may be incorrect. If the error persists, please visit our help center https://alg.li/support-unreachable-hosts or reach out to the Algolia Support team: https://alg.li/support`,e,`RetryError`)}},Yn=class extends qn{status;constructor(e,t,n,r=`ApiError`){super(e,n,r),this.status=t}},Xn=class extends Kn{response;constructor(e,t){super(e,`DeserializationError`),this.response=t}},Zn=class extends Yn{error;constructor(e,t,n,r){super(e,t,r,`DetailedApiError`),this.error=n}};function Qn(e){let t=e;for(let n=e.length-1;n>0;n--){let r=Math.floor(Math.random()*(n+1)),i=e[n];t[n]=e[r],t[r]=i}return t}function $n(e,t,n){let r=er(n),i=`${e.protocol}://${e.url}${e.port?`:${e.port}`:``}/${t.charAt(0)===`/`?t.substring(1):t}`;return r.length&&(i+=`?${r}`),i}function er(e){return Object.keys(e).filter(t=>e[t]!==void 0).sort().map(t=>`${t}=${encodeURIComponent(Object.prototype.toString.call(e[t])===`[object Array]`?e[t].join(`,`):e[t]).replace(/\+/g,`%20`)}`).join(`&`)}function tr(e,t){if(e.method===`GET`||e.data===void 0&&t.data===void 0)return;let n=Array.isArray(e.data)?e.data:{...e.data,...t.data};return JSON.stringify(n)}function nr(e,t,n){let r={Accept:`application/json`,...e,...t,...n},i={};return Object.keys(r).forEach(e=>{let t=r[e];i[e.toLowerCase()]=t}),i}function rr(e){try{return JSON.parse(e.content)}catch(t){throw new Xn(t.message,e)}}function ir({content:e,status:t},n){try{let r=JSON.parse(e);return`error`in r?new Zn(r.message,t,r.error,n):new Yn(r.message,t,n)}catch{}return new Yn(e,t,n)}function ar({isTimedOut:e,status:t}){return!e&&~~t===0}function or({isTimedOut:e,status:t}){return e||ar({isTimedOut:e,status:t})||~~(t/100)!=2&&~~(t/100)!=4}function sr({status:e}){return~~(e/100)==2}function cr(e){return e.map(e=>lr(e))}function lr(e){let t=e.request.headers[`x-algolia-api-key`]?{"x-algolia-api-key":`*****`}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}function ur({hosts:e,hostsCache:t,baseHeaders:n,logger:r,baseQueryParameters:i,algoliaAgent:a,timeouts:o,requester:s,requestsCache:c,responsesCache:l,compress:u,compression:d}){async function f(e){let n=await Promise.all(e.map(e=>t.get(e,()=>Promise.resolve(Gn(e))))),r=n.filter(e=>e.isUp()),i=n.filter(e=>e.isTimedOut()),a=[...r,...i];return{hosts:a.length>0?a:e,getTimeout(e,t){return(i.length===0&&e===0?1:i.length+3+e)*t}}}async function p(c,l,p){let m=[],h=tr(c,l),g=nr(n,c.headers,l.headers),_=d===`gzip`&&h!==void 0&&h.length>750&&(c.method===`POST`||c.method===`PUT`);_&&u===void 0&&r.info(`Compression is disabled because no compress method is available.`);let v=_&&u!==void 0,y=v?await u(h):h;v&&(g[`content-encoding`]=`gzip`);let b=c.method===`GET`?{...c.data,...l.data}:{},x={...i,...c.queryParameters,...b};
11if(a.value&&(x[`x-algolia-agent`]=a.value),l&&l.queryParameters)for(let e of Object.keys(l.queryParameters))!l.queryParameters[e]||Object.prototype.toString.call(l.queryParameters[e])===`[object Object]`?x[e]=l.queryParameters[e]:x[e]=l.queryParameters[e].toString();let S=0,C=async(e,n)=>{let i=e.pop();if(i===void 0)throw new Jn(cr(m));let a={...o,...l.timeouts},u={data:y,headers:g,method:c.method,url:$n(i,c.path,x),connectTimeout:n(S,a.connect),responseTimeout:n(S,p?a.read:a.write)},d=t=>{let n={request:u,response:t,host:i,triesLeft:e.length};return m.push(n),n},f=await s.send(u);if(or(f)){let a=d(f);return f.isTimedOut&&S++,r.info(`Retryable failure`,lr(a)),await t.set(i,Gn(i,f.isTimedOut?`timed out`:`down`)),C(e,n)}if(sr(f))return rr(f);throw d(f),ir(f,m)},w=await f(e.filter(e=>e.accept===`readWrite`||(p?e.accept===`read`:e.accept===`write`)));return C([...w.hosts].reverse(),w.getTimeout)}function m(e,t={}){let r=()=>p(e,t,a),a=e.useReadTransporter||e.method===`GET`;if((t.cacheable||e.cacheable)!==!0)return r();let o={request:e,requestOptions:t,transporter:{queryParameters:i,headers:n}};return l.get(o,()=>c.get(o,()=>c.set(o,r()).then(e=>Promise.all([c.delete(o),e]),e=>Promise.all([c.delete(o),Promise.reject(e)])).then(([e,t])=>t)),{miss:e=>l.set(o,e)})}return{hostsCache:t,requester:s,timeouts:o,logger:r,algoliaAgent:a,baseHeaders:n,baseQueryParameters:i,hosts:e,request:m,requestsCache:c,responsesCache:l}}function dr(){function e(e){return new Promise(t=>{let n=new XMLHttpRequest;n.open(e.method,e.url,!0),Object.keys(e.headers).forEach(t=>n.setRequestHeader(t,e.headers[t]));let r=(e,r)=>setTimeout(()=>{n.abort(),t({status:0,content:r,isTimedOut:!0})},e),i=r(e.connectTimeout,`Connection timeout`),a;n.onreadystatechange=()=>{n.readyState>n.OPENED&&a===void 0&&(clearTimeout(i),a=r(e.responseTimeout,`Socket timeout`))},n.onerror=()=>{n.status===0&&(clearTimeout(i),clearTimeout(a),t({content:n.responseText||`Network request failed`,status:n.status,isTimedOut:!1}))},n.onload=()=>{clearTimeout(i),clearTimeout(a),t({content:n.responseText,status:n.status,isTimedOut:!1})},n.send(e.data)})}return{send:e}}var fr=s({abtestingV3Client:()=>_r,apiClientVersion:()=>pr}),pr=`1.17.0`,mr=[`de`,`us`];function hr(e){return[{url:e?`analytics.{region}.algolia.com`.replace(`{region}`,e):`analytics.algolia.com`,accept:`readWrite`,protocol:`https`}]}function gr({appId:e,apiKey:t,authMode:n,algoliaAgents:r,region:i,...a}){let o=Bn(e,t,n),s=ur({hosts:hr(i),...a,algoliaAgent:Hn({algoliaAgents:r,client:`AbtestingV3`,version:pr}),baseHeaders:{"content-type":`text/plain`,...o.headers(),...a.baseHeaders},baseQueryParameters:{...o.queryParameters(),...a.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache(){return Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0)},get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){!n||n===`WithinHeaders`?s.baseHeaders[`x-algolia-api-key`]=e:s.baseQueryParameters[`x-algolia-api-key`]=e},addABTests(e,t){if(!e)throw Error("Parameter `addABTestsRequest` is required when calling `addABTests`.");if(!e.name)throw Error("Parameter `addABTestsRequest.name` is required when calling `addABTests`.");if(!e.variants)throw Error("Parameter `addABTestsRequest.variants` is required when calling `addABTests`.");if(!e.metrics)throw Error("Parameter `addABTestsRequest.metrics` is required when calling `addABTests`.");if(!e.endAt)throw Error("Parameter `addABTestsRequest.endAt` is required when calling `addABTests`.");let n={method:`POST`,path:`/3/abtests`,queryParameters:{},headers:{},data:e};return s.request(n,t)},customDelete({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let r={method:`DELETE`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};return s.request(r,n)},customGet({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let r={method:`GET`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};
11return s.request(r,n)},customPost({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i={method:`POST`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return s.request(i,r)},customPut({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i={method:`PUT`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return s.request(i,r)},deleteABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `deleteABTest`.");let n={method:`DELETE`,path:`/3/abtests/{id}`.replace(`{id}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},estimateABTest(e,t){if(!e)throw Error("Parameter `estimateABTestRequest` is required when calling `estimateABTest`.");if(!e.configuration)throw Error("Parameter `estimateABTestRequest.configuration` is required when calling `estimateABTest`.");if(!e.variants)throw Error("Parameter `estimateABTestRequest.variants` is required when calling `estimateABTest`.");let n={method:`POST`,path:`/3/abtests/estimate`,queryParameters:{},headers:{},data:e};return s.request(n,t)},getABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `getABTest`.");let n={method:`GET`,path:`/3/abtests/{id}`.replace(`{id}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},getTimeseries({id:e,startDate:t,endDate:n,metric:r},i){if(!e)throw Error("Parameter `id` is required when calling `getTimeseries`.");let a=`/3/abtests/{id}/timeseries`.replace(`{id}`,encodeURIComponent(e)),o={},c={};t!==void 0&&(c.startDate=t.toString()),n!==void 0&&(c.endDate=n.toString()),r!==void 0&&(c.metric=r.toString());let l={method:`GET`,path:a,queryParameters:c,headers:o};return s.request(l,i)},listABTests({offset:e,limit:t,indexPrefix:n,indexSuffix:r,direction:i}={},a=void 0){let o={},c={};e!==void 0&&(c.offset=e.toString()),t!==void 0&&(c.limit=t.toString()),n!==void 0&&(c.indexPrefix=n.toString()),r!==void 0&&(c.indexSuffix=r.toString()),i!==void 0&&(c.direction=i.toString());let l={method:`GET`,path:`/3/abtests`,queryParameters:c,headers:o};return s.request(l,a)},stopABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `stopABTest`.");let n={method:`POST`,path:`/3/abtests/{id}/stop`.replace(`{id}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)}}}function _r(e,t,n,r){if(!e||typeof e!=`string`)throw Error("`appId` is missing.");if(!t||typeof t!=`string`)throw Error("`apiKey` is missing.");if(n&&(typeof n!=`string`||!mr.includes(n)))throw Error(`\`region\` must be one of the following: ${mr.join(`, `)}`);let{compression:i,...a}=r||{};return gr({appId:e,apiKey:t,region:n,timeouts:{connect:1e3,read:2e3,write:3e4},logger:Un(),requester:dr(),algoliaAgents:[{segment:`Browser`}],authMode:`WithinQueryParameters`,responsesCache:Rn(),requestsCache:Rn({serializable:!1}),hostsCache:Ln({caches:[Fn({key:`${pr}-${e}`}),Rn()]}),...a})}var vr=s({abtestingClient:()=>Cr,apiClientVersion:()=>yr}),yr=`5.51.0`,br=[`de`,`us`];function xr(e){return[{url:e?`analytics.{region}.algolia.com`.replace(`{region}`,e):`analytics.algolia.com`,accept:`readWrite`,protocol:`https`}]}function Sr({appId:e,apiKey:t,authMode:n,algoliaAgents:r,region:i,...a}){let o=Bn(e,t,n),s=ur({hosts:xr(i),...a,algoliaAgent:Hn({algoliaAgents:r,client:`Abtesting`,version:yr}),baseHeaders:{"content-type":`text/plain`,...o.headers(),...a.baseHeaders},baseQueryParameters:{...o.queryParameters(),...a.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache(){return Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0)},get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){!n||n===`WithinHeaders`?s.baseHeaders[`x-algolia-api-key`]=e:s.baseQueryParameters[`x-algolia-api-key`]=e},addABTests(e,t){if(!e)throw Error("Parameter `addABTestsRequest` is required when calling `addABTests`.");if(!e.name)throw Error("Parameter `addABTestsRequest.name` is required when calling `addABTests`.");if(!e.variants)throw Error("Parameter `addABTestsRequest.variants` is required when calling `addABTests`.");if(!e.endAt)throw Error("Parameter `addABTestsRequest.endAt` is required when calling `addABTests`.");let n={method:`POST`,path:`/2/abtests`,queryParameters:{},headers:{},data:e};return s.request(n,t)},customDelete({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let r={method:`DELETE`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};
11return s.request(r,n)},customGet({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let r={method:`GET`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};return s.request(r,n)},customPost({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i={method:`POST`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return s.request(i,r)},customPut({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i={method:`PUT`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return s.request(i,r)},deleteABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `deleteABTest`.");let n={method:`DELETE`,path:`/2/abtests/{id}`.replace(`{id}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},estimateABTest(e,t){if(!e)throw Error("Parameter `estimateABTestRequest` is required when calling `estimateABTest`.");if(!e.configuration)throw Error("Parameter `estimateABTestRequest.configuration` is required when calling `estimateABTest`.");if(!e.variants)throw Error("Parameter `estimateABTestRequest.variants` is required when calling `estimateABTest`.");let n={method:`POST`,path:`/2/abtests/estimate`,queryParameters:{},headers:{},data:e};return s.request(n,t)},getABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `getABTest`.");let n={method:`GET`,path:`/2/abtests/{id}`.replace(`{id}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},listABTests({offset:e,limit:t,indexPrefix:n,indexSuffix:r}={},i=void 0){let a={},o={};e!==void 0&&(o.offset=e.toString()),t!==void 0&&(o.limit=t.toString()),n!==void 0&&(o.indexPrefix=n.toString()),r!==void 0&&(o.indexSuffix=r.toString());let c={method:`GET`,path:`/2/abtests`,queryParameters:o,headers:a};return s.request(c,i)},stopABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `stopABTest`.");let n={method:`POST`,path:`/2/abtests/{id}/stop`.replace(`{id}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)}}}function Cr(e,t,n,r){if(!e||typeof e!=`string`)throw Error("`appId` is missing.");if(!t||typeof t!=`string`)throw Error("`apiKey` is missing.");if(n&&(typeof n!=`string`||!br.includes(n)))throw Error(`\`region\` must be one of the following: ${br.join(`, `)}`);let{compression:i,...a}=r||{};return Sr({appId:e,apiKey:t,region:n,timeouts:{connect:1e3,read:2e3,write:3e4},logger:Un(),requester:dr(),algoliaAgents:[{segment:`Browser`}],authMode:`WithinQueryParameters`,responsesCache:Rn(),requestsCache:Rn({serializable:!1}),hostsCache:Ln({caches:[Fn({key:`${yr}-${e}`}),Rn()]}),...a})}var wr=s({analyticsClient:()=>kr,apiClientVersion:()=>Tr}),Tr=`5.51.0`,Er=[`de`,`us`];function Dr(e){return[{url:e?`analytics.{region}.algolia.com`.replace(`{region}`,e):`analytics.algolia.com`,accept:`readWrite`,protocol:`https`}]}function Or({appId:e,apiKey:t,authMode:n,algoliaAgents:r,region:i,...a}){let o=Bn(e,t,n),s=ur({hosts:Dr(i),...a,algoliaAgent:Hn({algoliaAgents:r,client:`Analytics`,version:Tr}),baseHeaders:{"content-type":`text/plain`,...o.headers(),...a.baseHeaders},baseQueryParameters:{...o.queryParameters(),...a.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache(){return Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0)},get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){!n||n===`WithinHeaders`?s.baseHeaders[`x-algolia-api-key`]=e:s.baseQueryParameters[`x-algolia-api-key`]=e},customDelete({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let r={method:`DELETE`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};return s.request(r,n)},customGet({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let r={method:`GET`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};
11return s.request(r,n)},customPost({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i={method:`POST`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return s.request(i,r)},customPut({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i={method:`PUT`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return s.request(i,r)},getAddToCartRate({index:e,startDate:t,endDate:n,tags:r},i){if(!e)throw Error("Parameter `index` is required when calling `getAddToCartRate`.");let a={},o={};e!==void 0&&(o.index=e.toString()),t!==void 0&&(o.startDate=t.toString()),n!==void 0&&(o.endDate=n.toString()),r!==void 0&&(o.tags=r.toString());let c={method:`GET`,path:`/2/conversions/addToCartRate`,queryParameters:o,headers:a};return s.request(c,i)},getAverageClickPosition({index:e,startDate:t,endDate:n,tags:r},i){if(!e)throw Error("Parameter `index` is required when calling `getAverageClickPosition`.");let a={},o={};e!==void 0&&(o.index=e.toString()),t!==void 0&&(o.startDate=t.toString()),n!==void 0&&(o.endDate=n.toString()),r!==void 0&&(o.tags=r.toString());let c={method:`GET`,path:`/2/clicks/averageClickPosition`,queryParameters:o,headers:a};return s.request(c,i)},getClickPositions({index:e,startDate:t,endDate:n,tags:r},i){if(!e)throw Error("Parameter `index` is required when calling `getClickPositions`.");let a={},o={};e!==void 0&&(o.index=e.toString()),t!==void 0&&(o.startDate=t.toString()),n!==void 0&&(o.endDate=n.toString()),r!==void 0&&(o.tags=r.toString());let c={method:`GET`,path:`/2/clicks/positions`,queryParameters:o,headers:a};return s.request(c,i)},getClickThroughRate({index:e,startDate:t,endDate:n,tags:r},i){if(!e)throw Error("Parameter `index` is required when calling `getClickThroughRate`.");let a={},o={};e!==void 0&&(o.index=e.toString()),t!==void 0&&(o.startDate=t.toString()),n!==void 0&&(o.endDate=n.toString()),r!==void 0&&(o.tags=r.toString());let c={method:`GET`,path:`/2/clicks/clickThroughRate`,queryParameters:o,headers:a};return s.request(c,i)},getConversionRate({index:e,startDate:t,endDate:n,tags:r},i){if(!e)throw Error("Parameter `index` is required when calling `getConversionRate`.");let a={},o={};e!==void 0&&(o.index=e.toString()),t!==void 0&&(o.startDate=t.toString()),n!==void 0&&(o.endDate=n.toString()),r!==void 0&&(o.tags=r.toString());let c={method:`GET`,path:`/2/conversions/conversionRate`,queryParameters:o,headers:a};return s.request(c,i)},getNoClickRate({index:e,startDate:t,endDate:n,tags:r},i){if(!e)throw Error("Parameter `index` is required when calling `getNoClickRate`.");let a={},o={};e!==void 0&&(o.index=e.toString()),t!==void 0&&(o.startDate=t.toString()),n!==void 0&&(o.endDate=n.toString()),r!==void 0&&(o.tags=r.toString());let c={method:`GET`,path:`/2/searches/noClickRate`,queryParameters:o,headers:a};return s.request(c,i)},getNoResultsRate({index:e,startDate:t,endDate:n,tags:r},i){if(!e)throw Error("Parameter `index` is required when calling `getNoResultsRate`.");let a={},o={};e!==void 0&&(o.index=e.toString()),t!==void 0&&(o.startDate=t.toString()),n!==void 0&&(o.endDate=n.toString()),r!==void 0&&(o.tags=r.toString());let c={method:`GET`,path:`/2/searches/noResultRate`,queryParameters:o,headers:a};return s.request(c,i)},getPurchaseRate({index:e,startDate:t,endDate:n,tags:r},i){if(!e)throw Error("Parameter `index` is required when calling `getPurchaseRate`.");let a={},o={};e!==void 0&&(o.index=e.toString()),t!==void 0&&(o.startDate=t.toString()),n!==void 0&&(o.endDate=n.toString()),r!==void 0&&(o.tags=r.toString());let c={method:`GET`,path:`/2/conversions/purchaseRate`,queryParameters:o,headers:a};return s.request(c,i)},getRevenue({index:e,startDate:t,endDate:n,tags:r},i){if(!e)throw Error("Parameter `index` is required when calling `getRevenue`.");let a={},o={};e!==void 0&&(o.index=e.toString()),t!==void 0&&(o.startDate=t.toString()),n!==void 0&&(o.endDate=n.toString()),r!==void 0&&(o.tags=r.toString());let c={method:`GET`,path:`/2/conversions/revenue`,queryParameters:o,headers:a};return s.request(c,i)},getSearchesCount({index:e,startDate:t,endDate:n,tags:r}
11,i){if(!e)throw Error("Parameter `index` is required when calling `getSearchesCount`.");let a={},o={};e!==void 0&&(o.index=e.toString()),t!==void 0&&(o.startDate=t.toString()),n!==void 0&&(o.endDate=n.toString()),r!==void 0&&(o.tags=r.toString());let c={method:`GET`,path:`/2/searches/count`,queryParameters:o,headers:a};return s.request(c,i)},getSearchesNoClicks({index:e,startDate:t,endDate:n,limit:r,offset:i,tags:a},o){if(!e)throw Error("Parameter `index` is required when calling `getSearchesNoClicks`.");let c={},l={};e!==void 0&&(l.index=e.toString()),t!==void 0&&(l.startDate=t.toString()),n!==void 0&&(l.endDate=n.toString()),r!==void 0&&(l.limit=r.toString()),i!==void 0&&(l.offset=i.toString()),a!==void 0&&(l.tags=a.toString());let u={method:`GET`,path:`/2/searches/noClicks`,queryParameters:l,headers:c};return s.request(u,o)},getSearchesNoResults({index:e,startDate:t,endDate:n,limit:r,offset:i,tags:a},o){if(!e)throw Error("Parameter `index` is required when calling `getSearchesNoResults`.");let c={},l={};e!==void 0&&(l.index=e.toString()),t!==void 0&&(l.startDate=t.toString()),n!==void 0&&(l.endDate=n.toString()),r!==void 0&&(l.limit=r.toString()),i!==void 0&&(l.offset=i.toString()),a!==void 0&&(l.tags=a.toString());let u={method:`GET`,path:`/2/searches/noResults`,queryParameters:l,headers:c};return s.request(u,o)},getStatus({index:e},t){if(!e)throw Error("Parameter `index` is required when calling `getStatus`.");let n={},r={};e!==void 0&&(r.index=e.toString());let i={method:`GET`,path:`/2/status`,queryParameters:r,headers:n};return s.request(i,t)},getTopCountries({index:e,startDate:t,endDate:n,limit:r,offset:i,tags:a},o){if(!e)throw Error("Parameter `index` is required when calling `getTopCountries`.");let c={},l={};e!==void 0&&(l.index=e.toString()),t!==void 0&&(l.startDate=t.toString()),n!==void 0&&(l.endDate=n.toString()),r!==void 0&&(l.limit=r.toString()),i!==void 0&&(l.offset=i.toString()),a!==void 0&&(l.tags=a.toString());let u={method:`GET`,path:`/2/countries`,queryParameters:l,headers:c};return s.request(u,o)},getTopFilterAttributes({index:e,search:t,startDate:n,endDate:r,limit:i,offset:a,tags:o},c){if(!e)throw Error("Parameter `index` is required when calling `getTopFilterAttributes`.");let l={},u={};e!==void 0&&(u.index=e.toString()),t!==void 0&&(u.search=t.toString()),n!==void 0&&(u.startDate=n.toString()),r!==void 0&&(u.endDate=r.toString()),i!==void 0&&(u.limit=i.toString()),a!==void 0&&(u.offset=a.toString()),o!==void 0&&(u.tags=o.toString());let d={method:`GET`,path:`/2/filters`,queryParameters:u,headers:l};return s.request(d,c)},getTopFilterForAttribute({attribute:e,index:t,search:n,startDate:r,endDate:i,limit:a,offset:o,tags:c},l){if(!e)throw Error("Parameter `attribute` is required when calling `getTopFilterForAttribute`.");if(!t)throw Error("Parameter `index` is required when calling `getTopFilterForAttribute`.");let u=`/2/filters/{attribute}`.replace(`{attribute}`,encodeURIComponent(e)),d={},f={};t!==void 0&&(f.index=t.toString()),n!==void 0&&(f.search=n.toString()),r!==void 0&&(f.startDate=r.toString()),i!==void 0&&(f.endDate=i.toString()),a!==void 0&&(f.limit=a.toString()),o!==void 0&&(f.offset=o.toString()),c!==void 0&&(f.tags=c.toString());let p={method:`GET`,path:u,queryParameters:f,headers:d};return s.request(p,l)},getTopFiltersNoResults({index:e,search:t,startDate:n,endDate:r,limit:i,offset:a,tags:o},c){if(!e)throw Error("Parameter `index` is required when calling `getTopFiltersNoResults`.");let l={},u={};e!==void 0&&(u.index=e.toString()),t!==void 0&&(u.search=t.toString()),n!==void 0&&(u.startDate=n.toString()),r!==void 0&&(u.endDate=r.toString()),i!==void 0&&(u.limit=i.toString()),a!==void 0&&(u.offset=a.toString()),o!==void 0&&(u.tags=o.toString());let d={method:`GET`,path:`/2/filters/noResults`,queryParameters:u,headers:l};return s.request(d,c)},getTopHits({index:e,search:t,clickAnalytics:n,revenueAnalytics:r,startDate:i,endDate:a,limit:o,offset:c,tags:l},u){if(!e)throw Error("Parameter `index` is required when calling `getTopHits`.");let d={},f={};e!==void 0&&(f.index=e.toString()),t!==void 0&&(f.search=t.toString()),n!==void 0&&(f.clickAnalytics=n.toString()),r!==void 0&&(f.revenueAnalytics=r.toString()),i!==void 0&&(f.startDate=i.toString()),a!==void 0&&(f.endD
11ate=a.toString()),o!==void 0&&(f.limit=o.toString()),c!==void 0&&(f.offset=c.toString()),l!==void 0&&(f.tags=l.toString());let p={method:`GET`,path:`/2/hits`,queryParameters:f,headers:d};return s.request(p,u)},getTopSearches({index:e,clickAnalytics:t,revenueAnalytics:n,startDate:r,endDate:i,orderBy:a,direction:o,limit:c,offset:l,tags:u},d){if(!e)throw Error("Parameter `index` is required when calling `getTopSearches`.");let f={},p={};e!==void 0&&(p.index=e.toString()),t!==void 0&&(p.clickAnalytics=t.toString()),n!==void 0&&(p.revenueAnalytics=n.toString()),r!==void 0&&(p.startDate=r.toString()),i!==void 0&&(p.endDate=i.toString()),a!==void 0&&(p.orderBy=a.toString()),o!==void 0&&(p.direction=o.toString()),c!==void 0&&(p.limit=c.toString()),l!==void 0&&(p.offset=l.toString()),u!==void 0&&(p.tags=u.toString());let m={method:`GET`,path:`/2/searches`,queryParameters:p,headers:f};return s.request(m,d)},getUsersCount({index:e,startDate:t,endDate:n,tags:r},i){if(!e)throw Error("Parameter `index` is required when calling `getUsersCount`.");let a={},o={};e!==void 0&&(o.index=e.toString()),t!==void 0&&(o.startDate=t.toString()),n!==void 0&&(o.endDate=n.toString()),r!==void 0&&(o.tags=r.toString());let c={method:`GET`,path:`/2/users/count`,queryParameters:o,headers:a};return s.request(c,i)}}}function kr(e,t,n,r){if(!e||typeof e!=`string`)throw Error("`appId` is missing.");if(!t||typeof t!=`string`)throw Error("`apiKey` is missing.");if(n&&(typeof n!=`string`||!Er.includes(n)))throw Error(`\`region\` must be one of the following: ${Er.join(`, `)}`);let{compression:i,...a}=r||{};return Or({appId:e,apiKey:t,region:n,timeouts:{connect:1e3,read:2e3,write:3e4},logger:Un(),requester:dr(),algoliaAgents:[{segment:`Browser`}],authMode:`WithinQueryParameters`,responsesCache:Rn(),requestsCache:Rn({serializable:!1}),hostsCache:Ln({caches:[Fn({key:`${Tr}-${e}`}),Rn()]}),...a})}var Ar=s({apiClientVersion:()=>jr,insightsClient:()=>Fr}),jr=`5.51.0`,Mr=[`de`,`us`];function Nr(e){return[{url:e?`insights.{region}.algolia.io`.replace(`{region}`,e):`insights.algolia.io`,accept:`readWrite`,protocol:`https`}]}function Pr({appId:e,apiKey:t,authMode:n,algoliaAgents:r,region:i,...a}){let o=Bn(e,t,n),s=ur({hosts:Nr(i),...a,algoliaAgent:Hn({algoliaAgents:r,client:`Insights`,version:jr}),baseHeaders:{"content-type":`text/plain`,...o.headers(),...a.baseHeaders},baseQueryParameters:{...o.queryParameters(),...a.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache(){return Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0)},get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){!n||n===`WithinHeaders`?s.baseHeaders[`x-algolia-api-key`]=e:s.baseQueryParameters[`x-algolia-api-key`]=e},customDelete({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let r={method:`DELETE`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};return s.request(r,n)},customGet({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let r={method:`GET`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};return s.request(r,n)},customPost({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i={method:`POST`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return s.request(i,r)},customPut({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i={method:`PUT`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return s.request(i,r)},deleteUserToken({userToken:e},t){if(!e)throw Error("Parameter `userToken` is required when calling `deleteUserToken`.");let n={method:`DELETE`,path:`/1/usertokens/{userToken}`.replace(`{userToken}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},pushEvents(e,t){if(!e)throw Error("Parameter `insightsEvents` is required when calling `pushEvents`.");if(!e.events)throw Error("Parameter `insightsEvents.events` is required when calling `pushEvents`.");let n={method:`POST`,path:`/1/events`,queryParameters:{},headers:{},data:e};return s.request(n,t)}}}function Fr(e,t,n,r){if(!e||typeof e!=`string`)throw Error("`appId` is missing.");if(!t||typeof t!=`string`)throw Error("`apiKey` is missing.");if(n&&(typeof n!=`string`||!Mr.includes(n)))throw Error(`\`region\` must be one of the following: ${Mr.join(`, `)}`);let{compression:i,...a}=r||{};return Pr({appId:e,apiKey:t,region:n,timeouts:{connect:1e3,read:2e3,write:3e4},logger:Un(),requester:dr(),algoliaAgents:[{segment:`Browser`}],authMode:`WithinQueryParameters`,responsesCache:Rn(),requestsCache:Rn({serializable:!1}),hostsCache:Ln({caches:[Fn({key:`${jr}-${e}`}),Rn()]}),...a}
11)}var Ir=s({apiClientVersion:()=>Lr,personalizationClient:()=>Vr}),Lr=`5.51.0`,Rr=[`eu`,`us`];function zr(e){return[{url:`personalization.{region}.algolia.com`.replace(`{region}`,e),accept:`readWrite`,protocol:`https`}]}function Br({appId:e,apiKey:t,authMode:n,algoliaAgents:r,region:i,...a}){let o=Bn(e,t,n),s=ur({hosts:zr(i),...a,algoliaAgent:Hn({algoliaAgents:r,client:`Personalization`,version:Lr}),baseHeaders:{"content-type":`text/plain`,...o.headers(),...a.baseHeaders},baseQueryParameters:{...o.queryParameters(),...a.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache(){return Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0)},get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){!n||n===`WithinHeaders`?s.baseHeaders[`x-algolia-api-key`]=e:s.baseQueryParameters[`x-algolia-api-key`]=e},customDelete({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let r={method:`DELETE`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};return s.request(r,n)},customGet({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let r={method:`GET`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};return s.request(r,n)},customPost({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i={method:`POST`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return s.request(i,r)},customPut({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i={method:`PUT`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return s.request(i,r)},deleteUserProfile({userToken:e},t){if(!e)throw Error("Parameter `userToken` is required when calling `deleteUserProfile`.");let n={method:`DELETE`,path:`/1/profiles/{userToken}`.replace(`{userToken}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},getPersonalizationStrategy(e){return s.request({method:`GET`,path:`/1/strategies/personalization`,queryParameters:{},headers:{}},e)},getUserTokenProfile({userToken:e},t){if(!e)throw Error("Parameter `userToken` is required when calling `getUserTokenProfile`.");let n={method:`GET`,path:`/1/profiles/personalization/{userToken}`.replace(`{userToken}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},setPersonalizationStrategy(e,t){if(!e)throw Error("Parameter `personalizationStrategyParams` is required when calling `setPersonalizationStrategy`.");if(!e.eventsScoring)throw Error("Parameter `personalizationStrategyParams.eventsScoring` is required when calling `setPersonalizationStrategy`.");if(!e.facetsScoring)throw Error("Parameter `personalizationStrategyParams.facetsScoring` is required when calling `setPersonalizationStrategy`.");if(!e.personalizationImpact)throw Error("Parameter `personalizationStrategyParams.personalizationImpact` is required when calling `setPersonalizationStrategy`.");let n={method:`POST`,path:`/1/strategies/personalization`,queryParameters:{},headers:{},data:e};return s.request(n,t)}}}function Vr(e,t,n,r){if(!e||typeof e!=`string`)throw Error("`appId` is missing.");if(!t||typeof t!=`string`)throw Error("`apiKey` is missing.");if(!n||n&&(typeof n!=`string`||!Rr.includes(n)))throw Error(`\`region\` is required and must be one of the following: ${Rr.join(`, `)}`);let{compression:i,...a}=r||{};return Br({appId:e,apiKey:t,region:n,timeouts:{connect:1e3,read:2e3,write:3e4},logger:Un(),requester:dr(),algoliaAgents:[{segment:`Browser`}],authMode:`WithinQueryParameters`,responsesCache:Rn(),requestsCache:Rn({serializable:!1}),hostsCache:Ln({caches:[Fn({key:`${Lr}-${e}`}),Rn()]}),...a})}var Hr=s({apiClientVersion:()=>Ur,querySuggestionsClient:()=>qr}),Ur=`5.51.0`,Wr=[`eu`,`us`];function Gr(e){return[{url:`query-suggestions.{region}.algolia.com`.replace(`{region}`,e),accept:`readWrite`,protocol:`https`}]}function Kr({appId:e,apiKey:t,authMode:n,algoliaAgents:r,region:i,...a}){let o=Bn(e,t,n),s=ur({hosts:Gr(i),...a,algoliaAgent:Hn({algoliaAgents:r,client:`QuerySuggestions`,version:Ur}),baseHeaders:{"content-type":`text/plain`,...o.headers(),...a.baseHeaders},baseQueryParameters:{...o.queryParameters(),...a.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache(){return Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0)},get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){!n||n===`WithinHeaders`?s.baseHeaders[`x-algolia-api-key`]=e:s.baseQueryParameters[`x-algolia-api-key`]=e}
11,createConfig(e,t){if(!e)throw Error("Parameter `configurationWithIndex` is required when calling `createConfig`.");let n={method:`POST`,path:`/1/configs`,queryParameters:{},headers:{},data:e};return s.request(n,t)},customDelete({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let r={method:`DELETE`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};return s.request(r,n)},customGet({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let r={method:`GET`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};return s.request(r,n)},customPost({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i={method:`POST`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return s.request(i,r)},customPut({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i={method:`PUT`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return s.request(i,r)},deleteConfig({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `deleteConfig`.");let n={method:`DELETE`,path:`/1/configs/{indexName}`.replace(`{indexName}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},getAllConfigs(e){return s.request({method:`GET`,path:`/1/configs`,queryParameters:{},headers:{}},e)},getConfig({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `getConfig`.");let n={method:`GET`,path:`/1/configs/{indexName}`.replace(`{indexName}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},getConfigStatus({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `getConfigStatus`.");let n={method:`GET`,path:`/1/configs/{indexName}/status`.replace(`{indexName}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},getLogFile({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `getLogFile`.");let n={method:`GET`,path:`/1/logs/{indexName}`.replace(`{indexName}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},updateConfig({indexName:e,configuration:t},n){if(!e)throw Error("Parameter `indexName` is required when calling `updateConfig`.");if(!t)throw Error("Parameter `configuration` is required when calling `updateConfig`.");if(!t.sourceIndices)throw Error("Parameter `configuration.sourceIndices` is required when calling `updateConfig`.");let r={method:`PUT`,path:`/1/configs/{indexName}`.replace(`{indexName}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return s.request(r,n)}}}function qr(e,t,n,r){if(!e||typeof e!=`string`)throw Error("`appId` is missing.");if(!t||typeof t!=`string`)throw Error("`apiKey` is missing.");if(!n||n&&(typeof n!=`string`||!Wr.includes(n)))throw Error(`\`region\` is required and must be one of the following: ${Wr.join(`, `)}`);let{compression:i,...a}=r||{};return Kr({appId:e,apiKey:t,region:n,timeouts:{connect:1e3,read:2e3,write:3e4},logger:Un(),requester:dr(),algoliaAgents:[{segment:`Browser`}],authMode:`WithinQueryParameters`,responsesCache:Rn(),requestsCache:Rn({serializable:!1}),hostsCache:Ln({caches:[Fn({key:`${Ur}-${e}`}),Rn()]}),...a})}var Jr=s({apiClientVersion:()=>Yr,searchClient:()=>Qr}),Yr=`5.51.0`;function Xr(e){return[{url:`${e}-dsn.algolia.net`,accept:`read`,protocol:`https`},{url:`${e}.algolia.net`,accept:`write`,protocol:`https`}].concat(Qn([{url:`${e}-1.algolianet.com`,accept:`readWrite`,protocol:`https`},{url:`${e}-2.algolianet.com`,accept:`readWrite`,protocol:`https`},{url:`${e}-3.algolianet.com`,accept:`readWrite`,protocol:`https`}]))}function Zr({appId:e,apiKey:t,authMode:n,algoliaAgents:r,...i}){let a=Bn(e,t,n),o=ur({hosts:Xr(e),...i,algoliaAgent:Hn({algoliaAgents:r,client:`Search`,version:Yr}),baseHeaders:{"content-type":`text/plain`,...a.headers(),...i.baseHeaders},baseQueryParameters:{...a.queryParameters(),...i.baseQueryParameters}});return{transporter:o,appId:e,apiKey:t,clearCache(){return Promise.all([o.requestsCache.clear(),o.responsesCache.clear()]).then(()=>void 0)},get _ua(){return o.algoliaAgent.value},addAlgoliaAgent(e,t){o.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){!n||n===`WithinHeaders`?o.baseHeaders[`x-algolia-api-key`]=e:o.baseQueryParameters[`x-algolia-api-key`]=e},waitForTask({indexName:e,taskID:t,maxRetries:n=100,timeout:r=e=>Math.min(e*200,5e3)},i){let a=0;return Vn({func:()=>this.getTask({indexName:e,taskID:t},i),validate:e=>e.status===`published`,aggregator:()=>a+=1,error:{validate:()=>a>=n,message:()=>`Stopped waiting for the task after ${n} retries. This does not mean the operation failed; it may still complete. If you need to keep polling, retry with a higher maxRetries.`},timeout:()=>r(a)})},waitForAppTask({taskID:e,maxRetries:t=100,timeout:n=e=>Math.min(e*200,5e3)},r){let i=0;return Vn({func:()=>this.getAppTask({taskID:e},r),validate:e=>e.status===`published`,aggregator:()=>i+=1,error:{validate:()=>i>=t,message:()=>`Stopped waiting for the task after ${t} retries. This does not mean the operation failed; it may still complete. If you need to keep polling, retry with a higher maxRetries.`},timeout:()=>n(i)})},waitForApiKey({operation:e,key:t,apiKey:n,maxRetries:r=100,timeout:i=e=>Math.min(e*200,5e3)},a){let o=0,s={aggregator:()=>o+=1,error:{validate:()=>
11o>=r,message:()=>`Stopped waiting for the API key operation after ${r} retries. This does not mean the operation failed; it may still complete. If you need to keep polling, retry with a higher maxRetries.`},timeout:()=>i(o)};if(e===`update`){if(!n)throw Error("`apiKey` is required when waiting for an `update` operation.");return Vn({...s,func:()=>this.getApiKey({key:t},a),validate:e=>{for(let t of Object.keys(n)){let r=n[t],i=e[t];if(Array.isArray(r)&&Array.isArray(i)){if(r.length!==i.length||r.some((e,t)=>e!==i[t]))return!1}else if(r!==i)return!1}return!0}})}return Vn({...s,func:()=>this.getApiKey({key:t},a).catch(e=>{if(e.status!==404)throw e}),validate:t=>e===`add`?t!==void 0:t===void 0})},browseObjects({indexName:e,browseParams:t,...n},r){return Vn({func:n=>this.browse({indexName:e,browseParams:{cursor:n?n.cursor:void 0,hitsPerPage:1e3,...t}},r),validate:e=>e.cursor===void 0,...n})},browseRules({indexName:e,searchRulesParams:t,...n},r){let i={...t,hitsPerPage:t?.hitsPerPage||1e3};return Vn({func:t=>this.searchRules({indexName:e,searchRulesParams:{...i,page:t?t.page+1:i.page||0}},r),validate:e=>e.hits.length<i.hitsPerPage,...n})},browseSynonyms({indexName:e,searchSynonymsParams:t,...n},r){let i={...t,page:t?.page||0,hitsPerPage:1e3};return Vn({func:t=>{let n=this.searchSynonyms({indexName:e,searchSynonymsParams:{...i,page:i.page}},r);return i.page+=1,n},validate:e=>e.hits.length<i.hitsPerPage,...n})},async chunkedBatch({indexName:e,objects:t,action:n=`addObject`,waitForTasks:r,batchSize:i=1e3},a){let o=[],s=[],c=t.entries();for(let[r,l]of c)o.push({action:n,body:l}),(o.length===i||r===t.length-1)&&(s.push(await this.batch({indexName:e,batchWriteParams:{requests:o}},a)),o=[]);if(r)for(let t of s)await this.waitForTask({indexName:e,taskID:t.taskID});return s},async saveObjects({indexName:e,objects:t,waitForTasks:n,batchSize:r},i){return await this.chunkedBatch({indexName:e,objects:t,action:`addObject`,waitForTasks:n,batchSize:r},i)},async deleteObjects({indexName:e,objectIDs:t,waitForTasks:n,batchSize:r},i){return await this.chunkedBatch({indexName:e,objects:t.map(e=>({objectID:e})),action:`deleteObject`,waitForTasks:n,batchSize:r},i)},async partialUpdateObjects({indexName:e,objects:t,createIfNotExists:n,waitForTasks:r,batchSize:i},a){return await this.chunkedBatch({indexName:e,objects:t,action:n?`partialUpdateObject`:`partialUpdateObjectNoCreate`,batchSize:i,waitForTasks:r},a)},async replaceAllObjects({indexName:e,objects:t,batchSize:n,scopes:r},i){let a=`${e}_tmp_${Math.floor(Math.random()*1e6)+1e5}`;r===void 0&&(r=[`settings`,`rules`,`synonyms`]);try{let o=await this.operationIndex({indexName:e,operationIndexParams:{operation:`copy`,destination:a,scope:r}},i),s=await this.chunkedBatch({indexName:a,objects:t,waitForTasks:!0,batchSize:n},i);await this.waitForTask({indexName:a,taskID:o.taskID}),o=await this.operationIndex({indexName:e,operationIndexParams:{operation:`copy`,destination:a,scope:r}},i),await this.waitForTask({indexName:a,taskID:o.taskID});let c=await this.operationIndex({indexName:a,operationIndexParams:{operation:`move`,destination:e}},i);return await this.waitForTask({indexName:a,taskID:c.taskID}),{copyOperationResponse:o,batchResponses:s,moveOperationResponse:c}}catch(e){throw await this.deleteIndex({indexName:a}),e}},async indexExists({indexName:e}
11){try{await this.getSettings({indexName:e})}catch(e){if(e instanceof Yn&&e.status===404)return!1;throw e}return!0},searchForHits(e,t){return this.search(e,t)},searchForFacets(e,t){return this.search(e,t)},addApiKey(e,t){if(!e)throw Error("Parameter `apiKey` is required when calling `addApiKey`.");if(!e.acl)throw Error("Parameter `apiKey.acl` is required when calling `addApiKey`.");let n={method:`POST`,path:`/1/keys`,queryParameters:{},headers:{},data:e};return o.request(n,t)},addOrUpdateObject({indexName:e,objectID:t,body:n},r){if(!e)throw Error("Parameter `indexName` is required when calling `addOrUpdateObject`.");if(!t)throw Error("Parameter `objectID` is required when calling `addOrUpdateObject`.");if(!n)throw Error("Parameter `body` is required when calling `addOrUpdateObject`.");let i={method:`PUT`,path:`/1/indexes/{indexName}/{objectID}`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{objectID}`,encodeURIComponent(t)),queryParameters:{},headers:{},data:n};return o.request(i,r)},appendSource(e,t){if(!e)throw Error("Parameter `source` is required when calling `appendSource`.");if(!e.source)throw Error("Parameter `source.source` is required when calling `appendSource`.");let n={method:`POST`,path:`/1/security/sources/append`,queryParameters:{},headers:{},data:e};return o.request(n,t)},assignUserId({xAlgoliaUserID:e,assignUserIdParams:t},n){if(!e)throw Error("Parameter `xAlgoliaUserID` is required when calling `assignUserId`.");if(!t)throw Error("Parameter `assignUserIdParams` is required when calling `assignUserId`.");if(!t.cluster)throw Error("Parameter `assignUserIdParams.cluster` is required when calling `assignUserId`.");let r={},i={};e!==void 0&&(r[`X-Algolia-User-ID`]=e.toString());let a={method:`POST`,path:`/1/clusters/mapping`,queryParameters:i,headers:r,data:t};return o.request(a,n)},batch({indexName:e,batchWriteParams:t},n){if(!e)throw Error("Parameter `indexName` is required when calling `batch`.");if(!t)throw Error("Parameter `batchWriteParams` is required when calling `batch`.");if(!t.requests)throw Error("Parameter `batchWriteParams.requests` is required when calling `batch`.");let r={method:`POST`,path:`/1/indexes/{indexName}/batch`.replace(`{indexName}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return o.request(r,n)},batchAssignUserIds({xAlgoliaUserID:e,batchAssignUserIdsParams:t},n){if(!e)throw Error("Parameter `xAlgoliaUserID` is required when calling `batchAssignUserIds`.");if(!t)throw Error("Parameter `batchAssignUserIdsParams` is required when calling `batchAssignUserIds`.");if(!t.cluster)throw Error("Parameter `batchAssignUserIdsParams.cluster` is required when calling `batchAssignUserIds`.");if(!t.users)throw Error("Parameter `batchAssignUserIdsParams.users` is required when calling `batchAssignUserIds`.");let r={},i={};e!==void 0&&(r[`X-Algolia-User-ID`]=e.toString());let a={method:`POST`,path:`/1/clusters/mapping/batch`,queryParameters:i,headers:r,data:t};return o.request(a,n)},batchDictionaryEntries({dictionaryName:e,batchDictionaryEntriesParams:t},n){if(!e)throw Error("Parameter `dictionaryName` is required when calling `batchDictionaryEntries`.");if(!t)throw Error("Parameter `batchDictionaryEntriesParams` is required when calling `batchDictionaryEntries`.");if(!t.requests)throw Error("Parameter `batchDictionaryEntriesParams.requests` is required when calling `batchDictionaryEntries`.");let r={method:`POST`,path:`/1/dictionaries/{dictionaryName}/batch`.replace(`{dictionaryName}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return o.request(r,n)},browse({indexName:e,browseParams:t},n){if(!e)throw Error("Parameter `indexName` is required when calling `browse`.");let r={method:`POST`,path:`/1/indexes/{indexName}/browse`.replace(`{indexName}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t||{},useReadTransporter:!0};return o.request(r,n)},clearObjects({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `clearObjects`.");let n={method:`POST`,path:`/1/indexes/{indexName}/clear`.replace(`{indexName}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return o.request(n,t)},clearRules({indexName:e,forwardToReplicas:t},n){if(!e)throw Error("Parameter `indexName` is required when calling `clearRules`.");let r=`/1/indexes/{indexName}/rules/clear`.replace(`{indexName}`,encodeURIComponent(e)),i={},a={};t!==void 0&&(a.forwardToReplicas=t.toString());let s={method:`POST`,path:r,queryParameters:a,headers:i};return o.request(s,n)},clearSynonyms({indexName:e,forwardToReplicas:t},n){if(!e)throw Error("Parameter `indexName` is required when calling `clearSynonyms`.");let r=`/1/indexes/{indexName}/synonyms/clear`.replace(`{indexName}`,encodeURIComponent(e)),i={},a={};t!==void 0&&(a.forwardToReplicas=t.toString());let s={method:`POST`,path:r,queryParameters:a,headers:i};return o.request(s,n)},customDelete({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let r={method:`DELETE`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};
11return o.request(r,n)},customGet({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let r={method:`GET`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};return o.request(r,n)},customPost({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i={method:`POST`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return o.request(i,r)},customPut({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i={method:`PUT`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return o.request(i,r)},deleteApiKey({key:e},t){if(!e)throw Error("Parameter `key` is required when calling `deleteApiKey`.");let n={method:`DELETE`,path:`/1/keys/{key}`.replace(`{key}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return o.request(n,t)},deleteBy({indexName:e,deleteByParams:t},n){if(!e)throw Error("Parameter `indexName` is required when calling `deleteBy`.");if(!t)throw Error("Parameter `deleteByParams` is required when calling `deleteBy`.");let r={method:`POST`,path:`/1/indexes/{indexName}/deleteByQuery`.replace(`{indexName}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return o.request(r,n)},deleteIndex({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `deleteIndex`.");let n={method:`DELETE`,path:`/1/indexes/{indexName}`.replace(`{indexName}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return o.request(n,t)},deleteObject({indexName:e,objectID:t},n){if(!e)throw Error("Parameter `indexName` is required when calling `deleteObject`.");if(!t)throw Error("Parameter `objectID` is required when calling `deleteObject`.");let r={method:`DELETE`,path:`/1/indexes/{indexName}/{objectID}`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{objectID}`,encodeURIComponent(t)),queryParameters:{},headers:{}};return o.request(r,n)},deleteRule({indexName:e,objectID:t,forwardToReplicas:n},r){if(!e)throw Error("Parameter `indexName` is required when calling `deleteRule`.");if(!t)throw Error("Parameter `objectID` is required when calling `deleteRule`.");let i=`/1/indexes/{indexName}/rules/{objectID}`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{objectID}`,encodeURIComponent(t)),a={},s={};n!==void 0&&(s.forwardToReplicas=n.toString());let c={method:`DELETE`,path:i,queryParameters:s,headers:a};return o.request(c,r)},deleteSource({source:e},t){if(!e)throw Error("Parameter `source` is required when calling `deleteSource`.");let n={method:`DELETE`,path:`/1/security/sources/{source}`.replace(`{source}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return o.request(n,t)},deleteSynonym({indexName:e,objectID:t,forwardToReplicas:n},r){if(!e)throw Error("Parameter `indexName` is required when calling `deleteSynonym`.");if(!t)throw Error("Parameter `objectID` is required when calling `deleteSynonym`.");let i=`/1/indexes/{indexName}/synonyms/{objectID}`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{objectID}`,encodeURIComponent(t)),a={},s={};n!==void 0&&(s.forwardToReplicas=n.toString());let c={method:`DELETE`,path:i,queryParameters:s,headers:a};return o.request(c,r)},getApiKey({key:e},t){if(!e)throw Error("Parameter `key` is required when calling `getApiKey`.");let n={method:`GET`,path:`/1/keys/{key}`.replace(`{key}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return o.request(n,t)},getAppTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `getAppTask`.");let n={method:`GET`,path:`/1/task/{taskID}`.replace(`{taskID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return o.request(n,t)},getDictionaryLanguages(e){return o.request({method:`GET`,path:`/1/dictionaries/*/languages`,queryParameters:{},headers:{}},e)},getDictionarySettings(e){return o.request({method:`GET`,path:`/1/dictionaries/*/settings`,queryParameters:{},headers:{}},e)},getLogs({offset:e,length:t,indexName:n,type:r}={},i=void 0){let a={},s={};e!==void 0&&(s.offset=e.toString()),t!==void 0&&(s.length=t.toString()),n!==void 0&&(s.indexName=n.toString()),r!==void 0&&(s.type=r.toString());let c={method:`GET`,path:`/1/logs`,queryParameters:s,headers:a};return o.request(c,i)},getObject({indexName:e,objectID:t,attributesToRetrieve:n},r){if(!e)throw Error("Parameter `indexName` is required when calling `getObject`.");if(!t)throw Error("Parameter `objectID` is required when calling `getObject`.");let i=`/1/indexes/{indexName}/{objectID}`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{objectID}`,encodeURIComponent(t)),a={},s={};n!==void 0&&(s.attributesToRetrieve=n.toString());let c={method:`GET`,path:i,queryParameters:s,headers:a};return o.request(c,r)},getObjects(e,t){if(!e)throw Error("Parameter `getObjectsParams` is required when calling `getObjects`.");if(!e.requests)throw Error("Parameter `getObjectsParams.requests` is required when calling `getObjects`.");let n={method:`POST`,path:`/1/indexes/*/objects`,queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return o.request(n,t)},getRule({indexName:e,objectID:t},n){if(!e)throw Error("Parameter `indexName` is required when calling `getRule`.");if(!t)throw Error("Parameter `objectID` is required when calling `getRule`.");let r={method:`GET`,path:`/1/indexes/{indexName}/rules/{objectID}`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{objectID}`,encodeURIComponent(t)),queryParameters:{},headers:{}};
11return o.request(r,n)},getSettings({indexName:e,getVersion:t},n){if(!e)throw Error("Parameter `indexName` is required when calling `getSettings`.");let r=`/1/indexes/{indexName}/settings`.replace(`{indexName}`,encodeURIComponent(e)),i={},a={};t!==void 0&&(a.getVersion=t.toString());let s={method:`GET`,path:r,queryParameters:a,headers:i};return o.request(s,n)},getSources(e){return o.request({method:`GET`,path:`/1/security/sources`,queryParameters:{},headers:{}},e)},getSynonym({indexName:e,objectID:t},n){if(!e)throw Error("Parameter `indexName` is required when calling `getSynonym`.");if(!t)throw Error("Parameter `objectID` is required when calling `getSynonym`.");let r={method:`GET`,path:`/1/indexes/{indexName}/synonyms/{objectID}`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{objectID}`,encodeURIComponent(t)),queryParameters:{},headers:{}};return o.request(r,n)},getTask({indexName:e,taskID:t},n){if(!e)throw Error("Parameter `indexName` is required when calling `getTask`.");if(!t)throw Error("Parameter `taskID` is required when calling `getTask`.");let r={method:`GET`,path:`/1/indexes/{indexName}/task/{taskID}`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{taskID}`,encodeURIComponent(t)),queryParameters:{},headers:{}};return o.request(r,n)},getTopUserIds(e){return o.request({method:`GET`,path:`/1/clusters/mapping/top`,queryParameters:{},headers:{}},e)},getUserId({userID:e},t){if(!e)throw Error("Parameter `userID` is required when calling `getUserId`.");let n={method:`GET`,path:`/1/clusters/mapping/{userID}`.replace(`{userID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return o.request(n,t)},hasPendingMappings({getClusters:e}={},t=void 0){let n={},r={};e!==void 0&&(r.getClusters=e.toString());let i={method:`GET`,path:`/1/clusters/mapping/pending`,queryParameters:r,headers:n};return o.request(i,t)},listApiKeys(e){return o.request({method:`GET`,path:`/1/keys`,queryParameters:{},headers:{}},e)},listClusters(e){return o.request({method:`GET`,path:`/1/clusters`,queryParameters:{},headers:{}},e)},listIndices({page:e,hitsPerPage:t}={},n=void 0){let r={},i={};e!==void 0&&(i.page=e.toString()),t!==void 0&&(i.hitsPerPage=t.toString());let a={method:`GET`,path:`/1/indexes`,queryParameters:i,headers:r};return o.request(a,n)},listUserIds({page:e,hitsPerPage:t}={},n=void 0){let r={},i={};e!==void 0&&(i.page=e.toString()),t!==void 0&&(i.hitsPerPage=t.toString());let a={method:`GET`,path:`/1/clusters/mapping`,queryParameters:i,headers:r};return o.request(a,n)},multipleBatch(e,t){if(!e)throw Error("Parameter `batchParams` is required when calling `multipleBatch`.");if(!e.requests)throw Error("Parameter `batchParams.requests` is required when calling `multipleBatch`.");let n={method:`POST`,path:`/1/indexes/*/batch`,queryParameters:{},headers:{},data:e};return o.request(n,t)},operationIndex({indexName:e,operationIndexParams:t},n){if(!e)throw Error("Parameter `indexName` is required when calling `operationIndex`.");if(!t)throw Error("Parameter `operationIndexParams` is required when calling `operationIndex`.");if(!t.operation)throw Error("Parameter `operationIndexParams.operation` is required when calling `operationIndex`.");if(!t.destination)throw Error("Parameter `operationIndexParams.destination` is required when calling `operationIndex`.");let r={method:`POST`,path:`/1/indexes/{indexName}/operation`.replace(`{indexName}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return o.request(r,n)},partialUpdateObject({indexName:e,objectID:t,attributesToUpdate:n,createIfNotExists:r},i){if(!e)throw Error("Parameter `indexName` is required when calling `partialUpdateObject`.");if(!t)throw Error("Parameter `objectID` is required when calling `partialUpdateObject`.");if(!n)throw Error("Parameter `attributesToUpdate` is required when calling `partialUpdateObject`.");let a=`/1/indexes/{indexName}/{objectID}/partial`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{objectID}`,encodeURIComponent(t)),s={},c={};r!==void 0&&(c.createIfNotExists=r.toString());let l={method:`POST`,path:a,queryParameters:c,headers:s,data:n};return o.request(l,i)},removeUserId({userID:e},t){if(!e)throw Error("Parameter `userID` is required when calling `removeUserId`.");let n={method:`DELETE`,path:`/1/clusters/mapping/{userID}`.replace(`{userID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return o.request(n,t)},replaceSources({source:e},t){if(!e)throw Error("Parameter `source` is required when calling `replaceSources`.");let n={method:`PUT`,path:`/1/security/sources`,queryParameters:{},headers:{},data:e};return o.request(n,t)},restoreApiKey({key:e},t){if(!e)throw Error("Parameter `key` is required when calling `restoreApiKey`.");let n={method:`POST`,path:`/1/keys/{key}/restore`.replace(`{key}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return o.request(n,t)},saveObject({indexName:e,body:t},n){if(!e)throw Error("Parameter `indexName` is required when calling `saveObject`.");if(!t)throw Error("Parameter `body` is required when calling `saveObject`.");let r={method:`POST`,path:`/1/indexes/{indexName}`.replace(`{indexName}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t};
11return o.request(r,n)},saveRule({indexName:e,objectID:t,rule:n,forwardToReplicas:r},i){if(!e)throw Error("Parameter `indexName` is required when calling `saveRule`.");if(!t)throw Error("Parameter `objectID` is required when calling `saveRule`.");if(!n)throw Error("Parameter `rule` is required when calling `saveRule`.");if(!n.objectID)throw Error("Parameter `rule.objectID` is required when calling `saveRule`.");if(!n.consequence)throw Error("Parameter `rule.consequence` is required when calling `saveRule`.");let a=`/1/indexes/{indexName}/rules/{objectID}`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{objectID}`,encodeURIComponent(t)),s={},c={};r!==void 0&&(c.forwardToReplicas=r.toString());let l={method:`PUT`,path:a,queryParameters:c,headers:s,data:n};return o.request(l,i)},saveRules({indexName:e,rules:t,forwardToReplicas:n,clearExistingRules:r},i){if(!e)throw Error("Parameter `indexName` is required when calling `saveRules`.");if(!t)throw Error("Parameter `rules` is required when calling `saveRules`.");let a=`/1/indexes/{indexName}/rules/batch`.replace(`{indexName}`,encodeURIComponent(e)),s={},c={};n!==void 0&&(c.forwardToReplicas=n.toString()),r!==void 0&&(c.clearExistingRules=r.toString());let l={method:`POST`,path:a,queryParameters:c,headers:s,data:t};return o.request(l,i)},saveSynonym({indexName:e,objectID:t,synonymHit:n,forwardToReplicas:r},i){if(!e)throw Error("Parameter `indexName` is required when calling `saveSynonym`.");if(!t)throw Error("Parameter `objectID` is required when calling `saveSynonym`.");if(!n)throw Error("Parameter `synonymHit` is required when calling `saveSynonym`.");if(!n.objectID)throw Error("Parameter `synonymHit.objectID` is required when calling `saveSynonym`.");if(!n.type)throw Error("Parameter `synonymHit.type` is required when calling `saveSynonym`.");let a=`/1/indexes/{indexName}/synonyms/{objectID}`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{objectID}`,encodeURIComponent(t)),s={},c={};r!==void 0&&(c.forwardToReplicas=r.toString());let l={method:`PUT`,path:a,queryParameters:c,headers:s,data:n};return o.request(l,i)},saveSynonyms({indexName:e,synonymHit:t,forwardToReplicas:n,replaceExistingSynonyms:r},i){if(!e)throw Error("Parameter `indexName` is required when calling `saveSynonyms`.");if(!t)throw Error("Parameter `synonymHit` is required when calling `saveSynonyms`.");let a=`/1/indexes/{indexName}/synonyms/batch`.replace(`{indexName}`,encodeURIComponent(e)),s={},c={};n!==void 0&&(c.forwardToReplicas=n.toString()),r!==void 0&&(c.replaceExistingSynonyms=r.toString());let l={method:`POST`,path:a,queryParameters:c,headers:s,data:t};return o.request(l,i)},search(e,t){if(e&&Array.isArray(e)&&(e={requests:e.map(({params:e,...t})=>t.type===`facet`?{...t,...e,type:`facet`}:{...t,...e,facet:void 0,maxFacetHits:void 0,facetQuery:void 0})}),!e)throw Error("Parameter `searchMethodParams` is required when calling `search`.");if(!e.requests)throw Error("Parameter `searchMethodParams.requests` is required when calling `search`.");let n={method:`POST`,path:`/1/indexes/*/queries`,queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return o.request(n,t)},searchDictionaryEntries({dictionaryName:e,searchDictionaryEntriesParams:t},n){if(!e)throw Error("Parameter `dictionaryName` is required when calling `searchDictionaryEntries`.");if(!t)throw Error("Parameter `searchDictionaryEntriesParams` is required when calling `searchDictionaryEntries`.");if(!t.query)throw Error("Parameter `searchDictionaryEntriesParams.query` is required when calling `searchDictionaryEntries`.");let r={method:`POST`,path:`/1/dictionaries/{dictionaryName}/search`.replace(`{dictionaryName}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t,useReadTransporter:!0,cacheable:!0};return o.request(r,n)},searchForFacetValues({indexName:e,facetName:t,searchForFacetValuesRequest:n},r){if(!e)throw Error("Parameter `indexName` is required when calling `searchForFacetValues`.");if(!t)throw Error("Parameter `facetName` is required when calling `searchForFacetValues`.");let i={method:`POST`,path:`/1/indexes/{indexName}/facets/{facetName}/query`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{facetName}`,encodeURIComponent(t)),queryParameters:{},headers:{},data:n||{},useReadTransporter:!0,cacheable:!0};return o.request(i,r)},searchRules({indexName:e,searchRulesParams:t},n){if(!e)throw Error("Parameter `indexName` is required when calling `searchRules`.");let r={method:`POST`,path:`/1/indexes/{indexName}/rules/search`.replace(`{indexName}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0};
11return o.request(r,n)},searchSingleIndex({indexName:e,searchParams:t},n){if(!e)throw Error("Parameter `indexName` is required when calling `searchSingleIndex`.");let r={method:`POST`,path:`/1/indexes/{indexName}/query`.replace(`{indexName}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0};return o.request(r,n)},searchSynonyms({indexName:e,searchSynonymsParams:t},n){if(!e)throw Error("Parameter `indexName` is required when calling `searchSynonyms`.");let r={method:`POST`,path:`/1/indexes/{indexName}/synonyms/search`.replace(`{indexName}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0};return o.request(r,n)},searchUserIds(e,t){if(!e)throw Error("Parameter `searchUserIdsParams` is required when calling `searchUserIds`.");if(!e.query)throw Error("Parameter `searchUserIdsParams.query` is required when calling `searchUserIds`.");let n={method:`POST`,path:`/1/clusters/mapping/search`,queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return o.request(n,t)},setDictionarySettings(e,t){if(!e)throw Error("Parameter `dictionarySettingsParams` is required when calling `setDictionarySettings`.");if(!e.disableStandardEntries)throw Error("Parameter `dictionarySettingsParams.disableStandardEntries` is required when calling `setDictionarySettings`.");let n={method:`PUT`,path:`/1/dictionaries/*/settings`,queryParameters:{},headers:{},data:e};return o.request(n,t)},setSettings({indexName:e,indexSettings:t,forwardToReplicas:n},r){if(!e)throw Error("Parameter `indexName` is required when calling `setSettings`.");if(!t)throw Error("Parameter `indexSettings` is required when calling `setSettings`.");let i=`/1/indexes/{indexName}/settings`.replace(`{indexName}`,encodeURIComponent(e)),a={},s={};n!==void 0&&(s.forwardToReplicas=n.toString());let c={method:`PUT`,path:i,queryParameters:s,headers:a,data:t};return o.request(c,r)},updateApiKey({key:e,apiKey:t},n){if(!e)throw Error("Parameter `key` is required when calling `updateApiKey`.");if(!t)throw Error("Parameter `apiKey` is required when calling `updateApiKey`.");if(!t.acl)throw Error("Parameter `apiKey.acl` is required when calling `updateApiKey`.");let r={method:`PUT`,path:`/1/keys/{key}`.replace(`{key}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return o.request(r,n)}}}function Qr(e,t,n){if(!e||typeof e!=`string`)throw Error("`appId` is missing.");if(!t||typeof t!=`string`)throw Error("`apiKey` is missing.");let{compression:r,...i}=n||{};return Zr({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:Un(),requester:dr(),algoliaAgents:[{segment:`Browser`}],authMode:`WithinQueryParameters`,responsesCache:Rn(),requestsCache:Rn({serializable:!1}),hostsCache:Ln({caches:[Fn({key:`${Yr}-${e}`}),Rn()]}),...i})}var $r=s({apiClientVersion:()=>ei,ingestionClient:()=>si,isOnDemandTrigger:()=>ri,isScheduleTrigger:()=>ii,isSubscriptionTrigger:()=>ai}),ei=`1.51.0`,ti=[`eu`,`us`];function ni(e){return[{url:`data.{region}.algolia.com`.replace(`{region}`,e),accept:`readWrite`,protocol:`https`}]}function ri(e){return e.type===`onDemand`}function ii(e){return e.type===`schedule`}function ai(e){return e.type===`subscription`}function oi({appId:e,apiKey:t,authMode:n,algoliaAgents:r,region:i,...a}){let o=Bn(e,t,n),s=ur({hosts:ni(i),...a,algoliaAgent:Hn({algoliaAgents:r,client:`Ingestion`,version:ei}),baseHeaders:{"content-type":`text/plain`,...o.headers(),...a.baseHeaders},baseQueryParameters:{...o.queryParameters(),...a.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache(){return Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0)},get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){!n||n===`WithinHeaders`?s.baseHeaders[`x-algolia-api-key`]=e:s.baseQueryParameters[`x-algolia-api-key`]=e},async chunkedPush({indexName:e,objects:t,action:n=`addObject`,waitForTasks:r,batchSize:i=1e3,referenceIndexName:a},o){let s=[],c=0,l=[],u=Math.floor(i/10)||i,d=t.entries();for(let[f,p]of d)if(s.push(p),(s.length===i||f===t.length-1)&&(l.push(await this.push({indexName:e,pushTaskPayload:{action:n,records:s},referenceIndexName:a},o)),s=[]),r&&l.length>0&&(l.length%u===0||f===t.length-1)){for(let e of l.slice(c,c+u)){if(!e.eventID)throw Error(`received unexpected response from the push endpoint, eventID must not be undefined`);let t=0;await Vn({func:async()=>
11{if(e.eventID===void 0||!e.eventID)throw Error(`received unexpected response from the push endpoint, eventID must not be undefined`);return this.getEvent({runID:e.runID,eventID:e.eventID}).catch(e=>{if(e.status!==404)throw e})},validate:e=>e!==void 0,aggregator:()=>t+=1,error:{validate:()=>t>=50,message:()=>`The maximum number of retries exceeded. (${t}/50)`},timeout:()=>Math.min(t*500,5e3)})}c+=u}return l},createAuthentication(e,t){if(!e)throw Error("Parameter `authenticationCreate` is required when calling `createAuthentication`.");if(!e.type)throw Error("Parameter `authenticationCreate.type` is required when calling `createAuthentication`.");if(!e.name)throw Error("Parameter `authenticationCreate.name` is required when calling `createAuthentication`.");if(!e.input)throw Error("Parameter `authenticationCreate.input` is required when calling `createAuthentication`.");let n={method:`POST`,path:`/1/authentications`,queryParameters:{},headers:{},data:e};return s.request(n,t)},createDestination(e,t){if(!e)throw Error("Parameter `destinationCreate` is required when calling `createDestination`.");if(!e.type)throw Error("Parameter `destinationCreate.type` is required when calling `createDestination`.");if(!e.name)throw Error("Parameter `destinationCreate.name` is required when calling `createDestination`.");if(!e.input)throw Error("Parameter `destinationCreate.input` is required when calling `createDestination`.");let n={method:`POST`,path:`/1/destinations`,queryParameters:{},headers:{},data:e};return s.request(n,t)},createSource(e,t){if(!e)throw Error("Parameter `sourceCreate` is required when calling `createSource`.");if(!e.type)throw Error("Parameter `sourceCreate.type` is required when calling `createSource`.");if(!e.name)throw Error("Parameter `sourceCreate.name` is required when calling `createSource`.");let n={method:`POST`,path:`/1/sources`,queryParameters:{},headers:{},data:e};return s.request(n,t)},createTask(e,t){if(!e)throw Error("Parameter `taskCreate` is required when calling `createTask`.");if(!e.sourceID)throw Error("Parameter `taskCreate.sourceID` is required when calling `createTask`.");if(!e.destinationID)throw Error("Parameter `taskCreate.destinationID` is required when calling `createTask`.");if(!e.action)throw Error("Parameter `taskCreate.action` is required when calling `createTask`.");let n={method:`POST`,path:`/2/tasks`,queryParameters:{},headers:{},data:e};return s.request(n,t)},createTaskV1(e,t){if(!e)throw Error("Parameter `taskCreate` is required when calling `createTaskV1`.");if(!e.sourceID)throw Error("Parameter `taskCreate.sourceID` is required when calling `createTaskV1`.");if(!e.destinationID)throw Error("Parameter `taskCreate.destinationID` is required when calling `createTaskV1`.");if(!e.trigger)throw Error("Parameter `taskCreate.trigger` is required when calling `createTaskV1`.");if(!e.action)throw Error("Parameter `taskCreate.action` is required when calling `createTaskV1`.");let n={method:`POST`,path:`/1/tasks`,queryParameters:{},headers:{},data:e};return s.request(n,t)},createTransformation(e,t){if(!e)throw Error("Parameter `transformationCreate` is required when calling `createTransformation`.");if(!e.name)throw Error("Parameter `transformationCreate.name` is required when calling `createTransformation`.");let n={method:`POST`,path:`/1/transformations`,queryParameters:{},headers:{},data:e};return s.request(n,t)},customDelete({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let r={method:`DELETE`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};return s.request(r,n)},customGet({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let r={method:`GET`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};return s.request(r,n)},customPost({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i={method:`POST`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return s.request(i,r)},customPut({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i={method:`PUT`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return s.request(i,r)},deleteAuthentication({authenticationID:e},t){if(!e)throw Error("Parameter `authenticationID` is required when calling `deleteAuthentication`.");let n={method:`DELETE`,path:`/1/authentications/{authenticationID}`.replace(`{authenticationID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},deleteDestination({destinationID:e},t){if(!e)throw Error("Parameter `destinationID` is required when calling `deleteDestination`.");let n={method:`DELETE`,path:`/1/destinations/{destinationID}`.replace(`{destinationID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},deleteSource({sourceID:e},t){if(!e)throw Error("Parameter `sourceID` is required when calling `deleteSource`.");let n={method:`DELETE`,path:`/1/sources/{sourceID}`.replace(`{sourceID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},deleteTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `deleteTask`.");let n={method:`DELETE`,path:`/2/tasks/{taskID}`.replace(`{taskID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},deleteTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `deleteTaskV1`.");let n={method:`DELETE`,path:`/1/tasks/{taskID}`.replace(`{taskID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},deleteTransformation({transformationID:e},t){if(!e)throw Error("Parameter `transformationID` is required when calling `deleteTransformation`.");let n={method:`DELETE`,path:`/1/transformations/{transformationID}`.replace(`{transformationID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},disableTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `disableTask`.");let n={method:`PUT`,path:`/2/tasks/{taskID}/disable`.replace(`{taskID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},disableTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `disableTaskV1`.");let n={method:`PUT`,path:`/1/tasks/{taskID}/disable`.replace(`{taskID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},enableTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `enableTask`.");let n={method:`PUT`,path:`/2/tasks/{taskID}/enable`.replace(`{taskID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},enableTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `enableTaskV1`.");let n={method:`PUT`,path:`/1/tasks/{taskID}/enable`.replace(`{taskID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},getAuthentication({authenticationID:e},t){if(!e)throw Error("Parameter `authenticationID` is required when calling `getAuthentication`.");let n={method:`GET`,path:`/1/authentications/{authenticationID}`.replace(`{authenticationID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},getDestination({destinationID:e},t){if(!e)throw Error("Parameter `destinationID` is required when calling `getDestination`.");let n={method:`GET`,path:`/1/destinations/{destinationID}`.replace(`{destinationID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},getEvent({runID:e,eventID:t},n){if(!e)throw Error("Parameter `runID` is required when calling `getEvent`.");if(!t)throw Error("Parameter `eventID` is required when calling `getEvent`.");let r={method:`GET`,path:`/1/runs/{runID}/events/{eventID}`.replace(`{runID}`,encodeURIComponent(e)).replace(`{eventID}`,encodeURIComponent(t)),queryParameters:{},headers:{}};
11return s.request(r,n)},getRun({runID:e},t){if(!e)throw Error("Parameter `runID` is required when calling `getRun`.");let n={method:`GET`,path:`/1/runs/{runID}`.replace(`{runID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},getSource({sourceID:e},t){if(!e)throw Error("Parameter `sourceID` is required when calling `getSource`.");let n={method:`GET`,path:`/1/sources/{sourceID}`.replace(`{sourceID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},getTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `getTask`.");let n={method:`GET`,path:`/2/tasks/{taskID}`.replace(`{taskID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},getTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `getTaskV1`.");let n={method:`GET`,path:`/1/tasks/{taskID}`.replace(`{taskID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},getTransformation({transformationID:e},t){if(!e)throw Error("Parameter `transformationID` is required when calling `getTransformation`.");let n={method:`GET`,path:`/1/transformations/{transformationID}`.replace(`{transformationID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return s.request(n,t)},listAuthentications({itemsPerPage:e,page:t,type:n,platform:r,sort:i,order:a}={},o=void 0){let c={},l={};e!==void 0&&(l.itemsPerPage=e.toString()),t!==void 0&&(l.page=t.toString()),n!==void 0&&(l.type=n.toString()),r!==void 0&&(l.platform=r.toString()),i!==void 0&&(l.sort=i.toString()),a!==void 0&&(l.order=a.toString());let u={method:`GET`,path:`/1/authentications`,queryParameters:l,headers:c};return s.request(u,o)},listDestinations({itemsPerPage:e,page:t,type:n,authenticationID:r,transformationID:i,sort:a,order:o}={},c=void 0){let l={},u={};e!==void 0&&(u.itemsPerPage=e.toString()),t!==void 0&&(u.page=t.toString()),n!==void 0&&(u.type=n.toString()),r!==void 0&&(u.authenticationID=r.toString()),i!==void 0&&(u.transformationID=i.toString()),a!==void 0&&(u.sort=a.toString()),o!==void 0&&(u.order=o.toString());let d={method:`GET`,path:`/1/destinations`,queryParameters:u,headers:l};return s.request(d,c)},listEvents({runID:e,itemsPerPage:t,page:n,status:r,type:i,sort:a,order:o,startDate:c,endDate:l},u){if(!e)throw Error("Parameter `runID` is required when calling `listEvents`.");let d=`/1/runs/{runID}/events`.replace(`{runID}`,encodeURIComponent(e)),f={},p={};t!==void 0&&(p.itemsPerPage=t.toString()),n!==void 0&&(p.page=n.toString()),r!==void 0&&(p.status=r.toString()),i!==void 0&&(p.type=i.toString()),a!==void 0&&(p.sort=a.toString()),o!==void 0&&(p.order=o.toString()),c!==void 0&&(p.startDate=c.toString()),l!==void 0&&(p.endDate=l.toString());let m={method:`GET`,path:d,queryParameters:p,headers:f};return s.request(m,u)},listRuns({itemsPerPage:e,page:t,status:n,type:r,taskID:i,sort:a,order:o,startDate:c,endDate:l}={},u=void 0){let d={},f={};e!==void 0&&(f.itemsPerPage=e.toString()),t!==void 0&&(f.page=t.toString()),n!==void 0&&(f.status=n.toString()),r!==void 0&&(f.type=r.toString()),i!==void 0&&(f.taskID=i.toString()),a!==void 0&&(f.sort=a.toString()),o!==void 0&&(f.order=o.toString()),c!==void 0&&(f.startDate=c.toString()),l!==void 0&&(f.endDate=l.toString());let p={method:`GET`,path:`/1/runs`,queryParameters:f,headers:d};return s.request(p,u)},listSources({itemsPerPage:e,page:t,type:n,authenticationID:r,sort:i,order:a}={},o=void 0){let c={},l={};e!==void 0&&(l.itemsPerPage=e.toString()),t!==void 0&&(l.page=t.toString()),n!==void 0&&(l.type=n.toString()),r!==void 0&&(l.authenticationID=r.toString()),i!==void 0&&(l.sort=i.toString()),a!==void 0&&(l.order=a.toString());let u={method:`GET`,path:`/1/sources`,queryParameters:l,headers:c};return s.request(u,o)},listTasks({itemsPerPage:e,page:t,action:n,enabled:r,sourceID:i,sourceType:a,destinationID:o,triggerType:c,withEmailNotifications:l,sort:u,order:d}={},f=void 0){let p={},m={};e!==void 0&&(m.itemsPerPage=e.toString()),t!==void 0&&(m.page=t.toString()),n!==void 0&&(m.action=n.toString()),r!==void 0&&(m.enabled=r.toString()),i!==void 0&&(m.sourceID=i.toString()),a!==void 0&&(m.sourceType=a.toString()),o!==void 0&&(m.destinationID=o.toString()),c!==void 0&&(m.triggerType=c.toString()),l!==void 0&&(m.withEmailNotifications=l.toString()),u!==void 0&&(m.sort=u.toString()),d!==void 0&&(m.order=d.toString());let h={method:`GET`,path:`/2/tasks`,queryParameters:m,headers:p};return s.request(h,f)},listTasksV1({itemsPerPage:e,page:t,action:n,enabled:r,sourceID:i,destinationID:a,triggerType:o,sort:c,order:l}={},u=void 0){let d={},f={};e!==void 0&&(f.itemsPerPage=e.toString()),t!==void 0&&(f.page=t.toString()),n!==void 0&&(f.action=n.toString()),r!==void 0&&(f.enabled=r.toString()),i!==void 0&&(f.sourceID=i.toString()),a!==void 0&&(f.destinationID=a.toString()),o!==void 0&&(f.triggerType=o.toString()),c!==void 0&&(f.sort=c.toString()),l!==void 0&&(f.order=l.toString());let p={method:`GET`,path:`/1/tasks`,queryParameters:f,headers:d};return s.request(p,u)},listTransformations({itemsPerPage:e,page:t,sort:n,order:r,type:i}={},a=void 0){let o={},c={};
11e!==void 0&&(c.itemsPerPage=e.toString()),t!==void 0&&(c.page=t.toString()),n!==void 0&&(c.sort=n.toString()),r!==void 0&&(c.order=r.toString()),i!==void 0&&(c.type=i.toString());let l={method:`GET`,path:`/1/transformations`,queryParameters:c,headers:o};return s.request(l,a)},push({indexName:e,pushTaskPayload:t,watch:n,referenceIndexName:r},i){if(!e)throw Error("Parameter `indexName` is required when calling `push`.");if(!t)throw Error("Parameter `pushTaskPayload` is required when calling `push`.");if(!t.action)throw Error("Parameter `pushTaskPayload.action` is required when calling `push`.");if(!t.records)throw Error("Parameter `pushTaskPayload.records` is required when calling `push`.");let a=`/1/push/{indexName}`.replace(`{indexName}`,encodeURIComponent(e)),o={},c={};n!==void 0&&(c.watch=n.toString()),r!==void 0&&(c.referenceIndexName=r.toString());let l={method:`POST`,path:a,queryParameters:c,headers:o,data:t};return i={timeouts:{connect:18e4,read:18e4,write:18e4,...i?.timeouts}},s.request(l,i)},pushTask({taskID:e,pushTaskPayload:t,watch:n},r){if(!e)throw Error("Parameter `taskID` is required when calling `pushTask`.");if(!t)throw Error("Parameter `pushTaskPayload` is required when calling `pushTask`.");if(!t.action)throw Error("Parameter `pushTaskPayload.action` is required when calling `pushTask`.");if(!t.records)throw Error("Parameter `pushTaskPayload.records` is required when calling `pushTask`.");let i=`/2/tasks/{taskID}/push`.replace(`{taskID}`,encodeURIComponent(e)),a={},o={};n!==void 0&&(o.watch=n.toString());let c={method:`POST`,path:i,queryParameters:o,headers:a,data:t};return r={timeouts:{connect:18e4,read:18e4,write:18e4,...r?.timeouts}},s.request(c,r)},replaceTask({taskID:e,taskReplace:t},n){if(!e)throw Error("Parameter `taskID` is required when calling `replaceTask`.");if(!t)throw Error("Parameter `taskReplace` is required when calling `replaceTask`.");if(!t.destinationID)throw Error("Parameter `taskReplace.destinationID` is required when calling `replaceTask`.");if(!t.action)throw Error("Parameter `taskReplace.action` is required when calling `replaceTask`.");let r={method:`PUT`,path:`/2/tasks/{taskID}`.replace(`{taskID}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return s.request(r,n)},runSource({sourceID:e,runSourcePayload:t},n){if(!e)throw Error("Parameter `sourceID` is required when calling `runSource`.");let r={method:`POST`,path:`/1/sources/{sourceID}/run`.replace(`{sourceID}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t||{}};return s.request(r,n)},runTask({taskID:e,runTaskPayload:t},n){if(!e)throw Error("Parameter `taskID` is required when calling `runTask`.");let r={method:`POST`,path:`/2/tasks/{taskID}/run`.replace(`{taskID}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t||{}};return s.request(r,n)},runTaskV1({taskID:e,runTaskPayload:t},n){if(!e)throw Error("Parameter `taskID` is required when calling `runTaskV1`.");let r={method:`POST`,path:`/1/tasks/{taskID}/run`.replace(`{taskID}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t||{}};return s.request(r,n)},searchAuthentications(e,t){if(!e)throw Error("Parameter `authenticationSearch` is required when calling `searchAuthentications`.");if(!e.authenticationIDs)throw Error("Parameter `authenticationSearch.authenticationIDs` is required when calling `searchAuthentications`.");let n={method:`POST`,path:`/1/authentications/search`,queryParameters:{},headers:{},data:e};return s.request(n,t)},searchDestinations(e,t){if(!e)throw Error("Parameter `destinationSearch` is required when calling `searchDestinations`.");if(!e.destinationIDs)throw Error("Parameter `destinationSearch.destinationIDs` is required when calling `searchDestinations`.");let n={method:`POST`,path:`/1/destinations/search`,queryParameters:{},headers:{},data:e};return s.request(n,t)},searchSources(e,t){if(!e)throw Error("Parameter `sourceSearch` is required when calling `searchSources`.");if(!e.sourceIDs)throw Error("Parameter `sourceSearch.sourceIDs` is required when calling `searchSources`.");let n={method:`POST`,path:`/1/sources/search`,queryParameters:{},headers:{},data:e};return s.request(n,t)},searchTasks(e,t){if(!e)throw Error("Parameter `taskSearch` is required when calling `searchTasks`.");if(!e.taskIDs)throw Error("Parameter `taskSearch.taskIDs` is required when calling `searchTasks`.");let n={method:`POST`,path:`/2/tasks/search`,queryParameters:{},headers:{},data:e};return s.request(n,t)},searchTasksV1(e,t){if(!e)throw Error("Parameter `taskSearch` is required when calling `searchTasksV1`.");if(!e.taskIDs)throw Error("Parameter `taskSearch.taskIDs` is required when calling `searchTasksV1`.");let n={method:`POST`,path:`/1/tasks/search`,queryParameters:{},headers:{},data:e};return s.request(n,t)},searchTransformations(e,t){if(!e)throw Error("Parameter `transformationSearch` is required when calling `searchTransformations`.");if(!e.transformationIDs)throw Error("Parameter `transformationSearch.transformationIDs` is required when calling `searchTransformations`.");let n={method:`POST`,path:`/1/transformations/search`,queryParameters:{},headers:{},data:e};return s.request(n,t)},triggerDockerSourceDiscover({sourceID:e},t){if(!e)throw Error("Parameter `sourceID` is required when calling `triggerDockerSourceDiscover`.");let n={method:`POST`,path:`/1/sources/{sourceID}/discover`.replace(`{sourceID}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return t={timeouts:{connect:18e4,read:18e4,write:18e4,...t?.timeouts}},s.request(n,t)},tryTransformation(e,t){if(!e)throw Error("Parameter `transformationTry` is required when calling `tryTransformation`.");if(!e.sampleRecord)throw Error("Parameter `transformationTry.sampleRecord` is required when calling `tryTransformation`.");let n={method:`POST`,path:`/1/transformations/try`,queryParameters:{},headers:{},data:e};return s.request(n,t)},tryTransformationBeforeUpdate({transformationID:e,transformationTry:t},n){if(!e)throw Error("Parameter `transformationID` is required when calling `tryTransformationBeforeUpdate`.");if(!t)throw Error("Parameter `transformationTry` is required when calling `tryTransformationBeforeUpdate`.");if(!t.sampleRecord)throw Error("Parameter `transformationTry.sampleRecord` is required when calling `tryTransformationBeforeUpdate`.");let r={method:`POST`,path:`/1/transformations/{transformationID}/try`.replace(`{transformationID}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t};
11return s.request(r,n)},updateAuthentication({authenticationID:e,authenticationUpdate:t},n){if(!e)throw Error("Parameter `authenticationID` is required when calling `updateAuthentication`.");if(!t)throw Error("Parameter `authenticationUpdate` is required when calling `updateAuthentication`.");let r={method:`PATCH`,path:`/1/authentications/{authenticationID}`.replace(`{authenticationID}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return s.request(r,n)},updateDestination({destinationID:e,destinationUpdate:t},n){if(!e)throw Error("Parameter `destinationID` is required when calling `updateDestination`.");if(!t)throw Error("Parameter `destinationUpdate` is required when calling `updateDestination`.");let r={method:`PATCH`,path:`/1/destinations/{destinationID}`.replace(`{destinationID}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return s.request(r,n)},updateSource({sourceID:e,sourceUpdate:t},n){if(!e)throw Error("Parameter `sourceID` is required when calling `updateSource`.");if(!t)throw Error("Parameter `sourceUpdate` is required when calling `updateSource`.");let r={method:`PATCH`,path:`/1/sources/{sourceID}`.replace(`{sourceID}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return s.request(r,n)},updateTask({taskID:e,taskUpdate:t},n){if(!e)throw Error("Parameter `taskID` is required when calling `updateTask`.");if(!t)throw Error("Parameter `taskUpdate` is required when calling `updateTask`.");let r={method:`PATCH`,path:`/2/tasks/{taskID}`.replace(`{taskID}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return s.request(r,n)},updateTaskV1({taskID:e,taskUpdate:t},n){if(!e)throw Error("Parameter `taskID` is required when calling `updateTaskV1`.");if(!t)throw Error("Parameter `taskUpdate` is required when calling `updateTaskV1`.");let r={method:`PATCH`,path:`/1/tasks/{taskID}`.replace(`{taskID}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return s.request(r,n)},updateTransformation({transformationID:e,transformationCreate:t},n){if(!e)throw Error("Parameter `transformationID` is required when calling `updateTransformation`.");if(!t)throw Error("Parameter `transformationCreate` is required when calling `updateTransformation`.");if(!t.name)throw Error("Parameter `transformationCreate.name` is required when calling `updateTransformation`.");let r={method:`PUT`,path:`/1/transformations/{transformationID}`.replace(`{transformationID}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return s.request(r,n)},validateSource(e,t=void 0){let n={method:`POST`,path:`/1/sources/validate`,queryParameters:{},headers:{},data:e||{}};return t={timeouts:{connect:18e4,read:18e4,write:18e4,...t?.timeouts}},s.request(n,t)},validateSourceBeforeUpdate({sourceID:e,sourceUpdate:t},n){if(!e)throw Error("Parameter `sourceID` is required when calling `validateSourceBeforeUpdate`.");if(!t)throw Error("Parameter `sourceUpdate` is required when calling `validateSourceBeforeUpdate`.");let r={method:`POST`,path:`/1/sources/{sourceID}/validate`.replace(`{sourceID}`,encodeURIComponent(e)),queryParameters:{},headers:{},data:t};return n={timeouts:{connect:18e4,read:18e4,write:18e4,...n?.timeouts}},s.request(r,n)}}}function si(e,t,n,r){if(!e||typeof e!=`string`)throw Error("`appId` is missing.");if(!t||typeof t!=`string`)throw Error("`apiKey` is missing.");if(!n||n&&(typeof n!=`string`||!ti.includes(n)))throw Error(`\`region\` is required and must be one of the following: ${ti.join(`, `)}`);let{compression:i,...a}=r||{};return oi({appId:e,apiKey:t,region:n,timeouts:{connect:25e3,read:25e3,write:25e3},logger:Un(),requester:dr(),algoliaAgents:[{segment:`Browser`}],authMode:`WithinQueryParameters`,responsesCache:Rn(),requestsCache:Rn({serializable:!1}),hostsCache:Ln({caches:[Fn({key:`${ei}-${e}`}),Rn()]}),...a})}var ci=s({apiClientVersion:()=>li,monitoringClient:()=>fi}),li=`1.51.0`;function ui(){return[{url:`status.algolia.com`,accept:`readWrite`,protocol:`https`}]}function di({appId:e,apiKey:t,authMode:n,algoliaAgents:r,...i}){let a=Bn(e,t,n),o=ur({hosts:ui(),...i,algoliaAgent:Hn({algoliaAgents:r,client:`Monitoring`,version:li}),baseHeaders:{"content-type":`text/plain`,...a.headers(),...i.baseHeaders},baseQueryParameters:{...a.queryParameters(),...i.baseQueryParameters}});return{transporter:o,appId:e,apiKey:t,clearCache(){return Promise.all([o.requestsCache.clear(),o.responsesCache.clear()]).then(()=>void 0)},get _ua(){return o.algoliaAgent.value},addAlgoliaAgent(e,t){o.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){!n||n===`WithinHeaders`?o.baseHeaders[`x-algolia-api-key`]=e:o.baseQueryParameters[`x-algolia-api-key`]=e}
11,customDelete({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let r={method:`DELETE`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};return o.request(r,n)},customGet({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let r={method:`GET`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};return o.request(r,n)},customPost({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i={method:`POST`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return o.request(i,r)},customPut({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i={method:`PUT`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return o.request(i,r)},getClusterIncidents({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getClusterIncidents`.");let n={method:`GET`,path:`/1/incidents/{clusters}`.replace(`{clusters}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return o.request(n,t)},getClusterStatus({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getClusterStatus`.");let n={method:`GET`,path:`/1/status/{clusters}`.replace(`{clusters}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return o.request(n,t)},getIncidents(e){return o.request({method:`GET`,path:`/1/incidents`,queryParameters:{},headers:{}},e)},getIndexingTime({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getIndexingTime`.");let n={method:`GET`,path:`/1/indexing/{clusters}`.replace(`{clusters}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return o.request(n,t)},getLatency({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getLatency`.");let n={method:`GET`,path:`/1/latency/{clusters}`.replace(`{clusters}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return o.request(n,t)},getMetrics({metric:e,period:t},n){if(!e)throw Error("Parameter `metric` is required when calling `getMetrics`.");if(!t)throw Error("Parameter `period` is required when calling `getMetrics`.");let r={method:`GET`,path:`/1/infrastructure/{metric}/period/{period}`.replace(`{metric}`,encodeURIComponent(e)).replace(`{period}`,encodeURIComponent(t)),queryParameters:{},headers:{}};return o.request(r,n)},getReachability({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getReachability`.");let n={method:`GET`,path:`/1/reachability/{clusters}/probes`.replace(`{clusters}`,encodeURIComponent(e)),queryParameters:{},headers:{}};return o.request(n,t)},getServers(e){return o.request({method:`GET`,path:`/1/inventory/servers`,queryParameters:{},headers:{}},e)},getStatus(e){return o.request({method:`GET`,path:`/1/status`,queryParameters:{},headers:{}},e)}}}function fi(e,t,n){if(!e||typeof e!=`string`)throw Error("`appId` is missing.");if(!t||typeof t!=`string`)throw Error("`apiKey` is missing.");let{compression:r,...i}=n||{};return di({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:Un(),requester:dr(),algoliaAgents:[{segment:`Browser`}],authMode:`WithinQueryParameters`,responsesCache:Rn(),requestsCache:Rn({serializable:!1}),hostsCache:Ln({caches:[Fn({key:`${li}-${e}`}),Rn()]}),...i})}var pi=s({apiClientVersion:()=>mi,recommendClient:()=>_i}),mi=`5.51.0`;function hi(e){return[{url:`${e}-dsn.algolia.net`,accept:`read`,protocol:`https`},{url:`${e}.algolia.net`,accept:`write`,protocol:`https`}].concat(Qn([{url:`${e}-1.algolianet.com`,accept:`readWrite`,protocol:`https`},{url:`${e}-2.algolianet.com`,accept:`readWrite`,protocol:`https`},{url:`${e}-3.algolianet.com`,accept:`readWrite`,protocol:`https`}]))}function gi({appId:e,apiKey:t,authMode:n,algoliaAgents:r,...i}){let a=Bn(e,t,n),o=ur({hosts:hi(e),...i,algoliaAgent:Hn({algoliaAgents:r,client:`Recommend`,version:mi}),baseHeaders:{"content-type":`text/plain`,...a.headers(),...i.baseHeaders},baseQueryParameters:{...a.queryParameters(),...i.baseQueryParameters}});return{transporter:o,appId:e,apiKey:t,clearCache(){return Promise.all([o.requestsCache.clear(),o.responsesCache.clear()]).then(()=>void 0)},get _ua(){return o.algoliaAgent.value},addAlgoliaAgent(e,t){o.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){!n||n===`WithinHeaders`?o.baseHeaders[`x-algolia-api-key`]=e:o.baseQueryParameters[`x-algolia-api-key`]=e},batchRecommendRules({indexName:e,model:t,recommendRule:n},r){if(!e)throw Error("Parameter `indexName` is required when calling `batchRecommendRules`.");if(!t)throw Error("Parameter `model` is required when calling `batchRecommendRules`.");let i={method:`POST`,path:`/1/indexes/{indexName}/{model}/recommend/rules/batch`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{model}`,encodeURIComponent(t)),queryParameters:{},headers:{},data:n||{}};return o.request(i,r)},customDelete({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let r={method:`DELETE`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};
11return o.request(r,n)},customGet({path:e,parameters:t},n){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let r={method:`GET`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{}};return o.request(r,n)},customPost({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i={method:`POST`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return o.request(i,r)},customPut({path:e,parameters:t,body:n},r){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i={method:`PUT`,path:`/{path}`.replace(`{path}`,e),queryParameters:t||{},headers:{},data:n||{}};return o.request(i,r)},deleteRecommendRule({indexName:e,model:t,objectID:n},r){if(!e)throw Error("Parameter `indexName` is required when calling `deleteRecommendRule`.");if(!t)throw Error("Parameter `model` is required when calling `deleteRecommendRule`.");if(!n)throw Error("Parameter `objectID` is required when calling `deleteRecommendRule`.");let i={method:`DELETE`,path:`/1/indexes/{indexName}/{model}/recommend/rules/{objectID}`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{model}`,encodeURIComponent(t)).replace(`{objectID}`,encodeURIComponent(n)),queryParameters:{},headers:{}};return o.request(i,r)},getRecommendRule({indexName:e,model:t,objectID:n},r){if(!e)throw Error("Parameter `indexName` is required when calling `getRecommendRule`.");if(!t)throw Error("Parameter `model` is required when calling `getRecommendRule`.");if(!n)throw Error("Parameter `objectID` is required when calling `getRecommendRule`.");let i={method:`GET`,path:`/1/indexes/{indexName}/{model}/recommend/rules/{objectID}`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{model}`,encodeURIComponent(t)).replace(`{objectID}`,encodeURIComponent(n)),queryParameters:{},headers:{}};return o.request(i,r)},getRecommendStatus({indexName:e,model:t,taskID:n},r){if(!e)throw Error("Parameter `indexName` is required when calling `getRecommendStatus`.");if(!t)throw Error("Parameter `model` is required when calling `getRecommendStatus`.");if(!n)throw Error("Parameter `taskID` is required when calling `getRecommendStatus`.");let i={method:`GET`,path:`/1/indexes/{indexName}/{model}/task/{taskID}`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{model}`,encodeURIComponent(t)).replace(`{taskID}`,encodeURIComponent(n)),queryParameters:{},headers:{}};return o.request(i,r)},getRecommendations(e,t){if(e&&Array.isArray(e)&&(e={requests:e}),!e)throw Error("Parameter `getRecommendationsParams` is required when calling `getRecommendations`.");if(!e.requests)throw Error("Parameter `getRecommendationsParams.requests` is required when calling `getRecommendations`.");let n={method:`POST`,path:`/1/indexes/*/recommendations`,queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return o.request(n,t)},searchRecommendRules({indexName:e,model:t,searchRecommendRulesParams:n},r){if(!e)throw Error("Parameter `indexName` is required when calling `searchRecommendRules`.");if(!t)throw Error("Parameter `model` is required when calling `searchRecommendRules`.");let i={method:`POST`,path:`/1/indexes/{indexName}/{model}/recommend/rules/search`.replace(`{indexName}`,encodeURIComponent(e)).replace(`{model}`,encodeURIComponent(t)),queryParameters:{},headers:{},data:n||{},useReadTransporter:!0,cacheable:!0};return o.request(i,r)}}}function _i(e,t,n){if(!e||typeof e!=`string`)throw Error("`appId` is missing.");if(!t||typeof t!=`string`)throw Error("`apiKey` is missing.");let{compression:r,...i}=n||{};return gi({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:Un(),requester:dr(),algoliaAgents:[{segment:`Browser`}],authMode:`WithinQueryParameters`,responsesCache:Rn(),requestsCache:Rn({serializable:!1}),hostsCache:Ln({caches:[Fn({key:`${mi}-${e}`}),Rn()]}),...i})}var vi=Object.defineProperty,yi=Object.getOwnPropertyDescriptor,bi=Object.getOwnPropertyNames,xi=Object.prototype.hasOwnProperty,Si=(e,t)=>{for(var n in t)vi(e,n,{get:t[n],enumerable:!0})},Ci=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let i of bi(t))!xi.call(e,i)&&i!==n&&vi(e,i,{get:()=>t[i],enumerable:!(r=yi(t,i))||r.enumerable});return e},wi=(e,t,n)=>(Ci(e,t,`default`),n&&Ci(n,t,`default`)),Ti={};Si(Ti,{algoliasearch:()=>Di,apiClientVersion:()=>Yr});var Ei={};Si(Ei,{apiClientVersion:()=>Yr}),wi(Ei,fr),wi(Ei,vr),wi(Ei,wr),wi(Ei,Ar),wi(Ei,Ir),wi(Ei,Hr),wi(Ei,Jr),wi(Ei,$r),wi(Ei,ci),wi(Ei,pi),wi(Ti,Ei);function Di(e,t,n){if(!e||typeof e!=`string`)throw Error("`appId` is missing.");if(!t||typeof t!=`string`)throw Error("`apiKey` is missing.");let r=Qr(e,t,n),i;n?.transformationOptions?i=n.transformationOptions:n?.transformation&&(i={region:n.transformation.region});let a;if(i){if(!i.region)throw Error("`region` is required in `transformationOptions`. See https://www.algolia.com/doc/libraries/sdk/methods/ingestion/");let{region:n,...r}=i;a=si(e,t,n,r)}return{...r,async saveObjectsWithTransformation({indexName:e,objects:t,waitForTasks:n},r){if(!a)throw Error("`transformationOptions` must be set in the client config before calling this method. It defaults to the Ingestion API defaults. See https://www.algolia.com/doc/libraries/sdk/methods/ingestion/");return a.chunkedPush({indexName:e,objects:t,action:`addObject`,waitForTasks:n},r)},async partialUpdateObjectsWithTransformation({indexName:e,objects:t,createIfNotExists:n,waitForTasks:r}
11,i){if(!a)throw Error("`transformationOptions` must be set in the client config before calling this method. It defaults to the Ingestion API defaults. See https://www.algolia.com/doc/libraries/sdk/methods/ingestion/");return a.chunkedPush({indexName:e,objects:t,action:n?`partialUpdateObject`:`partialUpdateObjectNoCreate`,waitForTasks:r},i)},async replaceAllObjectsWithTransformation({indexName:e,objects:t,batchSize:n,scopes:r},i){if(!a)throw Error("`transformationOptions` must be set in the client config before calling this method. It defaults to the Ingestion API defaults. See https://www.algolia.com/doc/libraries/sdk/methods/ingestion/");let o=`${e}_tmp_${Math.floor(Math.random()*1e6)+1e5}`;r===void 0&&(r=[`settings`,`rules`,`synonyms`]);try{let s=await this.operationIndex({indexName:e,operationIndexParams:{operation:`copy`,destination:o,scope:r}},i),c=await a.chunkedPush({indexName:o,objects:t,waitForTasks:!0,batchSize:n,referenceIndexName:e},i);await this.waitForTask({indexName:o,taskID:s.taskID}),s=await this.operationIndex({indexName:e,operationIndexParams:{operation:`copy`,destination:o,scope:r}},i),await this.waitForTask({indexName:o,taskID:s.taskID});let l=await this.operationIndex({indexName:o,operationIndexParams:{operation:`move`,destination:e}},i);return await this.waitForTask({indexName:o,taskID:l.taskID}),{copyOperationResponse:s,watchResponses:c,moveOperationResponse:l}}catch(e){throw await this.deleteIndex({indexName:o}),e}},get _ua(){return r.transporter.algoliaAgent.value},initAbtesting:n=>Cr(n.appId||e,n.apiKey||t,n.region,n.options),initAbtestingV3:n=>_r(n.appId||e,n.apiKey||t,n.region,n.options),initAnalytics:n=>kr(n.appId||e,n.apiKey||t,n.region,n.options),initIngestion:n=>si(n.appId||e,n.apiKey||t,n.region,n.options),initInsights:n=>Fr(n.appId||e,n.apiKey||t,n.region,n.options),initMonitoring:(n={})=>fi(n.appId||e,n.apiKey||t,n.options),initPersonalization:n=>Vr(n.appId||e,n.apiKey||t,n.region,n.options),initQuerySuggestions:n=>qr(n.appId||e,n.apiKey||t,n.region,n.options),initRecommend:(n={})=>_i(n.appId||e,n.apiKey||t,n.options)}}var Oi=[{segment:`Address`,title:`Living the Torah`,code:`A1`,clip_id:3996},{segment:`Address`,title:`Never Give Up!`,code:`A2`,clip_id:3991},{segment:`Address`,title:`Maimonidesâ Universal Acceptance`,code:`A4`,clip_id:3981},{segment:`Address`,title:`A Month that Lasts a Year`,code:`A5`,clip_id:17380},{segment:`Address`,title:`A Nation Under G-d`,code:`A6`,clip_id:17400},{segment:`Address`,title:`Children of Avraham`,code:`A7`,clip_id:17390},{segment:`Address`,title:`This World is Not a Jungle`,code:`A8`,clip_id:17410},{segment:`Address`,title:`The Ripple Effect`,code:`A9`,clip_id:16158},{segment:`Address`,title:`The Purpose of Evil`,code:`A10`,clip_id:16465},{segment:`Address`,title:`Confined Potential`,code:`A11`,clip_id:16178},{segment:`Address`,title:`Sacrifice of the Great`,code:`A12`,clip_id:16188},{segment:`Address`,title:`The Chanukah Battle Continues`,code:`A13`,clip_id:9896},{segment:`Address`,title:`The True Beauty of Torah Study`,code:`A17`,clip_id:16198},{segment:`Address`,title:`Self Sacrifice`,code:`A18`,clip_id:16455},{segment:`Address`,title:`Itâs a Beautiful World`,code:`A19`,clip_id:16445},{segment:`Address`,title:`Tu BâShevat: Celebrating the Potential`,code:`A20`,clip_id:16228},{segment:`Address`,title:`A Tribute to the Rebbetzin`,code:`A21`,clip_id:3976},{segment:`Address`,title:`A Leap Year â Combining Consistency and Change`,code:`A23`,clip_id:3966},{segment:`Address`,title:`Two Halves Equals One Whole`,code:`A25`,clip_id:3956},{segment:`Address`,title:`Humility, Prerequisite to Torah`,code:`A27`,clip_id:3946},{segment:`Address`,title:`Awakening`,code:`A28`,clip_id:3941},{segment:`Address`,title:`Seeing Divine Success`,code:`A29`,clip_id:10181},{segment:`Address`,title:`Safeguarding Mother, Baby and Doctor`,code:`A30`,clip_id:3911},{segment:`Address`,title:`The Jewish Woman â Royal Patron`,code:`A31`,clip_id:3906},{segment:`Address`,title:`Constant Growth`,code:`A32`,clip_id:3901},{segment:`Address`,title:`Ethics Based on Torah`,code:`A34`,clip_id:3931},{segment:`Address`,title:`G-d is With Us in Exile`,code:`A37`,clip_id:3870},{segment:`Address`,title:`The Torah â G-dâs Wisdom, for Every Jew`,code:`A39`,clip_id:3860},{segment:`Address`,title:`Paradoxes in Education`,code:`A41`,clip_id:3896},{segment:`Address`,title:`Passing of a Tzaddik â Turning Pain into Growth`,code:`A43`,clip_id:3886},{segment:`Address`,title:`Like a Lion`,code:`A44`,clip_id:3881},{segment:`Address`,title:`Living and Growing`,code:`A46`,clip_id:3845},{segment:`Address`,title:`A Preferred Home`,code:`A47`,clip_id:3839},{segment:`Address`,title:`As One`,code:`A48`,clip_id:3834},{segment:`Address`,title:`The Upper Hand`,code:`A53`,clip_id:38
1118},{segment:`Address`,title:`Chasidut â The Crown Jewel`,code:`A54`,clip_id:3813},{segment:`Address`,title:`Rosh Hashanah â Day of the Jewish Mother`,code:`A55`,clip_id:3808},{segment:`Address`,title:`Sharing the Season of Joy`,code:`A57`,clip_id:3793},{segment:`Address`,title:`Tzivos Hashem â G-dâs Army â An Inaugural Speech`,code:`A58`,clip_id:3788},{segment:`Address`,title:`Children â Fruitful Trees of Life`,code:`A59`,clip_id:3783},{segment:`Address`,title:`Go Out of Your Ark`,code:`A60`,clip_id:3778},{segment:`Address`,title:`The Power of Jewish Pride`,code:`A61`,clip_id:3773},{segment:`Address`,title:`Maimonides â A Light Unto the Nations`,code:`A62`,clip_id:3768},{segment:`Address`,title:`Mankind â Natureâs Keeper and Nurturer`,code:`A64`,clip_id:3758},{segment:`Address`,title:`Two Prayers for World Peace`,code:`A65`,clip_id:3753},{segment:`Address`,title:`Steadfast`,code:`A66`,clip_id:3748},{segment:`Address`,title:`True Charity`,code:`A67`,clip_id:3743},{segment:`Address`,title:`A Brilliant Victory`,code:`A68`,clip_id:3738},{segment:`Address`,title:`Growing Out of Confinement`,code:`A70`,clip_id:3728},{segment:`Address`,title:`The Divine Orchard`,code:`A71`,clip_id:3723},{segment:`Address`,title:`Torahâs Mandate: Defend Yourselves!`,code:`A73`,clip_id:3798},{segment:`Address`,title:`The Jewish Woman â Part 1`,code:`A75`,clip_id:3708},{segment:`Address`,title:`The Jewish Woman â Part 2`,code:`A76`,clip_id:3703},{segment:`Address`,title:`The Jewish Woman â Part 3`,code:`A77`,clip_id:3698},{segment:`Address`,title:`A Lesson from King Achashveirosh`,code:`A79`,clip_id:3688},{segment:`Address`,title:`Torah Business Lessons`,code:`A80`,clip_id:3683},{segment:`Address`,title:`Ten Mitzvah Campaigns`,code:`A81`,clip_id:4022},{segment:`Address`,title:`Hashemâs Presence, through Love`,code:`A84`,clip_id:4007},{segment:`Address`,title:`Jewish Time Management`,code:`A85`,clip_id:3654},{segment:`Address`,title:`The Jewish Woman: Pillar of Her Home`,code:`A87`,clip_id:3644},{segment:`Address`,title:`Profession of the Jewish Child`,code:`A88`,clip_id:3639},{segment:`Address`,title:`Man as Creator`,code:`A89`,clip_id:3586},{segment:`Address`,title:`A Voice with No Echo`,code:`A90`,clip_id:3628},{segment:`Address`,title:`Wealth â A G-dly Vote of Confidence`,code:`A91`,clip_id:3623},{segment:`Address`,title:`Following G-dâs Lead`,code:`A92`,clip_id:3618},{segment:`Address`,title:`Imprisonment and Liberation`,code:`A95`,clip_id:4142},{segment:`Address`,title:`Americaâs Mandate: Energy Independence â Part 1`,code:`A96`,clip_id:4137},{segment:`Address`,title:`Americaâs Mandate: Energy Independence â Part 2`,code:`A97`,clip_id:4206},{segment:`Address`,title:`A Torah of Peace`,code:`A98`,clip_id:4201},{segment:`Address`,title:`The Tefillin Campaign`,code:`A99`,clip_id:4196},{segment:`Address`,title:`Reaching Bar and Bat Mitzvah`,code:`A100`,clip_id:4191},{segment:`Address`,title:`The Tzaddikâs Eternal Influence`,code:`A101`,clip_id:4072},{segment:`Address`,title:`Return`,code:`A103`,clip_id:4052},{segment:`Address`,title:`Discovering Your Inner Jewish Child`,code:`A104`,clip_id:4047},{segment:`Address`,title:`A New Soul, A New World`,code:`A105`,clip_id:4067},{segment:`Address`,title:`One Scroll, One People`,code:`A109`,clip_id:4077},{segment:`Address`,title:`A Moment to Save the World â Part 1`,code:`A111`,clip_id:4097},{segment:`Address`,title:`A Moment to Save the World â Part 2`,code:`A112`,clip_id:4102},{segment:`Address`,title:`A Moment to Save the World â Part 3`,code:`A113`,clip_id:4107},{segment:`Address`,title:`The Partnership`,code:`A114`,clip_id:4127},{segment:`Address`,title:`A Time to Build`,code:`A115`,clip_id:4122},{segment:`Address`,title:`Building a Jewish Family`,code:`A116`,clip_id:4117},{segment:`Address`,title:`One Small Candle; One Giant Light for Mankind`,code:`A118`,clip_id:4132},{segment:`Address`,title:`The Shabbat-Chanukah Light`,code:`A119`,clip_id:4157},{segment:`Address`,title:`True Victory`,code:`A120`,clip_id:4172},{segment:`Address`,title:`Jewish Stature`,code:`A121`,clip_id:4167},{segment:`Address`,title:`Everyone in Your Surroundings`,code:`A123`,clip_id:4182},{segment:`Address`,title:`In Answer to Your Questionsâ¦`,code:`A125`,clip_id:9906},{segment:`Address`,title:`Taming the Ox`,code:`A127`,clip_id:9926},{segment:`Address`,title:`The Source of Might`,code:`A128`,clip_id:9936},{segment:`Address`,title:`Free to Serve`,code:`A129`,clip_id:9999},{segment:`Address`,title:`Esther, Model for Jewish Women`,code:`A130`,clip_id:10009},{segment:`Address`,title:`Education Day, U.S.A`,code:`A133`,clip_id:16118},{segment:`Address`,title:`The Fifth Son`,code:`A134`,clip_id:16128}
11,{segment:`Address`,title:`Maybe You Should Skip It?`,code:`A135`,clip_id:16138},{segment:`Address`,title:`The Wonder in Counting`,code:`A136`,clip_id:16507},{segment:`Address`,title:`Justice through Charity`,code:`A138`,clip_id:16396},{segment:`Address`,title:`Parade of Good`,code:`A139`,clip_id:16090},{segment:`Address`,title:`Mothers for Peace`,code:`A140`,clip_id:16100},{segment:`Address`,title:`Seventy Years: A New Beginning`,code:`A141`,clip_id:7117},{segment:`Address`,title:`A Rebbe Does Not Depart`,code:`A145`,clip_id:5219},{segment:`Address`,title:`The Call of the Shofar`,code:`A154`,clip_id:9125},{segment:`Address`,title:`Days of Awe, Days of Joy`,code:`A158`,clip_id:9070},{segment:`Address`,title:`Torah Scroll for Jewish Unity`,code:`A160`,clip_id:9060},{segment:`Address`,title:`On Faith, Part 1`,code:`A162`,clip_id:17555},{segment:`Address`,title:`On Faith, Part 2`,code:`A163`,clip_id:5350},{segment:`Address`,title:`The shlichut Needs You`,code:`A165`,clip_id:18506},{segment:`Address`,title:`Escorting Bride and Groom, Part 1`,code:`A166`,clip_id:18526},{segment:`Address`,title:`Escorting Bride and Groom, Part 2`,code:`A167`,clip_id:18579},{segment:`Address`,title:`A Four-Sided Blessing`,code:`A171`,clip_id:9719},{segment:`Address`,title:`To Die for G-d, or to Live for Him?`,code:`A173`,clip_id:9040},{segment:`Address`,title:`How to create G-dâs Home`,code:`A174`,clip_id:4423},{segment:`Address`,title:`Protector of Her People`,code:`A176`,clip_id:13759},{segment:`Address`,title:`The Divine Presence - Here to Stay`,code:`A178`,clip_id:8843},{segment:`Address`,title:`Victory for Jewish Observance`,code:`A181`,clip_id:5157},{segment:`Address`,title:`Discover Torah`,code:`A183`,clip_id:10101},{segment:`Address`,title:`The Night the King Woke Up`,code:`A184`,clip_id:10111},{segment:`Address`,title:`Knowing the Unknowable`,code:`A185`,clip_id:5050},{segment:`Address`,title:`Respect`,code:`A192`,clip_id:4992},{segment:`Address`,title:`Never Alone`,code:`A193`,clip_id:5069},{segment:`Address`,title:`âArmedâ Forces`,code:`A194`,clip_id:9989},{segment:`Address`,title:`âHe, too, is Aliveâ`,code:`A199`,clip_id:8577},{segment:`Address`,title:`An Envoy On High`,code:`A200`,clip_id:8587},{segment:`Address`,title:`Working the High Circles`,code:`A201`,clip_id:17323},{segment:`Address`,title:`United, We Stand`,code:`A203`,clip_id:8640},{segment:`Address`,title:`Above the Exile`,code:`A204`,clip_id:8734},{segment:`Address`,title:`âLevi Yitzchakâ`,code:`A206`,clip_id:8833},{segment:`Address`,title:`A Month to Prepare`,code:`A209`,clip_id:7146},{segment:`Address`,title:`The Beinoni`,code:`A211`,clip_id:7166},{segment:`Address`,title:`Divine Service on Two Fronts`,code:`A212`,clip_id:7176},{segment:`Address`,title:`Three Pillars`,code:`A215`,clip_id:5344},{segment:`Address`,title:`When Do the Good Times Start?`,code:`A216`,clip_id:5305},{segment:`Address`,title:`Action by Individual, Inaction by Committee`,code:`A217`,clip_id:3580},{segment:`Address`,title:`Make Like a Tree, and Grow!`,code:`A220`,clip_id:18448},{segment:`Address`,title:`Second Impressions`,code:`A222`,clip_id:7215},{segment:`Address`,title:`Exile + 1 = Redemption`,code:`A223`,clip_id:5224},{segment:`Address`,title:`The Essence of a Rebbe`,code:`A225`,clip_id:5299},{segment:`Address`,title:`âJacob Our Father Never Diedâ`,code:`A226`,clip_id:7035},{segment:`Address`,title:`Maimonides - Not for Scholars Only`,code:`A228`,clip_id:7195},{segment:`Address`,title:`Why are Farbrengens so Long?`,code:`A230`,clip_id:5212},{segment:`Address`,title:`Master of the Home Front`,code:`A231`,clip_id:10191},{segment:`Address`,title:`Making a Personal Loss go Public`,code:`A232`,clip_id:5133},{segment:`Address`,title:`Free Will is the Ultimate Goodness`,code:`A233`,clip_id:5126},{segment:`Address`,title:`From Riches to Rags`,code:`A234`,clip_id:5120},{segment:`Address`,title:`Whatâs Wrong With Public School?`,code:`A235`,clip_id:5181},{segment:`Address`,title:`Healthy and Unhealthy Meditation`,code:`A237`,clip_id:5108},{segment:`Address`,title:`Fun and Kosher`,code:`A241`,clip_id:7377},{segment:`Address`,title:`Peace Corps For Every Jew`,code:`A242`,clip_id:4998},{segment:`Address`,title:`Is There Always a Second Chance?`,code:`A243`,clip_id:4915},{segment:`Address`,title:`The Best Summer Camp in the World`,code:`A244`,clip_id:4909},{segment:`Address`,title:`Heartbeat of the Family`,code:`A245`,clip_id:7737},{segment:`Address`,title:`â¦Nothing But the Truth, So Help You G-d`,code:`A246`,clip_id:7747},{segment:`Address`,title:`Little Things Count Big`,code:`A247`,clip_id:7757},{segment:`Address`,title:`âI Await His Coming Every Dayâ`,code:`A248`,clip_id:7055},{segment:`Address`,title:`How to Utilize Your Most Productive Hours`,code:`A249`,clip_id:5081},{segment:`Address`,title:`Serving His People On High`,code:`A250`,clip_id:7065},{segment:`Address`,title:`Youth Movement`,code:`A251`,clip_id:7075},{segment:`Address`,title:`The Necessary Evil to Achieve Infinite Growth`,code:`A252`,clip_id:5075},{segment:`Address`,title:`Applied Kabbalah`,code:`A253`,clip_id:7406},{segment:`Address`,title:`âWolf, Wolfâ`,code:`A255`,clip_id:8765},{segment:`Address`,title:`âAnd the Rebbe Teaches the Small Children Alef Beisâ¦â`,code:`A256`,clip_id:8755},{segment:`Address`,title:`A Journey Ends; Another Begins`,code:`A257`,clip_id:4806},{segment:`Address`,title:`Parenting 101: Teaching to Read Between the Lines`,code:`A259`,clip_id:9155},{segment:`Address`,title:`Challenge Seeker`,code:`A262`,clip_id:9209},{segment:`Address`,title:`Comparative Study in Jewish Leadership`,code:`A264`,clip_id:10131},{segment:`Address`,title:`The Ultimate Career`,code:`A265`,clip_id:8853},{segment:`Address`,title:`Chanukah Gelt`,code:`A275`,clip_id:15996},{segment:`Address`,title:`X-ray Vision`,code:`A276`,clip_id:7127},{segment:`Address`,title:`Marching Orders`,code:`A277`,clip_id:9729},{segment:`Address`,title:`Exceptional Jews - Part 2: A Timeless Embrace`,code:`A279`,clip_id:16006},{segment:`Address`,title:`Joy Breaks Through`,code:`A285`,clip_id:10061},{segment:`Address`,title:`The Children Come First, Part 1: Get Off the High Horse`,code:`A286`,clip_id:10071},{segment:`Address`,title:`The Definition of a Chasid`,code:`A292`,clip_id:3428},{segment:`Address`,title:`Mashiach-Times, Part 1: Future Lifestyles`,code:`A293`,clip_id:10039},{segment:`Address`,title:`Mashiach-times, Part 2: Seeing with New Eyes`,code:`A294`,clip_id:4891},{segment:`Address`,title:`On the Giantâs Shoulders`,code:`A295`,clip_id:10161},{segment:`Address`,title:`Rabbinic Fallibility`,code:`A298`,clip_id:8620},{segment:`Address`,title:`The Apple of G-dâs Eye`,code:`A309`,clip_id:3337},{segment:`Address`,title:`Jewish Entrepreneurs, Part 2: Accounts Charitable`,code:`A311`,clip_id:11736},{segment:`Address`,title:`Predestination`,code:`A318`,clip_id:3272},{segment:`Address`,title:`Unconditional Love`,code:`A321`,clip_id:3266},{segment:`Address`,title:`International Mission`,code:`A322`,clip_id:18349},{segment:`Address`,title:`Architects of Peace`,code:`A323`,clip_id:3260},{segment:`Address`,title:`My Dear Child`,code:`A324`,clip_id:3254},{segment:`Address`,title:`Solutions, Not Blame`,code:`A327`,clip_id:9709},{segment:`Address`,title:`Joint Mission`,code:`A332`,clip_id:3188},{segment:`Address`,title:`The Holiest Altar`,code:`A335`,clip_id:3182},{segment:`Address`,title:`Chapter 329`,code:`A336`,clip_id:3109},{segment:`Address`,title:`Exercise in Futility`,code:`A341`,clip_id:3097},{segment:`Address`,title:`Starting from the End`,code:`A342`,clip_id:4986},{segment:`Address`,title:`Four Sons, One Family`,code:`A345`,clip_id:3074},{segment:`Address`,title:`G-d is Guarding His Children; You Can Help`,code:`A350`,clip_id:13643},{segment:`Address`,title:`Community of Scholars`,code:`A352`,clip_id:3035},{segment:`Address`,title:`G-dâs Only Daughter`,code:`A353`,clip_id:3029},{segment:`Address`,title:`Planning for a Family`,code:`A354`,clip_id:5012},{segment:`Address`,title:`A Golden Lining`,code:`A355`,clip_id:3023},{segment:`Address`,title:`What Goes Down, Must Come Up`,code:`A362`,clip_id:3005},{segment:`Address`,title:`Tears`,code:`A363`,clip_id:2987},{segment:`Address`,title:`Shatnez â A Lesson for Life`,code:`A365`,clip_id:8883},{segment:`Address`,title:`New Yearâs Blessings from A to Z`,code:`A368`,clip_id:8903},{segment:`Address`,title:`Find and Seek`,code:`A369`,clip_id:2963},{segment:`Address`,title:`Four of a Kind`,code:`A371`,clip_id:2951},{segment:`Address`,title:`G-d, the Homemaker`,code:`A372`,clip_id:2945},{segment:`Address`,title:`âFill the World and Conquer Itâ`,code:`A376`,clip_id:2924},{segment:`Address`,title:`Your Deeper Mission`,code:`A377`,clip_id:18496},{segment:`Address`,title:`All of Talmud in One Year`,code:`A378`,clip_id:13704},{segment:`Address`,title:`Chabad`,code:`A379`,clip_id:6768},{segment:`Address`,title:`People of the Book`,code:`A382`,clip_id:9815},{segment:`Address`,title:`The Road to Peace Part 1: G-dâs Roadmap`,code:`A383`,clip_id:9825},{segment:`Address`,title:`Rabbeinu Tam Tefillin`,code:`A385`,clip_id:2903},{segment:`Address`,title:`Mission of the Generation, Part 1: âYosefâ`,code:`A386`,clip_id:4694},{segment:`Address`,title:`Mission of the Generation, Part 2: âYitzchakâ`,code:`A387`,clip_id:4688},{segment:`Address`,title:`First Defenders`,code:`A388`,clip_id:2897},{segment:`Address`,title:`20/20 Foresight`,code:`A389`,clip_id:15792},{segment:`Address`,title:`Redemption, a Process`,code:`A390`,clip_id:2891},{segment:`Address`,title:`Living the Torah`,code:`A401`,clip_id:2804},{segment:`Address`,title:`You Are What You Eat`,code:`A402`,clip_id:2798},{segment:`Address`,title:`Climbing the Rungs, Side by Side`,code:`A406`,clip_id:2861},{segment:`Address`,title:`Connected`,code:`A407`,clip_id:2855},{segment:`Address`,title:`Rebuild it, and They will Come`,code:`A409`,clip_id:2843},{segment:`Address`,title:`The Charity Campaign`,code:`A411`,clip_id:2831},{segment:`Address`,title:`Prerequisite to Torah Study`,code:`A412`,clip_id:2825},{segment:`Address`,title:`Spiritual Motherhood`,code:`A415`,clip_id:2654},{segment:`Address`,title:`The Blessing within the Curse`,code:`A418`,clip_id:2636},{segment:`Address`,title:`Ten Day Journey`,code:`A419`,clip_id:2630},{segment:`Address`,title:`Just Get it Done!`,code:`A421`,clip_id:2618},{segment:`Address`,title:`Soldiers on Parade`,code:`A423`,clip_id:2606},{segment:`Address`,title:`Every Moment Counts`,code:`A425`,clip_id:2594},{segment:`Address`,title:`With Every Shliach, Together`,code:`A427`,clip_id:17138},{segment:`Address`,title:`Love and Unity, the Best Medicine`,code:`A428`,clip_id:2577},{segment:`Address`,title:`Shining Examples`,code:`A432`,clip_id:2553},{segment:`Address`,title:`The Questions Remain`,code:`A433`,clip_id:2547},{segment:`Address`,title:`A World of Pain, or of Pleasure?`,code:`A434`,clip_id:9952},{segment:`Address`,title:`True Giving`,code:`A436`,clip_id:2535},{segment:`Address`,title:`Split at the Sea`,code:`A438`,clip_id:2522},{segment:`Address`,title:`Celebrate the Differences`,code:`A439`,clip_id:2516},{segment:`Address`,title:`Grab the Bull by the Horns`,code:`A440`,clip_id:2510},{segment:`Address`,title:`Be Your True Self`,code:`A441`,clip_id:2504},{segment:`Address`,title:`Unity and Strength`,code:`A442`,clip_id:2498},{segment:`Address`,title:`Quality Time`,code:`A443`,clip_id:2492},{segment:`Address`,title:`Constant Connection`,code:`A444`,clip_id:2486},{segment:`Address`,title:`When You Least Expect It`,code:`A446`,clip_id:2474},{segment:`Address`,title:`The Tannersâ Market`,code:`A451`,clip_id:2414},{segment:`Address`,title:`Holy Futures`,code:`A452`,clip_id:2444},{segment:`Address`,title:`America is No Different`,code:`A456`,clip_id:2420},{segment:`Address`,title:`On Jewish Identity`,code:`A458`,clip_id:2402},{segment:`Address`,title:`A True Diagnosis is Half the Cure`,code:`A461`,clip_id:2388},{segment:`Address`,title:`Burning the Midnight Oil`,code:`A463`,clip_id:2376},{segment:`Address`,title:`Who You are Today`,code:`A466`,clip_id:2359},{segment:`Address`,title:`Fighting the Inner War`,code:`A467`,clip_id:2353},{segment:`Address`,title:`Bribing G-d`,code:`A469`,clip_id:2341},{segment:`Address`,title:`Strength in Numbers`,code:`A470`,clip_id:2335},{segment:`Address`,title:`Open Invitation`,code:`A471`,clip_id:2329},{segment:`Address`,title:`âLand for Peace?â`,code:`A475`,clip_id:2312},{segment:`Address`,title:`The Idealism of Youth`,code:`A476`,clip_id:2306},{segment:`Address`,title:`Food for Thought`,code:`A477`,clip_id:2300},{segment:`Address`,title:`Part of a Whole`,code:`A479`,clip_id:2294},{segment:`Address`,title:`Womanâs Rights`,code:`A480`,clip_id:2288},{segment:`Address`,title:`Rising To the Challenge`,code:`A481`,clip_id:2282},{segment:`Address`,title:`Three Celebrations, One Message`,code:`A482`,clip_id:2276},{segment:`Address`,title:`Claim Your Inheritance`,code:`A484`,clip_id:2264},{segment:`Address`,title:`On Going Mainstream`,code:`A485`,clip_id:2258},{segment:`Address`,title:`Three Partners, One plan`,code:`A486`,clip_id:2252},{segment:`Address`,title:`Neither famine nor War`,code:`A487`,clip_id:2246}
11,{segment:`Address`,title:`A Stumbling Block Before the Blind`,code:`A489`,clip_id:15568},{segment:`Address`,title:`Life Giving Water`,code:`A490`,clip_id:13869},{segment:`Address`,title:`Thirteen Months of the Year`,code:`A491`,clip_id:13203},{segment:`Address`,title:`The Right Priorities`,code:`A493`,clip_id:2226},{segment:`Address`,title:`The Infinite in the Finite`,code:`A494`,clip_id:2221},{segment:`Address`,title:`When G-d is Hidden`,code:`A496`,clip_id:2209},{segment:`Address`,title:`Dare to Be Different`,code:`A497`,clip_id:2203},{segment:`Address`,title:`A Solid Foundation`,code:`A498`,clip_id:2197},{segment:`Address`,title:`Give it All Youâve Got!`,code:`A500`,clip_id:2185},{segment:`Address`,title:`Chasidic Discourse: âAs in the Days of the Exodusâ`,code:`A502`,clip_id:2173},{segment:`Address`,title:`The Simple Jew vs. the Bandits`,code:`A503`,clip_id:2167},{segment:`Address`,title:`Humilityâs Role in Warfare`,code:`A504`,clip_id:2161},{segment:`Address`,title:`Second Chances`,code:`A505`,clip_id:2156},{segment:`Address`,title:`Lag Bâomer, Day of Unrivaled Joy`,code:`A506`,clip_id:2150},{segment:`Address`,title:`A Head Start`,code:`A507`,clip_id:2144},{segment:`Address`,title:`High Expectations`,code:`A508`,clip_id:2085},{segment:`Address`,title:`Making the most of Vacation`,code:`A510`,clip_id:2073},{segment:`Address`,title:`The Heart of the Nation`,code:`A511`,clip_id:2067},{segment:`Address`,title:`Eternal Bond`,code:`A512`,clip_id:2061},{segment:`Address`,title:`From the Mouths of Infants`,code:`A513`,clip_id:2055},{segment:`Address`,title:`Behind Closed Doors`,code:`A514`,clip_id:2049},{segment:`Address`,title:`The Kingâs Daughter`,code:`A515`,clip_id:17765},{segment:`Address`,title:`Unity in Purpose`,code:`A516`,clip_id:2037},{segment:`Address`,title:`Kabbalah for Kids`,code:`A517`,clip_id:2031},{segment:`Address`,title:`A Positive Emotion`,code:`A519`,clip_id:2020},{segment:`Address`,title:`Answering to a Higher Authority`,code:`A529`,clip_id:1985},{segment:`Address`,title:`A Matter of Choice`,code:`A530`,clip_id:1979},{segment:`Address`,title:`Holistic Living`,code:`A532`,clip_id:1967},{segment:`Address`,title:`A Global Mission`,code:`A533`,clip_id:1961},{segment:`Address`,title:`A Drink on the Way`,code:`A534`,clip_id:1956},{segment:`Address`,title:`The Making of a Chasid`,code:`A535`,clip_id:1948},{segment:`Address`,title:`Evolution of Torah`,code:`A536`,clip_id:1942},{segment:`Address`,title:`Looking Back, Moving Forward`,code:`A537`,clip_id:1936},{segment:`Address`,title:`The Sun Sets, the Sun Rises`,code:`A538`,clip_id:1930},{segment:`Address`,title:`Weapons of Peace`,code:`A539`,clip_id:1923},{segment:`Address`,title:`Universal Appeal`,code:`A540`,clip_id:1917},{segment:`Address`,title:`Tipping the Scales`,code:`A542`,clip_id:1911},{segment:`Address`,title:`Into the Depths of the Earth`,code:`A543`,clip_id:1905},{segment:`Address`,title:`Unethical Experiments`,code:`A545`,clip_id:1894},{segment:`Address`,title:`A Borrowed Term`,code:`A547`,clip_id:1882},{segment:`Address`,title:`Torah Revolution: Comrades`,code:`A548`,clip_id:1876},{segment:`Address`,title:`The Rebbeâs Example`,code:`A550`,clip_id:1864},{segment:`Address`,title:`An Eternal Covenant`,code:`A552`,clip_id:1852},{segment:`Address`,title:`Spiritual Sustenance`,code:`A556`,clip_id:16110},{segment:`Address`,title:`Rabbi Shimonâs Joy`,code:`A557`,clip_id:4961},{segment:`Address`,title:`Life on the Edge`,code:`A560`,clip_id:17061},{segment:`Address`,title:`A Call for Unity`,code:`A561`,clip_id:1846},{segment:`Address`,title:`Chasidic Coal Miners`,code:`A562`,clip_id:1836},{segment:`Address`,title:`Never too Young`,code:`A564`,clip_id:1830},{segment:`Address`,title:`Soaring Letters â Part 1`,code:`A565`,clip_id:1824},{segment:`Address`,title:`Soaring Letters â Part 2`,code:`A566`,clip_id:1818},{segment:`Address`,title:`The Root of the Problem`,code:`A567`,clip_id:1812},{segment:`Address`,title:`Giving of Oneself`,code:`A569`,clip_id:1795},{segment:`Address`,title:`A Higher Form of Giving`,code:`A570`,clip_id:1790},{segment:`Address`,title:`Consecrating the Inner Self`,code:`A571`,clip_id:1784},{segment:`Address`,title:`The Apple of His Eye`,code:`A572`,clip_id:1778},{segment:`Address`,title:`Full Time Study`,code:`A573`,clip_id:1772},{segment:`Address`,title:`Changing History`,code:`A574`,clip_id:1766},{segment:`Address`,title:`Partners with G-d`,code:`A575`,clip_id:1760}
11,{segment:`Address`,title:`A Holy Assembly`,code:`A576`,clip_id:1754},{segment:`Address`,title:`Swords into Palm Branches`,code:`A577`,clip_id:9050},{segment:`Address`,title:`A Right to the Land`,code:`A579`,clip_id:9088},{segment:`Address`,title:`By Natural Means`,code:`A586`,clip_id:1748},{segment:`Address`,title:`Chanukah Fun and Games`,code:`A588`,clip_id:6794},{segment:`Address`,title:`Preparing for Famine`,code:`A589`,clip_id:10151},{segment:`Address`,title:`The Best Defense`,code:`A590`,clip_id:3574},{segment:`Address`,title:`A Sense of Entitlement`,code:`A592`,clip_id:4041},{segment:`Address`,title:`On Jewish Leadership`,code:`A593`,clip_id:1736},{segment:`Address`,title:`The Pleasure Principal`,code:`A594`,clip_id:1729},{segment:`Address`,title:`Serving with Distinction`,code:`A596`,clip_id:1718},{segment:`Address`,title:`Thought for the Day`,code:`A597`,clip_id:1712},{segment:`Address`,title:`Young at Heart`,code:`A599`,clip_id:1706},{segment:`Address`,title:`Hakhel in our Times`,code:`A600`,clip_id:1700},{segment:`Address`,title:`Two Days of Purim`,code:`A602`,clip_id:1688},{segment:`Address`,title:`Children of Redemption`,code:`A603`,clip_id:1682},{segment:`Address`,title:`Seeing the Good`,code:`A605`,clip_id:1671},{segment:`Address`,title:`All Are Welcome`,code:`A606`,clip_id:1665},{segment:`Address`,title:`Lasting Freedom`,code:`A607`,clip_id:1659},{segment:`Address`,title:`Counting Down`,code:`A608`,clip_id:1653},{segment:`Address`,title:`Jewish Fundamentals - Part 1`,code:`A609`,clip_id:1647},{segment:`Address`,title:`Explaining Torah Concepts to Children`,code:`A610`,clip_id:3397},{segment:`Address`,title:`Gathering with a Purpose`,code:`A611`,clip_id:4835},{segment:`Address`,title:`A Message of Hope`,code:`A612`,clip_id:4829},{segment:`Address`,title:`Heavenly Standard Time`,code:`A613`,clip_id:1641},{segment:`Address`,title:`Torah 101`,code:`A614`,clip_id:1635},{segment:`Address`,title:`Make It Your Own`,code:`A615`,clip_id:1629},{segment:`Address`,title:`Resting At Attention`,code:`A616`,clip_id:1624},{segment:`Address`,title:`The Right Approach`,code:`A617`,clip_id:1619},{segment:`Address`,title:`A Leader Defined`,code:`A618`,clip_id:1607},{segment:`Address`,title:`The Meaning of Sacrifice - Part 1`,code:`A619`,clip_id:1601},{segment:`Address`,title:`The Meaning of Sacrifice - Part 2`,code:`A620`,clip_id:1595},{segment:`Address`,title:`All Year Round`,code:`A621`,clip_id:1613},{segment:`Address`,title:`Two States of Being`,code:`A622`,clip_id:1589},{segment:`Address`,title:`Engineering Light`,code:`A623`,clip_id:1583},{segment:`Address`,title:`How a Father Acts`,code:`A625`,clip_id:1571},{segment:`Address`,title:`The King Awaits`,code:`A626`,clip_id:1565},{segment:`Address`,title:`Individualized Education`,code:`A627`,clip_id:1559},{segment:`Address`,title:`Chasidism â What? When? Why?`,code:`A628`,clip_id:1553},{segment:`Address`,title:`Blessed Rebuke`,code:`A629`,clip_id:1547},{segment:`Address`,title:`Greater Returns`,code:`A630`,clip_id:1541},{segment:`Address`,title:`Let the World Know`,code:`A632`,clip_id:1529},{segment:`Address`,title:`âFill the Earth and Subdue Itâ`,code:`A634`,clip_id:1517},{segment:`Address`,title:`The Land of Our Inheritance`,code:`A636`,clip_id:3065},{segment:`Address`,title:`Soul Purpose`,code:`A638`,clip_id:3234},{segment:`Address`,title:`Three Innovations, Three Accusations`,code:`A641`,clip_id:3214},{segment:`Address`,title:`Two States of Exile`,code:`A643`,clip_id:3201},{segment:`Address`,title:`Polishing the Buttons`,code:`A644`,clip_id:4027},{segment:`Address`,title:`Emulating Abraham`,code:`A645`,clip_id:13738},{segment:`Address`,title:`The Most Important Partner`,code:`A647`,clip_id:3208},{segment:`Address`,title:`Focus on the Individual`,code:`A648`,clip_id:3221},{segment:`Address`,title:`Women Lead the Way`,code:`A650`,clip_id:2092},{segment:`Address`,title:`The Strength of Our people`,code:`A651`,clip_id:3059},{segment:`Address`,title:`The Subconscious Revealed`,code:`A653`,clip_id:3047},{segment:`Address`,title:`From the Ashes`,code:`A654`,clip_id:3041},{segment:`Address`,title:`Passover Preparations`,code:`A656`,clip_id:2106},{segment:`Address`,title:`A Quantum Leap`,code:`A657`,clip_id:2099},{segment:`Address`,title:`Reward of the Struggle`,code:`A658`,clip_id:1477},{segment:`Address`,title:`The Common Thread`,code:`A661`,clip_id:1459},{segment:`Address`,title:`The City of Oneness`,code:`A663`,clip_id:1447},{segment:`Address`,title:`Root Cause`,code:`A664`,clip_id:1441},{segment:`Address`,title:`Give It Your All`,code:`A665`,clip_id:1435},{segment:`Address`,title:`You Have to Ask`,code:`A666`,clip_id:1429},{segment:`Address`,title:`The Womanâs Three Special Mitzvot`,code:`A667`,clip_id:1422},{segment:`Address`,title:`Nothing Has Changed`,code:`A668`,clip_id:1408},{segment:`Address`,title:`A Love of the Land`,code:`A671`,clip_id:840},{segment:`Address`,title:`From Sea to Sea`,code:`A672`,clip_id:834},{segment:`Address`,title:`Above the Exile`,code:`A673`,clip_id:828},{segment:`Address`,title:`When the Nights Get Longer`,code:`A674`,clip_id:822},{segment:`Address`,title:`Heart and Mind`,code:`A676`,clip_id:2811},{segment:`Address`,title:`Point of Pride`,code:`A677`,clip_id:1396},{segment:`Address`,title:`Seeing the Light`,code:`A678`,clip_id:1389},{segment:`Address`,title:`Turn Up the Light`,code:`A680`,clip_id:1376},{segment:`Address`,title:`No Need to Wait`,code:`A681`,clip_id:1371},{segment:`Address`,title:`G-dâs Barracks`,code:`A682`,clip_id:1365},{segment:`Address`,title:`One of a Kind`,code:`A683`,clip_id:1359},{segment:`Address`,title:`Better than Perfect`,code:`A684`,clip_id:1354},{segment:`Address`,title:`Young Teachers`,code:`A685`,clip_id:1349},{segment:`Address`,title:`Praying for Children`,code:`A686`,clip_id:1343},{segment:`Address`,title:`Good Times, Bad Times`,code:`A687`,clip_id:1337},{segment:`Address`,title:`The Womanâs Light`,code:`A688`,clip_id:1325},{segment:`Address`,title:`Donât Pass the Buck`,code:`A689`,clip_id:1319},{segment:`Address`,title:`In a Strange Land`,code:`A690`,clip_id:1313},{segment:`Address`,title:`Cause for Celebration`,code:`A691`,clip_id:1307},{segment:`Address`,title:`Pursuit of Peace`,code:`A692`,clip_id:1301},{segment:`Address`,title:`A Light in the Darkness`,code:`A693`,clip_id:1295},{segment:`Address`,title:`The Hidden Good`,code:`A694`,clip_id:1332},{segment:`Address`,title:`Twice the Light`,code:`A696`,clip_id:871},{segment:`Address`,title:`Standing Up for Our Future`,code:`A697`,clip_id:864},{segment:`Address`,title:`Tending G-dâs Garden`,code:`A698`,clip_id:858},{segment:`Address`,title:`A Modern Day Moses`,code:`A699`,clip_id:852},{segment:`Address`,title:`No Matter Where You May Roam`,code:`A700`,clip_id:846},{segment:`Address`,title:`Women of Honor`,code:`A701`,clip_id:945},{segment:`Address`,title:`Children Lead the Fight`,code:`A702`,clip_id:938},{segment:`Address`,title:`Stop Living in the Past`,code:`A703`,clip_id:932},{segment:`Address`,title:`On False Humility`,code:`A704`,clip_id:926},{segment:`Address`,title:`A Birthday Meditation`,code:`A705`,clip_id:920},{segment:`Address`,title:`A Personal Exodus`,code:`A708`,clip_id:901},{segment:`Address`,title:`Back to the Fundamentals`,code:`A710`,clip_id:889},{segment:`Address`,title:`Searching for Pearls`,code:`A711`,clip_id:1289},{segment:`Address`,title:`Deeper Bonds`,code:`A712`,clip_id:1283},{segment:`Address`,title:`Faith Comes First`,code:`A714`,clip_id:1264},{segment:`Address`,title:`Seize the Days`,code:`A715`,clip_id:1258},{segment:`Address`,title:`Charity Begins at Home`,code:`A716`,clip_id:1252},{segment:`Address`,title:`Gifts from Heaven`,code:`A717`,clip_id:1246},{segment:`Address`,title:`Nobody Gets a Pass`,code:`A718`,clip_id:1240},{segment:`Address`,title:`Even More Than Before`,code:`A719`,clip_id:1234},{segment:`Address`,title:`A Breach of the Wall`,code:`A721`,clip_id:1222},{segment:`Address`,title:`A Modest People`,code:`A723`,clip_id:1210},{segment:`Address`,title:`The Golden Years - Part 2: Making Every Moment Count`,code:`A726`,clip_id:1191},{segment:`Address`,title:`G-d in the Everyday`,code:`A727`,clip_id:1185},{segment:`Address`,title:`The Right Priorities`,code:`A728`,clip_id:1179},{segment:`Address`,title:`The Crown Jewel`,code:`A729`,clip_id:1173},{segment:`Address`,title:`Everything in Focus`,code:`A730`,clip_id:1167},{segment:`Address`,title:`Mainstay of Creation`,code:`A731`,clip_id:1161},{segment:`Address`,title:`Repentance with Joy`,code:`A732`,clip_id:1155},{segment:`Address`,title:`Closer than You Think`,code:`A733`,clip_id:1149},{segment:`Address`,title:`The Properties of Water`,code:`A734`,clip_id:1143},{segment:`Address`,title:`Making Room for Creation`,code:`A735`,clip_id:1137},{segment:`Address`,title:`What Really Matters`,code:`A737`,clip_id:1125},{segment:`Address`,title:`Creating a Perfect Past`,code:`A738`,clip_id:1119},{segment:`Address`,title:`If You Really Cared`,code:`A739`,clip_id:798},{segment:`Address`,title:`Never Too Many Blessings`,code:`A740`,clip_id:1113},{segment:`Address`,title:`A Vision of Peace`,code:`A741`,clip_id:1107},{segment:`Address`,title:`A Celebration for All`,code:`A742`,clip_id:1101},{segment:`Address`,title:`A Better Way`,code:`A743`,clip_id:1095},{segment:`Address`,title:`Chanukah and Chasidism`,code:`A744`,clip_id:1089},{segment:`Address`,title:`Itâs in Our Hands`,code:`A745`,clip_id:1083},{segment:`Address`,title:`Make it Your Business`,code:`A747`,clip_id:1071},{segment:`Address`,title:`Brick and Mortar`,code:`A748`,clip_id:1065},{segment:`Address`,title:`Restoring the World`,code:`A749`,clip_id:1059},{segment:`Address`,title:`A Branch of G-dâs Planting`,code:`A750`,clip_id:1053}
11,{segment:`Address`,title:`The Right Lifestyle Choice`,code:`A751`,clip_id:1047},{segment:`Address`,title:`A Witness of G-d`,code:`A752`,clip_id:1041},{segment:`Address`,title:`On Keeping Clean`,code:`A755`,clip_id:1023},{segment:`Address`,title:`Buying Atonement`,code:`A756`,clip_id:1017},{segment:`Address`,title:`Foiling the Plot`,code:`A757`,clip_id:1011},{segment:`Address`,title:`A Direct Connection`,code:`A759`,clip_id:1003},{segment:`Address`,title:`Living with Mashiach`,code:`A760`,clip_id:997},{segment:`Address`,title:`A New Day`,code:`A762`,clip_id:985},{segment:`Address`,title:`G-d in the Details`,code:`A764`,clip_id:973},{segment:`Address`,title:`Grabbing the Opportunity`,code:`A765`,clip_id:38},{segment:`Address`,title:`Whatâs in a Name?`,code:`A766`,clip_id:49},{segment:`Address`,title:`Counting the Days`,code:`A768`,clip_id:63},{segment:`Address`,title:`Engraved in Your Heart`,code:`A769`,clip_id:70},{segment:`Address`,title:`A True Scholar`,code:`A770`,clip_id:78},{segment:`Address`,title:`A Temple Made in Heaven`,code:`A771`,clip_id:85},{segment:`Address`,title:`The Beginning or the End`,code:`A772`,clip_id:92},{segment:`Address`,title:`Bring Mashiach Now!`,code:`A773`,clip_id:99},{segment:`Address`,title:`A Living Legacy`,code:`A774`,clip_id:107},{segment:`Address`,title:`One Love for All`,code:`A775`,clip_id:114},{segment:`Address`,title:`Uncompromising Love`,code:`A777`,clip_id:128},{segment:`Address`,title:`The Center of Judaism`,code:`A778`,clip_id:135},{segment:`Address`,title:`The World in Microcosm`,code:`A780`,clip_id:164},{segment:`Address`,title:`On the Doorposts of Your House`,code:`A783`,clip_id:171},{segment:`Address`,title:`One Path, Two Ways`,code:`A784`,clip_id:178},{segment:`Address`,title:`An Opportune Time`,code:`A785`,clip_id:185},{segment:`Address`,title:`Always Returning`,code:`A787`,clip_id:200},{segment:`Address`,title:`Torah in Motion`,code:`A788`,clip_id:207},{segment:`Address`,title:`The Very Last Jew`,code:`A791`,clip_id:229},{segment:`Address`,title:`Keep It Real`,code:`A794`,clip_id:255},{segment:`Address`,title:`Keep Up the Good Work`,code:`A795`,clip_id:262},{segment:`Address`,title:`A Whole New Light`,code:`A796`,clip_id:269},{segment:`Address`,title:`Where Are You?`,code:`A797`,clip_id:276},{segment:`Address`,title:`Much to Accomplish Together`,code:`A798`,clip_id:283},{segment:`Address`,title:`No Need to Compromise`,code:`A799`,clip_id:290},{segment:`Address`,title:`The Root of the Problem`,code:`A800`,clip_id:297},{segment:`Address`,title:`True Living in Egypt`,code:`A801`,clip_id:304},{segment:`Address`,title:`The Inner Moses`,code:`A803`,clip_id:319},{segment:`Address`,title:`70 Years to Bear Fruit`,code:`A804`,clip_id:327},{segment:`Address`,title:`In Every Studentâs Reach`,code:`A805`,clip_id:332},{segment:`Address`,title:`âShe Speaks with Wisdomâ`,code:`A806`,clip_id:336},{segment:`Address`,title:`A Heartfelt Cry`,code:`A807`,clip_id:341},{segment:`Address`,title:`The Road to Peace: Talk Like a Jew`,code:`A808`,clip_id:345},{segment:`Address`,title:`Spreading the Joy`,code:`A809`,clip_id:350},{segment:`Address`,title:`Seeing the Miracles`,code:`A812`,clip_id:657},{segment:`Address`,title:`Call of the Hour`,code:`A813`,clip_id:769},{segment:`Address`,title:`War on Ignorance: The Fifth Son`,code:`A814`,clip_id:782},{segment:`Address`,title:`All Included`,code:`A815`,clip_id:788},{segment:`Address`,title:`Strong and Abled`,code:`A816`,clip_id:793},{segment:`Address`,title:`For Heavenâs Sake`,code:`A817`,clip_id:886},{segment:`Address`,title:`The Power of Letters`,code:`A819`,clip_id:1274},{segment:`Address`,title:`Prevention is Better than Cure`,code:`A821`,clip_id:2235},{segment:`Address`,title:`All are Welcome`,code:`A823`,clip_id:2719},{segment:`Address`,title:`Tending His Flock`,code:`A825`,clip_id:2821},{segment:`Address`,title:`Atomic Goodness`,code:`A826`,clip_id:2887},{segment:`Address`,title:`The Wagon Driverâs Lesson`,code:`A828`,clip_id:2984},{segment:`Address`,title:`Investing in Talent`,code:`A829`,clip_id:3082},{segment:`Address`,title:`The Greatest of Holidays`,code:`A830`,clip_id:3085},{segment:`Address`,title:`Guardian at the Gates`,code:`A833`,clip_id:3231}
11,{segment:`Address`,title:`The Power of One Candle`,code:`A834`,clip_id:3328},{segment:`Address`,title:`All Refugees`,code:`A837`,clip_id:3452},{segment:`Address`,title:`One Sukkah, One Lulav, One People`,code:`A839`,clip_id:3491},{segment:`Address`,title:`A Replanted Vine`,code:`A840`,clip_id:3498},{segment:`Address`,title:`Founded on Faith`,code:`A843`,clip_id:3636},{segment:`Address`,title:`Bar-Mitzvah Lessons`,code:`A844`,clip_id:3878},{segment:`Address`,title:`Escorting Bride and Groom`,code:`A847`,clip_id:4217},{segment:`Address`,title:`The Purpose of Obstacles`,code:`A850`,clip_id:4289},{segment:`Address`,title:`Reminder on Wheels`,code:`A852`,clip_id:4329},{segment:`Address`,title:`Two Luminaries`,code:`A853`,clip_id:4381},{segment:`Address`,title:`Reaching Further`,code:`A854`,clip_id:4414},{segment:`Address`,title:`Called to Duty`,code:`A856`,clip_id:4469},{segment:`Address`,title:`To be Near, Move Far`,code:`A857`,clip_id:4487},{segment:`Address`,title:`Breaking through Barriers`,code:`A858`,clip_id:4572},{segment:`Address`,title:`On Faith`,code:`A859`,clip_id:4594},{segment:`Address`,title:`Two Days of Purim`,code:`A860`,clip_id:4600},{segment:`Address`,title:`Got Shabbat?`,code:`A861`,clip_id:4606},{segment:`Address`,title:`Energy Independence`,code:`A862`,clip_id:4679},{segment:`Address`,title:`The Birthday Campaign`,code:`A863`,clip_id:4727},{segment:`Address`,title:`Pay No Attention`,code:`A864`,clip_id:4762},{segment:`Address`,title:`The Inner Light`,code:`A866`,clip_id:4803},{segment:`Address`,title:`Finding What You Didnât Lose`,code:`A868`,clip_id:4924},{segment:`Address`,title:`Torah Scholarship â Not for Men Only`,code:`A869`,clip_id:5034},{segment:`Address`,title:`Blessings Without Obstacles`,code:`A872`,clip_id:5095},{segment:`Address`,title:`No Different`,code:`A874`,clip_id:5148},{segment:`Address`,title:`Spread it Forth`,code:`A877`,clip_id:5320},{segment:`Address`,title:`Two Jews, One Soul`,code:`A878`,clip_id:5335},{segment:`Address`,title:`Responsibility Doesnât Disappear!`,code:`A881`,clip_id:5468},{segment:`Address`,title:`Selfless Prayer`,code:`A882`,clip_id:5646},{segment:`Address`,title:`A Higher Standard of Writing`,code:`A884`,clip_id:5949},{segment:`Address`,title:`Let G-d Do the Rest`,code:`A885`,clip_id:6e3},{segment:`Address`,title:`One Day, One People`,code:`A888`,clip_id:6629},{segment:`Address`,title:`The Year-Long Month`,code:`A891`,clip_id:6764},{segment:`Address`,title:`A Connecting Force`,code:`A892`,clip_id:6777},{segment:`Address`,title:`Bostonian in a Faraway Land`,code:`A893`,clip_id:6783},{segment:`Address`,title:`A Cause for Joy`,code:`A894`,clip_id:6790},{segment:`Address`,title:`Good Publicity`,code:`A895`,clip_id:6893},{segment:`Address`,title:`Who Can Be My Mentor?`,code:`A896`,clip_id:6906},{segment:`Address`,title:`Go Kosher!`,code:`A897`,clip_id:6965},{segment:`Address`,title:`A Chanukah Message for All Ages`,code:`A899`,clip_id:7031},{segment:`Address`,title:`Well Connected`,code:`A901`,clip_id:7188},{segment:`Address`,title:`Consolation After the Sacrifice`,code:`A903`,clip_id:7305},{segment:`Address`,title:`Prevention is Better than Cure`,code:`A904`,clip_id:7418},{segment:`Address`,title:`The Shluchos`,code:`A907`,clip_id:7599},{segment:`Address`,title:`In the Moment`,code:`A908`,clip_id:7645},{segment:`Address`,title:`Creatures of Holiness`,code:`A909`,clip_id:7773},{segment:`Address`,title:`Confused Souls`,code:`A911`,clip_id:7815},{segment:`Address`,title:`On Isolationism`,code:`A913`,clip_id:7903},{segment:`Address`,title:`A Birthday Request`,code:`A915`,clip_id:8012},{segment:`Address`,title:`Unwavering Jewish Courage`,code:`A916`,clip_id:8091},{segment:`Address`,title:`Exodus: Greatest Darkness and Greatest Light`,code:`A919`,clip_id:8228},{segment:`Address`,title:`Daily Miracles`,code:`A920`,clip_id:8244},{segment:`Address`,title:`A Time-Sensitive Press Release`,code:`A921`,clip_id:8256},{segment:`Address`,title:`Become a Rainmaker`,code:`A922`,clip_id:8262},{segment:`Address`,title:`A Hidden Connection`,code:`A923`,clip_id:8274},{segment:`Address`,title:`The Day the Heavens Opened`,code:`A925`,clip_id:8346},{segment:`Address`,title:`Changing with the Times`,code:`A926`,clip_id:8429},{segment:`Address`,title:`Good Beginnings`,code:`A928`,clip_id:8518},{segment:`Address`,title:`Vacationing in Torah`,code:`A929`,clip_id:8564}
11,{segment:`Address`,title:`The Good in Everything`,code:`A932`,clip_id:8616},{segment:`Address`,title:`Generation Gap`,code:`A933`,clip_id:8662},{segment:`Address`,title:`A Combined Effort`,code:`A934`,clip_id:8676},{segment:`Address`,title:`Until When?`,code:`A935`,clip_id:8721},{segment:`Address`,title:`A Symbiotic Relationship`,code:`A936`,clip_id:8784},{segment:`Address`,title:`The King in the Field`,code:`A938`,clip_id:8829},{segment:`Address`,title:`Applied Chasidism`,code:`A940`,clip_id:9100},{segment:`Address`,title:`A Better Good`,code:`A941`,clip_id:9177},{segment:`Address`,title:`A Rosh Hashanah Meditation`,code:`A942`,clip_id:9205},{segment:`Address`,title:`Individual Teshuvah, With the Community`,code:`A943`,clip_id:9260},{segment:`Address`,title:`A Hakhel Jew`,code:`A944`,clip_id:9266},{segment:`Address`,title:`The Small Luminary`,code:`A946`,clip_id:9291},{segment:`Address`,title:`The Power of One`,code:`A948`,clip_id:9323},{segment:`Address`,title:`Todayâs Front: Outreach`,code:`A949`,clip_id:9361},{segment:`Address`,title:`Defend Your Parents!`,code:`A950`,clip_id:9382},{segment:`Address`,title:`âIn G-d We Trustâ`,code:`A951`,clip_id:9394},{segment:`Address`,title:`The Chicken and the Egg`,code:`A952`,clip_id:9473},{segment:`Address`,title:`Twilight`,code:`A954`,clip_id:9610},{segment:`Address`,title:`Small, Yet Great`,code:`A956`,clip_id:9741},{segment:`Address`,title:`The Right Way to do the Right Thing`,code:`A957`,clip_id:9747},{segment:`Address`,title:`Hakhel: Children, Unite!`,code:`A958`,clip_id:9948},{segment:`Address`,title:`Universal Education`,code:`A959`,clip_id:10083},{segment:`Address`,title:`Seeing the Potential`,code:`A961`,clip_id:10268},{segment:`Address`,title:`Practice What You Teach`,code:`A963`,clip_id:10319},{segment:`Address`,title:`A Joyful Connection`,code:`A964`,clip_id:10325},{segment:`Address`,title:`An Important Reminder`,code:`A966`,clip_id:10343},{segment:`Address`,title:`Why is this Night Different?`,code:`A968`,clip_id:10399},{segment:`Address`,title:`Celebrating the Connection`,code:`A969`,clip_id:10513},{segment:`Address`,title:`Why is this Nation Different from All Other Nations?`,code:`A970`,clip_id:10536},{segment:`Address`,title:`Honor Your Every Teacher`,code:`A975`,clip_id:10660},{segment:`Address`,title:`Trustees of Torah`,code:`A976`,clip_id:10685},{segment:`Address`,title:`Three Teachers of Torah`,code:`A977`,clip_id:10747},{segment:`Address`,title:`Give It Your All`,code:`A978`,clip_id:10783},{segment:`Address`,title:`Getting Kids to Give`,code:`A979`,clip_id:10799},{segment:`Address`,title:`Not Alone`,code:`A981`,clip_id:10932},{segment:`Address`,title:`Better than a Vacation`,code:`A982`,clip_id:10953},{segment:`Address`,title:`A Work in Progress`,code:`A983`,clip_id:11011},{segment:`Address`,title:`It Means You`,code:`A985`,clip_id:11114},{segment:`Address`,title:`Leadership`,code:`A986`,clip_id:11176},{segment:`Address`,title:`A Leading Example`,code:`A987`,clip_id:11312},{segment:`Address`,title:`Non-Retirement`,code:`A988`,clip_id:11438},{segment:`Address`,title:`The Jewâs Natural Habitat`,code:`A989`,clip_id:11534},{segment:`Address`,title:`The Palace and the Field`,code:`A990`,clip_id:11545},{segment:`Address`,title:`No Jew Left Behind`,code:`A991`,clip_id:11594},{segment:`Address`,title:`A Three-Part Vow`,code:`A992`,clip_id:11630},{segment:`Address`,title:`Behind Every Great Jew Is a Great Mother`,code:`A993`,clip_id:11750},{segment:`Address`,title:`Morale in the IDF`,code:`A994`,clip_id:11819},{segment:`Address`,title:`A Greater Kind of Joy`,code:`A995`,clip_id:11854},{segment:`Address`,title:`Complete the Operation`,code:`A997`,clip_id:11961},{segment:`Address`,title:`Speaking the Truth`,code:`A999`,clip_id:12158},{segment:`Address`,title:`A Career in Torah`,code:`A1000`,clip_id:12191},{segment:`Address`,title:`A Spiritual Boost`,code:`A1001`,clip_id:12237},{segment:`Address`,title:`Charity for Israel`,code:`A1002`,clip_id:12293},{segment:`Address`,title:`Security is Non-negotiable`,code:`A1003`,clip_id:12336},{segment:`Address`,title:`Minority Rules`,code:`A1005`,clip_id:12405},{segment:`Address`,title:`Hearing the Cry of a Child`,code:`A1007`,clip_id:12522},{segment:`Address`,title:`Take Us Out!`,code:`A1008`,clip_id:12597},{segment:`Address`,title:`Precious Children`,code:`A1010`,clip_id:12655},{segment:`Address`,title:`Prisoners Are People`,code:`A1012`,clip_id:12790},{segment:`Address`,title:`Spread the Word!`,code:`A1013`,clip_id:12832},{segment:`Address`,title:`A Focus on Children`,code:`A1015`,clip_id:12926},{segment:`Address`,title:`First Things First`,code:`A1016`,clip_id:13023},{segment:`Address`,title:`Little Lamplighters`,code:`A1017`,clip_id:13090},{segment:`Address`,title:`Two Halves Equal One`,code:`A1018`,clip_id:13120},{segment:`Address`,title:`All in the Same Boat`,code:`A1019`,clip_id:13172},{segment:`Address`,title:`âMaot Chitim - Wheat Moneyâ`,code:`A1022`,clip_id:13345},{segment:`Address`,title:`Lessons from the Exodus`,code:`A1024`,clip_id:13433},{segment:`Address`,title:`Make it Count`,code:`A1026`,clip_id:13450},{segment:`Address`,title:`Fundraising Manifesto`,code:`A1027`,clip_id:13521},{segment:`Address`,title:`It Means What It Says`,code:`A1028`,clip_id:13585},{segment:`Address`,title:`Every Moment is Precious`,code:`A1030`,clip_id:13807},{segment:`Address`,title:`Business of Torah`,code:`A1031`,clip_id:13917},{segment:`Address`,title:`Fill the World and Conquer It`,code:`A1032`,clip_id:13960},{segment:`Address`,title:`Every Home a Temple`,code:`A1033`,clip_id:14032},{segment:`Address`,title:`A Letter from On High`,code:`A1034`,clip_id:14257},{segment:`Address`,title:`A Shepherd of Israel`,code:`A1036`,clip_id:14401},{segment:`Address`,title:`No Words of Their Own`,code:`A1037`,clip_id:14528},{segment:`Address`,title:`Bonds of Love`,code:`A1038`,clip_id:14666},{segment:`Address`,title:`âFor My Children? Only the Best!â`,code:`A1039`,clip_id:14726},{segment:`Address`,title:`A Time for Talmud`,code:`A1040`,clip_id:14821},{segment:`Address`,title:`You Donât Have to Be a Rabbi`,code:`A1041`,clip_id:14969},{segment:`Address`,title:`The Right Hand Draws Close`,code:`A1043`,clip_id:15074},{segment:`Address`,title:`The Hidden Revealed`,code:`A1046`,clip_id:15204},{segment:`Address`,title:`âI Am My Belovedâs, My Beloved Is Mineâ`,code:`A1047`,clip_id:15260},{segment:`Address`,title:`The Rebbeâs Yizkor Speech`,code:`A1048`,clip_id:15309},{segment:`Address`,title:`The Real Beauty of Sukkot`,code:`A1050`,clip_id:15392},{segment:`Address`,title:`Parting Together`,code:`A1051`,clip_id:15415},{segment:`Address`,title:`The Test of Wealth`,code:`A1052`,clip_id:15497},{segment:`Address`,title:`Room to Grow`,code:`A1053`,clip_id:15538},{segment:`Address`,title:`Even in America: 12Seeing G-d in Everyday Life`,code:`A1054`,clip_id:15629},{segment:`Address`,title:`The Meaning of Sacrifice`,code:`A1056`,clip_id:15693},{segment:`Address`,title:`Giving Freely`,code:`A1057`,clip_id:15734},{segment:`Address`,title:`Spreading the Light`,code:`A1060`,clip_id:15944},{segment:`Address`,title:`A Home Full of Holy Books`,code:`A1061`,clip_id:15990},{segment:`Address`,title:`Keeping Warm in a Cold World`,code:`A1062`,clip_id:16018},{segment:`Address`,title:`The Pathologies of Exile`,code:`A1063`,clip_id:16045},{segment:`Address`,title:`What Came First, the Torah or the Jew?`,code:`A1064`,clip_id:16240},{segment:`Address`,title:`On Harmony in Marriage`,code:`A1065`,clip_id:16276},{segment:`Address`,title:`The Soulâs Ascent`,code:`A1067`,clip_id:16359}
12,{segment:`Address`,title:`A Load of Precious Gems`,code:`A1068`,clip_id:16412},{segment:`Address`,title:`Universal Mission`,code:`A1069`,clip_id:16477},{segment:`Address`,title:`A Month for Transformation`,code:`A1070`,clip_id:16520},{segment:`Address`,title:`A Time for Boundless Joy`,code:`A1071`,clip_id:16558},{segment:`Address`,title:`The Women First`,code:`A1072`,clip_id:16588},{segment:`Address`,title:`The Power of Thought`,code:`A1073`,clip_id:16616},{segment:`Address`,title:`Returning the Hearts of the Fathers`,code:`A1074`,clip_id:16685},{segment:`Address`,title:`Focus on Growth`,code:`A1075`,clip_id:16721},{segment:`Address`,title:`Nothing for Granted`,code:`A1076`,clip_id:16735},{segment:`Address`,title:`The Greatest Reward`,code:`A1077`,clip_id:16766},{segment:`Address`,title:`A Sense of Pride`,code:`A1078`,clip_id:16804},{segment:`Address`,title:`A Center for G-d`,code:`A1079`,clip_id:16836},{segment:`Address`,title:`Counting Up`,code:`A1080`,clip_id:16883},{segment:`Address`,title:`Keep Me Updated`,code:`A1081`,clip_id:16917},{segment:`Address`,title:`United at Sinai`,code:`A1082`,clip_id:16977},{segment:`Address`,title:`The Power of Children`,code:`A1083`,clip_id:16998},{segment:`Address`,title:`G-dâs Army on the Offensive`,code:`A1084`,clip_id:17083},{segment:`Address`,title:`Building Security`,code:`A1085`,clip_id:17154},{segment:`Address`,title:`Tipping the Balance`,code:`A1086`,clip_id:17190},{segment:`Address`,title:`Getting an Early Start`,code:`A1088`,clip_id:17355},{segment:`Address`,title:`Unshakable Faith`,code:`A1089`,clip_id:17428},{segment:`Address`,title:`Study and Kindness: 13The Building Blocks of the Temple`,code:`A1090`,clip_id:17451},{segment:`Address`,title:`Destroying to Rebuild`,code:`A1091`,clip_id:17616},{segment:`Address`,title:`Age of Impact`,code:`A1092`,clip_id:17652},{segment:`Address`,title:`Big Business`,code:`A1093`,clip_id:17709},{segment:`Address`,title:`The Rebbeâs Sigh`,code:`A1094`,clip_id:17761},{segment:`Address`,title:`Love Your Fellow As Your Fellow Needs`,code:`A1095`,clip_id:17799},{segment:`Address`,title:`The Tests of Life`,code:`A1096`,clip_id:17903},{segment:`Address`,title:`Atonement`,code:`A1097`,clip_id:17979},{segment:`Address`,title:`Playing the Fool`,code:`A1098`,clip_id:18031},{segment:`Address`,title:`Guests Deserve the Best`,code:`A1100`,clip_id:18106},{segment:`Address`,title:`The Humble Willow`,code:`A1101`,clip_id:18132},{segment:`Address`,title:`A Bright Beginning`,code:`A1102`,clip_id:18157},{segment:`Address`,title:`Donât Display It, Use It`,code:`A1103`,clip_id:18191},{segment:`Address`,title:`A Daily Requirement`,code:`A1104`,clip_id:18241},{segment:`Address`,title:`One by One`,code:`A1106`,clip_id:18338},{segment:`Address`,title:`Sacred Nourishment`,code:`A1107`,clip_id:18389},{segment:`Address`,title:`No Reason to Run`,code:`A1108`,clip_id:18552},{segment:`Address`,title:`A New Era Begins`,code:`A1109`,clip_id:18606},{segment:`Address`,title:`Constant Progress`,code:`A1110`,clip_id:18638},{segment:`Address`,title:`Earning Respect`,code:`A1112`,clip_id:18731},{segment:`Address`,title:`Donât Keep it to Yourself`,code:`A1113`,clip_id:18763},{segment:`Address`,title:`A Response to Tragedy`,code:`A1114`,clip_id:18794},{segment:`Address`,title:`An Extra Crown for Redemption`,code:`A1115`,clip_id:18845},{segment:`Address`,title:`Ladies First`,code:`A1118`,clip_id:18980},{segment:`Address`,title:`Looking for Ways to Help`,code:`A1119`,clip_id:19029},{segment:`Conversation`,title:`A Truly Big Blessing`,code:`C1`,clip_id:3998},{segment:`Conversation`,title:`A Heavenly Case`,code:`C2`,clip_id:3993},{segment:`Conversation`,title:`A New Yearâs Blessing`,code:`C3`,clip_id:3988},{segment:`Conversation`,title:`Winning Over the Opposition`,code:`C4`,clip_id:3983},{segment:`Conversation`,title:`Business and Owner`,code:`C5`,clip_id:17384},{segment:`Conversation`,title:`Surgery`,code:`C6`,clip_id:17404},{segment:`Conversation`,title:`Debt Reduction`,code:`C7`,clip_id:17394},{segment:`Conversation`,title:`Bank Leumi`,code:`C8`,clip_id:17414},{segment:`Conversation`,title:`Opening the Doors to Goodness`,code:`C9`,clip_id:16162},{segment:`Conversation`,title:`Anniversary Blessings`,code:`C11`,clip_id:16182},{segment:`Conversation`,title:`Vote for Torah`,code:`C12`,clip_id:16192},{segment:`Conversation`,title:`Increasing Light`,code:`C13`,clip_id:9900},{segment:`Conversation`,title:`Standing Firm for a Safe Israel`,code:`C15`,clip_id:9870},{segment:`Conversation`,title:`Maimonidesâ Precision`,code:`C16`,clip_id:9880},{segment:`Conversation`,title:`To Benefit a Third Jew`,code:`C17`,clip_id:16202},{segment:`Conversation`,title:`May Israel Do Her Part`,code:`C18`,clip_id:16459},{segment:`Conversation`,title:`More Wisdom, More Activities`,code:`C19`,clip_id:16449},{segment:`Conversation`,title:`Great Cities in Israel`,code:`C20`,clip_id:16232},{segment:`Conversation`,title:`Ambassador for the Holy Land`,code:`C21`,clip_id:3978},{segment:`Conversation`,title:`The Best Blessing â Help the Shluchim!`,code:`C22`,clip_id:3973},{segment:`Conversation`,title:`Rebuilding Hebron`,code:`C23`,clip_id:3968},{segment:`Conversation`,title:`Increasing Love`,code:`C24`,clip_id:3963},{segment:`Conversation`,title:`Model of the Holy Temple`,code:`C25`,clip_id:3958},{segment:`Conversation`,title:`Katan â Small, but Great`,code:`C26`,clip_id:3953},{segment:`Conversation`,title:`Bringing Judaism to the Soviet Union`,code:`C27`,clip_id:3948},{segment:`Conversation`,title:`Spreading Judaism through Torah Study`,code:`C28`,clip_id:3943},{segment:`Conversation`,title:`Faith in G-dâs Gift`,code:`C29`,clip_id:10185},{segment:`Conversation`,title:`Mediaâs Role â To Spread Goodness`,code:`C30`,clip_id:3913},{segment:`Conversation`,title:`Painting the Redemption`,code:`C31`,clip_id:3908},{segment:`Conversation`,title:`Happy Birthday, Rebbe!`,code:`C32`,clip_id:3903},{segment:`Conversation`,title:`Asking the Questions, Giving the Answers`,code:`C33`,clip_id:3938},{segment:`Conversation`,title:`Thank You for Your Book`,code:`C34`,clip_id:3933},{segment:`Conversation`,title:`Even Better in the Future`,code:`C35`,clip_id:3928},{segment:`Conversation`,title:`Advocate Goodness`,code:`C36`,clip_id:3923},{segment:`Conversation`,title:`Take Responsibility`,code:`C37`,clip_id:3872},{segment:`Conversation`,title:`Light Up the Exile`,code:`C38`,clip_id:3867},{segment:`Conversation`,title:`Every Jew Yearns for Judaism`,code:`C39`,clip_id:3862},{segment:`Conversation`,title:`Publish More Torah Innovations`,code:`C40`,clip_id:3857},{segment:`Conversation`,title:`Victory Without War`,code:`C42`,clip_id:3893},{segment:`Conversation`,title:`Every Jew, A Shliach`,code:`C43`,clip_id:3888},{segment:`Conversation`,title:`A Living Example`,code:`C44`,clip_id:3883},{segment:`Conversation`,title:`Publishing The Rebbeâs Works`,code:`C45`,clip_id:3852},{segment:`Conversation`,title:`When the Time is Ripe`,code:`C46`,clip_id:3847},{segment:`Conversation`,title:`Thank You, Rebbe!`,code:`C47`,clip_id:3841},{segment:`Conversation`,title:`Territorial Compromise â A Problem, Not A Solution`,code:`C48`,clip_id:3836},{segment:`Conversation`,title:`Awaiting Mashiach, Unconditionally`,code:`C53`,clip_id:3820},{segment:`Conversation`,title:`An Island for Judaism`,code:`C54`,clip_id:38
1315},{segment:`Conversation`,title:`A City to be Emulated`,code:`C55`,clip_id:3810},{segment:`Conversation`,title:`Ultimate Trust Fund`,code:`C56`,clip_id:3805},{segment:`Conversation`,title:`Leverage the Admiration`,code:`C57`,clip_id:3795},{segment:`Conversation`,title:`Partnership for a Jewish Environment`,code:`C58`,clip_id:3790},{segment:`Conversation`,title:`Every Jew is Close`,code:`C59`,clip_id:3785},{segment:`Conversation`,title:`Opposition as Inspiration`,code:`C60`,clip_id:3780},{segment:`Conversation`,title:`Look Forward to New Accomplishments`,code:`C61`,clip_id:3775},{segment:`Conversation`,title:`Yeshivah â A Preparation for Life`,code:`C62`,clip_id:3770},{segment:`Conversation`,title:`Whoever Blesses, is Blessed`,code:`C63`,clip_id:3765},{segment:`Conversation`,title:`Irish Insistence to Benefit All`,code:`C64`,clip_id:3760},{segment:`Conversation`,title:`Blessing Jews Every Day`,code:`C65`,clip_id:3755},{segment:`Conversation`,title:`A Childâs True Role Models â His Parents`,code:`C66`,clip_id:3750},{segment:`Conversation`,title:`Tanya â A Guide for Living`,code:`C67`,clip_id:3745},{segment:`Conversation`,title:`Illuminate the Darkness`,code:`C68`,clip_id:3740},{segment:`Conversation`,title:`Spreading the Wellsprings`,code:`C69`,clip_id:3735},{segment:`Conversation`,title:`Once Chabad, Always Chabad`,code:`C70`,clip_id:3730},{segment:`Conversation`,title:`Utilize Your Influence`,code:`C71`,clip_id:3725},{segment:`Conversation`,title:`Chabad: Applied Intellect`,code:`C72`,clip_id:3720},{segment:`Conversation`,title:`A Strong Prime Minister`,code:`C73`,clip_id:3800},{segment:`Conversation`,title:`An Oasis of Torah for the World`,code:`C74`,clip_id:3715},{segment:`Conversation`,title:`Mashiach Must Comfort Us`,code:`C75`,clip_id:3710},{segment:`Conversation`,title:`Chasidic Feminism`,code:`C76`,clip_id:3705},{segment:`Conversation`,title:`Serving G-d through Song`,code:`C77`,clip_id:3700},{segment:`Conversation`,title:`From Russia, to America, to Redemption`,code:`C78`,clip_id:3695},{segment:`Conversation`,title:`Queen Esther â A Proud Jewish Woman`,code:`C79`,clip_id:3690},{segment:`Conversation`,title:`Friends of Chabad Can Help Even More`,code:`C80`,clip_id:3685},{segment:`Conversation`,title:`Ten Mikvahâs`,code:`C81`,clip_id:4024},{segment:`Conversation`,title:`Every Person, A Tzaddik`,code:`C82`,clip_id:4019},{segment:`Conversation`,title:`This Year in Jerusalem`,code:`C83`,clip_id:4014},{segment:`Conversation`,title:`I Remember You`,code:`C84`,clip_id:4009},{segment:`Conversation`,title:`Halachic Banking`,code:`C85`,clip_id:3656},{segment:`Conversation`,title:`Educating Oneself`,code:`C87`,clip_id:3646},{segment:`Conversation`,title:`To Awaken Every Jew`,code:`C88`,clip_id:3641},{segment:`Conversation`,title:`From One Thousand to Two Thousand`,code:`C89`,clip_id:3588},{segment:`Conversation`,title:`The Jewish Land`,code:`C90`,clip_id:3630},{segment:`Conversation`,title:`New Torah, Renewed Strength`,code:`C91`,clip_id:3625},{segment:`Conversation`,title:`Spreading Judaism in Hungary`,code:`C92`,clip_id:3620},{segment:`Conversation`,title:`Hesder Yeshiva: A Great Responsibility`,code:`C93`,clip_id:4154},{segment:`Conversation`,title:`Maintaining the Teacherâs Good Name`,code:`C94`,clip_id:4149},{segment:`Conversation`,title:`Tammuz â A Month of Deliverance`,code:`C95`,clip_id:4144},{segment:`Conversation`,title:`Israel â The Safest Investment`,code:`C96`,clip_id:4139},{segment:`Conversation`,title:`Israel and the U.S.: Friendship through Strength`,code:`C97`,clip_id:4208},{segment:`Conversation`,title:`The Rebbeâs Smile`,code:`C98`,clip_id:4203},{segment:`Conversation`,title:`A Gift from the Rebbe`,code:`C99`,clip_id:4198},{segment:`Conversation`,title:`Bar and Bat Mitzvah Blessings`,code:`C100`,clip_id:4193},{segment:`Conversation`,title:`Partners in Bringing Mashiach`,code:`C101`,clip_id:4074},{segment:`Conversation`,title:`Bringing Jews Closer through Love`,code:`C102`,clip_id:4059},{segment:`Conversation`,title:`Mezuzah Protection`,code:`C104`,clip_id:4049},{segment:`Conversation`,title:`Thereâs a Great Thirst`,code:`C105`,clip_id:4069},{segment:`Conversation`,title:`Sweet Cake for a Sweet Year`,code:`C106`,clip_id:4064},{segment:`Conversation`,title:`Good Changes in Russia`,code:`C107`,clip_id:4089},{segment:`Conversation`,title:`Transmit the Message`,code:`C108`,clip_id:4084},{segment:`Conversation`,title:`Fourteen Honored Guests`,code:`C109`,clip_id:4079},{segment:`Conversation`,title:`From the Mir to Mexico`,code:`C110`,clip_id:4094},{segment:`Conversation`,title:`For the Soul to Find Peace`,code:`C111`,clip_id:4099},{segment:`Conversation`,title:`My Line of Work`,code:`C112`,clip_id:4104},{segment:`Conversation`,title:`Consistency in Education`,code:`C113`,clip_id:4109},{segment:`Conversation`,title:`Good for the Jews`,code:`C114`,clip_id:4129},{segment:`Conversation`,title:`The Communityâs Success: Through You`,code:`C115`,clip_id:4124},{segment:`Conversation`,title:`Wedding Blessings`,code:`C116`,clip_id:4119},{segment:`Conversation`,title:`Learn from the Lights`,code:`C118`,clip_id:4134},{segment:`Conversation`,title:`Shining from Sea to Sea`,code:`C119`,clip_id:4159},{segment:`Conversation`,title:`Manuscripts - Old but New`,code:`C120`,clip_id:4174},{segment:`Conversation`,title:`The Most Special Office`,code:`C121`,clip_id:4168},{segment:`Conversation`,title:`Take Advantage Now`,code:`C122`,clip_id:4164}
13,{segment:`Conversation`,title:`Reach Out to Non-Jews`,code:`C123`,clip_id:4184},{segment:`Conversation`,title:`Super-responsibility`,code:`C124`,clip_id:4179},{segment:`Conversation`,title:`Love of G-d`,code:`C125`,clip_id:9910},{segment:`Conversation`,title:`Donât Be The Only One`,code:`C126`,clip_id:9920},{segment:`Conversation`,title:`Crime Prevention`,code:`C127`,clip_id:9930},{segment:`Conversation`,title:`Like The Baal Shem Tov`,code:`C128`,clip_id:9940},{segment:`Conversation`,title:`Mashiach - It's a Matter of Law`,code:`C129`,clip_id:10003},{segment:`Conversation`,title:`Keep in Touch`,code:`C130`,clip_id:10013},{segment:`Conversation`,title:`A Member by Birth`,code:`C131`,clip_id:10023},{segment:`Conversation`,title:`Happy Birthday! â Collage`,code:`C132`,clip_id:10033},{segment:`Conversation`,title:`A Supporter and Member`,code:`C133`,clip_id:16122},{segment:`Conversation`,title:`Who Will Ask the Four Questions?`,code:`C134`,clip_id:16132},{segment:`Conversation`,title:`Acts of Goodness and Kindness`,code:`C135`,clip_id:16142},{segment:`Conversation`,title:`The Good Fire`,code:`C136`,clip_id:16152},{segment:`Conversation`,title:`Stand Tall`,code:`C137`,clip_id:16074},{segment:`Conversation`,title:`An Independent Mind`,code:`C138`,clip_id:16400},{segment:`Conversation`,title:`âItâs Just My Natureâ`,code:`C139`,clip_id:16094},{segment:`Conversation`,title:`To Influence All`,code:`C140`,clip_id:16104},{segment:`Conversation`,title:`Inspire the Next Jew`,code:`C141`,clip_id:7121},{segment:`Conversation`,title:`Iâm Only an Emissary`,code:`C145`,clip_id:5220},{segment:`Conversation`,title:`Secure Embassies`,code:`C155`,clip_id:9139},{segment:`Conversation`,title:`New Year Blessings`,code:`C156`,clip_id:9149},{segment:`Conversation`,title:`An Extra Sweet Year`,code:`C158`,clip_id:9074},{segment:`Conversation`,title:`Torah for its Own Sake`,code:`C160`,clip_id:9064},{segment:`Conversation`,title:`Water from the Rock`,code:`C162`,clip_id:17559},{segment:`Conversation`,title:`Blessings and Productivity`,code:`C163`,clip_id:5352},{segment:`Conversation`,title:`Interdependence`,code:`C164`,clip_id:18462},{segment:`Conversation`,title:`Partners in the Shlichut`,code:`C165`,clip_id:18510},{segment:`Conversation`,title:`Planning to Expand?`,code:`C166`,clip_id:18530},{segment:`Conversation`,title:`For Your Weddingâ¦`,code:`C167`,clip_id:18583},{segment:`Conversation`,title:`Holy Books`,code:`C170`,clip_id:7111},{segment:`Conversation`,title:`The Melting Pot`,code:`C171`,clip_id:9723},{segment:`Conversation`,title:`What Does Money Have to Do with it?`,code:`C173`,clip_id:9044},{segment:`Conversation`,title:`Shabbat in the Capitol`,code:`C174`,clip_id:4425},{segment:`Conversation`,title:`She is a Shliach`,code:`C176`,clip_id:13763},{segment:`Conversation`,title:`Groundbreaking Ceremony`,code:`C178`,clip_id:8847},{segment:`Conversation`,title:`They Danced Around the Video`,code:`C183`,clip_id:10105},{segment:`Conversation`,title:`A Priestly Nation`,code:`C184`,clip_id:10115},{segment:`Conversation`,title:`Jewish Academia`,code:`C185`,clip_id:5052},{segment:`Conversation`,title:`Solving the Worldâs Problems`,code:`C192`,clip_id:4994},{segment:`Conversation`,title:`Build Upon the Past`,code:`C193`,clip_id:5071},{segment:`Conversation`,title:`Focus Your Influence`,code:`C194`,clip_id:9993},{segment:`Conversation`,title:`A Personal Response`,code:`C199`,clip_id:8581},{segment:`Conversation`,title:`The Tribe of Levi`,code:`C200`,clip_id:8591},{segment:`Conversation`,title:`Operation Exodus`,code:`C201`,clip_id:17327},{segment:`Conversation`,title:`Unified Effort`,code:`C203`,clip_id:8644},{segment:`Conversation`,title:`Defensive Driving`,code:`C204`,clip_id:8738},{segment:`Conversation`,title:`Seek the Positive`,code:`C205`,clip_id:8749},{segment:`Conversation`,title:`Family Acquaintances`,code:`C206`,clip_id:8837},{segment:`Conversation`,title:`The Chasidic Brotherhood: Lubavitch and Ger`,code:`C210`,clip_id:7160},{segment:`Conversation`,title:`Giving and Receiving`,code:`C211`,clip_id:7170},{segment:`Conversation`,title:`Torah Businessman`,code:`C212`,clip_id:7180},{segment:`Conversation`,title:`You Only Need to Want It`,code:`C214`,clip_id:5313},{segment:`Conversation`,title:`Torah and Charity Are Inseparable`,code:`C215`,clip_id:5346},{segment:`Conversation`,title:`Donât Wait for Me`,code:`C216`,clip_id:5307},{segment:`Conversation`,title:`Yeshiva: True Jewish âSettlementâ`,code:`C217`,clip_id:3582},{segment:`Conversation`,title:`Embrace Your Chasidic Heritage`,code:`C219`,clip_id:18363},{segment:`Conversation`,title:`To Build, or not to Build?`,code:`C220`,clip_id:18452},{segment:`Conversation`,title:`Protecting the Beauty of the Jewish Woman`,code:`C221`,clip_id:5295},{segment:`Conversation`,title:`Crown Heights Memories`,code:`C222`,clip_id:7219},{segment:`Conversation`,title:`A Rabbinic Tradition`,code:`C223`,clip_id:5226},{segment:`Conversation`,title:`Response to an Author of an Unpopular Book`,code:`C225`,clip_id:5301},{segment:`Conversation`,title:`Jewish Land, Jewish Observance`,code:`C226`,clip_id:7039},{segment:`Conversation`,title:`Letter of Approbation`,code:`C228`,clip_id:7199},{segment:`Conversation`,title:`Every Mitzvah is Precious`,code:`C229`,clip_id:7209},{segment:`Conversation`,title:`40 Years of the Rebbeâs Leadership`,code:`C230`,clip_id:5214},{segment:`Conversation`,title:`Effective Dialogue on Family Purity`,code:`C231`,clip_id:10195},{segment:`Conversation`,title:`Watch Out for the Judge!`,code:`C232`,clip_id:5135},{segment:`Conversation`,title:`Let Mashiach Come and Spoil Our Plans!`,code:`C233`,clip_id:5128},{segment:`Conversation`,title:`The Rebbe and the Navy`,code:`C234`,clip_id:5122},{segment:`Conversation`,title:`Why You Should Publicize Your Israel Trip`,code:`C235`,clip_id:5183}
13,{segment:`Conversation`,title:`What True Nachas Looks Like`,code:`C237`,clip_id:5110},{segment:`Conversation`,title:`Fascinating Collage of Birthday Wishes`,code:`C238`,clip_id:5103},{segment:`Conversation`,title:`Tremendous Responsibility of an Army Chaplain`,code:`C240`,clip_id:5046},{segment:`Conversation`,title:`Four Star General`,code:`C241`,clip_id:7381},{segment:`Conversation`,title:`Blessing for a Convert`,code:`C242`,clip_id:5e3},{segment:`Conversation`,title:`Responsibility of Quitting from Knesset`,code:`C243`,clip_id:4917},{segment:`Conversation`,title:`Why Should I go To Yeshivah?`,code:`C244`,clip_id:4911},{segment:`Conversation`,title:`Hand in Hand`,code:`C245`,clip_id:7741},{segment:`Conversation`,title:`Security Reigns Supreme`,code:`C246`,clip_id:7751},{segment:`Conversation`,title:`Pass It On`,code:`C247`,clip_id:7761},{segment:`Conversation`,title:`Necessary Care`,code:`C248`,clip_id:7059},{segment:`Conversation`,title:`What is my Real Name?`,code:`C249`,clip_id:5083},{segment:`Conversation`,title:`Investing With Peace of Mind`,code:`C250`,clip_id:7069},{segment:`Conversation`,title:`Your Voice in the Senate`,code:`C251`,clip_id:7079},{segment:`Conversation`,title:`Coming of Age`,code:`C252`,clip_id:5077},{segment:`Conversation`,title:`Syria and Iran`,code:`C253`,clip_id:7410},{segment:`Conversation`,title:`Simple Prayer`,code:`C255`,clip_id:8769},{segment:`Conversation`,title:`Angioplasty`,code:`C256`,clip_id:8759},{segment:`Conversation`,title:`Proper Conduct After a Loss`,code:`C257`,clip_id:4808},{segment:`Conversation`,title:`Covenant of Abraham`,code:`C259`,clip_id:9159},{segment:`Conversation`,title:`A Sweet New Year`,code:`C261`,clip_id:8877},{segment:`Conversation`,title:`Standing Before G-d`,code:`C262`,clip_id:9213},{segment:`Conversation`,title:`Living and Giving`,code:`C263`,clip_id:9169},{segment:`Conversation`,title:`He Who Blesses, is Blessed`,code:`C264`,clip_id:10135},{segment:`Conversation`,title:`Charity Plan`,code:`C265`,clip_id:8857},{segment:`Conversation`,title:`Yiddishe Nachas`,code:`C266`,clip_id:8867},{segment:`Conversation`,title:`Religious Rights in Prison`,code:`C274`,clip_id:15786},{segment:`Conversation`,title:`Menorah-Craft`,code:`C275`,clip_id:16e3},{segment:`Conversation`,title:`Jewish Publication`,code:`C276`,clip_id:7131},{segment:`Conversation`,title:`Infinite Good`,code:`C277`,clip_id:9733},{segment:`Conversation`,title:`Jewish Defense Forces`,code:`C279`,clip_id:16010},{segment:`Conversation`,title:`A True Home`,code:`C284`,clip_id:17313},{segment:`Conversation`,title:`Time to Confess`,code:`C285`,clip_id:10065},{segment:`Conversation`,title:`Charity, The Cure-All - Collage`,code:`C286`,clip_id:10075},{segment:`Conversation`,title:`Politicians for Redemption!`,code:`C292`,clip_id:3430},{segment:`Conversation`,title:`Roadmap To Peace`,code:`C293`,clip_id:10043},{segment:`Conversation`,title:`Mishneh Torah - A Revolutionary Review`,code:`C294`,clip_id:4893},{segment:`Conversation`,title:`Upsherin â Collage`,code:`C295`,clip_id:10165},{segment:`Conversation`,title:`On the Money`,code:`C296`,clip_id:5340},{segment:`Conversation`,title:`Husband-Wife Partnership`,code:`C297`,clip_id:17006},{segment:`Conversation`,title:`On the Straight and Narrow`,code:`C298`,clip_id:8624},{segment:`Conversation`,title:`Mashiach Now!`,code:`C300`,clip_id:5208},{segment:`Conversation`,title:`Never Forget`,code:`C302`,clip_id:3405},{segment:`Conversation`,title:`Government for the People`,code:`C309`,clip_id:3339},{segment:`Conversation`,title:`Charity on the Seven Seas`,code:`C311`,clip_id:11740},{segment:`Conversation`,title:`The Jewish Key to Success`,code:`C312`,clip_id:13752},{segment:`Conversation`,title:`Itâs All About Your Readers`,code:`C313`,clip_id:3333},{segment:`Conversation`,title:`Make it a Family Affair`,code:`C314`,clip_id:10234},{segment:`Conversation`,title:`Sons and Daughters of Abraham`,code:`C318`,clip_id:3274},{segment:`Conversation`,title:`Regards to the Shluchim`,code:`C321`,clip_id:3268},{segment:`Conversation`,title:`Dream Come True`,code:`C322`,clip_id:18353},{segment:`Conversation`,title:`Even-Yisrael: Stone of Israel`,code:`C323`,clip_id:3262},{segment:`Conversation`,title:`Share Your Philanthropy With Your Children`,code:`C324`,clip_id:3256},{segment:`Conversation`,title:`Print More Torah`,code:`C327`,clip_id:9713},{segment:`Conversation`,title:`Forty Years of Leadership`,code:`C332`,clip_id:3190},{segment:`Conversation`,title:`Television with a Soul`,code:`C335`,clip_id:3184},{segment:`Conversation`,title:`Jewish Law Says It All`,code:`C336`,clip_id:3111},{segment:`Conversation`,title:`Torah Vodaas`,code:`C340`,clip_id:3105},{segment:`Conversation`,title:`Jewish Media`,code:`C341`,clip_id:3099},{segment:`Conversation`,title:`Israelis Making Aliyah`,code:`C342`,clip_id:4988},{segment:`Conversation`,title:`âAnd I will bless themâ`,code:`C345`,clip_id:3076},{segment:`Conversation`,title:`Never Too Powerful to Learn`,code:`C348`,clip_id:10254},{segment:`Conversation`,title:`The âRabbiâ of the Supporters`,code:`C349`,clip_id:5040},{segment:`Conversation`,title:`Shavuot: Renewing the Vows`,code:`C351`,clip_id:17075},{segment:`Conversation`,title:`No, You Are!`,code:`C352`,clip_id:3037},{segment:`Conversation`,title:`True Beauty!`,code:`C353`,clip_id:3031},{segment:`Conversation`,title:`Every Life Is Sacred`,code:`C354`,clip_id:5014},{segment:`Conversation`,title:`Itâs All in the Name`,code:`C355`,clip_id:3025},{segment:`Conversation`,title:`Faithful Shepherd`,code:`C356`,clip_id:3019},{segment:`Conversation`,title:`Keep On Your Toes`,code:`C357`,clip_id:3013},{segment:`Conversation`,title:`Strengthened by the Opposition`,code:`C359`,clip_id:2977},{segment:`Conversation`,title:`Jewish Education`,code:`C360`,clip_id:3001},{segment:`Conversation`,title:`Stones of Jerusalem`,code:`C361`,clip_id:2995},{segment:`Conversation`,title:`The Chasidic Masters and Tu Bâav`,code:`C362`,clip_id:3007},{segment:`Conversation`,title:`Operation Esther: Saving Yemenite Jewry`,code:`C363`,clip_id:2989},{segment:`Conversation`,title:`Mitzvot in Los Angeles`,code:`C365`,clip_id:8887},{segment:`Conversation`,title:`Reformed Ways`,code:`C366`,clip_id:8897},{segment:`Conversation`,title:`Never Be Satisfied`,code:`C367`,clip_id:2971},{segment:`Conversation`,title:`Make them Smile`,code:`C368`,clip_id:8907},{segment:`Conversation`,title:`Infinite Teshuvah`,code:`C369`,clip_id:2965},{segment:`Conversation`,title:`Kick Up a Fundraising Storm!`,code:`C370`,clip_id:2959},{segment:`Conversation`,title:`Cure for Arrogance`,code:`C371`,clip_id:2953},{segment:`Conversation`,title:`The Joy of Yiddish`,code:`C372`,clip_id:2947},{segment:`Conversation`,title:`Noahide Law in the Knesset`,code:`C373`,clip_id:2938},{segment:`Conversation`,title:`The Light of Shabbat!`,code:`C375`,clip_id:2932},{segment:`Conversation`,title:`Think Even Bigger!`,code:`C376`,clip_id:2926},{segment:`Conversation`,title:`His Chasidim Need Him`,code:`C377`,clip_id:18500},{segment:`Conversation`,title:`Only Simchas!`,code:`C378`,clip_id:13708},{segment:`Conversation`,title:`192 Years of Chabad Chasidut`,code:`C379`,clip_id:6770},{segment:`Conversation`,title:`Chanukah, the Day After â Collage`,code:`C380`,clip_id:13732},{segment:`Conversation`,title:`One People, One Torah`,code:`C381`,clip_id:9795},{segment:`Conversation`,title:`Keep The Presses Running - Collage`,code:`C382`,clip_id:9819},{segment:`Conversation`,title:`The âMinchas Elazarâ - Collage`,code:`C383`,clip_id:9829},{segment:`Conversation`,title:`A Land of Only Good`,code:`C384`,clip_id:9839},{segment:`Conversation`,title:`Like an Engine`,code:`C385`,clip_id:2905},{segment:`Conversation`,title:`Super-Connected`,code:`C386`,clip_id:4696},{segment:`Conversation`,title:`A Fruitful Tu BâShevat`,code:`C387`,clip_id:4690},{segment:`Conversation`,title:`Blessings to the Shluchos`,code:`C388`,clip_id:2899},{segment:`Conversation`,title:`Uniting Jews in Israel Saves Jews Worldwide`,code:`C389`,clip_id:15796},{segment:`Conversation`,title:`Home is Where the Heart is`,code:`C390`,clip_id:2893},{segment:`Conversation`,title:`Never Too Late`,code:`C399`,clip_id:2881},{segment:`Conversation`,title:`Architecture with Soul`,code:`C400`,clip_id:5008},{segment:`Conversation`,title:`Blessings Within the Natural Order`,code:`C401`,clip_id:2806},{segment:`Conversation`,title:`Healthy Living`,code:`C402`,clip_id:2800},{segment:`Conversation`,title:`Holy Ads`,code:`C403`,clip_id:2794},{segment:`Conversation`,title:`Charity and Shabbat in the World of Finance`,code:`C404`,clip_id:2875},{segment:`Conversation`,title:`Do Not Fear`,code:`C405`,clip_id:2869},{segment:`Conversation`,title:`All Together`,code:`C406`,clip_id:2863},{segment:`Conversation`,title:`The Sky is Not the Limit`,code:`C407`,clip_id:2857},{segment:`Conversation`,title:`Persecution in the Past; Unity Today`,code:`C408`,clip_id:2851},{segment:`Conversation`,title:`Unity Politics`,code:`C409`,clip_id:2845},{segment:`Conversation`,title:`The Rebbe of Rebbeâs`,code:`C410`,clip_id:2839},{segment:`Conversation`,title:`Chicagoâs Loop of Blessing`,code:`C411`,clip_id:2833},{segment:`Conversation`,title:`Yerushalayim Post`,code:`C412`,clip_id:2827},{segment:`Conversation`,title:`Forty Years of Torah`,code:`C413`,clip_id:2667},{segment:`Conversation`,title:`Not for the Honor of Flesh and Blood`,code:`C414`,clip_id:2662},{segment:`Conversation`,title:`Donât Lose Sight of Your Blessings`,code:`C415`,clip_id:2656},{segment:`Conversation`,title:`Increase in Love`,code:`C416`,clip_id:2650},{segment:`Conversation`,title:`Chasidic Teachings within the Curriculum`,code:`C417`,clip_id:2644},{segment:`Conversation`,title:`California Telethon`,code:`C418`,clip_id:2638},{segment:`Conversation`,title:`Facing the New Year with Joy`,code:`C419`,clip_id:2632},{segment:`Conversation`,title:`When G-d is Close`,code:`C420`,clip_id:2626},{segment:`Conversation`,title:`Time to Clean Up`,code:`C421`,clip_id:2620},{segment:`Conversation`,title:`Torah Keeps You Young`,code:`C422`,clip_id:2614},{segment:`Conversation`,title:`Education, an Honor and a Responsibility`,code:`C423`,clip_id:2608},{segment:`Conversation`,title:`A Modest Queen`,code:`C424`,clip_id:2602},{segment:`Conversation`,title:`Donât Wait for Others`,code:`C425`,clip_id:2596},{segment:`Conversation`,title:`Melt the Ice`,code:`C426`,clip_id:2590},{segment:`Conversation`,title:`The Special Role of Lay Leaders`,code:`C427`,clip_id:17142},{segment:`Conversation`,title:`A Single Party`,code:`C428`,clip_id:2578},{segment:`Conversation`,title:`Bridge the Divide`,code:`C429`,clip_id:2573},{segment:`Conversation`,title:`The Riches Will Come Along`,code:`C430`,clip_id:2567},{segment:`Conversation`,title:`Spiritual Buildings`,code:`C431`,clip_id:2561},{segment:`Conversation`,title:`Capitalize on the Blessings`,code:`C432`,clip_id:2555},{segment:`Conversation`,title:`Restoration Work`,code:`C433`,clip_id:2549},{segment:`Conversation`,title:`Higher and Higher`,code:`C434`,clip_id:9956},{segment:`Conversation`,title:`Please Write`,code:`C435`,clip_id:2543},{segment:`Conversation`,title:`Return on Investment`,code:`C436`,clip_id:2537}
13,{segment:`Conversation`,title:`Collective Effort`,code:`C437`,clip_id:2530},{segment:`Conversation`,title:`Tu BâShevat`,code:`C438`,clip_id:2524},{segment:`Conversation`,title:`Attending to the Rebbetzin`,code:`C439`,clip_id:2518},{segment:`Conversation`,title:`Marketing Torah`,code:`C440`,clip_id:2512},{segment:`Conversation`,title:`A Reason to Rejoice`,code:`C441`,clip_id:2506},{segment:`Conversation`,title:`Making Up for Lost Time`,code:`C442`,clip_id:2500},{segment:`Conversation`,title:`Instilling Self-Confidence`,code:`C443`,clip_id:2494},{segment:`Conversation`,title:`Donât Be Happy with Your Lot`,code:`C444`,clip_id:2488},{segment:`Conversation`,title:`Birthday Wishes`,code:`C445`,clip_id:2482},{segment:`Conversation`,title:`Charity for Israel`,code:`C446`,clip_id:2476},{segment:`Conversation`,title:`A Comptroller Can Pull Strings`,code:`C447`,clip_id:2470},{segment:`Conversation`,title:`A Time for Loving`,code:`C449`,clip_id:2458},{segment:`Conversation`,title:`Better Than a Doctor`,code:`C450`,clip_id:2452},{segment:`Conversation`,title:`Keep it Warm`,code:`C451`,clip_id:2416},{segment:`Conversation`,title:`Halachic Ruling`,code:`C452`,clip_id:2446},{segment:`Conversation`,title:`Priestly Blessings`,code:`C453`,clip_id:2440},{segment:`Conversation`,title:`Make Your Mazel Shine`,code:`C454`,clip_id:2434},{segment:`Conversation`,title:`G-d is on Your Side`,code:`C455`,clip_id:2428},{segment:`Conversation`,title:`In the Right Direction`,code:`C456`,clip_id:2422},{segment:`Conversation`,title:`Become a Member`,code:`C457`,clip_id:2410},{segment:`Conversation`,title:`Prevention is Better Than Any Cure`,code:`C458`,clip_id:2404},{segment:`Conversation`,title:`Enough is Never Enough`,code:`C459`,clip_id:2398},{segment:`Conversation`,title:`One Good Deed`,code:`C460`,clip_id:8634},{segment:`Conversation`,title:`Moses Who Loves Them Shall Rebuke Them`,code:`C461`,clip_id:2390},{segment:`Conversation`,title:`Rebuilding Shilo`,code:`C462`,clip_id:2384},{segment:`Conversation`,title:`Rejoicing on the Fifteenth of Av`,code:`C463`,clip_id:2378},{segment:`Conversation`,title:`Charity Begins at the Bank`,code:`C464`,clip_id:2373},{segment:`Conversation`,title:`Climbing the Ranks`,code:`C465`,clip_id:2367},{segment:`Conversation`,title:`Already Jewish`,code:`C466`,clip_id:2361},{segment:`Conversation`,title:`Continuing Education`,code:`C467`,clip_id:2355},{segment:`Conversation`,title:`A Claim to Fame`,code:`C468`,clip_id:2349},{segment:`Conversation`,title:`Precisely Worded Blessings`,code:`C469`,clip_id:2343},{segment:`Conversation`,title:`Keep the Peace`,code:`C470`,clip_id:2337},{segment:`Conversation`,title:`A âBigâ Mitzvah`,code:`C471`,clip_id:2331},{segment:`Conversation`,title:`Three Times Three`,code:`C473`,clip_id:2319},{segment:`Conversation`,title:`Keeping Brooklyn Safe`,code:`C475`,clip_id:2313},{segment:`Conversation`,title:`âYoungâ Israel`,code:`C476`,clip_id:2308},{segment:`Conversation`,title:`A Comptroller Can Pull Strings`,code:`C477`,clip_id:2302},{segment:`Conversation`,title:`A New Crown`,code:`C479`,clip_id:2296},{segment:`Conversation`,title:`The Month for Weddings`,code:`C480`,clip_id:2290},{segment:`Conversation`,title:`The Chabad Path`,code:`C481`,clip_id:2284},{segment:`Conversation`,title:`Happy Chanukah!`,code:`C482`,clip_id:2278},{segment:`Conversation`,title:`On Printed Matter`,code:`C483`,clip_id:2272},{segment:`Conversation`,title:`Scholars and Laymen`,code:`C484`,clip_id:2266},{segment:`Conversation`,title:`Making a Living`,code:`C485`,clip_id:2260},{segment:`Conversation`,title:`Print on the Double`,code:`C486`,clip_id:2254},{segment:`Conversation`,title:`Rambam is for Everybody`,code:`C487`,clip_id:2248},{segment:`Conversation`,title:`A Twofold Blessing`,code:`C488`,clip_id:2242},{segment:`Conversation`,title:`Without Compromises`,code:`C489`,clip_id:15572},{segment:`Conversation`,title:`Bringing Blessing into the Home`,code:`C490`,clip_id:13873},{segment:`Conversation`,title:`No Need to Fear`,code:`C491`,clip_id:13205},{segment:`Conversation`,title:`Effective Education`,code:`C493`,clip_id:2228},{segment:`Conversation`,title:`Months of Joy`,code:`C495`,clip_id:2217},{segment:`Conversation`,title:`A Custom Blessing`,code:`C496`,clip_id:2211},{segment:`Conversation`,title:`An Entertaining Line-Up`,code:`C497`,clip_id:2205},{segment:`Conversation`,title:`Four Times the Wisdom`,code:`C498`,clip_id:2199},{segment:`Conversation`,title:`Reporting âFreshâ News`,code:`C499`,clip_id:2193},{segment:`Conversation`,title:`Through the Eyes of Children, Part 1`,code:`C500`,clip_id:2187},{segment:`Conversation`,title:`No News is Good News`,code:`C502`,clip_id:2175},{segment:`Conversation`,title:`Breaking Free of the Past`,code:`C503`,clip_id:2169},{segment:`Conversation`,title:`Extra Blessings`,code:`C504`,clip_id:2163},{segment:`Conversation`,title:`Hippocratic Oath`,code:`C505`,clip_id:2157},{segment:`Conversation`,title:`Relying on Rabbi Shimon`,code:`C506`,clip_id:2152},{segment:`Conversation`,title:`Walk, Donât Run`,code:`C507`,clip_id:2146},{segment:`Conversation`,title:`Like Every Other Jew`,code:`C509`,clip_id:2081},{segment:`Conversation`,title:`A Noble Cause`,code:`C510`,clip_id:2075},{segment:`Conversation`,title:`Getting Back to Work`,code:`C511`,clip_id:2069},{segment:`Conversation`,title:`A Good Beginning`,code:`C512`,clip_id:2063},{segment:`Conversation`,title:`Keep the Memories`,code:`C513`,clip_id:2057},{segment:`Conversation`,title:`Citing the Sources`,code:`C514`,clip_id:2051},{segment:`Conversation`,title:`New Inventions`,code:`C515`,clip_id:17769},{segment:`Conversation`,title:`Not So Impossible`,code:`C516`,clip_id:2039},{segment:`Conversation`,title:`Daily Blessings`,code:`C517`,clip_id:2033},{segment:`Conversation`,title:`A Good Report`,code:`C518`,clip_id:2027}
13,{segment:`Conversation`,title:`A Holy Task`,code:`C519`,clip_id:2022},{segment:`Conversation`,title:`Double the Amount`,code:`C520`,clip_id:2016},{segment:`Conversation`,title:`All of Humanity Included`,code:`C529`,clip_id:1987},{segment:`Conversation`,title:`Blessing of Rain`,code:`C530`,clip_id:1981},{segment:`Conversation`,title:`Good for the Bank`,code:`C532`,clip_id:1969},{segment:`Conversation`,title:`On Their Heads`,code:`C533`,clip_id:1963},{segment:`Conversation`,title:`Seventy Languages`,code:`C534`,clip_id:1957},{segment:`Conversation`,title:`Wedding in Warsaw`,code:`C535`,clip_id:1950},{segment:`Conversation`,title:`Chanukah Gifts`,code:`C537`,clip_id:1938},{segment:`Conversation`,title:`Shine Like the Sun`,code:`C538`,clip_id:1932},{segment:`Conversation`,title:`Make Him Proud`,code:`C540`,clip_id:1919},{segment:`Conversation`,title:`Song of Devorah â Collage`,code:`C542`,clip_id:1913},{segment:`Conversation`,title:`Lasting Impressions`,code:`C543`,clip_id:1907},{segment:`Conversation`,title:`Our Family in Georgia`,code:`C546`,clip_id:1890},{segment:`Conversation`,title:`Chief Profession`,code:`C547`,clip_id:1884},{segment:`Conversation`,title:`Staying Independent`,code:`C548`,clip_id:1878},{segment:`Conversation`,title:`An Auspicious Month`,code:`C549`,clip_id:1872},{segment:`Conversation`,title:`Former Students`,code:`C550`,clip_id:1866},{segment:`Conversation`,title:`The Rebbeâs Shliach`,code:`C551`,clip_id:1860},{segment:`Conversation`,title:`Dispelling Fear`,code:`C552`,clip_id:1854},{segment:`Conversation`,title:`On the Study of Chasidut`,code:`C556`,clip_id:16112},{segment:`Conversation`,title:`Standing Together`,code:`C560`,clip_id:17065},{segment:`Conversation`,title:`A Gift that Keeps Giving`,code:`C561`,clip_id:1848},{segment:`Conversation`,title:`Ask for Your Needs`,code:`C562`,clip_id:1838},{segment:`Conversation`,title:`Good Beginnings`,code:`C564`,clip_id:1832},{segment:`Conversation`,title:`Unbroken Tablets`,code:`C565`,clip_id:1826},{segment:`Conversation`,title:`Going to Camp`,code:`C566`,clip_id:1820},{segment:`Conversation`,title:`Following Instructions`,code:`C568`,clip_id:1808},{segment:`Conversation`,title:`No Reason to Fear`,code:`C569`,clip_id:1797},{segment:`Conversation`,title:`Gate of Redemption`,code:`C571`,clip_id:1786},{segment:`Conversation`,title:`A Sacred Task`,code:`C572`,clip_id:1780},{segment:`Conversation`,title:`Your Alma Mater`,code:`C573`,clip_id:1774},{segment:`Conversation`,title:`Moving Forward`,code:`C574`,clip_id:1768},{segment:`Conversation`,title:`A Good Cantor`,code:`C575`,clip_id:1762},{segment:`Conversation`,title:`One Prayer for All`,code:`C576`,clip_id:1756},{segment:`Conversation`,title:`Begin Rejoicing Now`,code:`C577`,clip_id:9054},{segment:`Conversation`,title:`True Protection`,code:`C579`,clip_id:9092},{segment:`Conversation`,title:`City of Abraham`,code:`C582`,clip_id:15552},{segment:`Conversation`,title:`Be Active in Hakhel`,code:`C584`,clip_id:10244},{segment:`Conversation`,title:`Promoting Torah`,code:`C585`,clip_id:10214},{segment:`Conversation`,title:`Differences Aside`,code:`C586`,clip_id:1750},{segment:`Conversation`,title:`A Year of Light`,code:`C587`,clip_id:6808},{segment:`Conversation`,title:`Living with Miracles`,code:`C588`,clip_id:6798},{segment:`Conversation`,title:`Doing the Impossible`,code:`C589`,clip_id:10155},{segment:`Conversation`,title:`Safe for Travel`,code:`C590`,clip_id:3576},{segment:`Conversation`,title:`Spreading the Peace`,code:`C592`,clip_id:4043},{segment:`Conversation`,title:`The Blessings Continue`,code:`C593`,clip_id:1738},{segment:`Conversation`,title:`Growing in Torah`,code:`C594`,clip_id:1732},{segment:`Conversation`,title:`In the Merit of Righteous Women`,code:`C595`,clip_id:1726},{segment:`Conversation`,title:`Building Unity`,code:`C596`,clip_id:1720},{segment:`Conversation`,title:`The Properties of Energy`,code:`C597`,clip_id:1714},{segment:`Conversation`,title:`For Clarity of Mind`,code:`C598`,clip_id:3442},{segment:`Conversation`,title:`Beyond Possibilities`,code:`C599`,clip_id:1708},{segment:`Conversation`,title:`Your Responsibilities`,code:`C600`,clip_id:1702},{segment:`Conversation`,title:`A Joyful Increase`,code:`C601`,clip_id:1696},{segment:`Conversation`,title:`In Estherâs Merit`,code:`C602`,clip_id:1690},{segment:`Conversation`,title:`True to Sephardic Tradition`,code:`C603`,clip_id:1684},{segment:`Conversation`,title:`Spreading the Word`,code:`C605`,clip_id:1673},{segment:`Conversation`,title:`Asking the Four Questions`,code:`C606`,clip_id:1667},{segment:`Conversation`,title:`Birthday Blessings`,code:`C607`,clip_id:1661},{segment:`Conversation`,title:`Awaiting Mashiach`,code:`C608`,clip_id:1655},{segment:`Conversation`,title:`Property of G-d`,code:`C609`,clip_id:1649},{segment:`Conversation`,title:`House of Healing`,code:`C610`,clip_id:3399},{segment:`Conversation`,title:`Hakhel, Why Now?`,code:`C611`,clip_id:4837},{segment:`Conversation`,title:`Women of Chabad`,code:`C612`,clip_id:4831},{segment:`Conversation`,title:`Across Time Zones`,code:`C613`,clip_id:1643},{segment:`Conversation`,title:`All Mountains Lead To Sinai`,code:`C614`,clip_id:1637},{segment:`Conversation`,title:`Personal Prayer`,code:`C615`,clip_id:1631},{segment:`Conversation`,title:`The Best Thank You`,code:`C617`,clip_id:1620},{segment:`Conversation`,title:`Planting the Seed`,code:`C618`,clip_id:1609},{segment:`Conversation`,title:`A Jew in Secret`,code:`C619`,clip_id:1603},{segment:`Conversation`,title:`Not only in Russia`,code:`C620`,clip_id:1597},{segment:`Conversation`,title:`Swiss Air`,code:`C621`,clip_id:1615},{segment:`Conversation`,title:`Abandoning Ship`,code:`C622`,clip_id:1591},{segment:`Conversation`,title:`Rebuilding the Temple`,code:`C623`,clip_id:1585},{segment:`Conversation`,title:`The Aleph Institute`,code:`C624`,clip_id:1579},{segment:`Conversation`,title:`A Month for Inspection`,code:`C625`,clip_id:1573},{segment:`Conversation`,title:`Judaism in Japan`,code:`C626`,clip_id:1567}
13,{segment:`Conversation`,title:`Itâs Not the End of the World`,code:`C627`,clip_id:1561},{segment:`Conversation`,title:`In the Merit of Our Fathers`,code:`C628`,clip_id:1555},{segment:`Conversation`,title:`Torah Leadership`,code:`C629`,clip_id:1549},{segment:`Conversation`,title:`Chosen People`,code:`C630`,clip_id:1543},{segment:`Conversation`,title:`Taste of Things to Come`,code:`C631`,clip_id:1537},{segment:`Conversation`,title:`Everyone Needs a Sukkah`,code:`C632`,clip_id:1531},{segment:`Conversation`,title:`The Four Kinds`,code:`C633`,clip_id:1525},{segment:`Conversation`,title:`Name Play`,code:`C634`,clip_id:1519},{segment:`Conversation`,title:`Spiritual Healthcare`,code:`C635`,clip_id:3197},{segment:`Conversation`,title:`Covenant of Abraham`,code:`C636`,clip_id:3067},{segment:`Conversation`,title:`Actions Speak Louder`,code:`C637`,clip_id:3244},{segment:`Conversation`,title:`Month of Miracles`,code:`C638`,clip_id:3237},{segment:`Conversation`,title:`Becoming a Man - Collage`,code:`C639`,clip_id:10224},{segment:`Conversation`,title:`The Wedding Day`,code:`C640`,clip_id:3250},{segment:`Conversation`,title:`Printing Tanyaâs`,code:`C641`,clip_id:3217},{segment:`Conversation`,title:`A Bright Month`,code:`C642`,clip_id:4037},{segment:`Conversation`,title:`Patron of the Arts`,code:`C643`,clip_id:3204},{segment:`Conversation`,title:`Definition of Charity`,code:`C644`,clip_id:4030},{segment:`Conversation`,title:`Remaining in Russia`,code:`C645`,clip_id:13742},{segment:`Conversation`,title:`Study What You Print`,code:`C646`,clip_id:1507},{segment:`Conversation`,title:`Through the Eyes of Children`,code:`C647`,clip_id:3210},{segment:`Conversation`,title:`A Leader Needs Followers`,code:`C648`,clip_id:3224},{segment:`Conversation`,title:`Fruits of the Garden`,code:`C649`,clip_id:1500},{segment:`Conversation`,title:`Visiting Family`,code:`C650`,clip_id:2094},{segment:`Conversation`,title:`The Kingâs Choice`,code:`C651`,clip_id:3061},{segment:`Conversation`,title:`Chabadâs First Supporters`,code:`C652`,clip_id:3055},{segment:`Conversation`,title:`Purim Conversations`,code:`C653`,clip_id:3049},{segment:`Conversation`,title:`Our Capital`,code:`C654`,clip_id:3043},{segment:`Conversation`,title:`Laws for Humanity`,code:`C655`,clip_id:2114},{segment:`Conversation`,title:`Do It Yourself`,code:`C656`,clip_id:2108},{segment:`Conversation`,title:`Passover Haste`,code:`C657`,clip_id:2101},{segment:`Conversation`,title:`Ten Percent for Charity`,code:`C658`,clip_id:1479},{segment:`Conversation`,title:`To Learn and to Serve`,code:`C659`,clip_id:1473},{segment:`Conversation`,title:`The Shabbat Before`,code:`C660`,clip_id:1467},{segment:`Conversation`,title:`Second Passover`,code:`C661`,clip_id:1461},{segment:`Conversation`,title:`Day of Rabbi Shimon`,code:`C662`,clip_id:1455},{segment:`Conversation`,title:`G-dâs Capital City`,code:`C663`,clip_id:1449},{segment:`Conversation`,title:`Ten Commandments`,code:`C664`,clip_id:1443},{segment:`Conversation`,title:`Commissioned Articles`,code:`C665`,clip_id:1437},{segment:`Conversation`,title:`Campaign Results`,code:`C666`,clip_id:1431},{segment:`Conversation`,title:`Neighborhood Memories`,code:`C667`,clip_id:1424},{segment:`Conversation`,title:`Global Connection`,code:`C668`,clip_id:1410},{segment:`Conversation`,title:`Good Reports`,code:`C669`,clip_id:1418},{segment:`Conversation`,title:`Good Things Come with Hard Work`,code:`C670`,clip_id:1404},{segment:`Conversation`,title:`Knesset Matters`,code:`C671`,clip_id:842},{segment:`Conversation`,title:`Hastening the Redemption`,code:`C672`,clip_id:836},{segment:`Conversation`,title:`Preparing to Serve`,code:`C673`,clip_id:830},{segment:`Conversation`,title:`Two Worlds`,code:`C674`,clip_id:824},{segment:`Conversation`,title:`Take it to Print`,code:`C675`,clip_id:817},{segment:`Conversation`,title:`From Strength to Strength`,code:`C676`,clip_id:2813},{segment:`Conversation`,title:`Russian Connection`,code:`C677`,clip_id:1398},{segment:`Conversation`,title:`The Greatest Calling`,code:`C678`,clip_id:1392},{segment:`Conversation`,title:`The Main Message`,code:`C679`,clip_id:1385},{segment:`Conversation`,title:`Crowning the King`,code:`C680`,clip_id:1379},{segment:`Conversation`,title:`A New Beginning`,code:`C682`,clip_id:1367},{segment:`Conversation`,title:`A Reflection of G-d`,code:`C683`,clip_id:1361},{segment:`Conversation`,title:`A Blessing for Success`,code:`C684`,clip_id:1355},{segment:`Conversation`,title:`Interacting With Children`,code:`C685`,clip_id:1350},{segment:`Conversation`,title:`Be a Leader`,code:`C686`,clip_id:1345},{segment:`Conversation`,title:`A New Look`,code:`C687`,clip_id:1339},{segment:`Conversation`,title:`Shining Light`,code:`C688`,clip_id:1327},{segment:`Conversation`,title:`Visiting Doctors`,code:`C689`,clip_id:1321},{segment:`Conversation`,title:`In the Mitteler Rebbeâs Merit`,code:`C690`,clip_id:1315},{segment:`Conversation`,title:`Golden Jubilee`,code:`C691`,clip_id:1309},{segment:`Conversation`,title:`They Bear Your Name`,code:`C692`,clip_id:1303},{segment:`Conversation`,title:`Think Big`,code:`C693`,clip_id:1297},{segment:`Conversation`,title:`Iâve Waited Too Long`,code:`C694`,clip_id:1333},{segment:`Conversation`,title:`The Cast and Crew`,code:`C695`,clip_id:879},{segment:`Conversation`,title:`Youâre On Duty`,code:`C696`,clip_id:873},{segment:`Conversation`,title:`Guarding Her Beauty`,code:`C697`,clip_id:867},{segment:`Conversation`,title:`The Garden Above`,code:`C698`,clip_id:860},{segment:`Conversation`,title:`Making of Leaders`,code:`C699`,clip_id:854},{segment:`Conversation`,title:`No Better Time`,code:`C700`,clip_id:847},{segment:`Conversation`,title:`Mainstay of the Home`,code:`C701`,clip_id:946},{segment:`Conversation`,title:`Generations of Success`,code:`C702`,clip_id:940},{segment:`Conversation`,title:`A Healthy Purim`,code:`C703`,clip_id:934},{segment:`Conversation`,title:`No Need to be Meek`,code:`C704`,clip_id:928},{segment:`Conversation`,title:`Mr. Manchester`,code:`C705`,clip_id:922},{segment:`Conversation`,title:`Source of Healing`,code:`C706`,clip_id:916},{segment:`Conversation`,title:`Closed for Shabbat`,code:`C707`,clip_id:909},{segment:`Conversation`,title:`The Rebbeâs Matzos`,code:`C708`,clip_id:903},{segment:`Conversation`,title:`Leaving Egypt After Passover`,code:`C709`,clip_id:897},{segment:`Conversation`,title:`Where Are the Results?`,code:`C710`,clip_id:891},{segment:`Conversation`,title:`X-Ray Vision`,code:`C711`,clip_id:1291},{segment:`Conversation`,title:`Onboard Charity`,code:`C712`,clip_id:1285},{segment:`Conversation`,title:`Medical Advice`,code:`C713`,clip_id:1279},{segment:`Conversation`,title:`The Path to Success`,code:`C714`,clip_id:1267},{segment:`Conversation`,title:`Securing All Jews`,code:`C715`,clip_id:1260},{segment:`Conversation`,title:`Women Will Be the Ones to Bring Mashiach`,code:`C716`,clip_id:1254},{segment:`Conversation`,title:`Spread the Love`,code:`C717`,clip_id:1248},{segment:`Conversation`,title:`Achieving Quick Success`,code:`C718`,clip_id:1242},{segment:`Conversation`,title:`Conveying G-dâs Blessings`,code:`C719`,clip_id:1236},{segment:`Conversation`,title:`Good Memories`,code:`C720`,clip_id:1230},{segment:`Conversation`,title:`Visiting Family`,code:`C721`,clip_id:1224},{segment:`Conversation`,title:`A Spark of Mashiach`,code:`C722`,clip_id:1218},{segment:`Conversation`,title:`Hold on to a Good Thing`,code:`C723`,clip_id:1212},{segment:`Conversation`,title:`In Mashiachâs Times`,code:`C724`,clip_id:1206},{segment:`Conversation`,title:`Forget About Retiring`,code:`C725`,clip_id:1200},{segment:`Conversation`,title:`In My Fatherâs Name`,code:`C726`,clip_id:1193},{segment:`Conversation`,title:`Shatnez and Redemption`,code:`C727`,clip_id:1187},{segment:`Conversation`,title:`A Foundation for Life`,code:`C728`,clip_id:1181},{segment:`Conversation`,title:`Spreading the Study of Tanya`,code:`C729`,clip_id:1175},{segment:`Conversation`,title:`Settling the Land`,code:`C730`,clip_id:1169},{segment:`Conversation`,title:`New Year for All`,code:`C731`,clip_id:1163},{segment:`Conversation`,title:`Protecting our Interests`,code:`C732`,clip_id:1157},{segment:`Conversation`,title:`Seasonâs Greetings`,code:`C733`,clip_id:1151},{segment:`Conversation`,title:`Offerings of Joy`,code:`C734`,clip_id:1145},{segment:`Conversation`,title:`Accelerating Redemption`,code:`C735`,clip_id:1139},{segment:`Conversation`,title:`Prayers for Rain`,code:`C736`,clip_id:1133},{segment:`Conversation`,title:`Worthy Endeavor`,code:`C737`,clip_id:1127},{segment:`Conversation`,title:`A New Start`,code:`C738`,clip_id:1121},{segment:`Conversation`,title:`Costa Ricaâs Jewish Community`,code:`C739`,clip_id:801},{segment:`Conversation`,title:`A Wish Come True`,code:`C740`,clip_id:1115},{segment:`Conversation`,title:`A Reason to Dance`,code:`C741`,clip_id:1109},{segment:`Conversation`,title:`You Included`,code:`C742`,clip_id:1103},{segment:`Conversation`,title:`A Warm Chanukah`,code:`C743`,clip_id:1097},{segment:`Conversation`,title:`A Victory for Chasidim`,code:`C744`,clip_id:1091},{segment:`Conversation`,title:`Blessing and Success`,code:`C745`,clip_id:1085},{segment:`Conversation`,title:`A Russian Connection`,code:`C746`,clip_id:1079},{segment:`Conversation`,title:`Getting Some Sleep`,code:`C747`,clip_id:1073},{segment:`Conversation`,title:`Going Kosher`,code:`C748`,clip_id:1067},{segment:`Conversation`,title:`Always Growing`,code:`C749`,clip_id:1061},{segment:`Conversation`,title:`Bearing Fruit`,code:`C750`,clip_id:1055},{segment:`Conversation`,title:`The Rebbetzinâs Namesakes`,code:`C751`,clip_id:1049},{segment:`Conversation`,title:`Having a Good Eye`,code:`C752`,clip_id:1043},{segment:`Conversation`,title:`A Cause for Celebration`,code:`C753`,clip_id:1037},{segment:`Conversation`,title:`Small Yet Big`,code:`C754`,clip_id:1031}
13,{segment:`Conversation`,title:`Supporter of the Arts`,code:`C755`,clip_id:1025},{segment:`Conversation`,title:`Majority Opinion`,code:`C756`,clip_id:1019},{segment:`Conversation`,title:`A Time for Joy`,code:`C757`,clip_id:1013},{segment:`Conversation`,title:`A Movementâs Success`,code:`C759`,clip_id:1005},{segment:`Conversation`,title:`Time for Peace`,code:`C760`,clip_id:999},{segment:`Conversation`,title:`Matzah Therapy`,code:`C761`,clip_id:993},{segment:`Conversation`,title:`For Your Birthday`,code:`C762`,clip_id:987},{segment:`Conversation`,title:`Priestly Blessings`,code:`C763`,clip_id:981},{segment:`Conversation`,title:`A Miracle Baby`,code:`C764`,clip_id:975},{segment:`Conversation`,title:`Patting on the Back`,code:`C765`,clip_id:43},{segment:`Conversation`,title:`A Meaningful Name`,code:`C766`,clip_id:51},{segment:`Conversation`,title:`In the Merit of Rabbi Shimon Bar Yochai`,code:`C767`,clip_id:58},{segment:`Conversation`,title:`Latest Releases`,code:`C768`,clip_id:65},{segment:`Conversation`,title:`A Vessel for Blessings`,code:`C769`,clip_id:72},{segment:`Conversation`,title:`Use it for the Good`,code:`C770`,clip_id:80},{segment:`Conversation`,title:`Ladder to Sinai`,code:`C771`,clip_id:87},{segment:`Conversation`,title:`Going Camping`,code:`C772`,clip_id:94},{segment:`Conversation`,title:`Visiting the Sick`,code:`C773`,clip_id:101},{segment:`Conversation`,title:`Brotherly Love`,code:`C774`,clip_id:109},{segment:`Conversation`,title:`Thank You, From Russia!`,code:`C775`,clip_id:116},{segment:`Conversation`,title:`Measure for Measure`,code:`C776`,clip_id:123},{segment:`Conversation`,title:`Striving Higher`,code:`C777`,clip_id:130},{segment:`Conversation`,title:`Temple Life`,code:`C778`,clip_id:137},{segment:`Conversation`,title:`Mashiach, A Reality`,code:`C779`,clip_id:145},{segment:`Conversation`,title:`For Soviet Jewry`,code:`C780`,clip_id:166},{segment:`Conversation`,title:`Focus on the Future`,code:`C781`,clip_id:152},{segment:`Conversation`,title:`In the Merit of Jewish Girls`,code:`C782`,clip_id:159},{segment:`Conversation`,title:`Just Checking`,code:`C783`,clip_id:173},{segment:`Conversation`,title:`Bastion of Truth`,code:`C784`,clip_id:180},{segment:`Conversation`,title:`A Worthwhile Discussion`,code:`C785`,clip_id:188},{segment:`Conversation`,title:`Connecting Generations`,code:`C786`,clip_id:195},{segment:`Conversation`,title:`A Mother in Israel`,code:`C787`,clip_id:202},{segment:`Conversation`,title:`Diligent Study`,code:`C788`,clip_id:209},{segment:`Conversation`,title:`Dance for Joy`,code:`C789`,clip_id:216},{segment:`Conversation`,title:`A Fresh Start`,code:`C790`,clip_id:223},{segment:`Conversation`,title:`Jewish Unity`,code:`C791`,clip_id:231},{segment:`Conversation`,title:`Nothing too Difficult for G-d`,code:`C792`,clip_id:242},{segment:`Conversation`,title:`An Occasion for Joy`,code:`C793`,clip_id:250},{segment:`Conversation`,title:`Lighthouse to the Nations`,code:`C794`,clip_id:257},{segment:`Conversation`,title:`Healthy Living`,code:`C795`,clip_id:264},{segment:`Conversation`,title:`Good Vision`,code:`C796`,clip_id:271},{segment:`Conversation`,title:`No Simple Answer`,code:`C797`,clip_id:278},{segment:`Conversation`,title:`Menorahâs For Moscow`,code:`C798`,clip_id:285},{segment:`Conversation`,title:`Chanukah Blessings`,code:`C799`,clip_id:292},{segment:`Conversation`,title:`The Right Kind of Clients`,code:`C800`,clip_id:299},{segment:`Conversation`,title:`Extra-Strength Mitzvah`,code:`C801`,clip_id:307},{segment:`Conversation`,title:`The Merit of Mishnah`,code:`C802`,clip_id:314},{segment:`Conversation`,title:`Just Visiting?`,code:`C803`,clip_id:321},{segment:`Conversation`,title:`Rejoicing on the Fifteenth of Av`,code:`C830`,clip_id:3087},{segment:`Interview`,title:`A Rabbi That Gives`,code:`I97`,clip_id:4209},{segment:`Interview`,title:`Rabbinate For Life`,code:`I98`,clip_id:4204},{segment:`Interview`,title:`The Typewriter`,code:`I99`,clip_id:4199},{segment:`Interview`,title:`Cookies and Milk`,code:`I100`,clip_id:4194},{segment:`Interview`,title:`âHe Created Leadersâ`,code:`I101`,clip_id:4075},{segment:`Interview`,title:`It's Good to Pray with the Child`,code:`I102`,clip_id:4060},{segment:`Interview`,title:`On the Way to Washington`,code:`I103`,clip_id:4055},{segment:`Interview`,title:`In Record Time`,code:`I104`,clip_id:4050},{segment:`Interview`,title:`Look Up A Professor in Your Field`,code:`I105`,clip_id:4070},{segment:`Interview`,title:`A Spark Beneath the Surface`,code:`I106`,clip_id:4065},{segment:`Interview`,title:`âIt Wasnât Me, It Was Himâ â Hoshana Rabba, 1985`,code:`I107`,clip_id:4090},{segment:`Interview`,title:`âMy Son, May He Be Wellâ â 11 Nissan, 1963 · 20 Av, 1964`,code:`I108`,clip_id:4085},{segment:`Interview`,title:`Sukkot with the Rebbe-to-Be`,code:`I109`,clip_id:4080},{segment:`Interview`,title:`A Chasid is Born`,code:`I110`,clip_id:4095},{segment:`Interview`,title:`To Be a Jew`,code:`I111`,clip_id:4100},{segment:`Interview`,title:`So Serene!`,code:`I112`,clip_id:4105},{segment:`Interview`,title:`Hiskashrus â Poland · circa 1935`,code:`I114`,clip_id:4130},{segment:`Interview`,title:`âYouâre Related to the Lubavitcher Rebbe?â â Paris, France · 1930s`,code:`I116`,clip_id:4120},{segment:`Interview`,title:`He Saw My Pain`,code:`I117`,clip_id:4115},{segment:`Interview`,title:`The Rebbe and the Rav - Part 1: A Visit in New York`,code:`I118`,clip_id:4135},{segment:`Interview`,title:`The Rebbe and the Rav: Part 2: Coffee in Berlin`,code:`I119`,clip_id:4160},{segment:`Interview`,title:`My Father Belonged to Chasidim`,code:`I120`,clip_id:4175},{segment:`Interview`,title:`âYouâre a Good Salesman, Right?â â 1970s`,code:`I121`,clip_id:4170},{segment:`Interview`,title:`Build, Build, Build!`,code:`I122`,clip_id:4165},{segment:`Interview`,title:`The King and the Pawn`,code:`I123`,clip_id:4185},{segment:`Interview`,title:`Jewish Counterculture`,code:`I124`,clip_id:4180},{segment:`Interview`,title:`From Brooklyn to Jerusalem`,code:`I125`,clip_id:9912},{segment:`Interview`,title:`The Jewish Womanâs Courage`,code:`I126`,clip_id:9922},{segment:`Interview`,title:`Loans for Education`,code:`I129`,clip_id:10005},{segment:`Interview`,title:`âThey Will Not See Usâ â A Story of the Fifth Rebbe â Purim, 1920`,code:`I130`,clip_id:10015},{segment:`Interview`,title:`If a Jew is Challenged`,code:`I131`,clip_id:10025},{segment:`Interview`,title:`A Nation that Dwells Alone`,code:`I132`,clip_id:10035},{segment:`Interview`,title:`âOnly 14 years-old!?â â Dnepropetrovsk, circa 1911`,code:`I133`,clip_id:16124},{segment:`Interview`,title:`The Chief Rabbiâs Son â Dnepropetrovsk, Ukraine â circa 1919`,code:`I134`,clip_id:16134},{segment:`Interview`,title:`He Didnât Change â Berlin, Germany â circa 1928`,code:`I135`,clip_id:16144},{segment:`Interview`,title:`11 Hours of Torah â Otwock, Poland â Tishrei, 1931`,code:`I136`,clip_id:16513},{segment:`Interview`,title:`Will it Save Lives? â 1947`,code:`I137`,clip_id:16076},{segment:`Interview`,title:`Brothers â Part 1: The Brother in Tel Aviv â 1940`,code:`I138`,clip_id:16402},{segment:`Interview`,title:`Brothers â Part 2: The Brother in New York â 1948`,code:`I139`,clip_id:16096},{segment:`Interview`,title:`He Meant Business â circa 1968`,code:`I140`,clip_id:16106},{segment:`Interview`,title:`The Little Lantern`,code:`I141`,clip_id:7123},{segment:`Interview`,title:`Handing the Match`,code:`I145`,clip_id:5221},{segment:`Interview`,title:`A Mission in Australia - Part 1: Torah is Not Overseas`,code:`I154`,clip_id:9131},{segment:`Interview`,title:`A Mission in Australia - Part 2: Go Back Tonight!`,code:`I155`,clip_id:9141},{segment:`Interview`,title:`Head Held High`,code:`I156`,clip_id:9151},{segment:`Interview`,title:`Yom Kippur in the Air Force - Part 2: Mission Accomplished`,code:`I158`,clip_id:9076},{segment:`Interview`,title:`The Worldâs Blueprint`,code:`I160`,clip_id:9066},{segment:`Interview`,title:`Questions of Faith, Part 1: Spiritual Nourishment - 1956`,code:`I162`,clip_id:17561},{segment:`Interview`,title:`Questions of Faith, Part 2: Taking a Stand`,code:`I163`,clip_id:5353},{segment:`Interview`,title:`Jewish Feminism - 1977`,code:`I164`,clip_id:18464},{segment:`Interview`,title:`The Rebbeâs Son-in-law - Paris, 1930s`,code:`I165`,clip_id:18512},{segment:`Interview`,title:`Anatomy of a Miracle - 1977`,code:`I166`,clip_id:18532},{segment:`Interview`,title:`A Wifeâs Nachas`,code:`I167`,clip_id:18585},{segment:`Interview`,title:`How Could He Have Known?`,code:`I173`,clip_id:9046},{segment:`Interview`,title:`It's Not About You`,code:`I174`,clip_id:4426},{segment:`Interview`,title:`Someone had Spoken to Him - 1974â1976`,code:`I176`,clip_id:13765},{segment:`Interview`,title:`Money or Life`,code:`I178`,clip_id:8849},{segment:`Interview`,title:`A Happy Ending`,code:`I183`,clip_id:10107},{segment:`Interview`,title:`Purim in Berlin`,code:`I184`,clip_id:10117},{segment:`Interview`,title:`A Mother Recalls`,code:`I185`,clip_id:5053},{segment:`Interview`,title:`A Friendâs Memory`,code:`I192`,clip_id:4995},{segment:`Interview`,title:`Think Good, and it will be Good`,code:`I193`,clip_id:5072},{segment:`Interview`,title:`Returning to Torah, Part 1: The Pioneer`,code:`I194`,clip_id:9995},{segment:`Interview`,title:`My Job Description`,code:`I199`,clip_id:8583},{segment:`Interview`,title:`Where Art Thou?`,code:`I200`,clip_id:8593},{segment:`Interview`,title:`Diplomacy`,code:`I201`,clip_id:17329},{segment:`Interview`,title:`The Stamp Collection`,code:`I203`,clip_id:8646},{segment:`Interview`,title:`Consistency`,code:`I204`,clip_id:8740},{segment:`Interview`,title:`Millions of Hostages`,code:`I205`,clip_id:8751},{segment:`Interview`,title:`Change of Plans`,code:`I206`,clip_id:8839},{segment:`Interview`,title:`A Guarantee and a Miracle`,code:`I209`,clip_id:7152},{segment:`Interview`,title:`Rabbi Engineer - Part 1: The Brooklyn Navy Yard`,code:`I210`,clip_id:7162},{segment:`Interview`,title:`Rabbi Engineer - Part 2: Solid State`,code:`I211`,clip_id:7172},{segment:`Interview`,title:`Fatherly Concern`,code:`I212`,clip_id:7182},{segment:`Interview`,title:`You Only Need to Want It: The Story Behind the Story`,code:`I214`,clip_id:5314},{segment:`Interview`,title:`Entry Exam`,code:`I215`,clip_id:5347}
13,{segment:`Interview`,title:`Science and Faith`,code:`I216`,clip_id:5308},{segment:`Interview`,title:`Leaving Paris`,code:`I217`,clip_id:3583},{segment:`Interview`,title:`Un-Orthodox â 1940`,code:`I219`,clip_id:18365},{segment:`Interview`,title:`First Farbrengen at 770 â June, 1941`,code:`I220`,clip_id:18454},{segment:`Interview`,title:`Rationalist Acting Above Reason`,code:`I221`,clip_id:5296},{segment:`Interview`,title:`The Meaning of Love`,code:`I222`,clip_id:7221},{segment:`Interview`,title:`Not Quite What the Doctor Ordered`,code:`I223`,clip_id:5227},{segment:`Interview`,title:`A Gentleman and a Scholar`,code:`I225`,clip_id:5302},{segment:`Interview`,title:`Choosing a Thesis`,code:`I226`,clip_id:7041},{segment:`Interview`,title:`No Questions Asked`,code:`I228`,clip_id:7201},{segment:`Interview`,title:`Youâll be Asking Him Soonâ¦`,code:`I229`,clip_id:7211},{segment:`Interview`,title:`Love that Knows No Barriers`,code:`I230`,clip_id:5215},{segment:`Interview`,title:`Theyâre Going to Listen to You`,code:`I231`,clip_id:10197},{segment:`Interview`,title:`Motherly Guidance`,code:`I232`,clip_id:5136},{segment:`Interview`,title:`Month of Good Mazel`,code:`I233`,clip_id:5129},{segment:`Interview`,title:`A Loophole in the Tax Code`,code:`I235`,clip_id:5184},{segment:`Interview`,title:`Lifetime Commitment`,code:`I236`,clip_id:5117},{segment:`Interview`,title:`Quiet, Please!`,code:`I237`,clip_id:5111},{segment:`Interview`,title:`See No Evil`,code:`I238`,clip_id:5105},{segment:`Interview`,title:`Proud Father-in-Law, Proud Son-in-Law`,code:`I240`,clip_id:5047},{segment:`Interview`,title:`Faith is Contagious`,code:`I241`,clip_id:7383},{segment:`Interview`,title:`Welcome Home`,code:`I242`,clip_id:5001},{segment:`Interview`,title:`A Life and Death Matter`,code:`I243`,clip_id:4918},{segment:`Interview`,title:`Department of Military Intelligence`,code:`I244`,clip_id:4912},{segment:`Interview`,title:`Donât Tell`,code:`I246`,clip_id:7753},{segment:`Interview`,title:`Iâll Give You Half`,code:`I249`,clip_id:5084},{segment:`Interview`,title:`Lone Voice`,code:`I250`,clip_id:7071},{segment:`Interview`,title:`Private Conversation`,code:`I251`,clip_id:7081},{segment:`Interview`,title:`Knowing Chicagoâs Ropes`,code:`I252`,clip_id:5078},{segment:`Interview`,title:`Sent Packing`,code:`I253`,clip_id:7412},{segment:`Interview`,title:`Your Peopleâs Future`,code:`I255`,clip_id:8771},{segment:`Interview`,title:`Kamatz-Alef â Uh`,code:`I256`,clip_id:8761},{segment:`Interview`,title:`The Holy Shabbat`,code:`I259`,clip_id:9161},{segment:`Interview`,title:`Over the Top`,code:`I262`,clip_id:9215},{segment:`Interview`,title:`Chivarly on the Upper East Side`,code:`I263`,clip_id:9171},{segment:`Interview`,title:`It's Nothing`,code:`I264`,clip_id:10137},{segment:`Interview`,title:`A Father`,code:`I265`,clip_id:8859},{segment:`Interview`,title:`Just What the Rebbe Ordered`,code:`I266`,clip_id:8869},{segment:`Interview`,title:`Light in the Night â 1978`,code:`I274`,clip_id:15788},{segment:`Interview`,title:`Student Revolution â 1971`,code:`I275`,clip_id:16002},{segment:`Interview`,title:`Letters from Youth`,code:`I276`,clip_id:7133},{segment:`Interview`,title:`Itâs Bright at Night`,code:`I277`,clip_id:9735},{segment:`Interview`,title:`Calling the Shots â 1986`,code:`I279`,clip_id:16012},{segment:`Interview`,title:`Waiting for Shlichut â circa 1960`,code:`I284`,clip_id:17315},{segment:`Interview`,title:`The Two Page P.S.`,code:`I285`,clip_id:10067},{segment:`Interview`,title:`In-reach`,code:`I286`,clip_id:10077},{segment:`Interview`,title:`Joyful Mother of Children`,code:`I292`,clip_id:3431},{segment:`Interview`,title:`A Very Jewish Enterprise`,code:`I293`,clip_id:10045},{segment:`Interview`,title:`Humor and Wit`,code:`I294`,clip_id:4894},{segment:`Interview`,title:`Birthday Quiz`,code:`I295`,clip_id:10167},{segment:`Interview`,title:`Term Paper - Part 1: The Chasidic Society`,code:`I296`,clip_id:5341},{segment:`Interview`,title:`The Term Paper, Part 2: Autobiographical Notes â 1972`,code:`I297`,clip_id:17008},{segment:`Interview`,title:`From Brooklyn to Cairo`,code:`I298`,clip_id:8626},{segment:`Interview`,title:`Turning the Wheels`,code:`I300`,clip_id:5209},{segment:`Interview`,title:`Torah Education in Israel: The Rest of the Story`,code:`I302`,clip_id:3406},{segment:`Interview`,title:`Rabbinic Ordination`,code:`I309`,clip_id:3340},{segment:`Interview`,title:`âI Think His Name is Schneersonâ`,code:`I311`,clip_id:11742},{segment:`Interview`,title:`My Chasid, the Lawyer`,code:`I312`,clip_id:13754},{segment:`Interview`,title:`It's in G-dâs Hands`,code:`I313`,clip_id:3334},{segment:`Interview`,title:`He Thinks I Donât Know!`,code:`I314`,clip_id:10236},{segment:`Interview`,title:`Faith and Reason - Part 2: Enlightened Jewish Outreach`,code:`I318`,clip_id:3275},{segment:`Interview`,title:`The Chicken Race`,code:`I321`,clip_id:3269},{segment:`Interview`,title:`Heart to Heart â 1961`,code:`I322`,clip_id:18355},{segment:`Interview`,title:`Condensed Matter`,code:`I323`,clip_id:3263},{segment:`Interview`,title:`Turn Up the Light`,code:`I324`,clip_id:3257},{segment:`Interview`,title:`The Physicianâs Prayer`,code:`I332`,clip_id:3191},{segment:`Interview`,title:`On the Mark`,code:`I335`,clip_id:3185},{segment:`Interview`,title:`Security from a Higher Source`,code:`I336`,clip_id:3112},{segment:`Interview`,title:`Mammish Geshmak!`,code:`I340`,clip_id:3106},{segment:`Interview`,title:`Matters of Principal - Part 1: When the Going Gets Tough`,code:`I341`,clip_id:3100},{segment:`Interview`,title:`Matters of Principal - Part 2: Through Childrenâs Eyes`,code:`I342`,clip_id:4989},{segment:`Interview`,title:`What a Rebbe is: A story about the Rebbe Rashab`,code:`I343`,clip_id:3094},{segment:`Interview`,title:`The Four Answers`,code:`I345`,clip_id:3077},{segment:`Interview`,title:`A Chasid in Berlin`,code:`I348`,clip_id:10256},{segment:`Interview`,title:`The Real Maimonides`,code:`I349`,clip_id:5041},{segment:`Interview`,title:`Scholar in Residence, Part 1: Exchanging Kabbalah for Alef-Beis`,code:`I350`,clip_id:13649},{segment:`Interview`,title:`Scholar in Residence, Part 2: âA Waterfall of Torah!â â Paris, 1947`,code:`I351`,clip_id:17077},{segment:`Interview`,title:`Drawing with the Rebbe`,code:`I352`,clip_id:3038},{segment:`Interview`,title:`Speechless`,code:`I353`,clip_id:3032},{segment:`Interview`,title:`The Greatest Blessing`,code:`I354`,clip_id:5015},{segment:`Interview`,title:`Sweet Deal`,code:`I355`,clip_id:3026},{segment:`Interview`,title:`Be a Man`,code:`I356`,clip_id:3020},{segment:`Interview`,title:`Kostroma`,code:`I357`,clip_id:3014},{segment:`Interview`,title:`All for the Cause`,code:`I360`,clip_id:3002},{segment:`Interview`,title:`Donât Worry, the Money will Come`,code:`I361`,clip_id:2996},{segment:`Interview`,title:`Light at the End of the Tunnel`,code:`I362`,clip_id:3008},{segment:`Interview`,title:`Reb Yitzchok the Schochet`,code:`I363`,clip_id:2990},{segment:`Interview`,title:`The Logic of Joy`,code:`I365`,clip_id:8889},{segment:`Interview`,title:`Testing the Waters`,code:`I366`,clip_id:8899},{segment:`Interview`,title:`Baba Sali Stories`,code:`I367`,clip_id:2972},{segment:`Interview`,title:`A Higher Network`,code:`I368`,clip_id:8909},{segment:`Interview`,title:`Someoneâs Praying for Him`,code:`I369`,clip_id:2966},{segment:`Interview`,title:`Picking the Rebbeâs Lulav`,code:`I370`,clip_id:2960},{segment:`Interview`,title:`Damascus`,code:`I371`,clip_id:2954},{segment:`Interview`,title:`G-d-Given Talents`,code:`I372`,clip_id:2948},{segment:`Interview`,title:`What Did They Teach You?!`,code:`I373`,clip_id:2939},{segment:`Interview`,title:`Healing Light`,code:`I375`,clip_id:2933},{segment:`Interview`,title:`To the Ends of the Earth`,code:`I376`,clip_id:2927},{segment:`Interview`,title:`Tools of the Trade â 1962`,code:`I377`,clip_id:18502},{segment:`Interview`,title:`Chasidut for Kids â circa 1917`,code:`I378`,clip_id:13710},{segment:`Interview`,title:`Perceiving the Roots`,code:`I379`,clip_id:6771}
13,{segment:`Interview`,title:`On the Borderline â 1960s`,code:`I380`,clip_id:13734},{segment:`Interview`,title:`Look for the Unifying Force`,code:`I381`,clip_id:9797},{segment:`Interview`,title:`Torah To The People`,code:`I382`,clip_id:9821},{segment:`Interview`,title:`Aviation And Farbrengen`,code:`I383`,clip_id:9831},{segment:`Interview`,title:`Once a Leader, Always a Leader`,code:`I384`,clip_id:9841},{segment:`Interview`,title:`Rabbeinu Tam Tefillin: Start Now!`,code:`I385`,clip_id:2906},{segment:`Interview`,title:`Never Give Up On a G-dly Spark`,code:`I386`,clip_id:4697},{segment:`Interview`,title:`Plant Your Vineyard`,code:`I387`,clip_id:4691},{segment:`Interview`,title:`The Jewish Performing Arts`,code:`I388`,clip_id:2900},{segment:`Interview`,title:`Secret Weapon â 1980`,code:`I389`,clip_id:15798},{segment:`Interview`,title:`To Be Connected`,code:`I390`,clip_id:2894},{segment:`Interview`,title:`The Joy of Children - Part 1: Theyâll Teach You Patience`,code:`I399`,clip_id:2882},{segment:`Interview`,title:`The Joy of Children - Part 2: Fifteen Miracles`,code:`I400`,clip_id:5009},{segment:`Interview`,title:`Judaism in Color`,code:`I401`,clip_id:2807},{segment:`Interview`,title:`Healthy Soul, Healthy Body, Part 1: Kosher Therapy`,code:`I402`,clip_id:2801},{segment:`Interview`,title:`Healthy Soul, Healthy Body, Part 2: Living for Others`,code:`I403`,clip_id:2795},{segment:`Interview`,title:`Ten Hour Flight, One Hour Mission`,code:`I404`,clip_id:2876},{segment:`Interview`,title:`The Shlichut Will Find You`,code:`I405`,clip_id:2870},{segment:`Interview`,title:`A Shabbat Afternoon in Mexico`,code:`I406`,clip_id:2864},{segment:`Interview`,title:`The Basics`,code:`I407`,clip_id:2858},{segment:`Interview`,title:`Leningrad On the Line`,code:`I408`,clip_id:2852},{segment:`Interview`,title:`A Visit to the Sick`,code:`I409`,clip_id:2846},{segment:`Interview`,title:`Jewish Nationalism`,code:`I410`,clip_id:2840},{segment:`Interview`,title:`Mezuzah Delivery`,code:`I411`,clip_id:2834},{segment:`Interview`,title:`A Symbiotic People`,code:`I412`,clip_id:2828},{segment:`Interview`,title:`You Will Survive`,code:`I413`,clip_id:2668},{segment:`Interview`,title:`The Place Where All Worries Melt`,code:`I414`,clip_id:2663},{segment:`Interview`,title:`Quantity is Quality`,code:`I415`,clip_id:2657},{segment:`Interview`,title:`The Soul Hears`,code:`I416`,clip_id:2651},{segment:`Interview`,title:`200 Years of Hindsight`,code:`I417`,clip_id:2645},{segment:`Interview`,title:`Lâchaim, To a Healthy Birth!`,code:`I418`,clip_id:2639},{segment:`Interview`,title:`By the Grace of G-d`,code:`I419`,clip_id:2633},{segment:`Interview`,title:`Rosh Hashanah Heirloom`,code:`I420`,clip_id:2627},{segment:`Interview`,title:`Worth the Risk`,code:`I421`,clip_id:2621},{segment:`Interview`,title:`At the Rebbeâs Table`,code:`I422`,clip_id:2615},{segment:`Interview`,title:`Extended Family`,code:`I423`,clip_id:2609},{segment:`Interview`,title:`Of Love and Marriage`,code:`I424`,clip_id:2603},{segment:`Interview`,title:`Prognosis: Positive`,code:`I425`,clip_id:2597},{segment:`Interview`,title:`Be Sensitive to the Other`,code:`I426`,clip_id:2591},{segment:`Interview`,title:`The Missing Farewell â 1961`,code:`I427`,clip_id:17144},{segment:`Interview`,title:`Source of Healing`,code:`I428`,clip_id:2579},{segment:`Interview`,title:`On a Tight Schedule`,code:`I429`,clip_id:2574},{segment:`Interview`,title:`The Answer with No Question`,code:`I430`,clip_id:2568},{segment:`Interview`,title:`Chanukah in July`,code:`I431`,clip_id:2562},{segment:`Interview`,title:`Good Credentials`,code:`I432`,clip_id:2556},{segment:`Interview`,title:`The Decree is Over, Part I`,code:`I433`,clip_id:2550},{segment:`Interview`,title:`Chasid in Camouflage`,code:`I436`,clip_id:2538},{segment:`Interview`,title:`A Few Blocks Away`,code:`I437`,clip_id:2531},{segment:`Interview`,title:`Seeing is Believing`,code:`I438`,clip_id:2525},{segment:`Interview`,title:`How Are You?`,code:`I439`,clip_id:2519},{segment:`Interview`,title:`Gas Mask in the Yom Kippur War`,code:`I440`,clip_id:2513},{segment:`Interview`,title:`Risky Business`,code:`I441`,clip_id:2507},{segment:`Interview`,title:`Keep It Simple`,code:`I442`,clip_id:2501}
13,{segment:`Interview`,title:`Our Friend, the Grand Rebbe`,code:`I443`,clip_id:2495},{segment:`Interview`,title:`They will be Successful`,code:`I444`,clip_id:2489},{segment:`Interview`,title:`Special Delivery`,code:`I445`,clip_id:2483},{segment:`Interview`,title:`A Timely Message`,code:`I446`,clip_id:2477},{segment:`Interview`,title:`All Shall Come to Know G-dly`,code:`I447`,clip_id:2471},{segment:`Interview`,title:`The Right Diagnosis`,code:`I448`,clip_id:2465},{segment:`Interview`,title:`Birdâs Eye View`,code:`I449`,clip_id:2459},{segment:`Interview`,title:`Keep Looking`,code:`I450`,clip_id:2453},{segment:`Interview`,title:`Showing Appreciation`,code:`I451`,clip_id:2417},{segment:`Interview`,title:`Stories of Tzadikim`,code:`I452`,clip_id:2447},{segment:`Interview`,title:`First Fruits in Brooklyn`,code:`I453`,clip_id:2441},{segment:`Interview`,title:`The Bar Lev Line`,code:`I454`,clip_id:2435},{segment:`Interview`,title:`A Practical Gift`,code:`I455`,clip_id:2429},{segment:`Interview`,title:`A 365-Day Jew`,code:`I456`,clip_id:2423},{segment:`Interview`,title:`Think of Me, and Iâll Think of You`,code:`I457`,clip_id:2411},{segment:`Interview`,title:`For The Sake of Torah`,code:`I458`,clip_id:2405},{segment:`Interview`,title:`Donât Give Up!`,code:`I459`,clip_id:2399},{segment:`Interview`,title:`Sweet Medicine`,code:`I460`,clip_id:8636},{segment:`Interview`,title:`Does the Rebbe Know You?`,code:`I461`,clip_id:2391},{segment:`Interview`,title:`The Facts of Life`,code:`I462`,clip_id:2385},{segment:`Interview`,title:`Presidential Visit`,code:`I463`,clip_id:2379},{segment:`Interview`,title:`Lasting Impressions`,code:`I465`,clip_id:2368},{segment:`Interview`,title:`On Keeping Resolutions`,code:`I466`,clip_id:2362},{segment:`Interview`,title:`But Where is G-d?`,code:`I467`,clip_id:2356},{segment:`Interview`,title:`Letters to Camp Pickett`,code:`I468`,clip_id:2350},{segment:`Interview`,title:`Lost in Translation`,code:`I469`,clip_id:2344},{segment:`Interview`,title:`Urgent Message`,code:`I470`,clip_id:2338},{segment:`Interview`,title:`A Promise Fulfilled, Part 1: More than You Can Give`,code:`I471`,clip_id:2332},{segment:`Interview`,title:`A Promise Fulfilled, Part 2: True Charity`,code:`I472`,clip_id:2326},{segment:`Interview`,title:`Never Too Small`,code:`I473`,clip_id:2320},{segment:`Interview`,title:`Waiting for an Answer`,code:`I475`,clip_id:2314},{segment:`Interview`,title:`Time for Ice Cream`,code:`I476`,clip_id:2309},{segment:`Interview`,title:`All Shall Come to Know G-d`,code:`I477`,clip_id:2303},{segment:`Interview`,title:`Tuned In`,code:`I479`,clip_id:2297},{segment:`Interview`,title:`Mandate for a Woman`,code:`I480`,clip_id:2291},{segment:`Interview`,title:`The Soul of Torah`,code:`I481`,clip_id:2285},{segment:`Interview`,title:`A Sign of Things to Come`,code:`I483`,clip_id:2273},{segment:`Interview`,title:`A message from Tashkent`,code:`I484`,clip_id:2267},{segment:`Interview`,title:`Sensitivity in Code`,code:`I485`,clip_id:2261},{segment:`Interview`,title:`Name Him Yosef Yitzchak`,code:`I486`,clip_id:2255},{segment:`Interview`,title:`How to Inspire a Generation`,code:`I487`,clip_id:2249},{segment:`Interview`,title:`Feeling the Connection`,code:`I488`,clip_id:2243},{segment:`Interview`,title:`Making a Mess â Mid 1980s`,code:`I489`,clip_id:15574},{segment:`Interview`,title:`A Class of Their Own ¬â 1964`,code:`I490`,clip_id:13875},{segment:`Interview`,title:`The Chancellor of the Exchequer â Early 1970s`,code:`I491`,clip_id:13206},{segment:`Interview`,title:`All the Same`,code:`I493`,clip_id:2229},{segment:`Interview`,title:`A Needle in a Haystack, Part 1: Getting âSomewhereâ`,code:`I494`,clip_id:2223},{segment:`Interview`,title:`A Needle in a Haystack, Part 2: The Journey Back`,code:`I495`,clip_id:2218},{segment:`Interview`,title:`Seeing the Connection`,code:`I496`,clip_id:2212},{segment:`Interview`,title:`Downfall of a Modern-Day Haman`,code:`I497`,clip_id:2206},{segment:`Interview`,title:`Getting Out of Debt`,code:`I498`,clip_id:2200},{segment:`Interview`,title:`A Mikvah for Whom?`,code:`I499`,clip_id:2194},{segment:`Interview`,title:`Birthday Blessings`,code:`I500`,clip_id:2188},{segment:`Interview`,title:`Sensitivity at Midnight`,code:`I501`,clip_id:2182},{segment:`Interview`,title:`A Helping Hand`,code:`I502`,clip_id:2176},{segment:`Interview`,title:`Fatherly Care`,code:`I503`,clip_id:2170},{segment:`Interview`,title:`Permission Granted`,code:`I504`,clip_id:2164},{segment:`Interview`,title:`A Special Year`,code:`I505`,clip_id:2158},{segment:`Interview`,title:`Desperate Measures`,code:`I506`,clip_id:2153},{segment:`Interview`,title:`I Did My Part`,code:`I507`,clip_id:2147},{segment:`Interview`,title:`Inscribed in a Book`,code:`I508`,clip_id:2087},{segment:`Interview`,title:`A Change of Heart`,code:`I509`,clip_id:2082},{segment:`Interview`,title:`A Timely Letter`,code:`I510`,clip_id:2076},{segment:`Interview`,title:`A Triple Blessing`,code:`I511`,clip_id:2070},{segment:`Interview`,title:`Just the Person to Talk to`,code:`I512`,clip_id:2064},{segment:`Interview`,title:`The Unforgotten Jew`,code:`I513`,clip_id:2058},{segment:`Interview`,title:`Quiet Activism`,code:`I514`,clip_id:2052},{segment:`Interview`,title:`Worth the Risk â 1970s`,code:`I515`,clip_id:17771},{segment:`Interview`,title:`Where is Mashiach?`,code:`I516`,clip_id:2040}
13,{segment:`Interview`,title:`On My Shoulders`,code:`I517`,clip_id:2034},{segment:`Interview`,title:`Building a Lasting Edifice`,code:`I518`,clip_id:2028},{segment:`Interview`,title:`A Spiritual Business`,code:`I520`,clip_id:2017},{segment:`Interview`,title:`Hebron, City of Levites`,code:`I529`,clip_id:1988},{segment:`Interview`,title:`A Speedy Recovery`,code:`I530`,clip_id:1982},{segment:`Interview`,title:`The Rebbeâs Word`,code:`I531`,clip_id:1976},{segment:`Interview`,title:`Construction and Destruction`,code:`I532`,clip_id:1970},{segment:`Interview`,title:`A Wedding and a Mission`,code:`I533`,clip_id:1964},{segment:`Interview`,title:`Saving Three Lives`,code:`I534`,clip_id:1958},{segment:`Interview`,title:`Everybody Counts`,code:`I535`,clip_id:1951},{segment:`Interview`,title:`Celebrating Study of Rambam`,code:`I536`,clip_id:1944},{segment:`Interview`,title:`Stay the Course`,code:`I537`,clip_id:1939},{segment:`Interview`,title:`The Educatorâs Secret`,code:`I538`,clip_id:1933},{segment:`Interview`,title:`Transformative Vision`,code:`I539`,clip_id:1925},{segment:`Interview`,title:`Medical Referral`,code:`I540`,clip_id:1920},{segment:`Interview`,title:`The Right Question`,code:`I542`,clip_id:1914},{segment:`Interview`,title:`In the Beginning`,code:`I543`,clip_id:1908},{segment:`Interview`,title:`We are Together`,code:`I545`,clip_id:1896},{segment:`Interview`,title:`Old Traditions in a New Land`,code:`I546`,clip_id:1889},{segment:`Interview`,title:`Bringing it Together`,code:`I547`,clip_id:1885},{segment:`Interview`,title:`Not Losing Hope`,code:`I548`,clip_id:1879},{segment:`Interview`,title:`Remembering the Law`,code:`I549`,clip_id:1873},{segment:`Interview`,title:`No, There is Hope! Part 1`,code:`I550`,clip_id:1867},{segment:`Interview`,title:`No, There is Hope! â Part 2`,code:`I551`,clip_id:1861},{segment:`Interview`,title:`At the Rebbeâs Seder`,code:`I552`,clip_id:1855},{segment:`Interview`,title:`The Start of a Career â Early 1960s`,code:`I556`,clip_id:16114},{segment:`Interview`,title:`Thirteen Channels of Blessing`,code:`I557`,clip_id:4963},{segment:`Interview`,title:`Sing Your Way to Success, Part 2 â 1970s`,code:`I560`,clip_id:17067},{segment:`Interview`,title:`The Power of a Letter - Part I`,code:`I561`,clip_id:1849},{segment:`Interview`,title:`The Power of a Letter - Part II`,code:`I562`,clip_id:1839},{segment:`Interview`,title:`Together in Thought`,code:`I564`,clip_id:1833},{segment:`Interview`,title:`On the Straight and Narrow`,code:`I565`,clip_id:1827},{segment:`Interview`,title:`The Beginning of Camp`,code:`I566`,clip_id:1821},{segment:`Interview`,title:`A Niche Market`,code:`I567`,clip_id:1815},{segment:`Interview`,title:`The Full Picture`,code:`I568`,clip_id:1809},{segment:`Interview`,title:`Closing Shop`,code:`I570`,clip_id:1792},{segment:`Interview`,title:`Atomic Energy`,code:`I571`,clip_id:1787},{segment:`Interview`,title:`Fomenting Revolution`,code:`I572`,clip_id:1781},{segment:`Interview`,title:`Time for Prayer`,code:`I573`,clip_id:1775},{segment:`Interview`,title:`A Vote of Confidence, Part I`,code:`I574`,clip_id:1769},{segment:`Interview`,title:`A Vote of Confidence, Part II`,code:`I575`,clip_id:1763},{segment:`Interview`,title:`A Heartfelt Prayer`,code:`I576`,clip_id:1757},{segment:`Interview`,title:`When the Time Comes`,code:`I577`,clip_id:9056},{segment:`Interview`,title:`Where Everything Seems Right`,code:`I578`,clip_id:9084},{segment:`Interview`,title:`Speaking the Truth`,code:`I579`,clip_id:9094},{segment:`Interview`,title:`A Sign Upon Your Arm, Part II â 1970s`,code:`I582`,clip_id:15554},{segment:`Interview`,title:`Assembling the Nation`,code:`I584`,clip_id:10246},{segment:`Interview`,title:`You are with Us`,code:`I585`,clip_id:10216},{segment:`Interview`,title:`A Chapter a Day â Late 1950s`,code:`I586`,clip_id:1751},{segment:`Interview`,title:`At Just the Right Time`,code:`I587`,clip_id:6810},{segment:`Interview`,title:`Positive Thinking`,code:`I588`,clip_id:6800},{segment:`Interview`,title:`A Bright Future`,code:`I589`,clip_id:10157},{segment:`Interview`,title:`A Global Responsibility`,code:`I590`,clip_id:3577},{segment:`Interview`,title:`For the Common Good`,code:`I592`,clip_id:4044},{segment:`Interview`,title:`Twice Blessed`,code:`I593`,clip_id:1739},{segment:`Interview`,title:`The Heart of the Matter`,code:`I594`,clip_id:1733},{segment:`Interview`,title:`Words of Encouragement`,code:`I595`,clip_id:1727},{segment:`Interview`,title:`Hakhel State of Mind`,code:`I596`,clip_id:1721}
13,{segment:`Interview`,title:`Your Action is what Counts`,code:`I597`,clip_id:1715},{segment:`Interview`,title:`Hear O Israel`,code:`I598`,clip_id:3443},{segment:`Interview`,title:`A Mission Accomplished`,code:`I599`,clip_id:1709},{segment:`Interview`,title:`A Mission Accomplished - Part II`,code:`I600`,clip_id:1703},{segment:`Interview`,title:`On the Other Hand`,code:`I601`,clip_id:1697},{segment:`Interview`,title:`To Every Single Child`,code:`I602`,clip_id:1691},{segment:`Interview`,title:`Preventive Psychology`,code:`I603`,clip_id:1685},{segment:`Interview`,title:`House Visits`,code:`I604`,clip_id:1679},{segment:`Interview`,title:`Soviet Exodus Part I`,code:`I605`,clip_id:1674},{segment:`Interview`,title:`Soviet Exodus Part II`,code:`I606`,clip_id:1668},{segment:`Interview`,title:`Passover in Wartime`,code:`I607`,clip_id:1662},{segment:`Interview`,title:`With Conviction and with Love`,code:`I608`,clip_id:1656},{segment:`Interview`,title:`Seeing Blessings`,code:`I609`,clip_id:1650},{segment:`Interview`,title:`Patient Empowerment`,code:`I610`,clip_id:3400},{segment:`Interview`,title:`Research Results`,code:`I611`,clip_id:4838},{segment:`Interview`,title:`Darkness to Light`,code:`I612`,clip_id:4832},{segment:`Interview`,title:`Crossing the Line`,code:`I613`,clip_id:1644},{segment:`Interview`,title:`Musical Interlude`,code:`I614`,clip_id:1638},{segment:`Interview`,title:`Slowly, But Surely`,code:`I615`,clip_id:1632},{segment:`Interview`,title:`Match Made in Heaven`,code:`I616`,clip_id:1626},{segment:`Interview`,title:`Matters of the Heart`,code:`I618`,clip_id:1610},{segment:`Interview`,title:`Opening the Doors`,code:`I619`,clip_id:1604},{segment:`Interview`,title:`Seeing Potential`,code:`I620`,clip_id:1598},{segment:`Interview`,title:`Not a Scratch!`,code:`I621`,clip_id:1616},{segment:`Interview`,title:`A Healerâs Job`,code:`I622`,clip_id:1592},{segment:`Interview`,title:`Summer in the Caribbean`,code:`I623`,clip_id:1586},{segment:`Interview`,title:`The Greatest Custom`,code:`I624`,clip_id:1580},{segment:`Interview`,title:`West Meets East: Part 1`,code:`I625`,clip_id:1574},{segment:`Interview`,title:`West Meets East: Part II`,code:`I626`,clip_id:1568},{segment:`Interview`,title:`Attention to Detail`,code:`I627`,clip_id:1562},{segment:`Interview`,title:`No Time to Quit`,code:`I628`,clip_id:1556},{segment:`Interview`,title:`A Touching Apology`,code:`I629`,clip_id:1550},{segment:`Interview`,title:`Path to Success`,code:`I630`,clip_id:1544},{segment:`Interview`,title:`Protest of Faith`,code:`I631`,clip_id:1538},{segment:`Interview`,title:`A Unique Perspective`,code:`I632`,clip_id:1532},{segment:`Interview`,title:`A Fateful Blessing`,code:`I633`,clip_id:1526},{segment:`Interview`,title:`Seizing the Moment`,code:`I634`,clip_id:1520},{segment:`Interview`,title:`Message for the World`,code:`I635`,clip_id:3198},{segment:`Interview`,title:`Preventative Medication`,code:`I636`,clip_id:3068},{segment:`Interview`,title:`Nothing Wrong`,code:`I637`,clip_id:3245},{segment:`Interview`,title:`On the Rebbeâs Mind`,code:`I638`,clip_id:3238},{segment:`Interview`,title:`No Shortcuts`,code:`I639`,clip_id:10226},{segment:`Interview`,title:`Late Notice`,code:`I640`,clip_id:3251},{segment:`Interview`,title:`The Bilingual Tanya`,code:`I641`,clip_id:3218},{segment:`Interview`,title:`Family Time`,code:`I642`,clip_id:4038},{segment:`Interview`,title:`An Exhibition in Brooklyn`,code:`I643`,clip_id:3205},{segment:`Interview`,title:`A Place in the Sun`,code:`I644`,clip_id:4031},{segment:`Interview`,title:`The Work Must Go On - 1971`,code:`I645`,clip_id:13744},{segment:`Interview`,title:`A Weight off His Shoulders`,code:`I646`,clip_id:1508},{segment:`Interview`,title:`The Stray Kitten`,code:`I647`,clip_id:3211},{segment:`Interview`,title:`On His Mind`,code:`I648`,clip_id:3225},{segment:`Interview`,title:`15 Shevat in Marseille`,code:`I649`,clip_id:1501},{segment:`Interview`,title:`Family Medicine`,code:`I650`,clip_id:2096},{segment:`Interview`,title:`On Taking Charge`,code:`I651`,clip_id:3062},{segment:`Interview`,title:`The Second Blessing`,code:`I652`,clip_id:3056},{segment:`Interview`,title:`Thatâs Nothing?`,code:`I653`,clip_id:3050},{segment:`Interview`,title:`The Power of Charity`,code:`I654`,clip_id:3044},{segment:`Interview`,title:`Billing the Rebbe`,code:`I655`,clip_id:2115},{segment:`Interview`,title:`Keeping the Focus`,code:`I656`,clip_id:2109},{segment:`Interview`,title:`Faith is Contagious`,code:`I657`,clip_id:2102},{segment:`Interview`,title:`Tithes to Riches`,code:`I658`,clip_id:1480},{segment:`Interview`,title:`Ask Again`,code:`I659`,clip_id:1474},{segment:`Interview`,title:`Three More Lights`,code:`I660`,clip_id:1468},{segment:`Interview`,title:`The Teacher from Tekumah`,code:`I661`,clip_id:1462},{segment:`Interview`,title:`Lag Bâomer Mint`,code:`I662`,clip_id:1456},{segment:`Interview`,title:`One Short Telegram`,code:`I663`,clip_id:1450},{segment:`Interview`,title:`Restaurant Status`,code:`I664`,clip_id:1444},{segment:`Interview`,title:`Try to Remember`,code:`I665`,clip_id:1438},{segment:`Interview`,title:`The Full Picture`,code:`I666`,clip_id:1432},{segment:`Interview`,title:`Early Impressions`,code:`I667`,clip_id:1426},{segment:`Interview`,title:`A Few Realistic Words`,code:`I668`,clip_id:1412},{segment:`Interview`,title:`A Message for the President`,code:`I669`,clip_id:1419},{segment:`Interview`,title:`Itâs Who You Are`,code:`I670`,clip_id:1405},{segment:`Interview`,title:`A Painful Solution`,code:`I671`,clip_id:843},{segment:`Interview`,title:`Yours Faithfully`,code:`I672`,clip_id:837},{segment:`Interview`,title:`Help from Above`,code:`I673`,clip_id:831},{segment:`Interview`,title:`Music for the Mind`,code:`I674`,clip_id:825},{segment:`Interview`,title:`A Sonâs Obligation`,code:`I675`,clip_id:819},{segment:`Interview`,title:`A Wish Granted`,code:`I676`,clip_id:2814},{segment:`Interview`,title:`The Rebbeâs Care`,code:`I677`,clip_id:1399},{segment:`Interview`,title:`Give and Take`,code:`I678`,clip_id:1393},{segment:`Interview`,title:`Double Tipping`,code:`I679`,clip_id:1386},{segment:`Interview`,title:`A Special Invitation`,code:`I680`,clip_id:1380},{segment:`Interview`,title:`Common Bond`,code:`I681`,clip_id:1373},{segment:`Interview`,title:`Esrogim in Kfar Chabad`,code:`I682`,clip_id:1368},{segment:`Interview`,title:`Spreading the Joy`,code:`I683`,clip_id:1362},{segment:`Interview`,title:`A French Revolution`,code:`I684`,clip_id:1356},{segment:`Interview`,title:`Think for Yourself`,code:`I685`,clip_id:1351}
13,{segment:`Interview`,title:`Four Miracles`,code:`I686`,clip_id:1346},{segment:`Interview`,title:`Peaceful Solution`,code:`I687`,clip_id:1340},{segment:`Interview`,title:`One Request`,code:`I688`,clip_id:1328},{segment:`Interview`,title:`A Lifeâs Mission`,code:`I689`,clip_id:1322},{segment:`Interview`,title:`Musical Harmony`,code:`I690`,clip_id:1316},{segment:`Interview`,title:`Two Halves of a Whole`,code:`I691`,clip_id:1310},{segment:`Interview`,title:`From Tennis to Tefillin`,code:`I692`,clip_id:1304},{segment:`Interview`,title:`Doctor and Chasid`,code:`I693`,clip_id:1298},{segment:`Interview`,title:`Bringing the Rebbe Joy`,code:`I694`,clip_id:1335},{segment:`Interview`,title:`A Risky Business`,code:`I695`,clip_id:880},{segment:`Interview`,title:`Fulfilling an Obligation`,code:`I696`,clip_id:874},{segment:`Interview`,title:`A Change in Career`,code:`I697`,clip_id:868},{segment:`Interview`,title:`Everything in Its Time`,code:`I698`,clip_id:861},{segment:`Interview`,title:`A Community of Individuals`,code:`I699`,clip_id:855},{segment:`Interview`,title:`Sharing the Experience`,code:`I700`,clip_id:849},{segment:`Interview`,title:`Getting to Work`,code:`I701`,clip_id:948},{segment:`Interview`,title:`A Picture Tells a Thousand Words`,code:`I702`,clip_id:942},{segment:`Interview`,title:`Seeking in Bangladesh`,code:`I703`,clip_id:935},{segment:`Interview`,title:`Any Further Questions?`,code:`I704`,clip_id:929},{segment:`Interview`,title:`A Special Visit`,code:`I705`,clip_id:923},{segment:`Interview`,title:`No Appointment Necessary`,code:`I706`,clip_id:917},{segment:`Interview`,title:`Closed for Business`,code:`I707`,clip_id:910},{segment:`Interview`,title:`Straight to the Top`,code:`I708`,clip_id:904},{segment:`Interview`,title:`A Gift for Your Father`,code:`I709`,clip_id:898},{segment:`Interview`,title:`A Torah of Truth`,code:`I710`,clip_id:892},{segment:`Interview`,title:`A Teenagerâs Dream`,code:`I711`,clip_id:1292},{segment:`Interview`,title:`Different strokes for Different Folks`,code:`I712`,clip_id:1286},{segment:`Interview`,title:`More Than a Donation`,code:`I713`,clip_id:1280},{segment:`Interview`,title:`The Start of a Campaign`,code:`I714`,clip_id:1268},{segment:`Interview`,title:`A Rising Threat`,code:`I715`,clip_id:1261},{segment:`Interview`,title:`Help Your Friend First`,code:`I716`,clip_id:1255},{segment:`Interview`,title:`This is for Your Child`,code:`I717`,clip_id:1249},{segment:`Interview`,title:`A Rebbe, A Mentch`,code:`I718`,clip_id:1243},{segment:`Interview`,title:`They Need to Spread Outside`,code:`I719`,clip_id:1237},{segment:`Interview`,title:`Spiritual Extravagance`,code:`I720`,clip_id:1231},{segment:`Interview`,title:`Living to See Nachas`,code:`I721`,clip_id:1225},{segment:`Interview`,title:`A Healthy Diet`,code:`I722`,clip_id:1219},{segment:`Interview`,title:`If at First You Donât Succeed`,code:`I723`,clip_id:1213},{segment:`Interview`,title:`Surgeon without Surgery`,code:`I724`,clip_id:1207},{segment:`Interview`,title:`Documenting History`,code:`I725`,clip_id:1201},{segment:`Interview`,title:`Never Stuck`,code:`I726`,clip_id:1194},{segment:`Interview`,title:`To Each in His Way`,code:`I727`,clip_id:1188},{segment:`Interview`,title:`Like a Father`,code:`I728`,clip_id:1182},{segment:`Interview`,title:`Gaining Approval`,code:`I729`,clip_id:1176},{segment:`Interview`,title:`An effort to Innovate`,code:`I730`,clip_id:1170},{segment:`Interview`,title:`Sound Advice`,code:`I731`,clip_id:1164},{segment:`Interview`,title:`Sound Advice`,code:`I732`,clip_id:1158},{segment:`Interview`,title:`Matters of Faith`,code:`I733`,clip_id:1152},{segment:`Interview`,title:`Waiting for an answer`,code:`I734`,clip_id:1146},{segment:`Interview`,title:`Mystery Solved`,code:`I735`,clip_id:1140},{segment:`Interview`,title:`A Grounding Experience`,code:`I736`,clip_id:1134},{segment:`Interview`,title:`The Right Balance`,code:`I737`,clip_id:1128},{segment:`Interview`,title:`All in the Right Time`,code:`I738`,clip_id:1122},{segment:`Interview`,title:`A Good Move`,code:`I739`,clip_id:803},{segment:`Interview`,title:`Ask the Rabbi`,code:`I740`,clip_id:1116},{segment:`Interview`,title:`Career Advice`,code:`I741`,clip_id:1110},{segment:`Interview`,title:`A Time for Everything`,code:`I742`,clip_id:1104},{segment:`Interview`,title:`Who is a Chasid?`,code:`I743`,clip_id:1098},{segment:`Interview`,title:`Living in the Present`,code:`I744`,clip_id:1092},{segment:`Interview`,title:`Success in All You Need`,code:`I745`,clip_id:1086},{segment:`Interview`,title:`Becoming Certified`,code:`I746`,clip_id:1080},{segment:`Interview`,title:`Whatâs in a Name?`,code:`I747`,clip_id:1074},{segment:`Interview`,title:`With a Whole Heart`,code:`I748`,clip_id:1068},{segment:`Interview`,title:`A Real Connection`,code:`I749`,clip_id:1062},{segment:`Interview`,title:`Two Kinds of Trees`,code:`I750`,clip_id:1056},{segment:`Interview`,title:`A Blessing and a Contribution`,code:`I751`,clip_id:1050},{segment:`Interview`,title:`Postponed Indefinitely`,code:`I752`,clip_id:1044},{segment:`Interview`,title:`A Personal Interest`,code:`I753`,clip_id:1038},{segment:`Interview`,title:`Self Help`,code:`I754`,clip_id:1032},{segment:`Interview`,title:`Developing Talent`,code:`I755`,clip_id:1026},{segment:`Interview`,title:`A Medical Recommendation`,code:`I756`,clip_id:1020},{segment:`Interview`,title:`The Power of Thought`,code:`I757`,clip_id:1014},{segment:`Interview`,title:`A Good Role Model`,code:`I759`,clip_id:1006},{segment:`Interview`,title:`Our Sages Teach Us`,code:`I760`,clip_id:1e3},{segment:`Interview`,title:`Donât Worry, Heâs Coming`,code:`I761`,clip_id:994},{segment:`Interview`,title:`Judaism on the Go`,code:`I762`,clip_id:988},{segment:`Interview`,title:`Private Admission`,code:`I763`,clip_id:982},{segment:`Interview`,title:`A Natural Miracle`,code:`I764`,clip_id:976},{segment:`Interview`,title:`Believing in Youth`,code:`I765`,clip_id:45},{segment:`Interview`,title:`Three Conditions`,code:`I766`,clip_id:52},{segment:`Interview`,title:`A Doctor with Solutions`,code:`I767`,clip_id:59},{segment:`Interview`,title:`More than Stories`,code:`I768`,clip_id:66}
13,{segment:`Interview`,title:`The Simple Answer`,code:`I769`,clip_id:74},{segment:`Interview`,title:`A Good Incentive`,code:`I770`,clip_id:81},{segment:`Interview`,title:`The Common Goal`,code:`I771`,clip_id:88},{segment:`Interview`,title:`A Summer to Remember`,code:`I772`,clip_id:96},{segment:`Interview`,title:`Keep Going`,code:`I773`,clip_id:102},{segment:`Interview`,title:`Twenty-Four Hours a Day`,code:`I774`,clip_id:110},{segment:`Interview`,title:`Unbroken Spirit`,code:`I775`,clip_id:117},{segment:`Interview`,title:`My Generals`,code:`I776`,clip_id:124},{segment:`Interview`,title:`Safe Skies`,code:`I777`,clip_id:131},{segment:`Interview`,title:`On the Battlefield`,code:`I778`,clip_id:138},{segment:`Interview`,title:`Unnecessary Surgery`,code:`I779`,clip_id:146},{segment:`Interview`,title:`A Personal Request`,code:`I780`,clip_id:167},{segment:`Interview`,title:`Fighting for Israel`,code:`I781`,clip_id:153},{segment:`Interview`,title:`Higher Education`,code:`I782`,clip_id:160},{segment:`Interview`,title:`A Second Look`,code:`I783`,clip_id:174},{segment:`Interview`,title:`The King in the Field`,code:`I784`,clip_id:181},{segment:`Interview`,title:`Repentance and Healing`,code:`I785`,clip_id:189},{segment:`Interview`,title:`Investing in the Future`,code:`I786`,clip_id:196},{segment:`Interview`,title:`A Chandelier in Heaven`,code:`I787`,clip_id:203},{segment:`Interview`,title:`Letâs Make a Deal`,code:`I788`,clip_id:210},{segment:`Interview`,title:`Seeing the Blessings`,code:`I789`,clip_id:226},{segment:`Interview`,title:`Unpack the Merchandise`,code:`I790`,clip_id:224},{segment:`Interview`,title:`Itâs No Mistake`,code:`I791`,clip_id:232},{segment:`Interview`,title:`Do Not be Afraid!`,code:`I792`,clip_id:244},{segment:`Interview`,title:`The Best Way to Help`,code:`I793`,clip_id:251},{segment:`Interview`,title:`No Place Too Small`,code:`I794`,clip_id:258},{segment:`Interview`,title:`As Old as You Feel`,code:`I795`,clip_id:265},{segment:`Interview`,title:`Seeing is Believing`,code:`I796`,clip_id:272},{segment:`Interview`,title:`Two Fateful Letters`,code:`I797`,clip_id:279},{segment:`Interview`,title:`A Chanukah Miracle`,code:`I798`,clip_id:286},{segment:`Interview`,title:`Living with the Times`,code:`I799`,clip_id:293},{segment:`Interview`,title:`Letâs Make a Deal`,code:`I800`,clip_id:300},{segment:`Interview`,title:`Home Remedy`,code:`I801`,clip_id:308},{segment:`Interview`,title:`Worth Waiting`,code:`I802`,clip_id:315},{segment:`Interview`,title:`Like a Father`,code:`I803`,clip_id:322},{segment:`Interview`,title:`Mind Reader`,code:`I830`,clip_id:3088},{segment:`Interview`,title:`All Expenses Paid`,code:`I1102`,clip_id:18155},{segment:`Short Film`,title:`Purim Presentation`,code:`S758`,clip_id:1008},{segment:`Short Film`,title:`Here to Help`,code:`S804`,clip_id:324},{segment:`Short Film`,title:`An Obligation to Innovate`,code:`S805`,clip_id:330},{segment:`Short Film`,title:`A Fitting Partner`,code:`S806`,clip_id:334},{segment:`Short Film`,title:`The Rebbeâs Coach`,code:`S807`,clip_id:339},{segment:`Short Film`,title:`A Historic Visit`,code:`S808`,clip_id:343},{segment:`Short Film`,title:`The Purim Campaign`,code:`S809`,clip_id:348},{segment:`Short Film`,title:`The President and the Rebbe`,code:`S810`,clip_id:352},{segment:`Short Film`,title:`Flight from Iran`,code:`S811`,clip_id:462},{segment:`Short Film`,title:`Eyes Upon the Land`,code:`S812`,clip_id:655},{segment:`Short Film`,title:`A Time to Build`,code:`S813`,clip_id:767},{segment:`Short Film`,title:`Whoever is Hungry`,code:`S814`,clip_id:780},{segment:`Short Film`,title:`A Torah for Mashiach`,code:`S815`,clip_id:786},{segment:`Short Film`,title:`Exceptional Soldiers`,code:`S816`,clip_id:791},{segment:`Short Film`,title:`Apart but Together`,code:`S817`,clip_id:884},{segment:`Short Film`,title:`United and Proud`,code:`S818`,clip_id:952},{segment:`Short Film`,title:`Connecting Every Child`,code:`S819`,clip_id:1272},{segment:`Short Film`,title:`A Meeting of Souls`,code:`S820`,clip_id:1843},{segment:`Short Film`,title:`Patient Empowerment`,code:`S821`,clip_id:2233},{segment:`Short Film`,title:`America United`,code:`S822`,clip_id:2680},{segment:`Short Film`,title:`A Reflection of G-d`,code:`S823`,clip_id:2717},{segment:`Short Film`,title:`A Cry Across the Millennia`,code:`S824`,clip_id:27
1377},{segment:`Short Film`,title:`A Shepherdâs Care`,code:`S825`,clip_id:2819},{segment:`Short Film`,title:`A Father and a Teacher`,code:`S831`,clip_id:3172},{segment:`Short Film`,title:`New World, Old Song`,code:`S840`,clip_id:3496},{segment:`Short Film`,title:`Lasting Impact`,code:`S841`,clip_id:3501},{segment:`Short Film`,title:`Out of Many, One`,code:`S843`,clip_id:3633},{segment:`Short Film`,title:`My Bar Mitzvah with the Rebbe`,code:`S844`,clip_id:3875},{segment:`Short Film`,title:`Taking the Lead`,code:`S845`,clip_id:4001},{segment:`Short Film`,title:`A Healthy Optimism`,code:`S846`,clip_id:4187},{segment:`Short Film`,title:`Like a Father`,code:`S847`,clip_id:4214},{segment:`Short Film`,title:`Wellsprings in Lebanon`,code:`S848`,clip_id:4241},{segment:`Short Film`,title:`Chanukah Around the World`,code:`S849`,clip_id:4270},{segment:`Short Film`,title:`The Gates Are Open`,code:`S850`,clip_id:4286},{segment:`Short Film`,title:`Building Judaism`,code:`S851`,clip_id:4292},{segment:`Short Film`,title:`Tanks Against Assimilation`,code:`S852`,clip_id:4326},{segment:`Short Film`,title:`Perfect Timing`,code:`S853`,clip_id:4379},{segment:`Short Film`,title:`A New Era`,code:`S854`,clip_id:4411},{segment:`Short Film`,title:`Yud Shevat Farbrengen 5741 - 1981`,code:`S855`,clip_id:4462},{segment:`Short Film`,title:`Army of Hashem`,code:`S856`,clip_id:4466},{segment:`Short Film`,title:`Expanding the Operation`,code:`S857`,clip_id:4484},{segment:`Short Film`,title:`Transformative Joy`,code:`S858`,clip_id:4569},{segment:`Short Film`,title:`Think Positive!`,code:`S859`,clip_id:4591},{segment:`Short Film`,title:`Purim in the Rebbeâs Home`,code:`S860`,clip_id:4597},{segment:`Short Film`,title:`Path to Success`,code:`S861`,clip_id:4603},{segment:`Short Film`,title:`A Rare Occasion`,code:`S862`,clip_id:4676},{segment:`Short Film`,title:`A Cause for Celebration`,code:`S863`,clip_id:4724},{segment:`Short Film`,title:`Passover Rally`,code:`S864`,clip_id:4760},{segment:`Short Film`,title:`Festival of our Freedom`,code:`S865`,clip_id:4790},{segment:`Short Film`,title:`A Fatherâs Image`,code:`S866`,clip_id:4800},{segment:`Short Film`,title:`No Time to Lose`,code:`S867`,clip_id:4823},{segment:`Short Film`,title:`Second Chances`,code:`S868`,clip_id:4921},{segment:`Short Film`,title:`A Class of Their Own`,code:`S869`,clip_id:5031},{segment:`Short Film`,title:`Time for Torah`,code:`S870`,clip_id:5056},{segment:`Short Film`,title:`Armed`,code:`S871`,clip_id:5087},{segment:`Short Film`,title:`And I Will Bless Them`,code:`S872`,clip_id:5092},{segment:`Short Film`,title:`Piercing the Iron Curtain`,code:`S873`,clip_id:5098},{segment:`Short Film`,title:`Building a New World`,code:`S874`,clip_id:5145},{segment:`Short Film`,title:`Itâs Up to Us`,code:`S875`,clip_id:5202},{segment:`Short Film`,title:`The Summer that Lasts a Lifetime`,code:`S876`,clip_id:5230},{segment:`Short Film`,title:`Speak Up!`,code:`S877`,clip_id:5317},{segment:`Short Film`,title:`Unwarranted Love`,code:`S878`,clip_id:5332},{segment:`Short Film`,title:`A Loving Approach`,code:`S879`,clip_id:5356},{segment:`Short Film`,title:`Tisha BâAv in the Rebbeâs Home`,code:`S880`,clip_id:5372},{segment:`Short Film`,title:`The Rebbeâs Scribe`,code:`S881`,clip_id:5465},{segment:`Short Film`,title:`The Backbone of Judaism`,code:`S882`,clip_id:5643},{segment:`Short Film`,title:`Printing for Redemption`,code:`S883`,clip_id:5922},{segment:`Short Film`,title:`A Passion for Music`,code:`S884`,clip_id:5945},{segment:`Short Film`,title:`The More You Give, the More You Get`,code:`S885`,clip_id:5997},{segment:`Short Film`,title:`Prayers for a Sweet Year`,code:`S887`,clip_id:6559},{segment:`Short Film`,title:`My Son, the Rebbe`,code:`S888`,clip_id:6625},{segment:`Short Film`,title:`Yud Gimmel Tishrei Farbrengen 5741 â 1980`,code:`S889`,clip_id:6702},{segment:`Short Film`,title:`As Sukkot Concludes`,code:`S890`,clip_id:6740},{segment:`Short Film`,title:`Lasting Impact`,code:`S891`,clip_id:6761},{segment:`Short Film`,title:`A Rabbi in Every Home`,code:`S892`,clip_id:6774},{segment:`Short Film`,title:`A Ripple Effect`,code:`S893`,clip_id:6780},{segment:`Short Film`,title:`Happiness in Hardship`,code:`S894`,clip_id:6786},{segment:`Short Film`,title:`Effective Advertising`,code:`S895`,clip_id:6890},{segment:`Short Film`,title:`Seek Guidance`,code:`S896`,clip_id:6903},{segment:`Short Film`,title:`Eating Right`,code:`S897`,clip_id:6962},{segment:`Short Film`,title:`Yud Tes Kislev Farbrengen 5744 â 1983`,code:`S898`,clip_id:7013},{segment:`Short Film`,title:`Share the Light`,code:`S899`,clip_id:7028},{segment:`Short Film`,title:`The Rebbeâs Library`,code:`S900`,clip_id:7084},{segment:`Short Film`,title:`Donât Be Satisfied!`,code:`S901`,clip_id:7185},{segment:`Short Film`,title:`The Impossible is Possible`,code:`S902`,clip_id:7224},{segment:`Short Film`,title:`The Children of Heroes`,code:`S903`,clip_id:7302},{segment:`Short Film`,title:`The Court Physician`,code:`S904`,clip_id:7415},{segment:`Short Film`,title:`A Beautiful World`,code:`S905`,clip_id:7475},{segment:`Short Film`,title:`Likkutei Sichos`,code:`S906`,clip_id:7492},{segment:`Short Film`,title:`Never Stuck`,code:`S907`,clip_id:7596},{segment:`Short Film`,title:`Here and Now`,code:`S908`,clip_id:7641},{segment:`Short Film`,title:`In a Positive Light`,code:`S909`,clip_id:7769},{segment:`Short Film`,title:`Lighten Up!`,code:`S910`,clip_id:7784},{segment:`Short Film`,title:`Live Up to Yourself`,code:`S911`,clip_id:7811},{segment:`Short Film`,title:`Keep Your Day Job!`,code:`S912`,clip_id:7869},{segment:`Short Film`,title:`Thawing a Cold War`,code:`S913`,clip_id:7900},{segment:`Short Film`,title:`Purim Farbrengen 5733 - 1973`,code:`S914`,clip_id:7938},{segment:`Short Film`,title:`The Ideal Gift`,code:`S915`,clip_id:8009},{segment:`Short Film`,title:`Got Matzah Shmura?`,code:`S916`,clip_id:8088},{segment:`Short Film`,title:`Open Your Heart`,code:`S917`,clip_id:8120},{segment:`Short Film`,title:`A Time to Connect`,code:`S918`,clip_id:8192},{segment:`Short Film`,title:`Precious Moments`,code:`S919`,clip_id:8225},{segment:`Short Film`,title:`The Rebbe Remembers`,code:`S920`,clip_id:8241},{segment:`Short Film`,title:`The Algemeiner Journal`,code:`S921`,clip_id:8253},{segment:`Short Film`,title:`The Rebbeâs Advice`,code:`S922`,clip_id:8259},{segment:`Short Film`,title:`A First for Egypt`,code:`S923`,clip_id:8271},{segment:`Short Film`,title:`Think Big`,code:`S924`,clip_id:8319},{segment:`Short Film`,title:`Heavenâs Agents`,code:`S925`,clip_id:8343},{segment:`Short Film`,title:`Living with the Times`,code:`S926`,clip_id:8426},{segment:`Short Film`,title:`The Power Within`,code:`S927`,clip_id:8473},{segment:`Short Film`,title:`Holy Letters`,code:`S928`,clip_id:8515},{segment:`Short Film`,title:`The Summer that Lasts a Lifetime`,code:`S929`,clip_id:8561},{segment:`Short Film`,title:`Rebbe Bound`,code:`S930`,clip_id:8596},{segment:`Short Film`,title:`Lessons from the USSR`,code:`S931`,clip_id:8603},{segment:`Short Film`,title:`Fast of the Seventeenth of Tammuz`,code:`S932`,clip_id:8613},{segment:`Short Film`,title:`The Journey Home`,code:`S933`,clip_id:8659},{segment:`Short Film`,title:`A Time to Rebuild`,code:`S934`,clip_id:8673},{segment:`Short Film`,title:`An Eternal Connection`,code:`S935`,clip_id:8718},{segment:`Short Film`,title:`Two Halves of a Whole`,code:`S936`,clip_id:8781},{segment:`Short Film`,title:`Everybodyâs Rabbi`,code:`S937`,clip_id:8820},{segment:`Short Film`,title:`The Power to do More`,code:`S938`,clip_id:8826},{segment:`Short Film`,title:`No Place too Far`,code:`S939`,clip_id:8912},{segment:`Short Film`,title:`A Guide for Every Jew`,code:`S940`,clip_id:9097}
13,{segment:`Short Film`,title:`When the Going Gets Tough`,code:`S941`,clip_id:9174},{segment:`Short Film`,title:`The Day Before`,code:`S942`,clip_id:9202},{segment:`Short Film`,title:`One Step in the Right Direction`,code:`S943`,clip_id:9257},{segment:`Short Film`,title:`The Great Meetup`,code:`S944`,clip_id:9263},{segment:`Short Film`,title:`Say It Like It Is`,code:`S946`,clip_id:9288},{segment:`Short Film`,title:`Once Upon a Time`,code:`S947`,clip_id:9306},{segment:`Short Film`,title:`Blazing the American Trail`,code:`S948`,clip_id:9320},{segment:`Short Film`,title:`Let It Grow`,code:`S949`,clip_id:9358},{segment:`Short Film`,title:`Pride of Ownership`,code:`S950`,clip_id:9379},{segment:`Short Film`,title:`If You See Something, Learn Something`,code:`S951`,clip_id:9391},{segment:`Short Film`,title:`Not Just History and Laws`,code:`S952`,clip_id:9470},{segment:`Short Film`,title:`Mystical and Multilingual`,code:`S953`,clip_id:9530},{segment:`Short Film`,title:`Operation Chanukah`,code:`S954`,clip_id:9607},{segment:`Short Film`,title:`Once Upon a Chanukah`,code:`S955`,clip_id:9686},{segment:`Short Film`,title:`For the Children, By the Children`,code:`S956`,clip_id:9738},{segment:`Short Film`,title:`Giving with a Smile`,code:`S957`,clip_id:9744},{segment:`Short Film`,title:`Inspiration through Participation`,code:`S958`,clip_id:9945},{segment:`Short Film`,title:`The Greatest Job in the World`,code:`S959`,clip_id:10080},{segment:`Short Film`,title:`Time for an Update`,code:`S960`,clip_id:10259},{segment:`Short Film`,title:`An Incredible View`,code:`S961`,clip_id:10265},{segment:`Short Film`,title:`Motherly Love`,code:`S962`,clip_id:10283},{segment:`Short Film`,title:`Allow Me to Demonstrate`,code:`S963`,clip_id:10316},{segment:`Short Film`,title:`The Pursuit of Happiness`,code:`S964`,clip_id:10322},{segment:`Short Film`,title:`Unforgettable Moments`,code:`S965`,clip_id:10336},{segment:`Short Film`,title:`Last but Not Least`,code:`S966`,clip_id:10340},{segment:`Short Film`,title:`My Thanks to You`,code:`S967`,clip_id:10359},{segment:`Short Film`,title:`No Laughing Matter`,code:`S968`,clip_id:10396},{segment:`Short Film`,title:`Thank You, Rebbe`,code:`S969`,clip_id:10510},{segment:`Short Film`,title:`Passover Rally`,code:`S970`,clip_id:10533},{segment:`Short Film`,title:`Passover Recapped`,code:`S971`,clip_id:10549},{segment:`Short Film`,title:`A Wave of Holiness`,code:`S972`,clip_id:10576},{segment:`Short Film`,title:`Check Your Other Vital Signs`,code:`S973`,clip_id:10592},{segment:`Short Film`,title:`Marching Toward Redemption`,code:`S974`,clip_id:10626},{segment:`Short Film`,title:`With All Due Respect`,code:`S975`,clip_id:10657},{segment:`Short Film`,title:`No Child Left At Home`,code:`S976`,clip_id:10682},{segment:`Short Film`,title:`A Song for Every Soul`,code:`S977`,clip_id:10744},{segment:`Short Film`,title:`Lift with Care`,code:`S978`,clip_id:10780},{segment:`Short Film`,title:`Nickels and Dimes`,code:`S979`,clip_id:10795},{segment:`Short Film`,title:`Always and Anywhere`,code:`S980`,clip_id:10901},{segment:`Short Film`,title:`Without the Shadow of a Doubt`,code:`S981`,clip_id:10929},{segment:`Short Film`,title:`Made in the USA`,code:`S982`,clip_id:10950},{segment:`Short Film`,title:`An Infusion of Purpose`,code:`S983`,clip_id:11008},{segment:`Short Film`,title:`Do Yourself a Favor`,code:`S984`,clip_id:11053},{segment:`Short Film`,title:`Mitzvah Missions`,code:`S985`,clip_id:11111},{segment:`Short Film`,title:`Donât Abandon the Front`,code:`S986`,clip_id:11173},{segment:`Short Film`,title:`An Iron Will`,code:`S987`,clip_id:11309},{segment:`Short Film`,title:`Forget About Retirement!`,code:`S988`,clip_id:11435},{segment:`Short Film`,title:`Not a Mention of Mitzvas!`,code:`S989`,clip_id:11531},{segment:`Short Film`,title:`The King Really is in The Field`,code:`S990`,clip_id:11542},{segment:`Short Film`,title:`Continental Shift`,code:`S991`,clip_id:11591},{segment:`Short Film`,title:`Final Approach`,code:`S992`,clip_id:11627},{segment:`Short Film`,title:`Like Mother Like Son`,code:`S993`,clip_id:11747},{segment:`Short Film`,title:`Our Spiritual Weapons`,code:`S994`,clip_id:11816},{segment:`Short Film`,title:`As Sukkot Concludes`,code:`S995`,clip_id:11851},{segment:`Short Film`,title:`The Power of A Nigun`,code:`S996`,clip_id:11896},{segment:`Short Film`,title:`Preventing Future Wars`,code:`S997`,clip_id:11958},{segment:`Short Film`,title:`Peace for Galilee`,code:`S998`,clip_id:12040},{segment:`Short Film`,title:`Non-Transferable and Non-Negotiable`,code:`S999`,clip_id:12154},{segment:`Short Film`,title:`Making Time`,code:`S1000`,clip_id:12188},{segment:`Short Film`,title:`G-dâs Army`,code:`S1001`,clip_id:12234},{segment:`Short Film`,title:`Holy Land, Holy People`,code:`S1002`,clip_id:12290},{segment:`Short Film`,title:`Stand Strong`,code:`S1003`,clip_id:12333},{segment:`Short Film`,title:`Exile to Redemption`,code:`S1004`,clip_id:12384},{segment:`Short Film`,title:`Light Makes Right`,code:`S1005`,clip_id:12402},{segment:`Short Film`,title:`The Case of a Lifetime`,code:`S1006`,clip_id:12426},{segment:`Short Film`,title:`Spread Your Light`,code:`S1007`,clip_id:12519},{segment:`Short Film`,title:`Allâs Well that Ends Well`,code:`S1008`,clip_id:12594},{segment:`Short Film`,title:`The Power of an Hour`,code:`S1010`,clip_id:12652},{segment:`Short Film`,title:`Whatâs Your Job Description?`,code:`S1011`,clip_id:12735},{segment:`Short Film`,title:`Prisoner Reform`,code:`S1012`,clip_id:12787},{segment:`Short Film`,title:`An Immersive Experience`,code:`S1013`,clip_id:12829},{segment:`Short Film`,title:`Acts of Kindness`,code:`S1014`,clip_id:12869},{segment:`Short Film`,title:`A Lifetime Achievement`,code:`S1015`,clip_id:12923},{segment:`Short Film`,title:`Back to Basics`,code:`S1016`,clip_id:13020},{segment:`Short Film`,title:`Lighting the Way`,code:`S1017`,clip_id:13087},{segment:`Short Film`,title:`Between Giants`,code:`S1018`,clip_id:13117},{segment:`Short Film`,title:`A Spiritual Security Audit`,code:`S1019`,clip_id:13169},{segment:`Short Film`,title:`The Mound and the Ditch`,code:`S1020`,clip_id:13235},{segment:`Short Film`,title:`A Presidential Pilgrimage`,code:`S1021`,clip_id:13283},{segment:`Short Film`,title:`The Sale of the Year`,code:`S1022`,clip_id:13342},{segment:`Short Film`,title:`The First Time Around`,code:`S1023`,clip_id:13379},{segment:`Short Film`,title:`At the Rebbeâs Seder`,code:`S1024`,clip_id:13430},{segment:`Short Film`,title:`Passover Rally`,code:`S1025`,clip_id:13437},{segment:`Short Film`,title:`A Cure from Heaven`,code:`S1026`,clip_id:13447},{segment:`Short Film`,title:`Money is No Object`,code:`S1027`,clip_id:13518},{segment:`Short Film`,title:`The Science of Faith`,code:`S1028`,clip_id:13582},{segment:`Short Film`,title:`We March As One`,code:`S1029`,clip_id:13723},{segment:`Short Film`,title:`A Minute is a Year`,code:`S1030`,clip_id:13804},{segment:`Short Film`,title:`A Sight to Remember`,code:`S1031`,clip_id:13914},{segment:`Short Film`,title:`Travelerâs Choice`,code:`S1032`,clip_id:13957},{segment:`Short Film`,title:`Donât Leave Home Without It`,code:`S1033`,clip_id:14029},{segment:`Short Film`,title:`No News is Good News?`,code:`S1034`,clip_id:14254},{segment:`Short Film`,title:`The Ultimate Influencer is You`,code:`S1035`,clip_id:14334},{segment:`Short Film`,title:`A Shepherdâs Care`,code:`S1036`,clip_id:14398},{segment:`Short Film`,title:`Here to Stay`,code:`S1037`,clip_id:14525},{segment:`Short Film`,title:`Forgive and Beget`,code:`S1038`,clip_id:14663},{segment:`Short Film`,title:`The Highest Priority`,code:`S1039`,clip_id:14723},{segment:`Short Film`,title:`A Siyum A Day`,code:`S1040`,clip_id:14818}
13,{segment:`Short Film`,title:`Finish What Youâve Started`,code:`S1041`,clip_id:14976},{segment:`Short Film`,title:`Every Jew a Tailor`,code:`S1042`,clip_id:15029},{segment:`Short Film`,title:`Know Your Student`,code:`S1043`,clip_id:15071},{segment:`Short Film`,title:`A Healthy, Happy Way`,code:`S1044`,clip_id:15101},{segment:`Short Film`,title:`Some Friendly Advice`,code:`S1045`,clip_id:15171},{segment:`Short Film`,title:`The Reach of the Wellsprings`,code:`S1046`,clip_id:15201},{segment:`Short Film`,title:`The Youngest Chasidim`,code:`S1047`,clip_id:15257},{segment:`Short Film`,title:`In Honor of Rebbetzin Chana`,code:`S1048`,clip_id:15305},{segment:`Short Film`,title:`Mitzvahs Under Fire`,code:`S1050`,clip_id:15389},{segment:`Short Film`,title:`Kos Shel Brachah`,code:`S1051`,clip_id:15412},{segment:`Short Film`,title:`Giving Back or Giving Ahead?`,code:`S1052`,clip_id:15494},{segment:`Short Film`,title:`A Constructive Effort`,code:`S1053`,clip_id:15535},{segment:`Short Film`,title:`Small Letters with a Big Message`,code:`S1054`,clip_id:15626},{segment:`Short Film`,title:`The Rabbiâs Children`,code:`S1055`,clip_id:15664},{segment:`Short Film`,title:`A Sacred Duty`,code:`S1056`,clip_id:15690},{segment:`Short Film`,title:`A Shareholder in Every Cause`,code:`S1057`,clip_id:15731},{segment:`Short Film`,title:`A Milestone to Mark`,code:`S1058`,clip_id:15769},{segment:`Short Film`,title:`The Vindication of Chasidism`,code:`S1059`,clip_id:15924},{segment:`Short Film`,title:`Dollars and Sense`,code:`S1060`,clip_id:15941},{segment:`Short Film`,title:`Hot off the Press`,code:`S1061`,clip_id:15987},{segment:`Short Film`,title:`Truth in Advertising`,code:`S1062`,clip_id:16015},{segment:`Short Film`,title:`A Bright Future`,code:`S1063`,clip_id:16042},{segment:`Short Film`,title:`Colel Chabad`,code:`S1064`,clip_id:16237},{segment:`Short Film`,title:`The Master Key`,code:`S1065`,clip_id:16273},{segment:`Short Film`,title:`Yud Shevat 5735â1975`,code:`S1066`,clip_id:16331},{segment:`Short Film`,title:`Up Close and Personal`,code:`S1067`,clip_id:16356},{segment:`Short Film`,title:`Service with a Smile`,code:`S1068`,clip_id:16409},{segment:`Short Film`,title:`Seven for All Mankind`,code:`S1069`,clip_id:16474},{segment:`Short Film`,title:`Limited Time Offer`,code:`S1070`,clip_id:16517},{segment:`Short Film`,title:`Lighten Up!`,code:`S1071`,clip_id:16555},{segment:`Short Film`,title:`From Insiders to Influencers`,code:`S1072`,clip_id:16585},{segment:`Short Film`,title:`The Most Secure Connection`,code:`S1073`,clip_id:16613},{segment:`Short Film`,title:`The Matzah Ball Challenge`,code:`S1074`,clip_id:16681},{segment:`Short Film`,title:`The Torah Conference`,code:`S1075`,clip_id:16718},{segment:`Short Film`,title:`Beyond Coincidence`,code:`S1076`,clip_id:16732},{segment:`Short Film`,title:`Itâs Great to be a Jew!`,code:`S1077`,clip_id:16763},{segment:`Short Film`,title:`Blessings Untrimmed`,code:`S1078`,clip_id:16801},{segment:`Short Film`,title:`A Tower of Light`,code:`S1079`,clip_id:16833},{segment:`Short Film`,title:`Donât Cross the Line`,code:`S1080`,clip_id:16880},{segment:`Short Film`,title:`Great News!`,code:`S1081`,clip_id:16914},{segment:`Short Film`,title:`Going the Distance`,code:`S1082`,clip_id:16974},{segment:`Short Film`,title:`Pure and Heartfelt`,code:`S1083`,clip_id:16995},{segment:`Short Film`,title:`The Collective Jewish Spirit`,code:`S1084`,clip_id:17080},{segment:`Short Film`,title:`Shine Light and Project Strength`,code:`S1085`,clip_id:17151},{segment:`Short Film`,title:`One Small Deed`,code:`S1086`,clip_id:17187},{segment:`Short Film`,title:`Yud Beis Tammuz 5744 â 1984`,code:`S1087`,clip_id:17289},{segment:`Short Film`,title:`The Building Blocks of Judaism`,code:`S1088`,clip_id:17346},{segment:`Short Film`,title:`No Need to Worry`,code:`S1089`,clip_id:17419},{segment:`Short Film`,title:`Torah by Heart`,code:`S1090`,clip_id:17448},{segment:`Short Film`,title:`From Flames to Fortune`,code:`S1091`,clip_id:17613},{segment:`Short Film`,title:`Growing in the Golden Years`,code:`S1092`,clip_id:17649},{segment:`Short Film`,title:`The Rebbe Knows Best`,code:`S1093`,clip_id:17706},{segment:`Short Film`,title:`Finding Solace`,code:`S1094`,clip_id:17752},{segment:`Short Film`,title:`Tough and Tender`,code:`S1095`,clip_id:17796},{segment:`Short Film`,title:`Onwards and Upwards`,code:`S1096`,clip_id:17900},{segment:`Short Film`,title:`The Joy of Repentance`,code:`S1097`,clip_id:17976},{segment:`Short Film`,title:`The Inner Strength Trainer`,code:`S1098`,clip_id:18028},{segment:`Short Film`,title:`Vov Tishrei Farbrengen 5742 â 1981`,code:`S1099`,clip_id:18070},{segment:`Short Film`,title:`An Open House`,code:`S1100`,clip_id:18103},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Passover`,code:`T1`,clip_id:3997},{segment:`Timeless Moment`,title:`Morning Prayers`,code:`T2`,clip_id:3992},{segment:`Timeless Moment`,title:`Nigun Vesamachta`,code:`T2B`,clip_id:3994},{segment:`Timeless Moment`,title:`Morning Prayers - Hoshana Rabba`,code:`T3`,clip_id:3987},{segment:`Timeless Moment`,title:`Nigun Nye Zhuritzy Chloptzi`,code:`T3B`,clip_id:3989},{segment:`Timeless Moment`,title:`Lekach Distribution`,code:`T4`,clip_id:3982},{segment:`Timeless Moment`,title:`Nigun Sheyiboneh`,code:`T4B`,clip_id:3984},{segment:`Timeless Moment`,title:`Special Moment - Farbrengenâs End`,code:`T5`,clip_id:17382},{segment:`Timeless Moment`,title:`Special Moment - Childrenâs Rally`,code:`T6`,clip_id:17402},{segment:`Timeless Moment`,title:`Soul Strings - Didan Notzach`,code:`T6B`,clip_id:17406},{segment:`Timeless Moment`,title:`Special Moment - Chanukah Gelt`,code:`T7`,clip_id:17392},{segment:`Timeless Moment`,title:`Soul Strings - Al Tirah`,code:`T7B`,clip_id:17396},{segment:`Timeless Moment`,title:`Special Moment - Grace After Meals`,code:`T8`,clip_id:17412},{segment:`Timeless Moment`,title:`Soul Strings - Nigun Hisvaadus`,code:`T8B`,clip_id:17416},{segment:`Timeless Moment`,title:`Completion of Torah Scroll`,code:`T9`,clip_id:16160},{segment:`Timeless Moment`,title:`Nyet Nyet Nikavo`,code:`T9B`,clip_id:16164},{segment:`Timeless Moment`,title:`Highlights`,code:`T10`,clip_id:16467},{segment:`Timeless Moment`,title:`Halelu Es Hashem`,code:`T10B`,clip_id:16471},{segment:`Timeless Moment`,title:`Anniversary Blessings`,code:`T11`,clip_id:16180},{segment:`Timeless Moment`,title:`We Want Mashiach Now`,code:`T11B`,clip_id:16184},{segment:`Timeless Moment`,title:`Farbrengenâs End`,code:`T12`,clip_id:16190},{segment:`Timeless Moment`,title:`Nigun of Four Stanzas`,code:`T12B`,clip_id:16194},{segment:`Timeless Moment`,title:`Chanukah Childrenâs Rally`,code:`T13`,clip_id:9898},{segment:`Timeless Moment`,title:`Nigun Vâata Amarta`,code:`T13B`,clip_id:9902},{segment:`Timeless Moment`,title:`Chanukah with Seniors`,code:`T14`,clip_id:9858},{segment:`Timeless Moment`,title:`Afternoon Prayers - 10 Tevet`,code:`T15`,clip_id:9868},{segment:`Timeless Moment`,title:`Nigun Yifrach Bâyomov`,code:`T15B`,clip_id:9872},{segment:`Timeless Moment`,title:`Chalukat Hashas`,code:`T16`,clip_id:9878},{segment:`Timeless Moment`,title:`Nigun Aimosai`,code:`T16B`,clip_id:9882},{segment:`Timeless Moment`,title:`Yahrzeit Services`,code:`T17`,clip_id:16200},{segment:`Timeless Moment`,title:`Oheiv Hashem`,code:`T17B`,clip_id:16204},{segment:`Timeless Moment`,title:`E Vadye (Russian)`,code:`T18B`,clip_id:16461},{segment:`Timeless Moment`,title:`Personal Torah Delivery`,code:`T19`,clip_id:16447}
13,{segment:`Timeless Moment`,title:`Fruits of Blessing`,code:`T20`,clip_id:16230},{segment:`Timeless Moment`,title:`Hu Elokainu`,code:`T20B`,clip_id:16234},{segment:`Timeless Moment`,title:`Message to the Yeshiva Students`,code:`T21`,clip_id:3977},{segment:`Timeless Moment`,title:`Funeral of Rabbi Shmaryahu Gurary`,code:`T22`,clip_id:3972},{segment:`Timeless Moment`,title:`The Blizzard of 1969`,code:`T23`,clip_id:3967},{segment:`Timeless Moment`,title:`Nigun Ki Elokim`,code:`T23B`,clip_id:3969},{segment:`Timeless Moment`,title:`Kiddush Levana â The Rebbeâs Home`,code:`T24`,clip_id:3962},{segment:`Timeless Moment`,title:`Iyar Childrenâs Rally`,code:`T25`,clip_id:3959},{segment:`Timeless Moment`,title:`The Rebbe Officiates a Wedding`,code:`T26`,clip_id:3952},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Rosh Hashanah`,code:`T26B`,clip_id:3954},{segment:`Timeless Moment`,title:`Morning Prayers - Purim`,code:`T27`,clip_id:3947},{segment:`Timeless Moment`,title:`Lively Purim Farbrengen`,code:`T27B`,clip_id:3949},{segment:`Timeless Moment`,title:`Distributing Lâchaim`,code:`T28`,clip_id:3942},{segment:`Timeless Moment`,title:`Nigun Ashreinu`,code:`T28B`,clip_id:3944},{segment:`Timeless Moment`,title:`Scenes from the Rebbeâs Antechamber`,code:`T29`,clip_id:10183},{segment:`Timeless Moment`,title:`Nigun Hoshia Et Amecha`,code:`T29B`,clip_id:10187},{segment:`Timeless Moment`,title:`Nigun Al Achat`,code:`T30B`,clip_id:3914},{segment:`Timeless Moment`,title:`Delivering a Chasidic Discourse`,code:`T31`,clip_id:3907},{segment:`Timeless Moment`,title:`Nigun Four Stanzas`,code:`T31B`,clip_id:3909},{segment:`Timeless Moment`,title:`Evening Prayers and Selling Chametz.`,code:`T32`,clip_id:3902},{segment:`Timeless Moment`,title:`Nigun Hupp Cossack`,code:`T32B`,clip_id:3904},{segment:`Timeless Moment`,title:`Motzei Yom Tov Pesach`,code:`T33`,clip_id:3937},{segment:`Timeless Moment`,title:`Childrenâs Rally - Chol Hamoed Pesach`,code:`T33B`,clip_id:3939},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Passover`,code:`T34`,clip_id:3932},{segment:`Timeless Moment`,title:`Conclusion of Rambam Celebration`,code:`T34B`,clip_id:3934},{segment:`Timeless Moment`,title:`Lag Bâomer Morning`,code:`T35`,clip_id:3927},{segment:`Timeless Moment`,title:`Nigun Al Hasela`,code:`T35B`,clip_id:3929},{segment:`Timeless Moment`,title:`Lag Bâomer Parade - 1980`,code:`T36`,clip_id:3922},{segment:`Timeless Moment`,title:`Nigun Shamil`,code:`T36B`,clip_id:3924},{segment:`Timeless Moment`,title:`Lag BâOmer Street Fair`,code:`T37`,clip_id:3871},{segment:`Timeless Moment`,title:`Nigun Ki Elokim`,code:`T37B`,clip_id:3873},{segment:`Timeless Moment`,title:`Nâshei Chabad Jewish Womenâs Convention`,code:`T38`,clip_id:3866},{segment:`Timeless Moment`,title:`Nigun Vaâanachnu Amcha`,code:`T38B`,clip_id:3868},{segment:`Timeless Moment`,title:`Kfar Chabad Torah Completion`,code:`T39`,clip_id:3861},{segment:`Timeless Moment`,title:`Nigun Ata Vâchartanu`,code:`T39B`,clip_id:3863},{segment:`Timeless Moment`,title:`Special Russian Song`,code:`T40B`,clip_id:3858},{segment:`Timeless Moment`,title:`Nigun Ashreinu`,code:`T41B`,clip_id:3899},{segment:`Timeless Moment`,title:`Nigun Becho Hashem`,code:`T42B`,clip_id:3894},{segment:`Timeless Moment`,title:`The Previous Rebbeâs Yahrtzeit`,code:`T43`,clip_id:3887},{segment:`Timeless Moment`,title:`Special Yud Shevat Moment`,code:`T43B`,clip_id:3889},{segment:`Timeless Moment`,title:`Address to Jewish Women`,code:`T44`,clip_id:13761},{segment:`Timeless Moment`,title:`Nigun Aimotai`,code:`T44B`,clip_id:3884},{segment:`Timeless Moment`,title:`Public Fast Day`,code:`T45`,clip_id:3851},{segment:`Timeless Moment`,title:`Nigun Sheyiboneh`,code:`T45B`,clip_id:3853},{segment:`Timeless Moment`,title:`Sanctification of the Moon`,code:`T46`,clip_id:3846},{segment:`Timeless Moment`,title:`The Rebbeâs Camp`,code:`T47`,clip_id:3840},{segment:`Timeless Moment`,title:`Campers Visit the Rebbe`,code:`T47B`,clip_id:3842},{segment:`Timeless Moment`,title:`Morning Prayers - Tisha B'Av`,code:`T48`,clip_id:3835},{segment:`Timeless Moment`,title:`The Story Behind Nigun Nyet Nyet Nikavo`,code:`T48B`,clip_id:3837},{segment:`Timeless Moment`,title:`Nâshei Chabad Womenâs Convention`,code:`T53`,clip_id:38
1319},{segment:`Timeless Moment`,title:`Nigun Ki Elokim`,code:`T53B`,clip_id:3821},{segment:`Timeless Moment`,title:`Torah Reading - Chai Elul`,code:`T54`,clip_id:3814},{segment:`Timeless Moment`,title:`Nigun We Want Mashiach Now`,code:`T54B`,clip_id:3816},{segment:`Timeless Moment`,title:`Nigun Yifrach Bâyamav`,code:`T55B`,clip_id:3811},{segment:`Timeless Moment`,title:`Panim - Rosh Hashanah Eve`,code:`T56`,clip_id:3804},{segment:`Timeless Moment`,title:`Nigun Ashreinu`,code:`T56B`,clip_id:3806},{segment:`Timeless Moment`,title:`Rebbetzin Chanaâs Funeral`,code:`T57`,clip_id:3794},{segment:`Timeless Moment`,title:`Nigun L'chatchila Ariber`,code:`T57B`,clip_id:3796},{segment:`Timeless Moment`,title:`Sukkot Preparations`,code:`T58`,clip_id:3789},{segment:`Timeless Moment`,title:`Tishrei Childrenâs Rally`,code:`T58B`,clip_id:3791},{segment:`Timeless Moment`,title:`Lekach Distribution`,code:`T59`,clip_id:3784},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Simchat Torah`,code:`T59B`,clip_id:3786},{segment:`Timeless Moment`,title:`Yechidut Klali - General Audience`,code:`T60`,clip_id:3779},{segment:`Timeless Moment`,title:`Nigun Aber A Maala`,code:`T60B`,clip_id:3781},{segment:`Timeless Moment`,title:`Funeral of Rabbi Yitzchak Isaac Kleinberg`,code:`T61`,clip_id:3774},{segment:`Timeless Moment`,title:`Farbrengen Intermission`,code:`T61B`,clip_id:3776},{segment:`Timeless Moment`,title:`Lâchaim for the Yeshivaâs`,code:`T62`,clip_id:3769},{segment:`Timeless Moment`,title:`Nigun Hachona`,code:`T62B`,clip_id:3771},{segment:`Timeless Moment`,title:`Address To Shluchim`,code:`T63`,clip_id:3764},{segment:`Timeless Moment`,title:`Nigun Ufaratzta`,code:`T63B`,clip_id:3766},{segment:`Timeless Moment`,title:`Dollars For Womenâs Convention`,code:`T64`,clip_id:3759},{segment:`Timeless Moment`,title:`Nigun Vaâanachnu Amcha`,code:`T64B`,clip_id:3761},{segment:`Timeless Moment`,title:`Afternoon Prayers - Hoshana Rabba`,code:`T65`,clip_id:3754},{segment:`Timeless Moment`,title:`Nigun Mitteler Rebbeâs Kapelye`,code:`T65B`,clip_id:3756},{segment:`Timeless Moment`,title:`Wedding Blessings`,code:`T66`,clip_id:3749},{segment:`Timeless Moment`,title:`Nigun Daled Bavot`,code:`T66B`,clip_id:3751},{segment:`Timeless Moment`,title:`Chalukat Hashas`,code:`T67`,clip_id:3744},{segment:`Timeless Moment`,title:`Nigun Pada Bâshalom`,code:`T67B`,clip_id:3746},{segment:`Timeless Moment`,title:`Chanukah Rally`,code:`T68`,clip_id:3739},{segment:`Timeless Moment`,title:`Chanukah Childrenâs Rally`,code:`T68B`,clip_id:3741},{segment:`Timeless Moment`,title:`First Anniversary of Hei Teves`,code:`T69`,clip_id:3734},{segment:`Timeless Moment`,title:`Nigun Didan Notzach`,code:`T69B`,clip_id:3736},{segment:`Timeless Moment`,title:`Early Morning Torah Reading`,code:`T70`,clip_id:3729},{segment:`Timeless Moment`,title:`Nigun Kemofet Hayiti`,code:`T70B`,clip_id:3731},{segment:`Timeless Moment`,title:`The Childrenâs Special Prayer`,code:`T71`,clip_id:3724},{segment:`Timeless Moment`,title:`A Special Guest`,code:`T72`,clip_id:3719},{segment:`Timeless Moment`,title:`Farbrengen Intermission`,code:`T72B`,clip_id:3721},{segment:`Timeless Moment`,title:`Donate In The American Spirit`,code:`T73`,clip_id:3799},{segment:`Timeless Moment`,title:`Childrenâs Rally - Purim`,code:`T73B`,clip_id:3801},{segment:`Timeless Moment`,title:`42nd Yahrtzeit of the Previous Rebbe`,code:`T74`,clip_id:3714},{segment:`Timeless Moment`,title:`Nigun Nyet Nyet`,code:`T74B`,clip_id:3716},{segment:`Timeless Moment`,title:`Funeral of Rebbetzin Chaya Mushka`,code:`T75`,clip_id:3709},{segment:`Timeless Moment`,title:`Nigun Atem Shalom`,code:`T75B`,clip_id:3711},{segment:`Timeless Moment`,title:`Annual Nâshei Chabad Womenâs Convention`,code:`T76`,clip_id:3704},{segment:`Timeless Moment`,title:`Nigun Vâata Amarta`,code:`T76B`,clip_id:3706},{segment:`Timeless Moment`,title:`Childrenâs Charity`,code:`T77`,clip_id:3699},{segment:`Timeless Moment`,title:`Nigun Simchah`,code:`T77B`,clip_id:3701},{segment:`Timeless Moment`,title:`Chol Hamoed Prayers`,code:`T78B`,clip_id:3696},{segment:`Timeless Moment`,title:`Presidential Visit`,code:`T79`,clip_id:3689},{segment:`Timeless Moment`,title:`Entering 770`,code:`T79B`,clip_id:3691},{segment:`Timeless Moment`,title:`Groundbreaking Celebration`,code:`T80`,clip_id:3684},{segment:`Timeless Moment`,title:`Childrenâs Joy`,code:`T80B`,clip_id:3686},{segment:`Timeless Moment`,title:`Dollars for the Tankists`,code:`T81`,clip_id:4023},{segment:`Timeless Moment`,title:`Nigun Ufaratzta`,code:`T81B`,clip_id:4025},{segment:`Timeless Moment`,title:`Collage: Sunday Dollars`,code:`T82`,clip_id:4018},{segment:`Timeless Moment`,title:`Nigun Vesamachta`,code:`T82B`,clip_id:4020},{segment:`Timeless Moment`,title:`The Rebbeâs Matzot`,code:`T83`,clip_id:4013},{segment:`Timeless Moment`,title:`Nigun Al Achat`,code:`T83B`,clip_id:4015},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Passover`,code:`T84`,clip_id:4008},{segment:`Timeless Moment`,title:`Leaving the Farbrengen`,code:`T84B`,clip_id:4010},{segment:`Timeless Moment`,title:`Conclusion of Kos Shel Brachah`,code:`T85`,clip_id:3655},{segment:`Timeless Moment`,title:`Nigun L'chatchila Ariber`,code:`T85B`,clip_id:3657},{segment:`Timeless Moment`,title:`Lag BâOmer Parade`,code:`T86`,clip_id:3650},{segment:`Timeless Moment`,title:`Lag Bâomer Parade`,code:`T86B`,clip_id:3652},{segment:`Timeless Moment`,title:`Visit by Israelâs Chief Rabbis`,code:`T87`,clip_id:3645},{segment:`Timeless Moment`,title:`Summer Camp Visit`,code:`T87B`,clip_id:3647},{segment:`Timeless Moment`,title:`Last But Not Least`,code:`T88`,clip_id:3640},{segment:`Timeless Moment`,title:`Nigun Hinei Ma Tov`,code:`T88B`,clip_id:3642},{segment:`Timeless Moment`,title:`Walking to 770`,code:`T89`,clip_id:3587},{segment:`Timeless Moment`,title:`Nigun Hoshia Et Amecha`,code:`T89B`,clip_id:3590},{segment:`Timeless Moment`,title:`Torah Reading`,code:`T90`,clip_id:3629},{segment:`Timeless Moment`,title:`Nigun Ubyom Simchatchem`,code:`T90B`,clip_id:3631},{segment:`Timeless Moment`,title:`Havdalah Service`,code:`T91`,clip_id:3624},{segment:`Timeless Moment`,title:`Praying For Mashiach`,code:`T91B`,clip_id:3626},{segment:`Timeless Moment`,title:`Nigun Ana Avda`,code:`T92B`,clip_id:3621},{segment:`Timeless Moment`,title:`Special Kuntres Distribution`,code:`T93`,clip_id:4153},{segment:`Timeless Moment`,title:`Nigun Zol Shoin Di Geulah`,code:`T93B`,clip_id:4155},{segment:`Timeless Moment`,title:`Rosh Hashanah Eve`,code:`T94`,clip_id:4148},{segment:`Timeless Moment`,title:`Nigun Tzoma Lâcha Nafshi`,code:`T94B`,clip_id:4150},{segment:`Timeless Moment`,title:`The Presidentâs Visit`,code:`T95`,clip_id:4143},{segment:`Timeless Moment`,title:`Nigun Nyet Nyet Nikavo`,code:`T95B`,clip_id:4145},{segment:`Timeless Moment`,title:`Hereâs to a Farbrengen`,code:`T96`,clip_id:4138}
13,{segment:`Timeless Moment`,title:`Nigun Ki Elokim`,code:`T96B`,clip_id:4140},{segment:`Timeless Moment`,title:`Nigun Sheyiboneh`,code:`T97`,clip_id:4207},{segment:`Timeless Moment`,title:`Nigun Yeilchu Mechayil`,code:`T99`,clip_id:4197},{segment:`Timeless Moment`,title:`Torah Reading Collage`,code:`T100`,clip_id:4192},{segment:`Timeless Moment`,title:`Special Visitors`,code:`T101`,clip_id:4073},{segment:`Timeless Moment`,title:`Machne Israel Development Fund`,code:`T103`,clip_id:4053},{segment:`Timeless Moment`,title:`Nigun Ashreinu`,code:`T104`,clip_id:4048},{segment:`Timeless Moment`,title:`Farbrengen - Chai Elul`,code:`T105`,clip_id:4068},{segment:`Timeless Moment`,title:`Leading the Morning Prayers`,code:`T106`,clip_id:4063},{segment:`Timeless Moment`,title:`Birchat Habanim`,code:`T107`,clip_id:4088},{segment:`Timeless Moment`,title:`Motzei Yom Kippur`,code:`T108`,clip_id:4083},{segment:`Timeless Moment`,title:`Morning Prayers - Hoshana Rabba`,code:`T109`,clip_id:4078},{segment:`Timeless Moment`,title:`Bidding Farewell`,code:`T110`,clip_id:4093},{segment:`Timeless Moment`,title:`Auctioning the Synagogue Honors`,code:`T111`,clip_id:4098},{segment:`Timeless Moment`,title:`Nigun Utzu Eitzah`,code:`T112`,clip_id:4103},{segment:`Timeless Moment`,title:`Funeral of Tel Aviv Rabbi`,code:`T113`,clip_id:4108},{segment:`Timeless Moment`,title:`Nigun Ufortazta`,code:`T114`,clip_id:4128},{segment:`Timeless Moment`,title:`Annual Conference of Shluchim`,code:`T115`,clip_id:4123},{segment:`Timeless Moment`,title:`Collage: Officiating Weddings`,code:`T116`,clip_id:4118},{segment:`Timeless Moment`,title:`Chalukat Hashas`,code:`T117`,clip_id:4113},{segment:`Timeless Moment`,title:`Chanukah in the Rebbeâs Home`,code:`T118`,clip_id:4133},{segment:`Timeless Moment`,title:`Nigun Haneirot Hallalu`,code:`T119`,clip_id:4158},{segment:`Timeless Moment`,title:`Victory in the Seforim Case`,code:`T120`,clip_id:4173},{segment:`Timeless Moment`,title:`Dollars for âTankistenâ`,code:`T121`,clip_id:4169},{segment:`Timeless Moment`,title:`Nigun We Want Mashiach Now`,code:`T122`,clip_id:4163},{segment:`Timeless Moment`,title:`Morning Prayers - Yud Shevat`,code:`T123`,clip_id:4183},{segment:`Timeless Moment`,title:`Sefer Torah to Greet Mashiach`,code:`T124`,clip_id:4178},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Shavuot`,code:`T125`,clip_id:9908},{segment:`Timeless Moment`,title:`Nigun Ki Elokim`,code:`T127`,clip_id:9928},{segment:`Timeless Moment`,title:`The Frierdiker Rebbe Accepts US Citizenship`,code:`T128`,clip_id:9938},{segment:`Timeless Moment`,title:`Nigun Hupp Cossack`,code:`T129`,clip_id:10001},{segment:`Timeless Moment`,title:`Morning Prayers - Purim`,code:`T130`,clip_id:10011},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Simchat Torah`,code:`T131`,clip_id:10021},{segment:`Timeless Moment`,title:`Shachris in Rashagâs Apartment`,code:`T132`,clip_id:10031},{segment:`Timeless Moment`,title:`The Rebbeâs Birthday`,code:`T133`,clip_id:16120},{segment:`Timeless Moment`,title:`Biur Chametz`,code:`T134`,clip_id:16130},{segment:`Timeless Moment`,title:`Kos Shel Brachah`,code:`T135`,clip_id:16140},{segment:`Timeless Moment`,title:`Funeral Procession`,code:`T136`,clip_id:16509},{segment:`Timeless Moment`,title:`Hoshea Es Amecha â Prozos Teishev`,code:`T137`,clip_id:16072},{segment:`Timeless Moment`,title:`Coins for Charity`,code:`T138`,clip_id:16398},{segment:`Timeless Moment`,title:`Lag BâOmer Parade`,code:`T139`,clip_id:16092},{segment:`Timeless Moment`,title:`Noda Beyehudah`,code:`T140`,clip_id:16102},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Rosh Hashanah`,code:`T141`,clip_id:7119},{segment:`Timeless Moment`,title:`âIf His Children Are Alive, He, Too, is Aliveâ`,code:`T145`,clip_id:5218},{segment:`Timeless Moment`,title:`Childrenâs Rally - Elul`,code:`T154`,clip_id:9127},{segment:`Timeless Moment`,title:`Delivering a Chasidic Discourse`,code:`T155`,clip_id:9137},{segment:`Timeless Moment`,title:`Selichot Prayers`,code:`T156`,clip_id:9147},{segment:`Timeless Moment`,title:`Yahrtzeit of Rebbetzin Chana`,code:`T158`,clip_id:9072},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Simchat Torah`,code:`T160`,clip_id:9062},{segment:`Timeless Moment`,title:`âDid You Learn Tanya Today?â`,code:`T162`,clip_id:17557},{segment:`Timeless Moment`,title:`Yud Shevat Farbrengen`,code:`T163`,clip_id:5351},{segment:`Timeless Moment`,title:`12 Tammuz, 5743`,code:`T164`,clip_id:18460},{segment:`Timeless Moment`,title:`Lâchaim for Shluchim`,code:`T165`,clip_id:18508},{segment:`Timeless Moment`,title:`Childrenâs Rally`,code:`T166`,clip_id:18528},{segment:`Timeless Moment`,title:`Wedding`,code:`T167`,clip_id:18581},{segment:`Timeless Moment`,title:`Nigun Didan Notzach`,code:`T170`,clip_id:7109},{segment:`Timeless Moment`,title:`Funeral of Rabbi Moshe Yitzchak Hecht`,code:`T171`,clip_id:9721},{segment:`Timeless Moment`,title:`Yud Shevat Farbrengen`,code:`T173`,clip_id:9042},{segment:`Timeless Moment`,title:`Nigun Tzoma Lâcha Nafshi`,code:`T174`,clip_id:4424},{segment:`Timeless Moment`,title:`770 Groundbreaking Ceremony`,code:`T178`,clip_id:8845},{segment:`Timeless Moment`,title:`Selichot - Fast of Esther`,code:`T183`,clip_id:10103},{segment:`Timeless Moment`,title:`Purim Costume Collage`,code:`T184`,clip_id:10113},{segment:`Timeless Moment`,title:`Lag Bâomer Parade`,code:`T185`,clip_id:5051},{segment:`Timeless Moment`,title:`Commemorative Coins`,code:`T192`,clip_id:4993},{segment:`Timeless Moment`,title:`Lag Bâomer Parade`,code:`T193`,clip_id:5070},{segment:`Timeless Moment`,title:`Childrenâs Rally - Passover`,code:`T194`,clip_id:9991},{segment:`Timeless Moment`,title:`Praying For The Jewish People`,code:`T199`,clip_id:8579},{segment:`Timeless Moment`,title:`Morning Prayers - The Rebbeâs Home`,code:`T200`,clip_id:8589},{segment:`Timeless Moment`,title:`Bris Milah for Soviet Jewry`,code:`T201`,clip_id:17325},{segment:`Timeless Moment`,title:`Reading the Haftarah`,code:`T203`,clip_id:8642},{segment:`Timeless Moment`,title:`Nigun We Want Mashiach Now`,code:`T204`,clip_id:8736},{segment:`Timeless Moment`,title:`Tisha Bâav`,code:`T205`,clip_id:8747},{segment:`Timeless Moment`,title:`Reb Levikâs Nigun`,code:`T206`,clip_id:8835},{segment:`Timeless Moment`,title:`Nigun Sholosh Tenuot`,code:`T209`,clip_id:7148},{segment:`Timeless Moment`,title:`Delivering a Maamar`,code:`T210`,clip_id:7158},{segment:`Timeless Moment`,title:`Selichot - Rosh Hashanah Eve`,code:`T211`,clip_id:7168},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Simchat Torah`,code:`T212`,clip_id:7178},{segment:`Timeless Moment`,title:`Lekach - Yom Kippur Eve`,code:`T214`,clip_id:5312},{segment:`Timeless Moment`,title:`Kos Shel Brachah Highlights`,code:`T215`,clip_id:5345},{segment:`Timeless Moment`,title:`Nigun Nyeh Zhuritsi`,code:`T216`,clip_id:5306},{segment:`Timeless Moment`,title:`Kinus Hashluchim`,code:`T219`,clip_id:18361},{segment:`Timeless Moment`,title:`Farbrengen - 19 Kislev`,code:`T221`,clip_id:5294},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Simchat Torah`,code:`T222`,clip_id:7217},{segment:`Timeless Moment`,title:`Nigun Daled Bavot`,code:`T223`,clip_id:5225},{segment:`Timeless Moment`,title:`Special Delivery`,code:`T225`,clip_id:5300},{segment:`Timeless Moment`,title:`Nigun Rachamana`,code:`T226`,clip_id:7037},{segment:`Timeless Moment`,title:`Nigun Yeilchu Mechayil`,code:`T228`,clip_id:7197},{segment:`Timeless Moment`,title:`Nigun We Want Mashiach Now`,code:`T229`,clip_id:7207},{segment:`Timeless Moment`,title:`Morning Prayers - Yud Shevat`,code:`T230`,clip_id:5213},{segment:`Timeless Moment`,title:`International Conference of Shluchos`,code:`T231`,clip_id:10193},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Passover`,code:`T232`,clip_id:5134},{segment:`Timeless Moment`,title:`Farbrengen Interlude`,code:`T233`,clip_id:5127},{segment:`Timeless Moment`,title:`Collage: Dollars for Children`,code:`T234`,clip_id:5121},{segment:`Timeless Moment`,title:`Nigun Vayehi Bimei`,code:`T235`,clip_id:5182},{segment:`Timeless Moment`,title:`Donât Forget The Holy Ark`,code:`T236`,clip_id:5115},{segment:`Timeless Moment`,title:`Mayim Shelanu`,code:`T237`,clip_id:5109},{segment:`Timeless Moment`,title:`Nigun Zol Shoin Di Geulah`,code:`T238`,clip_id:5104},{segment:`Timeless Moment`,title:`Nigun Al Achat`,code:`T240`,clip_id:5045},{segment:`Timeless Moment`,title:`Counting the Omer`,code:`T243`,clip_id:4916},{segment:`Timeless Moment`,title:`Lag Bâomer Parade Highlights`,code:`T244`,clip_id:4910},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Shavuot`,code:`T246`,clip_id:7749},{segment:`Timeless Moment`,title:`Torah Reading - Upstairs`,code:`T247`,clip_id:7759},{segment:`Timeless Moment`,title:`Farbrengen Interlude`,code:`T248`,clip_id:7057},{segment:`Timeless Moment`,title:`Farbrengen Interlude`,code:`T251`,clip_id:7077},{segment:`Timeless Moment`,title:`Torah Reading - Hoshana Rabba`,code:`T252`,clip_id:5076},{segment:`Timeless Moment`,title:`Morning Prayers - Rosh Hashanah Eve`,code:`T253`,clip_id:7408},{segment:`Timeless Moment`,title:`Nigun Sheyiboneh`,code:`T255`,clip_id:8767},{segment:`Timeless Moment`,title:`Reb Levikâs Nigun`,code:`T256`,clip_id:8757},{segment:`Timeless Moment`,title:`Evening Prayers - Vov Shevat`,code:`T257`,clip_id:4807},{segment:`Timeless Moment`,title:`A Morning in 770`,code:`T259`,clip_id:9157},{segment:`Timeless Moment`,title:`Selichot Prayers`,code:`T261`,clip_id:8875},{segment:`Timeless Moment`,title:`Rosh Hashanah Eve`,code:`T262`,clip_id:9211},{segment:`Timeless Moment`,title:`Morning Prayers - Vov Tishrei`,code:`T263`,clip_id:9167},{segment:`Timeless Moment`,title:`Morning Prayers - Hoshana Rabba`,code:`T264`,clip_id:10133},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Simchat Torah`,code:`T265`,clip_id:8855},{segment:`Timeless Moment`,title:`Nickels for Children`,code:`T266`,clip_id:8865},{segment:`Timeless Moment`,title:`Chanukah Live`,code:`T275`,clip_id:15998},{segment:`Timeless Moment`,title:`Chanukah Live - Chanukah Gelt`,code:`T276`,clip_id:7129},{segment:`Timeless Moment`,title:`Selichot - 10 Tevet`,code:`T277`,clip_id:9731},{segment:`Timeless Moment`,title:`Maimonidesâ Yahrzeit`,code:`T279`,clip_id:16008},{segment:`Timeless Moment`,title:`Morning Prayers - Purim`,code:`T286`,clip_id:10073},{segment:`Timeless Moment`,title:`Nigun L'chatchila Ariber`,code:`T292`,clip_id:3429},{segment:`Timeless Moment`,title:`Farbrengen Interlude`,code:`T293`,clip_id:10041}
13,{segment:`Timeless Moment`,title:`Lag Bâomer Coins`,code:`T294`,clip_id:4892},{segment:`Timeless Moment`,title:`Lag Bâomer Parade`,code:`T295`,clip_id:10163},{segment:`Timeless Moment`,title:`Make Peace`,code:`T296`,clip_id:5339},{segment:`Timeless Moment`,title:`Childrenâs Choir`,code:`T297`,clip_id:17004},{segment:`Timeless Moment`,title:`Morning Prayers - Purim`,code:`T298`,clip_id:8622},{segment:`Timeless Moment`,title:`âIf His Children are Alive, He, Too, is Aliveâ`,code:`T300`,clip_id:5207},{segment:`Timeless Moment`,title:`Special Announcement`,code:`T302`,clip_id:3404},{segment:`Timeless Moment`,title:`Panim`,code:`T312`,clip_id:13750},{segment:`Timeless Moment`,title:`Farbrengen - Rosh Hashanah Eve`,code:`T313`,clip_id:3332},{segment:`Timeless Moment`,title:`Yom Kippur Eve, Collage:`,code:`T314`,clip_id:10232},{segment:`Timeless Moment`,title:`Nigun Zol Shoin Zein Di Geulah`,code:`T318`,clip_id:3273},{segment:`Timeless Moment`,title:`Morning Prayers - International Conference of Shluchim`,code:`T321`,clip_id:3267},{segment:`Timeless Moment`,title:`Sunday Dollars`,code:`T322`,clip_id:18351},{segment:`Timeless Moment`,title:`The Mitteler Rebbeâs Ensemble`,code:`T323`,clip_id:3261},{segment:`Timeless Moment`,title:`Printing Tanyaâs`,code:`T324`,clip_id:3255},{segment:`Timeless Moment`,title:`Hei Tevet - Fifth Anniversary`,code:`T327`,clip_id:9711},{segment:`Timeless Moment`,title:`Evening Prayers - Yud Shevat - 5750`,code:`T332`,clip_id:3189},{segment:`Timeless Moment`,title:`Rashagâs Shiva`,code:`T335`,clip_id:3183},{segment:`Timeless Moment`,title:`Childrenâs Rally - Purim`,code:`T336`,clip_id:3110},{segment:`Timeless Moment`,title:`Fast of Esther`,code:`T340`,clip_id:3104},{segment:`Timeless Moment`,title:`Morning Prayers - Purim`,code:`T341`,clip_id:3098},{segment:`Timeless Moment`,title:`Siyum Harambam`,code:`T342`,clip_id:4987},{segment:`Timeless Moment`,title:`Mayim Shelanu`,code:`T343`,clip_id:3092},{segment:`Timeless Moment`,title:`Burning The Chametz`,code:`T345`,clip_id:3075},{segment:`Timeless Moment`,title:`Childrenâs Rally`,code:`T348`,clip_id:10252},{segment:`Timeless Moment`,title:`Nigun Simchah`,code:`T349`,clip_id:5039},{segment:`Timeless Moment`,title:`Lag Bâomer Throughout The Years`,code:`T350`,clip_id:13645},{segment:`Timeless Moment`,title:`Address to Women`,code:`T351`,clip_id:17073},{segment:`Timeless Moment`,title:`Havdalah Ceremony and Special Song`,code:`T352`,clip_id:3036},{segment:`Timeless Moment`,title:`True Sensitivity`,code:`T353`,clip_id:3030},{segment:`Timeless Moment`,title:`Nigun âSheyibonehâ - First Time`,code:`T354`,clip_id:5013},{segment:`Timeless Moment`,title:`50 Years in America`,code:`T355`,clip_id:3024},{segment:`Timeless Moment`,title:`Visiting the Ohel`,code:`T356`,clip_id:3018},{segment:`Timeless Moment`,title:`Special Gifts`,code:`T357`,clip_id:3012},{segment:`Timeless Moment`,title:`Torah Reading`,code:`T359`,clip_id:2976},{segment:`Timeless Moment`,title:`Special Guests`,code:`T360`,clip_id:3e3},{segment:`Timeless Moment`,title:`Lâchaim Distribution`,code:`T362`,clip_id:3006},{segment:`Timeless Moment`,title:`Nigun Stav Ya Pitu`,code:`T363`,clip_id:2988},{segment:`Timeless Moment`,title:`Nigun Simchah`,code:`T365`,clip_id:8885},{segment:`Timeless Moment`,title:`Family Tree`,code:`T366`,clip_id:8895},{segment:`Timeless Moment`,title:`Selichot Prayers`,code:`T367`,clip_id:2970},{segment:`Timeless Moment`,title:`Addressing The Shluchim`,code:`T368`,clip_id:8905},{segment:`Timeless Moment`,title:`Yom Kippur Eve, Collage:`,code:`T369`,clip_id:2964},{segment:`Timeless Moment`,title:`Hallel Prayers`,code:`T370`,clip_id:2958},{segment:`Timeless Moment`,title:`Nigun Hallelu Et Hashem`,code:`T373`,clip_id:2937},{segment:`Timeless Moment`,title:`Giving and Giving`,code:`T375`,clip_id:2931},{segment:`Timeless Moment`,title:`International Conference of Shluchim`,code:`T376`,clip_id:2925},{segment:`Timeless Moment`,title:`Nigun âRosh Chodesh Kislevâ`,code:`T377`,clip_id:18498},{segment:`Timeless Moment`,title:`Sheva Brachos`,code:`T378`,clip_id:13706},{segment:`Timeless Moment`,title:`Tanya Distribution`,code:`T379`,clip_id:6769},{segment:`Timeless Moment`,title:`Farbrengen Interlude`,code:`T381`,clip_id:9793},{segment:`Timeless Moment`,title:`Hei Tevet Celebrations`,code:`T382`,clip_id:9817},{segment:`Timeless Moment`,title:`Demanding Mashiach`,code:`T383`,clip_id:9827},{segment:`Timeless Moment`,title:`Nigun Kol Dodi`,code:`T384`,clip_id:9837},{segment:`Timeless Moment`,title:`Morning Prayers - Yom Kippur Eve`,code:`T385`,clip_id:2904},{segment:`Timeless Moment`,title:`New Year for Trees`,code:`T387`,clip_id:4689},{segment:`Timeless Moment`,title:`In Loving Memory`,code:`T388`,clip_id:2898},{segment:`Timeless Moment`,title:`Nigun âHosheia Es Amechaâ`,code:`T389`,clip_id:15794},{segment:`Timeless Moment`,title:`First Siyum Harambam`,code:`T390`,clip_id:2892},{segment:`Timeless Moment`,title:`Nigun Ki Vâsimcha`,code:`T399`,clip_id:2880},{segment:`Timeless Moment`,title:`Farbrengen Interlude`,code:`T401`,clip_id:2805},{segment:`Timeless Moment`,title:`Torah Reading - Chol Hamoed Sukkot`,code:`T402`,clip_id:2799},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Simchat Torah`,code:`T404`,clip_id:2874},{segment:`Timeless Moment`,title:`Childrenâs Rally`,code:`T405`,clip_id:2868},{segment:`Timeless Moment`,title:`Sunday Dollars - The Rebbeâs Home`,code:`T406`,clip_id:2862},{segment:`Timeless Moment`,title:`Visiting the Ohel`,code:`T407`,clip_id:2856},{segment:`Timeless Moment`,title:`Nigun Ech Ti Zimlak`,code:`T408`,clip_id:2850},{segment:`Timeless Moment`,title:`Like Father, Like Son`,code:`T410`,clip_id:2838},{segment:`Timeless Moment`,title:`Coins To Children`,code:`T411`,clip_id:2832},{segment:`Timeless Moment`,title:`Nigun Tzoma Lâcha Nafshi`,code:`T412`,clip_id:2826},{segment:`Timeless Moment`,title:`Yahrtzeit Prayers`,code:`T413`,clip_id:2666},{segment:`Timeless Moment`,title:`Nâshei Chabad Convention`,code:`T415`,clip_id:2655},{segment:`Timeless Moment`,title:`Rostover Nigun`,code:`T416`,clip_id:2649},{segment:`Timeless Moment`,title:`Childrenâs Rally`,code:`T417`,clip_id:2643},{segment:`Timeless Moment`,title:`Selichot Prayers`,code:`T418`,clip_id:2637},{segment:`Timeless Moment`,title:`Hatarat Nedarim`,code:`T419`,clip_id:2631},{segment:`Timeless Moment`,title:`Motzei Yom Kippur`,code:`T420`,clip_id:2625},{segment:`Timeless Moment`,title:`Nigun L'chatchila Ariber`,code:`T421`,clip_id:2619},{segment:`Timeless Moment`,title:`Chol Hamoed Sukkot`,code:`T422`,clip_id:2613},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Simchat Torah`,code:`T423`,clip_id:2607},{segment:`Timeless Moment`,title:`Bidding Farewell`,code:`T424`,clip_id:2601},{segment:`Timeless Moment`,title:`Nigun Hachanah`,code:`T425`,clip_id:2595},{segment:`Timeless Moment`,title:`Blessing the Shluchim`,code:`T427`,clip_id:17140},{segment:`Timeless Moment`,title:`Nigun Simchah`,code:`T429`,clip_id:2572},{segment:`Timeless Moment`,title:`Tzivos Hashem Rally`,code:`T431`,clip_id:2560},{segment:`Timeless Moment`,title:`Praying For Victory`,code:`T432`,clip_id:2554},{segment:`Timeless Moment`,title:`Afternoon Prayers - 10th of Tevet`,code:`T433`,clip_id:2548},{segment:`Timeless Moment`,title:`Nigun We Want Mashiach Now`,code:`T434`,clip_id:9954},{segment:`Timeless Moment`,title:`Special Distribution`,code:`T435`,clip_id:2542},{segment:`Timeless Moment`,title:`Kiddush Levana`,code:`T436`,clip_id:2536},{segment:`Timeless Moment`,title:`Yahrtzeit Prayers`,code:`T437`,clip_id:2529},{segment:`Timeless Moment`,title:`Nigun Simchah`,code:`T438`,clip_id:2523},{segment:`Timeless Moment`,title:`Yahrtzeit Prayers`,code:`T439`,clip_id:2517},{segment:`Timeless Moment`,title:`Nigun Ech Ti Zimlak`,code:`T440`,clip_id:2511},{segment:`Timeless Moment`,title:`Morning Prayers - Fast of Esther`,code:`T441`,clip_id:2505},{segment:`Timeless Moment`,title:`Seize The Opportunity`,code:`T442`,clip_id:2499},{segment:`Timeless Moment`,title:`Governorâs Visit`,code:`T443`,clip_id:2493},{segment:`Timeless Moment`,title:`Nigun Tzoma Lâcha Nafshi`,code:`T444`,clip_id:2487},{segment:`Timeless Moment`,title:`Nigun Sheyiboneh`,code:`T445`,clip_id:2481},{segment:`Timeless Moment`,title:`Matzah Distribution`,code:`T446`,clip_id:2475},{segment:`Timeless Moment`,title:`Nigun Al Achat`,code:`T447`,clip_id:2469},{segment:`Timeless Moment`,title:`Evening Prayers and Sefirat Haomer`,code:`T448`,clip_id:2463},{segment:`Timeless Moment`,title:`Special Request`,code:`T449`,clip_id:2457},{segment:`Timeless Moment`,title:`Lag BâOmer Street Carnival`,code:`T450`,clip_id:2451}
13,{segment:`Timeless Moment`,title:`Lag Bâomer Parade - 1970`,code:`T451`,clip_id:2415},{segment:`Timeless Moment`,title:`Nigun Hinei Ma Tov`,code:`T452`,clip_id:2445},{segment:`Timeless Moment`,title:`Reb Levikâs Nigun`,code:`T453`,clip_id:2439},{segment:`Timeless Moment`,title:`Wedding Blessings`,code:`T454`,clip_id:2433},{segment:`Timeless Moment`,title:`Nigun Simchah`,code:`T455`,clip_id:2427},{segment:`Timeless Moment`,title:`Family Visit`,code:`T456`,clip_id:2421},{segment:`Timeless Moment`,title:`Praying For The Jewish People`,code:`T457`,clip_id:2409},{segment:`Timeless Moment`,title:`Yud Beit Tammuz Farbrengen`,code:`T458`,clip_id:2403},{segment:`Timeless Moment`,title:`Nigun Nyet Nyet Nikavo`,code:`T459`,clip_id:2397},{segment:`Timeless Moment`,title:`Dollar Distribution`,code:`T460`,clip_id:8632},{segment:`Timeless Moment`,title:`11 Nissan Nigun`,code:`T461`,clip_id:2389},{segment:`Timeless Moment`,title:`Tisha Bâav Prayers`,code:`T462`,clip_id:2383},{segment:`Timeless Moment`,title:`Presidential Visit`,code:`T463`,clip_id:2377},{segment:`Timeless Moment`,title:`Rabbi Levi Yitzchokâs Hakafot Nigun`,code:`T464`,clip_id:2372},{segment:`Timeless Moment`,title:`Tzivos Hashem Childrenâs Rally`,code:`T465`,clip_id:2366},{segment:`Timeless Moment`,title:`Machne Israel Development Fund Meeting`,code:`T466`,clip_id:2360},{segment:`Timeless Moment`,title:`Hereâs To a Farbrengen`,code:`T467`,clip_id:2354},{segment:`Timeless Moment`,title:`Nigun of Three Movements`,code:`T468`,clip_id:2348},{segment:`Timeless Moment`,title:`Rosh Hashanah Eve`,code:`T469`,clip_id:2342},{segment:`Timeless Moment`,title:`Farbrengen Intermission`,code:`T470`,clip_id:2336},{segment:`Timeless Moment`,title:`Evening Prayers - Vov Tishrei`,code:`T471`,clip_id:2330},{segment:`Timeless Moment`,title:`Intermediate Days of Sukkot`,code:`T472`,clip_id:2324},{segment:`Timeless Moment`,title:`Kos Shel Brachah Sensitivity`,code:`T473`,clip_id:2318},{segment:`Timeless Moment`,title:`Nigun Ach Du`,code:`T476`,clip_id:2307},{segment:`Timeless Moment`,title:`Teaching Charity`,code:`T477`,clip_id:2301},{segment:`Timeless Moment`,title:`New Torah Celebration`,code:`T479`,clip_id:2295},{segment:`Timeless Moment`,title:`Special Wedding Gift.`,code:`T480`,clip_id:2289},{segment:`Timeless Moment`,title:`Farbrengen Highlights`,code:`T481`,clip_id:2283},{segment:`Timeless Moment`,title:`Chanukah Live`,code:`T482`,clip_id:2277},{segment:`Timeless Moment`,title:`End of a Long Journey`,code:`T483`,clip_id:2271},{segment:`Timeless Moment`,title:`Nigun Rachamana`,code:`T484`,clip_id:2265},{segment:`Timeless Moment`,title:`Walking to Shul`,code:`T485`,clip_id:2259},{segment:`Timeless Moment`,title:`Nigun Daled Bavot`,code:`T486`,clip_id:2253},{segment:`Timeless Moment`,title:`Farewell Gathering`,code:`T487`,clip_id:2247},{segment:`Timeless Moment`,title:`The Previous Rebbeâs Histalkus`,code:`T488`,clip_id:2241},{segment:`Timeless Moment`,title:`The Rebbe Leads Services`,code:`T489`,clip_id:15570},{segment:`Timeless Moment`,title:`The Beinoni Nigun`,code:`T490`,clip_id:13871},{segment:`Timeless Moment`,title:`The Morning Service`,code:`T491`,clip_id:13204},{segment:`Timeless Moment`,title:`Childrenâs Rally`,code:`T493`,clip_id:2227},{segment:`Timeless Moment`,title:`The Last Sunday Dollars`,code:`T494`,clip_id:2222},{segment:`Timeless Moment`,title:`Nigun Hisvaadut`,code:`T495`,clip_id:2216},{segment:`Timeless Moment`,title:`America is No Different`,code:`T496`,clip_id:2210},{segment:`Timeless Moment`,title:`Morning Prayers - Purim`,code:`T497`,clip_id:2204},{segment:`Timeless Moment`,title:`Special Visitors`,code:`T498`,clip_id:2198},{segment:`Timeless Moment`,title:`Mayim Shelanu`,code:`T499`,clip_id:2192},{segment:`Timeless Moment`,title:`Farbrengen Interval`,code:`T500`,clip_id:2186},{segment:`Timeless Moment`,title:`Burning The Chametz`,code:`T501`,clip_id:2180},{segment:`Timeless Moment`,title:`Matzah Distribution`,code:`T502`,clip_id:2174},{segment:`Timeless Moment`,title:`Nigun Yifrach Bâyamav`,code:`T503`,clip_id:2168},{segment:`Timeless Moment`,title:`Arriving in the Rain`,code:`T504`,clip_id:2162},{segment:`Timeless Moment`,title:`Lag Bâomer Parade - 1984`,code:`T506`,clip_id:2151},{segment:`Timeless Moment`,title:`Farbrengen Interval`,code:`T507`,clip_id:2145},{segment:`Timeless Moment`,title:`Havdalah - Motzaei Shavuot`,code:`T508`,clip_id:2086},{segment:`Timeless Moment`,title:`A Rabbiâs Lâchaim`,code:`T509`,clip_id:2080},{segment:`Timeless Moment`,title:`A Song for the Rebbe`,code:`T510`,clip_id:2074},{segment:`Timeless Moment`,title:`Nigun Simchah`,code:`T511`,clip_id:2068},{segment:`Timeless Moment`,title:`A Jewish Leader`,code:`T512`,clip_id:2062},{segment:`Timeless Moment`,title:`Dollar Distribution - The Rebbeâs Home`,code:`T513`,clip_id:2056},{segment:`Timeless Moment`,title:`Special Russian Song`,code:`T514`,clip_id:2050},{segment:`Timeless Moment`,title:`Farbrengen`,code:`T515`,clip_id:17767},{segment:`Timeless Moment`,title:`Kiddush Levana`,code:`T516`,clip_id:2038},{segment:`Timeless Moment`,title:`Afternoon prayers - Tisha Bâav`,code:`T518`,clip_id:2026},{segment:`Timeless Moment`,title:`Nigun Hupp Cossack`,code:`T519`,clip_id:2021},{segment:`Timeless Moment`,title:`Childrenâs Rally`,code:`T520`,clip_id:2015},{segment:`Timeless Moment`,title:`Unscheduled Farbrengen`,code:`T529`,clip_id:1986},{segment:`Timeless Moment`,title:`The Small Shul`,code:`T530`,clip_id:1980},{segment:`Timeless Moment`,title:`Dollar Distribution`,code:`T531`,clip_id:1974},{segment:`Timeless Moment`,title:`French National Anthem`,code:`T532`,clip_id:1968},{segment:`Timeless Moment`,title:`Anniversary Blessings`,code:`T535`,clip_id:1949},{segment:`Timeless Moment`,title:`Fabrengen Preparation`,code:`T536`,clip_id:1943},{segment:`Timeless Moment`,title:`ChIldrenâs Rally - Chanukah`,code:`T537`,clip_id:1937},{segment:`Timeless Moment`,title:`Evening Prayers - 10 Tevet`,code:`T538`,clip_id:1931},{segment:`Timeless Moment`,title:`Safety First`,code:`T539`,clip_id:1924},{segment:`Timeless Moment`,title:`Nigun Daled Bavot`,code:`T540`,clip_id:1918},{segment:`Timeless Moment`,title:`Presidential Visit`,code:`T542`,clip_id:1912},{segment:`Timeless Moment`,title:`Nigun Becha Batchu`,code:`T543`,clip_id:1906},{segment:`Timeless Moment`,title:`International Conference of Shluchos`,code:`T545`,clip_id:1895},{segment:`Timeless Moment`,title:`Special Georgian Song`,code:`T546`,clip_id:1891},{segment:`Timeless Moment`,title:`Nigun Shoshanat Yaakov`,code:`T547`,clip_id:1883},{segment:`Timeless Moment`,title:`Farbrengen - Purim`,code:`T548`,clip_id:1877},{segment:`Timeless Moment`,title:`Donât Forget to Make an After-Blessing`,code:`T549`,clip_id:1871},{segment:`Timeless Moment`,title:`Sending Matzot to Israel`,code:`T550`,clip_id:1865},{segment:`Timeless Moment`,title:`Birthday Gifts`,code:`T551`,clip_id:1859},{segment:`Timeless Moment`,title:`Passover Highlights - 1962`,code:`T552`,clip_id:1853},{segment:`Timeless Moment`,title:`Lag Bâomer Parade - 1960`,code:`T557`,clip_id:4962},{segment:`Timeless Moment`,title:`Nigun`,code:`T560`,clip_id:17063},{segment:`Timeless Moment`,title:`Torah Reading`,code:`T561`,clip_id:1847},{segment:`Timeless Moment`,title:`Public Audience`,code:`T562`,clip_id:1837},{segment:`Timeless Moment`,title:`Being Part of History`,code:`T563`,clip_id:8573},{segment:`Timeless Moment`,title:`Nigun Beinoni`,code:`T564`,clip_id:1831},{segment:`Timeless Moment`,title:`Reading the Haftarah`,code:`T565`,clip_id:1825},{segment:`Timeless Moment`,title:`A Visit to Remember`,code:`T566`,clip_id:1819},{segment:`Timeless Moment`,title:`Nigun We Want Mashiach Now`,code:`T567`,clip_id:1813},{segment:`Timeless Moment`,title:`Tisha Bâav Nidche`,code:`T568`,clip_id:1807},{segment:`Timeless Moment`,title:`Keren Levi Yitzchok Fund`,code:`T569`,clip_id:1796},{segment:`Timeless Moment`,title:`The Rebbe Distributing Charity`,code:`T570`,clip_id:1791},{segment:`Timeless Moment`,title:`Nigun Simchah`,code:`T571`,clip_id:1785},{segment:`Timeless Moment`,title:`Tishrei with the Rebbe`,code:`T572`,clip_id:1779},{segment:`Timeless Moment`,title:`Nigun Ribono Shel Olam`,code:`T573`,clip_id:1773},{segment:`Timeless Moment`,title:`Selichot Prayers`,code:`T574`,clip_id:1767},{segment:`Timeless Moment`,title:`Erev Rosh Hashanah`,code:`T575`,clip_id:1761},{segment:`Timeless Moment`,title:`Birchat Habanim`,code:`T576`,clip_id:1755},{segment:`Timeless Moment`,title:`Special Sukkot Gathering`,code:`T577`,clip_id:9052},{segment:`Timeless Moment`,title:`Lekach Distribution`,code:`T578`,clip_id:9082},{segment:`Timeless Moment`,title:`Farewell Farbrengen`,code:`T579`,clip_id:9090},{segment:`Timeless Moment`,title:`Walking to the Library`,code:`T582`,clip_id:15550},{segment:`Timeless Moment`,title:`Childrenâs Rally`,code:`T584`,clip_id:10242},{segment:`Timeless Moment`,title:`The Mitteler Rebbeâs Special Day`,code:`T585`,clip_id:10212},{segment:`Timeless Moment`,title:`Farbrengen`,code:`T586`,clip_id:1749},{segment:`Timeless Moment`,title:`Chanukah Live Highlights`,code:`T587`,clip_id:6806},{segment:`Timeless Moment`,title:`Chanukah Fabrengen`,code:`T588`,clip_id:6796},{segment:`Timeless Moment`,title:`Selichot Prayers`,code:`T589`,clip_id:10153},{segment:`Timeless Moment`,title:`Street Blessings`,code:`T590`,clip_id:3575},{segment:`Timeless Moment`,title:`Nigun Ashreinu`,code:`T592`,clip_id:4042},{segment:`Timeless Moment`,title:`Evening Prayers - Yud Shevat`,code:`T593`,clip_id:1737},{segment:`Timeless Moment`,title:`Nigun RIkud Nikolayev`,code:`T594`,clip_id:1731},{segment:`Timeless Moment`,title:`Dollar Distribution`,code:`T595`,clip_id:1725},{segment:`Timeless Moment`,title:`Machne Israel Development Fund`,code:`T596`,clip_id:1719},{segment:`Timeless Moment`,title:`Nigun Chotch Mi Chudi`,code:`T597`,clip_id:1713},{segment:`Timeless Moment`,title:`Unveiling Ceremony`,code:`T598`,clip_id:3441},{segment:`Timeless Moment`,title:`Nigun Simchah`,code:`T599`,clip_id:1707},{segment:`Timeless Moment`,title:`Torah Reading`,code:`T600`,clip_id:1701},{segment:`Timeless Moment`,title:`Purim Farbrengen`,code:`T601`,clip_id:1695},{segment:`Timeless Moment`,title:`Nigun Hupp Cossack`,code:`T602`,clip_id:1689},{segment:`Timeless Moment`,title:`Tzivos Hashem Childrenâs Rally`,code:`T603`,clip_id:1683},{segment:`Timeless Moment`,title:`Cause for Celebration`,code:`T604`,clip_id:1678},{segment:`Timeless Moment`,title:`Matzah Distribution`,code:`T605`,clip_id:1672},{segment:`Timeless Moment`,title:`Nigun Vehi Sheamda`,code:`T606`,clip_id:1666},{segment:`Timeless Moment`,title:`Morning Prayers - Chol Hamoed Pesach`,code:`T607`,clip_id:1660},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Passover`,code:`T608`,clip_id:1654},{segment:`Timeless Moment`,title:`Nigun Lâchatchila Ariber`,code:`T609`,clip_id:1648},{segment:`Timeless Moment`,title:`Morning Prayers`,code:`T610`,clip_id:3398},{segment:`Timeless Moment`,title:`Lag Bâomer - 1967`,code:`T611`,clip_id:4836},{segment:`Timeless Moment`,title:`Lag Bâomer Farbrengen`,code:`T612`,clip_id:4830},{segment:`Timeless Moment`,title:`Counting the Omer`,code:`T613`,clip_id:1642},{segment:`Timeless Moment`,title:`Nigun Ech Ti`,code:`T614`,clip_id:1636},{segment:`Timeless Moment`,title:`Happy Graduation`,code:`T615`,clip_id:1630},{segment:`Timeless Moment`,title:`Farewell Audience`,code:`T616`,clip_id:1625},{segment:`Timeless Moment`,title:`Praying for His People`,code:`T617`,clip_id:1621},{segment:`Timeless Moment`,title:`Morning Prayers`,code:`T618`,clip_id:1608},{segment:`Timeless Moment`,title:`Nigun Mi Armia`,code:`T619`,clip_id:1602},{segment:`Timeless Moment`,title:`Nigun Yehi Ratzon`,code:`T620`,clip_id:1596},{segment:`Timeless Moment`,title:`Special Package`,code:`T621`,clip_id:1614},{segment:`Timeless Moment`,title:`Farbrengen Conclusion`,code:`T622`,clip_id:1590},{segment:`Timeless Moment`,title:`Morning Prayers - Tisha Bâav`,code:`T623`,clip_id:1584},{segment:`Timeless Moment`,title:`Dollar Distribution`,code:`T624`,clip_id:1578},{segment:`Timeless Moment`,title:`Childrenâs Rally`,code:`T625`,clip_id:1572},{segment:`Timeless Moment`,title:`Nigun Târaneina Sâfosai`,code:`T626`,clip_id:1566},{segment:`Timeless Moment`,title:`Nigun Darkecho Elokeinu`,code:`T627`,clip_id:1560},{segment:`Timeless Moment`,title:`Farbrengen - Chai Elul`,code:`T628`,clip_id:1554},{segment:`Timeless Moment`,title:`Elul Highlights`,code:`T629`,clip_id:1548},{segment:`Timeless Moment`,title:`Panim - Rosh Hashanah Eve`,code:`T630`,clip_id:3176},{segment:`Timeless Moment`,title:`Afternoon Prayer - Yom Kippur Eve`,code:`T631`,clip_id:1536},{segment:`Timeless Moment`,title:`Farbrengen - Sukkot`,code:`T632`,clip_id:1530},{segment:`Timeless Moment`,title:`Hallel - Sukkot`,code:`T633`,clip_id:1524},{segment:`Timeless Moment`,title:`Bidding Farewell`,code:`T634`,clip_id:1518},{segment:`Timeless Moment`,title:`Nigun Râ Meir Shlomo Yanovsky`,code:`T635`,clip_id:3195},{segment:`Timeless Moment`,title:`Catching a Ride`,code:`T636`,clip_id:3066},{segment:`Timeless Moment`,title:`Kuntres Distribution`,code:`T637`,clip_id:3242},{segment:`Timeless Moment`,title:`Nigun We Want Mashiach Now`,code:`T638`,clip_id:3235},{segment:`Timeless Moment`,title:`Nigun Hachanah`,code:`T639`,clip_id:10222},{segment:`Timeless Moment`,title:`Birthday Commemoration`,code:`T641`,clip_id:3215},{segment:`Timeless Moment`,title:`Chanukah Childrenâs Rally`,code:`T642`,clip_id:4035},{segment:`Timeless Moment`,title:`Chanukah Gelt`,code:`T643`,clip_id:3202},{segment:`Timeless Moment`,title:`Selichot Prayers - 10 Tevet`,code:`T644`,clip_id:4028},{segment:`Timeless Moment`,title:`Russian Nigun`,code:`T645`,clip_id:13740},{segment:`Timeless Moment`,title:`Special Farbrengen`,code:`T646`,clip_id:1505},{segment:`Timeless Moment`,title:`Evening Prayers - Yud Shevat`,code:`T648`,clip_id:3222},{segment:`Timeless Moment`,title:`Farbrengen - 15 Shevat`,code:`T649`,clip_id:1499},{segment:`Timeless Moment`,title:`Evening Prayers - 22 Shevat`,code:`T650`,clip_id:2093},{segment:`Timeless Moment`,title:`Maamer Distribution - Veâatah Tetzaveh`,code:`T651`,clip_id:3060},{segment:`Timeless Moment`,title:`Evening Prayers - Rashagâs Shiva`,code:`T652`,clip_id:3054},{segment:`Timeless Moment`,title:`Purim - 1991`,code:`T653`,clip_id:3048},{segment:`Timeless Moment`,title:`Nigun Yifrach Bâyomov`,code:`T654`,clip_id:3042},{segment:`Timeless Moment`,title:`Dollar Distribution`,code:`T655`,clip_id:2113},{segment:`Timeless Moment`,title:`Birthday Blessings`,code:`T656`,clip_id:2107},{segment:`Timeless Moment`,title:`Matzah Distribution`,code:`T657`,clip_id:2100},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Passover`,code:`T658`,clip_id:1478},{segment:`Timeless Moment`,title:`Farewell Audience`,code:`T659`,clip_id:1472},{segment:`Timeless Moment`,title:`Special Audience`,code:`T660`,clip_id:1466},{segment:`Timeless Moment`,title:`Nigun Yemin Hashem`,code:`T661`,clip_id:1460},{segment:`Timeless Moment`,title:`Lag Bâomer - 1987`,code:`T662`,clip_id:1454},{segment:`Timeless Moment`,title:`Coins for Charity`,code:`T663`,clip_id:1448},{segment:`Timeless Moment`,title:`Farbrengen - Erev Shavuot`,code:`T664`,clip_id:1442},{segment:`Timeless Moment`,title:`Surprise Kos Shel Brachah`,code:`T665`,clip_id:3175},{segment:`Timeless Moment`,title:`Nigun We Want Mashiach Now`,code:`T666`,clip_id:1430},{segment:`Timeless Moment`,title:`Childrenâs Rally`,code:`T667`,clip_id:1423},{segment:`Timeless Moment`,title:`A Rebbeâs Connection`,code:`T668`,clip_id:1409},{segment:`Timeless Moment`,title:`Farbrengen - 12 Tammuz`,code:`T669`,clip_id:1417},{segment:`Timeless Moment`,title:`Afternoon Prayers - 17 Tammuz`,code:`T670`,clip_id:1403},{segment:`Timeless Moment`,title:`A Bottle From Beirut`,code:`T671`,clip_id:841},{segment:`Timeless Moment`,title:`Nigun Yifrach Bâyamav`,code:`T672`,clip_id:835},{segment:`Timeless Moment`,title:`Tisha Bâav`,code:`T673`,clip_id:829},{segment:`Timeless Moment`,title:`Nigun Bnei Heicholo`,code:`T674`,clip_id:823},{segment:`Timeless Moment`,title:`Reb Levikâs Nigun`,code:`T675`,clip_id:816},{segment:`Timeless Moment`,title:`A Refusenikâs First Time By The Rebbe`,code:`T676`,clip_id:2812},{segment:`Timeless Moment`,title:`A Russian Song`,code:`T677`,clip_id:1397},{segment:`Timeless Moment`,title:`Childrenâs Rally - Pos
13t Camp`,code:`T678`,clip_id:1391},{segment:`Timeless Moment`,title:`Torah Reading`,code:`T679`,clip_id:1384},{segment:`Timeless Moment`,title:`Hatarat Nedarim`,code:`T680`,clip_id:1378},{segment:`Timeless Moment`,title:`Lekach - Yom Kippur Eve`,code:`T681`,clip_id:1372},{segment:`Timeless Moment`,title:`Havdalah - Motzei Yom Kippur`,code:`T682`,clip_id:1366},{segment:`Timeless Moment`,title:`Hoshanot`,code:`T683`,clip_id:1360},{segment:`Timeless Moment`,title:`Afternoon Prayers`,code:`T686`,clip_id:1344},{segment:`Timeless Moment`,title:`Nigun Hachanah`,code:`T687`,clip_id:1338},{segment:`Timeless Moment`,title:`Kuntres Distribution`,code:`T688`,clip_id:1326},{segment:`Timeless Moment`,title:`The Rebbeâs Heart Attack - 1977`,code:`T689`,clip_id:1320},{segment:`Timeless Moment`,title:`Mitteler Rebbeâs Kapelya`,code:`T690`,clip_id:1314},{segment:`Timeless Moment`,title:`Sheva Brachot in 770`,code:`T691`,clip_id:1308},{segment:`Timeless Moment`,title:`Nigun Pada Bâshalom`,code:`T692`,clip_id:1302},{segment:`Timeless Moment`,title:`Lighting the Menorah`,code:`T693`,clip_id:1296},{segment:`Timeless Moment`,title:`A Movement On Trial`,code:`T694`,clip_id:1334},{segment:`Timeless Moment`,title:`Authorâs Visit`,code:`T695`,clip_id:878},{segment:`Timeless Moment`,title:`Nigun Tzomoah Lâcha Nafshi`,code:`T696`,clip_id:872},{segment:`Timeless Moment`,title:`Nigun Zol Shein Di Geula`,code:`T697`,clip_id:866},{segment:`Timeless Moment`,title:`Morning Prayers - 10 Shevat`,code:`T698`,clip_id:859},{segment:`Timeless Moment`,title:`Nigun Beinoni`,code:`T699`,clip_id:853},{segment:`Timeless Moment`,title:`Moving On Shlichut`,code:`T701`,clip_id:947},{segment:`Timeless Moment`,title:`Nigun Vayehi Bimei`,code:`T702`,clip_id:939},{segment:`Timeless Moment`,title:`Purim - 1989`,code:`T703`,clip_id:933},{segment:`Timeless Moment`,title:`Walking to 770`,code:`T704`,clip_id:927},{segment:`Timeless Moment`,title:`Farbrengen - Early â70s`,code:`T705`,clip_id:921},{segment:`Timeless Moment`,title:`Rostover Nigun`,code:`T706`,clip_id:915},{segment:`Timeless Moment`,title:`Burning Chametz`,code:`T707`,clip_id:908},{segment:`Timeless Moment`,title:`Matzah Distribution`,code:`T708`,clip_id:902},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Passover`,code:`T709`,clip_id:896},{segment:`Timeless Moment`,title:`Post Passover Yechidut`,code:`T710`,clip_id:890},{segment:`Timeless Moment`,title:`Nigun Becha Hashem`,code:`T711`,clip_id:1290},{segment:`Timeless Moment`,title:`Nigun Sheyiboneh`,code:`T712`,clip_id:1284},{segment:`Timeless Moment`,title:`Nigun Simchah`,code:`T713`,clip_id:1278},{segment:`Timeless Moment`,title:`Torah Reading`,code:`T714`,clip_id:1266},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Shavuot`,code:`T715`,clip_id:1259},{segment:`Timeless Moment`,title:`Nâshei Chabad Womenâs Conference`,code:`T716`,clip_id:1253},{segment:`Timeless Moment`,title:`Childrenâs Rally`,code:`T717`,clip_id:1247},{segment:`Timeless Moment`,title:`Farbrengen Announcement`,code:`T718`,clip_id:1241},{segment:`Timeless Moment`,title:`Nigun We Want Mashiach Now`,code:`T719`,clip_id:1235},{segment:`Timeless Moment`,title:`Farbrengen Interlude`,code:`T720`,clip_id:1229},{segment:`Timeless Moment`,title:`Reading the Haftarah`,code:`T721`,clip_id:1223},{segment:`Timeless Moment`,title:`Childrenâs Rally`,code:`T722`,clip_id:1217},{segment:`Timeless Moment`,title:`Special Song`,code:`T723`,clip_id:1211},{segment:`Timeless Moment`,title:`Afternoon Prayers`,code:`T725`,clip_id:1199},{segment:`Timeless Moment`,title:`Farbrengen - 20 Av`,code:`T726`,clip_id:1192},{segment:`Timeless Moment`,title:`Nigun Ksiva Vâchasima Tovah`,code:`T727`,clip_id:1186},{segment:`Timeless Moment`,title:`Nigun Asher Bara`,code:`T728`,clip_id:1180},{segment:`Timeless Moment`,title:`Afternoon Prayers - The Rebbeâs Home`,code:`T729`,clip_id:1174},{segment:`Timeless Moment`,title:`Selichot Prayers`,code:`T730`,clip_id:1168},{segment:`Timeless Moment`,title:`Special Russian Blessing`,code:`T731`,clip_id:1162},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Rosh Hashanah`,code:`T732`,clip_id:1156},{segment:`Timeless Moment`,title:`Picking A Lulav and Etrog`,code:`T733`,clip_id:1150},{segment:`Timeless Moment`,title:`Lekach Distribution`,code:`T734`,clip_id:1144},{segment:`Timeless Moment`,title:`Farewell Audience`,code:`T735`,clip_id:1138},{segment:`Timeless Moment`,title:`Nigun Hu Elokeinu`,code:`T736`,clip_id:1132},{segment:`Timeless Moment`,title:`Nigun Hachanah`,code:`T737`,clip_id:1126},{segment:`Timeless Moment`,title:`Maamar Distribution`,code:`T738`,clip_id:1120},{segment:`Timeless Moment`,title:`Evening Prayers`,code:`T739`,clip_id:799},{segment:`Timeless Moment`,title:`International Conference of Shluchim`,code:`T740`,clip_id:1114},{segment:`Timeless Moment`,title:`Nigun Pada Bâshalom`,code:`T741`,clip_id:1108},{segment:`Timeless Moment`,title:`Appeal`,code:`T742`,clip_id:1102},{segment:`Timeless Moment`,title:`Childrenâs Rally`,code:`T743`,clip_id:1096},{segment:`Timeless Moment`,title:`Chanukah Live`,code:`T744`,clip_id:1090},{segment:`Timeless Moment`,title:`Afternoon Prayers - 10 Tevet`,code:`T745`,clip_id:1084},{segment:`Timeless Moment`,title:`Nigun Ech Ti Zimlak`,code:`T746`,clip_id:1078},{segment:`Timeless Moment`,title:`Dollar Distribution`,code:`T747`,clip_id:1072},{segment:`Timeless Moment`,title:`Farbrengen - Purim`,code:`T748`,clip_id:1066},{segment:`Timeless Moment`,title:`Farbrengen - 10 Shevat`,code:`T749`,clip_id:1060},{segment:`Timeless Moment`,title:`Farbrengen - 15 Shevat`,code:`T750`,clip_id:1054},{segment:`Timeless Moment`,title:`The Rebbetzinâs Yahrtzeit`,code:`T751`,clip_id:1048},{segment:`Timeless Moment`,title:`Nigun Vayehi Bimei Achashverosh`,code:`T752`,clip_id:1042},{segment:`Timeless Moment`,title:`Dollar Distribution - 7 Adar`,code:`T753`,clip_id:1036},{segment:`Timeless Moment`,title:`Childrenâs Rally`,code:`T754`,clip_id:1030},{segment:`Timeless Moment`,title:`Nigun Simchah`,code:`T755`,clip_id:1024},{segment:`Timeless Moment`,title:`Dollar Distribution - 30 Adar II`,code:`T756`,clip_id:1018},{segment:`Timeless Moment`,title:`A Visit from Gur`,code:`T757`,clip_id:1012},{segment:`Timeless Moment`,title:`Post-Purim General Audience`,code:`T759`,clip_id:1004},{segment:`Timeless Moment`,title:`Nigun Vesamachta Bechagecha`,code:`T760`,clip_id:998},{segment:`Timeless Moment`,title:`Matzah Distribution`,code:`T761`,clip_id:992},{segment:`Timeless Moment`,title:`Burning the Chametz`,code:`T762`,clip_id:986},{segment:`Timeless Moment`,title:`Childrenâs Rally - Passover`,code:`T763`,clip_id:980},{segment:`Timeless Moment`,title:`Kos Shel Brachah - Passover`,code:`T764`,clip_id:974},{segment:`Timeless Moment`,title:`Nigun Lâchatchila Ariber`,code:`T765`,clip_id:40},{segment:`Timeless Moment`,title:`Afternoon Prayers - 13 Iyar`,code:`T766`,clip_id:50},{segment:`Timeless Moment`,title:`Nigun Hinei Mah Tov`,code:`T767`,clip_id:57},{segment:`Timeless Moment`,title:`Nâshei Chabad Womenâs Convention`,code:`T768`,clip_id:64},{segment:`Timeless Moment`,title:`Nigun Atah Vâchartanu`,code:`T769`,clip_id:71},{segment:`Timeless Moment`,title:`Havdalah - Motzaei Shavuot`,code:`T770`,clip_id:79},{segment:`Timeless Moment`,title:`Childrenâs Rally - Post Shavuot`,code:`T771`,clip_id:86},{segment:`Timeless Moment`,title:`Nâshei Chabad Womenâs Convention`,code:`T772`,clip_id:93},{segment:`Timeless Moment`,title:`Nigun Ach Du`,code:`T773`,clip_id:100},{segment:`Timeless Moment`,title:`Visiting the Ohel`,code:`T774`,clip_id:108},{segment:`Timeless Moment`,title:`Dollar Distribution`,code:`T775`,clip_id:115},{segment:`Timeless Moment`,title:`Nigun Avinu Malkeinu`,code:`T776`,clip_id:122},{segment:`Timeless Moment`,title:`Nigun Ani Amarti`,code:`T777`,clip_id:129},{segment:`Timeless Moment`,title:`Dollar Distribution - The Rebbeâs Home`,code:`T778`,clip_id:136},{segment:`Timeless Moment`,title:`Havdalah - The Rebbeâs Home`,code:`T779`,clip_id:144},{segment:`Timeless Moment`,title:`Farbrengen - 15 Av`,code:`T780`,clip_id:165},{segment:`Timeless Moment`,title:`Farbrengen - 20 Av`,code:`T781`,clip_id:151},{segment:`Timeless Moment`,title:`The Shofarâs Cry`,code:`T782`,clip_id:158},{segment:`Timeless Moment`,title:`Morning Prayers - Yom Kippur Eve`,code:`T783`,clip_id:172},{segment:`Timeless Moment`,title:`Nigun Aimosai`,code:`T784`,clip_id:179},{segment:`Timeless Moment`,title:`Selichot - Rosh Hashanah Eve`,code:`T785`,clip_id:187},{segment:`Timeless Moment`,title:`Nigun Yemin Hashem`,code:`T786`,clip_id:194},{segment:`Timeless Moment`,title:`Lekach - Yom Kippur Eve`,code:`T787`,clip_id:201},{segment:`Timeless Moment`,title:`Morning Prayers - Hoshana Rabba`,code:`T789`,clip_id:215},{segment:`Timeless Moment`,title:`Havdalah and Kos Shel Brachah`,code:`T790`,clip_id:222},{segment:`Timeless Moment`,title:`Yechidut Klali - General Audience`,code:`T791`,clip_id:230},{segment:`Timeless Moment`,title:`Nigun Aimosai`,code:`T792`,clip_id:239},{segment:`Timeless Moment`,title:`International Conference of Shluchim`,code:`T794`,clip_id:256},{segment:`Timeless Moment`,title:`Dollars for the Tankists`,code:`T795`,clip_id:263},{segment:`Timeless Moment`,title:`Nigun Pada Bâshalom`,code:`T796`,clip_id:270},{segment:`Timeless Moment`,title:`Nigun Pada Bâshalom`,code:`T797`,clip_id:27
137},{segment:`Timeless Moment`,title:`ChIldrenâs Rally - Chanukah`,code:`T798`,clip_id:284},{segment:`Timeless Moment`,title:`Afternoon Prayers - The Rebbeâs Home`,code:`T799`,clip_id:291},{segment:`Timeless Moment`,title:`Afternoon Prayers - 10 Tevet`,code:`T800`,clip_id:298},{segment:`Timeless Moment`,title:`Maimonidesâ Yahrtzeit`,code:`T801`,clip_id:306},{segment:`Timeless Moment`,title:`Nigun Daled Bavot`,code:`T802`,clip_id:313},{segment:`Timeless Moment`,title:`Nigun Hoshia Et Amecha`,code:`T803`,clip_id:320},{segment:`Timeless Moment`,title:`Lâchaim`,code:`T830`,clip_id:3086},{segment:`Timeless Moment`,title:`Seeing Off\xA0the\xA0Guests`,code:`T1102`,clip_id:18156}],ki=`GNF8O6Y485`,Ai=`e8d1d88128acd135d865519e021d50bc`,ji=`media`;typeof window<`u`&&!ji&&console.warn(`[JEM Lab] Algolia not configured â search features will use mock data. Set env vars in .env.local`);var Mi=Di(ki,Ai),Ni=[{objectID:`1`,title:`Yud-Tes Kislev Farbrengen 5743`,description:`The Rebbe speaks about the liberation of the Alter Rebbe and the spreading of Chassidus to every corner of the world.`,hebrewMonth:`Kislev`,topic:`Geulah`,type:`subtitled`,year:1982,clipId:`JEM-F-4521`,jem_link:`https://jem.tv`},{objectID:`2`,title:`Simchas Torah Farbrengen 5751`,description:`A joyous Farbrengen celebrating the completion of the Torah cycle, with teachings on joy in Avodas Hashem.`,hebrewMonth:`Tishrei`,topic:`Simcha`,type:`subtitled`,year:1990,clipId:`JEM-F-2341`,jem_link:`https://jem.tv`},{objectID:`3`,title:`Purim Farbrengen 5748`,description:`The Rebbe discusses the inner dimensions of Purim, the concept of Amalek, and the revelation of Elokus.`,hebrewMonth:`Adar`,topic:`Purim`,type:`raw`,year:1988,clipId:`JEM-F-1892`,jem_link:`https://jem.tv`},{objectID:`4`,title:`Lag B'Omer Farbrengen 5744`,description:`Celebrating Lag B'Omer with the Rebbe, including discussions on Rabbi Shimon bar Yochai and the secrets of Torah.`,hebrewMonth:`Iyar`,topic:`Lag B'Omer`,type:`subtitled`,year:1984,clipId:`JEM-F-3214`,jem_link:`https://jem.tv`},{objectID:`5`,title:`Shavuos Farbrengen 5750`,description:`The Rebbe speaks about Matan Torah, the eternal covenant between Hashem and Klal Yisroel.`,hebrewMonth:`Sivan`,topic:`Torah`,type:`subtitled`,year:1990,clipId:`JEM-F-5678`,jem_link:`https://jem.tv`},{objectID:`6`,title:`Yud-Aleph Nissan Farbrengen 5740`,description:`Birthday Farbrengen celebrating the Rebbe's birthday with thousands of chassidim from around the world.`,hebrewMonth:`Nissan`,topic:`Birthday`,type:`subtitled`,year:1980,clipId:`JEM-F-0912`,jem_link:`https://jem.tv`},{objectID:`7`,title:`Rosh Hashana Farbrengen 5752`,description:`The Rebbe speaks about the significance of Rosh Hashana, teshuvah, and the new year.`,hebrewMonth:`Tishrei`,topic:`Teshuvah`,type:`raw`,year:1991,clipId:`JEM-F-6789`,jem_link:`https://jem.tv`},{objectID:`8`,title:`Chanukah Farbrengen 5745`,description:`A special Farbrengen for Chanukah, discussing the miracle of light and spreading the flame of Torah.`,hebrewMonth:`Kislev`,topic:`Chanukah`,type:`subtitled`,year:1984,clipId:`JEM-F-7890`,jem_link:`https://jem.tv`}];async function Pi(e,t,n,r=24,i={}){if(!Mi)return console.warn(`[Algolia] searchIndex called but not configured â returning mock data.`),console.warn(` searchClient:`,Mi?`OK`:`null`),console.warn(` INDEX_NAME :`,ji),{hits:Ni,facets:{},nbHits:Ni.length};let a=Object.entries(t).filter(([,e])=>e.length>0).map(([e,t])=>t.length===1?`${e}:${t[0]}`:t.map(t=>`${e}:${t}`));console.log(`[Algolia] searchIndex â`,ji),console.log(` query :`,e||`(empty)`),console.log(` facetFilters:`,a);try{let t=(await Mi.search({requests:[{indexName:ji,query:e,facets:n,facetFilters:a.length?a:void 0,hitsPerPage:r,...i}]})).results[0];return console.log(`[Algolia] â
nbHits:`,t.nbHits,`| hits returned:`,t.hits.length),console.log(`[Algolia] facets keys:`,Object.keys(t.facets??{})),{hits:t.hits,facets:t.facets??{},nbHits:t.nbHits??0}}catch(e){throw console.error(`[Algolia] â searchSingleIndex error:`,e),e}}var Fi=new Set(`a.an.the.is.are.was.were.be.been.being.of.to.in.on.at.for.with.about.and.or.but.as.by.from.that.this.these.those.it.its.do.did.does.done.have.has.had.what.which.who.whom.whose.when.where.why.how.can.could.should.would.will.shall.may.might.must.i.you.he.she.we.they.me.us.them.his.her.our.their.say.said.says.tell.tells.told.talk.talks.talked.speak.speaks.spoke.find.show.me.video.videos.clip.clips.rebbe.rebbe's.please`.split(`.`)),Ii=new Set(`thing.things.going.around.couple.weeks.week.days.day.ago.guy.man.woman.people.time.times.way.ways.year.years.really.main.replies.reply.replied.answer.answers.answered.asked.asks.know.knows.think.thinks.thought.want.wants.wanted.remember.recall.looking.searching.search.seen.saw.watch.watched.good.great.nice.little.big.old.new.first.last.next`.split(`.`));function Li(e){let t=(e||``).trim();if(!t)return!1;
13let n=t.split(/\s+/).filter(Boolean);return!!(n.length>=6||/\n/.test(t)||/\?/.test(t)&&n.length>=3)}function Ri(e){return!!(/^\d{1,4}$/.test(e)||/-/.test(e)&&e.length>=3)}function zi(e){return Ii.has(e)?.4:Ri(e)?1.6:Math.min(1+(e.length-3)*.18,2.2)}function Bi(e){let t=(e||``).toLowerCase().replace(/[^\p{L}\p{N}\s'-]/gu,` `).split(/\s+/).filter(Boolean),n=[],r=[],i=[],a=[],o=()=>{if(a.length>=2)for(let e=0;e<a.length-1;e++)r.push(`${a[e]} ${a[e+1]}`);a.length>=1&&i.push([...a]),a=[]};for(let e of t)!Fi.has(e)&&(e.length>2||Ri(e))?(n.push(e),a.push(e)):o();o();let s=[];for(let e of i){for(let t=Math.min(4,e.length);t>=2;t--)for(let n=0;n+t<=e.length;n++){let r=e.slice(n,n+t),i=r.reduce((e,t)=>e+zi(t),0);s.push({phrase:r.join(` `),score:i})}e.length===1&&zi(e[0])>=1.5&&s.push({phrase:e[0],score:zi(e[0])})}let c=[...new Map(s.sort((e,t)=>t.score-e.score).map(e=>[e.phrase,e.score])).keys()],l=[];for(let e of c)if(!l.some(t=>t.includes(e)||e.includes(t))&&(l.push(e),l.length>=5))break;return{tokens:[...new Set(n)],phrases:[...new Set(r)],keyPhrases:l}}async function Vi(e,t={}){if(!Mi){let n=Ni.filter(t=>!e||JSON.stringify(t).toLowerCase().includes(e.toLowerCase()));return{hits:n.slice(0,t.hitsPerPage??24),nbHits:n.length}}let n=t.hitsPerPage??24;if(e&&!t.exactMatch&&(t.wide||Li(e)))return Ui(e,t,n);let r=(await Mi.search({requests:[{indexName:ji,query:e,hitsPerPage:n,...t.restrictSearchableAttributes?.length?{restrictSearchableAttributes:t.restrictSearchableAttributes}:{},...t.exactMatch?{typoTolerance:!1,exactOnSingleWordQuery:`attribute`}:{},...t.filters?{filters:t.filters}:{}}]})).results[0];return{hits:r.hits,nbHits:r.nbHits??0}}function Hi(e,t,n){let r=String(e?.topic??``).toLowerCase().trim(),i=Array.isArray(e?.keywords)?e.keywords.map(e=>String(e?.name??e??``).toLowerCase().trim()).filter(Boolean):[];if(!r&&!i.length)return 0;let a=[...n,...t],o=0,s=new Set;for(let e of a){let t=e.toLowerCase().trim();if(!t||t.length<3||s.has(t))continue;s.add(t),r===t?o+=4:r&&(r.includes(t)||t.includes(r))&&(o+=1.5);let n=0;for(let e of i)e===t?n=Math.max(n,2.5):(e.includes(t)||t.includes(e))&&(n=Math.max(n,.8));o+=n}return Math.min(o,8)}async function Ui(e,t,n){let{tokens:r,phrases:i,keyPhrases:a}=Bi(e),o=t.restrictSearchableAttributes?.length?{restrictSearchableAttributes:t.restrictSearchableAttributes}:{},s=t.filters?{filters:t.filters}:{},c=[];for(let e of[...i,...r])c.push(`keywords.name:${e}`),c.push(`topic:${e}`);let l=Math.min(Math.max(n,30),100),u=[],d=Li(e);u.push({query:d&&r.length?r.join(` `):e,weight:3,params:{ignorePlurals:!0,removeStopWords:!0,queryLanguages:[`en`],...d?{removeWordsIfNoResults:`lastWords`}:{}}}),a.slice(0,4).forEach((e,t)=>{e.split(/\s+/).length<2&&!Ri(e)||u.push({query:`"${e}"`,weight:3.5-t*.5,params:{advancedSyntax:!0,ignorePlurals:!0,removeStopWords:!1,queryLanguages:[`en`]}})}),r.length&&u.push({query:r.join(` `),weight:1.5,params:{removeWordsIfNoResults:`allOptional`,removeStopWords:!0,queryLanguages:[`en`],ignorePlurals:!0,advancedSyntax:!0,alternativesAsExact:[`ignorePlurals`,`singleWordSynonym`],optionalFilters:c}}),i.length&&u.push({query:i[0],weight:2,params:{removeWordsIfNoResults:`allOptional`,ignorePlurals:!0,optionalFilters:c}});let f=await Mi.search({requests:u.map(e=>({indexName:ji,query:e.query,hitsPerPage:l,...o,...e.params,...s}))}),p=new Map;f.results.forEach((e,t)=>{let n=u[t].weight;(e.hits||[]).forEach((e,t)=>{let r=e.objectID,i=n*(1/(1+t*.12)),a=p.get(r);a?a.score+=i:p.set(r,{hit:e,score:i})})});let m=[...p.values()].map(e=>({hit:e.hit,score:e.score+Hi(e.hit,r,[...a,...i])})).sort((e,t)=>t.score-e.score).map(e=>e.hit);return{hits:m,nbHits:m.length}}async function Wi(e,t,n=10,r={}){if(!Mi)return{hits:[],nbHits:0,facets:{}};try{let i=(await Mi.search({requests:[{indexName:e,query:t,hitsPerPage:n,...r}]})).results[0];return{hits:i.hits??[],nbHits:i.nbHits??0,facets:i.facets??{}}}catch(t){return console.error(`[Algolia] â searchSpecificIndex(${e}) error:`,t),{hits:[],nbHits:0,facets:{}}}}var Gi=`media_query_suggestions`;async function Ki(e,t=6){let n=(e||``).trim();if(!n||!Mi)return[];try{let e=(await Mi.search({requests:[{indexName:Gi,query:n,hitsPerPage:t}]}
13)).results[0]?.hits??[],r=new Set,i=[];for(let t of e){let e=String(t?.query??``).trim(),a=e.toLowerCase();e&&a!==n.toLowerCase()&&!r.has(a)&&(r.add(a),i.push(e))}return i}catch(e){return console.error(`[Algolia] â querySuggestions error:`,e),[]}}var qi=new Map,Ji=e=>e?.image||e?.thumbnail||e?.cover_image||e?.thumbnail_url||null;function Yi(e,t){switch(e){case`produced`:return{index:ji,objectID:`produced_video-${t}`,filter:`produced_video_id=${t}`};case`document`:return{index:`documents`,objectID:`document-${t}`,filter:`id=${t}`};case`photo`:return{index:`ccdb`,objectID:`photo-${t}`,filter:`jem_id:"${t}" OR id=${t}`};default:return{index:ji,objectID:`video_clip-${t}`,filter:`clip_id=${t}`}}}async function Xi(e){if(!Mi||!e?.length)return[];let t=e.map(e=>{let t=(e.type||`clip`).toLowerCase().includes(`produced`)?`produced`:`clip`,n=String(e.id).replace(/^(video_clip-|produced_video-|clip-|produced-)/i,``);return{type:t,id:n,objectID:t===`produced`?`produced_video-${n}`:`video_clip-${n}`}}),n=e=>({objectID:e.objectID,object_type:e.type===`produced`?`produced_video`:`video_clip`,clip_id:e.type===`clip`?e.id:void 0,produced_video_id:e.type===`produced`?e.id:void 0,duration:0,title:`Video ${e.id}`,_missing:!0}),r=e=>!!e&&!e._missing&&!!(e.title||e.name||e.image||e.thumbnail||e.cover_image||e.duration),i=e=>{let{id:t,type:n}=e;return n===`produced`?[`produced_video-${t}`,`produced_video_${t}`,`produced-${t}`]:[`video_clip-${t}`,`video_clip_${t}`,`clip-${t}`,`clip_${t}`]},a=e=>{let{id:t,type:n}=e;return n===`produced`?[`produced_video_id=${t}`,`produced_video_id:"${t}"`,`objectID:produced_video-${t}`,`objectID:"produced_video-${t}"`,`objectID:produced_video_${t}`]:[`clip_id=${t}`,`clip_id:"${t}"`,`objectID:video_clip-${t}`,`objectID:"video_clip-${t}"`,`objectID:video_clip_${t}`,`objectID:"video_clip_${t}"`]},o=t.map(()=>null);try{o=((await Mi.getObjects({requests:t.map(e=>({indexName:ji,objectID:e.objectID}))}))?.results||[]).map(e=>r(e)?e:null)}catch(e){console.warn(`[Algolia] lookupVideosByIds getObjects failed, trying fallbacks:`,e)}return await Promise.all(t.map(async(e,t)=>{if(r(o[t]))return;let s=[...i(e)],c=[...new Set(s)].filter(t=>t!==e.objectID);if(c.length)try{let e=((await Mi.getObjects({requests:c.map(e=>({indexName:ji,objectID:e}))}))?.results||[]).find(e=>r(e));if(e){o[t]=e;return}}catch{}let l=[...a(e)];for(let e of l)try{let n=(await Mi.search({requests:[{indexName:ji,query:``,filters:e,hitsPerPage:1}]})).results[0]?.hits?.[0];if(r(n)){o[t]=n;return}}catch{}try{let n=(await Mi.search({requests:[{indexName:ji,query:String(e.id),hitsPerPage:8}]})).results[0]?.hits||[],i=e.type===`produced`,a=n.find(t=>{let n=String(t?.objectID||``),r=String(t?.object_type||``).toLowerCase();if(r&&r!==(i?`produced_video`:`video_clip`))return!1;let a=i?t?.produced_video_id:t?.clip_id;return String(a)===String(e.id)||n===(i?`produced_video-${e.id}`:`video_clip-${e.id}`)||n===(i?`produced_video_${e.id}`:`video_clip_${e.id}`)});if(r(a)){o[t]=a;return}}catch{}o[t]=n(e)})),o.map((e,i)=>r(e)?e:n(t[i]))}async function Zi(e,t){let n=`${e}:${t}`;if(qi.has(n))return qi.get(n)??null;if(!Mi)return null;let{index:r,objectID:i,filter:a}=Yi(e,t);try{let e=Ji((await Mi.getObjects({requests:[{indexName:r,objectID:i,attributesToRetrieve:[`image`,`thumbnail`,`cover_image`,`thumbnail_url`]}]}))?.results?.[0]);if(e)return qi.set(n,e),e}catch{}try{let e=Ji((await Mi.search({requests:[{indexName:r,query:``,filters:`${a} OR objectID:"${i}"`,hitsPerPage:1}]})).results[0]?.hits?.[0]);return qi.set(n,e),e}catch(e){return console.error(`[Algolia] â lookupThumbnail error:`,e),qi.set(n,null),null}}var Qi=new Map,$i=(()=>{let e=new Map;for(let t of Oi){let n=(t.code||``).trim().toUpperCase();if(!n)continue;let r=t.link||null;!r&&t.clip_id!=null&&(r=`https://videos.jem.tv/video-player?clip=${t.clip_id}`),!r&&t.produced_video_id!=null&&(r=`https://videos.jem.tv/video-player?produced=${t.produced_video_id}`),r&&e.set(n,r)}return e})();async function ea(e){let t=(e||``).trim().toUpperCase();if(!/^[ACIST]\d{1,4}[A-Z]?$/.test(t))return null;let n=$i.get(t);if(n)return n;if(Qi.has(t))return Qi.get(t)??null;if(!Mi)return null;let r=e=>{if(!e)return null;let t=e.objectID||``,n=e.clip_id??t.match(/^video[_-]clip[_-](\d+)$/i)?.[1],r=e.produced_video_id??t.match(/^produced[_-]video[_-](\d+)$/i)?.[1];return n?`https://videos.jem.tv/video-player?clip=${n}`:r?`https://videos.jem.tv/video-player?produced=${r}`:null},i=[`objectID`,`book_code`,`clip_id`,`produced_video_id`],a=null;try{a=r((await Mi.search({requests:[{indexName:`media`,query:``,filters:`book_code:"${t}"`,hitsPerPage:1,attributesToRetrieve:i}]})).results[0]?.hits?.[0]),a||=r(((await Mi.search({requests:[{indexName:`media`,query:t,restrictSearchableAttributes:[`book_code`],typoTolerance:!1,hitsPerPage:50,attributesToRetrieve:i}]})).results[0]?.hits??[]).find(e=>String(e.book_code||``).toUpperCase()===t))}catch(e){console.error(`[Algolia] â lookupCodeClip error:`,e)}return Qi.set(t,a),a}var ta=`https://videos.jem.tv/video-player`;function na(e){let t=(e.object_type??``).toLowerCase();if(t===`produced_video`){let t=ha(e);return t?`${ta}?produced=${t}`:null}if(t===`video_clip`){let t=ga(e);return t?`${ta}?clip=${t}`:null}if(e.produced_video_id!=null)return`${ta}?produced=${e.produced_video_id}`;if(e.clip_id!=null)return`${ta}?clip=${e.clip_id}`;if(e.objectID){let t=e.objectID.match(/^produced[_-]video[_-](\d+)$/i);if(t)return`${ta}?produced=${t[1]}`;let n=e.objectID.match(/^video[_-]clip[_-](\d+)$/i);if(n)return`${ta}?clip=${n[1]}`}return e.jem_link&&e.jem_link!==`#`?e.jem_link:null}function ra(e){return e?e.replace(/<[^>]*>?/gm,``).replace(/ /g,` `):``}function ia(e){return e?.image||e?.thumbnail||e?.cover_image||e?.thumbnail_url||null}function aa(e){return ra(e?.title||e?.name||``)||`Untitled`}function oa(e){return ra(e?.description||e?.summary||``)}function sa(e){let t=e?.recorded_dates?.[0]||e?.released_dates?.[0];if(t?.hebrew_date){let e=t.secular_year?new Date(t.secular_year,t.secular_month-1,t.secular_day).toLocaleDateString(`en-US`,{month:`long`,day:`numeric`,year:`numeric`}):null;return e?`${t.hebrew_date} ⢠${e}`:t.hebrew_date}return e?.date?.hebrew_date||e?.hebrew_date||null}var ca={"lt sicha":`Talk`,"farbrengen sicha":`Talk`,"lt eye to eye":`Conversation`,"lt my encounter"
13:`Interview`,"lt timeless moment":`Timeless Moment`,film:`Film`,"living torah":`Living Torah`,"short film":`Short Film`,"full-length":`Full-Length`,"full-length footage":`Full-Length`,talk:`Talk`,conversation:`Conversation`,interview:`Interview`,"timeless moment":`Timeless Moment`};function la(e){let t=(e||``).trim();return t?ca[t.replace(/[_-]+/g,` `).replace(/\s+/g,` `).toLowerCase()]||t:``}function ua(e){return[la(e?.type),...Array.isArray(e?.events)?e.events.slice(0,2).map(e=>e?.name).filter(Boolean):[],e?.recorded_dates?.[0]?.hebrew_date].filter(Boolean).join(` · `)}function da(e){if(!e)return``;let t=e.indexOf(`-`);return t===-1?e:e.substring(t+1)}function fa(e){return`https://videos.jem.tv/documents/${e?.id??da(e?.objectID)}`}function pa(e){return`https://photos.jemedia.org/share/${e?.jem_id??e?.id??da(e?.objectID)}`}function ma(e){if(!e)return null;let t=(e._index||``).toLowerCase(),n=(e.result_type||e.object_type||e.type||``).toLowerCase();return t===`documents`||n.includes(`document`)?fa(e):t===`ccdb`||n===`photo`||n===`image`?pa(e):na(e)||(e.link?e.link:e.jem_link&&e.jem_link!==`#`?e.jem_link:null)}function ha(e){if(e.produced_video_id!=null)return e.produced_video_id;let t=e.objectID?.match(/^produced[_-]video[_-](\d+)$/i);return t?t[1]:null}function ga(e){if(e.clip_id!=null)return e.clip_id;let t=e.objectID?.match(/^video[_-]clip[_-](\d+)$/i);return t?t[1]:null}var _a=o((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),q=o(((e,t)=>{t.exports=_a()}))();`jem.tv,landing.jem.tv,jemedia.org`.split(`,`).map(e=>e.trim().toLowerCase()).filter(Boolean);function va(){try{return window.self,window.top,!0}catch{return!0}}var ya=[{id:`all`,label:`All`}],ba=/^t(\d+)$/i,xa=/^(\d{1,6})$/,Sa=/^[ACIST]\d{1,4}[A-Z]?$/i;function Ca(e){let t=(e||``).trim(),n=t.match(ba)||t.match(xa);return n?`https://videos.jem.tv/video-player?clip=${n[1]}`:null}var wa=/^(\d{1,2})\s+(Tishrei|Cheshvan|Kislev|Tevet|Shevat|Adar(?:\s+I{1,2})?|Nissan|Iyar|Sivan|Tammuz|Av|Elul),?\s+(\d{4})$/i,Ta=[{name:`JEM.tv`,url:`https://videos.jem.tv`,category:`Video`},{name:`HMS`,url:`https://videos.jem.tv/hms`,category:`Video`},{name:`Sipur Sheli`,url:`https://videos.jem.tv/hms/he`,category:`Video`},{name:`JEMai`,url:`https://videos.jem.tv/jemai`,category:`Video`},{name:`Ohel Broadcast`,url:`https://jem.tv/ohel`,category:`Video`},{name:`JEM Photos`,url:`https://photos.jemedia.org`,category:`Photos`},{name:`Face Recognition`,url:`https://photos.jemedia.org/face-recognition`,category:`Photos`},{name:`Photo Gallery`,url:`https://photos.jemedia.org/index/jem`,category:`Photos`},{name:`Video Stills`,url:`https://photos.jemedia.org/search?query=.&focused=false&filters=%7B%22video_still%22:%5B%22true%22%5D%7D`,category:`Photos`},{name:`Ashreinu`,url:`https://ashreinu.app/events`,category:`Audio`},{name:`JEM Tours`,url:`https://go.jem.tv/tour`,category:`Tools`},{name:`Ohel Live`,url:`https://jem.tv/ohel`,category:`Tools`}];function Ea(e){return e?e.replace(/<[^>]*>?/gm,``).replace(/ /g,` `):``}function Da({hit:e}){let[t,n]=(0,v.useState)(!1),[r,i]=(0,v.useState)(!1),a=na(e),o=e.image||e.thumbnail||e.cover_image,s=Ea(e.title||e.name||`Untitled`),c=Ea(e.description||e.summary||``),l=e.type||e.topic||``,u=e.duration?Math.floor(e.duration/1e3):null,d=u?`${Math.floor(u/3600)>0?Math.floor(u/3600)+`:`:``}${String(Math.floor(u%3600/60)).padStart(2,`0`)}:${String(u%60).padStart(2,`0`)}`:null,f=e.recorded_dates?.[0],p=f?`${f.hebrew_date} ⢠${new Date(f.secular_year,f.secular_month-1,f.secular_day).toLocaleDateString(`en-US`,{month:`long`,day:`numeric`,year:`numeric`})}`:null,m=e.events?.[0]?.name||null;return(0,q.jsxs)(`div`,{style:{border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,overflow:`visible`,background:t?`#131515`:`#1d2020`,cursor:`pointer`,transition:`background 0.2s`,display:`flex`,flexDirection:`column`,position:`relative`},onMouseEnter:()=>n(!0),onMouseLeave:()=>{n(!1)},onClick:()=>Ra(a),children:[(0,q.jsxs)(`div`,{style:{aspectRatio:`316/178`,position:`relative`,overflow:`hidden`,borderRadius:`4px 4px 0 0`,flexShrink:0},children:[o&&(0,q.jsx)(`img`,{src:o,alt:``,style:{width:`100%`,height:`100%`,objectFit:`cover`,display:`block`}}),(0,q.jsx)(`div`,{className:`vid-mobile-overlay`,style:{position:`absolute`,inset:0,background:t?`rgba(0,0,0,0.72)`:`rgba(0,0,0,0)`,transition:`background 0.2s`,pointerEvents:`none`}}
13),(0,q.jsxs)(`div`,{className:`vid-mobile-controls`,style:{position:`absolute`,bottom:0,left:0,right:0,padding:`10px 12px`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,opacity:+!!t,transition:`opacity 0.2s`,pointerEvents:t?`auto`:`none`},children:[(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:4},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:22,color:`rgba(255,255,255,0.85)`},children:`play_arrow`}),d&&(0,q.jsx)(`span`,{style:{fontSize:12,fontWeight:600,color:`white`,letterSpacing:.12},children:d})]}),(0,q.jsx)(`button`,{onClick:e=>{e.stopPropagation(),i(e=>!e)},style:{background:`none`,border:`none`,cursor:`pointer`,padding:2,display:`flex`,alignItems:`center`,color:`rgba(255,255,255,0.85)`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:20},children:`more_horiz`})})]})]}),(0,q.jsxs)(`div`,{style:{padding:16,display:`flex`,flexDirection:`column`,gap:8,position:`relative`},children:[l&&(0,q.jsx)(`div`,{style:{fontSize:10,fontWeight:800,color:`rgba(255,255,255,0.5)`,letterSpacing:`2px`,textTransform:`uppercase`,lineHeight:1},children:l}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:6},children:[(0,q.jsx)(`div`,{style:{fontSize:16,fontWeight:600,color:`white`,letterSpacing:-.32,lineHeight:1.3},children:s}),c&&(0,q.jsx)(`div`,{style:{fontSize:14,color:`rgba(255,255,255,0.75)`,lineHeight:1.2,display:`-webkit-box`,WebkitLineClamp:2,WebkitBoxOrient:`vertical`,overflow:`hidden`},children:c})]}),r&&(0,q.jsx)(`div`,{onClick:e=>e.stopPropagation(),style:{position:`absolute`,top:0,left:0,right:0,minHeight:`100%`,zIndex:50,background:`#181b1b`,borderTop:`1px solid rgba(255,255,255,0.1)`,borderRadius:`0 0 4px 4px`,padding:`14px 16px`,boxShadow:`0 -4px 24px rgba(0,0,0,0.4)`,display:`flex`,flexDirection:`column`,gap:10,animation:`tabFadeIn 0.18s ease both`},children:[[`Date`,p],[`Event`,m],[`Related Topics`,e.keywords?.map(e=>e.name).join(` ⢠`)]].filter(([,e])=>e).map(([e,t])=>(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:2},children:[(0,q.jsx)(`div`,{style:{fontSize:9,fontWeight:800,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.12em`},children:e}),(0,q.jsx)(`div`,{style:{fontSize:13,color:`white`,fontWeight:500},children:t})]},e))})]})]})}function Oa({hit:e}){let t=na(e),n=e.image||e.thumbnail||e.cover_image,r=Ea(e.title||e.name||`Untitled`),i=Ea(e.description||e.summary||``);return(0,q.jsxs)(`div`,{onClick:()=>Ra(t),style:{flex:`1 0 0`,minWidth:150,background:`#272b2b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,padding:16,display:`flex`,flexDirection:`column`,gap:16,cursor:t?`pointer`:`default`,transition:`opacity 0.15s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`0.85`},onMouseLeave:e=>{e.currentTarget.style.opacity=`1`},children:[(0,q.jsxs)(`div`,{style:{border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,overflow:`hidden`},children:[n&&(0,q.jsx)(`div`,{style:{aspectRatio:`318/159`,position:`relative`},children:(0,q.jsx)(`img`,{src:n,alt:``,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,objectFit:`cover`}})}),(0,q.jsxs)(`div`,{style:{background:`#272b2b`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`rgba(255,255,255,0.75)`},children:`menu_book`}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`rgba(255,255,255,0.75)`},children:`more_horiz`})]})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8},children:[(0,q.jsx)(`div`,{style:{fontSize:16,fontWeight:600,color:`white`,lineHeight:1.1,letterSpacing:`-0.02em`},children:r}),i&&(0,q.jsx)(`div`,{style:{fontSize:16,color:`rgba(255,255,255,0.75)`,lineHeight:1.3,display:`-webkit-box`,WebkitLineClamp:3,WebkitBoxOrient:`vertical`,overflow:`hidden`},children:i}),(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:2},children:[(0,q.jsx)(`span`,{style:{fontSize:16,fontWeight:600,color:`#ffffff`},children:`Read more`}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18,color:`#ffffff`},children:`chevron_right`})]})]})]})}function ka(e){if(!e)return e;let t=e.indexOf(`-`);return t===-1?e:e.substring(t+1)}function Aa({hit:e}){let t=`https://videos.jem.tv/documents/${e.id??ka(e.objectID)}`,n=e.image||e.thumbnail||e.cover_image,r=Ea(e.title||e.name||`Untitled`),i=Ea(e.description||e.summary||``);return(0,q.jsxs)(`div`,{onClick:()=>Ra(t),style:{background:`#272b2b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,padding:16,display:`flex`,flexDirection:`column`,gap:16,cursor:`pointer`,transition:`opacity 0.15s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`0.85`},onMouseLeave:e=>{e.currentTarget.style.opacity=`1`},children:[(0,q.jsxs)(`div`,{style:{border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,overflow:`hidden`}
13,children:[n&&(0,q.jsx)(`div`,{style:{aspectRatio:`318/159`,position:`relative`},children:(0,q.jsx)(`img`,{src:n,alt:``,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,objectFit:`cover`}})}),(0,q.jsxs)(`div`,{style:{background:`#272b2b`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`rgba(255,255,255,0.75)`},children:`description`}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`rgba(255,255,255,0.75)`},children:`more_horiz`})]})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8},children:[(0,q.jsx)(`div`,{style:{fontSize:16,fontWeight:600,color:`white`,lineHeight:1.1,letterSpacing:`-0.02em`},children:r}),i&&(0,q.jsx)(`div`,{style:{fontSize:16,color:`rgba(255,255,255,0.75)`,lineHeight:1.3,display:`-webkit-box`,WebkitLineClamp:3,WebkitBoxOrient:`vertical`,overflow:`hidden`},children:i}),(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:2},children:[(0,q.jsx)(`span`,{style:{fontSize:16,fontWeight:600,color:`#ffffff`},children:`Read more`}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18,color:`#ffffff`},children:`chevron_right`})]})]})]})}function ja({hit:e,onOpen:t}){let n=e.image||e.thumbnail||e.cover_image||e.thumbnail_url,r=e.jem_id??e.id??ka(e.objectID),i=e.event??e.events?.[0]?.name??e.topic??``,a=e.date?.hebrew_date??e.hebrew_date??``;return(0,q.jsxs)(`div`,{onClick:()=>t?t():null,style:{background:`#272b2b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,overflow:`hidden`,cursor:`pointer`,transition:`opacity 0.15s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`0.85`},onMouseLeave:e=>{e.currentTarget.style.opacity=`1`},children:[(0,q.jsx)(`div`,{style:{aspectRatio:`318/212`,position:`relative`,background:`#1a1d1d`},children:n&&(0,q.jsx)(`img`,{src:n,alt:``,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,objectFit:`cover`}})}),(0,q.jsxs)(`div`,{style:{padding:`10px 14px`,display:`flex`,flexDirection:`column`,gap:6},children:[(0,q.jsx)(`div`,{style:{fontSize:11,color:`rgba(255,255,255,0.7)`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},children:[r,i,a].filter(Boolean).join(` | `)}),(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:2},children:[(0,q.jsx)(`span`,{style:{fontSize:14,fontWeight:600,color:`#ffffff`},children:`View photo`}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`#ffffff`},children:`chevron_right`})]})]})]})}function Ma({url:e,onClose:t}){let[n,r]=(0,v.useState)(!1),i=`https://wa.me/?text=${encodeURIComponent(e)}`,a=`mailto:?subject=JEM Photo&body=${encodeURIComponent(e)}`;return(0,q.jsx)(`div`,{onClick:t,style:{position:`fixed`,inset:0,zIndex:1100,background:`rgba(0,0,0,0.6)`,backdropFilter:`blur(10px)`,display:`flex`,alignItems:`center`,justifyContent:`center`,padding:24,fontFamily:`var(--font-body)`},children:(0,q.jsxs)(`div`,{onClick:e=>e.stopPropagation(),style:{background:`#181b1b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:20,padding:`28px 28px 24px`,maxWidth:380,width:`100%`,display:`flex`,flexDirection:`column`,gap:20,boxShadow:`0 24px 64px rgba(0,0,0,0.7)`},children:[(0,q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,q.jsx)(`div`,{style:{fontSize:17,fontWeight:700,color:`white`},children:`Share Photo`}),(0,q.jsx)(`button`,{onClick:t,style:{background:`rgba(255,255,255,0.06)`,border:`none`,color:`#b3b3b3`,cursor:`pointer`,width:30,height:30,borderRadius:8,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:18},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`close`})})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,background:`#272b2b`,borderRadius:10,padding:`10px 14px`},children:[(0,q.jsx)(`span`,{style:{flex:1,fontSize:12,color:`#b3b3b3`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:e}),(0,q.jsx)(`button`,{onClick:()=>{navigator.clipboard?.writeText(e).then(()=>{r(!0),setTimeout(()=>r(!1),2e3)})},style:{flexShrink:0,background:n?`rgba(74,222,128,0.15)`:`rgba(255,255,255,0.08)`,border:`1px solid ${n?`rgba(74,222,128,0.3)`:`rgba(255,255,255,0.1)`}`,color:n?`#4ade80`:`white`,borderRadius:6,padding:`4px 10px`,curs
13or:`pointer`,fontSize:12,fontWeight:600,transition:`all 0.15s`},children:n?`Copied!`:`Copy`})]}),(0,q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`1fr 1fr`,gap:10},children:[(0,q.jsxs)(`a`,{href:i,onClick:e=>{e.preventDefault(),Ra(i)},style:{display:`flex`,alignItems:`center`,justifyContent:`center`,gap:8,padding:`13px`,borderRadius:12,background:`#25D366`,color:`white`,textDecoration:`none`,fontSize:14,fontWeight:600,transition:`opacity 0.15s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`0.85`},onMouseLeave:e=>{e.currentTarget.style.opacity=`1`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18},children:`chat`}),` WhatsApp`]}),(0,q.jsxs)(`a`,{href:a,style:{display:`flex`,alignItems:`center`,justifyContent:`center`,gap:8,padding:`13px`,borderRadius:12,background:`rgba(255,255,255,0.06)`,border:`1px solid rgba(255,255,255,0.1)`,color:`white`,textDecoration:`none`,fontSize:14,fontWeight:600,transition:`opacity 0.15s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`0.85`},onMouseLeave:e=>{e.currentTarget.style.opacity=`1`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18},children:`mail`}),` Email`]})]})]})})}function Na({hits:e,initialIndex:t,onClose:n}){let[r,i]=(0,v.useState)(t),[a,o]=(0,v.useState)(!1),[s,c]=(0,v.useState)(!1),[l,u]=(0,v.useState)(null),[d,f]=(0,v.useState)(null),p=e[r],m=p.jem_id??p.id??ka(p.objectID),h=p.image||p.thumbnail||p.cover_image||p.thumbnail_url,g=p.date?.hebrew_date||p.hebrew_date,_=p.event??p.events?.[0]?.name??p.topic??``,y=`https://photos.jemedia.org/share/${m}`;return(0,v.useEffect)(()=>{let t=t=>{t.key===`ArrowLeft`&&i(e=>Math.max(0,e-1)),t.key===`ArrowRight`&&i(t=>Math.min(e.length-1,t+1)),t.key===`Escape`&&(a?o(!1):n())};return window.addEventListener(`keydown`,t),()=>window.removeEventListener(`keydown`,t)},[e.length,n,a]),(0,q.jsxs)(`div`,{style:{position:`fixed`,inset:0,zIndex:1e3,background:`rgba(0,0,0,0.97)`,display:`flex`,flexDirection:`column`,fontFamily:`var(--font-body)`},children:[(0,q.jsx)(`style`,{children:` 14 .pg-meta-head { display: flex; flex-direction: column; alignItems: center; gap: 4px; } 15 .pg-meta-foot { display: none; } 16 .pg-desktop-buttons { display: flex; align-items: center; gap: 12px; } 17 .pg-mobile-menu-btn { display: none; } 18 .pg-mobile-top-bar { display: none; } 19 .pg-desktop-numbers { display: inline-block; } 20 @media (max-width: 768px) { 21 .pg-meta-head { display: none !important; } 22 .pg-meta-foot { display: flex !important; flex-direction: column; gap: 8px; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.07); } 23 .pg-desktop-buttons { display: none !important; } 24 .pg-mobile-menu-btn { display: none !important; } 25 .pg-desktop-numbers { display: none !important; } 26 .pg-mobile-top-bar { display: flex !important; justify-content: space-between; align-items: center; padding: 10px 20px; border-bottom: 1px solid rgba(255,255,255,0.07); } 27 } 28 `}),(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:`14px 20px`,borderBottom:`1px solid rgba(255,255,255,0.07)`,flexShrink:0,gap:10},children:[(0,q.jsx)(`div`,{style:{flex:1,display:`flex`},children:(0,q.jsxs)(`button`,{onClick:n,style:{background:`rgba(255,255,255,0.06)`,border:`none`,color:`white`,cursor:`pointer`,padding:`7px 14px`,borderRadius:8,fontSize:13,fontWeight:600,display:`flex`,alignItems:`center`,gap:6},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`arrow_back`}),` Close`]})}),(0,q.jsxs)(`div`,{className:`pg-meta-head`,children:[(0,q.jsx)(`div`,{style:{fontSize:13,fontWeight:600,color:`white`},children:[m,_,g].filter(Boolean).join(` | `)}),(p.location||p.photographer)&&(0,q.jsxs)(`div`,{style:{fontSize:11,color:`#b3b3b3`,display:`flex`,gap:12},children:[p.location&&(0,q.jsxs)(`span`,{children:[(0,q.jsx)(`span`,{style:{color:`#ffffff`,fontWeight:700},children:`LOCATION`}),` `,p.location]}),p.photographer&&(0,q.jsxs)(`span`,{children:[(0,q.jsx)(`span`,{style:{color:`#ffffff`,fontWeight:700},children:`PHOTOGRAPHER`}),` `,p.photographer]})]})]}),(0,q.jsxs)(`div`,{style:{flex:1,display:`flex`,justifyContent:`flex-end`,alignItems:`center`,gap:12,position:`relative`},children:[(0,q.jsxs)(`span`,{className:`pg-desktop-numbers`,style:{color:`#b3b3b3`,fontSize:13,whiteSpace:`nowrap`},children:[r+1,` / `,e.length]}),(0,q.jsxs)(`div`,{className:`pg-desktop-buttons`,children:[(0,q.jsxs)(`button`,{onClick:()=>Ra(y),style:{display:`flex`,alignItems:`center`,gap:6,background:`rgba(255,255,255,0.06)`,border:`1px solid rgba(255,255,255,0.1)`,color:`white`,padding:`7px 14px`,borderRadius:8,fontSize:13,fontWeight:600,cursor:`pointer`,whiteSpace:`nowrap`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`image`}),` View`]}),(0,q.jsxs)(`button`,{onClick:()=>o(!0),style:{display:`flex`,alignItems:`center`,gap:6,background:`rgba(255,255,255,0.12)`,border:`1px solid rgba(255,255,255,0.3)`,color:`#ffffff`,padding:`7px 14px`,borderRadius:8,fontSize:13,fontWeight:600,cursor:`pointer`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`share`}),` Share`]})]}),` `]})]}),(0,q.jsxs)(`div`,{className:`pg-mobile-top-bar`,style:{position:`relative`},children:[(0,q.jsxs)(`span`,{style:{color:`#b3b3b3`,fontSize:13,whiteSpace:`nowrap`},children:[r+1,` / `,e.length]}),(0,q.jsx)(`button`,{onClick:e=>{e.stopPropagation(),c(e=>!e)},style:{background:`none`,border:`none`,color:`rgba(255,255,255,0.85)`,padding:`4px`,cursor:`pointer`,display:`flex`,alignItems:`center`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:24},children:`more_vert`})}
28),s&&(0,q.jsxs)(`div`,{onClick:e=>e.stopPropagation(),style:{position:`absolute`,top:`100%`,right:20,marginTop:4,zIndex:100,background:`#181b1b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:10,padding:`8px`,display:`flex`,flexDirection:`column`,gap:8,boxShadow:`0 12px 32px rgba(0,0,0,0.6)`,animation:`tabFadeIn 0.18s ease both`,minWidth:160},children:[(0,q.jsxs)(`button`,{onClick:()=>{c(!1),Ra(y)},style:{display:`flex`,alignItems:`center`,gap:8,background:`transparent`,border:`none`,color:`white`,padding:`8px 12px`,fontSize:14,fontWeight:600,cursor:`pointer`,width:`100%`,textAlign:`left`,borderRadius:6},onMouseEnter:e=>e.currentTarget.style.background=`rgba(255,255,255,0.06)`,onMouseLeave:e=>e.currentTarget.style.background=`transparent`,children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`image`}),` View in JEM Photos`]}),(0,q.jsxs)(`button`,{onClick:()=>{c(!1),o(!0)},style:{display:`flex`,alignItems:`center`,gap:8,background:`transparent`,border:`none`,color:`#ffffff`,padding:`8px 12px`,fontSize:14,fontWeight:600,cursor:`pointer`,width:`100%`,textAlign:`left`,borderRadius:6},onMouseEnter:e=>e.currentTarget.style.background=`rgba(255,255,255,0.1)`,onMouseLeave:e=>e.currentTarget.style.background=`transparent`,children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`share`}),` Share`]})]})]}),(0,q.jsxs)(`div`,{onClick:()=>{s?c(!1):n()},onTouchStart:e=>{f(null),u(e.targetTouches[0].clientX)},onTouchMove:e=>f(e.targetTouches[0].clientX),onTouchEnd:()=>{if(!l||!d)return;let t=l-d;t>50&&r<e.length-1&&i(r+1),t<-50&&r>0&&i(r-1)},style:{flex:1,display:`flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,padding:`24px 72px`},children:[(0,q.jsx)(`button`,{onClick:e=>{e.stopPropagation(),i(e=>Math.max(0,e-1))},disabled:r===0,style:{position:`absolute`,left:16,width:44,height:44,borderRadius:`50%`,background:`rgba(255,255,255,0.1)`,border:`none`,color:`white`,cursor:r===0?`default`:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,opacity:r===0?.25:1,fontSize:22},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`chevron_left`})}),h&&(0,q.jsx)(`img`,{src:h,alt:``,onClick:e=>{e.stopPropagation(),s&&c(!1)},style:{maxHeight:`76vh`,maxWidth:`100%`,objectFit:`contain`,borderRadius:6,boxShadow:`0 8px 40px rgba(0,0,0,0.6)`}}),(0,q.jsx)(`button`,{onClick:t=>{t.stopPropagation(),i(t=>Math.min(e.length-1,t+1))},disabled:r===e.length-1,style:{position:`absolute`,right:16,width:44,height:44,borderRadius:`50%`,background:`rgba(255,255,255,0.1)`,border:`none`,color:`white`,cursor:r===e.length-1?`default`:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,opacity:r===e.length-1?.25:1,fontSize:22},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`chevron_right`})})]}),(0,q.jsxs)(`div`,{className:`pg-meta-foot`,children:[(0,q.jsx)(`div`,{style:{fontSize:13,fontWeight:600,color:`white`},children:[m,_,g].filter(Boolean).join(` | `)}),(p.location||p.photographer)&&(0,q.jsxs)(`div`,{style:{fontSize:11,color:`#b3b3b3`,display:`flex`,flexDirection:`column`,gap:4},children:[p.location&&(0,q.jsxs)(`span`,{children:[(0,q.jsx)(`span`,{style:{color:`#ffffff`,fontWeight:700},children:`LOCATION`}),` `,p.location]}),p.photographer&&(0,q.jsxs)(`span`,{children:[(0,q.jsx)(`span`,{style:{color:`#ffffff`,fontWeight:700},children:`PHOTOGRAPHER`}),` `,p.photographer]})]})]}),a&&(0,q.jsx)(Ma,{url:y,onClose:()=>o(!1)})]})}var Pa={Video:`play_circle`,Photos:`image`,Audio:`headphones`,Tools:`build`};function Fa({query:e}){let t=[`Video`,`Photos`,`Audio`,`Tools`],n=e.trim().toLowerCase(),r=n?Ta.filter(e=>e.name.toLowerCase().includes(n)||e.category.toLowerCase().includes(n)):Ta;return(0,q.jsxs)(`div`,{className:`jemtv-tab-content`,style:{flex:1,padding:`32px 24px 64px`,maxWidth:680,margin:`0 auto`,width:`100%`},children:[r.length===0&&(0,q.jsxs)(`div`,{style:{paddingTop:60,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.3},children:`manage_search`}),(0,q.jsx)(`div`,{style:{fontSize:16,fontWeight:700,color:`white`},children:`No platforms match`})]}),t.map(e=>{let t=r.filter(t=>t.category===e);return t.length?(0,q.jsxs)(`div`,{style:{marginBottom:28},children:[(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:7,marginBottom:10},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:14,color:`#ffffff`},children:Pa[e]}),(0,q.jsx)(`span`,{style:{fontSize:10,fontWeight:800,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.14em`},children:e})]}),(0,q.jsx)(`div`,{style:{display:`grid`,gridTemplateColumns:`repeat(2, 1fr)`,gap:8},children:t.map(e=>(0,q.jsxs)(`a`,{href:e.url,onClick:t=>{t.preventDefault(),Ra(e.url)},style:{display:`flex`,alignItems:`center`,gap:12,padding:`12px 16px`,borderRadius:12,background:`rgba(255,255,255,0.04)`,backdropFilter:`blur(12px)`,border:`1px solid rgba(255,255,255,0.07)`,textDecoration:`none`,color:`white`,fontSize:14,fontWeight:500,transition:`all 0.18s cubic-bezier(0.16,1,0.3,1)`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(255,255,255,0.09)`,e.currentTarget.style.borderColor=`rgba(255,255,255,0.14)`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(255,255,255,0.04)`,e.currentTarget.style.borderColor=`rgba(255,255,255,0.07)`},children:[(0,q.jsx)(`span`,{style:{flex:1},children:e.name}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:14,color:`rgba(255,255,255,0.2)`,flexShrink:0},children:`open_in_new`})]},e.url+e.name))})]},e):null})]})}function Ia({hit:e}){let t=`https://videos.jem.tv/documents/${e.id??ka(e.objectID)}`,n=e.image||e.thumbnail||e.cover_image||e.thumbnail_url,r=Ea(e.title||e.name||`Untitled`);return(0,q.jsxs)(`div`,{onClick:()=>Ra(t),style:{background:`#272b2b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,overflow:`hidden`,curs
28or:`pointer`,transition:`opacity 0.15s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`0.85`},onMouseLeave:e=>{e.currentTarget.style.opacity=`1`},children:[(0,q.jsx)(`div`,{style:{aspectRatio:`318/212`,position:`relative`,background:`#1a1d1d`},children:n&&(0,q.jsx)(`img`,{src:n,alt:``,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,objectFit:`cover`}})}),(0,q.jsxs)(`div`,{style:{padding:`10px 14px`,display:`flex`,flexDirection:`column`,gap:6},children:[(0,q.jsx)(`div`,{style:{fontSize:13,fontWeight:600,color:`white`,display:`-webkit-box`,WebkitLineClamp:2,WebkitBoxOrient:`vertical`,overflow:`hidden`},children:r}),(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:2},children:[(0,q.jsx)(`span`,{style:{fontSize:14,fontWeight:600,color:`#ffffff`},children:`Read more`}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`#ffffff`},children:`chevron_right`})]})]})]})}function La({dateObj:e}){let t=`https://videos.jem.tv/dates/day/video?day=${e.hebrew_day}&month=${e.hebrew_month_name}&year=${e.hebrew_year}`,n=e.hebrew_date,r=``;return e.secular_year&&e.secular_month&&e.secular_day&&(r=new Date(e.secular_year,e.secular_month-1,e.secular_day).toLocaleDateString(`en-US`,{month:`long`,day:`numeric`,year:`numeric`})),(0,q.jsxs)(`div`,{onClick:()=>Ra(t),style:{background:`#272b2b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,padding:16,display:`flex`,flexDirection:`column`,gap:16,cursor:`pointer`,transition:`opacity 0.15s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`0.85`},onMouseLeave:e=>{e.currentTarget.style.opacity=`1`},children:[(0,q.jsxs)(`div`,{style:{border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,overflow:`hidden`},children:[(0,q.jsx)(`div`,{style:{background:`#1a1d1d`,aspectRatio:`318/159`,display:`flex`,alignItems:`center`,justifyContent:`center`,position:`relative`},children:e.thumb?(0,q.jsx)(`img`,{src:e.thumb,alt:``,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,objectFit:`cover`}}):(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,color:`rgba(255,255,255,0.05)`},children:`event`})}),(0,q.jsxs)(`div`,{style:{background:`#272b2b`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`rgba(255,255,255,0.75)`},children:`calendar_month`}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`rgba(255,255,255,0.75)`},children:`more_horiz`})]})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8},children:[(0,q.jsx)(`div`,{style:{fontSize:16,fontWeight:600,color:`white`,lineHeight:1.1,letterSpacing:`-0.02em`},children:n}),r&&(0,q.jsx)(`div`,{style:{fontSize:14,color:`rgba(255,255,255,0.75)`,lineHeight:1.3,display:`-webkit-box`,WebkitLineClamp:1,WebkitBoxOrient:`vertical`,overflow:`hidden`},children:r}),(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:2},children:[(0,q.jsx)(`span`,{style:{fontSize:14,fontWeight:600,color:`#ffffff`},children:`Browse videos`}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`#ffffff`},children:`chevron_right`})]})]})]})}function Ra(e){if(e)try{let t=e,n=new URLSearchParams(window.location.search),r=n.get(`in_app`)===`true`,i=window.self!==window.top,a=n.get(`base_url`)||document.referrer;if(i&&r&&a)try{let n=new URL(e,window.location.origin),r=n.pathname+n.search+n.hash;
28t=new URL(r,a).toString(),window.parent.postMessage({type:`JEM_NAVIGATE`,url:r,fullUrl:e},`*`);try{let e=window.parent.document.getElementById(`jsw-t`);e&&(e.checked=!1)}catch{}}catch{}if(!i){window.location.href=t;return}let o=document.createElement(`a`);o.href=t,o.target=r?`_top`:`_self`,document.body.appendChild(o),o.click(),document.body.removeChild(o)}catch{window.location.href=e}}function za({onBack:e}){if(!va())return null;let[t,n]=(0,v.useState)(``),[r,i]=(0,v.useState)(`all`),[a,o]=(0,v.useState)(ya),[s,c]=(0,v.useState)([]),[l,u]=(0,v.useState)(0),[d,f]=(0,v.useState)([]),[p,m]=(0,v.useState)([]),[h,g]=(0,v.useState)(!1),[_,y]=(0,v.useState)(!1),[b,x]=(0,v.useState)(null),[S,C]=(0,v.useState)(null),[w,T]=(0,v.useState)(null),[E,D]=(0,v.useState)(`search`),[O,k]=(0,v.useState)(!1),[A,j]=(0,v.useState)(0),[M,N]=(0,v.useState)(!1),P=(0,v.useRef)(null),ee=(0,v.useRef)(null),F=(0,v.useRef)(ya),I=(0,v.useRef)(null);(0,v.useEffect)(()=>{P.current?.focus()},[]),(0,v.useEffect)(()=>{Pi(``,{},[`type`],0).then(({facets:e})=>{let t=[`Film`,`Short Film`,`Talk`,`Conversation`,`Interview`,`Timeless Moment`,`Full-Length`],n=Object.keys(e?.type||{}).sort((e,n)=>{let r=t.indexOf(e),i=t.indexOf(n);return r!==-1&&i!==-1?r-i:r===-1?i===-1?e.localeCompare(n):1:-1});if(n.length>0){let e=[{id:`all`,label:`All`},...n.map(e=>({id:e,label:e,typeFilter:e}))];F.current=e,o(e)}}).catch(()=>{})},[]);let te=(0,v.useCallback)(async(e,t)=>{let n=e.trim();if(!n){c([]),u(0),f([]),m([]),y(!1),T(null);return}let r=n.match(ba);if(r){let e=`https://videos.jem.tv/video-player?clip=${r[1]}`;x(e),setTimeout(()=>{Ra(e),x(null)},600);return}if(Sa.test(n)){x(`code`);let e=await ea(n);if(e){setTimeout(()=>{Ra(e),x(null)},400);return}x(null)}let i=F.current.find(e=>e.id===t);g(!0),C(null);try{let[e,t,r]=await Promise.all([Vi(n,{filters:i?.typeFilter?`type:"${i.typeFilter}"`:void 0,hitsPerPage:24}),Wi(`documents`,n,12),Wi(`ccdb`,n,12)]);console.log(`[Search] media:`,e.nbHits,`docs:`,t.nbHits,`ccdb:`,r.nbHits),c(e.hits),u(e.nbHits),f(t.hits),m(r.hits),y(!0),T(null)}catch(e){C(e?.message||`Search failed`)}finally{g(!1)}},[]);function ne(e){n(e),clearTimeout(ee.current);let t=Sa.test(e.trim())?1100:350;ee.current=setTimeout(()=>te(e,r),t)}function re(e){i(e),t.trim()&&te(t,e)}function ie(e){if(e.key===`Enter`){Sa.test(t.trim())&&(clearTimeout(ee.current),x(`code`),ea(t).then(e=>{x(null),e?Ra(e):te(t,r)}));return}e.key===`Escape`&&(n(``),c([]),y(!1),C(null))}let L=!!Ca(t),R=Sa.test(t.trim()),ae=(()=>{let e=t.trim().match(wa);if(!e)return null;let[,n,r,i]=e;return{day:n,month:r,year:i,url:`https://videos.jem.tv/dates/day/video?day=${n}&month=${r}&year=${i}`,label:`${n} ${r}, ${i}`}})(),oe=_?[...new Set(s.map(e=>e.topic).filter(Boolean))].slice(0,12):[],se=new Set([`story`,`article`,`document`,`stories`]),z=s.filter(e=>!se.has((e.type||``).toLowerCase())&&!se.has((e._index||``).toLowerCase())),ce=s.filter(e=>se.has((e.type||``).toLowerCase())||se.has((e._index||``).toLowerCase())),le=w?z.filter(e=>e.topic===w):z,B=ae&&Number(ae.year)>=5711&&Number(ae.year)<=5752,ue=[],de=new Set;if(B){let e=`${ae.day} ${ae.month}, ${ae.year}`;de.add(e),ue.push({hebrew_day:ae.day,hebrew_month_name:ae.month,hebrew_year:ae.year,hebrew_date:e})}if(_&&s){let e=t.toLowerCase().trim();s.forEach(t=>{[`released_dates`,`recorded_dates`].forEach(n=>{t[n]&&Array.isArray(t[n])&&t[n].forEach(n=>{if(n.hebrew_date&&n.hebrew_day&&n.hebrew_month_name&&n.hebrew_year){let r=Number(n.hebrew_year);if(r>=5711&&r<=5752&&(e===``||n.hebrew_date.toLowerCase().includes(e))&&!de.has(n.hebrew_date)){de.add(n.hebrew_date);let e=t.image||t.thumbnail||t.cover_image||t.thumbnail_url;ue.push({...n,thumb:e})}}})})})}return(0,q.jsxs)(`div`,{style:{minHeight:`100dvh`,background:`#131515`,color:`white`,display:`flex`,flexDirection:`column`,fontFamily:`var(--font-body)`},children:[(0,q.jsx)(`style`,{children:` 29 @media (max-width: 768px) { 30 .vid-mobile-controls { opacity: 1 !important; pointer-events: auto !important; } 31 .vid-mobile-overlay { background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 60%) !important; } 32 } 33 `}),(0,q.jsx)(`div`,{style:{padding:`32px 24px 0`,display:`flex`,justifyContent:`center`},children:(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:15,background:`#2b2b2b`,border:`1px solid ${L?`#ffffff`:ae?`rgba(100,180,255,0.4)`:`rgba(255,255,255,0.1)`}`,borderRadius:20,padding:`15px 20px`,width:`100%`,maxWidth:800,transition:`border-color 0.2s`},children:[L?(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:22,color:`#ffffff`,flexShrink:0},children:`play_circle`}):ae?(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:20,color:`#64b4ff`,flexShrink:0},children:`calendar_month`}):(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:20,color:`#ffffff`,flexShrink:0},children:`search`}),(0,q.jsx)(`input`,{ref:P,value:t,onChange:e=>ne(e.target.value),onKeyDown:ie,placeholder:`What's on your mind?`,style:{flex:1,background:`none`,border:`none`,outline:`none`,fontSize:16,color:`white`,fontFamily:`var(--font-body)`,minWidth:0}}),h&&(0,q.jsx)(`span`,{className:`material-symbols-rounded ri-spin`,style:{color:`#ffffff`,fontSize:18,flexShrink:0},children:`sync`}
33),t&&!h&&(0,q.jsx)(`button`,{onClick:()=>{n(``),c([]),u(0),f([]),m([]),y(!1),N(!1),P.current?.focus()},style:{background:`none`,border:`none`,color:`rgba(255,255,255,0.3)`,cursor:`pointer`,fontSize:18,padding:0,display:`flex`,alignItems:`center`,flexShrink:0,transition:`color 0.15s`},onMouseEnter:e=>{e.currentTarget.style.color=`rgba(255,255,255,0.7)`},onMouseLeave:e=>{e.currentTarget.style.color=`rgba(255,255,255,0.3)`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`close`})}),E===`search`&&(0,q.jsx)(`button`,{onClick:()=>N(e=>!e),style:{background:M?`rgba(255,255,255,0.15)`:`rgba(255,255,255,0.06)`,border:`1px solid ${M?`rgba(255,255,255,0.35)`:`rgba(255,255,255,0.1)`}`,color:M?`#ffffff`:`rgba(255,255,255,0.5)`,borderRadius:8,cursor:`pointer`,width:32,height:32,display:`flex`,alignItems:`center`,justifyContent:`center`,flexShrink:0,transition:`all 0.18s`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16},children:`tune`})})]})}),(L||R)&&b&&(0,q.jsxs)(`div`,{style:{margin:`12px auto 0`,maxWidth:800,width:`calc(100% - 48px)`,padding:`10px 16px`,borderRadius:12,background:`rgba(255,255,255,0.1)`,border:`1px solid rgba(255,255,255,0.4)`,color:`#ffffff`,fontSize:13,fontWeight:600,display:`flex`,alignItems:`center`,gap:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`open_in_new`}),R?`Opening ${t.trim().toUpperCase()}â¦`:`Opening clip #${t.replace(/^t/i,``)}â¦`]}),(0,q.jsx)(`div`,{style:{display:`flex`,justifyContent:`center`,padding:`20px 24px 0`},children:(0,q.jsx)(`div`,{style:{display:`inline-flex`,gap:2,padding:4,background:`rgba(255,255,255,0.04)`,backdropFilter:`blur(20px)`,WebkitBackdropFilter:`blur(20px)`,border:`1px solid rgba(255,255,255,0.08)`,borderRadius:100,overflowX:`auto`,scrollbarWidth:`none`},children:[[`search`,`Search`,_?l:null],[`documents`,`Documents`,_?d.length:null],[`photos`,`Photos`,_?p.length:null],[`dates`,`Dates`,_?ue.length:null],[`pages`,`Pages`,null]].map(([e,t,n])=>(0,q.jsxs)(`button`,{onClick:()=>D(e),style:{flexShrink:0,background:E===e?`rgba(255,255,255,0.18)`:`transparent`,border:E===e?`1px solid rgba(255,255,255,0.35)`:`1px solid transparent`,borderRadius:100,color:E===e?`#ffffff`:`rgba(255,255,255,0.45)`,padding:`7px 18px`,fontSize:13,fontWeight:600,fontFamily:`var(--font-body)`,cursor:`pointer`,whiteSpace:`nowrap`,transition:`all 0.22s cubic-bezier(0.16,1,0.3,1)`,display:`flex`,alignItems:`center`,gap:6},children:[t,n>0&&(0,q.jsx)(`span`,{style:{background:E===e?`rgba(255,255,255,0.25)`:`rgba(255,255,255,0.12)`,color:E===e?`#ffffff`:`rgba(255,255,255,0.6)`,fontSize:10,fontWeight:800,lineHeight:1,padding:`3px 6px`,borderRadius:100,minWidth:18,textAlign:`center`},children:n>999?`999+`:n})]},e))})}),E===`pages`&&(0,q.jsx)(Fa,{query:t}),E===`dates`&&(0,q.jsxs)(`div`,{className:`jemtv-tab-content`,style:{flex:1,padding:`32px 24px 64px`,maxWidth:1400,margin:`0 auto`,width:`100%`},children:[!_&&!h&&(0,q.jsxs)(`div`,{style:{paddingTop:80,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.2},children:`calendar_month`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8},children:`Search Dates`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Find dates from the JEM archive.`})]}),h&&(0,q.jsxs)(`div`,{style:{paddingTop:60,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded ri-spin`,style:{fontSize:36,display:`block`,marginBottom:12,color:`#ffffff`},children:`sync`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Searchingâ¦`})]}),_&&!h&&ue.length===0&&(0,q.jsxs)(`div`,{style:{paddingTop:80,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.3},children:`manage_search`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8},children:`No dates found`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Try a different search.`})]}),_&&!h&&ue.length>0&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(`div`,{style:{fontSize:12,fontWeight:700,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.1em`,marginBottom:28,display:`flex`,alignItems:`center`,gap:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:14},children:`event`}),ue.length,` date`,ue.length===1?``:`s`,` for "`,t,`"`]}),(0,q.jsx)(`div`,{className:`jemtv-media-grid`,children:ue.map((e,t)=>(0,q.jsx)(La,{dateObj:e},t))})]})]}),E===`documents`&&(0,q.jsxs)(`div`,{className:`jemtv-tab-content`,style:{flex:1,padding:`32px 24px 64px`,maxWidth:1400,margin:`0 auto`,width:`100%`}
33,children:[!_&&!h&&(0,q.jsxs)(`div`,{style:{paddingTop:80,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.2},children:`description`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8},children:`Search Documents`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Find documents from the JEM archive.`})]}),h&&(0,q.jsxs)(`div`,{style:{paddingTop:60,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded ri-spin`,style:{fontSize:36,display:`block`,marginBottom:12,color:`#ffffff`},children:`sync`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Searchingâ¦`})]}),_&&!h&&d.length===0&&(0,q.jsxs)(`div`,{style:{paddingTop:80,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.3},children:`manage_search`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8},children:`No documents found`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Try a different search.`})]}),_&&!h&&d.length>0&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(`div`,{style:{fontSize:12,fontWeight:700,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.1em`,marginBottom:28,display:`flex`,alignItems:`center`,gap:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:14},children:`archive`}),d.length,` result`,d.length===1?``:`s`,` for "`,t,`"`]}),(0,q.jsx)(`div`,{className:`jemtv-doc-story`,children:d.map((e,t)=>(0,q.jsx)(Aa,{hit:e},e.objectID||t))}),(0,q.jsx)(`div`,{className:`jemtv-doc-photo`,children:d.map((e,t)=>(0,q.jsx)(Ia,{hit:e},e.objectID||t))})]})]}),E===`photos`&&(0,q.jsxs)(`div`,{className:`jemtv-tab-content`,style:{flex:1,padding:`32px 24px 64px`,maxWidth:1400,margin:`0 auto`,width:`100%`},children:[!_&&!h&&(0,q.jsxs)(`div`,{style:{paddingTop:80,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.2},children:`image`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8},children:`Search Photos`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Find photos from the JEM archive.`})]}),h&&(0,q.jsxs)(`div`,{style:{paddingTop:60,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded ri-spin`,style:{fontSize:36,display:`block`,marginBottom:12,color:`#ffffff`},children:`sync`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Searchingâ¦`})]}),_&&!h&&p.length===0&&(0,q.jsxs)(`div`,{style:{paddingTop:80,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.3},children:`manage_search`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8},children:`No photos found`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Try a different search.`})]}),_&&!h&&p.length>0&&(()=>{let e=p.reduce((e,t)=>{let n=t.date?.hebrew_date||t.hebrew_date||`Unknown Date`;return(e[n]=e[n]||[]).push(t),e},{});return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(`div`,{style:{fontSize:12,fontWeight:700,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.1em`,marginBottom:28,display:`flex`,alignItems:`center`,gap:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:14},children:`archive`}),p.length,` result`,p.length===1?``:`s`,` for "`,t,`"`]}),Object.entries(e).map(([e,t])=>(0,q.jsxs)(`div`,{style:{marginBottom:36},children:[(0,q.jsxs)(`div`,{style:{fontSize:13,fontWeight:700,color:`#ffffff`,letterSpacing:`0.04em`,marginBottom:12,display:`flex`,alignItems:`center`,gap:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:14},children:`calendar_month`}),e,(0,q.jsxs)(`span`,{style:{fontSize:11,color:`#b3b3b3`,fontWeight:500},children:[`(`,t.length,`)`]})]}),(0,q.jsx)(`div`,{className:`jemtv-media-grid`,children:t.map((e,t)=>(0,q.jsx)(ja,{hit:e,onOpen:()=>{j(p.indexOf(e)),k(!0)}},e.objectID||t))})]},e))]})})()]}),E===`search`&&(0,q.jsxs)(`div`,{className:`jemtv-tab-content`,style:{flex:1,padding:`32px 24px 64px`,maxWidth:1400,margin:`0 auto`,width:`100%`},children:[h&&(0,q.jsxs)(`div`,{style:{paddingTop:60,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded ri-spin`,style:{fontSize:36,display:`block`,marginBottom:12,color:`#ffffff`},children:`sync`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Searchingâ¦`})]}
33),S&&(0,q.jsxs)(`div`,{style:{margin:`24px 0`,padding:`14px 18px`,borderRadius:12,background:`rgba(239,68,68,0.1)`,border:`1px solid rgba(239,68,68,0.3)`,color:`#fca5a5`,fontSize:13,fontWeight:600,display:`flex`,alignItems:`center`,gap:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`error`}),S]}),!_&&!h&&!t&&(0,q.jsxs)(`div`,{style:{paddingTop:80,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.2},children:`search`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8},children:`Search JEM.TV`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Find videos, talks, and programs from the JEM archive.`})]}),_&&!h&&s.length===0&&(0,q.jsxs)(`div`,{style:{paddingTop:80,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.3},children:`manage_search`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8},children:`0 results found`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Try a different search or change the filter.`})]}),_&&!h&&s.length>0&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:16,flexWrap:`wrap`},children:(0,q.jsxs)(`div`,{style:{fontSize:12,fontWeight:700,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.1em`,display:`flex`,alignItems:`center`,gap:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:14},children:`archive`}),l.toLocaleString(),` result`,l===1?``:`s`,` for "`,t,`"`]})}),M&&(0,q.jsxs)(`div`,{style:{marginBottom:20,position:`relative`,display:`flex`,alignItems:`center`},children:[(0,q.jsx)(`div`,{ref:I,style:{display:`flex`,gap:6,overflowX:`auto`,scrollbarWidth:`none`,flex:1,paddingRight:8},children:a.map(e=>(0,q.jsx)(`button`,{onClick:()=>re(e.id),style:{flexShrink:0,padding:`0 12px`,height:30,borderRadius:7,border:`none`,cursor:`pointer`,fontSize:13,fontWeight:600,fontFamily:`var(--font-body)`,background:r===e.id?`#ffffff`:`rgba(255,255,255,0.07)`,color:r===e.id?`#000`:`rgba(255,255,255,0.7)`,transition:`all 0.15s`},children:e.label},e.id))}),(0,q.jsx)(`div`,{style:{position:`absolute`,right:32,top:0,bottom:0,width:48,background:`linear-gradient(to right, transparent, #131515)`,pointerEvents:`none`}}),(0,q.jsx)(`button`,{onClick:()=>I.current?.scrollBy({left:160,behavior:`smooth`}),style:{flexShrink:0,width:28,height:28,borderRadius:7,background:`rgba(255,255,255,0.06)`,border:`1px solid rgba(255,255,255,0.1)`,color:`rgba(255,255,255,0.6)`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16},children:`chevron_right`})})]}),oe.length>0&&(0,q.jsx)(`div`,{style:{marginBottom:24},children:(0,q.jsxs)(`div`,{style:{display:`flex`,gap:8,flexWrap:`wrap`},children:[w&&(0,q.jsx)(`button`,{onClick:()=>T(null),style:{padding:`8px 16px`,borderRadius:34,border:`1px solid rgba(255,255,255,0.2)`,background:`#ffffff`,color:`#000`,fontSize:13,fontWeight:600,cursor:`pointer`,fontFamily:`var(--font-body)`},children:`All Ã`}),oe.map(e=>(0,q.jsx)(`button`,{onClick:()=>T(w===e?null:e),style:{padding:`8px 16px`,borderRadius:34,border:`none`,background:w===e?`#ffffff`:`rgba(255,255,255,0.08)`,color:w===e?`#000`:`white`,fontSize:13,fontWeight:600,cursor:`pointer`,fontFamily:`var(--font-body)`,transition:`all 0.15s`},children:e},e))]})}),le.length>0&&(0,q.jsx)(`div`,{className:`jemtv-media-grid`,children:le.map((e,t)=>(0,q.jsx)(Da,{hit:e},e.objectID||t))}),ce.length>0&&(0,q.jsxs)(`div`,{style:{marginTop:48},children:[(0,q.jsx)(`div`,{style:{fontSize:26,fontWeight:700,color:`white`,letterSpacing:`-0.02em`,marginBottom:20},children:`Stories`}),(0,q.jsx)(`div`,{style:{display:`flex`,gap:16,flexWrap:`wrap`},children:ce.map((e,t)=>(0,q.jsx)(Oa,{hit:e},e.objectID||t))})]})]})]}),b&&(0,q.jsx)(`div`,{style:{position:`fixed`,inset:0,zIndex:999,background:`rgba(10,12,12,0.92)`,backdropFilter:`blur(16px)`,display:`flex`,alignItems:`center`,justifyContent:`center`,animation:`fadeIn 0.3s ease-out`},children:(0,q.jsxs)(`div`,{style:{background:`linear-gradient(145deg, #1d2020 0%, #151818
33100%)`,borderRadius:24,padding:`56px 64px`,textAlign:`center`,border:`1px solid rgba(255,255,255,0.1)`,boxShadow:`0 32px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05)`,display:`flex`,flexDirection:`column`,alignItems:`center`,gap:24,maxWidth:`90%`,width:440},children:[(0,q.jsx)(`div`,{style:{width:80,height:80,borderRadius:`50%`,background:`rgba(255,255,255,0.12)`,border:`2px solid rgba(255,255,255,0.25)`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 0 30px rgba(255,255,255,0.1)`},children:(0,q.jsx)(`i`,{className:`ri-play-fill`,style:{fontSize:36,color:`#ffffff`,marginLeft:4}})}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8},children:[(0,q.jsx)(`div`,{style:{fontSize:13,fontWeight:800,color:`#ffffff`,letterSpacing:`0.2em`,textTransform:`uppercase`,opacity:.9},children:`JEM.TV`}),(0,q.jsx)(`div`,{style:{fontSize:24,fontWeight:700,color:`white`,letterSpacing:`-0.02em`},children:b===`code`?`Opening ${t.trim().toUpperCase()}`:`Opening clip #${t.replace(/^t/i,``)}`}),(0,q.jsx)(`div`,{style:{fontSize:16,color:`rgba(255,255,255,0.6)`,fontWeight:400},children:`Redirecting to videos.jem.tvâ¦`})]}),(0,q.jsx)(`div`,{style:{marginTop:8,width:`100%`,height:3,background:`rgba(255,255,255,0.05)`,borderRadius:2,overflow:`hidden`,position:`relative`},children:(0,q.jsx)(`div`,{style:{position:`absolute`,inset:0,background:`#ffffff`,width:`100%`,animation:`progressAnim 0.6s linear infinite forwards`,transformOrigin:`left`}})})]})}),O&&p.length>0&&(0,q.jsx)(Na,{hits:p,initialIndex:A,onClose:()=>k(!1)})]})}var Ba=[{id:`all`,label:`All`},{id:`Film`,label:`Film`,typeFilter:`type:Film`},{id:`Short Film`,label:`Short Film`,typeFilter:`type:"Short Film"`},{id:`Talk`,label:`Talk`,typeFilter:`(type:"LT Sicha" OR type:"Farbrengen Sicha")`},{id:`Conversation`,label:`Conversation`,typeFilter:`type:"LT Eye to Eye"`},{id:`Interview`,label:`Interview`,typeFilter:`type:"LT My Encounter"`},{id:`Timeless Moment`,label:`Timeless Moment`,typeFilter:`type:"LT Timeless Moment"`},{id:`Full-Length`,label:`Full-Length`,typeFilter:`type:"Full-Length Footage"`}],Va={Film:`Film`,"Short Film":`Short Film`,"LT Sicha":`Talk`,"Farbrengen Sicha":`Talk`,"LT Eye to Eye":`Conversation`,"LT My Encounter":`Interview`,"LT Timeless Moment":`Timeless Moment`,"Full-Length Footage":`Full-Length`},Ha=/^t(\d+)$/i,Ua=/^[ACIST]\d{1,4}[A-Z]?$/i;function Wa(e){let t=(e||``).trim().match(Ha);return t?`https://videos.jem.tv/video-player?clip=${t[1]}`:null}function Ga(e){return e?e.replace(/<[^>]*>?/gm,``).replace(/ /g,` `):``}function Ka({hit:e}){let[t,n]=(0,v.useState)(!1),r=na(e),i=e.image||e.thumbnail||e.cover_image,a=Ga(e.title||e.name||`Untitled`),o=Ga(e.description||e.summary||``),s=[Va[e.type]||e.type,e.topic,e.hebrewMonth].filter(Boolean).join(` ⢠`).toUpperCase(),c=e.duration?Math.floor(e.duration/1e3):null,l=c?`${Math.floor(c/3600)>0?Math.floor(c/3600)+`:`:``}${String(Math.floor(c%3600/60)).padStart(2,`0`)}:${String(c%60).padStart(2,`0`)}`:null,u=e=>{e.preventDefault(),e.stopPropagation(),n(!t)},d=e.recorded_dates?.[0],f=d?`${d.hebrew_date} ⢠${new Date(d.secular_year,d.secular_month-1,d.secular_day).toLocaleDateString(`en-US`,{month:`long`,day:`numeric`,year:`numeric`})}`:`â`,p=e.events?.[0]?.name||`â`,m=(e.keywords||e.search?.keywords_relevancy_3||[]).map(e=>e.name).join(` ⢠`)||e.topic||`â`,h=e.released_dates?.[0],g=h?`${h.hebrew_date} ⢠${new Date(h.secular_year,h.secular_month-1,h.secular_day).toLocaleDateString(`en-US`,{month:`long`,day:`numeric`,year:`numeric`})}`:`â`;return(0,q.jsxs)(`a`,{href:r,onClick:e=>{e.preventDefault(),e.stopPropagation(),Ya(r)},target:`_top`,style:{display:`flex`,flexDirection:`column`,cursor:r?`pointer`:`default`,padding:`16px 0`,borderBottom:`1px solid rgba(255,255,255,0.07)`,transition:`background 0.2s`,textDecoration:`none`,color:`inherit`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(255,255,255,0.02)`},onMouseLeave:e=>{e.currentTarget.style.background=`transparent`},children:[(0,q.jsxs)(`div`,{style:{display:`flex`,gap:15,alignItems:`flex-start`},children:[(0,q.jsxs)(`div`,{style:{width:335,height:188,borderRadius:5,flexShrink:0,background:`#272b2b`,position:`relative`,overflow:`hidden`}
33,children:[i&&(0,q.jsx)(`img`,{src:i,alt:``,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,objectFit:`cover`}}),l&&(0,q.jsx)(`div`,{style:{position:`absolute`,bottom:10,right:10,background:`rgba(255,255,255,0.75)`,borderRadius:5,padding:`6px 7px`,fontSize:12,fontWeight:700,color:`#000`,letterSpacing:.12},children:l})]}),(0,q.jsxs)(`div`,{style:{flex:1,minWidth:0,display:`flex`,flexDirection:`column`,gap:4},children:[(0,q.jsx)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:s&&(0,q.jsx)(`div`,{style:{fontSize:12,fontWeight:700,color:`#b3b3b3`,letterSpacing:`0.1em`,textTransform:`uppercase`,lineHeight:`16px`},children:s})}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,lineHeight:`24px`,letterSpacing:.1},children:a}),!t&&o&&(0,q.jsx)(`div`,{style:{fontSize:15,fontWeight:400,color:`#b3b3b3`,lineHeight:`22px`,display:`-webkit-box`,WebkitLineClamp:3,WebkitBoxOrient:`vertical`,overflow:`hidden`,marginBottom:8},children:o}),(0,q.jsx)(`button`,{onClick:u,style:{background:`rgba(255,255,255,0.08)`,border:`none`,color:`white`,cursor:`pointer`,width:32,height:32,borderRadius:8,display:`flex`,alignItems:`center`,justifyContent:`center`,alignSelf:`flex-start`,marginTop:t?0:4},children:t?(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:20},children:`remove`}):(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:20},children:`add`})})]})]}),t&&(0,q.jsxs)(`div`,{style:{marginTop:20,display:`flex`,flexDirection:`column`,gap:20},children:[(0,q.jsx)(`div`,{style:{fontSize:15,color:`#b3b3b3`,lineHeight:`24px`,fontWeight:400,maxWidth:1e3},children:e.long_description||e.description||``}),(0,q.jsxs)(`div`,{style:{borderTop:`1px solid rgba(255,255,255,0.07)`,borderBottom:`1px solid rgba(255,255,255,0.07)`,padding:`20px 0`,display:`grid`,gridTemplateColumns:`1fr 1fr`,gap:`24px 40px`},children:[(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:6},children:[(0,q.jsx)(`div`,{style:{fontSize:11,fontWeight:800,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.12em`},children:`Date`}),(0,q.jsx)(`div`,{style:{fontSize:14,color:`white`,fontWeight:500},children:f})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:6},children:[(0,q.jsx)(`div`,{style:{fontSize:11,fontWeight:800,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.12em`},children:`Event`}),(0,q.jsx)(`div`,{style:{fontSize:14,color:`white`,fontWeight:500},children:p})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:6,gridColumn:`span 2`},children:[(0,q.jsx)(`div`,{style:{fontSize:11,fontWeight:800,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.12em`},children:`Related Topics`}),(0,q.jsx)(`div`,{style:{fontSize:14,color:`white`,fontWeight:500,lineHeight:1.4},children:m})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:6},children:[(0,q.jsx)(`div`,{style:{fontSize:11,fontWeight:800,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.12em`},children:`Released Date`}),(0,q.jsx)(`div`,{style:{fontSize:14,color:`white`,fontWeight:500},children:g})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:6},children:[(0,q.jsx)(`div`,{style:{fontSize:11,fontWeight:800,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.12em`},children:`Video Type`}),(0,q.jsx)(`div`,{style:{fontSize:14,color:`white`,fontWeight:500},children:e.type||`â`})]})]})]})]})}function qa({hit:e}){let[t,n]=(0,v.useState)(!1),r=na(e),i=e.image||e.thumbnail||e.cover_image,a=Ga(e.title||e.name||`Untitled`),o=Ga(e.description||e.summary||``),s=[Va[e.type]||e.type,e.topic].filter(Boolean).join(` ⢠`).toUpperCase(),c=e=>{e.preventDefault(),e.stopPropagation(),n(!t)},l=e.recorded_dates?.[0],u=l?`${l.hebrew_date} ⢠${new Date(l.secular_year,l.secular_month-1,l.secular_day).toLocaleDateString(`en-US`,{month:`short`,day:`numeric`,year:`numeric`})}`:`â`,d=e.events?.[0]?.name||`â`,f=(e.keywords||e.search?.keywords_relevancy_3||[]).map(e=>e.name).join(` ⢠`)||e.topic||`â`,p=e.released_dates?.[0],m=p?`${p.hebrew_date} ⢠${new Date(p.secular_year,p.secular_month-1,p.secular_day).toLocaleDateString(`en-US`,{month:`short`,day:`numeric`,year:`numeric`})}`:`â`;return(0,q.jsxs)(`a`,{href:r,onClick:e=>{e.preventDefault(),e.stopPropagation(),Ya(r)},target:`_top`,style:{borderTop:`1px solid rgba(255,255,255,0.07)`,padding:`15px 0`,display:`flex`,flexDirection:`column`,cursor:r?`pointer`:`default`,transition:`background 0.2s`,textDecoration:`none`,color:`inherit`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(255,255,255,0.02)`},onMouseLeave:e=>{e.currentTarget.style.background=`transparent`},children:[(0,q.jsxs)(`div`,{style:{display:`flex`,gap:10,alignItems:`flex-start`},children:[(0,q.jsx)(`div`,{style:{width:131,height:74,borderRadius:5,flexShrink:0,background:`#272b2b`,position:`relative`,overflow:`hidden`},children:i&&(0,q.jsx)(`img`,{src:i,alt:``,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,objectFit:`cover`,borderRadius:5}})}),(0,q.jsxs)(`div`,{style:{flex:1,minWidth:0,display:`flex`,flexDirection:`column`,gap:2},children:[(0,q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`}
33,children:[s&&(0,q.jsx)(`div`,{style:{fontSize:11,fontWeight:700,color:`#b3b3b3`,letterSpacing:`0.1em`,textTransform:`uppercase`,lineHeight:`16px`},children:s}),(0,q.jsx)(`button`,{onClick:c,style:{background:`none`,border:`none`,color:`#b3b3b3`,cursor:`pointer`,padding:4,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:20,opacity:.7},children:`more_vert`})})]}),(0,q.jsx)(`div`,{style:{fontSize:15,fontWeight:700,color:`white`,lineHeight:`20px`,display:`-webkit-box`,WebkitLineClamp:t?`none`:2,WebkitBoxOrient:`vertical`,overflow:`hidden`},children:a}),o&&!t&&(0,q.jsx)(`div`,{style:{fontSize:13,fontWeight:400,color:`#b3b3b3`,lineHeight:`18px`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`,marginBottom:4},children:o})]})]}),t&&(0,q.jsxs)(`div`,{style:{marginTop:15,display:`flex`,flexDirection:`column`,gap:15},children:[(0,q.jsx)(`div`,{style:{fontSize:14,color:`#b3b3b3`,lineHeight:`22px`,fontWeight:400},children:e.long_description||e.description||``}),(0,q.jsxs)(`div`,{style:{borderTop:`1px solid rgba(255,255,255,0.07)`,paddingTop:15,display:`flex`,flexDirection:`column`,gap:12},children:[(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:2},children:[(0,q.jsx)(`div`,{style:{fontSize:10,fontWeight:800,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.1em`},children:`Date`}),(0,q.jsx)(`div`,{style:{fontSize:13,color:`white`},children:u})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:2},children:[(0,q.jsx)(`div`,{style:{fontSize:10,fontWeight:800,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.1em`},children:`Event`}),(0,q.jsx)(`div`,{style:{fontSize:13,color:`white`},children:d})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:2},children:[(0,q.jsx)(`div`,{style:{fontSize:10,fontWeight:800,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.1em`},children:`Related Topics`}),(0,q.jsx)(`div`,{style:{fontSize:13,color:`white`,lineHeight:1.4},children:f})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:2},children:[(0,q.jsx)(`div`,{style:{fontSize:10,fontWeight:800,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.1em`},children:`Released Date`}),(0,q.jsx)(`div`,{style:{fontSize:13,color:`white`},children:m})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:2},children:[(0,q.jsx)(`div`,{style:{fontSize:10,fontWeight:800,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.1em`},children:`Video Type`}),(0,q.jsx)(`div`,{style:{fontSize:13,color:`white`},children:e.type||`â`})]})]})]})]})}function Ja({hit:e}){let t=na(e),n=e.image||e.thumbnail||e.cover_image,r=Ga(e.title||e.name||`Untitled`),i=Ga(e.description||e.summary||``);return(0,q.jsxs)(`a`,{href:t,onClick:e=>{e.preventDefault(),e.stopPropagation(),Ya(t)},target:`_top`,style:{flex:`1 0 0`,minWidth:150,background:`#272b2b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,padding:16,display:`flex`,flexDirection:`column`,gap:16,cursor:t?`pointer`:`default`,transition:`opacity 0.15s`,textDecoration:`none`,color:`inherit`},onMouseEnter:e=>{e.currentTarget.style.opacity=`0.85`},onMouseLeave:e=>{e.currentTarget.style.opacity=`1`},children:[(0,q.jsxs)(`div`,{style:{border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,overflow:`hidden`},children:[n&&(0,q.jsx)(`div`,{style:{aspectRatio:`318/159`,position:`relative`},children:(0,q.jsx)(`img`,{src:n,alt:``,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,objectFit:`cover`}})}),(0,q.jsxs)(`div`,{style:{background:`#272b2b`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18,color:`rgba(255,255,255,0.75)`},children:`book`}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18,color:`rgba(255,255,255,0.75)`,cursor:`pointer`},onClick:e=>{e.preventDefault(),e.stopPropagation()},children:`more_vert`})]})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8},children:[(0,q.jsx)(`div`,{style:{fontSize:16,fontWeight:600,color:`white`,lineHeight:1.1,letterSpacing:`-0.02em`},children:r}
33),i&&(0,q.jsx)(`div`,{style:{fontSize:16,color:`rgba(255,255,255,0.75)`,lineHeight:1.3,display:`-webkit-box`,WebkitLineClamp:3,WebkitBoxOrient:`vertical`,overflow:`hidden`},children:i}),(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:2},children:[(0,q.jsx)(`span`,{style:{fontSize:16,fontWeight:600,color:`#fc8712`},children:`Read more`}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:20,color:`#fc8712`},children:`chevron_right`})]})]})]})}function Ya(e){if(e)try{let t=new URLSearchParams(window.location.search);t.get(`in_app`);let n=window.self!==window.top;t.get(`base_url`)||document.referrer;let r=e;try{let t=new URL(e,window.location.origin);r=t.pathname+t.search+t.hash}catch{}try{if(n&&(window.parent.postMessage({type:`JEM_NAVIGATE`,url:r,fullUrl:e},`*`),/Android/i.test(navigator.userAgent))){setTimeout(()=>{try{window.top.location.href=e}catch{}},100);return}}catch{}try{window.top.location.href=e}catch{try{let t=document.createElement(`a`);t.href=e,t.target=`_top`,document.body.appendChild(t),t.click(),document.body.removeChild(t)}catch{window.top.location.href=e}}}catch{window.top.location.href=e}}function Xa({onBack:e,baseFilter:t=``,chips:n=Ba,placeholder:r}){let i=va(),[a,o]=(0,v.useState)(``),[s,c]=(0,v.useState)(`all`),[l,u]=(0,v.useState)([]),[d,f]=(0,v.useState)(0),[p,m]=(0,v.useState)(!1),[h,g]=(0,v.useState)(!1),[_,y]=(0,v.useState)(null),[b,x]=(0,v.useState)(null),[S,C]=(0,v.useState)(null),[w,T]=(0,v.useState)(!1),E=(0,v.useRef)(null),D=(0,v.useRef)(null);(0,v.useEffect)(()=>{let e=document.body,t=document.documentElement,n={bodyBg:e.style.backgroundColor,htmlBg:t.style.backgroundColor,bodyOv:e.style.overflow,htmlOv:t.style.overflow,bodyM:e.style.margin,bodyP:e.style.padding,bodyW:e.style.width,htmlW:t.style.width};return e.style.backgroundColor=`transparent`,t.style.backgroundColor=`transparent`,e.style.overflow=`hidden`,t.style.overflow=`hidden`,e.style.margin=`0`,e.style.padding=`0`,e.style.width=`100%`,t.style.width=`100%`,()=>{e.style.backgroundColor=n.bodyBg,t.style.backgroundColor=n.htmlBg,e.style.overflow=n.bodyOv,t.style.overflow=n.htmlOv,e.style.margin=n.bodyM,e.style.padding=n.bodyP,e.style.width=n.bodyW,t.style.width=n.htmlW}},[]),(0,v.useEffect)(()=>{E.current?.focus()},[]);let O=(0,v.useCallback)(async(e,r)=>{let i=e.trim();if(!i){u([]),f(0),g(!1),C(null);return}let a=Wa(i);if(a){y(a),setTimeout(()=>{Ya(a),y(null)},600);return}if(Ua.test(i)){y(`code`);let e=await ea(i);if(e){y(e),setTimeout(()=>{Ya(e),y(null)},400);return}y(null)}let o=[t,n.find(e=>e.id===r)?.typeFilter].filter(Boolean),s=o.length?o.join(` AND `):void 0;m(!0),x(null);try{let e=await Vi(i,{filters:s,hitsPerPage:24});u(e.hits),f(e.nbHits),g(!0),C(null)}catch(e){x(e?.message||`Search failed`)}finally{m(!1)}},[t,n]);function k(e){o(e),clearTimeout(D.current),D.current=setTimeout(()=>O(e,s),1200)}function A(e){c(e),a.trim()&&O(a,e)}function j(e){if(e.key===`Enter`){Ua.test(a.trim())&&(clearTimeout(D.current),O(a,s));return}e.key===`Escape`&&M()}function M(){o(``),u([]),g(!1),x(null),T(!0)}let N=!!Wa(a),P=h?[...new Set(l.map(e=>e.topic).filter(Boolean))].slice(0,12):[],ee=new Set([`story`,`article`,`document`,`stories`]),F=l.filter(e=>!ee.has((e.type||``).toLowerCase())&&!ee.has((e._index||``).toLowerCase())),I=l.filter(e=>ee.has((e.type||``).toLowerCase())||ee.has((e._index||``).toLowerCase())),te=S?F.filter(e=>e.topic===S):F;return i?(0,q.jsxs)(`div`,{style:{width:`100%`,height:w?`40%`:`100dvh`,background:`transparent`,color:`white`,display:`flex`,flexDirection:`column`,fontFamily:`var(--font-body)`,position:`relative`,transition:`height 0.4s cubic-bezier(0.16, 1, 0.3, 1)`},children:[(0,q.jsx)(`header`,{className:`jem-header`,style:{pointerEvents:`auto`},children:(0,q.jsx)(`div`,{className:`jem-header-search`,children:(0,q.jsxs)(`div`,{className:`jem-search-bar`,
33style:{borderColor:N?`#fea438`:`rgba(255,255,255,0.1)`},children:[N?(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:22,color:`#fea438`,flexShrink:0},children:`play_circle`}):(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:22,color:`#fea438`,flexShrink:0},children:`search`}),(0,q.jsx)(`input`,{ref:E,value:a,onChange:e=>{k(e.target.value),w&&T(!1)},onKeyDown:j,placeholder:r||``,autoFocus:!0,style:{flex:1,background:`none`,border:`none`,outline:`none`,fontSize:16,color:`white`,fontFamily:`var(--font-body)`,minWidth:0}}),p&&(0,q.jsx)(`span`,{className:`material-symbols-rounded ri-spin`,style:{color:`#fea438`,fontSize:18,flexShrink:0},children:`sync`})]})})}),(0,q.jsx)(`div`,{className:`widget-filter-bar`,style:{padding:`0 24px 16px`,display:`flex`,gap:8,overflowX:`auto`,scrollbarWidth:`none`,background:`#0a0b0b`,borderBottom:`1px solid rgba(255,255,255,0.05)`,position:`relative`,zIndex:60,pointerEvents:`auto`},children:n.map(e=>(0,q.jsx)(`button`,{onClick:()=>A(e.id),style:{flexShrink:0,padding:`0 12px`,height:32,borderRadius:7,border:`none`,cursor:`pointer`,fontSize:14,fontWeight:600,fontFamily:`var(--font-body)`,background:s===e.id?`#fea438`:`rgba(255,255,255,0.05)`,color:s===e.id?`#000`:`white`,transition:`all 0.15s`},children:e.label},e.id))}),(a||h)&&(0,q.jsx)(`div`,{className:`widget-results-container`,style:{top:110},children:(0,q.jsxs)(`div`,{className:`widget-results-content`,children:[p&&(0,q.jsxs)(`div`,{style:{paddingTop:60,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded ri-spin`,style:{fontSize:36,display:`block`,marginBottom:12,color:`#fea438`},children:`sync`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Searchingâ¦`})]}),b&&(0,q.jsxs)(`div`,{style:{margin:`24px 0`,padding:`14px 18px`,borderRadius:12,background:`rgba(239,68,68,0.1)`,border:`1px solid rgba(239,68,68,0.3)`,color:`#fca5a5`,fontSize:13,fontWeight:600,display:`flex`,alignItems:`center`,gap:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`error`}),b]}),h&&!p&&l.length===0&&(0,q.jsxs)(`div`,{style:{paddingTop:80,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.3},children:`search_off`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8},children:`No results found`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Try a different search or change the filter.`})]}),h&&!p&&l.length>0&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(`div`,{style:{fontSize:12,fontWeight:700,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.1em`,marginBottom:28,display:`flex`,alignItems:`center`,gap:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16},children:`inventory_2`}),d.toLocaleString(),` result`,d===1?``:`s`,` for "`,a,`"`]}),P.length>0&&(0,q.jsxs)(`div`,{style:{marginBottom:32},children:[(0,q.jsx)(`div`,{style:{fontSize:26,fontWeight:700,color:`white`,letterSpacing:`-0.02em`,marginBottom:16},children:`Topics`}),(0,q.jsxs)(`div`,{style:{display:`flex`,gap:10,flexWrap:`wrap`},children:[S&&(0,q.jsx)(`button`,{onClick:()=>C(null),style:{padding:`14px 20px`,borderRadius:34,border:`1px solid rgba(255,255,255,0.2)`,background:`#fea438`,color:`#000`,fontSize:14,fontWeight:600,cursor:`pointer`,fontFamily:`var(--font-body)`},children:`All results Ã`}),P.map(e=>(0,q.jsx)(`button`,{onClick:()=>C(S===e?null:e),style:{padding:`14px 20px`,borderRadius:34,border:`none`,background:S===e?`#fea438`:`white`,color:`#000`,fontSize:14,fontWeight:600,cursor:`pointer`,fontFamily:`var(--font-body)`,transition:`all 0.15s`},children:e},e))]})]}),te.length>0&&(0,q.jsx)(`div`,{className:`jemtv-desktop-list`,children:te.map((e,t)=>(0,q.jsx)(Ka,{hit:e},e.objectID||t))}),te.length>0&&(0,q.jsx)(`div`,{className:`jemtv-mobile-list`,children:te.map((e,t)=>(0,q.jsx)(qa,{hit:e},e.objectID||t))}),I.length>0&&(0,q.jsxs)(`div`,{style:{marginTop:48},children:[(0,q.jsx)(`div`,{style:{fontSize:26,fontWeight:700,color:`white`,letterSpacing:`-0.02em`,marginBottom:20},children:`Stories`}),(0,q.jsx)(`div`,{style:{display:`flex`,gap:16,flexWrap:`wrap`},children:I.map((e,t)=>(0,q.jsx)(Ja,{hit:e},e.objectID||t))})]})]})]})}),_&&(0,q.jsx)(`div`,{style:{position:`fixed`,inset:0,zIndex:999,background:`rgba(10,12,12,0.92)`,backdropFilter:`blur(16px)`,display:`flex`,alignItems:`center`,justifyContent:`center`,animation:`fadeIn 0.3s ease-out`},children:(0,q.jsxs)(`div`,{style:{background:`linear-gradient(145deg, #1d2020 0%, #151818
33100%)`,borderRadius:24,padding:`56px 64px`,textAlign:`center`,border:`1px solid rgba(255,255,255,0.1)`,boxShadow:`0 32px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05)`,display:`flex`,flexDirection:`column`,alignItems:`center`,gap:24,maxWidth:`90%`,width:440},children:[(0,q.jsx)(`div`,{style:{width:80,height:80,borderRadius:`50%`,background:`rgba(254,164,56,0.12)`,border:`2px solid rgba(254,164,56,0.25)`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 0 30px rgba(254,164,56,0.1)`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,color:`#fea438`},children:`play_arrow`})}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8},children:[(0,q.jsx)(`div`,{style:{fontSize:13,fontWeight:800,color:`#fea438`,letterSpacing:`0.2em`,textTransform:`uppercase`,opacity:.9},children:`JEM.TV`}),(0,q.jsxs)(`div`,{style:{fontSize:24,fontWeight:700,color:`white`,letterSpacing:`-0.02em`},children:[`Opening clip #`,a.replace(/^t/i,``)]}),(0,q.jsx)(`div`,{style:{fontSize:16,color:`rgba(255,255,255,0.6)`,fontWeight:400},children:`Redirecting to videos.jem.tvâ¦`})]}),(0,q.jsx)(`div`,{style:{marginTop:8,width:`100%`,height:3,background:`rgba(255,255,255,0.05)`,borderRadius:2,overflow:`hidden`,position:`relative`},children:(0,q.jsx)(`div`,{style:{position:`absolute`,inset:0,background:`#fea438`,width:`100%`,animation:`progressAnim 0.6s linear infinite forwards`,transformOrigin:`left`}})})]})})]}):null}var Za=[{id:`all`,label:`All`}],Qa=[`Film`,`Living Torah`,`Short Film`,`Talk`,`Conversation`,`Interview`,`Timeless Moment`,`Full-Length`];function $a(e){return e.sort((e,t)=>{let n=Qa.indexOf(la(e)),r=Qa.indexOf(la(t));return n!==-1&&r!==-1?n-r:n===-1?r===-1?e.localeCompare(t):1:-1})}function eo(e){let t=(e||[]).filter(Boolean).map(e=>`type:"${String(e).replace(/"/g,``)}"`);if(t.length)return t.length===1?t[0]:`(${t.join(` OR `)})`}function to(e,t,n={}
33){if(!n.typeFilter){let n=[{id:`all`,label:`All`},...e.map(e=>({id:e,label:e}))];return t&&t!==`all`&&!e.includes(t)&&n.push({id:t,label:t}),n}let r=new Map;for(let t of e){let e=la(t)||t;r.has(e)||r.set(e,[]),r.get(e).includes(t)||r.get(e).push(t)}let i=t&&t!==`all`?la(t)||t:null;return i&&!r.has(i)&&r.set(i,[t]),[{id:`all`,label:`All`},...[...r.keys()].sort((e,t)=>{let n=Qa.indexOf(e),r=Qa.indexOf(t);return n!==-1&&r!==-1?n-r:n===-1?r===-1?e.localeCompare(t):1:-1}).map(e=>({id:e,label:e,typeFilter:eo(r.get(e))}))]}var no=/^t(\d+)$/i,ro=/^(\d{1,6})$/,io=/^[ACIST]\d{1,4}[A-Z]?$/i;function J(e){let t=(e||``).trim(),n=t.match(no)||t.match(ro);return n?`https://videos.jem.tv/video-player?clip=${n[1]}`:null}var ao=/^(\d{1,2})\s+(Tishrei|Cheshvan|Kislev|Tevet|Shevat|Adar(?:\s+I{1,2})?|Nissan|Iyar|Sivan|Tammuz|Av|Elul),?\s+(\d{4})$/i,oo=[{name:`JEM.tv`,url:`https://videos.jem.tv`,category:`Video`},{name:`HMS`,url:`https://videos.jem.tv/hms`,category:`Video`},{name:`Sipur Sheli`,url:`https://videos.jem.tv/hms/he`,category:`Video`},{name:`JEMai`,url:`https://videos.jem.tv/jemai`,category:`Video`},{name:`Ohel Broadcast`,url:`https://jem.tv/ohel`,category:`Video`},{name:`JEM Photos`,url:`https://photos.jemedia.org`,category:`Photos`},{name:`Face Recognition`,url:`https://photos.jemedia.org/face-recognition`,category:`Photos`},{name:`Photo Gallery`,url:`https://photos.jemedia.org/index/jem`,category:`Photos`},{name:`Video Stills`,url:`https://photos.jemedia.org/search?query=.&focused=false&filters=%7B%22video_still%22:%5B%22true%22%5D%7D`,category:`Photos`},{name:`Ashreinu`,url:`https://ashreinu.app/events`,category:`Audio`},{name:`JEM Tours`,url:`https://go.jem.tv/tour`,category:`Tools`},{name:`Ohel Live`,url:`https://jem.tv/ohel`,category:`Tools`},{name:`Home`,url:`https://videos.jem.tv/home`,category:`Pages`},{name:`Good Night Player`,url:`https://videos.jem.tv/good-night/player`,category:`Pages`},{name:`Dates`,url:`https://videos.jem.tv/dates`,category:`Pages`},{name:`Search`,url:`https://videos.jem.tv/search`,category:`Pages`},{name:`LT Archive`,url:`https://videos.jem.tv/lt-archive`,category:`Pages`},{name:`Films`,url:`https://videos.jem.tv/films`,category:`Pages`},{name:`Membership`,url:`https://videos.jem.tv/membership`,category:`Pages`},{name:`Farbrengen`,url:`https://videos.jem.tv/farbrengen`,category:`Pages`},{name:`News`,url:`https://videos.jem.tv/news`,category:`Pages`},{name:`×××××¨× × (Mahdorha Beish)`,url:`https://videos.jem.tv/V2`,category:`Pages`},{name:`Date`,url:`https://videos.jem.tv/date`,category:`Pages`},{name:`Good Night Archive`,url:`https://videos.jem.tv/good-night/archive`,category:`Pages`},{name:`Gift Membership`,url:`https://videos.jem.tv/gift/products`,category:`Pages`},{name:`Topics`,url:`https://videos.jem.tv/topics`,category:`Pages`},{name:`5 Teves`,url:`https://videos.jem.tv/5teves`,category:`Pages`},{name:`Chanukah`,url:`https://videos.jem.tv/chanukah`,category:`Pages`},{name:`Tishrei`,url:`https://videos.jem.tv/tishrei`,category:`Pages`},{name:`11 Nissan`,url:`https://videos.jem.tv/11nissan`,category:`Pages`},{name:`Tishrei Explorers`,url:`https://videos.jem.tv/tishrei-explorers`,category:`Pages`},{name:`3 Tammuz`,url:`https://videos.jem.tv/3tammuz`,category:`Pages`},{name:`Light`,url:`https://videos.jem.tv/Light`,category:`Pages`},{name:`Israel`,url:`https://videos.jem.tv/israel`,category:`Pages`},{name:`Purim`,url:`https://videos.jem.tv/Purim`,category:`Pages`},{name:`18 Elul`,url:`https://videos.jem.tv/18elul`,category:`Pages`},{name:`Hanachos`,url:`https://videos.jem.tv/hanachos`,category:`Pages`},{name:`GNMC Dedication`,url:`https://videos.jem.tv/GNMC-dedication`,category:`Pages`},{name:`Basi Legani`,url:`https://videos.jem.tv/basi-legani`,category:`Pages`},{name:`Kinus`,url:`https://videos.jem.tv/kinus`,category:`Pages`},{name:`22 Shevat`,url:`https://videos.jem.tv/22shevat`,category:`Pages`},{name:`CP 3 Tammuz`,url:`https://videos.jem.tv/cp3tammuz`,category:`Pages`},{name:`Tishrei Up Close`,url:`https://videos.jem.tv/tishrei-up-close`,category:`Pages`},{name:`Photo AI`,url:`https://videos.jem.tv/photoai`,category:`Pages`},{name:`10 Shevat`,url:`https://videos.jem.tv/10shevat`,category:`Pages`},{name:`20 Av`,url:`https://videos.jem.tv/20av`,category:`Pages`},{name:`19 Kislev`,url:`https://videos.jem.tv/19kislev`,category:`Pages`},{name:`Lag B'Omer`,url:`https://videos.jem.tv/lag-b'omer`,category:`Pages`},{name:`Purim Katan`,url:`https://videos.jem.tv/purimkatan`,category:`Pages`},{name:`Siyum Harambam`,url:`https://videos.jem.tv/pages/siyum-harambam`,category:`Pages`},{name:`Pesach Sheni`,url:`https://videos.jem.tv/pages/pesach-sheni`,category:`Pages`},{name:`Shavuos`,url:`https://videos.jem.tv/pages/shavuos`,category:`Pages`},{name:`3 Weeks`,url:`https://videos.jem.tv/pages/3-weeks`,category:`Pages`},{name:`Enduring Peace`,url:`https://enduringpeace.org`,category:`Pages`},{name:`Links`,url:`https://videos.jem.tv/pages/links`,category:`Pages`}],so=new Set([`story`,`article`,`document`,`stories`]),co={flex:1,padding:`32px 24px 64px`,maxWidth:1400,margin:`0 auto`,width:`100%`},lo={flex:1,minWidth:0,maxWidth:760},uo={width:`100%`,paddingTop:80,textAlign:`center`,color:`#b3b3b3`},fo={width:`100%`,paddingTop:60,textAlign:`center`,color:`#b3b3b3`};function po({size:e=18,color:t=`#ffffff`,style:n}){return(0,q.jsx)(`span`,{style:{display:`inline-block`,width:e,height:e,borderRadius:`50%`,border:`${Math.max(2,Math.round(e/9))}px solid rgba(255,255,255,0.18)`,borderTopColor:t,animation:`spin 0.8s linear infinite`,flexShrink:0,...n}})}function mo({thumb:e,fallbackIcon:t=`play_circle`}){return e?(0,q.jsx)(`div`,{className:`jemtv-result-thumb`,style:{width:150,aspectRatio:`16/9`,borderRadius:8,overflow:`hidden`,flexShrink:0,background:`#1a1d1d`,position:`relative`},children:(0,q.jsx)(`img`,{src:e,alt:``,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,objectFit:`cover`}})}):(0,q.jsx)(`div`,{className:`jemtv-result-thumb jemtv-result-thumb-fallback`,style:{width:56,height:56,borderRadius:10,flexShrink:0,background:`rgba(255,255,255,0.05)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:24,color:`rgba(255,255,255,0.5)`},children:t})})}function ho({onClick:e}){return(0,q.jsx)(`button`,{type:`button`,onClick:e,className:`jemtv-result-menu`,style:{background:`none`,border:`none`,cursor:`pointer`,padding:4,display:`flex`,alignItems:`center`,flexShrink:0,alignSelf:`center`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:20,color:`rgba(255,255,255,0.55)`},children:`more_horiz`})})}function go(e){return Array.isArray(e.keywords)&&e.keywords.map(e=>
33e?.name??e).filter(Boolean).join(` ⢠`)||null}function _o({rows:e,onClose:t}){let n=e.filter(([,e])=>e);return(0,q.jsxs)(`div`,{onClick:e=>{e.stopPropagation(),t()},style:{position:`absolute`,inset:0,zIndex:50,background:`#181b1b`,borderRadius:4,padding:`14px 16px`,boxShadow:`0 -4px 24px rgba(0,0,0,0.4)`,overflowY:`auto`,display:`flex`,flexDirection:`column`,gap:10,animation:`tabFadeIn 0.18s ease both`,cursor:`default`},children:[n.length===0&&(0,q.jsx)(`div`,{style:{fontSize:13,color:`#b3b3b3`},children:`No details available`}),n.map(([e,t])=>(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:2},children:[(0,q.jsx)(`div`,{style:{fontSize:9,fontWeight:800,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.12em`},children:e}),(0,q.jsx)(`div`,{style:{fontSize:13,color:`white`,fontWeight:500},children:t})]},e))]})}function vo({chips:e,active:t,onChange:n}){let r=(0,v.useRef)(null);return(0,q.jsxs)(`div`,{style:{marginBottom:20,position:`relative`,display:`flex`,alignItems:`center`},children:[(0,q.jsx)(`div`,{ref:r,style:{display:`flex`,gap:6,overflowX:`auto`,scrollbarWidth:`none`,flex:1,paddingRight:8},children:e.map(e=>(0,q.jsx)(`button`,{onClick:()=>n(e.id),style:{flexShrink:0,padding:`0 12px`,height:30,borderRadius:7,border:`none`,cursor:`pointer`,fontSize:13,fontWeight:600,fontFamily:`var(--font-body)`,background:t===e.id?`#ffffff`:`rgba(255,255,255,0.07)`,color:t===e.id?`#000`:`rgba(255,255,255,0.7)`,transition:`all 0.15s`},children:e.label},e.id))}),(0,q.jsx)(`div`,{style:{position:`absolute`,right:32,top:0,bottom:0,width:48,background:`linear-gradient(to right, transparent, #131515)`,pointerEvents:`none`}}),(0,q.jsx)(`button`,{onClick:()=>r.current?.scrollBy({left:160,behavior:`smooth`}),style:{flexShrink:0,width:28,height:28,borderRadius:7,background:`rgba(255,255,255,0.06)`,border:`1px solid rgba(255,255,255,0.1)`,color:`rgba(255,255,255,0.6)`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16},children:`chevron_right`})})]})}var yo=[[`standard`,`Standard`,`search`,`Best overall relevance`],[`exact`,`Exact`,`format_quote`,`Require the whole exact phrase to match`],[`wide`,`Wider`,`travel_explore`,`Blends exact + loose matches & transcripts`],[`path`,`Keywords`,`account_tree`,`Search within keyword topics`]];function bo(e,t){let n=(t||``).trim().toLowerCase();if(!n)return!0;try{let t={...e};return delete t._highlightResult,delete t._snippetResult,delete t._rankingInfo,JSON.stringify(t).toLowerCase().includes(n)}catch{return!0}}function xo({open:e,mode:t,onMode:n,keywords:r,refine:i,onToggleKeyword:a,onReset:o,showWide:s=!0,refineOnlyOnKeywords:c=!1,typeChips:l,typeChip:u,onTypeChip:d}){let f=(0,v.useRef)(null),[p,m]=(0,v.useState)(0);(0,v.useEffect)(()=>{f.current&&m(e?f.current.scrollHeight:0)},[e,r,t,i]),(0,v.useEffect)(()=>{if(!e||!f.current)return;let t=f.current,n=new ResizeObserver(()=>m(t.scrollHeight));return n.observe(t),()=>n.disconnect()},[e]);let h=t!==`standard`||!!i||u&&u!==`all`;return(0,q.jsx)(`div`,{style:{overflow:`hidden`,height:p,opacity:+!!e,marginBottom:e?18:0,transition:`height 0.9s cubic-bezier(0.16,1,0.3,1), opacity 0.7s ease, margin 0.9s cubic-bezier(0.16,1,0.3,1)`},children:(0,q.jsxs)(`div`,{ref:f,style:{background:`linear-gradient(145deg, rgba(254,164,56,0.06), rgba(255,255,255,0.02))`,border:`1px solid rgba(254,164,56,0.18)`,borderRadius:14,padding:16,transform:e?`translateY(0)`:`translateY(-10px)`,transition:`transform 0.9s cubic-bezier(0.16,1,0.3,1)`},children:[(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,marginBottom:12},children:[(0,q.jsx)(`div`,{style:{fontSize:10,fontWeight:800,color:`#fea438`,letterSpacing:`0.14em`,textTransform:`uppercase`},children:`Search depth`}),(0,q.jsxs)(`button`,{type:`button`,onClick:o,disabled:!h,style:{display:`flex`,alignItems:`center`,gap:4,padding:`4px 10px`,borderRadius:100,fontSize:11.5,fontWeight:700,fontFamily:`var(--font-body)`,border:`1px solid rgba(255,255,255,0.14)`,background:`transparent`,color:h?`rgba(255,255,255,0.75)`:`rgba(255,255,255,0.3)`,cursor:h?`pointer`:`default`,transition:`color 0.15s, opacity 0.15s`,opacity:h?1:.6},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:14},children:`restart_alt`}),`Reset`]})]}),l&&l.length>0&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(`div`,{style:{fontSize:10,fontWeight:800,color:`#fea438`,letterSpacing:`0.14em`,textTransform:`uppercase`,margin:`0 0 10px`},children:`Filter by type`}),(0,q.jsx)(`div`,{style:{display:`flex`,gap:8,overflowX:`auto`,scrollbarWidth:`none`,marginBottom:16,paddingBottom:4},children:l.map(e=>{let t=u===e.id;return(0,q.jsx)(`button`,{type:`button`,onClick:()=>d(e.id),style:{padding:`6px 12px`,borderRadius:7,cursor:`pointer`,flexShrink:0,fontSize:12.5,fontWeight:600,fontFamily:`var(--font-body)`,border:`1px solid ${t?`#fea438`:`rgba(255,255,255,0.12)`}`,background:t?`#fea438`:`rgba(255,255,255,0.05)`,color:t?`#131515`:`rgba(255,255,255,0.8)`,transition:`all 0.15s`},children:e.label},e.id)})})]}),(0,q.jsx)(`div`,{className:`jemtv-deep-modes`,style:{display:`flex`,gap:8,flexWrap:`wrap`},children:yo.filter(([e])=>s||e!==`wide`).map(([e,r,i,a])=>{let o=t===e;return(0,q.jsxs)(`button`,{type:`button`,onClick:()=>n(e),title:a,style:{display:`flex`,alignItems:`center`,gap:7,padding:`9px 14px`,borderRadius:10,cursor:`pointer`,textAlign:`left`,fontFamily:`var(--font-body)`,border:`1px solid ${o?`#fea438`:`rgba(255,255,255,0.12)`}`,background:o?`rgba(254,164,56,0.16)`:`rgba(255,255,255,0.03)`,transition:`all 0.22s cubic-bezier(0.16,1,0.3,1)`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18,color:o?`#fea438`:`rgba(255,255,255,0.55)`},children:i}),(0,q.jsx)(`span`,{style:{fontSize:13,fontWeight:700,color:o?`#fea438`:`white`},children:r})]},e)})}),r.length>0&&(!c||t===`path`)&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(`div`,{style:{fontSize:10,fontWeight:800,color:`#fea438`,letterSpacing:`0.14em`,textTransform:`uppercase`,margin:`16px 0 10px`},children:`Refine by topic`}),(0,q.jsx)(`div`,{className:`jemtv-deep-refine`,style:{display:`flex`,gap:8,flexWrap:`wrap`},children:r.map((t,n)=>{let r=i===t.name;return(0,q.jsxs)(`button`,{type:`button`,onClick:()=>a(t.name),style:{display:`flex`,alignItems:`center`,gap:5,padding:`6px 12px`,borderRadius:100,cursor:`pointer`,fontSize:12.5,fontWeight:600,fontFamily:`var(--font-body)`,border:`1px solid ${r?`#fea438`:`rgba(255,255,255,0.12)`}`,background:r?`#fea438`:`rgba(255,255,255,0.05)`,color:r?`#131515`:`rgba(255,255,255,0.8)`,opacity:+!!e,transform:e?`none`:`translateY(8px)`,transition:`opacity 0.7s ease ${.18+n*.05}s, transform 0.75s cubic-bezier(0.16,1,0.3,1) ${.18+n*.05}s, background 0.15s, border-color 0.15s`},children:[r&&(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:15},children:`check`}),t.name,(0,q.jsx)(`span`,{style:{opacity:r?.7:.45,fontWeight:700},children:t.count})]},t.name)}
33)})]})]})})}function So({hit:e}){let[t,n]=(0,v.useState)(!1),r=na(e),i=e.image||e.thumbnail||e.cover_image,a=ra(e.title||e.name||`Untitled`),o=ra(e.description||e.summary||``);return(0,q.jsxs)(`div`,{onClick:()=>Ao(r),style:{flex:`1 0 0`,minWidth:150,position:`relative`,background:`#272b2b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,padding:16,display:`flex`,flexDirection:`column`,gap:16,cursor:r?`pointer`:`default`,transition:`opacity 0.15s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`0.85`},onMouseLeave:e=>{e.currentTarget.style.opacity=`1`},children:[(0,q.jsxs)(`div`,{style:{border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,overflow:`hidden`},children:[i&&(0,q.jsx)(`div`,{style:{aspectRatio:`318/159`,position:`relative`},children:(0,q.jsx)(`img`,{src:i,alt:``,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,objectFit:`cover`}})}),(0,q.jsxs)(`div`,{style:{background:`#272b2b`,display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`rgba(255,255,255,0.75)`},children:`menu_book`}),(0,q.jsx)(`button`,{onClick:e=>{e.stopPropagation(),n(e=>!e)},style:{background:`none`,border:`none`,cursor:`pointer`,padding:0,display:`flex`,alignItems:`center`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`rgba(255,255,255,0.75)`},children:`more_horiz`})})]})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8},children:[(0,q.jsx)(`div`,{style:{fontSize:16,fontWeight:600,color:`white`,lineHeight:1.1,letterSpacing:`-0.02em`},children:a}),o&&(0,q.jsx)(`div`,{style:{fontSize:16,color:`rgba(255,255,255,0.75)`,lineHeight:1.3,display:`-webkit-box`,WebkitLineClamp:3,WebkitBoxOrient:`vertical`,overflow:`hidden`},children:o}),(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:2},children:[(0,q.jsx)(`span`,{style:{fontSize:16,fontWeight:600,color:`#ffffff`},children:`Read more`}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18,color:`#ffffff`},children:`chevron_right`})]})]}),t&&(0,q.jsx)(_o,{onClose:()=>n(!1),rows:[[`Date`,sa(e)],[`Event`,e.events?.[0]?.name],[`Type`,la(e.type)],[`Keywords`,go(e)]]})]})}function Co({hit:e,onOpen:t}){let[n,r]=(0,v.useState)(!1),i=e.image||e.thumbnail||e.cover_image||e.thumbnail_url,a=e.jem_id??e.id??da(e.objectID),o=e.event??e.events?.[0]?.name??e.topic??``,s=e.date?.hebrew_date??e.hebrew_date??``;return(0,q.jsxs)(`div`,{onClick:()=>t?t():null,style:{position:`relative`,background:`#272b2b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,overflow:`hidden`,cursor:`pointer`,transition:`opacity 0.15s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`0.85`},onMouseLeave:e=>{e.currentTarget.style.opacity=`1`},children:[(0,q.jsx)(`div`,{style:{aspectRatio:`318/212`,position:`relative`,background:`#1a1d1d`},children:i&&(0,q.jsx)(`img`,{src:i,alt:``,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,objectFit:`cover`}})}),(0,q.jsxs)(`div`,{style:{padding:`10px 14px`,display:`flex`,flexDirection:`column`,gap:6},children:[(0,q.jsx)(`div`,{style:{fontSize:11,color:`rgba(255,255,255,0.7)`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},children:[a,o,s].filter(Boolean).join(` | `)}),(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`},children:[(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:2},children:[(0,q.jsx)(`span`,{style:{fontSize:14,fontWeight:600,color:`#ffffff`},children:`View photo`}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`#ffffff`},children:`chevron_right`})]}),(0,q.jsx)(`button`,{onClick:e=>{e.stopPropagation(),r(e=>!e)},style:{background:`none`,border:`none`,cursor:`pointer`,padding:0,display:`flex`,alignItems:`center`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18,color:`rgba(255,255,255,0.75)`},children:`more_horiz`})})]})]}),n&&(0,q.jsx)(_o,{onClose:()=>r(!1),rows:[[`ID`,a],[`Date`,s],[`Event`,o],[`Event Type`,e.parent_event_type],[`Location`,e.location],[`Photographer`,e.photographer],[`Keywords`,go(e)]]})]})}function wo({url:e,onClose:t}){let[n,r]=(0,v.useState)(!1),i=`https://wa.me/?text=${encodeURIComponent(e)}`,a=`mailto:?subject=JEM Photo&body=${encodeURIComponent(e)}`;return(0,q.jsx)(`div`,{onClick:t,style:{position:`fixed`,inset:0,zIndex:1100,background:`rgba(0,0,0,0.6)`,backdropFilter:`blur(10px)`,display:`flex`,alignItems:`center`,justifyContent:`center`,padding:24,fontFamily:`var(--font-body)`},children:(0,q.jsxs)(`div`,{onClick:e=>
33e.stopPropagation(),style:{background:`#181b1b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:20,padding:`28px 28px 24px`,maxWidth:380,width:`100%`,display:`flex`,flexDirection:`column`,gap:20,boxShadow:`0 24px 64px rgba(0,0,0,0.7)`},children:[(0,q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,q.jsx)(`div`,{style:{fontSize:17,fontWeight:700,color:`white`},children:`Share Photo`}),(0,q.jsx)(`button`,{onClick:t,style:{background:`rgba(255,255,255,0.06)`,border:`none`,color:`#b3b3b3`,cursor:`pointer`,width:30,height:30,borderRadius:8,display:`flex`,alignItems:`center`,justifyContent:`center`,fontSize:18},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`close`})})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,background:`#272b2b`,borderRadius:10,padding:`10px 14px`},children:[(0,q.jsx)(`span`,{style:{flex:1,fontSize:12,color:`#b3b3b3`,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:e}),(0,q.jsx)(`button`,{onClick:()=>{navigator.clipboard?.writeText(e).then(()=>{r(!0),setTimeout(()=>r(!1),2e3)})},style:{flexShrink:0,background:n?`rgba(74,222,128,0.15)`:`rgba(255,255,255,0.08)`,border:`1px solid ${n?`rgba(74,222,128,0.3)`:`rgba(255,255,255,0.1)`}`,color:n?`#4ade80`:`white`,borderRadius:6,padding:`4px 10px`,cursor:`pointer`,fontSize:12,fontWeight:600,transition:`all 0.15s`},children:n?`Copied!`:`Copy`})]}),(0,q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`1fr 1fr`,gap:10},children:[(0,q.jsxs)(`a`,{href:i,target:`_blank`,rel:`noopener noreferrer`,style:{display:`flex`,alignItems:`center`,justifyContent:`center`,gap:8,padding:`13px`,borderRadius:12,background:`#25D366`,color:`white`,textDecoration:`none`,fontSize:14,fontWeight:600,transition:`opacity 0.15s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`0.85`},onMouseLeave:e=>{e.currentTarget.style.opacity=`1`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18},children:`chat`}),` WhatsApp`]}),(0,q.jsxs)(`a`,{href:a,style:{display:`flex`,alignItems:`center`,justifyContent:`center`,gap:8,padding:`13px`,borderRadius:12,background:`rgba(255,255,255,0.06)`,border:`1px solid rgba(255,255,255,0.1)`,color:`white`,textDecoration:`none`,fontSize:14,fontWeight:600,transition:`opacity 0.15s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`0.85`},onMouseLeave:e=>{e.currentTarget.style.opacity=`1`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18},children:`mail`}),` Email`]})]})]})})}function To({hits:e,initialIndex:t,onClose:n}){let[r,i]=(0,v.useState)(t),[a,o]=(0,v.useState)(!1),[s,c]=(0,v.useState)(!1),[l,u]=(0,v.useState)(null),[d,f]=(0,v.useState)(null),p=e[r],m=p.jem_id??p.id??da(p.objectID),h=p.image||p.thumbnail||p.cover_image||p.thumbnail_url,g=p.date?.hebrew_date||p.hebrew_date,_=p.event??p.events?.[0]?.name??p.topic??``,y=`https://photos.jemedia.org/share/${m}`;return(0,v.useEffect)(()=>{let t=t=>{t.key===`ArrowLeft`&&i(e=>Math.max(0,e-1)),t.key===`ArrowRight`&&i(t=>Math.min(e.length-1,t+1)),t.key===`Escape`&&(a?o(!1):n())};return window.addEventListener(`keydown`,t),()=>window.removeEventListener(`keydown`,t)},[e.length,n,a]),(0,q.jsxs)(`div`,{style:{position:`fixed`,inset:0,zIndex:1e3,background:`rgba(0,0,0,0.97)`,display:`flex`,flexDirection:`column`,fontFamily:`var(--font-body)`},children:[(0,q.jsx)(`style`,{children:` 34 .pg-meta-head { display: flex; flex-direction: column; alignItems: center; gap: 4px; } 35 .pg-meta-foot { display: none; } 36 .pg-desktop-buttons { display: flex; align-items: center; gap: 12px; } 37 .pg-mobile-menu-btn { display: none; } 38 .pg-mobile-top-bar { display: none; } 39 .pg-desktop-numbers { display: inline-block; } 40 @media (max-width: 768px) { 41 .pg-meta-head { display: none !important; } 42 .pg-meta-foot { display: flex !important; flex-direction: column; gap: 8px; padding: 16px 20px; border-top: 1px solid rgba(255,255,255,0.07); } 43 .pg-desktop-buttons { display: none !important; } 44 .pg-mobile-menu-btn { display: none !important; } 45 .pg-desktop-numbers { display: none !important; } 46 .pg-mobile-top-bar { display: flex !important; justify-content: space-between; align-items: center; padding: 10px 20px; border-bottom: 1px solid rgba(255,255,255,0.07); } 47 } 48 `}),(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,justifyContent:`space-between`,padding:`14px 20px`,borderBottom:`1px solid rgba(255,255,255,0.07)`,flexShrink:0,gap:10},children:[(0,q.jsx)(`div`,{style:{flex:1,display:`flex`},children:(0,q.jsxs)(`button`,{onClick:n,style:{background:`transparent`,border:`none`,color:`white`,cursor:`pointer`,padding:`6px 8px`,fontSize:14,fontWeight:600,display:`flex`,alignItems:`center`,gap:6,marginLeft:-8}
48,children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:20},children:`arrow_back`}),` Close`]})}),(0,q.jsxs)(`div`,{className:`pg-meta-head`,children:[(0,q.jsx)(`div`,{style:{fontSize:13,fontWeight:600,color:`white`},children:[m,_,g].filter(Boolean).join(` | `)}),(p.location||p.photographer)&&(0,q.jsxs)(`div`,{style:{fontSize:11,color:`#b3b3b3`,display:`flex`,gap:12},children:[p.location&&(0,q.jsxs)(`span`,{children:[(0,q.jsx)(`span`,{style:{color:`#ffffff`,fontWeight:700},children:`LOCATION`}),` `,p.location]}),p.photographer&&(0,q.jsxs)(`span`,{children:[(0,q.jsx)(`span`,{style:{color:`#ffffff`,fontWeight:700},children:`PHOTOGRAPHER`}),` `,p.photographer]})]})]}),(0,q.jsxs)(`div`,{style:{flex:1,display:`flex`,justifyContent:`flex-end`,alignItems:`center`,gap:12,position:`relative`},children:[(0,q.jsxs)(`span`,{className:`pg-desktop-numbers`,style:{color:`#b3b3b3`,fontSize:13,whiteSpace:`nowrap`},children:[r+1,` / `,e.length]}),(0,q.jsxs)(`div`,{className:`pg-desktop-buttons`,children:[(0,q.jsxs)(`button`,{onClick:()=>Ao(y),style:{display:`flex`,flexDirection:`row`,justifyContent:`center`,alignItems:`center`,padding:`6px 16px`,gap:8,height:32,background:`#FFFFFF`,border:`1px solid rgba(255, 255, 255, 0.1)`,borderRadius:34,color:`#000000`,fontFamily:`var(--font-body)`,fontWeight:600,fontSize:14,cursor:`pointer`,whiteSpace:`nowrap`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18},children:`arrow_outward`}),` View in JEM Photos`]}),(0,q.jsx)(`button`,{onClick:()=>o(!0),style:{display:`flex`,alignItems:`center`,justifyContent:`center`,background:`rgba(255,255,255,0.12)`,border:`1px solid rgba(255,255,255,0.3)`,color:`#ffffff`,width:32,height:32,borderRadius:`50%`,cursor:`pointer`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18},children:`share`})})]}),` `]})]}),(0,q.jsxs)(`div`,{className:`pg-mobile-top-bar`,style:{position:`relative`},children:[(0,q.jsxs)(`span`,{style:{color:`#b3b3b3`,fontSize:13,whiteSpace:`nowrap`},children:[r+1,` / `,e.length]}),(0,q.jsx)(`button`,{onClick:e=>{e.stopPropagation(),c(e=>!e)},style:{background:`none`,border:`none`,color:`rgba(255,255,255,0.85)`,padding:`4px`,cursor:`pointer`,display:`flex`,alignItems:`center`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:24},children:`more_vert`})}),s&&(0,q.jsxs)(`div`,{onClick:e=>e.stopPropagation(),style:{position:`absolute`,top:`100%`,right:20,marginTop:4,zIndex:100,background:`#181b1b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:10,padding:`8px`,display:`flex`,flexDirection:`column`,gap:8,boxShadow:`0 12px 32px rgba(0,0,0,0.6)`,animation:`tabFadeIn 0.18s ease both`,minWidth:160},children:[(0,q.jsxs)(`button`,{onClick:()=>{c(!1),Ao(y)},style:{display:`flex`,alignItems:`center`,gap:8,background:`transparent`,border:`none`,color:`white`,padding:`8px 12px`,fontSize:14,fontWeight:600,cursor:`pointer`,width:`100%`,textAlign:`left`,borderRadius:6},onMouseEnter:e=>e.currentTarget.style.background=`rgba(255,255,255,0.06)`,onMouseLeave:e=>e.currentTarget.style.background=`transparent`,children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`arrow_outward`}),` View in JEM Photos`]}),(0,q.jsxs)(`button`,{onClick:()=>{c(!1),o(!0)},style:{display:`flex`,alignItems:`center`,gap:8,background:`transparent`,border:`none`,color:`#ffffff`,padding:`8px 12px`,fontSize:14,fontWeight:600,cursor:`pointer`,width:`100%`,textAlign:`left`,borderRadius:6},onMouseEnter:e=>e.currentTarget.style.background=`rgba(255,255,255,0.1)`,onMouseLeave:e=>e.currentTarget.style.background=`transparent`,children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`share`}),` Share`]})]})]}),(0,q.jsxs)(`div`,{onClick:()=>{s?c(!1):n()},onTouchStart:e=>{f(null),u(e.targetTouches[0].clientX)},onTouchMove:e=>f(e.targetTouches[0].clientX),onTouchEnd:()=>{if(!l||!d)return;let t=l-d;t>50&&r<e.length-1&&i(r+1),t<-50&&r>0&&i(r-1)},style:{flex:1,display:`flex`,alignItems:`center`,justifyContent:`center`,position:`relative`,padding:`24px 72px`},children:[(0,q.jsx)(`button`,{onClick:e=>{e.stopPropagation(),i(e=>Math.max(0,e-1))},disabled:r===0,style:{position:`absolute`,left:16,width:44,height:44,borderRadius:`50%`,background:`rgba(255,255,255,0.1)`,border:`none`,color:`white`,cursor:r===0?`default`:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,opacity:r===0?.25:1,fontSize:22},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`chevron_left`})}),h&&(0,q.jsx)(`img`,{src:h,alt:``,onClick:e=>{e.stopPropagation(),s&&c(!1)},style:{maxHeight:`76vh`,maxWidth:`100%`,objectFit:`contain`,borderRadius:6,boxShadow:`0 8px 40px rgba(0,0,0,0.6)`}}),(0,q.jsx)(`button`,{onClick:t=>{t.stopPropagation(),i(t=>Math.min(e.length-1,t+1))},disabled:r===e.length-1,style:{position:`absolute`,right:16,width:44,height:44,borderRadius:`50%`,background:`rgba(255,255,255,0.1)`,border:`none`,color:`white`,cursor:r===e.length-1?`default`:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,opacity:r===e.length-1?.25:1,fontSize:22},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`chevron_right`})})]}),(0,q.jsxs)(`div`,{className:`pg-meta-foot`,children:[(0,q.jsx)(`div`,{style:{fontSize:13,fontWeight:600,color:`white`}
48,children:[m,_,g].filter(Boolean).join(` | `)}),(p.location||p.photographer)&&(0,q.jsxs)(`div`,{style:{fontSize:11,color:`#b3b3b3`,display:`flex`,flexDirection:`column`,gap:4},children:[p.location&&(0,q.jsxs)(`span`,{children:[(0,q.jsx)(`span`,{style:{color:`#ffffff`,fontWeight:700},children:`LOCATION`}),` `,p.location]}),p.photographer&&(0,q.jsxs)(`span`,{children:[(0,q.jsx)(`span`,{style:{color:`#ffffff`,fontWeight:700},children:`PHOTOGRAPHER`}),` `,p.photographer]})]})]}),a&&(0,q.jsx)(wo,{url:y,onClose:()=>o(!1)})]})}var Eo={Video:`play_circle`,Photos:`image`,Audio:`headphones`,Tools:`build`,Pages:`link`};function Do({query:e}){let t=[`Video`,`Photos`,`Audio`,`Tools`,`Pages`],n=e.trim().toLowerCase(),r=n?oo.filter(e=>e.name.toLowerCase().includes(n)||e.category.toLowerCase().includes(n)):[];return(0,q.jsx)(`div`,{className:`jemtv-tab-content`,style:co,children:(0,q.jsxs)(`div`,{style:lo,children:[n===``&&(0,q.jsxs)(`div`,{style:{paddingTop:60,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.3},children:`search`}),(0,q.jsx)(`div`,{style:{fontSize:16,fontWeight:700,color:`white`},children:`Search pages and platforms`})]}),r.length===0&&n!==``&&(0,q.jsxs)(`div`,{style:{paddingTop:60,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.3},children:`manage_search`}),(0,q.jsx)(`div`,{style:{fontSize:16,fontWeight:700,color:`white`},children:`No platforms match`})]}),t.map(e=>{let t=r.filter(t=>t.category===e);return t.length?(0,q.jsxs)(`div`,{style:{marginBottom:28},children:[(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:7,marginBottom:10},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:14,color:`#ffffff`},children:Eo[e]}),(0,q.jsx)(`span`,{style:{fontSize:10,fontWeight:800,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.14em`},children:e})]}),(0,q.jsx)(`div`,{className:`jemtv-media-grid`,style:{gap:12},children:t.map(e=>(0,q.jsxs)(`a`,{href:e.url,onClick:t=>{t.preventDefault(),Ao(e.url)},style:{display:`flex`,alignItems:`center`,gap:12,padding:`12px 16px`,borderRadius:12,background:`rgba(255,255,255,0.04)`,backdropFilter:`blur(12px)`,border:`1px solid rgba(255,255,255,0.07)`,textDecoration:`none`,color:`white`,fontSize:14,fontWeight:500,transition:`all 0.18s cubic-bezier(0.16,1,0.3,1)`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(255,255,255,0.09)`,e.currentTarget.style.borderColor=`rgba(255,255,255,0.14)`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(255,255,255,0.04)`,e.currentTarget.style.borderColor=`rgba(255,255,255,0.07)`},children:[(0,q.jsx)(`span`,{style:{flex:1},children:e.name}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:14,color:`rgba(255,255,255,0.2)`,flexShrink:0},children:`open_in_new`})]},e.url+e.name))})]},e):null})]})})}function Oo(e){return`https://videos.jem.tv/dates/day/video?day=${e.hebrew_day}&month=${e.hebrew_month_name}&year=${e.hebrew_year}`}function ko({dateObj:e}){let t=Oo(e),n=e.hebrew_date,r=``;return e.secular_year&&e.secular_month&&e.secular_day&&(r=new Date(e.secular_year,e.secular_month-1,e.secular_day).toLocaleDateString(`en-US`,{month:`long`,day:`numeric`,year:`numeric`})),(0,q.jsxs)(`div`,{onClick:()=>Ao(t),style:{background:`#272b2b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,padding:16,display:`flex`,flexDirection:`column`,gap:16,cursor:`pointer`,transition:`opacity 0.15s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`0.85`},onMouseLeave:e=>{e.currentTarget.style.opacity=`1`},children:[(0,q.jsxs)(`div`,{style:{border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,overflow:`hidden`},children:[(0,q.jsx)(`div`,{style:{background:`#1a1d1d`,aspectRatio:`318/159`,display:`flex`,alignItems:`center`,justifyContent:`center`,position:`relative`},children:e.thumb?(0,q.jsx)(`img`,{src:e.thumb,alt:``,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,objectFit:`cover`}}):(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,color:`rgba(255,255,255,0.05)`},children:`event`})}),(0,q.jsx)(`div`,{style:{background:`#272b2b`,display:`flex`,alignItems:`center`,padding:8},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`rgba(255,255,255,0.75)`},children:`calendar_month`})})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8},children:[(0,q.jsx)(`div`,{style:{fontSize:16,fontWeight:600,color:`white`,lineHeight:1.1,letterSpacing:`-0.02em`},children:n}),r&&(0,q.jsx)(`div`,{style:{fontSize:14,color:`rgba(255,255,255,0.75)`,lineHeight:1.3,display:`-webkit-box`,WebkitLineClamp:1,WebkitBoxOrient:`vertical`,overflow:`hidden`},children:r}),(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:2},children:[(0,q.jsx)(`span`,{style:{fontSize:14,fontWeight:600,color:`#ffffff`},children:`Browse videos`}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`#ffffff`},children:`chevron_right`})]})]})]})}function Ao(e){if(e)try{let t=e,n=new URLSearchParams(window.location.search),r=n.get(`in_app`)===`true`,i=window.self!==window.top,a=n.get(`base_url`)||document.referrer;if(i&&r&&a)try{let n=new URL(e,window.location.origin),r=n.pathname+n.search+n.hash;
48t=new URL(r,a).toString(),window.parent.postMessage({type:`JEM_NAVIGATE`,url:r,fullUrl:e},`*`);try{let e=window.parent.document.getElementById(`jsw-t`);e&&(e.checked=!1)}catch{}}catch{}if(!i){window.location.href=t;return}let o=document.createElement(`a`);o.href=t,o.target=r?`_top`:`_self`,document.body.appendChild(o),o.click(),document.body.removeChild(o)}catch{window.location.href=e}}var jo=new Set([`film`,`short film`]);function Mo(e){return e.find(e=>jo.has((e.type||``).toLowerCase()))||null}function No({hit:e,onSearch:t,compact:n}){let r=na(e),i=e.image||e.thumbnail||e.cover_image,a=ra(e.title||e.name||`Untitled`),o=ra(e.description||e.summary||``),s=e.recorded_dates?.[0]?.hebrew_date,c=e.events?.[0],l=(e.recorded_dates||[]).find(e=>e?.hebrew_day&&e?.hebrew_month_name&&e?.hebrew_year);return(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:12},children:[!n&&(0,q.jsxs)(q.Fragment,{children:[i&&(0,q.jsxs)(`div`,{onClick:()=>Ao(r),style:{aspectRatio:`16/9`,borderRadius:10,overflow:`hidden`,position:`relative`,background:`#1a1d1d`,cursor:`pointer`},children:[(0,q.jsx)(`img`,{src:i,alt:``,style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,objectFit:`cover`}}),(0,q.jsx)(`div`,{style:{position:`absolute`,inset:0,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:40,color:`white`,filter:`drop-shadow(0 2px 8px rgba(0,0,0,0.6))`},children:`play_circle`})})]}),(0,q.jsx)(`div`,{style:{fontSize:10,fontWeight:800,color:`#fea438`,letterSpacing:`0.16em`,textTransform:`uppercase`},children:`Top result`}),(0,q.jsx)(`div`,{onClick:()=>Ao(r),style:{fontSize:19,fontWeight:700,color:`white`,letterSpacing:`-0.02em`,lineHeight:1.25,cursor:`pointer`},children:a}),o&&(0,q.jsx)(`div`,{style:{fontSize:13,color:`rgba(255,255,255,0.65)`,lineHeight:1.5,display:`-webkit-box`,WebkitLineClamp:4,WebkitBoxOrient:`vertical`,overflow:`hidden`},children:o}),s&&(0,q.jsx)(`div`,{style:{fontSize:12,color:`rgba(255,255,255,0.45)`},children:s})]}),c&&(0,q.jsxs)(`div`,{style:{borderTop:`1px solid rgba(255,255,255,0.08)`,paddingTop:12,display:`flex`,flexDirection:`column`,gap:8},children:[(0,q.jsx)(`div`,{style:{fontSize:10,fontWeight:800,color:`rgba(255,255,255,0.45)`,letterSpacing:`0.14em`,textTransform:`uppercase`},children:`Most relevant event`}),(0,q.jsxs)(`div`,{onClick:()=>l?Ao(Oo(l)):t?.(c.name),style:{display:`flex`,alignItems:`center`,gap:10,cursor:`pointer`,padding:`8px 10px`,margin:`0 -10px`,borderRadius:10,transition:`background 0.15s`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(255,255,255,0.05)`},onMouseLeave:e=>{e.currentTarget.style.background=`transparent`},children:[(0,q.jsx)(`div`,{style:{width:34,height:34,borderRadius:`50%`,flexShrink:0,background:`rgba(254,164,56,0.12)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:17,color:`#fea438`},children:`event`})}),(0,q.jsxs)(`div`,{style:{flex:1,minWidth:0},children:[(0,q.jsx)(`div`,{style:{fontSize:13,fontWeight:600,color:`white`,lineHeight:1.3},children:c.name}),c.type&&(0,q.jsx)(`div`,{style:{fontSize:11,color:`rgba(255,255,255,0.45)`},children:c.type})]}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`rgba(255,255,255,0.4)`,flexShrink:0},children:`chevron_right`})]})]})]})}function Po({hit:e,onSearch:t}){let[n,r]=(0,v.useState)(!1),i=ra(e.title||e.name||`Untitled`);return(0,q.jsxs)(`div`,{className:`jemtv-magicbox`,style:{border:`1px solid rgba(254,164,56,0.25)`,background:`linear-gradient(145deg, #1d2020, #161919)`,borderRadius:14,marginBottom:20,overflow:`hidden`},children:[(0,q.jsxs)(`button`,{onClick:()=>r(e=>!e),style:{width:`100%`,display:`flex`,alignItems:`center`,gap:10,padding:`12px 14px`,background:`none`,border:`none`,cursor:`pointer`,color:`white`,fontFamily:`var(--font-body)`,textAlign:`left`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18,color:`#fea438`,flexShrink:0},children:`auto_awesome`}),(0,q.jsxs)(`span`,{style:{flex:1,minWidth:0},children:[(0,q.jsx)(`span`,{style:{display:`block`,fontSize:10,fontWeight:800,color:`#fea438`,letterSpacing:`0.14em`,textTransform:`uppercase`},children:`Top result`}),(0,q.jsx)(`span`,{style:{display:`block`,fontSize:14,fontWeight:600,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},children:i})]}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:20,color:`rgba(255,255,255,0.6)`,flexShrink:0,transform:n?`rotate(180deg)`:`none`,transition:`transform 0.18s`},children:`expand_more`})]}
48),n&&(0,q.jsxs)(`div`,{style:{padding:`0 14px 14px`,animation:`tabFadeIn 0.2s ease both`},children:[(0,q.jsx)(Io,{hit:e}),(0,q.jsx)(No,{hit:e,onSearch:t,compact:!0})]})]})}function Fo({event:e,onClick:t}){return(0,q.jsxs)(`div`,{onClick:t,style:{display:`flex`,alignItems:`center`,gap:12,cursor:`pointer`,padding:`12px 0`,borderBottom:`1px solid rgba(255,255,255,0.06)`},children:[(0,q.jsx)(`div`,{style:{width:38,height:38,borderRadius:`50%`,flexShrink:0,background:`rgba(255,255,255,0.06)`,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18,color:`#fea438`},children:`event`})}),(0,q.jsxs)(`div`,{style:{flex:1,minWidth:0},children:[(0,q.jsx)(`div`,{className:`jemtv-result-title`,style:{fontSize:15,fontWeight:600,color:`white`,lineHeight:1.3},children:e.name}),(0,q.jsx)(`div`,{style:{fontSize:12,color:`rgba(255,255,255,0.45)`},children:[e.type,`${e.count} video${e.count===1?``:`s`}`].filter(Boolean).join(` · `)})]}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18,color:`rgba(255,255,255,0.35)`,flexShrink:0},children:`chevron_right`})]})}function Io({hit:e,href:t,timeLabel:n}){let[r,i]=(0,v.useState)(!1),a=t||na(e),o=e.image||e.thumbnail||e.cover_image,s=ra(e.title||e.name||`Untitled`),c=ra(e.description||e.summary||``),l=ua(e);return(0,q.jsxs)(`div`,{className:`jemtv-result-row`,onClick:()=>Ao(a),style:{display:`flex`,gap:16,padding:`16px 0`,borderBottom:`1px solid rgba(255,255,255,0.06)`,cursor:`pointer`,position:`relative`,alignItems:`flex-start`},children:[(0,q.jsx)(mo,{thumb:o,fallbackIcon:`play_circle`}),(0,q.jsxs)(`div`,{style:{flex:1,minWidth:0,display:`flex`,flexDirection:`column`,gap:4},children:[l&&(0,q.jsx)(`div`,{style:{fontSize:12,color:`rgba(255,255,255,0.45)`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},children:l}),(0,q.jsxs)(`div`,{className:`jemtv-result-title`,style:{fontSize:17,fontWeight:600,color:`white`,lineHeight:1.3},children:[s,n&&(0,q.jsx)(`span`,{style:{marginLeft:8,fontSize:11,fontWeight:800,color:`#fea438`,background:`rgba(254,164,56,0.12)`,padding:`2px 7px`,borderRadius:6,verticalAlign:`middle`,whiteSpace:`nowrap`},children:n})]}),c&&(0,q.jsx)(`div`,{style:{fontSize:14,color:`rgba(255,255,255,0.6)`,lineHeight:1.45,display:`-webkit-box`,WebkitLineClamp:2,WebkitBoxOrient:`vertical`,overflow:`hidden`},children:c})]}),(0,q.jsx)(ho,{onClick:e=>{e.stopPropagation(),i(e=>!e)}}),r&&(0,q.jsx)(_o,{onClose:()=>i(!1),rows:[[`Date`,sa(e)],[`Event`,e.events?.[0]?.name],[`Type`,la(e.type)],[`Keywords`,go(e)]]})]})}function Lo({hit:e,link:t}){let[n,r]=(0,v.useState)(!1),i=e||{},a=t?.link||``,o=(i.id??da(i.objectID))||a.match(/documents\/([^/?#]+)/)?.[1]||``,s=o?`https://videos.jem.tv/documents/${o}`:a||`#`,c=i.image||i.thumbnail||i.cover_image||i.thumbnail_url||t?.thumbnail||t?.image,l=ra(i.title||i.name||t?.title||`Untitled`),u=ra(i.description||i.summary||t?.de
48scription||``),d=[`Document`,sa(i)].filter(Boolean).join(` · `);return(0,q.jsxs)(`div`,{className:`jemtv-result-row`,onClick:()=>Ao(s),style:{display:`flex`,gap:16,padding:`16px 0`,borderBottom:`1px solid rgba(255,255,255,0.06)`,cursor:`pointer`,position:`relative`,alignItems:`flex-start`},children:[(0,q.jsx)(mo,{thumb:c,fallbackIcon:`description`}),(0,q.jsxs)(`div`,{style:{flex:1,minWidth:0,display:`flex`,flexDirection:`column`,gap:4},children:[(0,q.jsx)(`div`,{style:{fontSize:12,color:`rgba(255,255,255,0.45)`,whiteSpace:`nowrap`,overflow:`hidden`,textOverflow:`ellipsis`},children:d}),(0,q.jsx)(`div`,{className:`jemtv-result-title`,style:{fontSize:17,fontWeight:600,color:`white`,lineHeight:1.3},children:l}),u&&(0,q.jsx)(`div`,{style:{fontSize:14,color:`rgba(255,255,255,0.6)`,lineHeight:1.45,display:`-webkit-box`,WebkitLineClamp:2,WebkitBoxOrient:`vertical`,overflow:`hidden`},children:u})]}),(0,q.jsx)(ho,{onClick:e=>{e.stopPropagation(),r(e=>!e)}}),n&&(0,q.jsx)(_o,{onClose:()=>r(!1),rows:[[`Date`,sa(i)],[`Event`,i.events?.[0]?.name],[`Keywords`,go(i)]]})]})}function Ro({icon:e,label:t,count:n,onViewAll:r,viewAllLabel:i,expanded:a,thumb:o}){return(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,marginBottom:6},children:[o?(0,q.jsx)(`img`,{src:o,alt:``,loading:`lazy`,style:{width:30,height:30,borderRadius:6,objectFit:`cover`,flexShrink:0,background:`#1a1d1d`}}):e?(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18,color:`#fea438`},children:e}):null,(0,q.jsx)(`span`,{style:{fontSize:18,fontWeight:700,color:`white`,letterSpacing:`-0.01em`},children:t}),(0,q.jsx)(`span`,{style:{flex:1}}),r&&(0,q.jsxs)(`button`,{type:`button`,onClick:r,style:{background:`none`,border:`none`,cursor:`pointer`,color:`rgba(255,255,255,0.55)`,fontSize:13,fontWeight:600,fontFamily:`var(--font-body)`,display:`flex`,alignItems:`center`,gap:3,transition:`color 0.15s`},onMouseEnter:e=>{e.currentTarget.style.color=`white`},onMouseLeave:e=>{e.currentTarget.style.color=`rgba(255,255,255,0.55)`},children:[i||`View all ${n}`,(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16},children:a===void 0?`chevron_right`:a?`expand_less`:`expand_more`})]})]})}function zo({onOpenAI:e,JemAiPanel:t}){if(!va())return null;let[n,r]=(0,v.useState)(``),[i,a]=(0,v.useState)(`all`),[o,s]=(0,v.useState)(!1),[c,l]=(0,v.useState)(`standard`),[u,d]=(0,v.useState)(null),f=(0,v.useRef)(`standard`),p=(0,v.useRef)(null),m=(0,v.useRef)(!1),[h,g]=(0,v.useState)(Za),[_,y]=(0,v.useState)([]),[b,x]=(0,v.useState)(0),[S,C]=(0,v.useState)([]),[w,T]=(0,v.useState)([]),[E,D]=(0,v.useState)(!1),[O,k]=(0,v.useState)(!1),[A,j]=(0,v.useState)(null),[M,N]=(0,v.useState)(null),[P,ee]=(0,v.useState)(null),[F,I]=(0,v.useState)(`search`),[te,ne]=(0,v.useState)(null),[re,ie]=(0,v.useState)(!1),[L,R]=(0,v.useState)(0),[ae,oe]=(0,v.useState)(`all`),[se,z]=(0,v.useState)(Za),[ce,le]=(0,v.useState)(`all`),[B,ue]=(0,v.useState)(Za),[de,fe]=(0,v.useState)(!1),[pe,V]=(0,v.useState)(!1),[me,he]=(0,v.useState)(!1),[ge,_e]=(0,v.useState)([]),[H,ve]=(0,v.useState)(!1),[U,ye]=(0,v.useState)(-1),W=(0,v.useRef)(null),G=(0,v.useRef)(null),be=(0,v.useRef)(null),xe=(0,v.useRef)(0),Se=(0,v.useRef)(Za),Ce=(0,v.useRef)(`all`),we=(0,v.useRef)(`all`);(0,v.useEffect)(()=>{W.current?.focus()},[]);let Te=(0,v.useCallback)(async(e,t)=>{let n=e.trim();if(!n){y([]),x(0),C([]),T([]),k(!1),ee(null),a(`all`),Se.current=Za,g(Za),oe(`all`),Ce.current=`all`,z(Za),le(`all`),we.current=`all`,ue(Za);return}let r=n.match(no);if(r){let e=`https://videos.jem.tv/video-player?clip=${r[1]}`;j(e),setTimeout(()=>{Ao(e),j(null)},600);return}if(io.test(n)){j(`code`);let e=await ea(n);if(e){setTimeout(()=>{Ao(e),j(null)},400);return}j(null)}let i=Se.current.find(e=>e.id===t),o=we.current,s=Ce.current,c=f.current,l=c===`exact`,u=l?`"${n}"`:c===`path`?`path:${n}`:n;p.current&&(u=`${u} ${p.current}`);let d=l?{typoTolerance:!1}:{};D(!0),N(null);try{let[e,r,a,f,p,m]=await Promise.all([Vi(u,{filters:i?.typeFilter||void 0,hitsPerPage:100,wide:c===`wide`,exactMatch:l}),Wi(`documents`,u,100,{...o===`all`?{}:{facetFilters:[`keywords.name:${o}`]},...d}),Wi(`ccdb`,u,100,{...s===`all`?{}:{facetFilters:[`parent_event_type:${s}`]},...d}),Pi(u,{},[`type`],0),Wi(`documents`,u,0,{facets:[`keywords.name`]}),Wi(`ccdb`,u,0,{facets:[`parent_event_type`]})]);console.log(`[Search] media:`,e.nbHits,`docs:`,r.nbHits,`ccdb:`,a.nbHits);let h=l?e=>(e||[]).filter(e=>bo(e,n)):e=>e||[],_=h(e.hits);y(_),x(l?_.length:e.nbHits),C(h(r.hits)),T(h(a.hits)),k(!0),ee(null),fe(!1),V(!1),he(!1);let v=to($a(Object.keys(f.facets?.type||{})),t,{typeFilter:!0});Se.current=v,g(v),ue(to(Object.entries(p.facets?.[`keywords.name`]||{}).sort((e,t)=>
48t[1]-e[1]).map(([e])=>e),o)),z(to(Object.entries(m.facets?.parent_event_type||{}).sort((e,t)=>t[1]-e[1]).map(([e])=>e),s))}catch(e){N(e?.message||`Search failed`)}finally{D(!1)}},[]);function Ee(e){r(e),clearTimeout(G.current);let t=io.test(e.trim())?1100:350;G.current=setTimeout(()=>Te(e,i),t),ye(-1),clearTimeout(be.current);let n=e.trim();if(n.length<2||J(e)||io.test(n)){_e([]),ve(!1);return}let a=++xe.current;be.current=setTimeout(async()=>{let t=await Ki(e,6);a===xe.current&&(_e(t),ve(t.length>0))},140)}function K(e){clearTimeout(G.current),clearTimeout(be.current),r(e),ve(!1),_e([]),ye(-1),Te(e,i),W.current?.blur()}function De(e){f.current=e,m.current=e===`path`,l(e),n.trim()&&Te(n,i)}function Oe(e){let t=p.current===e?null:e;p.current=t,d(t),n.trim()&&Te(n,i)}function ke(){f.current===`standard`&&!p.current&&i===`all`||(f.current=`standard`,m.current=!1,p.current=null,l(`standard`),d(null),a(`all`),n.trim()&&Te(n,`all`))}function Ae(e){a(e),n.trim()&&Te(n,e)}function je(e){oe(e),Ce.current=e,n.trim()&&Te(n,i)}function Me(e){le(e),we.current=e,n.trim()&&Te(n,i)}function Ne(e){r(e),I(`search`),clearTimeout(G.current),Te(e,i),window.scrollTo({top:0,behavior:`smooth`})}function Pe(){te===null&&ne(n.trim()),I(`jemai`),e?.(),window.scrollTo({top:0,behavior:`smooth`})}async function Fe(){if(de){fe(!1);return}let e=n.trim();if(!e)return;let t=Se.current.find(e=>e.id===i),r=e=>so.has((e.type||``).toLowerCase())||so.has((e._index||``).toLowerCase());if(_.filter(e=>!r(e)).length<b){D(!0);try{let n=await Vi(e,{filters:t?.typeFilter||void 0,hitsPerPage:Math.min(b,500)});y(n.hits),x(n.nbHits)}catch(e){N(e?.message||`Could not load more results`)}finally{D(!1)}}fe(!0)}function Ie(e){if(H&&ge.length){if(e.key===`ArrowDown`){e.preventDefault(),ye(e=>(e+1)%ge.length);return}if(e.key===`ArrowUp`){e.preventDefault(),ye(e=>e<=0?ge.length-1:e-1);return}if(e.key===`Enter`&&U>=0){e.preventDefault(),K(ge[U]);return}if(e.key===`Escape`){e.preventDefault(),ve(!1),ye(-1);return}}if(e.key===`Enter`){ve(!1),io.test(n.trim())&&(clearTimeout(G.current),j(`code`),ea(n).then(e=>{j(null),e?Ao(e):Te(n,i)}));return}e.key===`Escape`&&(r(``),y([]),k(!1),N(null),ve(!1))}let Le=!!J(n),Re=!Le&&Li(n),[ze,Be]=(0,v.useState)(!1);(0,v.useEffect)(()=>{if(!Re){Be(!1);return}Be(!0);let e=setTimeout(()=>Be(!1),15e3);return()=>clearTimeout(e)},[Re,n]);let Ve=(()=>{let e=n.trim().match(ao);if(!e)return null;let[,t,r,i]=e;return{day:t,month:r,year:i,url:`https://videos.jem.tv/dates/day/video?day=${t}&month=${r}&year=${i}`,label:`${t} ${r}, ${i}`}})(),He=_.filter(e=>!so.has((e.type||``).toLowerCase())&&!so.has((e._index||``).toLowerCase())),Ue=_.filter(e=>so.has((e.type||``).toLowerCase())||so.has((e._index||``).toLowerCase())),We=P?He.filter(e=>e.topic===P):He,Ge=O?Mo(We):null,Ke=(()=>{if(!O)return[];let e=new Map;return He.forEach(t=>(Array.isArray(t.events)?t.events:[]).forEach(n=>{if(!n?.name)return;let r=e.get(n.name)||{...n,count:0};if(r.count+=1,!r.dateExact){let e=[...t.recorded_dates||[]].filter(e=>e?.hebrew_day&&e?.hebrew_month_name&&e?.hebrew_year),i=e.find(e=>n.name.includes(e.hebrew_month_name)&&n.name.includes(String(e.hebrew_year)));i?(r.date=i,r.dateExact=!0):!r.date&&e[0]&&(r.date=e[0])}e.set(n.name,r)})),[...e.values()].sort((e,t)=>t.count-e.count)})(),qe=(()=>{if(!O)return[];let e=new Map;return _.forEach(t=>{t.topic&&e.set(t.topic,(e.get(t.topic)||0)+1)}),[...e.entries()].sort((e,t)=>t[1]-e[1]).map(([e,t])=>({name:e,count:t}))})(),Je=(()=>{if(!O)return[];let e=new Map;_.forEach(t=>{(Array.isArray(t.keywords)?t.keywords:[]).forEach(t=>{let n=t?.name??t;typeof n==`string`&&n.trim()&&e.set(n,(e.get(n)||0)+1)})});let t=n.trim().toLowerCase();return[...e.entries()].filter(([e])=>e.toLowerCase()!==t).sort((e,t)=>t[1]-e[1]).slice(0,16).map(([e,t])=>({name:e,count:t}))})(),Ye=[],Xe=new Set;if(O&&_){let e=n.toLowerCase().trim();_.forEach(t=>{Array.isArray(t.recorded_dates)&&t.recorded_dates.forEach(n=>{if(n.hebrew_date&&n.hebrew_day&&n.hebrew_month_name&&n.hebrew_year){let r=Number(n.hebrew_year);if(r>=5711&&r<=5752&&(e===``||n.hebrew_date.toLowerCase().includes(e))&&!Xe.has(n.hebrew_date)){Xe.add(n.hebrew_date);let e=t.image||t.thumbnail||t.cover_image||t.thumbnail_url;Ye.push({...n,thumb:e})}}})})}return(0,q.jsxs)(`div`,{style:{minHeight:`100dvh`,background:`#131515`,color:`white`,display:`flex`,flexDirection:`column`,fontFamily:`var(--font-body)`},children:[(0,q.jsx)(`div`,{className:`jemtv-topseam`,"aria-hidden":`true`}),(0,q.jsx)(`style`,{children:` 49 .jemtv-topseam { 50 position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; 51 background: linear-gradient(90deg, #22d3ee, #3b82f6, #8b5cf6, #ec4899, #fea438, #22d3ee); 52 background-size: 300% 100%; animation: jemtvSeam 6s linear infinite; filter: blur(0.4px); 53 } 54 @keyframes jemtvSeam { to { background-position: 300% 0; } } 55 @media (max-width: 768px) {
56 .vid-mobile-controls { opacity: 1 !important; pointer-events: auto !important; } 57 .vid-mobile-overlay { background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 60%) !important; } 58 } 59 .jemtv-result-row:hover .jemtv-result-title { text-decoration: underline; } 60 /* Top result: one collapsed box above the results, every screen size. */ 61 .jemtv-magicbox { display: block; } 62 @media (max-width: 900px) { 63 .jemtv-result-thumb { width: 96px !important; } 64 .jemtv-result-thumb-fallback { width: 44px !important; height: 44px !important; } 65 /* Narrower text column â keep the title on a single line. */ 66 .jemtv-result-title { 67 font-size: 14px !important; 68 line-height: 1.25 !important; 69 white-space: nowrap !important; 70 overflow: hidden !important; 71 text-overflow: ellipsis !important; 72 display: block !important; 73 } 74 } 75 `}),(0,q.jsx)(`header`,{className:`jem-header`,style:{pointerEvents:`auto`,background:`transparent`},children:(0,q.jsx)(`div`,{className:`jem-header-search`,children:(0,q.jsxs)(`div`,{className:`jem-search-bar`,
75style:{position:`relative`,background:`transparent`,borderColor:Le?`#fea438`:Ve?`rgba(100,180,255,0.4)`:`rgba(255,255,255,0.1)`},children:[Le?(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:22,color:`#fea438`,flexShrink:0},children:`play_circle`}):Ve?(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:20,color:`#64b4ff`,flexShrink:0},children:`calendar_month`}):(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:22,color:`#fea438`,flexShrink:0},children:`search`}),(0,q.jsx)(`input`,{ref:W,value:n,onChange:e=>Ee(e.target.value),onKeyDown:Ie,onFocus:()=>{ge.length&&ve(!0)},onBlur:()=>setTimeout(()=>ve(!1),120),placeholder:``,autoFocus:!0,style:{flex:1,background:`none`,border:`none`,outline:`none`,fontSize:16,color:`white`,fontFamily:`var(--font-body)`,minWidth:0}}),E&&(0,q.jsx)(po,{size:18,color:`#fea438`}),n&&!E&&(0,q.jsx)(`button`,{onClick:()=>{r(``),y([]),x(0),C([]),T([]),k(!1),_e([]),ve(!1),W.current?.focus()},style:{background:`none`,border:`none`,color:`rgba(255,255,255,0.3)`,cursor:`pointer`,fontSize:18,padding:0,display:`flex`,alignItems:`center`,flexShrink:0,transition:`color 0.15s`},onMouseEnter:e=>{e.currentTarget.style.color=`rgba(255,255,255,0.7)`},onMouseLeave:e=>{e.currentTarget.style.color=`rgba(255,255,255,0.3)`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`close`})}),H&&ge.length>0&&(0,q.jsx)(`div`,{className:`jem-suggest-dropdown`,onMouseDown:e=>e.preventDefault(),style:{position:`absolute`,top:`calc(100% + 8px)`,left:0,right:0,zIndex:80,background:`#1a1d1d`,border:`1px solid rgba(255,255,255,0.12)`,borderRadius:14,padding:6,boxShadow:`0 16px 40px rgba(0,0,0,0.5)`,animation:`tabFadeIn 0.12s ease both`},children:ge.map((e,t)=>(0,q.jsxs)(`button`,{onClick:()=>K(e),onMouseEnter:()=>ye(t),style:{width:`100%`,display:`flex`,alignItems:`center`,gap:10,padding:`9px 12px`,borderRadius:9,border:`none`,cursor:`pointer`,background:t===U?`rgba(255,255,255,0.08)`:`transparent`,color:`white`,fontFamily:`var(--font-body)`,fontSize:14.5,textAlign:`left`,transition:`background 0.12s`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18,color:`rgba(255,255,255,0.4)`,flexShrink:0},children:`search`}),(0,q.jsx)(`span`,{style:{flex:1,minWidth:0,overflow:`hidden`,textOverflow:`ellipsis`,whiteSpace:`nowrap`},children:e}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`rgba(255,255,255,0.25)`,flexShrink:0},children:`north_west`})]},e))})]})})}),Le&&A&&(0,q.jsxs)(`div`,{style:{margin:`12px auto 0`,maxWidth:800,width:`calc(100% - 48px)`,padding:`10px 16px`,borderRadius:12,background:`rgba(255,255,255,0.1)`,border:`1px solid rgba(255,255,255,0.4)`,color:`#ffffff`,fontSize:13,fontWeight:600,display:`flex`,alignItems:`center`,gap:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`open_in_new`}),`Opening clip #${n.replace(/^t/i,``)}â¦`]}),(O||F===`jemai`)&&(0,q.jsx)(`div`,{style:{borderBottom:`1px solid rgba(255,255,255,0.08)`,animation:`tabFadeIn 0.2s ease both`},children:(0,q.jsx)(`div`,{style:{maxWidth:1400,margin:`0 auto`,padding:`0 24px`,display:`flex`,gap:26,overflowX:`auto`,scrollbarWidth:`none`,alignItems:`center`},children:[[`search`,`All`],[`jemai`,`JEMᴬᴵ`],[`documents`,`Documents`],[`photos`,`Photos`],[`dates`,`Dates`],[`pages`,`Pages`]].map(([e,t])=>{let n=e===`search`,r=e===`jemai`,a=F===e,l=n&&(o||c!==`standard`||!!u||i!==`all`);return(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:n?16:8,flexShrink:0},children:[n&&(0,q.jsxs)(`button`,{type:`button`,title:`Filter by type, broaden search, refine with keywords`,onClick:()=>{I(`search`),s(e=>F===`search`?!e:!0)},style:{background:l?`rgba(254,164,56,0.16)`:`transparent`,border:l?`1px solid #fea438`:`1px solid transparent`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,color:l?`#fea438`:`rgba(255,255,255,0.55)`,padding:`4px`,borderRadius:`50%`,transition:`all 0.15s`,position:`relative`,top:`-1px`},onMouseEnter:e=>{l||(e.currentTarget.style.color=`rgba(255,255,255,0.85)`)},onMouseLeave:e=>{l||(e.currentTarget.style.color=`rgba(255,255,255,0.55)`)},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18},children:`tune`}),(c!==`standard`||u||i!==`all`)&&(0,q.jsx)(`span`,{style:{position:`absolute`,top:-4,right:-4,fontSize:9,fontWeight:800,background:`#fea438`,color:`#131515`,borderRadius:100,padding:`1px 4px`},children:(c===`standard`?0:1)+ +!!u+(i===`all`?0:1)})]}),(0,q.jsxs)(`button`,{onClick:()=>r?Pe():I(e),style:{background:`none`,border:`none`,borderBottom:a?`3px solid ${r?`#fea438`:`#ffffff`}`:`3px solid transparent`,color:a?r?`#fea438`:`#ffffff`:`rgba(255,255,255,0.55)`,padding:`12px 2px 9px`,fontSize:14,fontWeight:a?700:500,fontFamily:`var(--font-body)`,cursor:`pointer`,whiteSpace:`nowrap`,transition:`color 0.18s`,display:`flex`,alignItems:`center`,gap:5},onMouseEnter:e=>{a||(e.currentTarget.style.color=`rgba(255,255,255,0.85)`)},onMouseLeave:e=>{a||(e.currentTarget.style.color=`rgba(255,255,255,0.55)`)},children:[r&&(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16},children:`auto_awesome`}),t]})]},e)})})}),t&&te!==null&&(0,q.jsx)(`div`,{style:{display:F===`jemai`?`flex`:`none`,flex:F===`jemai`?1:`none`,flexDirection:`column`,minHeight:0},children:(0,q.jsx)(t,{initialQuery:te})}),F===`pages`&&(0,q.jsx)(Do,{query:n}),F===`dates`&&(0,q.jsxs)(`div`,{className:`jemtv-tab-content`,style:co,children:[!O&&!E&&(0,q.jsxs)(`div`,{style:uo,children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.2},children:`calendar_month`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8},children:`Search Dates`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Find dates from the JEM archive.`})]}
75),E&&(0,q.jsxs)(`div`,{style:fo,children:[(0,q.jsx)(po,{size:36,style:{margin:`0 auto 12px`}}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Searchingâ¦`})]}),O&&!E&&Ye.length===0&&(0,q.jsxs)(`div`,{style:uo,children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.3},children:`manage_search`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8},children:`No dates found`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Try a different search.`})]}),O&&!E&&Ye.length>0&&(0,q.jsxs)(`div`,{style:lo,children:[(0,q.jsxs)(`div`,{style:{fontSize:12,fontWeight:700,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.1em`,marginBottom:28,display:`flex`,alignItems:`center`,gap:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:14},children:`event`}),Ye.length,` date`,Ye.length===1?``:`s`,` for "`,n,`"`]}),(0,q.jsx)(`div`,{className:`jemtv-dates-grid`,children:Ye.map((e,t)=>(0,q.jsx)(ko,{dateObj:e},t))})]})]}),F===`documents`&&(0,q.jsx)(`div`,{className:`jemtv-tab-content`,style:co,children:(0,q.jsxs)(`div`,{style:lo,children:[!O&&!E&&(0,q.jsxs)(`div`,{style:{paddingTop:80,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.2},children:`description`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8},children:`Search Documents`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Find documents from the JEM archive.`})]}),E&&(0,q.jsxs)(`div`,{style:{paddingTop:60,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(po,{size:36,style:{margin:`0 auto 12px`}}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Searchingâ¦`})]}),O&&!E&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,marginBottom:16,width:`100%`},children:(0,q.jsxs)(`div`,{style:{fontSize:12,fontWeight:700,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.1em`,display:`flex`,alignItems:`center`,gap:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:14},children:`archive`}),S.length,` result`,S.length===1?``:`s`,` for "`,n,`"`]})}),B.length>1&&(0,q.jsx)(vo,{chips:B,active:ce,onChange:Me}),S.length===0?(0,q.jsxs)(`div`,{style:{paddingTop:60,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.3},children:`manage_search`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8},children:`No documents found`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Try a different search or change the filter.`})]}):(0,q.jsx)(`div`,{children:S.map((e,t)=>(0,q.jsx)(Lo,{hit:e},e.objectID||t))})]})]})}),F===`photos`&&(0,q.jsx)(`div`,{className:`jemtv-tab-content`,style:co,children:(0,q.jsxs)(`div`,{style:lo,children:[!O&&!E&&(0,q.jsxs)(`div`,{style:{paddingTop:80,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.2},children:`image`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8},children:`Search Photos`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Find photos from the JEM archive.`})]}),E&&(0,q.jsxs)(`div`,{style:{paddingTop:60,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(po,{size:36,style:{margin:`0 auto 12px`}}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Searchingâ¦`})]}),O&&!E&&(()=>{let e=w.reduce((e,t)=>{let n=t.date?.hebrew_date||t.hebrew_date||`Unknown Date`;return(e[n]=e[n]||[]).push(t),e},{});return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,marginBottom:16,width:`100%`},children:(0,q.jsxs)(`div`,{style:{fontSize:12,fontWeight:700,color:`#b3b3b3`,textTransform:`uppercase`,letterSpacing:`0.1em`,display:`flex`,alignItems:`center`,gap:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:14},children:`archive`}),w.length,` result`,w.length===1?``:`s`,` for "`,n,`"`]})}),se.length>1&&(0,q.jsx)(vo,{chips:se,active:ae,onChange:je}),w.length===0&&(0,q.jsxs)(`div`,{style:{paddingTop:60,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.3},children:`manage_search`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8}
75,children:`No photos found`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Try a different search or change the filter.`})]}),Object.entries(e).map(([e,t])=>(0,q.jsxs)(`div`,{style:{marginBottom:36},children:[(0,q.jsxs)(`div`,{style:{fontSize:13,fontWeight:700,color:`#ffffff`,letterSpacing:`0.04em`,marginBottom:12,display:`flex`,alignItems:`center`,gap:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:14},children:`calendar_month`}),e,(0,q.jsxs)(`span`,{style:{fontSize:11,color:`#b3b3b3`,fontWeight:500},children:[`(`,t.length,`)`]})]}),(0,q.jsx)(`div`,{className:`jemtv-media-grid`,children:t.map((e,t)=>(0,q.jsx)(Co,{hit:e,onOpen:()=>{R(w.indexOf(e)),ie(!0)}},e.objectID||t))})]},e))]})})()]})}),F===`search`&&(0,q.jsxs)(`div`,{className:`jemtv-tab-content`,style:co,children:[E&&!O&&(0,q.jsxs)(`div`,{style:fo,children:[(0,q.jsx)(po,{size:36,style:{margin:`0 auto 12px`}}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Searchingâ¦`})]}),M&&(0,q.jsxs)(`div`,{style:{margin:`24px 0`,padding:`14px 18px`,borderRadius:12,background:`rgba(239,68,68,0.1)`,border:`1px solid rgba(239,68,68,0.3)`,color:`#fca5a5`,fontSize:13,fontWeight:600,display:`flex`,alignItems:`center`,gap:8},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`error`}),M]}),!O&&!E&&!n&&(0,q.jsxs)(`div`,{style:uo,children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.2},children:`search`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8},children:`Search JEM.TV`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Find videos, talks, and programs from the JEM archive.`})]}),O&&(0,q.jsxs)(`div`,{style:lo,children:[Ge&&(0,q.jsx)(Po,{hit:Ge,onSearch:Ne}),(0,q.jsx)(xo,{open:o,mode:c,onMode:De,keywords:Je,refine:u,onToggleKeyword:Oe,onReset:ke,showWide:!1,refineOnlyOnKeywords:!0,typeChips:h.length>1?h:void 0,typeChip:i,onTypeChip:Ae}),E&&(0,q.jsxs)(`div`,{style:fo,children:[(0,q.jsx)(po,{size:36,style:{margin:`0 auto 12px`}}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Searchingâ¦`})]}),!E&&(0,q.jsxs)(q.Fragment,{children:[_.length===0&&(0,q.jsxs)(`div`,{style:{paddingTop:60,textAlign:`center`,color:`#b3b3b3`},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,display:`block`,marginBottom:16,opacity:.3},children:`manage_search`}),(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,marginBottom:8},children:`0 results found`}),(0,q.jsx)(`div`,{style:{fontSize:14},children:`Try a different search or change the filter.`})]}),We.length>0&&(0,q.jsxs)(`div`,{children:[(0,q.jsx)(Ro,{label:`Videos`,count:We.length,onViewAll:We.length>7||b>We.length?Fe:void 0,viewAllLabel:de?`Show less`:`View all ${Math.max(b,We.length).toLocaleString()}`,expanded:de}),(de?We:We.slice(0,7)).map((e,t)=>(0,q.jsx)(Io,{hit:e},e.objectID||t))]}),S.length>0&&(0,q.jsxs)(`div`,{style:{marginTop:44},children:[(0,q.jsx)(Ro,{label:`Documents`,count:S.length,onViewAll:()=>I(`documents`)}),S.slice(0,7).map((e,t)=>(0,q.jsx)(Lo,{hit:e},e.objectID||t))]}),w.length>0&&(0,q.jsxs)(`div`,{style:{marginTop:44},children:[(0,q.jsx)(Ro,{label:`Photos`,count:w.length,onViewAll:()=>I(`photos`)}),(0,q.jsx)(`div`,{style:{display:`flex`,gap:10,overflowX:`auto`,scrollbarWidth:`none`,padding:`6px 0`},children:w.slice(0,7).map((e,t)=>{let n=e.image||e.thumbnail||e.cover_image||e.thumbnail_url;return n?(0,q.jsx)(`img`,{src:n,alt:``,onClick:()=>{R(t),ie(!0)},style:{height:110,borderRadius:10,cursor:`pointer`,flexShrink:0,objectFit:`cover`}},e.objectID||t):null})})]}),o&&Ke.length>0&&(0,q.jsxs)(`div`,{style:{marginTop:44},children:[(0,q.jsx)(Ro,{label:`Events`,count:Ke.length,onViewAll:Ke.length>7?()=>V(e=>!e):void 0,viewAllLabel:pe?`Show less`:`View all ${Ke.length}`,expanded:pe}),(pe?Ke:Ke.slice(0,7)).map(e=>(0,q.jsx)(Fo,{event:e,onClick:()=>e.date?Ao(Oo(e.date)):Ne(e.name)},e.id||e.name))]}),o&&qe.length>0&&(0,q.jsxs)(`div`,{style:{marginTop:44},children:[(0,q.jsx)(Ro,{label:`Topics`,count:qe.length,onViewAll:qe.length>7?()=>he(e=>!e):void 0,viewAllLabel:me?`Show less`:`View all ${qe.length}`,expanded:me}),(0,q.jsx)(`div`,{className:`jemtv-topics-row`,style:{display:`flex`,flexWrap:`wrap`,gap:8,paddingTop:6}
75,children:(me?qe:qe.slice(0,7)).map(e=>(0,q.jsxs)(`button`,{onClick:()=>Ne(e.name),style:{background:`rgba(255,255,255,0.06)`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:100,padding:`8px 16px`,color:`rgba(255,255,255,0.85)`,fontSize:13,fontWeight:600,fontFamily:`var(--font-body)`,cursor:`pointer`,display:`flex`,alignItems:`center`,gap:6,transition:`all 0.15s`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(255,255,255,0.12)`,e.currentTarget.style.color=`white`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(255,255,255,0.06)`,e.currentTarget.style.color=`rgba(255,255,255,0.85)`},children:[e.name,(0,q.jsx)(`span`,{style:{fontSize:11,color:`rgba(255,255,255,0.4)`,fontWeight:700},children:e.count})]},e.name))})]}),Ue.length>0&&(0,q.jsxs)(`div`,{style:{marginTop:44},children:[(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`,letterSpacing:`-0.01em`,marginBottom:12},children:`Stories`}),(0,q.jsx)(`div`,{style:{display:`flex`,gap:16,flexWrap:`wrap`},children:Ue.map((e,t)=>(0,q.jsx)(So,{hit:e},e.objectID||t))})]})]})]})]}),A&&(0,q.jsx)(`div`,{style:{position:`fixed`,inset:0,zIndex:999,background:`rgba(10,12,12,0.92)`,backdropFilter:`blur(16px)`,display:`flex`,alignItems:`center`,justifyContent:`center`,animation:`fadeIn 0.3s ease-out`},children:(0,q.jsxs)(`div`,{style:{background:`linear-gradient(145deg, #1d2020 0%, #151818 100%)`,borderRadius:24,padding:`56px 64px`,textAlign:`center`,border:`1px solid rgba(255,255,255,0.1)`,boxShadow:`0 32px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05)`,display:`flex`,flexDirection:`column`,alignItems:`center`,gap:24,maxWidth:`90%`,width:440},children:[(0,q.jsx)(`div`,{style:{width:80,height:80,borderRadius:`50%`,background:`rgba(255,255,255,0.12)`,border:`2px solid rgba(255,255,255,0.25)`,display:`flex`,alignItems:`center`,justifyContent:`center`,boxShadow:`0 0 30px rgba(255,255,255,0.1)`},children:(0,q.jsx)(`i`,{className:`ri-play-fill`,style:{fontSize:36,color:`#ffffff`,marginLeft:4}})}),(0,q.jsxs)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:8},children:[(0,q.jsx)(`div`,{style:{fontSize:13,fontWeight:800,color:`#ffffff`,letterSpacing:`0.2em`,textTransform:`uppercase`,opacity:.9},children:`JEM.TV`}),(0,q.jsxs)(`div`,{style:{fontSize:24,fontWeight:700,color:`white`,letterSpacing:`-0.02em`},children:[`Opening clip #`,n.replace(/^t/i,``)]}),(0,q.jsx)(`div`,{style:{fontSize:16,color:`rgba(255,255,255,0.6)`,fontWeight:400},children:`Redirecting to videos.jem.tvâ¦`})]}),(0,q.jsx)(`div`,{style:{marginTop:8,width:`100%`,height:3,background:`rgba(255,255,255,0.05)`,borderRadius:2,overflow:`hidden`,position:`relative`},children:(0,q.jsx)(`div`,{style:{position:`absolute`,inset:0,background:`#ffffff`,width:`100%`,animation:`progressAnim 0.6s linear infinite forwards`,transformOrigin:`left`}})})]})}),re&&w.length>0&&(0,q.jsx)(To,{hits:w,initialIndex:L,onClose:()=>ie(!1)})]})}var Bo=`https://5qlaecnhel.execute-api.us-east-1.amazonaws.com/prod/ashreinu/api/v1/unlocked`,Vo=new Map,Ho=new Map;function Uo(e){return e&&typeof e==`object`&&`data`in e?e.data:e}async function Wo(e){let t=await fetch(e);if(!t.ok)throw Error(`${t.status} ${e}`);return Uo(await t.json())}async function Go(e){if(Vo.has(e))return Vo.get(e);let t=await Wo(`${Bo}/video-clip/${e}`),n=t?.asset_dir||null,r=Number(t?.start_time_in_produced_video)||0,i=t?.produced_video_id??null;if(!n&&i!=null)try{n=(await Wo(`${Bo}/produced-video/${i}`))?.asset_dir||null}catch{}let a={assetDir:n,startInProduced:r,producedVideoId:i};return Vo.set(e,a),a}function Ko(e){let t=e.trim().split(`:`),n=t.pop(),r=t.pop()||0,i=t.pop()||0,a=parseFloat(String(n).replace(`,`,`.`))||0;return(Number(i)*3600+Number(r)*60)*1e3+Math.round(a*1e3)}function qo(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/ /g,` `)}function Jo(e){let t=[],n=String(e||``).replace(/\r/g,``).split(/\n\n+/),r=/(\d{1,2}:)?\d{1,2}:\d{2}[.,]\d{1,3}\s*-->\s*(\d{1,2}:)?\d{1,2}:\d{2}[.,]\d{1,3}/;for(let e of n){let n=e.split(` 76`),i=n.find(e=>r.test(e));if(!i)continue;let[a,o]=i.split(`-->`).map(e=>e.trim().split(/\s+/)[0]),s=Ko(a),c=Ko(o),l=n.slice(n.indexOf(i)+1).join(` `).replace(/<[^>]+>/g,``).replace(/\s+/g,` `).trim();l&&t.push({start:s,end:c,text:qo(l)})}return t}async function Yo(e){if(Ho.has(e))return Ho.get(e);let t=Jo(await(await fetch(`${e}/text/en.vtt`)).text());return Ho.set(e,t),t}var Xo=e=>String(e||``).toLowerCase().replace(/\s+/g,` `).trim();function Zo(e,t,n=0){if(!e||!e.length)return null;let r=Xo(t);if(!r)return null;let i=[],a=``;for(let t of e)i.push(a.length),a+=Xo(t.text)+` `;let o=a.indexOf(r);if(o===-1){let e=r.split(` `).slice(0,5).join(` `);e&&e!==r&&(o=a.indexOf(e))}if(o===-1)return null;let s=0,c=i.length-1,l=0;for(;s<=c;){let e=s+c>>1;i[e]<=o?(l=e,s=e+1):c=e-1}let u=e[l].start;return n>0&&e[0].start>=n-6e4?Math.max(0,u-n):u}async function Qo(e,t){if(e==null)return null;try{let n=await Go(e);return n.assetDir?Zo(await Yo(n.assetDir),t,n.startInProduced):null}catch{return null}}function $o(e){if(e==null||!Number.isFinite(e))return``;let t=Math.floor(e/1e3),n=Math.floor(t/60),r=t%60;return`${n}:${String(r).padStart(2,`0`)}`}function es(e,t){let n=`https://videos.jem.tv/video-player?clip=${e}`;return t==null?n:`${n}&position=${t}`}function ts(e){let t=e?._snippetResult?.transcript?.value||e?._highlightResult?.transcript?.value||e?.transcript||``;return String(t).replace(/<\/?em>/g,``).replace(/[â¦]/g,` `).replace(/\s+/g,` `).trim()}var ns=`/api/agent`,rs=3e5,is=[{id:`c45db44e-f66a-45bc-b2ed-3de29acbd30f`,name:`Videos`,icon:`play_circle`}];function as(){let e=new Date;try{return`Today is ${e.toLocaleDateString(`en-US`,{weekday:`long`,year:`numeric`,month:`long`,day:`numeric`})}. The Hebrew date during daylight today is ${new Intl.DateTimeFormat(`en-u-ca-hebrew`,{year:`numeric`,month:`long`,day:`numeric`}).format(e)}; after nightfall it advances to the next Hebrew day.`}catch{try{return`Today is ${e.toISOString().slice(0,10)} (ISO). The Hebrew date is not available â do not guess it.`}catch{return`Today's date is unavailable â do not guess it.`}}}var os=()=>`Follow these rules in every response: 77 781. LENGTH AND STYLE. Be concise. Make every answer about a third shorter than \ 79your default. Cut filler, preambles, and restatements of the question. Lead \ 80with the answer. No wind-up ("What a beautiful question") and no wind-down \ 81summarizing what you just said. One tight paragraph or a short list; stop when \ 82the answer is complete. 83 842. TODAY'S DATE. ${as()} Use only this date. Never infer the current \ 85date, season, or occasion from anything else â not from your training data, not \ 86from the archive records you retrieve, and not from the topic being discussed. \ 87If a calculation you are unsure of is needed (which parsha, whether a holiday \ 88has begun, how many days until an occasion), say what you are unsure of rather \ 89than asserting it. 90 913. SEASONAL AND HOLIDAY REFERENCES. Do not open or close with a seasonal or \ 92holiday greeting; answer the question asked. When the user asks what is current \ 93or upcoming, answer from the date above. Otherwise reference a holiday only when \
94the user raises it or when a record's own date makes it relevant to the content. 95 964. SPELLING OF THE DIVINE NAME. Always write G-d (capital G, hyphen, lowercase \ 97d) in English â never "God", "Gd", or "Hashem" unless quoting a source. Apply \ 98the same to L-rd. Use this spelling identically in every response, including in \ 99text you paraphrase. Leave exact quoted source text unchanged.`,ss={video:`play_circle`,document:`description`,photo:`image`,audio:`headphones`};function cs(){let e=new Date().getHours();return e<5?`Good evening`:e<12?`Good morning`:e<18?`Good afternoon`:`Good evening`}function ls(e,t){if(t){let e=ma(t);if(e)return e}let n=e.link||``,r=(e.result_type||``).toLowerCase();if(r===`document`||/\/documents\//.test(n)){let e=n.match(/documents\/([^/?#]+)/);return e?fa({id:e[1]}):n}if(r===`photo`||r===`image`||/photos\.jemedia\.org/.test(n)){let e=n.match(/share\/([^/?#]+)/);return e?pa({id:e[1]}):n}return n}var us=/^(?:videos\.jem\.tv|www\.jem\.tv|jem\.tv|photos\.jemedia\.org|ccdb\.jemedia\.org)$/i;function ds(e){let t;try{t=new URL(String(e||``).trim())}catch{return null}if(t.protocol!==`https:`&&t.protocol!==`http:`||!us.test(t.hostname))return null;if(t.protocol=`https:`,/\/video-player\/?$/.test(t.pathname)){let e=t.searchParams.get(`clip`),n=t.searchParams.get(`produced`);if(e&&/^\d+$/.test(e)){let n=t.searchParams.get(`t`);return`https://videos.jem.tv/video-player?clip=${e}${n&&/^\d+$/.test(n)?`&t=${n}`:``}`}return n&&/^\d+$/.test(n)?`https://videos.jem.tv/video-player?produced=${n}`:null}let n=t.pathname.match(/^\/documents\/([^/?#]+)\/?$/);if(n)return fa({id:decodeURIComponent(n[1])});let r=t.pathname.match(/^\/share\/([^/?#]+)\/?$/);return r&&/jemedia\.org$/i.test(t.hostname)?pa({id:decodeURIComponent(r[1])}):null}function fs(e){return/\/documents\//.test(e)?`View document`:/\/share\//.test(e)?`View photo`:`Watch video`}var ps=/^(?:click\s*here|here|link|this|this\s+(?:clip|video|link|one)|watch|watch\s+(?:here|this|video)|see\s+here|source|read\s+more|more)\W*$/i;function ms(e,t,n){let r=n&&n(e)||``;if(r)return r;let i=ra(String(t||``)).trim();return i&&!ps.test(i)&&!/^https?:\/\//i.test(i)?i:fs(e)}function hs({url:e,name:t}){return(0,q.jsx)(`a`,{href:e,title:t,dir:`auto`,onClick:t=>{t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.button!==0||(t.preventDefault(),Ao(e))},style:{display:`inline-block`,margin:`0 1px`,padding:`1px 8px`,borderRadius:100,maxWidth:`100%`,overflowWrap:`break-word`,background:`rgba(254,164,56,0.14)`,border:`1px solid rgba(254,164,56,0.45)`,color:`#fea438`,fontSize:13,fontWeight:700,fontFamily:`var(--font-body)`,textDecoration:`none`,cursor:`pointer`,lineHeight:1.5,transition:`background 0.15s`,unicodeBidi:`isolate`},onMouseEnter:e=>{e.currentTarget.style.background=`rgba(254,164,56,0.26)`},onMouseLeave:e=>{e.currentTarget.style.background=`rgba(254,164,56,0.14)`},children:t})}var gs=/[\u0590-\u05FF\u0600-\u06FF\u0700-\u074F\u0780-\u07BF\uFB1D-\uFB4F\uFB50-\uFDFF\uFE70-\uFEFC]/g,_s=/[A-Za-z\u00C0-\u024F]/g;function vs(e){let t=String(e||``),n=(t.match(gs)||[]).length;return n&&n>=(t.match(_s)||[]).length?`rtl`:`ltr`}function ys(e,t){let n=[],r=/\[([^\]]*)\]\(([^)\s]+)[^)]*\)|\*\*([^*]+)\*\*|\*([^*\n]+)\*|`([^`\n]+)`|(https?:\/\/[^\s)<>\]]+)/g,i=0,a,o=0;for(;a=r.exec(e);){let[r,s,c,l,u,d,f]=a;if(a.index>i&&n.push(e.slice(i,a.index)),c!==void 0){let e=ds(c);if(e)n.push((0,q.jsx)(hs,{url:e,name:ms(e,s,t)},o++));else{let e=ra(String(s||``)).trim();e&&!ps.test(e)&&n.push(e)}}else if(f!==void 0){let e=ds(f);e&&n.push((0,q.jsx)(hs,{url:e,name:ms(e,``,t)},o++))}else l===void 0?u===void 0?n.push((0,q.jsx)(`code`,{style:{fontFamily:`ui-monospace, SFMono-Regular, Menlo, monospace`,fontSize:`0.92em`,background:`rgba(255,255,255,0.07)`,borderRadius:4,padding:`1px 5px`},children:d},o++)):n.push((0,q.jsx)(`em`,{children:u},o++)):n.push((0,q.jsx)(`strong`,{children:l},o++));i=a.index+r.length}i<e.length&&n.push(e.slice(i));let s=[];for(let e of n)typeof e==`string`&&typeof s[s.length-1]==`string`?s[s.length-1]+=e:s.push(e);return s.map((e,t)=>{if(typeof e!=`string`)return e;let n=e.replace(/[ \t]{2,}/g,` `);return n=n.replace(/\s+(?:and|or|as well as|such as|including|see|at|in)\s*(?=[,.;:!?])/gi,``),n=n.replace(/\s+([,.;
99:!?)\]])/g,`$1`),t===s.length-1&&(n=n.replace(/[ \t]+$/,``)),t===0&&(n=n.replace(/^[ \t]+/,``)),n}).filter(e=>e!==``)}function bs(e){let t=String(e||``).replace(/\r\n?/g,` 100`).split(` 101`),n=[],r=[],i=()=>{r.length&&(n.push({kind:`p`,text:r.join(` `).trim()}),r=[])};for(let e of t){let t=e.trimEnd();if(!t.trim()){i();continue}let a;if(a=t.match(/^\s{0,3}(#{1,6})\s+(.*)$/)){i(),n.push({kind:`h`,level:a[1].length,text:a[2].trim()});continue}if(a=t.match(/^\s*[-*â¢]\s+(.*)$/)){i(),n.push({kind:`li`,text:a[1].trim()});continue}if(a=t.match(/^\s*(\d{1,2})[.)]\s+(.*)$/)){i(),n.push({kind:`li`,marker:`${a[1]}.`,text:a[2].trim()});continue}r.push(t.trim())}return i(),n.filter(e=>e.text)}function xs({text:e,titleForUrl:t}){return(0,q.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:10},children:(0,v.useMemo)(()=>bs(e),[e]).map((e,n)=>{let r=vs(e.text),i=r===`rtl`,a={margin:0,fontSize:15,lineHeight:1.6,color:`rgba(255,255,255,0.9)`,direction:r,textAlign:i?`right`:`left`,unicodeBidi:`isolate`};return e.kind===`h`?(0,q.jsx)(`div`,{dir:r,style:{...a,fontSize:e.level<=2?17:15.5,fontWeight:700,color:`#fff`,marginTop:n?6:0},children:ys(e.text,t)},n):e.kind===`li`?(0,q.jsxs)(`div`,{dir:r,style:{...a,display:`flex`,gap:8,alignItems:`baseline`,flexDirection:i?`row-reverse`:`row`},children:[(0,q.jsx)(`span`,{style:{flexShrink:0,color:`#fea438`,fontWeight:700},children:e.marker||`â¢`}),(0,q.jsx)(`span`,{style:{minWidth:0,flex:1,textAlign:i?`right`:`left`},children:ys(e.text,t)})]},n):(0,q.jsx)(`p`,{dir:r,style:a,children:ys(e.text,t)},n)})})}function Ss(){return(0,q.jsx)(`span`,{style:{display:`inline-flex`,gap:4,padding:`4px 0`},children:[0,1,2].map(e=>(0,q.jsx)(`span`,{style:{width:6,height:6,borderRadius:`50%`,background:`rgba(255,255,255,0.5)`,animation:`aiDot 1.2s ${e*.18}s ease-in-out infinite`}},e))})}function Cs({steps:e}){let[t,n]=(0,v.useState)(!0);return e.length?(0,q.jsxs)(`div`,{style:{border:`1px solid rgba(255,255,255,0.08)`,borderRadius:10,overflow:`hidden`,marginBottom:14},children:[(0,q.jsxs)(`button`,{onClick:()=>n(e=>!e),style:{width:`100%`,display:`flex`,alignItems:`center`,gap:8,background:`rgba(255,255,255,0.03)`,border:`none`,cursor:`pointer`,padding:`9px 12px`,color:`rgba(255,255,255,0.6)`,fontSize:12,fontWeight:700,fontFamily:`var(--font-body)`,textTransform:`uppercase`,letterSpacing:`0.1em`,textAlign:`left`},children:[`Reasoning`,(0,q.jsx)(`span`,{style:{flex:1}}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,transform:t?`rotate(180deg)`:`none`,transition:`transform 0.18s`},children:`expand_more`})]}),t&&(0,q.jsx)(`div`,{style:{padding:`4px 12px 10px`,display:`flex`,flexDirection:`column`,gap:6},children:e.map((e,t)=>(0,q.jsx)(`div`,{style:{display:`flex`,alignItems:`baseline`,gap:8,fontSize:13,color:`rgba(255,255,255,0.65)`,lineHeight:1.5},children:(0,q.jsxs)(`span`,{style:{minWidth:0},children:[`Searched `,(0,q.jsx)(`span`,{style:{color:`white`,fontWeight:600},children:e.index||`index`}),` for`,` `,(0,q.jsxs)(`span`,{style:{color:`white`},children:[`"`,e.query,`"`]}),e.filters&&Object.keys(e.filters).length>0&&(0,q.jsxs)(`span`,{style:{color:`rgba(255,255,255,0.45)`},children:[` · filters `,JSON.stringify(e.filters)]}),e.count!=null&&(0,q.jsxs)(`span`,{style:{color:`#fea438`,fontWeight:600},children:[` â `,e.count,` result`,e.count===1?``:`s`]})]})},e.id?`s-${e.id}`:`i-${t}`))})]}):null}function ws(e){if(!e)return[];let t=new Set;e.clip_id!=null&&t.add(`clip:${e.clip_id}`),e.produced_video_id!=null&&t.add(`produced:${e.produced_video_id}`),e.id!=null&&!isNaN(Number(e.id))&&(t.add(`clip:${e.id}`),t.add(`id:${e.id}`));try{let n=new URL(e.link||e.jem_link||``),r=n.searchParams.get(`clip`),i=n.searchParams.get(`produced`);r&&t.add(`clip:${r}`),i&&t.add(`produced:${i}`)}catch{}let n=e.objectID||``,r=n.match(/^produced[_-]video[_-](\d+)$/i);r&&t.add(`produced:${r[1]}`);let i=n.match(/^video[_-]clip[_-](\d+)$/i);i&&t.add(`clip:${i[1]}`);let a=(e.result_type||e.type||e._index||``).toLowerCase(),o=e.link||e.jem_link||``;if(a.includes(`document`)||e._index===`documents`||/\/documents\//.test(o)){let n=o.match(/documents\/([^/?#]+)/)?.[1]||e.id||(e.objectID||``).replace(/^document[_-]/i,``);n&&t.add(`document:${n}`)}if(a===`photo`||a===`image`||e._index===`ccdb`||/photos\.jemedia\.org/.test(o)){let n=o.match(/share\/([^/?#]+)/)?.[1]||e.jem_id||e.id||(e.objectID||``).replace(/^photo[_-]/i,``);n&&t.add(`photo:${n}`)}return[...t]}function Ts({link:e,hit:t}){let n=ls(e,t),[r,i]=(0,v.useState)(!0),[a,o]=(0,v.useState)(null),s=ia(t)||e.thumbnail||e.image||a,c=t?aa(t):ra(e.title)||`Untitled`,l=t?oa(t):ra(e.description),u=(t?.type||t?._index||e.result_type||`video`).toLowerCase(),d=t?u.includes(`document`)?`Document`:u===`photo`||u===`image`||t._index===`ccdb`?`Photo`:la(t.type)||`Video`:e.result_type||``,f
101=u.includes(`document`),p=u===`photo`||u===`image`||t?._index===`ccdb`,m=ss[u]||(f?`description`:p?`image`:`play_circle`),h=f?`View document`:p?`View photo`:`Watch video`;return(0,v.useEffect)(()=>{if(i(!0),o(null),ia(t)||e.thumbnail||e.image)return;let n=[...ws(e).filter(e=>[`clip:`,`produced:`,`document:`,`photo:`].some(t=>e.startsWith(t))),...ws(t).filter(e=>[`clip:`,`produced:`,`document:`,`photo:`].some(t=>e.startsWith(t)))][0];if(!n)return;let r=n.indexOf(`:`),a=n.slice(0,r),s=n.slice(r+1),c=!1;return Zi(a,s).then(e=>{!c&&e&&(o(e),i(!0))}),()=>{c=!0}},[e,t]),(0,q.jsxs)(`div`,{className:`jemai-source-card`,onClick:()=>Ao(n),style:{background:`#272b2b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,padding:16,display:`flex`,flexDirection:`column`,gap:16,cursor:`pointer`,transition:`opacity 0.15s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`0.85`},onMouseLeave:e=>{e.currentTarget.style.opacity=`1`},children:[(0,q.jsxs)(`div`,{className:`jemai-source-media`,style:{border:`1px solid rgba(255,255,255,0.1)`,borderRadius:4,overflow:`hidden`},children:[(0,q.jsx)(`div`,{className:`jemai-source-thumb`,style:{background:`#1a1d1d`,aspectRatio:`318/159`,display:`flex`,alignItems:`center`,justifyContent:`center`,position:`relative`},children:s&&r?(0,q.jsx)(`img`,{src:s,alt:``,loading:`lazy`,onError:()=>i(!1),style:{position:`absolute`,inset:0,width:`100%`,height:`100%`,objectFit:`cover`}}):(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:48,color:`rgba(255,255,255,0.05)`},children:m})}),(0,q.jsx)(`div`,{className:`jemai-source-typebar`,style:{background:`#272b2b`,display:`flex`,alignItems:`center`,padding:8},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`rgba(255,255,255,0.75)`},children:m})})]}),(0,q.jsxs)(`div`,{className:`jemai-source-body`,style:{display:`flex`,flexDirection:`column`,gap:8},children:[d&&(0,q.jsx)(`div`,{style:{fontSize:10,fontWeight:800,color:`rgba(255,255,255,0.5)`,letterSpacing:`2px`,textTransform:`uppercase`,lineHeight:1},children:d}),(0,q.jsx)(`div`,{dir:vs(c),style:{fontSize:16,fontWeight:600,color:`white`,lineHeight:1.1,letterSpacing:`-0.02em`,display:`-webkit-box`,WebkitLineClamp:2,WebkitBoxOrient:`vertical`,overflow:`hidden`,textAlign:vs(c)===`rtl`?`right`:`left`},children:c}),l&&(0,q.jsx)(`div`,{dir:vs(l),style:{fontSize:14,color:`rgba(255,255,255,0.75)`,lineHeight:1.3,display:`-webkit-box`,WebkitLineClamp:2,WebkitBoxOrient:`vertical`,overflow:`hidden`,textAlign:vs(l)===`rtl`?`right`:`left`},children:l}),(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:2},children:[(0,q.jsx)(`span`,{style:{fontSize:14,fontWeight:600,color:`#ffffff`},children:h}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`#ffffff`},children:`chevron_right`})]})]})]})}function Es(e){let t=new Set;if(!e)return t;e.clip_id!=null&&/^\d+$/.test(String(e.clip_id))&&t.add(`clip:${e.clip_id}`),e.produced_video_id!=null&&/^\d+$/.test(String(e.produced_video_id))&&t.add(`produced:${e.produced_video_id}`);let n=(e.result_type||e.type||e._index||``).toLowerCase();e.id!=null&&/^\d+$/.test(String(e.id))&&(n.includes(`document`)||e._index===`documents`?t.add(`document:${e.id}`):n===`photo`||n===`image`||e._index===`ccdb`?t.add(`photo:${e.id}`):t.add(`clip:${e.id}`)),e.jem_id!=null&&t.add(`photo:${e.jem_id}`);let r=e.objectID||``,i;(i=r.match(/^video[_-]clip[_-](\d+)$/i))?t.add(`clip:${i[1]}`):(i=r.match(/^produced[_-]video[_-](\d+)$/i))&&t.add(`produced:${i[1]}`);try{let n=new URL(e.link||e.jem_link||``),r=n.searchParams.get(`clip`);r&&t.add(`clip:${r}`);let i=n.searchParams.get(`produced`);i&&t.add(`produced:${i}`)}catch{}return t}function Ds(e){let[t,n]=(0,v.useState)({}),r=(0,v.useMemo)(()=>{let t=[];for(let n of e){let e=n.hit;if(!e)continue;let r=(e.type||e._index||n.link.result_type||``).toLowerCase();if(r.includes(`document`)||r===`photo`||r===`image`)continue;let i=Es(e),a=null;for(let e of i)if(e.startsWith(`clip:`)){a=e.slice(5);break}if(!a)continue;let o=ts(e);o&&t.push({key:n.key,clipId:a,probe:o})}return t},[e]);return(0,v.useEffect)(()=>
101{if(!r.length)return;let e=!0;return(async()=>{let t={};await Promise.all(r.map(async({key:e,clipId:n,probe:r})=>{let i=await Qo(n,r);i!=null&&(t[e]={href:es(n,i),timeLabel:$o(i)})})),e&&Object.keys(t).length&&n(e=>({...e,...t}))})(),()=>{e=!1}},[r]),t}function Os({links:e,sourceMap:t,sources:n}){let[r,i]=(0,v.useState)(`all`),a=(0,v.useMemo)(()=>e.map(e=>{for(let n of ws(e)){let r=t.get(n);if(r)return{link:e,hit:r}}if(n&&n.length){let t=Es(e);if(t.size)for(let r of n){let n=Es(r);for(let i of t)if(n.has(i))return{link:e,hit:r}}}return{link:e,hit:void 0}}),[e,t,n]),{chips:o,keyed:s}=(0,v.useMemo)(()=>{let e=new Map,t=a.map((t,n)=>{let r=t.hit?.type||t.link.result_type||`Video`,i=la(r)||r;e.set(i,(e.get(i)||0)+1);let a=t.hit?.objectID||t.link.link||t.link.title||`i${n}`;return{...t,typeKey:i,key:`${a}#${n}`}});return{chips:[{id:`all`,label:`All`,count:t.length},...[...e.entries()].sort((e,t)=>t[1]-e[1]).map(([e,t])=>({id:e,label:e,count:t}))],keyed:t}},[a]),c=Ds(s),l=r===`all`?s:s.filter(e=>e.typeKey===r);return(0,q.jsxs)(`div`,{style:{marginTop:18},children:[(0,q.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:7,fontSize:11,fontWeight:800,textTransform:`uppercase`,letterSpacing:`0.1em`,color:`#fea438`,marginBottom:12},children:`Curated Sources`}),o.length>2&&(0,q.jsx)(`div`,{className:`jemai-source-chips`,children:o.map(e=>(0,q.jsxs)(`button`,{onClick:()=>i(e.id),style:{background:r===e.id?`#ffffff`:`rgba(255,255,255,0.06)`,color:r===e.id?`#000`:`rgba(255,255,255,0.85)`,border:`1px solid `+(r===e.id?`#ffffff`:`rgba(255,255,255,0.12)`),borderRadius:100,padding:`6px 14px`,fontSize:13,fontWeight:600,fontFamily:`var(--font-body)`,cursor:`pointer`,transition:`all 0.15s`},children:[e.label,` `,(0,q.jsx)(`span`,{style:{opacity:.6},children:e.count})]},e.id))}),(0,q.jsx)(`div`,{className:`jemai-sources-list`,children:l.map(e=>{let t=(e.hit?.type||e.hit?._index||e.link.result_type||`video`).toLowerCase(),n=t.includes(`document`)||e.hit?._index===`documents`,r=e.hit&&(t===`photo`||t===`image`||e.hit._index===`ccdb`),i=c[e.key];return(0,q.jsx)(`div`,{className:`jemai-source-item`,children:n?(0,q.jsx)(Lo,{hit:e.hit,link:e.link}):e.hit&&!r?(0,q.jsx)(Io,{hit:e.hit,href:i?.href,timeLabel:i?.timeLabel}):(0,q.jsx)(Ts,{link:e.link,hit:e.hit})},e.key)})})]})}function ks(e){let t=``,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(!n){t+=i,i===`"`&&(n=!0);continue}if(i===`\\`){t+=i+(e[r+1]??``),r++;continue}if(i===`"`){let a=r+1;for(;a<e.length&&/\s/.test(e[a]);)a++;let o=e[a];o===void 0||o===`:`||o===`,`||o===`}`||o===`]`?(t+=i,n=!1):t+=`\\"`;continue}t+=i}return t}function As(e){if(!e||typeof e!=`string`)return null;let t=e.trim(),n=t.match(/```(?:json)?\s*([\s\S]*?)(?:```|$)/);n&&n[1].trim()&&(t=n[1].trim());let r=[t],i=t.indexOf(`{`),a=t.lastIndexOf(`}`);i!==-1&&a>i&&r.push(t.slice(i,a+1));for(let e of r){try{return JSON.parse(e)}catch{}try{return JSON.parse(ks(e))}catch{}}return null}function js(e){if(typeof e!=`string`)return null;let t=e.match(/"message"\s*:\s*"((?:[^"\\]|\\.)*)"\s*(?=[,}])/);if(t)try{return{message:JSON.parse(`"${t[1]}"`)}}catch{}let n=e.match(/"message"\s*:\s*"((?:[^"\\]|\\.)*\\?)$/);if(n){let e=n[1].replace(/\\u[0-9a-fA-F]{0,3}$/,``).replace(/\\$/,``);try{let t=JSON.parse(`"${e}"`);return t.trim()?{message:t,partial:!0}:null}catch{return null}}let r=e.match(/"summary"\s*:\s*"((?:[^"\\]|\\.)*\\?)("\s*(?=[,}])|$)/);if(r){let e=r[1].replace(/\\u[0-9a-fA-F]{0,3}$/,``).replace(/\\$/,``);try{let t=JSON.parse(`"${e}"`);return t.trim()?{message:t,partial:!r[2].trim()}:null}catch{return null}}return null}function Ms(e){if(!e)return null;if(typeof e==`string`){let t=As(e);if(t&&typeof t==`object`)return Ms(t);if(t!=null)return null;let n=e.trim();return n.startsWith(`{`)||n.startsWith(`[`)?js(n):n?{message:e}:null}if(typeof e!=`object`||Array.isArray(e))return null;if(e.content!=null&&!e.message&&!e.resultLinks&&!e.summary){let t=Ms(e.content);if(t)return t}return typeof e.message==`string`||Array.isArray(e.resultLinks)||typeof e.summary==`string`?e:null}function Ns(e){if(!e)return null;if(typeof e==`object`)return Ms(e);let t=As(e);if(t!=null){let e=Ms(t);if(e)return e}return js(e)||Ms(String(e))}function Ps(e){let t=Ns(e);if(!t)return e;let{partial:n,...r}=t;return JSON.stringify(r)}function Fs({children:e}){return(0,q.jsx)(`div`,{style:{padding:`10px 14px`,borderRadius:10,fontSize:13,fontWeight:600,background:`rgba(239,68,68,0.1)`,border:`1px solid rgba(239,68,68,0.3)`,color:`#fca5a5`,display:`flex`,alignItems:`center`,gap:8},children:e})}function Is(e){let t=String(e||``).trim(),n=t.match(/```(?:json)?\s*([\s\S]*?)(?:```|$)/);if(n&&n[1].trim()&&(t=n[1].trim()),t.startsWith(`{`)||t.startsWith(`[`)){let e=[...t.matchAll(/"((?
101:[^"\\]|\\.){12,})"/g)].map(e=>{try{return JSON.parse(`"${e[1]}"`)}catch{return``}}).filter(Boolean);if(e.length)return e.sort((e,t)=>t.length-e.length)[0]}return t}function Ls({parsed:e,plainText:t,links:n,sourceMap:r}){let i=[],a=(e?.message||e?.summary||t||``).trim();return a&&i.push(a),Array.isArray(e?.key_insights)&&e.key_insights.length&&(i.push(``,`Key Insights:`),e.key_insights.forEach(e=>{let t=(e.title||``).trim(),n=(e.insight||``).trim();i.push(`⢠${[t,n].filter(Boolean).join(` â `)}`)})),Array.isArray(n)&&n.length&&(i.push(``,`Sources:`),n.forEach(e=>{let t;for(let n of ws(e)){let e=r.get(n);if(e){t=e;break}}let n=ls(e,t),a=(t?aa(t):ra(e.title))||`Source`;n&&i.push(`⢠${a}: ${n}`)})),i.push(``,`via JEMᴬᴵ â videos.jem.tv`),i.join(` 102`)}function Rs({text:e,onClose:t}){let[n,r]=(0,v.useState)(!1),i=`https://wa.me/?text=${encodeURIComponent(e)}`,a=`mailto:?subject=JEM%20answer&body=${encodeURIComponent(e)}`;return(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(`div`,{onClick:t,style:{position:`fixed`,inset:0,zIndex:1099}}),(0,q.jsxs)(`div`,{onClick:e=>e.stopPropagation(),style:{position:`absolute`,bottom:`calc(100% + 10px)`,left:0,zIndex:1100,width:280,maxWidth:`calc(100vw - 48px)`,background:`#181b1b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:16,padding:16,display:`flex`,flexDirection:`column`,gap:14,boxShadow:`0 16px 44px rgba(0,0,0,0.6)`,fontFamily:`var(--font-body)`,animation:`tabFadeIn 0.16s ease both`},children:[(0,q.jsxs)(`div`,{style:{display:`flex`,justifyContent:`space-between`,alignItems:`center`},children:[(0,q.jsx)(`div`,{style:{fontSize:14,fontWeight:700,color:`white`},children:`Share Answer`}),(0,q.jsx)(`button`,{onClick:t,style:{background:`rgba(255,255,255,0.06)`,border:`none`,color:`#b3b3b3`,cursor:`pointer`,width:26,height:26,borderRadius:7,display:`flex`,alignItems:`center`,justifyContent:`center`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16},children:`close`})})]}),(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`flex-start`,gap:8,background:`#272b2b`,borderRadius:10,padding:`10px 12px`},children:[(0,q.jsx)(`span`,{style:{flex:1,fontSize:12,color:`#b3b3b3`,maxHeight:96,overflowY:`auto`,whiteSpace:`pre-wrap`,lineHeight:1.5,minWidth:0},children:e}),(0,q.jsx)(`button`,{onClick:()=>{navigator.clipboard?.writeText(e).then(()=>{r(!0),setTimeout(()=>r(!1),2e3)})},style:{flexShrink:0,background:n?`rgba(74,222,128,0.15)`:`rgba(255,255,255,0.08)`,border:`1px solid ${n?`rgba(74,222,128,0.3)`:`rgba(255,255,255,0.1)`}`,color:n?`#4ade80`:`white`,borderRadius:6,padding:`4px 10px`,cursor:`pointer`,fontSize:12,fontWeight:600,transition:`all 0.15s`},children:n?`Copied!`:`Copy`})]}),(0,q.jsxs)(`div`,{style:{display:`grid`,gridTemplateColumns:`1fr 1fr`,gap:8},children:[(0,q.jsx)(`a`,{href:i,target:`_blank`,rel:`noopener noreferrer`,style:{display:`flex`,alignItems:`center`,justifyContent:`center`,gap:6,padding:`11px`,borderRadius:10,background:`#25D366`,color:`white`,textDecoration:`none`,fontSize:13,fontWeight:600,transition:`opacity 0.15s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`0.85`},onMouseLeave:e=>{e.currentTarget.style.opacity=`1`},children:`WhatsApp`}),(0,q.jsx)(`a`,{href:a,style:{display:`flex`,alignItems:`center`,justifyContent:`center`,gap:6,padding:`11px`,borderRadius:10,background:`rgba(255,255,255,0.06)`,border:`1px solid rgba(255,255,255,0.1)`,color:`white`,textDecoration:`none`,fontSize:13,fontWeight:600,transition:`opacity 0.15s`},onMouseEnter:e=>{e.currentTarget.style.opacity=`0.85`},onMouseLeave:e=>{e.currentTarget.style.opacity=`1`},children:`Email`})]})]})]})}function zs({icon:e,label:t,onClick:n,active:r}){return(0,q.jsx)(`button`,{onClick:n,title:t,"aria-label":t,style:{display:`flex`,alignItems:`center`,justifyContent:`center`,background:r?`rgba(74,222,128,0.15)`:`rgba(255,255,255,0.12)`,border:`1px solid ${r?`rgba(74,222,128,0.3)`:`rgba(255,255,255,0.3)`}`,color:r?`#4ade80`:`#ffffff`,width:32,height:32,borderRadius:`50%`,cursor:`pointer`,transition:`all 0.15s`},onMouseEnter:e=>{r||(e.currentTarget.style.background=`rgba(255,255,255,0.22)`)},onMouseLeave:e=>{r||(e.currentTarget.style.background=`rgba(255,255,255,0.12)`)},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18},children:e})})}function Bs({parsed:e,plainText:t,links:n,sourceMap:r}){let[i,a]=(0,v.useState)(!1),[o,s]=(0,v.useState)(!1),c=Ls({parsed:e,plainText:t,links:n,sourceMap:r});async function l(){try{await navigator.clipboard.writeText(c),a(!0),setTimeout(()=>a(!1),1800)}catch{}}return(0,q.jsxs)(`div`,{style:{marginTop:16,display:`flex`,alignItems:`center`,gap:10},children:[(0,q.jsx)(zs,{icon:i?`check`:`content_copy`,label:i?`Copied`:`Copy answer`,onClick:l,active:i}),(0,q.jsxs)(`div`,{style:{position:`relative`},children:[(0,q.jsx)(zs,{icon:`share`,label:`Share answer`,onClick:()=>s(e=>!e),active:o}),o&&(0,q.jsx)(Rs,{text:c,onClose:()=>s(!1)})]})]})}function Vs(){return(0,q.jsxs)(`div`,{style:{marginTop:16,paddingTop:12,borderTop:`1px solid rgba(255,255,255,0.06)`,fontSize:11.5,lineHeight:1.5,color:`rgba(255,255,255,0.4)`}
102,children:[(0,q.jsx)(`p`,{style:{margin:`0 0 8px`},children:`Thank you for exploring JEMai with us!`}),(0,q.jsx)(`p`,{style:{margin:`0 0 8px`},children:`This feature is in its early stages, and we're actively improving its accuracy and performance.`}),(0,q.jsx)(`p`,{style:{margin:`0 0 8px`},children:`While we strive for high-quality responses, please note that answers may not always be 100% accurate or complete.`}),(0,q.jsxs)(`p`,{style:{margin:`0 0 8px`},children:[`Your feedback is invaluable in refining this experience. If you encounter any issues or have suggestions, please reach out to us at`,` `,(0,q.jsx)(`a`,{href:`mailto:[email protected]`,style:{color:`rgba(255,255,255,0.55)`,textDecoration:`underline`},children:`[email protected]`}),`.`]}),(0,q.jsx)(`p`,{style:{margin:0},children:`The JEM Team`})]})}function Hs(e,t){let[n,r]=(0,v.useState)(``),i=(0,v.useRef)(0),a=(0,v.useRef)(0);return(0,v.useEffect)(()=>{if(!t)return;let n=()=>{let t=e.length,o=i.current;if(o<t){let n=t-o;o+=Math.min(n,Math.max(1,Math.ceil(n*.07)),8),i.current=o,r(e.slice(0,o))}a.current=requestAnimationFrame(n)};return a.current=requestAnimationFrame(n),()=>cancelAnimationFrame(a.current)},[e,t]),t?n:e}var Us=(0,v.memo)(function({m:e,streaming:t}){let n=(0,v.useMemo)(()=>Ns(e.content),[e.content]),r=(0,v.useMemo)(()=>{let t=new Map;return(e.sources||[]).forEach(e=>{ws(e).forEach(n=>{t.has(n)||t.set(n,e)})}),t},[e.sources]),i=String(e.content||``).trim(),a=!n&&i&&!t?Is(e.content):``,o=n&&!n.partial&&Array.isArray(n.resultLinks)&&n.resultLinks.length>0,s=(0,v.useMemo)(()=>{let t=new Map,i=(e,n)=>{let r=e&&ds(e),i=ra(String(n||``)).trim();r&&i&&i.toLowerCase()!==`untitled`&&!t.has(r)&&t.set(r,i)};return(e.sources||[]).forEach(e=>i(ma(e),aa(e))),Array.isArray(n?.resultLinks)&&n.resultLinks.forEach(e=>{let t;for(let n of ws(e)){let e=r.get(n);if(e){t=e;break}}i(ls(e,t),t?aa(t):ra(e.title)),e.link&&i(e.link,t?aa(t):ra(e.title))}),e=>t.get(e)||``},[e.sources,n,r]),c=!!(t&&n?.partial),l=Hs(n&&(n.message||n.summary)||``,t);return(0,q.jsxs)(`div`,{style:{animation:`tabFadeIn 0.25s ease both`},children:[(0,q.jsx)(Cs,{steps:e.steps}),n?(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(xs,{text:l,titleForUrl:s}),Array.isArray(n.key_insights)&&n.key_insights.length>0&&(0,q.jsxs)(`div`,{style:{marginTop:16,padding:`16px 18px`,background:`rgba(255,255,255,0.03)`,border:`1px solid rgba(255,255,255,0.08)`,borderRadius:14},children:[(0,q.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:7,fontSize:11,fontWeight:800,textTransform:`uppercase`,letterSpacing:`0.1em`,color:`#fea438`,marginBottom:12},children:`Key Insights`}),(0,q.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:12},children:n.key_insights.map((e,t)=>{let n=vs(`${e.title||``} ${e.insight||``}`);return(0,q.jsxs)(`div`,{dir:n,style:{textAlign:n===`rtl`?`right`:`left`},children:[(0,q.jsx)(`div`,{style:{fontSize:13.5,fontWeight:700,marginBottom:3},children:e.title}),(0,q.jsx)(`div`,{style:{fontSize:13,color:`rgba(255,255,255,0.7)`,lineHeight:1.5},children:e.insight})]},t)})})]}),o&&(0,q.jsx)(Os,{links:n.resultLinks,sourceMap:r,sources:e.sources}),!c&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(Bs,{parsed:n,links:n.resultLinks,sourceMap:r}),(0,q.jsx)(Vs,{})]})]}):e.error?(0,q.jsx)(Fs,{children:e.error}):t?(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:`center`,gap:10,color:`rgba(255,255,255,0.5)`,fontSize:13},children:[(0,q.jsx)(Ss,{}),(0,q.jsx)(`span`,{style:{animation:`tabFadeIn 0.3s ease both`},children:e.label||`Thinkingâ¦`})]}):a?(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(xs,{text:a,titleForUrl:s}),(0,q.jsx)(Bs,{plainText:a,links:[],sourceMap:r}),(0,q.jsx)(Vs,{})]}):e.stopped?(0,q.jsx)(`div`,{style:{display:`flex`,alignItems:`center`,gap:8,color:`rgba(255,255,255,0.45)`,fontSize:13,fontWeight:600},children:`Stopped.`}):(0,q.jsx)(Fs,{children:`No response received. Please try again.`})]})});function Ws(){return va()?(0,q.jsx)(zo,{JemAiPanel:Ks}):null}function Gs({initialQuery:e=``,agentId:t}={}){let n=t||is[0].id,[r,i]=(0,v.useState)([]),[a,o]=(0,v.useState)(``),[s,c]=(0,v.useState)(!1),l=(0,v.useRef)(null),u=(0,v.useRef)(!1),d=(0,v.useRef)(null),f=(0,v.useRef)(!1);(0,v.useEffect)(()=>{d.current?.focus({preventScroll:!0})},[]),(0,v.useEffect)(()=>()=>l.current?.abort(),[]);let p=(e,t)=>{if(!e.length)return e;let n=[...e];return n[n.length-1]=t(n[n.length-1]),n};async function m(e,t){let d=(e??a).trim();if(!d||s)return;let f=t?.agentId||n,m=r.filter(e=>!e.error).map(e=>{if(e.role===`user`)return`User: ${e.content}`;let t=Ns(e.content),n=t&&(t.message||t.summary)||``;return n.trim()?`Assistant: ${n.trim()}`:null}
102).filter(Boolean),h=d.startsWith(`"`)&&d.endsWith(`"`)?d:`"${d}"`,g=m.length?`Earlier in this conversation:\n${m.join(` 103`)}\n\nContinue the conversation and answer this follow-up, using the context above to resolve any references: ${d}`:h,_=`${os()}\n\n---\n\n${g}`;l.current?.abort();let v=new AbortController;l.current=v,u.current=!1;let y=!1,b=setTimeout(x,rs);function x(){y=!0,v.abort()}function S(){clearTimeout(b),b=setTimeout(x,rs)}let C=`u${Date.now()}`;i(e=>[...e,{role:`user`,content:d,id:C},{role:`assistant`,content:``,steps:[],sources:[],label:`Thinkingâ¦`,id:`a${Date.now()}`}]),o(``),c(!0);let w=``,T=null,E=e=>{if(!e)return;let t=e.indexOf(`:`);if(t===-1)return;let n=e.slice(0,t),r=e.slice(t+1);if(n===`0`){try{w+=JSON.parse(r)}catch{return}i(e=>p(e,e=>({...e,content:w,label:null})))}else if(n===`3`)try{let e=JSON.parse(r);T=typeof e==`string`?e:`Agent error`}catch{T=`Agent error`}else if(n===`9`)try{let e=JSON.parse(r),t=e.args||{};i(n=>p(n,n=>e.toolCallId&&n.steps.some(t=>t.id===e.toolCallId)?n:{...n,steps:[...n.steps,{id:e.toolCallId,index:t.index,query:t.query,filters:t.facet_filters,requested:t.number_of_results,count:null}],label:`Searching the archiveâ¦`}))}catch{}else if(n===`a`)try{let e=JSON.parse(r),t=e.result?.hits??(Array.isArray(e.result)?e.result:[]);i(n=>p(n,n=>({...n,steps:n.steps.map(n=>n.id===e.toolCallId?{...n,count:t.length}:n),sources:[...n.sources,...t],label:`Analyzing resultsâ¦`})))}catch{}else if(n===`8`)i(e=>p(e,e=>({...e,label:`Analyzing resultsâ¦`})));else if(n===`d`||n===`e`)try{JSON.parse(r).finishReason===`error`&&(T||=`The agent encountered an error. Please try again.`)}catch{}},D=(e,t)=>{t.buffer+=e;let n=t.buffer.split(` 104`);t.buffer=n.pop()??``;for(let e of n)E(e)};try{let e=await fetch(`${ns}/agents/${f}/completions?compatibilityMode=ai-sdk-4`,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({messages:[{role:`user`,content:_}]}),signal:v.signal});if(!e.ok){let t=await e.text().catch(()=>``);t&&console.error(`[JEMᴬᴵ] agent request failed`,e.status,t.slice(0,500));let n=e.status===429?`The assistant is busy right now. Please try again in a moment.`:`The assistant is temporarily unavailable. Please try again.`;throw Error(n)}if(!e.body)throw Error(`The assistant returned an empty response. Please try again.`);let t=e.body.getReader(),n=new TextDecoder,r={buffer:``};for(;;){let{done:e,value:i}=await t.read();if(e)break;S(),D(n.decode(i,{stream:!0}),r)}D(n.decode(),r),r.buffer&&E(r.buffer),T?i(e=>p(e,e=>({...e,error:T,label:null}))):w.trim()?i(e=>p(e,e=>({...e,content:Ps(w),label:null}))):i(e=>p(e,e=>e.error?e:{...e,error:`The agent returned an empty response. Please try again.`,label:null}))}catch(e){let t=w.trim()?Ps(w):``;if(e?.name===`AbortError`)y?i(e=>p(e,e=>t?{...e,content:t,label:null}:{...e,error:`The agent stopped responding. Please try again.`,label:null})):u.current&&i(e=>p(e,e=>t?{...e,content:t,label:null}:{...e,stopped:!0,label:null}));else{let n=e?.message||`Something went wrong`;i(e=>p(e,e=>t?{...e,content:t,label:null}:{...e,error:n,label:null}))}}finally{clearTimeout(b),c(!1)}}function h(){s&&(u.current=!0,l.current?.abort())}function g(){l.current?.abort(),i([]),c(!1),o(``),d.current?.focus({preventScroll:!0})}return(0,v.useEffect)(()=>{let t=(e||``).trim();t&&!f.current&&(f.current=!0,m(t))},[e]),{agentId:n,messages:r,setMessages:i,input:a,setInput:o,streaming:s,send:m,stop:h,newChat:g,inputRef:d,empty:r.length===0}}function Ks({initialQuery:e=``}){let{messages:t,input:n,setInput:r,streaming:i,send:a,stop:o,newChat:s,inputRef:c,empty:l}=Gs({initialQuery:e});return(0,q.jsxs)(`div`,{className:`jemai-panel`,style:{flex:1,display:`flex`,flexDirection:`column`,maxWidth:760,margin:`0 auto`,width:`100%`,padding:`0 24px`,minHeight:0,animation:`aiFadeIn 0.4s cubic-bezier(0.16,1,0.3,1) both`},children:[(0,q.jsx)(`style`,{children:` 105 @keyframes aiDot { 106 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 107 40% { opacity: 1; transform: translateY(-3px); } 108 } 109 @keyframes aiFadeIn { 110 from { opacity: 0; transform: translateY(10px); } 111 to { opacity: 1; transform: translateY(0); } 112 } 113 `}),l?(0,q.jsxs)(`div`,{style:{flex:1,display:`flex`,flexDirection:`column`,justifyContent:`center`,alignItems:`center`,gap:28,padding:`6vh 0 12vh`,animation:`aiFadeIn 0.45s cubic-bezier(0.16,1,0.3,1) both`},children:[(0,q.jsxs)(`div`,{style:{textAlign:`center`},children:[(0,q.jsxs)(`div`,{style:{fontSize:34,fontWeight:700,letterSpacing:`-0.03em`,color:`white`},children:[cs(),`.`]}),(0,q.jsx)(`div`,{style:{fontSize:16,color:`rgba(255,255,255,0.5)`,marginTop:8},children:`Ask JEMᴬᴵ anything.`})]}),(0,q.jsx)(Ys,{inputRef:c,value:n,onChange:r,onSend:()=>a(),onStop:o,streaming:i})]}):(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(`div`,{style:{flex:1,padding:`20px 0 24px`,display:`flex`,flexDirection:`column`,gap:28},children:t.map((e,n)=>e.role===`user`?(0,q.jsx)(`div`,{id:`msg-${e.id}`,style:{display:`flex`,justifyContent:`flex-end`,scrollMarginTop:20},children:(0,q.jsx)(`div`,{dir:vs(e.content),style:{background:`#272b2b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:`16px 16px 4px 16px`,padding:`10px 16px`,fontSize:15,lineHeight:1.5,maxWidth:`85%`,textAlign:vs(e.content)===`rtl`?`right`:`left`},children:e.content})},e.id):(0,q.jsx)(Us,{m:e,streaming:i&&n===t.length-1},e.id))}),(0,q.jsxs)(`div`,{style:{position:`sticky`,bottom:0,paddingBottom:20,background:`linear-gradient(to top, #131515 70%, transparent)`,display:`flex`,flexDirection:`column`,gap:10},children:[(0,q.jsx)(Ys,{inputRef:c,value:n,onChange:r,onSend:()=>a(),onStop:o,streaming:i}),(0,q.jsx)(`button`,{onClick:s,style:{alignSelf:`center`,background:`none`,border:`none`,cursor:`pointer`,color:`rgba(255,255,255,0.4)`,fontSize:12,fontWeight:600,fontFamily:`var(--font-body)`,display:`flex`,alignItems:`center`,gap:5,transition:`color 0.15s`},onMouseEnter:e=>{e.currentTarget.style.color=`rgba(255,255,255,0.8)`},onMouseLeave:e=>{e.currentTarget.style.color=`rgba(255,255,255,0.4)`}
113,children:`New chat`})]})]})]})}var qs=22,Js=qs*6;function Ys({inputRef:e,value:t,onChange:n,onSend:r,onStop:i,streaming:a,placeholder:o=`Ask JEMᴬᴵ about videos in the archiveâ¦`}){let s=a&&typeof i==`function`,c=(0,v.useRef)(null),l=e||c,[u,d]=(0,v.useState)(!1);return(0,v.useEffect)(()=>{let e=l.current;if(!e)return;e.style.height=`auto`;let t=Math.min(e.scrollHeight,Js);e.style.height=`${t}px`,d(t>qs+1)},[t,l]),(0,q.jsxs)(`div`,{style:{display:`flex`,alignItems:u?`flex-end`:`center`,gap:10,width:`100%`,background:`#1d2020`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:u?22:100,padding:u?`10px 6px 6px 20px`:`6px 6px 6px 20px`,transition:`border-color 0.18s, border-radius 0.18s`},children:[(0,q.jsx)(`textarea`,{ref:l,rows:1,value:t,onChange:e=>n(e.target.value),onKeyDown:e=>{e.key===`Enter`&&!e.shiftKey&&(e.preventDefault(),r())},placeholder:o,dir:`auto`,style:{flex:1,background:`none`,border:`none`,outline:`none`,resize:`none`,fontSize:16,lineHeight:`${qs}px`,color:`white`,fontFamily:`var(--font-body)`,minWidth:0,padding:0,margin:0,height:qs,maxHeight:Js,overflowY:`auto`,scrollbarWidth:`thin`,display:`block`}}),s?(0,q.jsx)(`button`,{onClick:i,title:`Stop`,"aria-label":`Stop generating`,style:{flexShrink:0,width:38,height:38,borderRadius:`50%`,border:`none`,background:`#ffffff`,color:`#000`,cursor:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,transition:`all 0.15s`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:18,fontVariationSettings:`'FILL' 1`},children:`stop`})}):(0,q.jsx)(`button`,{onClick:r,disabled:a||!t.trim(),style:{flexShrink:0,width:38,height:38,borderRadius:`50%`,border:`none`,background:a||!t.trim()?`rgba(255,255,255,0.08)`:`#ffffff`,color:a||!t.trim()?`rgba(255,255,255,0.3)`:`#000`,cursor:a||!t.trim()?`default`:`pointer`,display:`flex`,alignItems:`center`,justifyContent:`center`,transition:`all 0.15s`},children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:20},children:`arrow_upward`})})]})}var Xs=[`Thinking`,`Reading the archive`,`Gathering sources`,`Connecting the dots`,`Checking the details`,`Composing an answer`],Zs=[{key:`reasoning`,label:`Reasoning`,blurb:`Thorough, multi-step answers`,id:`c45db44e-f66a-45bc-b2ed-3de29acbd30f`},{key:`flash`,label:`Flash`,blurb:`Faster, lighter answers`,id:`144d2652-eba9-42fd-8e79-40bf44e05855`}],Qs=`jemai-agent`,$s=`jemai-agent-set`;function ec(){try{let e=localStorage.getItem(Qs);return Zs.some(t=>t.key===e)?e:`reasoning`}catch{return`reasoning`}}function tc(){try{return!!localStorage.getItem($s)}catch{return!1}}function nc(){return va()?(0,q.jsx)(rc,{}):null}function rc(){let[e]=wn(),t=(e.get(`q`)||``).trim(),[n,r]=(0,v.useState)(ec),[i,a]=(0,v.useState)(tc),o=Zs.find(e=>e.key===n)||Zs[0],{messages:s,streaming:c,send:l,stop:u,newChat:d}=Gs({agentId:o.id}),[f,p]=(0,v.useState)(``),[m,h]=(0,v.useState)(null),[g,_]=(0,v.useState)(!1),y=(0,v.useRef)(null),b=(0,v.useRef)(null),x=(0,v.useRef)(null),S=(0,v.useRef)(0),C=(0,v.useRef)(!1);(0,v.useEffect)(()=>{y.current?.focus({preventScroll:!0})},[]),(0,v.useEffect)(()=>{t&&!C.current&&(C.current=!0,w(t))},[t]),(0,v.useEffect)(()=>{let e=s.filter(e=>e.role===`user`).length;if(e>S.current){let e=b.current,t=x.current;if(e&&t){let n=t.getBoundingClientRect().top-e.getBoundingClientRect().top;e.scrollTo({top:Math.max(0,e.scrollTop+n-8),behavior:`smooth`})}}S.current=e},[s]);function w(e){let t=(e||``).trim();if(!(!t||c)){if(!i){h(t);return}l(t,{agentId:o.id})}}function T(e){a(!0);try{localStorage.setItem(Qs,e),localStorage.setItem($s,`1`)}catch{}}function E(e){let t=Zs.find(t=>t.key===e)||Zs[0];r(t.key),T(t.key);let n=m;h(null),n&&l(n,{agentId:t.id})}function D(e){let t=Zs.find(t=>t.key===e)||Zs[0];r(t.key),T(t.key)}function O(){let e=f.trim();e&&!c&&(p(``),w(e))}function k(){p(``),_(!1),d(),y.current?.focus({preventScroll:!0})}let A=s.map(e=>e.role).lastIndexOf(`user`),j=s.length===0&&!c;return(0,q.jsxs)(`div`,{className:`aiplus-shell`,children:[(0,q.jsx)(`style`,{children:ac}),(0,q.jsx)(`div`,{className:`aiplus-topseam`,"aria-hidden":`true`}),(0,q.jsx)(`div`,{className:`aiplus-aurora${c?` busy`:``}`,"aria-hidden":`true`}),(0,q.jsx)(`div`,{className:`aiplus-scroll`,ref:b,children:(0,q.jsx)(`div`,{className:`aiplus-col`,children:j?(0,q.jsxs)(`div`,{className:`aiplus-hero`,children:[(0,q.jsx)(`div`,{className:`aiplus-orb${c?` busy`:``}`}),(0,q.jsx)(`div`,{className:`aiplus-hero-title`,children:`JEMᴬᴵ Assistant`}),(0,q.jsx)(`div`,{className:`aiplus-hero-sub`,children:`Ask anything about the archive â I'll answer with sources.`})]}):(0,q.jsxs)(`div`,{className:`aiplus-thread`,children:[s.map((e,t)=>{if(e.role===`user`)return(0,q.jsx)(`div`,{className:`aiplus-user-row`,ref:t===A?x:void 0,children:(0,q.jsx)(`div`,{className:`aiplus-user-bubble`,dir:vs(e.content),children:e.content})},e.id);let n=t===s.length-1;return n&&c&&!e.error&&!Ns(e.content)?(0,q.jsx)(ic,{brand:!0,words:Xs}
113,e.id):(0,q.jsx)(Us,{m:e,streaming:c&&n},e.id)}),c&&s.length===0&&(0,q.jsx)(ic,{brand:!0,words:Xs})]})})}),(0,q.jsxs)(`div`,{className:`aiplus-dock`,children:[(0,q.jsx)(`div`,{className:`aiplus-dock-seam`,"aria-hidden":`true`}),(0,q.jsxs)(`div`,{className:`aiplus-dock-inner`,children:[(0,q.jsx)(Ys,{inputRef:y,value:f,onChange:p,onSend:O,onStop:u,streaming:c,placeholder:`Ask JEMᴬᴵ about the archiveâ¦`}),(0,q.jsxs)(`div`,{className:`aiplus-nav`,children:[(0,q.jsx)(`button`,{className:`aiplus-nav-btn`,onClick:k,disabled:j,children:`New chat`}),(0,q.jsxs)(`div`,{style:{position:`relative`},children:[(0,q.jsxs)(`button`,{className:`aiplus-nav-btn${g?` on`:``}`,onClick:()=>_(e=>!e),title:`Change answer style`,"aria-haspopup":`menu`,"aria-expanded":g,children:[`Answer style: `,(0,q.jsx)(`strong`,{style:{fontWeight:700},children:o.label}),(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:15,transform:g?`rotate(180deg)`:`none`,transition:`transform 0.18s`},children:`expand_more`})]}),g&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(`div`,{onClick:()=>_(!1),style:{position:`fixed`,inset:0,zIndex:1098}}),(0,q.jsx)(`div`,{className:`aiplus-advanced`,children:Zs.map(e=>{let t=o.key===e.key;return(0,q.jsxs)(`button`,{type:`button`,className:`aiplus-advanced-opt${t?` on`:``}`,onClick:()=>D(e.key),children:[(0,q.jsxs)(`span`,{style:{minWidth:0},children:[(0,q.jsx)(`span`,{className:`aiplus-advanced-opt-name`,children:e.label}),(0,q.jsx)(`span`,{className:`aiplus-advanced-opt-blurb`,children:e.blurb})]}),t&&(0,q.jsx)(`span`,{className:`material-symbols-rounded`,style:{fontSize:16,color:`#fea438`,marginLeft:`auto`},children:`check`})]},e.key)})})]})]})]})]})]}),m&&(0,q.jsx)(`div`,{role:`dialog`,"aria-modal":`true`,onClick:()=>{p(m),h(null)},style:{position:`fixed`,inset:0,zIndex:1e3,display:`flex`,alignItems:`center`,justifyContent:`center`,padding:20,background:`rgba(0,0,0,0.6)`,backdropFilter:`blur(4px)`,animation:`aiplusFade 0.2s ease both`},children:(0,q.jsxs)(`div`,{onClick:e=>e.stopPropagation(),style:{width:`100%`,maxWidth:380,background:`#181b1b`,border:`1px solid rgba(255,255,255,0.1)`,borderRadius:18,padding:22,boxShadow:`0 24px 60px rgba(0,0,0,0.5)`},children:[(0,q.jsx)(`div`,{style:{fontSize:18,fontWeight:700,color:`white`},children:`How should JEMᴬᴵ answer?`}),(0,q.jsx)(`div`,{style:{fontSize:13,color:`rgba(255,255,255,0.55)`,marginTop:4},children:`Pick one to continue â you can change it anytime from the Answer style button.`}),(0,q.jsx)(`div`,{style:{display:`flex`,flexDirection:`column`,gap:10,marginTop:18},children:Zs.map(e=>(0,q.jsx)(`button`,{type:`button`,onClick:()=>E(e.key),style:{display:`flex`,alignItems:`center`,gap:12,textAlign:`left`,padding:`12px 14px`,borderRadius:12,cursor:`pointer`,border:`1px solid rgba(255,255,255,0.12)`,background:`rgba(255,255,255,0.03)`,fontFamily:`var(--font-body)`,transition:`all 0.15s`},onMouseEnter:e=>{e.currentTarget.style.borderColor=`#fea438`,e.currentTarget.style.background=`rgba(254,164,56,0.1)`},onMouseLeave:e=>{e.currentTarget.style.borderColor=`rgba(255,255,255,0.12)`,e.currentTarget.style.background=`rgba(255,255,255,0.03)`},children:(0,q.jsxs)(`span`,{style:{minWidth:0},children:[(0,q.jsx)(`span`,{style:{display:`block`,fontSize:15,fontWeight:700,color:`white`},children:e.label}),(0,q.jsx)(`span`,{style:{display:`block`,fontSize:12.5,color:`rgba(255,255,255,0.55)`},children:e.blurb})]})},e.key))})]})})]})}function ic({words:e=Xs,brand:t=!1}){let[n,r]=(0,v.useState)(0),[i,a]=(0,v.useState)(t);(0,v.useEffect)(()=>{if(!t)return;let e=setTimeout(()=>a(!1),1100);return()=>clearTimeout(e)},[t]),(0,v.useEffect)(()=>{let e=setInterval(()=>r(e=>e+1),2800);return()=>clearInterval(e)},[]);let o=t&&i,s=o?`JEMᴬᴵ`:e[n%e.length];return(0,q.jsxs)(`div`,{className:`aiplus-thinking`,children:[(0,q.jsxs)(`span`,{className:`aiplus-dots${o?` intro`:``}`,"aria-hidden":`true`,children:[(0,q.jsx)(`i`,{}),(0,q.jsx)(`i`,{}),(0,q.jsx)(`i`,{})]}),(0,q.jsx)(`span`,{className:`aiplus-thinking-word${o?` brand`:``}`,children:o?s:`${s}â¦`},o?`__brand`:s)]})}var ac=` 114 .aiplus-shell { 115 position: fixed; inset: 0; display: flex; flex-direction: column; 116 background: #0d0f0f; color: #fff; font-family: var(--font-body); overflow: hidden; 117 } 118 .aiplus-topseam { 119 position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 5; 120 background: linear-gradient(90deg, #22d3ee, #3b82f6, #8b5cf6, #ec4899, #fea438, #22d3ee); 121 background-size: 300% 100%; animation: aiplusSeam 6s linear infinite; filter: blur(0.4px); 122 } 123 .aiplus-aurora { 124 position: absolute; top: -45%; left: 50%; transform: translateX(-50%); 125 width: 150%; height: 75%; z-index: 0; pointer-events: none; 126 background: 127 radial-gradient(38% 60% at 30% 30%, rgba(34,211,238,0.45), transparent 70%), 128 radial-gradient(40% 55% at 55% 20%, rgba(139,92,246,0.42), transparent 72%), 129 radial-gradient(42% 60% at 72% 35%, rgba(236,72,153,0.36), transparent 70%), 130 radial-gradient(45% 55% at 45% 55%, rgba(254,164,56,0.28), transparent 72%); 131 filter: blur(72px) saturate(1.2); opacity: 0.85; animation: aiplusAurora 14s ease-in-out infinite; 132 } 133 .aiplus-aurora.busy { animation-duration: 6s; opacity: 1; } 134 @keyframes aiplusAurora { 135 0% { transform: translateX(-50%) scale(1); filter: blur(72px) saturate(1.2) hue-rotate(0deg); } 136 50% { transform: translateX(-46%) scale(1.12); filter: blur(84px) saturate(1.4) hue-rotate(40deg); } 137 100% { transform: translateX(-50%) scale(1); filter: blur(72px) saturate(1.2) hue-rotate(0deg); } 138 } 139 @keyframes aiplusSeam { to { background-position: 300% 0; } } 140 141 .aiplus-scroll { 142 position: relative; z-index: 2; flex: 1; overflow-y: auto; 143 padding: clamp(40px, 8vh, 88px) 20px 24px; scrollbar-width: none; 144 } 145 .aiplus-scroll::-webkit-scrollbar { display: none; } 146 .aiplus-col { max-width: 760px; margin: 0 auto; width: 100%; } 147 148 /* Hero */ 149 .aiplus-hero { 150 display: flex; flex-direction: column; align-items: center; text-align: center; 151 gap: 16px; padding: clamp(8px, 6vh, 64px) 0 40px; 152 animation: aiplusFade 0.5s cubic-bezier(0.16,1,0.3,1) both; 153 } 154 .aiplus-orb { 155 width: 108px; height: 108px; border-radius: 50%; margin-bottom: 6px; 156 background: 157 radial-gradient(circle at 34% 30%, #ffe3ef 0%, transparent 52%), 158 radial-gradient(circle at 70% 36%, #dce6ff 0%, transparent 54%), 159 radial-gradient(circle at 54% 74%, #ffe9d8 0%, transparent 56%), 160 conic-gradient(from 210deg, #f6d9ec, #e3d9fb, #d6e6ff, #ffe6d9, #f6d9ec);
161 filter: blur(1px) saturate(1.05); 162 box-shadow: 0 0 44px 6px rgba(210,192,255,0.32), inset 0 0 0 1px rgba(255,255,255,0.5), inset 0 -10px 22px rgba(150,140,200,0.16); 163 animation: aiplusSpin 8s linear infinite, aiplusPulse 4s ease-in-out infinite; 164 } 165 .aiplus-orb.busy { animation: aiplusSpin 2.4s linear infinite, aiplusPulse 1.6s ease-in-out infinite; } 166 @keyframes aiplusSpin { to { transform: rotate(360deg); } } 167 @keyframes aiplusPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } } 168 .aiplus-hero-title { font-size: clamp(28px, 5vw, 36px); font-weight: 700; letter-spacing: -0.03em; } 169 .aiplus-hero-sub { font-size: 15px; color: rgba(255,255,255,0.55); max-width: 440px; } 170 171 /* Thread */ 172 .aiplus-thread { display: flex; flex-direction: column; gap: 28px; animation: aiplusFade 0.3s ease both; } 173 .aiplus-user-row { display: flex; justify-content: flex-end; } 174 .aiplus-user-bubble { 175 background: #272b2b; border: 1px solid rgba(255,255,255,0.1); 176 border-radius: 16px 16px 4px 16px; padding: 10px 16px; font-size: 15px; line-height: 1.5; max-width: 85%; 177 text-align: left; 178 } 179 /* A Hebrew question reads right-to-left; mirror the tail corner with it. */ 180 .aiplus-user-bubble[dir="rtl"] { 181 text-align: right; border-radius: 16px 16px 16px 4px; 182 } 183 184 /* Thinking dots */ 185 .aiplus-thinking { display: flex; align-items: center; gap: 14px; padding: 40px 4px; animation: aiplusFade 0.3s ease both; } 186 .aiplus-dots { position: relative; width: 24px; height: 24px; flex-shrink: 0; animation: aiplusOrbit 1.4s linear infinite; } 187 .aiplus-dots i { 188 position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; 189 background: conic-gradient(from 210deg, #f6d9ec, #e3d9fb, #d6e6ff, #ffe6d9, #f6d9ec); 190 box-shadow: inset 0 0 0 0.5px rgba(255,255,255,0.5); 191 animation: aiplusDotPulse 1.4s ease-in-out infinite; 192 transition: transform 0.6s cubic-bezier(0.34, 1.4, 0.5, 1); 193 } 194 .aiplus-dots i:nth-child(1) { transform: translate(0, -8px); } 195 .aiplus-dots i:nth-child(2) { transform: translate(7px, 4px); animation-delay: 0.18s; } 196 .aiplus-dots i:nth-child(3) { transform: translate(-7px, 4px); animation-delay: 0.36s; } 197 .aiplus-dots.intro { animation: none; } 198 .aiplus-dots.intro i:nth-child(1) { transform: translate(-8px, 0); } 199 .aiplus-dots.intro i:nth-child(2) { transform: translate(0, 0); } 200 .aiplus-dots.intro i:nth-child(3) { transform: translate(8px, 0); } 201 @keyframes aiplusOrbit { to { transform: rotate(360deg); } } 202 @keyframes aiplusDotPulse { 0%, 100% { opacity: 0.45; } 50% { opacity: 1; } } 203 .aiplus-thinking-word { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.78); letter-spacing: 0.01em; animation: aiplusFade 0.4s ease both; } 204 .aiplus-thinking-word.brand { color: #fff; letter-spacing: 0.04em; } 205 206 /* Bottom dock */ 207 .aiplus-dock { 208 position: relative; z-index: 4; flex-shrink: 0; 209 background: linear-gradient(to top, rgba(13,15,15,0.98) 55%, rgba(13,15,15,0)); 210 backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); 211 } 212 .aiplus-dock-seam { 213 height: 2px; opacity: 0.7; 214 background: linear-gradient(90deg, transparent, #22d3ee, #8b5cf6, #ec4899, #fea438, transparent); 215 background-size: 250% 100%; animation: aiplusSeam 7s linear infinite; 216 } 217 .aiplus-dock-inner { 218 max-width: 760px; margin: 0 auto; width: 100%; 219 padding: 14px 20px calc(16px + env(safe-area-inset-bottom, 0px)); 220 display: flex; flex-direction: column; gap: 12px; 221 } 222 .aiplus-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; } 223 .aiplus-nav-btn { 224 display: inline-flex; align-items: center; gap: 5px; background: none; border: none; cursor: pointer; 225 color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 600; font-family: var(--font-body); 226 padding: 4px 8px; border-radius: 8px; transition: color 0.15s, background 0.15s; 227 } 228 .aiplus-nav-btn:hover:not(:disabled) { color: #fff; background: rgba(255,255,255,0.06); } 229 .aiplus-nav-btn:disabled { opacity: 0.4; cursor: default; } 230 .aiplus-nav-btn.on { color: #fea438; } 231 .aiplus-nav-brand { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: rgba(255,255,255,0.35); } 232 233 /* Advanced popover */ 234 .aiplus-advanced { 235 position: absolute; bottom: calc(100% + 10px); right: 0; left: auto; z-index: 1100; 236 width: 260px; max-width: calc(100vw - 32px);
236 background: #181b1b; 237 border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 12px; 238 box-shadow: 0 16px 44px rgba(0,0,0,0.6); animation: aiplusFade 0.16s ease both; 239 } 240 .aiplus-advanced-label { font-size: 10px; font-weight: 800; color: #fea438; letter-spacing: 0.14em; text-transform: uppercase; margin: 2px 4px 8px; } 241 .aiplus-advanced-opt { 242 width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; 243 padding: 9px 10px; border-radius: 10px; cursor: pointer; 244 border: 1px solid transparent; background: none; color: #fff; font-family: var(--font-body); transition: background 0.15s; 245 } 246 .aiplus-advanced-opt:hover { background: rgba(255,255,255,0.05); } 247 .aiplus-advanced-opt.on { background: rgba(254,164,56,0.1); border-color: rgba(254,164,56,0.25); } 248 .aiplus-advanced-opt-name { display: block; font-size: 13.5px; font-weight: 700; } 249 .aiplus-advanced-opt-blurb { display: block; font-size: 11.5px; color: rgba(255,255,255,0.5); } 250 251 @keyframes aiplusFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } } 252 253 @media (max-width: 600px) { 254 .aiplus-scroll { padding-top: clamp(32px, 6vh, 56px); } 255 .aiplus-orb { width: 88px; height: 88px; } 256 } 257`;function oc(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function sc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var cc={autoSleep:120,force3D:`auto`,nullTargetWarn:1,units:{lineHeight:``}},lc={duration:.5,overwrite:!1,delay:0},uc,dc,fc,pc=1e8,mc=1/pc,hc=Math.PI*2,gc=hc/4,_c=0,vc=Math.sqrt,yc=Math.cos,bc=Math.sin,xc=function(e){return typeof e==`string`},Sc=function(e){return typeof e==`function`},Cc=function(e){return typeof e==`number`},wc=function(e){return e===void 0},Tc=function(e){return typeof e==`object`},Ec=function(e){return e!==!1},Dc=function(){return typeof window<`u`},Oc=function(e){return Sc(e)||xc(e)},kc=typeof ArrayBuffer==`function`&&ArrayBuffer.isView||function(){},Ac=Array.isArray,jc=/random\([^)]+\)/g,Mc=/,\s*/g,Nc=/(?:-?\.?\d|\.)+/gi,Pc=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Fc=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ic=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Lc=/[+-]=-?[.\d]+/,Rc=/[^,'"\[\]\s]+/gi,zc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,Bc,Vc,Hc,Uc,Wc={},Gc={}
vendor: 4,976 bytes, line 257
257,Kc,qc=function(e){return(Gc=Tl(e,Wc))&&Hd},Jc=function(e,t){return console.warn(`Invalid property`,e,`set to`,t,`Missing plugin? gsap.registerPlugin()`)},Yc=function(e,t){return!t&&console.warn(e)},Xc=function(e,t){return e&&(Wc[e]=t)&&Gc&&(Gc[e]=t)||Wc},Zc=function(){return 0},Qc={suppressEvents:!0,isStart:!0,kill:!1},$c={suppressEvents:!0,kill:!1},el={suppressEvents:!0},tl={},nl=[],rl={},il,al={},ol={},sl=30,cl=[],ll=``,ul=function(e){var t=e[0],n,r;if(Tc(t)||Sc(t)||(e=[e]),!(n=(t._gsap||{}).harness)){for(r=cl.length;r--&&!cl[r].targetTest(t););n=cl[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new Qu(e[r],n)))||e.splice(r,1);return e},dl=function(e){return e._gsap||ul(ou(e))[0]._gsap},fl=function(e,t,n){return(n=e[t])&&Sc(n)?e[t]():wc(n)&&e.getAttribute&&e.getAttribute(t)||n},pl=function(e,t){return(e=e.split(`,`)).forEach(t)||e},ml=function(e){return Math.round(e*1e5)/1e5||0},hl=function(e){return Math.round(e*1e7)/1e7||0},gl=function(e,t){var n=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),n===`+`?e+r:n===`-`?e-r:n===`*`?e*r:e/r},_l=function(e,t){for(var n=t.length,r=0;e.indexOf(t[r])<0&&++r<n;);return r<n},vl=function(){var e=nl.length,t=nl.slice(0),n,r;for(rl={},nl.length=0,n=0;n<e;n++)r=t[n],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},yl=function(e){return!!(e._initted||e._startAt||e.add)},bl=function(e,t,n,r){nl.length&&!dc&&vl(),e.render(t,n,r||!!(dc&&t<0&&yl(e))),nl.length&&!dc&&vl()},xl=function(e){var t=parseFloat(e);return(t||t===0)&&(e+``).match(Rc).length<2?t:xc(e)?e.trim():e},Sl=function(e){return e},Cl=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},wl=function(e){return function(t,n){for(var r in n)r in t||r===`duration`&&e||r===`ease`||(t[r]=n[r])}},Tl=function(e,t){for(var n in t)e[n]=t[n];return e},El=function e(t,n){for(var r in n)r!==`__proto__`&&r!==`constructor`&&r!==`prototype`&&(t[r]=Tc(n[r])?e(t[r]||(t[r]={}),n[r]):n[r]);return t},Dl=function(e,t){var n={},r;for(r in e)r in t||(n[r]=e[r]);return n},Ol=function(e){var t=e.parent||Bc,n=e.keyframes?wl(Ac(e.keyframes)):Cl;if(Ec(e.inherit))for(;t;)n(e,t.vars.defaults),t=t.parent||t._dp;return e},kl=function(e,t){for(var n=e.length,r=n===t.length;r&&n--&&e[n]===t[n];);return n<0},Al=function(e,t,n,r,i){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var a=e[r],o;if(i)for(o=t[i];a&&a[i]>o;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[n],e[n]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},jl=function(e,t,n,r){n===void 0&&(n=`_first`),r===void 0&&(r=`_last`);var i=t._prev,a=t._next;i?i._next=a:e[n]===t&&(e[n]=a),a?a._prev=i:e[r]===t&&(e[r]=i),t._next=t._prev=t.parent=null},Ml=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Nl=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var n=e;n;)n._dirty=1,n=n.parent;return e},Pl=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Fl=function(e,t,n,r){return e._startAt&&(dc?e._startAt.revert($c):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},Il=function e(t){return!t||t._ts&&e(t.parent)},Ll=function(e){return e._repeat?Y(e._tTime,e=e.duration()+e._rDelay)*e:0},Y=function(e,t){var n=Math.floor(e=hl(e/t));return e&&n===e?n-1:n},X=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Rl=function(e){return e._end=hl(e._start+(e._tDur/Math.abs(e._ts||e._rts||mc)||0))},zl=function(e,t){var n=e._dp;return n&&n.smoothChildTiming&&e._ts&&(e._start=hl(n._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Rl(e),n._dirty||Nl(n,e)),e},Bl=function(e,t){var n;if((t._time||!t._dur&&t._initted||t._start<e._time&&(t._dur||!t.add))&&(n=X(e.rawTime(),t),(!t._dur||eu(0,t.totalDuration(),n)-t._tTime>mc)&&t.render(n,!0)),Nl(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(n=e;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;e._zTime=-mc}},Vl=function(e,t,n,r){return t.parent&&Ml(t),t._start=hl((Cc(n)?n:n||e!==Bc?Zl(e,n,t):e._time)+t._delay),t._end=hl(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),Al(e,t,`_first`,`_last`,e._sort?`_start`:0),Gl(t)||(e._recent=t),r||Bl(e,t),e._ts<0&&zl(e,e._tTime),e},Hl=function(e,t){return(Wc.ScrollTrigger||Jc(`scrollTrigger`,t))&&Wc.ScrollTrigger.create(t,e)},Ul=function(e,t,n,r,i){if(sd(e,t,i),!e._initted)return 1;if(!n&&e._pt&&!dc&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&il!==Ru.frame)return nl.push(e),e._lazy=[i,r],1},Wl=function e(t){var n=t.parent;return n&&n._ts&&n._initted&&!n._lock&&(n.rawTime()<0||e(n))},Gl=function(e){var t=e.data;return t===`isFromStart`||t===`isStart`},Kl=function(e,t,n,r){var i=e.ratio,a=t<0||!t&&(!e._start&&Wl(e)&&!(!e._initted&&Gl(e))||(e._ts<0||e._dp._ts<0)&&!Gl(e))?0:1,o=e._rDelay,s=0,c,l,u;if(o&&e._repeat&&(s=eu(0,e._tDur,t),l=Y(s,o),e._yoyo&&l&1&&(a=1-a),l!==Y(e._tTime,o)&&(i=1-a,e.vars.repeatRefresh&&e._initted&&e.invali
vendor: 4,115 bytes, line 257
257date())),a!==i||dc||r||e._zTime===mc||!t&&e._zTime){if(!e._initted&&Ul(e,t,r,n,s))return;for(u=e._zTime,e._zTime=t||(n?mc:0),n||=t&&!u,e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=s,c=e._pt;c;)c.r(a,c.d),c=c._next;t<0&&Fl(e,t,n,!0),e._onUpdate&&!n&&Cu(e,`onUpdate`),s&&e._repeat&&!n&&e.parent&&Cu(e,`onRepeat`),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&Ml(e,1),!n&&!dc&&(Cu(e,a?`onComplete`:`onReverseComplete`,!0),e._prom&&e._prom()))}else e._zTime||=t},ql=function(e,t,n){var r;if(n>t)for(r=e._first;r&&r._start<=n;){if(r.data===`isPause`&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=n;){if(r.data===`isPause`&&r._start<t)return r;r=r._prev}},Jl=function(e,t,n,r){var i=e._repeat,a=hl(t)||0,o=e._tTime/e._tDur;return o&&!r&&(e._time*=a/e._dur),e._dur=a,e._tDur=i?i<0?1e10:hl(a*(i+1)+e._rDelay*i):a,o>0&&!r&&zl(e,e._tTime=e._tDur*o),e.parent&&Rl(e),n||Nl(e.parent,e),e},Yl=function(e){return e instanceof ed?Nl(e):Jl(e,e._dur)},Xl={_start:0,endTime:Zc,totalDuration:Zc},Zl=function e(t,n,r){var i=t.labels,a=t._recent||Xl,o=t.duration()>=pc?a.endTime(!1):t._dur,s,c,l;return xc(n)&&(isNaN(n)||n in i)?(c=n.charAt(0),l=n.substr(-1)===`%`,s=n.indexOf(`=`),c===`<`||c===`>`?(s>=0&&(n=n.replace(/=/,``)),(c===`<`?a._start:a.endTime(a._repeat>=0))+(parseFloat(n.substr(1))||0)*(l?(s<0?a:r).totalDuration()/100:1)):s<0?(n in i||(i[n]=o),i[n]):(c=parseFloat(n.charAt(s-1)+n.substr(s+1)),l&&r&&(c=c/100*(Ac(r)?r[0]:r).totalDuration()),s>1?e(t,n.substr(0,s-1),r)+c:o+c)):n==null?o:+n},Ql=function(e,t,n){var r=Cc(t[1]),i=(r?2:1)+(e<2?0:1),a=t[i],o,s;if(r&&(a.duration=t[1]),a.parent=n,e){for(o=a,s=n;s&&!(`immediateRender`in o);)o=s.vars.defaults||{},s=Ec(s.vars.inherit)&&s.parent;a.immediateRender=Ec(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[i-1]}return new md(t[0],a,t[i+1])},$l=function(e,t){return e||e===0?t(e):t},eu=function(e,t,n){return n<e?e:n>t?t:n},tu=function(e,t){return!xc(e)||!(t=zc.exec(e))?``:t[1]},nu=function(e,t,n){return $l(n,function(n){return eu(e,t,n)})},ru=[].slice,iu=function(e,t){return e&&Tc(e)&&`length`in e&&(!t&&!e.length||e.length-1 in e&&Tc(e[0]))&&!e.nodeType&&e!==Vc},au=function(e,t,n){return n===void 0&&(n=[]),e.forEach(function(e){var r;return xc(e)&&!t||iu(e,1)?(r=n).push.apply(r,ou(e)):n.push(e)})||n},ou=function(e,t,n){return fc&&!t&&fc.selector?fc.selector(e):xc(e)&&!n&&(Hc||!zu())?ru.call((t||Uc).querySelectorAll(e),0):Ac(e)?au(e,n):iu(e)?ru.call(e,0):e?[e]:[]},su=function(e){return e=ou(e)[0]||Yc(`Invalid scope`)||{},function(t){var n=e.current||e.nativeElement||e;return ou(t,n.querySelectorAll?n:n===e?Yc(`Invalid scope`)||Uc.createElement(`div`):e)}},cu=function(e){return e.sort(function(){return .5-Math.random()})},lu=function(e){if(Sc(e))return e;var t=Tc(e)?e:{each:e},n=qu(t.ease),r=t.from||0,i=parseFloat(t.base)||0,a={},o=r>0&&r<1,s=isNaN(r)||o,c=t.axis,l=r,u=r;return xc(r)?l=u={center:.5,edges:.5,end:1}[r]||0:!o&&s&&(l=r[0],u=r[1]),function(e,o,d){var f=(d||t).length,p=a[f],m,h,g,_,v,y,b,x,S;if(!p){if(S=t.grid===`auto`?0:(t.grid||[1,pc])[1],!S){for(b=-pc;b<(b=d[S++].getBoundingClientRect().left)&&S<f;);S<f&&S--}for(p=a[f]=[],m=s?Math.min(S,f)*l-.5:r%S,h=S===pc?0:s?f*u/S-.5:r/S|0,b=0,x=pc,y=0;y<f;y++)g=y%S-m,_=h-(y/S|0),p[y]=v=c?Math.abs(c===`y`?_:g):vc(g*g+_*_),v>b&&(b=v),v<x&&(x=v);r===`random`&&cu(p),p.max=b-x,p.min=x,p.v=f=(parseFloat(t.amount)||parseFloat(t.each)*(S>f?f-1:c?c===`y`?f/S:S:Math.max(S,f/S))||0)*(r===`edges`?-1:1),p.b=f<0?i-f:i,p.u=tu(t.amount||t.each)||0,n=n&&f<0?Ku(n):n}return f=(p[e]-p.min)/p.max||0,hl(p.b+(n?n(f):f)*p.v)+p.u}},uu=function(e){var t=10**((e+``).split(`.`)[1]||``).length;return function(n){var r=hl(Math.round(parseFloat(n)/e)*e*t);return(r-r%1)/t+(Cc(n)?0:tu(n))}},du=function(e,t){var n=Ac(e),r,i;return!n&&Tc(e)&&(r=n=e.radius||pc,e.values?(e=ou(e.values),(i=!Cc(e[0]))&&(r*=r)):e=uu(e.increment)),$l(t,n?Sc(e)?function(t){return i=e(t),Math.abs(i-t)<=r?i:t}:function(t){for(var n=parseFloat(i?t.x:t),a=parseFloat(i?t.y:0),o=pc,s=0,c=e.length,l,u;c--;)i?(l=e[c].x-n,u=e[c].y-a,l=l*l+u*u):l=Math.abs(e[c]-n),l<o&&(o=l,s=c);return s=!r||o<=r?e[s]:t,i||s===t||Cc(t)?s:s+tu(t)}:uu(e))}
vendor: 30,667 bytes, line 257
257,fu=function(e,t,n,r){return $l(Ac(e)?!t:n===!0?!!(n=0):!r,function(){return Ac(e)?e[~~(Math.random()*e.length)]:(n||=1e-5)&&(r=n<1?10**((n+``).length-2):1)&&Math.floor(Math.round((e-n/2+Math.random()*(t-e+n*.99))/n)*n*r)/r})},pu=function(){var e=[...arguments];return function(t){return e.reduce(function(e,t){return t(e)},t)}},mu=function(e,t){return function(n){return e(parseFloat(n))+(t||tu(n))}},hu=function(e,t,n){return bu(e,t,0,1,n)},gu=function(e,t,n){return $l(n,function(n){return e[~~t(n)]})},_u=function e(t,n,r){var i=n-t;return Ac(t)?gu(t,e(0,t.length),n):$l(r,function(e){return(i+(e-t)%i)%i+t})},vu=function e(t,n,r){var i=n-t,a=i*2;return Ac(t)?gu(t,e(0,t.length-1),n):$l(r,function(e){return e=(a+(e-t)%a)%a||0,t+(e>i?a-e:e)})},yu=function(e){return e.replace(jc,function(e){var t=e.indexOf(`[`)+1,n=e.substring(t||7,t?e.indexOf(`]`):e.length-1).split(Mc);return fu(t?n:+n[0],t?0:+n[1],+n[2]||1e-5)})},bu=function(e,t,n,r,i){var a=t-e,o=r-n;return $l(i,function(t){return n+((t-e)/a*o||0)})},xu=function e(t,n,r,i){var a=isNaN(t+n)?0:function(e){return(1-e)*t+e*n};if(!a){var o=xc(t),s={},c,l,u,d,f;if(r===!0&&(i=1)&&(r=null),o)t={p:t},n={p:n};else if(Ac(t)&&!Ac(n)){for(u=[],d=t.length,f=d-2,l=1;l<d;l++)u.push(e(t[l-1],t[l]));d--,a=function(e){e*=d;var t=Math.min(f,~~e);return u[t](e-t)},r=n}else i||(t=Tl(Ac(t)?[]:{},t));if(!u){for(c in n)nd.call(s,t,c,`get`,n[c]);a=function(e){return Cd(e,s)||(o?t.p:t)}}}return $l(r,a)},Su=function(e,t,n){var r=e.labels,i=pc,a,o,s;for(a in r)o=r[a]-t,o<0==!!n&&o&&i>(o=Math.abs(o))&&(s=a,i=o);return s},Cu=function(e,t,n){var r=e.vars,i=r[t],a=fc,o=e._ctx,s,c,l;if(i)return s=r[t+`Params`],c=r.callbackScope||e,n&&nl.length&&vl(),o&&(fc=o),l=s?i.apply(c,s):i.call(c),fc=a,l},wu=function(e){return Ml(e),e.scrollTrigger&&e.scrollTrigger.kill(!!dc),e.progress()<1&&Cu(e,`onInterrupt`),e},Tu,Eu=[],Du=function(e){if(e)if(e=!e.name&&e.default||e,Dc()||e.headless){var t=e.name,n=Sc(e),r=t&&!n&&e.init?function(){this._props=[]}:e,i={init:Zc,render:Cd,add:nd,kill:Td,modifier:wd,rawVars:0},a={targetTest:0,get:0,getSetter:yd,aliases:{},register:0};if(zu(),e!==r){if(al[t])return;Cl(r,Cl(Dl(e,i),a)),Tl(r.prototype,Tl(i,Dl(e,a))),al[r.prop=t]=r,e.targetTest&&(cl.push(r),tl[t]=1),t=(t===`css`?`CSS`:t.charAt(0).toUpperCase()+t.substr(1))+`Plugin`}Xc(t,r),e.register&&e.register(Hd,r,Od)}else Eu.push(e)},Ou=255,ku={aqua:[0,Ou,Ou],lime:[0,Ou,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Ou],navy:[0,0,128],white:[Ou,Ou,Ou],olive:[128,128,0],yellow:[Ou,Ou,0],orange:[Ou,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Ou,0,0],pink:[Ou,192,203],cyan:[0,Ou,Ou],transparent:[Ou,Ou,Ou,0]},Au=function(e,t,n){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(n-t)*e*6:e<.5?n:e*3<2?t+(n-t)*(2/3-e)*6:t)*Ou+.5|0},ju=function(e,t,n){var r=e?Cc(e)?[e>>16,e>>8&Ou,e&Ou]:0:ku.black,i,a,o,s,c,l,u,d,f,p;if(!r){if(e.substr(-1)===`,`&&(e=e.substr(0,e.length-1)),ku[e])r=ku[e];else if(e.charAt(0)===`#`){if(e.length<6&&(i=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e=`#`+i+i+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):``)),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&Ou,r&Ou,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&Ou,e&Ou]}else if(e.substr(0,3)===`hsl`){if(r=p=e.match(Nc),!t)s=r[0]%360/360,c=r[1]/100,l=r[2]/100,a=l<=.5?l*(c+1):l+c-l*c,i=l*2-a,r.length>3&&(r[3]*=1),r[0]=Au(s+1/3,i,a),r[1]=Au(s,i,a),r[2]=Au(s-1/3,i,a);else if(~e.indexOf(`=`))return r=e.match(Pc),n&&r.length<4&&(r[3]=1),r}else r=e.match(Nc)||ku.transparent;r=r.map(Number)}return t&&!p&&(i=r[0]/Ou,a=r[1]/Ou,o=r[2]/Ou,u=Math.max(i,a,o),d=Math.min(i,a,o),l=(u+d)/2,u===d?s=c=0:(f=u-d,c=l>.5?f/(2-u-d):f/(u+d),s=u===i?(a-o)/f+(a<o?6:0):u===a?(o-i)/f+2:(i-a)/f+4,s*=60),r[0]=~~(s+.5),r[1]=~~(c*100+.5),r[2]=~~(l*100+.5)),n&&r.length<4&&(r[3]=1),r},Mu=function(e){var t=[],n=[],r=-1;return e.split(Pu).forEach(function(e){var i=e.match(Fc)||[];t.push.apply(t,i),n.push(r+=i.length+1)}),t.c=n,t},Nu=function(e,t,n){var r=``,i=(e+r).match(Pu),a=t?`hsla(`:`rgba(`,o=0,s,c,l,u;if(!i)return e;if(i=i.map(function(e){return(e=ju(e,t,1))&&a+(t?e[0]+`,`+e[1]+`%,`+e[2]+`%,`+e[3]:e.join(`,`))+`)`}),n&&(l=Mu(e),s=n.c,s.join(r)!==l.c.join(r)))for(c=e.replace(Pu,`1`).split(Fc),u=c.length-1;o<u;o++)r+=c[o]+(~s.indexOf(o)?i.shift()||a+`0,0,0,0)`:(l.length?l:i.length?i:n).shift());if(!c)for(c=e.split(Pu),u=c.length-1;o<u;o++)r+=c[o]+i[o];return r+c[u]},Pu=function(){var e=`(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b`,t;for(t in ku)e+=`|`+t+`\\b`;return RegExp(e+`)`,`gi`)}(),Fu=/hsl[a]?\(/,Iu=function(e){var t=e.join(` `),n;if(Pu.lastIndex=0,Pu.test(t))return n=Fu.test(t),e[1]=Nu(e[1],n),e[0]=Nu(e[0],n,Mu(e[1])),!0},Lu,Ru=function(){var e=Date.now,t=500,n=33,r=e(),i=r,a=1e3/240,o=a,s=[],c,l,u,d,f,p,m=function u(m){var h=e()-i,g=m===!0,_,v,y,b;if((h>t||h<0)&&(r+=h-n),i+=h,y=i-r,_=y-o,(_>0||g)&&(b=++d.frame,f=y-d.time*1e3,d.time=y/=1e3,o+=_+(_>=a?4:a-_),v=1),g||(c=l(u)),v)for(p=0;p<s.length;p++)s[p](y,f,b,m)};return d={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(e){return f/(1e3/(e||60))},wake:function(){Kc&&(!Hc&&Dc()&&(Vc=Hc=window,Uc=Vc.document||{},Wc.gsap=Hd,(Vc.gsapVersions||=[]).push(Hd.version),qc(Gc||Vc.GreenSockGlobals||!Vc.gsap&&Vc||{}),Eu.forEach(Du)),u=typeof requestAnimationFrame<`u`&&requestAnimationFrame,c&&d.sleep(),l=u||function(e){return setTimeout(e,o-d.time*1e3+1|0)},Lu=1,m(2))},sleep:function(){(u?cancelAnimationFrame:clearTimeout)(c),Lu=0,l=Zc},lagSmoothing:function(e,r){t=e||1/0,n=Math.min(r||33,t)},fps:function(e){a=1e3/(e||240),o=d.time*1e3+a},add:function(e,t,n){var r=t?function(t,n,i,a){e(t,n,i,a),d.remove(r)}:e;return d.remove(e),s[n?`unshift`:`push`](r),zu(),r},remove:function(e,t){~(t=s.indexOf(e))&&s.splice(t,1)&&p>=t&&p--},_listeners:s},d}(),zu=function(){return!Lu&&Ru.wake()},Bu={},Vu=/^[\d.\-M][\d.\-,\s]/,Hu=/["']/g,Uu=function(e){for(var t={},n=e.substr(1,e.length-3).split(`:`),r=n[0],i=1,a=n.length,o,s,c;i<a;i++)s=n[i],o=i===a-1?s.length:s.lastIndexOf(`,`),c=s.substr(0,o),t[r]=isNaN(c)?c.replace(Hu,``).trim():+c,r=s.substr(o+1).trim();return t},Wu=function(e){var t=e.indexOf(`(`)+1,n=e.indexOf(`)`),r=e.indexOf(`(`,t);return e.substring(t,~r&&r<n?e.indexOf(`)`,n+1):n)},Gu=function(e){var t=(e+``).split(`(`),n=Bu[t[0]];return n&&t.length>1&&n.config?n.config.apply(null,~e.indexOf(`{`)?[Uu(t[1])]:Wu(e).split(`,`).map(xl)):Bu._CE&&Vu.test(e)?Bu._CE(``,e):n},Ku=function(e){return function(t){return 1-e(1-t)}},qu=function(e,t){return e&&(Sc(e)?e:Bu[e]||Gu(e))||t},Ju=function(e,t,n,r){n===void 0&&(n=function(e){return 1-t(1-e)}),r===void 0&&(r=function(e){return e<.5?t(e*2)/2:1-t((1-e)*2)/2});var i={easeIn:t,easeOut:n,easeInOut:r},a;return pl(e,function(e){for(var t in Bu[e]=Wc[e]=i,Bu[a=e.toLowerCase()]=n,i)Bu[a+(t===`easeIn`?`.in`:t===`easeOut`?`.out`:`.inOut`)]=Bu[e+`.`+t]=i[t]}),i},Yu=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Xu=function e(t,n,r){var i=n>=1?n:1,a=(r||(t?.3:.45))/(n<1?n:1),o=a/hc*(Math.asin(1/i)||0),s=function(e){return e===1?1:i*2**(-10*e)*bc((e-o)*a)+1},c=t===`out`?s:t===`in`?function(e){return 1-s(1-e)}:Yu(s);return a=hc/a,c.config=function(n,r){return e(t,n,r)},c},Zu=function e(t,n){n===void 0&&(n=1.70158);var r=function(e){return e?--e*e*((n+1)*e+n)+1:0},i=t===`out`?r:t===`in`?function(e){return 1-r(1-e)}:Yu(r);return i.config=function(n){return e(t,n)},i};pl(`Linear,Quad,Cubic,Quart,Quint,Strong`,function(e,t){var n=t<5?t+1:t;Ju(e+`,Power`+(n-1),t?function(e){return e**+n}:function(e){return e},function(e){return 1-(1-e)**n},function(e){return e<.5?(e*2)**n/2:1-((1-e)*2)**n/2})}),Bu.Linear.easeNone=Bu.none=Bu.Linear.easeIn,Ju(`Elastic`,Xu(`in`),Xu(`out`),Xu()),(function(e,t){var n=1/t,r=2*n,i=2.5*n,a=function(a){return a<n?e*a*a:a<r?e*(a-1.5/t)**2+.75:a<i?e*(a-=2.25/t)*a+.9375:e*(a-2.625/t)**2+.984375};Ju(`Bounce`,function(e){return 1-a(1-e)},a)})(7.5625,2.75),Ju(`Expo`,function(e){return 2**(10*(e-1))*e+e*e*e*e*e*e*(1-e)}),Ju(`Circ`,function(e){return-(vc(1-e*e)-1)}),Ju(`Sine`,function(e){return e===1?1:-yc(e*gc)+1}),Ju(`Back`,Zu(`in`),Zu(`out`),Zu()),Bu.SteppedEase=Bu.steps=Wc.SteppedEase={config:function(e,t){e===void 0&&(e=1);var n=1/e,r=e+ +!t,i=+!!t,a=1-mc;return function(e){return((r*eu(0,a,e)|0)+i)*n}}},lc.ease=Bu[`quad.out`],pl(`onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt`,function(e){return ll+=e+`,`+e+`Params,`});var Qu=function(e,t){this.id=_c++,e._gsap=this,this.target=e,this.harness=t,this.get=t?t.get:fl,this.set=t?t.getSetter:yd},$u=function(){function e(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,Jl(this,+e.duration,1,1),this.data=e.data,fc&&(this._ctx=fc,fc.data.push(this)),Lu||Ru.wake()}var t=e.prototype;return t.delay=function(e){return e||e===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+e-this._delay),this._delay=e,this):this._delay},t.duration=function(e){return arguments.length?this.totalDuration(this._repeat>0?e+(e+this._rDelay)*this._repeat:e):this.totalDuration()&&this._dur},t.totalDuration=function(e){return arguments.length?(this._dirty=0,Jl(this,this._repeat<0?e:(e-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(e,t){if(zu(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(zl(this,e),!n._dp||n.parent||Bl(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&e<this._tDur||this._ts<0&&e>0||!this._tDur&&!e)&&Vl(this._dp,this,this._start-this._delay)}return(this._tTime!==e||!this._dur&&!t||this._initted&&Math.abs(this._zTime)===mc||!this._initted&&this._dur&&e||!e&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=e),bl(this,e,t)),this},t.time=function(e,t){return arguments.length?this.totalTime(Math.min(this.totalDuration(),e+Ll(this))%(this._dur+this._rDelay)||(e?this._dur:0),t):this._time},t.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-e:e)+Ll(this),t):this.duration()?Math.min(1,this._time/this._dur):+(this.rawTime()>0)},t.iteration=function(e,t){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(e-1)*n,t):this._repeat?Y(this._tTime,n)+1:1},t.timeScale=function(e,t){if(!arguments.length)return this._rts===-mc?0:this._rts;if(this._rts===e)return this;var n=this.parent&&this._ts?X(this.parent._time,this):this._tTime;return this._rts=+e||0,this._ts=this._ps||e===-mc?0:this._rts,this.totalTime(eu(-Math.abs(this._delay),this.totalDuration(),n),t!==!1),Rl(this),Pl(this)},t.paused=function(e){return arguments.length?(this._ps!==e&&(this._ps=e,e?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(zu(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==mc&&(this._tTime-=mc)))),this):this._ps},t.startTime=function(e){if(arguments.length){this._start=hl(e);var t=this.parent||this._dp;return t&&(t._sort||!this.parent)&&Vl(t,this,this._start-this._delay),this}return this._start},t.endTime=function(e){return this._start+(Ec(e)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(e){var t=this.parent||this._dp;return t?e&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?X(t.rawTime(e),this):this._tTime:this._tTime},t.revert=function(e){e===void 0&&(e=el);var t=dc;return dc=e,yl(this)&&(this.timeline&&this.timeline.revert(e),this.totalTime(-.01,e.suppressEvents)),this.data!==`nested`&&e.kill!==!1&&this.kill(),dc=t,this},t.globalTime=function(e){for(var t=this,n=arguments.length?e:t.rawTime();t;)n=t._start+n/(Math.abs(t._ts)||1),t=t._dp;return!this.parent&&this._sat?this._sat.globalTime(e):n},t.repeat=function(e){return arguments.length?(this._repeat=e===1/0?-2:e,Yl(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(e){if(arguments.length){var t=this._time;return this._rDelay=e,Yl(this),t?this.time(t):this}return this._rDelay},t.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},t.seek=function(e,t){return this.totalTime(Zl(this,e),Ec(t))},t.restart=function(e,t){return this.play().totalTime(e?-this._delay:0,Ec(t)),this._dur||(this._zTime=-mc),this},t.play=function(e,t){return e!=null&&this.seek(e,t),this.reversed(!1).paused(!1)},t.reverse=function(e,t){return e!=null&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},t.pause=function(e,t){return e!=null&&this.seek(e,t),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(e){return arguments.length?(!!e!==this.reversed()&&this.timeScale(-this._rts||(e?-mc:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-mc,this},t.isActive=function(){var e=this.parent||this._dp,t=this._start,n;return!!(!e||this._ts&&this._initted&&e.isActive()&&(n=e.rawTime(!0))>=t&&n<this.endTime(!0)-mc)},t.eventCallback=function(e,t,n){var r=this.vars;return arguments.length>1?(t?(r[e]=t,n&&(r[e+`Params`]=n),e===`onUpdate`&&(this._onUpdate=t)):delete r[e],this):r[e]},t.then=function(e){var t=this,n=t._prom;return new Promise(function(r){var i=Sc(e)?e:Sl,a=function(){var e=t.then;t.then=null,n&&n(),Sc(i)&&(i=i(t))&&(i.then||i===t)&&(t.then=e),r(i),t.then=e};t._initted&&t.totalProgress()===1&&t._ts>=0||!t._tTime&&t._ts<0?a():t._prom=a})},t.kill=function(){wu(this)},e}();Cl($u.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:-mc,_prom:0,_ps:!1,_rts:1});var ed=function(e){sc(t,e);function t(t,n){var r;return t===void 0&&(t={}),r=e.call(this,t)||this,r.labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=Ec(t.sortChildren),Bc&&Vl(t.parent||Bc,oc(r),n),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&Hl(oc(r),t.scrollTrigger),r}var n=t.prototype;return n.to=function(e,t,n){return Ql(0,arguments,this),this},n.from=function(e,t,n){return Ql(1,arguments,this),this},n.fromTo=function(e,t,n,r){return Ql(2,arguments,this),this},n.set=function(e,t,n){return t.duration=0,t.parent=this,Ol(t).repeatDelay||(t.repeat=0),t.immediateRender=!!t.immediateRender,new md(e,t,Zl(this,n),1),this},n.call=function(e,t,n){return Vl(this,md.delayedCall(0,e,t),n)},n.staggerTo=function(e,t,n,r,i,a,o){return n.duration=t,n.stagger=n.stagger||r,n.onComplete=a,n.onCompleteParams=o,n.parent=this,new md(e,n,Zl(this,i)),this},n.staggerFrom=function(e,t,n,r,i,a,o){return n.runBackwards=1,Ol(n).immediateRender=Ec(n.immediateRender),this.staggerTo(e,t,n,r,i,a,o)},n.staggerFromTo=function(e,t,n,r,i,a,o,s){return r.startAt=n,Ol(r).immediateRender=Ec(r.immediateRender),this.staggerTo(e,t,r,i,a,o,s)},n.render=function(e,t,n){var r=this._time,i=this._dirty?this.totalDuration():this._tDur,a=this._dur,o=e<=0?0:hl(e),s=this._zTime<0!=e<0&&(this._initted||!a),c,l,u,d,f,p,m,h,g,_,v,y;if(this!==Bc&&o>i&&e>=0&&(o=i),o!==this._tTime||n||s){if(r!==this._time&&a&&(o+=this._time-r,e+=this._time-r),c=o,g=this._start,h=this._ts,p=!h,s&&(a||(r=this._zTime),(e||!t)&&(this._zTime=e)),this._repeat){if(v=this._yoyo,f=a+this._rDelay,this._repeat<-1&&e<0)return this.totalTime(f*100+e,t,n);if(c=hl(o%f),o===i?(d=this._repeat,c=a):(_=hl(o/f),d=~~_,d&&d===_&&(c=a,d--),c>a&&(c=a)),_=Y(this._tTime,f),!r&&this._tTime&&_!==d&&this._tTime-_*f-this._dur<=0&&(_=d),v&&d&1&&(c=a-c,y=1),d!==_&&!this._lock){var b=v&&_&1,x=b===(v&&d&1);if(d<_&&(b=!b),r=b?0:o%a?a:o,this._lock=1,this.render(r||(y?0:hl(d*f)),t,!a)._lock=0,this._tTime=o,!t&&this.parent&&Cu(this,`onRepeat`),this.vars.repeatRefresh&&!y&&(this.invalidate()._lock=1,_=d),r&&r!==this._time||p!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act||(a=this._dur,i=this._tDur,x&&(this._lock=2,r=b?a:-1e-4,this.render(r,!0),this.vars.repeatRefresh&&!y&&this.invalidate()),this._lock=0,!this._ts&&!p))return this}}if(this._hasPause&&!this._forcing&&this._lock<2&&(m=ql(this,hl(r),hl(c)),m&&(o-=c-(c=m._start))),this._tTime=o,this._time=c,this._act=!!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=e,r=0),!r&&o&&a&&!t&&!_&&(Cu(this,`onStart`),this._tTime!==o))return this;if(c>=r&&e>=0)for(l=this._first;l;){if(u=l._next,(l._act||c>=l._start)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(c-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(c-l._start)*l._ts,t,n),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=-mc);break}}l=u}else{l=this._last;for(var S=e<0?e:c;l;){if(u=l._prev,(l._act||S<=l._end)&&l._ts&&m!==l){if(l.parent!==this)return this.render(e,t,n);if(l.render(l._ts>0?(S-l._start)*l._ts:(l._dirty?l.totalDuration():l._tDur)+(S-l._start)*l._ts,t,n||dc&&yl(l)),c!==this._time||!this._ts&&!p){m=0,u&&(o+=this._zTime=S?-mc:mc);break}}l=u}}if(m&&!t&&(this.pause(),m.render(c>=r?0:-mc)._zTime=c>=r?1:-1,this._ts))return this._start=g,Rl(this),this.render(e,t,n);this._onUpdate&&!t&&Cu(this,`onUpdate`,!0),(o===i&&this._tTime>=this.totalDuration()||!o&&r)&&(g===this._start||Math.abs(h)!==Math.abs(this._ts))&&(this._lock||((e||!a)&&(o===i&&this._ts>0||!o&&this._ts<0)&&Ml(this,1),!t&&!(e<0&&!r)&&(o||r||!i)&&(Cu(this,o===i&&e>=0?`onComplete`:`onReverseComplete`,!0),this._prom&&!(o<i&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(e,t){var n=this;if(Cc(t)||(t=Zl(this,t,e)),!(e instanceof $u)){if(Ac(e))return e.forEach(function(e){return n.add(e,t)}),this;if(xc(e))return this.addLabel(e,t);if(Sc(e))e=md.delayedCall(0,e);else return this}return this===e?this:Vl(this,e,t)},n.getChildren=function(e,t,n,r){e===void 0&&(e=!0),t===void 0&&(t=!0),n===void 0&&(n=!0),r===void 0&&(r=-pc);for(var i=[],a=this._first;a;)a._start>=r&&(a instanceof md?t&&i.push(a):(n&&i.push(a),e&&i.push.apply(i,a.getChildren(!0,t,n)))),a=a._next;return i},n.getById=function(e){for(var t=this.getChildren(1,1,1),n=t.length;n--;)if(t[n].vars.id===e)return t[n]},n.remove=function(e){return xc(e)?this.removeLabel(e):Sc(e)?this.killTweensOf(e):(e.parent===this&&jl(this,e),e===this._recent&&(this._recent=this._last),Nl(this))},n.totalTime=function(t,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=hl(Ru.time-(this._ts>0?t/this._ts:(this.totalDuration()-t)/-this._ts))),e.prototype.totalTime.call(this,t,n),this._forcing=0,this):this._tTime},n.addLabel=function(e,t){return this.labels[e]=Zl(this,t),this},n.removeLabel=function(e){return delete this.labels[e],this},n.addPause=function(e,t,n){var r=md.delayedCall(0,t||Zc,n);return r.data=`isPause`,this._hasPause=1,Vl(this,r,Zl(this,e))},n.removePause=function(e){var t=this._first;for(e=Zl(this,e);t;)t._start===e&&t.data===`isPause`&&Ml(t),t=t._next},n.killTweensOf=function(e,t,n){for(var r=this.getTweensOf(e,n),i=r.length;i--;)ad!==r[i]&&r[i].kill(e,t);return this},n.getTweensOf=function(e,t){for(var n=[],r=ou(e),i=this._first,a=Cc(t),o;i;)i instanceof md?_l(i._targets,r)&&(a?(!ad||i._initted&&i._ts)&&i.globalTime(0)<=t&&i.globalTime(i.totalDuration())>t:!t||i.isActive())&&n.push(i):(o=i.getTweensOf(r,t)).length&&n.push.apply(n,o),i=i._next;return n},n.tweenTo=function(e,t){t||={};var n=this,r=Zl(n,e),i=t,a=i.startAt,o=i.onStart,s=i.onStartParams,c=i.immediateRender,l,u=md.to(n,Cl({ease:t.ease||`none`,lazy:!1,immediateRender:!1,time:r,overwrite:`auto`,duration:t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale())||mc,onStart:function(){if(n.pause(),!l){var e=t.duration||Math.abs((r-(a&&`time`in a?a.time:n._time))/n.timeScale());u._dur!==e&&Jl(u,e,0,1).render(u._time,!0,!0),l=1}o&&o.apply(u,s||[])}},t));return c?u.render(0):u},n.tweenFromTo=function(e,t,n){return this.tweenTo(t,Cl({startAt:{time:Zl(this,e)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(e){return e===void 0&&(e=this._time),Su(this,Zl(this,e))},n.previousLabel=function(e){return e===void 0&&(e=this._time),Su(this,Zl(this,e),1)},n.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.previousLabel(this._time+mc)},n.shiftChildren=function(e,t,n){n===void 0&&(n=0);var r=this._first,i=this.labels,a;for(e=hl(e);r;)r._start>=n&&(r._start+=e,r._end+=e),r=r._next;if(t)for(a in i)i[a]>=n&&(i[a]+=e);return Nl(this)},n.invalidate=function(t){var n=this._first;for(this._lock=0;n;)n.invalidate(t),n=n._next;return e.prototype.invalidate.call(this,t)},n.clear=function(e){e===void 0&&(e=!0);for(var t=this._first,n;t;)n=t._next,this.remove(t),t=n;return this._dp&&(this._time=this._tTime=this._pTime=0),e&&(this.labels={}),Nl(this)},n.totalDuration=function(e){var t=0,n=this,r=n._last,i=pc,a,o,s;if(arguments.length)return n.timeScale((n._repeat<0?n.duration():n.totalDuration())/(n.reversed()?-e:e));if(n._dirty){for(s=n.parent;r;)a=r._prev,r._dirty&&r.totalDuration(),o=r._start,o>i&&n._sort&&r._ts&&!n._lock?(n._lock=1,Vl(n,r,o-r._delay,1)._lock=0):i=o,o<0&&r._ts&&(t-=o,(!s&&!n._dp||s&&s.smoothChildTiming)&&(n._start+=hl(o/n._ts),n._time-=o,n._tTime-=o),n.shiftChildren(-o,!1,-1/0),i=0),r._end>t&&r._ts&&(t=r._end),r=a;Jl(n,n===Bc&&n._time>t?n._time:t,1,1),n._dirty=0}return n._tDur},t.updateRoot=function(e){if(Bc._ts&&(bl(Bc,X(e,Bc)),il=Ru.frame),Ru.frame>=sl){sl+=cc.autoSleep||120;var t=Bc._first;if((!t||!t._ts)&&cc.autoSleep&&Ru._listeners.length<2){for(;t&&!t._ts;)t=t._next;t||Ru.sleep()}}},t}($u);Cl(ed.prototype,{_lock:0,_hasPause:0,_forcing:0});var td=function(e,t,n,r,i,a,o){var s=new Od(this._pt,e,t,0,1,Sd,null,i),c=0,l=0,u,d,f,p,m,h,g,_;for(s.b=n,s.e=r,n+=``,r+=``,(g=~r.indexOf(`random(`))&&(r=yu(r)),a&&(_=[n,r],a(_,e,t),n=_[0],r=_[1]),d=n.match(Ic)||[];u=Ic.exec(r);)p=u[0],m=r.substring(c,u.index),f?f=(f+1)%5:m.substr(-5)===`rgba(`&&(f=1),p!==d[l++]&&(h=parseFloat(d[l-1])||0,s._pt={_next:s._pt,p:m||l===1?m:`,`,s:h,c:p.charAt(1)===`=`?gl(h,p)-h:parseFloat(p)-h,m:f&&f<4?Math.round:0},c=Ic.lastIndex);return s.c=c<r.length?r.substring(c,r.length):``,s.fp=o,(Lc.test(r)||g)&&(s.e=0),this._pt=s,s},nd=function(e,t,n,r,i,a,o,s,c,l){Sc(r)&&(r=r(i||0,e,a));var u=e[t],d=n===`get`?Sc(u)?c?e[t.indexOf(`set`)||!Sc(e[`get`+t.substr(3)])?t:`get`+t.substr(3)](c):e[t]():u:n,f=Sc(u)?c?_d:gd:hd,p;if(xc(r)&&(~r.indexOf(`random(`)&&(r=yu(r)),r.charAt(1)===`=`&&(p=gl(d,r)+(tu(d)||0),(p||p===0)&&(r=p))),!l||d!==r||od)return!isNaN(d*r)&&r!==``?(p=new Od(this._pt,e,t,+d||0,r-(d||0),typeof u==`boolean`?xd:bd,0,f),c&&(p.fp=c),o&&p.modifier(o,this,e),this._pt=p):(!u&&!(t in e)&&Jc(t,r),td.call(this,e,t,d,r,f,s||cc.stringFilter,c))},rd=function(e,t,n,r,i){if(Sc(e)&&(e=dd(e,i,t,n,r)),!Tc(e)||e.style&&e.nodeType||Ac(e)||kc(e))return xc(e)?dd(e,i,t,n,r):e;var a={},o;for(o in e)a[o]=dd(e[o],i,t,n,r);return a},id=function(e,t,n,r,i,a){var o,s,c,l;if(al[e]&&(o=new al[e]).init(i,o.rawVars?t[e]:rd(t[e],r,i,a,n),n,r,a)!==!1&&(n._pt=s=new Od(n._pt,i,e,0,1,o.render,o,0,o.priority),n!==Tu))for(c=n._ptLookup[n._targets.indexOf(i)],l=o._props.length;l--;)c[o._props[l]]=s;return o},ad,od,sd=function e(t,n,r){var i=t.vars,a=i.ease,o=i.startAt,s=i.immediateRender,c=i.lazy,l=i.onUpdate,u=i.runBackwards,d=i.yoyoEase,f=i.keyframes,p=i.autoRevert,m=t._dur,h=t._startAt,g=t._targets,_=t.parent,v=_&&_.data===`nested`?_.vars.targets:g,y=t._overwrite===`auto`&&!uc,b=t.timeline,x=i.easeReverse||d,S,C,w,T,E,D,O,k,A,j,M,N,P;if(b&&(!f||!a)&&(a=`none`),t._ease=qu(a,lc.ease),t._rEase=x&&(qu(x)||t._ease),t._from=!b&&!!i.runBackwards,t._from&&(t.ratio=1),!b||f&&!i.stagger){if(k=g[0]?dl(g[0]).harness:0,N=k&&i[k.prop],S=Dl(i,tl),h&&(h._zTime<0&&h.progress(1),n<0&&u&&s&&!p?h.render(-1,!0):h.revert(u&&m?$c:Qc),h._lazy=0),o){if(Ml(t._startAt=md.set(g,Cl({data:`isStart`,overwrite:!1,parent:_,immediateRender:!0,lazy:!h&&Ec(c),startAt:null,delay:0,onUpdate:l&&function(){return Cu(t,`onUpdate`)},stagger:0},o))),t._startAt._dp=0,t._startAt._sat=t,n<0&&(dc||!s&&!p)&&t._startAt.revert($c),s&&m&&n<=0&&r<=0){n&&(t._zTime=n);return}}else if(u&&m&&!h){if(n&&(s=!1),w=Cl({overwrite:!1,data:`isFromStart`,lazy:s&&!h&&Ec(c),immediateRender:s,stagger:0,parent:_},S),N&&(w[k.prop]=N),Ml(t._startAt=md.set(g,w)),t._startAt._dp=0,t._startAt._sat=t,n<0&&(dc?t._startAt.revert($c):t._startAt.render(-1,!0)),t._zTime=n,!s)e(t._startAt,mc,mc);else if(!n)return}for(t._pt=t._ptCache=0,c=m&&Ec(c)||c&&!m,C=0;C<g.length;C++){if(E=g[C],O=E._gsap||ul(g)[C]._gsap,t._ptLookup[C]=j={},rl[O.id]&&nl.length&&vl(),M=v===g?C:v.indexOf(E),k&&(A=new k).init(E,N||S,t,M,v)!==!1&&(t._pt=T=new Od(t._pt,E,A.name,0,1,A.render,A,0,A.priority),A._props.forEach(function(e){j[e]=T}),A.priority&&(D=1)),!k||N)for(w in S)al[w]&&(A=id(w,S,t,M,E,v))?A.priority&&(D=1):j[w]=T=nd.call(t,E,w,`get`,S[w],M,v,0,i.stringFilter);t._op&&t._op[C]&&t.kill(E,t._op[C]),y&&t._pt&&(ad=t,Bc.killTweensOf(E,j,t.globalTime(n)),P=!t.parent,ad=0),t._pt&&c&&(rl[O.id]=1)}D&&Dd(t),t._onInit&&t._onInit(t)}t._onUpdate=l,t._initted=(!t._op||t._pt)&&!P,f&&n<=0&&b.render(pc,!0,!0)},cd=function(e,t,n,r,i,a,o,s){var c=(e._pt&&e._ptCache||(e._ptCache={}))[t],l,u,d,f;if(!c)for(c=e._ptCache[t]=[],d=e._ptLookup,f=e._targets.length;f--;){if(l=d[f][t],l&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==t&&l.fp!==t;)l=l._next;if(!l)return od=1,e.vars[t]=`+=0`,sd(e,o),od=0,s?Yc(t+` not eligible for reset. Try splitting into individual properties`):1;c.push(l)}for(f=c.length;f--;)u=c[f],l=u._pt||u,l.s=(r||r===0)&&!i?r:l.s+(r||0)+a*l.c,l.c=n-l.s,u.e&&=ml(n)+tu(u.e),u.b&&=l.s+tu(u.b)},ld=function(e,t){var n=e[0]?dl(e[0]).harness:0,r=n&&n.aliases,i,a,o,s;if(!r)return t;for(a in i=Tl({},t),r)if(a in i)for(s=r[a].split(`,`),o=s.length;o--;)i[s[o]]=i[a];return i},ud=function(e,t,n,r){var i=t.ease||r||`power1.inOut`,a,o;if(Ac(t))o=n[e]||(n[e]=[]),t.forEach(function(e,n){return o.push({t:n/(t.length-1)*100,v:e,e:i})});else for(a in t)o=n[a]||(n[a]=[]),a===`ease`||o.push({t:parseFloat(e),v:t[a],e:i})},dd=function(e,t,n,r,i){return Sc(e)?e.call(t,n,r,i):xc(e)&&~e.indexOf(`random(`)?yu(e):e},fd=ll+`repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert`,pd={};pl(fd+`,id,stagger,delay,duration,paused,scrollTrigger`,function(e){return pd[e]=1});var md=function(e){sc(t,e);function t(t,n,r,i){var a;typeof n==`number`&&(r.duration=n,n=r,r=null),a=e.call(this,i?n:Ol(n))||this;var o=a.vars,s=o.duration,c=o.delay,l=o.immediateRender,u=o.stagger,d=o.overwrite,f=o.keyframes,p=o.defaults,m=o.scrollTrigger,h=n.parent||Bc,g=(Ac(t)||kc(t)?Cc(t[0]):`length`in n)?[t]:ou(t),_,v,y,b,x,S,C,w;if(a._targets=g.length?ul(g):Yc(`GSAP target `+t+` not found. https://gsap.com`,!cc.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,f||u||Oc(s)||Oc(c)){n=a.vars;var T=n.easeReverse||n.yoyoEase;if(_=a.timeline=new ed({data:`nested`,defaults:p||{},targets:h&&h.data===`nested`?h.vars.targets:g}),_.kill(),_.parent=_._dp=oc(a),_._start=0,u||Oc(s)||Oc(c)){if(b=g.length,C=u&&lu(u),Tc(u))for(x in u)~fd.indexOf(x)&&(w||={},w[x]=u[x]);for(v=0;v<b;v++)y=Dl(n,pd),y.stagger=0,T&&(y.easeReverse=T),w&&Tl(y,w),S=g[v],y.duration=+dd(s,oc(a),v,S,g),y.delay=(+dd(c,oc(a),v,S,g)||0)-a._delay,!u&&b===1&&y.delay&&(a._delay=c=y.delay,a._start+=c,y.delay=0),_.to(S,y,C?C(v,S,g):0),_._ease=Bu.none;_.duration()?s=c=0:a.timeline=0}else if(f){Ol(Cl(_.vars.defaults,{ease:`none`})),_._ease=qu(f.ease||n.ease||`none`);var E=0,D,O,k;if(Ac(f))f.forEach(function(e){return _.to(g,e,`>`)}),_.duration();else{for(x in y={},f)x===`ease`||x===`easeEach`||ud(x,f[x],y,f.easeEach);for(x in y)for(D=y[x].sort(function(e,t){return e.t-t.t}),E=0,v=0;v<D.length;v++)O=D[v],k={ease:O.e,duration:(O.t-(v?D[v-1].t:0))/100*s},k[x]=O.v,_.to(g,k,E),E+=k.duration;_.duration()<s&&_.to({},{duration:s-_.duration()})}}s||a.duration(s=_.duration())}else a.timeline=0;return d===!0&&!uc&&(ad=oc(a),Bc.killTweensOf(g),ad=0),Vl(h,oc(a),r),n.reversed&&a.reverse(),n.paused&&a.paused(!0),(l||!s&&!f&&a._start===hl(h._time)&&Ec(l)&&Il(oc(a))&&h.data!==`nested`)&&(a._tTime=-mc,a.render(Math.max(0,-c)||0)),m&&Hl(oc(a),m),a}var n=t.prototype;return n.render=function(e,t,n){var r=this._time,i=this._tDur,a=this._dur,o=e<0,s=e>i-mc&&!o?i:e<mc?0:e,c,l,u,d,f,p,m,h;if(!a)Kl(this,e,t,n);else if(s!==this._tTime||!e||n||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==o||this._lazy){if(c=s,h=this.timeline,this._repeat){if(d=a+this._rDelay,this._repeat<-1&&o)return this.totalTime(d*100+e,t,n);if(c=hl(s%d),s===i?(u=this._repeat,c=a):(f=hl(s/d),u=~~f,u&&u===f?(c=a,u--):c>a&&(c=a)),p=this._yoyo&&u&1,p&&(c=a-c),f=Y(this._tTime,d),c===r&&!n&&this._initted&&u===f)return this._tTime=s,this;u!==f&&this.vars.repeatRefresh&&!p&&!this._lock&&c!==d&&this._initted&&(this._lock=n=1,this.render(hl(d*u),!0).invalidate()._lock=0)}if(!this._initted){if(Ul(this,o?e:c,n,t,s))return this._tTime=0,this;if(r!==this._time&&!(n&&this.vars.repeatRefresh&&u!==f))return this;if(a!==this._dur)return this.render(e,t,n)}if(this._rEase){var g=c<r;if(g!==this._inv){var _=g?r:a-r;this._inv=g,this._from&&(this.ratio=1-this.ratio),this._invRatio=this.ratio,this._invTime=r,this._invRecip=_?(g?-1:1)/_:0,this._invScale=g?-this.ratio:1-this.ratio,this._invEase=g?this._rEase:this._ease}this.ratio=m=this._invRatio+this._invScale*this._invEase((c-this._invTime)*this._invRecip)}else this.ratio=m=this._ease(c/a);if(this._from&&(this.ratio=m=1-m),this._tTime=s,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),!r&&s&&!t&&!f&&(Cu(this,`onStart`),this._tTime!==s))return this;for(l=this._pt;l;)l.r(m,l.d),l=l._next;h&&h.render(e<0?e:h._dur*h._ease(c/this._dur),t,n)||this._startAt&&(this._zTime=e),this._onUpdate&&!t&&(o&&Fl(this,e,t,n),Cu(this,`onUpdate`)),this._repeat&&u!==f&&this.vars.onRepeat&&!t&&this.parent&&Cu(this,`onRepeat`),(s===this._tDur||!s)&&this._tTime===s&&(o&&!this._onUpdate&&Fl(this,e,!0,!0),(e||!a)&&(s===this._tDur&&this._ts>0||!s&&this._ts<0)&&Ml(this,1),!t&&!(o&&!r)&&(s||r||p)&&(Cu(this,s===i?`onComplete`:`onReverseComplete`,!0),this._prom&&!(s<i&&this.timeScale()>0)&&this._prom()))}return this},n.targets=function(){return this._targets},n.invalidate=function(t){return(!t||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),e.prototype.invalidate.call(this,t)},n.resetTo=function(e,t,n,r,i){Lu||Ru.wake(),this._ts||this.play();
vendor: 5,069 bytes, line 257
257var a=Math.min(this._dur,(this._dp._time-this._start)*this._ts),o;return this._initted||sd(this,a),o=this._ease(a/this._dur),cd(this,e,t,n,r,o,a,i)?this.resetTo(e,t,n,r,1):(zl(this,0),this.parent||Al(this._dp,this,`_first`,`_last`,this._dp._sort?`_start`:0),this.render(0))},n.kill=function(e,t){if(t===void 0&&(t=`all`),!e&&(!t||t===`all`))return this._lazy=this._pt=0,this.parent?wu(this):this.scrollTrigger&&this.scrollTrigger.kill(!!dc),this;if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(e,t,ad&&ad.vars.overwrite!==!0)._first||wu(this),this.parent&&n!==this.timeline.totalDuration()&&Jl(this,this._dur*this.timeline._tDur/n,0,1),this}var r=this._targets,i=e?ou(e):r,a=this._ptLookup,o=this._pt,s,c,l,u,d,f,p;if((!t||t===`all`)&&kl(r,i))return t===`all`&&(this._pt=0),wu(this);for(s=this._op=this._op||[],t!==`all`&&(xc(t)&&(d={},pl(t,function(e){return d[e]=1}),t=d),t=ld(r,t)),p=r.length;p--;)if(~i.indexOf(r[p]))for(d in c=a[p],t===`all`?(s[p]=t,u=c,l={}):(l=s[p]=s[p]||{},u=t),u)f=c&&c[d],f&&((!(`kill`in f.d)||f.d.kill(d)===!0)&&jl(this,f,`_pt`),delete c[d]),l!==`all`&&(l[d]=1);return this._initted&&!this._pt&&o&&wu(this),this},t.to=function(e,n){return new t(e,n,arguments[2])},t.from=function(e,t){return Ql(1,arguments)},t.delayedCall=function(e,n,r,i){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:e,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},t.fromTo=function(e,t,n){return Ql(2,arguments)},t.set=function(e,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(e,n)},t.killTweensOf=function(e,t,n){return Bc.killTweensOf(e,t,n)},t}($u);Cl(md.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),pl(`staggerTo,staggerFrom,staggerFromTo`,function(e){md[e]=function(){var t=new ed,n=ru.call(arguments,0);return n.splice(e===`staggerFromTo`?5:4,0,0),t[e].apply(t,n)}});var hd=function(e,t,n){return e[t]=n},gd=function(e,t,n){return e[t](n)},_d=function(e,t,n,r){return e[t](r.fp,n)},vd=function(e,t,n){return e.setAttribute(t,n)},yd=function(e,t){return Sc(e[t])?gd:wc(e[t])&&e.setAttribute?vd:hd},bd=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},xd=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},Sd=function(e,t){var n=t._pt,r=``;if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*e):Math.round((n.s+n.c*e)*1e4)/1e4)+r,n=n._next;r+=t.c}t.set(t.t,t.p,r,t)},Cd=function(e,t){for(var n=t._pt;n;)n.r(e,n.d),n=n._next},wd=function(e,t,n,r){for(var i=this._pt,a;i;)a=i._next,i.p===r&&i.modifier(e,t,n),i=a},Td=function(e){for(var t=this._pt,n,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?jl(this,t,`_pt`):t.dep||(n=1),t=r;return!n},Ed=function(e,t,n,r){r.mSet(e,t,r.m.call(r.tween,n,r.mt),r)},Dd=function(e){for(var t=e._pt,n,r,i,a;t;){for(n=t._next,r=i;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:a)?t._prev._next=t:i=t,(t._next=r)?r._prev=t:a=t,t=n}e._pt=i},Od=function(){function e(e,t,n,r,i,a,o,s,c){this.t=t,this.s=r,this.c=i,this.p=n,this.r=a||bd,this.d=o||this,this.set=s||hd,this.pr=c||0,this._next=e,e&&(e._prev=this)}var t=e.prototype;return t.modifier=function(e,t,n){this.mSet=this.mSet||this.set,this.set=Ed,this.m=e,this.mt=n,this.tween=t},e}();pl(ll+`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,easeReverse`,function(e){return tl[e]=1}),Wc.TweenMax=Wc.TweenLite=md,Wc.TimelineLite=Wc.TimelineMax=ed,Bc=new ed({sortChildren:!1,defaults:lc,autoRemoveChildren:!0,id:`root`,smoothChildTiming:!0}),cc.stringFilter=Iu;var kd=[],Ad={},jd=[],Md=0,Nd=0,Pd=function(e){return(Ad[e]||jd).map(function(e){return e()})},Fd=function(){var e=Date.now(),t=[];e-Md>2&&(Pd(`matchMediaInit`),kd.forEach(function(e){var n=e.queries,r=e.conditions,i,a,o,s;for(a in n)i=Vc.matchMedia(n[a]).matches,i&&(o=1),i!==r[a]&&(r[a]=i,s=1);s&&(e.revert(),o&&t.push(e))}),Pd(`matchMediaRevert`),t.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Md=e,Pd(`matchMedia`))},Id=function(){function e(e,t){this.selector=t&&su(t),this.data=[],this._r=[],this.isReverted=!1,this.id=Nd++,e&&this.add(e)}var t=e.prototype;return t.add=function(e,t,n){Sc(e)&&(n=t,t=e,e=Sc);var r=this,i=function(){var e=fc,i=r.selector,a;return e&&e!==r&&e.data.push(r),n&&(r.selector=su(n)),fc=r,a=t.apply(r,arguments),Sc(a)&&r._r.push(a),fc=e,r.selector=i,r.isReverted=!1,a};return r.last=i,e===Sc?i(r,function(e){return r.add(null,e)}):e?r[e]=i:i},t.ignore=function(e){var t=fc;fc=null,e(this),fc=t},t.getTweens=function(){var t=[];return this.data.forEach(function(n){return n instanceof e?t.push.apply(t,n.getTweens()):n instanceof md&&!(n.parent&&n.parent.data===`nested`)&&t.push(n)}),t},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(e,t){var n=this;if(e?(function(){for(var t=n.getTweens(),r=n.data.length,i;r--;)i=n.data[r],i.data===`isFlip`&&(i.revert(),i.getChildren(!0,!0,!1).forEac
257h(function(e){return t.splice(t.indexOf(e),1)}));for(t.map(function(e){return{g:e._dur||e._delay||e._sat&&!e._sat.vars.immediateRender?e.globalTime(0):-1/0,t:e}}).sort(function(e,t){return t.g-e.g||-1/0}).forEach(function(t){return t.t.revert(e)}),r=n.data.length;r--;)i=n.data[r],i instanceof ed?i.data!==`nested`&&(i.scrollTrigger&&i.scrollTrigger.revert(),i.kill()):!(i instanceof md)&&i.revert&&i.revert(e);n._r.forEach(function(t){return t(e,n)}),n.isReverted=!0})():this.data.forEach(function(e){return e.kill&&e.kill()}),this.clear(),t)for(var r=kd.length;r--;)kd[r].id===this.id&&kd.splice(r,1)},t.revert=function(e){this.kill(e||{})},e}(),Ld=function(){function e(e){this.contexts=[],this.scope=e,fc&&fc.data.push(this)}var t=e.prototype;return t.add=function(e,t,n){Tc(e)||(e={matches:e});var r=new Id(0,n||this.scope),i=r.conditions={},a,o,s;for(o in fc&&!r.selector&&(r.selector=fc.selector),this.contexts.push(r),t=r.add(`onMatch`,t),r.queries=e,e)o===`all`?s=1:(a=Vc.matchMedia(e[o]),a&&(kd.indexOf(r)<0&&kd.push(r),(i[o]=a.matches)&&(s=1),a.addListener?a.addListener(Fd):a.addEventListener(`change`,Fd)));return s&&t(r,function(e){return r.add(null,e)}),this},t.revert=function(e){this.kill(e||{})}
vendor: 8,154 bytes, line 257
257,t.kill=function(e){this.contexts.forEach(function(t){return t.kill(e,!0)})},e}(),Rd={registerPlugin:function(){[...arguments].forEach(function(e){return Du(e)})},timeline:function(e){return new ed(e)},getTweensOf:function(e,t){return Bc.getTweensOf(e,t)},getProperty:function(e,t,n,r){xc(e)&&(e=ou(e)[0]);var i=dl(e||{}).get,a=n?Sl:xl;return n===`native`&&(n=``),e&&(t?a((al[t]&&al[t].get||i)(e,t,n,r)):function(t,n,r){return a((al[t]&&al[t].get||i)(e,t,n,r))})},quickSetter:function(e,t,n){if(e=ou(e),e.length>1){var r=e.map(function(e){return Hd.quickSetter(e,t,n)}),i=r.length;return function(e){for(var t=i;t--;)r[t](e)}}e=e[0]||{};var a=al[t],o=dl(e),s=o.harness&&(o.harness.aliases||{})[t]||t,c=a?function(t){var r=new a;Tu._pt=0,r.init(e,n?t+n:t,Tu,0,[e]),r.render(1,r),Tu._pt&&Cd(1,Tu)}:o.set(e,s);return a?c:function(t){return c(e,s,n?t+n:t,o,1)}},quickTo:function(e,t,n){var r,i=Hd.to(e,Cl((r={},r[t]=`+=0.1`,r.paused=!0,r.stagger=0,r),n||{})),a=function(e,n,r){return i.resetTo(t,e,n,r)};return a.tween=i,a},isTweening:function(e){return Bc.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=qu(e.ease,lc.ease)),El(lc,e||{})},config:function(e){return El(cc,e||{})},registerEffect:function(e){var t=e.name,n=e.effect,r=e.plugins,i=e.defaults,a=e.extendTimeline;(r||``).split(`,`).forEach(function(e){return e&&!al[e]&&!Wc[e]&&Yc(t+` effect requires `+e+` plugin.`)}),ol[t]=function(e,t,r){return n(ou(e),Cl(t||{},i),r)},a&&(ed.prototype[t]=function(e,n,r){return this.add(ol[t](e,Tc(n)?n:(r=n)&&{},this),r)})},registerEase:function(e,t){Bu[e]=qu(t)},parseEase:function(e,t){return arguments.length?qu(e,t):Bu},getById:function(e){return Bc.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var n=new ed(e),r,i;for(n.smoothChildTiming=Ec(e.smoothChildTiming),Bc.remove(n),n._dp=0,n._time=n._tTime=Bc._time,r=Bc._first;r;)i=r._next,(t||!(!r._dur&&r instanceof md&&r.vars.onComplete===r._targets[0]))&&Vl(n,r,r._start-r._delay),r=i;return Vl(Bc,n,0),n},context:function(e,t){return e?new Id(e,t):fc},matchMedia:function(e){return new Ld(e)},matchMediaRefresh:function(){return kd.forEach(function(e){var t=e.conditions,n,r;for(r in t)t[r]&&(t[r]=!1,n=1);n&&e.revert()})||Fd()},addEventListener:function(e,t){var n=Ad[e]||(Ad[e]=[]);~n.indexOf(t)||n.push(t)},removeEventListener:function(e,t){var n=Ad[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},utils:{wrap:_u,wrapYoyo:vu,distribute:lu,random:fu,snap:du,normalize:hu,getUnit:tu,clamp:nu,splitColor:ju,toArray:ou,selector:su,mapRange:bu,pipe:pu,unitize:mu,interpolate:xu,shuffle:cu},install:qc,effects:ol,ticker:Ru,updateRoot:ed.updateRoot,plugins:al,globalTimeline:Bc,core:{PropTween:Od,globals:Xc,Tween:md,Timeline:ed,Animation:$u,getCache:dl,_removeLinkedListItem:jl,reverting:function(){return dc},context:function(e){return e&&fc&&(fc.data.push(e),e._ctx=fc),fc},suppressOverwrites:function(e){return uc=e}}};pl(`to,from,fromTo,delayedCall,set,killTweensOf`,function(e){return Rd[e]=md[e]}),Ru.add(ed.updateRoot),Tu=Rd.to({},{duration:0});var zd=function(e,t){for(var n=e._pt;n&&n.p!==t&&n.op!==t&&n.fp!==t;)n=n._next;return n},Bd=function(e,t){var n=e._targets,r,i,a;for(r in t)for(i=n.length;i--;)a=e._ptLookup[i][r],(a&&=a.d)&&(a._pt&&(a=zd(a,r)),a&&a.modifier&&a.modifier(t[r],e,n[i],r))},Vd=function(e,t){return{name:e,headless:1,rawVars:1,init:function(e,n,r){r._onInit=function(e){var r,i;if(xc(n)&&(r={},pl(n,function(e){return r[e]=1}),n=r),t){for(i in r={},n)r[i]=t(n[i]);n=r}Bd(e,n)}}}},Hd=Rd.registerPlugin({name:`attr`,init:function(e,t,n,r,i){var a,o,s;for(a in this.tween=n,t)s=e.getAttribute(a)||``,o=this.add(e,`setAttribute`,(s||0)+``,t[a],r,i,0,0,a),o.op=a,o.b=s,this._props.push(a)},render:function(e,t){for(var n=t._pt;n;)dc?n.set(n.t,n.p,n.b,n):n.r(e,n.d),n=n._next}},{name:`endArray`,headless:1,init:function(e,t){for(var n=t.length;n--;)this.add(e,n,e[n]||0,t[n],0,0,0,0,0,1)}},Vd(`roundProps`,uu),Vd(`modifiers`),Vd(`snap`,du))||Rd;md.version=ed.version=Hd.version=`3.15.0`,Kc=1,Dc()&&zu(),Bu.Power0,Bu.Power1,Bu.Power2,Bu.Power3,Bu.Power4,Bu.Linear,Bu.Quad,Bu.Cubic,Bu.Quart,Bu.Quint,Bu.Strong,Bu.Elastic,Bu.Back,Bu.SteppedEase,Bu.Bounce,Bu.Sine,Bu.Expo,Bu.Circ;var Ud,Wd,Gd,Kd,qd,Jd,Yd,Xd=function(){return typeof window<`u`},Zd={},Qd=180/Math.PI,$d=Math.PI/180,ef=Math.atan2,tf=1e8,nf=/([A-Z])/g,rf=/(left|right|width|margin|padding|x)/i,af=/[\s,\(]\S/,of={autoAlpha:`opacity,visibility`,scale:`scaleX,scaleY`,alpha:`opacity`},sf=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},cf=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},lf=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},uf=function(e,t){return t.set(t.t,t.p,e===1?t.e:e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},df=function(e,t){var n=t.s+t.c*e;t.set(t.t,t.p,~~(n+(n<0?-.5:.5))+t.u,t)},ff=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},pf=function(e,t){return t.set(t.t,t.p,e===1?t.e:t.b,t)},mf=function(e,t,n){return e.style[t]=n},hf=function(e,t,n){return e.style.setProperty(t,n)},gf=function(e,t,n){return e._gsap[t]=n},_f=function(e,t,n){return e._gsap.scaleX=e._gsap.scaleY=n},vf=function(e,t,n,r,i){var a=e._gsap;a.scaleX=a.scaleY=n,a.renderTransform(i,a)},yf=function(e,t,n,r,i){var a=e._gsap;a[t]=n,a.renderTransform(i,a)},bf=`transform`,xf=bf+`Origin`,Sf=function e(t,n){var r=this,i=this.target,a=i.style,o=i._gsap;if(t in Zd&&a){if(this.tfm=this.tfm||{},t!==`transform`)t=of[t]||t,~t.indexOf(`,`)?t.split(`,`).forEach(function(e){return r.tfm[e]=Vf(i,e)}):this.tfm[t]=o.x?o[t]:Vf(i,t),t===xf&&(this.tfm.zOrigin=o.zOrigin);else return of.transform.split(`,`).forEach(function(t){return e.call(r,t,n)});if(this.props.indexOf(bf)>=0)return;o.svg&&(this.svgo=i.getAttribute(`data-svg-origin`),this.props.push(xf,n,``)),t=bf}(a||n)&&this.props.push(t,n,a[t])},Cf=function(e){e.translate&&(e.removeProperty(`translate`),e.removeProperty(`scale`),e.removeProperty(`rotate`))},wf=function(){var e=this.props,t=this.target,n=t.style,r=t._gsap,i,a;for(i=0;i<e.length;i+=3)e[i+1]?e[i+1]===2?t[e[i]](e[i+2]):t[e[i]]=e[i+2]:e[i+2]?n[e[i]]=e[i+2]:n.removeProperty(e[i].substr(0,2)===`--`?e[i]:e[i].replace(nf,`-$1`).toLowerCase());if(this.tfm){for(a in this.tfm)r[a]=this.tfm[a];r.svg&&(r.renderTransform(),t.setAttribute(`data-svg-origin`,this.svgo||``)),i=Yd(),(!i||!i.isStart)&&!n[bf]&&(Cf(n),r.zOrigin&&n[xf]&&(n[xf]+=` `+r.zOrigin+`px`,r.zOrigin=0,r.renderTransform()),r.uncache=1)}},Tf=function(e,t){var n={target:e,props:[],revert:wf,save:Sf};return e._gsap||Hd.core.getCache(e),t&&e.style&&e.nodeType&&t.split(`,`).forEach(function(e){return n.save(e)}),n},Ef,Df=function(e,t){var n=Wd.createElementNS?Wd.createElementNS((t||`http://www.w3.org/1999/xhtml`).replace(/^https/,`http`),e):Wd.createElement(e);return n&&n.style?n:Wd.createElement(e)},Of=function e(t,n,r){var i=getComputedStyle(t);return i[n]||i.getPropertyValue(n.replace(nf,`-$1`).toLowerCase())||i.getPropertyValue(n)||!r&&e(t,Af(n)||n,1)||``},kf=`O,Moz,ms,Ms,Webkit`.split(`,`),Af=function(e,t,n){var r=(t||qd).style,i=5;if(e in r&&!n)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);i--&&!(kf[i]+e in r););return i<0?null:(i===3?`ms`:i>=0?kf[i]:``)+e},jf=function(){Xd()&&window.document&&(Ud=window,Wd=Ud.document,Gd=Wd.documentElement,qd=Df(`div`)||{style:{}},Df(`div`),bf=Af(bf),xf=bf+`Origin`,qd.style.cssText=`border-width:0;line-height:0;position:absolute;padding:0`,Ef=!!Af(`perspective`),Yd=Hd.core.reverting,Kd=1)},Mf=function(e){var t=e.ownerSVGElement,n=Df(`svg`,t&&t.getAttribute(`xmlns`)||`http://www.w3.org/2000/svg`),r=e.cloneNode(!0),i;r.style.display=`block`,n.appendChild(r),Gd.appendChild(n);try{i=r.getBBox()}catch{}return n.removeChild(r),Gd.removeChild(n),i},Nf=function(e,t){for(var n=t.length;n--;)if(e.hasAttribute(t[n]))return e.getAttribute(t[n])},Pf=function(e){var t,n;try{t=e.getBBox()}catch{t=Mf(e),n=1}return t&&(t.width||t.height)||n||(t=Mf(e)),t&&!t.width&&!t.x&&!t.y?{x:+Nf(e,[`x`,`cx`,`x1`])||0,y:+Nf(e,[`y`,`cy`,`y1`])||0,width:0,height:0}:t},Ff=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Pf(e))},If=function(e,t){if(t){var n=e.style,r;
vendor: 5,529 bytes, line 257
257t in Zd&&t!==xf&&(t=bf),n.removeProperty?(r=t.substr(0,2),(r===`ms`||t.substr(0,6)===`webkit`)&&(t=`-`+t),n.removeProperty(r===`--`?t:t.replace(nf,`-$1`).toLowerCase())):n.removeAttribute(t)}},Lf=function(e,t,n,r,i,a){var o=new Od(e._pt,t,n,0,1,a?pf:ff);return e._pt=o,o.b=r,o.e=i,e._props.push(n),o},Rf={deg:1,rad:1,turn:1},zf={grid:1,flex:1},Bf=function e(t,n,r,i){var a=parseFloat(r)||0,o=(r+``).trim().substr((a+``).length)||`px`,s=qd.style,c=rf.test(n),l=t.tagName.toLowerCase()===`svg`,u=(l?`client`:`offset`)+(c?`Width`:`Height`),d=100,f=i===`px`,p=i===`%`,m,h,g,_;if(i===o||!a||Rf[i]||Rf[o])return a;if(o!==`px`&&!f&&(a=e(t,n,r,`px`)),_=t.getCTM&&Ff(t),(p||o===`%`)&&(Zd[n]||~n.indexOf(`adius`)))return m=_?t.getBBox()[c?`width`:`height`]:t[u],ml(p?a/m*d:a/100*m);if(s[c?`width`:`height`]=d+(f?o:i),h=i!==`rem`&&~n.indexOf(`adius`)||i===`em`&&t.appendChild&&!l?t:t.parentNode,_&&(h=(t.ownerSVGElement||{}).parentNode),(!h||h===Wd||!h.appendChild)&&(h=Wd.body),g=h._gsap,g&&p&&g.width&&c&&g.time===Ru.time&&!g.uncache)return ml(a/g.width*d);if(p&&(n===`height`||n===`width`)){var v=t.style[n];t.style[n]=d+i,m=t[u],v?t.style[n]=v:If(t,n)}else (p||o===`%`)&&!zf[Of(h,`display`)]&&(s.position=Of(t,`position`)),h===t&&(s.position=`static`),h.appendChild(qd),m=qd[u],h.removeChild(qd),s.position=`absolute`;return c&&p&&(g=dl(h),g.time=Ru.time,g.width=h[u]),ml(f?m*a/d:m&&a?d/m*a:0)},Vf=function(e,t,n,r){var i;return Kd||jf(),t in of&&t!==`transform`&&(t=of[t],~t.indexOf(`,`)&&(t=t.split(`,`)[0])),Zd[t]&&t!==`transform`?(i=$f(e,r),i=t===`transformOrigin`?i.svg?i.origin:ep(Of(e,xf))+` `+i.zOrigin+`px`:i[t]):(i=e.style[t],(!i||i===`auto`||r||~(i+``).indexOf(`calc(`))&&(i=Kf[t]&&Kf[t](e,t,n)||Of(e,t)||fl(e,t)||+(t===`opacity`))),n&&!~(i+``).trim().indexOf(` `)?Bf(e,t,i,n)+n:i},Hf=function(e,t,n,r){if(!n||n===`none`){var i=Af(t,e,1),a=i&&Of(e,i,1);a&&a!==n?(t=i,n=a):t===`borderColor`&&(n=Of(e,`borderTopColor`))}var o=new Od(this._pt,e.style,t,0,1,Sd),s=0,c=0,l,u,d,f,p,m,h,g,_,v,y,b;if(o.b=n,o.e=r,n+=``,r+=``,r.substring(0,6)===`var(--`&&(r=Of(e,r.substring(4,r.indexOf(`)`)))),r===`auto`&&(m=e.style[t],e.style[t]=r,r=Of(e,t)||r,m?e.style[t]=m:If(e,t)),l=[n,r],Iu(l),n=l[0],r=l[1],d=n.match(Fc)||[],b=r.match(Fc)||[],b.length){for(;u=Fc.exec(r);)h=u[0],_=r.substring(s,u.index),p?p=(p+1)%5:(_.substr(-5)===`rgba(`||_.substr(-5)===`hsla(`)&&(p=1),h!==(m=d[c++]||``)&&(f=parseFloat(m)||0,y=m.substr((f+``).length),h.charAt(1)===`=`&&(h=gl(f,h)+y),g=parseFloat(h),v=h.substr((g+``).length),s=Fc.lastIndex-v.length,v||(v=v||cc.units[t]||y,s===r.length&&(r+=v,o.e+=v)),y!==v&&(f=Bf(e,t,m,v)||0),o._pt={_next:o._pt,p:_||c===1?_:`,`,s:f,c:g-f,m:p&&p<4||t===`zIndex`?Math.round:0});o.c=s<r.length?r.substring(s,r.length):``}else o.r=t===`display`&&r===`none`?pf:ff;return Lc.test(r)&&(o.e=0),this._pt=o,o},Uf={top:`0%`,bottom:`100%`,left:`0%`,right:`100%`,center:`50%`},Wf=function(e){var t=e.split(` `),n=t[0],r=t[1]||`50%`;return(n===`top`||n===`bottom`||r===`left`||r===`right`)&&(e=n,n=r,r=e),t[0]=Uf[n]||n,t[1]=Uf[r]||r,t.join(` `)},Gf=function(e,t){if(t.tween&&t.tween._time===t.tween._dur){var n=t.t,r=n.style,i=t.u,a=n._gsap,o,s,c;if(i===`all`||i===!0)r.cssText=``,s=1;else for(i=i.split(`,`),c=i.length;--c>-1;)o=i[c],Zd[o]&&(s=1,o=o===`transformOrigin`?xf:bf),If(n,o);s&&(If(n,bf),a&&(a.svg&&n.removeAttribute(`transform`),r.scale=r.rotate=r.translate=`none`,$f(n,1),a.uncache=1,Cf(r)))}},Kf={clearProps:function(e,t,n,r,i){if(i.data!==`isFromStart`){var a=e._pt=new Od(e._pt,t,n,0,0,Gf);return a.u=r,a.pr=-10,a.tween=i,e._props.push(n),1}}},qf=[1,0,0,1,0,0],Jf={},Yf=function(e){return e===`matrix(1, 0, 0, 1, 0, 0)`||e===`none`||!e},Xf=function(e){var t=Of(e,bf);return Yf(t)?qf:t.substr(7).match(Pc).map(ml)},Zf=function(e,t){var n=e._gsap||dl(e),r=e.style,i=Xf(e),a,o,s,c;return n.svg&&e.getAttribute(`transform`)?(s=e.transform.baseVal.consolidate().matrix,i=[s.a,s.b,s.c,s.d,s.e,s.f],i.join(`,`)===`1,0,0,1,0,0`?qf:i):(i===qf&&!e.offsetParent&&e!==Gd&&!n.svg&&(s=r.display,r.display=`block`,a=e.parentNode,(!a||!e.offsetParent&&!e.getBoundingClientRect().width)&&(c=1,o=e.nextElementSibling,Gd.appendChild(e)),i=Xf(e),s?r.display=s:If(e,`display`),c&&(o?a.insertBefore(e,o):a?a.appendChild(e):Gd.removeChild(e))),t&&i.length>6?[i[0],i[1],i[4],i[5],i[12],i[13]]:i)},Qf=function(e,t,n,r,i,a){var o=e._gsap,s=i||Zf(e,!0),c=o.xOrigin||0,l=o.yOrigin||0,u=o.xOffset||0,d=o.yOffset||0,f=s[0],p=s[1],m=s[2],h=s[3],g=s[4],_=s[5],v=t.split(` `),y=parseFloat(v[0])||0,b=parseFloat(v[1])||0,x,S,C,w;n?s!==qf&&(S=f*h-p*m)&&(C=h/S*y+b*(-m/S)+(m*_-h*g)/S,w=y*(-p/S)+f/S*b-(f*_-p*g)/S,y=C,b=w):(x=Pf(e),y=x.x+(~v[0].indexOf(`%`)?y/100*x.width:y),b=x.y+(~(v[1]||v[0]).indexOf(`%`)?b/100*x.height:b)),r||r!==!1&&o.smooth?(g=y-c,_=b-l,o.xOffset=u+(g*f+_*m)-g,o.yOffset=d+(g*p+_*h)-_):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=b,o.smooth=!!r,o.origin=t,o.originIsAbsolute=!!n,e.style[xf]=`0px 0px`,a&&(Lf(a,o,`xOrigin`,c,y),Lf(a,o,`yOrigin`,l,b),Lf(a,o,`xOffset`,u,o.xOffset),Lf(a,o,`yOffset`,d,o.yOffset)),e.setAttribute(`data-svg-origin`,y+` `+b)},$f=function(e,t){var n=e._gsap||new Qu(e);if(`x`in n&&!t&&!n.uncache)return n;var r=e.style,i=n.scaleX<0,a=`px`,o=`deg`,s=getComputedStyle(e),c=Of(e,xf)||`0`,l=u=d=m=h=g=_=v=y=0,u,d,f=p=1,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D,O,k,A,j,M,N,P,ee,F,I,te,ne,re;return n.svg=!!(e.getCTM&&Ff(e)),s.translate&&((s.translate!==`none`||s.scale!==`none`||s.rotate!==`none`)&&(r[bf]=(s.translate===`none`?``:`translate3d(`+(s.translate+` 0 0`).split(` `).slice(0,3).join(`, `)+`) `)+(s.rotate===`
257none`?``:`rotate(`+s.rotate+`) `)+(s.scale===`none`?``:`scale(`+s.scale.split(` `).join(`,`)+`) `)+(s[bf]===`none`?``:s[bf])),r.scale=r.rotate=r.translate=`none`),S=Zf(e,n.svg),n.svg&&(n.uncache?(N=e.getBBox(),c=n.xOrigin-N.x+`px `+(n.yOrigin-N.y)+`px`,M=``):M=!t&&e.getAttribute(`data-svg-origin`),Qf(e,M||c,!!M||n.originIsAbsolute,n.smooth!==!1,S)),b=n.xOrigin||0,x=n.yOrigin||0,S!==qf&&(E=S[0],D=S[1],O=S[2],k=S[3],l=A=S[4],u=j=S[5],S.length===6?(f=Math.sqrt(E*E+D*D),p=Math.sqrt(k*k+O*O),m=E||D?ef(D,E)*Qd:0,_=O||k?ef(O,k)*Qd+m:0,_&&(p*=Math.abs(Math.cos(_*$d))),n.svg&&(l-=b-(b*E+x*O),u-=x-(b*D+x*k))):(re=S[6],te=S[7],ee=S[8],F=S[9],I=S[10],ne=S[11],l=S[12],u=S[13],d=S[14],C=ef(re,I),h=C*Qd,C&&(w=Math.cos(-C),T=Math.sin(-C),M=A*w+ee*T,N=j*w+F*T,P=re*w+I*T,ee=A*-T+ee*w,F=j*-T+F*w,I=re*-T+I*w,ne=te*-T+ne*w,A=M,j=N,re=P),C=ef(-O,I),g=C*Qd,C&&(w=Math.cos(-C),T=Math.sin(-C),M=E*w-ee*T,N=D*w-F*T,P=O*w-I*T,ne=k*T+ne*w,E=M,D=N,O=P),C=ef(D,E),m=C*Qd,C&&(w=Math.cos(C),T=Math.sin(C),M=E*w+D*T,N=A*w+j*T,D=D*w-E*T,j=j*w-A*T,E=M,A=N),h&&Math.abs(h)+Math.abs(m)>359.9&&(h=m=0,g=180-g),f=ml(Math.sqrt(E*E+D*D+O*O)),p=ml(Math.sqrt(j*j+re*re)),C=ef(A,j),_=Math.abs(C)>2e-4?C*Qd:0,y=ne?1/(ne<0?-ne:ne):0),n.svg&&(M=e.getAttribute(`transform`),n.forceCSS=e.setAttribute(`transform`,``)||!Yf(Of(e,bf)),M&&e.setAttribute(`transform`,M))),Math.abs(_)>90&&Math.abs(_)<270&&(i?(f*=-1,_+=m<=0?180:-180,m+=m<=0?180:-180):(p*=-1,_+=_<=0?180:-180)),t||=n.uncache,n.x=l-((n.xPercent=l&&(!t&&n.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-l)?-50:0)))?e.offsetWidth*n.xPercent/100:0)+a,n.y=u-((n.yPercent=u&&(!t&&n.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-u)?-50:0)))?e.offsetHeight*n.yPercent/100:0)+a,n.z=d+a,n.scaleX=ml(f),n.scaleY=ml(p),n.rotation=ml(m)+o,n.rotationX=ml(h)+o,n.rotationY=ml(g)+o,n.skewX=_+o,n.skewY=v+o,n.transformPerspective=y+a,(n.zOrigin=parseFloat(c.split(` `)[2])||!t&&n.zOrigin||0)&&(r[xf]=ep(c)),n.xOffset=n.yOffset=0,n.force3D=cc.force3D,n.renderTransform=n.svg?sp:Ef?op:np,n.uncache=0,n},ep=function(e){return(e=e.split(` `))[0]+` `+e[1]},tp=function(e,t,n){var r=tu(t);return ml(parseFloat(t)+parseFloat(Bf(e,`x`,n+`px`,r)))+r},np=function(e,t){t.z=`0px`,t.rotationY=t.rotationX=`0deg`,t.force3D=0,op(e,t)},rp=`0deg`,ip=`0px`,ap=`) `,op=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.z,c=n.rotation,l=n.rotationY,u=n.rotationX,d=n.skewX,f=n.skewY,p=n.scaleX,m=n.scaleY,h=n.transformPerspective,g=n.force3D,_=n.target,v=n.zOrigin,y=``,b=g===`auto`&&e&&e!==1||g===!0;if(v&&(u!==rp||l!==rp)){var x=parseFloat(l)*$d,S=Math.sin(x),C=Math.cos(x),w;x=parseFloat(u)*$d,w=Math.cos(x),a=tp(_,a,S*w*-v),o=tp(_,o,-Math.sin(x)*-v),s=tp(_,s,C*w*-v+v)}h!==ip&&(y+=`perspective(`+h+ap),(r||i)&&(y+=`translate(`+r+`%, `+i+`%) `),(b||a!==ip||o!==ip||s!==ip)&&(y+=s!==ip||b?`translate3d(`+a+`, `+o+`, `+s+`) `:`translate(`+a+`, `+o+ap),c!==rp&&(y+=`rotate(`+c+ap),l!==rp&&(y+=`rotateY(`+l+ap),u!==rp&&(y+=`rotateX(`+u+ap),(d!==rp||f!==rp)&&(y+=`skew(`+d+`, `+f+ap),(p!==1||m!==1)&&(y+=`scale(`+p+`, `+m+ap),_.style[bf]=y||`translate(0, 0)`},sp=function(e,t){var n=t||this,r=n.xPercent,i=n.yPercent,a=n.x,o=n.y,s=n.rotation,c=n.skewX,l=n.skewY,u=n.scaleX,d=n.scaleY,f=n.target,p=n.xOrigin,m=n.yOrigin,h=n.xOffset,g=n.yOffset,_=n.forceCSS,v=parseFloat(a),y=parseFloat(o),b,x,S,C,w;
vendor: 7,291 bytes, line 257
257s=parseFloat(s),c=parseFloat(c),l=parseFloat(l),l&&(l=parseFloat(l),c+=l,s+=l),s||c?(s*=$d,c*=$d,b=Math.cos(s)*u,x=Math.sin(s)*u,S=Math.sin(s-c)*-d,C=Math.cos(s-c)*d,c&&(l*=$d,w=Math.tan(c-l),w=Math.sqrt(1+w*w),S*=w,C*=w,l&&(w=Math.tan(l),w=Math.sqrt(1+w*w),b*=w,x*=w)),b=ml(b),x=ml(x),S=ml(S),C=ml(C)):(b=u,C=d,x=S=0),(v&&!~(a+``).indexOf(`px`)||y&&!~(o+``).indexOf(`px`))&&(v=Bf(f,`x`,a,`px`),y=Bf(f,`y`,o,`px`)),(p||m||h||g)&&(v=ml(v+p-(p*b+m*S)+h),y=ml(y+m-(p*x+m*C)+g)),(r||i)&&(w=f.getBBox(),v=ml(v+r/100*w.width),y=ml(y+i/100*w.height)),w=`matrix(`+b+`,`+x+`,`+S+`,`+C+`,`+v+`,`+y+`)`,f.setAttribute(`transform`,w),_&&(f.style[bf]=w)},cp=function(e,t,n,r,i){var a=360,o=xc(i),s=parseFloat(i)*(o&&~i.indexOf(`rad`)?Qd:1)-r,c=r+s+`deg`,l,u;return o&&(l=i.split(`_`)[1],l===`short`&&(s%=a,s!==s%(a/2)&&(s+=s<0?a:-a)),l===`cw`&&s<0?s=(s+a*tf)%a-~~(s/a)*a:l===`ccw`&&s>0&&(s=(s-a*tf)%a-~~(s/a)*a)),e._pt=u=new Od(e._pt,t,n,r,s,cf),u.e=c,u.u=`deg`,e._props.push(n),u},lp=function(e,t){for(var n in t)e[n]=t[n];return e},up=function(e,t,n){var r=lp({},n._gsap),i=`perspective,force3D,transformOrigin,svgOrigin`,a=n.style,o,s,c,l,u,d,f,p;for(s in r.svg?(c=n.getAttribute(`transform`),n.setAttribute(`transform`,``),a[bf]=t,o=$f(n,1),If(n,bf),n.setAttribute(`transform`,c)):(c=getComputedStyle(n)[bf],a[bf]=t,o=$f(n,1),a[bf]=c),Zd)c=r[s],l=o[s],c!==l&&i.indexOf(s)<0&&(f=tu(c),p=tu(l),u=f===p?parseFloat(c):Bf(n,s,c,p),d=parseFloat(l),e._pt=new Od(e._pt,o,s,u,d-u,sf),e._pt.u=p||0,e._props.push(s));lp(o,r)};pl(`padding,margin,Width,Radius`,function(e,t){var n=`Top`,r=`Right`,i=`Bottom`,a=`Left`,o=(t<3?[n,r,i,a]:[n+a,n+r,i+r,i+a]).map(function(n){return t<2?e+n:`border`+n+e});Kf[t>1?`border`+e:e]=function(e,t,n,r,i){var a,s;if(arguments.length<4)return a=o.map(function(t){return Vf(e,t,n)}),s=a.join(` `),s.split(a[0]).length===5?a[0]:s;a=(r+``).split(` `),s={},o.forEach(function(e,t){return s[e]=a[t]=a[t]||a[(t-1)/2|0]}),e.init(t,s,i)}});var dp={name:`css`,register:jf,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,n,r,i){var a=this._props,o=e.style,s=n.vars.startAt,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w;for(m in Kd||jf(),this.styles=this.styles||Tf(e),C=this.styles.props,this.tween=n,t)if(m!==`autoRound`&&(l=t[m],!(al[m]&&id(m,t,n,r,e,i)))){if(f=typeof l,p=Kf[m],f===`function`&&(l=l.call(n,r,e,i),f=typeof l),f===`string`&&~l.indexOf(`random(`)&&(l=yu(l)),p)p(this,e,m,l,n)&&(S=1);else if(m.substr(0,2)===`--`)c=(getComputedStyle(e).getPropertyValue(m)+``).trim(),l+=``,Pu.lastIndex=0,Pu.test(c)||(h=tu(c),g=tu(l),g?h!==g&&(c=Bf(e,m,c,g)+g):h&&(l+=h)),this.add(o,`setProperty`,c,l,r,i,0,0,m),a.push(m),C.push(m,0,o[m]);else if(f!==`undefined`){if(s&&m in s?(c=typeof s[m]==`function`?s[m].call(n,r,e,i):s[m],xc(c)&&~c.indexOf(`random(`)&&(c=yu(c)),tu(c+``)||c===`auto`||(c+=cc.units[m]||tu(Vf(e,m))||``),(c+``).charAt(1)===`=`&&(c=Vf(e,m))):c=Vf(e,m),d=parseFloat(c),_=f===`string`&&l.charAt(1)===`=`&&l.substr(0,2),_&&(l=l.substr(2)),u=parseFloat(l),m in of&&(m===`autoAlpha`&&(d===1&&Vf(e,`visibility`)===`hidden`&&u&&(d=0),C.push(`visibility`,0,o.visibility),Lf(this,o,`visibility`,d?`inherit`:`hidden`,u?`inherit`:`hidden`,!u)),m!==`scale`&&m!==`transform`&&(m=of[m],~m.indexOf(`,`)&&(m=m.split(`,`)[0]))),v=m in Zd,v){if(this.styles.save(m),w=l,f===`string`&&l.substring(0,6)===`var(--`){if(l=Of(e,l.substring(4,l.indexOf(`)`))),l.substring(0,5)===`calc(`){var T=e.style.perspective;e.style.perspective=l,l=Of(e,`perspective`),T?e.style.perspective=T:If(e,`perspective`)}u=parseFloat(l)}if(y||(b=e._gsap,b.renderTransform&&!t.parseTransform||$f(e,t.parseTransform),x=t.smoothOrigin!==!1&&b.smooth,y=this._pt=new Od(this._pt,o,bf,0,1,b.renderTransform,b,0,-1),y.dep=1),m===`scale`)this._pt=new Od(this._pt,b,`scaleY`,b.scaleY,(_?gl(b.scaleY,_+u):u)-b.scaleY||0,sf),this._pt.u=0,a.push(`scaleY`,m),m+=`X`;else if(m===`transformOrigin`){C.push(xf,0,o[xf]),l=Wf(l),b.svg?Qf(e,l,0,x,0,this):(g=parseFloat(l.split(` `)[2])||0,g!==b.zOrigin&&Lf(this,b,`zOrigin`,b.zOrigin,g),Lf(this,o,m,ep(c),ep(l)));continue}else if(m===`svgOrigin`){Qf(e,l,1,x,0,this);continue}else if(m in Jf){cp(this,b,m,d,_?gl(d,_+l):l);continue}else if(m===`smoothOrigin`){Lf(this,b,`smooth`,b.smooth,l);continue}else if(m===`force3D`){b[m]=l;continue}else if(m===`transform`){up(this,l,e);continue}}else m in o||(m=Af(m)||m);if(v||(u||u===0)&&(d||d===0)&&!af.test(l)&&m in o)h=(c+``).substr((d+``).length),u||=0,g=tu(l)||(m in cc.units?cc.units[m]:h),h!==g&&(d=Bf(e,m,c,g)),this._pt=new Od(this._pt,v?b:o,m,d,(_?gl(d,_+u):u)-d,!v&&(g===`px`||m===`zIndex`)&&t.autoRound!==!1?df:sf),this._pt.u=g||0,v&&w!==l?(this._pt.b=c,this._pt.e=w,this._pt.r=uf):h!==g&&g!==`%`&&(this._pt.b=c,this._pt.r=lf);else if(m in o)Hf.call(this,e,m,c,_?_+l:l);else if(m in e)this.add(e,m,c||e[m],_?_+l:l,r,i);else if(m!==`parseTransform`){Jc(m,l);continue}v||(m in o?C.push(m,0,o[m]):typeof e[m]==`function`?C.push(m,2,e[m]()):C.push(m,1,c||e[m])),a.push(m)}}S&&Dd(this)},render:function(e,t){if(t.tween._time||!Yd())for(var n=t._pt;n;)n.r(e,n.d),n=n._next;else t.styles.revert()},get:Vf,aliases:of,getSetter:function(e,t,n){var r=of[t];return r&&r.indexOf(`,`)<0&&(t=r),t in Zd&&t!==xf&&(e._gsap.x||Vf(e,`x`))?n&&Jd===n?t===`scale`?_f:gf:(Jd=n||{})&&(t===`scale`?vf:yf):e.style&&!wc(e.style[t])?mf:~t.indexOf(`-`)?hf:yd(e,t)},core:{_removeProperty:If,_getMatrix:Zf}};Hd.utils.checkPrefix=Af,Hd.core.getStyleSaver=Tf,(function(e,t,n,r){var i=pl(e+`,`+t+`,`+n,function(e){Zd[e]=1});pl(t,function(e){cc.units[e]=`deg`,Jf[e]=1}),of[i[13]]=e+`,`+t,pl(r,function(e){var t=e.split(`:`);of[t[1]]=i[t[0]]})})(`x,y,z,scale,scaleX,scaleY,xPercent,yPercent`,`rotation,rotationX,rotationY,skewX,skewY`,`transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective`,`0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY`),pl(`x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective`,function(e){cc.units[e]=`px`}),Hd.registerPlugin(dp);var fp=Hd.registerPlugin(dp)||Hd;fp.core.Tween;function pp(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function mp(e,t,n){return t&&pp(e.prototype,t),n&&pp(e,n),e}var hp,gp,_p,vp,yp,bp,xp,Sp,Cp,wp,Tp,Ep,Dp,Op=function(){return hp||typeof window<`u`&&(hp=window.gsap)&&hp.registerPlugin&&hp},kp=1,Ap=[],Z=[],jp=[],Mp=Date.now,Np=function(e,t){return t},Pp=function(){var e=Cp.core,t=e.bridge||{},n=e._scrollers,r=e._proxies;n.push.apply(n,Z),r.push.apply(r,jp),Z=n,jp=r,Np=function(e,n){return t[e](n)}},Fp=function(e,t){return~jp.indexOf(e)&&jp[jp.indexOf(e)+1][t]},Ip=function(e){return!!~wp.indexOf(e)},Lp=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:r!==!1,capture:!!i})},Rp=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},zp=`scrollLeft`,Bp=`scrollTop`,Vp=function(){return Tp&&Tp.isPressed||Z.cache++},Hp=function(e,t){var n=function n(r){if(r||r===0){kp&&(_p.history.scrollRestoration=`manual`);var i=Tp&&Tp.isPressed;r=n.v=Math.round(r)||(Tp&&Tp.iOS?1:0),e(r),n.cacheID=Z.cache,i&&Np(`ss`,r)}else (t||Z.cache!==n.cacheID||Np(`ref`))&&(n.cacheID=Z.cache,n.v=e());return n.v+n.offset};return n.offset=0,e&&n},Up={s:zp,p:`left`,p2:`Left`,os:`right`,os2:`Right`,d:`width`,d2:`W
257idth`,a:`x`,sc:Hp(function(e){return arguments.length?_p.scrollTo(e,Wp.sc()):_p.pageXOffset||vp[zp]||yp[zp]||bp[zp]||0})},Wp={s:Bp,p:`top`,p2:`Top`,os:`bottom`,os2:`Bottom`,d:`height`,d2:`Height`,a:`y`,op:Up,sc:Hp(function(e){return arguments.length?_p.scrollTo(Up.sc(),e):_p.pageYOffset||vp[Bp]||yp[Bp]||bp[Bp]||0})},Gp=function(e,t){return(t&&t._ctx&&t._ctx.selector||hp.utils.toArray)(e)[0]||(typeof e==`string`&&hp.config().nullTargetWarn!==!1?console.warn(`Element not found:`,e):null)},Kp=function(e,t){for(var n=t.length;n--;)if(t[n]===e||t[n].contains(e))return!0;return!1},qp=function(e,t){var n=t.s,r=t.sc;Ip(e)&&(e=vp.scrollingElement||yp);var i=Z.indexOf(e),a=r===Wp.sc?1:2;!~i&&(i=Z.push(e)-1),Z[i+a]||Lp(e,`scroll`,Vp);var o=Z[i+a],s=o||(Z[i+a]=Hp(Fp(e,n),!0)||(Ip(e)?r:Hp(function(t){return arguments.length?e[n]=t:e[n]})));return s.target=e,o||(s.smooth=hp.getProperty(e,`scrollBehavior`)===`smooth`),s},Jp=function(e,t,n){var r=e,i=e,a=Mp(),o=a,s=t||50,c=Math.max(500,s*3),l=function(e,t){var c=Mp();t||c-a>s?(i=r,r=e,o=a,a=c):n?r+=e:r=i+(e-i)/(c-o)*(a-o)};return{update:l,reset:function(){i=r=n?0:r,o=a=0},getVelocity:function(e){var t=o,s=i,u=Mp();return(e||e===0)&&e!==r&&l(e),a===o||u-o>c?0:(r+(n?s:-s))/((n?u:a)-t)*1e3}}},Yp=function(e,t){return t&&!e._gsapAllow&&e.cancelable!==!1&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Xp=function(e){var t=Math.max.apply(Math,e),n=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(n)?t:n},Zp=function(){Cp=hp.core.globals().ScrollTrigger,Cp&&Cp.core&&Pp()},Qp=function(e){return hp=e||Op(),!gp&&hp&&typeof document<`u`&&document.body&&(_p=window,vp=document,yp=vp.documentElement,bp=vp.body,wp=[_p,vp,yp,bp],hp.utils.clamp,Dp=hp.core.context||function(){},Sp=`onpointerenter`in bp?`pointer`:`mouse`,xp=$p.isTouch=_p.matchMedia&&_p.matchMedia(`(hover: none), (pointer: coarse)`).matches?1:`ontouchstart`in _p||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Ep=$p.eventTypes=(`ontouchstart`in yp?`touchstart,touchmove,touchcancel,touchend`:`onpointerdown`in yp?`pointerdown,pointermove,pointercancel,pointerup`:`mousedown,mousemove,mouseup,mouseup`).split(`,`),setTimeout(function(){return kp=0},500),gp=1),Cp||Zp(),gp};Up.op=Wp,Z.cache=0;var $p=function(){function e(e){this.init(e)}var t=e.prototype;return t.init=function(e){gp||Qp(hp)||console.warn(`Please gsap.registerPlugin(Observer)`),Cp||Zp();var t=e.tolerance,n=e.dragMinimum,r=e.type,i=e.target,a=e.lineHeight,o=e.debounce,s=e.preventDefault,c=e.onStop,l=e.onStopDelay,u=e.ignore,d=e.wheelSpeed,f=e.event,p=e.onDragStart,m=e.onDragEnd,h=e.onDrag,g=e.onPress,_=e.onRelease,v=e.onRight,y=e.onLeft,b=e.onUp,x=e.onDown,S=e.onChangeX,C=e.onChangeY,w=e.onChange,T=e.onToggleX,E=e.onToggleY,D=e.onHover,O=e.onHoverEnd,k=e.onMove,A=e.ignoreCheck,j=e.isNormalizer,M=e.onGestureStart,N=e.onGestureEnd,P=e.onWheel,ee=e.onEnable,F=e.onDisable,I=e.onClick,te=e.scrollSpeed,ne=e.capture,re=e.allowClicks,ie=e.lockAxis,L=e.onLockAxis;this.target=i=Gp(i)||yp,this.vars=e,u&&=hp.utils.toArray(u),t||=1e-9,n||=0,d||=1,te||=1,r||=`wheel,touch,pointer`,o=o!==!1,a||=parseFloat(_p.getComputedStyle(bp).lineHeight)||22;var R,ae,oe,se,z,ce,le,B=this,ue=0,de=0,fe=e.passive||!s&&e.passive!==!1,pe=qp(i,Up),V=qp(i,Wp),me=pe(),he=V(),ge=~r.indexOf(`touch`)&&!~r.indexOf(`pointer`)&&Ep[0]===`pointerdown`,_e=Ip(i),H=i.ownerDocument||vp,ve=[0,0,0],U=[0,0,0],ye=0,W=function(){return ye=Mp()},G=function(e,t){return(B.event=e)&&u&&Kp(e.target,u)||t&&ge&&e.pointerType!==`touch`||A&&A(e,t)},be=function(){B._vx.reset(),B._vy.reset(),ae.pause(),c&&c(B)},xe=function(){var e=B.deltaX=Xp(ve),n=B.deltaY=Xp(U),r=Math.abs(e)>=t,i=Math.abs(n)>=t;w&&(r||i)&&w(B,e,n,ve,U),r&&(v&&B.deltaX>0&&v(B),y&&B.deltaX<0&&y(B),S&&S(B),T&&B.deltaX<0!=ue<0&&T(B),ue=B.deltaX,ve[0]=ve[1]=ve[2]=0),i&&(x&&B.deltaY>0&&x(B),b&&B.deltaY<0&&b(B),C&&C(B),E&&B.deltaY<0!=de<0&&E(B),de=B.deltaY,U[0]=U[1]=U[2]=0),(se||oe)&&(k&&k(B),oe&&=(p&&oe===1&&p(B),h&&h(B),0),se=!1),ce&&!(ce=!1)&&L&&L(B),z&&=(P(B),!1),R=0},Se=function(e,t,n){ve[n]+=e,U[n]+=t,B._vx.update(e),B._vy.update(t),o?R||=requestAnimationFrame(xe):xe()},Ce=function(e,t){ie&&!le&&(B.axis=le=Math.abs(e)>Math.abs(t)?`x`:`y`,ce=!0),le!==`y`&&(ve[2]+=e,B._vx.update(e,!0)),le!==`x`&&(U[2]+=t,B._vy.update(t,!0)),o?R||=requestAnimationFrame(xe):xe()},we=function(e){if(!G(e,1)){e=Yp(e,s);var t=e.clientX,r=e.clientY,i=t-B.x,a=r-B.y,o=B.isDragging;B.x=t,B.y=r,(o||(i||a)&&(Math.abs(B.startX-t)>=n||Math.abs(B.startY-r)>=n))&&(oe||=o?2:1,o||(B.isDragging=!0),Ce(i,a))}},Te=B.onPress=function(e){G(e,1)||e&&e.button||(B.axis=le=null,ae.pause(),B.isPressed=!0,e=Yp(e),ue=de=0,B.startX=B.x=e.clientX,B.startY=B.y=e.clientY,B._vx.reset(),B._vy.reset(),Lp(j?i:H,Ep[1],we,fe,!0),B.deltaX=B.deltaY=0,g&&g(B))},Ee=B.onRelease=function(e){if(!G(e,1)){Rp(j?i:H,Ep[1],we,!0);var t=!isNaN(B.y-B.startY),n=B.isDragging,r=n&&(Math.abs(B.x-B.startX)>3||Math.abs(B.y-B.startY)>3),a=Yp(e);!r&&t&&(B._vx.reset(),B._vy.reset(),s&&re&&hp.delayedCall(.08,function(){if(Mp()-ye>300&&!e.defaultPrevented){if(e.target.click)e.target.click();else if(H.createEvent){var t=H.createEvent(`MouseEvents`);t.initMouseEvent(`click`,!0,!0,_p,1,a.screenX,a.screenY,a.clientX,a.clientY,!1,!1,!1,!1,0,null),e.target.dispatchEvent(t)}}})),B.isDragging=B.isGesturing=B.isPressed=!1,c&&n&&!j&&ae.restart(!0),oe&&xe(),m&&n&&m(B),_&&_(B,r)}},K=function(e){return e.touches&&e.touches.length>1&&(B.isGesturing=!0)&&M(e,B.isDragging)},De=function(){return(B.isGesturing=!1)||N(B)},Oe=function(e){if(!G(e)){var t=pe(),n=V();Se((t-me)*te,(n-he)*te,1),me=t,he=n,c&&ae.restart(!0)}},ke=function(e){if(!G(e)){e=Yp(e,s),P&&(z=!0);var t=(e.deltaMode===1?a:e.deltaMode===2?_p.innerHeight:1)*d;Se(e.deltaX*t,e.deltaY*t,0),c&&!j&&ae.restart(!0)}},Ae=function(e){if(!G(e)){var t=e.clientX,n=e.clientY,r=t-B.x,i=n-B.y;B.x=t,B.y=n,se=!0,c&&ae.restart(!0),(r||i)&&Ce(r,i)}},je=function(e){B.event=e,D(B)},Me=function(e){B.event=e,O(B)},Ne=function(e){return G(e)||Yp(e,s)&&I(B)};ae=B._dc=hp.delayedCall(l||.25,be).pause(),B.deltaX=B.deltaY=0,B._vx=Jp(0,50,!0),B._vy=Jp(0,50,!0),B.scrollX=pe,B.scrollY=V,B.isDragging=B.isGesturing=B.isPressed=!1,Dp(this),B.enable=function(e){return B.isEnabled||(Lp(_e?H:i,`scroll`,Vp),r.indexOf(`scroll`)>=0&&Lp(_e?H:i,`scroll`,Oe,fe,ne),r.indexOf(`wheel`)>=0&&Lp(i,`wheel`,ke,fe,ne),(r.indexOf(`touch`)>=0&&xp||r.indexOf(`pointer`)>=0)&&(Lp(i,Ep[0],Te,fe,ne),Lp(H,Ep[2],Ee),Lp(H,Ep[3],Ee),re&&Lp(i,`click`,W,!0,!0),I&&Lp(i,`click`,Ne),M&&Lp(H,`gesturestart`,K),N&&Lp(H,`gestureend`,De),D&&Lp(i,Sp+`enter`,je),O&&Lp(i,Sp+`leave`,Me),k&&Lp(i,Sp+`move`,Ae)),B.isEnabled=!0,B.isDragging=B.isGesturing=B.isPressed=se=oe=!1,B._vx.reset(),B._vy.reset(),me=pe(),he=V(),e&&e.type&&Te(e),ee&&ee(B)),B},B.disable=function(){B.isEnabled&&(Ap.filter(function(e){return e!==B&&Ip(e.target)}).length||Rp(_e?H:i,`scroll`,Vp),B.isPressed&&(B._vx.reset(),B._vy.reset(),Rp(j?i:H,Ep[1],we,!0)),Rp(_e?H:i,`scroll`,Oe,ne),Rp(i,`wheel`,ke,ne),Rp(i,Ep[0],Te,ne),Rp(H,Ep[2],Ee),Rp(H,Ep[3],Ee),Rp(i,`click`,W,!0),Rp(i,`click`,Ne),Rp(H,`gesturestart`,K),Rp(H,`gestureend`,De),Rp(i,Sp+`enter`,je),Rp(i,Sp+`leave`,Me),Rp(i,Sp+`move`,Ae),B.isEnabled=B.isPressed=B.isDragging=!1,F&&F(B)
vendor: 5,472 bytes, line 257
257)},B.kill=B.revert=function(){B.disable();var e=Ap.indexOf(B);e>=0&&Ap.splice(e,1),Tp===B&&(Tp=0)},Ap.push(B),j&&Ip(i)&&(Tp=B),B.enable(f)},mp(e,[{key:`velocityX`,get:function(){return this._vx.getVelocity()}},{key:`velocityY`,get:function(){return this._vy.getVelocity()}}]),e}();$p.version=`3.15.0`,$p.create=function(e){return new $p(e)},$p.register=Qp,$p.getAll=function(){return Ap.slice()},$p.getById=function(e){return Ap.filter(function(t){return t.vars.id===e})[0]},Op()&&hp.registerPlugin($p);var Q,em,tm,nm,rm,im,am,om,sm,cm,lm,um,dm,fm,pm,mm,hm,gm,_m,vm,ym,bm,xm,Sm,Cm,wm,Tm,Em,Dm,Om,km,Am,jm,Mm,Nm=1,Pm=Date.now,Fm=Pm(),Im=0,Lm=0,Rm=function(e,t,n){var r=eh(e)&&(e.substr(0,6)===`clamp(`||e.indexOf(`max`)>-1);return n[`_`+t+`Clamp`]=r,r?e.substr(6,e.length-7):e},zm=function(e,t){return t&&(!eh(e)||e.substr(0,6)!==`clamp(`)?`clamp(`+e+`)`:e},Bm=function e(){return Lm&&requestAnimationFrame(e)},Vm=function(){return fm=1},Hm=function(){return fm=0},Um=function(e){return e},Wm=function(e){return Math.round(e*1e5)/1e5||0},Gm=function(){return typeof window<`u`},Km=function(){return Q||Gm()&&(Q=window.gsap)&&Q.registerPlugin&&Q},qm=function(e){return!!~am.indexOf(e)},Jm=function(e){return(e===`Height`?km:tm[`inner`+e])||rm[`client`+e]||im[`client`+e]},Ym=function(e){return Fp(e,`getBoundingClientRect`)||(qm(e)?function(){return xg.width=tm.innerWidth,xg.height=km,xg}:function(){return Th(e)})},Xm=function(e,t,n){var r=n.d,i=n.d2,a=n.a;return(a=Fp(e,`getBoundingClientRect`))?function(){return a()[r]}:function(){return(t?Jm(i):e[`client`+i])||0}},Zm=function(e,t){return!t||~jp.indexOf(e)?Ym(e):function(){return xg}},Qm=function(e,t){var n=t.s,r=t.d2,i=t.d,a=t.a;return Math.max(0,(n=`scroll`+r)&&(a=Fp(e,n))?a()-Ym(e)()[i]:qm(e)?(rm[n]||im[n])-Jm(r):e[n]-e[`offset`+r])},$m=function(e,t){for(var n=0;n<_m.length;n+=3)(!t||~t.indexOf(_m[n+1]))&&e(_m[n],_m[n+1],_m[n+2])},eh=function(e){return typeof e==`string`},th=function(e){return typeof e==`function`},nh=function(e){return typeof e==`number`},rh=function(e){return typeof e==`object`},ih=function(e,t,n){return e&&e.progress(+!t)&&n&&e.pause()},ah=function(e,t,n){if(e.enabled){var r=e._ctx?e._ctx.add(function(){return t(e,n)}):t(e,n);r&&r.totalTime&&(e.callbackAnimation=r)}},oh=Math.abs,sh=`left`,ch=`top`,lh=`right`,uh=`bottom`,dh=`width`,fh=`height`,ph=`Right`,mh=`Left`,hh=`Top`,gh=`Bottom`,_h=`padding`,vh=`margin`,yh=`Width`,bh=`Height`,xh=`px`,Sh=function(e){return tm.getComputedStyle(e.nodeType===Node.DOCUMENT_NODE?e.scrollingElement:e)},Ch=function(e){var t=Sh(e).position;e.style.position=t===`absolute`||t===`fixed`?t:`relative`},wh=function(e,t){for(var n in t)n in e||(e[n]=t[n]);return e},Th=function(e,t){var n=t&&Sh(e)[pm]!==`matrix(1, 0, 0, 1, 0, 0)`&&Q.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),r=e.getBoundingClientRect?e.getBoundingClientRect():e.scrollingElement.getBoundingClientRect();return n&&n.progress(0).kill(),r},Eh=function(e,t){var n=t.d2;return e[`offset`+n]||e[`client`+n]||0},Dh=function(e){var t=[],n=e.labels,r=e.duration(),i;for(i in n)t.push(n[i]/r);return t},Oh=function(e){return function(t){return Q.utils.snap(Dh(e),t)}},kh=function(e){var t=Q.utils.snap(e),n=Array.isArray(e)&&e.slice(0).sort(function(e,t){return e-t});return n?function(e,r,i){i===void 0&&(i=.001);var a;if(!r)return t(e);if(r>0){for(e-=i,a=0;a<n.length;a++)if(n[a]>=e)return n[a];return n[a-1]}else for(a=n.length,e+=i;a--;)if(n[a]<=e)return n[a];return n[0]}:function(n,r,i){i===void 0&&(i=.001);var a=t(n);return!r||Math.abs(a-n)<i||a-n<0==r<0?a:t(r<0?n-e:n+e)}},Ah=function(e){return function(t,n){return kh(Dh(e))(t,n.direction)}},jh=function(e,t,n,r){return n.split(`,`).forEach(function(n){return e(t,n,r)})},Mh=function(e,t,n,r,i){return e.addEventListener(t,n,{passive:!r,capture:!!i})},Nh=function(e,t,n,r){return e.removeEventListener(t,n,!!r)},Ph=function(e,t,n){n&&=n.wheelHandler,n&&(e(t,`wheel`,n),e(t,`touchmove`,n))},Fh={startColor:`green`,endColor:`red`,indent:0,fontSize:`16px`,fontWeight:`normal`},Ih={toggleActions:`play`,anticipatePin:0},Lh={top:0,left:0,center:.5,bottom:1,right:1},Rh=function(e,t){if(eh(e)){var n=e.indexOf(`=`),r=~n?+(e.charAt(n-1)+1)*parseFloat(e.substr(n+1)):0;~n&&(e.indexOf(`%`)>n&&(r*=t/100),e=e.substr(0,n-1)),e=r+(e in Lh?Lh[e]*t:~e.indexOf(`%`)?parseFloat(e)*t/100:parseFloat(e)||0)}return e},zh=function(e,t,n,r,i,a,o,s){var c=i.startColor,l=i.endColor,u=i.fontSize,d=i.indent,f=i.fontWeight,p=nm.createElement(`div`),m=qm(n)||Fp(n,`pinType`)===`fixed`,h=e.indexOf(`scroller`)!==-1,g=m?im:n.tagName===`IFRAME`?n.contentDocument.body:n,_=e.indexOf(`start`)!==-1,v=_?c:l,y=`border-color:`+v+`;font-size:`+u+`;color:`+v+`;font-weight:`+f+`;pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;`;return y+=`position:`+((h||s)&&m?`fixed;`:`absolute;`),(h||s||!m)&&(y+=(r===Wp?lh:uh)+`:`+(a+parseFloat(d))+`px;`),o&&(y+=`box-sizing:border-box;text-align:left;width:`+o.offsetWidth+`px;`),p._isStart=_,p.setAttribute(`class`,`gsap-marker-`+e+(t?` marker-`+t:``)),p.style.cssText=y,p.innerText=t||t===0?e+`-`+t:e,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p[`offset`+r.op.d2],Bh(p,0,r,_),p},Bh=function(e,t,n,r){var i={display:`block`},a=n[r?`os2`:`p2`],o=n[r?`p2`:`os2`];e._isFlipped=r,i[n.a+`Percent`]=r?-100:0,i[n.a]=r?`1px`:0,i[`border`+a+yh]=1,i[`border`+
vendor: 5,248 bytes, line 257
257o+yh]=0,i[n.p]=t+`px`,Q.set(e,i)},$=[],Vh={},Hh,Uh=function(){return Pm()-Im>34&&(Hh||=requestAnimationFrame(fg))},Wh=function(){(!xm||!xm.isPressed||xm.startX>im.clientWidth)&&(Z.cache++,xm?Hh||=requestAnimationFrame(fg):fg(),Im||Xh(`scrollStart`),Im=Pm())},Gh=function(){wm=tm.innerWidth,Cm=tm.innerHeight},Kh=function(e){Z.cache++,(e===!0||!dm&&!bm&&!nm.fullscreenElement&&!nm.webkitFullscreenElement&&(!Sm||wm!==tm.innerWidth||Math.abs(tm.innerHeight-Cm)>tm.innerHeight*.25))&&om.restart(!0)},qh={},Jh=[],Yh=function e(){return Nh(Og,`scrollEnd`,e)||cg(!0)},Xh=function(e){return qh[e]&&qh[e].map(function(e){return e()})||Jh},Zh=[],Qh=function(e){for(var t=0;t<Zh.length;t+=5)(!e||Zh[t+4]&&Zh[t+4].query===e)&&(Zh[t].style.cssText=Zh[t+1],Zh[t].getBBox&&Zh[t].setAttribute(`transform`,Zh[t+2]||``),Zh[t+3].uncache=1)},$h=function(){return Z.forEach(function(e){return th(e)&&++e.cacheID&&(e.rec=e())})},eg=function(e,t){var n;for(mm=0;mm<$.length;mm++)n=$[mm],n&&(!t||n._ctx===t)&&(e?n.kill(1):n.revert(!0,!0));Am=!0,t&&Qh(t),t||Xh(`revert`)},tg=function(e,t){Z.cache++,(t||!ng)&&Z.forEach(function(e){return th(e)&&e.cacheID++&&(e.rec=0)}),eh(e)&&(tm.history.scrollRestoration=Dm=e)},ng,rg=0,ig,ag=function(){if(ig!==rg){var e=ig=rg;requestAnimationFrame(function(){return e===rg&&cg(!0)})}},og=function(){im.appendChild(Om),km=!xm&&Om.offsetHeight||tm.innerHeight,im.removeChild(Om)},sg=function(e){return sm(`.gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end`).forEach(function(t){return t.style.display=e?`none`:`block`})},cg=function(e,t){if(rm=nm.documentElement,im=nm.body,am=[tm,nm,rm,im],Im&&!e&&!Am){Mh(Og,`scrollEnd`,Yh);return}og(),ng=Og.isRefreshing=!0,Am||$h();var n=Xh(`refreshInit`);vm&&Og.sort(),t||eg(),Z.forEach(function(e){th(e)&&(e.smooth&&(e.target.style.scrollBehavior=`auto`),e(0))}),$.slice(0).forEach(function(e){return e.refresh()}),Am=!1,$.forEach(function(e){if(e._subPinOffset&&e.pin){var t=e.vars.horizontal?`offsetWidth`:`offsetHeight`,n=e.pin[t];e.revert(!0,1),e.adjustPinSpacing(e.pin[t]-n),e.refresh()}}),jm=1,sg(!0),$.forEach(function(e){var t=Qm(e.scroller,e._dir),n=e.vars.end===`max`||e._endClamp&&e.end>t,r=e._startClamp&&e.start>=t;(n||r)&&e.setPositions(r?t-1:e.start,n?Math.max(r?t:e.start+1,t):e.end,!0)}),sg(!1),jm=0,n.forEach(function(e){return e&&e.render&&e.render(-1)}),Z.forEach(function(e){th(e)&&(e.smooth&&requestAnimationFrame(function(){return e.target.style.scrollBehavior=`smooth`}),e.rec&&e(e.rec))}),tg(Dm,1),om.pause(),rg++,ng=2,fg(2),$.forEach(function(e){return th(e.vars.onRefresh)&&e.vars.onRefresh(e)}),ng=Og.isRefreshing=!1,Xh(`refresh`)},lg=0,ug=1,dg,fg=function(e){if(e===2||!ng&&!Am){Og.isUpdating=!0,dg&&dg.update(0);var t=$.length,n=Pm(),r=n-Fm>=50,i=t&&$[0].scroll();if(ug=lg>i?-1:1,ng||(lg=i),r&&(Im&&!fm&&n-Im>200&&(Im=0,Xh(`scrollEnd`)),lm=Fm,Fm=n),ug<0){for(mm=t;mm-- >0;)$[mm]&&$[mm].update(0,r);ug=1}else for(mm=0;mm<t;mm++)$[mm]&&$[mm].update(0,r);Og.isUpdating=!1}Hh=0},pg=[sh,ch,uh,lh,vh+gh,vh+ph,vh+hh,vh+mh,`display`,`flexShrink`,`float`,`zIndex`,`gridColumnStart`,`gridColumnEnd`,`gridRowStart`,`gridRowEnd`,`gridArea`,`justifySelf`,`alignSelf`,`placeSelf`,`order`],mg=pg.concat([dh,fh,`boxSizing`,`max`+yh,`max`+bh,`position`,vh,_h,_h+hh,_h+ph,_h+gh,_h+mh]),hg=function(e,t,n){vg(n);var r=e._gsap;if(r.spacerIsNative)vg(r.spacerState);else if(e._gsap.swappedIn){var i=t.parentNode;i&&(i.insertBefore(e,t),i.removeChild(t))}e._gsap.swappedIn=!1},gg=function(e,t,n,r){if(!e._gsap.swappedIn){for(var i=pg.length,a=t.style,o=e.style,s;i--;)s=pg[i],a[s]=n[s];a.position=n.position===`absolute`?`absolute`:`relative`,n.display===`inline`&&(a.display=`inline-block`),o[uh]=o[lh]=`auto`,a.flexBasis=n.flexBasis||`auto`,a.overflow=`visible`,a.boxSizing=`border-box`,a[dh]=Eh(e,Up)+xh,a[fh]=Eh(e,Wp)+xh,a[_h]=o[vh]=o[ch]=o[sh]=`0`,vg(r),o[dh]=o[`max`+yh]=n[dh],o[fh]=o[`max`+bh]=n[fh],o[_h]=n[_h],e.parentNode!==t&&(e.parentNode.insertBefore(t,e),t.appendChild(e)),e._gsap.swappedIn=!0}},_g=/([A-Z])/g,vg=function(e){if(e){var t=e.t.style,n=e.length,r=0,i,a;for((e.t._gsap||Q.core.getCache(e.t)).uncache=1;r<n;r+=2)a=e[r+1],i=e[r],a?t[i]=a:t[i]&&t.removeProperty(i.replace(_g,`-$1`).toLowerCase())}},yg=function(e){for(var t=mg.length,n=e.style,r=[],i=0;i<t;i++)r.push(mg[i],n[mg[i]]);return r.t=e,r},bg=function(e,t,n){for(var r=[],i=e.length,a=n?8:0,o;a<i;a+=2)o=e[a],r.push(o,o in t?t[o]:e[a+1]);return r.t=e.t,r},xg={left:0,top:0},Sg=function(e,t,n,r,i,a,o,s,c,l,u,d,f,p){th(e)&&(e=e(s)),eh(e)&&e.substr(0,3)===`max`&&(e=d+(e.charAt(4)===`=`?Rh(`0`+e.substr(3),n):0));var m=f?f.time():0,h,g,_;if(f&&f.seek(0),isNaN(e)||(e=+e),nh(e))f&&(e=Q.utils.mapRange(f.scrollTrigger.start,f.scrollTrigger.end,0,d,e)),o&&Bh(o,n,r,!0);else{th(t)&&(t=t(s));var v=(e||`0`).split(` `),y,b,x,S;_=Gp(t,s)||im,y=Th(_)||{},(!y||!y.left&&!y.top)&&Sh(_).display===`none`&&(S=_.style.display,_.style.display=`block`,y=Th(_),S?_.style.display=S:_.style.removeProperty(`display`)),b=Rh(v[0],y[r.d]),x=Rh(v[1]||`0`,n),e=y[r.p]-c[r.p]-l+b+i-x,o&&Bh(o,x,r,n-x<20||o._isStart&&x>20),n-=n-x}if(p&&(s[p]=e||-.001,e<0&&(e=0)),a){var C=e+n,w=a._isStart;h=`scroll`+r.d2,Bh(a,C,r,w&&C>20||!w&&(u?Math.max(im[h],rm[h]):a.parentNode[h])<=C+1),u&&(c=Th(o),u&&(
vendor: 8,461 bytes, line 257
257a.style[r.op.p]=c[r.op.p]-r.op.m-a._offset+xh))}return f&&_&&(h=Th(_),f.seek(d),g=Th(_),f._caScrollDist=h[r.p]-g[r.p],e=e/f._caScrollDist*d),f&&f.seek(m),f?e:Math.round(e)},Cg=/(webkit|moz|length|cssText|inset)/i,wg=function(e,t,n,r){if(e.parentNode!==t){var i=e.style,a,o;if(t===im){for(a in e._stOrig=i.cssText,o=Sh(e),o)!+a&&!Cg.test(a)&&o[a]&&typeof i[a]==`string`&&a!==`0`&&(i[a]=o[a]);i.top=n,i.left=r}else i.cssText=e._stOrig;Q.core.getCache(e).uncache=1,t.appendChild(e)}},Tg=function(e,t,n){var r=t,i=r;return function(t){var a=Math.round(e());return a!==r&&a!==i&&Math.abs(a-r)>3&&Math.abs(a-i)>3&&(t=a,n&&n()),i=r,r=Math.round(t),r}},Eg=function(e,t,n){var r={};r[t.p]=`+=`+n,Q.set(e,r)},Dg=function(e,t){var n=qp(e,t),r=`_scroll`+t.p2,i=function t(i,a,o,s,c){var l=t.tween,u=a.onComplete,d={};o||=n();var f=Tg(n,o,function(){l.kill(),t.tween=0});return c=s&&c||0,s||=i-o,l&&l.kill(),a[r]=i,a.inherit=!1,a.modifiers=d,d[r]=function(){return f(o+s*l.ratio+c*l.ratio*l.ratio)},a.onUpdate=function(){Z.cache++,t.tween&&fg()},a.onComplete=function(){t.tween=0,u&&u.call(l)},l=t.tween=Q.to(e,a),l};return e[r]=n,n.wheelHandler=function(){return i.tween&&i.tween.kill()&&(i.tween=0)},Mh(e,`wheel`,n.wheelHandler),Og.isTouch&&Mh(e,`touchmove`,n.wheelHandler),i},Og=function(){function e(t,n){em||e.register(Q)||console.warn(`Please gsap.registerPlugin(ScrollTrigger)`),Em(this),this.init(t,n)}var t=e.prototype;return t.init=function(t,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Lm){this.update=this.refresh=this.kill=Um;return}t=wh(eh(t)||nh(t)||t.nodeType?{trigger:t}:t,Ih);var r=t,i=r.onUpdate,a=r.toggleClass,o=r.id,s=r.onToggle,c=r.onRefresh,l=r.scrub,u=r.trigger,d=r.pin,f=r.pinSpacing,p=r.invalidateOnRefresh,m=r.anticipatePin,h=r.onScrubComplete,g=r.onSnapComplete,_=r.once,v=r.snap,y=r.pinReparent,b=r.pinSpacer,x=r.containerAnimation,S=r.fastScrollEnd,C=r.preventOverlaps,w=t.horizontal||t.containerAnimation&&t.horizontal!==!1?Up:Wp,T=!l&&l!==0,E=Gp(t.scroller||tm),D=Q.core.getCache(E),O=qm(E),k=(`pinType`in t?t.pinType:Fp(E,`pinType`)||O&&`fixed`)===`fixed`,A=[t.onEnter,t.onLeave,t.onEnterBack,t.onLeaveBack],j=T&&t.toggleActions.split(` `),M=`markers`in t?t.markers:Ih.markers,N=O?0:parseFloat(Sh(E)[`border`+w.p2+yh])||0,P=this,ee=t.onRefreshInit&&function(){return t.onRefreshInit(P)},F=Xm(E,O,w),I=Zm(E,O),te=0,ne=0,re=0,ie=qp(E,w),L,R,ae,oe,se,z,ce,le,B,ue,de,fe,pe,V,me,he,ge,_e,H,ve,U,ye,W,G,be,xe,Se,Ce,we,Te,Ee,K,De,Oe,ke,Ae,je,Me,Ne;if(P._startClamp=P._endClamp=!1,P._dir=w,m*=45,P.scroller=E,P.scroll=x?x.time.bind(x):ie,oe=ie(),P.vars=t,n||=t.animation,`refreshPriority`in t&&(vm=1,t.refreshPriority===-9999&&(dg=P)),D.tweenScroll=D.tweenScroll||{top:Dg(E,Wp),left:Dg(E,Up)},P.tweenTo=L=D.tweenScroll[w.p],P.scrubDuration=function(e){De=nh(e)&&e,De?K?K.duration(e):K=Q.to(n,{ease:`expo`,totalProgress:`+=0`,inherit:!1,duration:De,paused:!0,onComplete:function(){return h&&h(P)}}):(K&&K.progress(1).kill(),K=0)},n&&(n.vars.lazy=!1,n._initted&&!P.isReverted||n.vars.immediateRender!==!1&&t.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),P.animation=n.pause(),n.scrollTrigger=P,P.scrubDuration(l),Te=0,o||=n.vars.id),v&&((!rh(v)||v.push)&&(v={snapTo:v}),`scrollBehavior`in im.style&&Q.set(O?[im,rm]:E,{scrollBehavior:`auto`}),Z.forEach(function(e){return th(e)&&e.target===(O?nm.scrollingElement||rm:E)&&(e.smooth=!1)}),ae=th(v.snapTo)?v.snapTo:v.snapTo===`labels`?Oh(n):v.snapTo===`labelsDirectional`?Ah(n):v.directional===!1?Q.utils.snap(v.snapTo):function(e,t){return kh(v.snapTo)(e,Pm()-ne<500?0:t.direction)},Oe=v.duration||{min:.1,max:2},Oe=rh(Oe)?cm(Oe.min,Oe.max):cm(Oe,Oe),ke=Q.delayedCall(v.delay||De/2||.1,function(){var e=ie(),t=Pm()-ne<500,r=L.tween;if((t||Math.abs(P.getVelocity())<10)&&!r&&!fm&&te!==e){var i=(e-z)/V,a=n&&!T?n.totalProgress():i,o=t?0:(a-Ee)/(Pm()-lm)*1e3||0,s=Q.utils.clamp(-i,1-i,oh(o/2)*o/.185),c=i+(v.inertia===!1?0:s),l,u,d=v,f=d.onStart,p=d.onInterrupt,m=d.onComplete;if(l=ae(c,P),nh(l)||(l=c),u=Math.max(0,Math.round(z+l*V)),e<=ce&&e>=z&&u!==e){if(r&&!r._initted&&r.data<=oh(u-e))return;v.inertia===!1&&(s=l-i),L(u,{duration:Oe(oh(Math.max(oh(c-a),oh(l-a))*.185/o/.05||0)),ease:v.ease||`power3`,data:oh(u-e),onInterrupt:function(){return ke.restart(!0)&&p&&ah(P,p)},onComplete:function(){P.update(),te=ie(),n&&!T&&(K?K.resetTo(`totalProgress`,l,n._tTime/n._tDur):n.progress(l)),Te=Ee=n&&!T?n.totalProgress():P.progress,g&&g(P),m&&ah(P,m)}},e,s*V,u-e-s*V),f&&ah(P,f,L.tween)}}else P.isActive&&te!==e&&ke.restart(!0)}).pause()),o&&(Vh[o]=P),u=P.trigger=Gp(u||d!==!0&&d),Ne=u&&u._gsap&&u._gsap.stRevert,Ne&&=Ne(P),d=d===!0?u:Gp(d),eh(a)&&(a={targets:u,className:a}),d&&(f===!1||f===vh||(f=!f&&d.parentNode&&d.parentNode.style&&Sh(d.parentNode).display===`flex`?!1:_h),P.pin=d,R=Q.core.getCache(d),R.spacer?me=R.pinState:(b&&(b=Gp(b),b&&!b.nodeType&&(b=b.current||b.nativeElement),R.spacerIsNative=!!b,b&&(R.spacerState=yg(b))),R.spacer=_e=b||nm.createElement(`div`),_e.classList.add(`pin-spacer`),o&&_e.classList.add(`pin-spacer-`+o),R.pinState=me=yg(d)),t.force3D!==!1&&Q.set(d,{force3D:!0}),P.spacer=_e=R.spacer,we=Sh(d),G=we[f+w.os2],ve=Q.getProperty(d),U=Q.quickSetter(d,w.a,xh),gg(d,_e,we),ge=yg(d)),M){fe=rh(M)?wh(M,Fh):Fh,ue=zh(`scroller-start`,o,E,w,fe,0),de=zh(`scroller-end`,o,E,w,fe,0,ue),H=ue[`offset`+w.op.d2];var Pe=Gp(Fp(E,`content`)||E);le=this.markerStart=zh(`start`,o,Pe,w,fe,H,0,x),B=this.markerEnd=zh(`end`,o,Pe,w,fe,H,0,x),x&&(Me=Q.quickSetter([le,B],w.a,xh)),!k&&!(jp.length&&Fp(E,`fixedMarkers`)===!0)&&(Ch(O?im:E),Q.set([ue,de],{force3D:!0}),xe=Q.quickSetter(ue,w.a,xh),Ce=Q.quickSetter(de,w.a,xh))}if(x){var Fe=x.vars.onUpdate,Ie=x.vars.onUpdateParams;x.eventCallback(`onUpdate`,function(){P.update(0,0,1),Fe&&Fe.apply(x,Ie||[])})}if(P.previous=function(){return $[$.indexOf(P)-1]},P.next=function(){return $[$.indexOf(P)+1]},P.revert=function(e,t){if(!t)return P.kill(!0);var r=e!==!1||!P.enabled,i=dm;r!==P.isReverted&&(r&&(Ae=Math.max(ie(),P.scroll.rec||0),re=P.progress,je=n&&n.progress()),le&&[le,B,ue,de].forEach(function(e){return e.style.display=r?`none`:`block`}),r&&(dm=P,P.update(r)),d&&(!y||!P.isActive)&&(r?hg(d,_e,me):gg(d,_e,Sh(d),be)),r||P.update(r),dm=i,P.isReverted=r)},P.refresh=function(r,i,a,o){if(!((dm||!P.enabled)&&!i)){if(d&&r&&Im){Mh(e,`scrollEnd`,Yh);return}!ng&&ee&&ee(P),dm=P,L.tween&&!a&&(L.tween.kill(),L.tween=0),K&&K.pause(),p&&n&&(n.revert({kill:!1}).invalidate(),n.getChildren?n.getChildren(!0,!0,!1).forEach(function(e){return e.vars.immediateRender&&e.render(0,!0,!0)}):n.vars.immediateRender&&n.render(0,!0,!0)),P.isReverted||P.revert(!0,!0),P._subPinOffset=!1;var s=F(),l=I(),m=x?x.duration():Qm(E,w),h=V<=.01||!V,g=0,_=o||0,v=rh(a)?a.end:t.end,b=t.endTrigger||u,S=rh(a)?a.start:t.start||(t.start===0||!u?0:d?`0 0`:`0 100%`),C=P.pinnedContainer=t.pinnedContainer&&Gp(t.pinnedContainer,P),D=u&&Math.max(0,$.indexOf(P))||0,A=D,j,R,ae,fe,H,U,G,xe,Ce,we,Te,Ee,De;for(M&&rh(a)&&(Ee=Q.getProperty(ue,w.p),De=Q.getProperty(de,w.p));A-- >0;)U=$[A],U.end||U.refresh(0,1)||(dm=P),G=U.pin,G&&(G===u||G===d||G===C)&&!U.isReverted&&(we||=[],we.unshift(U),U.revert(!0,!0)),U!==$[A]&&(D--,A--);for(th(S)&&(S=S(P)),S=Rm(S,`start`,P),z=Sg(S,u,s,w,ie(),le,ue,P,l,N,k,m,x,P._startClamp&&`_startClamp`)||(d?-.001:0),th(v)&&(v=v(P)),eh(v)&&!v.indexOf(`+=`)&&(~v.indexOf(` `)?v=(eh(S)?S.split(` `)[0]:``)+v:(g=Rh(v.substr(2),s),v=eh(S)?S:(x?Q.utils.mapRange(0,x.duration(),x.scrollTrigger.start,x.scrollTrigger.end,z):z)+g,b=u)),v=Rm(v,`end`,P),ce=Math.max(z,Sg(v||(b?`100% 0`:m),b,s,w,ie()+g,B,de,P,l,N,k,m,x,P._endClamp&&`_endClamp`))||-.001,g=0,A=D;A--;)U=$[A]||{},G=U.pin,G&&U.start-U._pinPush<=z&&!x&&U.end>0&&(j=U.end-(P._startClamp?Math.max(0,U.start):U.start),(G===u&&U.start-U._pinPush<z||G===C)&&isNaN(S)&&(g+=j*(1-U.progress)),G===d&&(_+=j));if(z+=g,ce+=g,P._startClamp&&(P._startClamp+=g),P._endClamp&&!ng&&(P._endClamp=ce||-.001,ce=Math.min(ce,Qm(E,w))),V=ce-z||(z-=.01)&&.001,h&&(re=Q.utils.clamp(0,1,Q.utils.normalize(z,ce,Ae))),P._pinPush=_,le&&g&&(j={},j[w.a]=`+=`+g,C&&(j[w.p]=`-=`+ie()),Q.set([le,B],j)),d&&!(jm&&P.end>=Qm(E,w)))j=Sh(d),fe=w===Wp,ae=ie(),ye=parseFloat(ve(w.a))+_,!m&&ce>1&&(Te=(O?nm.scrollingElement||rm:E).style,Te={style:Te,value:Te[`overflow`+w.a.toUpperCase()]},O&&Sh(im)[`overflow`+w.a.toUpperCase()]!==`scroll`&&(Te.style[`overflow`+w.a.toUpperCase()]=`scroll`)),gg(d,_e,j),ge=yg(d),R=Th(d,!0),xe=k&&qp(E,fe?Up:Wp)(),f?(be=[f+w.os2,V+_+xh],be.t=_e,A=f===_h?Eh(d,w)+V+_:0,A&&(be.push(w.d,A
vendor: 4,441 bytes, line 257
257+xh),_e.style.flexBasis!==`auto`&&(_e.style.flexBasis=A+xh)),vg(be),C&&$.forEach(function(e){e.pin===C&&e.vars.pinSpacing!==!1&&(e._subPinOffset=!0)}),k&&ie(Ae)):(A=Eh(d,w),A&&_e.style.flexBasis!==`auto`&&(_e.style.flexBasis=A+xh)),k&&(H={top:R.top+(fe?ae-z:xe)+xh,left:R.left+(fe?xe:ae-z)+xh,boxSizing:`border-box`,position:`fixed`},H[dh]=H[`max`+yh]=Math.ceil(R.width)+xh,H[fh]=H[`max`+bh]=Math.ceil(R.height)+xh,H[vh]=H[vh+hh]=H[vh+ph]=H[vh+gh]=H[vh+mh]=`0`,H[_h]=j[_h],H[_h+hh]=j[_h+hh],H[_h+ph]=j[_h+ph],H[_h+gh]=j[_h+gh],H[_h+mh]=j[_h+mh],he=bg(me,H,y),ng&&ie(0)),n?(Ce=n._initted,ym(1),n.render(n.duration(),!0,!0),W=ve(w.a)-ye+V+_,Se=Math.abs(V-W)>1,k&&Se&&he.splice(he.length-2,2),n.render(0,!0,!0),Ce||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),ym(0)):W=V,Te&&(Te.value?Te.style[`overflow`+w.a.toUpperCase()]=Te.value:Te.style.removeProperty(`overflow-`+w.a));else if(u&&ie()&&!x)for(R=u.parentNode;R&&R!==im;)R._pinOffset&&(z-=R._pinOffset,ce-=R._pinOffset),R=R.parentNode;we&&we.forEach(function(e){return e.revert(!1,!0)}),P.start=z,P.end=ce,oe=se=ng?Ae:ie(),!x&&!ng&&(oe<Ae&&ie(Ae),P.scroll.rec=0),P.revert(!1,!0),ne=Pm(),ke&&(te=-1,ke.restart(!0)),dm=0,n&&T&&(n._initted||je)&&n.progress()!==je&&n.progress(je||0,!0).render(n.time(),!0,!0),(h||re!==P.progress||x||p||n&&!n._initted)&&(n&&!T&&(n._initted||re||n.vars.immediateRender!==!1)&&n.totalProgress(x&&z<-.001&&!re?Q.utils.normalize(z,ce,0):re,!0),P.progress=h||(oe-z)/V===re?0:re),d&&f&&(_e._pinOffset=Math.round(P.progress*W)),K&&K.invalidate(),isNaN(Ee)||(Ee-=Q.getProperty(ue,w.p),De-=Q.getProperty(de,w.p),Eg(ue,w,Ee),Eg(le,w,Ee-(o||0)),Eg(de,w,De),Eg(B,w,De-(o||0))),h&&!ng&&P.update(),c&&!ng&&!pe&&(pe=!0,c(P),pe=!1)}},P.getVelocity=function(){return(ie()-se)/(Pm()-lm)*1e3||0},P.endAnimation=function(){ih(P.callbackAnimation),n&&(K?K.progress(1):n.paused()?T||ih(n,P.direction<0,1):ih(n,n.reversed()))},P.labelToScroll=function(e){return n&&n.labels&&(z||P.refresh()||z)+n.labels[e]/n.duration()*V||0},P.getTrailing=function(e){var t=$.indexOf(P),n=P.direction>0?$.slice(0,t).reverse():$.slice(t+1);return(eh(e)?n.filter(function(t){return t.vars.preventOverlaps===e}):n).filter(function(e){return P.direction>0?e.end<=z:e.start>=ce})},P.update=function(e,t,r){if(!(x&&!r&&!e)){var o=ng===!0?Ae:P.scroll(),c=e?0:(o-z)/V,u=c<0?0:c>1?1:c||0,p=P.progress,h,g,b,D,O,M,N,ee;if(t&&(se=oe,oe=x?ie():o,v&&(Ee=Te,Te=n&&!T?n.totalProgress():u)),m&&d&&!dm&&!Nm&&Im&&(!u&&z<o+(o-se)/(Pm()-lm)*m?u=1e-4:u===1&&ce>o+(o-se)/(Pm()-lm)*m&&(u=.9999)),u!==p&&P.enabled){if(h=P.isActive=!!u&&u<1,g=!!p&&p<1,M=h!==g,O=M||!!u!=!!p,P.direction=u>p?1:-1,P.progress=u,O&&!dm&&(b=u&&!p?0:u===1?1:p===1?2:3,T&&(D=!M&&j[b+1]!==`none`&&j[b+1]||j[b],ee=n&&(D===`complete`||D===`reset`||D in n))),C&&(M||ee)&&(ee||l||!n)&&(th(C)?C(P):P.getTrailing(C).forEach(function(e){return e.endAnimation()})),T||(K&&!dm&&!Nm?(K._dp._time-K._start!==K._time&&K.render(K._dp._time-K._start),K.resetTo?K.resetTo(`totalProgress`,u,n._tTime/n._tDur):(K.vars.totalProgress=u,K.invalidate().restart())):n&&n.totalProgress(u,!!(dm&&(ne||e)))),d){if(e&&f&&(_e.style[f+w.os2]=G),!k)U(Wm(ye+W*u));else if(O){if(N=!e&&u>p&&ce+1>o&&o+1>=Qm(E,w),y)if(!e&&(h||N)){var F=Th(d,!0),I=o-z;wg(d,im,F.top+(w===Wp?I:0)+xh,F.left+(w===Wp?0:I)+xh)}else wg(d,_e);vg(h||N?he:ge),Se&&u<1&&h||U(ye+(u===1&&!N?W:0))}}v&&!L.tween&&!dm&&!Nm&&ke.restart(!0),a&&(M||_&&u&&(u<1||!Mm))&&sm(a.targets).forEach(function(e){return e.classList[h||_?`add`:`remove`](a.className)}),i&&!T&&!e&&i(P),O&&!dm?(T&&(ee&&(D===`complete`?n.pause().totalProgress(1):D===`reset`?n.restart(!0).pause():D===`restart`?n.restart(!0):n[D]()),i&&i(P)),(M||!Mm)&&(s&&M&&ah(P,s),A[b]&&ah(P,A[b]),_&&(u===1?P.kill(!1,1):A[b]=0),M||(b=u===1?1:3,A[b]&&ah(P,A[b]))),S&&!h&&Math.abs(P.getVelocity())>(nh(S)?S:2500)&&(ih(P.callbackAnimation),K?K.progress(1):ih(n,D===`reverse`?1:!u,1))):T&&i&&!dm&&i(P)}if(Ce){var te=x?o/x.duration()*(x._caScrollDist||0):o;xe(te+ +!!ue._isFlipped),Ce(te)}Me&&Me(-o/x.duration()*(x._caScrollDist||0))}},P.enable=function(t,n){P.enabled||(P.enabled=!0,Mh(E,`resize`,Kh),O||Mh(E,`scroll`,Wh),ee&&Mh(e,`refreshInit`,ee),t!==!1&&(P.progress=re=0,oe=se=te=ie()),n!==!1&&P.refresh())},P.getTween=function(e){return e&&L?L.tween:K},P.setPositions=function(e,t,n,r){if(x){var i=x.scrollTrigger,a=x.duration(),o=i.end-i.start;e=i.start+o*e/a,t=i.start+o*t/a}P.refresh(!1,!1,{start:zm(e,n&&!!P._startClamp),end:zm(t,n&&!!P._endClamp)}
vendor: 2,000 bytes, line 257
257,r),P.update()},P.adjustPinSpacing=function(e){if(be&&e){var t=be.indexOf(w.d)+1;be[t]=parseFloat(be[t])+e+xh,be[1]=parseFloat(be[1])+e+xh,vg(be)}},P.disable=function(t,n){if(t!==!1&&P.revert(!0,!0),P.enabled&&(P.enabled=P.isActive=!1,n||K&&K.pause(),Ae=0,R&&(R.uncache=1),ee&&Nh(e,`refreshInit`,ee),ke&&(ke.pause(),L.tween&&L.tween.kill()&&(L.tween=0)),!O)){for(var r=$.length;r--;)if($[r].scroller===E&&$[r]!==P)return;Nh(E,`resize`,Kh),O||Nh(E,`scroll`,Wh)}},P.kill=function(e,r){P.disable(e,r),K&&!r&&K.kill(),o&&delete Vh[o];var i=$.indexOf(P);i>=0&&$.splice(i,1),i===mm&&ug>0&&mm--,i=0,$.forEach(function(e){return e.scroller===P.scroller&&(i=1)}),i||ng||(P.scroll.rec=0),n&&(n.scrollTrigger=null,e&&n.revert({kill:!1}),r||n.kill()),le&&[le,B,ue,de].forEach(function(e){return e.parentNode&&e.parentNode.removeChild(e)}),dg===P&&(dg=0),d&&(R&&(R.uncache=1),i=0,$.forEach(function(e){return e.pin===d&&i++}),i||(R.spacer=0)),t.onKill&&t.onKill(P)},$.push(P),P.enable(!1,!1),Ne&&Ne(P),n&&n.add&&!V){var Le=P.update;P.update=function(){P.update=Le,Z.cache++,z||ce||P.refresh()},Q.delayedCall(.01,P.update),V=.01,z=ce=0}else P.refresh();d&&ag()},e.register=function(t){return em||=(Q=t||Km(),Gm()&&window.document&&e.enable(),Lm),em},e.defaults=function(e){if(e)for(var t in e)Ih[t]=e[t];return Ih},e.disable=function(e,t){Lm=0,$.forEach(function(n){return n[t?`kill`:`disable`](e)}),Nh(tm,`wheel`,Wh),Nh(nm,`scroll`,Wh),clearInterval(um),Nh(nm,`touchcancel`,Um),Nh(im,`touchstart`,Um),jh(Nh,nm,`pointerdown,touchstart,mousedown`,Vm),jh(Nh,nm,`pointerup,touchend,mouseup`,Hm),om.kill(),$m(Nh);for(var n=0;n<Z.length;n+=3)Ph(Nh,Z[n],Z[n+1]),Ph(Nh,Z[n],Z[n+2])},e.enable=function(){if(tm=window,nm=document,rm=nm.documentElement,im=nm.body,Q)if(sm=Q.utils.toArray,cm=Q.utils.clamp,Em=Q.core.context||Um,ym=Q.core.suppressOverwrites||Um,Dm=tm.history.scrollRestoration||`auto`,lg=tm.pageYOffset||0,Q.core.globals(`ScrollTrigger`,e),im){Lm=1,Om=document.createElement(`div`),Om.style.height=`100vh`,Om.
257style.position=`absolute`,og(),Bm(),$p.register(Q),e.isTouch=$p.isTouch,Tm=$p.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),Sm=$p.isTouch===1,Mh(tm,`wheel`,Wh),am=[tm,nm,rm,im],Q.matchMedia?(e.matchMedia=function(e){var t=Q.matchMedia(),n;for(n in e)t.add(n,e[n]);return t},Q.addEventListener(`matchMediaInit`,function(){$h(),eg()}),Q.addEventListener(`matchMediaRevert`,function(){return Qh()}),Q.addEventListener(`matchMedia`,function(){cg(0,1),Xh(`matchMedia`)}),Q.matchMedia().add(`(orientation: portrait)`,function(){return Gh(),Gh})):console.warn(`Requires GSAP 3.11.0 or later`),Gh(),Mh(nm,`scroll`,Wh);var t=im.hasAttribute(`style`),n=im.style,r=n.borderTopStyle,i=Q.core.Animation.prototype,a,o;for(i.revert||Object.defineProperty(i,`revert`,{value:function(){return this.time(-.01,!0)}}),n.borderTopStyle=`solid`,a=Th(im),Wp.m=Math.round(a.top+Wp.sc())||0,Up.m=Math.round(a.left+Up.sc())||0,r?n.borderTopStyle=r:n.removeProperty(`border-top-style`),t||(im.setAttribute(`style`,``),im.removeAttribute(`style`)),um=setInterval(Uh,250),Q.delayedCall(.5,function(){return Nm=0}),Mh(nm,`touchcancel`,Um),Mh(im,`touchstart`,Um),jh(Mh,nm,`pointerdown,touchstart,mousedown`,Vm),jh(Mh,nm,`pointerup,touchend,mouseup`,Hm),pm=Q.utils.checkPrefix(`transform`),mg.push(pm),em=Pm(),om=Q.delayedCall(.2,cg).pause(),_m=[nm,`visibilitychange`,function(){var e=tm.innerWidth,t=tm.innerHeight;nm.hidden?(hm=e,gm=t):(hm!==e||gm!==t)&&Kh()},nm,`DOMContentLoaded`,cg,tm,`load`,cg,tm,`resize`,Kh],$m(Mh),$.forEach(function(e){return e.enable(0,1)}),o=0;o<Z.length;o+=3)Ph(Nh,Z[o],Z[o+1]),Ph(Nh,Z[o],Z[o+2])}else nm&&nm.addEventListener(`DOMContentLoaded`,function t(){e.enable(),nm.removeEventListener(`DOMContentLoaded`,t)})},e.config=function(t){`limitCallbacks`in t&&(Mm=!!t.limitCallbacks);var n=t.syncInterval;n&&clearInterval(um)||(um=n)&&setInterval(Uh,n),`ignoreMobileResize`in t&&(Sm=e.isTouch===1&&t.ignoreMobileResize),`autoRefreshEvents`in t&&($m(Nh)||$m(Mh,t.autoRefreshEvents||`none`),bm=(t.autoRefreshEvents+``).indexOf(`resize`)===-1)},e.scrollerProxy=function(e,t){var n=Gp(e),r=Z.indexOf(n),i=qm(n);~r&&Z.splice(r,i?6:2),t&&(i?jp.unshift(tm,t,im,t,rm,t):jp.unshift(n,t))},e.clearMatchMedia=function(e){$.forEach(function(t){return t._ctx&&t._ctx.query===e&&t._ctx.kill(!0,!0)})},e.isInViewport=function(e,t,n){var r=(eh(e)?Gp(e):e).getBoundingClientRect(),i=r[n?dh:fh]*t||0;return n?r.right-i>0&&r.left+i<tm.innerWidth:r.bottom-i>
vendor: 4,518 bytes, line 257
2570&&r.top+i<tm.innerHeight},e.positionInViewport=function(e,t,n){eh(e)&&(e=Gp(e));var r=e.getBoundingClientRect(),i=r[n?dh:fh],a=t==null?i/2:t in Lh?Lh[t]*i:~t.indexOf(`%`)?parseFloat(t)*i/100:parseFloat(t)||0;return n?(r.left+a)/tm.innerWidth:(r.top+a)/tm.innerHeight},e.killAll=function(e){if($.slice(0).forEach(function(e){return e.vars.id!==`ScrollSmoother`&&e.kill()}),e!==!0){var t=qh.killAll||[];qh={},t.forEach(function(e){return e()})}},e}();Og.version=`3.15.0`,Og.saveStyles=function(e){return e?sm(e).forEach(function(e){if(e&&e.style){var t=Zh.indexOf(e);t>=0&&Zh.splice(t,5),Zh.push(e,e.style.cssText,e.getBBox&&e.getAttribute(`transform`),Q.core.getCache(e),Em())}}):Zh},Og.revert=function(e,t){return eg(!e,t)},Og.create=function(e,t){return new Og(e,t)},Og.refresh=function(e){return e?Kh(!0):(em||Og.register())&&cg(!0)},Og.update=function(e){return++Z.cache&&fg(e===!0?2:0)},Og.clearScrollMemory=tg,Og.maxScroll=function(e,t){return Qm(e,t?Up:Wp)},Og.getScrollFunc=function(e,t){return qp(Gp(e),t?Up:Wp)},Og.getById=function(e){return Vh[e]},Og.getAll=function(){return $.filter(function(e){return e.vars.id!==`ScrollSmoother`})},Og.isScrolling=function(){return!!Im},Og.snapDirectional=kh,Og.addEventListener=function(e,t){var n=qh[e]||(qh[e]=[]);~n.indexOf(t)||n.push(t)},Og.removeEventListener=function(e,t){var n=qh[e],r=n&&n.indexOf(t);r>=0&&n.splice(r,1)},Og.batch=function(e,t){var n=[],r={},i=t.interval||.016,a=t.batchMax||1e9,o=function(e,t){var n=[],r=[],o=Q.delayedCall(i,function(){t(n,r),n=[],r=[]}).pause();return function(e){n.length||o.restart(!0),n.push(e.trigger),r.push(e),a<=n.length&&o.progress(1)}},s;for(s in t)r[s]=s.substr(0,2)===`on`&&th(t[s])&&s!==`onRefreshInit`?o(s,t[s]):t[s];return th(a)&&(a=a(),Mh(Og,`refresh`,function(){return a=t.batchMax()})),sm(e).forEach(function(e){var t={};for(s in r)t[s]=r[s];t.trigger=e,n.push(Og.create(t))}),n};var kg=function(e,t,n,r){return t>r?e(r):t<0&&e(0),n>r?(r-t)/(n-t):n<0?t/(t-n):1},Ag=function e(t,n){n===!0?t.style.removeProperty(`touch-action`):t.style.touchAction=n===!0?`auto`:n?`pan-`+n+($p.isTouch?` pinch-zoom`:``):`none`,t===rm&&e(im,n)},jg={auto:1,scroll:1},Mg=function(e){var t=e.event,n=e.target,r=e.axis,i=(t.changedTouches?t.changedTouches[0]:t).target,a=i._gsap||Q.core.getCache(i),o=Pm(),s;if(!a._isScrollT||o-a._isScrollT>2e3){for(;i&&i!==im&&(i.scrollHeight<=i.clientHeight&&i.scrollWidth<=i.clientWidth||!(jg[(s=Sh(i)).overflowY]||jg[s.overflowX]));)i=i.parentNode;a._isScroll=i&&i!==n&&!qm(i)&&(jg[(s=Sh(i)).overflowY]||jg[s.overflowX]),a._isScrollT=o}(a._isScroll||r===`x`)&&(t.stopPropagation(),t._gsapAllow=!0)},Ng=function(e,t,n,r){return $p.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r&&=Mg,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return n&&Mh(nm,$p.eventTypes[0],Ig,!1,!0)},onDisable:function(){return Nh(nm,$p.eventTypes[0],Ig,!0)}})},Pg=/(input|label|select|textarea)/i,Fg,Ig=function(e){var t=Pg.test(e.target.tagName);(t||Fg)&&(e._gsapAllow=!0,Fg=t)},Lg=function(e){rh(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||=`wheel,touch`,e.debounce=!!e.debounce,e.id=e.id||`normalizer`;var t=e,n=t.normalizeScrollX,r=t.momentum,i=t.allowNestedScroll,a=t.onRelease,o,s,c=Gp(e.target)||rm,l=Q.core.globals().ScrollSmoother,u=l&&l.get(),d=Tm&&(e.content&&Gp(e.content)||u&&e.content!==!1&&!u.smooth()&&u.content()),f=qp(c,Wp),p=qp(c,Up),m=1,h=($p.isTouch&&tm.visualViewport?tm.visualViewport.scale*tm.visualViewport.width:tm.outerWidth)/tm.innerWidth,g=0,_=th(r)?function(){return r(o)}:function(){return r||2.8},v,y,b=Ng(c,e.type,!0,i),x=function(){return y=!1},S=Um,C=Um,w=function(){s=Qm(c,Wp),C=cm(+!!Tm,s),n&&(S=cm(0,Qm(c,Up))),v=rg},T=function(){d._gsap.y=Wm(parseFloat(d._gsap.y)+f.offset)+`px`,d.style.transform=`matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, `+parseFloat(d._gsap.y)+`, 0, 1)`,f.offset=f.cacheID=0},E=function(){if(y){requestAnimationFrame(x);var e=Wm(o.deltaY/2),t=C(f.v-e);if(d&&t!==f.v+f.offset){f.offset=t-f.v;var n=Wm((parseFloat(d&&d._gsap.y)||0)-f.offset);d.style.transform=`matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, `+n+`, 0, 1)`,d._gsap.y=n+`px`,f.cacheID=Z.cache,fg()}return!0}f.offset&&T(),y=!0},D,O,k,A,j=function(){w(),D.isActive()&&D.vars.scrollY>s&&(f()>s?D.progress(1)&&f(s):D.resetTo(`scrollY`,s))};return d&&Q.set(d,{y:`+=0`}),e.ignoreCheck=function(e){return Tm&&e.type===`touchmove`&&E(e)||m>1.05&&e.type!==`touchstart`||o.isGesturing||e.touches&&e.touches.length>1},e.onPress=function(){y=!1;var e=m;
257m=Wm((tm.visualViewport&&tm.visualViewport.scale||1)/h),D.pause(),e!==m&&Ag(c,m>1.01?!0:n?!1:`x`),O=p(),k=f(),w(),v=rg},e.onRelease=e.onGestureStart=function(e,t){if(f.offset&&T(),!t)A.restart(!0);else{Z.cache++;var r=_(),i,o;n&&(i=p(),o=i+r*.05*-e.velocityX/.227,r*=kg(p,i,o,Qm(c,Up)),D.vars.scrollX=S(o)),i=f(),o=i+r*.05*-e.velocityY/.227,r*=kg(f,i,o,Qm(c,Wp)),D.vars.scrollY=C(o),D.invalidate().duration(r).play(.01),(Tm&&D.vars.scrollY>=s||i>=s-1)&&Q.to({},{onUpdate:j,duration:r})}a&&a(e)},e.onWheel=function(){D._ts&&D.pause(),Pm()-g>1e3&&(v=0,g=Pm())},e.onChange=function(e,t,r,i,a){if(rg!==v&&w(),t&&n&&p(S(i[2]===t?O+(e.startX-e.x):p()+t-i[1])),r){f.offset&&T();var o=a[2]===r,s=o?k+e.startY-e.y:f()+r-a[1],c=C(s);o&&s!==c&&(k+=c-s),f(c)}(r||t)&&fg()},e.onEnable=function(){Ag(c,n?!1:`x`),Og.addEventListener(`refresh`,j),Mh(tm,`resize`,j),f.smooth&&=(f.target.style.scrollBehavior=`auto`,p.smooth=!1),b.enable()},e.onDisable=function(){Ag(c,!0),Nh(tm,`resize`,j),Og.removeEventListener(`refresh`,j),b.kill()},e.lockAxis=e.lockAxis!==!1,o=new $p(e),o.iOS=Tm,Tm&&!f()&&f(1),Tm&&Q.ticker.add(Um),A=o._dc,D=Q.to(o,{ease:`power4`,paused:!0,inherit:!1,scrollX:n?`+=0.1`:`+=0`,scrollY:`+=0.1`,modifiers:{scrollY:Tg(f,f(),function(){return D.pause()})},onUpdate:fg,onComplete:A.vars.onComplete}),o};Og.sort=function(e){if(th(e))return $.sort(e);var t=tm.pageYOffset||0;return Og.getAll().forEach(function(e){return e._sortY=e.trigger?t+e.trigger.getBoundingClientRect().top:e.start+tm.innerHeight}),$.sort(e||function(e,t){return(e.vars.refreshPriority||0)*-1e6+(e.vars.containerAnimation?1e6:e._sortY)-((t.vars.containerAnimation?1e6:t._sortY)+(t.vars.refreshPriority||0)*-1e6)})},Og.observe=function(e){return new $p(e)},Og.normalizeScroll=function(e){if(e===void 0)return xm;if(e===!0&&xm)return xm.enable();if(e===!1){xm&&xm.kill(),xm=e;return}var t=e instanceof $p?e:Lg(e);return xm&&xm.target===t.target&&xm.kill(),qm(t.target)&&(xm=t),t},Og.core={_getVelocityProp:Jp,_inputObserver:Ng,_scrollers:Z,_proxies:jp,bridge:{ss:function(){Im||Xh(`scrollStart`),Im=Pm()},ref:function(){return dm}}},Km()&&Q.registerPlugin(Og);var Rg=`ohel_jewish_cal_v1`;function zg(e){let t=new Date(e);return t.setHours(0,0,0,0),t}function Bg(e){let t=new Date(e);return t.setHours(23,59,59,999),t}function Vg(e=new Date){let t=zg(e),n=t.getDay(),r=new Date(t);r.setDate(t.getDate()-n);let i=Bg(new Date(r.getTime()+6*864e5)),a=new Date(r);return a.setDate(r.getDate()-7),{lastWeekStart:a,lastWeekEnd:Bg(new Date(r.getTime()-864e5)),thisWeekStart:r,thisWeekEnd:i}}function Hg(e){let t=new Date(e);return`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,`0`)}-${String(t.getDate()).padStart(2,`0`)}`}function Ug(e,t){let n=[],r=zg(e),i=zg(t);for(;r<=i;)n.push(new Date(r)),r.setDate(r.getDate()+1);return n}function Wg(){try{return JSON.parse(sessionStorage.getItem(Rg)||`{}`)}catch{return{}}}function Gg(e){try{sessionStorage.setItem(Rg,JSON.stringify(e))}catch{}}async function Kg(e){let t=`https://www.hebcal.com/converter?cfg=json&gy=${e.getFullYear()}&gm=${e.getMonth()+1}&gd=${e.getDate()}&g2h=1`,n=await fetch(t);if(!n.ok)throw Error(`Hebcal ${n.status}`);let r=await n.json();return{key:Hg(e),gregorian:e,hy:r.hy,hm:r.hm,hd:r.hd,hebrew:r.hebrew||``,hebrewShort:r.heDateParts?`${r.heDateParts.d} ${r.heDateParts.m}`:r.hebrew||``,events:Array.isArray(r.events)?r.events:[]}}async function qg(e=new Date,t=14){let n=zg(e),r=new Date(n);r.setDate(n.getDate()-Math.max(1,t)+1);let i=Ug(r,n),a=Wg(),o=await Promise.all(i.map(async e=>{let t=Hg(e);if(a[t]?.hebrew)return{...a[t],gregorian:e,key:t};try{let n=await Kg(e);return a[t]={key:n.key,hy:n.hy,hm:n.hm,hd:n.hd,hebrew:n.hebrew,hebrewShort:n.hebrewShort,events:n.events},n}catch{return{key:t,gregorian:e,hy:null,hm:null,hd:null,hebrew:``,hebrewShort:e.toLocaleDateString([],{month:`short`,day:`numeric`}),events:[]}}}));return Gg(a),o.reverse()}function Jg(e){return new Date(e).toLocaleDateString([],{weekday:`short`})}function Yg(e){return new Date(e).toLocaleDateString([],{month:`short`,day:`numeric`})}var Xg=`jem_tishrei_month_v1`,Zg=/Rosh Hashana|Yom Kippur|Sukkot|Shmini Atzeret|Simchat Torah/i;function Qg(){try{return JSON.parse(sessionStorage.getItem(Xg)||`{}`)}catch{return{}}}function $g(e){try{sessionStorage.setItem(Xg,JSON.stringify(e))}catch{}}async function e_(e=new Date){let t=e.getFullYear(),n=e.getMonth()+1,r=e.getDate(),i=await fetch(`https://www.hebcal.com/converter?cfg=json&gy=${t}&gm=${n}&gd=${r}&g2h=1`);if(!i.ok)throw Error(`Hebcal ${i.status}`);let a=await i.json();return{hy:a.hy,hm:a.hm,hd:a.hd,hebrew:a.hebrew||``,events:Array.isArray(a.events)?a.events:[],gregorian:e}}async function t_(e){let t=Qg(),n=t[e];if(n)return n.map(e=>({...e,gregorian:new Date(e.iso+`T00:00:00`)}));let r=`https://www.hebcal.com/hebcal?v=1&cfg=json&maj=on&min=on&mod=on&nx=on&mf=on&ss=on&s=off&i=off&lg=s&hebrewYear=${e}`,i=[];try{let e=await fetch(r);e.ok&&(i=(await e.json()).items||[])}catch{}let a=null;for(let t of i){let n=/^(\d+)\s+Tishrei\s+(\d+)$/.exec(t.hdate||``);if(n&&Number(n[2])===e&&t.date){let e=Number(n[1]),r=new Date(t.date.slice(0,10)+`T00:00:00`);r.setDate(r.getDate()-(e-1)),a=Hg(r);break}}if(!a){let t=await(await fetch(`https://www.hebcal.com/converter?cfg=json&hy=${e}
257&hm=Tishrei&hd=1&h2g=1`)).json();a=Hg(new Date(t.gy,t.gm-1,t.gd))}let o={};for(let e of i){let t=(e.date||``).slice(0,10);t&&(o[t]||=[]).push({title:e.title,category:e.category})}let s=new Date(a+`T00:00:00`),c=[];for(let t=0;t<30;t++){let n=new Date(s);n.setDate(s.getDate()+t);let r=Hg(n),i=o[r]||[];c.push({hd:t+1,hy:e,iso:r,gregorian:n,hebrew:`${t+1} Tishrei ${e}`,holidays:i.map(e=>e.title),major:i.some(e=>e.category===`holiday`&&Zg.test(e.title))})}return t[e]=c.map(e=>({hd:e.hd,hy:e.hy,iso:e.iso,hebrew:e.hebrew,holidays:e.holidays,major:e.major})),$g(t),c}var n_=`ohel_rest_days_v2`,r_=`America/New_York`,i_=5128581;function a_(e=new Date){return new Intl.DateTimeFormat(`en-CA`,{timeZone:r_,year:`numeric`,month:`2-digit`,day:`2-digit`}).format(new Date(e))}function o_(e){let t=new Intl.DateTimeFormat(`en-US`,{timeZone:r_,weekday:`short`}).format(new Date(e));return[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`].indexOf(t)}function s_(){try{return JSON.parse(sessionStorage.getItem(n_)||`{}`)}catch{return{}}}function c_(e){try{sessionStorage.setItem(n_,JSON.stringify(e))}catch{}}async function l_(e,t){let n=`${e}_${t}`,r=s_();if(r[n])return r[n];let i=`https://www.hebcal.com/hebcal?v=1&cfg=json&maj=on&mod=on&nx=off&mf=off&ss=off&s=off&i=off&lg=s&M=on&geo=geoname&geonameid=${i_}&start=${e}&end=${t}`,a={yomTov:{},havdalah:{}};try{let e=await fetch(i);if(e.ok){let t=(await e.json()).items||[];for(let e of t){let t=(e.date||``).slice(0,10);if(t)if(e.category===`havdalah`){let n=Date.parse(e.date);Number.isFinite(n)&&(a.havdalah[t]=n)}else e.yomtov===!0&&(a.yomTov[t]=e.title)}}}catch{}return r[n]=a,c_(r),a}function u_(e){let t=a_(e),n=Date.parse(`${t}T20:30:00-04:00`);return Number.isFinite(n)?n:null}async function d_(e,t=Date.now()){if(!e.length)return e;let n=e.map(e=>a_(e.gregorian)).sort(),{yomTov:r,havdalah:i}=await l_(n[0],n[n.length-1]);return e.map(e=>{let n=a_(e.gregorian),a=o_(e.gregorian)===6,o=r[n]||``,s=a||!!o,c=a?o?`Shabbos · ${o}`:`Shabbos`:o;if(!s)return{...e,restDay:!1,restLabel:``,havdalahMs:null};let l=i[n]??null;l==null&&a&&!o&&(l=u_(e.gregorian));let u=l!=null&&t>=l;return{...e,restDay:!u,restLabel:u?``:c,havdalahMs:l}})}function f_(e){if(e)try{let t=new URLSearchParams(window.location.search);t.get(`in_app`);let n=window.self!==window.top;t.get(`base_url`)||document.referrer;let r=e;try{let t=new URL(e,window.location.origin);r=t.pathname+t.search+t.hash}catch{}try{if(n&&(window.parent.postMessage({type:`JEM_NAVIGATE`,url:r,fullUrl:e},`*`),/Android/i.test(navigator.userAgent))){setTimeout(()=>{try{window.top.location.href=e}catch{}},100);return}}catch{}try{window.top.location.href=e}catch{try{let t=document.createElement(`a`);t.href=e,t.target=`_top`,document.body.appendChild(t),t.click(),document.body.removeChild(t)}catch{window.top.location.href=e}}}catch{window.top.location.href=e}}var p_=1e3,m_=6e4;function h_(e){if(e==null||e===``)return null;if(typeof e==`number`&&Number.isFinite(e))return e<0xe8d4a51000?e*1e3:e;let t=Number(e);if(Number.isFinite(t)&&String(e).trim()!==``)return t<0xe8d4a51000?t*1e3:t;let n=Date.parse(e);return Number.isFinite(n)?n:null}function g_(e){let t=Number(e?.duration);return Number.isFinite(t)&&t>0?t:m_}function __(e=Date.now()){return new Date(e).toLocaleTimeString([],{hour:`numeric`,minute:`2-digit`})}function v_(e=Date.now()){let t=__(e),n=t.indexOf(`:`);return n<0?{before:t,sep:``,after:``}:{before:t.slice(0,n),sep:`:`,after:t.slice(n+1)}}function y_(e){let t=Number(e);if(!Number.isFinite(t)||t<=0)return null;let n=Math.floor(t/1e3),r=Math.floor(n/3600),i=Math.floor(n%3600/60),a=n%60;return r>0?`${r}:${String(i).padStart(2,`0`)}:${String(a).padStart(2,`0`)}`:`${String(i).padStart(2,`0`)}:${String(a).padStart(2,`0`)}`}function b_(e){return!e?.length||!e.every(e=>e&&(e.duration||e.name||e.title||e.thumbnail||e.cover_image||e.image))?null:e.map(e=>{let t=e.type===`produced`||e.object_type===`produced`?`produced`:`clip`,n=[e.segment_type,e.produced_video_type,e.type].map(e=>typeof e==`string`?e.trim():``).find(e=>e&&![`clip`,`produced`,`video_clip`,`produced_video`,`video`].includes(e.toLowerCase()))||``,r=String(e.id||``).replace(/^(video_clip-|produced_video-)/i,``),i=e.image||e.thumbnail||e.cover_image||null;return{objectID:t===`produced`?`produced_video-${r}`:`video_clip-${r}`,id:r,object_type:t===`produced`?`produced_video`:`video_clip`,...t===`produced`?{produced_video_id:r,clip_id:void 0}:{clip_id:r,produced_video_id:void 0},...n?{type:n}:{}
257,title:e.title||e.name||``,name:e.name||e.title||``,description:e.description||``,thumbnail:e.thumbnail||i,cover_image:e.cover_image||i,image:i,duration:Number(e.duration)>0?Number(e.duration):void 0}})}async function x_(e){let t=b_(e);if(!t)return Xi(e);try{let n=await Xi(e);return n?.length?t.map((e,t)=>{let r=n[t];return!r||r._missing?e:{...r,...e,objectID:e.objectID,object_type:e.object_type,clip_id:e.clip_id,produced_video_id:e.produced_video_id,type:r.type||e.type,events:r.events,keywords:r.keywords,topic:r.topic,recorded_dates:r.recorded_dates,released_dates:r.released_dates,description:e.description||r.description}}):t}catch{return t}}function S_(e,t,n,r){if(!e?.length)return null;let i=e.length,a=Math.min(Math.max(0,Math.floor(Number(t)||0)),i-1),o=e.map(g_),s=o.reduce((e,t)=>e+t,0);if(s<=0)return{index:a,hit:e[a],elapsedInClip:0,clipDuration:o[a]||m_};let c=Math.max(0,r-(Number.isFinite(n)?n:0))%s;for(let t=0;t<i;t++){let n=(a+t)%i,r=o[n];if(c<r)return{index:n,hit:e[n],elapsedInClip:c,clipDuration:r};c-=r}return{index:a,hit:e[a],elapsedInClip:0,clipDuration:o[a]}}function C_(e){return e?.image||e?.thumbnail||e?.cover_image||null}function w_(e){return ra(e?.title||e?.name||`Untitled`)}function T_(e){return ra(e?.description||e?.summary||``)}function E_(e){let t=la(e?.type||e?.produced_video_type||e?.segment_type||e?.object_type||``);return!t||[`clip`,`produced`,`produced_video`,`video_clip`,`video`].includes(t.toLowerCase())?``:t}function D_(e){return[e?.subject,e?.topic,...Array.isArray(e?.subjects)?e.subjects:[],...Array.isArray(e?.keywords)?e.keywords.map(e=>e?.name||e):[]].filter(Boolean).map(String).join(` · `)}function O_(e){return Array.isArray(e?.events)?e.events.map(e=>e?.name).filter(Boolean).join(` · `):``}function k_(e){return Number.isFinite(e)?new Date(e).toLocaleTimeString([],{hour:`numeric`,minute:`2-digit`}):``}function A_(e,t,n,r,i,a){if(!e?.length||!Number.isFinite(n))return[];let o=e.length,s=Math.min(Math.max(0,Math.floor(Number(t)||0)),o-1),c=e.map(g_),l=c.reduce((e,t)=>e+t,0);if(l<=0)return[];let u=Number.isFinite(i)?i:r-l,d=Number.isFinite(a)?a:r+l,f=n+Math.floor((u-n)/l)*l;f>u&&(f-=l);let p=[],m=f,h=0,g=!1;for(;m<=d&&h<2e4;){for(let t=0;t<o;t++){let n=(s+t)%o,i=m,a=m+c[n];if(m=a,a<u)continue;if(i>d){h=2e4;break}let l=`upcoming`;r>=a?l=`past`:r>=i&&r<a?l=`now`:!g&&r<i&&(l=`next`,g=!0),p.push({index:n,hit:e[n],startMs:i,endMs:a,status:l,durationMs:c[n],key:`${n}-${i}`})}h++}return p}var j_=3e4;function M_(e){if(!Array.isArray(e)||e.length<2)return e||[];let t=e.filter((e,t)=>{let n=h_(e?.effective_from),r=h_(e?.effective_to);return Number.isFinite(r)?Number.isFinite(n)?t===0?!0:r-n>=j_:!1:!0});return t.map((e,n)=>{let r=t[n+1];return r?{...e,effective_to:r.effective_from??e.effective_to}:e})}async function N_(e){let t=M_(e);return Array.isArray(t)?(await Promise.all(t.map(async e=>{let t=Array.isArray(e?.items)?e.items:[],n=t.length?await x_(t):[];return{effectiveFromMs:h_(e?.effective_from),effectiveToMs:h_(e?.effective_to),anchorIndex:Math.max(0,Math.floor(Number(e?.live_index)||0)),startedAtMs:h_(e?.live_started_at)??h_(e?.start_at),hits:n}}))).filter(e=>Number.isFinite(e.effectiveFromMs)&&Number.isFinite(e.startedAtMs)&&e.hits.length):[]}function P_(e,t,n,r){return e.flatMap(e=>{let i=Math.max(n,e.effectiveFromMs),a=Math.min(r,Number.isFinite(e.effectiveToMs)?e.effectiveToMs:r);return i>=a?[]:A_(e.hits,e.anchorIndex,e.startedAtMs,t,i,a).filter(e=>e.endMs>i&&e.startMs<a).map(t=>({...t,startMs:Math.max(t.startMs,i),endMs:Math.min(t.endMs,a),key:`history-${e.effectiveFromMs}-${t.index}-${Math.max(t.startMs,i)}`}))}).sort((e,t)=>e.startMs-t.startMs)}function F_(e){if(e.length<2)return e;let t=e=>{let t=e?.hit,n=t?.objectID??t?.id??e?.index;return String(n).replace(/^(video_clip-|produced_video-)/i,``)},n=[];for(let r of e){let e=n[n.length-1];if(e&&t(e)===t(r)&&r.startMs<=e.endMs+2e3){e.endMs=Math.max(e.endMs,r.endMs),e.durationMs=Math.max(e.durationMs||0,e.endMs-e.startMs),r.status===`now`&&(e.status=`now`);continue}n.push({...r})}return n}function I_(e){let t=new Set;for(let n of e||[])n?.id!=null&&t.add(String(n.id));return t}function L_(e,t){if(!e||!t?.size)return!1;let n=e.id??e.objectID??``,r=String(n).replace(/^(video_clip-|produced_video-)/i,``);return t.has(r)}function R_(e){let t=[],n=new Set;for(let r of e||[]){if(r?.id==null||r.id===``)continue;let e=String(r.id).replace(/^(video_clip-|produced_video-|clip-|produced-)/i,``),i=(String(r.type||r.object_type||`clip`).toLowerCase().includes(`produced`)?`produced`:`clip`)==`produced`?[`produced_video-${e}`,`produced_video_${e}`,e]:[`video_clip-${e}`,`video_clip_${e}`,`clip-${e}`,e];for(let e of i)n.has(e)||(n.add(e),t.push(`objectID:"${e.replace(/"/g,``)}"`))}return t.length?t.join(` OR `):``}function z_(e,t){return t?.size?(e||[]).filter(e=>L_(e,t)):[]}function B_(e,t){let n=t.trim().toLowerCase();return n?(e||[]).filter(e=>[e?.title,e?.name,e?.description,e?.summary,e?.date?.hebrew_date,e?.recorded_dates?.map?.(e=>e?.hebrew_date||e?.secular_date)?.join(` `),E_(e),D_(e),O_(e),e?.id,e?.objectID].filter(
257Boolean).join(` `).toLowerCase().includes(n)):[]}var V_=16,H_=1.5;function U_(){let[e,t]=(0,v.useState)({start_at:null,live_index:0,live_started_at:null,show_header_banner:!0,items:[],source:`manual`}),[n,r]=(0,v.useState)([]),[i,a]=(0,v.useState)([]),[o,s]=(0,v.useState)(()=>Date.now()),[c,l]=(0,v.useState)(`loading`),[u,d]=(0,v.useState)(null),f=(0,v.useRef)(``),p=(0,v.useRef)(``),m=(0,v.useRef)(null),h=(0,v.useRef)(null),g=(0,v.useRef)(null),_=(0,v.useRef)(null),y=(0,v.useRef)(null),[b,x]=(0,v.useState)(`next`),[S,C]=(0,v.useState)(``),[w,T]=(0,v.useState)(``),[E,D]=(0,v.useState)([]),[O,k]=(0,v.useState)(!1),[A,j]=(0,v.useState)([]),[M,N]=(0,v.useState)(`idle`),[P,ee]=(0,v.useState)(``),[F,I]=(0,v.useState)(null),[te,ne]=(0,v.useState)(!1),[re,ie]=(0,v.useState)({key:``,h:0}),[L,R]=(0,v.useState)(null);(0,v.useEffect)(()=>{let e=document.body,t=document.documentElement,n=new URLSearchParams(window.location.search),r=n.get(`banner`)===`1`,i=n.get(`embed`)===`1`||n.get(`embed`)===`full`,a={bodyBg:e.style.backgroundColor,htmlBg:t.style.backgroundColor,bodyM:e.style.margin,bodyP:e.style.padding,bodyOv:e.style.overflow,htmlOv:t.style.overflow,bodyH:e.style.height,htmlH:t.style.height};return t.classList.toggle(`ohel-embed`,r),t.classList.toggle(`ohel-in-iframe`,i&&!r),ne(i&&!r),e.style.backgroundColor=`#ede9e9`,t.style.backgroundColor=`#ede9e9`,e.style.margin=`0`,e.style.padding=`0`,r?(e.style.overflow=`hidden`,t.style.overflow=`hidden`,e.style.height=`100%`,t.style.height=`100%`):(e.style.overflow=`auto`,t.style.overflow=`auto`,e.style.height=``,t.style.height=``),()=>{t.classList.remove(`ohel-embed`,`ohel-in-iframe`),e.style.backgroundColor=a.bodyBg,t.style.backgroundColor=a.htmlBg,e.style.margin=a.bodyM,e.style.padding=a.bodyP,e.style.overflow=a.bodyOv,t.style.overflow=a.htmlOv,e.style.height=a.bodyH,t.style.height=a.htmlH}},[]),(0,v.useEffect)(()=>{I(b===`next`?null:0)},[b,S,w]),(0,v.useEffect)(()=>{let e=!1;return(async()=>{try{l(`loading`);let i=await fetch(`/api/ohel-playing`,{cache:`no-store`});if(!i.ok)throw Error(`CMS ${i.status}`);let o=await i.json();if(e)return;let s=Array.isArray(o.items)?o.items:[],c=Number.isFinite(Number(o.live_index))?Math.floor(Number(o.live_index)):0;t({start_at:o.start_at??null,live_index:c,live_started_at:o.live_started_at??null,show_header_banner:o.show_header_banner!==!1,items:s,source:o.source===`live`?`live`:`manual`});let u=Array.isArray(o.history)?o.history:[],d=JSON.stringify(u);if(d!==p.current){let t=await N_(u);if(e)return;p.current=d,a(t)}if(!s.length){r([]),l(`empty`);return}let m=JSON.stringify({source:o.source||`manual`,live_started_at:o.live_started_at??null,live_index:c,now_id:o.now_playing?.id??null,items:s.map(e=>({id:e.id,type:e.type,duration:e.duration}))});if(m===f.current&&n.length){l(`ready`);return}let h=await x_(s);if(e)return;f.current=m,r(h),l(`ready`)}catch(t){if(e)return;d(String(t?.message||t)),l(`error`)}})(),()=>{e=!0}},[]),(0,v.useEffect)(()=>{if(c!==`ready`)return;let e=setInterval(()=>s(Date.now()),p_);return()=>clearInterval(e)},[c]),(0,v.useEffect)(()=>{let e=!1,n=null,i=async()=>{try{let o=await fetch(`/api/ohel-playing`,{cache:`no-store`});if(!o.ok)return;let s=await o.json();if(e)return;let c=Array.isArray(s.items)?s.items:[],u=Number.isFinite(Number(s.live_index))?Math.floor(Number(s.live_index)):0,d=JSON.stringify({source:s.source||`manual`,live_started_at:s.live_started_at??null,live_index:u,now_id:s.now_playing?.id??null,items:c.map(e=>({id:e.id,type:e.type,duration:e.duration}))});t({start_at:s.start_at??null,live_index:u,live_started_at:s.live_started_at??null,show_header_banner:s.show_header_banner!==!1,items:c,source:s.source===`live`?`live`:`manual`});let m=Array.isArray(s.history)?s.history:[],h=JSON.stringify(m);if(h!==p.current){let t=await N_(m);if(e)return;p.current=h,a(t)}if(!c.length){r([]),l(`empty`);return}if(d!==f.current){let t=await x_(c);if(e)return;f.current=d,r(t)}l(`ready`);let g=s.source===`live`?2e3:8e3;e||(n=setTimeout(i,g))}catch{e||(n=setTimeout(i,8e3))}};return n=setTimeout(i,2e3),()=>{e=!0,n&&clearTimeout(n)}},[]),(0,v.useEffect)(()=>
257{if(te||c!==`ready`||!e.show_header_banner||typeof window>`u`)return;let t=window.matchMedia(`(min-width: 900px)`).matches,n=window.matchMedia(`(prefers-reduced-motion: reduce)`).matches;if(!t||n)return;fp.registerPlugin(Og);let r=fp.context(()=>{let e=h.current;if(!e)return;e.classList.add(`ohel-hero-anim`);let t=e.querySelectorAll(`.ohel-word > span`);t.length&&fp.from(t,{yPercent:118,duration:1.05,ease:`expo.out`,stagger:.075,delay:.12});let n=fp.timeline({scrollTrigger:{trigger:e,start:`top top`,end:`+=78%`,pin:!0,pinSpacing:!0,scrub:.85}});n.to(g.current,{scale:1.16,yPercent:-7,filter:`brightness(.94) saturate(.72)`,ease:`none`},0),n.to(_.current,{yPercent:-26,opacity:0,ease:`power1.in`},0),y.current&&fp.from(y.current,{y:70,opacity:0,duration:.9,ease:`expo.out`,scrollTrigger:{trigger:y.current,start:`top 88%`,once:!0}})});return()=>r.revert()},[te,c,e.show_header_banner]),(0,v.useEffect)(()=>{if(b!==`calendar`)return;let e=!1;return k(!0),qg(new Date,14).then(e=>d_(e)).then(t=>{if(e)return;D(t);let n=Date.now(),r=t.find(e=>e.havdalahMs==null?!e.restDay:n>=e.havdalahMs);!w&&r&&T(r.key)}).catch(()=>{}).finally(()=>{e||k(!1)}),()=>{e=!0}},[b]),(0,v.useEffect)(()=>
257{if(b!==`search`)return;let t=S.trim();if(!t){j([]),N(`idle`),ee(``);return}let r=!1,i=setTimeout(async()=>{N(`loading`),ee(``);try{let i=I_(e.items),a=R_(e.items),o=[];if(a){let e=await Pi(t,{},[],50,{filters:a});o=z_(e.hits,i),!o.length&&(e.hits?.length||0)===0&&(o=z_((await Pi(t,{},[],50)).hits,i))}if(o.length||(o=B_(n,t)),r)return;j(o),N(`ready`)}catch(e){if(r)return;let i=B_(n,t);j(i),N(i.length?`ready`:`error`),ee(i.length?``:String(e?.message||e))}},280);return()=>{r=!0,clearTimeout(i)}},[b,S,e.items,n]);let ae=Number.isFinite(Number(e.live_index))?Math.floor(Number(e.live_index)):0,oe=Vg(new Date(o)),se=h_(e.live_started_at)??h_(e.start_at)??(n.length?oe.lastWeekStart.getTime():null),z=c===`ready`&&n.length?S_(n,ae,se,o):null,ce=z?.hit||null,le=z?.clipDuration?Math.min(1,z.elapsedInClip/z.clipDuration):0,B=new Date(o);B.setHours(0,0,0,0),B.setDate(B.getDate()-13);let ue=new Date(o);ue.setHours(23,59,59,999);let de=c===`ready`&&n.length&&se!=null?A_(n,ae,se,o,B.getTime(),ue.getTime()):[],fe=i.length?F_(P_(i,o,B.getTime(),ue.getTime())):[],pe=fe.length?fe:de,V=new Set(pe.filter(e=>Number.isFinite(e?.startMs)&&e.startMs<=o).map(e=>Hg(e.startMs))),me=e=>e.havdalahMs==null?!!e.restDay:o<e.havdalahMs,he=E.filter(e=>V.has(e.key)||me(e)),ge=he.filter(e=>!me(e)),_e=new Set(E.filter(me).map(e=>e.key)),H=w&&V.has(w)&&!_e.has(w)?w:ge[0]?.key||``,ve=(()=>{if(!ge.length)return``;let e=ge.map(e=>e.gregorian).filter(Boolean).sort((e,t)=>e-t);if(!e.length)return``;let t=Yg(e[0]),n=Yg(e[e.length-1]);return t===n?t:`${t} â ${n}`})(),U=pe;if(b===`calendar`){let e=H||Hg(new Date(o));U=pe.filter(t=>Hg(t.startMs)===e&&t.startMs<=o)}else if(b===`next`){let e=pe.find(e=>e.status===`now`)||(Number.isFinite(z?.index)?pe.find(e=>e.index===z.index&&e.startMs<=o&&(!e.endMs||e.endMs>o)):null),t=n.reduce((e,t)=>e+g_(t),0),r=e&&t>0?e.startMs-Math.round(t*H_)+1:Number.isFinite(se)?se:o,i=e?.startMs??o;U=pe.filter(e=>e.status===`past`&&Number.isFinite(e.startMs)&&e.startMs>=r&&e.startMs<i).sort((e,t)=>t.startMs-e.startMs).map(e=>({...e,key:`list-${e.index}-${e.startMs}`}))}let ye=V_,W=Math.max(1,Math.ceil(((b===`search`?A.length:U.length)||0)/ye)),G=F==null?0:Math.min(Math.max(0,F),W-1),be=U.slice(G*ye,(G+1)*ye),xe=A.slice(G*ye,(G+1)*ye),Se=`${b}|${ye}|${S.trim()}|${H}`;(0,v.useEffect)(()=>{let e=m.current;if(!e||te)return;let t=requestAnimationFrame(()=>{let t=e.style.minHeight;e.style.minHeight=`0px`;let n=e.scrollHeight;e.style.minHeight=t,ie(e=>e.key===Se?n>e.h?{key:Se,h:n}:e:{key:Se,h:n})});return()=>cancelAnimationFrame(t)},[Se,G,te,be.length,xe.length]);function Ce(e){let t=na(e);t&&f_(t)}function we(e){if(x(e),e===`next`&&I(null),e===`calendar`){let e=Hg(new Date(o)),t=(E||[]).filter(e=>V.has(e.key)&&!me(e)),n=t.find(t=>t.key===e)||t[0];n&&T(n.key)}}function Te(e=4,t=`card`){return(0,q.jsx)(`div`,{className:`ohel-skeleton-list`,"aria-hidden":!0,children:Array.from({length:e},(e,n)=>(0,q.jsxs)(`div`,{className:`ohel-skel-row ohel-skel-${t}`,style:{"--i":n},children:[(0,q.jsx)(`div`,{className:`ohel-skel-thumb sheen`}),(0,q.jsxs)(`div`,{className:`ohel-skel-copy`,children:[(0,q.jsx)(`div`,{className:`ohel-skel-line sheen w80`}),(0,q.jsx)(`div`,{className:`ohel-skel-line sheen w55`}),(0,q.jsx)(`div`,{className:`ohel-skel-line sheen w35`})]})]},n))})}function Ee(e,t={}){let n=e?.hit||e,r=C_(n),i=w_(n),a=y_(e?.durationMs??n?.duration),o=t.key||e?.key||n?.objectID||n?.id||i,s=L===o,c=D_(n),l=O_(n),u=T_(n),d=n?.recorded_dates?.[0]?.hebrew_date||n?.date?.hebrew_date||``,f=E_(n),p=na(n),m=Number.isFinite(e?.startMs)?k_(e.startMs):``,h=f||(l||c).split(` · `)[0]||``;return(0,q.jsxs)(`article`,{className:`ohel-card`,children:[(0,q.jsxs)(`a`,{className:`ohel-card-main`,href:p||void 0,onClick:e=>{p&&(e.preventDefault(),Ce(n))},children:[(0,q.jsxs)(`div`,{className:`ohel-card-thumb`,children:[r?(0,q.jsx)(`img`,{src:r,alt:``,loading:`lazy`,decoding:`async`,className:`ohel-thumb-img`,onLoad:e=>e.currentTarget.classList.add(`ready`),onError:e=>e.currentTarget.classList.add(`ready`)}):(0,q.jsx)(`span`,{className:`material-symbols-rounded`,"aria-hidden":!0,
257children:`movie`}),(0,q.jsx)(`span`,{className:`ohel-card-play`,"aria-hidden":!0,children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`play_arrow`})}),a?(0,q.jsx)(`span`,{className:`ohel-card-dur`,children:a}):null]}),(0,q.jsxs)(`div`,{className:`ohel-card-copy`,children:[(0,q.jsx)(`h3`,{className:`ohel-card-title`,children:i}),h&&(0,q.jsx)(`div`,{className:`ohel-media-type`,children:h}),(0,q.jsx)(`div`,{className:`ohel-card-meta`,children:m&&(0,q.jsxs)(`span`,{className:`ohel-card-when`,children:[`Played at: `,m]})})]})]}),(0,q.jsx)(`button`,{type:`button`,className:`ohel-info-btn`,"aria-label":s?`Hide details for ${i}`:`Show details for ${i}`,"aria-expanded":s,onClick:()=>R(s?null:o),children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,"aria-hidden":!0,children:s?`expand_less`:`info`})}),s&&(0,q.jsxs)(`div`,{className:`ohel-info-panel`,onClick:e=>e.stopPropagation(),children:[(0,q.jsx)(`button`,{type:`button`,className:`ohel-info-close`,onClick:()=>R(null),"aria-label":`Close details`,children:`Ã`}),(0,q.jsxs)(`dl`,{children:[f&&(0,q.jsxs)(`div`,{children:[(0,q.jsx)(`dt`,{children:`Type`}),(0,q.jsx)(`dd`,{children:f})]}),d&&(0,q.jsxs)(`div`,{children:[(0,q.jsx)(`dt`,{children:`Date`}),(0,q.jsx)(`dd`,{children:d})]}),l&&(0,q.jsxs)(`div`,{children:[(0,q.jsx)(`dt`,{children:`Event`}),(0,q.jsx)(`dd`,{children:l})]}),c&&(0,q.jsxs)(`div`,{children:[(0,q.jsx)(`dt`,{children:`Subject`}),(0,q.jsx)(`dd`,{children:c})]}),u&&(0,q.jsxs)(`div`,{children:[(0,q.jsx)(`dt`,{children:`Description`}),(0,q.jsx)(`dd`,{children:u})]}),!f&&!d&&!l&&!c&&!u&&(0,q.jsx)(`div`,{children:(0,q.jsx)(`dd`,{className:`ohel-info-none`,children:`No extra details for this clip.`})})]})]})]},o)}function K(){if(!z?.hit)return null;let e=z.hit,t=C_(e),n=w_(e),r=E_(e)||(O_(e)||D_(e)).split(` · `)[0]||``,i=na(e),a=y_(z.elapsedInClip)||`0:00`,s=y_(z.clipDuration),c=y_(Math.max(0,z.clipDuration-z.elapsedInClip));return(0,q.jsxs)(`div`,{className:`ohel-now`,children:[(0,q.jsxs)(`div`,{className:`ohel-now-head`,children:[(0,q.jsxs)(`span`,{className:`ohel-now-pill`,children:[(0,q.jsx)(`i`,{className:`ri-broadcast-fill`,"aria-hidden":!0}),`Playing now`]}),(0,q.jsx)(`span`,{className:`ohel-now-clock`,children:(()=>{let{before:e,sep:t,after:n}=v_(o);return(0,q.jsxs)(q.Fragment,{children:[e,t&&(0,q.jsx)(`span`,{className:`ohel-clock-colon`,children:t}),n]})})()})]}),(0,q.jsxs)(`a`,{className:`ohel-now-body`,href:i||void 0,onClick:t=>{i&&(t.preventDefault(),Ce(e))},children:[(0,q.jsxs)(`div`,{className:`ohel-now-thumb`,children:[t?(0,q.jsx)(`img`,{src:t,alt:``}):(0,q.jsx)(`span`,{className:`material-symbols-rounded`,"aria-hidden":!0,children:`movie`}),(0,q.jsx)(`span`,{className:`ohel-now-play`,"aria-hidden":!0,children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`play_arrow`})})]}),(0,q.jsxs)(`div`,{className:`ohel-now-copy`,children:[(0,q.jsx)(`h2`,{className:`ohel-now-title`,children:n}),r&&(0,q.jsx)(`div`,{className:`ohel-media-type`,children:r}),(0,q.jsx)(`div`,{className:`ohel-now-progress`,role:`progressbar`,"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":Math.round(le*100),children:(0,q.jsx)(`div`,{style:{width:`${le*100}%`}})}),(0,q.jsxs)(`div`,{className:`ohel-now-times`,children:[(0,q.jsxs)(`span`,{children:[a,s?` / ${s}`:``]}),c&&(0,q.jsxs)(`span`,{children:[c,` left`]})]})]})]})]})}let De=b===`search`?A.length:U.length,Oe=b===`calendar`?{prev:`Earlier clips`,next:`Later clips`}:{prev:`Newer clips`,next:`Earlier clips`};return(0,q.jsxs)(`div`,{className:`ohel-banner`,children:[(0,q.jsx)(`style`,{children:W_}),(0,q.jsx)(`div`,{className:`ohel-light-bg`,"aria-hidden":`true`,children:(0,q.jsx)(`div`,{className:`ohel-light-float`})}),c===`loading`&&(0,q.jsxs)(`div`,{className:`ohel-banner-msg`,children:[(0,q.jsx)(`span`,{className:`ohel-banner-spinner`,"aria-hidden":!0}),`Loadingâ¦`]}),c===`empty`&&(0,q.jsx)(`div`,{className:`ohel-banner-msg`,children:`Now Playing â no videos in the playlist yet`}),c===`error`&&(0,q.jsxs)(`div`,{className:`ohel-banner-msg ohel-banner-error`,children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,"aria-hidden":!0,
257children:`error`}),`Couldn't load (`,u,`)`]}),c===`ready`&&ce&&(0,q.jsxs)(q.Fragment,{children:[e.show_header_banner&&(0,q.jsxs)(`header`,{className:`ohel-promo-banner`,ref:h,children:[(0,q.jsx)(`div`,{className:`ohel-hero-image`,ref:g,style:{backgroundImage:`url("/ohel-hero.webp")`},"aria-hidden":!0}),(0,q.jsx)(`div`,{className:`ohel-hero-overlay`,"aria-hidden":!0}),(0,q.jsx)(`div`,{className:`ohel-hero-grain`,"aria-hidden":!0}),(0,q.jsx)(`span`,{className:`ohel-promo-bh`,lang:`he`,dir:`rtl`,children:`××´×`}),(0,q.jsx)(`div`,{className:`ohel-promo-copy`,ref:_,children:(0,q.jsxs)(`div`,{className:`ohel-hero-center`,children:[(0,q.jsxs)(`h1`,{children:[(0,q.jsx)(`span`,{className:`ohel-line`,children:[`Now`,`Playing`].map(e=>(0,q.jsx)(`span`,{className:`ohel-word`,children:(0,q.jsx)(`span`,{children:e})},e))}),(0,q.jsx)(`span`,{className:`ohel-line ohel-line-sub`,children:[`at`,`the`,`Ohel`].map(e=>(0,q.jsx)(`span`,{className:`ohel-word`,children:(0,q.jsx)(`span`,{children:e})},e))})]}),(0,q.jsxs)(`p`,{className:`ohel-promo-sponsor`,children:[`Video feed generously dedicated by`,(0,q.jsx)(`strong`,{children:`Michael and Ricki Verbitsky`})]})]})})]}),(0,q.jsxs)(`section`,{className:`ohel-schedule ohel-panel-${b}`,ref:y,children:[(0,q.jsxs)(`div`,{className:`ohel-schedule-toolbar`,role:`tablist`,"aria-label":`Browse the playlist`,children:[(0,q.jsxs)(`button`,{type:`button`,role:`tab`,id:`ohel-tab-recent`,"aria-selected":b===`next`,"aria-controls":`ohel-panel-body`,className:`ohel-schedule-tab${b===`next`?` on`:``}`,onClick:()=>we(`next`),children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,"aria-hidden":!0,children:`playlist_play`}),`Current`]}),(0,q.jsxs)(`button`,{type:`button`,role:`tab`,id:`ohel-tab-search`,"aria-selected":b===`search`,"aria-controls":`ohel-panel-body`,className:`ohel-schedule-tab${b===`search`?` on`:``}`,onClick:()=>we(`search`),children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,"aria-hidden":!0,children:`search`}),`Search`]}),(0,q.jsxs)(`button`,{type:`button`,role:`tab`,id:`ohel-tab-archive`,"aria-selected":b===`calendar`,"aria-controls":`ohel-panel-body`,className:`ohel-schedule-tab${b===`calendar`?` on`:``}`,onClick:()=>we(`calendar`),children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,"aria-hidden":!0,children:`calendar_month`}),`Archive`]})]}),(0,q.jsxs)(`div`,{className:`ohel-panel-body`,id:`ohel-panel-body`,role:`tabpanel`,"aria-labelledby":b===`next`?`ohel-tab-recent`:b===`search`?`ohel-tab-search`:`ohel-tab-archive`,children:[b===`next`&&K(),b===`search`&&(0,q.jsxs)(`div`,{className:`ohel-schedule-filters`,children:[(0,q.jsxs)(`label`,{className:`ohel-schedule-search`,children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,"aria-hidden":!0,children:`search`}),(0,q.jsx)(`input`,{value:S,onChange:e=>C(e.target.value),"aria-label":`Search Current Playlist`,placeholder:`Search Current Playlist by name, topicâ¦`,autoFocus:!0}),S&&(0,q.jsx)(`button`,{type:`button`,className:`ohel-search-clear`,"aria-label":`Clear search`,onClick:()=>C(``),children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,"aria-hidden":!0,children:`close`})})]}),S.trim()&&M===`ready`&&(0,q.jsx)(`p`,{className:`ohel-panel-note`,children:A.length===0?`No matches.`:`${A.length} ${A.length===1?`match`:`matches`} in the current playlist.`})]}),b===`calendar`&&(0,q.jsxs)(`div`,{className:`ohel-schedule-filters ohel-jewish-cal`,children:[(0,q.jsxs)(`div`,{className:`ohel-archive-head`,children:[(0,q.jsx)(`strong`,{children:`Archive`}),(0,q.jsx)(`span`,{children:ve||`No dates yet`})]}),O&&!E.length&&(0,q.jsx)(`div`,{className:`ohel-skel-chips`,"aria-hidden":!0,children:Array.from({length:7},(e,t)=>(0,q.jsx)(`div`,{className:`ohel-skel-chip sheen`,style:{"--i":t}},t))}),!O&&E.length>0&&ge.length===0&&(0,q.jsx)(`div`,{className:`ohel-schedule-empty`,children:`No archived clips yet.`}),he.length>0&&(0,q.jsx)(`div`,{className:`ohel-jewish-grid`,role:`group`,"aria-label":`Days with clips`,children:he.map(e=>{let t=H===e.key,n=me(e);return(0,q.jsxs)(`button`,{type:`button`,"aria-pressed":n?void 0:t,disabled:n,className:`ohel-jewish-day${t?` on`:``}${n?` rest`:``}`,onClick:n?void 0:()=>T(e.key),title:n?`${e.restLabel} â no clips`:e.hebrew||e.key,children:[(0,q.jsx)(`span`,{className:`ohel-jewish-dow`,children:Jg(e.gregorian)}),(0,q.jsx)(`span`,{className:`ohel-jewish-heb`,lang:`he`,dir:`rtl`,children:e.hebrewShort||`â`}),(0,q.jsx)(`span`,{className:`ohel-jewish-eng`,children:Yg(e.gregorian)}
257),n&&(0,q.jsx)(`span`,{className:`ohel-jewish-rest`,children:e.restLabel})]},e.key)})})]}),(0,q.jsx)(`div`,{className:`ohel-schedule-list`,ref:m,style:!te&&re.key===Se&&re.h?{"--list-min-h":`${re.h}px`}:void 0,children:b===`search`?(0,q.jsxs)(q.Fragment,{children:[!S.trim()&&(0,q.jsx)(`div`,{className:`ohel-schedule-empty`,children:`Search Current Playlist by clip name, topic, description, type, or date.`}),S.trim()&&M===`loading`&&Te(4),S.trim()&&M===`error`&&(0,q.jsx)(`div`,{className:`ohel-schedule-empty ohel-banner-error`,children:P||`Search failed`}),S.trim()&&M===`ready`&&A.length===0&&(0,q.jsx)(`div`,{className:`ohel-schedule-empty`,children:`No videos found.`}),xe.map(e=>Ee(e,{key:e.objectID||e.id||w_(e)}))]}):(0,q.jsxs)(q.Fragment,{children:[U.length===0&&(0,q.jsx)(`div`,{className:`ohel-schedule-empty`,children:b===`calendar`?`Nothing scheduled for this Hebrew day in the current playlist window.`:`The live clip is the first item in this playlist.`}),be.map(e=>Ee(e,{key:e.key||`${e.index}-${e.startMs}`}))]})}),De>ye&&(0,q.jsxs)(`div`,{className:`ohel-list-pager`,children:[(0,q.jsxs)(`button`,{type:`button`,className:`ohel-list-pager-btn`,disabled:G===0,"aria-label":Oe.prev,onClick:()=>I(Math.max(0,G-1)),children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,"aria-hidden":!0,children:`chevron_left`}),Oe.prev]}),(0,q.jsxs)(`span`,{className:`ohel-list-pager-status`,children:[`Page `,G+1,` of `,W]}),(0,q.jsxs)(`button`,{type:`button`,className:`ohel-list-pager-btn`,disabled:G>=W-1,"aria-label":Oe.next,onClick:()=>I(Math.min(W-1,G+1)),children:[Oe.next,(0,q.jsx)(`span`,{className:`material-symbols-rounded`,"aria-hidden":!0,children:`chevron_right`})]})]})]})]})]})]})}var W_=` 258 /* --------------------------------------------------------------- 259 Ohel "Now Playing" â same foundation (paper #ede9e9, amber #fc8712, 260 DM Serif hero), reorganised for clarity: 261 hero â the clip on screen right now â tabbed ways to browse 262 --------------------------------------------------------------- */ 263 .ohel-banner { 264 container-type: inline-size; 265 container-name: ohelbanner; 266 --font-ohel: 'Greed Standard', 'Greed', var(--font-headline), 'Frank Ruhl Libre', serif; 267 --paper: #ede9e9; 268 --card: #fff; 269 --ink: #17150f; 270 --ink-2: rgba(23, 21, 15, .62); 271 --ink-3: rgba(23, 21, 15, .44); 272 --line: rgba(23, 21, 15, .10); 273 --line-soft: rgba(23, 21, 15, .06); 274 --amber: #fc8712; 275 --amber-deep: #ef5d23; 276 --radius: 12px; 277 --radius-sm: 8px; 278 } 279 .ohel-banner, 280 .ohel-banner *:where(:not([class*="material-symbols"]):not([class*="ri-"])) { 281 font-family: var(--font-ohel); 282 } 283 .ohel-banner { 284 position: relative; 285 width: 100%; 286 max-width: 1100px; 287 margin: 0 auto; 288 padding: 12px; 289 box-sizing: border-box; 290 color: var(--ink); 291 background: transparent; 292 overflow: hidden; 293 display: flex; 294 flex-direction: column; 295 gap: 12px; 296 } 297 .ohel-banner *, .ohel-banner *::before, .ohel-banner *::after { box-sizing: border-box; } 298 .ohel-banner { max-width: min(1100px, 100%); } 299 .ohel-banner img { max-width: 100%; } 300 301 /* Ambient paper background */ 302 .ohel-light-bg { 303 position: fixed; 304 inset: 0; 305 z-index: -1; 306 pointer-events: none; 307 overflow: hidden; 308 background: var(--paper); 309 } 310 .ohel-light-bg::before { 311 content: ""; 312 position: absolute; 313 inset: 0; 314 background: 315 radial-gradient(900px 500px at 20% 15%, rgba(120, 180, 255, 0.12), transparent 60%), 316 radial-gradient(900px 500px at 80% 20%, rgba(252, 135, 18, 0.14), transparent 60%), 317 radial-gradient(700px 420px at 50% 80%, rgba(237, 233, 233, 0.9), transparent 65%); 318 filter: brightness(1.02) saturate(1.04); 319 } 320 .ohel-light-bg::after { 321 content: ""; 322 position: absolute; 323 inset: 0; 324 background: linear-gradient( 325 to bottom, 326 rgba(237, 233, 233, 0) 0%, 327 rgba(237, 233, 233, 0.25) 55%, 328 rgba(237, 233, 233, 0.65) 80%, 329 rgba(237, 233, 233, 0.96) 100% 330 ); 331 } 332 .ohel-light-float { 333 position: absolute; 334 inset: 0; 335 opacity: 0.28; 336 background-image: 337 radial-gradient(circle at 15% 20%, rgba(252, 135, 18, 0.28) 0 5px, transparent 6px), 338 radial-gradient(circle at 35% 60%, rgba(120, 180, 255, 0.28) 0 5px, transparent 6px), 339 radial-gradient(circle at 70% 30%, rgba(255, 200, 120, 0.28) 0 5px, transparent 6px), 340 radial-gradient(circle at 85% 70%, rgba(180, 120, 255, 0.22) 0 5px, transparent 6px); 341 background-size: 420px 420px; 342 animation: ohel-light-float 28s linear infinite; 343 } 344 @keyframes ohel-light-float { 345 from { transform: translateY(-4%); } 346 to { transform: translateY(4%); } 347 } 348 @media (prefers-reduced-motion: reduce) { 349 .ohel-light-float, .ohel-now-pill .ri-broadcast-fill { animation: none; } 350 } 351 352 /* ââ Entrance animation ââ 353 A quiet staggered reveal on first paint: the hero settles in with a slow 354 image bloom, then the panel and its cards follow. Purely decorative, so it 355 is skipped entirely under prefers-reduced-motion. */ 356 @keyframes ohelRise { 357 from { opacity: 0; transform: translateY(14px); } 358 to { opacity: 1; transform: none; } 359 } 360 @keyframes ohelFade { 361 from { opacity: 0; } 362 to { opacity: 1; } 363 } 364 @keyframes ohelHeroIn { 365 from { opacity: 0; transform: scale(1.10); } 366 to { opacity: 1; transform: scale(1.06); } 367 } 368 .ohel-promo-banner { 369 animation: ohelRise .62s cubic-bezier(.22, .68, .36, 1) both; 370 } 371 .ohel-promo-copy > * { 372 animation: ohelRise .6s cubic-bezier(.22, .68, .36, 1) both; 373 } 374 .ohel-promo-copy .ohel-hero-center { animation-delay: .14s; } 375 /* Once GSAP is driving, the CSS entrance would double up on the words. */ 376 .ohel-hero-anim .ohel-promo-copy .ohel-hero-center { animation: none; } 377 .ohel-promo-bh { animation: ohelFade .8s ease both .34s; } 378 .ohel-schedule { animation: ohelRise .6s cubic-bezier(.22, .68, .36, 1) both .12s; } 379 .ohel-now { animation: ohelRise .55s cubic-bezier(.22, .68, .36, 1) both .2s; } 380 /* Cards cascade in; the delay is capped so later pages never feel sluggish. */ 381 .ohel-schedule-list > .ohel-card { 382 animation: ohelRise .46s cubic-bezier(.22, .68, .36, 1) both; 383 } 384 .ohel-schedule-list > .ohel-card:nth-child(1) { animation-delay: .26s; } 385 .ohel-schedule-list > .ohel-card:nth-child(2) { animation-delay: .30s; } 386 .ohel-schedule-list > .ohel-card:nth-child(3) { animation-delay: .34s; } 387 .ohel-schedule-list > .ohel-card:nth-child(4) { animation-delay: .38s; } 388 .ohel-schedule-list > .ohel-card:nth-child(5) { animation-delay: .42s; } 389 .ohel-schedule-list > .ohel-card:nth-child(6) { animation-delay: .46s; } 390 .ohel-schedule-list > .ohel-card:nth-child(n+7) { animation-delay: .5s; } 391 392 @media (prefers-reduced-motion: reduce) { 393 .ohel-promo-banner, 394 .ohel-promo-banner .ohel-hero-image, 395 .ohel-promo-copy > *, 396 .ohel-promo-bh, 397 .ohel-schedule, 398 .ohel-now, 399 .ohel-schedule-list > .ohel-card { 400 animation: none; 401 } 402 } 403 404 /* ââ Status messages ââ */ 405 .ohel-banner-msg { 406 display: flex; 407 align-items: center; 408 justify-content: center; 409 gap: 10px; 410 min-height: 160px; 411 padding: 24px; 412 border: 1px solid var(--line); 413 border-radius: var(--radius); 414 background: var(--card); 415 color: var(--ink-2); 416 font-size: 15px; 417 font-weight: 500; 418 } 419 .ohel-banner-error { color: #b91c1c; } 420 .ohel-banner-spinner { 421 width: 18px; 422 height: 18px; 423 border-radius: 50%; 424 border: 2px solid rgba(0,0,0,0.12); 425 border-top-color: var(--amber); 426 animation: ohelSpin 0.8s linear infinite; 427 flex-shrink: 0; 428 } 429 @keyframes ohelSpin { to { transform: rotate(360deg); } } 430 431 /* The pinned hero fills the viewport so the recede/rise act has room. Only
432 applied on the wide, motion-friendly screens where the pin is armed. */ 433 @media (min-width: 900px) and (prefers-reduced-motion: no-preference) { 434 .ohel-promo-banner.ohel-hero-anim { 435 min-height: 100svh; 436 max-height: none; 437 border-radius: 0; 438 margin-left: calc(50% - 50vw); 439 margin-right: calc(50% - 50vw); 440 width: 100vw; 441 } 442 .ohel-promo-banner.ohel-hero-anim .ohel-promo-copy { 443 max-width: 1180px; 444 margin: 0 auto; 445 width: 100%; 446 } 447 } 448 449 /* ââ Loading: skeletons + thumbnail resolve âââââââââââââââââââââ 450 A sheen sweeps a neutral block rather than a spinner, so the panel holds 451 its final shape while data lands (the Algolia / Vercel pattern). */ 452 @keyframes ohelSheen { 453 from { background-position: 200% 0; } 454 to { background-position: -200% 0; } 455 } 456 @keyframes ohelSkelIn { 457 from { opacity: 0; transform: translateY(6px); } 458 to { opacity: 1; transform: none; } 459 } 460 .sheen { 461 background-image: linear-gradient( 462 100deg, 463 rgba(28,24,18,.055) 20%, 464 rgba(28,24,18,.11) 42%, 465 rgba(255,255,255,.55) 50%, 466 rgba(28,24,18,.11) 58%, 467 rgba(28,24,18,.055) 80% 468 ); 469 background-size: 200% 100%; 470 background-color: rgba(28,24,18,.05); 471 animation: ohelSheen 1.5s linear infinite; 472 border-radius: 7px; 473 } 474 .ohel-skeleton-list { display: flex; flex-direction: column; gap: 10px; padding: 2px 0; } 475 .ohel-skel-row { 476 display: flex; 477 gap: 13px; 478 align-items: flex-start; 479 padding: 9px; 480 border-radius: 12px; 481 background: rgba(255,255,255,.5); 482 border: 1px solid rgba(28,24,18,.06); 483 animation: ohelSkelIn .45s cubic-bezier(.22,.68,.36,1) both; 484 animation-delay: calc(var(--i, 0) * 65ms); 485 } 486 .ohel-skel-thumb { width: 124px; aspect-ratio: 16 / 9; border-radius: 9px; flex-shrink: 0; } 487 .ohel-skel-copy { flex: 1; display: flex; flex-direction: column; gap: 8px; padding-top: 4px; min-width: 0; } 488 .ohel-skel-line { height: 10px; border-radius: 5px; } 489 .ohel-skel-line.w80 { width: 80%; } 490 .ohel-skel-line.w55 { width: 55%; } 491 .ohel-skel-line.w35 { width: 35%; height: 8px; opacity: .75; } 492 493 .ohel-skel-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 0; } 494 .ohel-skel-chip { 495 width: 88px; height: 62px; border-radius: 11px; 496 animation: ohelSheen 1.5s linear infinite, ohelSkelIn .4s cubic-bezier(.22,.68,.36,1) both; 497 animation-delay: 0s, calc(var(--i, 0) * 45ms); 498 } 499 500 /* Thumbnails resolve rather than pop: the tile holds a sheen until decode. */ 501 .ohel-card-thumb { position: relative; overflow: hidden; } 502 .ohel-thumb-img { 503 opacity: 0; 504 transform: scale(1.04); 505 transition: opacity .5s ease, transform .7s cubic-bezier(.22,.68,.36,1); 506 } 507 .ohel-thumb-img.ready { opacity: 1; transform: none; } 508 509 @media (prefers-reduced-motion: reduce) { 510 .sheen, .ohel-skel-chip { animation: none; } 511 .ohel-skel-row { animation: none; } 512 .ohel-thumb-img { transition: none; opacity: 1; transform: none; } 513 } 514 515 /* ââ Hero ââ */ 516 /* Only the display headline departs from Greed Standard. */ 517 .ohel-promo-banner, 518 .ohel-promo-banner * { font-family: var(--font-ohel); } 519 .ohel-promo-banner .ohel-promo-copy h1, 520 .ohel-promo-banner .ohel-promo-copy h1 span { font-family: var(--font-ohel-title); } 521 522 /* Modern full-bleed hero: photo edge to edge, type sitting straight on the 523 image with no frame, plate or chrome behind it. */ 524 .ohel-promo-banner { 525 position: relative; 526 min-height: 440px; 527 max-height: 520px; 528 will-change: transform; 529 border-radius: var(--radius); 530 overflow: hidden; 531 background: linear-gradient(135deg, #f6f2ea 0%, #ece5d9 60%, #e4dccf 100%); 532 color: var(--ink); 533 display: flex; 534 align-items: flex-end; 535 flex-shrink: 0; 536 isolation: isolate; 537 border: 1px solid rgba(40, 36, 30, .10); 538 } 539 .ohel-hero-image { 540 position: absolute; 541 inset: 0; 542 z-index: 0; 543 background-size: cover; 544 /* Anchored low: the lower half of the photograph carries the subject. */ 545 background-position: center 88%; 546 transform: scale(1.06); 547 filter: brightness(1.06) saturate(.92); 548 animation: 549 ohelHeroIn 1.15s cubic-bezier(.22, .68, .36, 1) both, 550 ohelHeroDrift 44s ease-in-out 1.15s infinite alternate; 551 } 552 @keyframes ohelHeroDrift { 553 from { transform: scale(1.06); } 554 to { transform: scale(1.13); } 555 } 556 @media (prefers-reduced-motion: reduce) { 557 .ohel-hero-image { animation: none; } 558 } 559 560 /* Depth from the bottom up so the headline reads cleanly at any crop. */ 561 .ohel-hero-overlay { 562 position: absolute; 563 inset: 0; 564 z-index: 1; 565 background: 566 linear-gradient(90deg, rgba(250,247,240,.97) 0%, rgba(250,247,240,.88) 26%, rgba(250,247,240,.52) 50%, rgba(250,247,240,.10) 76%, rgba(250,247,240,0) 100%), 567 linear-gradient(0deg, rgba(250,247,240,.80) 0%, rgba(250,247,240,.34) 26%, rgba(250,247,240,0) 56%), 568 linear-gradient(180deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,0) 24%); 569 } 570 .ohel-hero-grain { 571 position: absolute; 572 inset: 0; 573 z-index: 2; 574 pointer-events: none; 575 opacity: .14; 576 background-image: radial-gradient(rgba(30,26,20,.20) .6px, transparent .6px); 577 background-size: 5px 5px; 578 mix-blend-mode: multiply; 579 } 580 .ohel-promo-copy { 581 position: relative; 582 z-index: 4; 583 width: 100%; 584 padding: 34px 44px 38px; 585 display: flex; 586 flex-direction: column; 587 align-items: flex-start; 588 text-align: left; 589 gap: 0; 590 } 591 .ohel-promo-bh { 592 position: absolute; 593 z-index: 4; 594 top: 16px; 595 right: 20px; 596 font-family: var(--font-ohel); 597 font-size: 14px; 598 font-weight: 500; 599 line-height: 1; 600 color: rgba(30,26,20,.60); 601 text-shadow: 0 1px 0 rgba(255,255,255,.7); 602 } 603 .ohel-hero-center { max-width: 34ch; } 604 .ohel-promo-banner .ohel-promo-copy h1 { 605 margin: 0; 606 color: #12100d; 607 font-weight: 400; 608 font-size: clamp(40px, 5.6cqi, 68px); 609 line-height: .94; 610 letter-spacing: -.035em; 611 text-wrap: balance; 612 text-shadow: 0 1px 0 rgba(255,255,255,.6); 613 } 614 .ohel-promo-banner .ohel-promo-copy h1 .ohel-line { 615 display: block; 616 } 617 .ohel-promo-banner .ohel-promo-copy h1 .ohel-line-sub { 618 font-size: .74em; 619 margin-top: 5px; 620 color: rgba(18,16,13,.78); 621 } 622 /* Mask + inner span: the inner rides up out of the mask on load. */ 623 .ohel-word { 624 display: inline-block; 625 overflow: hidden; 626 vertical-align: bottom; 627 padding-right: .16em; 628 /* Descenders would otherwise be clipped by the mask. */ 629 padding-bottom: .08em; 630 margin-bottom: -.08em; 631 } 632 .ohel-word > span { display: inline-block; will-change: transform; } 633 /* Dedication: plain type on the image, hairline above it instead of a plate. */ 634 .ohel-promo-sponsor { 635 display: flex; 636 flex-direction: column; 637 gap: 3px; 638 margin: 20px 0 0; 639 padding-top: 0; 640 font-size: 10px; 641 font-weight: 700; 642 letter-spacing: .15em; 643 text-transform: uppercase; 644 color: rgba(24,21,16,.68); 645 } 646 .ohel-promo-sponsor strong { 647 font-family: var(--font-ohel); 648 font-size: 16px; 649 font-weight: 600; 650 letter-spacing: -.015em; 651 text-transform: none; 652 color: #171512; 653 } 654 655 /* ââ The clip on screen right now: the page's anchor ââ */ 656 .ohel-now { 657 flex-shrink: 0; 658 margin: 14px 16px 0; 659 border: 1px solid var(--line-soft); 660 border-radius: var(--radius-sm); 661 background: var(--paper); 662 overflow: hidden; 663 transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; 664 } 665 .ohel-now:hover { 666 background: #fff; 667 border-color: var(--line); 668 box-shadow: 0 4px 14px rgba(68, 42, 15, .08); 669 } 670 .ohel-now-head { 671 display: flex; 672 align-items: center; 673 justify-content: space-between; 674 gap: 12px; 675 padding: 9px 14px; 676 border-bottom: 1px solid var(--line-soft); 677 } 678 .ohel-now-pill { 679 display: inline-flex; 680 align-items: center; 681 gap: 7px; 682 font-size: 11px; 683 font-weight: 700; 684 letter-spacing: .1em; 685 text-transform: uppercase; 686 color: var(--amber-deep); 687 } 688 .ohel-now-pill .ri-broadcast-fill { 689 font-size: 14px; 690 line-height: 1; 691 color: #e11d48; 692 animation: ohelLivePulse 1.9s ease-out infinite; 693 } 694 @keyframes ohelLivePulse { 695 0%, 100% { opacity: 1; } 696 50% { opacity: .45; } 697 } 698 .ohel-now-clock { 699 font-size: 13px; 700 font-weight: 600; 701 font-variant-numeric: tabular-nums; 702 color: var(--ink); 703 } 704 /* One blink per second, like a clock's seconds tick. */ 705 .ohel-clock-colon { animation: ohelColonBlink 1s step-end infinite; } 706 @keyframes ohelColonBlink { 707 0%, 50% { opacity: 1; } 708 50.01%, 100% { opacity: 0; } 709 } 710 @media (prefers-reduced-motion: reduce) { 711 .ohel-clock-colon { animation: none; } 712 } 713 .ohel-now-body { 714 display: flex; 715 align-items: center; 716 gap: 14px; 717 padding: 14px; 718 text-decoration: none; 719 color: inherit; 720 cursor: pointer; 721 } 722 .ohel-now:hover .ohel-now-title { color: var(--amber-deep); } 723 .ohel-now-body:hover .ohel-now-play { opacity: 1; transform: scale(1); } 724 .ohel-now-thumb { 725 position: relative; 726 width: 168px; 727 flex: 0 1 168px; 728 min-width: 0; 729 aspect-ratio: 16 / 9; 730 border-radius: 6px; 731 overflow: hidden; 732 background: #ddd9d9; 733 display: flex; 734 align-items: center; 735 justify-content: center; 736 color: var(--ink-3); 737 } 738 .ohel-now-thumb img { width: 100%; height: 100%; object-fit: cover; } 739 .ohel-now-play, 740 .ohel-card-play { 741 position: absolute; 742 inset: 0; 743 margin: auto; 744 width: 46px; 745 height: 46px; 746 display: flex; 747 align-items: center; 748 justify-content: center; 749 border-radius: 50%; 750 background: rgba(23, 21, 15, .62); 751 color: #fff; 752 opacity: 0; 753 transform: scale(.86); 754 transition: opacity .18s ease, transform .18s ease; 755 } 756 .ohel-now-play .material-symbols-rounded { font-size: 28px; } 757 .ohel-now-copy { flex: 1 1 auto; min-width: 0; } 758 .ohel-now-times > span { white-space: nowrap; } 759 .ohel-now-title { 760 margin: 0; 761 /* See .ohel-card-title: index.css sizes h2 with !important under 900px. */ 762 font-size: clamp(18px, 1.9cqi, 22px) !important; 763 font-weight: 600; 764 line-height: 1.2; 765 letter-spacing: -.02em; 766 color: var(--ink); 767 transition: color .15s ease; 768 display: -webkit-box; 769 -webkit-line-clamp: 2; 770 -webkit-box-orient: vertical; 771 overflow: hidden; 772 } 773 .ohel-media-type { 774 margin-top: 4px; 775 color: var(--ink-3); 776 font-size: 11px; 777 font-weight: 700; 778 letter-spacing: .09em; 779 text-transform: uppercase; 780 line-height: 1.3; 781 display: -webkit-box; 782 -webkit-line-clamp: 1; 783 -webkit-box-orient: vertical; 784 overflow: hidden; 785 } 786 .ohel-now .ohel-media-type { font-size: 12px; margin-bottom: 14px; } 787 788 .ohel-now-progress { 789 height: 7px; 790 border-radius: 999px; 791 overflow: hidden; 792 background: rgba(23, 21, 15, .10); 793 } 794 .ohel-now-progress > div { 795 height: 100%; 796 border-radius: inherit; 797 background: linear-gradient(90deg, var(--amber), var(--amber-deep)); 798 transition: width .9s linear; 799 } 800 .ohel-now-times { 801 display: flex; 802 justify-content: space-between; 803 margin-top: 7px; 804 font-size: 12px; 805 font-weight: 600; 806 font-variant-numeric: tabular-nums; 807 color: var(--ink); 808 } 809 810 /* ââ Browse panel ââ */ 811 .ohel-schedule { 812 border: 1px solid var(--line); 813 border-radius: var(--radius); 814 background: var(--card); 815 overflow: hidden; 816 flex: 1 1 auto; 817 min-height: 0; 818 display: flex; 819 flex-direction: column; 820 } 821 .ohel-schedule-toolbar { 822 display: flex; 823 gap: 4px; 824 padding: 6px; 825 border-bottom: 1px solid var(--line-soft); 826 background: rgba(23, 21, 15, .03); 827 flex-shrink: 0; 828 } 829 .ohel-schedule-tab { 830 flex: 1 1 0; 831 min-width: 0; 832 display: inline-flex; 833 align-items: center; 834 justify-content: center; 835 gap: 7px; 836 min-height: 42px; 837 border: none; 838 border-radius: var(--radius-sm); 839 background: transparent; 840 color: var(--ink-2); 841 font-size: 14px; 842 font-weight: 600; 843 cursor: pointer; 844 transition: background .15s ease, color .15s ease, box-shadow .15s ease; 845 } 846 .ohel-schedule-tab .material-symbols-rounded { font-size: 19px; flex-shrink: 0; } 847 .ohel-schedule-tab:hover { background: rgba(23, 21, 15, .05); color: var(--ink); } 848 .ohel-schedule-tab.on { 849 background: var(--card); 850 color: var(--ink); 851 box-shadow: 0 1px 4px rgba(23, 21, 15, .12); 852 } 853 .ohel-schedule-tab.on .material-symbols-rounded { color: var(--amber); } 854 855 .ohel-panel-body { 856 display: flex; 857 flex-direction: column; 858 flex: 1 1 auto; 859 min-height: 0; 860 } 861 .ohel-panel-note { 862 margin: 0; 863 padding: 12px 16px 0; 864 font-size: 13px; 865 font-weight: 500; 866 color: var(--ink-3); 867 flex-shrink: 0; 868 } 869 .ohel-schedule-filters { 870 padding: 12px 16px 0; 871 flex-shrink: 0; 872 } 873 .ohel-schedule-filters .ohel-panel-note { padding: 8px 0 0; } 874 .ohel-panel-note-range { color: var(--ink-3);
874 opacity: .8; } 875 .ohel-schedule-search { 876 display: flex; 877 align-items: center; 878 gap: 10px; 879 background: var(--paper); 880 border: 1px solid var(--line); 881 border-radius: 999px; 882 padding: 0 8px 0 14px; 883 min-height: 44px; 884 transition: border-color .15s ease, box-shadow .15s ease; 885 } 886 .ohel-schedule-search:focus-within { 887 border-color: rgba(252, 135, 18, .55); 888 box-shadow: 0 0 0 3px rgba(252, 135, 18, .14); 889 } 890 .ohel-schedule-search > .material-symbols-rounded { 891 color: var(--ink-3); 892 font-size: 20px; 893 } 894 .ohel-schedule-search input { 895 flex: 1; 896 border: none; 897 outline: none; 898 background: transparent; 899 font-size: 15px; 900 color: var(--ink); 901 min-width: 0; 902 } 903 .ohel-search-clear { 904 display: inline-flex; 905 align-items: center; 906 justify-content: center; 907 width: 30px; 908 height: 30px; 909 border: 0; 910 border-radius: 50%; 911 background: transparent; 912 color: var(--ink-3); 913 cursor: pointer; 914 } 915 .ohel-search-clear:hover { background: rgba(23, 21, 15, .08); color: var(--ink); } 916 .ohel-search-clear .material-symbols-rounded { font-size: 18px; } 917 918 /* Day picker */ 919 .ohel-jewish-cal { 920 display: flex; 921 flex-direction: column; 922 gap: 10px; 923 } 924 .ohel-archive-head { 925 display: flex; 926 align-items: baseline; 927 justify-content: space-between; 928 gap: 12px; 929 } 930 .ohel-archive-head strong { font-size: 14px; font-weight: 700; } 931 .ohel-archive-head span { color: var(--ink); font-size: 12px; font-weight: 600; } 932 .ohel-jewish-grid { 933 display: flex; 934 gap: 8px; 935 overflow-x: auto; 936 padding: 2px 1px 8px; 937 scroll-snap-type: x proximity; 938 scrollbar-width: thin; 939 -webkit-overflow-scrolling: touch; 940 } 941 .ohel-jewish-day { 942 display: flex; 943 flex-direction: column; 944 align-items: center; 945 gap: 3px; 946 min-width: 96px; 947 min-height: 66px; 948 padding: 9px 6px; 949 border: 1px solid var(--line); 950 border-radius: var(--radius-sm); 951 background: var(--paper); 952 cursor: pointer; 953 color: var(--ink); 954 scroll-snap-align: start; 955 transition: border-color .15s ease, background .15s ease, color .15s ease; 956 } 957 .ohel-jewish-day:hover { border-color: rgba(252, 135, 18, .5); background: #fff; } 958 .ohel-jewish-day.rest { 959 cursor: default; 960 opacity: .58; 961 background: repeating-linear-gradient( 962 -45deg, #f4f4f6 0 6px, #ececed 6px 12px 963 ); 964 border-color: rgba(0, 0, 0, .08); 965 border-style: dashed; 966 } 967 .ohel-jewish-day.rest:hover { 968 border-color: rgba(0, 0, 0, .08); 969 background: repeating-linear-gradient( 970 -45deg, #f4f4f6 0 6px, #ececed 6px 12px 971 ); 972 } 973 .ohel-jewish-rest { 974 display: block; 975 margin-top: 2px; 976 font-size: 9px; 977 font-weight: 700; 978 letter-spacing: .02em; 979 text-transform: uppercase; 980 color: #6b6b73; 981 white-space: nowrap; 982 overflow: hidden; 983 text-overflow: ellipsis; 984 } 985 .ohel-jewish-day.on { 986 background: var(--amber); 987 border-color: var(--amber); 988 color: #fff; 989 } 990 .ohel-jewish-dow { 991 font-size: 10px; 992 font-weight: 700; 993 letter-spacing: .06em; 994 text-transform: uppercase; 995 opacity: .62; 996 } 997 .ohel-jewish-day.on .ohel-jewish-dow { opacity: .92; } 998 .ohel-jewish-heb { 999 font-family: var(--font-ohel); 1000 font-size: 14px; 1001 font-weight: 700; 1002 line-height: 1.2; 1003 } 1004 .ohel-jewish-eng { font-size: 11px; font-weight: 600; } 1005 .ohel-jewish-day.on .ohel-jewish-eng { color: #fff; } 1006 1007 /* ââ Clip cards ââ */ 1008 .ohel-schedule-list { 1009 flex: 1 1 auto; 1010 min-height: 0; 1011 display: grid; 1012 grid-template-columns: repeat(2, minmax(0, 1fr)); 1013 align-content: start; 1014 gap: 10px; 1015 padding: 14px 16px 16px; 1016 /* Hold a full page's height so a short final page can't collapse the 1017 layout and jump the pager out from under the cursor. */ 1018 min-height: var(--list-min-h, auto); 1019 } 1020 .ohel-panel-body > .ohel-schedule-filters + .ohel-schedule-list { padding-top: 12px; } 1021 .ohel-schedule-empty { 1022 grid-column: 1 / -1; 1023 display: flex; 1024 flex-direction: column; 1025 align-items: center; 1026 justify-content: center; 1027 gap: 8px; 1028 min-height: 180px; 1029 padding: 32px 16px; 1030 text-align: center; 1031 color: var(--ink-3); 1032 font-size: 14px; 1033 font-weight: 500; 1034 } 1035 .ohel-schedule-empty .material-symbols-rounded { font-size: 30px; opacity: .5; } 1036 1037 .ohel-card { 1038 position: relative; 1039 display: flex; 1040 align-items: stretch; 1041 border: 1px solid var(--line-soft); 1042 border-radius: var(--radius-sm); 1043 background: var(--paper); 1044 transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease; 1045 } 1046 .ohel-card:hover { 1047 background: #fff; 1048 border-color: var(--line); 1049 box-shadow: 0 4px 14px rgba(68, 42, 15, .08); 1050 } 1051 .ohel-card:hover .ohel-card-play { opacity: 1; transform: scale(1); } 1052 .ohel-card:hover .ohel-card-title { color: var(--amber-deep); } 1053 .ohel-card-main { 1054 flex: 1; 1055 min-width: 0; 1056 display: flex; 1057 align-items: center; 1058 gap: 12px; 1059 padding: 11px; 1060 min-height: 90px; 1061 text-decoration: none; 1062 color: inherit; 1063 cursor: pointer; 1064 border-radius: inherit; 1065 } 1066 .ohel-card-main:focus-visible, 1067 .ohel-now-body:focus-visible, 1068 .ohel-schedule-tab:focus-visible, 1069 .ohel-jewish-day:focus-visible, 1070 .ohel-info-btn:focus-visible, 1071 .ohel-list-pager-btn:focus-visible { 1072 outline: 2px solid var(--amber); 1073 outline-offset: 2px; 1074 } 1075 .ohel-card-thumb { 1076 position: relative; 1077 width: 116px; 1078 flex: 0 1 116px; 1079 min-width: 0; 1080 aspect-ratio: 16 / 9; 1081 border-radius: 6px; 1082 overflow: hidden; 1083 background: #ddd9d9; 1084 display: flex; 1085 align-items: center; 1086 justify-content: center; 1087 color: var(--ink-3); 1088 } 1089 .ohel-card-thumb img { width: 100%; height: 100%; object-fit: cover; } 1090 .ohel-card-play { width: 34px; height: 34px; } 1091 .ohel-card-play .material-symbols-rounded { font-size: 22px; } 1092 .ohel-card-dur { 1093 position: absolute; 1094 right: 4px; 1095 bottom: 4px; 1096 z-index: 2; 1097 padding: 2px 5px; 1098 border-radius: 3px; 1099 background: rgba(0, 0, 0, .78); 1100 color: #fff; 1101 font-size: 10px; 1102 font-weight: 700; 1103 line-height: 1.2; 1104 font-variant-numeric: tabular-nums; 1105 } 1106 .ohel-card-copy { 1107 flex: 1; 1108 min-width: 0; 1109 display: flex; 1110 flex-direction: column; 1111 gap: 6px; 1112 } 1113 .ohel-card-title { 1114 margin: 0;
1115 /* !important: index.css sets h1-h4 sizes with !important under 900px, 1116 which would otherwise blow these titles up to 20.8px on phones. */ 1117 font-size: 15px !important; 1118 font-weight: 600; 1119 line-height: 1.25; 1120 letter-spacing: -.015em; 1121 color: var(--ink); 1122 transition: color .15s ease; 1123 display: -webkit-box; 1124 -webkit-line-clamp: 2; 1125 -webkit-box-orient: vertical; 1126 overflow: hidden; 1127 } 1128 .ohel-card-meta { 1129 display: flex; 1130 flex-wrap: wrap; 1131 align-items: center; 1132 gap: 6px 10px; 1133 font-size: 12px; 1134 color: var(--ink-3); 1135 } 1136 .ohel-card-when { 1137 font-weight: 600; 1138 font-variant-numeric: tabular-nums; 1139 color: var(--ink); 1140 } 1141 .ohel-card-type { 1142 padding: 2px 8px; 1143 border-radius: 999px; 1144 background: rgba(23, 21, 15, .07); 1145 font-size: 10px; 1146 font-weight: 700; 1147 letter-spacing: .07em; 1148 text-transform: uppercase; 1149 color: var(--ink-2); 1150 } 1151 1152 .ohel-info-btn { 1153 align-self: center; 1154 flex-shrink: 0; 1155 width: 34px; 1156 height: 34px; 1157 margin-right: 8px; 1158 display: inline-flex; 1159 align-items: center; 1160 justify-content: center; 1161 border: 0; 1162 border-radius: 50%; 1163 background: transparent; 1164 color: var(--ink-3); 1165 cursor: pointer; 1166 transition: background .15s ease, color .15s ease; 1167 } 1168 .ohel-info-btn:hover, 1169 .ohel-info-btn[aria-expanded="true"] { background: rgba(23, 21, 15, .09); color: var(--ink); } 1170 .ohel-info-btn .material-symbols-rounded { font-size: 20px; } 1171 1172 /* Floating popover anchored to the card's info button. */ 1173 .ohel-info-panel { 1174 position: absolute; 1175 z-index: 30; 1176 top: calc(100% - 6px); 1177 right: 8px; 1178 width: min(330px, calc(100% - 16px)); 1179 max-height: 260px; 1180 overflow-y: auto; 1181 padding: 14px 30px 14px 14px; 1182 border: 1px solid var(--line); 1183 border-radius: var(--radius-sm); 1184 background: #fff; 1185 color: var(--ink); 1186 box-shadow: 0 14px 34px rgba(23, 21, 15, .22); 1187 cursor: default; 1188 } 1189 /* Flip above the card for the last row so it stays in view. */ 1190 .ohel-schedule-list > .ohel-card:nth-last-child(-n+3) .ohel-info-panel { 1191 top: auto; 1192 bottom: calc(100% - 6px); 1193 } 1194 .ohel-card:has(.ohel-info-panel) { z-index: 31; } 1195 .ohel-info-close { 1196 position: absolute; 1197 top: 4px; 1198 right: 8px; 1199 border: 0; 1200 background: transparent; 1201 color: var(--ink-3); 1202 font-size: 21px; 1203 line-height: 1; 1204 cursor: pointer; 1205 padding: 2px 4px; 1206 } 1207 .ohel-info-close:hover { color: var(--ink); } 1208 .ohel-info-panel dl { margin: 0; display: grid; gap: 9px; } 1209 .ohel-info-panel dl > div { display: grid; gap: 2px; } 1210 .ohel-info-panel dt { 1211 color: var(--ink-3); 1212 font-size: 9px; 1213 font-weight: 800; 1214 letter-spacing: .1em; 1215 text-transform: uppercase; 1216 } 1217 .ohel-info-panel dd { margin: 0; font-size: 13px; line-height: 1.4; color: var(--ink-2); } 1218 .ohel-info-none { font-style: italic; } 1219 1220 /* ââ Pager ââ */ 1221 .ohel-list-pager { 1222 display: flex; 1223 flex-wrap: wrap; 1224 align-items: center; 1225 justify-content: space-between; 1226 gap: 10px; 1227 padding: 12px 16px; 1228 border-top: 1px solid var(--line-soft); 1229 background: rgba(23, 21, 15, .03); 1230 flex-shrink: 0; 1231 } 1232 .ohel-list-pager-btn { 1233 display: inline-flex; 1234 align-items: center; 1235 gap: 4px; 1236 min-height: 40px; 1237 padding: 0 16px; 1238 border: 1px solid var(--line); 1239 border-radius: 999px; 1240 background: var(--card); 1241 color: var(--ink); 1242 font-size: 14px; 1243 font-weight: 600; 1244 cursor: pointer; 1245 transition: border-color .15s ease, background .15s ease; 1246 } 1247 .ohel-list-pager-btn:hover:not(:disabled) { border-color: rgba(252, 135, 18, .5); } 1248 .ohel-list-pager-btn:disabled { opacity: .35; cursor: not-allowed; } 1249 .ohel-list-pager-btn .material-symbols-rounded { font-size: 20px; } 1250 .ohel-list-pager-status { 1251 font-size: 13px; 1252 font-weight: 600; 1253 color: var(--ink-3); 1254 font-variant-numeric: tabular-nums; 1255 } 1256 1257 /* ââ Narrow ââ */ 1258 @container ohelbanner (max-width: 800px) { 1259 .ohel-promo-banner { min-height: 400px; max-height: 460px; } 1260 .ohel-promo-copy { padding: 30px 32px 32px; } 1261 .ohel-now-thumb { width: 168px; flex-basis: 168px; } 1262 } 1263 1264 @container ohelbanner (max-width: 640px) { 1265 .ohel-schedule-list { grid-template-columns: minmax(0, 1fr); } 1266 .ohel-card-title { font-size: 14.5px !important; line-height: 1.3; } 1267 .ohel-promo-banner { min-height: 340px; max-height: 390px; }
1268 .ohel-promo-copy { padding: 24px 22px 26px; } 1269 .ohel-promo-bh { font-size: 13px; } 1270 .ohel-promo-banner .ohel-promo-copy h1 { font-size: clamp(32px, 10cqi, 46px) !important; } 1271 .ohel-promo-sponsor { margin-top: 15px; padding-top: 12px; font-size: 9px; letter-spacing: .13em; } 1272 .ohel-promo-sponsor strong { font-size: 14px; } 1273 .ohel-now { margin: 12px 12px 0; } 1274 .ohel-now-body { gap: 12px; padding: 12px; } 1275 .ohel-now-thumb { width: 132px; flex-basis: 132px; } 1276 .ohel-now-title { font-size: 17px !important; } 1277 .ohel-now .ohel-media-type { margin-bottom: 10px; } 1278 .ohel-now-head { padding: 9px 12px; } 1279 .ohel-now-pill { font-size: 10px; letter-spacing: .07em; } 1280 .ohel-schedule-tab { font-size: 13px; gap: 5px; } 1281 .ohel-schedule-tab .material-symbols-rounded { font-size: 17px; } 1282 .ohel-schedule-list { padding: 12px; gap: 8px; } 1283 .ohel-schedule-filters, .ohel-panel-note { padding-left: 12px; padding-right: 12px; } 1284 .ohel-list-pager { padding: 10px 12px; } 1285 .ohel-jewish-day { min-width: 84px; } 1286 } 1287 1288 @container ohelbanner (max-width: 440px) { 1289 .ohel-banner { padding: 8px; gap: 10px; } 1290 .ohel-promo-banner { min-height: 310px; max-height: 350px; } 1291 .ohel-promo-copy { padding: 20px 18px 22px; } 1292 .ohel-promo-banner .ohel-promo-copy h1 { font-size: 34px !important; } 1293 .ohel-promo-sponsor strong { font-size: 13px; } 1294 /* Stack so the title and progress bar get the full width. */ 1295 .ohel-now { margin: 10px 8px 0; } 1296 .ohel-now-body { flex-direction: column; align-items: stretch; gap: 12px; } 1297 .ohel-now-thumb { width: 100%; flex-basis: auto; } 1298 .ohel-now-play { width: 52px; height: 52px; opacity: .92; transform: none; } 1299 .ohel-now-title { font-size: 18px !important; } 1300 .ohel-card-thumb { width: 96px; flex-basis: 96px; } 1301 .ohel-card-title { font-size: 14px !important; } 1302 .ohel-list-pager-btn { padding: 0 12px; font-size: 13px; } 1303 .ohel-list-pager-status { order: 3; width: 100%; text-align: center; } 1304 /* Icon-only tabs would be ambiguous, so keep labels and shrink the type. */ 1305 .ohel-schedule-tab { font-size: 12px; gap: 4px; } 1306 } 1307 1308 /* ââ Embeds ââ */ 1309 /* Embed mode is the standalone page, edge to edge in the host iframe. It 1310 flows to its natural height and scrolls if the frame is shorter â the host 1311 picks the height, the page does not resize itself to fit. */ 1312 html.ohel-in-iframe, 1313 html.ohel-in-iframe body { 1314 margin: 0 !important; 1315 padding: 0 !important; 1316 background: #ede9e9 !important; 1317 } 1318 html.ohel-in-iframe .ohel-banner { max-width: none; } 1319 html.ohel-in-iframe .ohel-light-bg { position: fixed; } 1320 /* Embed mode only fills the host iframe â it deliberately does NOT restyle 1321 the hero, live card or pager. The embed must look identical to the 1322 standalone page; the only thing that varies is how many clips fit, which 1323 the fit measurement handles. */ 1324 1325 /* Banner-only embed: hero fills the short iframe. */ 1326 html.ohel-embed, 1327 html.ohel-embed body { 1328 height: 100% !important; 1329 overflow: hidden !important; 1330 margin: 0 !important; 1331 padding: 0 !important; 1332 background: #ede9e9 !important; 1333 } 1334 html.ohel-embed .ohel-banner { 1335 max-width: none; 1336 height: 100%; 1337 min-height: 0; 1338 padding: 10px; 1339 overflow: hidden; 1340 } 1341 html.ohel-embed .ohel-light-bg { position: absolute; } 1342 html.ohel-embed .ohel-schedule, 1343 html.ohel-embed .ohel-now { display: none !important; } 1344 html.ohel-embed .ohel-promo-banner { 1345 flex: 1; 1346 width: 100%; 1347 min-height: 0; 1348 max-height: none; 1349 } 1350 html.ohel-embed .ohel-banner-msg { min-height: 0; height: 100%; } 1351`,G_=`ohel_cms_password`;function K_(e){try{e?sessionStorage.setItem(G_,e):sessionStorage.removeItem(G_)}catch{}}function q_(){return{id:``,type:`clip`}}function J_(e){return String(e||``).split(/[\s,;]+/).map(e=>e.trim().replace(/^(video_clip-|produced_video-|clip-|produced-)/i,``)).filter(e=>/^\d+$/.test(e))}function Y_(){let[e,t]=(0,v.useState)(``),[n,r]=(0,v.useState)(!1),[i,a]=(0,v.useState)(``),[o,s]=(0,v.useState)([q_()]),[c,l]=(0,v.useState)(0),[u,d]=(0,v.useState)(`manual`),[f,p]=(0,v.useState)(!0),[m,h]=(0,v.useState)(!1),[g,_]=(0,v.useState)(``),[y,b]=(0,v.useState)(null),[x,S]=(0,v.useState)(``),[C,w]=(0,v.useState)(`clip`),[T,E]=(0,v.useState)(`idle`),[D,O]=(0,v.useState)(``),[k,A]=(0,v.useState)(``);async function j(n=e){let i=(n||``).trim();if(!i)return r(!1),E(`error`),O(`Enter the CMS password.`),!1;E(`loading`),O(``);try{let e=await fetch(`/api/ohel-playing`,{headers:{"X-CMS-Password":i},cache:`no-store`}),n=await e.json().catch(()=>({}));if(e.status===401)return K_(``),r(!1),s([q_()]),l(0),a(``),E(`error`),O(`Wrong password.`),!1;if(!e.ok)return E(`error`),O(n.error||`Load failed (${e.status})`),!1;n.warning?A(n.warning):A(``),d(n.source===`live`?`live`:`manual`),p(n.show_header_banner!==!1),h(!!n.live_configured),_(n.live_title?String(n.live_title):``),b(n.now_playing||null),a(n.start_at?String(n.start_at).slice(0,19):``);let o=Array.isArray(n.items)&&n.items.length?n.items.map(e=>({id:String(e.id||``),type:e.type===`produced`?`produced`:`clip`}
1351)):[q_()];s(o);let c=Number(n.live_index);return l(Number.isFinite(c)&&c>=0&&c<o.length?Math.floor(c):0),K_(i),t(i),r(!0),E(`idle`),O(``),!0}catch(e){return r(!1),E(`error`),O(String(e?.message||e)),!1}}(0,v.useEffect)(()=>{K_(``),r(!1)},[]);async function M(t){t.preventDefault(),await j(e)}function N(e,t){s(n=>n.map((n,r)=>r===e?{...n,...t}:n))}function P(){s(e=>[...e,q_()])}function ee(e){let t=J_(x);if(!t.length){E(`error`),O(`Paste at least one numeric ID (one per line is fine).`);return}let n=t.map(e=>({id:e,type:C===`produced`?`produced`:`clip`}));e===`replace`?(s(n),l(0),O(`Replaced playlist with ${n.length} ID${n.length===1?``:`s`}. Pick Live, then Save.`)):(s(e=>[...e.filter(e=>String(e.id||``).trim()),...n]),O(`Added ${n.length} ID${n.length===1?``:`s`}. Pick Live, then Save.`)),S(``),E(`idle`)}function F(e){s(t=>{let n=t.length<=1?[q_()]:t.filter((t,n)=>n!==e);return l(t=>n.length===0?0:t===e?Math.min(t,n.length-1):t>e?t-1:t),n})}function I(e,t){s(n=>{let r=[...n],i=e+t;return i<0||i>=r.length?n:([r[e],r[i]]=[r[i],r[e]],l(t=>t===e?i:t===i?e:t),r)})}async function te(t){t.preventDefault();let n=e.trim();if(!n){r(!1),O(`Enter the CMS password to save.`),E(`error`);return}let p=o.map(e=>({id:String(e.id||``).trim().replace(/^(video_clip-|produced_video-)/i,``),type:e.type===`produced`?`produced`:`clip`})).filter(e=>e.id),g=i.trim()||null;g&&!g.endsWith(`Z`)&&!/[+-]\d{2}:\d{2}$/.test(g)&&(g=new Date(g).toISOString());let v=u===`live`;if(v&&!m){E(`error`),O(`Live mode needs the OHEL_LIVE_PLAYLIST_URL secret in Cloudflare Pages.`);return}E(`saving`),O(``);try{let e=await fetch(`/api/ohel-playing`,{method:`PUT`,headers:{"Content-Type":`application/json`,"X-CMS-Password":n},body:JSON.stringify(v?{source:`live`,items:p,live_index:0,start_at:null,live_started_at:null,show_header_banner:f}:{source:`manual`,start_at:g,live_index:Math.min(Math.max(0,c),Math.max(0,p.length-1)),live_started_at:new Date().toISOString(),show_header_banner:f,items:p})}),t=await e.json().catch(()=>({}));if(!e.ok){E(`error`),O(t.error||`Save failed (${e.status})`),e.status===401&&(r(!1),K_(``));return}K_(n),r(!0),d(t.playlist?.source===`live`?`live`:`manual`),h(!!t.playlist?.live_configured),_(t.playlist?.live_title?String(t.playlist.live_title):``),b(t.playlist?.now_playing||null),t.playlist?.warning?A(t.playlist.warning):A(``);let i=t.playlist?.items?.length?t.playlist.items.map(e=>({id:String(e.id),type:e.type===`produced`?`produced`:`clip`})):[q_()];s(i);let o=Number(t.playlist?.live_index);if(l(Number.isFinite(o)&&o>=0&&o<i.length?Math.floor(o):0),t.playlist?.start_at){let e=new Date(t.playlist.start_at);Number.isNaN(e.getTime())||a(e.toISOString().slice(0,19))}if(E(`saved`),t.playlist?.source===`live`){let e=t.playlist.now_playing;O(`Live mode on · tracking player in real time`+(e?.name||e?.id?` · now: ${e.name||e.id}`:``)+` · ${i.length} clips`)}else{let e=i[Math.min(c,i.length-1)]?.id;O(`Saved ${p.length} video${p.length===1?``:`s`}. Live: ${e||`â`}.`)}}catch(e){E(`error`),O(String(e?.message||e))}}function ne(){K_(``),t(``),r(!1),s([q_()]),l(0),d(`manual`),p(!0),h(!1),_(``),b(null),a(``),S(``),A(``),O(``),E(`idle`)}let re=o.filter(e=>String(e.id||``).trim()).length,ie=o[c]?.id||`â`;return(0,q.jsxs)(`div`,{className:`ohel-cms`,children:[(0,q.jsx)(`style`,{children:X_}),n?(0,q.jsxs)(`div`,{className:`ohel-cms-shell`,children:[(0,q.jsxs)(`header`,{className:`ohel-cms-header`,children:[(0,q.jsxs)(`div`,{children:[(0,q.jsxs)(`div`,{className:`ohel-cms-live-label`,children:[(0,q.jsx)(`span`,{className:`ohel-cms-dot`,"aria-hidden":!0}),`Playing Now`]}),(0,q.jsx)(`h1`,{className:`ohel-cms-title`,children:`Playlist CMS`}),(0,q.jsx)(`p`,{className:`ohel-cms-sub`,children:u===`live`?`Live · ${g||`player feed`}${y?.name||y?.id?` · now ${y.name||y.id}`:``} · ${re} clips`:`${re} video${re===1?``:`s`} · Live #${c+1}${ie?` · ID ${ie}`:``}`})]}),(0,q.jsxs)(`div`,{className:`ohel-cms-header-actions`,children:[(0,q.jsx)(`a`,{href:`/ohel-playing`,className:`ohel-cms-btn ghost`,target:`_blank`,rel:`noreferrer`,children:`Preview banner`}),(0,q.jsx)(`button`,{type:`button`,onClick:ne,className:`ohel-cms-btn ghost`,children:`Lock`})]})]}
1351),k&&(0,q.jsxs)(`div`,{className:`ohel-cms-banner warn`,children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`warning`}),k]}),(0,q.jsxs)(`form`,{onSubmit:te,className:`ohel-cms-form`,children:[(0,q.jsx)(`section`,{className:`ohel-cms-card`,children:(0,q.jsxs)(`div`,{className:`ohel-cms-card-head`,children:[(0,q.jsxs)(`div`,{children:[(0,q.jsx)(`h2`,{className:`ohel-cms-label`,children:`Header banner`}),(0,q.jsx)(`p`,{className:`ohel-cms-hint`,children:`Show âNow Playing at the Ohelâ above the playlist.`})]}),(0,q.jsx)(`button`,{type:`button`,role:`switch`,"aria-checked":f,"aria-label":`Show header banner`,className:`ohel-cms-toggle${f?` on`:``}`,onClick:()=>p(e=>!e),children:(0,q.jsx)(`span`,{className:`ohel-cms-toggle-knob`})})]})}),(0,q.jsxs)(`section`,{className:`ohel-cms-card`,children:[(0,q.jsx)(`div`,{className:`ohel-cms-card-head`,children:(0,q.jsx)(`h2`,{className:`ohel-cms-label`,children:`Playlist source`})}),(0,q.jsxs)(`div`,{className:`ohel-cms-toggle-row`,children:[(0,q.jsx)(`span`,{className:u===`manual`?`on`:``,children:`Manual`}),(0,q.jsx)(`button`,{type:`button`,role:`switch`,"aria-checked":u===`live`,"aria-label":`Use live player data`,className:`ohel-cms-toggle${u===`live`?` on`:``}`,onClick:()=>d(e=>e===`live`?`manual`:`live`),children:(0,q.jsx)(`span`,{className:`ohel-cms-toggle-knob`})}),(0,q.jsx)(`span`,{className:u===`live`?`on`:``,children:`Live`})]}),(0,q.jsx)(`p`,{className:`ohel-cms-hint`,children:u===`live`?`Banner follows whatever is playing on the lobby player right now (secret playlist URL). List / Search / Archive use the same feed.`:`Edit the clip list below and pick which item is Live. Saving drives the banner plus List / Search / Archive (trailing-day schedule from your start time).`}),u===`live`&&!m&&(0,q.jsxs)(`div`,{className:`ohel-cms-banner warn`,style:{marginTop:12},children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`warning`}),`Set secret `,(0,q.jsx)(`code`,{children:`OHEL_LIVE_PLAYLIST_URL`}),` in Cloudflare Pages before enabling Live.`]}),u===`live`&&m&&(0,q.jsxs)(`div`,{className:`ohel-cms-live-fields`,children:[(0,q.jsxs)(`p`,{className:`ohel-cms-hint`,children:[g?(0,q.jsxs)(q.Fragment,{children:[`Feed: `,(0,q.jsx)(`strong`,{children:g}),`. `]}):null,y?(0,q.jsxs)(q.Fragment,{children:[`Now playing: `,(0,q.jsx)(`strong`,{children:y.name||y.id}),` (#`,(y.index??0)+1,`).`]}):`Save to start tracking the player.`,` `,(0,q.jsx)(`a`,{href:`https://videos.jem.tv/lobby-broadcast?playlist=lobby-broadcast-ohel&language=he`,target:`_blank`,rel:`noreferrer`,children:`Open player`})]}),re>0&&(0,q.jsxs)(`div`,{className:`ohel-cms-list live-preview`,children:[o.filter(e=>String(e.id||``).trim()).slice(0,12).map((e,t)=>(0,q.jsxs)(`div`,{className:`ohel-cms-item${y&&y.index===t?` is-live`:``}`,children:[(0,q.jsx)(`span`,{className:`ohel-cms-index`,children:t+1}),(0,q.jsx)(`span`,{className:`ohel-cms-input id`,style:{display:`flex`,alignItems:`center`},children:e.id}),(0,q.jsx)(`span`,{className:`ohel-cms-hint`,style:{margin:0},children:y&&y.index===t?`Now`:e.type})]},`${e.id}-${t}`)),re>12&&(0,q.jsxs)(`p`,{className:`ohel-cms-hint`,children:[`â¦and `,re-12,` more`]})]})]})]}),u===`manual`&&(0,q.jsxs)(q.Fragment,{children:[(0,q.jsxs)(`section`,{className:`ohel-cms-card`,children:[(0,q.jsx)(`div`,{className:`ohel-cms-card-head`,children:(0,q.jsx)(`h2`,{className:`ohel-cms-label`,children:`Paste ID list`})}),(0,q.jsx)(`textarea`,{value:x,onChange:e=>S(e.target.value),placeholder:`414 1352415 1353618 1354296 1355570`,rows:6,className:`ohel-cms-textarea`}),(0,q.jsxs)(`div`,{className:`ohel-cms-row-actions`,children:[(0,q.jsxs)(`select`,{value:C,onChange:e=>w(e.target.value),className:`ohel-cms-select`,children:[(0,q.jsx)(`option`,{value:`clip`,children:`clip`}),(0,q.jsx)(`option`,{value:`produced`,children:`produced`})]}),(0,q.jsx)(`button`,{type:`button`,onClick:()=>ee(`append`),className:`ohel-cms-btn primary`,children:`Add to playlist`}),(0,q.jsx)(`button`,{type:`button`,onClick:()=>ee(`replace`),className:`ohel-cms-btn ghost`,children:`Replace all`})]}),(0,q.jsx)(`p`,{className:`ohel-cms-hint`,children:`One ID per line (or commas). Duplicates are kept. Save when ready.`})]}),(0,q.jsxs)(`section`,{className:`ohel-cms-card`,children:[(0,q.jsxs)(`div`,{className:`ohel-cms-card-head`,children:[(0,q.jsxs)(`h2`,{className:`ohel-cms-label`,children:[`Videos · `,re]}),(0,q.jsx)(`button`,{type:`button`,onClick:P,className:`ohel-cms-btn ghost sm`,children:`+ Add row`})]}),(0,q.jsx)(`div`,{className:`ohel-cms-list`,children:o.map((e,t)=>(0,q.jsxs)(`div`,{className:`ohel-cms-item${c===t?` is-live`:``}`,children:[(0,q.jsx)(`button`,{type:`button`,className:`ohel-cms-live-btn${c===t?` on`:``}`,onClick:()=>l(t),title:`Set as Playing Now`,children:c===t?`Live`:`Set live`}),(0,q.jsx)(`span`,{className:`ohel-cms-index`,children:t+1}),(0,q.jsx)(`input`,{value:e.id,onChange:e=>N(t,{id:e.target.value}),placeholder:`ID`,className:`ohel-cms-input id`}
1355),(0,q.jsxs)(`select`,{value:e.type,onChange:e=>N(t,{type:e.target.value}),className:`ohel-cms-select`,children:[(0,q.jsx)(`option`,{value:`clip`,children:`clip`}),(0,q.jsx)(`option`,{value:`produced`,children:`produced`})]}),(0,q.jsxs)(`div`,{className:`ohel-cms-item-tools`,children:[(0,q.jsx)(`button`,{type:`button`,onClick:()=>I(t,-1),className:`ohel-cms-icon`,title:`Up`,children:`â`}),(0,q.jsx)(`button`,{type:`button`,onClick:()=>I(t,1),className:`ohel-cms-icon`,title:`Down`,children:`â`}),(0,q.jsx)(`button`,{type:`button`,onClick:()=>F(t),className:`ohel-cms-icon danger`,title:`Remove`,children:`Ã`})]})]},t))})]}),(0,q.jsxs)(`section`,{className:`ohel-cms-card subtle`,children:[(0,q.jsx)(`h2`,{className:`ohel-cms-label`,children:`Optional schedule start (UTC)`}),(0,q.jsx)(`input`,{type:`datetime-local`,value:i,onChange:e=>a(e.target.value),className:`ohel-cms-input`}),(0,q.jsx)(`p`,{className:`ohel-cms-hint`,children:`Fallback only. Choosing Live + Save starts that clip now and advances by duration.`})]})]}),(0,q.jsxs)(`div`,{className:`ohel-cms-footer`,children:[(0,q.jsx)(`button`,{type:`submit`,disabled:T===`saving`,className:`ohel-cms-btn primary lg`,children:T===`saving`?`Savingâ¦`:u===`live`?`Save live source`:`Save playlist`}),(0,q.jsx)(`button`,{type:`button`,onClick:()=>j(),className:`ohel-cms-btn ghost`,children:`Reload`}),T===`saved`&&(0,q.jsx)(`span`,{className:`ohel-cms-msg ok`,children:D}),T===`error`&&(0,q.jsx)(`span`,{className:`ohel-cms-msg error`,children:D}),T===`idle`&&D&&(0,q.jsx)(`span`,{className:`ohel-cms-msg muted`,children:D})]})]})]}):(0,q.jsx)(`div`,{className:`ohel-cms-lock`,children:(0,q.jsxs)(`div`,{className:`ohel-cms-lock-card`,children:[(0,q.jsxs)(`div`,{className:`ohel-cms-live-label`,children:[(0,q.jsx)(`span`,{className:`ohel-cms-dot`,"aria-hidden":!0}),`Private`]}),(0,q.jsx)(`h1`,{className:`ohel-cms-title`,children:`Playing Now CMS`}),(0,q.jsx)(`p`,{className:`ohel-cms-sub`,children:`Enter the password to manage the Ohel playlist.`}),(0,q.jsxs)(`form`,{onSubmit:M,className:`ohel-cms-lock-form`,children:[(0,q.jsx)(`label`,{className:`ohel-cms-label`,htmlFor:`cms-password`,children:`Password`}),(0,q.jsx)(`input`,{id:`cms-password`,type:`password`,value:e,onChange:e=>t(e.target.value),placeholder:`CMS password`,className:`ohel-cms-input`,autoFocus:!0,autoComplete:`current-password`}),(0,q.jsx)(`button`,{type:`submit`,disabled:T===`loading`,className:`ohel-cms-btn primary`,children:T===`loading`?`Checkingâ¦`:`Unlock`}),T===`error`&&D&&(0,q.jsx)(`div`,{className:`ohel-cms-msg error`,children:D})]})]})})]})}var X_=` 1356 .ohel-cms { 1357 min-height: 100vh; 1358 background: #0d0f0f; 1359 color: #fff; 1360 font-family: var(--font-body); 1361 box-sizing: border-box; 1362 } 1363 .ohel-cms *, .ohel-cms *::before, .ohel-cms *::after { box-sizing: border-box; } 1364 1365 .ohel-cms-lock { 1366 min-height: 100vh; 1367 display: flex; 1368 align-items: center; 1369 justify-content: center; 1370 padding: 24px; 1371 } 1372 .ohel-cms-lock-card { 1373 width: 100%; 1374 max-width: 420px; 1375 background: #111414; 1376 border: 1px solid rgba(255,255,255,0.08); 1377 border-radius: 4px; 1378 padding: 28px 24px 24px; 1379 } 1380 .ohel-cms-lock-form { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; } 1381 1382 .ohel-cms-shell { 1383 max-width: 760px; 1384 margin: 0 auto; 1385 padding: 28px 20px 96px; 1386 } 1387 .ohel-cms-header { 1388 display: flex; 1389 justify-content: space-between; 1390 align-items: flex-start; 1391 gap: 16px; 1392 margin-bottom: 22px; 1393 flex-wrap: wrap; 1394 } 1395 .ohel-cms-header-actions { display: flex; gap: 8px; flex-wrap: wrap; } 1396 1397 .ohel-cms-live-label { 1398 display: inline-flex; 1399 align-items: center; 1400 gap: 8px; 1401 font-size: 12px; 1402 font-weight: 700; 1403 letter-spacing: 0.1em; 1404 text-transform: uppercase; 1405 color: #fea438; 1406 margin-bottom: 8px; 1407 } 1408 .ohel-cms-dot { 1409 width: 8px; height: 8px; border-radius: 50%; background: #fea438; 1410 animation: ohelCmsPulse 1.8s ease-out infinite; 1411 } 1412 @keyframes ohelCmsPulse { 1413 0% { box-shadow: 0 0 0 0 rgba(254,164,56,0.55); } 1414 70% { box-shadow: 0 0 0 10px rgba(254,164,56,0); } 1415 100% { box-shadow: 0 0 0 0 rgba(254,164,56,0); } 1416 } 1417 .ohel-cms-title { 1418 margin: 0; 1419 font-size: 26px; 1420 font-weight: 700; 1421 letter-spacing: -0.02em; 1422 font-family: var(--font-headline); 1423 line-height: 1.15; 1424 } 1425 .ohel-cms-sub { 1426 margin: 8px 0 0; 1427 font-size: 14px; 1428 color: #b3b3b3; 1429 } 1430 1431 .ohel-cms-card { 1432 background: #111414; 1433 border: 1px solid rgba(255,255,255,0.08); 1434 border-radius: 4px; 1435 padding: 16px; 1436 margin-bottom: 14px; 1437 } 1438 .ohel-cms-card.subtle { background: rgba(255,255,255,0.02); } 1439 .ohel-cms-card-head { 1440 display: flex; 1441 align-items: center; 1442 justify-content: space-between; 1443 gap: 12px; 1444 margin-bottom: 12px; 1445 } 1446 .ohel-cms-label { 1447 margin: 0; 1448 font-size: 12px; 1449 font-weight: 700; 1450 letter-spacing: 0.1em; 1451 text-transform: uppercase; 1452 color: #b3b3b3; 1453 } 1454 .ohel-cms-toggle-row { 1455 display: flex; 1456 align-items: center; 1457 gap: 14px; 1458 margin-bottom: 10px; 1459 } 1460 .ohel-cms-toggle-row > span { 1461 font-size: 0.95rem; 1462 color: rgba(255,255,255,0.45); 1463 font-weight: 500; 1464 min-width: 4.5rem; 1465 } 1466 .ohel-cms-toggle-row > span:first-child { text-align: right; } 1467 .ohel-cms-toggle-row > span:last-child { text-align: left; } 1468 .ohel-cms-toggle-row > span.on { color: #fea438; } 1469 .ohel-cms-toggle { 1470 position: relative; 1471 width: 52px; 1472 height: 30px; 1473 border-radius: 999px; 1474 border: 1px solid rgba(255,255,255,0.18); 1475 background: rgba(255,255,255,0.08); 1476 cursor: pointer; 1477 padding: 0; 1478 flex-shrink: 0; 1479 transition: background 0.2s ease, border-color 0.2s ease; 1480 } 1481 .ohel-cms-toggle.on { 1482 background: rgba(254,164,56,0.35); 1483 border-color: #fea438; 1484 } 1485 .ohel-cms-toggle-knob { 1486 position: absolute; 1487 top: 3px; 1488 left: 3px; 1489 width: 22px; 1490 height: 22px; 1491 border-radius: 50%; 1492 background: #fff; 1493 transition: transform 0.2s ease; 1494 } 1495 .ohel-cms-toggle.on .ohel-cms-toggle-knob { 1496 transform: translateX(22px); 1497 background: #fea438; 1498 } 1499 .ohel-cms-live-fields { 1500 margin-top: 16px; 1501 display: grid; 1502 gap: 8px; 1503 } 1504 .ohel-cms-live-fields a { color: #fea438; } 1505 .ohel-cms-live-fields code, 1506 .ohel-cms-banner code { 1507 font-size: 0.85em; 1508 color: rgba(255,255,255,0.7); 1509 } 1510 .ohel-cms-hint { 1511 1512 margin: 10px 0 0; 1513 font-size: 13px; 1514 color: rgba(255,255,255,0.45); 1515 line-height: 1.4; 1516 } 1517 1518 .ohel-cms-input, 1519 .ohel-cms-textarea,
1520 .ohel-cms-select { 1521 width: 100%; 1522 background: rgba(255,255,255,0.05); 1523 border: 1px solid rgba(255,255,255,0.12); 1524 border-radius: 4px; 1525 padding: 12px 14px; 1526 color: #fff; 1527 font-size: 15px; 1528 font-family: var(--font-body); 1529 outline: none; 1530 } 1531 .ohel-cms-input:focus, 1532 .ohel-cms-textarea:focus, 1533 .ohel-cms-select:focus { 1534 border-color: rgba(254,164,56,0.55); 1535 } 1536 .ohel-cms-input.id { flex: 1; min-width: 0; margin: 0; } 1537 .ohel-cms-textarea { 1538 font-family: ui-monospace, SFMono-Regular, Menlo, monospace; 1539 resize: vertical; 1540 line-height: 1.45; 1541 min-height: 120px; 1542 margin-bottom: 10px; 1543 } 1544 .ohel-cms-select { width: auto; cursor: pointer; } 1545 1546 .ohel-cms-row-actions { 1547 display: flex; 1548 flex-wrap: wrap; 1549 gap: 8px; 1550 align-items: center; 1551 } 1552 1553 .ohel-cms-list { 1554 display: flex; 1555 flex-direction: column; 1556 gap: 8px; 1557 max-height: min(58vh, 560px); 1558 overflow: auto; 1559 padding-right: 2px; 1560 } 1561 .ohel-cms-item { 1562 display: flex; 1563 align-items: center; 1564 gap: 8px; 1565 padding: 8px; 1566 border-radius: 4px; 1567 border: 1px solid rgba(255,255,255,0.06); 1568 background: rgba(255,255,255,0.02); 1569 } 1570 .ohel-cms-item.is-live { 1571 border-color: rgba(254,164,56,0.45); 1572 background: rgba(254,164,56,0.08); 1573 } 1574 .ohel-cms-index { 1575 width: 28px; 1576 text-align: center; 1577 color: #b3b3b3; 1578 font-size: 12px; 1579 font-weight: 700; 1580 flex-shrink: 0; 1581 } 1582 .ohel-cms-live-btn { 1583 flex-shrink: 0; 1584 border: 1px solid rgba(255,255,255,0.12); 1585 background: transparent; 1586 color: #b3b3b3; 1587 border-radius: 4px; 1588 padding: 8px 10px; 1589 font-size: 11px; 1590 font-weight: 800; 1591 letter-spacing: 0.06em; 1592 text-transform: uppercase; 1593 cursor: pointer; 1594 font-family: var(--font-body); 1595 min-width: 72px; 1596 } 1597 .ohel-cms-live-btn.on { 1598 border-color: rgba(254,164,56,0.55); 1599 color: #fea438; 1600 background: rgba(254,164,56,0.12); 1601 } 1602 .ohel-cms-item-tools { display: flex; gap: 4px; flex-shrink: 0; } 1603 .ohel-cms-icon { 1604 width: 34px; 1605 height: 38px; 1606 border-radius: 4px; 1607 border: 1px solid rgba(255,255,255,0.12); 1608 background: rgba(255,255,255,0.04); 1609 color: #fff; 1610 cursor: pointer; 1611 font-size: 15px; 1612 } 1613 .ohel-cms-icon.danger:hover { border-color: rgba(239,68,68,0.5); color: #fca5a5; } 1614 1615 .ohel-cms-btn { 1616 display: inline-flex; 1617 align-items: center; 1618 justify-content: center; 1619 gap: 6px; 1620 border-radius: 4px; 1621 padding: 11px 16px; 1622 font-size: 14px; 1623 font-weight: 700; 1624 cursor: pointer; 1625 font-family: var(--font-body); 1626 text-decoration: none; 1627 border: none; 1628 } 1629 .ohel-cms-btn:disabled { opacity: 0.6; cursor: default; } 1630 .ohel-cms-btn.primary { background: #fea438; color: #000; } 1631 .ohel-cms-btn.ghost { 1632 background: rgba(255,255,255,0.05); 1633 color: #fff; 1634 border: 1px solid rgba(255,255,255,0.12); 1635 } 1636 .ohel-cms-btn.sm { padding: 8px 12px; font-size: 13px; } 1637 .ohel-cms-btn.lg { padding: 13px 20px; min-width: 150px; } 1638 1639 .ohel-cms-footer { 1640 position: sticky; 1641 bottom: 12px; 1642 display: flex; 1643 flex-wrap: wrap; 1644 gap: 10px; 1645 align-items: center; 1646 padding: 12px; 1647 margin-top: 8px; 1648 background: rgba(13,15,15,0.92); 1649 border: 1px solid rgba(255,255,255,0.08); 1650 border-radius: 4px; 1651 backdrop-filter: blur(8px); 1652 } 1653 1654 .ohel-cms-banner { 1655 display: flex; 1656 align-items: center; 1657 gap: 8px; 1658 margin-bottom: 14px; 1659 padding: 12px 14px; 1660 border-radius: 4px; 1661 font-size: 13px; 1662 font-weight: 600; 1663 } 1664 .ohel-cms-banner.warn { 1665 background: rgba(254,164,56,0.1); 1666 border: 1px solid rgba(254,164,56,0.35); 1667 color: #fea438; 1668 } 1669 .ohel-cms-msg { font-size: 13px; font-weight: 600; } 1670 .ohel-cms-msg.error { color: #fca5a5; } 1671 .ohel-cms-msg.ok { color: #86efac; } 1672 .ohel-cms-msg.muted { color: #b3b3b3; } 1673 1674 @media (max-width: 640px) { 1675 .ohel-cms-item { flex-wrap: wrap; } 1676 .ohel-cms-input.id { width: 100%; flex: 1 1 100%; } 1677 .ohel-cms-item-tools { margin-left: auto; } 1678 } 1679`,Z_=[{id:`all`,label:`All of Tishrei`,short:`All`,days:null,terms:[`Tishrei`]},{id:`rosh-hashana`,label:`Rosh Hashana`,short:`Rosh Hashana`,days:[1,2],terms:[`Rosh Hashana`,`Rosh Hashanah`,`Rosh Hashonoh`]}
1679,{id:`tzom-gedaliah`,label:`Tzom Gedaliah`,short:`Tzom Gedaliah`,days:[3],terms:[`Tzom Gedaliah`,`Fast of Gedaliah`]},{id:`aseres-yemei-teshuva`,label:`Aseres Yemei Teshuva`,short:`Ten Days`,days:[3,4,5,6,7,8,9],terms:[`Aseres Yemei Teshuva`,`Ten Days of Repentance`,`Teshuvah`,`Shabbos Shuva`,`Shabbat Shuva`]},{id:`yom-kippur`,label:`Yom Kippur`,short:`Yom Kippur`,days:[9,10],terms:[`Yom Kippur`,`Yom Kippurim`,`Kol Nidrei`,`Ne'ilah`,`Neilah`]},{id:`sukkos`,label:`Sukkos`,short:`Sukkos`,days:[14,15,16,17,18,19,20,21],terms:[`Sukkos`,`Sukkot`,`Succos`,`Lulav`,`Esrog`,`Etrog`,`Simchas Beis Hashoeva`,`Hoshana Raba`,`Hoshana Rabbah`]},{id:`simchas-torah`,label:`Simchas Torah`,short:`Simchas Torah`,days:[22,23],terms:[`Simchas Torah`,`Simchat Torah`,`Shmini Atzeres`,`Shemini Atzeret`,`Hakafos`,`Hakafot`]}];function Q_(e){return Z_.find(t=>t.days&&t.days.includes(e))||null}var $_=5711,ev=5752;function tv(e){let t=Number(e);return Number.isFinite(t)&&t>=5711&&t<=5752}function nv(e){return(e?.type||``).toLowerCase()===`good night`}function rv(e){return(e?.terms||[`Tishrei`]).join(` `)}function iv(e,t=null){return(e?.recorded_dates||[]).some(e=>e?.hebrew_month_name===`Tishrei`&&(!t||Number(e.hebrew_year)===Number(t)))}async function av({event:e,hebrewYear:t=null,typeFilter:n=null,hitsPerPage:r=24}={}){let i=[rv(e||Z_[0])];t&&i.push(String(t));let{hits:a}=await Vi(i.join(` `),{...n?{filters:n}:{},hitsPerPage:Math.max(r,60),wide:!0}).catch(()=>({hits:[]})),o=a||[],s=o.filter(e=>iv(e,t)),c=o.filter(e=>!iv(e,t));return Ev([...s,...c]).slice(0,r)}function ov(e){if(!(e?.object_type===`produced_video`||/^produced[_-]video[_-]\d+$/i.test(e?.objectID||``)))return!1;let t=`${e?.name||``} ${e?.long_name||``} ${e?.title||``}`.toLowerCase();return/farbrengen/.test(t)}function sv(e){let t=`${e?.name||``} ${e?.long_name||``} ${e?.title||``}`,n=/(\d{1,2})\s*Tishrei(?:\s*,?\s*(\d{4}))?/i.exec(t);if(n){let e=n[2]?Number(n[2]):null;return!e||tv(e)?{day:Number(n[1]),year:e}:null}let r=(e?.recorded_dates||[]).find(e=>e?.hebrew_month_name===`Tishrei`&&tv(e.hebrew_year));return r?.hebrew_day?{day:Number(r.hebrew_day),year:Number(r.hebrew_year)}:null}var cv=`(type:"Film" OR type:"Raw" OR type:"Full-Length Footage")`,lv=`NOT type:"Short Film"`,uv=[lv,`type:"Film" AND ${lv}`,`type:"Raw"`,`type:"Full-Length Footage"`,`(type:"LT Sicha" OR type:"Farbrengen Sicha")`,`type:"LT Eye to Eye"`,`type:"LT My Encounter"`,`type:"LT Timeless Moment"`,`type:"Living Torah"`];function dv(e){return(e?.type||``).replace(/[_-]+/g,` `).replace(/\s+/g,` `).trim().toLowerCase()===`short film`}var fv={film:0,"full-length footage":1,raw:2};function pv(e){return fv[(e?.type||``).toLowerCase()]??1}async function mv({hitsPerPage:e=24}={}){return vv(Ev((await Promise.all([Vi(`Farbrengen Tishrei`,{filters:cv,hitsPerPage:100}),Vi(`Farbrengen Tishrei`,{hitsPerPage:100}),Vi(`Farbrengen`,{filters:cv,hitsPerPage:100})].map(e=>e.catch(()=>({hits:[]}))))).flatMap(e=>e.hits||[])).filter(e=>ov(e)&&sv(e))).slice(0,e)}async function hv({hitsPerPage:e=400}={}){return Ev((await Promise.all([Vi(``,{filters:`type:"Good Night"`,hitsPerPage:1e3}),Vi(`Good Night Tishrei`,{filters:`type:"Good Night"`,hitsPerPage:1e3})].map(e=>e.catch(()=>({hits:[]}))))).flatMap(e=>e.hits||[])).filter(e=>sv(e)).slice(0,e)}function gv(e){let t=wv(e);return t?`https://videos.jem.tv/good-night/archive-player?produced=${t}`:null}function _v(e){let t=new Map;for(let n of e){let e=sv(n);e&&(t.has(e.day)||t.set(e.day,[]),t.get(e.day).push(n))}return[...t.entries()].sort((e,t)=>e[0]-t[0]).map(([e,t])=>({day:e,items:t.sort((e,t)=>(sv(e)?.year||0)-(sv(t)?.year||0))}))}function vv(e){return[...e].sort((e,t)=>{let n=sv(e),r=sv(t);return!n&&!r?0:n?r?n.day-r.day||(n.year||0)-(r.year||0)||pv(e)-pv(t):-1:1})}var yv=[`524`],bv=`Tishrei with the Rebbe`;async function xv(){let e=await Promise.all(yv.map(async e=>{let{hits:t}=await Vi(``,{filters:`objectID:"produced_video-${e}"`,hitsPerPage:1}).catch(()=>({hits:[]}));return t?.[0]||null})),{hits:t}=await Vi(bv,{filters:`type:"Film"`,hitsPerPage:30}).catch(()=>({hits:[]})),n=e=>`${e?.name||``} ${e?.long_name||``} ${e?.title||``}`.toLowerCase().includes(`tishrei with the rebbe`);return Ev([...e.filter(Boolean),...(t||[]).filter(n)]).sort(Sv)}function Sv(e,t){let n=e=>{let t=/vol(?:ume)?\.?\s*(\d+)/i.exec(`${e?.name||``} ${e?.long_name||``}`);return t?Number(t[1]):999};return n(e)-n(t)}async function Cv(){let e=await xv();return(await Promise.all(e.map(async e=>({volume:e,clips:await Tv(e).catch(()=>[])})))).filter(e=>e.clips.length>0)}function wv(e){if(e?.produced_video_id!=null)return String(e.produced_video_id);let t=(e?.objectID||``).match(/^produced[_-]video[_-](\d+)$/i);return t?t[1]:null}async function Tv(e){let t=wv(e);if(!t)return[];let{hits:n}=await Vi(``,{filters:`produced_video_id=${t}`,hitsPerPage:60}
1679).catch(()=>({hits:[]}));return(n||[]).filter(e=>(e?.object_type===`video_clip`||e?.clip_id!=null||/^video[_-]clip[_-]\d+$/i.test(e?.objectID||``))&&wv(e)===t).sort((e,t)=>(e.clip_id??0)-(t.clip_id??0))}function Ev(e){let t=new Set,n=[];for(let r of e){let e=r?.objectID||r?.id;!e||t.has(e)||(t.add(e),n.push(r))}return n}var Dv=[``,`×`,`×`,`×`,`×`,`×`,`×`,`×`,`×`,`×`],Ov=[``,`×`,`×`,`×`,`×`,`× `,`ס`,`×¢`,`פ`,`צ`],kv=[``,`×§`,`ר`,`ש`,`ת`,`תק`,`תר`,`תש`,`תת`,`תתק`],Av={5744:`תש××´×`,5751:`×ª× ×©×´×`};function jv(e){let t=Av[e];if(t)return t;let n=e%1e3,r=kv[Math.floor(n/100)]||``;return n%=100,n===15?r+=`××`:n===16?r+=`××`:(r+=Ov[Math.floor(n/10)]||``,r+=Dv[n%10]||``),r.length>1?`${r.slice(0,-1)}×´${r.slice(-1)}`:r}function Mv(e){let t=Number(e);if(!t||t<1||t>30)return``;let n;return n=t===15?`××`:t===16?`××`:(Ov[Math.floor(t/10)]||``)+(Dv[t%10]||``),n.length>1?`${n.slice(0,-1)}×´${n.slice(-1)}`:`${n}׳`}function Nv(e){return`${e} Tishrei ⢠${Mv(e)} תשר×`}function Pv(e,t){return t?`${e} Tishrei, ${t}`:`${e} Tishrei`}function Fv(e,t,n=null){return(e?.recorded_dates||[]).some(e=>e?.hebrew_month_name===`Tishrei`&&Number(e.hebrew_day)===Number(t)&&tv(e.hebrew_year)&&(!n||Number(e.hebrew_year)===Number(n)))}function Iv(e){let t=(e?.recorded_dates||[]).find(e=>e?.hebrew_month_name===`Tishrei`);return t?Number(t.hebrew_year):null}async function Lv(e,{hebrewYear:t=null,hitsPerPage:n=1e3}={}){let r=(t?[Number(t)]:Array.from({length:ev-$_+1},(e,t)=>$_+t)).map(t=>Vi(Pv(e,t),{hitsPerPage:100,filters:lv})),i=uv.map(n=>Vi(Pv(e,t),{hitsPerPage:100,filters:n}));return Ev((await Promise.all([...r,...i].map(e=>e.catch(()=>({hits:[]}))))).flatMap(e=>e.hits||[])).filter(n=>!nv(n)&&!dv(n)&&Fv(n,e,t)).sort((e,t)=>{let n=Iv(e)||0,r=Iv(t)||0,i=(e?.name||e?.long_name||e?.title||``).trim(),a=(t?.name||t?.long_name||t?.title||``).trim();return n-r||pv(e)-pv(t)||i.localeCompare(a)}).slice(0,n)}async function Rv(e,{hebrewYear:t=null,hitsPerPage:n=1e3}={}){let r=[],i=[`date.hebrew_month_name:"Tishrei"`,`date.hebrew_day:${e}`];t&&i.push(`date.hebrew_year:${t}`),r.push({filters:i.join(` AND `)}),r.push({query:Pv(e,t)});let a=Math.min(Math.max(n,200),1e3);for(let e of r){let{hits:t}=await Wi(`ccdb`,e.query||``,a,{...e.filters?{filters:e.filters}:{}}).catch(()=>({hits:[]}));if(t?.length)return t.filter(e=>{let t=zv(e);return t==null||tv(t)}).slice(0,n).map(e=>({...e,_index:`ccdb`}))}return[]}function zv(e){let t=e?.date?.hebrew_year??e?.hebrew_year;if(t)return Number(t);let n=/(\d{4})/.exec(e?.date?.hebrew_date||e?.hebrew_date||``);return n?Number(n[1]):null}function Bv(e,t){let n=new Map;for(let r of e){let e=t(r)??0;n.has(e)||n.set(e,[]),n.get(e).push(r)}return[...n.entries()].sort((e,t)=>(e[0]||1/0)-(t[0]||1/0)).map(([e,t])=>({year:e||null,items:t}))}async function Vv({hitsPerPage:e=300}={}){let{hits:t}=await Wi(`ccdb`,``,e,{filters:`date.hebrew_month_name:"Tishrei"`}).catch(()=>({hits:[]}));return(t||[]).filter(e=>(e.parent_event_type||``).trim()&&tv(zv(e))).map(e=>({...e,_index:`ccdb`}))}function Hv(e){let t=e?.date;if(t?.hebrew_month_name===`Tishrei`&&t.hebrew_day!=null)return Number(t.hebrew_day);let n=/^(\d{1,2})\s+Tishrei/i.exec(t?.hebrew_date||e?.hebrew_date||``);return n?Number(n[1]):null}function Uv(e){let t=new Map;for(let n of e){let e=Hv(n);e!=null&&(t.has(e)||t.set(e,[]),t.get(e).push(n))}return[...t.entries()].sort((e,t)=>e[0]-t[0]).map(([e,t])=>({day:e,items:t,events:Wv(t)}))}function Wv(e){let t=new Map;for(let n of e){let e=(n.parent_event??n.event??n.events?.[0]?.name??n.parent_event_type??``).trim();if(!e)continue;let r=zv(n),i=`${e}|${r||``}`;t.has(i)||t.set(i,{key:i,name:e,year:r,type:n.parent_event_type||``,items:[]}),t.get(i).items.push(n)}return[...t.values()].sort((e,t)=>(e.year||0)-(t.year||0))}function Gv(e){let t=(e?.type||``).trim();if(t)return t;let n=(e?.name||``).trim();return n.split(`,`)[0].trim()||n}function Kv(e){return la(/^film\s*chapter$/i.test((e?.type||``).trim())&&e?.produced_video_type||e?.type||e?.produced_video_type||``)}function qv(e){let t=e||[],n=e=>{let n=new Map;
1679for(let r of t)for(let t of new Set(e(r).filter(Boolean)))n.set(t,(n.get(t)||0)+1);return[...n.entries()].sort((e,t)=>t[1]-e[1]||e[0].localeCompare(t[0])).map(([e,t])=>({name:e,count:t}))},r=n(e=>{let t=(Array.isArray(e.events)?e.events:[]).map(Gv),n=(e?.parent_event_type||``).trim();return n?[...t,n]:t});return r.length?r:n(e=>[Kv(e)])}function Jv(e,t){let n=Array.isArray(e?.events)?e.events:[];if(n.some(e=>Gv(e)===t))return!0;let r=(e?.parent_event_type||``).trim();return r&&r===t?!0:n.length===0&&!r&&Kv(e)===t}fp.registerPlugin(Og);var Yv=`#fea438`,Xv=`#131515`,Zv=[{id:`farbrengens`,title:`Farbrengens`,typeFilter:`(type:"Film" OR type:"Full-Length Footage")`,farbrengenOnly:!0},{id:`kids`,title:`Good Night â For Kids`,goodNight:!0,typeFilter:`type:"Good Night"`}],Qv={image:`https://jemcentral.org/wp-content/uploads/2025/09/Screenshot-2025-09-21-at-11.54.14-PM.png`,eyebrow:`Special Pages ⢠JEM.tv`,title:`Tishrei with the Rebbe`,blurb:`Watch, browse and experience the festive month of Tishrei in the Rebbe's presence.`},$v={href:`https://videos.jem.tv/pages/sukkos`,eyebrow:`Special Pages ⢠JEM.tv`,title:`Maayanei HaYeshuah`,blurb:`The wellsprings of Sukkos â watch and browse on JEM.tv.`};function ey(){return va()?(0,q.jsx)(ty,{}):null}function ty(){let[e,t]=(0,v.useState)(null),[n,r]=(0,v.useState)([]),[i,a]=(0,v.useState)(null),[o,s]=(0,v.useState)(null),[c,l]=(0,v.useState)({}),[u,d]=(0,v.useState)(null),[f,p]=(0,v.useState)(null),[m,h]=(0,v.useState)(null),[g,_]=(0,v.useState)(null);(0,v.useEffect)(()=>{let e=!1;return(async()=>{try{let n=await e_(new Date);if(e)return;t(n);let i=await t_(n.hm===`Elul`?n.hy+1:n.hy);e||r(i)}catch{}})(),()=>{e=!0}},[]);let y=e?.hm===`Tishrei`?e.hd:null;return(0,v.useEffect)(()=>{if(!y)return;let e=!1;return Lv(y,{hitsPerPage:1e3}).then(t=>{e||a(t.filter(e=>!nv(e)))}).catch(()=>{e||a([])}),Rv(y,{hitsPerPage:1e3}).then(t=>{e||s(t)}).catch(()=>{e||s([])}),()=>{e=!0}},[y]),(0,v.useEffect)(()=>{let e=!1,t=Z_[0];return Zv.forEach(async n=>{let r=n.farbrengenOnly?await mv({hitsPerPage:24}).catch(()=>[]):n.goodNight?await hv({hitsPerPage:400}).catch(()=>[]):await av({event:t,typeFilter:n.typeFilter,hitsPerPage:24}).catch(()=>[]);e||l(e=>({...e,[n.id]:r}))}),Vv({hitsPerPage:300}).then(t=>{e||d(t)}).catch(()=>{e||d([])}),Cv().then(t=>{e||p(t)}).catch(()=>{e||p([])}),()=>{e=!0}},[]),(0,q.jsxs)(`div`,{className:`tsh-shell`,children:[(0,q.jsx)(`style`,{children:xy}),(0,q.jsx)(oy,{today:e}),(0,q.jsxs)(`div`,{className:`tsh-col`,children:[(0,q.jsx)(ry,{hits:i,photos:o,onOpenDay:y?()=>h(y):null,onPhotos:(e,t)=>_({hits:e,index:t})}),(0,q.jsx)(sy,{days:n,today:e,onPick:e=>h(e.hd)}),(0,q.jsx)(dy,{title:`Farbrengens`,hits:c.farbrengens,card:my,empty:`No farbrengens in the archive yet.`}),(0,q.jsx)(hy,{volumes:f}),(0,q.jsx)(vy,{}),(0,q.jsx)(dy,{title:`Good Night â For Kids`,hits:c.kids,card:py,empty:`No Good Night episodes yet.`,defaultDay:y}),(0,q.jsx)(yy,{photos:u,defaultDay:y,onOpen:(e,t)=>_({hits:e,index:t})})]}),m!=null&&(0,q.jsx)(uy,{hd:m,day:n.find(e=>e.hd===m),onClose:()=>h(null),onPhotos:(e,t)=>_({hits:e,index:t})}),g&&(0,q.jsx)(Na,{hits:g.hits,initialIndex:g.index,onClose:()=>_(null)})]})}var ny=16;function ry({hits:e,photos:t,onOpenDay:n,onPhotos:r}){let i=(0,v.useRef)(null),a=(0,v.useRef)({x:0,y:0,active:!1,moved:!1}),o=e==null,s=(0,v.useMemo)(()=>qv(e||[]),[e]),[c,l]=(0,v.useState)(`all`),u=s.some(e=>e.name===c)?c:`all`,d=(0,v.useMemo)(()=>{let n=(e||[]).filter(e=>u===`all`||Jv(e,u)).slice(0,ny).map(e=>({kind:`video`,key:e.objectID,hit:e})),r=u===`all`&&t||[];return r.length?[...n,{kind:`photos`,key:`__photos`,items:r}]:n},[e,t,u]),[f,p]=(0,v.useState)(0),m=d.length,h=m?(f%m+m)%m:0,g=(0,v.useCallback)(e=>{m&&p(t=>t+e)},[m]),_=(0,v.useCallback)(e=>{l(e),p(0)},[]);(0,v.useLayoutEffect)(()=>{let e=i.current;if(!m||!e)return;let t=window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches,n=fp.utils.toArray(`.tsh-focus-card`,e);n.length&&n.forEach((e,n)=>{let r=n-h;r>m/2&&(r-=m),r<-m/2&&(r+=m);let i=Math.abs(r),a=r>0,o=i>3;fp.set(e,{zIndex:100-i,pointerEvents:r===0?`auto`:`none`,visibility:o?`hidden`:`visible`});let s={x:r===0?0:a?34+i*26:-70-i*30,y:r===0?0:i*10,z:r===0?0:-i*130,rotateY:r===0?0:a?-13:16,scale:r===0?1:1-i*.05,opacity:o?0:r===0?1:a?.5-i*.1:0};t?fp.set(e,s):fp.to(e,{...s,duration:.5,ease:`power3.out`,overwrite:`auto`})})},[h,m]),(0,v.useLayoutEffect)(()=>{let e=i.current;if(!m||!e)return;let t=fp.context(()=>{window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches||fp.from(e,{opacity:0,y:40,duration:.8,ease:`power3.out`,scrollTrigger:{trigger:e,start:`top 85%`,once:!0}})},i);return()=>t.revert()},[m]);let y=(0,v.useCallback)(e=>{e.key===`ArrowRight`&&(e.preventDefault(),g(1)),e.key===`ArrowLeft`&&(e.preventDefault(),g(-1))},[g]),b=(0,v.useCallback)(e=>{if(!(e.button!=null&&e.button!==0)){a.current={x:e.clientX,y:e.clientY,active:!0,moved:!1};try{e.currentTarget.setPointerCapture(e.pointerId)}catch{}}},[]),x=(0,v.useCallback)(e=>{let t=a.current;if(!t.active)return;let n=e.clientX-t.x,r=e.clientY-t.y;Math.abs(n)>12&&Math.abs(n)>Math.abs(r)&&(t.moved=!0)},[]),S=(0,v.useCallback)(e=>{let t=a.current;if(!t.active)return;let n=e.clientX-t.x;t.active=!1,!(Math.abs(n)<48)&&g(n<0?1:-1)},[g]),C=(0,v.useCallback)(()=>{a.current.active=!1},[]),w=(0,v.useCallback)(e=>{a.current.moved&&(e.preventDefault(),e.stopPropagation(),a.current.moved=!1)},[]);return(0,q.jsxs)(`section`,{className:`tsh-sec`,children:[(0,q.jsxs)(`div`,{className:`tsh-sec-head`,children:[(0,q.jsx)(`h2`,{children:`Today`}),n&&!o&&m>0&&(0,q.jsx)(`button`,{type:`button`,className:`tsh-more`,onClick:n,children:`See the full day`})]}),o?(0,q.jsx)(`div`,{className:`tsh-stage`,children:(0,q.jsx)(`div`,{className:`tsh-focus-card tsh-skel`})}):m===0?(0,q.jsx)(`p`,{className:`tsh-empty`,children:`Nothing in the archive for today yet.`}):(0,q.jsxs)(`div`,{className:`tsh-todaywrap`,children:[(0,q.jsxs)(`div`,{className:`tsh-focus`,onKeyDown:y,tabIndex:0,role:`group`,"aria-label":`Today, one at a time`,children:[(0,q.jsx)(`div`,{className:`tsh-stage`,ref:i,onPointerDown:b,onPointerMove:x,onPointerUp:S,onPointerCancel:C,onClickCapture:w,children:d.map((e,t)=>
1679(0,q.jsx)(`div`,{className:`tsh-focus-card`,"aria-hidden":t!==h,children:e.kind===`photos`?(0,q.jsx)(ay,{items:e.items,onOpen:r}):(0,q.jsx)(iy,{hit:e.hit})},e.key))}),(0,q.jsxs)(`div`,{className:`tsh-focus-bar`,children:[(0,q.jsx)(`button`,{type:`button`,className:`tsh-focus-nav`,onClick:()=>g(-1),"aria-label":`Previous`,children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`arrow_back`})}),(0,q.jsx)(`span`,{className:`tsh-focus-count tsh-focus-spacer`,"aria-hidden":`true`}),(0,q.jsx)(`div`,{className:`tsh-dots`,role:`tablist`,children:d.map((e,t)=>(0,q.jsx)(`button`,{type:`button`,className:`tsh-dot${t===h?` on`:``}`,onClick:()=>p(t),"aria-label":`Item ${t+1} of ${m}`,"aria-selected":t===h,role:`tab`},e.key))}),(0,q.jsxs)(`span`,{className:`tsh-focus-count`,children:[h+1,` / `,m]}),(0,q.jsx)(`button`,{type:`button`,className:`tsh-focus-nav`,onClick:()=>g(1),"aria-label":`Next`,children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`arrow_forward`})})]})]}),(0,q.jsxs)(`aside`,{className:`tsh-todaylist`,"aria-label":`Today's contents`,children:[s.length>0&&(0,q.jsxs)(`div`,{className:`tsh-tabs tsh-tabs-inline tsh-listtabs`,children:[(0,q.jsxs)(`button`,{type:`button`,className:`tsh-tab${u===`all`?` on`:``}`,onClick:()=>_(`all`),children:[`All`,(0,q.jsx)(`em`,{children:(e||[]).length})]}),s.map(e=>(0,q.jsxs)(`button`,{type:`button`,className:`tsh-tab${u===e.name?` on`:``}`,onClick:()=>_(e.name),children:[e.name,(0,q.jsx)(`em`,{children:e.count})]},e.name))]}),(0,q.jsx)(`div`,{className:`tsh-listscroll`,children:d.length===0?(0,q.jsx)(`p`,{className:`tsh-empty`,children:`Nothing under this event.`}):d.map((e,t)=>(0,q.jsxs)(`button`,{type:`button`,className:`tsh-listrow${t===h?` on`:``}`,onClick:()=>p(t),"aria-current":t===h,children:[(0,q.jsx)(`span`,{className:`tsh-listthumb`,children:e.kind===`photos`?ia(e.items[0])?(0,q.jsx)(`img`,{src:ia(e.items[0]),alt:``,loading:`lazy`}):(0,q.jsx)(`span`,{className:`material-symbols-rounded tsh-ph`,children:`image`}):ia(e.hit)?(0,q.jsx)(`img`,{src:ia(e.hit),alt:``,loading:`lazy`}):(0,q.jsx)(`span`,{className:`material-symbols-rounded tsh-ph`,children:`play_circle`})}),(0,q.jsxs)(`span`,{className:`tsh-listcopy`,children:[(0,q.jsx)(`span`,{className:`tsh-listkind`,children:e.kind===`photos`?`Photographs`:la(e.hit.type)||`Video`}),(0,q.jsx)(`span`,{className:`tsh-listtitle`,children:e.kind===`photos`?`${e.items.length} from today's date`:aa(e.hit)})]})]},e.key))})]})]})]})}function iy({hit:e}){let t=ma(e),n=ia(e),[r,i]=(0,v.useState)(!0),a=oa(e),o=la(e.type)||`Video`,s=e.recorded_dates?.[0]?.hebrew_date||``;return(0,q.jsxs)(`a`,{className:`tsh-focus-inner`,href:t||`#`,target:`_top`,onClick:e=>{e.preventDefault(),f_(t)},children:[(0,q.jsxs)(`span`,{className:`tsh-focus-img`,children:[n&&r?(0,q.jsx)(`img`,{src:n,alt:``,onError:()=>i(!1)}):(0,q.jsx)(`span`,{className:`material-symbols-rounded tsh-ph`,"aria-hidden":`true`,children:`play_circle`}),(0,q.jsx)(`span`,{className:`tsh-focus-glow`,"aria-hidden":`true`}),(0,q.jsx)(`span`,{className:`tsh-focus-play`,"aria-hidden":`true`,children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`play_arrow`})})]}),(0,q.jsxs)(`span`,{className:`tsh-focus-copy`,children:[(0,q.jsx)(`span`,{className:`tsh-focus-meta`,children:[o,s].filter(Boolean).join(` · `)}),(0,q.jsx)(`span`,{className:`tsh-focus-title`,children:aa(e)}),a&&(0,q.jsx)(`span`,{className:`tsh-focus-desc`,children:a}),(0,q.jsx)(`span`,{className:`tsh-focus-cta`,children:`Watch`})]})]})}function ay({items:e,onOpen:t}){let n=ia(e[0]);return(0,q.jsxs)(`button`,{type:`button`,className:`tsh-focus-inner`,onClick:()=>t(e,0),children:[(0,q.jsxs)(`span`,{className:`tsh-focus-img`,children:[n?(0,q.jsx)(`img`,{src:n,alt:``}):(0,q.jsx)(`span`,{className:`material-symbols-rounded tsh-ph`,"aria-hidden":`true`,children:`image`}),(0,q.jsx)(`span`,{className:`tsh-focus-glow`,"aria-hidden":`true`}),(0,q.jsxs)(`span`,{className:`tsh-focus-stack`,"aria-hidden":`true`,children:[(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`collections`}),e.length]})]}),(0,q.jsxs)(`span`,{className:`tsh-focus-copy`,children:[(0,q.jsx)(`span`,{className:`tsh-focus-meta`,children:`Photographs`}),(0,q.jsxs)(`span`,{className:`tsh-focus-title`,children:[e.length,` from today's date`]}),(0,q.jsx)(`span`,{className:`tsh-focus-cta`,children:`See full gallery`})]})]})}function oy({today:e}){let t=(0,v.useRef)(null);return(0,v.useLayoutEffect)(()=>{let e=fp.context(()=>{window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches||fp.timeline({defaults:{ease:`power3.out`}}).from(`.tsh-hero-img`,{opacity:0,scale:1.07,duration:1.2}).from(`.tsh-hero-line`,{y:16,opacity:0,duration:.65,stagger:.08},`-=0.8`)},t);return()=>e.revert()},[]),(0,q.jsxs)(`header`,{className:`tsh-hero`,ref:t,children:[(0,q.jsx)(`div`,{className:`tsh-hero-img`,style:{backgroundImage:`url("${Qv.image}")`},"aria-hidden":`true`}),(0,q.jsx)(`div`,{className:`tsh-hero-scrim`,"aria-hidden":`true`}),(0,q.jsx)(`span`,{className:`tsh-bh`,lang:`he`,dir:`rtl`,children:`××´×`}),(0,q.jsxs)(`div`,{className:`tsh-hero-copy`,children:[(0,q.jsx)(`span`,{className:`tsh-hero-line tsh-hero-eyebrow`,children:Qv.eyebrow}),(0,q.jsx)(`h1`,{className:`tsh-hero-line`,children:Qv.title}),(0,q.jsx)(`p`,{className:`tsh-hero-line tsh-hero-sub`,children:Qv.blurb}),e&&(0,q.jsxs)(`p`,{className:`tsh-hero-line tsh-hero-today`,children:[e.hd,` Tishrei `,jv(e.hy)]})]})]})}function sy({days:e,today:t,onPick:n}){let r=(0,v.useRef)(null),i=e=>t?.hm===`Tishrei`&&t.hy===e.hy&&t.hd===e.hd;(0,v.useLayoutEffect)(()=>
1679{if(!e.length)return;let t=fp.context(()=>{window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches||fp.from(`.tsh-day`,{opacity:0,y:8,duration:.4,ease:`power2.out`,stagger:{each:.008}})},r);return()=>t.revert()},[e]);let a=e.length?e[0].gregorian.getDay():0;return(0,q.jsxs)(`section`,{className:`tsh-sec`,children:[(0,q.jsx)(`div`,{className:`tsh-sec-head`,children:(0,q.jsx)(`h2`,{children:`Day to Day`})}),(0,q.jsx)(`div`,{className:`tsh-weekdays`,"aria-hidden":`true`,children:[`S`,`M`,`T`,`W`,`T`,`F`,`S`].map((e,t)=>(0,q.jsx)(`div`,{children:e},t))}),(0,q.jsx)(`div`,{className:`tsh-grid`,ref:r,children:e.length?(0,q.jsxs)(q.Fragment,{children:[Array.from({length:a}).map((e,t)=>(0,q.jsx)(`div`,{className:`tsh-day tsh-blank`,"aria-hidden":`true`},`b${t}`)),e.map(e=>{let t=Q_(e.hd);return(0,q.jsxs)(`button`,{type:`button`,className:`tsh-day${e.major?` major`:``}${i(e)?` today`:``}`,onClick:()=>n(e),"aria-current":i(e)?`date`:void 0,title:[Nv(e.hd),...e.holidays].filter(Boolean).join(` · `),children:[(0,q.jsxs)(`span`,{className:`tsh-day-n`,children:[e.hd,(0,q.jsx)(`i`,{className:`tsh-day-heb`,lang:`he`,dir:`rtl`,children:Mv(e.hd)})]}),(0,q.jsx)(`span`,{className:`tsh-day-g`,children:e.gregorian.toLocaleDateString(`en-US`,{month:`short`,day:`numeric`})}),(e.holidays[0]||t?.short)&&(0,q.jsx)(`span`,{className:`tsh-day-ev`,children:e.holidays[0]||t.short})]},e.iso)})]}):Array.from({length:35}).map((e,t)=>(0,q.jsx)(`div`,{className:`tsh-day tsh-skel`},t))})]})}function cy(e){let t=Number(e)>0?Math.floor(Number(e)/1e3):0;if(!t)return``;let n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=String(t%60).padStart(2,`0`);return n?`${n}:${String(r).padStart(2,`0`)}:${i}`:`${r}:${i}`}function ly({hit:e}){let t=ma(e),n=ia(e),[r,i]=(0,v.useState)(!0),a=cy(e.duration),o=[Kv(e),e.recorded_dates?.[0]?.hebrew_date].filter(Boolean).join(` · `);return(0,q.jsxs)(`a`,{className:`tsh-card`,href:t||`#`,target:`_top`,onClick:e=>{e.preventDefault(),f_(t)},children:[(0,q.jsxs)(`div`,{className:`tsh-thumb`,children:[n&&r?(0,q.jsx)(`img`,{src:n,alt:``,loading:`lazy`,onError:()=>i(!1)}):(0,q.jsx)(`span`,{className:`material-symbols-rounded tsh-ph`,"aria-hidden":`true`,children:`play_circle`}),a&&(0,q.jsx)(`span`,{className:`tsh-len`,children:a})]}),(0,q.jsx)(`div`,{className:`tsh-meta`,children:o}),(0,q.jsx)(`div`,{className:`tsh-title`,children:aa(e)})]})}function uy({hd:e,day:t,onClose:n,onPhotos:r}){let[i,a]=(0,v.useState)(`all`),[o,s]=(0,v.useState)(null),[c,l]=(0,v.useState)(null),u=(0,v.useRef)(null);(0,v.useEffect)(()=>{let t=!1;return Lv(e,{hitsPerPage:1e3}).then(e=>{t||s(e)}).catch(()=>{t||s([])}),Rv(e,{hitsPerPage:1e3}).then(e=>{t||l(e)}).catch(()=>{t||l([])}),()=>{t=!0}},[e]),(0,v.useEffect)(()=>{let e=e=>{e.key===`Escape`&&n()};return window.addEventListener(`keydown`,e),()=>window.removeEventListener(`keydown`,e)},[n]),(0,v.useLayoutEffect)(()=>{let e=fp.context(()=>{window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches||fp.from(u.current,{y:22,opacity:0,duration:.32,ease:`power3.out`})},u);return()=>e.revert()},[]);let d=(0,v.useMemo)(()=>qv([...o||[],...c||[]]),[o,c]),f={all:(o?.length??0)+(c?.length??0),photos:c?.length??0};for(let e of d)f[e.name]=e.count;let p=i!==`all`&&i!==`photos`,m=p?(o||[]).filter(e=>Jv(e,i)):o||[],h=p?(c||[]).filter(e=>Jv(e,i)):c||[];return(0,q.jsx)(`div`,{className:`tsh-dayview`,role:`dialog`,"aria-modal":`true`,onClick:n,children:(0,q.jsxs)(`div`,{className:`tsh-daypanel`,ref:u,onClick:e=>e.stopPropagation(),children:[(0,q.jsxs)(`header`,{className:`tsh-dayhead`,children:[(0,q.jsxs)(`div`,{children:[(0,q.jsxs)(`h2`,{children:[e,` Tishrei`]}),t?.holidays?.length>0&&(0,q.jsx)(`p`,{children:t.holidays.join(` · `)})]}),(0,q.jsx)(`button`,{type:`button`,className:`tsh-close`,onClick:n,"aria-label":`Close`,children:(0,q.jsx)(`span`,{className:`material-symbols-rounded`,children:`close`})})]}),(0,q.jsx)(`div`,{className:`tsh-tabs`,children:[[`all`,`All`],...d.map(e=>[e.name,e.name]),[`photos`,`Photos`]].map(([e,t])=>(0,q.jsxs)(`button`,{type:`button`,className:`tsh-tab${i===e?` on`:``}`,onClick:()=>a(e),children:[t,f[e]>0&&(0,q.jsx)(`em`,{children:f[e]})]},e))}),(0,q.jsx)(`div`,{className:`tsh-daybody`,children:i===`photos`?c==null?(0,q.jsx)(`div`,{className:`tsh-photos`,children:Array.from({length:6}).map((e,t)=>(0,q.jsx)(`div`,{className:`tsh-photoskel tsh-skel`},t))}):h.length===0?(0,q.jsx)(`p`,{className:`tsh-empty`,children:`No photographs for this date.`}):(0,q.jsx)(by,{groups:Bv(h,zv),render:e=>(0,q.jsx)(`div`,{className:`tsh-photocell`,children:(0,q.jsx)(ja,{hit:e,onOpen:()=>r(h,h.indexOf(e))})},e.objectID)}
1679):o==null?(0,q.jsx)(`div`,{className:`tsh-daygrid`,children:Array.from({length:6}).map((e,t)=>(0,q.jsx)(`div`,{className:`tsh-card tsh-skel`},t))}):m.length===0&&c!=null&&h.length===0?(0,q.jsx)(`p`,{className:`tsh-empty`,children:`Nothing in the archive for this date.`}):(0,q.jsxs)(q.Fragment,{children:[m.length>0&&(0,q.jsx)(by,{groups:Bv(m,Iv),render:e=>(0,q.jsx)(ly,{hit:e},e.objectID)}),c==null?(0,q.jsx)(`div`,{className:`tsh-dayphotos`,children:(0,q.jsx)(`div`,{className:`tsh-rail`,children:Array.from({length:4}).map((e,t)=>(0,q.jsx)(`div`,{className:`tsh-photocell tsh-photoskel tsh-skel`},t))})}):h.length>0&&(0,q.jsxs)(`div`,{className:`tsh-dayphotos`,children:[(0,q.jsxs)(`div`,{className:`tsh-year-head`,children:[(0,q.jsx)(`span`,{className:`tsh-year-n`,children:`Photographs`}),(0,q.jsx)(`span`,{className:`tsh-year-c`,children:h.length})]}),(0,q.jsx)(`div`,{className:`tsh-rail`,children:h.map(e=>(0,q.jsx)(`div`,{className:`tsh-photocell`,children:(0,q.jsx)(ja,{hit:e,onOpen:()=>r(h,h.indexOf(e))})},e.objectID))})]})]})})]})})}function dy({title:e,hits:t,card:n,empty:r,defaultDay:i=null,landscape:a}){let[o,s]=(0,v.useState)(null),c=(0,v.useRef)(null),l=t==null,u=(0,v.useMemo)(()=>_v(t||[]),[t]),d=u.find(e=>e.day===o)||(i==null?null:fy(u,i))||u[0];return(0,v.useLayoutEffect)(()=>{if(!d||!c.current)return;let e=fp.context(()=>{window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches||fp.from(`.tsh-pcard`,{opacity:0,y:14,duration:.4,ease:`power2.out`,stagger:.04})},c);return()=>e.revert()},[d]),(0,q.jsxs)(`section`,{className:`tsh-sec`,children:[(0,q.jsxs)(`div`,{className:`tsh-sec-head`,children:[(0,q.jsx)(`h2`,{children:e}),d&&(0,q.jsxs)(`span`,{className:`tsh-sec-sub`,children:[Nv(d.day),` · `,d.items.length]})]}),l?(0,q.jsx)(`div`,{className:`tsh-rail`,children:Array.from({length:5}).map((e,t)=>(0,q.jsx)(`div`,{className:`tsh-pcard tsh-skel`},t))}):u.length===0?(0,q.jsx)(`p`,{className:`tsh-empty`,children:r}):(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(`div`,{className:`tsh-tabs tsh-tabs-inline`,children:u.map(e=>(0,q.jsxs)(`button`,{type:`button`,className:`tsh-tab${d?.day===e.day?` on`:``}`,onClick:()=>s(e.day),children:[e.day,` Tishrei`,(0,q.jsx)(`em`,{children:e.items.length})]},e.day))}),(0,q.jsx)(`div`,{className:`tsh-rail`,ref:c,children:d.items.map(e=>(0,q.jsx)(n,{hit:e,landscape:a},e.objectID))})]})]})}function fy(e,t){return e.length?e.reduce((e,n)=>Math.abs(n.day-t)<Math.abs(e.day-t)?n:e):null}function py({hit:e}){let t=gv(e)||ma(e),n=ia(e),[r,i]=(0,v.useState)(!0),a=sv(e);return(0,q.jsxs)(`a`,{className:`tsh-card`,href:t||`#`,target:`_top`,onClick:e=>{e.preventDefault(),f_(t)},children:[(0,q.jsx)(`div`,{className:`tsh-thumb`,children:n&&r?(0,q.jsx)(`img`,{src:n,alt:``,loading:`lazy`,onError:()=>i(!1)}):(0,q.jsx)(`span`,{className:`material-symbols-rounded tsh-ph`,"aria-hidden":`true`,children:`bedtime`})}),(0,q.jsxs)(`div`,{className:`tsh-meta`,children:[a?`${a.day} Tishrei ${Mv(a.day)}`:`Good Night`,a?.year?` · ${jv(a.year)}`:``]}),(0,q.jsx)(`div`,{className:`tsh-title`,children:aa(e)})]})}function my({hit:e}){let t=ma(e),n=ia(e),[r,i]=(0,v.useState)(!0),a=sv(e),o=(e?.type||``).toLowerCase()===`raw`;return(0,q.jsxs)(`a`,{className:`tsh-card tsh-pcard`,href:t||`#`,target:`_top`,onClick:e=>{e.preventDefault(),f_(t)},children:[(0,q.jsxs)(`div`,{className:`tsh-thumb tsh-thumb-portrait`,children:[n&&r?(0,q.jsx)(`img`,{src:n,alt:``,loading:`lazy`,onError:()=>i(!1)}):(0,q.jsx)(`span`,{className:`material-symbols-rounded tsh-ph`,"aria-hidden":`true`,children:`groups`}),o&&(0,q.jsx)(`span`,{className:`tsh-rawbadge`,children:`Raw footage`})]}),(0,q.jsxs)(`div`,{className:`tsh-meta`,children:[a?`${a.day} Tishrei ${Mv(a.day)}`:la(e.type),a?.year?` · ${jv(a.year)}`:``]}),(0,q.jsx)(`div`,{className:`tsh-title`,children:aa(e)})]})}function hy({volumes:e}){let[t,n]=(0,v.useState)(0),r=(0,v.useRef)(null),i=e==null,a=e||[],o=a[Math.min(t,Math.max(0,a.length-1))];return(0,v.useLayoutEffect)(()=>{if(!o||!r.current)return;let e=fp.context(()=>{window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches||fp.from(`.tsh-card`,{opacity:0,x:18,duration:.4,ease:`power2.out`,stagger:.03})},r);return()=>e.revert()},[o]),(0,q.jsxs)(`section`,{className:`tsh-sec`,children:[(0,q.jsxs)(`div`,{className:`tsh-sec-head`,children:[o&&(0,q.jsx)(gy,{volume:o.volume}),(0,q.jsx)(`h2`,{children:`Tishrei with the Rebbe`}),o&&(0,q.jsxs)(`span`,{className:`tsh-sec-sub`,children:[o.clips.length,` chapters`]})]}),i?(0,q.jsx)(`div`,{className:`tsh-rail`,children:Array.from({length:5}).map((e,t)=>(0,q.jsx)(`div`,{className:`tsh-card tsh-skel`},t))}):a.length===0?(0,q.jsx)(`p`,{className:`tsh-empty`,children:`The series is not in the archive yet.`}):(0,q.jsxs)(q.Fragment,{children:[a.length>1&&(0,q.jsx)(`div`,{className:`tsh-tabs tsh-tabs-inline`,children:a.map((e,r)=>(0,q.jsxs)(`button`,{type:`button`,className:`tsh-tab${r===t?` on`:``}`,onClick:()=>
1679n(r),children:[_y(e.volume,r),(0,q.jsx)(`em`,{children:e.clips.length})]},e.volume.objectID))}),(0,q.jsx)(`div`,{className:`tsh-rail`,ref:r,children:o.clips.map(e=>(0,q.jsx)(ly,{hit:e},e.objectID))})]})]})}function gy({volume:e}){let t=ia(e),[n,r]=(0,v.useState)(!0);return!t||!n?null:(0,q.jsx)(`span`,{className:`tsh-secmark`,"aria-hidden":`true`,children:(0,q.jsx)(`img`,{src:t,alt:``,loading:`lazy`,onError:()=>r(!1)})})}function _y(e,t){let n=/vol(?:ume)?\.?\s*(\d+)/i.exec(`${e?.name||``} ${e?.long_name||``}`);return n?`Vol. ${n[1]}`:`Vol. ${t+1}`}function vy(){return(0,q.jsxs)(`a`,{className:`tsh-banner`,href:$v.href,target:`_top`,onClick:e=>{e.preventDefault(),f_($v.href)},children:[(0,q.jsxs)(`div`,{className:`tsh-banner-copy`,children:[(0,q.jsx)(`span`,{className:`tsh-banner-eyebrow`,children:$v.eyebrow}),(0,q.jsx)(`span`,{className:`tsh-banner-title`,children:$v.title}),(0,q.jsx)(`span`,{className:`tsh-banner-blurb`,children:$v.blurb})]}),(0,q.jsx)(`span`,{className:`tsh-banner-cta`,children:`Watch`})]})}function yy({photos:e,defaultDay:t,onOpen:n}){let[r,i]=(0,v.useState)(null),a=(0,v.useRef)(null),o=e==null,s=(0,v.useMemo)(()=>Uv(e||[]),[e]),c=s.find(e=>e.day===r)||(t==null?null:fy(s,t))||s[0];return(0,v.useLayoutEffect)(()=>{if(!c||!a.current)return;let e=fp.context(()=>{window.matchMedia?.(`(prefers-reduced-motion: reduce)`).matches||fp.from(`.tsh-card`,{opacity:0,y:14,duration:.4,ease:`power2.out`,stagger:.04})},a);return()=>e.revert()},[c]),(0,q.jsxs)(`section`,{className:`tsh-sec`,children:[(0,q.jsxs)(`div`,{className:`tsh-sec-head`,children:[(0,q.jsx)(`h2`,{children:`Photos`}),c&&(0,q.jsxs)(`span`,{className:`tsh-sec-sub`,children:[Nv(c.day),` · `,c.events.length,` galleries`]})]}),o?(0,q.jsx)(`div`,{className:`tsh-rail`,children:Array.from({length:4}).map((e,t)=>(0,q.jsx)(`div`,{className:`tsh-card tsh-skel`},t))}):s.length===0?(0,q.jsx)(`p`,{className:`tsh-empty`,children:`No Tishrei photographs yet.`}):(0,q.jsxs)(q.Fragment,{children:[(0,q.jsx)(`div`,{className:`tsh-tabs tsh-tabs-inline`,children:s.map(e=>(0,q.jsxs)(`button`,{type:`button`,className:`tsh-tab${c?.day===e.day?` on`:``}`,onClick:()=>i(e.day),children:[e.day,` Tishrei`,(0,q.jsx)(`em`,{children:e.events.length})]},e.day))}),(0,q.jsx)(`div`,{className:`tsh-rail`,ref:a,children:c.events.map(e=>{let t=ia(e.items[0]);return(0,q.jsxs)(`button`,{type:`button`,className:`tsh-card`,onClick:()=>n(e.items,0),children:[(0,q.jsxs)(`div`,{className:`tsh-thumb`,children:[t?(0,q.jsx)(`img`,{src:t,alt:``,loading:`lazy`}):(0,q.jsx)(`span`,{className:`material-symbols-rounded tsh-ph`,"aria-hidden":`true`,children:`image`}),(0,q.jsx)(`span`,{className:`tsh-galcount`,children:e.items.length})]}),(0,q.jsxs)(`div`,{className:`tsh-meta`,children:[e.type||`Event`,e.year?` · ${jv(e.year)}`:``]}),(0,q.jsx)(`div`,{className:`tsh-title`,children:e.name})]},e.key)})})]})]})}function by({groups:e,render:t}){return(0,q.jsx)(`div`,{className:`tsh-years`,children:e.map(({year:e,items:n})=>(0,q.jsxs)(`div`,{className:`tsh-year`,children:[(0,q.jsxs)(`div`,{className:`tsh-year-head`,children:[(0,q.jsx)(`span`,{className:`tsh-year-n`,children:e?jv(e):`Undated`}),e&&(0,q.jsx)(`span`,{className:`tsh-year-g`,children:e}),(0,q.jsx)(`span`,{className:`tsh-year-c`,children:n.length})]}),(0,q.jsx)(`div`,{className:`tsh-rail`,children:n.map(t)})]},e??`undated`))})}var xy=` 1680 .tsh-shell { 1681 min-height: 100dvh; background: ${Xv}; color: #fff; 1682 font-family: var(--font-body); display: flex; flex-direction: column; 1683 } 1684 .tsh-col { 1685 max-width: 1180px; margin: 0 auto; width: 100%; 1686 padding: 0 clamp(16px, 4vw, 28px) 72px; 1687 display: flex; flex-direction: column; gap: clamp(38px, 5vw, 58px); 1688 } 1689 1690 /* ââ Hero ââ */ 1691 .tsh-hero { 1692 position: relative; isolation: isolate; overflow: hidden; 1693 min-height: clamp(360px, 56vh, 560px); 1694 display: flex; align-items: flex-end; margin-bottom: clamp(30px, 5vw, 48px); 1695 } 1696 .tsh-hero-img { 1697 position: absolute; inset: 0; z-index: 0; 1698 background-size: cover; background-position: center 36%; 1699 filter: saturate(0.82) contrast(1.02); 1700 } 1701 .tsh-hero-scrim { 1702 position: absolute; inset: 0; z-index: 1; 1703 background: 1704 linear-gradient(0deg, ${Xv} 3%, rgba(19,21,21,0.82) 30%, rgba(19,21,21,0.30) 62%, rgba(19,21,21,0.10) 85%), 1705 linear-gradient(90deg, rgba(19,21,21,0.80) 0%, rgba(19,21,21,0.34) 46%, rgba(19,21,21,0) 82%); 1706 } 1707 .tsh-bh { 1708 position: absolute; z-index: 3; top: 14px; right: 18px; 1709 font-family: var(--font-hebrew); font-size: 13px; color: rgba(255,255,255,0.45); 1710 } 1711 .tsh-hero-copy { 1712 position: relative; z-index: 3; width: 100%; max-width: 1180px; margin: 0 auto; 1713 padding: 0 clamp(16px, 4vw, 28px) clamp(26px, 4vw, 40px); 1714 } 1715 .tsh-hero h1 { 1716 margin: 0; font-family: var(--font-headline); font-weight: 800; 1717 font-size: clamp(38px, 6.5vw, 68px); line-height: 1; letter-spacing: -0.035em; color: #fff; 1718 } 1719 .tsh-hero-eyebrow { 1720 display: block; margin-bottom: 10px; 1721 font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; 1722 color: rgba(255,255,255,0.5); 1723 } 1724 .tsh-hero-sub { 1725 margin: 12px 0 0; max-width: 54ch; 1726 font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,0.62); letter-spacing: 0.01em; 1727 } 1728 .tsh-hero-today { 1729 margin: 14px 0 0; font-family: var(--font-hebrew); 1730 font-size: 14px; color: ${Yv}; 1731 } 1732 1733 /* ââ Sections ââ */ 1734 .tsh-sec { display: flex; flex-direction: column; gap: 16px; } 1735 .tsh-sec-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } 1736 .tsh-sec-head h2 { 1737 margin: 0; font-family: var(--font-headline); font-weight: 700; color: #fff; 1738 font-size: clamp(17px, 2vw, 21px); letter-spacing: -0.02em; 1739 } 1740 .tsh-sec-sub { font-size: 13px; color: rgba(255,255,255,0.42); } 1741 /* A small portrait cover beside a heading. Its height tracks the title's 1742 font size, and 2:3 keeps it the same shape as the film cards. */ 1743 .tsh-secmark { 1744 flex-shrink: 0; align-self: center; display: block; overflow: hidden; 1745 height: clamp(26px, 3vw, 32px); aspect-ratio: 2/3; border-radius: 3px; 1746 background: #1a1d1d; border: 1px solid rgba(255,255,255,0.12); 1747 } 1748 .tsh-secmark img { width: 100%; height: 100%; object-fit: cover; display: block; } 1749 .tsh-more { 1750 margin-left: auto; background: none; border: none; cursor: pointer; 1751 color: rgba(255,255,255,0.5); font-family: var(--font-body); 1752 font-size: 13px; font-weight: 600; padding: 2px 0; transition: color 0.15s; 1753 } 1754 .tsh-more:hover { color: #fff; } 1755 .tsh-empty { margin: 0; font-size: 13.5px; color: rgba(255,255,255,0.35); } 1756 1757 /* ââ Calendar ââ */ 1758 .tsh-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; } 1759 .tsh-weekdays div { 1760 text-align: center; font-size: 10px; font-weight: 700; letter-spacing: 0.1em; 1761 color: rgba(255,255,255,0.3); 1762 } 1763 .tsh-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; } 1764 .tsh-day { 1765 position: relative; min-height: 82px; border-radius: 8px; cursor: pointer; 1766 display: flex; flex-direction: column; align-items: flex-start; gap: 1px; 1767 padding: 8px 9px; text-align: left; overflow: hidden; 1768 background: #1a1d1d; border: 1px solid rgba(255,255,255,0.07); 1769 color: #fff; font-family: var(--font-body); 1770 transition: background 0.16s, border-color 0.16s; 1771 } 1772 .tsh-day:hover { background: #212525; border-color: rgba(255,255,255,0.2); } 1773 .tsh-blank { background: none; border-color: transparent; pointer-events: none; } 1774 .tsh-day.major { border-color: rgba(255,255,255,0.18); } 1775 .tsh-day.today { border-color: ${Yv}; } 1776 .tsh-day.today .tsh-day-n { color: ${Yv}; } 1777 .tsh-day-n { 1778 display: flex; align-items: baseline; gap: 5px; 1779 font-family: var(--font-headline); font-size: 17px; font-weight: 700; line-height: 1.2; 1780 } 1781 .tsh-day-heb { 1782 font-family: var(--font-hebrew); font-style: normal; font-weight: 400; 1783 font-size: 13px; color: rgba(255,255,255,0.55); 1784 } 1785 .tsh-day.today .tsh-day-heb { color: ${Yv}; } 1786 .tsh-day-g { font-size: 10px; color: rgba(255,255,255,0.38); } 1787 .tsh-day-ev { 1788 margin-top: auto; font-size: 10px; line-height: 1.25; color: rgba(255,255,255,0.62); 1789 display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; 1790 } 1791 1792 /* ââ Cards ââ */ 1793 .tsh-rail { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; } 1794 .tsh-rail::-webkit-scrollbar { display: none; } 1795 .tsh-card { 1796 flex-shrink: 0; width: 232px; display: flex; flex-direction: column; gap: 7px; 1797 text-decoration: none; color: inherit; cursor: pointer; 1798 background: none; border: none; padding: 0; font-family: var(--font-body); text-align: left; 1799 } 1800 .tsh-thumb { 1801 position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; 1802 background: #1a1d1d; border: 1px solid rgba(255,255,255,0.08); 1803 display: flex; align-items: center; justify-content: center; transition: border-color 0.16s; 1804 } 1805 .tsh-card:hover .tsh-thumb { border-color: rgba(255,255,255,0.3); } 1806 .tsh-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } 1807 .tsh-ph { font-size: 34px; color: rgba(255,255,255,0.08); } 1808 /* Runtime sits on the still, bottom-right, the way a player badges it. */ 1809 .tsh-len { 1810 position: absolute; right: 6px; bottom: 6px; 1811 padding: 1px 5px; border-radius: 3px; 1812 background: rgba(0,0,0,0.78); 1813 color: #fff; font-size: 11px; font-weight: 600; 1814 font-variant-numeric: tabular-nums; letter-spacing: 0.01em; 1815 line-height: 1.5; pointer-events: none; 1816 } 1817 1818 /* Farbrengens are portrait â a poster, not a still. */ 1819 .tsh-pcard { width: 208px; } 1820 .tsh-thumb-portrait { aspect-ratio: 2/3; border-radius: 10px; } 1821 .tsh-pcard.tsh-skel { min-height: 312px; border-radius: 10px; } 1822 .tsh-rawbadge { 1823 position: absolute; top: 7px; left: 7px; border-radius: 4px; padding: 2px 6px; 1824 background: rgba(0,0,0,0.72); border: 1px solid rgba(255,255,255,0.16); 1825 font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; 1826 color: rgba(255,255,255,0.8); 1827 } 1828 .tsh-meta { 1829 font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; 1830 color: rgba(255,255,255,0.38); 1831 } 1832 .tsh-title { 1833 font-size: 14px; font-weight: 600; line-height: 1.35; color: #fff; 1834 display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; 1835 } 1836 1837 /* ââ Film chapters ââ */ 1838 .tsh-film { flex-shrink: 0; width: 232px; display: flex; flex-direction: column; gap: 7px; } 1839 .tsh-film .tsh-card { width: 100%; }
1840 .tsh-chapbtn { 1841 display: inline-flex; align-items: center; gap: 3px; align-self: flex-start; 1842 background: none; border: none; cursor: pointer; padding: 0; 1843 color: rgba(255,255,255,0.45); font-family: var(--font-body); 1844 font-size: 12px; font-weight: 600; transition: color 0.15s; 1845 } 1846 .tsh-chapbtn:hover { color: #fff; } 1847 .tsh-chapbtn .material-symbols-rounded { font-size: 15px; transition: transform 0.18s; } 1848 .tsh-chapters { 1849 display: flex; flex-direction: column; gap: 1px; margin-top: 2px; 1850 border-left: 1px solid rgba(255,255,255,0.1); padding-left: 9px; 1851 } 1852 .tsh-chaprow { 1853 display: flex; align-items: center; gap: 6px; padding: 5px 0; min-height: 26px; 1854 text-decoration: none; color: rgba(255,255,255,0.66); font-size: 12.5px; 1855 cursor: pointer; transition: color 0.14s; 1856 } 1857 .tsh-chaprow:hover { color: #fff; } 1858 .tsh-chaprow .material-symbols-rounded { font-size: 14px; flex-shrink: 0; opacity: 0.6; } 1859 .tsh-chaptitle { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; } 1860 1861 /* ââ Photos ââ */ 1862 .tsh-photos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); } 1863 .tsh-photoskel { aspect-ratio: 318/266; border-radius: 4px; } 1864 1865 /* ââ Day view ââ */ 1866 .tsh-dayview { 1867 position: fixed; inset: 0; z-index: 900; display: flex; align-items: flex-end; 1868 justify-content: center; background: rgba(0,0,0,0.66); 1869 backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); 1870 } 1871 /* A fixed height, not a max: the panel must not resize as tabs with more or 1872 fewer results are picked, so the content scrolls inside a steady frame. */ 1873 .tsh-daypanel { 1874 width: 100%; max-width: 1000px; height: 88dvh; background: ${Xv}; 1875 border: 1px solid rgba(255,255,255,0.1); border-bottom: none; 1876 border-radius: 16px 16px 0 0; display: flex; flex-direction: column; overflow: hidden; 1877 } 1878 .tsh-dayhead { 1879 flex-shrink: 0; 1880 display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; 1881 padding: 20px clamp(16px, 3vw, 26px) 14px; 1882 } 1883 .tsh-dayhead h2 { 1884 margin: 0; font-family: var(--font-headline); font-weight: 700; color: #fff; 1885 font-size: 21px; letter-spacing: -0.02em; 1886 } 1887 .tsh-dayhead p { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,0.45); } 1888 .tsh-close { 1889 flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; 1890 display: flex; align-items: center; justify-content: center; 1891 background: rgba(255,255,255,0.06); border: none; color: rgba(255,255,255,0.7); 1892 transition: background 0.15s, color 0.15s; 1893 } 1894 .tsh-close:hover { background: rgba(255,255,255,0.12); color: #fff; } 1895 1896 /* /ai's tab bar: underlined text, no chips. */ 1897 /* The head and tabs are fixed furniture; only .tsh-daybody scrolls, so the 1898 tabs stay reachable however far down the day's content runs. */ 1899 .tsh-tabs { 1900 flex-shrink: 0; 1901 display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; 1902 padding: 0 clamp(16px, 3vw, 26px); border-bottom: 1px solid rgba(255,255,255,0.08); 1903 background: ${Xv}; 1904 } 1905 .tsh-tabs::-webkit-scrollbar { display: none; } 1906 .tsh-tab { 1907 flex-shrink: 0; background: none; border: none; cursor: pointer; white-space: nowrap; 1908 border-bottom: 3px solid transparent; padding: 11px 2px 9px; 1909 color: rgba(255,255,255,0.55); font-family: var(--font-body); 1910 font-size: 14px; font-weight: 500; transition: color 0.18s; 1911 display: flex; align-items: center; gap: 6px; 1912 } 1913 .tsh-tab:hover { color: rgba(255,255,255,0.85); } 1914 .tsh-tab.on { color: #fff; font-weight: 700; border-bottom-color: #fff; } 1915 .tsh-tab em { font-style: normal; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.4); } 1916 .tsh-tab.on em { color: rgba(255,255,255,0.7); } 1917 1918 .tsh-daybody { 1919 flex: 1 1 auto; min-height: 0; overflow-y: auto; 1920 padding: 20px clamp(16px, 3vw, 26px) 28px; scrollbar-width: thin; 1921 overscroll-behavior: contain; 1922 } 1923 .tsh-daygrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
1924 .tsh-daygrid .tsh-card { width: 100%; } 1925 1926 /* ââ Today: one card in focus, the rest stacked behind it ââ 1927 The stage is a 3D space. Only the focused card is interactive; the others 1928 are parked in depth by GSAP, which owns every transform here. */ 1929 /* Desktop: the stack on the left, its index on the right. Below 1024 the 1930 list is dropped â the dots and arrows already carry the stack there, and 1931 a second copy of the same content would only crowd a phone. */ 1932 .tsh-todaywrap { 1933 display: grid; gap: 20px; 1934 grid-template-columns: minmax(0, 1fr) 318px; 1935 align-items: start; 1936 } 1937 .tsh-todaylist { 1938 display: flex; flex-direction: column; gap: 10px; min-width: 0; 1939 height: clamp(300px, 46vw, 400px); 1940 } 1941 .tsh-listtabs { flex-shrink: 0; gap: 16px; } 1942 .tsh-listtabs .tsh-tab { padding: 6px 2px 7px; font-size: 12.5px; } 1943 .tsh-listscroll { 1944 flex: 1 1 auto; min-height: 0; overflow-y: auto; 1945 display: flex; flex-direction: column; gap: 4px; 1946 scrollbar-width: thin; overscroll-behavior: contain; 1947 padding-right: 4px; 1948 } 1949 .tsh-listrow { 1950 display: flex; gap: 10px; align-items: center; text-align: left; 1951 padding: 6px; border-radius: 9px; cursor: pointer; width: 100%; 1952 background: none; border: 1px solid transparent; color: inherit; 1953 font-family: var(--font-body); 1954 transition: background 0.15s, border-color 0.15s; 1955 } 1956 .tsh-listrow:hover { background: rgba(255,255,255,0.05); } 1957 .tsh-listrow.on { 1958 background: rgba(254,164,56,0.1); border-color: rgba(254,164,56,0.35); 1959 } 1960 .tsh-listthumb { 1961 flex-shrink: 0; width: 72px; aspect-ratio: 16/9; border-radius: 5px; 1962 overflow: hidden; background: #1a1d1d; 1963 display: flex; align-items: center; justify-content: center; 1964 } 1965 .tsh-listthumb img { width: 100%; height: 100%; object-fit: cover; display: block; } 1966 .tsh-listthumb .tsh-ph { font-size: 20px; } 1967 .tsh-listcopy { display: flex; flex-direction: column; gap: 2px; min-width: 0; } 1968 .tsh-listkind { 1969 font-size: 9px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; 1970 color: rgba(255,255,255,0.36); 1971 } 1972 .tsh-listrow.on .tsh-listkind { color: ${Yv}; } 1973 .tsh-listtitle { 1974 font-size: 12.5px; font-weight: 600; line-height: 1.32; color: rgba(255,255,255,0.88); 1975 display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; 1976 } 1977 .tsh-listrow.on .tsh-listtitle { color: #fff; } 1978 1979 .tsh-focus { outline: none; min-width: 0; } 1980 .tsh-focus:focus-visible .tsh-stage { box-shadow: 0 0 0 2px rgba(254,164,56,0.5); border-radius: 18px; } 1981 .tsh-stage { 1982 position: relative; width: 100%; 1983 height: clamp(300px, 46vw, 400px); 1984 perspective: 1500px; perspective-origin: 50% 50%; 1985 transform-style: preserve-3d; 1986 touch-action: pan-y; 1987 user-select: none; 1988 -webkit-user-select: none; 1989 cursor: grab; 1990 } 1991 .tsh-stage:active { cursor: grabbing; } 1992 /* The card is centred in the stage; GSAP's x is an offset from that centre, 1993 so the focused card sits in the middle of the page on any width. */ 1994 /* Centred by the box model, not by a transform â GSAP owns transform here, 1995 so margin:auto does the centring and x stays a pure offset from centre. */ 1996 .tsh-focus-card { 1997 position: absolute; top: 0; bottom: 0; left: 0; right: 0; 1998 margin-inline: auto; 1999 width: min(100%, 720px); 2000 transform-style: preserve-3d; 2001 backface-visibility: hidden; 2002 /* No will-change here â promoting every stacked card caused hover flash 2003 as layers were constantly recomposited under the pointer. */ 2004 } 2005 .tsh-focus-card.tsh-skel { border-radius: 16px; } 2006 2007 .tsh-focus-inner { 2008 display: flex; height: 100%; width: 100%; overflow: hidden; 2009 border-radius: 16px; text-decoration: none; color: inherit; cursor: pointer; 2010 background: #1a1d1d; border: 1px solid rgba(255,255,255,0.1); 2011 padding: 0; text-align: left; font-family: var(--font-body); 2012 box-shadow: 0 28px 70px rgba(0,0,0,0.55); 2013 /* Flat card face â no nested transform/filter hover that fights GSAP's 2014 3D parent and flashes the plate. */ 2015 transition: border-color 0.2s; 2016 -webkit-tap-highlight-color: transparent; 2017 } 2018 .tsh-focus-inner:hover { border-color: rgba(255,255,255,0.32); } 2019 2020 .tsh-focus-img { 2021 position: relative; flex: 0 0 52%; overflow: hidden; background: #161919; 2022 display: flex; align-items: center; justify-content: center; 2023 } 2024 .tsh-focus-img img { 2025 width: 100%; height: 100%; object-fit: cover; display: block; 2026 } 2027 /* A soft wash from the copy side, so the still and the text are one plate. */ 2028 .tsh-focus-glow { 2029 position: absolute; inset: 0; 2030 background: 2031 linear-gradient(90deg, rgba(26,29,29,0) 58%, rgba(26,29,29,0.9) 100%), 2032 radial-gradient(70% 90% at 20% 30%, rgba(254,164,56,0.1), transparent 70%); 2033 pointer-events: none; 2034 } 2035 .tsh-focus-play { 2036 position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; 2037 display: flex; align-items: center; justify-content: center; 2038 /* Solid plate, no backdrop-filter â blur over a transforming 3D parent 2039 is what made the card flash on hover. */ 2040 background: rgba(19,21,21,0.72); border: 1px solid rgba(255,255,255,0.34); 2041 opacity: 0.9; pointer-events: none; 2042 } 2043 .tsh-focus-play .material-symbols-rounded { font-size: 32px; color: #fff; } 2044 .tsh-focus-stack { 2045 position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px; 2046 background: rgba(0,0,0,0.66); border-radius: 999px; padding: 4px 10px; 2047 font-size: 11.5px; font-weight: 700; color: #fff; 2048 } 2049 .tsh-focus-stack .material-symbols-rounded { font-size: 14px; } 2050 2051 .tsh-focus-copy { 2052 flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; 2053 gap: 9px; padding: clamp(18px, 2.6vw, 30px); 2054 } 2055 .tsh-focus-meta { 2056 font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; 2057 color: rgba(255,255,255,0.45); 2058 } 2059 .tsh-focus-title { 2060 font-family: var(--font-headline); font-weight: 700; color: #fff; 2061 font-size: clamp(19px, 2.4vw, 27px); line-height: 1.2; letter-spacing: -0.022em; 2062 display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; 2063 } 2064 .tsh-focus-desc { 2065 font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.58); 2066 display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; 2067 } 2068 .tsh-focus-cta { 2069 display: inline-flex; align-items: center; gap: 5px; margin-top: 3px; 2070 font-size: 13px; font-weight: 700; color: ${Yv}; 2071 } 2072 .tsh-focus-cta .material-symbols-rounded { font-size: 16px; transition: transform 0.2s; } 2073 .tsh-focus-inner:hover .tsh-focus-cta .material-symbols-rounded { transform: translateX(4px); } 2074 2075 /* The controls sit under the stage, quiet until wanted. */ 2076 .tsh-focus-bar { 2077 display: flex; align-items: center; gap: 12px; margin-top: 16px; 2078 } 2079 .tsh-focus-nav { 2080 flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; 2081 display: flex; align-items: center; justify-content: center; 2082 background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); 2083 color: rgba(255,255,255,0.75); transition: background 0.16s, color 0.16s, border-color 0.16s; 2084 } 2085 .tsh-focus-nav:hover { 2086 background: rgba(255,255,255,0.11); color: #fff; border-color: rgba(255,255,255,0.3); 2087 } 2088 .tsh-focus-nav .material-symbols-rounded { font-size: 19px; } 2089 /* The dots are the centre of the bar, so they centre inside the space the 2090 arrows leave rather than packing to the left of it. */ 2091 .tsh-dots { 2092 display: flex; align-items: center; justify-content: center; 2093 gap: 6px; flex: 1; min-width: 0; 2094 overflow-x: auto; scrollbar-width: none; 2095 } 2096 .tsh-dots::-webkit-scrollbar { display: none; } 2097 .tsh-dot { flex-shrink: 0; } 2098 .tsh-dot { 2099 width: 7px; height: 7px; border-radius: 999px; padding: 0; cursor: pointer; 2100 background: rgba(255,255,255,0.2); border: none; 2101 transition: width 0.3s cubic-bezier(0.2,0.8,0.2,1), background 0.3s; 2102 } 2103 .tsh-dot:hover { background: rgba(255,255,255,0.4); } 2104 .tsh-dot.on { width: 22px; background: ${Yv}; } 2105 .tsh-focus-count { 2106 flex-shrink: 0; font-size: 12px; font-weight: 600; 2107 color: rgba(255,255,255,0.4); font-variant-numeric: tabular-nums; 2108 /* Paired with an invisible twin on the left, so the dots land on the 2109 bar's real centre instead of drifting toward the arrows. */ 2110 min-width: 38px; text-align: right; 2111 } 2112 .tsh-focus-spacer { visibility: hidden; } 2113 2114 /* ââ Banner ââ */ 2115 .tsh-banner { 2116 display: flex; align-items: center; gap: 18px; overflow: hidden; 2117 border-radius: 12px; text-decoration: none; color: inherit; cursor: pointer; 2118 background: #1a1d1d; border: 1px solid rgba(255,255,255,0.09); 2119 padding: clamp(16px, 2.6vw, 24px) clamp(18px, 3vw, 28px); 2120 transition: border-color 0.18s, background 0.18s; 2121 } 2122 .tsh-banner:hover { border-color: rgba(255,255,255,0.28); background: #1f2323; } 2123 .tsh-banner-copy { 2124 flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; 2125 } 2126 .tsh-banner-eyebrow { 2127 font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; 2128 color: rgba(255,255,255,0.4); 2129 } 2130 .tsh-banner-title { 2131 font-family: var(--font-headline); font-weight: 700; color: #fff; 2132 font-size: clamp(19px, 2.4vw, 26px); letter-spacing: -0.02em; line-height: 1.15; 2133 } 2134 .tsh-banner-blurb { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,0.58); } 2135 .tsh-banner-cta { 2136 flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; 2137 font-size: 13px; font-weight: 700; color: ${Yv}; 2138 } 2139 .tsh-banner-cta .material-symbols-rounded { font-size: 16px; transition: transform 0.18s; } 2140 .tsh-banner:hover .tsh-banner-cta .material-symbols-rounded { transform: translateX(3px); } 2141 2142 /* Inline tabs (the series volume picker) sit in the flow, not pinned. */ 2143 .tsh-tabs-inline { padding: 0; background: none; } 2144 2145 .tsh-sub { 2146 font-size: 11.5px; color: rgba(255,255,255,0.4); line-height: 1.3; 2147 display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; 2148 } 2149 .tsh-galcount { 2150 position: absolute; bottom: 7px; right: 7px; border-radius: 999px; padding: 2px 8px; 2151 background: rgba(0,0,0,0.74); font-size: 11px; font-weight: 700; color: #fff; 2152 } 2153 2154 /* Photos under All / event tabs in the day lander. */ 2155 .tsh-dayphotos { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; } 2156 2157 /* ââ Year rows ââ */ 2158 .tsh-years { display: flex; flex-direction: column; gap: 26px; } 2159 .tsh-year { display: flex; flex-direction: column; gap: 10px; } 2160 .tsh-year-head { display: flex; align-items: baseline; gap: 9px; } 2161 .tsh-year-n { 2162 font-family: var(--font-hebrew); font-size: 17px; font-weight: 700; color: #fff; 2163 } 2164 .tsh-year-g { font-size: 12px; color: rgba(255,255,255,0.4); font-weight: 600; } 2165 .tsh-year-c { 2166 font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.35); 2167 border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; padding: 1px 7px; 2168 } 2169 .tsh-photocell { flex-shrink: 0; width: 232px; } 2170 2171 /* ââ Skeleton ââ */ 2172 .tsh-skel { 2173 background: linear-gradient(100deg, rgba(255,255,255,0.04) 30%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 70%); 2174 background-size: 220% 100%; animation: tshShimmer 1.4s ease-in-out infinite; 2175 border-radius: 8px; pointer-events: none; 2176 } 2177 .tsh-card.tsh-skel { min-height: 168px; }
2178 .tsh-chaprow.tsh-skel { min-height: 26px; } 2179 @keyframes tshShimmer { to { background-position: -220% 0; } } 2180 2181 @media (max-width: 820px) { 2182 .tsh-grid, .tsh-weekdays { gap: 4px; } 2183 .tsh-day { min-height: 66px; padding: 6px; } 2184 .tsh-day-n { font-size: 15px; } 2185 .tsh-day-heb { font-size: 12px; } 2186 .tsh-day-ev { font-size: 9px; } 2187 } 2188 @media (max-width: 720px) { 2189 .tsh-banner { flex-direction: column; align-items: flex-start; gap: 12px; } 2190 } 2191 @media (max-width: 1024px) { 2192 .tsh-todaywrap { grid-template-columns: 1fr; } 2193 .tsh-todaylist { display: none; } 2194 } 2195 @media (max-width: 560px) { 2196 .tsh-day { min-height: 54px; } 2197 /* The Hebrew date stays; only the event label folds away. */ 2198 .tsh-day-g, .tsh-day-ev { display: none; } 2199 .tsh-day-n { font-size: 14px; gap: 4px; } 2200 .tsh-day-heb { font-size: 11.5px; } 2201 .tsh-card, .tsh-film { width: 180px; } 2202 /* On a phone the card stacks: still above, words below. */ 2203 .tsh-focus-inner { flex-direction: column; } 2204 /* One line of dots, and the counter goes â the dots already say where 2205 you are, and two indicators crowd a small bar. */ 2206 .tsh-focus-count { display: none; } 2207 .tsh-focus-bar { gap: 9px; } 2208 .tsh-focus-img { flex: 0 0 52%; } 2209 .tsh-focus-glow { 2210 background: linear-gradient(0deg, rgba(26,29,29,0.94) 0%, rgba(26,29,29,0) 62%); 2211 } 2212 .tsh-focus-desc { display: none; } 2213 .tsh-pcard { width: 148px; } 2214 .tsh-pcard.tsh-skel { min-height: 222px; } 2215 .tsh-photos { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 9px; } 2216 .tsh-daypanel { height: 92dvh; } 2217 } 2218 @media (prefers-reduced-motion: reduce) { 2219 .tsh-skel { animation: none; } 2220 .tsh-card, .tsh-day, .tsh-tab { transition: none; } 2221 } 2222`,Sy=Object.assign({})[`./ashreinu/AshreinuSearch.jsx`],Cy=Sy?(0,v.lazy)(Sy):null,wy=`(type:Film OR type:"Short Film")`,Ty=[{id:`all`,label:`All Films`},{id:`Film`,label:`Features`,typeFilter:`type:Film`},{id:`Short Film`,label:`Short Films`,typeFilter:`type:"Short Film"`}];function Ey({isWidget:e}){let t=va();return console.log(`isEmbedAllowed:`,t),t?e?(0,q.jsx)(Xa,{onBack:()=>console.log(`Back clicked`)}):(0,q.jsx)(pn,{children:(0,q.jsxs)(Ct,{children:[(0,q.jsx)(xt,{path:`/`,element:(0,q.jsx)(`div`,{style:{background:`#0f1014`,minHeight:`100vh`},children:(0,q.jsx)(za,{onBack:()=>console.log(`Back clicked`)})})}),(0,q.jsx)(xt,{path:`/main`,element:(0,q.jsx)(Xa,{onBack:()=>console.log(`Back clicked`)})}),(0,q.jsx)(xt,{path:`/wsearch`,element:(0,q.jsxs)(`div`,{style:{background:`#0f1014`,minHeight:`100vh`,color:`white`,padding:`20px`},children:[(0,q.jsx)(`h1`,{children:`Widget Search Test`}),(0,q.jsx)(`p`,{children:`If you see this, the page loaded successfully!`}),(0,q.jsx)(Xa,{onBack:()=>console.log(`Back clicked`)})]})}),(0,q.jsx)(xt,{path:`/test`,element:(0,q.jsx)(zo,{onBack:()=>console.log(`Back clicked`)})}),(0,q.jsx)(xt,{path:`/ai`,element:(0,q.jsx)(Ws,{})}),(0,q.jsx)(xt,{path:`/aiplus`,element:(0,q.jsx)(nc,{})}),(0,q.jsx)(xt,{path:`/films`,element:(0,q.jsx)(Xa,{baseFilter:wy,chips:Ty,placeholder:`Search films`,onBack:()=>console.log(`Back clicked`)})}),(0,q.jsx)(xt,{path:`/ohel-playing`,element:(0,q.jsx)(U_,{})}),(0,q.jsx)(xt,{path:`/cms`,element:(0,q.jsx)(Y_,{})}),(0,q.jsx)(xt,{path:`/tishrei`,element:(0,q.jsx)(ey,{})}),Cy&&(0,q.jsx)(xt,{path:`/ashreinu`,element:(0,q.jsx)(v.Suspense,{fallback:null,children:(0,q.jsx)(`div`,{style:{background:`#0f1014`,minHeight:`100vh`},children:(0,q.jsx)(Cy,{onBack:()=>console.log(`Back clicked`)})})})})]})}):(console.log(`Embed not allowed, returning null`),null)}function Dy(){let e=`https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20,400,1,0&display=block`;if(document.querySelector(`link[href="${e}"]`))return;if(!document.querySelector(`link[rel="preconnect"][href="https://fonts.gstatic.com"]`)){let e=document.createElement(`link`);e.rel=`preconnect`,e.href=`https://fonts.gstatic.com`,e.crossOrigin=`anonymous`,document.head.appendChild(e)}let t=document.createElement(`link`);t.rel=`stylesheet`,t.href=e,document.head.appendChild(t)}Dy();var Oy=document.getElementById(`jem-search-widget-root`)||document.getElementById(`root`);if(Oy){let e=Oy.id===`jem-search-widget-root`;(0,y.createRoot)(Oy).render((0,q.jsx)(v.StrictMode,{children:(0,q.jsx)(Ey,{isWidget:e})}))}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.