ישראל - איטליה אמנת מס

Israel – Italy Tax Treaty

Italy flag

UTC:
Capital City:
Language:
Population:
Currency:
Country Code:
Domain:

+2
Rome
Italian
59,280 million
Euro
+39
.it

Recent news

VAT Rules for Foreign PEs Explained
On July 24, the Italian Revenue Agency published guidance to clarify VAT treatment for companies with a permanent establishment (PE) in Italy. The case involved a European Union-based company engaged with a wholesale business using a PE. The PE was responsible for sales, marketing, and customer support in Italy. The products were stored in another EU country and shipped to Italian customers. The Agency indicated that VAT obligations would depend on the part played by the PE. For purchases that happened within the EU, the Agency indicated that the reverse charge mechanism would apply. With regard to domestic sales, the Agency indicated that the taxpayer would have to issue an invoice and must report any relevant purchases in a separate annual VAT return.
Withholding Tax Declarations to Be Filed by September 30, 2025
On June 3rd, 2025 the Italian tax authority announced that the new extended deadline to file the declarations on the monthly withholdings is 30 September 2025. The criteria to meet, is that such withholdings and/or deductions have been made by employers between January and August 2025.
2025 Tax Deductions Explained in Italy’s New Circular
On May 29, 2025 the Italian Revenue Agency published a new Circular explaining income tax deductions as provisioned in the 2025 budget law. From January 1, individuals earning between €75,000 and €100,000 can benefit basic deductions of up to €14,000, while those earning more than €100,000 can benefit up to €8,000, depending on the number of dependent children. Also, deductions are allowed for specific expenses related to spouses and adopted children. Finally, the maximum deduction for school expenses per student rises to €1,000.
Key June 2025 Tax Deadlines Published
On May 27, 2025 the Italian Revenue Agency announced key tax deadlines for June. For taxpayers, there are some important dates - June 3 and June 30 are for specific communications with the agency. June 16 is the deadline for the payment of many taxes, including substitute taxes, Tobin tax, withholding tax, and May VAT, which can include split payment VAT. By the June 30 deadline, taxpayers also must file and pay any obligation for intra-community VAT, individual and corporate income taxes, and certain substitute taxes. The deadlines are part of the agency's current monthly compliance deadlines.
VAT Rules for Heirs of Deceased Professionals in Bankruptcy Cases Explained
On April 22, 2025, the Italian Revenue Agency issued Letter No. 118/2025, providing guidance on VAT obligations for professional fees received by heirs. In this case, the heir of a deceased professional, who had provided services to a bankrupt company, sought clarification on whether the deceased's VAT number needed to be reopened for the fees. The Tax Agency confirmed that heirs must fulfill VAT obligations, even if the deceased's VAT number is closed, including issuing invoices for the services. The bankruptcy trustee can issue a self-invoice to document the payment, and the compensation should be paid gross of tax. If necessary, the heir must request the reopening of the VAT number.
VAT Rules for Foreign PEs Explained
On July 24, the Italian Revenue Agency published guidance to clarify VAT treatment for companies with a permanent establishment (PE) in Italy. The case involved a European Union-based company engaged with a wholesale business using a PE. The PE was responsible for sales, marketing, and customer support in Italy. The products were stored in another EU country and shipped to Italian customers. The Agency indicated that VAT obligations would depend on the part played by the PE. For purchases that happened within the EU, the Agency indicated that the reverse charge mechanism would apply. With regard to domestic sales, the Agency indicated that the taxpayer would have to issue an invoice and must report any relevant purchases in a separate annual VAT return.
Withholding Tax Declarations to Be Filed by September 30, 2025
On June 3rd, 2025 the Italian tax authority announced that the new extended deadline to file the declarations on the monthly withholdings is 30 September 2025. The criteria to meet, is that such withholdings and/or deductions have been made by employers between January and August 2025.
2025 Tax Deductions Explained in Italy’s New Circular
On May 29, 2025 the Italian Revenue Agency published a new Circular explaining income tax deductions as provisioned in the 2025 budget law. From January 1, individuals earning between €75,000 and €100,000 can benefit basic deductions of up to €14,000, while those earning more than €100,000 can benefit up to €8,000, depending on the number of dependent children. Also, deductions are allowed for specific expenses related to spouses and adopted children. Finally, the maximum deduction for school expenses per student rises to €1,000.
Key June 2025 Tax Deadlines Published
On May 27, 2025 the Italian Revenue Agency announced key tax deadlines for June. For taxpayers, there are some important dates - June 3 and June 30 are for specific communications with the agency. June 16 is the deadline for the payment of many taxes, including substitute taxes, Tobin tax, withholding tax, and May VAT, which can include split payment VAT. By the June 30 deadline, taxpayers also must file and pay any obligation for intra-community VAT, individual and corporate income taxes, and certain substitute taxes. The deadlines are part of the agency's current monthly compliance deadlines.
VAT Rules for Heirs of Deceased Professionals in Bankruptcy Cases Explained
On April 22, 2025, the Italian Revenue Agency issued Letter No. 118/2025, providing guidance on VAT obligations for professional fees received by heirs. In this case, the heir of a deceased professional, who had provided services to a bankrupt company, sought clarification on whether the deceased's VAT number needed to be reopened for the fees. The Tax Agency confirmed that heirs must fulfill VAT obligations, even if the deceased's VAT number is closed, including issuing invoices for the services. The bankruptcy trustee can issue a self-invoice to document the payment, and the compensation should be paid gross of tax. If necessary, the heir must request the reopening of the VAT number.
VAT Rules for Foreign PEs Explained
On July 24, the Italian Revenue Agency published guidance to clarify VAT treatment for companies with a permanent establishment (PE) in Italy. The case involved a European Union-based company engaged with a wholesale business using a PE. The PE was responsible for sales, marketing, and customer support in Italy. The products were stored in another EU country and shipped to Italian customers. The Agency indicated that VAT obligations would depend on the part played by the PE. For purchases that happened within the EU, the Agency indicated that the reverse charge mechanism would apply. With regard to domestic sales, the Agency indicated that the taxpayer would have to issue an invoice and must report any relevant purchases in a separate annual VAT return.
Withholding Tax Declarations to Be Filed by September 30, 2025
On June 3rd, 2025 the Italian tax authority announced that the new extended deadline to file the declarations on the monthly withholdings is 30 September 2025. The criteria to meet, is that such withholdings and/or deductions have been made by employers between January and August 2025.
2025 Tax Deductions Explained in Italy’s New Circular
On May 29, 2025 the Italian Revenue Agency published a new Circular explaining income tax deductions as provisioned in the 2025 budget law. From January 1, individuals earning between €75,000 and €100,000 can benefit basic deductions of up to €14,000, while those earning more than €100,000 can benefit up to €8,000, depending on the number of dependent children. Also, deductions are allowed for specific expenses related to spouses and adopted children. Finally, the maximum deduction for school expenses per student rises to €1,000.
Key June 2025 Tax Deadlines Published
On May 27, 2025 the Italian Revenue Agency announced key tax deadlines for June. For taxpayers, there are some important dates - June 3 and June 30 are for specific communications with the agency. June 16 is the deadline for the payment of many taxes, including substitute taxes, Tobin tax, withholding tax, and May VAT, which can include split payment VAT. By the June 30 deadline, taxpayers also must file and pay any obligation for intra-community VAT, individual and corporate income taxes, and certain substitute taxes. The deadlines are part of the agency's current monthly compliance deadlines.
VAT Rules for Heirs of Deceased Professionals in Bankruptcy Cases Explained
On April 22, 2025, the Italian Revenue Agency issued Letter No. 118/2025, providing guidance on VAT obligations for professional fees received by heirs. In this case, the heir of a deceased professional, who had provided services to a bankrupt company, sought clarification on whether the deceased's VAT number needed to be reopened for the fees. The Tax Agency confirmed that heirs must fulfill VAT obligations, even if the deceased's VAT number is closed, including issuing invoices for the services. The bankruptcy trustee can issue a self-invoice to document the payment, and the compensation should be paid gross of tax. If necessary, the heir must request the reopening of the VAT number.

Italy-Israel Relations

Italy and Israel established their diplomatic relations in 1948, and since both countries have further developed their cooperation in several fields. For instance, the Chamber of Commerce between the two countries was established in 1955 and received official recognition in 1993, facilitating the development of trade relations between the two nations. In addition, numerous agreements have been signed to promote cooperation in various fields and high-level reciprocal state visits have taken place. Notably, both countries have strengthened their collaboration in trade partnerships; in 2022, Israel exported to Italy goods and services amounting to $1.25 billion, whilst Italy’s esports to Israel reached up to $3.72 billion.

Details about Israel’s embassy in Italy

Address: Via Michele Mercati 14, 00197, Rome
Phone: 636198586(0)+39
Website: Click Here
Email: Consular1@roma.mfa.gov.il | consular2@roma.mfa.gov.il 

Details about Italy embassy in Israel

Address: Trade Tower, 25 Hamered Street, 6812508 Tel Aviv, Israel
Phone: 03-5301901
Website: Click Here
E-mail: consolato.telaviv@esteri.it

Business Activity in Italy

Italy offers a dynamic and diverse business environment, making it an attractive destination for entrepreneurs and companies. The country has a strong industrial base, particularly in sectors such as fashion, automotive, manufacturing, and design. Additionally, with a consumer market boasting a population of over 60 million people, Italy provides businesses with a significant customer base, offering potential growth and profitability opportunities. Italy’s strategic location in the heart of Europe positions it as a gateway to other European markets, making it an ideal base for businesses looking to expand their operations within Europe. However, it is important to note that Italy has its own unique regulatory and bureaucratic procedures that businesses need to navigate. Understanding the local business culture, seeking appropriate legal and financial advice, and building relationships with local partners can greatly improve the chances of success for businesses operating in Italy.

Bilateral Agreements Between Italy and Israel

  1. Convention for the Prevention of Double Taxation.
  2. Convention on Social Insurance (National Insurance).
Convention on the Prevention of Double Taxation

The agreement between the Governments of Israel and Italy regarding the avoidance of double taxation was signed on September 8, 1995.

To read the agreement in English, click here.

Convention on Social Insurance

In 2015 Israel and Italy signed a Convention on Social Security. The convention went into effect on December 1, 2015. The purpose of the convention is to regulate the social rights of individuals who relocate from Israel to Italy and vice versa.

To read the agreement in English click here.

Applicability of the MLI

Both Italy and the State of Israel have signed the Multilateral Convention, commonly known as the MLI. The MLI is a convention that is meant to fix double taxation treaties according to the BEPS framework. Israel signed the MLI on the 7th of June 2017, with its provisions entering into force on the 1st of January 2019. Italy as well, affixed its signature to the MLI on the 7th of June 2017 but has not yet ratified the Convention.

Residency for Tax Purposes in Italy

 
Residence of an Individual

As of the new rules enacted in 2024, an individual is considered a tax resident in Italy if for the greater part of the calendar year, they:

  1. They are physically present in Italy,
  2. They have their usual place of residence in Italy (habitual abode), or
  3. Their main social ties (like family) are based in Italy (domicile).

If any of these conditions are met, the person is treated as a tax resident under Italian law.

To read about how an individual is considered a resident of Israel, click here.

Residency of a Company

A company or entity is considered a tax resident in Italy if, for most of the tax period, it has in the territory of Italy one of the following:

  1. Its legal office.
  2. Its main decision-making center, where strategic decisions are made.
  3. The location where daily management takes place.

A foreign company is also treated as a tax resident in Italy if:

  1. It is directly or indirectly controlled by Italian tax residents.
  2. Most of its board members are Italian residents.

To learn about how a company is considered a resident of Israel, click here.

The Tax System in Italy

Italy Tax Authority is called the Agenzia delle Entrate (Italian Revenue Agency).

Income Taxation: 23% to 43%

Taxation of Companies and Branches:

In Italy, companies are subject to a two-layer tax structure:

  • Imposta sul reddito sulle società (IRES) at 24%.
  • Omposta regionale sulle attività produttive (IRAP) at 3.9%.

VAT: 22%

Capital Gains Tax: 26%

Withholding Tax

 

Italy Internal Tax Rate

Israel Internal Tax Rate

Treaty Withholding Tax

Personal Income tax (Tax brackets)

From 0 up to EUR 28,00 – 23%

From EUR 28,001 to EUR 50,000 – 35%

Over EUR 50,000 – 43%

Up to 50%

 

Corporate Income Tax

24% for IRES

3.9% for IRAP

23%

 

Capital Gains Tax Rate

26%

25%-30% (with an additional surtax of 3% applied to high earners)

 

Branch Tax

24% for IRES

3.9% for IRAP

23%

 

Withholding Tax

(Non-Resident)

Dividends

26%

25% or 30%

10/15%

Interest

26%

15%/25%/23%

10%

Royalties

30%

23%-40%

0/10%

VAT

22%

18%

 

Inheritance Tax and Estate Tax in Italy

Pursuant to the rules in Italy, inheritance taxes are levied on the beneficiary, who is also liable for the decedent’s debts, up to his or her share of the inheritance. The tax is currently levied under the following rates:

  • A 4% tax applies to the value of a share given to a spouse, parents, or children (up to four generations), but only if the value exceeds €1,000,000.
  • A 6% tax applies to shares given to siblings (brothers and sisters) if the value exceeds €100,000. This rate also applies to other relatives (up to the fourth degree) and in-laws (up to the third degree) without any threshold.
  • An 8% tax applies to shares given to everyone else, with no threshold.

If the beneficiary is severely disabled, as defined by Law No. 104 of 1992, the threshold increases to €1.5 million.

Relocation to Italy

Moving to a new country can be daunting, but for Israelis moving to Italy, moving can be made easier by the presence of vibrant Jewish communities across the country. Most Israelis who move to Italy settle in cities like Rome, Milan, and Florence, which have established Jewish communities with synagogues, community centers, and cultural organizations. These communities offer a variety of services and resources to help Israelis and other Jewish immigrants make a smooth transition to life in Italy. Thus, many Jewish communities offer language classes and cultural events that can help new immigrants integrate into Italian society and understand the local culture.

 In addition, these communities can provide a sense of community and support for Israelis who may be far from their families and friends in Israel. Of course, as with any move to a new country, there are also practical considerations that need to be taken into account. Such as obtaining visas and paperwork necessary to establish residency in the country. Due to the complexity of relocation, it is recommended to consult with experts in the field in order to ensure the softest landing.

Real Estate Taxation in Italy

Pursuant to the 2020 legal reformation of property taxation, real estate in Italy will be subject to the Municipal Tax (Imposta Municipale Unica or IMU). IMU is a property tax applicable yearly on the cadastral value of the relevant property, as determined by the local land office, evaluated at 5% and multiplied by specific revaluation coefficients. Special rules are provided for the calculation of the value of land. The IMU tax rates are fixed by the government and generally apply to second homes, certain real properties other than principal residences (at 0.86%), and lands (at a rate of 0.7%)

Transfer of real estate. Transactions involving real property are subject to mandatory registration. A registration tax of 2% is payable on the purchase of a principal home. Where a property is not the principal home, a registration tax of 9% is payable, and in the case of a transaction involving land, the tax is 12%.

Transfer of Funds from Israel to Italy

According to section 170(a) of the Israeli Income Tax Ordinance, all payments transferred to non-Israeli residents are subject to a 25% withholding tax. However, this tax can be reduced or even waived if certain conditions are met. Our firm handles withholding tax matters with the Israeli Tax Authority.

As mentioned above, the countries have signed a tax treaty, that allows taxpayers to submit a 2513/2 form – Statement regarding a payment to a foreign resident that is exempt from withholding tax, to potentially transfer the payments without paying the withholding tax.

In addition to assisting with withholding tax matters, our firm also helps with other issues related to transferring funds abroad. This includes providing an accountant’s approval regarding the payment of taxes, reviewing additional actions required under the CRS standard, and more.

Moreover, banks often raise many difficulties and charge high fees for converting shekels into other currencies. Therefore, consulting with a specialist before transferring the funds is highly recommended, click here to contact us.

For more information on money transfers abroad, click here.

Types of Business Entities in Italy

 
Limited Liability Company

The limited liability company is ideal for small to medium-sized businesses. One of its key features is that shareholders’ liability is limited to the amount they have contributed to the company. This structure provides a level of protection for personal assets against business debts.

Joint-Stock Company

The Joint Stock Company is typically used by larger companies, particularly those that are publicly traded on the stock exchange. This type of company requires a higher amount of initial capital and adheres to more formal governance structures, making it suitable for significant business operations.

General Partnership

In a General Partnership., all partners share unlimited liability and are directly involved in managing the business. Profits and losses are distributed among the partners, which can encourage a collaborative approach to business operations.

Limited Partnership

The limited partnership consists of general partners, who have unlimited liability, and limited partners, whose liability is confined to their investment. This structure allows for a blend of active management and investment while protecting the limited partners’ personal assets.

Sole Proprietorship

This type of business is owned and managed by a single individual, making it simple to set up and operate. However, it carries the downside of unlimited personal liability, meaning that the owner’s personal assets are at risk if the business incurs debts.

Incentive Laws in Italy

In February 2023, Italy’s Council of Ministers approved the establishment of a new “incentives code” aimed at reducing the fragmentation of current incentive policies and enhancing the efficiency of measures for businesses.

Key components of the reform include:

  • Foreign Tax Credit: Italian companies can claim a tax credit for foreign-source income taxed abroad, capped at the lower of the foreign tax incurred or the portion of the IRES liability related to that income. Excess credits can be carried forward for eight years.
  • Reshoring Exemption: A 50% tax exemption on IRES and IRAP is available for repatriated business activities from non-EU countries, valid for the year of reshoring and the following five years. Certain conditions and monitoring periods apply.
  • Tax Credit for New Capital Assets: All enterprises can benefit from a tax credit for new capital investments, with varying rates based on investment amounts and timelines.
  • Incentives for ‘4.0’ Investments: Specific tax credits are available for investments in advanced tangible and intangible assets, with benefits depending on investment size and timing.
  • Research and Developments and Technological Innovation Credits: Tax credits for R&D and innovation projects are available, with increased rates for specific activities aimed at ecological transitions.
  • Special Economic Zone Tax Credits: A new tax credit structure supports investments in Southern Italy, with varying rates based on company size and location.
  • Advertising Campaign Tax Credit: Businesses can claim a tax credit for increased advertising expenditures, specifically if they exceed previous year levels.
  • Patent Box Regimes: Two regimes exist an old profit-based system and a new cost-based system that recognizes a 110% tax deduction for qualifying research and development expenses.
  • Super Deduction for New Hires: A 20% increase in personnel cost deductions will apply.

Italy Double Tax Treaties

Albania

Iceland

San Marino

Algeria

India

Saudi Arabia

Argentina

Indonesia

Senegal

Armenia

Ireland

Singapore

Australia

Israel

Syria

Austria

Ivory Coast

Slovakia

Azerbaijan

Jamaica

Slovenia

Bangladesh

Japan

South Africa

Barbados

Jordan

South Korea

Belarus

Kazakhstan

Spain

Belgium

Kuwait

Sri Lanka

Brazil

Latvia

Sweden

Bulgaria

Lebanon

Switzerland

Canada

Lithuania

Tanzania

Chile

Luxembourg

Thailand

China

Macedonia

The Netherlands

Colombia

Malaysia

Trinidad and Tobago

Congo

Malta

Tunisia

Croatia

Mauritius

Turkey

Cyprus

Mexico

Uganda

Czech Republic

Moldova

Ukraine

Denmark

Morocco

United Arab Emirates

Ecuador

Mozambique

Union of Socialist Republics

Egypt

New Zealand

United States

Estonia

Norway

United Kingdom

Ethiopia

Oman

Uruguay

Finland

Pakistan

Uzbekistan

France

Panama

Venezuela

Georgia

Philippines

Vietnam

Germany

Poland

Yugoslavia

Ghana

Portugal

Zambia

Greece

Qatar

Hong Kong

Romania

Hungary

Russian Federation

Contact Us

Exchange Rate

More Countries

Hot Articles

Consult A Tax Expert

You can use the keyboard arrows to navigate between the component buttons
",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