1. MPC response overview

As of 15 June 2023, a total of 627,464 persons or 125,112 families have been reached by MPC interventions.

A total of USD 20.1 million has been disbursed by 29 implementing agencies in 255 communities across 35 sub-districts.

Only beneficiaries who have received at least USD 100/family/month have been included; excludes sector-based activities such as non-MPC cash-for-food.


627,000 people reached with MPC, USD 20.1 million disbursed, 15 June 2023

governorate

district

comm.

partners

households

beneficiaries

total_usd

%_BNF1

Aleppo

A'zaz

12

12

3,821

17,880

540,053

2.85

Aleppo

Afrin

106

19

31,247

152,816

4,614,739

24.35

Aleppo

Al Bab

5

6

8,426

43,577

1,251,476

6.94

Aleppo

Jarablus

2

4

951

3,022

122,700

0.48

Aleppo

Jebel Saman

18

9

10,168

58,204

1,497,102

9.28

Ar-Raqqa

Tell Abiad

2

1

394

2,141

27,496

0.34

Idleb

Ariha

3

3

576

2,051

69,100

0.33

Idleb

Harim

54

19

59,439

255,689

8,834,434

40.75

Idleb

Idleb

27

16

15,447

75,400

2,624,806

12.02

Idleb

Jisr-Ash-Shugur

27

5

4,270

16,684

552,562

2.66

Total

-

-

-

134,739

627,464

20,134,468

100.00

1As percentage of all MPC beneficiaries reached in NW Syria


151,559 beneficiary frequencies were reached in February 2023 and 219,352 were reached in March 2023. 158,123 were reached in April 2023 and 96,089 have been reached in May 2023 and 32,814 have been reached in June 2023.

This document distinguishes between beneficiaries, or unique individuals reached, and beneficiary frequencies, or the number of times people have been reached, inclusive of double counting.



1.1 Progress by date


The small number of beneficiaries reached earlier than February all pertained to the HRP, the only such beneficiaries reported so far. The CWG would like to encourage partners to report on their January achievements.



2. Map of activities





3. Geographic breakdown of beneficiaries

Coverage continues to be highest in Afrin and Harim districts, where the highest numbers of damaged houses and wounded people are located (though these areas do not necessarily have the highest proportions of damage).



Casualties and damaged houses, absolute figures and per 100,000 persons

governorate

district

wounded_dead1

wounded_dead_100k1

damaged_houses1

damaged_houses_100k1

Aleppo

A'zaz

356

57.87

276

44.86

Aleppo

Afrin

2,232

478.79

2,910

624.22

Aleppo

Al Bab

206

70.04

832

282.89

Aleppo

Jarablus

40

33.82

257

217.30

Aleppo

Jebel Saman

616

236.80

176

67.66

Idleb

Harim

8,449

507.65

3,230

194.07

Idleb

Idleb

350

48.23

946

130.37

Idleb

Jisr-Ash-Shugur

595

183.68

1,915

591.18

1Data from the Assistance Coordination Unit, Syria 20230328;


Below is a breakdown of beneficiaries based on whether they originate from camps or villages. The majority of MPC beneficiaries are from villages.


More than twice as many beneficiaries from villages as from camps

village_camps

beneficiaries

%_beneficiaries

camp

111,982

17.85

village

270,702

43.14

NA

244,780

39.01




3.1 By sub-district

The plots below show the breakdown of beneficiaries by sub-district. Caution must be taken to ensure that allocations are fair across the affected areas: there are numerous sub-districts where a very large proportion of the total population has already been reached by multi-purpose cash, in particular, Jandairis, Harim, Salqin and Sharan.

Response activities must be proportional with the magnitude and severity of earthquake damage. Overallocation deprives affected persons of the aid they are due.

The average percentage of the population reached, of all sub-districts, is 10.08%.




3.2 Comparisons with PIN and earthquake damage

The plot below shows the total population of each sub-district on the x-axis (for the moment, all persons in these areas are assumed to be affected and are included in the PIN) and the number of beneficiaries on the y-axis.

The size of each point indicates the number of dead or wounded persons there per 100,000.



The higher or lower a sub-district is above the blue line, the more disproportionate the number of beneficiaries allocated to that location are.

This should also be compared to each sub-district’s share of the earthquake damage. Of particular note, sub-districts in grey have yet to receive any MPC assistance.



The CWG has also produced an inter-sectoral dataset at community-level which should aid in the targeting of under-allocated areas.



3.3 Planned activities

Whilst it is heartening to see new sub-districts, the majority of planned allocations have been accorded to areas that have already received relatively high levels of support.



14 partners have reported planned activities

project_status

partners

beneficiaries

%_beneficiaries

Completed

28

627,464

72.44

Planned

14

233,542

26.96

Suspended

1

5,148

0.59


The sum of planned beneficiaries is 238,097. If this is the extent of all planned MPC activities, the CWG as a whole can expect to reach 130% of its target of 662,924 persons. But whilst the scale of achievements is important, it is also key to ensure that allocations are fair.


Planned beneficiaries by month

month1

beneficiaries

Apr

11,226

May

24,528

Jun

59,000

Jul

74,620

Aug

38,920

Nov

3,113

NA

26,690

1Some dates are missing or improperly encoded;




4. Cash response actors and cash disbursed

USD 20.1 million has been distributed across 255 communities and 35 sub-districts in NW Syria.


Reach and footprint of cash response actors

implementing_partner1

beneficiary_freq

districts

communities

GOAL (GOAL)

135,696

4

94

Shafak Organization (SO)

116,063

7

37

International Rescue Committee (IRC)

94,708

3

22

Ihsan for Relief and Development (IRD)

51,098

6

32

Ataa Humanitarian Relief Association (ATAA)

51,058

9

37

Mercy-USA for Aid and Development (MUSA)

27,905

5

37

Violet Organization (VO)

27,195

3

24

Norwegian Refugee Council (NRC)

22,850

2

4

CBRTWG-031

18,490

4

42

Mercy Without Limits (MWL)

16,460

4

10

People in Need (PIN)

12,804

5

6

World Vision International (WVI)

12,048

1

4

Bahar Organization (BO)

12,000

1

1

Uluslararasi Insani Yardimlasma Dernegi (IYD)

11,449

4

16

Insan Charity

7,874

1

1

Solidarités International (SI)

7,058

1

5

International Humanitarian Relief (IHR)

6,654

3

9

Hand in Hand For Syria (HIHFS)

6,651

1

7

Syria Relief (SR)

5,350

3

5

Welthungerhilfe (WHH)

4,830

4

4

CBRTWG-033

3,538

3

7

Social Development International (SDI)

3,427

2

3

Elaf for Relief and Development (ELAF)

3,300

2

2

Ghiras Al Nahda (GAN)

3,050

1

2

Bonyan Organization (BO)

2,951

1

4

The Syrian Est. for Human Care and Development (Massrat)

2,692

3

3

Al-Sham Humanitarian Foundation (AHF)

1,980

7

7

Syrian Association for Relief and Development (SARD)

1,683

3

4

Seeds Of Hope Relief and Development (SOH)

721

1

1

1Only partners who provided more than USD 100/family/month;


In the scatterplot below, each point is a single cash working group partner. The x-axis indicates the number of beneficiary frequencies reached per agency and the y-axis indicates the number of communities (admin4) reached. Mouse over each point for more details.





4.1 Cash disbursed per partner


Cash disbursed and families reached by partner

implementing_partner

total_usd

families

usd_per_fam

%_usd_total

GOAL (GOAL)

4,284,900

28,566

150.00

21.28

Shafak Organization (SO)

3,284,200

22,581

145.44

16.31

International Rescue Committee (IRC)

2,515,050

16,767

150.00

12.49

Ataa Humanitarian Relief Association (ATAA)

2,143,188

11,275

190.08

10.64

Ihsan for Relief and Development (IRD)

1,484,550

9,897

150.00

7.37

Violet Organization (VO)

862,200

5,748

150.00

4.28

Norwegian Refugee Council (NRC)

636,300

4,242

150.00

3.16

Mercy-USA for Aid and Development (MUSA)

561,900

5,718

98.27

2.79

CBRTWG-031

548,800

3,691

148.69

2.73

Mercy Without Limits (MWL)

438,372

3,325

131.84

2.18

People in Need (PIN)

411,450

2,743

150.00

2.04

Uluslararasi Insani Yardimlasma Dernegi (IYD)

375,000

2,500

150.00

1.86

Bahar Organization (BO)

360,000

2,400

150.00

1.79

Welthungerhilfe (WHH)

344,400

2,296

150.00

1.71

World Vision International (WVI)

301,200

2,008

150.00

1.50

Solidarités International (SI)

218,250

1,455

150.00

1.08

Hand in Hand For Syria (HIHFS)

210,079

1,400

150.06

1.04

International Humanitarian Relief (IHR)

179,250

1,195

150.00

0.89

Syria Relief (SR)

160,500

1,070

150.00

0.80

Elaf for Relief and Development (ELAF)

160,000

600

266.67

0.79

Insan Charity

150,000

1,500

100.00

0.74

Ghiras Al Nahda (GAN)

91,500

610

150.00

0.45

Bonyan Organization (BO)

86,471

575

150.38

0.43

Social Development International (SDI)

85,650

571

150.00

0.43

The Syrian Est. for Human Care and Development (Massrat)

81,000

540

150.00

0.40

CBRTWG-033

56,200

622

90.35

0.28

Syrian Association for Relief and Development (SARD)

46,948

341

137.68

0.23

Al-Sham Humanitarian Foundation (AHF)

41,250

330

125.00

0.20

Seeds Of Hope Relief and Development (SOH)

15,860

173

91.68

0.08


The CWG is currently working with other Clusters to consolidate all cash-based activities and will soon be able to provide more comprehensive reporting.



4.2 Currency disbursed

A total of 88.6% of cash disbursed was in USD.


Proportion of cash disbursed by currency

currency

total_usd

%_of_total

TRY

2,296,208

11.4

USD

17,838,258

88.6

Total

20,134,466

100.0




5. Annexes


5.1 Interactive reference table at sub-district level

Columns include: governorate, district, sub-district, total population, beneficiaries, total usd disbursed, wounded and dead, wounded and dead per 100k, damaged houses, damaged houses per 100k, admin3pcode




5.2 Reporting quality

This section documents issues encountered in the cleaning of 4W and FSL data and their impacts on the quality of reporting the CWG can provide. The recommendations by the CWG are included to enhance reporting quality:

  1. The CWG has shifted into a new 4Ws template for monthly reporting to better capture the earthquake response. Deadline is set on the 15th of each month. 9 partners reported achievements in February and 11 reported achievements in March, with 18 partners having reported in April, 17having reported in May and 5having reported in June. If no MPC activities were implemented, please inform the CWG as well.

  2. For this reporting period, activities pertaining to 5,429 beneficiaries were missing their dates or had dates in unreadable formats. Please ensure that the start date and end date are entered in the format mm/dd/yyyy and select the month of reporting from the options in the drop down menu.

  3. For sex-and-age disaggregations, please do not back fill these columns using calculations based on the census or the MSNA. If no disaggregated data is available to your organisation, please leave these columns blank.

  4. The Cash Working Group is currently only collecting planned and implemented Multipurpose Cash achievements. Whilst the CWG welcomes additional inputs on other CVA activities, we also want to ensure that the reporting load is as low as possible for partners i.e. if an agency has implemented Cash-for-Work, this should be reported to the ERL Cluster. The CWG will work with all Clusters to develop a consolidated picture of response-wide CVA interventions.

  5. Please indicate in the previously_assisted column whether or not beneficiaries have been reached before. However, beneficiaries are being reported to the Cash Working Group for this first time, even if you have reached them before, please indicate No in this column. This column is used calculate the number of unique individuals reached.

LS0tDQp0aXRsZTogIk5vcnRod2VzdCBTeXJpYSBDYXNoIFdvcmtpbmcgR3JvdXAgRWFydGhxdWFrZSBSZXNwb25zZSBCdWxsZXRpbiINCmRhdGU6ICAiYHIgZm9ybWF0KFN5cy50aW1lKCksICclZCAlQiwgJVknKWAiDQpvdXRwdXQ6DQogIGh0bWxfZG9jdW1lbnQ6DQogICAgY29kZV9kb3dubG9hZDogeWVzDQogICAgdGhlbWU6IHJlYWRhYmxlDQogICAgdG9jOiB5ZXMNCiAgICB0b2NfZGVwdGg6IDQNCiAgICB0b2NfZmxvYXQ6IHllcw0KICAgIG51bWJlcl9zZWN0aW9uczogbm8NCiAg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GlzdHJpY3QgPSByZWNvZGUoc3ViX2Rpc3RyaWN0LCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiYXpheiIgPSAiQSd6YXoiLCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICJqYXJhYmx1cyIgPSAiSmFyYWJsdXMiKSwgDQogICAgICAgICAjIERvaW5nIHRoaXMgYmVjYXVzZSBBci1SYXFxYSBoYXMgbmV2ZXIgYXBwZWFyZWQgYmVmb3JlDQogICAgICAgICBwcmV2aW91c2x5X2Fzc2lzdGVkID0gaWZlbHNlKGFkbWluMXBjb2RlICVpbiUgYygiU1kxMSIpLCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIk5vIiwgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHByZXZpb3VzbHlfYXNzaXN0ZWQpKSAlPiUgDQogIGZpbHRlcihhZG1pbjFwY29kZSAhPSAiU1kwOSIpDQogDQogIA0KDQpobm8gPC0gcmVhZF9leGNlbCgiLi9kYXRhLzIwMjNITk9fUGlOX1NldmVyaXR5X2RldGFpbGVkQW9JX0ZPUlNIQVJFIDE1MDMyMDIzLnhsc3giLCBza2lwID0gMSwgDQogICAgICAgICAgICAgICAgICBzaGVldCA9IDEpICU+JQ0KICBjbGVhbl9uYW1lcygpDQoNCg0KbndfcGNvZGUzIDwtIGhubyAlPiUgDQogIGZpbHRlcihhb19jID09ICJOVyIpICU+JSANCiAgcHVsbChhZG1pbjNwY29kZSkNCg0KIyBQdXR0aW5nIHRoaXMgaGVyZSwgc2luY2UgaXQncyBiZXN0IHRvIG1ha2Ugc3VyZSB0aGF0DQojIGl0IGFsd2F5cyBydW5zLCB3aGVuIEknbSBpbiB0aGlzIGRvY3VtZW50DQpzdW1fc3RhdHMgPC0gY2JyICAlPiUgDQogIGZpbHRlcihwcm9qZWN0X3N0YXR1cyA9PSAiQ29tcGxldGVkIikgJT4lDQogIHN1bW1hcmlzZShwYXJ0bmVycyA9IG5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Byb3VnaGx5IGV2ZXJ5IDE1IGRheXMsIA0KICAjIEFsdGhvdWdoIHNvbWUgZGF5cyBkbyBub3QgaGF2ZSBkaXN0cmlidXRpb25zIA0KICBtdXRhdGUoY3VtX2xhYmVsID0gaWZlbHNlKGVuZF9kYXRlID09ICIyMDIzLTAyLTEwIiB8IA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZW5kX2RhdGUgPT0gIjIwMjMtMDMtMDEiIHwNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVuZF9kYXRlID09ICIyMDIzLTAzLTE1IiB8DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbmRfZGF0ZSA9PSAiMjAyMy0wMy0zMCJ8DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbmRfZGF0ZSA9PSAiMjAyMy0wNC0xNSJ8DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbmRfZGF0ZSA9PSAiMjAyMy0wNC0zMCJ8DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbmRfZGF0ZSA9PSAiMjAyMy0wNS0yNCJ8DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbmRfZGF0ZSA9PSAiMjAyMy0wNi0xMSIsDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgY3VtX2JlbiwgIiIpLCANCiAgICAgICAgIGN1bV9sYWJlbCA9IGFzLm51bWVyaWMoY3VtX2xhYmVsKSwgDQogICAgICAgICBlbmRfZGF0ZSA9IGFueWRhdGUoZW5kX2RhdGUpKSANCg0KcHJvZ3Jlc3NfbGluZSAlPiUgDQogIGdncGxvdChhZXMoeCA9IGVuZF9kYXRlLCB5ID0gY3VtX2JlbikpICsgDQogIGdlb21fbGluZShjb2xvdXIgPSAiYmx1ZSIpICsgDQogIGdlb21fdGV4dChhZXMobGFiZWwgPSBzY2FsZXM6OmNvbW1hKGN1bV9sYWJlbCkpLCB2anVzdCA9IC0xLCANCiAgICAgICAgICAgIHNpemUgPSA0K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GF0ZXMgdG8gaW5kaWNhdGUgd2hpY2ggYWN0aXZpdGllcyB3ZXJlIG9uZ29pbmcNCiAgbXV0YXRlKHByb2plY3Rfc3RhdHVzID0gcmVjb2RlKHByb2plY3Rfc3RhdHVzLCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJPbmdvaW5nIiA9ICJDb21wbGV0ZWQiKSkgJT4lIA0KICByaWdodF9qb2luKHBjb2RlM19zaGFwZSwgDQogICAgICAgICAgICAgYnkgPSBjKCJhZG1pbjNwY29kZSIgPSAiQURNM19QQ09ERSIpKSAlPiUgDQogIGZpbHRlcihBRE0xX1BDT0RFICVpbiUgYygiU1kwMiIsICJTWTA3IiwgIlNZMTEiKSAmICFpcy5uYShiZW5lZmljaWFyaWVzKSkgJT4lIA0KICBzdF9hc19zZigpICU+JQ0KICBnZ3Bsb3QoKSArIA0KICBnZW9tX3NmKHNpemUgPSAuMSwgY29sb3VyID0gImdyZXk3MCIpICsgDQogIGdlb21fcG9pbnQoYWVzKHNpemUgPSBiZW5lZmljaWFyaWVzLA0KICAgICAgICAgICAgICAgICBjb2xvdXIgPSBwcm9qZWN0X3N0YXR1cywgDQogICAgICAgICAgICAgICAgIHggPSBsb25naXR1ZGVfeCwgeSA9IGxhdGl0dWRlX3ksIA0KICAgICAgICAgICAgICAgICB0ZXh0ID0gcGFzdGUwKCJzdWJfZGlzdHJpY3Q6ICIsIHN1Yl9kaXN0cmljdCwgIlxuIiwNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiY29tbXVuaXR5OiAiLCBjb21tdW5pdHksICJcbiIsDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImxvY2F0aW9uX3R5cGU6ICIsIHZpbGxhZ2VfY2FtcHMsICJcbiIsDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgImJlbmVmaWNpYXJpZXM6IiwgZm9ybWF0KGJlbmVmaWNpYXJpZXMsIGJpZy5tYXJrID0gIiwiKSwgIlxuIiwNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAicGFydG5lcjogIiwgYWJicmV2aWF0aW9uLCAiXG4iLCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAibG9uX3g6ICIsIGxvbmdpdHVkZV94LCAiXG4iLA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJsYXRfeTogIiwgbGF0aXR1ZGVfeSkpLCANCiAgICAgICAgICAgICBzaGFwZSA9IDIxLCBzdHJva2UgPSAuMzUsIA0KICAgICAgICAgICAgIGFscGhhID0gLjUpICsgDQogIHNjYWxlX3NpemVfY29udGludW91cyhsYWJlbHMgPSBjb21tYSkgKyANCiAgc2NhbGVfY29sb3VyX3ZpcmlkaXNfZChuYS50cmFuc2xhdGUgPSBGQUxTRSkgKyANCiAgdGhlbWVfdm9pZCgpICsgDQogIHRoZW1lKHBsb3QuYmFja2dyb3VuZCA9IGVsZW1lbnRfcmVjdChmaWxsID0gIndoaXRlIiwgY29sb3VyID0gTkEpLCANCiAgICAgICAgcGxvdC5jYXB0aW9uID0gZWxlbWVudF90ZXh0KGhqdXN0ID0gMC41KSwpICsNCiAgbGFicyh0aXRsZSA9ICJDb21tdW5pdGllcyByZWFjaGVkIGFuZCBwbGFubmVkIC0tIENXRyBwYXJ0bmVycyIsIA0KICAgICAgIHN1YnRpdGxlID0gIlBsYW5uZWQgaW4geWVsbG93LCBjb21wbGV0ZWQgaW4gcHVycGxlLCBzaXplIHNob3dzIG51bWJlciBvZiBwZXJzb25zIiwgDQogICAgICAgY29sb3VyID0gIlN0YXR1cyIpICsNCiAgZ3VpZGVzKHNpemUgPSAibm9uZSIpDQoNCiAgDQpnZ3Bsb3RseShwbGFubmVkX2ltcGxlbWVudGVkX21hcCwgdG9vbHRpcCA9IGMoInRleHQiKSkgJT4lIA0KICBwbG90bHk6OnN0eWxlKGhvdmVyb24gPSAicG9pbnQiKSAlPiUgDQogIGxheW91dCh0aXRsZSA9IGxpc3QodGV4dCA9IHBhc3RlMCgiQ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hcmllcywgbmEucm0gPSBUUlVFKSkgJT4lIA0KICBtdXRhdGUoZGlzdHJpY3QgPSBmY3RfcmVvcmRlcihkaXN0cmljdCwgYmVuZWZpY2lhcmllcyksDQogICAgICAgICBnb3Zlcm5vcmF0ZSA9IGZjdF9yZWxldmVsKGdvdmVybm9yYXRlLCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYygiSWRsZWIiLCAiQXItUmFxcWEiLCAiQWxlcHBvIikpDQogICAgICAgICApICU+JSANCiAgZ2dwbG90KGFlcyh4ID0gYmVuZWZpY2lhcmllcywgeSA9IGRpc3RyaWN0KSkgKyANCiAgZ2VvbV9jb2woYWVzKGZpbGwgPSBnb3Zlcm5vcmF0ZSkpICsgDQogIGdlb21fdGV4dChhZXMobGFiZWwgPSBjb21tYShiZW5lZmljaWFyaWVzKSksIA0KICAgICAgICAgICAgaGp1c3QgPSAiaW53YXJkIikgKyANCiAgc2NhbGVfZmlsbF92aXJpZGlzX2QoYmVnaW4gPSAuMykgKyANCiAgbGFicyh0aXRsZSA9ICJNUEMgYmVuZWZpY2lhcmllcyBieSBkaXN0cmljdCIsIA0KICAgICAgIHN1YnRpdGxlID0gcGFzdGUwKCJhcyBvZiAiLCByZXBvcnRfZGF0ZSksIA0KICAgICAgIHkgPSAiIikgKyANCiAgc2NhbGVfeF9jb250aW51b3VzKGxhYmVscyA9IHVuaXRfZm9ybWF0KHVuaXQgPSAiSyIsIHNjYWxlID0gMWUtMywgYWNjdXJhY3kgPSAxKSkgKyANCg0KaG5vICU+JSANCiAgZmlsdGVyKGFkbWluMm5hbWVfZW4gJWluJSBjKCJIYXJpbSIsICJJZGxlYiIsICJKaXNyLUFzaC1TaHVndXIiLCAiQXJpaGEiLCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJUZWxsIEFiaWFkIiwgIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIkFmcmluIiwgIkplYmVsIFNhbWFuIiwgIkEnemF6IiwgIkphcmFibHVzIiwgIkFsIEJhYiIpKSAlPiUgDQogIGdyb3VwX2J5KGdvdmVybm9yYXRlID0gYWRtaW4xbmFtZV9lbiwgZGlzdHJpY3QgPSBhZG1pbjJuYW1lX2VuKSAlPiUgDQogIHN1bW1hcmlzZSh0b3RhbF9wb3B1bGF0aW9uID0gc3VtKHRvdGFsX3BvcHVsYXRpb24sIG5hLnJtID0gVFJVRSksIA0KICAgICAgICAgICAgLmdyb3VwcyA9ICJkcm9wIikgJT4lIA0KICBsZWZ0X2pvaW4oDQogICAgY2JyICU+JQ0KICAgICAgZmlsdGVyKHByb2plY3Rfc3RhdHVzID09ICJDb21wbGV0ZWQiICYgIA0KICAgICAgICAgICBwcmV2aW91c2x5X2Fzc2lzdGVkID09ICJObyIpICU+JSAgDQogICAgICBncm91cF9ieShkaXN0cmljdCkgJT4lIA0KICAgICAgc3VtbWFyaXNlKGJlbmVmaWNpYXJpZXMgPSBzdW0oYmVuZWZpY2lhcmllcywgbmEucm0gPSBUUlVFKSkgLCAgDQogIGJ5ID0gImRpc3RyaWN0IikgJT4lIA0KICAjIEtpbmQgb2YgaXJyaXRhdGluZyB0aGF0IHlvdSdyZSBkb2luZyB0aGlzIG1hbnVhbGx5IA0KICBtdXRhdGUoZGlzdHJpY3QgPSBmY3RfcmVsZXZlbChkaXN0cmljdCwgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJBbCBCYWIiLCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIkphcmFibHVzIiwgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJBJ3pheiIsIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiSmViZWwgU2FtYW4iLCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIkFmcmluIiwgDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJUZWxsIEFiaWFkIiwNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIkFyaWhhIiwgD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gDQogICAgICAgICAgICAgIHNlbGVjdChnb3Zlcm5vcmF0ZSA9IGFkbWluMW5hbWVfZW4sIA0KICAgICAgICAgICAgICAgICAgICAgZGlzdHJpY3QgPSBhZG1pbjJuYW1lX2VuLCANCiAgICAgICAgICAgICAgICAgICAgIHN1Yl9kaXN0cmljdCA9IGFkbWluM25hbWVfZW4sIA0KICAgICAgICAgICAgICAgICAgICAgYWRtaW4zcGNvZGUpLCANCiAgICAgICAgICAgIGJ5ID0gImFkbWluM3Bjb2RlIikgJT4lIA0KICBmaWx0ZXIoYWRtaW4zcGNvZGUgJWluJSBud19wY29kZTMgJiANCiAgICAgICAgICAgZGlzdHJpY3QgJWluJSBjKCJIYXJpbSIsICJJZGxlYiIsICJKaXNyLUFzaC1TaHVndXIiLCAiQXJpaGEiLCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJUZWxsIEFiaWFkIiwgIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIkFmcmluIiwgIkplYmVsIFNhbWFuIiwgIkEnemF6IiwgIkphcmFibHVzIiwgIkFsIEJhYiIpKSAlPiUgDQogIGdyb3VwX2J5KGdvdmVybm9yYXRlLCBkaXN0cmljdCkgJT4lIA0KICBzdW1tYXJpc2Uod291bmRlZF9kZWFkID0gc3VtKHdvdW5kZWRfZGVhZCwgbmEucm0gPSBUUlVFKSwgDQogICAgICAgICAgICBkYW1hZ2VkX2hvdXNlcyA9IHN1bShkYW1hZ2VkX2hvdXNlcywgbmEucm0gPSBUUlVFKSkgJT4lIA0KICAjIFdoZXJlIGlzIEFyaWhhLCBhbmQgd2h5IGlzIGl0IHNob3dpbmcgdXAgaGVyZQ0KICBmaWx0ZXIoZGlzdHJpY3QgIT0gIkFyaWhhIikgJT4lIA0KICBsZWZ0X2pvaW4oaG5vICU+JSANCiAgICAgICAgICAgICAgZmlsdGVyKGFkbWluM3Bjb2RlICVpbiUgbndfcGNvZGUzICYNCiAgICAgICAgICAgICAgICAgICAgICAgYWRtaW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gICAgICAgICAgIGZpbHRlcihhZG1pbjNwY29kZSAlaW4lIG53X3Bjb2RlMyB8DQogICAgICAgICAgICAgICAgICAgICAgIGFkbWluMm5hbWVfZW4gJWluJSBjKCJIYXJpbSIsICJJZGxlYiIsICJKaXNyLUFzaC1TaHVndXIiLCAiQXJpaGEiLCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICJUZWxsIEFiaWFkIiwgIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIkFmcmluIiwgIkplYmVsIFNhbWFuIiwgIkEnemF6IiwgIkphcmFibHVzIiwgIkFsIEJhYiIpKSAlPiUNCiAgICAgICAgICAgICAgZ3JvdXBfYnkoYWRtaW4zcGNvZGUpICU+JQ0KICAgICAgICAgICAgICBzdW1tYXJpc2UocG9wdWxhdGlvbiA9IHN1bSh0b3RhbF9wb3B1bGF0aW9uLCBuYS5ybSA9IFRSVUUpKSwgDQogICAgICAgICAgICBieSA9ICJhZG1pbjNwY29kZSIpICU+JSANCiAgbXV0YXRlKHdvdW5kZWRfZGVhZF8xMDBrID0gcm91bmQod291bmRlZF9kZWFkIC8gcG9wdWxhdGlvbiAqIDEwMDAwMCwgZGlnaXRzID0gMiksIA0KICAgICAgICAgZGFtYWdlZF9ob3VzZXNfMTAwayA9IHJvdW5kKGRhbWFnZWRfaG91c2VzIC8gcG9wdWxhdGlvbiAqIDEwMDAwMCwgZGlnaXRzID0gMikpICU+JSANCiAgICBsZWZ0X2pvaW4oY2JyICU+JSANCiAgICAgICAgICAgICAgICBmaWx0ZXIocHJvamVjdF9zdGF0dXMgPT0gIkNvbXBsZXRlZCIgJiAgDQogICAgICAgICAgICAgICAgICAgICAgICAgcHJldmlvdXNseV9hc3Npc3RlZCA9PSAiTm8iKSAlPiUgDQogICAgICAgICAgICAgICAgZ3JvdXBfYnkoYWRtaW4zcGNvZGUpICU+JSANCiAgICAgICAgICAgICAgICBzdW1tYXJpc2UoYmVuZWZpY2lhcmllcyA9IHN1bShiZW5lZm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ZWdlbmQgPSBsaXN0KGZvbnQgPSAobGlzdChzaXplID0gNikpKSkgJT4lIA0KICBwbG90bHk6OnN0eWxlKGhvdmVyb24gPSAicG9pbnQiKSAlPiUgDQogIGxheW91dCh0aXRsZSA9IGxpc3QodGV4dCA9IHBhc3RlMCgiQmVuZWZpY2lhcmllcyBhbmQgY29tbXVuaXRpZXMgcmVhY2hlZCIsDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiPGJyPiIsDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiPHN1cD4iLA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIkNhc2ggcmVzcG9uc2UgaW1wbGVtZW50aW5nIHBhcnRuZXJzOyBtb3VzZSBvdmVyIGZvciBkZXRhaWxzIiwiPC9zdXA+IikpKQ0KDQoNCmBgYA0KDQoNCg0KPGJyPjxicj48YnI+DQoNCiMjIyA0LjEgQ2FzaCBkaXNidXJzZWQgcGVyIHBhcnRuZXINCg0KPGJyPg0KDQpgYGB7ciB0YWJsZS1jYXNoLWRpc2J1cnNlZH0NCmNiciAlPiUgDQogIGZpbHRlcihwcm9qZWN0X3N0YXR1cyA9PSAiQ29tcGxldGVkIikgJT4lIA0KICBncm91cF9ieShpbXBsZW1lbnRpbmdfcGFydG5lcikgJT4lIA0KICBzdW1tYXJpc2UodG90YWxfdXNkID0gc3VtKHRvdGFsX3VzZCwgbmEucm0gPSBUUlVFKSwgDQogICAgICAgICAgICBmYW1pbGllcyA9IHN1bShmYW1pbGllcywgbmEucm0gPSBUUlVFKSkgJT4lIA0KICBtdXRhdGUodXNkX3Blcl9mYW0gPSByb3VuZCh0b3RhbF91c2QgLyBmYW1pbGllcywgZGlnaXRzID0gMiksIA0KICAgICAgICAgYCVfdXNkX3RvdGFsYCA9IHJvdW5kKHRvdGFsX3VzZCAvIHN1bSh0b3RhbF91c2QpICogMTAwLCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkaWdpd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dvdW5kZWQgYW5kIGRlYWQgcGVyIDEwMGtgLCANCmBkYW1hZ2VkIGhvdXNlc2AsIGBkYW1hZ2VkIGhvdXNlcyBwZXIgMTAwa2AsIA0KYGFkbWluM3Bjb2RlYA0KDQo8YnI+DQoNCmBgYHtyIERULWFkbWluM30NCmVxICU+JSANCiAgbGVmdF9qb2luKGxvY2F0aW9ucyAlPiUgZGlzdGluY3QoYWRtaW4zcGNvZGUsIA0KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3ViX2Rpc3RyaWN0ID0gYWRtaW4zbmFtZV9lbiwNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGRpc3RyaWN0ID0gYWRtaW4ybmFtZV9lbiwNCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGdvdmVybm9yYXRlID0gYWRtaW4xbmFtZV9lbiksIA0KICAgICAgICAgICAgYnkgPSAiYWRtaW4zcGNvZGUiKSAlPiUgDQogIGxlZnRfam9pbihjYnIgJT4lIA0KICAgICAgICAgICAgICBmaWx0ZXIocHJvamVjdF9zdGF0dXMgPT0gIkNvbXBsZXRlZCIpICU+JSANCiAgICAgICAgICAgICAgZ3JvdXBfYnkoYWRtaW4zcGNvZGUpICU+JSANCiAgICAgICAgICAgICAgc3VtbWFyaXNlKGJlbmVmaWNpYXJpZXMgPSBzdW0oYmVuZWZpY2lhcmllc1twcmV2aW91c2x5X2Fzc2lzdGVkID09ICJObyJdLCANCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbmEucm0gPSBUUlVFKSwgDQogICAgICAgICAgICAgICAgICAgICAgICB0b3RhbF91c2QgPSBzdW0odG90YWxfdXNkLCBuYS5ybSA9IFRSVUUpKSwgDQogICAgICAgICAgICBieSA9ICJhZG1pbjNwY29kZSIpICU+JSANCiAgc2VsZWN0KGdvdmVybm9yYXRlLCBkaXN0cmljdCwgc3ViX2Rpc3RyaWN0LCANCiAgICAgICAgIHRvdGFsX3Bv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