Idan Segev Lab

ELSC Members

Idan Segev

Professor Emeritus

Phone: +972-54-8820610
Address: The Edmond and Lily Safra Center for Brain Sciences
The Suzanne and Charles Goodman Brain Sciences Building,
Level 2, Room 1202, Edmond J. Safra Campus,
The Hebrew University of Jerusalem, 9190401
David and Inez Myers Chair in Neural Computation, Emeritus
The lab for understanding neurons Drahi Brain Computation & Communication Laboratory

Neurons – these elegant, plastic microchips of the brain and their synaptic networks enable us to learn, adapt, envision new ideas, build brain-inspired machines, and create art and science. Understanding how the brain uses its structural and physiological components to achieve sophisticated cognitive abilities requires computational models that integrate these features step-by-step, ultimately revealing “what makes us human.”

Selected Lab Projects

  1. Connectomics-based NEURON Simulations: We leverage “big data” from dense reconstructions (Connectomics Project) to create realistic models of cortical neurons and networks. Using compartmental models, machine learning, and graph theory, we explore how neurons’ geometry and network connectivity shape the I/O properties of neurons and circuits.
  2. NeurAI: This project develops deep neural network analogues to human cortical neurons, using experimental data from brain tissue obtained during epilepsy or tumor surgeries. The goal is to uncover what gives human neurons and circuits their unique computational power.
  3. Energy Efficiency of the Brain: Our brain performs complex cognitive tasks using just 20 watts – equivalent to a light bulb – compared to megawatts required by supercomputers for similar tasks. We investigate how analog computations in dendrites and synapses enable this efficiency, with the aim of developing energy-efficient, neuromorphic systems.
  4. Frontiers for young minds. We believe in preparing kids for the fast-changing world – via the open access FYM articles, written by scientists and reviewed by kids

Our work is supported by grants from the National Institutes of Health (NIH) and the Office of Naval Research (ONR).

Toviah Headshot
Toviah Moldwin
Post Doc
David photo website 2025
David Beniaguev
Post Doc
Netanel_Ofer_ELSC
Netanel Ofer
Post Doc
IMG_20220330_134231 (1)
Jonathan Leibner
Ph.D.
Dean photo website 2025
Dean Geckt
Ph.D.
Sapir Shapira
Sapir Shapira
Ph.D.
ido_picture
Ido Aizenbud
Ph.D.
Daniela yoeli
Daniela Yoeli
M.Sc.
Maor Nativ
Maor Nativ
B.Sc.
IMG_2817 4
Ilia Bezgin
M.Sc.
Michal leci
Michal Leci
Administrative Assistant and Budgets Coordinator
SiweiWang
Siwei Wang
Phone: +972-2-6586989
ELSC_michael
Michael Doron
Oren_Amsalem
Oren Amsalem
Phone: +972-54-5526161
ELSC-Seminars-General
Alon Schindel
Sarah Hunt, Yoni Leibner, Eline J Mertens, Natalí Barros-Zulaica, Lida Kanari, Tim S Heistek, Mahesh M Karnani, Romy Aardse, René Wilbers, Djai B Heyer, Natalia A Goriounova, Matthijs B Verhoog, Guilherme Testa-Silva, Joshua Obermayer, Tamara Versluis, Ruth Benavides-Piccione, Philip de Witt-Hamer, Sander Idema, David P Noske, Johannes C Baayen, Ed S Lein, Javier DeFelipe, Henry Markram, Huibert D Mansvelder, Felix Schürmann, Idan Segev, Christiaan P J de Kock

Cerebral Cortex (2023)

Moldwin, Toviah, Menachem Kalmenson, and Idan Segev

eneuro (2023)

Eline J. Mertens, Yoni Leibner,Jean Pie, …, Huibert D. Mansvelder,Idan Segev, Christiaan P.J. de Kock.

Cell Reports (2023)

Shani-Narkiss, Haran, David Beniaguev, Idan Segev, and Adi Mizrahi

Frontiers in Neural Circuits (2023)

Dudai, Amir, Michael Doron, Idan Segev, and Michael London.

Journal of Neuroscience (2022)

Shapira, Gilad, Mira Marcus-Kalish, Oren Amsalem, Werner Van Geit, Idan Segev, and David M. Steinberg

Frontiers in big Data (2022)

David Beniaguev, Idan Segev, Michael London

Neuron, ISSN 0896-6273 (2021)

Gal,Eyal, Amsalem,Oren, Schindel,Alon, London,Michael, Schürmann,Felix, Markram,Henry, Segev,Idan

Frontiers in Neural Circuits  (2021)

Eilam Goldenberg Leleo ,Idan Segev

PLoS Comput Biol 17(11): e1009558. (2021)

Amir Dudai, Michael Doron, Idan Segev and Michael London

Journal of Neuroscience, JN-RM-1470-21 (2021)

GJ, Ng L, Ojemann JG, Patel AP, Phillips JW, Silbergeld DL, Smith K, Tasic B, YusteR, Segev I, de Kock CPJ, Mansvelder HD, Tamas G, Zeng H, Koch C, Lein ES.

Nature (2021)

Yaara Lefler, Oren Amsalem, Nora Vrieler, Idan Segev, Yosef Yarom

eLife (2020)

Benavides-Piccione, R., M. Regalado-Reyes, I. Fernaud-Espinosa, A. Kastanauskaite, S. Tapia-Gonzalez, G. Leon-Espinosa, C. Rojo, R. Insausti, I. Segev, and J. DeFelipe

Cereb Cortex (2020)

Oren Amsalem, James King, Michael Reimann, Srikanth Ramaswamy, Eilif Muller, Henry Markram, Israel Nelken, Idan Segev

bioRxiv (2020)

Giuseppe Chindemi, Marwan Abdellah, Oren Amsalem, Ruth Benavides-Piccione, Vincent Delattre, Michael Doron, Andras Ecker, James King, Pramod Kumbhar, Caitlin Monney, Rodrigo Perin, Christian Rössert, Werner Van Geit, Javier DeFelipe, Michael Graupner, Idan Segev, Henry Markram, Eilif Muller

bioRxiv (2020)

Jim Berg, Staci A. Sorensen, Jonathan T. Ting, Jeremy A. Miller, Thomas Chartrand, Anatoly Buchin, Trygve E. Bakken, Agata Budzillo, Nick Dee, Song-Lin Ding, Nathan W. Gouwens, Rebecca D. Hodge, Brian Kalmbach, Changkyu Lee, Brian R. Lee, Lauren Alfiler, Katherine Baker, Eliza Barkan, Allison Beller, Kyla Berry, Darren Bertagnolli, Kris Bickley, Jasmine Bomben, Thomas Braun, Krissy Brouner, Tamara Casper, Peter Chong, Kirsten Crichton, Rachel Dalley, Rebecca de Frates, Tsega Desta, Samuel Dingman Lee, Florence D’Orazi, Nadezhda Dotson, Tom Egdorf, Rachel Enstrom, Colin Farrell, David Feng, Olivia Fong, Szabina Furdan, Anna A. Galakhova, Clare Gamlin, Amanda Gary, Alexandra Glandon, Jeff Goldy, Melissa Gorham, Natalia A. Goriounova, Sergey Gratiy, Lucas Graybuck, Hong Gu, Kristen Hadley, Nathan Hansen, Tim S. Heistek, Alex M. Henry, Djai B. Heyer, DiJon Hill, Chris Hill, Madie Hupp, Tim Jarsky, Sara Kebede, Lisa Keene, Lisa Kim, Mean-Hwan Kim, Matthew Kroll, Caitlin Latimer, Boaz P. Levi, Katherine E. Link, Matthew Mallory, Rusty Mann, Desiree Marshall, Michelle Maxwell, Medea McGraw, Delissa McMillen, Erica Melief, Eline J. Mertens, Leona Mezei, Norbert Mihut, Stephanie Mok, Gabor Molnar, Alice Mukora, Lindsay Ng, Kiet Ngo, Philip R. Nicovich, Julie Nyhus, Gaspar Olah, Aaron Oldre, Victoria Omstead, Attila Ozsvar, Daniel Park, Hanchuan Peng, Trangthanh Pham, Christina A. Pom, Lydia Potekhina, Ramkumar Rajanbabu, Shea Ransford, David Reid, Christine Rimorin, Augustin Ruiz, David Sandman, Josef Sulc, Susan M. Sunkin, Aaron Szafer, Viktor Szemenyei, Elliot R. Thomsen, Michael Tieu, Amy Torkelson, Jessica Trinh, Herman Tung, Wayne Wakeman, Katelyn Ward, René Wilbers, Grace Williams, Zizhen Yao, Jae-Geun Yoon, Costas Anastassiou, Anton Arkhipov, Pal Barzo, Amy Bernard, Charles Cobbs, Philip C. de Witt Hamer, Richard G. Ellenbogen, Luke Esposito, Manuel Ferreira, Ryder P. Gwinn, Michael J. Hawrylycz, Patrick R. Hof, Sander Idema, Allan R. Jones, C.Dirk Keene, Andrew L. Ko, Gabe J. Murphy, Lydia Ng, Jeffrey G. Ojemann, Anoop P. Patel, John W. Phillips, Daniel L. Silbergeld, Kimberly Smith, Bosiljka Tasic, Rafael Yuste, Idan Segev, Christiaan P.J. de Kock, Huibert D. Mansvelder, Gabor Tamas, Hongkui Zeng, Christof Koch, Ed S. Lein

bioRxiv (2020)

Siwei Wang, Alexander Borst, Idan Segev, Stephanie Palmer

bioRxiv (2020)

David Beniaguev, Idan Segev, Michael London

bioRxiv preprint first posted online Apr. 18, 2019; (2019)

Eyal Gal, Rodrigo Perin, Henry Markram, Michael London, Idan Segev

bioRxiv preprint first posted online May. 31, 2019 (2019)

Amsalem, O., Eyal, G., Rogozinski, N. et al.

Nat Commun 11, 288 (2019)

Lefler Y., Amsalem O., Segev I., Yarom Y.

bioRxiv preprint (2018)

Moldwin T., Segev I.

bioRxiv preprint first posted online Nov. 9, 2018; doi: https://dx.doi.org/10.1101/464826. (2018)

Ohad Dan, Elizabeth Hopp, Alexander Borst, Idan Segev

SCIENTIFIC REPORTS | (2018) 8:5787 | DOI:10.1038/s41598-018-23998-9 (2018)

Guy Eyal, Matthijs B. Verhoog, Guilherme Testa-Silva, Yair Deitcher, Ruth Benavides-Piccione, Javier DeFelipe, Christiaan P. J. de Kock, Huibert D. Mansvelder, Idan Sege

doi: 10.3389/fncel.2018.00181 (2018)

Michael Doron, Giuseppe Chindemi, Eilif Muller, Henry Markram, Idan Segev

Cell Reports 21, 1550-1561 (2017)

Eyal Gal, Michael London, Amir Globerson, Srikanth Ramaswamy, Michael W Reimann, Eilif Muller, Henry Markram & Idan Segev

Nature Neuroscience, VOLUME 20 | NUMBER 7 | JULY 2017 (2017)

Yair Deitcher, Guy Eyal, Lida Kanari, Matthijs B. Verhoog, Guy Antoine Atenekeng Kahou, Huibert D. Mansvelder, Christiaan P.J. de Kock, and Idan Segev

Cerebral Cortex, 2017; 1-17, doi: 10.1093/cercor/bhx226 (2017)

Guy Eyal, Matthijs B Verhoog, Guilherme Testa-Silva, Yair Deitcher, Johannes C Lodder, Ruth Benavides-Piccione, Juan Morales, Javier DeFelipe, Christiaan PJ de Kock, Huibert D Mansvelder, Idan Segev

eLife 2016;5:e16553. DOI: 10.7554/eLife.16553 (2016)

Van Geit W., Gevaert M., Chindemi G., Rössert Ch., Courcol J. D., Muller E., Schürmann F., Segev I., Markram H.

Frontiers Neuroinform. 2016; 10: 17. (2016)

Amsalem O., Van Geit W., Muller E., Markram H., Segev I.

Cerebral Cortex 26(8): 3655–3668. (2016)

DeFelipe J., Douglas R. J., Hill S. L., Lein E. S., Martin K. A. C., Rockland K. S., Segev I., Shepherd G. M., Tamás G.

Frontiers Neuroanat., 10 June 2016 (2016)

Rössert Ch., Pozzorini Ch., Chindemi G., Davison A. P., Eroe C., King J., Newton T. H., Nolte M. Ramaswamy S., Reimann M. W., Gewaltig M. O., Gerstner W. Markram H., Segev I., Muller E.

arXiv:1604.00087 (2016)

Markram H et al.

Cell Volume 163, Issue 2, P456-492 (2015)

Etay Hay, Idan Segev,

Cereb Cortex. 25(10):3561-71 (2015)

Jonathan Laudanski, Benjamin Torben-Nielsen, Idan Segev,

PLOS Computational Biology | Volume 10 | Issue 8 | e1003775 (2014)

Guy Eyal, Huibert D. Mansvelder, Christiaan P.J. de Kock, and Idan Segev,

Journal of Neuroscience, 34 (24) 8063-8071 (2014)

Idan Segev, Luis M. Martinez and Robert J. Zatorre,

Front. Hum. Neurosci. (2014)

Anat Yaron-Jakoubovitch, Christof Koch, Idan Segev, and Yosef Yarom

Front Neural Circuits. 7: 116. (2013)

Etay Hay, Felix Schurmann, Henry Markram and Idan Segev

J Neurophysiol. 109(12):2972-81 (2013)

Lital Bar-Ilan, Albert Gidon and Idan Segev

Front. Neural Circuits (2013)

Leora Sarid; Dirk Feldmeyer; Albert Gidon; Bert Sakmann; Idan Segev,

Cereb Cortex. 25(4): 849–858. (2013)

Segev Idan and Schurmann Felix.

Frontiers for young minds (2013)

Benjamin Torben-Nielsen , Idan Segev, Yosef Yarom

PLoS Computational Biology, Volume 8 | Issue 7 | e1002580 (2012)

Gidon A.,Segev I.

Neuron; 75(2):330-41 (2012)

At this time there are no available positions in the lab.
Honors:
The David & Inez Myers Chair in Computational Neuroscience

Lab Website:
Lab Website
ELSC Program in Theoretical Neuroscience

Idan Segev

Professor Emeritus

Phone: +972-54-8820610
Address: The Edmond and Lily Safra Center for Brain Sciences
The Suzanne and Charles Goodman Brain Sciences Building,
Level 2, Room 1202, Edmond J. Safra Campus,
The Hebrew University of Jerusalem, 9190401
ניתן להשתמש בחצי המקלדת בכדי לנווט בין כפתורי הרכיב
",e=e.removeChild(e.firstChild)):"string"==typeof o.is?e=l.createElement(a,{is:o.is}):(e=l.createElement(a),"select"===a&&(l=e,o.multiple?l.multiple=!0:o.size&&(l.size=o.size))):e=l.createElementNS(e,a),e[Ni]=t,e[Pi]=o,Pl(e,t,!1,!1),t.stateNode=e,l=Ae(a,o),a){case"iframe":case"object":case"embed":Te("load",e),u=o;break;case"video":case"audio":for(u=0;u<$a.length;u++)Te($a[u],e);u=o;break;case"source":Te("error",e),u=o;break;case"img":case"image":case"link":Te("error",e),Te("load",e),u=o;break;case"form":Te("reset",e),Te("submit",e),u=o;break;case"details":Te("toggle",e),u=o;break;case"input":A(e,o),u=M(e,o),Te("invalid",e),Ie(n,"onChange");break;case"option":u=B(e,o);break;case"select":e._wrapperState={wasMultiple:!!o.multiple},u=Uo({},o,{value:void 0}),Te("invalid",e),Ie(n,"onChange");break;case"textarea":V(e,o),u=H(e,o),Te("invalid",e),Ie(n,"onChange");break;default:u=o}Me(a,u);var s=u;for(i in s)if(s.hasOwnProperty(i)){var c=s[i];"style"===i?ze(e,c):"dangerouslySetInnerHTML"===i?(c=c?c.__html:void 0,null!=c&&Aa(e,c)):"children"===i?"string"==typeof c?("textarea"!==a||""!==c)&&X(e,c):"number"==typeof c&&X(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(ea.hasOwnProperty(i)?null!=c&&Ie(n,i):null!=c&&x(e,i,c,l))}switch(a){case"input":L(e),j(e,o,!1);break;case"textarea":L(e),$(e);break;case"option":null!=o.value&&e.setAttribute("value",""+P(o.value));break;case"select":e.multiple=!!o.multiple,n=o.value,null!=n?q(e,!!o.multiple,n,!1):null!=o.defaultValue&&q(e,!!o.multiple,o.defaultValue,!0);break;default:"function"==typeof u.onClick&&(e.onclick=Fe)}Ve(a,o)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ll(e,t,e.memoizedProps,o);else{if("string"!=typeof o&&null===t.stateNode)throw Error(r(166));n=yn(yu.current),yn(bu.current),Jn(t)?(n=t.stateNode,o=t.memoizedProps,n[Ni]=t,n.nodeValue!==o&&(t.effectTag|=4)):(n=(9===n.nodeType?n:n.ownerDocument).createTextNode(o),n[Ni]=t,t.stateNode=n)}return null;case 13:return zt(vu),o=t.memoizedState,0!==(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==o,o=!1,null===e?void 0!==t.memoizedProps.fallback&&Jn(t):(a=e.memoizedState,o=null!==a,n||null===a||(a=e.child.sibling,null!==a&&(i=t.firstEffect,null!==i?(t.firstEffect=a,a.nextEffect=i):(t.firstEffect=t.lastEffect=a,a.nextEffect=null),a.effectTag=8))),n&&!o&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&vu.current)?rs===Qu&&(rs=Yu):(rs!==Qu&&rs!==Yu||(rs=Gu),0!==us&&null!==es&&(To(es,ns),Co(es,us)))),(n||o)&&(t.effectTag|=4),null);case 4:return wn(),Ol(t),null;case 10:return Zt(t),null;case 17:return It(t.type)&&Ft(),null;case 19:if(zt(vu),o=t.memoizedState,null===o)return null;if(a=0!==(64&t.effectTag),i=o.rendering,null===i){if(a)mr(o,!1);else if(rs!==Qu||null!==e&&0!==(64&e.effectTag))for(i=t.child;null!==i;){if(e=_n(i),null!==e){for(t.effectTag|=64,mr(o,!1),a=e.updateQueue,null!==a&&(t.updateQueue=a,t.effectTag|=4),null===o.lastEffect&&(t.firstEffect=null),t.lastEffect=o.lastEffect,o=t.child;null!==o;)a=o,i=n,a.effectTag&=2,a.nextEffect=null,a.firstEffect=null,a.lastEffect=null,e=a.alternate,null===e?(a.childExpirationTime=0,a.expirationTime=i,a.child=null,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null):(a.childExpirationTime=e.childExpirationTime,a.expirationTime=e.expirationTime,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,i=e.dependencies,a.dependencies=null===i?null:{expirationTime:i.expirationTime,firstContext:i.firstContext,responders:i.responders}),o=o.sibling;return Mt(vu,1&vu.current|2),t.child}i=i.sibling}}else{if(!a)if(e=_n(i),null!==e){if(t.effectTag|=64,a=!0,n=e.updateQueue,null!==n&&(t.updateQueue=n,t.effectTag|=4),mr(o,!0),null===o.tail&&"hidden"===o.tailMode&&!i.alternate)return t=t.lastEffect=o.lastEffect,null!==t&&(t.nextEffect=null),null}else 2*ru()-o.renderingStartTime>o.tailExpiration&&1t)&&vs.set(e,t)))}}function Ur(e,t){e.expirationTimee?n:e,2>=e&&t!==e?0:e}function qr(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=$t(Vr.bind(null,e));else{var t=Br(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=Fr();if(1073741823===t?r=99:1===t||2===t?r=95:(r=10*(1073741821-t)-10*(1073741821-r),r=0>=r?99:250>=r?98:5250>=r?97:95),null!==n){var o=e.callbackPriority;if(e.callbackExpirationTime===t&&o>=r)return;n!==Yl&&Bl(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?$t(Vr.bind(null,e)):Wt(r,Hr.bind(null,e),{timeout:10*(1073741821-t)-ru()}),e.callbackNode=t}}}function Hr(e,t){if(ks=0,t)return t=Fr(),No(e,t),qr(e),null;var n=Br(e);if(0!==n){if(t=e.callbackNode,(Ju&(Wu|$u))!==Hu)throw Error(r(327));if(lo(),e===es&&n===ns||Kr(e,n),null!==ts){var o=Ju;Ju|=Wu;for(var a=Yr();;)try{eo();break}catch(t){Xr(e,t)}if(Gt(),Ju=o,Bu.current=a,rs===Ku)throw t=os,Kr(e,n),To(e,n),qr(e),t;if(null===ts)switch(a=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,o=rs,es=null,o){case Qu:case Ku:throw Error(r(345));case Xu:No(e,2=n){e.lastPingedTime=n,Kr(e,n);break}}if(i=Br(e),0!==i&&i!==n)break;if(0!==o&&o!==n){e.lastPingedTime=o;break}e.timeoutHandle=Si(oo.bind(null,e),a);break}oo(e);break;case Gu:if(To(e,n),o=e.lastSuspendedTime,n===o&&(e.nextKnownPendingLevel=ro(a)),ss&&(a=e.lastPingedTime,0===a||a>=n)){e.lastPingedTime=n,Kr(e,n);break}if(a=Br(e),0!==a&&a!==n)break;if(0!==o&&o!==n){e.lastPingedTime=o;break}if(1073741823!==is?o=10*(1073741821-is)-ru():1073741823===as?o=0:(o=10*(1073741821-as)-5e3,a=ru(),n=10*(1073741821-n)-a,o=a-o,0>o&&(o=0),o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*Uu(o/1960))-o,n=o?o=0:(a=0|l.busyDelayMs,i=ru()-(10*(1073741821-i)-(0|l.timeoutMs||5e3)),o=i<=a?0:a+o-i),10 component higher in the tree to provide a loading indicator or placeholder to display."+N(i))}rs!==Zu&&(rs=Xu),l=yr(l,i),f=a;do{switch(f.tag){case 3:u=l,f.effectTag|=4096,f.expirationTime=t;var w=Ar(f,u,t);ln(f,w); break e;case 1:u=l;var E=f.type,k=f.stateNode;if(0===(64&f.effectTag)&&("function"==typeof E.getDerivedStateFromError||null!==k&&"function"==typeof k.componentDidCatch&&(null===ms||!ms.has(k)))){f.effectTag|=4096,f.expirationTime=t;var _=Ir(f,u,t);ln(f,_);break e}}f=f.return}while(null!==f)}ts=no(ts)}catch(e){t=e;continue}break}}function Yr(){var e=Bu.current;return Bu.current=Cu,null===e?Cu:e}function Gr(e,t){eus&&(us=e)}function Jr(){for(;null!==ts;)ts=to(ts)}function eo(){for(;null!==ts&&!Gl();)ts=to(ts)}function to(e){var t=Fu(e.alternate,e,ns);return e.memoizedProps=e.pendingProps,null===t&&(t=no(e)),qu.current=null,t}function no(e){ts=e;do{var t=ts.alternate;if(e=ts.return,0===(2048&ts.effectTag)){if(t=br(t,ts,ns),1===ns||1!==ts.childExpirationTime){for(var n=0,r=ts.child;null!==r;){var o=r.expirationTime,a=r.childExpirationTime;o>n&&(n=o),a>n&&(n=a),r=r.sibling}ts.childExpirationTime=n}if(null!==t)return t;null!==e&&0===(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=ts.firstEffect),null!==ts.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=ts.firstEffect),e.lastEffect=ts.lastEffect),1e?t:e}function oo(e){var t=qt();return Vt(99,ao.bind(null,e,t)),null}function ao(e,t){do lo();while(null!==gs);if((Ju&(Wu|$u))!==Hu)throw Error(r(327));var n=e.finishedWork,o=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(r(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var a=ro(n);if(e.firstPendingTime=a,o<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:o<=e.firstSuspendedTime&&(e.firstSuspendedTime=o-1),o<=e.lastPingedTime&&(e.lastPingedTime=0),o<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===es&&(ts=es=null,ns=0),1u&&(c=u,u=l,l=c),c=Ue(w,l),f=Ue(w,u),c&&f&&(1!==k.rangeCount||k.anchorNode!==c.node||k.anchorOffset!==c.offset||k.focusNode!==f.node||k.focusOffset!==f.offset)&&(E=E.createRange(),E.setStart(c.node,c.offset),k.removeAllRanges(),l>u?(k.addRange(E),k.extend(f.node,f.offset)):(E.setEnd(f.node,f.offset),k.addRange(E)))))),E=[];for(k=w;k=k.parentNode;)1===k.nodeType&&E.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w=t&&e<=t}function To(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;nt||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Co(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function No(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Po(e,t,n,o){var a=t.current,i=Fr(),l=su.suspense;i=jr(i,a,l);e:if(n){n=n._reactInternalFiber;t:{if(J(n)!==n||1!==n.tag)throw Error(r(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(It(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(r(171))}if(1===n.tag){var s=n.type;if(It(s)){n=Dt(n,s,u);break e}}n=u}else n=Al;return null===t.context?t.context=n:t.pendingContext=n,t=on(i,l),t.payload={element:e},o=void 0===o?null:o,null!==o&&(t.callback=o),an(a,t),Dr(a,i),i}function Oo(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Ro(e,t){e=e.memoizedState,null!==e&&null!==e.dehydrated&&e.retryTime