@@ -0,0 +1,1051 @@
+package org.example.seed.util;%0A%0Aimport com.google.i18n.phonenumbers.NumberParseException;%0Aimport com.google.i18n.phonenumbers.PhoneNumberUtil;%0Aimport com.google.i18n.phonenumbers.Phonenumber;%0Aimport lombok.AllArgsConstructor;%0Aimport lombok.Builder;%0Aimport lombok.Data;%0Aimport lombok.NoArgsConstructor;%0A%0Apublic final class PhoneGenUtil %7B%0A%0A  private static final PhoneNumberUtil phoneNumberUtil = PhoneNumberUtil.getInstance();%0A%0A  private PhoneGenUtil() %7B%7D%0A%0A  public static PhoneDto parse(final String phoneNumber) %7B%0A    try %7B%0A      Phonenumber.PhoneNumber rawPhoneNumber = phoneNumberUtil.parse(phoneNumber, %22CH%22);%0A%0A      return PhoneDto.builder()%0A        .lada(Integer.toString(rawPhoneNumber.getCountryCode()))%0A        .phoneNumber(Long.toString(rawPhoneNumber.getNationalNumber()))%0A        .build();%0A    %7D catch (final NumberParseException e) %7B%0A      throw new RuntimeException(%22ERROR-10000%22);%0A    %7D%0A  %7D%0A%0A  @Data%0A  @Builder%0A  @NoArgsConstructor%0A  @AllArgsConstructor%0A  class PhoneDto %7B%0A    private String lada;%0A    private String phoneNumber;%0A  %7D%0A%7D%0A

create PhoneGenUtil to parse and validate phone numbers