PageSourceSearch

https://nipt-geneplanet.com/6960.c19b73543a527dcd.js

js nipt-geneplanet.com collected 2026-10-02 22:23:15 UTC 41,828 bytes, 5 lines download raw bytes

1"use strict";
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f6a1f027-88bc-5e14-81b1-b42a6642c91b")}catch(e){}}();
3(self.webpackChunknipt_web=self.webpackChunknipt_web||[]).push([[6960],{6960(me,at,s){s.d(at,{AmbassadorComponent:()=>rt,ArticleDetailsComponent:()=>ot,ArticlesComponent:()=>G,ContactComponent:()=>R,FaqComponent:()=>Z,GeneplanetComponent:()=>tt});var c=s(8137),f=s(7511),it=s(698),st=s(6443),C=s(9452),E=s(6647),S=s(271),Q=s(1318),g=s(5312),D=s(8231),_=s(3608),N=s(4482);const B={"populate[image][fields][0]":"url","populate[image][fields][1]":"alternativeText","populate[seo][fields]":"title,description,keywords","fields[0]":"title","fields[1]":"slug","fields[2]":"content","fields[3]":"toc","fields[4]":"excludeFromLibrary"};let X=(()=>{class e{constructor(){this.http=(0,c.WQX)(it.Qq),this.strapiService=(0,c.WQX)(D.d),this.config=(0,c.WQX)(_.s),this.lastResolved=null,this.articlesResource=(0,st.fx)(()=>({url:`${g.c.strapiUrl}/api/nipt-articles`,params:{locale:this.strapiService.strapiLocale(),status:"production"===g.c.environment?"published":"draft","populate[image][fields][0]":"url","fields[0]":"title","fields[1]":"slug","fields[2]":"excludeFromLibrary","sort[0]":"sortOrder:asc","sort[1]":"id:asc","pagination[pageSize]":"25"}}),{parse:n=>(n?.data??[]).filter(r=>!0!==r.excludeFromLibrary).map(r=>this.normalizeArticle(r)),defaultValue:null}),this.articles=(0,f.EW)(()=>this.articlesResource.error()?[]:this.articlesResource.value()??[])}resolveArticle(n,o){return this.fetchBySlug(n,o).pipe((0,E.n)(r=>r?(this.rememberResolved(r.documentId,n),(0,C.of)(r)):this.resolveAcrossLocales(n,o)))}resolveAcrossLocales(n,o){const r=this.lastResolved?.requestSlug===n?this.lastResolved.documentId:null;return r?this.fetchByDocumentId(r,o).pipe((0,E.n)(i=>i?(this.rememberResolved(i.documentId,n),(0,C.of)(i)):this.resolveViaSiblingLocales(n,o))):this.resolveViaSiblingLocales(n,o)}resolveViaSiblingLocales(n,o){const r=this.siblingStrapiLocales(o);return this.findDocumentIdBySlug(n,r).pipe((0,E.n)(i=>i?this.fetchByDocumentId(i,o).pipe((0,S.T)(p=>(p&&this.rememberResolved(p.documentId,n),p))):(0,C.of)(null)))}rememberResolved(n,o){this.lastResolved={documentId:n,requestSlug:o}}siblingStrapiLocales(n){const o=this.config.configOptionInstant("languages")??[],r=new Set;for(const{language:i}of o){const p=this.strapiService.toStrapiLocale(i);p&&p!==n&&r.add(p)}for(const i of["pl","en"])i!==n&&r.add(i);return[...r]}findDocumentIdBySlug(n,o){if(!o.length)return(0,C.of)(null);const[r,...i]=o;return this.fetchBySlug(n,r,!1).pipe((0,E.n)(p=>p?.documentId?(0,C.of)(p.documentId):this.findDocumentIdBySlug(n,i)))}fetchBySlug(n,o,r=!0){return this.http.get(`${g.c.strapiUrl}/api/nipt-articles`,{params:{"filters[slug][$eq]":n,locale:o,status:this.contentStatus(),...r?B:{"fields[0]":"slug","fields[1]":"documentId"}}}).pipe((0,S.T)(i=>{const p=i?.data?.[0]??null;return p?this.normalizeArticle(p):null}),(0,Q.W)(()=>(0,C.of)(null)))}fetchByDocumentId(n,o){return this.http.get(`${g.c.strapiUrl}/api/nipt-articles/${n}`,{params:{locale:o,status:this.contentStatus(),...B}}).pipe((0,S.T)(r=>{const i=r?.data??null;return i?this.normalizeArticle(i):null}),(0,Q.W)(()=>(0,C.of)(null)))}contentStatus(){return"production"===g.c.environment?"published":"draft"}normalizeArticle(n){return{...n,image:n.image?{...n.image,url:(0,N.oK)(n.image.url,g.c.strapiUrl)}:null}}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275prov=c.jDH({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var lt=s(8827),A=s(9838),t=s(4436);const ct=(e,a)=>a.slug;function pt(e,a){1&e&&t.nrm(0,"app-library-block",3),2&e&&t.Y8G("data",a.$implicit)}let G=(()=>{class e{constructor(){this.niptArticlesService=(0,c.WQX)(X),this.articleBlocks=(0,f.EW)(()=>this.niptArticlesService.articles().map(n=>({thumbnail:n.image?.url,"title-i18n":n.title,slug:n.slug,link:`/info/articles/${n.slug}`})))}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["app-articles"]],decls:7,vars:3,consts:[[1,"container"],[1,"h1-extrabold","gpy-32","gpy-md-48","gpy-lg-80"],[1,"d-flex","flex-column","flex-md-row","flex-wrap","justify-content-start","column-gap-24"],[3,"data"]],template:function(o,r){1&o&&(t.j41(0,"div",0)(1,"h1",1),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",2),t.Z7z(5,pt,1,1,"app-library-block",3,ct),t.k0s()()),2&o&&(t.R
37$(2),t.SpI(" ",t.bMT(3,1,"INFO.ARTICLES.PAGE_TITLE")," "),t.R7$(3),t.Dyx(r.articleBlocks()))},dependencies:[lt.w,A.D9],encapsulation:2})}}return e})();var mt=s(4398),dt=s(7580),l=s(4456),x=s(9478),w=s(6127),ut=s(7092),z=s(7203);const gt={rs:[{property:"title",content:"Kontakt | NIFTY\u2122 test"},{name:"description",property:"description",content:"Na\u0161 tim za podr\u0161ku je tu da objasni sve \u0161to vas zanima o prenatalnom testu NIFTY. Mi smo ekskluzivni zastupnik NIFTY testa za Srbiju i Crnu Goru."},{property:"og:title",content:"Kontakt | NIFTY\u2122 test"},{property:"og:description",content:"Na\u0161 tim za podr\u0161ku je tu da objasni sve \u0161to vas zanima o prenatalnom testu NIFTY. Mi smo ekskluzivni zastupnik NIFTY testa za Srbiju i Crnu Goru."},{property:"keywords",content:"Kada se radi Nifty test"},{property:"og:url",content:"https://nipt-geneplanet.com/rs/informacije/kontakt"},{property:"og:image",content:"https://nipt-geneplanet.com/assets/images/home_header/[email protected]"},{property:"og:type",content:"website"},{property:"og:locale",content:"sr_RS"}]};var k=s(7933),U=s(9080),y=s(8418),V=s(407),ht=s(3318),I=s(5192),O=s(357),W=s(1465),H=s(8285),Y=s(8078),J=s(9584),d=s(2402);const ft=["Aguascalientes","Baja California","Baja California Sur","Campeche","Chiapas","Chihuahua","Coahuila de Zaragoza","Colima","Durango","Estado de M\xe9xico","Guanajuato","Guerrero","Hidalgo","Jalisco","Michoac\xe1n","Morelos","Nayarit","Nuevo Le\xf3n","Oaxaca","Puebla","Quer\xe9taro","Quintana Roo","San Luis Potos\xed","Sinaloa","Sonora","Tabasco","Tamaulipas","Tlaxcala","Veracruz","Yucat\xe1n","Zacatecas"],Ct=["terms"],Tt=e=>({tags:e}),bt=()=>({length:500});function It(e,a){if(1&e&&(t.j41(0,"span",31),t.EFF(1),t.k0s()),2&e){const n=t.XpG(2).$implicit;t.R7$(),t.SpI(" ",n.LABEL," ")}}function Mt(e,a){if(1&e&&(t.j41(0,"span",32),t.EFF(1),t.k0s()),2&e){const n=t.XpG(2).$implicit;t.R7$(),t.SpI(" ",n.NAME," ")}}function At(e,a){if(1&e&&(t.j41(0,"div",26),t.nrm(1,"i",28),t.j41(2,"p",29)(3,"a",30),t.EFF(4),t.k0s()(),t.nVh(5,It,2,1,"span",31),t.nVh(6,Mt,2,1,"span",32),t.k0s()),2&e){const n=t.XpG(),o=n.$implicit,r=n.$index,i=n.$count,p=t.XpG(2).$implicit;t.AVh("gmb-24",p.EMAIL||r!==i-1),t.R7$(3),t.Y8G("href","tel:"+o.NUMBER,t.B4B),t.R7$(),t.SpI(" ",o.NUMBER," "),t.R7$(),t.vxM(o.LABEL?5:-1),t.R7$(),t.vxM(o.NAME?6:-1)}}function vt(e,a){1&e&&t.nVh(0,At,7,6,"div",27),2&e&&t.vxM(a.$implicit.NUMBER?0:-1)}function Et(e,a){if(1&e&&(t.j41(0,"div",26),t.nrm(1,"i",33),t.j41(2,"p",34)(3,"a",35),t.EFF(4),t.k0s()()()),2&e){const n=t.XpG(2).$implicit;t.R7$(3),t.Y8G("href","mailto:"+n.EMAIL,t.B4B),t.R7$(),t.SpI(" ",n.EMAIL," ")}}function St(e,a){if(1&e&&(t.j41(0,"div",20)(1,"address",21)(2,"div",22),t.nrm(3,"i",23),t.j41(4,"p",24),t.nrm(5,"a",25),t.k0s()(),t.Z7z(6,vt,1,1,null,null,t.fX1),t.nVh(8,Et,5,2,"div",26),t.k0s()()),2&e){const n=t.XpG().$implicit;t.R7$(5),t.Y8G("innerHTML",n.LOCATION,t.npT),t.R7$(),t.Dyx(n.PHONE),t.R7$(2),t.vxM(n.EMAIL?8:-1)}}function xt(e,a){1&e&&t.nVh(0,St,9,2,"div",20),2&e&&t.vxM(a.$implicit.LOCATION?0:-1)}function Ot(e,a){1&e&&(t.j41(0,"div",0)(1,"h2",18),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"p",19),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.Z7z(7,xt,1,1,null,null,t.fX1),t.nI1(9,"translateArray"),t.k0s()),2&e&&(t.R7$(2),t.SpI(" ",t.bMT(3,2,"CONTACT.INFO.TITLE")," "),t.R7$(3),t.SpI(" ",t.bMT(6,4,"CONTACT.INFO.SUBTITLE")," "),t.R7$(2),t.Dyx(t.bMT(9,6,"CONTACT.INFO.CARDS")))}function Rt(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"CONTACT.IS_REQUIRED")," "))}function _t(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"CONTACT.IS_REQUIRED")," "))}function Nt(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"CONTACT.INVALID_EMAIL")," "))}function kt(e,a){if(1&e&&(t.j41(0,"gpu-option",9),t.EFF(1),t.k0s()),2&e){const n=a.$implicit;t.Y8G("value",n.phoneCode),t.R7$(),t.SpI(" ",n.phoneCode," ")}}function yt(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"CONTACT.IS_REQUIRED")," "))}function Ft(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"CONTACT.IS_REQUIRED")," "))}function Pt(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"CONTACT.INVALID_PHONE")," "))}function $t(e,a){if(1&e&&(t.j41(0,"gpu-option",9),t.EFF(1),t.k0s()),2&e){const n=a.$implicit;t.Y8G("value",n.name),t.BMQ("aria-label",n.name),t.R7$(),t.SpI(" ",n.name," ")}}function Lt(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"CONTACT.IS_REQUIRED")," "))}function jt(e,a){if(1&e&&(t.j41(0,"gpu-form-field",3)(1,"gpu-label"),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"gpu-filterable-select",8),t.nI1(5,"translate"),t.nI1(6,"translate"),t.Z7z(7,$t,2,3,"gpu-
3option",9,t.fX1),t.k0s(),t.qAN(),t.nVh(9,Lt,3,3,"gpu-error"),t.k0s()),2&e){const n=t.XpG();t.R7$(2),t.JRh(t.bMT(3,5,"CONTACT.COUNTRY")),t.R7$(2),t.Y8G("placeholder",t.bMT(5,7,"CONTACT.COUNTRY"))("formControl",n.form.get("country")),t.BMQ("aria-label",t.bMT(6,9,"CONTACT.COUNTRY")),t.QXe(),t.R7$(3),t.Dyx(n.countries),t.R7$(2),t.vxM(n.form.get("country").errors?.required?9:-1)}}function Qt(e,a){if(1&e&&(t.j41(0,"gpu-option",9),t.EFF(1),t.k0s()),2&e){const n=a.$implicit;t.Y8G("value",n),t.BMQ("aria-label",n),t.R7$(),t.SpI(" ",n," ")}}function Dt(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"CONTACT.IS_REQUIRED")," "))}function Bt(e,a){if(1&e&&(t.j41(0,"gpu-form-field",3)(1,"gpu-label",36),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"gpu-filterable-select",37),t.nI1(5,"translate"),t.nI1(6,"translate"),t.Z7z(7,Qt,2,3,"gpu-option",9,t.fX1),t.k0s(),t.qAN(),t.nVh(9,Dt,3,3,"gpu-error"),t.k0s()),2&e){const n=t.XpG();t.R7$(2),t.JRh(t.bMT(3,5,"CONTACT.STATE")),t.R7$(2),t.Y8G("placeholder",t.bMT(5,7,"CONTACT.STATE"))("formControl",n.form.get("state")),t.BMQ("aria-label",t.bMT(6,9,"CONTACT.STATE")),t.QXe(),t.R7$(3),t.Dyx(n.mxStates),t.R7$(2),t.vxM(n.form.get("state").errors?.required?9:-1)}}function Xt(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"CONTACT.IS_REQUIRED")," "))}function Gt(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.i5U(2,1,"CONTACT.MAX_LENGTH",t.lJ4(4,bt))," "))}let R=class j{constructor(){this.analytics=(0,c.WQX)(U.f),this.builder=(0,c.WQX)(l.ze),this.contentService=(0,c.WQX)(y.f),this.config=(0,c.WQX)(_.s),this.locRout=(0,c.WQX)(x.QG),this.countryService=(0,c.WQX)(V.o),this.lang=(0,c.WQX)(ht.g),this.sendinblue=(0,c.WQX)(H.T),this.toastService=(0,c.WQX)(I.PO),this.translate=(0,c.WQX)(A.c$),this.termsEltRef=(0,dt.ebz)("terms"),this.success=!1,this.error=!1,this.expandedContact=!1,this.stateField=!1,this.termsInfoParams={linkTermsStart:`<a href="https://geneplanet.com/${this.config.gpLanguage()}/terms-and-conditions/" target="_blank">`,linkPolicyStart:`<a href="${this.locRout.translateRoute("/legal/privacy-policy")}" target="_blank">`,linkEnd:"</a>"},this.subscription=new ut.yU,this.data=(0,c.vPA)(void 0),this.mxStates=ft,this.countries=this.countryService.getCountries(),this.countriesByPhoneCode=this.countries.slice().sort((n,o)=>n.phoneCode>o.phoneCode?1:-1),this.expandedContact=this.config.configOptionInstant("expandedContact"),this.stateField=this.config.configOptionInstant("contactStateField"),this.contentService.getPageContents("info","contact",this.config.language).pipe((0,w.s)(this)).subscribe(n=>this.data.set(n))}get isFormValid(){return this.form.touched&&!this.form.invalid}ngOnInit(){this.setMeta(),this.initializeForm(),this.prefillCountryInfo()}initializeForm(){this.form=this.builder.group({name:["",l.k0.compose([l.k0.required])],email:["",l.k0.compose([l.k0.required,l.k0.email,l.k0.pattern(k.GX)])],code:[null,l.k0.required],phone:["",l.k0.compose([l.k0.required,l.k0.pattern(k.iC)])],country:[null,l.k0.required],message:["",l.k0.compose([l.k0.required,l.k0.maxLength(500)])],terms:[null],...this.stateField&&{state:["",l.k0.required]}})}prefillCountryInfo(){const a=this.countryService.getCountry();a||console.error("undefined country code ",this.config.language),a&&this.form.patchValue({code:a.phoneCode,country:a.name})}submitContactform(){const{email:a,name:n,message:o,country:r,code:i,phone:p,state:u}=this.form.value,m=this.countryService?.getCountry();this.sendinblue.sendForm([{name:"FIRSTNAME",value:n},{name:"EMAIL",value:a},{name:"TELEPHONE_NUMBER",value:i+p},{name:"ADDITIONAL_COMMENTS",value:o},{name:"USER_COUNTRY_NIPT",value:r},{name:"GP_STATE",value:u},{name:"GP_COUNTRY",value:m?.name||"Global"}],g.c.contact.sendinblueForm).pipe((0,z.$)()).subscribe({next:()=>{this.analytics.trackFormSubmition(W.H.FormSubmitionSuccess,O.P.ContactUs,O.w.ContactUs),this.form.reset();const v=this.translate.instant("CONTACT.SUCCESS");return this.toastService.show({text:v},I.We.Success)},error:()=>{const v=this.translate.instant("CONTACT.FAILED");return this.toastService.show({text:v},I.We.Success)}})}setMeta(){const a=this.lang.lang;this.metaData=gt?.[a]||[]}static{this.\u0275fac=function(n){return new(n||j)}}static{this.\u0275cmp=t.VBU({type:j,selectors:[["app-contact"]],viewQuery:function(n,o){1&n&&t.wEZ(o.termsEltRef,Ct,5),2&n&&t.NyB()},hostAttrs:["ngSkipHydration","true"],decls:64,vars:75,consts:[[1,"container","contact-container","gpy-48","gpy-md-96"],[1,"h4-extrabold"],["
3id","nipt_contact_us_general",3,"formGroup"],[1,"gmt-40"],["id","name","name","name","type","text","gpuInput","",3,"placeholder","formControl"],["id","email","name","email","type","text","gpuInput","",3,"placeholder","formControl"],[1,"row"],[1,"col-md-4","gmt-40","pe-4","pe-md-1"],[3,"placeholder","formControl"],[3,"value"],[1,"col-md-8","gmt-40","ps-4","ps-md-1"],["id","phone","name","phone","type","text","gpuInput","",3,"placeholder","formControl"],["id","message","name","message","gpuInput","",3,"placeholder","formControl"],[1,"gmt-32","gmb-32","text-start"],[1,"p5-regular","text-muted",3,"innerHtml"],[1,"d-block","text-end"],["type","button",1,"gbtn-1","gbtn-sq","b2-semibold","order-lg-1","gm-24","gm-lg-0",3,"click","disabled"],[3,"data"],[1,"h2-extrabold","text-secondary","gmb-24"],[1,"p3-regular","text-secondary","gmb-48"],[1,"contact-card","border-radius","d-flex","flex-column","flex-md-row","gp-24","gp-lg-32","gpx-lg-40","gmb-32"],[1,"d-flex","flex-column","gmb-0"],[1,"d-flex","flex-row","align-items-center","gmb-24"],[1,"gpicon-pin","gm-4"],[1,"border-radius","gml-20","gml-md-24","gmb-0","flex-grow-1","gpx-8","gpy-4"],[1,"text-secondary","p4-regular",3,"innerHTML"],[1,"d-flex","flex-row","align-items-center"],[1,"d-flex","flex-row","align-items-center",3,"gmb-24"],[1,"gpicon-phone","gm-4"],[1,"border-radius","gml-20","gml-md-24","gmb-0","gpx-4","gpy-4","d-flex","align-items"],[1,"text-secondary","p4-regular","text-nowrap",3,"href"],[1,"l2-semibold","text-muted","text-uppercase","contact-phone-label","gpx-8","gpy-2","gml-12"],[1,"gml-6","p4-regular","text-secondary","gml-12"],[1,"gpicon-email","gm-4"],[1,"border-radius","gml-20","gml-md-24","gmb-0","gpx-4","gpy-4"],[1,"text-secondary","p4-regular",3,"href"],["for","state"],["id","state",3,"placeholder","formControl"]],template:function(n,o){1&n&&(t.nVh(0,Ot,10,8,"div",0),t.j41(1,"div",0)(2,"h4",1),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"form",2)(6,"gpu-form-field",3)(7,"gpu-label"),t.EFF(8),t.nI1(9,"translate"),t.k0s(),t.nrm(10,"input",4),t.nI1(11,"translate"),t.nI1(12,"translate"),t.qAN(),t.nVh(13,Rt,3,3,"gpu-error"),t.k0s(),t.j41(14,"gpu-form-field",3)(15,"gpu-label"),t.EFF(16),t.nI1(17,"translate"),t.k0s(),t.nrm(18,"input",5),t.nI1(19,"translate"),t.nI1(20,"translate"),t.qAN(),t.nVh(21,_t,3,3,"gpu-error"),t.nVh(22,Nt,3,3,"gpu-error"),t.k0s(),t.j41(23,"div",6)(24,"div",7)(25,"gpu-form-field")(26,"gpu-label"),t.EFF(27),t.nI1(28,"translate"),t.k0s(),t.j41(29,"gpu-filterable-select",8),t.nI1(30,"translate"),t.nI1(31,"translate"),t.Z7z(32,kt,2,2,"gpu-option",9,t.fX1),t.k0s(),t.qAN(),t.nVh(34,yt,3,3,"gpu-error"),t.k0s()(),t.j41(35,"div",10)(36,"gpu-form-field")(37,"gpu-label"),t.EFF(38),t.nI1(39,"translate"),t.k0s(),t.nrm(40,"input",11),t.nI1(41,"translate"),t.nI1(42,"translate"),t.qAN(),t.nVh(43,Ft,3,3,"gpu-error"),t.nVh(44,Pt,3,3,"gpu-error"),t.k0s()()(),t.nVh(45,jt,10,11,"gpu-form-field",3)(46,Bt,10,11,"gpu-form-field",3),t.j41(47,"gpu-form-field",3)(48,"gpu-label"),t.EFF(49),t.nI1(50,"translate"),t.k0s(),t.nrm(51,"textarea",12),t.nI1(52,"translate"),t.nI1(53,"translate"),t.qAN(),t.nVh(54,Xt,3,3,"gpu-error"),t.nVh(55,Gt,3,5,"gpu-error"),t.k0s(),t.j41(56,"div",13),t.nrm(57,"span",14),t.nI1(58,"translate"),t.k0s(),t.j41(59,"div",15)(60,"button",16),t.bIt("click",function(){return o.submitContactform()}),t.EFF(61),t.nI1(62,"translate"),t.k0s()()()(),t.nrm(63,"app-meta-tags",17)),2&n&&(t.vxM(o.expandedContact?0:-1),t.R7$(3),t.SpI(" ",t.bMT(4,36,"CONTACT.TITLE")," "),t.R7$(2),t.Y8G("formGroup",o.form),t.R7$(3),t.JRh(t.bMT(9,38,"CONTACT.NAME")),t.R7$(2),t.Y8G("placeholder",t.bMT(11,40,"CONTACT.NAME"))("formControl",o.form.get("name")),t.BMQ("aria-label",t.bMT(12,42,"CONTACT.NAME")),t.QXe(),t.R7$(3),t.vxM(o.form.get("name").errors?.required?13:-1),t.R7$(3),t.JRh(t.bMT(17,44,"CONTACT.EMAIL")),t.R7$(2),t.Y8G("placeholder",t.bMT(19,46,"CONTACT.EMAIL"))("formControl",o.form.get("email")),t.BMQ("aria-label",t.bMT(20,48,"CONTACT.EMAIL")),t.QXe(),t.R7$(3),t.vxM(o.form.get("email").errors?.required?21:-1),t.R7$(),t.vxM(o.form.get("email").errors?.email||o.form.get("email").errors?.pattern?22:-1),t.R7$(5),t.JRh(t.bMT(28,50,"CONTACT.CODE")),t.R7$(2),t.Y8G("placeholder",t.bMT(30,52,"CONTACT.CODE"))("formControl",o.form.get("code")),t.BMQ("aria-label",t.bMT(31,54,"CONTACT.CODE")),t.QXe(),t.R7$(3),t.Dyx(o.countriesByPhoneCode),t.R7$(2),t.vxM(o.form.get("code").errors?.required?34:-1),t.R7$(4),t.JRh(t.bMT(39,56,"CONTACT.PHONE")),t.R7$(2),t.Y8G("placeholder",t.bMT(41,58,"CONTACT.PHONE"))("formControl",o.form.get("phone")),t.BMQ("aria-label",t.bMT(42,60,"CONTACT.PHONE")),t.QXe(),t.R7$(3),t.vxM(o.form.get("phone").errors?.required?43:-1),t.R7$(),t.vxM(o.form.get("phone").errors?.pattern?44:-1),t.R7$(),t.vxM(o.stateField?46:45),t.R7$(4),t.JRh(t.bMT(50,62,"CONTACT.MESSAGE")),t.R7$(2),t.Y8G("placeholder",t.bMT(52,64,"CONTACT.MESSAGE"))("formControl",o.form.get("message")),t.BMQ("aria-label",t.bMT(53,66,"CONTACT.MESSAGE")),t.QXe(),t.R7$(3),t.vxM(o.form.get("message").errors?.required?54:-1),t.R7$(),t.vxM(o.form.get("message").errors?.maxlength?55:-1),t.R7$(2),t.Y8G("innerHtml",t.i5U(58,68,"CONTACT.TERMS",o.termsInfoParams),t.npT),t.R7$(3),t.Y8G("disabled",!o.isFormValid||o.success),t.R7$(),t.SpI(" ",t.bMT(62,71,"CONTACT.SEND")," "),t.R7$(2),t.Y8G("data",t.eq3(73,Tt,o.metaData)))}
3,dependencies:[l.X1,l.qT,l.me,l.BC,l.cb,l.l_,l.j4,d.Vg,d.QR,d.xR,d.Kr,d.un,d._E,d.az,J.u,Y.Vd,A.D9,Y.uB],styles:[".contact-container[_ngcontent-%COMP%]{max-width:552px}.full-width[_ngcontent-%COMP%]{background-color:#fafbff}.contact-card[_ngcontent-%COMP%]{box-shadow:0 10px 20px 5px #4e5f7c1a}.contact-card[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:#bfbfbf}.contact-card[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:hover{background:#f5f7ff}.contact-phone-label[_ngcontent-%COMP%]{border:1px solid #e5e5ea;border-radius:4px;background:#fff}"]})}};R=(0,mt.Cg)([(0,w.d)()],R);var F=s(2055),P=s(3184),K=s(9748),q=s(7563);let Z=(()=>{class e{constructor(){this.contentService=(0,c.WQX)(y.f),this.router=(0,c.WQX)(F.Ix),this.localize=(0,c.WQX)(x.QG),this.data=this.contentService.getPageContent("info","faq")}onComponentEvent({event:n,data:o}){switch(n){case P.O.Email:case P.O.Support:return this.router.navigate([this.localize.translateRoute("/info/contact")]);case P.O.Navigate:const r=o.link?[this.localize.translateRoute(o.link)]:[],i={...o.link?{}:{replaceUrl:!0},...o.anchor?{fragment:o.anchor}:{}};return this.router.navigate(r,i);default:console.error("Unknown action handler triggered: "+n)}}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["app-faq"]],decls:3,vars:3,consts:[[1,"container"],[3,"action","components"]],template:function(o,r){1&o&&(t.j41(0,"div",0)(1,"app-content-block-loader",1),t.nI1(2,"async"),t.bIt("action",function(p){return r.onComponentEvent(p)}
3),t.k0s()()),2&o&&(t.R7$(),t.Y8G("components",t.bMT(2,1,r.data)?.components))},dependencies:[q.r,K.Jj],encapsulation:2})}}return e})(),tt=(()=>{class e{constructor(){this.contentService=(0,c.WQX)(y.f),this.data=this.contentService.getPageContent("info","geneplanet")}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["app-geneplanet"]],decls:3,vars:3,consts:[[1,"container"],[3,"components"]],template:function(o,r){1&o&&(t.j41(0,"div",0),t.nrm(1,"app-content-block-loader",1),t.nI1(2,"async"),t.k0s()),2&o&&(t.R7$(),t.Y8G("components",t.bMT(2,1,r.data)?.components))},dependencies:[q.r,K.Jj],encapsulation:2})}}return e})();var wt=s(436),et=s(9074),zt=s(8764),$=s(2993),Ut=s(6223);let Vt=(()=>{class e{constructor(){this.location=(0,c.WQX)(Ut.aZ)}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["app-back-button-bar"]],decls:6,vars:0,consts:[["id","back-btn",1,"back-button-container"],[1,"back-button","w-100","bg-white","d-flex","align-items-center"],[1,"container"],[1,"back-button-content","text-muted"],[1,"d-none","d-lg-block","gpicon-back-fat","cursor-pointer",3,"click"],[1,"d-block","d-lg-none","gpicon-left-chevron","gpicon-md","cursor-pointer",3,"click"]],template:function(o,r){1&o&&(t.rj2(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"i",4),t.VwU("click",function(){return r.location.back()}),t.eux(),t.rj2(5,"i",5),t.VwU("click",function(){return r.location.back()}),t.eux()()()()())},encapsulation:2})}}return e})();var Wt=s(8555),Ht=s(6969);const Yt=/^\/{0,2}#/;function nt(e){const a=e?.trim().split("#")[1];if(!a)return null;try{return decodeURIComponent(a)}catch{return a}}let Kt=(()=>{class e{constructor(){this.scrolling=(0,c.WQX)(Ht.X),this.host=(0,c.WQX)(t.aKT)}onClick(n){if(n.defaultPrevented||0!==n.button||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey)return;const o=n.target;if(!(o instanceof Element))return;const r=o.closest("a[href]");if(!(r instanceof HTMLAnchorElement)||r.hasAttribute("download"))return;const i=nt(r.getAttribute("href")),p=i?document.getElementById(i):null;!p||!this.host.nativeElement.contains(p)||(n.preventDefault(),this.scrolling.scrollToId(i))}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275dir=t.FsC({type:e,selectors:[["","appCmsAnchor",""]],hostBindings:function(o,r){1&o&&t.bIt("click",function(p){return r.onClick(p)})}})}}return e})();const qt=e=>({"title-i18n":"IN THIS ARTICLE",links:e,backToTop:!0});function Zt(e,a){1&e&&(t.j41(0,"div",2)(1,"gpu-loading-spinner-wrapper",3),t.nrm(2,"gpu-loading-spinner",4),t.k0s()())}function te(e,a){if(1&e&&t.nrm(0,"img",5),2&e){const n=t.XpG(2);t.Y8G("src",n.imageUrl(),t.B4B)("alt",n.article().image.alternativeText??n.article().title)}}function ee(e,a){1&e&&t.nrm(0,"app-article-table-of-contents",8),2&e&&t.Y8G("data",t.eq3(1,qt,a))}
3function ne(e,a){if(1&e&&(t.nVh(0,te,1,2,"img",5),t.j41(1,"h1",6),t.EFF(2),t.k0s(),t.nrm(3,"div",7),t.nVh(4,ee,1,3,"app-article-table-of-contents",8),t.nrm(5,"div",7)),2&e){let n;const o=t.XpG();t.vxM(o.imageUrl()?0:-1),t.R7$(2),t.SpI(" ",o.article().title," "),t.R7$(),t.Y8G("innerHTML",o.safeIntroContent(),t.npT),t.R7$(),t.vxM((n=o.article().toc&&o.tocLinks())?4:-1,n),t.R7$(),t.Y8G("innerHTML",o.safeBodyContent(),t.npT)}}let ot=(()=>{class e{constructor(){this.route=(0,c.WQX)(F.nX),this.router=(0,c.WQX)(F.Ix),this.localize=(0,c.WQX)(x.QG),this.strapiService=(0,c.WQX)(D.d),this.articlesService=(0,c.WQX)(X),this.sanitizer=(0,c.WQX)(wt.up),this.slug=(0,et.ot)(this.route.paramMap.pipe((0,S.T)(n=>n.get("slug")))),this.articleResource=(0,et.ZX)({params:()=>({slug:this.slug(),locale:this.strapiService.strapiLocale()}),stream:({params:n})=>{const{slug:o,locale:r}=n;return o&&r?this.articlesService.resolveArticle(o,r).pipe((0,zt.M)(i=>{i?i.slug!==o&&this.replaceArticleSlug(i.slug):this.router.navigate(["/404"],{replaceUrl:!0})})):(0,C.of)(null)},defaultValue:null}),this.article=this.articleResource.value,this.isLoading=this.articleResource.isLoading,this.parsedContent=(0,f.EW)(()=>{const n=this.article()?.content;if(!n)return null;const{introHtml:o,bodyHtml:r,toc:i}=this.processCmsHtml(n,this.articlePath());return{introHtml:this.sanitizer.bypassSecurityTrustHtml(o),bodyHtml:this.sanitizer.bypassSecurityTrustHtml(r),toc:i}}),this.safeIntroContent=(0,f.EW)(()=>this.parsedContent()?.introHtml??null),this.safeBodyContent=(0,f.EW)(()=>this.parsedContent()?.bodyHtml??null),this.tocLinks=(0,f.EW)(()=>{const n=this.parsedContent()?.toc??[];return n.length>=2?n:null}),this.imageUrl=(0,f.EW)(()=>(0,N.oK)(this.article()?.image?.url,g.c.strapiUrl)),this.metaTags=(0,f.EW)(()=>{const n=this.article();if(!n)return[];const o=n.seo,r=o?.metaTitle||o?.title||n.title,i=o?.metaDescription||o?.description,p=o?.keywords,u=(0,N.oK)(n.image?.url,g.c.strapiUrl),m=[{property:"title",content:r},{property:"og:title",content:r},{property:"og:type",content:"article"}];return i&&m.push({name:"description",content:i},{property:"og:description",content:i}),p&&m.push({name:"keywords",content:p}),u&&m.push({property:"og:image",content:u}),m})}replaceArticleSlug(n){const o=this.localize.translateRoute(`/info/articles/${n}`);this.router.navigateByUrl(o,{replaceUrl:!0})}articlePath(){const n=this.article()?.slug??this.slug();return this.localize.translateRoute(`/info/articles/${n}`)}processCmsHtml(n,o){const r=(new DOMParser).parseFromString(n,"text/html");r.querySelectorAll("figure.table tr").forEach(h=>{const M=h.querySelectorAll("td, th");Array.from(M).every(T=>!T.textContent?.trim())&&M.length>0&&h.remove()}),r.querySelectorAll("p").forEach(h=>{h.classList.add("p4-regular","text-secondary")});const i=[],p=new Map;r.querySelectorAll("h2, h3, h4, h5").forEach(h=>{const M=h.textContent?.trim()??"";if(!M)return;let T=h.getAttribute("id")?.trim()||M.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\w\s-]/g,"").trim().replace(/\s+/g,"-");const L=p.get(T)??0;p.set(T,L+1),L>0&&(T=`${T}-${L}`),h.id=T,i.push({text:M,link:T,secondary:"H2"!==h.tagName})});const u=this.filterTocEntries(i);!function Jt(e,a){const n=a.split("?")[0].split("#")[0]||"/";e.querySelectorAll("a[href]").forEach(o=>{const r=o.getAttribute("href")?.trim();if(!r)return;const i=nt(r);i&&(!Yt.test(r)&&!e.getElementById(i)||(o.setAttribute("href",`${n}#${i}`),o.removeAttribute("target")))})}(r,o);const m=r.body.firstElementChild,b=m?.outerHTML??"";return m?.remove(),{introHtml:b,bodyHtml:r.body.innerHTML,toc:u}}filterTocEntries(n){const r=[];let i=null,p=[];const u=()=>{i&&(r.push(i),p.length<=5&&r.push(...p),i=null,p=[])};for(const m of n)m.secondary?i?p.push(m):r.push(m):(u(),i=m);return u(),r}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["app-article-details"]],decls:5,vars:2,consts:[[3,"tags"],["appCmsAnchor","",1,"article-details-components","container","narrow","d-flex","flex-column"],[1,"container","h-100"],[1,"gpy-96"],[1,"gmt-72"],[1,"article-image",3,"src","alt"],[1,"h2-extrabold","gpt-48","gmb-24"],[3,"innerHTML"],[1,"gmb-24",3,"data"]],template:function(o,r){1&o&&(t.nrm(0,"app-meta-tags",0)(1,"app-back-button-bar"),t.j41(2,"div",1),t.nVh(3,Zt,3,0,"div",2)(4,ne,6,5),t.k0s()),2&o&&(t.Y8G("tags",r.metaTags()),t.R7$(3),t.vxM(r.isLoading()?3:r.article()?4:-1))},dependencies:[$.ru,$.RD,$.On,Vt,Wt.j,J.u,Kt],styles:[".article-image[_ngcontent-%COMP%]{width:100%;height:auto;border-radius:.5rem;margin-top:2rem}.container.narrow[_ngcontent-%COMP%]{max-width:47rem;margin:0 auto;padding:0 1rem}@media(min-width:576px){.container.narrow[_ngcontent-%COMP%]{padding:0}}[_nghost-%COMP%]     h6, [_nghost-%COMP%]     .h6, [_nghost-%COMP%]     h5, [_nghost-%COMP%]     .h5, [_nghost-%COMP%]     h4, [_nghost-%COMP%]     .h4, [_nghost-%COMP%]     h3, [_nghost-%COMP%]     .h3, [_nghost-%COMP%]     h2, [_nghost-%COMP%]     .h2, [_nghost-%COMP%]     h1, [_nghost-%COMP%]     .h1{padding-top:3rem;padding-bottom:1.5rem;margin:0}[_nghost-%COMP%]     p{padding-bottom:24px;margin-bottom:0}[_nghost-%COMP%]     img{max-width:100%;height:auto}[_nghost-%COMP%]     .h1-extrabold-temp{font-size:40px;font-weight:800;line-height:120%;letter-spacing:-1px}[_nghost-%COMP%]     .h2-extrabold-temp{font-size:32px;font-weight:800;line-height:125%;letter-spacing:-.5px}[_nghost-%COMP%]     .h3-extrabold-temp{font-size:26px;font-weight:800;line-height:130%;letter-spacing:-.25px}[_nghost-%COMP%]     .h4-bold-temp{font-size:24px;font-weight:700;line-height:130%;letter-spacing:-.25px}[_nghost-%COMP%]     .h5-bold-temp{font-size:20px;font-weight:700;line-height:140%;letter-spacing:-.15px}[_nghost-%COMP%]     .h6-bold-temp{font-size:17px;font-weight:700;line-height:140%;letter-spacing:-.1px}
3[_nghost-%COMP%]     p:not([class*=p1-]):not([class*=p2-]):not([class*=p3-]):not([class*=p4-]):not([class*=p5-]), [_nghost-%COMP%]     li, [_nghost-%COMP%]     td{font-size:15px!important;font-weight:400!important;line-height:24px!important;color:#616680}@media screen and (max-width:1919px){[_nghost-%COMP%]     p:not([class*=p1-]):not([class*=p2-]):not([class*=p3-]):not([class*=p4-]):not([class*=p5-]), [_nghost-%COMP%]     li, [_nghost-%COMP%]     td{font-size:13px!important}}@media screen and (max-width:1919px){[_nghost-%COMP%]     .h1-extrabold-temp{font-size:32px!important}[_nghost-%COMP%]     .h2-extrabold-temp{font-size:26px!important}[_nghost-%COMP%]     .h3-extrabold-temp{font-size:22px!important}[_nghost-%COMP%]     .h4-bold-temp{font-size:20px!important}[_nghost-%COMP%]     .h5-bold-temp{font-size:17px!important}[_nghost-%COMP%]     .h6-bold-temp{font-size:15px!important}}[_nghost-%COMP%]     table{padding-bottom:1.5rem;table-layout:auto;width:100%;table-layout:fixed}[_nghost-%COMP%]     table th, [_nghost-%COMP%]     table td{padding:.5rem;vertical-align:top;border:1px solid #dee2e6;word-break:break-word;color:#616680}[_nghost-%COMP%]     table th{font-size:15px!important;font-weight:600!important;line-height:24px!important}@media screen and (max-width:1919px){[_nghost-%COMP%]     table th{font-size:13px!important}}[_nghost-%COMP%]     figure.table table{border-collapse:separate;border-spacing:.75rem 0;border:none;margin-left:-.75rem;width:calc(100% + 1.5rem);table-layout:fixed}[_nghost-%COMP%]     figure.table table td{border:none;padding:1rem 1.25rem;text-align:center;vertical-align:middle;word-break:normal}[_nghost-%COMP%]     figure.table table td:first-child{text-align:left;padding-left:0;background:transparent;border-bottom:1px solid #e5e5ea}[_nghost-%COMP%]     figure.table table td:not(:first-child){background:#fff;border-left:1px solid #e5e5ea;border-right:1px solid #e5e5ea;border-bottom:1px solid #e5e5ea}[_nghost-%COMP%]     figure.table table tr:first-child td:first-child{color:#00b9bb;font-weight:700;text-transform:uppercase;font-size:13px;border-top:none;vertical-align:bottom}[_nghost-%COMP%]     figure.table table tr:first-child td:not(:first-child){font-weight:700;color:#2c3355;border-top:1px solid #e5e5ea;border-top-left-radius:1rem;border-top-right-radius:1rem;vertical-align:bottom}[_nghost-%COMP%]     figure.table table tr:last-child td:first-child{color:#00b9bb;font-weight:700;border-bottom:none}[_nghost-%COMP%]     figure.table table tr:last-child td:not(:first-child){color:#00b9bb;font-weight:700;border-bottom-left-radius:1rem;border-bottom-right-radius:1rem}@media(max-width:767.98px){[_nghost-%COMP%]     ul{padding-left:30px}[_nghost-%COMP%]     table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}[_nghost-%COMP%]     figure.table{overflow-x:auto;-webkit-overflow-scrolling:touch}[_nghost-%COMP%]     figure.table table{display:table;min-width:480px}[_nghost-%COMP%]     figure.table table td:first-child{position:sticky;left:0;z-index:1;background:#fff;box-shadow:4px 0 6px -2px #0000001a}}@media only screen and (max-width:479px){[_nghost-%COMP%]     table th, [_nghost-%COMP%]     table td{padding:4px}[_nghost-%COMP%]     ul{padding-left:20px}}[_nghost-%COMP%]     .cky-audit-table-element .cky-table-wrapper{padding-bottom:1.5rem;margin-bottom:0}[_nghost-%COMP%]     .cky-audit-table-element .cky-table-wrapper table{table-layout:auto}[_nghost-%COMP%]     .cky-audit-table-element .cky-table-wrapper table th{word-break:keep-all}[_nghost-%COMP%]     .cky-audit-table-element .cky-table-wrapper table td{word-wrap:break-word}[_nghost-%COMP%]     .cky-audit-table-element .cky-table-wrapper table th, [_nghost-%COMP%]     .cky-audit-table-element .cky-table-wrapper table td{padding:.5rem;vertical-align:top;border:1px solid #dee2e6;color:#616680;background-color:unset}[_nghost-%COMP%]     .cky-audit-table-element h3{font-size:26px;font-weight:800;line-height:130%;letter-spacing:-.25px;padding-top:3rem;padding-bottom:1.5rem;margin:0}@media screen and (max-width:1919px){[_nghost-%COMP%]     .cky-audit-table-element h3{font-size:22px!important}}[_nghost-%COMP%]     .cky-audit-table-element p{font-size:15px!important;font-weight:400!important;line-height:24px!important;padding-bottom:24px}@media screen and (max-width:1919px){[_nghost-%COMP%]     .cky-audit-table-element p{font-size:13px!important}}"]})}}return e})();function oe(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"PATIENT.TESTIMONIALS.CONTACT.REQUIRED")," "))}function re(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"PATIENT.TESTIMONIALS.CONTACT.REQUIRED")," "))}function ae(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"PATIENT.TESTIMONIALS.CONTACT.REQUIRED")," "))}function ie(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"PATIENT.TESTIMONIALS.CONTACT.REQUIRED")," "))}function se(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"PATIENT.TESTIMONIALS.CONTACT.REQUIRED")," "))}function le(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"CONTACT.INVALID_EMAIL")," "))}function ce(e,a){1&e&&(t.j41(0,"gpu-error"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&e&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"PATIENT.TESTIMONIALS.CONTACT.REQUIRED")," "))}let rt=(()=>{class e{constructor(){this.builder=(0,c.WQX)(l.ze),this.locRoute=(0,c.WQX)(x.QG),this.config=(0,c.WQX)(_.s),this.sendinblue=(0,c.WQX)(H.T),this.toastService=(0,c.WQX)(I.PO),this.translate=(0,c.WQX)(A.c$),this.analytics=(0,c.WQX)(U.f),this.countryService=(0,c.WQX)(V.o),this.termsInfoParams={linkTermsStart:`<a href="https://geneplanet.com/${this.config.gpLanguage()}/terms-and-conditions/" target="_blank">`,linkPolicyStart:`<a href="${this.locRoute.translateRoute("/legal/privacy-policy")}" target="_blank">`,linkEnd:"</a>"},this.hasMessenger=!!this.config.configOptionInstant("consultations"),this.initializeForm()}initializeForm(){this.form=this.builder.group({name:["",l.k0.compose([l.k0.required])],platform:["",l.k0.compose([l.k0.required])],handle:["",l.k0.compose([l.k0.required])],link:["",l.k0.compose([l.k0.required])],email:["",l.k0.compose([l.k0.required,l.k0.email,l.k0.pattern(k.GX)])],message:["",l.k0.compose([l.k0.required,l.k0.maxLength(200)])]})}submit(){const{name:n,platform:o,handle:r,link:i,email:p,message:u}=this.form.value,m=[{name:"FIRSTNAME",value:n},{name:"NIPT_AMBASSADOR_SM_PLATFORM",value:o},{name:"NIPT_AMBASSADOR_SM_PROFILE_NAME",value:r},{name:"NIPT_AMBASSADOR_SM_PROFILE_LINK",value:i},{name:"EMAIL",value:p},{name:"NIPT_AMBASSADOR_MESSAGE",value:u},{name:"GP_COUNTRY",value:this.countryService.getCountry().name}];this.sendinblue.sendForm(m,g.c.contact.ambassadorForm).pipe((0,z.$)()).subscribe({next:()=>{this.analytics.trackFormSubmition(W.H.AmbassadorSubmit,O.P.AmbassadorContact,O.w.Testimonial),this.form.reset();const b=this.translate.instant("CONTACT.SUCCESS");return this.toastService.show({text:b},I.We.Success)},error:()=>{const b=this.translate.instant("CONTACT.FAILED");return this.toastService.show({text:b},I.We.Success)}})}static{this.\u0275fac=function(o){return new(o||e)}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["app-ambassador"]],decls:58,vars:66,consts:[[1,"container","ambassador-container","gmt-lg-64"],[1,"h4-bold","gmt-24","gmb-0"],[1,"gmt-32"],["id","name","name","name","type","text","gpuInput","",3,"placeholder","formControl"],["id","platform","name","platform","type","text","gpuInput","",3,"placeholder","formControl"],[3,"static"],["id","handle","name","handle","type","text","gpuInput","",3,"placeholder","formControl"],["id","link","name","link","type","text","gpuInput","",3,"placeholder","formControl"],["id","email","name","email","type","text","gpuInput","",3,"placeholder","formControl"],["id","message","name","message","gpuInput","",3,"placeholder","formControl"],[1,"gmt-32","gmb-32","text-center"],[1,"p5-regular","text-muted",3,"innerHtml"],[1,"d-flex","justify-content-center","justify-content-md-end"],["type","button",1,"gbtn-1","gbtn-sq","b2-semibold","flex-grow-1","flex-md-grow-0",3,"click","disabled"]],template:function(o,r){1&o&&(t.j41(0,"div",0)(1,"h2",1),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"form")(5,"gpu-form-field",2)(6,"gpu-label"),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.nrm(9,"input",3),t.nI1(10,"translate"),t.qAN(),t.nVh(11,oe,3,3,"gpu-error"),t.k0s(),t.j41(12,"gpu-form-field",2)(13,"gpu-label"),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.nrm(16,"input",4),t.nI1(17,"translate"),t.qAN(),t.nVh(18,re,3,3,"gpu-error"),t.j41(19,"gpu-hint",5),t.EFF(20),t.nI1(21,"translate"),t.k0s()(),t.j41(22,"gpu-form-field",2)(23,"gpu-label"),t.EFF(24),t.nI1(25,"translate"),t.k0s(),t.nrm(26,"input",6),t.nI1(27,"translate"),t.qAN(),t.nVh(28,ae,3,3,"gpu-error"),t.k0s(),t.j41(29,"gpu-form-field",2)(30,"gpu-label"),t.EFF(31),t.nI1(32,"translate"),t.k0s(),t.nrm(33,"input",7),t.nI1(34,"translate"),t.qAN(),t.nVh(35,ie,3,3,"gpu-error"),t.k0s(),t.j41(36,"gpu-form-field",2)(37,"gpu-label"),t.EFF(38),t.nI1(39,"translate"),t.k0s(),t.nrm(40,"input",8),t.nI1(41,"translate"),t.qAN(),t.nVh(42,se,3,3,"gpu-error"),t.nVh(43,le,3,3,"gpu-error"),t.k0s(),t.j41(44,"gpu-form-field",2)(45,"gpu-label"),t.EFF(46),t.nI1(47,"translate"),t.k0s(),t.nrm(48,"textarea",9),t.nI1(49,"translate"),t.qAN(),t.nVh(50,ce,3,3,"gpu-error"),t.k0s(),t.j41(51,"div",10),t.nrm(52,"span",11),t.nI1(53,"translate"),t.k0s(),t.j41(54,"div",12)(55,"button",13),t.bIt("click",function(){return r.submit()}),t.EFF(56),t.nI1(57,"translate"),t.k0s()()()()),2&o&&(t.AVh("gmt-72",r.hasMessenger),t.R7$(2),t.SpI(" ",t.bMT(3,33,"PATIENT.TESTIMONIALS.CONTACT.TITLE")," "),t.R7$(5),t.JRh(t.bMT(8,35,"PATIENT.TESTIMONIALS.CONTACT.NAME_SURNAME")),t.R7$(2),t.Y8G("placeholder",t.bMT(10,37,"PATIENT.TESTIMONIALS.CONTACT.NAME_SURNAME"))("formControl",r.form.get("name")),t.QXe(),t.R7$(2),t.vxM(r.form.get("name").errors?.required?11:-1),t.R7$(3),t.JRh(t.bMT(15,39,"PATIENT.TESTIMONIALS.CONTACT.PLATFORM")),t.R7$(2),t.Y8G("placeholder",t.bMT(17,41,"PATIENT.TESTIMONIALS.CONTACT.PLATFORM"))("formControl",r.form.get("platform")),t.QXe(),t.R7$(2),t.vxM(r.form.get("platform").errors?.required?18:-1),t.R7$(),t.Y8G("static",!0),t.R7$(),t.SpI(" ",t.bMT(21,43,"PATIENT.TESTIMONIALS.CONTACT.PLATFORMS")," "),t.R7$(4),t.JRh(t.bMT(25,45,"PATIENT.TESTIMONIALS.CONTACT.HANDLE")),t.R7$(2),t.Y8G("placeholder",t.bMT(27,47,"PATIENT.TESTIMONIALS.CONTACT.HANDLE"))("formControl",r.form.get("handle")),t.QXe(),t.R7$(2),t.vxM(r.form.get("handle").errors?.required?28:-1),t.R7$(3),t.JRh(t.bMT(32,49,"PATIENT.TESTIMONIALS.CONTACT.LINK")),t.R7$(2),t.Y8G("placeholder",t.bMT(34,51,"PATIENT.TESTIMONIALS.CONTACT.LINK"))("formControl",r.form.get("link")),t.QXe(),t.R7$(2),t.vxM(r.form.get("link").errors?.required?35:-1),t.R7$(3),t.JRh(t.bMT(39,53,"PATIENT.TESTIMONIALS.CONTACT.EMAIL")),t.R7$(2),t.Y8G("placeholder",t.bMT(41,55,"PATIENT.TESTIMONIALS.CONTACT.EMAIL"))("formControl",r.form.get("email")),t.QXe(),t.R7$(2),t.vxM(r.form.get("email").errors?.required?42:-1),t.R7$(),t.vxM(r.form.get("email").errors?.email||r.form.get("email").errors?.pattern?43:-1),t.R7$(3),t.JRh(t.bMT(47,57,"PATIENT.TESTIMONIALS.CONTACT.MESSAGE")),t.R7$(2),t.Y8G("placeholder",t.bMT(49,59,"PATIENT.TESTIMONIALS.CONTACT.MESSAGE"))("formControl",r.form.get("message")),t.QXe(),t.R7$(2),t.vxM(r.form.get("message").errors?.required?50:-1),t.R7$(2),t.Y8G("innerHtml",t.i5U(53,61,"CONTACT.TERMS",r.termsInfoParams),t.npT),t.R7$(3),t.Y8G("disabled",!r.form.touched||r.form.invali
3d),t.R7$(),t.SpI(" ",t.bMT(57,64,"PATIENT.TESTIMONIALS.CONTACT.SUBMIT")," "))},dependencies:[l.X1,l.qT,l.me,l.BC,l.cb,l.l_,d.Vg,d.QR,d.un,d.Nu,d._E,d.az,A.D9],styles:[".ambassador-container[_ngcontent-%COMP%]{max-width:552px}"]})}}return e})()}}]);
4
5//# debugId=f6a1f027-88bc-5e14-81b1-b42a6642c91b

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.