PageSourceSearch

https://vet.ge/chunk-3YVDYTSU.js

js vet.ge collected 2026-10-02 05:58:00 UTC 50,126 bytes, 1 lines download raw bytes

1import{Aa as We,E as Be,F as j,G as he,H as ze,J as De,K as Ie,L as Ge,M as se,Q as Ae,S as Le,T as He,Ua as ye,Va as be,Wa as $e,Ya as je,k as de,kb as ee,ma as Ue,na as ue,oa as qe,r as Z,ra as ge,s as fe,ta as Ke}from"./chunk-RNV5H4L3.js";import{j as Oe}from"./chunk-PBQDPYG6.js";import"./chunk-GZ6E3O3O.js";import"./chunk-ZNZUUEGS.js";import{Aa as B,Ba as k,Da as Y,Ea as g,Ga as z,Ha as Re,Ia as N,La as D,Pa as Te,Qa as V,xa as Ee,ya as v}from"./chunk-XQM4VZUS.js";import"./chunk-GQBYF67E.js";import"./chunk-QV2QXE5O.js";import"./chunk-JAMC46NG.js";import{m as me,o as Se}from"./chunk-WIMTBFD2.js";import{Q as T}from"./chunk-2YK54JWE.js";import{a as L}from"./chunk-KX6WOKIV.js";import{Ac as A,Ad as q,Bb as pe,Bc as h,Bd as K,C as J,Ea as $,G as le,Gb as P,Gd as M,I as Q,Ka as X,La as F,Lb as _,M as W,Nc as d,O as Fe,Oa as G,Oc as b,Pc as O,Sc as Pe,Tc as Me,Uc as ke,Vc as Ne,Wc as Ve,Xc as _e,Yb as p,Z as Ce,ba as I,c as xe,da as ce,ec as y,fc as ne,hc as re,hd as l,ic as ae,id as c,jc as s,kc as a,l as S,lc as u,pa as w,pc as H,q as ve,qb as n,xa as E,ya as R,z as we}from"./chunk-CY6DIAHF.js";import{a as x}from"./chunk-G27JW64F.js";import"./chunk-NUMHA4AJ.js";x();M();x();M();M();function ot(i,m){i&1&&(s(0,"div",5),u(1,"vet-icon",6),s(2,"span"),d(3),l(4,"transloco"),a()()),i&2&&(n(3),b(c(4,1,"auth.choose_one")))}function it(i,m){if(i&1){let e=H();s(0,"form",0)(1,"div",1)(2,"div",2)(3,"label",3)(4,"input",4),A("change",function(){E(e);let o=h();return R(o.onRadioChange(!0,o.citizenship.Georgian))}),a(),s(5,"span"),d(6),l(7,"transloco"),a()(),s(8,"label",3)(9,"input",4),A("change",function(){E(e);let o=h();return R(o.onRadioChange(!0,o.citizenship.Foreigner))}),a(),s(10,"span"),d(11),l(12,"transloco"),a()()(),_(13,ot,5,3,"div",5),a()()}if(i&2){let e=h();p("formGroup",m),n(4),p("value",e.citizenship.Georgian),n(2),b(c(7,6,"auth.georgian_citizen")),n(3),p("value",e.citizenship.Foreigner),n(2),b(c(12,8,"auth.other_citizen")),n(2),y(e.isWarningVisible()?13:-1)}}var Ye=(()=>{class i{constructor(){this.form=F(),this.resetForm=X(),this.citizenship=ee,this.isFormTouched=q(()=>this.form()?.touched??!1),this.isFormValid=q(()=>this.form()?.valid??!1),this.isWarningVisible=q(()=>this.isFormTouched()&&!this.isFormValid())}onRadioChange(e,t){e&&this.resetForm.emit(t)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=P({type:i,selectors:[["vet-registration-citizenship"]],inputs:{form:[1,"form"]},outputs:{resetForm:"resetForm"},decls:1,vars:1,consts:[["vet-container","","gap-s","",3,"formGroup"],["vet-container","","gap-s",""],["vet-row","","gap-wide",""],["vet-line",""],["type","radio","formControlName","citizenship",1,"vet-radio",3,"change","value"],["vet-line","","align-center","",1,"vet-error-message"],["icon","infoWarning"]],template:function(t,o){if(t&1&&_(0,it,14,10,"form",0),t&2){let r;y((r=o.form())?0:-1,r)}},dependencies:[V,z,Ee,Re,B,k,N,D,T,Be],styles:[`@font-face{font-family:HelveticaNeue;src:url(/assets/fonts/HelveticaNeue-01.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:HelveticaNeue;src:url(/assets/fonts/HelveticaNeue-Medium-11.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:HelveticaNeue;src:url(/assets/fonts/HelveticaNeue-Bold-02.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:OpenDyslexic;src:url(/assets/fonts/OpenDyslexic-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:OpenDyslexic;src:url(/assets/fonts/OpenDyslexic-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}.font-primary[_ngcontent-%COMP%]{font-family:HelveticaNeue,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important}.font-secondary[_ngcontent-%COMP%]{font-family:BPG Mrgvlovani Caps,HelveticaNeue,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important}.font-system[_ngcontent-%COMP%]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important}.font-mono[_ngcontent-%COMP%]{font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace!important}.text-transform-none[_ngcontent-%COMP%]{text-transform:none!important}[_ngcontent-%COMP%]:root{--vet-content-max-width: 90rem;--vet-container-padding-x: 1.25rem;--vet-container-padding-y: 0;--vet-container-padding-bottom: 9.375rem}@media (max-width: 64rem){[_ngcontent-%COMP%]:root{--vet-container-padding-x: 1rem}}@media (max-width: 48rem){[_ngcontent-%COMP%]:root{--vet-container-padding-x: 1rem}}.vet-layout-wrapper[_ngcontent-%COMP%]{width:100%;background:transparent;padding:0 var(--vet-container-padding-x)}@media (max-width: 64rem){.vet-layout-wrapper[_ngcontent-%COMP%]{--vet-container-padding-x: 1rem}}@media (max-width: 48rem){.vet-layout-wrapper[_ngcontent-%COMP%]{--vet-container-padding-x: 1rem}}.vet-layout-container[_ngcontent-%COMP%]{width:100%;max-width:var(--vet-content-max-width);margin:0 auto}[_ngcontent-%COMP%]:root{--vet-color-surface: #f3f4f7;--vet-color-surface-alt: #f5f7f8;--vet-color-surface-card: #ffffff;--vet-color-surface-overlay: #f2f3f6;--vet-color-surface-footer: #ffffff;--vet-color-text-primary: #292d32;--vet-color-text-secondary: #626262;--vet-color-text-tertiary: #b1b7bb;--vet-color-text-hint: #757575;--vet-color-text-on-primary: #ffffff;--vet-color-text-on-dark: #ffffff;--vet-color-text-dark: #444444;--vet-color-link: #2351c9;--vet-color-link-visited: #2351c9;--vet-color-nav-bg: #4682b4;--vet-color-nav-text: #ffffff;--vet-color-primary: #4CAEE8;--vet-color-primary-hover: #89CAF1;--vet-color-primary-dark: #28a4e3;--vet-color-primary-light: #59acd4;--vet-color-primary-extra-light: #e8f4fd;--vet-color-primary-extra-dark: #0e2b43;--vet-color-secondary: #EAF0FF;--vet-color-tertiary: #e0e0e0;--vet-color-success: #1e9f6f;--vet-color-error: #ee4f64;--vet-color-warning: #ffc107;--vet-color-info: #2196f3;--vet-color-shadow: rgba(0, 0, 0, .1019607843);--vet-color-border: #e8eaf3;--vet-color-border-alt: #ececec;--vet-color-border-light: #d9d9d9;--vet-color-divider: #c8c8c8;--vet-color-divider-light: #e0e0e0;--vet-shadow-sm: 0 1px 4px rgba(0, 0, 0, .1019607843);--vet-shadow-md: 0 2px 8px rgba(0, 0, 0, .1019607843);--vet-shadow-lg: 0 4px 16px rgba(0, 0, 0, .1019607843);--vet-color-button-light: #eaeaea;--vet-color-button-light-contrast: #4682b4;--vet-spacing-xs: .5rem;--vet-spacing-sm: .75rem;--vet-spacing-md: 1rem;--vet-spacing-lg: 1.25rem;--vet-spacing-xl: 1.5rem;--vet-spacing-2xl: 2rem;--vet-radius-sm: .25rem;--vet-radius-md: .625rem;--vet-radius-lg: 1rem;--vet-radius-xl: 1.25rem;--vet-font-size-base: 1rem;--vet-focus-ring: 0 0 0 3px #4CAEE8;--vet-a11y-letter-spacing: normal;--vet-a11y-word-spacing: normal;--vet-a11y-line-height: inherit;--vet-color-overlay-backdrop: rgba(0, 0, 0, .3);--vet-color-isced-01: #E78687;--vet-color-isced-02: #E4B08C;--vet-color-isced-03: #C9E0E4;--vet-color-isced-04: #718098;--vet-color-isced-05: #E5FFED;--vet-color-isced-06: #E3C7C9;--vet-color-isced-07: #E78687;--vet-color-isced-08: #C9E0E4;--vet-color-isced-09: #DBEBFE;--vet-color-isced-10: #718098;--vet-color-program-long-bg: #DBEBFE;--vet-color-program-long-text: #1a4a8a;--vet-color-program-long-border: #c5dcfd;--vet-color-program-short-bg: #FFF1D1;--vet-color-program-short-text: #7a5800;--vet-color-program-short-border: #ffe9b3;--vet-color-program-nf-bg: #E5FFED;--vet-color-program-nf-text: #1a6636;--vet-color-program-nf-border: #ccf5d8;--vet-placeholder-blue-start: #e0f2fe;--vet-placeholder-blue-end: #bae6fd;--vet-placeholder-pink-start: #fce7f3;--vet-placeholder-pink-end: #fbcfe8;--vet-placeholder-green-start: #dcfce7;--vet-placeholder-green-end: #bbf7d0;--vet-placeholder-yellow-start: #fef3c7;--vet-placeholder-yellow-end: #fde68a;--vet-color-service-pink: #FCE4EC;--vet-color-service-purple: #EAE6FF;--vet-color-service-teal: #DFF6FF;--vet-color-warning-bg: #FFEECC;--vet-color-bg-pink: #e3c7c9;--vet-color-bg-blue: #eaf0ff}[_nghost-%COMP%]{display:block}[_nghost-%COMP%]   label[_ngcontent-%COMP%]{cursor:pointer;display:flex;align-items:center;gap:.75rem}[_nghost-%COMP%]   label[_ngcontent-%COMP%]   .vet-radio[_ngcontent-%COMP%]{width:1rem;min-width:1rem;height:1rem;border-radius:50%;border:1px solid var(--vet-color-border-alt);background-color:var(--vet-color-surface-card);cursor:pointer;appearance:none;margin:0;position:relative}[_nghost-%COMP%]   label[_ngcontent-%COMP%]   .vet-radio[_ngcontent-%COMP%]:checked{border-color:var(--vet-color-primary);background-color:var(--vet-color-primary);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3e%3ccircle cx='50%25' cy='50%25' r='4' fill='white'/%3e%3c/svg%3e");background-position:center;background-repeat:no-repeat;background-size:contain}[_nghost-%COMP%]   label[_ngcontent-%COMP%]   .vet-radio[_ngcontent-%COMP%]:focus{outline:2px solid color-mix(in srgb,var(--vet-color-primary) 30%,transparent);outline-offset:2px}[_nghost-%COMP%]   label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{text-underline-position:from-font;text-decoration-skip-ink:none;font-family:HelveticaNeue,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-weight:400;font-size:.875rem;line-height:1.5rem;color:var(--vet-color-text-secondary)}[_nghost-%COMP%]   label[_ngcontent-%COMP%]   spanstrong[_ngcontent-%COMP%], [_nghost-%COMP%]   label[_ngcontent-%COMP%]   spanb[_ngcontent-%COMP%], [_nghost-%COMP%]   label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%], [_nghost-%COMP%]   label[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]   b[_ngcontent-%COMP%]{font-weight:500}[_nghost-%COMP%]   .vet-error-message[_ngcontent-%COMP%]{color:var(--vet-color-error);text-underline-position:from-font;text-decoration-skip-ink:none;font-family:HelveticaNeue,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-weight:400;font-size:.75rem;line-height:.90625rem;margin-top:.5rem}[_nghost-%COMP%]   .vet-error-messagestrong[_ngcontent-%COMP%], [_nghost-%COMP%]   .vet-error-messageb[_ngcontent-%COMP%], [_nghost-%COMP%]   .vet-error-message[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%], [_nghost-%COMP%]   .vet-error-message[_ngcontent-%COMP%]   b[_ngcontent-%COMP%]{font-weight:500}`],changeDetection:0})}}return i})();x();M();ce();M();function nt(i,m){i&1&&(s(0,"div",1),u(1,"vet-input",4),l(2,"transloco"),u(3,"vet-input",5),l(4,"transloco"),a()),i&2&&(n(),p("readonly",!0)("topLabelFromThe90s",c(2,4,"auth.name")),n(2),p("readonly",!0)("topLabelFromThe90s",c(4,6,"auth.last_name")))}function rt(i,m){if(i&1&&(s(0,"form",0)(1,"div",1),u(2,"vet-input",2),l(3,"transloco"),u(4,"vet-date-picker",3),l(5,"transloco"),a(),_(6,nt,5,8,"div",1),a()),i&2){let e=h();p("formGroup",m),n(2),p("topLabelFromThe90s",c(3,4,"auth.id_number")),n(2),p("label",c(5,6,"auth.date_of_birth")),n(2),y(e.isPersonVerified()?6:-1)}}var Je=(()=>{class i{constructor(){this.alert=Z(),this.generalForm=F(),this.identityForm=F(),this.gender=["male","female"],this.isPersonVerified=pe(!1),this.personVerificationChange=X(),this.destroyRef=w($),K(()=>{let e=this.identityForm();e&&e.valueChanges.pipe(W((t,o)=>t.personalNumber===o.personalNumber&&t.dateOfBirth?.getTime()===o.dateOfBirth?.getTime()),J(()=>this.isPersonVerified()),Q(300),I(()=>{this.isPersonVerified.set(!1),this.personVerificationChange.emit(!1),e.controls.firstName.setValue(null,{emitEvent:!1}),e.controls.lastName.setValue(null,{emitEvent:!1}),e.controls.gender.setValue(null,{emitEvent:!1}),this.generalForm()?.controls?.contact?.value.phoneNumber&&this.generalForm()?.controls?.contact.reset()}),L(this.destroyRef)).subscribe()})}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=P({type:i,selectors:[["vet-registration-identity-citizen"]],inputs:{generalForm:[1,"generalForm"],identityForm:[1,"identityForm"],isPersonVerified:[1,"isPersonVerified"]},outputs:{isPersonVerified:"isPersonVerifiedChange",personVerificationChange:"personVerificationChange"},decls:1,vars:1,consts:[["vet-container","","gap-s","",3,"formGroup"],["vet-row",""],["self-grow","","formControlName","personalNumber",3,"topLabelFromThe90s"],["self-grow","","formControlName","dateOfBirth",3,"label"],["self-grow","","formControlName","firstName",3,"readonly","topLabelFromThe90s"],["self-grow","","formControlName","lastName",3,"readonly","topLabelFromThe90s"]],template:function(t,o){if(t&1&&_(0,rt,7,8,"form",0),t&2){let r;y((r=o.identityForm())?0:-1,r)}},dependencies:[V,z,B,k,N,D,T,j,he,de],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return i})();x();M();x();M();ce();M();function at(i,m){if(i&1){let e=H();s(0,"vet-button",6),A("click",function(){E(e);let o=h(2);return R(o.onCheckClick())}),d(1),l(2,"transloco"),a()}if(i&2){let e=h(2);p("disabled",!e.phoneNumberControl().valid),n(),O(" ",c(2,2,"auth.check")," ")}}function st(i,m){if(i&1){let e=H();s(0,"vet-registration-phone-verification",7),A("reload",function(){E(e);let o=h(2);return R(o.onSend())}),a()}if(i&2){let e=h(2);p("isSuccess",e.status()==="success")("isPending",e.status()==="verifying"||e.status()==="invalid"||e.isPending())("isValid",e.isValid())("errorMessage",e.errorMessage())("timeSent",e.startTime())}}function lt(i,m){if(i&1&&(s(0,"form",0)(1,"div",1)(2,"vet-input",2),l(3,"transloco"),s(4,"p",3),d(5),l(6,"transloco"),a(),_(7,at,3,4,"vet-button",4),a(),_(8,st,1,5,"vet-registration-phone-verification",5),a()()),i&2){let e=h();p("formGroup",m),n(2),p("topLabelFromThe90s",c(3,5,"auth.phone_number")),n(3),O(" ",c(6,7,"auth.georgian_code")," "),n(2),y(e.status()==="initial"?7:-1),n(),y(e.status()!=="initial"?8:-1)}}var Qe=(()=>{class i{constructor(){this.form=F(),this.destroyRef=w($),this.smsService=w(ue),this.status=G("initial"),this.isPending=G(!1),this.isValid=G(null),this.errorMessage=G(null),this.startTime=G(Date.now()),this.isPhoneVerified=se(this.form,e=>e.controls.isPhoneVerified),this.phoneVerificationNumberLength=ge().phoneVerificationNumberLength,this.phoneNumberControl=Ge(this.form,e=>e.controls.phoneNumber),this.validatingCode=G(""),this.previousPhoneVerifiedState=G(null),K(()=>{let e=this.isPhoneVerified();this.previousPhoneVerifiedState()===!0&&e===!1&&this.status()==="success"&&this.resetVerificationState(),this.previousPhoneVerifiedState.set(e)}),K(()=>{let e=this.form();if(!e)return;this.isPhoneVerified()&&this.status.set("success");let t=e.controls.phoneNumber,o=e.controls.phoneVerificationNumber,r=e.controls.isPhoneVerified;t.valueChanges.pipe(W(),I(()=>{this.status()!=="initial"&&(this.resetVerificationState(),r.setValue(!1))}),L(this.destroyRef)).subscribe(),o.valueChanges.pipe(W(),Q(300),J(()=>{let C=(o.value??"").length===this.phoneVerificationNumberLength;return(this.status()==="verifying"||this.status()==="invalid")&&t.valid&&C&&!this.isPending()}),I(()=>{let f=o.value??"";this.status()==="invalid"&&this.errorMessage.set(null),this.validatingCode.set(f),o.markAsTouched(),o.updateV
1alueAndValidity()}),L(this.destroyRef)).subscribe(),o.statusChanges.pipe(W(),I(()=>{let f=o.value??"",C=o.hasError("phoneVerificationInvalid"),U=o.errors?.phoneVerificationInvalid;C&&U&&this.validatingCode()===f?(this.errorMessage.set(typeof U=="string"?U:"auth.phone_verification_invalid"),this.status.set("invalid"),o.setValue(""),r.setValue(!1)):o.valid&&this.validatingCode()===f&&f.length===this.phoneVerificationNumberLength&&(this.status.set("success"),this.errorMessage.set(null),r.setValue(!0))}),L(this.destroyRef)).subscribe()})}resetVerificationState(){this.isValid.set(null),this.errorMessage.set(null),this.status.set("initial"),this.validatingCode.set(""),this.startTime.set(Date.now());let e=this.form()?.controls.phoneVerificationNumber;e?.reset(),e?.markAsUntouched()}onSend(){let e=this.form();if(!e)return;let t=e.controls.phoneNumber;!t.valid||!t.value||(this.isPending.set(!0),this.startTime.set(Date.now()),this.errorMessage.set(null),this.smsService.sendSmsCode({phone:t.value}).pipe(I({next:()=>{this.isPending.set(!1),this.status.set("verifying")},error:o=>{this.isPending.set(!1),o?.error?.error?.code===1002?this.status.set("verifying"):this.status.set("initial")}}),L(this.destroyRef)).subscribe())}onCheckClick(){let e=this.form();if(!e||!this.phoneNumberControl().valid)return;let t=e.controls.phoneNumber,o=e.controls.phoneVerificationNumber;if(this.status()==="initial"){if(t.invalid){t.markAsTouched();return}this.onSend();return}if(this.status()==="verifying"){if(t.invalid){t.markAsTouched();return}if(!o.value||o.value.length===0){this.onSend();return}if(o.invalid){o.markAsTouched(),this.isValid.set(!1);return}}}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=P({type:i,selectors:[["vet-registration-phone"]],inputs:{form:[1,"form"]},decls:1,vars:1,consts:[["vet-container","","gap-m","",3,"formGroup"],["vet-row",""],["self-grow","","self-align-baseline","","formControlName","phoneNumber",3,"topLabelFromThe90s"],["prefix",""],["after","","version","fat",3,"disabled"],["width-auto","","formControlName","phoneVerificationNumber",1,"vet-registration-phone-verification",3,"isSuccess","isPending","isValid","errorMessage","timeSent"],["after","","version","fat",3,"click","disabled"],["width-auto","","formControlName","phoneVerificationNumber",1,"vet-registration-phone-verification",3,"reload","isSuccess","isPending","isValid","errorMessage","timeSent"]],template:function(t,o){if(t&1&&_(0,lt,9,9,"form",0),t&2){let r;y((r=o.form())?0:-1,r)}},dependencies:[de,T,V,z,B,k,N,D,ze,j,We],styles:['@font-face{font-family:HelveticaNeue;src:url(/assets/fonts/HelveticaNeue-01.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:HelveticaNeue;src:url(/assets/fonts/HelveticaNeue-Medium-11.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:HelveticaNeue;src:url(/assets/fonts/HelveticaNeue-Bold-02.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:OpenDyslexic;src:url(/assets/fonts/OpenDyslexic-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:OpenDyslexic;src:url(/assets/fonts/OpenDyslexic-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}.font-primary[_ngcontent-%COMP%]{font-family:HelveticaNeue,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important}.font-secondary[_ngcontent-%COMP%]{font-family:BPG Mrgvlovani Caps,HelveticaNeue,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important}.font-system[_ngcontent-%COMP%]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important}.font-mono[_ngcontent-%COMP%]{font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace!important}.text-transform-none[_ngcontent-%COMP%]{text-transform:none!important}[_ngcontent-%COMP%]:root{--vet-content-max-width: 90rem;--vet-container-padding-x: 1.25rem;--vet-container-padding-y: 0;--vet-container-padding-bottom: 9.375rem}@media (max-width: 64rem){[_ngcontent-%COMP%]:root{--vet-container-padding-x: 1rem}}@media (max-width: 48rem){[_ngcontent-%COMP%]:root{--vet-container-padding-x: 1rem}}.vet-layout-wrapper[_ngcontent-%COMP%]{width:100%;background:transparent;padding:0 var(--vet-container-padding-x)}@media (max-width: 64rem){.vet-layout-wrapper[_ngcontent-%COMP%]{--vet-container-padding-x: 1rem}}@media (max-width: 48rem){.vet-layout-wrapper[_ngcontent-%COMP%]{--vet-container-padding-x: 1rem}}.vet-layout-container[_ngcontent-%COMP%]{width:100%;max-width:var(--vet-content-max-width);margin:0 auto}[_ngcontent-%COMP%]:root{--vet-color-surface: #f3f4f7;--vet-color-surface-alt: #f5f7f8;--vet-color-surface-card: #ffffff;--vet-color-surface-overlay: #f2f3f6;--vet-color-surface-footer: #ffffff;--vet-color-text-primary: #292d32;--vet-color-text-secondary: #626262;--vet-color-text-tertiary: #b1b7bb;--vet-color-text-hint: #757575;--vet-color-text-on-primary: #ffffff;--vet-color-text-on-dark: #ffffff;--vet-color-text-dark: #444444;--vet-color-link: #2351c9;--vet-color-link-visited: #2351c9;--vet-color-nav-bg: #4682b4;--vet-color-nav-text: #ffffff;--vet-color-primary: #4CAEE8;--vet-color-primary-hover: #89CAF1;--vet-color-primary-dark: #28a4e3;--vet-color-primary-light: #59acd4;--vet-color-primary-extra-light: #e8f4fd;--vet-color-primary-extra-dark: #0e2b43;--vet-color-secondary: #EAF0FF;--vet-color-tertiary: #e0e0e0;--vet-color-success: #1e9f6f;--vet-color-error: #ee4f64;--vet-color-warning: #ffc107;--vet-color-info: #2196f3;--vet-color-shadow: rgba(0, 0, 0, .1019607843);--vet-color-border: #e8eaf3;--vet-color-border-alt: #ececec;--vet-color-border-light: #d9d9d9;--vet-color-divider: #c8c8c8;--vet-color-divider-light: #e0e0e0;--vet-shadow-sm: 0 1px 4px rgba(0, 0, 0, .1019607843);--vet-shadow-md: 0 2px 8px rgba(0, 0, 0, .1019607843);--vet-shadow-lg: 0 4px 16px rgba(0, 0, 0, .1019607843);--vet-color-button-light: #eaeaea;--vet-color-button-light-contrast: #4682b4;--vet-spacing-xs: .5rem;--vet-spacing-sm: .75rem;--vet-spacing-md: 1rem;--vet-spacing-lg: 1.25rem;--vet-spacing-xl: 1.5rem;--vet-spacing-2xl: 2rem;--vet-radius-sm: .25rem;--vet-radius-md: .625rem;--vet-radius-lg: 1rem;--vet-radius-xl: 1.25rem;--vet-font-size-base: 1rem;--vet-focus-ring: 0 0 0 3px #4CAEE8;--vet-a11y-letter-spacing: normal;--vet-a11y-word-spacing: normal;--vet-a11y-line-height: inherit;--vet-color-overlay-backdrop: rgba(0, 0, 0, .3);--vet-color-isced-01: #E78687;--vet-color-isced-02: #E4B08C;--vet-color-isced-03: #C9E0E4;--vet-color-isced-04: #718098;--vet-color-isced-05: #E5FFED;--vet-color-isced-06: #E3C7C9;--vet-color-isced-07: #E78687;--vet-color-isced-08: #C9E0E4;--vet-color-isced-09: #DBEBFE;--vet-color-isced-10: #718098;--vet-color-program-long-bg: #DBEBFE;--vet-color-program-long-text: #1a4a8a;--vet-color-program-long-border: #c5dcfd;--vet-color-program-short-bg: #FFF1D1;--vet-color-program-short-text: #7a5800;--vet-color-program-short-border: #ffe9b3;--vet-color-program-nf-bg: #E5FFED;--vet-color-program-nf-text: #1a6636;--vet-color-program-nf-border: #ccf5d8;--vet-placeholder-blue-start: #e0f2fe;--vet-placeholder-blue-end: #bae6fd;--vet-placeholder-pink-start: #fce7f3;--vet-placeholder-pink-end: #fbcfe8;--vet-placeholder-green-start: #dcfce7;--vet-placeholder-green-end: #bbf7d0;--vet-placeholder-yellow-start: #fef3c7;--vet-placeholder-yellow-end: #fde68a;--vet-color-service-pink: #FCE4EC;--vet-color-service-purple: #EAE6FF;--vet-color-service-teal: #DFF6FF;--vet-color-warning-bg: #FFEECC;--vet-color-bg-pink: #e3c7c9;--vet-color-bg-blue: #eaf0ff}[_nghost-%COMP%]{display:block}.vet-registration-phone-verification[_ngcontent-%COMP%]{margin-top:1.375rem}@media (max-width: 48rem){.vet-registration-phone-verification[_ngcontent-%COMP%]{margin-top:0}}'],changeDetection:0})}}return i})();M();function ct(i,m){if(i&1&&(s(0,"form",0)(1,"div",1),u(2,"vet-input",2),l(3,"transloco"),a(),u(4,"vet-registration-phone",3),a()),i&2){let e=m;p("formGroup",e),n(2),p("topLabelFromThe90s",c(3,3,"auth.email")),n(2),p("form",e)}}var Xe=(()=>{class i{constructor(){this.form=F.required()}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=P({type:i,selectors:[["vet-registration-contact"]],inputs:{form:[1,"form"]},decls:1,vars:1,consts:[["vet-container","","gap-s","",3,"formGroup"],["vet-row",""],["self-grow","","formControlName","email","trailingIcon","info","trailingIconTooltip","shared.email_info",3,"topLabelFromThe90s"],[3,"form"]],template:function(t,o){if(t&1&&_(0,ct,5,5,"form",0),t&2){let r;y((r=o.form())?0:-1,r)}},dependencies:[V,z,B,k,N,D,Qe,T,j],styles:["[_nghost-%COMP%]{display:block;max-width:600px}"],changeDetection:0})}}return i})();x();M();ce();M();function pt(i,m){if(i&1&&(s(0,"form",0)(1,"div",1),u(2,"vet-selector",2),l(3,"transloco"),u(4,"vet-input",3),l(5,"transloco"),a(),s(6,"div",1),u(7,"vet-input",4),l(8,"transloco"),u(9,"vet-input",5),l(10,"transloco"),a(),s(11,"div",1),u(12,"vet-input",6),l(13,"transloco"),u(14,"vet-input",7),l(15,"transloco"),a(),s(16,"div",1),u(1
17,"vet-date-picker",8),l(18,"transloco"),u(19,"vet-selector",9),l(20,"transloco"),a()()),i&2){let e=h();p("formGroup",m),n(2),p("label",c(3,11,"auth.citizenship"))("options",e.countriesOptions()),n(2),p("topLabelFromThe90s",c(5,13,"auth.id_or_passport_number")),n(3),p("topLabelFromThe90s",c(8,15,"auth.name")),n(2),p("topLabelFromThe90s",c(10,17,"auth.last_name")),n(3),p("topLabelFromThe90s",c(13,19,"auth.name_english")),n(2),p("topLabelFromThe90s",c(15,21,"auth.last_name_english")),n(3),p("label",c(18,23,"auth.date_of_birth")),n(2),p("label",c(20,25,"auth.gender"))("options",e.gendersOptions())}}var Ze=(()=>{class i{constructor(){this.alert=Z(),this.confirm=fe(),this.isPersonVerified=pe(!1),this.generalForm=F(),this.identityForm=F(),this.countriesOptions=q(()=>De.map(e=>({label:e.name,value:e.code}))),this.gendersOptions=q(()=>Ie.map(e=>({label:e.name,value:e.code}))),this.personVerificationChange=X(),this.destroyRef=w($),K(()=>{let e=this.identityForm();e&&e.valueChanges.pipe(J(()=>this.isPersonVerified()),Q(300),W((t,o)=>t.personalNumber===o.personalNumber&&t.lastName===o.lastName&&t.residential===o.residential&&t.firstName===o.firstName&&t.firstNameEn===o.firstNameEn&&t.lastNameEn===o.lastNameEn&&t.dateOfBirth===o.dateOfBirth&&t.gender===o.gender),I(()=>{this.isPersonVerified.set(!1),this.personVerificationChange.emit(!1),this.generalForm()?.controls?.contact?.value.phoneNumber&&this.generalForm()?.controls?.contact.reset()}),L(this.destroyRef)).subscribe()})}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=P({type:i,selectors:[["vet-registration-identity-foreigner"]],inputs:{isPersonVerified:[1,"isPersonVerified"],generalForm:[1,"generalForm"],identityForm:[1,"identityForm"]},outputs:{isPersonVerified:"isPersonVerifiedChange",personVerificationChange:"personVerificationChange"},decls:1,vars:1,consts:[["vet-container","","gap-s","",3,"formGroup"],["vet-row",""],["self-grow","","formControlName","residential","valueField","value","textField","label",3,"label","options"],["self-grow","","formControlName","personalNumber",3,"topLabelFromThe90s"],["self-grow","","formControlName","firstName",3,"topLabelFromThe90s"],["self-grow","","formControlName","lastName",3,"topLabelFromThe90s"],["self-grow","","formControlName","firstNameEn",3,"topLabelFromThe90s"],["self-grow","","formControlName","lastNameEn",3,"topLabelFromThe90s"],["self-grow","","formControlName","dateOfBirth",3,"label"],["self-grow","","formControlName","gender","valueField","value","textField","label",3,"label","options"]],template:function(t,o){if(t&1&&_(0,pt,21,27,"form",0),t&2){let r;y((r=o.identityForm())?0:-1,r)}},dependencies:[V,z,B,k,N,D,T,j,Le,he],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0})}}return i})();x();M();M();function mt(i,m){if(i&1&&(s(0,"li",9),d(1),l(2,"transloco"),a()),i&2){let e=m.$implicit;n(),b(c(2,1,e))}}function dt(i,m){if(i&1&&(s(0,"li",9),d(1),l(2,"transloco"),a()),i&2){let e=m.$implicit;n(),b(c(2,1,e))}}function ft(i,m){if(i&1&&(s(0,"li",9),d(1),l(2,"transloco"),a()),i&2){let e=m.$implicit;n(),b(c(2,1,e))}}function ht(i,m){if(i&1&&(s(0,"li",9),d(1),l(2,"transloco"),a()),i&2){let e=m.$implicit;n(),b(c(2,1,e))}}function ut(i,m){if(i&1&&(s(0,"div",0)(1,"form",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"h2",5),d(6),l(7,"transloco"),a(),s(8,"div",6)(9,"h3",7),d(10),l(11,"transloco"),a(),s(12,"ul",8),re(13,mt,3,3,"li",9,ne),a()(),s(15,"div",6)(16,"h3",7),d(17),l(18,"transloco"),a(),s(19,"ul",8),re(20,dt,3,3,"li",9,ne),a()(),s(22,"div",6)(23,"h3",7),d(24),l(25,"transloco"),a(),s(26,"ul",8),re(27,ft,3,3,"li",9,ne),a()(),s(29,"div",10)(30,"h3",7),d(31),l(32,"transloco"),a(),s(33,"p",11),d(34),l(35,"transloco"),a()(),s(36,"div",12)(37,"h3",7),d(38),l(39,"transloco"),a(),s(40,"p",13),d(41),l(42,"transloco"),a(),s(43,"ul",14),re(44,ht,3,3,"li",9,ne),a(),s(46,"p",15),d(47),l(48,"transloco"),a(),s(49,"p",15),d(50),l(51,"transloco"),a(),s(52,"div",11)(53,"p",16)(54,"b"),d(55),l(56,"transloco"),a()(),s(57,"p",16)(58,"b"),d(59),l(60,"transloco"),a()(),s(61,"p",16),d(62),l(63,"transloco"),a(),s(64,"p",16),d(65),l(66,"transloco"),a(),s(67,"p"),d(68),l(69,"transloco"),a()()()()(),s(70,"div",17),u(71,"vet-checkbox",18),l(72,"transloco"),a()()()()),i&2){let e=h();n(),p("formGroup",m),n(5),O(" ",c(7,17,"auth.terms_and_conditions_title")," "),n(4),O(" ",c(11,19,"auth.terms_and_conditions_intro")," "),n(3),ae(e.personalDataItems),n(4),O(" ",c(18,21,"auth.processing_purposes_title")," "),n(3),ae(e.processingPurposesItems),n(4),O(" ",c(25,23,"auth.data_sources_title")," "),n(3),ae(e.dataSourcesItems),n(4),O(" ",c(32,25,"auth.legal_basis_title")," "),n(3),O(" ",c(35,27,"auth.legal_basis_text")," "),n(4),O(" ",c(39,29,"auth.your_rights_title")," "),n(3),b(c(42,31,"auth.you_have_rights")),n(3),ae(e.yourRightsItems),n(3),O(" ",c(48,33,"auth.your_rights_legal_note")," "),n(3),O(" ",c(51,35,"auth.your_rights_complaint")," "),n(5),b(c(56,37,"auth.dpo_org")),n(4),b(c(60,39,"auth.dpo_title")),n(3),b(c(63,41,"auth.dpo_name")),n(3),b(c(66,43,"auth.dpo_phone")),n(3),b(c(69,45,"auth.dpo_email")),n(3),p("label",c(72,47,"auth.read_and_understand_rules"))}}var et=(()=>{class i{constructor(){this.form=F(),this.personalDataItems=["auth.personal_data_name_surname","auth.personal_data_id","auth.personal_data_birth_date","auth.personal_data_gender","auth.personal_data_citizenship","auth.personal_data_address","auth.personal_data_phone","auth.personal_data_email"],this.yourRightsItems=["auth.your_rights_information","auth.your_rights_access","auth.your_rights_correction","auth.your_rights_erasure","auth.your_rights_blocking","auth.your_rights_withdraw_consent"],this.processingPurposesItems=["auth.processing_purpose_registration","auth.processing_purpose_citizenship_check","auth.processing_purpose_legal_obligations"],this.dataSourcesItems=["auth.data_source_portal_registration","auth.data_source_state_verification"]}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=P({type:i,selectors:[["vet-registration-terms-and-conditions"]],inputs:{form:[1,"form"]},decls:1,vars:1,consts:[["vet-container","","gap-s",""],[3,"formGroup"],["vet-container","","gap-dense",""],[1,"privacy-notice-container","k-p-4","k-border","k-border-solid","k-border-divider-light","k-rounded-xxl"],[1,"privacy-notice-content"],[1,"k-text-md","k-font-weight-bold","k-color-body-dark","k-mb-4"],[1,"privacy-section","k-mb-4"],[1,"k-text-base","k-font-weight-bold","k-color-body-dark","k-mb-2"],[1,"privacy-list","k-ml-3"],[1,"k-text-base","k-color-body","k-mb-1"],[1,"privacy-section"],[1,"k-text-base","k-color-body","k-line-height-lg"],[1,"privacy-section","k-mt-4"],[1,"k-text-base","k-color-body","k-mb-2"],[1,"privacy-list","k-ml-3","k-mb-4"],[1,"k-text-base","k-color-body","k-line-height-lg","k-mb-4"],[1,"k-mb-1"],["vet-container","","gap-dense","",1,"checkbox-section","k-p-3","k-border","k-border-solid","k-border-divider-light","k-rounded-xxl"],["formControlName","accepted",3,"label"]],template:function(t,o){if(t&1&&_(0,ut,73,49,"div",0),t&2){let r;y((r=o.form())?0:-1,r)}},dependencies:[Te,z,B,k,V,N,D,T,He],styles:['@font-face{font-family:HelveticaNeue;src:url(/assets/fonts/HelveticaNeue-01.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:HelveticaNeue;src:url(/assets/fonts/HelveticaNeue-Medium-11.woff2) format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:HelveticaNeue;src:url(/assets/fonts/HelveticaNeue-Bold-02.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:OpenDyslexic;
1src:url(/assets/fonts/OpenDyslexic-Regular.woff2) format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:OpenDyslexic;src:url(/assets/fonts/OpenDyslexic-Bold.woff2) format("woff2");font-weight:700;font-style:normal;font-display:swap}.font-primary[_ngcontent-%COMP%]{font-family:HelveticaNeue,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important}.font-secondary[_ngcontent-%COMP%]{font-family:BPG Mrgvlovani Caps,HelveticaNeue,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important}.font-system[_ngcontent-%COMP%]{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif!important}.font-mono[_ngcontent-%COMP%]{font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace!important}.text-transform-none[_ngcontent-%COMP%]{text-transform:none!important}[_ngcontent-%COMP%]:root{--vet-content-max-width: 90rem;--vet-container-padding-x: 1.25rem;--vet-container-padding-y: 0;--vet-container-padding-bottom: 9.375rem}@media (max-width: 64rem){[_ngcontent-%COMP%]:root{--vet-container-padding-x: 1rem}}@media (max-width: 48rem){[_ngcontent-%COMP%]:root{--vet-container-padding-x: 1rem}}.vet-layout-wrapper[_ngcontent-%COMP%]{width:100%;background:transparent;padding:0 var(--vet-container-padding-x)}@media (max-width: 64rem){.vet-layout-wrapper[_ngcontent-%COMP%]{--vet-container-padding-x: 1rem}}@media (max-width: 48rem){.vet-layout-wrapper[_ngcontent-%COMP%]{--vet-container-padding-x: 1rem}}.vet-layout-container[_ngcontent-%COMP%]{width:100%;max-width:var(--vet-content-max-width);margin:0 auto}[_ngcontent-%COMP%]:root{--vet-color-surface: #f3f4f7;--vet-color-surface-alt: #f5f7f8;--vet-color-surface-card: #ffffff;--vet-color-surface-overlay: #f2f3f6;--vet-color-surface-footer: #ffffff;--vet-color-text-primary: #292d32;--vet-color-text-secondary: #626262;--vet-color-text-tertiary: #b1b7bb;--vet-color-text-hint: #757575;--vet-color-text-on-primary: #ffffff;--vet-color-text-on-dark: #ffffff;--vet-color-text-dark: #444444;--vet-color-link: #2351c9;--vet-color-link-visited: #2351c9;--vet-color-nav-bg: #4682b4;--vet-color-nav-text: #ffffff;--vet-color-primary: #4CAEE8;--vet-color-primary-hover: #89CAF1;--vet-color-primary-dark: #28a4e3;--vet-color-primary-light: #59acd4;--vet-color-primary-extra-light: #e8f4fd;--vet-color-primary-extra-dark: #0e2b43;--vet-color-secondary: #EAF0FF;--vet-color-tertiary: #e0e0e0;--vet-color-success: #1e9f6f;--vet-color-error: #ee4f64;--vet-color-warning: #ffc107;--vet-color-info: #2196f3;--vet-color-shadow: rgba(0, 0, 0, .1019607843);--vet-color-border: #e8eaf3;--vet-color-border-alt: #ececec;--vet-color-border-light: #d9d9d9;--vet-color-divider: #c8c8c8;--vet-color-divider-light: #e0e0e0;--vet-shadow-sm: 0 1px 4px rgba(0, 0, 0, .1019607843);--vet-shadow-md: 0 2px 8px rgba(0, 0, 0, .1019607843);--vet-shadow-lg: 0 4px 16px rgba(0, 0, 0, .1019607843);--vet-color-button-light: #eaeaea;--vet-color-button-light-contrast: #4682b4;--vet-spacing-xs: .5rem;--vet-spacing-sm: .75rem;--vet-spacing-md: 1rem;--vet-spacing-lg: 1.25rem;--vet-spacing-xl: 1.5rem;--vet-spacing-2xl: 2rem;--vet-radius-sm: .25rem;--vet-radius-md: .625rem;--vet-radius-lg: 1rem;--vet-radius-xl: 1.25rem;--vet-font-size-base: 1rem;--vet-focus-ring: 0 0 0 3px #4CAEE8;--vet-a11y-letter-spacing: normal;--vet-a11y-word-spacing: normal;--vet-a11y-line-height: inherit;--vet-color-overlay-backdrop: rgba(0, 0, 0, .3);--vet-color-isced-01: #E78687;--vet-color-isced-02: #E4B08C;--vet-color-isced-03: #C9E0E4;--vet-color-isced-04: #718098;--vet-color-isced-05: #E5FFED;--vet-color-isced-06: #E3C7C9;--vet-color-isced-07: #E78687;--vet-color-isced-08: #C9E0E4;--vet-color-isced-09: #DBEBFE;--vet-color-isced-10: #718098;--vet-color-program-long-bg: #DBEBFE;--vet-color-program-long-text: #1a4a8a;--vet-color-program-long-border: #c5dcfd;--vet-color-program-short-bg: #FFF1D1;--vet-color-program-short-text: #7a5800;--vet-color-program-short-border: #ffe9b3;--vet-color-program-nf-bg: #E5FFED;--vet-color-program-nf-text: #1a6636;--vet-color-program-nf-border: #ccf5d8;--vet-placeholder-blue-start: #e0f2fe;--vet-placeholder-blue-end: #bae6fd;--vet-placeholder-pink-start: #fce7f3;--vet-placeholder-pink-end: #fbcfe8;--vet-placeholder-green-start: #dcfce7;--vet-placeholder-green-end: #bbf7d0;--vet-placeholder-yellow-start: #fef3c7;--vet-placeholder-yellow-end: #fde68a;--vet-color-service-pink: #FCE4EC;--vet-color-service-purple: #EAE6FF;--vet-color-service-teal: #DFF6FF;--vet-color-warning-bg: #FFEECC;--vet-color-bg-pink: #e3c7c9;--vet-color-bg-blue: #eaf0ff}[_nghost-%COMP%]{display:block}.privacy-notice-container[_ngcontent-%COMP%]{max-height:400px;overflow-y:auto;background-color:var(--vet-color-surface-alt)}@media (max-width: 48rem){.privacy-notice-container[_ngcontent-%COMP%]{max-height:300px;padding:.75rem!important}}.privacy-notice-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.privacy-notice-container[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--vet-color-surface-overlay);border-radius:3px}.privacy-notice-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:var(--vet-color-divider);border-radius:3px}.privacy-notice-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:var(--vet-color-text-tertiary)}@media (max-width: 48rem){.privacy-notice-content[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1rem;margin-bottom:.5rem}}@media (max-width: 48rem){.privacy-notice-content[_ngcontent-%COMP%]   h3[_ngcontent-%COMP%]{font-size:.9rem}}@media (max-width: 48rem){.privacy-notice-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{text-underline-position:from-font;text-decoration-skip-ink:none;font-family:HelveticaNeue,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-weight:400;font-size:.75rem;line-height:.90625rem;margin-bottom:.5rem}.privacy-notice-content[_ngcontent-%COMP%]   pstrong[_ngcontent-%COMP%], .privacy-notice-content[_ngcontent-%COMP%]   pb[_ngcontent-%COMP%], .privacy-notice-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%], .privacy-notice-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   b[_ngcontent-%COMP%]{font-weight:500}}@media (max-width: 48rem){.privacy-section[_ngcontent-%COMP%]{margin-bottom:.5rem}}.privacy-list[_ngcontent-%COMP%]{list-style-type:none;padding-left:0;margin-left:1rem}.privacy-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{position:relative;padding-left:1.2rem;line-height:1.4}@media (max-width: 48rem){.privacy-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{text-underline-position:from-font;text-decoration-skip-ink:none;font-family:HelveticaNeue,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-weight:400;font-size:.75rem;line-height:.90625rem;padding-left:.8rem}.privacy-list[_ngcontent-%COMP%]   listrong[_ngcontent-%COMP%], .privacy-list[_ngcontent-%COMP%]   lib[_ngcontent-%COMP%], .privacy-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%], .privacy-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   b[_ngcontent-%COMP%]{font-weight:500}}.privacy-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:before{content:"-";position:absolute;
1left:0;color:var(--vet-color-text-secondary);font-weight:700}@media (max-width: 48rem){.privacy-list[_ngcontent-%COMP%]{margin-left:.25rem}}@media (max-width: 48rem){.checkbox-section[_ngcontent-%COMP%]{padding:.5rem!important}}'],changeDetection:0})}}return i})();ce();M();function gt(i,m){if(i&1){let e=H();s(0,"vet-registration-citizenship",3),A("resetForm",function(o){E(e);let r=h();return R(r.onResetForm(o))}),a()}if(i&2){let e=h();p("form",e.formGroup.controls.chooseCitizenship)}}function vt(i,m){if(i&1){let e=H();s(0,"vet-registration-identity-citizen",4),A("personVerificationChange",function(o){E(e);let r=h();return R(r.setPersonVerified(o))}),a()}if(i&2){let e=h(),t=_e(0);p("generalForm",e.formGroup)("identityForm",e.formGroup.controls.checkIdentity)("isPersonVerified",t)}}function Ct(i,m){if(i&1){let e=H();s(0,"vet-registration-identity-foreigner",4),A("personVerificationChange",function(o){E(e);let r=h();return R(r.setPersonVerified(o))}),a()}if(i&2){let e=h(),t=_e(0);p("generalForm",e.formGroup)("identityForm",e.formGroup.controls.checkIdentityForeigner)("isPersonVerified",t)}}function _t(i,m){if(i&1&&u(0,"vet-registration-contact",1),i&2){let e=h();p("form",e.formGroup.controls.contact)}}function yt(i,m){if(i&1&&u(0,"vet-registration-terms-and-conditions",1),i&2){let e=h();p("form",e.formGroup.controls.termsAndConditions)}}var Lo=(()=>{class i{constructor(){this.alert=Z(),this.confirm=fe(),this.isSubmitting=G(!1),this.currentStepKey=G("chooseCitizenship"),this.formGroup=this.createFormGroup(),this.citizenship=se(this.formGroup,e=>e.controls.chooseCitizenship.controls.citizenship),this.personVerified=se(this.formGroup,e=>e.controls.isPersonVerified),this.phoneVerificationNumberLength=ge().phoneVerificationNumberLength,this.steps=q(()=>[{key:"chooseCitizenship",label:"auth.citizenship_selection",title:"auth.choose_citizenship",path:"citizenship_selection"},{key:"checkIdentity",label:"auth.id_verification",title:"auth.fill_in_personal_info",path:"id_verification",condition:e=>e.get("chooseCitizenship.citizenship")?.value===this.CitizenshipType.Georgian,nextActions:[{label:"auth.check",action:()=>this.performPersonVerification(),condition:e=>!e.get("isPersonVerified")?.value},{label:"shared.next",condition:e=>!!e.get("isPersonVerified")?.value}]},{key:"checkIdentityForeigner",label:"auth.id_verification",title:"auth.fill_in_personal_info",path:"id_verification",condition:e=>e.get("chooseCitizenship.citizenship")?.value===this.CitizenshipType.Foreigner,nextActions:[{label:"auth.next",action:()=>this.performPersonVerification()}]},{key:"contact",label:"auth.contact_information",title:"auth.enter_contact_information",path:"contact_info",disabled:!this.personVerified()},{key:"termsAndConditions",label:"auth.terms_and_conditions",title:"auth.terms_and_conditions",path:"terms_and_conditions",disabled:!this.personVerified()}]),this.CitizenshipType=ee,this.router=w(Oe),this.registrationService=w(Ue),this.smsService=w(ue),this.emailService=w(qe),this.authenticationService=w(Ke),this.destroyRef=w($),K(()=>{let e=this.currentStepKey(),t=this.steps().find(o=>o.key===e);if(t&&t.path){let o=this.router.url,r=`/registration/${t.path}`;o.includes(t.path)||this.router.navigate([r],{replaceUrl:!0})}})}createFormGroup(){return new Y({isPersonVerified:new g(!1),chooseCitizenship:new Y({citizenship:new g(ee.Georgian,v.required)}),checkIdentity:new Y({lastName:new g(""),firstName:new g(""),personalNumber:new g("",[v.required,je]),dateOfBirth:new g(null,v.required),gender:new g("")}),checkIdentityForeigner:new Y({residential:new g("",v.required),firstName:new g("",[v.required,ye]),lastName:new g("",[v.required,ye]),firstNameEn:new g("",[v.required,be]),lastNameEn:new g("",[v.required,be]),personalNumber:new g("",v.required),dateOfBirth:new g(null,v.required),gender:new g("",v.required)}),contact:new Y({isPhoneVerified:new g(!1,v.requiredTrue),phoneNumber:new g("",[v.required,$e]),phoneVerificationNumber:new g("",[v.required,v.minLength(this.phoneVerificationNumberLength)],[this.phoneVerificationValidator()]),email:new g("",[v.required,v.email],[this.emailUniquenessValidator()])}),termsAndConditions:new Y({accepted:new g(!1,v.requiredTrue)})})}getUserReq(){let e=this.formGroup.controls.chooseCitizenship.controls.citizenship.value===this.CitizenshipType.Foreigner,t=this.formGroup.controls.contact;if(e){let f=this.formGroup.controls.checkIdentityForeigner;return{pid:f.controls.personalNumber.value??"",phone:t.controls.phoneNumber.value??"",sms_code:t.controls.phoneVerificationNumber.value??"",email:t.controls.email.value??"",first_name:f.controls.firstName.value??"",last_name:this.normalizeLastName(f.controls.lastName.value),first_name_en:f.controls.firstNameEn.value??"",last_name_en:f.controls.lastNameEn.value??"",gender:f.controls.gender.value??"",birth_date:f.controls.dateOfBirth.value?me(f.controls.dateOfBirth.value):"",residential:f.controls.residential.value??""}}let o=this.formGroup.controls.checkIdentity;return{pid:o.controls.personalNumber.value??"",phone:t.controls.phoneNumber.value??"",sms_code:t.controls.phoneVerificationNumber.value??"",email:t.controls.email.value??"",first_name:o.controls.firstName.value??"",last_name:this.normalizeLastName(o.controls.lastName.value),gender:
1o.controls.gender.value??"",birth_date:o.controls.dateOfBirth.value?me(o.controls.dateOfBirth.value):"",residential:this.formGroup.controls.chooseCitizenship.controls.citizenship.value??""}}handleSwitchToGeorgianCitizenship(e){this.formGroup.controls.chooseCitizenship.controls.citizenship.setValue(ee.Georgian);let t=this.formGroup.controls.checkIdentity,r=this.formGroup.controls.checkIdentityForeigner.value,f=e.birthDate||r.dateOfBirth;t.controls.personalNumber.setValue(e.pid||r.personalNumber||null),t.controls.lastName.setValue(e.lastName||r.lastName||null),t.controls.firstName.setValue(e.firstName||r.firstName||null),t.controls.dateOfBirth.setValue(Se(f)),t.controls.gender.setValue(e.gender||r.gender||null),this.formGroup.controls.checkIdentityForeigner.reset(),this.setPersonVerified(!0),setTimeout(()=>{this.currentStepKey.set("contact"),this.router.navigate(["/registration/contact_info"])},0)}onSubmitForm(){if(this.isSubmitting())return;this.isSubmitting.set(!0);let e=this.getUserReq();this.registrationService.register(e).pipe(I({next:()=>{this.confirm.success({content:"auth.registration_success_verify_email",showYesNoButtons:!1,singleTypeDialogActionText:"shared.acknowledge",onConfirm:()=>{this.authenticationService.initiateLogin()}})},error:t=>{let o=t?.error?.errors;if(Array.isArray(o))for(let r of o)this.alert.error(r);else this.alert.error("errors.server_error_0")}}),Fe(()=>this.isSubmitting.set(!1)),L(this.destroyRef)).subscribe()}onResetForm(e){this.formGroup.reset(),e?this.formGroup.controls.chooseCitizenship.controls.citizenship.setValue(e):this.currentStepKey.set("chooseCitizenship"),this.formGroup.markAsPristine(),this.formGroup.markAsUntouched(),this.resetStepsFrom("checkIdentity"),this.setPersonVerified(!1),this.formGroup.controls.contact.controls.isPhoneVerified.setValue(!1)}resetStepsFrom(e){let t=this.steps().findIndex(o=>o.key===e);t<=1&&(this.formGroup.controls.checkIdentity.reset(),this.formGroup.controls.checkIdentityForeigner.reset()),t<=2&&this.formGroup.controls.contact.reset(),t<=3&&this.formGroup.controls.termsAndConditions.reset()}setPersonVerified(e){this.formGroup.controls.isPersonVerified.setValue(e)}normalizeLastName(e){return(e??"").replace(/[-‐-‒–—―−﹘﹣-]/g,"-")}performPersonVerification(){let e=this.citizenship()===this.CitizenshipType.Georgian,t=e?this.formGroup.controls.checkIdentity:this.formGroup.controls.checkIdentityForeigner;if(t.markAllAsTouched(),t.invalid)return S(!1);let o=t.value,r=o.dateOfBirth?me(o.dateOfBirth):"",f=e?{pid:o.personalNumber,birth_date:r,residential:"GEO"}:{pid:o.personalNumber,birth_date:r,residential:o.residential};return this.registrationService.validatePerson(f,{}).pipe(Ce(C=>!e&&C.firstName?this.showCitizenshipSwitchConfirm$(C):(e&&(t.controls.firstName.setValue(C.firstName??null,{emitEvent:!1}),t.controls.lastName.setValue(C.lastName??null,{emitEvent:!1}),t.controls.gender.setValue(C.gender??null,{emitEvent:!1})),this.setPersonVerified(!0),S(!0))),le(C=>{this.setPersonVerified(!1);let U=C?.error?.error?.message||"auth.person_validation_failed";return this.alert.show({variant:"warning",text:U}),S(!1)}))}showCitizenshipSwitchConfirm$(e){return new xe(t=>{this.confirm.show({content:"auth.citizenship_auto_update_confirm_content",confirmButtonText:"shared.agree",onConfirm:()=>{this.handleSwitchToGeorgianCitizenship(e),t.next(!0),t.complete()},onDismiss:()=>{this.router.navigate(["/"]),t.next(!1),t.complete()}})})}phoneVerificationValidator(){return e=>{if(this.formGroup.controls.contact.controls.isPhoneVerified.value)return S(null);let t=e.value||"",o=this.phoneVerificationNumberLength;if(t.length!==o)return S(null);let r=e.parent;if(!r)return S(null);let f=r.get("phoneNumber");if(!f?.valid||!f?.value)return S(null);let C=f.value;return this.smsService.validateSms({phone:C,sms_code:t}).pipe(ve(()=>null),le(U=>{let tt=U?.error?.error?.message||U?.error?.message||U?.message||"errors.server_error_0";return S({phoneVerificationInvalid:tt})}))}}emailUniquenessValidator(){return e=>{let t=e.value||"";return!t||e.hasError("email")||e.hasError("required")?S(null):we(500).pipe(Ce(()=>this.emailService.checkEmailUnic({email:t})),ve(o=>o.status===!0?null:{emailTaken:!0}),le(o=>{if(o.error?.error?.message){let r=o.error.error.message;return S({emailTaken:r})}return S(null)}))}}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=P({type:i,selectors:[["vet-registration"]],hostAttrs:[1,"vet-registration"],decls:7,vars:6,consts:[[3,"currentStepCh
1ange","submitForm","steps","currentStep","formGroup","isSubmitting"],[3,"form"],[3,"generalForm","identityForm","isPersonVerified"],[3,"resetForm","form"],[3,"personVerificationChange","generalForm","identityForm","isPersonVerified"]],template:function(t,o){if(t&1){let r=H();Ne(0),s(1,"vet-base-wizard",0),ke("currentStepChange",function(C){return E(r),Me(o.currentStepKey,C)||(o.currentStepKey=C),R(C)}),A("submitForm",function(){return E(r),R(o.onSubmitForm())}),_(2,gt,1,1,"vet-registration-citizenship",1)(3,vt,1,3,"vet-registration-identity-citizen",2)(4,Ct,1,3,"vet-registration-identity-foreigner",2)(5,_t,1,1,"vet-registration-contact",1)(6,yt,1,1,"vet-registration-terms-and-conditions",1),a()}if(t&2){let r;Ve(!!o.personVerified()),n(),p("steps",o.steps()),Pe("currentStep",o.currentStepKey),p("formGroup",o.formGroup)("isSubmitting",o.isSubmitting()),n(),y((r=o.currentStepKey())==="chooseCitizenship"?2:r==="checkIdentity"?3:r==="checkIdentityForeigner"?4:r==="contact"?5:r==="termsAndConditions"?6:-1)}},dependencies:[V,k,N,Ae,Ye,Je,Ze,Xe,et],styles:["[_nghost-%COMP%]{display:block;height:100%}"],changeDetection:0})}}return i})();export{Lo as RegistrationComponent};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.