import{Ba as K,Ca as ae,H as ne,Ia as ce,O as se,Ra as Y,Td as le,Ud as he,X as J,Yd as ue,c as re,ga as oe,oa as T,p as z,sa as E,v as k,va as y,wa as w,xa as u,ya as ie,zb as de}from"./chunk-O7RN3KYY.js";import{a as N}from"./chunk-ZE2KCNEA.js";N();var v=class r{headers;normalizedNames=new Map;lazyInit;lazyUpdate=null;constructor(e){e?typeof e=="string"?this.lazyInit=()=>{this.headers=new Map,e.split(` `).forEach(t=>{let n=t.indexOf(":");if(n>0){let s=t.slice(0,n),o=t.slice(n+1).trim();this.addHeaderEntry(s,o)}})}:typeof Headers<"u"&&e instanceof Headers?(this.headers=new Map,e.forEach((t,n)=>{this.addHeaderEntry(n,t)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach(([t,n])=>{this.setHeaderEntries(t,n)})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();let t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof r?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){let t=new r;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof r?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){let t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if(typeof n=="string"&&(n=[n]),n.length===0)return;this.maybeSetNormalizedName(e.name,t);let s=(e.op==="a"?this.headers.get(t):void 0)||[];s.push(...n),this.headers.set(t,s);break;case"d":let o=e.value;if(!o)this.headers.delete(t),this.normalizedNames.delete(t);else{let i=this.headers.get(t);if(!i)return;i=i.filter(l=>o.indexOf(l)===-1),i.length===0?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,i)}break}}addHeaderEntry(e,t){let n=e.toLowerCase();this.maybeSetNormalizedName(e,n),this.headers.has(n)?this.headers.get(n).push(t):this.headers.set(n,[t])}setHeaderEntries(e,t){let n=(Array.isArray(t)?t:[t]).map(o=>o.toString()),s=e.toLowerCase();this.headers.set(s,n),this.maybeSetNormalizedName(e,s)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}};var q=class{defaultValue;constructor(e){this.defaultValue=e}},B=class{map=new Map;set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}},G=class{encodeKey(e){return fe(e)}encodeValue(e){return fe(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}};function De(r,e){let t=new Map;return r.length>0&&r.replace(/^\?/,"").split("&").forEach(s=>{let o=s.indexOf("="),[i,l]=o==-1?[e.decodeKey(s),""]:[e.decodeKey(s.slice(0,o)),e.decodeValue(s.slice(o+1))],a=t.get(i)||[];a.push(l),t.set(i,a)}),t}var ke=/%(\d[a-f0-9])/gi,Se={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function fe(r){return encodeURIComponent(r).replace(ke,(e,t)=>Se[t]??e)}function j(r){return`${r}`}var m=class r{map;encoder;updates=null;cloneFrom=null;constructor(e={}){if(this.encoder=e.encoder||new G,e.fromString){if(e.fromObject)throw new T(2805,!1);this.map=De(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{let n=e.fromObject[t],s=Array.isArray(n)?n.map(j):[j(n)];this.map.set(t,s)})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();let t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){let t=[];return Object.keys(e).forEach(n=>{let s=e[n];Array.isArray(s)?s.forEach(o=>{t.push({param:n,value:o,op:"a"})}):t.push({param:n,value:s,op:"a"})}),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{let t=this.encoder.encodeKey(e);return this.map.get(e).map(n=>t+"="+this.encoder.encodeValue(n)).join("&")}).filter(e=>e!=="").join("&")}clone(e){let t=new r({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){this.map===null&&(this.map=new Map),this.cloneFrom!==null&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":let t=(e.op==="a"?this.map.get(e.param):void 0)||[];t.push(j(e.value)),this.map.set(e.param,t);break;case"d":if(e.value!==void 0){let n=this.map.get(e.param)||[],s=n.indexOf(j(e.value));s!==-1&&n.splice(s,1),n.length>0?this.map.set(e.param,n):this.map.delete(e.param)}else{this.map.delete(e.param);break}}}),this.cloneFrom=this.updates=null)}};function Fe(r){switch(r){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}function pe(r){return typeof ArrayBuffer<"u"&&r instanceof ArrayBuffer}function ye(r){return typeof Blob<"u"&&r instanceof Blob}function me(r){return typeof FormData<"u"&&r instanceof FormData}function Le(r){return typeof URLSearchParams<"u"&&r instanceof URLSearchParams}var ge="Content-Type",Te="Accept",we="text/plain",ve="application/json",Ce=`${ve}, ${we}, */*`,M=class r{url;body=null;headers;context;reportProgress=!1;withCredentials=!1;credentials;keepalive=!1;cache;priority;mode;redirect;referrer;integrity;referrerPolicy;responseType="json";method;params;urlWithParams;transferCache;timeout;constructor(e,t,n,s){this.url=t,this.method=e.toUpperCase();let o;if(Fe(this.method)||s?(this.body=n!==void 0?n:null,o=s):o=n,o){if(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,this.keepalive=!!o.keepalive,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),o.priority&&(this.priority=o.priority),o.cache&&(this.cache=o.cache),o.credentials&&(this.credentials=o.credentials),typeof o.timeout=="number"){if(o.timeout<1||!Number.isInteger(o.timeout))throw new T(2822,"");this.timeout=o.timeout}o.mode&&(this.mode=o.mode),o.redirect&&(this.redirect=o.redirect),o.integrity&&(this.integrity=o.integrity),o.referrer!==void 0&&(this.referrer=o.referrer),o.referrerPolicy&&(this.referrerPolicy=o.referrerPolicy),this.transferCache=o.transferCache}if(this.headers??=new v,this.context??=new B,!this.params)this.params=new m,this.urlWithParams=t;else{let i=this.params.toString();if(i.length===0)this.urlWithParams=t;else{let l=t.indexOf("?"),a=l===-1?"?":lD.set(R,e.setHeaders[R]),x)),e.setParams&&(h=Object.keys(e.setParams).reduce((D,R)=>D.set(R,e.setParams[R]),h)),new r(t,n,c,{params:h,headers:x,context:I,reportProgress:p,responseType:s,withCredentials:d,transferCache:C,keepalive:o,cache:l,priority:i,timeout:U,mode:a,redirect:f,credentials:F,referrer:b,integrity:_,referrerPolicy:L})}},P=(function(r){return r[r.Sent=0]="Sent",r[r.UploadProgress=1]="UploadProgress",r[r.ResponseHeader=2]="ResponseHeader",r[r.DownloadProgress=3]="DownloadProgress",r[r.Response=4]="Response",r[r.User=5]="User",r})(P||{}),A=class{headers;status;statusText;url;ok;type;redirected;responseType;constructor(e,t=200,n="OK"){this.headers=e.headers||new v,this.status=e.status!==void 0?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.redirected=e.redirected,this.responseType=e.responseType,this.ok=this.status>=200&&this.status<300}},V=class r extends A{constructor(e={}){super(e)}type=P.ResponseHeader;clone(e={}){return new r({headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}},S=class r extends A{body;constructor(e={}){super(e),this.body=e.body!==void 0?e.body:null}type=P.Response;clone(e={}){return new r({body:e.body!==void 0?e.body:this.body,headers:e.headers||this.headers,status:e.status!==void 0?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0,redirected:e.redirected??this.redirected,responseType:e.responseType??this.responseType})}},O=class extends A{name="HttpErrorResponse";message;error;ok=!1;constructor(e){super(e,0,"Unknown Error"),this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}},Ue=200,je=204;var Be=new y("");var Ge=/^\)\]\}',?\n/;var Z=(()=>{class r{xhrFactory;tracingService=u(de,{optional:!0});constructor(t){this.xhrFactory=t}maybePropagateTrace(t){return this.tracingService?.propagate?this.tracingService.propagate(t):t}handle(t){if(t.method==="JSONP")throw new T(-2800,!1);let n=this.xhrFactory;return z(null).pipe(oe(()=>new re(o=>{let i=n.build();if(i.open(t.method,t.urlWithParams),t.withCredentials&&(i.withCredentials=!0),t.headers.forEach((c,d)=>i.setRequestHeader(c,d.join(","))),t.headers.has(Te)||i.setRequestHeader(Te,Ce),!t.headers.has(ge)){let c=t.detectContentTypeHeader();c!==null&&i.setRequestHeader(ge,c)}if(t.timeout&&(i.timeout=t.timeout),t.responseType){let c=t.responseType.toLowerCase();i.responseType=c!=="json"?c:"text"}let l=t.serializeBody(),a=null,f=()=>{if(a!==null)return a;let c=i.statusText||"OK",d=new v(i.getAllResponseHeaders()),p=i.responseURL||t.url;return a=new V({headers:d,status:i.status,statusText:c,url:p}),a},F=this.maybePropagateTrace(()=>{let{headers:c,status:d,statusText:p,url:x}=f(),h=null;d!==je&&(h=typeof i.response>"u"?i.responseText:i.response),d===0&&(d=h?Ue:0);let I=d>=200&&d<300;if(t.responseType==="json"&&typeof h=="string"){let D=h;h=h.replace(Ge,"");try{h=h!==""?JSON.parse(h):null}catch(R){h=D,I&&(I=!1,h={error:R,text:h})}}I?(o.next(new S({body:h,headers:c,status:d,statusText:p,url:x||void 0})),o.complete()):o.error(new O({error:h,headers:c,status:d,statusText:p,url:x||void 0}))}),b=this.maybePropagateTrace(c=>{let{url:d}=f(),p=new O({error:c,status:i.status||0,statusText:i.statusText||"Unknown Error",url:d||void 0});o.error(p)}),_=b;t.timeout&&(_=this.maybePropagateTrace(c=>{let{url:d}=f(),p=new O({error:new DOMException("Request timed out","TimeoutError"),status:i.status||0,statusText:i.statusText||"Request timeout",url:d||void 0});o.error(p)}));let L=!1,C=this.maybePropagateTrace(c=>{L||(o.next(f()),L=!0);let d={type:P.DownloadProgress,loaded:c.loaded};c.lengthComputable&&(d.total=c.total),t.responseType==="text"&&i.responseText&&(d.partialText=i.responseText),o.next(d)}),U=this.maybePropagateTrace(c=>{let d={type:P.UploadProgress,loaded:c.loaded};c.lengthComputable&&(d.total=c.total),o.next(d)});return i.addEventListener("load",F),i.addEventListener("error",b),i.addEventListener("timeout",_),i.addEventListener("abort",b),t.reportProgress&&(i.addEventListener("progress",C),l!==null&&i.upload&&i.upload.addEventListener("progress",U)),i.send(l),o.next({type:P.Sent}),()=>{i.removeEventListener("error",b),i.removeEventListener("abort",b),i.removeEventListener("load",F),i.removeEventListener("timeout",_),t.reportProgress&&(i.removeEventListener("progress",C),l!==null&&i.upload&&i.upload.removeEventListener("progress",U)),i.readyState!==i.DONE&&i.abort()}})))}static \u0275fac=function(n){return new(n||r)(w(he))};static \u0275prov=E({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();function be(r,e){return e(r)}function Ve(r,e){return(t,n)=>e.intercept(t,{handle:s=>r(s,n)})}function Xe(r,e,t){return(n,s)=>ae(t,()=>e(n,o=>r(o,s)))}var Re=new y(""),Q=new y("",{factory:()=>[]}),Pe=new y(""),H=new y("",{factory:()=>!0});function $e(){let r=null;return(e,t)=>{r===null&&(r=(u(Re,{optional:!0})??[]).reduceRight(Ve,be));let n=u(Y);if(u(H)){let o=n.add();return r(e,t).pipe(J(o))}else return r(e,t)}}var ee=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275prov=E({token:r,factory:function(n){let s=null;return n?s=new(n||r):s=w(Z),s},providedIn:"root"})}return r})();var X=(()=>{class r{backend;injector;chain=null;pendingTasks=u(Y);contributeToStability=u(H);constructor(t,n){this.backend=t,this.injector=n}handle(t){if(this.chain===null){let n=Array.from(new Set([...this.injector.get(Q),...this.injector.get(Pe,[])]));this.chain=n.reduceRight((s,o)=>Xe(s,o,this.injector),be)}if(this.contributeToStability){let n=this.pendingTasks.add();return this.chain(t,s=>this.backend.handle(s)).pipe(J(n))}else return this.chain(t,n=>this.backend.handle(n))}static \u0275fac=function(n){return new(n||r)(w(ee),w(K))};static \u0275prov=E({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),te=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275prov=E({token:r,factory:function(n){let s=null;return n?s=new(n||r):s=w(X),s},providedIn:"root"})}return r})();function W(r,e){return{body:e,headers:r.headers,context:r.context,observe:r.observe,params:r.params,reportProgress:r.reportProgress,responseType:r.responseType,withCredentials:r.withCredentials,credentials:r.credentials,transferCache:r.transferCache,timeout:r.timeout,keepalive:r.keepalive,priority:r.priority,cache:r.cache,mode:r.mode,redirect:r.redirect,integrity:r.integrity,referrer:r.referrer,referrerPolicy:r.referrerPolicy}}var xe=(()=>{class r{handler;constructor(t){this.handler=t}request(t,n,s={}){let o;if(t instanceof M)o=t;else{let a;s.headers instanceof v?a=s.headers:a=new v(s.headers);let f;s.params&&(s.params instanceof m?f=s.params:f=new m({fromObject:s.params})),o=new M(t,n,s.body!==void 0?s.body:null,{headers:a,context:s.context,params:f,reportProgress:s.reportProgress,responseType:s.responseType||"json",withCredentials:s.withCredentials,transferCache:s.transferCache,keepalive:s.keepalive,priority:s.priority,cache:s.cache,mode:s.mode,redirect:s.redirect,credentials:s.credentials,referrer:s.referrer,referrerPolicy:s.referrerPolicy,integrity:s.integrity,timeout:s.timeout})}let i=z(o).pipe(se(a=>this.handler.handle(a)));if(t instanceof M||s.observe==="events")return i;let l=i.pipe(ne(a=>a instanceof S));switch(s.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return l.pipe(k(a=>{if(a.body!==null&&!(a.body instanceof ArrayBuffer))throw new T(2806,!1);return a.body}));case"blob":return l.pipe(k(a=>{if(a.body!==null&&!(a.body instanceof Blob))throw new T(2807,!1);return a.body}));case"text":return l.pipe(k(a=>{if(a.body!==null&&typeof a.body!="string")throw new T(2808,!1);return a.body}));default:return l.pipe(k(a=>a.body))}case"response":return l;default:throw new T(2809,!1)}}delete(t,n={}){return this.request("DELETE",t,n)}get(t,n={}){return this.request("GET",t,n)}head(t,n={}){return this.request("HEAD",t,n)}jsonp(t,n){return this.request("JSONP",t,{params:new m().append(n,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(t,n={}){return this.request("OPTIONS",t,n)}patch(t,n,s={}){return this.request("PATCH",t,W(s,n))}post(t,n,s={}){return this.request("POST",t,W(s,n))}put(t,n,s={}){return this.request("PUT",t,W(s,n))}static \u0275fac=function(n){return new(n||r)(w(te))};static \u0275prov=E({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})();var ze=new y("",{factory:()=>!0}),Je="XSRF-TOKEN",Ne=new y("",{factory:()=>Je}),Ke="X-XSRF-TOKEN",Me=new y("",{factory:()=>Ke}),Ye=(()=>{class r{cookieName=u(Ne);doc=u(ce);lastCookieString="";lastToken=null;parseCount=0;getToken(){let t=this.doc.cookie||"";return t!==this.lastCookieString&&(this.parseCount++,this.lastToken=le(t,this.cookieName),this.lastCookieString=t),this.lastToken}static \u0275fac=function(n){return new(n||r)};static \u0275prov=E({token:r,factory:r.\u0275fac,providedIn:"root"})}return r})(),Oe=(()=>{class r{static \u0275fac=function(n){return new(n||r)};static \u0275prov=E({token:r,factory:function(n){let s=null;return n?s=new(n||r):s=w(Ye),s},providedIn:"root"})}return r})();function We(r,e){if(!u(ze)||r.method==="GET"||r.method==="HEAD")return e(r);try{let s=u(ue).href,{origin:o}=new URL(s),{origin:i}=new URL(r.url,o);if(o!==i)return e(r)}catch(s){return e(r)}let t=u(Oe).getToken(),n=u(Me);return t!=null&&!r.headers.has(n)&&(r=r.clone({headers:r.headers.set(n,t)})),e(r)}var $=(function(r){return r[r.Interceptors=0]="Interceptors",r[r.LegacyInterceptors=1]="LegacyInterceptors",r[r.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",r[r.NoXsrfProtection=3]="NoXsrfProtection",r[r.JsonpSupport=4]="JsonpSupport",r[r.RequestsMadeViaParent=5]="RequestsMadeViaParent",r[r.Fetch=6]="Fetch",r})($||{});function Ae(r,e){return{\u0275kind:r,\u0275providers:e}}function qe(...r){let e=[xe,X,{provide:te,useExisting:X},{provide:ee,useFactory:()=>u(Be,{optional:!0})??u(Z)},{provide:Q,useValue:We,multi:!0}];for(let t of r)e.push(...t.\u0275providers);return ie(e)}var Ee=new y("");function Ze(){return Ae($.LegacyInterceptors,[{provide:Ee,useFactory:$e},{provide:Q,useExisting:Ee,multi:!0}])}function Qe({cookieName:r,headerName:e}){let t=[];return r!==void 0&&t.push({provide:Ne,useValue:r}),e!==void 0&&t.push({provide:Me,useValue:e}),Ae($.CustomXsrfConfiguration,t)}N();N();var _e=class r{static{this.CSRF_COOKIE_NAME=window.CSRF_COOKIE_NAME||"csrftoken"}static{this.SENTRY_CONFIG=window.RAVEN_CONFIG}static{this.ENVIRONMENT=window.ENVIRONMENT}static{this.BACKEND_SERVER=window.BACKEND_SERVER}static{this.FLOW_SERVER=window.FLOW_SERVER}static{this.GOOGLE_TAG_MANAGER_KEY=window.GOOGLE_TAG_MANAGER_KEY}static{this.GOOGLE_TAG_MANAGER_KEY_SECONDARY=window.GOOGLE_TAG_MANAGER_KEY_SECONDARY}static{this.GOOGLE_MAPS_KEY=window.GOOGLE_MAPS_KEY}static{this.SESSION_DOMAIN=window.SESSION_DOMAIN||""}static{this.ANALYTICS_KEY=window.ANALYTICS_KEY}static{this.DEFAULT_LANG=window.DEFAULT_LANG}static{this.PORTAL_VERSION=window.PORTAL_VERSION||"dev"}static{this.API_ENDPOINT_V1=`${r.BACKEND_SERVER}/v1`}static{this.API_ENDPOINT_V2=`${r.BACKEND_SERVER}/v2`}static{this.LANG_STORAGE_KEY="language"}static{this.HEADER_HEIGHT=80}static{this.CUSTOM_SCHEME=`comucroo${r.ENVIRONMENT}`}static{this.FLOW_IFRAME_URL_TEMPLATE=window.FLOW_IFRAME_URL_TEMPLATE}static{this.CUBE_API_URL=window.CUBE_API_URL}},g={XS:520,SM:680,MD:880,LG:1180},Ut={XS:`(max-width: ${g.XS-.02}px)`,SM:`(min-width: ${g.XS}px) and (max-width: ${g.SM-.02}px)`,MD:`(min-width: ${g.SM}px) and (max-width: ${g.MD-.02}px)`,LG:`(min-width: ${g.MD}px) and (max-width: ${g.LG-.02}px)`,XL:`(min-width: ${g.LG}px)`,MOBILE:`(max-width: ${g.MD-.02}px)`},jt="(max-width: 679.98px)",Bt="(min-width: 1280px)",Gt={h1:3,h2:2.25,h3:1.75,h4:1.5,h5:1.25,h6:1};export{v as a,q as b,B as c,m as d,P as e,O as f,Re as g,xe as h,Oe as i,qe as j,Ze as k,Qe as l,_e as m,g as n,Ut as o,jt as p,Bt as q,Gt as r};