-
Notifications
You must be signed in to change notification settings - Fork 111
/
Base.php
716 lines (592 loc) · 20.4 KB
/
Base.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
<?php
/**
* @license LGPLv3, https://opensource.org/licenses/LGPL-3.0
* @copyright Metaways Infosystems GmbH, 2011
* @copyright Aimeos (aimeos.org), 2015-2021
* @package MShop
* @subpackage Common
*/
namespace Aimeos\MShop\Common\Item\Address;
/**
* Abstract class for address items.
*
* @package MShop
* @subpackage Common
*/
abstract class Base
extends \Aimeos\MShop\Common\Item\Base
implements \Aimeos\MShop\Common\Item\Address\Iface
{
/**
* Saluation is not known.
* The customer didn't choose a valid salutation.
*/
const SALUTATION_UNKNOWN = '';
/**
* Saluation for a company.
*/
const SALUTATION_COMPANY = 'company';
/**
* Saluation for a female customer.
*/
const SALUTATION_MS = 'ms';
/**
* Saluation for a male customer.
*/
const SALUTATION_MR = 'mr';
private $prefix;
/**
* Initializes the address item.
*
* @param string $prefix Key prefix that should be used for toArray()/fromArray() like "customer.address."
* @param array $values Associative list of key/value pairs containing address data
*/
public function __construct( string $prefix, array $values )
{
parent::__construct( $prefix, $values );
$this->prefix = $prefix;
}
/**
* Returns the company name.
*
* @return string Company name
*/
public function getCompany() : string
{
return (string) $this->get( $this->prefix . 'company', '' );
}
/**
* Sets a new company name.
*
* @param string $company New company name
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setCompany( ?string $company ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'company', (string) $company );
}
/**
* Returns the vatid.
*
* @return string vatid
*/
public function getVatID() : string
{
return (string) $this->get( $this->prefix . 'vatid', '' );
}
/**
* Sets a new vatid.
*
* @param string $vatid New vatid
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setVatID( ?string $vatid ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'vatid', (string) $vatid );
}
/**
* Returns the salutation constant for the person described by the address.
*
* @return string Saluatation constant defined in \Aimeos\MShop\Common\Item\Address\Base
*/
public function getSalutation() : string
{
return $this->get( $this->prefix . 'salutation', \Aimeos\MShop\Common\Item\Address\Base::SALUTATION_UNKNOWN );
}
/**
* Sets the new salutation for the person described by the address.
*
* @param string $salutation Salutation constant defined in \Aimeos\MShop\Common\Item\Address\Base
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setSalutation( ?string $salutation ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'salutation', $this->checkSalutation( (string) $salutation ) );
}
/**
* Returns the title of the person.
*
* @return string Title of the person
*/
public function getTitle() : string
{
return $this->get( $this->prefix . 'title', '' );
}
/**
* Sets a new title of the person.
*
* @param string $title New title of the person
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setTitle( ?string $title ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'title', (string) $title );
}
/**
* Returns the first name of the person.
*
* @return string First name of the person
*/
public function getFirstname() : string
{
return $this->get( $this->prefix . 'firstname', '' );
}
/**
* Sets a new first name of the person.
*
* @param string $firstname New first name of the person
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setFirstname( ?string $firstname ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'firstname', (string) $firstname );
}
/**
* Returns the last name of the person.
*
* @return string Last name of the person
*/
public function getLastname() : string
{
return $this->get( $this->prefix . 'lastname', '' );
}
/**
* Sets a new last name of the person.
*
* @param string $lastname New last name of the person
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setLastname( ?string $lastname ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'lastname', (string) $lastname );
}
/**
* Returns the first address part, e.g. the street name.
*
* @return string First address part
*/
public function getAddress1() : string
{
return $this->get( $this->prefix . 'address1', '' );
}
/**
* Sets a new first address part, e.g. the street name.
*
* @param string $address1 New first address part
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setAddress1( ?string $address1 ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'address1', (string) $address1 );
}
/**
* Returns the second address part, e.g. the house number.
*
* @return string Second address part
*/
public function getAddress2() : string
{
return $this->get( $this->prefix . 'address2', '' );
}
/**
* Sets a new second address part, e.g. the house number.
*
* @param string $address2 New second address part
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setAddress2( ?string $address2 ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'address2', (string) $address2 );
}
/**
* Returns the third address part, e.g. the house name or floor number.
*
* @return string third address part
*/
public function getAddress3() : string
{
return $this->get( $this->prefix . 'address3', '' );
}
/**
* Sets a new third address part, e.g. the house name or floor number.
*
* @param string $address3 New third address part
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setAddress3( ?string $address3 ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'address3', (string) $address3 );
}
/**
* Returns the postal code.
*
* @return string Postal code
*/
public function getPostal() : string
{
return $this->get( $this->prefix . 'postal', '' );
}
/**
* Sets a new postal code.
*
* @param string $postal New postal code
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setPostal( ?string $postal ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'postal', (string) $postal );
}
/**
* Returns the city name.
*
* @return string City name
*/
public function getCity() : string
{
return $this->get( $this->prefix . 'city', '' );
}
/**
* Sets a new city name.
*
* @param string $city New city name
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setCity( ?string $city ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'city', (string) $city );
}
/**
* Returns the state name.
*
* @return string State name
*/
public function getState() : string
{
return $this->get( $this->prefix . 'state', '' );
}
/**
* Sets a new state name.
*
* @param string $state New state name
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setState( ?string $state ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'state', (string) $state );
}
/**
* Returns the unique ID of the country the address belongs to.
*
* @return string|null Unique ID of the country
*/
public function getCountryId() : ?string
{
return $this->get( $this->prefix . 'countryid' );
}
/**
* Sets the ID of the country the address is in.
*
* @param string|null $countryid Unique ID of the country
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setCountryId( ?string $countryid ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'countryid', $this->checkCountryId( $countryid ) );
}
/**
* Returns the unique ID of the language.
*
* @return string|null Unique ID of the language
*/
public function getLanguageId() : ?string
{
return $this->get( $this->prefix . 'languageid' );
}
/**
* Sets the ID of the language.
*
* @param string|null $langid Unique ID of the language
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setLanguageId( ?string $langid ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'languageid', $this->checkLanguageId( $langid ) );
}
/**
* Returns the telephone number.
*
* @return string Telephone number
*/
public function getTelephone() : string
{
return $this->get( $this->prefix . 'telephone', '' );
}
/**
* Sets a new telephone number.
*
* @param string $telephone New telephone number
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setTelephone( ?string $telephone ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'telephone', (string) $telephone );
}
/**
* Returns the email address.
*
* @return string Email address
*/
public function getEmail() : string
{
return $this->get( $this->prefix . 'email', '' );
}
/**
* Sets a new email address.
*
* @param string $email New email address
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setEmail( ?string $email ) : \Aimeos\MShop\Common\Item\Address\Iface
{
$regex = '/^(?!(?:(?:\x22?\x5C[\x00-\x7E]\x22?)|(?:\x22?[^\x5C\x22]\x22?)){255,})(?!(?:(?:\x22?\x5C[\x00-\x7E]\x22?)|(?:\x22?[^\x5C\x22]\x22?)){65,}@)(?:(?:[\x21\x23-\x27\x2A\x2B\x2D\x2F-\x39\x3D\x3F\x5E-\x7E]+)|(?:\x22(?:[\x01-\x08\x0B\x0C\x0E-\x1F\x21\x23-\x5B\x5D-\x7F]|(?:\x5C[\x00-\x7F]))*\x22))(?:\.(?:(?:[\x21\x23-\x27\x2A\x2B\x2D\x2F-\x39\x3D\x3F\x5E-\x7E]+)|(?:\x22(?:[\x01-\x08\x0B\x0C\x0E-\x1F\x21\x23-\x5B\x5D-\x7F]|(?:\x5C[\x00-\x7F]))*\x22)))*@(?:(?:(?!.*[^.]{64,})(?:(?:(?:xn--)?[a-z0-9]+(?:-[a-z0-9]+)*\.){1,126}){1,}(?:(?:[a-z][a-z0-9]*)|(?:(?:xn--)[a-z0-9]+))(?:-[a-z0-9]+)*)|(?:\[(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){7})|(?:(?!(?:.*[a-f0-9][:\]]){7,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,5})?)))|(?:(?:IPv6:(?:(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){5}:)|(?:(?!(?:.*[a-f0-9]:){5,})(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3})?::(?:[a-f0-9]{1,4}(?::[a-f0-9]{1,4}){0,3}:)?)))?(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))(?:\.(?:(?:25[0-5])|(?:2[0-4][0-9])|(?:1[0-9]{2})|(?:[1-9]?[0-9]))){3}))\]))$/iD';
if( $email != '' && preg_match( $regex, $email ) !== 1 ) {
throw new \Aimeos\MShop\Exception( sprintf( 'Invalid characters in email address: "%1$s"', $email ) );
}
return $this->set( $this->prefix . 'email', (string) $email );
}
/**
* Returns the telefax number.
*
* @return string Telefax number
*/
public function getTelefax() : string
{
return $this->get( $this->prefix . 'telefax', '' );
}
/**
* Sets a new telefax number.
*
* @param string $telefax New telefax number
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setTelefax( ?string $telefax ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'telefax', (string) $telefax );
}
/**
* Returns the website URL.
*
* @return string Website URL
*/
public function getWebsite() : string
{
return $this->get( $this->prefix . 'website', '' );
}
/**
* Sets a new website URL.
*
* @param string|null $website New website URL
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function setWebsite( ?string $website ) : \Aimeos\MShop\Common\Item\Address\Iface
{
$pattern = '#^([a-z]+://)?[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\-]+)+(:[0-9]+)?(/.*)?$#';
if( $website != '' && preg_match( $pattern, $website ) !== 1 ) {
throw new \Aimeos\MShop\Exception( sprintf( 'Invalid web site URL "%1$s"', $website ) );
}
return $this->set( $this->prefix . 'website', (string) $website );
}
/**
* Returns the longitude coordinate of the customer address
*
* @return float|null Longitude coordinate as decimal value or null
*/
public function getLongitude() : ?float
{
if( ( $result = $this->get( $this->prefix . 'longitude' ) ) !== null ) {
return (float) $result;
}
return null;
}
/**
* Sets the longitude coordinate of the customer address
*
* @param string|null $value Longitude coordinate as decimal value or null
* @return \Aimeos\MShop\Customer\Item\Iface Customer address item for chaining method calls
*/
public function setLongitude( ?string $value ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'longitude', $value !== '' && $value !== null ? $value : null );
}
/**
* Returns the latitude coordinate of the customer address
*
* @return float|null Latitude coordinate as decimal value or null
*/
public function getLatitude() : ?float
{
if( ( $result = $this->get( $this->prefix . 'latitude' ) ) !== null ) {
return (float) $result;
}
return null;
}
/**
* Sets the latitude coordinate of the customer address
*
* @param string|null $value Latitude coordinate as decimal value or null
* @return \Aimeos\MShop\Customer\Item\Iface Customer address item for chaining method calls
*/
public function setLatitude( ?string $value ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'latitude', $value !== '' && $value !== null ? $value : null );
}
/**
* Returns the birthday of the customer item.
*
* @return string|null Birthday in YYYY-MM-DD format
*/
public function getBirthday() : ?string
{
return $this->get( $this->prefix . 'birthday' );
}
/**
* Sets the birthday of the customer item.
*
* @param string|null $value Birthday of the customer item
* @return \Aimeos\MShop\Common\Item\Address\Iface Customer address item for chaining method calls
*/
public function setBirthday( ?string $value ) : \Aimeos\MShop\Common\Item\Address\Iface
{
return $this->set( $this->prefix . 'birthday', $this->checkDateOnlyFormat( $value ) );
}
/**
* Returns the item type
*
* @return string Item type, subtypes are separated by slashes
*/
public function getResourceType() : string
{
return str_replace( '.', '/', rtrim( $this->prefix, '.' ) );
}
/**
* Copies the values of the address item into another one.
*
* @param \Aimeos\MShop\Common\Item\Address\Iface $item Address item
* @return \Aimeos\MShop\Common\Item\Address\Iface Common address item for chaining method calls
*/
public function copyFrom( \Aimeos\MShop\Common\Item\Address\Iface $item ) : \Aimeos\MShop\Common\Item\Address\Iface
{
$values = $item->toArray();
$this->fromArray( $values );
$this->setCompany( $item->getCompany() );
$this->setVatID( $item->getVatID() );
$this->setSalutation( $item->getSalutation() );
$this->setTitle( $item->getTitle() );
$this->setFirstname( $item->getFirstname() );
$this->setLastname( $item->getLastname() );
$this->setAddress1( $item->getAddress1() );
$this->setAddress2( $item->getAddress2() );
$this->setAddress3( $item->getAddress3() );
$this->setPostal( $item->getPostal() );
$this->setCity( $item->getCity() );
$this->setState( $item->getState() );
$this->setCountryId( $item->getCountryId() );
$this->setLanguageId( $item->getLanguageId() );
$this->setTelephone( $item->getTelephone() );
$this->setTelefax( $item->getTelefax() );
$this->setEmail( $item->getEmail() );
$this->setWebsite( $item->getWebsite() );
$this->setLongitude( $item->getLongitude() );
$this->setLatitude( $item->getLatitude() );
$this->setBirthday( $item->getBirthday() );
return $this;
}
/*
* Sets the item values from the given array and removes that entries from the list
*
* @param array &$list Associative list of item keys and their values
* @param bool True to set private properties too, false for public only
* @return \Aimeos\MShop\Common\Item\Address\Iface Address item for chaining method calls
*/
public function fromArray( array &$list, bool $private = false ) : \Aimeos\MShop\Common\Item\Iface
{
$item = parent::fromArray( $list, $private );
foreach( $list as $idx => $value )
{
$pos = strrpos( $idx, '.' );
$key = $pos ? substr( $idx, $pos + 1 ) : $idx;
switch( $key )
{
case 'salutation': $item = $item->setSalutation( $value ); break;
case 'company': $item = $item->setCompany( $value ); break;
case 'vatid': $item = $item->setVatID( $value ); break;
case 'title': $item = $item->setTitle( $value ); break;
case 'firstname': $item = $item->setFirstname( $value ); break;
case 'lastname': $item = $item->setLastname( $value ); break;
case 'address1': $item = $item->setAddress1( $value ); break;
case 'address2': $item = $item->setAddress2( $value ); break;
case 'address3': $item = $item->setAddress3( $value ); break;
case 'postal': $item = $item->setPostal( $value ); break;
case 'city': $item = $item->setCity( $value ); break;
case 'state': $item = $item->setState( $value ); break;
case 'countryid': $item = $item->setCountryId( $value ); break;
case 'languageid': $item = $item->setLanguageId( $value ); break;
case 'telephone': $item = $item->setTelephone( $value ); break;
case 'telefax': $item = $item->setTelefax( $value ); break;
case 'email': $item = $item->setEmail( $value ); break;
case 'website': $item = $item->setWebsite( $value ); break;
case 'longitude': $item = $item->setLongitude( $value ); break;
case 'latitude': $item = $item->setLatitude( $value ); break;
case 'birthday': $item = $item->setBirthday( $value ); break;
default: continue 2;
}
unset( $list[$idx] );
}
return $item;
}
/**
* Returns the item values as array.
*
* @param bool True to return private properties, false for public only
* @return array Associative list of item properties and their values
*/
public function toArray( bool $private = false ) : array
{
$list = parent::toArray( $private );
$list[$this->prefix . 'salutation'] = $this->getSalutation();
$list[$this->prefix . 'company'] = $this->getCompany();
$list[$this->prefix . 'vatid'] = $this->getVatID();
$list[$this->prefix . 'title'] = $this->getTitle();
$list[$this->prefix . 'firstname'] = $this->getFirstname();
$list[$this->prefix . 'lastname'] = $this->getLastname();
$list[$this->prefix . 'address1'] = $this->getAddress1();
$list[$this->prefix . 'address2'] = $this->getAddress2();
$list[$this->prefix . 'address3'] = $this->getAddress3();
$list[$this->prefix . 'postal'] = $this->getPostal();
$list[$this->prefix . 'city'] = $this->getCity();
$list[$this->prefix . 'state'] = $this->getState();
$list[$this->prefix . 'countryid'] = $this->getCountryId();
$list[$this->prefix . 'languageid'] = $this->getLanguageId();
$list[$this->prefix . 'telephone'] = $this->getTelephone();
$list[$this->prefix . 'telefax'] = $this->getTelefax();
$list[$this->prefix . 'email'] = $this->getEmail();
$list[$this->prefix . 'website'] = $this->getWebsite();
$list[$this->prefix . 'longitude'] = $this->getLongitude();
$list[$this->prefix . 'latitude'] = $this->getLatitude();
$list[$this->prefix . 'birthday'] = $this->getBirthday();
return $list;
}
/**
* Checks the given address salutation is valid
*
* @param string $value Address salutation defined in \Aimeos\MShop\Common\Item\Address\Base
* @throws \Aimeos\MShop\Exception If salutation is invalid
*/
protected function checkSalutation( string $value )
{
if( strlen( $value ) > 8 ) {
throw new \Aimeos\MShop\Exception( sprintf( 'Address salutation "%1$s" not within allowed range', $value ) );
}
return $value;
}
}