1import{a as F}from"./chunk-RRXJVK7C.js";import{a as $}from"./chunk-HC53AHAH.js";import"./chunk-CPIBYCJJ.js";import"./chunk-ELVB5QRB.js";import{a as U}from"./chunk-7SMKZ47P.js";import"./chunk-E3FA2N6S.js";import"./chunk-W3YEQLUI.js";import{sa as y,ta as L}from"./chunk-YKCNQZRN.js";import"./chunk-KJEE2APK.js";import{Ya as b}from"./chunk-D3RUXUV7.js";import{F as l,l as T}from"./chunk-RCGDZEAT.js";import{H as R}from"./chunk-6OCVMNAK.js";import"./chunk-SCUE42K6.js";import{$a as r,Ab as i,Bb as s,Cb as P,Db as a,E,Eb as c,Kb as p,N as M,Pb as f,Yb as h,Z as g,Zb as S,_c as v,ab as _,dc as I,ec as N,ka as O,kb as u,o as C,rb as m,vb as d,xc as A}from"./chunk-O6NBGXUP.js";function V(n,x){n&1&&(i(0,"smm-success"),a(1,6),p(2,0),c(),i(3,"div",7)(4,"p"),p(5,1),s()()());}function D(n,x){if(n&1&&(i(0,"smm-error"),a(1,6),h(2),c(),s()),n&2){let t=f();r(2),S(t.error.message);}}var Z=(()=>{class n{constructor(t,e,o){this.localeId=t,this.repo=e,this.route=o,this.submitted=!1,this.submitting=!1,this.result=null,this.CONTRAINT_ENQUIRY_MAXLEN=1e3,this.CONTRAINT_NAME_MAXLEN=100,this.CONTRAINT_COMPANY_MAXLEN=100,this.CONTRAINT_TELEPHONE_MAXLEN=100,this.CONTRAINT_STATE_MAXLEN=100,this.CONTRAINT_COUNTRY_MAXLEN=100,this.TIPO_SECTOR=T.TIPO_PARTNER,this.feature={h1:"Register to access the private area",h3:"Exclusively for distributors, technical services and designers.",content:"<p>In our private area you will find all the technical documentation for Sammic machines. Additionally, if you are a distributor you will be able to place your orders, check your invoices, register warnings and more advantages.</p> <p class=\"font-bold\">Subject to review and approval process by our team.</p> ",image:'<p><img src="/uploads/Secciones/Nueva-web_16_9.jpg" alt="" width="360" height="269" /></p>'},this.verifyUC=new b(this.repo);}ngOnInit(){this.params=this.route.snapshot.queryParamMap;let t={id:this.params.get("u")||"<NOID>",hash:this.params.get("h")||"<NOHASH>",locale:this.localeId};this.submitting=!0,this.verifyUC.execute(t).pipe(M(()=>this.submitting=!1),g(e=>{this.result=e;}),E(e=>{switch(e.status){case 400:this.error=new Error("The activation link is not valid");break;default:this.error=new Error("Communication error");}return C(null);})).subscribe();}static{this.ɵfac=function(e){return new(e||n)(_(A),_(l),_(R));};}static{this.ɵcmp=O({type:n,selectors:[["smm-register"]],standalone:!0,features:[I([{provide:l,useClass:F}]),N],decls:6,vars:4,consts:()=>{let t;t="Email successfully verified";let e;return e="We will now proceed to review your registration as soon as possible. Once approved, you will receive a new email with instructions on how to access the portal.",[t,e,[3,"hasHero"],["content",""],[1,"flex","flex-col","gap-y-16","-mt-8","md:-mt-16"],[3,"bloque"],["title",""],["body",""]];},template:function(e,o){e&1&&(i(0,"smm-tpl-estandar",2),a(1,3),i(2,"section",4),P(3,"smm-bloque-feature-full",5),u(4,V,6,0,"smm-success")(5,D,3,1,"smm-error"),s(),c(),s()),e&2&&(m("hasHero",!1),r(3),m("bloque",o.feature),r(),d(o.result?4:-1),r(),d(o.error?5:-1));},dependencies:[v,U,$,L,y],styles:[".selected[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] .smm-link-discreet[_ngcontent-%COMP%]:hover, .selected[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .smm-link-discreet[_ngcontent-%COMP%]:hover{--tw-text-opacity: 1;color:rgb(223 163 172 / var(--tw-text-opacity, 1))}.selected[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] .smm-link-discreet-svg-fill[_ngcontent-%COMP%] path[_ngcontent-%COMP%], .selected[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] .smm-link-discreet-svg-fill[_ngcontent-%COMP%] polygon[_ngcontent-%COMP%], .selected[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .smm-link-discreet-svg-fill[_ngcontent-%COMP%] path[_ngcontent-%COMP%], .selected[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .smm-link-discreet-svg-fill[_ngcontent-%COMP%] polygon[_ngcontent-%COMP%]{fill:#fff}.selected[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] .smm-link-discreet-svg-fill[_ngcontent-%COMP%]:hover path[_ngcontent-%COMP%], .selected[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] .smm-link-discreet-svg-fill[_ngcontent-%COMP%]:hover polygon[_ngcontent-%COMP%], .selected[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .smm-link-discreet-svg-fill[_ngcontent-%COMP%]:hover path[_ngcontent-%COMP%], .selected[_ngcontent-%COMP%] p[_ngcontent-%COMP%] .smm-link-discreet-svg-fill[_ngcontent-%COMP%]:hover polygon[_ngcontent-%COMP%]{fill:#dfa3ac}.selected[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .selected[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}"]});}}return n;})();export{Z as VerifyEmailComponent};/**i18n:5a810631932d440f62ba334f107b7a556ef1afe98a26b1cd55cf17e6261a06c8*/
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.