"use strict";(self.webpackChunkbogati=self.webpackChunkbogati||[]).push([[179],{290:()=>{function Ge(t){return"function"==typeof t}function Ka(t){const e=t(i=>{Error.call(i),i.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const tu=Ka(t=>function(e){t(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((i,o)=>`${o+1}) ${i.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function kr(t,n){if(t){const e=t.indexOf(n);0<=e&&t.splice(e,1)}}class Je{constructor(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let n;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const s of e)s.remove(this);else e.remove(this);const{initialTeardown:i}=this;if(Ge(i))try{i()}catch(s){n=s instanceof tu?s.errors:[s]}const{_finalizers:o}=this;if(o){this._finalizers=null;for(const s of o)try{w1(s)}catch(r){n=null!=n?n:[],r instanceof tu?n=[...n,...r.errors]:n.push(r)}}if(n)throw new tu(n)}}add(n){var e;if(n&&n!==this)if(this.closed)w1(n);else{if(n instanceof Je){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(n)}}_hasParent(n){const{_parentage:e}=this;return e===n||Array.isArray(e)&&e.includes(n)}_addParent(n){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(n),e):e?[e,n]:n}_removeParent(n){const{_parentage:e}=this;e===n?this._parentage=null:Array.isArray(e)&&kr(e,n)}remove(n){const{_finalizers:e}=this;e&&kr(e,n),n instanceof Je&&n._removeParent(this)}}Je.EMPTY=(()=>{const t=new Je;return t.closed=!0,t})();const y1=Je.EMPTY;function C1(t){return t instanceof Je||t&&"closed"in t&&Ge(t.remove)&&Ge(t.add)&&Ge(t.unsubscribe)}function w1(t){Ge(t)?t():t.unsubscribe()}const Ns={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},nu={setTimeout(t,n,...e){const{delegate:i}=nu;return(null==i?void 0:i.setTimeout)?i.setTimeout(t,n,...e):setTimeout(t,n,...e)},clearTimeout(t){const{delegate:n}=nu;return((null==n?void 0:n.clearTimeout)||clearTimeout)(t)},delegate:void 0};function D1(t){nu.setTimeout(()=>{const{onUnhandledError:n}=Ns;if(!n)throw t;n(t)})}function Rr(){}const tA=Ip("C",void 0,void 0);function Ip(t,n,e){return{kind:t,value:n,error:e}}let ks=null;function iu(t){if(Ns.useDeprecatedSynchronousErrorHandling){const n=!ks;if(n&&(ks={errorThrown:!1,error:null}),t(),n){const{errorThrown:e,error:i}=ks;if(ks=null,e)throw i}}else t()}class Ap extends Je{constructor(n){super(),this.isStopped=!1,n?(this.destination=n,C1(n)&&n.add(this)):this.destination=lA}static create(n,e,i){return new ou(n,e,i)}next(n){this.isStopped?Op(function iA(t){return Ip("N",t,void 0)}(n),this):this._next(n)}error(n){this.isStopped?Op(function nA(t){return Ip("E",void 0,t)}(n),this):(this.isStopped=!0,this._error(n))}complete(){this.isStopped?Op(tA,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(n){this.destination.next(n)}_error(n){try{this.destination.error(n)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const sA=Function.prototype.bind;function xp(t,n){return sA.call(t,n)}class rA{constructor(n){this.partialObserver=n}next(n){const{partialObserver:e}=this;if(e.next)try{e.next(n)}catch(i){su(i)}}error(n){const{partialObserver:e}=this;if(e.error)try{e.error(n)}catch(i){su(i)}else su(n)}complete(){const{partialObserver:n}=this;if(n.complete)try{n.complete()}catch(e){su(e)}}}class ou extends Ap{constructor(n,e,i){let o;if(super(),Ge(n)||!n)o={next:null!=n?n:void 0,error:null!=e?e:void 0,complete:null!=i?i:void 0};else{let s;this&&Ns.useDeprecatedNextContext?(s=Object.create(n),s.unsubscribe=()=>this.unsubscribe(),o={next:n.next&&xp(n.next,s),error:n.error&&xp(n.error,s),complete:n.complete&&xp(n.complete,s)}):o=n}this.destination=new rA(o)}}function su(t){Ns.useDeprecatedSynchronousErrorHandling?function oA(t){Ns.useDeprecatedSynchronousErrorHandling&&ks&&(ks.errorThrown=!0,ks.error=t)}(t):D1(t)}function Op(t,n){const{onStoppedNotification:e}=Ns;e&&nu.setTimeout(()=>e(t,n))}const lA={closed:!0,next:Rr,error:function aA(t){throw t},complete:Rr},Np="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ao(t){return t}let Qe=(()=>{class t{constructor(e){e&&(this._subscribe=e)}lift(e){const i=new t;return i.source=this,i.operator=e,i}subscribe(e,i,o){const s=function uA(t){return t&&t instanceof Ap||function cA(t){return t&&Ge(t.next)&&Ge(t.error)&&Ge(t.complete)}(t)&&C1(t)}(e)?e:new ou(e,i,o);return iu(()=>{const{operator:r,source:a}=this;s.add(r?r.call(s,a):a?this._subscribe(s):this._trySubscribe(s))}),s}_trySubscribe(e){try{return this._subscribe(e)}catch(i){e.error(i)}}forEach(e,i){return new(i=T1(i))((o,s)=>{const r=new ou({next:a=>{try{e(a)}catch(u){s(u),r.unsubscribe()}},error:s,complete:o});this.subscribe(r)})}_subscribe(e){var i;return null===(i=this.source)||void 0===i?void 0:i.subscribe(e)}[Np](){return this}pipe(...e){return function E1(t){return 0===t.length?Ao:1===t.length?t[0]:function(e){return t.reduce((i,o)=>o(i),e)}}(e)(this)}toPromise(e){return new(e=T1(e))((i,o)=>{let s;this.subscribe(r=>s=r,r=>o(r),()=>i(s))})}}return t.create=n=>new t(n),t})();function T1(t){var n;return null!==(n=null!=t?t:Ns.Promise)&&void 0!==n?n:Promise}const dA=Ka(t=>function(){t(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let $=(()=>{class t extends Qe{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const i=new S1(this,this);return i.operator=e,i}_throwIfClosed(){if(this.closed)throw new dA}next(e){iu(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const i of this.currentObservers)i.next(e)}})}error(e){iu(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:i}=this;for(;i.length;)i.shift().error(e)}})}complete(){iu(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:i,isStopped:o,observers:s}=this;return i||o?y1:(this.currentObservers=null,s.push(e),new Je(()=>{this.currentObservers=null,kr(s,e)}))}_checkFinalizedStatuses(e){const{hasError:i,thrownError:o,isStopped:s}=this;i?e.error(o):s&&e.complete()}asObservable(){const e=new Qe;return e.source=this,e}}return t.create=(n,e)=>new S1(n,e),t})();class S1 extends ${constructor(n,e){super(),this.destination=n,this.source=e}next(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===i||i.call(e,n)}error(n){var e,i;null===(i=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===i||i.call(e,n)}complete(){var n,e;null===(e=null===(n=this.destination)||void 0===n?void 0:n.complete)||void 0===e||e.call(n)}_subscribe(n){var e,i;return null!==(i=null===(e=this.source)||void 0===e?void 0:e.subscribe(n))&&void 0!==i?i:y1}}function M1(t){return Ge(null==t?void 0:t.lift)}function Et(t){return n=>{if(M1(n))return n.lift(function(e){try{return t(e,this)}catch(i){this.error(i)}});throw new TypeError("Unable to lift unknown Observable type")}}function rt(t,n,e,i,o){return new hA(t,n,e,i,o)}class hA extends Ap{constructor(n,e,i,o,s,r){super(n),this.onFinalize=s,this.shouldUnsubscribe=r,this._next=e?function(a){try{e(a)}catch(u){n.error(u)}}:super._next,this._error=o?function(a){try{o(a)}catch(u){n.error(u)}finally{this.unsubscribe()}}:super._error,this._complete=i?function(){try{i()}catch(a){n.error(a)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var n;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(n=this.onFinalize)||void 0===n||n.call(this))}}}function pe(t,n){return Et((e,i)=>{let o=0;e.subscribe(rt(i,s=>{i.next(t.call(n,s,o++))}))})}function Rs(t){return this instanceof Rs?(this.v=t,this):new Rs(t)}function mA(t,n,e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=e.apply(t,n||[]),s=[];return o={},r("next"),r("throw"),r("return"),o[Symbol.asyncIterator]=function(){return this},o;function r(b){i[b]&&(o[b]=function(y){return new Promise(function(w,E){s.push([b,y,w,E])>1||a(b,y)})})}function a(b,y){try{!function u(b){b.value instanceof Rs?Promise.resolve(b.value.v).then(p,f):g(s[0][2],b)}(i[b](y))}catch(w){g(s[0][3],w)}}function p(b){a("next",b)}function f(b){a("throw",b)}function g(b,y){b(y),s.shift(),s.length&&a(s[0][0],s[0][1])}}function gA(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function x1(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],i=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(s){e[s]=t[s]&&function(r){return new Promise(function(a,u){!function o(s,r,a,u){Promise.resolve(u).then(function(p){s({value:p,done:a})},r)}(a,u,(r=t[s](r)).done,r.value)})}}}const Rp=t=>t&&"number"==typeof t.length&&"function"!=typeof t;function O1(t){return Ge(null==t?void 0:t.then)}function N1(t){return Ge(t[Np])}function k1(t){return Symbol.asyncIterator&&Ge(null==t?void 0:t[Symbol.asyncIterator])}function R1(t){return new TypeError(`You provided ${null!==t&&"object"==typeof t?"an invalid object":`'${t}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const F1=function vA(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function P1(t){return Ge(null==t?void 0:t[F1])}function L1(t){return mA(this,arguments,function*(){const e=t.getReader();try{for(;;){const{value:i,done:o}=yield Rs(e.read());if(o)return yield Rs(void 0);yield yield Rs(i)}}finally{e.releaseLock()}})}function B1(t){return Ge(null==t?void 0:t.getReader)}function vn(t){if(t instanceof Qe)return t;if(null!=t){if(N1(t))return function bA(t){return new Qe(n=>{const e=t[Np]();if(Ge(e.subscribe))return e.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(t);if(Rp(t))return function yA(t){return new Qe(n=>{for(let e=0;e{t.then(e=>{n.closed||(n.next(e),n.complete())},e=>n.error(e)).then(null,D1)})}(t);if(k1(t))return V1(t);if(P1(t))return function wA(t){return new Qe(n=>{for(const e of t)if(n.next(e),n.closed)return;n.complete()})}(t);if(B1(t))return function DA(t){return V1(L1(t))}(t)}throw R1(t)}function V1(t){return new Qe(n=>{(function EA(t,n){var e,i,o,s;return function pA(t,n,e,i){return new(e||(e=Promise))(function(s,r){function a(f){try{p(i.next(f))}catch(g){r(g)}}function u(f){try{p(i.throw(f))}catch(g){r(g)}}function p(f){f.done?s(f.value):function o(s){return s instanceof e?s:new e(function(r){r(s)})}(f.value).then(a,u)}p((i=i.apply(t,n||[])).next())})}(this,void 0,void 0,function*(){try{for(e=gA(t);!(i=yield e.next()).done;)if(n.next(i.value),n.closed)return}catch(r){o={error:r}}finally{try{i&&!i.done&&(s=e.return)&&(yield s.call(e))}finally{if(o)throw o.error}}n.complete()})})(t,n).catch(e=>n.error(e))})}function xo(t,n,e,i=0,o=!1){const s=n.schedule(function(){e(),o?t.add(this.schedule(null,i)):this.unsubscribe()},i);if(t.add(s),!o)return s}function Wt(t,n,e=1/0){return Ge(n)?Wt((i,o)=>pe((s,r)=>n(i,s,o,r))(vn(t(i,o))),e):("number"==typeof n&&(e=n),Et((i,o)=>function TA(t,n,e,i,o,s,r,a){const u=[];let p=0,f=0,g=!1;const b=()=>{g&&!u.length&&!p&&n.complete()},y=E=>p{s&&n.next(E),p++;let S=!1;vn(e(E,f++)).subscribe(rt(n,A=>{null==o||o(A),s?y(A):n.next(A)},()=>{S=!0},void 0,()=>{if(S)try{for(p--;u.length&&pw(A)):w(A)}b()}catch(A){n.error(A)}}))};return t.subscribe(rt(n,y,()=>{g=!0,b()})),()=>{null==a||a()}}(i,o,t,e)))}function Za(t=1/0){return Wt(Ao,t)}const Zn=new Qe(t=>t.complete());function j1(t){return t&&Ge(t.schedule)}function Fp(t){return t[t.length-1]}function ru(t){return Ge(Fp(t))?t.pop():void 0}function Ja(t){return j1(Fp(t))?t.pop():void 0}function H1(t,n=0){return Et((e,i)=>{e.subscribe(rt(i,o=>xo(i,t,()=>i.next(o),n),()=>xo(i,t,()=>i.complete(),n),o=>xo(i,t,()=>i.error(o),n)))})}function U1(t,n=0){return Et((e,i)=>{i.add(t.schedule(()=>e.subscribe(i),n))})}function G1(t,n){if(!t)throw new Error("Iterable cannot be null");return new Qe(e=>{xo(e,n,()=>{const i=t[Symbol.asyncIterator]();xo(e,n,()=>{i.next().then(o=>{o.done?e.complete():e.next(o.value)})},0,!0)})})}function nn(t,n){return n?function kA(t,n){if(null!=t){if(N1(t))return function IA(t,n){return vn(t).pipe(U1(n),H1(n))}(t,n);if(Rp(t))return function xA(t,n){return new Qe(e=>{let i=0;return n.schedule(function(){i===t.length?e.complete():(e.next(t[i++]),e.closed||this.schedule())})})}(t,n);if(O1(t))return function AA(t,n){return vn(t).pipe(U1(n),H1(n))}(t,n);if(k1(t))return G1(t,n);if(P1(t))return function OA(t,n){return new Qe(e=>{let i;return xo(e,n,()=>{i=t[F1](),xo(e,n,()=>{let o,s;try{({value:o,done:s}=i.next())}catch(r){return void e.error(r)}s?e.complete():e.next(o)},0,!0)}),()=>Ge(null==i?void 0:i.return)&&i.return()})}(t,n);if(B1(t))return function NA(t,n){return G1(L1(t),n)}(t,n)}throw R1(t)}(t,n):vn(t)}function bn(...t){const n=Ja(t),e=function MA(t,n){return"number"==typeof Fp(t)?t.pop():n}(t,1/0),i=t;return i.length?1===i.length?vn(i[0]):Za(e)(nn(i,n)):Zn}function ze(t){return t<=0?()=>Zn:Et((n,e)=>{let i=0;n.subscribe(rt(e,o=>{++i<=t&&(e.next(o),t<=i&&e.complete())}))})}function z1(t={}){const{connector:n=(()=>new $),resetOnError:e=!0,resetOnComplete:i=!0,resetOnRefCountZero:o=!0}=t;return s=>{let r=null,a=null,u=null,p=0,f=!1,g=!1;const b=()=>{null==a||a.unsubscribe(),a=null},y=()=>{b(),r=u=null,f=g=!1},w=()=>{const E=r;y(),null==E||E.unsubscribe()};return Et((E,S)=>{p++,!g&&!f&&b();const A=u=null!=u?u:n();S.add(()=>{p--,0===p&&!g&&!f&&(a=Pp(w,o))}),A.subscribe(S),r||(r=new ou({next:T=>A.next(T),error:T=>{g=!0,b(),a=Pp(y,e,T),A.error(T)},complete:()=>{f=!0,b(),a=Pp(y,i),A.complete()}}),nn(E).subscribe(r))})(s)}}function Pp(t,n,...e){return!0===n?(t(),null):!1===n?null:n(...e).pipe(ze(1)).subscribe(()=>t())}function ht(t){for(let n in t)if(t[n]===ht)return n;throw Error("Could not find renamed property on target object.")}function Lp(t,n){for(const e in n)n.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=n[e])}function at(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(at).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return`${t.overriddenName}`;if(t.name)return`${t.name}`;const n=t.toString();if(null==n)return""+n;const e=n.indexOf("\n");return-1===e?n:n.substring(0,e)}function Bp(t,n){return null==t||""===t?null===n?"":n:null==n||""===n?t:t+" "+n}const RA=ht({__forward_ref__:ht});function Le(t){return t.__forward_ref__=Le,t.toString=function(){return at(this())},t}function xe(t){return q1(t)?t():t}function q1(t){return"function"==typeof t&&t.hasOwnProperty(RA)&&t.__forward_ref__===Le}class X extends Error{constructor(n,e){super(function Vp(t,n){return`NG0${Math.abs(t)}${n?": "+n:""}`}(n,e)),this.code=n}}function Te(t){return"string"==typeof t?t:null==t?"":String(t)}function yn(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():Te(t)}function au(t,n){const e=n?` in ${n}`:"";throw new X(-201,`No provider for ${yn(t)} found${e}`)}function pt(t,n,e,i){throw new Error(`ASSERTION ERROR: ${t}`+(null==i?"":` [Expected=> ${e} ${i} ${n} <=Actual]`))}function L(t){return{token:t.token,providedIn:t.providedIn||null,factory:t.factory,value:void 0}}function Z(t){return{providers:t.providers||[],imports:t.imports||[]}}function jp(t){return $1(t,lu)||$1(t,Y1)}function $1(t,n){return t.hasOwnProperty(n)?t[n]:null}function W1(t){return t&&(t.hasOwnProperty(Hp)||t.hasOwnProperty(HA))?t[Hp]:null}const lu=ht({\u0275prov:ht}),Hp=ht({\u0275inj:ht}),Y1=ht({ngInjectableDef:ht}),HA=ht({ngInjectorDef:ht});var De=(()=>((De=De||{})[De.Default=0]="Default",De[De.Host=1]="Host",De[De.Self=2]="Self",De[De.SkipSelf=4]="SkipSelf",De[De.Optional=8]="Optional",De))();let Up;function os(t){const n=Up;return Up=t,n}function Q1(t,n,e){const i=jp(t);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:e&De.Optional?null:void 0!==n?n:void au(at(t),"Injector")}function ss(t){return{toString:t}.toString()}var Fi=(()=>((Fi=Fi||{})[Fi.OnPush=0]="OnPush",Fi[Fi.Default=1]="Default",Fi))(),Pi=(()=>{return(t=Pi||(Pi={}))[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",Pi;var t})();const GA="undefined"!=typeof globalThis&&globalThis,zA="undefined"!=typeof window&&window,qA="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ct=GA||"undefined"!=typeof global&&global||zA||qA,Fr={},ft=[],cu=ht({\u0275cmp:ht}),Gp=ht({\u0275dir:ht}),zp=ht({\u0275pipe:ht}),K1=ht({\u0275mod:ht}),No=ht({\u0275fac:ht}),Xa=ht({__NG_ELEMENT_ID__:ht});let $A=0;function N(t){return ss(()=>{const e={},i={type:t.type,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||null,contentQueries:t.contentQueries||null,declaredInputs:e,inputs:null,outputs:null,exportAs:t.exportAs||null,onPush:t.changeDetection===Fi.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors||ft,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||Pi.Emulated,id:"c",styles:t.styles||ft,_:null,setInput:null,schemas:t.schemas||null,tView:null},o=t.directives,s=t.features,r=t.pipes;return i.id+=$A++,i.inputs=ev(t.inputs,e),i.outputs=ev(t.outputs),s&&s.forEach(a=>a(i)),i.directiveDefs=o?()=>("function"==typeof o?o():o).map(Z1):null,i.pipeDefs=r?()=>("function"==typeof r?r():r).map(J1):null,i})}function Z1(t){return Sn(t)||function rs(t){return t[Gp]||null}(t)}function J1(t){return function Fs(t){return t[zp]||null}(t)}const X1={};function J(t){return ss(()=>{const n={type:t.type,bootstrap:t.bootstrap||ft,declarations:t.declarations||ft,imports:t.imports||ft,exports:t.exports||ft,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null};return null!=t.id&&(X1[t.id]=t.type),n})}function ev(t,n){if(null==t)return Fr;const e={};for(const i in t)if(t.hasOwnProperty(i)){let o=t[i],s=o;Array.isArray(o)&&(s=o[1],o=o[0]),e[o]=i,n&&(n[o]=s)}return e}const x=N;function Hn(t){return{type:t.type,name:t.name,factory:null,pure:!1!==t.pure,onDestroy:t.type.prototype.ngOnDestroy||null}}function Sn(t){return t[cu]||null}function gi(t,n){const e=t[K1]||null;if(!e&&!0===n)throw new Error(`Type ${at(t)} does not have '\u0275mod' property.`);return e}function no(t){return Array.isArray(t)&&"object"==typeof t[1]}function Bi(t){return Array.isArray(t)&&!0===t[1]}function Wp(t){return 0!=(8&t.flags)}function pu(t){return 2==(2&t.flags)}function fu(t){return 1==(1&t.flags)}function Vi(t){return null!==t.template}function JA(t){return 0!=(512&t[2])}function Vs(t,n){return t.hasOwnProperty(No)?t[No]:null}class tx{constructor(n,e,i){this.previousValue=n,this.currentValue=e,this.firstChange=i}isFirstChange(){return this.firstChange}}function mt(){return nv}function nv(t){return t.type.prototype.ngOnChanges&&(t.setInput=ix),nx}function nx(){const t=ov(this),n=null==t?void 0:t.current;if(n){const e=t.previous;if(e===Fr)t.previous=n;else for(let i in n)e[i]=n[i];t.current=null,this.ngOnChanges(n)}}function ix(t,n,e,i){const o=ov(t)||function ox(t,n){return t[iv]=n}(t,{previous:Fr,current:null}),s=o.current||(o.current={}),r=o.previous,a=this.declaredInputs[e],u=r[a];s[a]=new tx(u&&u.currentValue,n,r===Fr),t[i]=n}mt.ngInherit=!0;const iv="__ngSimpleChanges__";function ov(t){return t[iv]||null}let Jp;function Xp(){return void 0!==Jp?Jp:"undefined"!=typeof document?document:void 0}function Ft(t){return!!t.listen}const sv={createRenderer:(t,n)=>Xp()};function Yt(t){for(;Array.isArray(t);)t=t[0];return t}function mu(t,n){return Yt(n[t])}function bi(t,n){return Yt(n[t.index])}function ef(t,n){return t.data[n]}function jr(t,n){return t[n]}function ti(t,n){const e=n[t];return no(e)?e:e[0]}function rv(t){return 4==(4&t[2])}function tf(t){return 128==(128&t[2])}function as(t,n){return null==n?null:t[n]}function av(t){t[18]=0}function nf(t,n){t[5]+=n;let e=t,i=t[3];for(;null!==i&&(1===n&&1===e[5]||-1===n&&0===e[5]);)i[5]+=n,e=i,i=i[3]}const Se={lFrame:gv(null),bindingsEnabled:!0};function cv(){return Se.bindingsEnabled}function B(){return Se.lFrame.lView}function We(){return Se.lFrame.tView}function re(t){return Se.lFrame.contextLView=t,t[8]}function on(){let t=uv();for(;null!==t&&64===t.type;)t=t.parent;return t}function uv(){return Se.lFrame.currentTNode}function il(){const t=Se.lFrame,n=t.currentTNode;return t.isParent?n:n.parent}function io(t,n){const e=Se.lFrame;e.currentTNode=t,e.isParent=n}function sf(){return Se.lFrame.isParent}function rf(){Se.lFrame.isParent=!1}function kn(){const t=Se.lFrame;let n=t.bindingRootIndex;return-1===n&&(n=t.bindingRootIndex=t.tView.bindingStartIndex),n}function ko(){return Se.lFrame.bindingIndex}function Hr(){return Se.lFrame.bindingIndex++}function Ro(t){const n=Se.lFrame,e=n.bindingIndex;return n.bindingIndex=n.bindingIndex+t,e}function hv(t){Se.lFrame.inI18n=t}function Cx(t,n){const e=Se.lFrame;e.bindingIndex=e.bindingRootIndex=t,af(n)}function af(t){Se.lFrame.currentDirectiveIndex=t}function lf(t){const n=Se.lFrame.currentDirectiveIndex;return-1===n?null:t[n]}function pv(){return Se.lFrame.currentQueryIndex}function cf(t){Se.lFrame.currentQueryIndex=t}function Dx(t){const n=t[1];return 2===n.type?n.declTNode:1===n.type?t[6]:null}function fv(t,n,e){if(e&De.SkipSelf){let o=n,s=t;for(;!(o=o.parent,null!==o||e&De.Host||(o=Dx(s),null===o||(s=s[15],10&o.type))););if(null===o)return!1;n=o,t=s}const i=Se.lFrame=mv();return i.currentTNode=n,i.lView=t,!0}function _u(t){const n=mv(),e=t[1];Se.lFrame=n,n.currentTNode=e.firstChild,n.lView=t,n.tView=e,n.contextLView=t,n.bindingIndex=e.bindingStartIndex,n.inI18n=!1}function mv(){const t=Se.lFrame,n=null===t?null:t.child;return null===n?gv(t):n}function gv(t){const n={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:t,child:null,inI18n:!1};return null!==t&&(t.child=n),n}function _v(){const t=Se.lFrame;return Se.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const vv=_v;function vu(){const t=_v();t.isParent=!0,t.tView=null,t.selectedIndex=-1,t.contextLView=null,t.elementDepthCount=0,t.currentDirectiveIndex=-1,t.currentNamespace=null,t.bindingRootIndex=-1,t.bindingIndex=-1,t.currentQueryIndex=0}function Rn(){return Se.lFrame.selectedIndex}function ls(t){Se.lFrame.selectedIndex=t}function Pt(){const t=Se.lFrame;return ef(t.tView,t.selectedIndex)}function R(){Se.lFrame.currentNamespace="svg"}function q(){!function Mx(){Se.lFrame.currentNamespace=null}()}function bu(t,n){for(let e=n.directiveStart,i=n.directiveEnd;e=i)break}else n[u]<0&&(t[18]+=65536),(a>11>16&&(3&t[2])===n){t[2]+=2048;try{s.call(a)}finally{}}}else try{s.call(a)}finally{}}class ol{constructor(n,e,i){this.factory=n,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=i}}function wu(t,n,e){const i=Ft(t);let o=0;for(;on){r=s-1;break}}}for(;s>16}(t),i=n;for(;e>0;)i=i[15],e--;return i}let pf=!0;function Eu(t){const n=pf;return pf=t,n}let Px=0;function rl(t,n){const e=mf(t,n);if(-1!==e)return e;const i=n[1];i.firstCreatePass&&(t.injectorIndex=n.length,ff(i.data,t),ff(n,null),ff(i.blueprint,null));const o=Tu(t,n),s=t.injectorIndex;if(wv(o)){const r=Ur(o),a=Gr(o,n),u=a[1].data;for(let p=0;p<8;p++)n[s+p]=a[r+p]|u[r+p]}return n[s+8]=o,s}function ff(t,n){t.push(0,0,0,0,0,0,0,0,n)}function mf(t,n){return-1===t.injectorIndex||t.parent&&t.parent.injectorIndex===t.injectorIndex||null===n[t.injectorIndex+8]?-1:t.injectorIndex}function Tu(t,n){if(t.parent&&-1!==t.parent.injectorIndex)return t.parent.injectorIndex;let e=0,i=null,o=n;for(;null!==o;){const s=o[1],r=s.type;if(i=2===r?s.declTNode:1===r?o[6]:null,null===i)return-1;if(e++,o=o[15],-1!==i.injectorIndex)return i.injectorIndex|e<<16}return-1}function Su(t,n,e){!function Lx(t,n,e){let i;"string"==typeof e?i=e.charCodeAt(0)||0:e.hasOwnProperty(Xa)&&(i=e[Xa]),null==i&&(i=e[Xa]=Px++);const o=255&i;n.data[t+(o>>5)]|=1<=0?255&n:Vx:n}(e);if("function"==typeof s){if(!fv(n,t,i))return i&De.Host?Tv(o,e,i):Sv(n,e,i,o);try{const r=s(i);if(null!=r||i&De.Optional)return r;au(e)}finally{vv()}}else if("number"==typeof s){let r=null,a=mf(t,n),u=-1,p=i&De.Host?n[16][6]:null;for((-1===a||i&De.SkipSelf)&&(u=-1===a?Tu(t,n):n[a+8],-1!==u&&xv(i,!1)?(r=n[1],a=Ur(u),n=Gr(u,n)):a=-1);-1!==a;){const f=n[1];if(Av(s,a,f.data)){const g=jx(a,n,e,r,i,p);if(g!==Iv)return g}u=n[a+8],-1!==u&&xv(i,n[1].data[a+8]===p)&&Av(s,a,n)?(r=f,a=Ur(u),n=Gr(u,n)):a=-1}}}return Sv(n,e,i,o)}const Iv={};function Vx(){return new zr(on(),B())}function jx(t,n,e,i,o,s){const r=n[1],a=r.data[t+8],f=Mu(a,r,e,null==i?pu(a)&&pf:i!=r&&0!=(3&a.type),o&De.Host&&s===a);return null!==f?al(n,r,f,a):Iv}function Mu(t,n,e,i,o){const s=t.providerIndexes,r=n.data,a=1048575&s,u=t.directiveStart,f=s>>20,b=o?a+f:t.directiveEnd;for(let y=i?a:a+f;y=u&&w.type===e)return y}if(o){const y=r[u];if(y&&Vi(y)&&y.type===e)return u}return null}function al(t,n,e,i){let o=t[e];const s=n.data;if(function Ox(t){return t instanceof ol}(o)){const r=o;r.resolving&&function FA(t,n){const e=n?`. Dependency path: ${n.join(" > ")} > ${t}`:"";throw new X(-200,`Circular dependency in DI detected for ${t}${e}`)}(yn(s[e]));const a=Eu(r.canSeeViewProviders);r.resolving=!0;const u=r.injectImpl?os(r.injectImpl):null;fv(t,i,De.Default);try{o=t[e]=r.factory(void 0,s,t,i),n.firstCreatePass&&e>=i.directiveStart&&function Ax(t,n,e){const{ngOnChanges:i,ngOnInit:o,ngDoCheck:s}=n.type.prototype;if(i){const r=nv(n);(e.preOrderHooks||(e.preOrderHooks=[])).push(t,r),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,r)}o&&(e.preOrderHooks||(e.preOrderHooks=[])).push(0-t,o),s&&((e.preOrderHooks||(e.preOrderHooks=[])).push(t,s),(e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(t,s))}(e,s[e],n)}finally{null!==u&&os(u),Eu(a),r.resolving=!1,vv()}}return o}function Av(t,n,e){return!!(e[n+(t>>5)]&1<{const n=t.prototype.constructor,e=n[No]||gf(n),i=Object.prototype;let o=Object.getPrototypeOf(t.prototype).constructor;for(;o&&o!==i;){const s=o[No]||gf(o);if(s&&s!==e)return s;o=Object.getPrototypeOf(o)}return s=>new s})}function gf(t){return q1(t)?()=>{const n=gf(xe(t));return n&&n()}:Vs(t)}function ni(t){return function Bx(t,n){if("class"===n)return t.classes;if("style"===n)return t.styles;const e=t.attrs;if(e){const i=e.length;let o=0;for(;o{const i=function _f(t){return function(...e){if(t){const i=t(...e);for(const o in i)this[o]=i[o]}}}(n);function o(...s){if(this instanceof o)return i.apply(this,s),this;const r=new o(...s);return a.annotation=r,a;function a(u,p,f){const g=u.hasOwnProperty($r)?u[$r]:Object.defineProperty(u,$r,{value:[]})[$r];for(;g.length<=f;)g.push(null);return(g[f]=g[f]||[]).push(r),u}}return e&&(o.prototype=Object.create(e.prototype)),o.prototype.ngMetadataName=t,o.annotationCls=o,o})}class j{constructor(n,e){this._desc=n,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=L({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Gx=new j("AnalyzeForEntryComponents");function yi(t,n){void 0===n&&(n=t);for(let e=0;eArray.isArray(e)?oo(e,n):n(e))}function Nv(t,n,e){n>=t.length?t.push(e):t.splice(n,0,e)}function Iu(t,n){return n>=t.length-1?t.pop():t.splice(n,1)[0]}function ul(t,n){const e=[];for(let i=0;i=0?t[1|i]=e:(i=~i,function $x(t,n,e,i){let o=t.length;if(o==n)t.push(e,i);else if(1===o)t.push(i,t[0]),t[0]=e;else{for(o--,t.push(t[o-1],t[o]);o>n;)t[o]=t[o-2],o--;t[n]=e,t[n+1]=i}}(t,i,n,e)),i}function bf(t,n){const e=Qr(t,n);if(e>=0)return t[1|e]}function Qr(t,n){return function Fv(t,n,e){let i=0,o=t.length>>e;for(;o!==i;){const s=i+(o-i>>1),r=t[s<n?o=s:i=s+1}return~(o<({token:t})),-1),Ci=pl(Yr("Optional"),8),js=pl(Yr("SkipSelf"),4);let Ru,Fu;function Zr(t){var n;return(null===(n=function Ef(){if(void 0===Ru&&(Ru=null,ct.trustedTypes))try{Ru=ct.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Ru}())||void 0===n?void 0:n.createHTML(t))||t}function zv(t){var n;return(null===(n=function Tf(){if(void 0===Fu&&(Fu=null,ct.trustedTypes))try{Fu=ct.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch(t){}return Fu}())||void 0===n?void 0:n.createHTML(t))||t}class Hs{constructor(n){this.changingThisBreaksApplicationSecurity=n}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class gO extends Hs{getTypeName(){return"HTML"}}class _O extends Hs{getTypeName(){return"Style"}}class vO extends Hs{getTypeName(){return"Script"}}class bO extends Hs{getTypeName(){return"URL"}}class yO extends Hs{getTypeName(){return"ResourceURL"}}function oi(t){return t instanceof Hs?t.changingThisBreaksApplicationSecurity:t}function so(t,n){const e=Wv(t);if(null!=e&&e!==n){if("ResourceURL"===e&&"URL"===n)return!0;throw new Error(`Required a safe ${n}, got a ${e} (see https://g.co/ng/security#xss)`)}return e===n}function Wv(t){return t instanceof Hs&&t.getTypeName()||null}function Yv(t){const n=new MO(t);return function IO(){try{return!!(new window.DOMParser).parseFromString(Zr(""),"text/html")}catch(t){return!1}}()?new SO(n):n}class SO{constructor(n){this.inertDocumentHelper=n}getInertBodyElement(n){n=""+n;try{const e=(new window.DOMParser).parseFromString(Zr(n),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(n):(e.removeChild(e.firstChild),e)}catch(e){return null}}}class MO{constructor(n){if(this.defaultDoc=n,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e);const i=this.inertDocument.createElement("body");e.appendChild(i)}}getInertBodyElement(n){const e=this.inertDocument.createElement("template");if("content"in e)return e.innerHTML=Zr(n),e;const i=this.inertDocument.createElement("body");return i.innerHTML=Zr(n),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(i),i}stripCustomNsAttrs(n){const e=n.attributes;for(let o=e.length-1;0ml(n.trim())).join(", ")}function ro(t){const n={};for(const e of t.split(","))n[e]=!0;return n}function gl(...t){const n={};for(const e of t)for(const i in e)e.hasOwnProperty(i)&&(n[i]=!0);return n}const Kv=ro("area,br,col,hr,img,wbr"),Zv=ro("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Jv=ro("rp,rt"),Sf=gl(Kv,gl(Zv,ro("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),gl(Jv,ro("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),gl(Jv,Zv)),Mf=ro("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),If=ro("srcset"),Xv=gl(Mf,If,ro("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ro("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),OO=ro("script,style,template");class NO{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(n){let e=n.firstChild,i=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?i=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,i&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let o=this.checkClobberedElement(e,e.nextSibling);if(o){e=o;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(n){const e=n.nodeName.toLowerCase();if(!Sf.hasOwnProperty(e))return this.sanitizedSomething=!0,!OO.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const i=n.attributes;for(let o=0;o"),!0}endElement(n){const e=n.nodeName.toLowerCase();Sf.hasOwnProperty(e)&&!Kv.hasOwnProperty(e)&&(this.buf.push(""))}chars(n){this.buf.push(eb(n))}checkClobberedElement(n,e){if(e&&(n.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${n.outerHTML}`);return e}}const kO=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,RO=/([^\#-~ |!])/g;function eb(t){return t.replace(/&/g,"&").replace(kO,function(n){return"&#"+(1024*(n.charCodeAt(0)-55296)+(n.charCodeAt(1)-56320)+65536)+";"}).replace(RO,function(n){return"&#"+n.charCodeAt(0)+";"}).replace(//g,">")}let Pu;function tb(t,n){let e=null;try{Pu=Pu||Yv(t);let i=n?String(n):"";e=Pu.getInertBodyElement(i);let o=5,s=i;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,i=s,s=e.innerHTML,e=Pu.getInertBodyElement(i)}while(i!==s);return Zr((new NO).sanitizeChildren(Af(e)||e))}finally{if(e){const i=Af(e)||e;for(;i.firstChild;)i.removeChild(i.firstChild)}}}function Af(t){return"content"in t&&function FO(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Ze=(()=>((Ze=Ze||{})[Ze.NONE=0]="NONE",Ze[Ze.HTML=1]="HTML",Ze[Ze.STYLE=2]="STYLE",Ze[Ze.SCRIPT=3]="SCRIPT",Ze[Ze.URL=4]="URL",Ze[Ze.RESOURCE_URL=5]="RESOURCE_URL",Ze))();function _l(t){const n=vl();return n?zv(n.sanitize(Ze.HTML,t)||""):so(t,"HTML")?zv(oi(t)):tb(Xp(),Te(t))}function we(t){const n=vl();return n?n.sanitize(Ze.URL,t)||"":so(t,"URL")?oi(t):ml(Te(t))}function vl(){const t=B();return t&&t[12]}const ob="__ngContext__";function In(t,n){t[ob]=n}function Of(t){const n=function bl(t){return t[ob]||null}(t);return n?Array.isArray(n)?n:n.lView:null}function kf(t){return t.ngOriginalError}function ZO(t,...n){t.error(...n)}class us{constructor(){this._console=console}handleError(n){const e=this._findOriginalError(n),i=function KO(t){return t&&t.ngErrorLogger||ZO}(n);i(this._console,"ERROR",n),e&&i(this._console,"ORIGINAL ERROR",e)}_findOriginalError(n){let e=n&&kf(n);for(;e&&kf(e);)e=kf(e);return e||null}}const eN=/^>|^->||--!>|)/;const aN=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(ct))();function cb(t){return t.ownerDocument.defaultView}function ao(t){return t instanceof Function?t():t}var si=(()=>((si=si||{})[si.Important=1]="Important",si[si.DashCase=2]="DashCase",si))();let Rf;function Ff(t,n){return Rf(t,n)}function yl(t){const n=t[3];return Bi(n)?n[3]:n}function Pf(t){return fb(t[13])}function Lf(t){return fb(t[4])}function fb(t){for(;null!==t&&!Bi(t);)t=t[4];return t}function Xr(t,n,e,i,o){if(null!=i){let s,r=!1;Bi(i)?s=i:no(i)&&(r=!0,i=i[0]);const a=Yt(i);0===t&&null!==e?null==o?yb(n,e,a):Us(n,e,a,o||null,!0):1===t&&null!==e?Us(n,e,a,o||null,!0):2===t?Mb(n,a,r):3===t&&n.destroyNode(a),null!=s&&function DN(t,n,e,i,o){const s=e[7];s!==Yt(e)&&Xr(n,t,i,s,o);for(let a=10;an.replace(tN,"\u200b$1\u200b"))}(n))}function Vf(t,n,e){if(Ft(t))return t.createElement(n,e);{const i=null!==e?function lx(t){const n=t.toLowerCase();return"svg"===n?"http://www.w3.org/2000/svg":"math"===n?"http://www.w3.org/1998/MathML/":null}(e):null;return null===i?t.createElement(n):t.createElementNS(i,n)}}function gb(t,n){const e=t[9],i=e.indexOf(n),o=n[3];1024&n[2]&&(n[2]&=-1025,nf(o,-1)),e.splice(i,1)}function jf(t,n){if(t.length<=10)return;const e=10+n,i=t[e];if(i){const o=i[17];null!==o&&o!==t&&gb(o,i),n>0&&(t[e-1][4]=i[4]);const s=Iu(t,10+n);!function hN(t,n){Cl(t,n,n[11],2,null,null),n[0]=null,n[6]=null}(i[1],i);const r=s[19];null!==r&&r.detachView(s[1]),i[3]=null,i[4]=null,i[2]&=-129}return i}function _b(t,n){if(!(256&n[2])){const e=n[11];Ft(e)&&e.destroyNode&&Cl(t,n,e,3,null,null),function mN(t){let n=t[13];if(!n)return Hf(t[1],t);for(;n;){let e=null;if(no(n))e=n[13];else{const i=n[10];i&&(e=i)}if(!e){for(;n&&!n[4]&&n!==t;)no(n)&&Hf(n[1],n),n=n[3];null===n&&(n=t),no(n)&&Hf(n[1],n),e=n&&n[4]}n=e}}(n)}}function Hf(t,n){if(!(256&n[2])){n[2]&=-129,n[2]|=256,function bN(t,n){let e;if(null!=t&&null!=(e=t.destroyHooks))for(let i=0;i=0?i[o=p]():i[o=-p].unsubscribe(),s+=2}else{const r=i[o=e[s+1]];e[s].call(r)}if(null!==i){for(let s=o+1;ss?"":o[g+1].toLowerCase();const y=8&i?b:null;if(y&&-1!==xb(y,p,0)||2&i&&p!==b){if(ji(i))return!1;r=!0}}}}else{if(!r&&!ji(i)&&!ji(u))return!1;if(r&&ji(u))continue;r=!1,i=u|1&i}}return ji(i)||r}function ji(t){return 0==(1&t)}function IN(t,n,e,i){if(null===n)return-1;let o=0;if(i||!e){let s=!1;for(;o-1)for(e++;e0?'="'+a+'"':"")+"]"}else 8&i?o+="."+r:4&i&&(o+=" "+r);else""!==o&&!ji(r)&&(n+=Rb(s,o),o=""),i=r,s=s||!ji(i);e++}return""!==o&&(n+=Rb(s,o)),n}const Me={};function m(t){Fb(We(),B(),Rn()+t,!1)}function Fb(t,n,e,i){if(!i)if(3==(3&n[2])){const s=t.preOrderCheckHooks;null!==s&&yu(n,s,e)}else{const s=t.preOrderHooks;null!==s&&Cu(n,s,0,e)}ls(e)}function ju(t,n){return t<<17|n<<2}function Hi(t){return t>>17&32767}function $f(t){return 2|t}function Fo(t){return(131068&t)>>2}function Wf(t,n){return-131069&t|n<<2}function Yf(t){return 1|t}function $b(t,n){const e=t.contentQueries;if(null!==e)for(let i=0;i20&&Fb(t,n,20,!1),e(i,o)}finally{ls(s)}}function Yb(t,n,e){if(Wp(n)){const o=n.directiveEnd;for(let s=n.directiveStart;s0;){const e=t[--n];if("number"==typeof e&&e<0)return e}return 0})(a)!=u&&a.push(u),a.push(i,o,r)}}function ny(t,n){null!==t.hostBindings&&t.hostBindings(1,n)}function iy(t,n){n.flags|=2,(t.components||(t.components=[])).push(n.index)}function lk(t,n,e){if(e){if(n.exportAs)for(let i=0;i0&&lm(e)}}function lm(t){for(let i=Pf(t);null!==i;i=Lf(i))for(let o=10;o0&&lm(s)}const e=t[1].components;if(null!==e)for(let i=0;i0&&lm(o)}}function mk(t,n){const e=ti(n,t),i=e[1];(function gk(t,n){for(let e=n.length;ePromise.resolve(null))();function ly(t){return t[7]||(t[7]=[])}function cy(t){return t.cleanup||(t.cleanup=[])}function uy(t,n,e){return(null===t||Vi(t))&&(e=function dx(t){for(;Array.isArray(t);){if("object"==typeof t[1])return t;t=t[0]}return null}(e[n.index])),e[11]}function dy(t,n){const e=t[9],i=e?e.get(us,null):null;i&&i.handleError(n)}function hy(t,n,e,i,o){for(let s=0;sthis.processProvider(a,n,e)),oo([n],a=>this.processInjectorType(a,[],s)),this.records.set(pm,ia(void 0,this));const r=this.records.get(fm);this.scope=null!=r?r.value:null,this.source=o||("object"==typeof n?null:at(n))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(n=>n.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(n,e=dl,i=De.Default){this.assertNotDestroyed();const o=Bv(this),s=os(void 0);try{if(!(i&De.SkipSelf)){let a=this.records.get(n);if(void 0===a){const u=function xk(t){return"function"==typeof t||"object"==typeof t&&t instanceof j}(n)&&jp(n);a=u&&this.injectableDefInScope(u)?ia(gm(n),El):null,this.records.set(n,a)}if(null!=a)return this.hydrate(n,a)}return(i&De.Self?fy():this.parent).get(n,e=i&De.Optional&&e===dl?null:e)}catch(r){if("NullInjectorError"===r.name){if((r[xu]=r[xu]||[]).unshift(at(n)),o)throw r;return function oO(t,n,e,i){const o=t[xu];throw n[Lv]&&o.unshift(n[Lv]),t.message=function sO(t,n,e,i=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.substr(2):t;let o=at(n);if(Array.isArray(n))o=n.map(at).join(" -> ");else if("object"==typeof n){let s=[];for(let r in n)if(n.hasOwnProperty(r)){let a=n[r];s.push(r+":"+("string"==typeof a?JSON.stringify(a):at(a)))}o=`{${s.join(", ")}}`}return`${e}${i?"("+i+")":""}[${o}]: ${t.replace(Xx,"\n ")}`}("\n"+t.message,o,e,i),t.ngTokenPath=o,t[xu]=null,t}(r,n,"R3InjectorError",this.source)}throw r}finally{os(s),Bv(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(n=>this.get(n))}toString(){const n=[];return this.records.forEach((i,o)=>n.push(at(o))),`R3Injector[${n.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new X(205,!1)}processInjectorType(n,e,i){if(!(n=xe(n)))return!1;let o=W1(n);const s=null==o&&n.ngModule||void 0,r=void 0===s?n:s,a=-1!==i.indexOf(r);if(void 0!==s&&(o=W1(s)),null==o)return!1;if(null!=o.imports&&!a){let f;i.push(r);try{oo(o.imports,g=>{this.processInjectorType(g,e,i)&&(void 0===f&&(f=[]),f.push(g))})}finally{}if(void 0!==f)for(let g=0;gthis.processProvider(w,b,y||ft))}}this.injectorDefTypes.add(r);const u=Vs(r)||(()=>new r);this.records.set(r,ia(u,El));const p=o.providers;if(null!=p&&!a){const f=n;oo(p,g=>this.processProvider(g,f,p))}return void 0!==s&&void 0!==n.providers}processProvider(n,e,i){let o=oa(n=xe(n))?n:xe(n&&n.provide);const s=function Ek(t,n,e){return vy(t)?ia(void 0,t.useValue):ia(_y(t),El)}(n);if(oa(n)||!0!==n.multi)this.records.get(o);else{let r=this.records.get(o);r||(r=ia(void 0,El,!0),r.factory=()=>wf(r.multi),this.records.set(o,r)),o=n,r.multi.push(n)}this.records.set(o,s)}hydrate(n,e){return e.value===El&&(e.value=Ck,e.value=e.factory()),"object"==typeof e.value&&e.value&&function Ak(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(e.value)&&this.onDestroy.add(e.value),e.value}injectableDefInScope(n){if(!n.providedIn)return!1;const e=xe(n.providedIn);return"string"==typeof e?"any"===e||e===this.scope:this.injectorDefTypes.has(e)}}function gm(t){const n=jp(t),e=null!==n?n.factory:Vs(t);if(null!==e)return e;if(t instanceof j)throw new X(204,!1);if(t instanceof Function)return function Dk(t){const n=t.length;if(n>0)throw ul(n,"?"),new X(204,!1);const e=function VA(t){const n=t&&(t[lu]||t[Y1]);if(n){const e=function jA(t){if(t.hasOwnProperty("name"))return t.name;const n=(""+t).match(/^function\s*([^\s(]+)/);return null===n?"":n[1]}(t);return console.warn(`DEPRECATED: DI is instantiating a token "${e}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${e}" class.`),n}return null}(t);return null!==e?()=>e.factory(t):()=>new t}(t);throw new X(204,!1)}function _y(t,n,e){let i;if(oa(t)){const o=xe(t);return Vs(o)||gm(o)}if(vy(t))i=()=>xe(t.useValue);else if(function Sk(t){return!(!t||!t.useFactory)}(t))i=()=>t.useFactory(...wf(t.deps||[]));else if(function Tk(t){return!(!t||!t.useExisting)}(t))i=()=>M(xe(t.useExisting));else{const o=xe(t&&(t.useClass||t.provide));if(!function Ik(t){return!!t.deps}(t))return Vs(o)||gm(o);i=()=>new o(...wf(t.deps))}return i}function ia(t,n,e=!1){return{factory:t,value:n,multi:e?[]:void 0}}function vy(t){return null!==t&&"object"==typeof t&&tO in t}function oa(t){return"function"==typeof t}let yt=(()=>{class t{static create(e,i){var o;if(Array.isArray(e))return my({name:""},i,e,"");{const s=null!==(o=e.name)&&void 0!==o?o:"";return my({name:s},e.parent,e.providers,s)}}}return t.THROW_IF_NOT_FOUND=dl,t.NULL=new py,t.\u0275prov=L({token:t,providedIn:"any",factory:()=>M(pm)}),t.__NG_ELEMENT_ID__=-1,t})();function Bk(t,n){bu(Of(t)[1],on())}function G(t){let n=function xy(t){return Object.getPrototypeOf(t.prototype).constructor}(t.type),e=!0;const i=[t];for(;n;){let o;if(Vi(t))o=n.\u0275cmp||n.\u0275dir;else{if(n.\u0275cmp)throw new X(903,"");o=n.\u0275dir}if(o){if(e){i.push(o);const r=t;r.inputs=bm(t.inputs),r.declaredInputs=bm(t.declaredInputs),r.outputs=bm(t.outputs);const a=o.hostBindings;a&&Uk(t,a);const u=o.viewQuery,p=o.contentQueries;if(u&&jk(t,u),p&&Hk(t,p),Lp(t.inputs,o.inputs),Lp(t.declaredInputs,o.declaredInputs),Lp(t.outputs,o.outputs),Vi(o)&&o.data.animation){const f=t.data;f.animation=(f.animation||[]).concat(o.data.animation)}}const s=o.features;if(s)for(let r=0;r=0;i--){const o=t[i];o.hostVars=n+=o.hostVars,o.hostAttrs=Du(o.hostAttrs,e=Du(e,o.hostAttrs))}}(i)}function bm(t){return t===Fr?{}:t===ft?[]:t}function jk(t,n){const e=t.viewQuery;t.viewQuery=e?(i,o)=>{n(i,o),e(i,o)}:n}function Hk(t,n){const e=t.contentQueries;t.contentQueries=e?(i,o,s)=>{n(i,o,s),e(i,o,s)}:n}function Uk(t,n){const e=t.hostBindings;t.hostBindings=e?(i,o)=>{n(i,o),e(i,o)}:n}let $u=null;function sa(){if(!$u){const t=ct.Symbol;if(t&&t.iterator)$u=t.iterator;else{const n=Object.getOwnPropertyNames(Map.prototype);for(let e=0;ea(Yt(V[i.index])):i.index;if(Ft(e)){let V=null;if(!a&&u&&(V=function vR(t,n,e,i){const o=t.cleanup;if(null!=o)for(let s=0;su?a[u]:null}"string"==typeof r&&(s+=2)}return null}(t,n,o,i.index)),null!==V)(V.__ngLastListenerFn__||V).__ngNextListenerFn__=s,V.__ngLastListenerFn__=s,y=!1;else{s=Im(i,n,g,s,!1);const W=e.listen(A,o,s);b.push(s,W),f&&f.push(o,k,T,T+1)}}else s=Im(i,n,g,s,!0),A.addEventListener(o,s,r),b.push(s),f&&f.push(o,k,T,r)}else s=Im(i,n,g,s,!1);const w=i.outputs;let E;if(y&&null!==w&&(E=w[o])){const S=E.length;if(S)for(let A=0;A0;)n=n[15],t--;return n}(t,Se.lFrame.contextLView))[8]}(t)}function bR(t,n){let e=null;const i=function AN(t){const n=t.attrs;if(null!=n){const e=n.indexOf(5);if(0==(1&e))return n[e+1]}return null}(t);for(let o=0;o=0}const an={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function lC(t){return t.substring(an.key,an.keyEnd)}function cC(t,n){const e=an.textEnd;return e===n?-1:(n=an.keyEnd=function SR(t,n,e){for(;n32;)n++;return n}(t,an.key=n,e),ga(t,n,e))}function ga(t,n,e){for(;n=0;e=cC(n,e))ii(t,lC(n),!0)}function Gi(t,n,e,i){const o=B(),s=We(),r=Ro(2);s.firstUpdatePass&&mC(s,t,r,i),n!==Me&&An(o,r,n)&&_C(s,s.data[Rn()],o,o[11],t,o[r+1]=function PR(t,n){return null==t||("string"==typeof n?t+=n:"object"==typeof t&&(t=at(oi(t)))),t}(n,e),i,r)}function zi(t,n,e,i){const o=We(),s=Ro(2);o.firstUpdatePass&&mC(o,null,s,i);const r=B();if(e!==Me&&An(r,s,e)){const a=o.data[Rn()];if(bC(a,i)&&!fC(o,s)){let u=i?a.classesWithoutHost:a.stylesWithoutHost;null!==u&&(e=Bp(u,e||"")),Tm(o,a,r,e,i)}else!function FR(t,n,e,i,o,s,r,a){o===Me&&(o=ft);let u=0,p=0,f=0=t.expandoStartIndex}function mC(t,n,e,i){const o=t.data;if(null===o[e+1]){const s=o[Rn()],r=fC(t,e);bC(s,i)&&null===n&&!r&&(n=!1),n=function xR(t,n,e,i){const o=lf(t);let s=i?n.residualClasses:n.residualStyles;if(null===o)0===(i?n.classBindings:n.styleBindings)&&(e=xl(e=Am(null,t,n,e,i),n.attrs,i),s=null);else{const r=n.directiveStylingLast;if(-1===r||t[r]!==o)if(e=Am(o,t,n,e,i),null===s){let u=function OR(t,n,e){const i=e?n.classBindings:n.styleBindings;if(0!==Fo(i))return t[Hi(i)]}(t,n,i);void 0!==u&&Array.isArray(u)&&(u=Am(null,t,n,u[1],i),u=xl(u,n.attrs,i),function NR(t,n,e,i){t[Hi(e?n.classBindings:n.styleBindings)]=i}(t,n,i,u))}else s=function kR(t,n,e){let i;const o=n.directiveEnd;for(let s=1+n.directiveStylingLast;s0)&&(p=!0)}else f=e;if(o)if(0!==u){const b=Hi(t[a+1]);t[i+1]=ju(b,a),0!==b&&(t[b+1]=Wf(t[b+1],i)),t[a+1]=function PN(t,n){return 131071&t|n<<17}(t[a+1],i)}else t[i+1]=ju(a,0),0!==a&&(t[a+1]=Wf(t[a+1],i)),a=i;else t[i+1]=ju(u,0),0===a?a=i:t[u+1]=Wf(t[u+1],i),u=i;p&&(t[i+1]=$f(t[i+1])),aC(t,f,i,!0),aC(t,f,i,!1),function CR(t,n,e,i,o){const s=o?t.residualClasses:t.residualStyles;null!=s&&"string"==typeof n&&Qr(s,n)>=0&&(e[i+1]=Yf(e[i+1]))}(n,f,t,i,s),r=ju(a,u),s?n.classBindings=r:n.styleBindings=r}(o,s,n,e,r,i)}}function Am(t,n,e,i,o){let s=null;const r=e.directiveEnd;let a=e.directiveStylingLast;for(-1===a?a=e.directiveStart:a++;a0;){const u=t[o],p=Array.isArray(u),f=p?u[1]:u,g=null===f;let b=e[o+1];b===Me&&(b=g?ft:void 0);let y=g?bf(b,i):f===i?b:void 0;if(p&&!Qu(y)&&(y=bf(u,i)),Qu(y)&&(a=y,r))return a;const w=t[o+1];o=r?Hi(w):Fo(w)}if(null!==n){let u=s?n.residualClasses:n.residualStyles;null!=u&&(a=bf(u,i))}return a}function Qu(t){return void 0!==t}function bC(t,n){return 0!=(t.flags&(n?16:32))}function d(t,n=""){const e=B(),i=We(),o=t+20,s=i.firstCreatePass?ea(i,o,1,n,null):i.data[o],r=e[o]=Bf(e[11],n);Bu(i,e,r,s),io(s,!1)}function le(t){return U("",t,""),le}function U(t,n,e){const i=B(),o=aa(i,t,n,e);return o!==Me&&Po(i,Rn(),o),U}function cn(t,n,e,i,o){const s=B(),r=function la(t,n,e,i,o,s){const a=Gs(t,ko(),e,o);return Ro(2),a?n+Te(e)+i+Te(o)+s:Me}(s,t,n,e,i,o);return r!==Me&&Po(s,Rn(),r),cn}function Di(t,n,e){const i=B();return An(i,Hr(),n)&&ri(We(),Pt(),i,t,n,i[11],e,!0),Di}function Ku(t,n,e){const i=B();if(An(i,Hr(),n)){const s=We(),r=Pt();ri(s,r,i,t,n,uy(lf(s.data),r,i),e,!0)}return Ku}const qs=void 0;var tF=["en",[["a","p"],["AM","PM"],qs],[["AM","PM"],qs,qs],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],qs,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],qs,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",qs,"{1} 'at' {0}",qs],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function eF(t){const e=Math.floor(Math.abs(t)),i=t.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===i?1:5}];let _a={};function LC(t){return function Pn(t){const n=function nF(t){return t.toLowerCase().replace(/_/g,"-")}(t);let e=BC(n);if(e)return e;const i=n.split("-")[0];if(e=BC(i),e)return e;if("en"===i)return tF;throw new Error(`Missing locale data for the locale "${t}".`)}(t)[Q.PluralCase]}function BC(t){return t in _a||(_a[t]=ct.ng&&ct.ng.common&&ct.ng.common.locales&&ct.ng.common.locales[t]),_a[t]}var Q=(()=>((Q=Q||{})[Q.LocaleId=0]="LocaleId",Q[Q.DayPeriodsFormat=1]="DayPeriodsFormat",Q[Q.DayPeriodsStandalone=2]="DayPeriodsStandalone",Q[Q.DaysFormat=3]="DaysFormat",Q[Q.DaysStandalone=4]="DaysStandalone",Q[Q.MonthsFormat=5]="MonthsFormat",Q[Q.MonthsStandalone=6]="MonthsStandalone",Q[Q.Eras=7]="Eras",Q[Q.FirstDayOfWeek=8]="FirstDayOfWeek",Q[Q.WeekendRange=9]="WeekendRange",Q[Q.DateFormat=10]="DateFormat",Q[Q.TimeFormat=11]="TimeFormat",Q[Q.DateTimeFormat=12]="DateTimeFormat",Q[Q.NumberSymbols=13]="NumberSymbols",Q[Q.NumberFormats=14]="NumberFormats",Q[Q.CurrencyCode=15]="CurrencyCode",Q[Q.CurrencySymbol=16]="CurrencySymbol",Q[Q.CurrencyName=17]="CurrencyName",Q[Q.Currencies=18]="Currencies",Q[Q.Directionality=19]="Directionality",Q[Q.PluralCase=20]="PluralCase",Q[Q.ExtraData=21]="ExtraData",Q))();const iF=["zero","one","two","few","many"],Zu="en-US",Ju={marker:"element"},Xu={marker:"ICU"};var Lt=(()=>((Lt=Lt||{})[Lt.SHIFT=2]="SHIFT",Lt[Lt.APPEND_EAGERLY=1]="APPEND_EAGERLY",Lt[Lt.COMMENT=2]="COMMENT",Lt))();let VC=Zu;function jC(t,n,e){const i=n.insertBeforeIndex,o=Array.isArray(i)?i[0]:i;return null===o?Db(t,0,e):Yt(e[o])}function HC(t,n,e,i,o){const s=n.insertBeforeIndex;if(Array.isArray(s)){let r=i,a=null;if(3&n.type||(a=r,r=o),null!==r&&0==(2&n.flags))for(let u=1;u1)for(let e=t.length-2;e>=0;e--){const i=t[e];GC(i)||lF(i,n)&&null===cF(i)&&uF(i,n.index)}}function GC(t){return!(64&t.type)}function lF(t,n){return GC(n)||t.index>n.index}function cF(t){const n=t.insertBeforeIndex;return Array.isArray(n)?n[0]:n}function uF(t,n){const e=t.insertBeforeIndex;Array.isArray(e)?e[0]=n:(Tb(jC,HC),t.insertBeforeIndex=n)}function Ol(t,n){const e=t.data[n];return null===e||"string"==typeof e?null:e.hasOwnProperty("currentCaseLViewIndex")?e:e.value}function pF(t,n,e){const i=im(t,e,64,null,null);return UC(n,i),i}function ed(t,n){const e=n[t.currentCaseLViewIndex];return null===e?e:e<0?~e:e}function zC(t){return t>>>17}function qC(t){return(131070&t)>>>1}let Nl=0,kl=0;function WC(t,n,e,i){const o=e[11];let r,s=null;for(let a=0;a>>1,e),null,null,y,w,null)}else switch(u){case Xu:const p=n[++a],f=n[++a];null===e[f]&&In(e[f]=dN(o,p),e);break;case Ju:const g=n[++a],b=n[++a];null===e[b]&&In(e[b]=Vf(o,g,null),e)}}}function YC(t,n,e,i,o){for(let s=0;s>>2;switch(3&f){case 1:const b=e[++p],y=e[++p],w=t.data[g];"string"==typeof w?am(n[11],n[g],null,w,b,u,y):ri(t,w,n,b,u,n[11],y,!1);break;case 0:const E=n[g];null!==E&&mb(n[11],E,u);break;case 2:vF(t,Ol(t,g),n,u);break;case 3:QC(t,Ol(t,g),i,n)}}}}else{const u=e[s+1];if(u>0&&3==(3&u)){const f=Ol(t,u>>>2);n[f.currentCaseLViewIndex]<0&&QC(t,f,i,n)}}s+=a}}function QC(t,n,e,i){let o=i[n.currentCaseLViewIndex];if(null!==o){let s=Nl;o<0&&(o=i[n.currentCaseLViewIndex]=~o,s=-1),YC(t,i,n.update[o],e,s)}}function vF(t,n,e,i){const o=function bF(t,n){let e=t.cases.indexOf(n);if(-1===e)switch(t.type){case 1:{const i=function oF(t,n){const e=LC(n)(parseInt(t,10)),i=iF[e];return void 0!==i?i:"other"}(n,function aF(){return VC}());e=t.cases.indexOf(i),-1===e&&"other"!==i&&(e=t.cases.indexOf("other"));break}case 0:e=t.cases.indexOf("other")}return-1===e?null:e}(n,i);if(ed(n,e)!==o&&(KC(t,n,e),e[n.currentCaseLViewIndex]=null===o?null:~o,null!==o)){const r=e[n.anchorIdx];r&&WC(t,n.create[o],e,r)}}function KC(t,n,e){let i=ed(n,e);if(null!==i){const o=n.remove[i];for(let s=0;s0){const a=mu(r,e);null!==a&&Mb(e[11],a)}else KC(t,Ol(t,~r),e)}}}function yF(){const t=[];let e,i,n=-1;function s(a,u){n=0;const p=ed(a,u);i=null!==p?a.remove[p]:ft}function r(){if(n0?e[a]:(t.push(n,i),s(e[1].data[~a],e),r())}return 0===t.length?null:(i=t.pop(),n=t.pop(),r())}return function o(a,u){for(e=u;t.length;)t.pop();return s(a.value,u),r}}const td=/\ufffd(\d+):?\d*\ufffd/gi,wF=/\ufffd(\d+)\ufffd/,JC=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,DF=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,EF=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,TF=/\uE500/g;function XC(t,n,e,i,o,s,r){const a=ta(t,i,1,null);let u=a<e.length&&e.push(u)}return{type:i,mainBinding:o,cases:n,values:e}}function xm(t){if(!t)return[];let n=0;const e=[],i=[],o=/[{}]/g;let s;for(o.lastIndex=0;s=o.exec(t);){const a=s.index;if("}"==s[0]){if(e.pop(),0==e.length){const u=t.substring(n,a);JC.test(u)?i.push(kF(u)):i.push(u),n=a+1}}else{if(0==e.length){const u=t.substring(n,a);i.push(u),n=a+1}e.push("{")}}const r=t.substring(n);return i.push(r),i}function RF(t,n,e,i,o,s,r,a){const u=[],p=[],f=[];n.cases.push(s),n.create.push(u),n.remove.push(p),n.update.push(f);const b=Yv(Xp()).getInertBodyElement(r),y=Af(b)||b;return y?o2(t,n,e,i,u,p,f,y,o,a,0):0}function o2(t,n,e,i,o,s,r,a,u,p,f){let g=0,b=a.firstChild;for(;b;){const y=ta(t,e,1,null);switch(b.nodeType){case Node.ELEMENT_NODE:const w=b,E=w.tagName.toLowerCase();if(Sf.hasOwnProperty(E)){Om(o,Ju,E,u,y),t.data[y]=E;const k=w.attributes;for(let V=0;V>>Lt.SHIFT;let g=t[f];null===g&&(g=t[f]=u?o.createComment(a):Bf(o,a)),p&&null!==e&&Us(o,e,g,i,!1)}})(o,u.create,f,a&&8&a.type?o[a.index]:null),hv(!0)}function ps(t,n,e){a2(t,n,e),function l2(){hv(!1)}()}function Nm(t){return function mF(t){t&&(Nl|=1<>20;if(oa(t)||!t.multi){const y=new ol(u,o,_),w=Fm(a,n,o?f:f+b,g);-1===w?(Su(rl(p,r),s,a),Rm(s,t,n.length),n.push(a),p.directiveStart++,p.directiveEnd++,o&&(p.providerIndexes+=1048576),e.push(y),r.push(y)):(e[w]=y,r[w]=y)}else{const y=Fm(a,n,f+b,g),w=Fm(a,n,f,f+b),E=y>=0&&e[y],S=w>=0&&e[w];if(o&&!S||!o&&!E){Su(rl(p,r),s,a);const A=function JF(t,n,e,i,o){const s=new ol(t,e,_);return s.multi=[],s.index=n,s.componentProviders=0,u2(s,o,i&&!e),s}(o?ZF:KF,e.length,o,i,u);!o&&S&&(e[w].providerFactory=A),Rm(s,t,n.length,0),n.push(a),p.directiveStart++,p.directiveEnd++,o&&(p.providerIndexes+=1048576),e.push(A),r.push(A)}else Rm(s,t,y>-1?y:w,u2(e[o?w:y],u,!o&&i));!o&&i&&S&&e[w].componentProviders++}}}function Rm(t,n,e,i){const o=oa(n),s=function Mk(t){return!!t.useClass}(n);if(o||s){const u=(s?xe(n.useClass):n).prototype.ngOnDestroy;if(u){const p=t.destroyHooks||(t.destroyHooks=[]);if(!o&&n.multi){const f=p.indexOf(e);-1===f?p.push(e,[i,u]):p[f+1].push(i,u)}else p.push(e,u)}}}function u2(t,n,e){return e&&t.componentProviders++,t.multi.push(n)-1}function Fm(t,n,e,i){for(let o=e;o{e.providersResolver=(i,o)=>function QF(t,n,e){const i=We();if(i.firstCreatePass){const o=Vi(t);km(e,i.data,i.blueprint,o,!0),km(n,i.data,i.blueprint,o,!1)}}(i,o?o(t):t,n)}}class d2{}class t4{resolveComponentFactory(n){throw function e4(t){const n=Error(`No component factory found for ${at(t)}. Did you add it to @NgModule.entryComponents?`);return n.ngComponent=t,n}(n)}}let po=(()=>{class t{}return t.NULL=new t4,t})();function n4(){return ba(on(),B())}function ba(t,n){return new K(bi(t,n))}let K=(()=>{class t{constructor(e){this.nativeElement=e}}return t.__NG_ELEMENT_ID__=n4,t})();function o4(t){return t instanceof K?t.nativeElement:t}class ya{}let ai=(()=>{class t{}return t.__NG_ELEMENT_ID__=()=>function r4(){const t=B(),e=ti(on().index,t);return function s4(t){return t[11]}(no(e)?e:t)}(),t})(),a4=(()=>{class t{}return t.\u0275prov=L({token:t,providedIn:"root",factory:()=>null}),t})();class $s{constructor(n){this.full=n,this.major=n.split(".")[0],this.minor=n.split(".")[1],this.patch=n.split(".").slice(2).join(".")}}const l4=new $s("13.3.11"),Lm={};function nd(t,n,e,i,o=!1){for(;null!==e;){const s=n[e.index];if(null!==s&&i.push(Yt(s)),Bi(s))for(let a=10;a-1&&(jf(n,i),Iu(e,i))}this._attachedToViewContainer=!1}_b(this._lView[1],this._lView)}onDestroy(n){Jb(this._lView[1],this._lView,null,n)}markForCheck(){cm(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){!function dm(t,n,e){const i=n[10];i.begin&&i.begin();try{na(t,n,t.template,e)}catch(o){throw dy(n,o),o}finally{i.end&&i.end()}}(this._lView[1],this._lView,this.context)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new X(902,"");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function fN(t,n){Cl(t,n,n[11],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(n){if(this._attachedToViewContainer)throw new X(902,"");this._appRef=n}}class c4 extends Fl{constructor(n){super(n),this._view=n}detectChanges(){ay(this._view)}checkNoChanges(){}get context(){return null}}class p2 extends po{constructor(n){super(),this.ngModule=n}resolveComponentFactory(n){const e=Sn(n);return new Bm(e,this.ngModule)}}function f2(t){const n=[];for(let e in t)t.hasOwnProperty(e)&&n.push({propName:t[e],templateName:e});return n}class Bm extends d2{constructor(n,e){super(),this.componentDef=n,this.ngModule=e,this.componentType=n.type,this.selector=function RN(t){return t.map(kN).join(",")}(n.selectors),this.ngContentSelectors=n.ngContentSelectors?n.ngContentSelectors:[],this.isBoundToModule=!!e}get inputs(){return f2(this.componentDef.inputs)}get outputs(){return f2(this.componentDef.outputs)}create(n,e,i,o){const s=(o=o||this.ngModule)?function d4(t,n){return{get:(e,i,o)=>{const s=t.get(e,Lm,o);return s!==Lm||i===Lm?s:n.get(e,i,o)}}}(n,o.injector):n,r=s.get(ya,sv),a=s.get(a4,null),u=r.createRenderer(null,this.componentDef),p=this.componentDef.selectors[0][0]||"div",f=i?function Zb(t,n,e){if(Ft(t))return t.selectRootElement(n,e===Pi.ShadowDom);let i="string"==typeof n?t.querySelector(n):n;return i.textContent="",i}(u,i,this.componentDef.encapsulation):Vf(r.createRenderer(null,this.componentDef),p,function u4(t){const n=t.toLowerCase();return"svg"===n?"svg":"math"===n?"math":null}(p)),g=this.componentDef.onPush?576:528,b=function Ay(t,n){return{components:[],scheduler:t||aN,clean:vk,playerHandler:n||null,flags:0}}(),y=Gu(0,null,null,1,0,null,null,null,null,null),w=wl(null,y,b,g,null,null,r,u,a,s);let E,S;_u(w);try{const A=function My(t,n,e,i,o,s){const r=e[1];e[20]=t;const u=ea(r,20,2,"#host",null),p=u.mergedAttrs=n.hostAttrs;null!==p&&(qu(u,p,!0),null!==t&&(wu(o,t,p),null!==u.classes&&qf(o,t,u.classes),null!==u.styles&&Ab(o,t,u.styles)));const f=i.createRenderer(t,n),g=wl(e,Qb(n),null,n.onPush?64:16,e[20],u,i,f,s||null,null);return r.firstCreatePass&&(Su(rl(u,e),r,n.type),iy(r,u),oy(u,e.length,1)),zu(e,g),e[20]=g}(f,this.componentDef,w,r,u);if(f)if(i)wu(u,f,["ng-version",l4.full]);else{const{attrs:T,classes:k}=function FN(t){const n=[],e=[];let i=1,o=2;for(;i0&&qf(u,f,k.join(" "))}if(S=ef(y,20),void 0!==e){const T=S.projection=[];for(let k=0;ku(r,n)),n.contentQueries){const u=on();n.contentQueries(1,r,u.directiveStart)}const a=on();return!s.firstCreatePass||null===n.hostBindings&&null===n.hostAttrs||(ls(a.index),ty(e[1],a,0,a.directiveStart,a.directiveEnd,n),ny(n,r)),r}(A,this.componentDef,w,b,[Bk]),Dl(y,w,null)}finally{vu()}return new p4(this.componentType,E,ba(S,w),w,S)}}class p4 extends class XF{}{constructor(n,e,i,o,s){super(),this.location=i,this._rootLView=o,this._tNode=s,this.instance=e,this.hostView=this.changeDetectorRef=new c4(o),this.componentType=n}get injector(){return new zr(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(n){this.hostView.onDestroy(n)}}class Lo{}class m2{}const Ca=new Map;class v2 extends Lo{constructor(n,e){super(),this._parent=e,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new p2(this);const i=gi(n);this._bootstrapComponents=ao(i.bootstrap),this._r3Injector=gy(n,e,[{provide:Lo,useValue:this},{provide:po,useValue:this.componentFactoryResolver}],at(n)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(n)}get(n,e=yt.THROW_IF_NOT_FOUND,i=De.Default){return n===yt||n===Lo||n===pm?this:this._r3Injector.get(n,e,i)}destroy(){const n=this._r3Injector;!n.destroyed&&n.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(n){this.destroyCbs.push(n)}}class Vm extends m2{constructor(n){super(),this.moduleType=n,null!==gi(n)&&function m4(t){const n=new Set;!function e(i){const o=gi(i,!0),s=o.id;null!==s&&(function g2(t,n,e){if(n&&n!==e)throw new Error(`Duplicate module registered for ${t} - ${at(n)} vs ${at(n.name)}`)}(s,Ca.get(s),i),Ca.set(s,i));const r=ao(o.imports);for(const a of r)n.has(a)||(n.add(a),e(a))}(t)}(n)}create(n){return new v2(this.moduleType,n)}}function O(t,n,e){const i=kn()+t,o=B();return o[i]===Me?co(o,i,e?n.call(e):n()):function Sl(t,n){return t[n]}(o,i)}function mn(t,n,e,i){return y2(B(),kn(),t,n,e,i)}function fo(t,n,e,i,o){return function C2(t,n,e,i,o,s,r){const a=n+e;return Gs(t,a,o,s)?co(t,a+2,r?i.call(r,o,s):i(o,s)):Pl(t,a+2)}(B(),kn(),t,n,e,i,o)}function Ws(t,n,e,i,o,s){return function w2(t,n,e,i,o,s,r,a){const u=n+e;return function Wu(t,n,e,i,o){const s=Gs(t,n,e,i);return An(t,n+2,o)||s}(t,u,o,s,r)?co(t,u+3,a?i.call(a,o,s,r):i(o,s,r)):Pl(t,u+3)}(B(),kn(),t,n,e,i,o,s)}function b2(t,n,e,i,o,s,r){return function D2(t,n,e,i,o,s,r,a,u){const p=n+e;return function wi(t,n,e,i,o,s){const r=Gs(t,n,e,i);return Gs(t,n+2,o,s)||r}(t,p,o,s,r,a)?co(t,p+4,u?i.call(u,o,s,r,a):i(o,s,r,a)):Pl(t,p+4)}(B(),kn(),t,n,e,i,o,s,r)}function Pl(t,n){const e=t[n];return e===Me?void 0:e}function y2(t,n,e,i,o,s){const r=n+e;return An(t,r,o)?co(t,r+1,s?i.call(s,o):i(o)):Pl(t,r+1)}function fs(t,n){const e=We();let i;const o=t+20;e.firstCreatePass?(i=function C4(t,n){if(n)for(let e=n.length-1;e>=0;e--){const i=n[e];if(t===i.name)return i}}(n,e.pipeRegistry),e.data[o]=i,i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(o,i.onDestroy)):i=e.data[o];const s=i.factory||(i.factory=Vs(i.type)),r=os(_);try{const a=Eu(!1),u=s();return Eu(a),function Kk(t,n,e,i){e>=t.data.length&&(t.data[e]=null,t.blueprint[e]=null),n[e]=i}(e,B(),o,u),u}finally{os(r)}}function ms(t,n,e){const i=t+20,o=B(),s=jr(o,i);return function Ll(t,n){return t[1].data[n].pure}(o,i)?y2(o,kn(),n,s.transform,e,s):s.transform(e)}function jm(t){return n=>{setTimeout(t,void 0,n)}}const H=class S4 extends ${constructor(n=!1){super(),this.__isAsync=n}emit(n){super.next(n)}subscribe(n,e,i){var o,s,r;let a=n,u=e||(()=>null),p=i;if(n&&"object"==typeof n){const g=n;a=null===(o=g.next)||void 0===o?void 0:o.bind(g),u=null===(s=g.error)||void 0===s?void 0:s.bind(g),p=null===(r=g.complete)||void 0===r?void 0:r.bind(g)}this.__isAsync&&(u=jm(u),a&&(a=jm(a)),p&&(p=jm(p)));const f=super.subscribe({next:a,error:u,complete:p});return n instanceof Je&&n.add(f),f}};function M4(){return this._results[sa()]()}class Ys{constructor(n=!1){this._emitDistinctChangesOnly=n,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=sa(),i=Ys.prototype;i[e]||(i[e]=M4)}get changes(){return this._changes||(this._changes=new H)}get(n){return this._results[n]}map(n){return this._results.map(n)}filter(n){return this._results.filter(n)}find(n){return this._results.find(n)}reduce(n,e){return this._results.reduce(n,e)}forEach(n){this._results.forEach(n)}some(n){return this._results.some(n)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(n,e){const i=this;i.dirty=!1;const o=yi(n);(this._changesDetected=!function zx(t,n,e){if(t.length!==n.length)return!1;for(let i=0;i{class t{}return t.__NG_ELEMENT_ID__=x4,t})();const I4=ce,A4=class extends I4{constructor(n,e,i){super(),this._declarationLView=n,this._declarationTContainer=e,this.elementRef=i}createEmbeddedView(n){const e=this._declarationTContainer.tViews,i=wl(this._declarationLView,e,n,16,null,e.declTNode,null,null,null,null);i[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(i[19]=s.createEmbeddedView(e)),Dl(e,i,n),new Fl(i)}};function x4(){return id(on(),B())}function id(t,n){return 4&t.type?new A4(n,t,ba(t,n)):null}let Bt=(()=>{class t{}return t.__NG_ELEMENT_ID__=O4,t})();function O4(){return M2(on(),B())}const N4=Bt,T2=class extends N4{constructor(n,e,i){super(),this._lContainer=n,this._hostTNode=e,this._hostLView=i}get element(){return ba(this._hostTNode,this._hostLView)}get injector(){return new zr(this._hostTNode,this._hostLView)}get parentInjector(){const n=Tu(this._hostTNode,this._hostLView);if(wv(n)){const e=Gr(n,this._hostLView),i=Ur(n);return new zr(e[1].data[i+8],e)}return new zr(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(n){const e=S2(this._lContainer);return null!==e&&e[n]||null}get length(){return this._lContainer.length-10}createEmbeddedView(n,e,i){const o=n.createEmbeddedView(e||{});return this.insert(o,i),o}createComponent(n,e,i,o,s){const r=n&&!function cl(t){return"function"==typeof t}(n);let a;if(r)a=e;else{const g=e||{};a=g.index,i=g.injector,o=g.projectableNodes,s=g.ngModuleRef}const u=r?n:new Bm(Sn(n)),p=i||this.parentInjector;if(!s&&null==u.ngModule){const b=(r?p:this.parentInjector).get(Lo,null);b&&(s=b)}const f=u.create(p,o,void 0,s);return this.insert(f.hostView,a),f}insert(n,e){const i=n._lView,o=i[1];if(function px(t){return Bi(t[3])}(i)){const f=this.indexOf(n);if(-1!==f)this.detach(f);else{const g=i[3],b=new T2(g,g[6],g[3]);b.detach(b.indexOf(n))}}const s=this._adjustIndex(e),r=this._lContainer;!function gN(t,n,e,i){const o=10+i,s=e.length;i>0&&(e[o-1][4]=n),i0)i.push(r[a/2]);else{const p=s[a+1],f=n[-u];for(let g=10;g{class t{constructor(e){this.appInits=e,this.resolve=rd,this.reject=rd,this.initialized=!1,this.done=!1,this.donePromise=new Promise((i,o)=>{this.resolve=i,this.reject=o})}runInitializers(){if(this.initialized)return;const e=[],i=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o{s.subscribe({complete:a,error:u})});e.push(r)}}Promise.all(e).then(()=>{i()}).catch(o=>{this.reject(o)}),0===e.length&&i(),this.initialized=!0}}return t.\u0275fac=function(e){return new(e||t)(M(Jm,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const Vl=new j("AppId",{providedIn:"root",factory:function Q2(){return`${eg()}${eg()}${eg()}`}});function eg(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const K2=new j("Platform Initializer"),Da=new j("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),Z2=new j("appBootstrapListener");let o5=(()=>{class t{log(e){console.log(e)}warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();const Bo=new j("LocaleId",{providedIn:"root",factory:()=>Ou(Bo,De.Optional|De.SkipSelf)||function s5(){return"undefined"!=typeof $localize&&$localize.locale||Zu}()});class a5{constructor(n,e){this.ngModuleFactory=n,this.componentFactories=e}}let J2=(()=>{class t{compileModuleSync(e){return new Vm(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const i=this.compileModuleSync(e),s=ao(gi(e).declarations).reduce((r,a)=>{const u=Sn(a);return u&&r.push(new Bm(u)),r},[]);return new a5(i,s)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const c5=(()=>Promise.resolve(0))();function tg(t){"undefined"==typeof Zone?c5.then(()=>{t&&t.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",t)}class se{constructor({enableLongStackTrace:n=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:i=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new H(!1),this.onMicrotaskEmpty=new H(!1),this.onStable=new H(!1),this.onError=new H(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!i&&e,o.shouldCoalesceRunChangeDetection=i,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function u5(){let t=ct.requestAnimationFrame,n=ct.cancelAnimationFrame;if("undefined"!=typeof Zone&&t&&n){const e=t[Zone.__symbol__("OriginalDelegate")];e&&(t=e);const i=n[Zone.__symbol__("OriginalDelegate")];i&&(n=i)}return{nativeRequestAnimationFrame:t,nativeCancelAnimationFrame:n}}().nativeRequestAnimationFrame,function p5(t){const n=()=>{!function h5(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(ct,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,ig(t),t.isCheckStableRunning=!0,ng(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),ig(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,i,o,s,r,a)=>{try{return X2(t),e.invokeTask(o,s,r,a)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||t.shouldCoalesceRunChangeDetection)&&n(),ew(t)}},onInvoke:(e,i,o,s,r,a,u)=>{try{return X2(t),e.invoke(o,s,r,a,u)}finally{t.shouldCoalesceRunChangeDetection&&n(),ew(t)}},onHasTask:(e,i,o,s)=>{e.hasTask(o,s),i===o&&("microTask"==s.change?(t._hasPendingMicrotasks=s.microTask,ig(t),ng(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,i,o,s)=>(e.handleError(o,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}(o)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!se.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(se.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(n,e,i){return this._inner.run(n,e,i)}runTask(n,e,i,o){const s=this._inner,r=s.scheduleEventTask("NgZoneEvent: "+o,n,d5,rd,rd);try{return s.runTask(r,e,i)}finally{s.cancelTask(r)}}runGuarded(n,e,i){return this._inner.runGuarded(n,e,i)}runOutsideAngular(n){return this._outer.run(n)}}const d5={};function ng(t){if(0==t._nesting&&!t.hasPendingMicrotasks&&!t.isStable)try{t._nesting++,t.onMicrotaskEmpty.emit(null)}finally{if(t._nesting--,!t.hasPendingMicrotasks)try{t.runOutsideAngular(()=>t.onStable.emit(null))}finally{t.isStable=!0}}}function ig(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function X2(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function ew(t){t._nesting--,ng(t)}class f5{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new H,this.onMicrotaskEmpty=new H,this.onStable=new H,this.onError=new H}run(n,e,i){return n.apply(e,i)}runGuarded(n,e,i){return n.apply(e,i)}runOutsideAngular(n){return n()}runTask(n,e,i,o){return n.apply(e,i)}}let og=(()=>{class t{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{se.assertNotInAngularZone(),tg(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())tg(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(i=>!i.updateCb||!i.updateCb(e)||(clearTimeout(i.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,i,o){let s=-1;i&&i>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(r=>r.timeoutId!==s),e(this._didWork,this.getPendingTasks())},i)),this._callbacks.push({doneCb:e,timeoutId:s,updateCb:o})}whenStable(e,i,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(e,i,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,i,o){return[]}}return t.\u0275fac=function(e){return new(e||t)(M(se))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),m5=(()=>{class t{constructor(){this._applications=new Map,sg.addToWindow(this)}registerApplication(e,i){this._applications.set(e,i)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,i=!0){return sg.findTestabilityInTree(this,e,i)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();class g5{addToWindow(n){}findTestabilityInTree(n,e,i){return null}}let sg=new g5,Qs=null;const tw=new j("AllowMultipleToken"),nw=new j("PlatformOnDestroy");class iw{constructor(n,e){this.name=n,this.token=e}}function ow(t,n,e=[]){const i=`Platform: ${n}`,o=new j(i);return(s=[])=>{let r=rg();if(!r||r.injector.get(tw,!1)){const a=[...e,...s,{provide:o,useValue:!0}];t?t(a):function y5(t){if(Qs&&!Qs.get(tw,!1))throw new X(400,"");Qs=t;const n=t.get(sw),e=t.get(K2,null);e&&e.forEach(i=>i())}(function w5(t=[],n){return yt.create({name:n,providers:[{provide:fm,useValue:"platform"},{provide:nw,useValue:()=>Qs=null},...t]})}(a,i))}return function C5(t){const n=rg();if(!n)throw new X(401,"");return n}()}}function rg(){var t;return null!==(t=null==Qs?void 0:Qs.get(sw))&&void 0!==t?t:null}let sw=(()=>{class t{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,i){const a=function D5(t,n){let e;return e="noop"===t?new f5:("zone.js"===t?void 0:t)||new se({enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:!!(null==n?void 0:n.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==n?void 0:n.ngZoneRunCoalescing)}),e}(i?i.ngZone:void 0,{ngZoneEventCoalescing:i&&i.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:i&&i.ngZoneRunCoalescing||!1}),u=[{provide:se,useValue:a}];return a.run(()=>{const p=yt.create({providers:u,parent:this.injector,name:e.moduleType.name}),f=e.create(p),g=f.injector.get(us,null);if(!g)throw new X(402,"");return a.runOutsideAngular(()=>{const b=a.onError.subscribe({next:y=>{g.handleError(y)}});f.onDestroy(()=>{ag(this._modules,f),b.unsubscribe()})}),function E5(t,n,e){try{const i=e();return Ml(i)?i.catch(o=>{throw n.runOutsideAngular(()=>t.handleError(o)),o}):i}catch(i){throw n.runOutsideAngular(()=>t.handleError(i)),i}}(g,a,()=>{const b=f.injector.get(Xm);return b.runInitializers(),b.donePromise.then(()=>(function rF(t){(function Xn(t,n){null==t&&pt(n,t,null,"!=")})(t,"Expected localeId to be defined"),"string"==typeof t&&(VC=t.toLowerCase().replace(/_/g,"-"))}(f.injector.get(Bo,Zu)||Zu),this._moduleDoBootstrap(f),f))})})}bootstrapModule(e,i=[]){const o=rw({},i);return function v5(t,n,e){const i=new Vm(e);return Promise.resolve(i)}(0,0,e).then(s=>this.bootstrapModuleFactory(s,o))}_moduleDoBootstrap(e){const i=e.injector.get(Ks);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(o=>i.bootstrap(o));else{if(!e.instance.ngDoBootstrap)throw new X(403,"");e.instance.ngDoBootstrap(i)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new X(404,"");this._modules.slice().forEach(i=>i.destroy()),this._destroyListeners.forEach(i=>i());const e=this._injector.get(nw,null);null==e||e(),this._destroyed=!0}get destroyed(){return this._destroyed}}return t.\u0275fac=function(e){return new(e||t)(M(yt))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"platform"}),t})();function rw(t,n){return Array.isArray(n)?n.reduce(rw,t):Object.assign(Object.assign({},t),n)}let Ks=(()=>{class t{constructor(e,i,o,s){this._zone=e,this._injector=i,this._exceptionHandler=o,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const r=new Qe(u=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{u.next(this._stable),u.complete()})}),a=new Qe(u=>{let p;this._zone.runOutsideAngular(()=>{p=this._zone.onStable.subscribe(()=>{se.assertNotInAngularZone(),tg(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,u.next(!0))})})});const f=this._zone.onUnstable.subscribe(()=>{se.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{u.next(!1)}))});return()=>{p.unsubscribe(),f.unsubscribe()}});this.isStable=bn(r,a.pipe(z1()))}bootstrap(e,i){if(!this._initStatus.done)throw new X(405,"");let o;o=e instanceof d2?e:this._injector.get(po).resolveComponentFactory(e),this.componentTypes.push(o.componentType);const s=function b5(t){return t.isBoundToModule}(o)?void 0:this._injector.get(Lo),a=o.create(yt.NULL,[],i||o.selector,s),u=a.location.nativeElement,p=a.injector.get(og,null),f=p&&a.injector.get(m5);return p&&f&&f.registerApplication(u,p),a.onDestroy(()=>{this.detachView(a.hostView),ag(this.components,a),f&&f.unregisterApplication(u)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new X(101,"");try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const i=e;this._views.push(i),i.attachToAppRef(this)}detachView(e){const i=e;ag(this._views,i),i.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Z2,[]).concat(this._bootstrapListeners).forEach(o=>o(e))}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return t.\u0275fac=function(e){return new(e||t)(M(se),M(yt),M(us),M(Xm))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function ag(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}let lw=!0,Ke=(()=>{class t{}return t.__NG_ELEMENT_ID__=M5,t})();function M5(t){return function I5(t,n,e){if(pu(t)&&!e){const i=ti(t.index,n);return new Fl(i,i)}return 47&t.type?new Fl(n[16],n):null}(on(),B(),16==(16&t))}class pw{constructor(){}supports(n){return Tl(n)}create(n){return new R5(n)}}const k5=(t,n)=>n;class R5{constructor(n){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=n||k5}forEachItem(n){let e;for(e=this._itHead;null!==e;e=e._next)n(e)}forEachOperation(n){let e=this._itHead,i=this._removalsHead,o=0,s=null;for(;e||i;){const r=!i||e&&e.currentIndex{r=this._trackByFn(o,a),null!==e&&Object.is(e.trackById,r)?(i&&(e=this._verifyReinsertion(e,a,r,o)),Object.is(e.item,a)||this._addIdentityChange(e,a)):(e=this._mismatch(e,a,r,o),i=!0),e=e._next,o++}),this.length=o;return this._truncate(e),this.collection=n,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let n;for(n=this._previousItHead=this._itHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._additionsHead;null!==n;n=n._nextAdded)n.previousIndex=n.currentIndex;for(this._additionsHead=this._additionsTail=null,n=this._movesHead;null!==n;n=n._nextMoved)n.previousIndex=n.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(n,e,i,o){let s;return null===n?s=this._itTail:(s=n._prev,this._remove(n)),null!==(n=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._reinsertAfter(n,s,o)):null!==(n=null===this._linkedRecords?null:this._linkedRecords.get(i,o))?(Object.is(n.item,e)||this._addIdentityChange(n,e),this._moveAfter(n,s,o)):n=this._addAfter(new F5(e,i),s,o),n}_verifyReinsertion(n,e,i,o){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(i,null);return null!==s?n=this._reinsertAfter(s,n._prev,o):n.currentIndex!=o&&(n.currentIndex=o,this._addToMoves(n,o)),n}_truncate(n){for(;null!==n;){const e=n._next;this._addToRemovals(this._unlink(n)),n=e}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(n,e,i){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(n);const o=n._prevRemoved,s=n._nextRemoved;return null===o?this._removalsHead=s:o._nextRemoved=s,null===s?this._removalsTail=o:s._prevRemoved=o,this._insertAfter(n,e,i),this._addToMoves(n,i),n}_moveAfter(n,e,i){return this._unlink(n),this._insertAfter(n,e,i),this._addToMoves(n,i),n}_addAfter(n,e,i){return this._insertAfter(n,e,i),this._additionsTail=null===this._additionsTail?this._additionsHead=n:this._additionsTail._nextAdded=n,n}_insertAfter(n,e,i){const o=null===e?this._itHead:e._next;return n._next=o,n._prev=e,null===o?this._itTail=n:o._prev=n,null===e?this._itHead=n:e._next=n,null===this._linkedRecords&&(this._linkedRecords=new fw),this._linkedRecords.put(n),n.currentIndex=i,n}_remove(n){return this._addToRemovals(this._unlink(n))}_unlink(n){null!==this._linkedRecords&&this._linkedRecords.remove(n);const e=n._prev,i=n._next;return null===e?this._itHead=i:e._next=i,null===i?this._itTail=e:i._prev=e,n}_addToMoves(n,e){return n.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=n:this._movesTail._nextMoved=n),n}_addToRemovals(n){return null===this._unlinkedRecords&&(this._unlinkedRecords=new fw),this._unlinkedRecords.put(n),n.currentIndex=null,n._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=n,n._prevRemoved=null):(n._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=n),n}_addIdentityChange(n,e){return n.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=n:this._identityChangesTail._nextIdentityChange=n,n}}class F5{constructor(n,e){this.item=n,this.trackById=e,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class P5{constructor(){this._head=null,this._tail=null}add(n){null===this._head?(this._head=this._tail=n,n._nextDup=null,n._prevDup=null):(this._tail._nextDup=n,n._prevDup=this._tail,n._nextDup=null,this._tail=n)}get(n,e){let i;for(i=this._head;null!==i;i=i._nextDup)if((null===e||e<=i.currentIndex)&&Object.is(i.trackById,n))return i;return null}remove(n){const e=n._prevDup,i=n._nextDup;return null===e?this._head=i:e._nextDup=i,null===i?this._tail=e:i._prevDup=e,null===this._head}}class fw{constructor(){this.map=new Map}put(n){const e=n.trackById;let i=this.map.get(e);i||(i=new P5,this.map.set(e,i)),i.add(n)}get(n,e){const o=this.map.get(n);return o?o.get(n,e):null}remove(n){const e=n.trackById;return this.map.get(e).remove(n)&&this.map.delete(e),n}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function mw(t,n,e){const i=t.previousIndex;if(null===i)return i;let o=0;return e&&i{if(e&&e.key===o)this._maybeAddToChanges(e,i),this._appendAfter=e,e=e._next;else{const s=this._getOrCreateRecordForKey(o,i);e=this._insertBeforeOrAppend(e,s)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let i=e;null!==i;i=i._nextRemoved)i===this._mapHead&&(this._mapHead=null),this._records.delete(i.key),i._nextRemoved=i._next,i.previousValue=i.currentValue,i.currentValue=null,i._prev=null,i._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(n,e){if(n){const i=n._prev;return e._next=n,e._prev=i,n._prev=e,i&&(i._next=e),n===this._mapHead&&(this._mapHead=e),this._appendAfter=n,n}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(n,e){if(this._records.has(n)){const o=this._records.get(n);this._maybeAddToChanges(o,e);const s=o._prev,r=o._next;return s&&(s._next=r),r&&(r._prev=s),o._next=null,o._prev=null,o}const i=new B5(n);return this._records.set(n,i),i.currentValue=e,this._addToAdditions(i),i}_reset(){if(this.isDirty){let n;for(this._previousMapHead=this._mapHead,n=this._previousMapHead;null!==n;n=n._next)n._nextPrevious=n._next;for(n=this._changesHead;null!==n;n=n._nextChanged)n.previousValue=n.currentValue;for(n=this._additionsHead;null!=n;n=n._nextAdded)n.previousValue=n.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(n,e){Object.is(e,n.currentValue)||(n.previousValue=n.currentValue,n.currentValue=e,this._addToChanges(n))}_addToAdditions(n){null===this._additionsHead?this._additionsHead=this._additionsTail=n:(this._additionsTail._nextAdded=n,this._additionsTail=n)}_addToChanges(n){null===this._changesHead?this._changesHead=this._changesTail=n:(this._changesTail._nextChanged=n,this._changesTail=n)}_forEach(n,e){n instanceof Map?n.forEach(e):Object.keys(n).forEach(i=>e(n[i],i))}}class B5{constructor(n){this.key=n,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function _w(){return new Vo([new pw])}let Vo=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(null!=i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||_w()),deps:[[t,new js,new Ci]]}}find(e){const i=this.factories.find(o=>o.supports(e));if(null!=i)return i;throw new X(901,"")}}return t.\u0275prov=L({token:t,providedIn:"root",factory:_w}),t})();function vw(){return new jl([new gw])}let jl=(()=>{class t{constructor(e){this.factories=e}static create(e,i){if(i){const o=i.factories.slice();e=e.concat(o)}return new t(e)}static extend(e){return{provide:t,useFactory:i=>t.create(e,i||vw()),deps:[[t,new js,new Ci]]}}find(e){const i=this.factories.find(s=>s.supports(e));if(i)return i;throw new X(901,"")}}return t.\u0275prov=L({token:t,providedIn:"root",factory:vw}),t})();const H5=ow(null,"core",[]);let U5=(()=>{class t{constructor(e){}}return t.\u0275fac=function(e){return new(e||t)(M(Ks))},t.\u0275mod=J({type:t}),t.\u0275inj=Z({}),t})(),cd=null;function mo(){return cd}const ve=new j("DocumentToken");let Js=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:function(){return function $5(){return M(bw)}()},providedIn:"platform"}),t})();const W5=new j("Location Initialized");let bw=(()=>{class t extends Js{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return mo().getBaseHref(this._doc)}onPopState(e){const i=mo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("popstate",e,!1),()=>i.removeEventListener("popstate",e)}onHashChange(e){const i=mo().getGlobalEventTarget(this._doc,"window");return i.addEventListener("hashchange",e,!1),()=>i.removeEventListener("hashchange",e)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,i,o){yw()?this._history.pushState(e,i,o):this.location.hash=o}replaceState(e,i,o){yw()?this._history.replaceState(e,i,o):this.location.hash=o}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}return t.\u0275fac=function(e){return new(e||t)(M(ve))},t.\u0275prov=L({token:t,factory:function(){return function Y5(){return new bw(M(ve))}()},providedIn:"platform"}),t})();function yw(){return!!window.history.pushState}function hg(t,n){if(0==t.length)return n;if(0==n.length)return t;let e=0;return t.endsWith("/")&&e++,n.startsWith("/")&&e++,2==e?t+n.substring(1):1==e?t+n:t+"/"+n}function Cw(t){const n=t.match(/#|\?|$/),e=n&&n.index||t.length;return t.slice(0,e-("/"===t[e-1]?1:0))+t.slice(e)}function jo(t){return t&&"?"!==t[0]?"?"+t:t}let Xs=(()=>{class t{historyGo(e){throw new Error("Not implemented")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:function(){return function Q5(t){const n=M(ve).location;return new fg(M(Js),n&&n.origin||"")}()},providedIn:"root"}),t})();const pg=new j("appBaseHref");let fg=(()=>{class t extends Xs{constructor(e,i){if(super(),this._platformLocation=e,this._removeListenerFns=[],null==i&&(i=this._platformLocation.getBaseHrefFromDOM()),null==i)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=i}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return hg(this._baseHref,e)}path(e=!1){const i=this._platformLocation.pathname+jo(this._platformLocation.search),o=this._platformLocation.hash;return o&&e?`${i}${o}`:i}pushState(e,i,o,s){const r=this.prepareExternalUrl(o+jo(s));this._platformLocation.pushState(e,i,r)}replaceState(e,i,o,s){const r=this.prepareExternalUrl(o+jo(s));this._platformLocation.replaceState(e,i,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var i,o;null===(o=(i=this._platformLocation).historyGo)||void 0===o||o.call(i,e)}}return t.\u0275fac=function(e){return new(e||t)(M(Js),M(pg,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),K5=(()=>{class t extends Xs{constructor(e,i){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=i&&(this._baseHref=i)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let i=this._platformLocation.hash;return null==i&&(i="#"),i.length>0?i.substring(1):i}prepareExternalUrl(e){const i=hg(this._baseHref,e);return i.length>0?"#"+i:i}pushState(e,i,o,s){let r=this.prepareExternalUrl(o+jo(s));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,i,r)}replaceState(e,i,o,s){let r=this.prepareExternalUrl(o+jo(s));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,i,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(e=0){var i,o;null===(o=(i=this._platformLocation).historyGo)||void 0===o||o.call(i,e)}}return t.\u0275fac=function(e){return new(e||t)(M(Js),M(pg,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),Ea=(()=>{class t{constructor(e,i){this._subject=new H,this._urlChangeListeners=[],this._platformStrategy=e;const o=this._platformStrategy.getBaseHref();this._platformLocation=i,this._baseHref=Cw(ww(o)),this._platformStrategy.onPopState(s=>{this._subject.emit({url:this.path(!0),pop:!0,state:s.state,type:s.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,i=""){return this.path()==this.normalize(e+jo(i))}normalize(e){return t.stripTrailingSlash(function J5(t,n){return t&&n.startsWith(t)?n.substring(t.length):n}(this._baseHref,ww(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,i="",o=null){this._platformStrategy.pushState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+jo(i)),o)}replaceState(e,i="",o=null){this._platformStrategy.replaceState(o,"",e,i),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+jo(i)),o)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(e=0){var i,o;null===(o=(i=this._platformStrategy).historyGo)||void 0===o||o.call(i,e)}onUrlChange(e){this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(i=>{this._notifyUrlChangeListeners(i.url,i.state)}))}_notifyUrlChangeListeners(e="",i){this._urlChangeListeners.forEach(o=>o(e,i))}subscribe(e,i,o){return this._subject.subscribe({next:e,error:i,complete:o})}}return t.normalizeQueryParams=jo,t.joinWithSlash=hg,t.stripTrailingSlash=Cw,t.\u0275fac=function(e){return new(e||t)(M(Xs),M(Js))},t.\u0275prov=L({token:t,factory:function(){return function Z5(){return new Ea(M(Xs),M(Js))}()},providedIn:"root"}),t})();function ww(t){return t.replace(/\/index.html$/,"")}function Ow(t,n){n=encodeURIComponent(n);for(const e of t.split(";")){const i=e.indexOf("="),[o,s]=-1==i?[e,""]:[e.slice(0,i),e.slice(i+1)];if(o.trim()===n)return decodeURIComponent(s)}return null}let er=(()=>{class t{constructor(e,i,o,s){this._iterableDiffers=e,this._keyValueDiffers=i,this._ngEl=o,this._renderer=s,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Tl(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachChangedItem(i=>this._toggleClass(i.key,i.currentValue)),e.forEachRemovedItem(i=>{i.previousValue&&this._toggleClass(i.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(i=>{if("string"!=typeof i.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${at(i.item)}`);this._toggleClass(i.item,!0)}),e.forEachRemovedItem(i=>this._toggleClass(i.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!0)):Object.keys(e).forEach(i=>this._toggleClass(i,!!e[i])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(i=>this._toggleClass(i,!1)):Object.keys(e).forEach(i=>this._toggleClass(i,!1)))}_toggleClass(e,i){(e=e.trim())&&e.split(/\s+/g).forEach(o=>{i?this._renderer.addClass(this._ngEl.nativeElement,o):this._renderer.removeClass(this._ngEl.nativeElement,o)})}}return t.\u0275fac=function(e){return new(e||t)(_(Vo),_(jl),_(K),_(ai))},t.\u0275dir=x({type:t,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),t})();class PP{constructor(n,e,i,o){this.$implicit=n,this.ngForOf=e,this.index=i,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let qe=(()=>{class t{constructor(e,i,o){this._viewContainer=e,this._template=i,this._differs=o,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const i=this._viewContainer;e.forEachOperation((o,s,r)=>{if(null==o.previousIndex)i.createEmbeddedView(this._template,new PP(o.item,this._ngForOf,-1,-1),null===r?void 0:r);else if(null==r)i.remove(null===s?void 0:s);else if(null!==s){const a=i.get(s);i.move(a,r),Nw(a,o)}});for(let o=0,s=i.length;o{Nw(i.get(o.currentIndex),o)})}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(_(Bt),_(ce),_(Vo))},t.\u0275dir=x({type:t,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),t})();function Nw(t,n){t.context.$implicit=n.item}let Ye=(()=>{class t{constructor(e,i){this._viewContainer=e,this._context=new LP,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=i}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){kw("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){kw("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(e,i){return!0}}return t.\u0275fac=function(e){return new(e||t)(_(Bt),_(ce))},t.\u0275dir=x({type:t,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),t})();class LP{constructor(){this.$implicit=null,this.ngIf=null}}function kw(t,n){if(n&&!n.createEmbeddedView)throw new Error(`${t} must be a TemplateRef, but received '${at(n)}'.`)}class Eg{constructor(n,e){this._viewContainerRef=n,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(n){n&&!this._created?this.create():!n&&this._created&&this.destroy()}}let Gl=(()=>{class t{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const i=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||i,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),i}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let i=0;i{class t{constructor(e,i,o){this.ngSwitch=o,o._addCase(),this._view=new Eg(e,i)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return t.\u0275fac=function(e){return new(e||t)(_(Bt),_(ce),_(Gl,9))},t.\u0275dir=x({type:t,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),t})(),Rw=(()=>{class t{constructor(e,i,o){o._addDefault(new Eg(e,i))}}return t.\u0275fac=function(e){return new(e||t)(_(Bt),_(ce),_(Gl,9))},t.\u0275dir=x({type:t,selectors:[["","ngSwitchDefault",""]]}),t})(),Pw=(()=>{class t{constructor(e,i,o){this._ngEl=e,this._differs=i,this._renderer=o,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,i){const[o,s]=e.split(".");null!=(i=null!=i&&s?`${i}${s}`:i)?this._renderer.setStyle(this._ngEl.nativeElement,o,i):this._renderer.removeStyle(this._ngEl.nativeElement,o)}_applyChanges(e){e.forEachRemovedItem(i=>this._setStyle(i.key,null)),e.forEachAddedItem(i=>this._setStyle(i.key,i.currentValue)),e.forEachChangedItem(i=>this._setStyle(i.key,i.currentValue))}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(jl),_(ai))},t.\u0275dir=x({type:t,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),t})(),gs=(()=>{class t{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(e){if(e.ngTemplateOutlet){const i=this._viewContainerRef;this._viewRef&&i.remove(i.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?i.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&e.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return t.\u0275fac=function(e){return new(e||t)(_(Bt))},t.\u0275dir=x({type:t,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[mt]}),t})();function $i(t,n){return new X(2100,"")}class VP{createSubscription(n,e){return n.subscribe({next:e,error:i=>{throw i}})}dispose(n){n.unsubscribe()}onDestroy(n){n.unsubscribe()}}class jP{createSubscription(n,e){return n.then(e,i=>{throw i})}dispose(n){}onDestroy(n){}}const HP=new jP,UP=new VP;let Lw=(()=>{class t{constructor(e){this._ref=e,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,i=>this._updateLatestValue(e,i))}_selectStrategy(e){if(Ml(e))return HP;if(Ky(e))return UP;throw $i()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,i){e===this._obj&&(this._latestValue=i,this._ref.markForCheck())}}return t.\u0275fac=function(e){return new(e||t)(_(Ke,16))},t.\u0275pipe=Hn({name:"async",type:t,pure:!1}),t})();const zP=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let zl=(()=>{class t{transform(e){if(null==e)return null;if("string"!=typeof e)throw $i();return e.replace(zP,i=>i[0].toUpperCase()+i.substr(1).toLowerCase())}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275pipe=Hn({name:"titlecase",type:t,pure:!0}),t})(),it=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({}),t})();const Vw="browser";function Ig(t){return t===Vw}let a6=(()=>{class t{}return t.\u0275prov=L({token:t,providedIn:"root",factory:()=>new l6(M(ve),window)}),t})();class l6{constructor(n,e){this.document=n,this.window=e,this.offset=()=>[0,0]}setOffset(n){this.offset=Array.isArray(n)?()=>n:n}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(n){this.supportsScrolling()&&this.window.scrollTo(n[0],n[1])}scrollToAnchor(n){if(!this.supportsScrolling())return;const e=function c6(t,n){const e=t.getElementById(n)||t.getElementsByName(n)[0];if(e)return e;if("function"==typeof t.createTreeWalker&&t.body&&(t.body.createShadowRoot||t.body.attachShadow)){const i=t.createTreeWalker(t.body,NodeFilter.SHOW_ELEMENT);let o=i.currentNode;for(;o;){const s=o.shadowRoot;if(s){const r=s.getElementById(n)||s.querySelector(`[name="${n}"]`);if(r)return r}o=i.nextNode()}}return null}(this.document,n);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(n){if(this.supportScrollRestoration()){const e=this.window.history;e&&e.scrollRestoration&&(e.scrollRestoration=n)}}scrollToElement(n){const e=n.getBoundingClientRect(),i=e.left+this.window.pageXOffset,o=e.top+this.window.pageYOffset,s=this.offset();this.window.scrollTo(i-s[0],o-s[1])}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const n=jw(this.window.history)||jw(Object.getPrototypeOf(this.window.history));return!(!n||!n.writable&&!n.set)}catch(n){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(n){return!1}}}function jw(t){return Object.getOwnPropertyDescriptor(t,"scrollRestoration")}class Hw{}class Ag extends class u6 extends class q5{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function z5(t){cd||(cd=t)}(new Ag)}onAndCancel(n,e,i){return n.addEventListener(e,i,!1),()=>{n.removeEventListener(e,i,!1)}}dispatchEvent(n,e){n.dispatchEvent(e)}remove(n){n.parentNode&&n.parentNode.removeChild(n)}createElement(n,e){return(e=e||this.getDefaultDocument()).createElement(n)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(n){return n.nodeType===Node.ELEMENT_NODE}isShadowRoot(n){return n instanceof DocumentFragment}getGlobalEventTarget(n,e){return"window"===e?window:"document"===e?n:"body"===e?n.body:null}getBaseHref(n){const e=function d6(){return ql=ql||document.querySelector("base"),ql?ql.getAttribute("href"):null}();return null==e?null:function h6(t){bd=bd||document.createElement("a"),bd.setAttribute("href",t);const n=bd.pathname;return"/"===n.charAt(0)?n:`/${n}`}(e)}resetBaseElement(){ql=null}getUserAgent(){return window.navigator.userAgent}getCookie(n){return Ow(document.cookie,n)}}let bd,ql=null;const Uw=new j("TRANSITION_ID"),f6=[{provide:Jm,useFactory:function p6(t,n,e){return()=>{e.get(Xm).donePromise.then(()=>{const i=mo(),o=n.querySelectorAll(`style[ng-transition="${t}"]`);for(let s=0;s{const s=n.findTestabilityInTree(i,o);if(null==s)throw new Error("Could not find testability for element.");return s},ct.getAllAngularTestabilities=()=>n.getAllTestabilities(),ct.getAllAngularRootElements=()=>n.getAllRootElements(),ct.frameworkStabilizers||(ct.frameworkStabilizers=[]),ct.frameworkStabilizers.push(i=>{const o=ct.getAllAngularTestabilities();let s=o.length,r=!1;const a=function(u){r=r||u,s--,0==s&&i(r)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(n,e,i){if(null==e)return null;const o=n.getTestability(e);return null!=o?o:i?mo().isShadowRoot(e)?this.findTestabilityInTree(n,e.host,!0):this.findTestabilityInTree(n,e.parentElement,!0):null}}let m6=(()=>{class t{build(){return new XMLHttpRequest}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const yd=new j("EventManagerPlugins");let Cd=(()=>{class t{constructor(e,i){this._zone=i,this._eventNameToPlugin=new Map,e.forEach(o=>o.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,i,o){return this._findPluginFor(i).addEventListener(e,i,o)}addGlobalEventListener(e,i,o){return this._findPluginFor(i).addGlobalEventListener(e,i,o)}getZone(){return this._zone}_findPluginFor(e){const i=this._eventNameToPlugin.get(e);if(i)return i;const o=this._plugins;for(let s=0;s{class t{constructor(){this._stylesSet=new Set}addStyles(e){const i=new Set;e.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),i.add(o))}),this.onStylesAdded(i)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),$l=(()=>{class t extends zw{constructor(e){super(),this._doc=e,this._hostNodes=new Map,this._hostNodes.set(e.head,[])}_addStylesToHost(e,i,o){e.forEach(s=>{const r=this._doc.createElement("style");r.textContent=s,o.push(i.appendChild(r))})}addHost(e){const i=[];this._addStylesToHost(this._stylesSet,e,i),this._hostNodes.set(e,i)}removeHost(e){const i=this._hostNodes.get(e);i&&i.forEach(qw),this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach((i,o)=>{this._addStylesToHost(e,o,i)})}ngOnDestroy(){this._hostNodes.forEach(e=>e.forEach(qw))}}return t.\u0275fac=function(e){return new(e||t)(M(ve))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();function qw(t){mo().remove(t)}const Og={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/",math:"http://www.w3.org/1998/MathML/"},Ng=/%COMP%/g;function wd(t,n,e){for(let i=0;i{if("__ngUnwrap__"===n)return t;!1===t(n)&&(n.preventDefault(),n.returnValue=!1)}}let Dd=(()=>{class t{constructor(e,i,o){this.eventManager=e,this.sharedStylesHost=i,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new kg(e)}createRenderer(e,i){if(!e||!i)return this.defaultRenderer;switch(i.encapsulation){case Pi.Emulated:{let o=this.rendererByCompId.get(i.id);return o||(o=new C6(this.eventManager,this.sharedStylesHost,i,this.appId),this.rendererByCompId.set(i.id,o)),o.applyToHost(e),o}case 1:case Pi.ShadowDom:return new w6(this.eventManager,this.sharedStylesHost,e,i);default:if(!this.rendererByCompId.has(i.id)){const o=wd(i.id,i.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(i.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return t.\u0275fac=function(e){return new(e||t)(M(Cd),M($l),M(Vl))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();class kg{constructor(n){this.eventManager=n,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(n,e){return e?document.createElementNS(Og[e]||e,n):document.createElement(n)}createComment(n){return document.createComment(n)}createText(n){return document.createTextNode(n)}appendChild(n,e){n.appendChild(e)}insertBefore(n,e,i){n&&n.insertBefore(e,i)}removeChild(n,e){n&&n.removeChild(e)}selectRootElement(n,e){let i="string"==typeof n?document.querySelector(n):n;if(!i)throw new Error(`The selector "${n}" did not match any elements`);return e||(i.textContent=""),i}parentNode(n){return n.parentNode}nextSibling(n){return n.nextSibling}setAttribute(n,e,i,o){if(o){e=o+":"+e;const s=Og[o];s?n.setAttributeNS(s,e,i):n.setAttribute(e,i)}else n.setAttribute(e,i)}removeAttribute(n,e,i){if(i){const o=Og[i];o?n.removeAttributeNS(o,e):n.removeAttribute(`${i}:${e}`)}else n.removeAttribute(e)}addClass(n,e){n.classList.add(e)}removeClass(n,e){n.classList.remove(e)}setStyle(n,e,i,o){o&(si.DashCase|si.Important)?n.style.setProperty(e,i,o&si.Important?"important":""):n.style[e]=i}removeStyle(n,e,i){i&si.DashCase?n.style.removeProperty(e):n.style[e]=""}setProperty(n,e,i){n[e]=i}setValue(n,e){n.nodeValue=e}listen(n,e,i){return"string"==typeof n?this.eventManager.addGlobalEventListener(n,e,Yw(i)):this.eventManager.addEventListener(n,e,Yw(i))}}class C6 extends kg{constructor(n,e,i,o){super(n),this.component=i;const s=wd(o+"-"+i.id,i.styles,[]);e.addStyles(s),this.contentAttr=function v6(t){return"_ngcontent-%COMP%".replace(Ng,t)}(o+"-"+i.id),this.hostAttr=function b6(t){return"_nghost-%COMP%".replace(Ng,t)}(o+"-"+i.id)}applyToHost(n){super.setAttribute(n,this.hostAttr,"")}createElement(n,e){const i=super.createElement(n,e);return super.setAttribute(i,this.contentAttr,""),i}}class w6 extends kg{constructor(n,e,i,o){super(n),this.sharedStylesHost=e,this.hostEl=i,this.shadowRoot=i.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const s=wd(o.id,o.styles,[]);for(let r=0;r{class t extends Gw{constructor(e){super(e)}supports(e){return!0}addEventListener(e,i,o){return e.addEventListener(i,o,!1),()=>this.removeEventListener(e,i,o)}removeEventListener(e,i,o){return e.removeEventListener(i,o)}}return t.\u0275fac=function(e){return new(e||t)(M(ve))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const Kw=["alt","control","meta","shift"],T6={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Zw={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},S6={alt:t=>t.altKey,control:t=>t.ctrlKey,meta:t=>t.metaKey,shift:t=>t.shiftKey};let M6=(()=>{class t extends Gw{constructor(e){super(e)}supports(e){return null!=t.parseEventName(e)}addEventListener(e,i,o){const s=t.parseEventName(i),r=t.eventCallback(s.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>mo().onAndCancel(e,s.domEventName,r))}static parseEventName(e){const i=e.toLowerCase().split("."),o=i.shift();if(0===i.length||"keydown"!==o&&"keyup"!==o)return null;const s=t._normalizeKey(i.pop());let r="";if(Kw.forEach(u=>{const p=i.indexOf(u);p>-1&&(i.splice(p,1),r+=u+".")}),r+=s,0!=i.length||0===s.length)return null;const a={};return a.domEventName=o,a.fullKey=r,a}static getEventFullKey(e){let i="",o=function I6(t){let n=t.key;if(null==n){if(n=t.keyIdentifier,null==n)return"Unidentified";n.startsWith("U+")&&(n=String.fromCharCode(parseInt(n.substring(2),16)),3===t.location&&Zw.hasOwnProperty(n)&&(n=Zw[n]))}return T6[n]||n}(e);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),Kw.forEach(s=>{s!=o&&S6[s](e)&&(i+=s+".")}),i+=o,i}static eventCallback(e,i,o){return s=>{t.getEventFullKey(s)===e&&o.runGuarded(()=>i(s))}}static _normalizeKey(e){return"esc"===e?"escape":e}}return t.\u0275fac=function(e){return new(e||t)(M(ve))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const N6=ow(H5,"browser",[{provide:Da,useValue:Vw},{provide:K2,useValue:function A6(){Ag.makeCurrent(),xg.init()},multi:!0},{provide:ve,useFactory:function O6(){return function cx(t){Jp=t}(document),document},deps:[]}]),k6=[{provide:fm,useValue:"root"},{provide:us,useFactory:function x6(){return new us},deps:[]},{provide:yd,useClass:D6,multi:!0,deps:[ve,se,Da]},{provide:yd,useClass:M6,multi:!0,deps:[ve]},{provide:Dd,useClass:Dd,deps:[Cd,$l,Vl]},{provide:ya,useExisting:Dd},{provide:zw,useExisting:$l},{provide:$l,useClass:$l,deps:[ve]},{provide:og,useClass:og,deps:[se]},{provide:Cd,useClass:Cd,deps:[yd,se]},{provide:Hw,useClass:m6,deps:[]}];let Jw=(()=>{class t{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(e){return{ngModule:t,providers:[{provide:Vl,useValue:e.appId},{provide:Uw,useExisting:Vl},f6]}}}return t.\u0275fac=function(e){return new(e||t)(M(t,12))},t.\u0275mod=J({type:t}),t.\u0275inj=Z({providers:k6,imports:[it,U5]}),t})();"undefined"!=typeof window&&window;let Wl=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:function(e){let i=null;return i=e?new(e||t):M(tD),i},providedIn:"root"}),t})(),tD=(()=>{class t extends Wl{constructor(e){super(),this._doc=e}sanitize(e,i){if(null==i)return null;switch(e){case Ze.NONE:return i;case Ze.HTML:return so(i,"HTML")?oi(i):tb(this._doc,String(i)).toString();case Ze.STYLE:return so(i,"Style")?oi(i):i;case Ze.SCRIPT:if(so(i,"Script"))return oi(i);throw new Error("unsafe value used in a script context");case Ze.URL:return Wv(i),so(i,"URL")?oi(i):ml(String(i));case Ze.RESOURCE_URL:if(so(i,"ResourceURL"))return oi(i);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return function CO(t){return new gO(t)}(e)}bypassSecurityTrustStyle(e){return function wO(t){return new _O(t)}(e)}bypassSecurityTrustScript(e){return function DO(t){return new vO(t)}(e)}bypassSecurityTrustUrl(e){return function EO(t){return new bO(t)}(e)}bypassSecurityTrustResourceUrl(e){return function TO(t){return new yO(t)}(e)}}return t.\u0275fac=function(e){return new(e||t)(M(ve))},t.\u0275prov=L({token:t,factory:function(e){let i=null;return i=e?new e:function G6(t){return new tD(t.get(ve))}(M(yt)),i},providedIn:"root"}),t})();function ne(...t){return nn(t,Ja(t))}class Nt extends ${constructor(n){super(),this._value=n}get value(){return this.getValue()}_subscribe(n){const e=super._subscribe(n);return!e.closed&&n.next(this._value),e}getValue(){const{hasError:n,thrownError:e,_value:i}=this;if(n)throw e;return this._throwIfClosed(),i}next(n){super.next(this._value=n)}}const{isArray:z6}=Array,{getPrototypeOf:q6,prototype:$6,keys:W6}=Object;function nD(t){if(1===t.length){const n=t[0];if(z6(n))return{args:n,keys:null};if(function Y6(t){return t&&"object"==typeof t&&q6(t)===$6}(n)){const e=W6(n);return{args:e.map(i=>n[i]),keys:e}}}return{args:t,keys:null}}const{isArray:Q6}=Array;function Fg(t){return pe(n=>function K6(t,n){return Q6(n)?t(...n):t(n)}(t,n))}function iD(t,n){return t.reduce((e,i,o)=>(e[i]=n[o],e),{})}function tr(...t){const n=Ja(t),e=ru(t),{args:i,keys:o}=nD(t);if(0===i.length)return nn([],n);const s=new Qe(function Z6(t,n,e=Ao){return i=>{oD(n,()=>{const{length:o}=t,s=new Array(o);let r=o,a=o;for(let u=0;u{const p=nn(t[u],n);let f=!1;p.subscribe(rt(i,g=>{s[u]=g,f||(f=!0,a--),a||i.next(e(s.slice()))},()=>{--r||i.complete()}))},i)},i)}}(i,n,o?r=>iD(o,r):Ao));return e?s.pipe(Fg(e)):s}function oD(t,n,e){t?xo(e,t,n):n()}function Yl(t,n){const e=Ge(t)?t:()=>t,i=o=>o.error(e());return new Qe(n?o=>n.schedule(i,0,o):i)}const Ed=Ka(t=>function(){t(this),this.name="EmptyError",this.message="no elements in sequence"});function Ta(...t){return function J6(){return Za(1)}()(nn(t,Ja(t)))}function Td(t){return new Qe(n=>{vn(t()).subscribe(n)})}function sD(){return Et((t,n)=>{let e=null;t._refCount++;const i=rt(n,void 0,void 0,void 0,()=>{if(!t||t._refCount<=0||0<--t._refCount)return void(e=null);const o=t._connection,s=e;e=null,o&&(!s||o===s)&&o.unsubscribe(),n.unsubscribe()});t.subscribe(i),i.closed||(e=t.connect())})}class X6 extends Qe{constructor(n,e){super(),this.source=n,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,M1(n)&&(this.lift=n.lift)}_subscribe(n){return this.getSubject().subscribe(n)}getSubject(){const n=this._subject;return(!n||n.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:n}=this;this._subject=this._connection=null,null==n||n.unsubscribe()}connect(){let n=this._connection;if(!n){n=this._connection=new Je;const e=this.getSubject();n.add(this.source.subscribe(rt(e,void 0,()=>{this._teardown(),e.complete()},i=>{this._teardown(),e.error(i)},()=>this._teardown()))),n.closed&&(this._connection=null,n=Je.EMPTY)}return n}refCount(){return sD()(this)}}function qn(t,n){return Et((e,i)=>{let o=null,s=0,r=!1;const a=()=>r&&!o&&i.complete();e.subscribe(rt(i,u=>{null==o||o.unsubscribe();let p=0;const f=s++;vn(t(u,f)).subscribe(o=rt(i,g=>i.next(n?n(u,g,f,p++):g),()=>{o=null,a()}))},()=>{r=!0,a()}))})}function gn(...t){const n=Ja(t);return Et((e,i)=>{(n?Ta(t,e,n):Ta(t,e)).subscribe(i)})}function e8(t,n,e,i,o){return(s,r)=>{let a=e,u=n,p=0;s.subscribe(rt(r,f=>{const g=p++;u=a?t(u,f,g):(a=!0,f),i&&r.next(u)},o&&(()=>{a&&r.next(u),r.complete()})))}}function rD(t,n){return Et(e8(t,n,arguments.length>=2,!0))}function ut(t,n){return Et((e,i)=>{let o=0;e.subscribe(rt(i,s=>t.call(n,s,o++)&&i.next(s)))})}function go(t){return Et((n,e)=>{let s,i=null,o=!1;i=n.subscribe(rt(e,void 0,void 0,r=>{s=vn(t(r,go(t)(n))),i?(i.unsubscribe(),i=null,s.subscribe(e)):o=!0})),o&&(i.unsubscribe(),i=null,s.subscribe(e))})}function Sa(t,n){return Ge(n)?Wt(t,n,1):Wt(t,1)}function Pg(t){return t<=0?()=>Zn:Et((n,e)=>{let i=[];n.subscribe(rt(e,o=>{i.push(o),t{for(const o of i)e.next(o);e.complete()},void 0,()=>{i=null}))})}function aD(t=t8){return Et((n,e)=>{let i=!1;n.subscribe(rt(e,o=>{i=!0,e.next(o)},()=>i?e.complete():e.error(t())))})}function t8(){return new Ed}function lD(t){return Et((n,e)=>{let i=!1;n.subscribe(rt(e,o=>{i=!0,e.next(o)},()=>{i||e.next(t),e.complete()}))})}function Ma(t,n){const e=arguments.length>=2;return i=>i.pipe(t?ut((o,s)=>t(o,s,i)):Ao,ze(1),e?lD(n):aD(()=>new Ed))}function zt(t,n,e){const i=Ge(t)||n||e?{next:t,error:n,complete:e}:t;return i?Et((o,s)=>{var r;null===(r=i.subscribe)||void 0===r||r.call(i);let a=!0;o.subscribe(rt(s,u=>{var p;null===(p=i.next)||void 0===p||p.call(i,u),s.next(u)},()=>{var u;a=!1,null===(u=i.complete)||void 0===u||u.call(i),s.complete()},u=>{var p;a=!1,null===(p=i.error)||void 0===p||p.call(i,u),s.error(u)},()=>{var u,p;a&&(null===(u=i.unsubscribe)||void 0===u||u.call(i)),null===(p=i.finalize)||void 0===p||p.call(i)}))}):Ao}function cD(t){return Et((n,e)=>{try{n.subscribe(e)}finally{e.add(t)}})}class Uo{constructor(n,e){this.id=n,this.url=e}}class Lg extends Uo{constructor(n,e,i="imperative",o=null){super(n,e),this.navigationTrigger=i,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class Ia extends Uo{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class uD extends Uo{constructor(n,e,i){super(n,e),this.reason=i}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class i8 extends Uo{constructor(n,e,i){super(n,e),this.error=i}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class o8 extends Uo{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class s8 extends Uo{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class r8 extends Uo{constructor(n,e,i,o,s){super(n,e),this.urlAfterRedirects=i,this.state=o,this.shouldActivate=s}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class a8 extends Uo{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class l8 extends Uo{constructor(n,e,i,o){super(n,e),this.urlAfterRedirects=i,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class dD{constructor(n){this.route=n}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class hD{constructor(n){this.route=n}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class c8{constructor(n){this.snapshot=n}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class u8{constructor(n){this.snapshot=n}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class d8{constructor(n){this.snapshot=n}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class h8{constructor(n){this.snapshot=n}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class pD{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}const Pe="primary";class p8{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){const e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function Aa(t){return new p8(t)}const fD="ngNavigationCancelingError";function Bg(t){const n=Error("NavigationCancelingError: "+t);return n[fD]=!0,n}function m8(t,n,e){const i=e.path.split("/");if(i.length>t.length||"full"===e.pathMatch&&(n.hasChildren()||i.lengthi[s]===o)}return t===n}function gD(t){return Array.prototype.concat.apply([],t)}function _D(t){return t.length>0?t[t.length-1]:null}function Dn(t,n){for(const e in t)t.hasOwnProperty(e)&&n(t[e],e)}function vo(t){return Sm(t)?t:Ml(t)?nn(Promise.resolve(t)):ne(t)}const v8={exact:function yD(t,n,e){if(!ir(t.segments,n.segments)||!Sd(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(const i in n.children)if(!t.children[i]||!yD(t.children[i],n.children[i],e))return!1;return!0},subset:CD},vD={exact:function b8(t,n){return _o(t,n)},subset:function y8(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>mD(t[e],n[e]))},ignored:()=>!0};function bD(t,n,e){return v8[e.paths](t.root,n.root,e.matrixParams)&&vD[e.queryParams](t.queryParams,n.queryParams)&&!("exact"===e.fragment&&t.fragment!==n.fragment)}function CD(t,n,e){return wD(t,n,n.segments,e)}function wD(t,n,e,i){if(t.segments.length>e.length){const o=t.segments.slice(0,e.length);return!(!ir(o,e)||n.hasChildren()||!Sd(o,e,i))}if(t.segments.length===e.length){if(!ir(t.segments,e)||!Sd(t.segments,e,i))return!1;for(const o in n.children)if(!t.children[o]||!CD(t.children[o],n.children[o],i))return!1;return!0}{const o=e.slice(0,t.segments.length),s=e.slice(t.segments.length);return!!(ir(t.segments,o)&&Sd(t.segments,o,i)&&t.children[Pe])&&wD(t.children[Pe],n,s,i)}}function Sd(t,n,e){return n.every((i,o)=>vD[e](t[o].parameters,i.parameters))}class nr{constructor(n,e,i){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Aa(this.queryParams)),this._queryParamMap}toString(){return D8.serialize(this)}}class He{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Dn(e,(i,o)=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Md(this)}}class Ql{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=Aa(this.parameters)),this._parameterMap}toString(){return MD(this)}}function ir(t,n){return t.length===n.length&&t.every((e,i)=>e.path===n[i].path)}class DD{}class ED{parse(n){const e=new N8(n);return new nr(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){const e=`/${Kl(n.root,!0)}`,i=function S8(t){const n=Object.keys(t).map(e=>{const i=t[e];return Array.isArray(i)?i.map(o=>`${Id(e)}=${Id(o)}`).join("&"):`${Id(e)}=${Id(i)}`}).filter(e=>!!e);return n.length?`?${n.join("&")}`:""}(n.queryParams);return`${e}${i}${"string"==typeof n.fragment?`#${function E8(t){return encodeURI(t)}(n.fragment)}`:""}`}}const D8=new ED;function Md(t){return t.segments.map(n=>MD(n)).join("/")}function Kl(t,n){if(!t.hasChildren())return Md(t);if(n){const e=t.children[Pe]?Kl(t.children[Pe],!1):"",i=[];return Dn(t.children,(o,s)=>{s!==Pe&&i.push(`${s}:${Kl(o,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}{const e=function w8(t,n){let e=[];return Dn(t.children,(i,o)=>{o===Pe&&(e=e.concat(n(i,o)))}),Dn(t.children,(i,o)=>{o!==Pe&&(e=e.concat(n(i,o)))}),e}(t,(i,o)=>o===Pe?[Kl(t.children[Pe],!1)]:[`${o}:${Kl(i,!1)}`]);return 1===Object.keys(t.children).length&&null!=t.children[Pe]?`${Md(t)}/${e[0]}`:`${Md(t)}/(${e.join("//")})`}}function TD(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Id(t){return TD(t).replace(/%3B/gi,";")}function Vg(t){return TD(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ad(t){return decodeURIComponent(t)}function SD(t){return Ad(t.replace(/\+/g,"%20"))}function MD(t){return`${Vg(t.path)}${function T8(t){return Object.keys(t).map(n=>`;${Vg(n)}=${Vg(t[n])}`).join("")}(t.parameters)}`}const M8=/^[^\/()?;=#]+/;function xd(t){const n=t.match(M8);return n?n[0]:""}const I8=/^[^=?&#]+/,x8=/^[^&#]+/;class N8{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new He([],{}):new He([],this.parseChildren())}parseQueryParams(){const n={};if(this.consumeOptional("?"))do{this.parseQueryParam(n)}while(this.consumeOptional("&"));return n}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const n=[];for(this.peekStartsWith("(")||n.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),n.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[Pe]=new He(n,e)),i}parseSegment(){const n=xd(this.remaining);if(""===n&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(n),new Ql(Ad(n),this.parseMatrixParams())}parseMatrixParams(){const n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){const e=xd(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const o=xd(this.remaining);o&&(i=o,this.capture(i))}n[Ad(e)]=Ad(i)}parseQueryParam(n){const e=function A8(t){const n=t.match(I8);return n?n[0]:""}(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){const r=function O8(t){const n=t.match(x8);return n?n[0]:""}(this.remaining);r&&(i=r,this.capture(i))}const o=SD(e),s=SD(i);if(n.hasOwnProperty(o)){let r=n[o];Array.isArray(r)||(r=[r],n[o]=r),r.push(s)}else n[o]=s}parseParens(n){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const i=xd(this.remaining),o=this.remaining[i.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error(`Cannot parse url '${this.url}'`);let s;i.indexOf(":")>-1?(s=i.substr(0,i.indexOf(":")),this.capture(s),this.capture(":")):n&&(s=Pe);const r=this.parseChildren();e[s]=1===Object.keys(r).length?r[Pe]:new He([],r),this.consumeOptional("//")}return e}peekStartsWith(n){return this.remaining.startsWith(n)}consumeOptional(n){return!!this.peekStartsWith(n)&&(this.remaining=this.remaining.substring(n.length),!0)}capture(n){if(!this.consumeOptional(n))throw new Error(`Expected "${n}".`)}}class ID{constructor(n){this._root=n}get root(){return this._root.value}parent(n){const e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){const e=jg(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){const e=jg(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){const e=Hg(n,this._root);return e.length<2?[]:e[e.length-2].children.map(o=>o.value).filter(o=>o!==n)}pathFromRoot(n){return Hg(n,this._root).map(e=>e.value)}}function jg(t,n){if(t===n.value)return n;for(const e of n.children){const i=jg(t,e);if(i)return i}return null}function Hg(t,n){if(t===n.value)return[n];for(const e of n.children){const i=Hg(t,e);if(i.length)return i.unshift(n),i}return[]}class Go{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}}function xa(t){const n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}class AD extends ID{constructor(n,e){super(n),this.snapshot=e,Ug(this,n)}toString(){return this.snapshot.toString()}}function xD(t,n){const e=function k8(t,n){const r=new Od([],{},{},"",{},Pe,n,null,t.root,-1,{});return new ND("",new Go(r,[]))}(t,n),i=new Nt([new Ql("",{})]),o=new Nt({}),s=new Nt({}),r=new Nt({}),a=new Nt(""),u=new Vt(i,o,r,a,s,Pe,n,e.root);return u.snapshot=e.root,new AD(new Go(u,[]),e)}class Vt{constructor(n,e,i,o,s,r,a,u){this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=s,this.outlet=r,this.component=a,this._futureSnapshot=u}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(pe(n=>Aa(n)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(pe(n=>Aa(n)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function OD(t,n="emptyOnly"){const e=t.pathFromRoot;let i=0;if("always"!==n)for(i=e.length-1;i>=1;){const o=e[i],s=e[i-1];if(o.routeConfig&&""===o.routeConfig.path)i--;else{if(s.component)break;i--}}return function R8(t){return t.reduce((n,e)=>({params:Object.assign(Object.assign({},n.params),e.params),data:Object.assign(Object.assign({},n.data),e.data),resolve:Object.assign(Object.assign({},n.resolve),e._resolvedData)}),{params:{},data:{},resolve:{}})}(e.slice(i))}class Od{constructor(n,e,i,o,s,r,a,u,p,f,g){this.url=n,this.params=e,this.queryParams=i,this.fragment=o,this.data=s,this.outlet=r,this.component=a,this.routeConfig=u,this._urlSegment=p,this._lastPathIndex=f,this._resolve=g}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Aa(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Aa(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(i=>i.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ND extends ID{constructor(n,e){super(e),this.url=n,Ug(this,e)}toString(){return kD(this._root)}}function Ug(t,n){n.value._routerState=t,n.children.forEach(e=>Ug(t,e))}function kD(t){const n=t.children.length>0?` { ${t.children.map(kD).join(", ")} } `:"";return`${t.value}${n}`}function Gg(t){if(t.snapshot){const n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,_o(n.queryParams,e.queryParams)||t.queryParams.next(e.queryParams),n.fragment!==e.fragment&&t.fragment.next(e.fragment),_o(n.params,e.params)||t.params.next(e.params),function g8(t,n){if(t.length!==n.length)return!1;for(let e=0;e_o(e.parameters,n[i].parameters))}(t.url,n.url);return e&&!(!t.parent!=!n.parent)&&(!t.parent||zg(t.parent,n.parent))}function Zl(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){const i=e.value;i._futureSnapshot=n.value;const o=function P8(t,n,e){return n.children.map(i=>{for(const o of e.children)if(t.shouldReuseRoute(i.value,o.value.snapshot))return Zl(t,i,o);return Zl(t,i)})}(t,n,e);return new Go(i,o)}{if(t.shouldAttach(n.value)){const s=t.retrieve(n.value);if(null!==s){const r=s.route;return r.value._futureSnapshot=n.value,r.children=n.children.map(a=>Zl(t,a)),r}}const i=function L8(t){return new Vt(new Nt(t.url),new Nt(t.params),new Nt(t.queryParams),new Nt(t.fragment),new Nt(t.data),t.outlet,t.component,t)}(n.value),o=n.children.map(s=>Zl(t,s));return new Go(i,o)}}function Nd(t){return"object"==typeof t&&null!=t&&!t.outlets&&!t.segmentPath}function Jl(t){return"object"==typeof t&&null!=t&&t.outlets}function qg(t,n,e,i,o){let s={};if(i&&Dn(i,(a,u)=>{s[u]=Array.isArray(a)?a.map(p=>`${p}`):`${a}`}),t===n)return new nr(e,s,o);const r=RD(t,n,e);return new nr(r,s,o)}function RD(t,n,e){const i={};return Dn(t.children,(o,s)=>{i[s]=o===n?e:RD(o,n,e)}),new He(t.segments,i)}class FD{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Nd(i[0]))throw new Error("Root segment cannot have matrix parameters");const o=i.find(Jl);if(o&&o!==_D(i))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class $g{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}}function PD(t,n,e){if(t||(t=new He([],{})),0===t.segments.length&&t.hasChildren())return kd(t,n,e);const i=function G8(t,n,e){let i=0,o=n;const s={match:!1,pathIndex:0,commandIndex:0};for(;o=e.length)return s;const r=t.segments[o],a=e[i];if(Jl(a))break;const u=`${a}`,p=i0&&void 0===u)break;if(u&&p&&"object"==typeof p&&void 0===p.outlets){if(!BD(u,p,r))return s;i+=2}else{if(!BD(u,{},r))return s;i++}o++}return{match:!0,pathIndex:o,commandIndex:i}}(t,n,e),o=e.slice(i.commandIndex);if(i.match&&i.pathIndex{"string"==typeof s&&(s=[s]),null!==s&&(o[r]=PD(t.children[r],n,s))}),Dn(t.children,(s,r)=>{void 0===i[r]&&(o[r]=s)}),new He(t.segments,o)}}function Wg(t,n,e){const i=t.segments.slice(0,n);let o=0;for(;o{"string"==typeof e&&(e=[e]),null!==e&&(n[i]=Wg(new He([],{}),0,e))}),n}function LD(t){const n={};return Dn(t,(e,i)=>n[i]=`${e}`),n}function BD(t,n,e){return t==e.path&&_o(n,e.parameters)}class $8{constructor(n,e,i,o){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=o}activate(n){const e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),Gg(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){const o=xa(e);n.children.forEach(s=>{const r=s.value.outlet;this.deactivateRoutes(s,o[r],i),delete o[r]}),Dn(o,(s,r)=>{this.deactivateRouteAndItsChildren(s,i)})}deactivateRoutes(n,e,i){const o=n.value,s=e?e.value:null;if(o===s)if(o.component){const r=i.getContext(o.outlet);r&&this.deactivateChildRoutes(n,e,r.children)}else this.deactivateChildRoutes(n,e,i);else s&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,s=xa(n);for(const r of Object.keys(s))this.deactivateRouteAndItsChildren(s[r],o);if(i&&i.outlet){const r=i.outlet.detach(),a=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:r,route:n,contexts:a})}}deactivateRouteAndOutlet(n,e){const i=e.getContext(n.value.outlet),o=i&&n.value.component?i.children:e,s=xa(n);for(const r of Object.keys(s))this.deactivateRouteAndItsChildren(s[r],o);i&&i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated(),i.attachRef=null,i.resolver=null,i.route=null)}activateChildRoutes(n,e,i){const o=xa(e);n.children.forEach(s=>{this.activateRoutes(s,o[s.value.outlet],i),this.forwardEvent(new h8(s.value.snapshot))}),n.children.length&&this.forwardEvent(new u8(n.value.snapshot))}activateRoutes(n,e,i){const o=n.value,s=e?e.value:null;if(Gg(o),o===s)if(o.component){const r=i.getOrCreateContext(o.outlet);this.activateChildRoutes(n,e,r.children)}else this.activateChildRoutes(n,e,i);else if(o.component){const r=i.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const a=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),r.children.onOutletReAttached(a.contexts),r.attachRef=a.componentRef,r.route=a.route.value,r.outlet&&r.outlet.attach(a.componentRef,a.route.value),Gg(a.route.value),this.activateChildRoutes(n,null,r.children)}else{const a=function W8(t){for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(o.snapshot),u=a?a.module.componentFactoryResolver:null;r.attachRef=null,r.route=o,r.resolver=u,r.outlet&&r.outlet.activateWith(o,u),this.activateChildRoutes(n,null,r.children)}}else this.activateChildRoutes(n,null,i)}}class Yg{constructor(n,e){this.routes=n,this.module=e}}function vs(t){return"function"==typeof t}function or(t){return t instanceof nr}const Xl=Symbol("INITIAL_VALUE");function ec(){return qn(t=>tr(t.map(n=>n.pipe(ze(1),gn(Xl)))).pipe(rD((n,e)=>{let i=!1;return e.reduce((o,s,r)=>o!==Xl?o:(s===Xl&&(i=!0),i||!1!==s&&r!==e.length-1&&!or(s)?o:s),n)},Xl),ut(n=>n!==Xl),pe(n=>or(n)?n:!0===n),ze(1)))}class X8{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new tc,this.attachRef=null}}class tc{constructor(){this.contexts=new Map}onChildOutletCreated(n,e){const i=this.getOrCreateContext(n);i.outlet=e,this.contexts.set(n,i)}onChildOutletDestroyed(n){const e=this.getContext(n);e&&(e.outlet=null,e.attachRef=null)}onOutletDeactivated(){const n=this.contexts;return this.contexts=new Map,n}onOutletReAttached(n){this.contexts=n}getOrCreateContext(n){let e=this.getContext(n);return e||(e=new X8,this.contexts.set(n,e)),e}getContext(n){return this.contexts.get(n)||null}}let Rd=(()=>{class t{constructor(e,i,o,s,r){this.parentContexts=e,this.location=i,this.resolver=o,this.changeDetector=r,this.activated=null,this._activatedRoute=null,this.activateEvents=new H,this.deactivateEvents=new H,this.attachEvents=new H,this.detachEvents=new H,this.name=s||Pe,e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,i){this.activated=e,this._activatedRoute=i,this.location.insert(e.hostView),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const r=(i=i||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),a=this.parentContexts.getOrCreateContext(this.name).children,u=new eL(e,a,this.location.injector);this.activated=this.location.createComponent(r,this.location.length,u),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return t.\u0275fac=function(e){return new(e||t)(_(tc),_(Bt),_(po),ni("name"),_(Ke))},t.\u0275dir=x({type:t,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"]}),t})();class eL{constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===Vt?this.route:n===tc?this.childContexts:this.parent.get(n,e)}}let VD=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,i){1&e&&h(0,"router-outlet")},directives:[Rd],encapsulation:2}),t})();function jD(t,n=""){for(let e=0;eSi(i)===n);return e.push(...t.filter(i=>Si(i)!==n)),e}const UD={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Fd(t,n,e){var i;if(""===n.path)return"full"===n.pathMatch&&(t.hasChildren()||e.length>0)?Object.assign({},UD):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const s=(n.matcher||m8)(e,t,n);if(!s)return Object.assign({},UD);const r={};Dn(s.posParams,(u,p)=>{r[p]=u.path});const a=s.consumed.length>0?Object.assign(Object.assign({},r),s.consumed[s.consumed.length-1].parameters):r;return{matched:!0,consumedSegments:s.consumed,remainingSegments:e.slice(s.consumed.length),parameters:a,positionalParamSegments:null!==(i=s.posParams)&&void 0!==i?i:{}}}function Pd(t,n,e,i,o="corrected"){if(e.length>0&&function sL(t,n,e){return e.some(i=>Ld(t,n,i)&&Si(i)!==Pe)}(t,e,i)){const r=new He(n,function oL(t,n,e,i){const o={};o[Pe]=i,i._sourceSegment=t,i._segmentIndexShift=n.length;for(const s of e)if(""===s.path&&Si(s)!==Pe){const r=new He([],{});r._sourceSegment=t,r._segmentIndexShift=n.length,o[Si(s)]=r}return o}(t,n,i,new He(e,t.children)));return r._sourceSegment=t,r._segmentIndexShift=n.length,{segmentGroup:r,slicedSegments:[]}}if(0===e.length&&function rL(t,n,e){return e.some(i=>Ld(t,n,i))}(t,e,i)){const r=new He(t.segments,function iL(t,n,e,i,o,s){const r={};for(const a of i)if(Ld(t,e,a)&&!o[Si(a)]){const u=new He([],{});u._sourceSegment=t,u._segmentIndexShift="legacy"===s?t.segments.length:n.length,r[Si(a)]=u}return Object.assign(Object.assign({},o),r)}(t,n,e,i,t.children,o));return r._sourceSegment=t,r._segmentIndexShift=n.length,{segmentGroup:r,slicedSegments:e}}const s=new He(t.segments,t.children);return s._sourceSegment=t,s._segmentIndexShift=n.length,{segmentGroup:s,slicedSegments:e}}function Ld(t,n,e){return(!(t.hasChildren()||n.length>0)||"full"!==e.pathMatch)&&""===e.path}function GD(t,n,e,i){return!!(Si(t)===i||i!==Pe&&Ld(n,e,t))&&("**"===t.path||Fd(n,t,e).matched)}function zD(t,n,e){return 0===n.length&&!t.children[e]}class Bd{constructor(n){this.segmentGroup=n||null}}class qD{constructor(n){this.urlTree=n}}function nc(t){return Yl(new Bd(t))}function $D(t){return Yl(new qD(t))}class uL{constructor(n,e,i,o,s){this.configLoader=e,this.urlSerializer=i,this.urlTree=o,this.config=s,this.allowRedirects=!0,this.ngModule=n.get(Lo)}apply(){const n=Pd(this.urlTree.root,[],[],this.config).segmentGroup,e=new He(n.segments,n.children);return this.expandSegmentGroup(this.ngModule,this.config,e,Pe).pipe(pe(s=>this.createUrlTree(Kg(s),this.urlTree.queryParams,this.urlTree.fragment))).pipe(go(s=>{if(s instanceof qD)return this.allowRedirects=!1,this.match(s.urlTree);throw s instanceof Bd?this.noMatchError(s):s}))}match(n){return this.expandSegmentGroup(this.ngModule,this.config,n.root,Pe).pipe(pe(o=>this.createUrlTree(Kg(o),n.queryParams,n.fragment))).pipe(go(o=>{throw o instanceof Bd?this.noMatchError(o):o}))}noMatchError(n){return new Error(`Cannot match any routes. URL Segment: '${n.segmentGroup}'`)}createUrlTree(n,e,i){const o=n.segments.length>0?new He([],{[Pe]:n}):n;return new nr(o,e,i)}expandSegmentGroup(n,e,i,o){return 0===i.segments.length&&i.hasChildren()?this.expandChildren(n,e,i).pipe(pe(s=>new He([],s))):this.expandSegment(n,i,e,i.segments,o,!0)}expandChildren(n,e,i){const o=[];for(const s of Object.keys(i.children))"primary"===s?o.unshift(s):o.push(s);return nn(o).pipe(Sa(s=>{const r=i.children[s],a=HD(e,s);return this.expandSegmentGroup(n,a,r,s).pipe(pe(u=>({segment:u,outlet:s})))}),rD((s,r)=>(s[r.outlet]=r.segment,s),{}),function n8(t,n){const e=arguments.length>=2;return i=>i.pipe(t?ut((o,s)=>t(o,s,i)):Ao,Pg(1),e?lD(n):aD(()=>new Ed))}())}expandSegment(n,e,i,o,s,r){return nn(i).pipe(Sa(a=>this.expandSegmentAgainstRoute(n,e,i,a,o,s,r).pipe(go(p=>{if(p instanceof Bd)return ne(null);throw p}))),Ma(a=>!!a),go((a,u)=>{if(a instanceof Ed||"EmptyError"===a.name)return zD(e,o,s)?ne(new He([],{})):nc(e);throw a}))}expandSegmentAgainstRoute(n,e,i,o,s,r,a){return GD(o,e,s,r)?void 0===o.redirectTo?this.matchSegmentAgainstRoute(n,e,o,s,r):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(n,e,i,o,s,r):nc(e):nc(e)}expandSegmentAgainstRouteUsingRedirect(n,e,i,o,s,r){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(n,i,o,r):this.expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,o,s,r)}expandWildCardWithParamsAgainstRouteUsingRedirect(n,e,i,o){const s=this.applyRedirectCommands([],i.redirectTo,{});return i.redirectTo.startsWith("/")?$D(s):this.lineralizeSegments(i,s).pipe(Wt(r=>{const a=new He(r,{});return this.expandSegment(n,a,e,r,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(n,e,i,o,s,r){const{matched:a,consumedSegments:u,remainingSegments:p,positionalParamSegments:f}=Fd(e,o,s);if(!a)return nc(e);const g=this.applyRedirectCommands(u,o.redirectTo,f);return o.redirectTo.startsWith("/")?$D(g):this.lineralizeSegments(o,g).pipe(Wt(b=>this.expandSegment(n,e,i,b.concat(p),r,!1)))}matchSegmentAgainstRoute(n,e,i,o,s){if("**"===i.path)return i.loadChildren?(i._loadedConfig?ne(i._loadedConfig):this.configLoader.load(n.injector,i)).pipe(pe(g=>(i._loadedConfig=g,new He(o,{})))):ne(new He(o,{}));const{matched:r,consumedSegments:a,remainingSegments:u}=Fd(e,i,o);return r?this.getChildConfig(n,i,o).pipe(Wt(f=>{const g=f.module,b=f.routes,{segmentGroup:y,slicedSegments:w}=Pd(e,a,u,b),E=new He(y.segments,y.children);if(0===w.length&&E.hasChildren())return this.expandChildren(g,b,E).pipe(pe(k=>new He(a,k)));if(0===b.length&&0===w.length)return ne(new He(a,{}));const S=Si(i)===s;return this.expandSegment(g,E,b,w,S?Pe:s,!0).pipe(pe(T=>new He(a.concat(T.segments),T.children)))})):nc(e)}getChildConfig(n,e,i){return e.children?ne(new Yg(e.children,n)):e.loadChildren?void 0!==e._loadedConfig?ne(e._loadedConfig):this.runCanLoadGuards(n.injector,e,i).pipe(Wt(o=>o?this.configLoader.load(n.injector,e).pipe(pe(s=>(e._loadedConfig=s,s))):function lL(t){return Yl(Bg(`Cannot load children because the guard of the route "path: '${t.path}'" returned false`))}(e))):ne(new Yg([],n))}runCanLoadGuards(n,e,i){const o=e.canLoad;return o&&0!==o.length?ne(o.map(r=>{const a=n.get(r);let u;if(function Q8(t){return t&&vs(t.canLoad)}(a))u=a.canLoad(e,i);else{if(!vs(a))throw new Error("Invalid CanLoad guard");u=a(e,i)}return vo(u)})).pipe(ec(),zt(r=>{if(!or(r))return;const a=Bg(`Redirecting to "${this.urlSerializer.serialize(r)}"`);throw a.url=r,a}),pe(r=>!0===r)):ne(!0)}lineralizeSegments(n,e){let i=[],o=e.root;for(;;){if(i=i.concat(o.segments),0===o.numberOfChildren)return ne(i);if(o.numberOfChildren>1||!o.children[Pe])return Yl(new Error(`Only absolute redirects can have named outlets. redirectTo: '${n.redirectTo}'`));o=o.children[Pe]}}applyRedirectCommands(n,e,i){return this.applyRedirectCreatreUrlTree(e,this.urlSerializer.parse(e),n,i)}applyRedirectCreatreUrlTree(n,e,i,o){const s=this.createSegmentGroup(n,e.root,i,o);return new nr(s,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){const i={};return Dn(n,(o,s)=>{if("string"==typeof o&&o.startsWith(":")){const a=o.substring(1);i[s]=e[a]}else i[s]=o}),i}createSegmentGroup(n,e,i,o){const s=this.createSegments(n,e.segments,i,o);let r={};return Dn(e.children,(a,u)=>{r[u]=this.createSegmentGroup(n,a,i,o)}),new He(s,r)}createSegments(n,e,i,o){return e.map(s=>s.path.startsWith(":")?this.findPosParam(n,s,o):this.findOrReturn(s,i))}findPosParam(n,e,i){const o=i[e.path.substring(1)];if(!o)throw new Error(`Cannot redirect to '${n}'. Cannot find '${e.path}'.`);return o}findOrReturn(n,e){let i=0;for(const o of e){if(o.path===n.path)return e.splice(i),o;i++}return n}}function Kg(t){const n={};for(const i of Object.keys(t.children)){const s=Kg(t.children[i]);(s.segments.length>0||s.hasChildren())&&(n[i]=s)}return function dL(t){if(1===t.numberOfChildren&&t.children[Pe]){const n=t.children[Pe];return new He(t.segments.concat(n.segments),n.children)}return t}(new He(t.segments,n))}class WD{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}}class Vd{constructor(n,e){this.component=n,this.route=e}}function pL(t,n,e){const i=t._root;return ic(i,n?n._root:null,e,[i.value])}function jd(t,n,e){const i=function mL(t){if(!t)return null;for(let n=t.parent;n;n=n.parent){const e=n.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(n);return(i?i.module.injector:e).get(t)}function ic(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const s=xa(n);return t.children.forEach(r=>{(function gL(t,n,e,i,o={canDeactivateChecks:[],canActivateChecks:[]}){const s=t.value,r=n?n.value:null,a=e?e.getContext(t.value.outlet):null;if(r&&s.routeConfig===r.routeConfig){const u=function _L(t,n,e){if("function"==typeof e)return e(t,n);switch(e){case"pathParamsChange":return!ir(t.url,n.url);case"pathParamsOrQueryParamsChange":return!ir(t.url,n.url)||!_o(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!zg(t,n)||!_o(t.queryParams,n.queryParams);default:return!zg(t,n)}}(r,s,s.routeConfig.runGuardsAndResolvers);u?o.canActivateChecks.push(new WD(i)):(s.data=r.data,s._resolvedData=r._resolvedData),ic(t,n,s.component?a?a.children:null:e,i,o),u&&a&&a.outlet&&a.outlet.isActivated&&o.canDeactivateChecks.push(new Vd(a.outlet.component,r))}else r&&oc(n,a,o),o.canActivateChecks.push(new WD(i)),ic(t,null,s.component?a?a.children:null:e,i,o)})(r,s[r.value.outlet],e,i.concat([r.value]),o),delete s[r.value.outlet]}),Dn(s,(r,a)=>oc(r,e.getContext(a),o)),o}function oc(t,n,e){const i=xa(t),o=t.value;Dn(i,(s,r)=>{oc(s,o.component?n?n.children.getContext(r):null:n,e)}),e.canDeactivateChecks.push(new Vd(o.component&&n&&n.outlet&&n.outlet.isActivated?n.outlet.component:null,o))}class SL{}function YD(t){return new Qe(n=>n.error(t))}class IL{constructor(n,e,i,o,s,r){this.rootComponentType=n,this.config=e,this.urlTree=i,this.url=o,this.paramsInheritanceStrategy=s,this.relativeLinkResolution=r}recognize(){const n=Pd(this.urlTree.root,[],[],this.config.filter(r=>void 0===r.redirectTo),this.relativeLinkResolution).segmentGroup,e=this.processSegmentGroup(this.config,n,Pe);if(null===e)return null;const i=new Od([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},Pe,this.rootComponentType,null,this.urlTree.root,-1,{}),o=new Go(i,e),s=new ND(this.url,o);return this.inheritParamsAndData(s._root),s}inheritParamsAndData(n){const e=n.value,i=OD(e,this.paramsInheritanceStrategy);e.params=Object.freeze(i.params),e.data=Object.freeze(i.data),n.children.forEach(o=>this.inheritParamsAndData(o))}processSegmentGroup(n,e,i){return 0===e.segments.length&&e.hasChildren()?this.processChildren(n,e):this.processSegment(n,e,e.segments,i)}processChildren(n,e){const i=[];for(const s of Object.keys(e.children)){const r=e.children[s],a=HD(n,s),u=this.processSegmentGroup(a,r,s);if(null===u)return null;i.push(...u)}const o=QD(i);return function AL(t){t.sort((n,e)=>n.value.outlet===Pe?-1:e.value.outlet===Pe?1:n.value.outlet.localeCompare(e.value.outlet))}(o),o}processSegment(n,e,i,o){for(const s of n){const r=this.processSegmentAgainstRoute(s,e,i,o);if(null!==r)return r}return zD(e,i,o)?[]:null}processSegmentAgainstRoute(n,e,i,o){if(n.redirectTo||!GD(n,e,i,o))return null;let s,r=[],a=[];if("**"===n.path){const y=i.length>0?_D(i).parameters:{};s=new Od(i,y,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,JD(n),Si(n),n.component,n,KD(e),ZD(e)+i.length,XD(n))}else{const y=Fd(e,n,i);if(!y.matched)return null;r=y.consumedSegments,a=y.remainingSegments,s=new Od(r,y.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,JD(n),Si(n),n.component,n,KD(e),ZD(e)+r.length,XD(n))}const u=function xL(t){return t.children?t.children:t.loadChildren?t._loadedConfig.routes:[]}(n),{segmentGroup:p,slicedSegments:f}=Pd(e,r,a,u.filter(y=>void 0===y.redirectTo),this.relativeLinkResolution);if(0===f.length&&p.hasChildren()){const y=this.processChildren(u,p);return null===y?null:[new Go(s,y)]}if(0===u.length&&0===f.length)return[new Go(s,[])];const g=Si(n)===o,b=this.processSegment(u,p,f,g?Pe:o);return null===b?null:[new Go(s,b)]}}function OL(t){const n=t.value.routeConfig;return n&&""===n.path&&void 0===n.redirectTo}function QD(t){const n=[],e=new Set;for(const i of t){if(!OL(i)){n.push(i);continue}const o=n.find(s=>i.value.routeConfig===s.value.routeConfig);void 0!==o?(o.children.push(...i.children),e.add(o)):n.push(i)}for(const i of e){const o=QD(i.children);n.push(new Go(i.value,o))}return n.filter(i=>!e.has(i))}function KD(t){let n=t;for(;n._sourceSegment;)n=n._sourceSegment;return n}function ZD(t){let n=t,e=n._segmentIndexShift?n._segmentIndexShift:0;for(;n._sourceSegment;)n=n._sourceSegment,e+=n._segmentIndexShift?n._segmentIndexShift:0;return e-1}function JD(t){return t.data||{}}function XD(t){return t.resolve||{}}function eE(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t)]}function Zg(t){return qn(n=>{const e=t(n);return e?nn(e).pipe(pe(()=>n)):ne(n)})}class VL extends class BL{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}}{}const Jg=new j("ROUTES");class tE{constructor(n,e,i,o){this.injector=n,this.compiler=e,this.onLoadStartListener=i,this.onLoadEndListener=o}load(n,e){if(e._loader$)return e._loader$;this.onLoadStartListener&&this.onLoadStartListener(e);const o=this.loadModuleFactory(e.loadChildren).pipe(pe(s=>{this.onLoadEndListener&&this.onLoadEndListener(e);const r=s.create(n);return new Yg(gD(r.injector.get(Jg,void 0,De.Self|De.Optional)).map(Qg),r)}),go(s=>{throw e._loader$=void 0,s}));return e._loader$=new X6(o,()=>new $).pipe(sD()),e._loader$}loadModuleFactory(n){return vo(n()).pipe(Wt(e=>e instanceof m2?ne(e):nn(this.compiler.compileModuleAsync(e))))}}class HL{shouldProcessUrl(n){return!0}extract(n){return n}merge(n,e){return n}}function UL(t){throw t}function GL(t,n,e){return n.parse("/")}function nE(t,n){return ne(null)}const zL={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},qL={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let gt=(()=>{class t{constructor(e,i,o,s,r,a,u){this.rootComponentType=e,this.urlSerializer=i,this.rootContexts=o,this.location=s,this.config=u,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.disposed=!1,this.navigationId=0,this.currentPageId=0,this.isNgZoneEnabled=!1,this.events=new $,this.errorHandler=UL,this.malformedUriErrorHandler=GL,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:nE,afterPreactivation:nE},this.urlHandlingStrategy=new HL,this.routeReuseStrategy=new VL,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="corrected",this.canceledNavigationResolution="replace",this.ngModule=r.get(Lo),this.console=r.get(o5);const g=r.get(se);this.isNgZoneEnabled=g instanceof se&&se.isInAngularZone(),this.resetConfig(u),this.currentUrlTree=function _8(){return new nr(new He([],{}),{},null)}(),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new tE(r,a,b=>this.triggerEvent(new dD(b)),b=>this.triggerEvent(new hD(b))),this.routerState=xD(this.currentUrlTree,this.rootComponentType),this.transitions=new Nt({id:0,targetPageId:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}get browserPageId(){var e;return null===(e=this.location.getState())||void 0===e?void 0:e.\u0275routerPageId}setupNavigations(e){const i=this.events;return e.pipe(ut(o=>0!==o.id),pe(o=>Object.assign(Object.assign({},o),{extractedUrl:this.urlHandlingStrategy.extract(o.rawUrl)})),qn(o=>{let s=!1,r=!1;return ne(o).pipe(zt(a=>{this.currentNavigation={id:a.id,initialUrl:a.currentRawUrl,extractedUrl:a.extractedUrl,trigger:a.source,extras:a.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),qn(a=>{const u=this.browserUrlTree.toString(),p=!this.navigated||a.extractedUrl.toString()!==u||u!==this.currentUrlTree.toString();if(("reload"===this.onSameUrlNavigation||p)&&this.urlHandlingStrategy.shouldProcessUrl(a.rawUrl))return iE(a.source)&&(this.browserUrlTree=a.extractedUrl),ne(a).pipe(qn(g=>{const b=this.transitions.getValue();return i.next(new Lg(g.id,this.serializeUrl(g.extractedUrl),g.source,g.restoredState)),b!==this.transitions.getValue()?Zn:Promise.resolve(g)}),function hL(t,n,e,i){return qn(o=>function cL(t,n,e,i,o){return new uL(t,n,e,i,o).apply()}(t,n,e,o.extractedUrl,i).pipe(pe(s=>Object.assign(Object.assign({},o),{urlAfterRedirects:s}))))}(this.ngModule.injector,this.configLoader,this.urlSerializer,this.config),zt(g=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:g.urlAfterRedirects})}),function NL(t,n,e,i,o){return Wt(s=>function ML(t,n,e,i,o="emptyOnly",s="legacy"){try{const r=new IL(t,n,e,i,o,s).recognize();return null===r?YD(new SL):ne(r)}catch(r){return YD(r)}}(t,n,s.urlAfterRedirects,e(s.urlAfterRedirects),i,o).pipe(pe(r=>Object.assign(Object.assign({},s),{targetSnapshot:r}))))}(this.rootComponentType,this.config,g=>this.serializeUrl(g),this.paramsInheritanceStrategy,this.relativeLinkResolution),zt(g=>{if("eager"===this.urlUpdateStrategy){if(!g.extras.skipLocationChange){const y=this.urlHandlingStrategy.merge(g.urlAfterRedirects,g.rawUrl);this.setBrowserUrl(y,g)}this.browserUrlTree=g.urlAfterRedirects}const b=new o8(g.id,this.serializeUrl(g.extractedUrl),this.serializeUrl(g.urlAfterRedirects),g.targetSnapshot);i.next(b)}));if(p&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:b,extractedUrl:y,source:w,restoredState:E,extras:S}=a,A=new Lg(b,this.serializeUrl(y),w,E);i.next(A);const T=xD(y,this.rootComponentType).snapshot;return ne(Object.assign(Object.assign({},a),{targetSnapshot:T,urlAfterRedirects:y,extras:Object.assign(Object.assign({},S),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=a.rawUrl,a.resolve(null),Zn}),Zg(a=>{const{targetSnapshot:u,id:p,extractedUrl:f,rawUrl:g,extras:{skipLocationChange:b,replaceUrl:y}}=a;return this.hooks.beforePreactivation(u,{navigationId:p,appliedUrlTree:f,rawUrlTree:g,skipLocationChange:!!b,replaceUrl:!!y})}),zt(a=>{const u=new s8(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot);this.triggerEvent(u)}),pe(a=>Object.assign(Object.assign({},a),{guards:pL(a.targetSnapshot,a.currentSnapshot,this.rootContexts)})),function vL(t,n){return Wt(e=>{const{targetSnapshot:i,currentSnapshot:o,guards:{canActivateChecks:s,canDeactivateChecks:r}}=e;return 0===r.length&&0===s.length?ne(Object.assign(Object.assign({},e),{guardsResult:!0})):function bL(t,n,e,i){return nn(t).pipe(Wt(o=>function TL(t,n,e,i,o){const s=n&&n.routeConfig?n.routeConfig.canDeactivate:null;return s&&0!==s.length?ne(s.map(a=>{const u=jd(a,n,o);let p;if(function J8(t){return t&&vs(t.canDeactivate)}(u))p=vo(u.canDeactivate(t,n,e,i));else{if(!vs(u))throw new Error("Invalid CanDeactivate guard");p=vo(u(t,n,e,i))}return p.pipe(Ma())})).pipe(ec()):ne(!0)}(o.component,o.route,e,n,i)),Ma(o=>!0!==o,!0))}(r,i,o,t).pipe(Wt(a=>a&&function Y8(t){return"boolean"==typeof t}(a)?function yL(t,n,e,i){return nn(n).pipe(Sa(o=>Ta(function wL(t,n){return null!==t&&n&&n(new c8(t)),ne(!0)}(o.route.parent,i),function CL(t,n){return null!==t&&n&&n(new d8(t)),ne(!0)}(o.route,i),function EL(t,n,e){const i=n[n.length-1],s=n.slice(0,n.length-1).reverse().map(r=>function fL(t){const n=t.routeConfig?t.routeConfig.canActivateChild:null;return n&&0!==n.length?{node:t,guards:n}:null}(r)).filter(r=>null!==r).map(r=>Td(()=>ne(r.guards.map(u=>{const p=jd(u,r.node,e);let f;if(function Z8(t){return t&&vs(t.canActivateChild)}(p))f=vo(p.canActivateChild(i,t));else{if(!vs(p))throw new Error("Invalid CanActivateChild guard");f=vo(p(i,t))}return f.pipe(Ma())})).pipe(ec())));return ne(s).pipe(ec())}(t,o.path,e),function DL(t,n,e){const i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||0===i.length)return ne(!0);const o=i.map(s=>Td(()=>{const r=jd(s,n,e);let a;if(function K8(t){return t&&vs(t.canActivate)}(r))a=vo(r.canActivate(n,t));else{if(!vs(r))throw new Error("Invalid CanActivate guard");a=vo(r(n,t))}return a.pipe(Ma())}));return ne(o).pipe(ec())}(t,o.route,e))),Ma(o=>!0!==o,!0))}(i,s,t,n):ne(a)),pe(a=>Object.assign(Object.assign({},e),{guardsResult:a})))})}(this.ngModule.injector,a=>this.triggerEvent(a)),zt(a=>{if(or(a.guardsResult)){const p=Bg(`Redirecting to "${this.serializeUrl(a.guardsResult)}"`);throw p.url=a.guardsResult,p}const u=new r8(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(a.urlAfterRedirects),a.targetSnapshot,!!a.guardsResult);this.triggerEvent(u)}),ut(a=>!!a.guardsResult||(this.restoreHistory(a),this.cancelNavigationTransition(a,""),!1)),Zg(a=>{if(a.guards.canActivateChecks.length)return ne(a).pipe(zt(u=>{const p=new a8(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(p)}),qn(u=>{let p=!1;return ne(u).pipe(function kL(t,n){return Wt(e=>{const{targetSnapshot:i,guards:{canActivateChecks:o}}=e;if(!o.length)return ne(e);let s=0;return nn(o).pipe(Sa(r=>function RL(t,n,e,i){return function FL(t,n,e,i){const o=eE(t);if(0===o.length)return ne({});const s={};return nn(o).pipe(Wt(r=>function PL(t,n,e,i){const o=jd(t,n,i);return vo(o.resolve?o.resolve(n,e):o(n,e))}(t[r],n,e,i).pipe(zt(a=>{s[r]=a}))),Pg(1),Wt(()=>eE(s).length===o.length?ne(s):Zn))}(t._resolve,t,n,i).pipe(pe(s=>(t._resolvedData=s,t.data=Object.assign(Object.assign({},t.data),OD(t,e).resolve),null)))}(r.route,i,t,n)),zt(()=>s++),Pg(1),Wt(r=>s===o.length?ne(e):Zn))})}(this.paramsInheritanceStrategy,this.ngModule.injector),zt({next:()=>p=!0,complete:()=>{p||(this.restoreHistory(u),this.cancelNavigationTransition(u,"At least one route resolver didn't emit any value."))}}))}),zt(u=>{const p=new l8(u.id,this.serializeUrl(u.extractedUrl),this.serializeUrl(u.urlAfterRedirects),u.targetSnapshot);this.triggerEvent(p)}))}),Zg(a=>{const{targetSnapshot:u,id:p,extractedUrl:f,rawUrl:g,extras:{skipLocationChange:b,replaceUrl:y}}=a;return this.hooks.afterPreactivation(u,{navigationId:p,appliedUrlTree:f,rawUrlTree:g,skipLocationChange:!!b,replaceUrl:!!y})}),pe(a=>{const u=function F8(t,n,e){const i=Zl(t,n._root,e?e._root:void 0);return new AD(i,n)}(this.routeReuseStrategy,a.targetSnapshot,a.currentRouterState);return Object.assign(Object.assign({},a),{targetRouterState:u})}),zt(a=>{this.currentUrlTree=a.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(a.urlAfterRedirects,a.rawUrl),this.routerState=a.targetRouterState,"deferred"===this.urlUpdateStrategy&&(a.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,a),this.browserUrlTree=a.urlAfterRedirects)}),((t,n,e)=>pe(i=>(new $8(n,i.targetRouterState,i.currentRouterState,e).activate(t),i)))(this.rootContexts,this.routeReuseStrategy,a=>this.triggerEvent(a)),zt({next(){s=!0},complete(){s=!0}}),cD(()=>{var a;s||r||this.cancelNavigationTransition(o,`Navigation ID ${o.id} is not equal to the current navigation id ${this.navigationId}`),(null===(a=this.currentNavigation)||void 0===a?void 0:a.id)===o.id&&(this.currentNavigation=null)}),go(a=>{if(r=!0,function f8(t){return t&&t[fD]}(a)){const u=or(a.url);u||(this.navigated=!0,this.restoreHistory(o,!0));const p=new uD(o.id,this.serializeUrl(o.extractedUrl),a.message);i.next(p),u?setTimeout(()=>{const f=this.urlHandlingStrategy.merge(a.url,this.rawUrlTree),g={skipLocationChange:o.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||iE(o.source)};this.scheduleNavigation(f,"imperative",null,g,{resolve:o.resolve,reject:o.reject,promise:o.promise})},0):o.resolve(!1)}else{this.restoreHistory(o,!0);const u=new i8(o.id,this.serializeUrl(o.extractedUrl),a);i.next(u);try{o.resolve(this.errorHandler(a))}catch(p){o.reject(p)}}return Zn}))}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.transitions.value),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{const i="popstate"===e.type?"popstate":"hashchange";"popstate"===i&&setTimeout(()=>{var o;const s={replaceUrl:!0},r=(null===(o=e.state)||void 0===o?void 0:o.navigationId)?e.state:null;if(r){const u=Object.assign({},r);delete u.navigationId,delete u.\u0275routerPageId,0!==Object.keys(u).length&&(s.state=u)}const a=this.parseUrl(e.url);this.scheduleNavigation(a,i,r,s)},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){jD(e),this.config=e.map(Qg),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.transitions.complete(),this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=void 0),this.disposed=!0}createUrlTree(e,i={}){const{relativeTo:o,queryParams:s,fragment:r,queryParamsHandling:a,preserveFragment:u}=i,p=o||this.routerState.root,f=u?this.currentUrlTree.fragment:r;let g=null;switch(a){case"merge":g=Object.assign(Object.assign({},this.currentUrlTree.queryParams),s);break;case"preserve":g=this.currentUrlTree.queryParams;break;default:g=s||null}return null!==g&&(g=this.removeEmptyProps(g)),function B8(t,n,e,i,o){if(0===e.length)return qg(n.root,n.root,n.root,i,o);const s=function V8(t){if("string"==typeof t[0]&&1===t.length&&"/"===t[0])return new FD(!0,0,t);let n=0,e=!1;const i=t.reduce((o,s,r)=>{if("object"==typeof s&&null!=s){if(s.outlets){const a={};return Dn(s.outlets,(u,p)=>{a[p]="string"==typeof u?u.split("/"):u}),[...o,{outlets:a}]}if(s.segmentPath)return[...o,s.segmentPath]}return"string"!=typeof s?[...o,s]:0===r?(s.split("/").forEach((a,u)=>{0==u&&"."===a||(0==u&&""===a?e=!0:".."===a?n++:""!=a&&o.push(a))}),o):[...o,s]},[]);return new FD(e,n,i)}(e);if(s.toRoot())return qg(n.root,n.root,new He([],{}),i,o);const r=function j8(t,n,e){if(t.isAbsolute)return new $g(n.root,!0,0);if(-1===e.snapshot._lastPathIndex){const s=e.snapshot._urlSegment;return new $g(s,s===n.root,0)}const i=Nd(t.commands[0])?0:1;return function H8(t,n,e){let i=t,o=n,s=e;for(;s>o;){if(s-=o,i=i.parent,!i)throw new Error("Invalid number of '../'");o=i.segments.length}return new $g(i,!1,o-s)}(e.snapshot._urlSegment,e.snapshot._lastPathIndex+i,t.numberOfDoubleDots)}(s,n,t),a=r.processChildren?kd(r.segmentGroup,r.index,s.commands):PD(r.segmentGroup,r.index,s.commands);return qg(n.root,r.segmentGroup,a,i,o)}(p,this.currentUrlTree,e,g,null!=f?f:null)}navigateByUrl(e,i={skipLocationChange:!1}){const o=or(e)?e:this.parseUrl(e),s=this.urlHandlingStrategy.merge(o,this.rawUrlTree);return this.scheduleNavigation(s,"imperative",null,i)}navigate(e,i={skipLocationChange:!1}){return function $L(t){for(let n=0;n{const s=e[o];return null!=s&&(i[o]=s),i},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.currentPageId=e.targetPageId,this.events.next(new Ia(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,e.resolve(!0)},e=>{this.console.warn(`Unhandled Navigation Error: ${e}`)})}scheduleNavigation(e,i,o,s,r){var a,u;if(this.disposed)return Promise.resolve(!1);let p,f,g;r?(p=r.resolve,f=r.reject,g=r.promise):g=new Promise((w,E)=>{p=w,f=E});const b=++this.navigationId;let y;return"computed"===this.canceledNavigationResolution?(0===this.currentPageId&&(o=this.location.getState()),y=o&&o.\u0275routerPageId?o.\u0275routerPageId:s.replaceUrl||s.skipLocationChange?null!==(a=this.browserPageId)&&void 0!==a?a:0:(null!==(u=this.browserPageId)&&void 0!==u?u:0)+1):y=0,this.setTransition({id:b,targetPageId:y,source:i,restoredState:o,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:s,resolve:p,reject:f,promise:g,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),g.catch(w=>Promise.reject(w))}setBrowserUrl(e,i){const o=this.urlSerializer.serialize(e),s=Object.assign(Object.assign({},i.extras.state),this.generateNgRouterState(i.id,i.targetPageId));this.location.isCurrentPathEqualTo(o)||i.extras.replaceUrl?this.location.replaceState(o,"",s):this.location.go(o,"",s)}restoreHistory(e,i=!1){var o,s;if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-e.targetPageId;"popstate"!==e.source&&"eager"!==this.urlUpdateStrategy&&this.currentUrlTree!==(null===(o=this.currentNavigation)||void 0===o?void 0:o.finalUrl)||0===r?this.currentUrlTree===(null===(s=this.currentNavigation)||void 0===s?void 0:s.finalUrl)&&0===r&&(this.resetState(e),this.browserUrlTree=e.currentUrlTree,this.resetUrlToCurrentUrlTree()):this.location.historyGo(r)}else"replace"===this.canceledNavigationResolution&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=e.currentRouterState,this.currentUrlTree=e.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}cancelNavigationTransition(e,i){const o=new uD(e.id,this.serializeUrl(e.extractedUrl),i);this.triggerEvent(o),e.resolve(!1)}generateNgRouterState(e,i){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}}return t.\u0275fac=function(e){zs()},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();function iE(t){return"imperative"!==t}let Xe=(()=>{class t{constructor(e,i,o,s,r){this.router=e,this.route=i,this.tabIndexAttribute=o,this.renderer=s,this.el=r,this.commands=null,this.onChanges=new $,this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){if(null!=this.tabIndexAttribute)return;const i=this.renderer,o=this.el.nativeElement;null!==e?i.setAttribute(o,"tabindex",e):i.removeAttribute(o,"tabindex")}ngOnChanges(e){this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(){if(null===this.urlTree)return!0;const e={skipLocationChange:Oa(this.skipLocationChange),replaceUrl:Oa(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Oa(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(_(gt),_(Vt),ni("tabindex"),_(ai),_(K))},t.\u0275dir=x({type:t,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,i){1&e&&D("click",function(){return i.onClick()})},inputs:{queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[mt]}),t})(),Hd=(()=>{class t{constructor(e,i,o){this.router=e,this.route=i,this.locationStrategy=o,this.commands=null,this.href=null,this.onChanges=new $,this.subscription=e.events.subscribe(s=>{s instanceof Ia&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:null}ngOnChanges(e){this.updateTargetUrlAndHref(),this.onChanges.next(this)}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,i,o,s,r){if(0!==e||i||o||s||r||"string"==typeof this.target&&"_self"!=this.target||null===this.urlTree)return!0;const a={skipLocationChange:Oa(this.skipLocationChange),replaceUrl:Oa(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,a),!1}updateTargetUrlAndHref(){this.href=null!==this.urlTree?this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null}get urlTree(){return null===this.commands?null:this.router.createUrlTree(this.commands,{relativeTo:void 0!==this.relativeTo?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:Oa(this.preserveFragment)})}}return t.\u0275fac=function(e){return new(e||t)(_(gt),_(Vt),_(Xs))},t.\u0275dir=x({type:t,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,i){1&e&&D("click",function(s){return i.onClick(s.button,s.ctrlKey,s.shiftKey,s.altKey,s.metaKey)}),2&e&&ae("target",i.target)("href",i.href,we)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state",relativeTo:"relativeTo",routerLink:"routerLink"},features:[mt]}),t})();function Oa(t){return""===t||!!t}class oE{}class sE{preload(n,e){return ne(null)}}let rE=(()=>{class t{constructor(e,i,o,s){this.router=e,this.injector=o,this.preloadingStrategy=s,this.loader=new tE(o,i,u=>e.triggerEvent(new dD(u)),u=>e.triggerEvent(new hD(u)))}setUpPreloading(){this.subscription=this.router.events.pipe(ut(e=>e instanceof Ia),Sa(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(Lo);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){const o=[];for(const s of i)if(s.loadChildren&&!s.canLoad&&s._loadedConfig){const r=s._loadedConfig;o.push(this.processRoutes(r.module,r.routes))}else s.loadChildren&&!s.canLoad?o.push(this.preloadConfig(e,s)):s.children&&o.push(this.processRoutes(e,s.children));return nn(o).pipe(Za(),pe(s=>{}))}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>(i._loadedConfig?ne(i._loadedConfig):this.loader.load(e.injector,i)).pipe(Wt(s=>(i._loadedConfig=s,this.processRoutes(s.module,s.routes)))))}}return t.\u0275fac=function(e){return new(e||t)(M(gt),M(J2),M(yt),M(oE))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),Xg=(()=>{class t{constructor(e,i,o={}){this.router=e,this.viewportScroller=i,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration=o.scrollPositionRestoration||"disabled",o.anchorScrolling=o.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof Lg?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof Ia&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof pD&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.router.triggerEvent(new pD(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,i))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return t.\u0275fac=function(e){zs()},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const sr=new j("ROUTER_CONFIGURATION"),aE=new j("ROUTER_FORROOT_GUARD"),KL=[Ea,{provide:DD,useClass:ED},{provide:gt,useFactory:function t9(t,n,e,i,o,s,r={},a,u){const p=new gt(null,t,n,e,i,o,gD(s));return a&&(p.urlHandlingStrategy=a),u&&(p.routeReuseStrategy=u),function n9(t,n){t.errorHandler&&(n.errorHandler=t.errorHandler),t.malformedUriErrorHandler&&(n.malformedUriErrorHandler=t.malformedUriErrorHandler),t.onSameUrlNavigation&&(n.onSameUrlNavigation=t.onSameUrlNavigation),t.paramsInheritanceStrategy&&(n.paramsInheritanceStrategy=t.paramsInheritanceStrategy),t.relativeLinkResolution&&(n.relativeLinkResolution=t.relativeLinkResolution),t.urlUpdateStrategy&&(n.urlUpdateStrategy=t.urlUpdateStrategy),t.canceledNavigationResolution&&(n.canceledNavigationResolution=t.canceledNavigationResolution)}(r,p),r.enableTracing&&p.events.subscribe(f=>{var g,b;null===(g=console.group)||void 0===g||g.call(console,`Router Event: ${f.constructor.name}`),console.log(f.toString()),console.log(f),null===(b=console.groupEnd)||void 0===b||b.call(console)}),p},deps:[DD,tc,Ea,yt,J2,Jg,sr,[class jL{},new Ci],[class LL{},new Ci]]},tc,{provide:Vt,useFactory:function i9(t){return t.routerState.root},deps:[gt]},rE,sE,class QL{preload(n,e){return e().pipe(go(()=>ne(null)))}},{provide:sr,useValue:{enableTracing:!1}}];function ZL(){return new iw("Router",gt)}let e_=(()=>{class t{constructor(e,i){}static forRoot(e,i){return{ngModule:t,providers:[KL,lE(e),{provide:aE,useFactory:e9,deps:[[gt,new Ci,new js]]},{provide:sr,useValue:i||{}},{provide:Xs,useFactory:XL,deps:[Js,[new Nu(pg),new Ci],sr]},{provide:Xg,useFactory:JL,deps:[gt,a6,sr]},{provide:oE,useExisting:i&&i.preloadingStrategy?i.preloadingStrategy:sE},{provide:iw,multi:!0,useFactory:ZL},[t_,{provide:Jm,multi:!0,useFactory:o9,deps:[t_]},{provide:cE,useFactory:s9,deps:[t_]},{provide:Z2,multi:!0,useExisting:cE}]]}}static forChild(e){return{ngModule:t,providers:[lE(e)]}}}return t.\u0275fac=function(e){return new(e||t)(M(aE,8),M(gt,8))},t.\u0275mod=J({type:t}),t.\u0275inj=Z({}),t})();function JL(t,n,e){return e.scrollOffset&&n.setOffset(e.scrollOffset),new Xg(t,n,e)}function XL(t,n,e={}){return e.useHash?new K5(t,n):new fg(t,n)}function e9(t){return"guarded"}function lE(t){return[{provide:Gx,multi:!0,useValue:t},{provide:Jg,multi:!0,useValue:t}]}let t_=(()=>{class t{constructor(e){this.injector=e,this.initNavigation=!1,this.destroyed=!1,this.resultOfPreactivationDone=new $}appInitializer(){return this.injector.get(W5,Promise.resolve(null)).then(()=>{if(this.destroyed)return Promise.resolve(!0);let i=null;const o=new Promise(a=>i=a),s=this.injector.get(gt),r=this.injector.get(sr);return"disabled"===r.initialNavigation?(s.setUpLocationChangeListener(),i(!0)):"enabled"===r.initialNavigation||"enabledBlocking"===r.initialNavigation?(s.hooks.afterPreactivation=()=>this.initNavigation?ne(null):(this.initNavigation=!0,i(!0),this.resultOfPreactivationDone),s.initialNavigation()):i(!0),o})}bootstrapListener(e){const i=this.injector.get(sr),o=this.injector.get(rE),s=this.injector.get(Xg),r=this.injector.get(gt),a=this.injector.get(Ks);e===a.components[0]&&(("enabledNonBlocking"===i.initialNavigation||void 0===i.initialNavigation)&&r.initialNavigation(),o.setUpPreloading(),s.init(),r.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}ngOnDestroy(){this.destroyed=!0}}return t.\u0275fac=function(e){return new(e||t)(M(yt))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();function o9(t){return t.appInitializer.bind(t)}function s9(t){return t.bootstrapListener.bind(t)}const cE=new j("Router Initializer");let Ve=(()=>{class t{constructor(e,i){this.document=e,this.platformId=i,this.documentIsAccessible=Ig(this.platformId)}static getCookieRegExp(e){const i=e.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+i+"|;\\s*"+i+")=(.*?)(?:;|$)","g")}static safeDecodeURIComponent(e){try{return decodeURIComponent(e)}catch(i){return e}}check(e){return!!this.documentIsAccessible&&(e=encodeURIComponent(e),t.getCookieRegExp(e).test(this.document.cookie))}get(e){if(this.documentIsAccessible&&this.check(e)){e=encodeURIComponent(e);const o=t.getCookieRegExp(e).exec(this.document.cookie);return o[1]?t.safeDecodeURIComponent(o[1]):""}return""}getAll(){if(!this.documentIsAccessible)return{};const e={},i=this.document;return i.cookie&&""!==i.cookie&&i.cookie.split(";").forEach(o=>{const[s,r]=o.split("=");e[t.safeDecodeURIComponent(s.replace(/^ /,""))]=t.safeDecodeURIComponent(r)}),e}set(e,i,o,s,r,a,u){if(!this.documentIsAccessible)return;if("number"==typeof o||o instanceof Date||s||r||a||u)return void this.set(e,i,{expires:o,path:s,domain:r,secure:a,sameSite:u||"Lax"});let p=encodeURIComponent(e)+"="+encodeURIComponent(i)+";";const f=o||{};f.expires&&(p+="number"==typeof f.expires?"expires="+new Date((new Date).getTime()+1e3*f.expires*60*60*24).toUTCString()+";":"expires="+f.expires.toUTCString()+";"),f.path&&(p+="path="+f.path+";"),f.domain&&(p+="domain="+f.domain+";"),!1===f.secure&&"None"===f.sameSite&&(f.secure=!0,console.warn(`[ngx-cookie-service] Cookie ${e} was forced with secure flag because sameSite=None.More details : https://github.com/stevermeister/ngx-cookie-service/issues/86#issuecomment-597720130`)),f.secure&&(p+="secure;"),f.sameSite||(f.sameSite="Lax"),p+="sameSite="+f.sameSite+";",this.document.cookie=p}delete(e,i,o,s,r="Lax"){if(!this.documentIsAccessible)return;const a=new Date("Thu, 01 Jan 1970 00:00:01 GMT");this.set(e,"",{expires:a,path:i,domain:o,secure:s,sameSite:r})}deleteAll(e,i,o,s="Lax"){if(!this.documentIsAccessible)return;const r=this.getAll();for(const a in r)r.hasOwnProperty(a)&&this.delete(a,e,i,o,s)}}return t.\u0275fac=function(e){return new(e||t)(M(ve),M(Da))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class uE{}class dE{}class bo{constructor(n){this.normalizedNames=new Map,this.lazyUpdate=null,n?this.lazyInit="string"==typeof n?()=>{this.headers=new Map,n.split("\n").forEach(e=>{const i=e.indexOf(":");if(i>0){const o=e.slice(0,i),s=o.toLowerCase(),r=e.slice(i+1).trim();this.maybeSetNormalizedName(o,s),this.headers.has(s)?this.headers.get(s).push(r):this.headers.set(s,[r])}})}:()=>{this.headers=new Map,Object.keys(n).forEach(e=>{let i=n[e];const o=e.toLowerCase();"string"==typeof i&&(i=[i]),i.length>0&&(this.headers.set(o,i),this.maybeSetNormalizedName(e,o))})}:this.headers=new Map}has(n){return this.init(),this.headers.has(n.toLowerCase())}get(n){this.init();const e=this.headers.get(n.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(n){return this.init(),this.headers.get(n.toLowerCase())||null}append(n,e){return this.clone({name:n,value:e,op:"a"})}set(n,e){return this.clone({name:n,value:e,op:"s"})}delete(n,e){return this.clone({name:n,value:e,op:"d"})}maybeSetNormalizedName(n,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,n)}init(){this.lazyInit&&(this.lazyInit instanceof bo?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(n=>this.applyUpdate(n)),this.lazyUpdate=null))}copyFrom(n){n.init(),Array.from(n.headers.keys()).forEach(e=>{this.headers.set(e,n.headers.get(e)),this.normalizedNames.set(e,n.normalizedNames.get(e))})}clone(n){const e=new bo;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof bo?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([n]),e}applyUpdate(n){const e=n.name.toLowerCase();switch(n.op){case"a":case"s":let i=n.value;if("string"==typeof i&&(i=[i]),0===i.length)return;this.maybeSetNormalizedName(n.name,e);const o=("a"===n.op?this.headers.get(e):void 0)||[];o.push(...i),this.headers.set(e,o);break;case"d":const s=n.value;if(s){let r=this.headers.get(e);if(!r)return;r=r.filter(a=>-1===s.indexOf(a)),0===r.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,r)}else this.headers.delete(e),this.normalizedNames.delete(e)}}forEach(n){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>n(this.normalizedNames.get(e),this.headers.get(e)))}}class a9{encodeKey(n){return hE(n)}encodeValue(n){return hE(n)}decodeKey(n){return decodeURIComponent(n)}decodeValue(n){return decodeURIComponent(n)}}const c9=/%(\d[a-f0-9])/gi,u9={40:"@","3A":":",24:"$","2C":",","3B":";","2B":"+","3D":"=","3F":"?","2F":"/"};function hE(t){return encodeURIComponent(t).replace(c9,(n,e)=>{var i;return null!==(i=u9[e])&&void 0!==i?i:n})}function pE(t){return`${t}`}class bs{constructor(n={}){if(this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new a9,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function l9(t,n){const e=new Map;return t.length>0&&t.replace(/^\?/,"").split("&").forEach(o=>{const s=o.indexOf("="),[r,a]=-1==s?[n.decodeKey(o),""]:[n.decodeKey(o.slice(0,s)),n.decodeValue(o.slice(s+1))],u=e.get(r)||[];u.push(a),e.set(r,u)}),e}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach(e=>{const i=n.fromObject[e];this.map.set(e,Array.isArray(i)?i:[i])})):this.map=null}has(n){return this.init(),this.map.has(n)}get(n){this.init();const e=this.map.get(n);return e?e[0]:null}getAll(n){return this.init(),this.map.get(n)||null}keys(){return this.init(),Array.from(this.map.keys())}append(n,e){return this.clone({param:n,value:e,op:"a"})}appendAll(n){const e=[];return Object.keys(n).forEach(i=>{const o=n[i];Array.isArray(o)?o.forEach(s=>{e.push({param:i,value:s,op:"a"})}):e.push({param:i,value:o,op:"a"})}),this.clone(e)}set(n,e){return this.clone({param:n,value:e,op:"s"})}delete(n,e){return this.clone({param:n,value:e,op:"d"})}toString(){return this.init(),this.keys().map(n=>{const e=this.encoder.encodeKey(n);return this.map.get(n).map(i=>e+"="+this.encoder.encodeValue(i)).join("&")}).filter(n=>""!==n).join("&")}clone(n){const e=new bs({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(n),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(n=>this.map.set(n,this.cloneFrom.map.get(n))),this.updates.forEach(n=>{switch(n.op){case"a":case"s":const e=("a"===n.op?this.map.get(n.param):void 0)||[];e.push(pE(n.value)),this.map.set(n.param,e);break;case"d":if(void 0===n.value){this.map.delete(n.param);break}{let i=this.map.get(n.param)||[];const o=i.indexOf(pE(n.value));-1!==o&&i.splice(o,1),i.length>0?this.map.set(n.param,i):this.map.delete(n.param)}}}),this.cloneFrom=this.updates=null)}}class d9{constructor(){this.map=new Map}set(n,e){return this.map.set(n,e),this}get(n){return this.map.has(n)||this.map.set(n,n.defaultValue()),this.map.get(n)}delete(n){return this.map.delete(n),this}has(n){return this.map.has(n)}keys(){return this.map.keys()}}function fE(t){return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer}function mE(t){return"undefined"!=typeof Blob&&t instanceof Blob}function gE(t){return"undefined"!=typeof FormData&&t instanceof FormData}class sc{constructor(n,e,i,o){let s;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=n.toUpperCase(),function h9(t){switch(t){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==i?i:null,s=o):s=i,s&&(this.reportProgress=!!s.reportProgress,this.withCredentials=!!s.withCredentials,s.responseType&&(this.responseType=s.responseType),s.headers&&(this.headers=s.headers),s.context&&(this.context=s.context),s.params&&(this.params=s.params)),this.headers||(this.headers=new bo),this.context||(this.context=new d9),this.params){const r=this.params.toString();if(0===r.length)this.urlWithParams=e;else{const a=e.indexOf("?");this.urlWithParams=e+(-1===a?"?":ab.set(y,n.setHeaders[y]),p)),n.setParams&&(f=Object.keys(n.setParams).reduce((b,y)=>b.set(y,n.setParams[y]),f)),new sc(i,o,r,{params:f,headers:p,context:g,reportProgress:u,responseType:s,withCredentials:a})}}var Zt=(()=>((Zt=Zt||{})[Zt.Sent=0]="Sent",Zt[Zt.UploadProgress=1]="UploadProgress",Zt[Zt.ResponseHeader=2]="ResponseHeader",Zt[Zt.DownloadProgress=3]="DownloadProgress",Zt[Zt.Response=4]="Response",Zt[Zt.User=5]="User",Zt))();class n_{constructor(n,e=200,i="OK"){this.headers=n.headers||new bo,this.status=void 0!==n.status?n.status:e,this.statusText=n.statusText||i,this.url=n.url||null,this.ok=this.status>=200&&this.status<300}}class i_ extends n_{constructor(n={}){super(n),this.type=Zt.ResponseHeader}clone(n={}){return new i_({headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class Ud extends n_{constructor(n={}){super(n),this.type=Zt.Response,this.body=void 0!==n.body?n.body:null}clone(n={}){return new Ud({body:void 0!==n.body?n.body:this.body,headers:n.headers||this.headers,status:void 0!==n.status?n.status:this.status,statusText:n.statusText||this.statusText,url:n.url||this.url||void 0})}}class _E extends n_{constructor(n){super(n,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${n.url||"(unknown url)"}`:`Http failure response for ${n.url||"(unknown url)"}: ${n.status} ${n.statusText}`,this.error=n.error||null}}function o_(t,n){return{body:n,headers:t.headers,context:t.context,observe:t.observe,params:t.params,reportProgress:t.reportProgress,responseType:t.responseType,withCredentials:t.withCredentials}}let dn=(()=>{class t{constructor(e){this.handler=e}request(e,i,o={}){let s;if(e instanceof sc)s=e;else{let u,p;u=o.headers instanceof bo?o.headers:new bo(o.headers),o.params&&(p=o.params instanceof bs?o.params:new bs({fromObject:o.params})),s=new sc(e,i,void 0!==o.body?o.body:null,{headers:u,context:o.context,params:p,reportProgress:o.reportProgress,responseType:o.responseType||"json",withCredentials:o.withCredentials})}const r=ne(s).pipe(Sa(u=>this.handler.handle(u)));if(e instanceof sc||"events"===o.observe)return r;const a=r.pipe(ut(u=>u instanceof Ud));switch(o.observe||"body"){case"body":switch(s.responseType){case"arraybuffer":return a.pipe(pe(u=>{if(null!==u.body&&!(u.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return u.body}));case"blob":return a.pipe(pe(u=>{if(null!==u.body&&!(u.body instanceof Blob))throw new Error("Response is not a Blob.");return u.body}));case"text":return a.pipe(pe(u=>{if(null!==u.body&&"string"!=typeof u.body)throw new Error("Response is not a string.");return u.body}));default:return a.pipe(pe(u=>u.body))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${o.observe}}`)}}delete(e,i={}){return this.request("DELETE",e,i)}get(e,i={}){return this.request("GET",e,i)}head(e,i={}){return this.request("HEAD",e,i)}jsonp(e,i){return this.request("JSONP",e,{params:(new bs).append(i,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,i={}){return this.request("OPTIONS",e,i)}patch(e,i,o={}){return this.request("PATCH",e,o_(o,i))}post(e,i,o={}){return this.request("POST",e,o_(o,i))}put(e,i,o={}){return this.request("PUT",e,o_(o,i))}}return t.\u0275fac=function(e){return new(e||t)(M(uE))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();class vE{constructor(n,e){this.next=n,this.interceptor=e}handle(n){return this.interceptor.intercept(n,this.next)}}const bE=new j("HTTP_INTERCEPTORS");let f9=(()=>{class t{intercept(e,i){return i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const m9=/^\)\]\}',?\n/;let yE=(()=>{class t{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");return new Qe(i=>{const o=this.xhrFactory.build();if(o.open(e.method,e.urlWithParams),e.withCredentials&&(o.withCredentials=!0),e.headers.forEach((y,w)=>o.setRequestHeader(y,w.join(","))),e.headers.has("Accept")||o.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const y=e.detectContentTypeHeader();null!==y&&o.setRequestHeader("Content-Type",y)}if(e.responseType){const y=e.responseType.toLowerCase();o.responseType="json"!==y?y:"text"}const s=e.serializeBody();let r=null;const a=()=>{if(null!==r)return r;const y=o.statusText||"OK",w=new bo(o.getAllResponseHeaders()),E=function g9(t){return"responseURL"in t&&t.responseURL?t.responseURL:/^X-Request-URL:/m.test(t.getAllResponseHeaders())?t.getResponseHeader("X-Request-URL"):null}(o)||e.url;return r=new i_({headers:w,status:o.status,statusText:y,url:E}),r},u=()=>{let{headers:y,status:w,statusText:E,url:S}=a(),A=null;204!==w&&(A=void 0===o.response?o.responseText:o.response),0===w&&(w=A?200:0);let T=w>=200&&w<300;if("json"===e.responseType&&"string"==typeof A){const k=A;A=A.replace(m9,"");try{A=""!==A?JSON.parse(A):null}catch(V){A=k,T&&(T=!1,A={error:V,text:A})}}T?(i.next(new Ud({body:A,headers:y,status:w,statusText:E,url:S||void 0})),i.complete()):i.error(new _E({error:A,headers:y,status:w,statusText:E,url:S||void 0}))},p=y=>{const{url:w}=a(),E=new _E({error:y,status:o.status||0,statusText:o.statusText||"Unknown Error",url:w||void 0});i.error(E)};let f=!1;const g=y=>{f||(i.next(a()),f=!0);let w={type:Zt.DownloadProgress,loaded:y.loaded};y.lengthComputable&&(w.total=y.total),"text"===e.responseType&&!!o.responseText&&(w.partialText=o.responseText),i.next(w)},b=y=>{let w={type:Zt.UploadProgress,loaded:y.loaded};y.lengthComputable&&(w.total=y.total),i.next(w)};return o.addEventListener("load",u),o.addEventListener("error",p),o.addEventListener("timeout",p),o.addEventListener("abort",p),e.reportProgress&&(o.addEventListener("progress",g),null!==s&&o.upload&&o.upload.addEventListener("progress",b)),o.send(s),i.next({type:Zt.Sent}),()=>{o.removeEventListener("error",p),o.removeEventListener("abort",p),o.removeEventListener("load",u),o.removeEventListener("timeout",p),e.reportProgress&&(o.removeEventListener("progress",g),null!==s&&o.upload&&o.upload.removeEventListener("progress",b)),o.readyState!==o.DONE&&o.abort()}})}}return t.\u0275fac=function(e){return new(e||t)(M(Hw))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const s_=new j("XSRF_COOKIE_NAME"),r_=new j("XSRF_HEADER_NAME");class CE{}let l_,_9=(()=>{class t{constructor(e,i,o){this.doc=e,this.platform=i,this.cookieName=o,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Ow(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return t.\u0275fac=function(e){return new(e||t)(M(ve),M(Da),M(s_))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),a_=(()=>{class t{constructor(e,i){this.tokenService=e,this.headerName=i}intercept(e,i){const o=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||o.startsWith("http://")||o.startsWith("https://"))return i.handle(e);const s=this.tokenService.getToken();return null!==s&&!e.headers.has(this.headerName)&&(e=e.clone({headers:e.headers.set(this.headerName,s)})),i.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(M(CE),M(r_))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),v9=(()=>{class t{constructor(e,i){this.backend=e,this.injector=i,this.chain=null}handle(e){if(null===this.chain){const i=this.injector.get(bE,[]);this.chain=i.reduceRight((o,s)=>new vE(o,s),this.backend)}return this.chain.handle(e)}}return t.\u0275fac=function(e){return new(e||t)(M(dE),M(yt))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),b9=(()=>{class t{static disable(){return{ngModule:t,providers:[{provide:a_,useClass:f9}]}}static withOptions(e={}){return{ngModule:t,providers:[e.cookieName?{provide:s_,useValue:e.cookieName}:[],e.headerName?{provide:r_,useValue:e.headerName}:[]]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({providers:[a_,{provide:bE,useExisting:a_,multi:!0},{provide:CE,useClass:_9},{provide:s_,useValue:"XSRF-TOKEN"},{provide:r_,useValue:"X-XSRF-TOKEN"}]}),t})(),y9=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({providers:[dn,{provide:uE,useClass:v9},yE,{provide:dE,useExisting:yE}],imports:[[b9.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),t})(),xn=(()=>{class t{constructor(e){this.http=e,this.baseUrl="."}login(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/login/login.php`,JSON.stringify(e)),this.resultado}createUser(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/login/login_insert.php`,JSON.stringify(e)),this.resultado}createUserEx(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/usuarioEx/usuario_insert.php`,JSON.stringify(e)),this.resultado}getUsuarioRegistrado(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/usuarioEx/usuario_get_consultar.php?mail_usu=${e}`),this.resultado}getuserdata(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/login/login_data_get.php?token=${e}`),this.resultado}getuserdatasucursal(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/login/login_data_get_sucursal.php?id_usu=${e}`),this.resultado}updateUser(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/login/login_update.php`,JSON.stringify(e)),this.resultado}updateEstadoCuenta(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/login/login_update_cuenta.php`,JSON.stringify(e)),this.resultado}getUsers(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/login/login_users.php?token=${e}`),this.resultado}updataEstadoUsuario(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/login/login_descactivar.php`,JSON.stringify(e)),this.resultado}updatePasswordMail(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/login/login_update_password_recovery.php`,JSON.stringify(e)),this.resultado}recuperarPassword(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/login/login_password_recovery.php?mail=${e}`),this.resultado}recuperarPasswordMail(e){return this.resultado=this.http.post("https://bogati.ec/APIBOGATI/mail/mail_recovery_password.php",JSON.stringify(e)),this.resultado}}return t.\u0275fac=function(e){return new(e||t)(M(dn))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();try{l_="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(t){l_=!1}let Na,Jt=(()=>{class t{constructor(e){this._platformId=e,this.isBrowser=this._platformId?Ig(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!l_)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}}return t.\u0275fac=function(e){return new(e||t)(M(Da))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const wE=["color","button","checkbox","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"];function DE(){if(Na)return Na;if("object"!=typeof document||!document)return Na=new Set(wE),Na;let t=document.createElement("input");return Na=new Set(wE.filter(n=>(t.setAttribute("type",n),t.type===n))),Na}let rc,ar,c_;function rr(t){return function C9(){if(null==rc&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:()=>rc=!0}))}finally{rc=rc||!1}return rc}()?t:!!t.capture}function w9(){if(null==ar){if("object"!=typeof document||!document||"function"!=typeof Element||!Element)return ar=!1,ar;if("scrollBehavior"in document.documentElement.style)ar=!0;else{const t=Element.prototype.scrollTo;ar=!!t&&!/\{\s*\[native code\]\s*\}/.test(t.toString())}}return ar}function u_(){let t="undefined"!=typeof document&&document?document.activeElement:null;for(;t&&t.shadowRoot;){const n=t.shadowRoot.activeElement;if(n===t)break;t=n}return t}function lr(t){return t.composedPath?t.composedPath()[0]:t.target}function d_(){return"undefined"!=typeof __karma__&&!!__karma__||"undefined"!=typeof jasmine&&!!jasmine||"undefined"!=typeof jest&&!!jest||"undefined"!=typeof Mocha&&!!Mocha}function zo(t,...n){return n.length?n.some(e=>t[e]):t.altKey||t.shiftKey||t.ctrlKey||t.metaKey}class P9 extends Je{constructor(n,e){super()}schedule(n,e=0){return this}}const Qd={setInterval(t,n,...e){const{delegate:i}=Qd;return(null==i?void 0:i.setInterval)?i.setInterval(t,n,...e):setInterval(t,n,...e)},clearInterval(t){const{delegate:n}=Qd;return((null==n?void 0:n.clearInterval)||clearInterval)(t)},delegate:void 0};class h_ extends P9{constructor(n,e){super(n,e),this.scheduler=n,this.work=e,this.pending=!1}schedule(n,e=0){if(this.closed)return this;this.state=n;const i=this.id,o=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(o,i,e)),this.pending=!0,this.delay=e,this.id=this.id||this.requestAsyncId(o,this.id,e),this}requestAsyncId(n,e,i=0){return Qd.setInterval(n.flush.bind(n,this),i)}recycleAsyncId(n,e,i=0){if(null!=i&&this.delay===i&&!1===this.pending)return e;Qd.clearInterval(e)}execute(n,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const i=this._execute(n,e);if(i)return i;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(n,e){let o,i=!1;try{this.work(n)}catch(s){i=!0,o=s||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),o}unsubscribe(){if(!this.closed){const{id:n,scheduler:e}=this,{actions:i}=e;this.work=this.state=this.scheduler=null,this.pending=!1,kr(i,this),null!=n&&(this.id=this.recycleAsyncId(e,n,null)),this.delay=null,super.unsubscribe()}}}const TE={now:()=>(TE.delegate||Date).now(),delegate:void 0};class cc{constructor(n,e=cc.now){this.schedulerActionCtor=n,this.now=e}schedule(n,e=0,i){return new this.schedulerActionCtor(this,n).schedule(i,e)}}cc.now=TE.now;class p_ extends cc{constructor(n,e=cc.now){super(n,e),this.actions=[],this._active=!1,this._scheduled=void 0}flush(n){const{actions:e}=this;if(this._active)return void e.push(n);let i;this._active=!0;do{if(i=n.execute(n.state,n.delay))break}while(n=e.shift());if(this._active=!1,i){for(;n=e.shift();)n.unsubscribe();throw i}}}const Kd=new p_(h_),L9=Kd;function Zd(t,n=Kd){return Et((e,i)=>{let o=null,s=null,r=null;const a=()=>{if(o){o.unsubscribe(),o=null;const p=s;s=null,i.next(p)}};function u(){const p=r+t,f=n.now();if(f{s=p,r=n.now(),o||(o=n.schedule(u,t),i.add(o))},()=>{a(),i.complete()},void 0,()=>{s=o=null}))})}function Jd(t){return ut((n,e)=>t<=e)}function ka(t,n=Ao){return t=null!=t?t:B9,Et((e,i)=>{let o,s=!0;e.subscribe(rt(i,r=>{const a=n(r);(s||!t(o,a))&&(s=!1,o=a,i.next(r))}))})}function B9(t,n){return t===n}function ie(t){return Et((n,e)=>{vn(t).subscribe(rt(e,()=>e.complete(),Rr)),!e.closed&&n.subscribe(e)})}function ot(t){return null!=t&&"false"!=`${t}`}function Mi(t,n=0){return SE(t)?Number(t):n}function SE(t){return!isNaN(parseFloat(t))&&!isNaN(Number(t))}function Xd(t){return Array.isArray(t)?t:[t]}function Xt(t){return null==t?"":"string"==typeof t?t:`${t}px`}function qo(t){return t instanceof K?t.nativeElement:t}let ME=(()=>{class t{create(e){return"undefined"==typeof MutationObserver?null:new MutationObserver(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),V9=(()=>{class t{constructor(e){this._mutationObserverFactory=e,this._observedElements=new Map}ngOnDestroy(){this._observedElements.forEach((e,i)=>this._cleanupObserver(i))}observe(e){const i=qo(e);return new Qe(o=>{const r=this._observeElement(i).subscribe(o);return()=>{r.unsubscribe(),this._unobserveElement(i)}})}_observeElement(e){if(this._observedElements.has(e))this._observedElements.get(e).count++;else{const i=new $,o=this._mutationObserverFactory.create(s=>i.next(s));o&&o.observe(e,{characterData:!0,childList:!0,subtree:!0}),this._observedElements.set(e,{observer:o,stream:i,count:1})}return this._observedElements.get(e).stream}_unobserveElement(e){this._observedElements.has(e)&&(this._observedElements.get(e).count--,this._observedElements.get(e).count||this._cleanupObserver(e))}_cleanupObserver(e){if(this._observedElements.has(e)){const{observer:i,stream:o}=this._observedElements.get(e);i&&i.disconnect(),o.complete(),this._observedElements.delete(e)}}}return t.\u0275fac=function(e){return new(e||t)(M(ME))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),f_=(()=>{class t{constructor(e,i,o){this._contentObserver=e,this._elementRef=i,this._ngZone=o,this.event=new H,this._disabled=!1,this._currentSubscription=null}get disabled(){return this._disabled}set disabled(e){this._disabled=ot(e),this._disabled?this._unsubscribe():this._subscribe()}get debounce(){return this._debounce}set debounce(e){this._debounce=Mi(e),this._subscribe()}ngAfterContentInit(){!this._currentSubscription&&!this.disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){this._unsubscribe();const e=this._contentObserver.observe(this._elementRef);this._ngZone.runOutsideAngular(()=>{this._currentSubscription=(this.debounce?e.pipe(Zd(this.debounce)):e).subscribe(this.event)})}_unsubscribe(){var e;null===(e=this._currentSubscription)||void 0===e||e.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(_(V9),_(K),_(se))},t.\u0275dir=x({type:t,selectors:[["","cdkObserveContent",""]],inputs:{disabled:["cdkObserveContentDisabled","disabled"],debounce:"debounce"},outputs:{event:"cdkObserveContent"},exportAs:["cdkObserveContent"]}),t})(),eh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({providers:[ME]}),t})();function th(t,n){return(t.getAttribute(n)||"").match(/\S+/g)||[]}const AE="cdk-describedby-message",nh="cdk-describedby-host";let xE=0,U9=(()=>{class t{constructor(e,i){this._platform=i,this._messageRegistry=new Map,this._messagesContainer=null,this._id=""+xE++,this._document=e}describe(e,i,o){if(!this._canBeDescribed(e,i))return;const s=m_(i,o);"string"!=typeof i?(OE(i),this._messageRegistry.set(s,{messageElement:i,referenceCount:0})):this._messageRegistry.has(s)||this._createMessageElement(i,o),this._isElementDescribedByMessage(e,s)||this._addMessageReference(e,s)}removeDescription(e,i,o){var s;if(!i||!this._isElementNode(e))return;const r=m_(i,o);if(this._isElementDescribedByMessage(e,r)&&this._removeMessageReference(e,r),"string"==typeof i){const a=this._messageRegistry.get(r);a&&0===a.referenceCount&&this._deleteMessageElement(r)}0===(null===(s=this._messagesContainer)||void 0===s?void 0:s.childNodes.length)&&(this._messagesContainer.remove(),this._messagesContainer=null)}ngOnDestroy(){var e;const i=this._document.querySelectorAll(`[${nh}="${this._id}"]`);for(let o=0;o0!=o.indexOf(AE));e.setAttribute("aria-describedby",i.join(" "))}_addMessageReference(e,i){const o=this._messageRegistry.get(i);(function j9(t,n,e){const i=th(t,n);i.some(o=>o.trim()==e.trim())||(i.push(e.trim()),t.setAttribute(n,i.join(" ")))})(e,"aria-describedby",o.messageElement.id),e.setAttribute(nh,this._id),o.referenceCount++}_removeMessageReference(e,i){const o=this._messageRegistry.get(i);o.referenceCount--,function H9(t,n,e){const o=th(t,n).filter(s=>s!=e.trim());o.length?t.setAttribute(n,o.join(" ")):t.removeAttribute(n)}(e,"aria-describedby",o.messageElement.id),e.removeAttribute(nh)}_isElementDescribedByMessage(e,i){const o=th(e,"aria-describedby"),s=this._messageRegistry.get(i),r=s&&s.messageElement.id;return!!r&&-1!=o.indexOf(r)}_canBeDescribed(e,i){if(!this._isElementNode(e))return!1;if(i&&"object"==typeof i)return!0;const o=null==i?"":`${i}`.trim(),s=e.getAttribute("aria-label");return!(!o||s&&s.trim()===o)}_isElementNode(e){return e.nodeType===this._document.ELEMENT_NODE}}return t.\u0275fac=function(e){return new(e||t)(M(ve),M(Jt))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function m_(t,n){return"string"==typeof t?`${n||""}/${t}`:t}function OE(t){t.id||(t.id=`${AE}-${xE++}`)}class NE{constructor(n){this._items=n,this._activeItemIndex=-1,this._activeItem=null,this._wrap=!1,this._letterKeyStream=new $,this._typeaheadSubscription=Je.EMPTY,this._vertical=!0,this._allowedModifierKeys=[],this._homeAndEnd=!1,this._skipPredicateFn=e=>e.disabled,this._pressedLetters=[],this.tabOut=new $,this.change=new $,n instanceof Ys&&n.changes.subscribe(e=>{if(this._activeItem){const o=e.toArray().indexOf(this._activeItem);o>-1&&o!==this._activeItemIndex&&(this._activeItemIndex=o)}})}skipPredicate(n){return this._skipPredicateFn=n,this}withWrap(n=!0){return this._wrap=n,this}withVerticalOrientation(n=!0){return this._vertical=n,this}withHorizontalOrientation(n){return this._horizontal=n,this}withAllowedModifierKeys(n){return this._allowedModifierKeys=n,this}withTypeAhead(n=200){return this._typeaheadSubscription.unsubscribe(),this._typeaheadSubscription=this._letterKeyStream.pipe(zt(e=>this._pressedLetters.push(e)),Zd(n),ut(()=>this._pressedLetters.length>0),pe(()=>this._pressedLetters.join(""))).subscribe(e=>{const i=this._getItemsArray();for(let o=1;o!n[s]||this._allowedModifierKeys.indexOf(s)>-1);switch(e){case 9:return void this.tabOut.next();case 40:if(this._vertical&&o){this.setNextItemActive();break}return;case 38:if(this._vertical&&o){this.setPreviousItemActive();break}return;case 39:if(this._horizontal&&o){"rtl"===this._horizontal?this.setPreviousItemActive():this.setNextItemActive();break}return;case 37:if(this._horizontal&&o){"rtl"===this._horizontal?this.setNextItemActive():this.setPreviousItemActive();break}return;case 36:if(this._homeAndEnd&&o){this.setFirstItemActive();break}return;case 35:if(this._homeAndEnd&&o){this.setLastItemActive();break}return;default:return void((o||zo(n,"shiftKey"))&&(n.key&&1===n.key.length?this._letterKeyStream.next(n.key.toLocaleUpperCase()):(e>=65&&e<=90||e>=48&&e<=57)&&this._letterKeyStream.next(String.fromCharCode(e))))}this._pressedLetters=[],n.preventDefault()}get activeItemIndex(){return this._activeItemIndex}get activeItem(){return this._activeItem}isTyping(){return this._pressedLetters.length>0}setFirstItemActive(){this._setActiveItemByIndex(0,1)}setLastItemActive(){this._setActiveItemByIndex(this._items.length-1,-1)}setNextItemActive(){this._activeItemIndex<0?this.setFirstItemActive():this._setActiveItemByDelta(1)}setPreviousItemActive(){this._activeItemIndex<0&&this._wrap?this.setLastItemActive():this._setActiveItemByDelta(-1)}updateActiveItem(n){const e=this._getItemsArray(),i="number"==typeof n?n:e.indexOf(n),o=e[i];this._activeItem=null==o?null:o,this._activeItemIndex=i}_setActiveItemByDelta(n){this._wrap?this._setActiveInWrapMode(n):this._setActiveInDefaultMode(n)}_setActiveInWrapMode(n){const e=this._getItemsArray();for(let i=1;i<=e.length;i++){const o=(this._activeItemIndex+n*i+e.length)%e.length;if(!this._skipPredicateFn(e[o]))return void this.setActiveItem(o)}}_setActiveInDefaultMode(n){this._setActiveItemByIndex(this._activeItemIndex+n,n)}_setActiveItemByIndex(n,e){const i=this._getItemsArray();if(i[n]){for(;this._skipPredicateFn(i[n]);)if(!i[n+=e])return;this.setActiveItem(n)}}_getItemsArray(){return this._items instanceof Ys?this._items.toArray():this._items}}class G9 extends NE{setActiveItem(n){this.activeItem&&this.activeItem.setInactiveStyles(),super.setActiveItem(n),this.activeItem&&this.activeItem.setActiveStyles()}}class kE extends NE{constructor(){super(...arguments),this._origin="program"}setFocusOrigin(n){return this._origin=n,this}setActiveItem(n){super.setActiveItem(n),this.activeItem&&this.activeItem.focus(this._origin)}}let RE=(()=>{class t{constructor(e){this._platform=e}isDisabled(e){return e.hasAttribute("disabled")}isVisible(e){return function q9(t){return!!(t.offsetWidth||t.offsetHeight||"function"==typeof t.getClientRects&&t.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}isTabbable(e){if(!this._platform.isBrowser)return!1;const i=function z9(t){try{return t.frameElement}catch(n){return null}}(function X9(t){return t.ownerDocument&&t.ownerDocument.defaultView||window}(e));if(i&&(-1===PE(i)||!this.isVisible(i)))return!1;let o=e.nodeName.toLowerCase(),s=PE(e);return e.hasAttribute("contenteditable")?-1!==s:!("iframe"===o||"object"===o||this._platform.WEBKIT&&this._platform.IOS&&!function Z9(t){let n=t.nodeName.toLowerCase(),e="input"===n&&t.type;return"text"===e||"password"===e||"select"===n||"textarea"===n}(e))&&("audio"===o?!!e.hasAttribute("controls")&&-1!==s:"video"===o?-1!==s&&(null!==s||this._platform.FIREFOX||e.hasAttribute("controls")):e.tabIndex>=0)}isFocusable(e,i){return function J9(t){return!function W9(t){return function Q9(t){return"input"==t.nodeName.toLowerCase()}(t)&&"hidden"==t.type}(t)&&(function $9(t){let n=t.nodeName.toLowerCase();return"input"===n||"select"===n||"button"===n||"textarea"===n}(t)||function Y9(t){return function K9(t){return"a"==t.nodeName.toLowerCase()}(t)&&t.hasAttribute("href")}(t)||t.hasAttribute("contenteditable")||FE(t))}(e)&&!this.isDisabled(e)&&((null==i?void 0:i.ignoreVisibility)||this.isVisible(e))}}return t.\u0275fac=function(e){return new(e||t)(M(Jt))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function FE(t){if(!t.hasAttribute("tabindex")||void 0===t.tabIndex)return!1;let n=t.getAttribute("tabindex");return!(!n||isNaN(parseInt(n,10)))}function PE(t){if(!FE(t))return null;const n=parseInt(t.getAttribute("tabindex")||"",10);return isNaN(n)?-1:n}class e7{constructor(n,e,i,o,s=!1){this._element=n,this._checker=e,this._ngZone=i,this._document=o,this._hasAttached=!1,this.startAnchorListener=()=>this.focusLastTabbableElement(),this.endAnchorListener=()=>this.focusFirstTabbableElement(),this._enabled=!0,s||this.attachAnchors()}get enabled(){return this._enabled}set enabled(n){this._enabled=n,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}destroy(){const n=this._startAnchor,e=this._endAnchor;n&&(n.removeEventListener("focus",this.startAnchorListener),n.remove()),e&&(e.removeEventListener("focus",this.endAnchorListener),e.remove()),this._startAnchor=this._endAnchor=null,this._hasAttached=!1}attachAnchors(){return!!this._hasAttached||(this._ngZone.runOutsideAngular(()=>{this._startAnchor||(this._startAnchor=this._createAnchor(),this._startAnchor.addEventListener("focus",this.startAnchorListener)),this._endAnchor||(this._endAnchor=this._createAnchor(),this._endAnchor.addEventListener("focus",this.endAnchorListener))}),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}focusInitialElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusInitialElement(n)))})}focusFirstTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusFirstTabbableElement(n)))})}focusLastTabbableElementWhenReady(n){return new Promise(e=>{this._executeOnStable(()=>e(this.focusLastTabbableElement(n)))})}_getRegionBoundary(n){const e=this._element.querySelectorAll(`[cdk-focus-region-${n}], [cdkFocusRegion${n}], [cdk-focus-${n}]`);return"start"==n?e.length?e[0]:this._getFirstTabbableElement(this._element):e.length?e[e.length-1]:this._getLastTabbableElement(this._element)}focusInitialElement(n){const e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");if(e){if(!this._checker.isFocusable(e)){const i=this._getFirstTabbableElement(e);return null==i||i.focus(n),!!i}return e.focus(n),!0}return this.focusFirstTabbableElement(n)}focusFirstTabbableElement(n){const e=this._getRegionBoundary("start");return e&&e.focus(n),!!e}focusLastTabbableElement(n){const e=this._getRegionBoundary("end");return e&&e.focus(n),!!e}hasAttached(){return this._hasAttached}_getFirstTabbableElement(n){if(this._checker.isFocusable(n)&&this._checker.isTabbable(n))return n;const e=n.children;for(let i=0;i=0;i--){const o=e[i].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(e[i]):null;if(o)return o}return null}_createAnchor(){const n=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,n),n.classList.add("cdk-visually-hidden"),n.classList.add("cdk-focus-trap-anchor"),n.setAttribute("aria-hidden","true"),n}_toggleAnchorTabIndex(n,e){n?e.setAttribute("tabindex","0"):e.removeAttribute("tabindex")}toggleAnchors(n){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(n,this._startAnchor),this._toggleAnchorTabIndex(n,this._endAnchor))}_executeOnStable(n){this._ngZone.isStable?n():this._ngZone.onStable.pipe(ze(1)).subscribe(n)}}let t7=(()=>{class t{constructor(e,i,o){this._checker=e,this._ngZone=i,this._document=o}create(e,i=!1){return new e7(e,this._checker,this._ngZone,this._document,i)}}return t.\u0275fac=function(e){return new(e||t)(M(RE),M(se),M(ve))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function g_(t){return 0===t.buttons||0===t.offsetX&&0===t.offsetY}function __(t){const n=t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0];return!(!n||-1!==n.identifier||null!=n.radiusX&&1!==n.radiusX||null!=n.radiusY&&1!==n.radiusY)}const n7=new j("cdk-input-modality-detector-options"),o7={ignoreKeys:[18,17,224,91,16]},Ra=rr({passive:!0,capture:!0});let s7=(()=>{class t{constructor(e,i,o,s){this._platform=e,this._mostRecentTarget=null,this._modality=new Nt(null),this._lastTouchMs=0,this._onKeydown=r=>{var a,u;(null===(u=null===(a=this._options)||void 0===a?void 0:a.ignoreKeys)||void 0===u?void 0:u.some(p=>p===r.keyCode))||(this._modality.next("keyboard"),this._mostRecentTarget=lr(r))},this._onMousedown=r=>{Date.now()-this._lastTouchMs<650||(this._modality.next(g_(r)?"keyboard":"mouse"),this._mostRecentTarget=lr(r))},this._onTouchstart=r=>{__(r)?this._modality.next("keyboard"):(this._lastTouchMs=Date.now(),this._modality.next("touch"),this._mostRecentTarget=lr(r))},this._options=Object.assign(Object.assign({},o7),s),this.modalityDetected=this._modality.pipe(Jd(1)),this.modalityChanged=this.modalityDetected.pipe(ka()),e.isBrowser&&i.runOutsideAngular(()=>{o.addEventListener("keydown",this._onKeydown,Ra),o.addEventListener("mousedown",this._onMousedown,Ra),o.addEventListener("touchstart",this._onTouchstart,Ra)})}get mostRecentModality(){return this._modality.value}ngOnDestroy(){this._modality.complete(),this._platform.isBrowser&&(document.removeEventListener("keydown",this._onKeydown,Ra),document.removeEventListener("mousedown",this._onMousedown,Ra),document.removeEventListener("touchstart",this._onTouchstart,Ra))}}return t.\u0275fac=function(e){return new(e||t)(M(Jt),M(se),M(ve),M(n7,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const r7=new j("liveAnnouncerElement",{providedIn:"root",factory:function a7(){return null}}),l7=new j("LIVE_ANNOUNCER_DEFAULT_OPTIONS");let c7=(()=>{class t{constructor(e,i,o,s){this._ngZone=i,this._defaultOptions=s,this._document=o,this._liveElement=e||this._createLiveElement()}announce(e,...i){const o=this._defaultOptions;let s,r;return 1===i.length&&"number"==typeof i[0]?r=i[0]:[s,r]=i,this.clear(),clearTimeout(this._previousTimeout),s||(s=o&&o.politeness?o.politeness:"polite"),null==r&&o&&(r=o.duration),this._liveElement.setAttribute("aria-live",s),this._ngZone.runOutsideAngular(()=>(this._currentPromise||(this._currentPromise=new Promise(a=>this._currentResolve=a)),clearTimeout(this._previousTimeout),this._previousTimeout=setTimeout(()=>{this._liveElement.textContent=e,"number"==typeof r&&(this._previousTimeout=setTimeout(()=>this.clear(),r)),this._currentResolve(),this._currentPromise=this._currentResolve=void 0},100),this._currentPromise))}clear(){this._liveElement&&(this._liveElement.textContent="")}ngOnDestroy(){var e,i;clearTimeout(this._previousTimeout),null===(e=this._liveElement)||void 0===e||e.remove(),this._liveElement=null,null===(i=this._currentResolve)||void 0===i||i.call(this),this._currentPromise=this._currentResolve=void 0}_createLiveElement(){const e="cdk-live-announcer-element",i=this._document.getElementsByClassName(e),o=this._document.createElement("div");for(let s=0;s{class t{constructor(e,i,o,s,r){this._ngZone=e,this._platform=i,this._inputModalityDetector=o,this._origin=null,this._windowFocused=!1,this._originFromTouchInteraction=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._windowFocusListener=()=>{this._windowFocused=!0,this._windowFocusTimeoutId=window.setTimeout(()=>this._windowFocused=!1)},this._stopInputModalityDetector=new $,this._rootNodeFocusAndBlurListener=a=>{const u=lr(a),p="focus"===a.type?this._onFocus:this._onBlur;for(let f=u;f;f=f.parentElement)p.call(this,a,f)},this._document=s,this._detectionMode=(null==r?void 0:r.detectionMode)||0}monitor(e,i=!1){const o=qo(e);if(!this._platform.isBrowser||1!==o.nodeType)return ne(null);const s=function E9(t){if(function D9(){if(null==c_){const t="undefined"!=typeof document?document.head:null;c_=!(!t||!t.createShadowRoot&&!t.attachShadow)}return c_}()){const n=t.getRootNode?t.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&n instanceof ShadowRoot)return n}return null}(o)||this._getDocument(),r=this._elementInfo.get(o);if(r)return i&&(r.checkChildren=!0),r.subject;const a={checkChildren:i,subject:new $,rootNode:s};return this._elementInfo.set(o,a),this._registerGlobalListeners(a),a.subject}stopMonitoring(e){const i=qo(e),o=this._elementInfo.get(i);o&&(o.subject.complete(),this._setClasses(i),this._elementInfo.delete(i),this._removeGlobalListeners(o))}focusVia(e,i,o){const s=qo(e);s===this._getDocument().activeElement?this._getClosestElementsInfo(s).forEach(([a,u])=>this._originChanged(a,i,u)):(this._setOrigin(i),"function"==typeof s.focus&&s.focus(o))}ngOnDestroy(){this._elementInfo.forEach((e,i)=>this.stopMonitoring(i))}_getDocument(){return this._document||document}_getWindow(){return this._getDocument().defaultView||window}_getFocusOrigin(e){return this._origin?this._originFromTouchInteraction?this._shouldBeAttributedToTouch(e)?"touch":"program":this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:"program"}_shouldBeAttributedToTouch(e){return 1===this._detectionMode||!!(null==e?void 0:e.contains(this._inputModalityDetector._mostRecentTarget))}_setClasses(e,i){e.classList.toggle("cdk-focused",!!i),e.classList.toggle("cdk-touch-focused","touch"===i),e.classList.toggle("cdk-keyboard-focused","keyboard"===i),e.classList.toggle("cdk-mouse-focused","mouse"===i),e.classList.toggle("cdk-program-focused","program"===i)}_setOrigin(e,i=!1){this._ngZone.runOutsideAngular(()=>{this._origin=e,this._originFromTouchInteraction="touch"===e&&i,0===this._detectionMode&&(clearTimeout(this._originTimeoutId),this._originTimeoutId=setTimeout(()=>this._origin=null,this._originFromTouchInteraction?650:1))})}_onFocus(e,i){const o=this._elementInfo.get(i),s=lr(e);!o||!o.checkChildren&&i!==s||this._originChanged(i,this._getFocusOrigin(s),o)}_onBlur(e,i){const o=this._elementInfo.get(i);!o||o.checkChildren&&e.relatedTarget instanceof Node&&i.contains(e.relatedTarget)||(this._setClasses(i),this._emitOrigin(o.subject,null))}_emitOrigin(e,i){this._ngZone.run(()=>e.next(i))}_registerGlobalListeners(e){if(!this._platform.isBrowser)return;const i=e.rootNode,o=this._rootNodeFocusListenerCount.get(i)||0;o||this._ngZone.runOutsideAngular(()=>{i.addEventListener("focus",this._rootNodeFocusAndBlurListener,ih),i.addEventListener("blur",this._rootNodeFocusAndBlurListener,ih)}),this._rootNodeFocusListenerCount.set(i,o+1),1==++this._monitoredElementCount&&(this._ngZone.runOutsideAngular(()=>{this._getWindow().addEventListener("focus",this._windowFocusListener)}),this._inputModalityDetector.modalityDetected.pipe(ie(this._stopInputModalityDetector)).subscribe(s=>{this._setOrigin(s,!0)}))}_removeGlobalListeners(e){const i=e.rootNode;if(this._rootNodeFocusListenerCount.has(i)){const o=this._rootNodeFocusListenerCount.get(i);o>1?this._rootNodeFocusListenerCount.set(i,o-1):(i.removeEventListener("focus",this._rootNodeFocusAndBlurListener,ih),i.removeEventListener("blur",this._rootNodeFocusAndBlurListener,ih),this._rootNodeFocusListenerCount.delete(i))}--this._monitoredElementCount||(this._getWindow().removeEventListener("focus",this._windowFocusListener),this._stopInputModalityDetector.next(),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._originTimeoutId))}_originChanged(e,i,o){this._setClasses(e,i),this._emitOrigin(o.subject,i),this._lastFocusOrigin=i}_getClosestElementsInfo(e){const i=[];return this._elementInfo.forEach((o,s)=>{(s===e||o.checkChildren&&s.contains(e))&&i.push([s,o])}),i}}return t.\u0275fac=function(e){return new(e||t)(M(se),M(Jt),M(s7),M(ve,8),M(u7,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),d7=(()=>{class t{constructor(e,i){this._elementRef=e,this._focusMonitor=i,this.cdkFocusChange=new H}ngAfterViewInit(){const e=this._elementRef.nativeElement;this._monitorSubscription=this._focusMonitor.monitor(e,1===e.nodeType&&e.hasAttribute("cdkMonitorSubtreeFocus")).subscribe(i=>this.cdkFocusChange.emit(i))}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._monitorSubscription&&this._monitorSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(cr))},t.\u0275dir=x({type:t,selectors:[["","cdkMonitorElementFocus",""],["","cdkMonitorSubtreeFocus",""]],outputs:{cdkFocusChange:"cdkFocusChange"}}),t})();const BE="cdk-high-contrast-black-on-white",VE="cdk-high-contrast-white-on-black",v_="cdk-high-contrast-active";let b_,jE=(()=>{class t{constructor(e,i){this._platform=e,this._document=i}getHighContrastMode(){if(!this._platform.isBrowser)return 0;const e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);const i=this._document.defaultView||window,o=i&&i.getComputedStyle?i.getComputedStyle(e):null,s=(o&&o.backgroundColor||"").replace(/ /g,"");switch(e.remove(),s){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}_applyBodyHighContrastModeCssClasses(){if(!this._hasCheckedHighContrastMode&&this._platform.isBrowser&&this._document.body){const e=this._document.body.classList;e.remove(v_),e.remove(BE),e.remove(VE),this._hasCheckedHighContrastMode=!0;const i=this.getHighContrastMode();1===i?(e.add(v_),e.add(BE)):2===i&&(e.add(v_),e.add(VE))}}}return t.\u0275fac=function(e){return new(e||t)(M(Jt),M(ve))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),HE=(()=>{class t{constructor(e){e._applyBodyHighContrastModeCssClasses()}}return t.\u0275fac=function(e){return new(e||t)(M(jE))},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[eh]]}),t})(),h7=1;const oh={};function UE(t){return t in oh&&(delete oh[t],!0)}const p7={setImmediate(t){const n=h7++;return oh[n]=!0,b_||(b_=Promise.resolve()),b_.then(()=>UE(n)&&t()),n},clearImmediate(t){UE(t)}},{setImmediate:f7,clearImmediate:m7}=p7,sh={setImmediate(...t){const{delegate:n}=sh;return((null==n?void 0:n.setImmediate)||f7)(...t)},clearImmediate(t){const{delegate:n}=sh;return((null==n?void 0:n.clearImmediate)||m7)(t)},delegate:void 0},rh=new class _7 extends p_{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}}(class g7 extends h_{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=sh.setImmediate(n.flush.bind(n,void 0))))}recycleAsyncId(n,e,i=0){if(null!=i&&i>0||null==i&&this.delay>0)return super.recycleAsyncId(n,e,i);n.actions.some(o=>o.id===e)||(sh.clearImmediate(e),n._scheduled=void 0)}});function GE(t,n){return n?e=>Ta(n.pipe(ze(1),function v7(){return Et((t,n)=>{t.subscribe(rt(n,Rr))})}()),e.pipe(GE(t))):Wt((e,i)=>t(e,i).pipe(ze(1),function b7(t){return pe(()=>t)}(e)))}function uc(t=0,n,e=L9){let i=-1;return null!=n&&(j1(n)?e=n:i=n),new Qe(o=>{let s=function y7(t){return t instanceof Date&&!isNaN(t)}(t)?+t-e.now():t;s<0&&(s=0);let r=0;return e.schedule(function(){o.closed||(o.next(r++),0<=i?this.schedule(void 0,i):o.complete())},s)})}function y_(t,n=Kd){const e=uc(t,n);return GE(()=>e)}class zE{}const $o="*";function Wi(t,n){return{type:7,name:t,definitions:n,options:{}}}function En(t,n=null){return{type:4,styles:n,timings:t}}function qE(t,n=null){return{type:3,steps:t,options:n}}function $E(t,n=null){return{type:2,steps:t,options:n}}function $e(t){return{type:6,styles:t,offset:null}}function en(t,n,e){return{type:0,name:t,styles:n,options:e}}function _n(t,n,e=null){return{type:1,expr:t,animation:n,options:e}}function C_(t=null){return{type:9,options:t}}function w_(t,n,e=null){return{type:11,selector:t,animation:n,options:e}}function WE(t){Promise.resolve(null).then(t)}class dc{constructor(n=0,e=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=n+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}onStart(n){this._onStartFns.push(n)}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){WE(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(n=>n()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition(n){this._position=this.totalTime?n*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class YE{constructor(n){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=n;let e=0,i=0,o=0;const s=this.players.length;0==s?WE(()=>this._onFinish()):this.players.forEach(r=>{r.onDone(()=>{++e==s&&this._onFinish()}),r.onDestroy(()=>{++i==s&&this._onDestroy()}),r.onStart(()=>{++o==s&&this._onStart()})}),this.totalTime=this.players.reduce((r,a)=>Math.max(r,a.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(n=>n()),this._onDoneFns=[])}init(){this.players.forEach(n=>n.init())}onStart(n){this._onStartFns.push(n)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(n=>n()),this._onStartFns=[])}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(n=>n.play())}pause(){this.players.forEach(n=>n.pause())}restart(){this.players.forEach(n=>n.restart())}finish(){this._onFinish(),this.players.forEach(n=>n.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(n=>n.destroy()),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}reset(){this.players.forEach(n=>n.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(n){const e=n*this.totalTime;this.players.forEach(i=>{const o=i.totalTime?Math.min(1,e/i.totalTime):1;i.setPosition(o)})}getPosition(){const n=this.players.reduce((e,i)=>null===e||i.totalTime>e.totalTime?i:e,null);return null!=n?n.getPosition():0}beforeDestroy(){this.players.forEach(n=>{n.beforeDestroy&&n.beforeDestroy()})}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class E_{attach(n){return this._attachedHost=n,n.attach(this)}detach(){let n=this._attachedHost;null!=n&&(this._attachedHost=null,n.detach())}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class ah extends E_{constructor(n,e,i,o){super(),this.component=n,this.viewContainerRef=e,this.injector=i,this.componentFactoryResolver=o}}class hc extends E_{constructor(n,e,i){super(),this.templateRef=n,this.viewContainerRef=e,this.context=i}get origin(){return this.templateRef.elementRef}attach(n,e=this.context){return this.context=e,super.attach(n)}detach(){return this.context=void 0,super.detach()}}class D7 extends E_{constructor(n){super(),this.element=n instanceof K?n.nativeElement:n}}class T_{constructor(){this._isDisposed=!1,this.attachDomPortal=null}hasAttached(){return!!this._attachedPortal}attach(n){return n instanceof ah?(this._attachedPortal=n,this.attachComponentPortal(n)):n instanceof hc?(this._attachedPortal=n,this.attachTemplatePortal(n)):this.attachDomPortal&&n instanceof D7?(this._attachedPortal=n,this.attachDomPortal(n)):void 0}detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(n){this._disposeFn=n}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}}class E7 extends T_{constructor(n,e,i,o,s){super(),this.outletElement=n,this._componentFactoryResolver=e,this._appRef=i,this._defaultInjector=o,this.attachDomPortal=r=>{const a=r.element,u=this._document.createComment("dom-portal");a.parentNode.insertBefore(u,a),this.outletElement.appendChild(a),this._attachedPortal=r,super.setDisposeFn(()=>{u.parentNode&&u.parentNode.replaceChild(a,u)})},this._document=s}attachComponentPortal(n){const i=(n.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(n.component);let o;return n.viewContainerRef?(o=n.viewContainerRef.createComponent(i,n.viewContainerRef.length,n.injector||n.viewContainerRef.injector),this.setDisposeFn(()=>o.destroy())):(o=i.create(n.injector||this._defaultInjector||yt.NULL),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.viewCount>0&&this._appRef.detachView(o.hostView),o.destroy()})),this.outletElement.appendChild(this._getComponentRootNode(o)),this._attachedPortal=n,o}attachTemplatePortal(n){let e=n.viewContainerRef,i=e.createEmbeddedView(n.templateRef,n.context);return i.rootNodes.forEach(o=>this.outletElement.appendChild(o)),i.detectChanges(),this.setDisposeFn(()=>{let o=e.indexOf(i);-1!==o&&e.remove(o)}),this._attachedPortal=n,i}dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}let pc=(()=>{class t extends T_{constructor(e,i,o){super(),this._componentFactoryResolver=e,this._viewContainerRef=i,this._isInitialized=!1,this.attached=new H,this.attachDomPortal=s=>{const r=s.element,a=this._document.createComment("dom-portal");s.setAttachedHost(this),r.parentNode.insertBefore(a,r),this._getRootNode().appendChild(r),this._attachedPortal=s,super.setDisposeFn(()=>{a.parentNode&&a.parentNode.replaceChild(r,a)})},this._document=o}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedPortal=null,this._attachedRef=null}attachComponentPortal(e){e.setAttachedHost(this);const i=null!=e.viewContainerRef?e.viewContainerRef:this._viewContainerRef,s=(e.componentFactoryResolver||this._componentFactoryResolver).resolveComponentFactory(e.component),r=i.createComponent(s,i.length,e.injector||i.injector);return i!==this._viewContainerRef&&this._getRootNode().appendChild(r.hostView.rootNodes[0]),super.setDisposeFn(()=>r.destroy()),this._attachedPortal=e,this._attachedRef=r,this.attached.emit(r),r}attachTemplatePortal(e){e.setAttachedHost(this);const i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context);return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}_getRootNode(){const e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}}return t.\u0275fac=function(e){return new(e||t)(_(po),_(Bt),_(ve))},t.\u0275dir=x({type:t,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:["cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[G]}),t})(),lh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({}),t})();const T7=new j("cdk-dir-doc",{providedIn:"root",factory:function S7(){return Ou(ve)}}),M7=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i;let $n=(()=>{class t{constructor(e){if(this.value="ltr",this.change=new H,e){const o=e.documentElement?e.documentElement.dir:null;this.value=function I7(t){const n=(null==t?void 0:t.toLowerCase())||"";return"auto"===n&&"undefined"!=typeof navigator&&(null==navigator?void 0:navigator.language)?M7.test(navigator.language)?"rtl":"ltr":"rtl"===n?"rtl":"ltr"}((e.body?e.body.dir:null)||o||"ltr")}}ngOnDestroy(){this.change.complete()}}return t.\u0275fac=function(e){return new(e||t)(M(T7,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),fc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({}),t})();const Ue=!1;function KE(t){return new X(3e3,Ue)}function lB(){return"undefined"!=typeof window&&void 0!==window.document}function S_(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function ys(t){switch(t.length){case 0:return new dc;case 1:return t[0];default:return new YE(t)}}function ZE(t,n,e,i,o={},s={}){const r=[],a=[];let u=-1,p=null;if(i.forEach(f=>{const g=f.offset,b=g==u,y=b&&p||{};Object.keys(f).forEach(w=>{let E=w,S=f[w];if("offset"!==w)switch(E=n.normalizePropertyName(E,r),S){case"!":S=o[w];break;case $o:S=s[w];break;default:S=n.normalizeStyleValue(w,E,S,r)}y[E]=S}),b||a.push(y),p=y,u=g}),r.length)throw function Z7(t){return new X(3502,Ue)}();return a}function M_(t,n,e,i){switch(n){case"start":t.onStart(()=>i(e&&I_(e,"start",t)));break;case"done":t.onDone(()=>i(e&&I_(e,"done",t)));break;case"destroy":t.onDestroy(()=>i(e&&I_(e,"destroy",t)))}}function I_(t,n,e){const i=e.totalTime,s=A_(t.element,t.triggerName,t.fromState,t.toState,n||t.phaseName,null==i?t.totalTime:i,!!e.disabled),r=t._data;return null!=r&&(s._data=r),s}function A_(t,n,e,i,o="",s=0,r){return{element:t,triggerName:n,fromState:e,toState:i,phaseName:o,totalTime:s,disabled:!!r}}function li(t,n,e){let i;return t instanceof Map?(i=t.get(n),i||t.set(n,i=e)):(i=t[n],i||(i=t[n]=e)),i}function JE(t){const n=t.indexOf(":");return[t.substring(1,n),t.substr(n+1)]}let x_=(t,n)=>!1,XE=(t,n,e)=>[],eT=null;function O_(t){const n=t.parentNode||t.host;return n===eT?null:n}(S_()||"undefined"!=typeof Element)&&(lB()?(eT=(()=>document.documentElement)(),x_=(t,n)=>{for(;n;){if(n===t)return!0;n=O_(n)}return!1}):x_=(t,n)=>t.contains(n),XE=(t,n,e)=>{if(e)return Array.from(t.querySelectorAll(n));const i=t.querySelector(n);return i?[i]:[]});let ur=null,tT=!1;function nT(t){ur||(ur=function uB(){return"undefined"!=typeof document?document.body:null}()||{},tT=!!ur.style&&"WebkitAppearance"in ur.style);let n=!0;return ur.style&&!function cB(t){return"ebkit"==t.substring(1,6)}(t)&&(n=t in ur.style,!n&&tT&&(n="Webkit"+t.charAt(0).toUpperCase()+t.substr(1)in ur.style)),n}const iT=x_,oT=XE;let sT=(()=>{class t{validateStyleProperty(e){return nT(e)}matchesElement(e,i){return!1}containsElement(e,i){return iT(e,i)}getParentElement(e){return O_(e)}query(e,i,o){return oT(e,i,o)}computeStyle(e,i,o){return o||""}animate(e,i,o,s,r,a=[],u){return new dc(o,s)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),N_=(()=>{class t{}return t.NOOP=new sT,t})();const k_="ng-enter",uh="ng-leave",dh="ng-trigger",hh=".ng-trigger",aT="ng-animating",R_=".ng-animating";function dr(t){if("number"==typeof t)return t;const n=t.match(/^(-?[\.\d]+)(m?s)/);return!n||n.length<2?0:F_(parseFloat(n[1]),n[2])}function F_(t,n){return"s"===n?1e3*t:t}function ph(t,n,e){return t.hasOwnProperty("duration")?t:function pB(t,n,e){let o,s=0,r="";if("string"==typeof t){const a=t.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return n.push(KE()),{duration:0,delay:0,easing:""};o=F_(parseFloat(a[1]),a[2]);const u=a[3];null!=u&&(s=F_(parseFloat(u),a[4]));const p=a[5];p&&(r=p)}else o=t;if(!e){let a=!1,u=n.length;o<0&&(n.push(function A7(){return new X(3100,Ue)}()),a=!0),s<0&&(n.push(function x7(){return new X(3101,Ue)}()),a=!0),a&&n.splice(u,0,KE())}return{duration:o,delay:s,easing:r}}(t,n,e)}function Fa(t,n={}){return Object.keys(t).forEach(e=>{n[e]=t[e]}),n}function Cs(t,n,e={}){if(n)for(let i in t)e[i]=t[i];else Fa(t,e);return e}function cT(t,n,e){return e?n+":"+e+";":""}function uT(t){let n="";for(let e=0;e{const o=L_(i);e&&!e.hasOwnProperty(i)&&(e[i]=t.style[o]),t.style[o]=n[i]}),S_()&&uT(t))}function hr(t,n){t.style&&(Object.keys(n).forEach(e=>{const i=L_(e);t.style[i]=""}),S_()&&uT(t))}function mc(t){return Array.isArray(t)?1==t.length?t[0]:$E(t):t}const P_=new RegExp("{{\\s*(.+?)\\s*}}","g");function dT(t){let n=[];if("string"==typeof t){let e;for(;e=P_.exec(t);)n.push(e[1]);P_.lastIndex=0}return n}function fh(t,n,e){const i=t.toString(),o=i.replace(P_,(s,r)=>{let a=n[r];return n.hasOwnProperty(r)||(e.push(function N7(t){return new X(3003,Ue)}()),a=""),a.toString()});return o==i?t:o}function mh(t){const n=[];let e=t.next();for(;!e.done;)n.push(e.value),e=t.next();return n}const mB=/-+([a-z0-9])/g;function L_(t){return t.replace(mB,(...n)=>n[1].toUpperCase())}function gB(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function ci(t,n,e){switch(n.type){case 7:return t.visitTrigger(n,e);case 0:return t.visitState(n,e);case 1:return t.visitTransition(n,e);case 2:return t.visitSequence(n,e);case 3:return t.visitGroup(n,e);case 4:return t.visitAnimate(n,e);case 5:return t.visitKeyframes(n,e);case 6:return t.visitStyle(n,e);case 8:return t.visitReference(n,e);case 9:return t.visitAnimateChild(n,e);case 10:return t.visitAnimateRef(n,e);case 11:return t.visitQuery(n,e);case 12:return t.visitStagger(n,e);default:throw function k7(t){return new X(3004,Ue)}()}}function hT(t,n){return window.getComputedStyle(t)[n]}function wB(t,n){const e=[];return"string"==typeof t?t.split(/\s*,\s*/).forEach(i=>function DB(t,n,e){if(":"==t[0]){const u=function EB(t,n){switch(t){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,i)=>parseFloat(i)>parseFloat(e);case":decrement":return(e,i)=>parseFloat(i) *"}}(t,e);if("function"==typeof u)return void n.push(u);t=u}const i=t.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return e.push(function $7(t){return new X(3015,Ue)}()),n;const o=i[1],s=i[2],r=i[3];n.push(pT(o,r));"<"==s[0]&&!("*"==o&&"*"==r)&&n.push(pT(r,o))}(i,e,n)):e.push(t),e}const bh=new Set(["true","1"]),yh=new Set(["false","0"]);function pT(t,n){const e=bh.has(t)||yh.has(t),i=bh.has(n)||yh.has(n);return(o,s)=>{let r="*"==t||t==o,a="*"==n||n==s;return!r&&e&&"boolean"==typeof o&&(r=o?bh.has(t):yh.has(t)),!a&&i&&"boolean"==typeof s&&(a=s?bh.has(n):yh.has(n)),r&&a}}const TB=new RegExp("s*:selfs*,?","g");function B_(t,n,e,i){return new SB(t).build(n,e,i)}class SB{constructor(n){this._driver=n}build(n,e,i){const o=new AB(e);this._resetContextStyleTimingState(o);const s=ci(this,mc(n),o);return o.unsupportedCSSPropertiesFound.size&&o.unsupportedCSSPropertiesFound.keys(),s}_resetContextStyleTimingState(n){n.currentQuerySelector="",n.collectedStyles={},n.collectedStyles[""]={},n.currentTime=0}visitTrigger(n,e){let i=e.queryCount=0,o=e.depCount=0;const s=[],r=[];return"@"==n.name.charAt(0)&&e.errors.push(function F7(){return new X(3006,Ue)}()),n.definitions.forEach(a=>{if(this._resetContextStyleTimingState(e),0==a.type){const u=a,p=u.name;p.toString().split(/\s*,\s*/).forEach(f=>{u.name=f,s.push(this.visitState(u,e))}),u.name=p}else if(1==a.type){const u=this.visitTransition(a,e);i+=u.queryCount,o+=u.depCount,r.push(u)}else e.errors.push(function P7(){return new X(3007,Ue)}())}),{type:7,name:n.name,states:s,transitions:r,queryCount:i,depCount:o,options:null}}visitState(n,e){const i=this.visitStyle(n.styles,e),o=n.options&&n.options.params||null;if(i.containsDynamicStyles){const s=new Set,r=o||{};i.styles.forEach(a=>{if(Ch(a)){const u=a;Object.keys(u).forEach(p=>{dT(u[p]).forEach(f=>{r.hasOwnProperty(f)||s.add(f)})})}}),s.size&&(mh(s.values()),e.errors.push(function L7(t,n){return new X(3008,Ue)}()))}return{type:0,name:n.name,style:i,options:o?{params:o}:null}}visitTransition(n,e){e.queryCount=0,e.depCount=0;const i=ci(this,mc(n.animation),e);return{type:1,matchers:wB(n.expr,e.errors),animation:i,queryCount:e.queryCount,depCount:e.depCount,options:pr(n.options)}}visitSequence(n,e){return{type:2,steps:n.steps.map(i=>ci(this,i,e)),options:pr(n.options)}}visitGroup(n,e){const i=e.currentTime;let o=0;const s=n.steps.map(r=>{e.currentTime=i;const a=ci(this,r,e);return o=Math.max(o,e.currentTime),a});return e.currentTime=o,{type:3,steps:s,options:pr(n.options)}}visitAnimate(n,e){const i=function OB(t,n){if(t.hasOwnProperty("duration"))return t;if("number"==typeof t)return V_(ph(t,n).duration,0,"");const e=t;if(e.split(/\s+/).some(s=>"{"==s.charAt(0)&&"{"==s.charAt(1))){const s=V_(0,0,"");return s.dynamic=!0,s.strValue=e,s}const o=ph(e,n);return V_(o.duration,o.delay,o.easing)}(n.timings,e.errors);e.currentAnimateTimings=i;let o,s=n.styles?n.styles:$e({});if(5==s.type)o=this.visitKeyframes(s,e);else{let r=n.styles,a=!1;if(!r){a=!0;const p={};i.easing&&(p.easing=i.easing),r=$e(p)}e.currentTime+=i.duration+i.delay;const u=this.visitStyle(r,e);u.isEmptyStep=a,o=u}return e.currentAnimateTimings=null,{type:4,timings:i,style:o,options:null}}visitStyle(n,e){const i=this._makeStyleAst(n,e);return this._validateStyleAst(i,e),i}_makeStyleAst(n,e){const i=[];Array.isArray(n.styles)?n.styles.forEach(r=>{"string"==typeof r?r==$o?i.push(r):e.errors.push(function B7(t){return new X(3002,Ue)}()):i.push(r)}):i.push(n.styles);let o=!1,s=null;return i.forEach(r=>{if(Ch(r)){const a=r,u=a.easing;if(u&&(s=u,delete a.easing),!o)for(let p in a)if(a[p].toString().indexOf("{{")>=0){o=!0;break}}}),{type:6,styles:i,easing:s,offset:n.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(n,e){const i=e.currentAnimateTimings;let o=e.currentTime,s=e.currentTime;i&&s>0&&(s-=i.duration+i.delay),n.styles.forEach(r=>{"string"!=typeof r&&Object.keys(r).forEach(a=>{if(!this._driver.validateStyleProperty(a))return delete r[a],void e.unsupportedCSSPropertiesFound.add(a);const u=e.collectedStyles[e.currentQuerySelector],p=u[a];let f=!0;p&&(s!=o&&s>=p.startTime&&o<=p.endTime&&(e.errors.push(function V7(t,n,e,i,o){return new X(3010,Ue)}()),f=!1),s=p.startTime),f&&(u[a]={startTime:s,endTime:o}),e.options&&function fB(t,n,e){const i=n.params||{},o=dT(t);o.length&&o.forEach(s=>{i.hasOwnProperty(s)||e.push(function O7(t){return new X(3001,Ue)}())})}(r[a],e.options,e.errors)})})}visitKeyframes(n,e){const i={type:5,styles:[],options:null};if(!e.currentAnimateTimings)return e.errors.push(function j7(){return new X(3011,Ue)}()),i;let s=0;const r=[];let a=!1,u=!1,p=0;const f=n.steps.map(A=>{const T=this._makeStyleAst(A,e);let k=null!=T.offset?T.offset:function xB(t){if("string"==typeof t)return null;let n=null;if(Array.isArray(t))t.forEach(e=>{if(Ch(e)&&e.hasOwnProperty("offset")){const i=e;n=parseFloat(i.offset),delete i.offset}});else if(Ch(t)&&t.hasOwnProperty("offset")){const e=t;n=parseFloat(e.offset),delete e.offset}return n}(T.styles),V=0;return null!=k&&(s++,V=T.offset=k),u=u||V<0||V>1,a=a||V0&&s{const k=b>0?T==y?1:b*T:r[T],V=k*S;e.currentTime=w+E.delay+V,E.duration=V,this._validateStyleAst(A,e),A.offset=k,i.styles.push(A)}),i}visitReference(n,e){return{type:8,animation:ci(this,mc(n.animation),e),options:pr(n.options)}}visitAnimateChild(n,e){return e.depCount++,{type:9,options:pr(n.options)}}visitAnimateRef(n,e){return{type:10,animation:this.visitReference(n.animation,e),options:pr(n.options)}}visitQuery(n,e){const i=e.currentQuerySelector,o=n.options||{};e.queryCount++,e.currentQuery=n;const[s,r]=function MB(t){const n=!!t.split(/\s*,\s*/).find(e=>":self"==e);return n&&(t=t.replace(TB,"")),t=t.replace(/@\*/g,hh).replace(/@\w+/g,e=>hh+"-"+e.substr(1)).replace(/:animating/g,R_),[t,n]}(n.selector);e.currentQuerySelector=i.length?i+" "+s:s,li(e.collectedStyles,e.currentQuerySelector,{});const a=ci(this,mc(n.animation),e);return e.currentQuery=null,e.currentQuerySelector=i,{type:11,selector:s,limit:o.limit||0,optional:!!o.optional,includeSelf:r,animation:a,originalSelector:n.selector,options:pr(n.options)}}visitStagger(n,e){e.currentQuery||e.errors.push(function z7(){return new X(3013,Ue)}());const i="full"===n.timings?{duration:0,delay:0,easing:"full"}:ph(n.timings,e.errors,!0);return{type:12,animation:ci(this,mc(n.animation),e),timings:i,options:null}}}class AB{constructor(n){this.errors=n,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null,this.unsupportedCSSPropertiesFound=new Set}}function Ch(t){return!Array.isArray(t)&&"object"==typeof t}function pr(t){return t?(t=Fa(t)).params&&(t.params=function IB(t){return t?Fa(t):null}(t.params)):t={},t}function V_(t,n,e){return{duration:t,delay:n,easing:e}}function j_(t,n,e,i,o,s,r=null,a=!1){return{type:1,element:t,keyframes:n,preStyleProps:e,postStyleProps:i,duration:o,delay:s,totalTime:o+s,easing:r,subTimeline:a}}class wh{constructor(){this._map=new Map}get(n){return this._map.get(n)||[]}append(n,e){let i=this._map.get(n);i||this._map.set(n,i=[]),i.push(...e)}has(n){return this._map.has(n)}clear(){this._map.clear()}}const RB=new RegExp(":enter","g"),PB=new RegExp(":leave","g");function H_(t,n,e,i,o,s={},r={},a,u,p=[]){return(new LB).buildKeyframes(t,n,e,i,o,s,r,a,u,p)}class LB{buildKeyframes(n,e,i,o,s,r,a,u,p,f=[]){p=p||new wh;const g=new U_(n,e,p,o,s,f,[]);g.options=u,g.currentTimeline.setStyles([r],null,g.errors,u),ci(this,i,g);const b=g.timelines.filter(y=>y.containsAnimation());if(Object.keys(a).length){let y;for(let w=b.length-1;w>=0;w--){const E=b[w];if(E.element===e){y=E;break}}y&&!y.allowOnlyTimelineStyles()&&y.setStyles([a],null,g.errors,u)}return b.length?b.map(y=>y.buildKeyframes()):[j_(e,[],[],[],0,0,"",!1)]}visitTrigger(n,e){}visitState(n,e){}visitTransition(n,e){}visitAnimateChild(n,e){const i=e.subInstructions.get(e.element);if(i){const o=e.createSubContext(n.options),s=e.currentTimeline.currentTime,r=this._visitSubInstructions(i,o,o.options);s!=r&&e.transformIntoNewTimeline(r)}e.previousNode=n}visitAnimateRef(n,e){const i=e.createSubContext(n.options);i.transformIntoNewTimeline(),this.visitReference(n.animation,i),e.transformIntoNewTimeline(i.currentTimeline.currentTime),e.previousNode=n}_visitSubInstructions(n,e,i){let s=e.currentTimeline.currentTime;const r=null!=i.duration?dr(i.duration):null,a=null!=i.delay?dr(i.delay):null;return 0!==r&&n.forEach(u=>{const p=e.appendInstructionToTimeline(u,r,a);s=Math.max(s,p.duration+p.delay)}),s}visitReference(n,e){e.updateOptions(n.options,!0),ci(this,n.animation,e),e.previousNode=n}visitSequence(n,e){const i=e.subContextCount;let o=e;const s=n.options;if(s&&(s.params||s.delay)&&(o=e.createSubContext(s),o.transformIntoNewTimeline(),null!=s.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=Dh);const r=dr(s.delay);o.delayNextStep(r)}n.steps.length&&(n.steps.forEach(r=>ci(this,r,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>i&&o.transformIntoNewTimeline()),e.previousNode=n}visitGroup(n,e){const i=[];let o=e.currentTimeline.currentTime;const s=n.options&&n.options.delay?dr(n.options.delay):0;n.steps.forEach(r=>{const a=e.createSubContext(n.options);s&&a.delayNextStep(s),ci(this,r,a),o=Math.max(o,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(r=>e.currentTimeline.mergeTimelineCollectedStyles(r)),e.transformIntoNewTimeline(o),e.previousNode=n}_visitTiming(n,e){if(n.dynamic){const i=n.strValue;return ph(e.params?fh(i,e.params,e.errors):i,e.errors)}return{duration:n.duration,delay:n.delay,easing:n.easing}}visitAnimate(n,e){const i=e.currentAnimateTimings=this._visitTiming(n.timings,e),o=e.currentTimeline;i.delay&&(e.incrementTime(i.delay),o.snapshotCurrentStyles());const s=n.style;5==s.type?this.visitKeyframes(s,e):(e.incrementTime(i.duration),this.visitStyle(s,e),o.applyStylesToKeyframe()),e.currentAnimateTimings=null,e.previousNode=n}visitStyle(n,e){const i=e.currentTimeline,o=e.currentAnimateTimings;!o&&i.getCurrentStyleProperties().length&&i.forwardFrame();const s=o&&o.easing||n.easing;n.isEmptyStep?i.applyEmptyStep(s):i.setStyles(n.styles,s,e.errors,e.options),e.previousNode=n}visitKeyframes(n,e){const i=e.currentAnimateTimings,o=e.currentTimeline.duration,s=i.duration,a=e.createSubContext().currentTimeline;a.easing=i.easing,n.styles.forEach(u=>{a.forwardTime((u.offset||0)*s),a.setStyles(u.styles,u.easing,e.errors,e.options),a.applyStylesToKeyframe()}),e.currentTimeline.mergeTimelineCollectedStyles(a),e.transformIntoNewTimeline(o+s),e.previousNode=n}visitQuery(n,e){const i=e.currentTimeline.currentTime,o=n.options||{},s=o.delay?dr(o.delay):0;s&&(6===e.previousNode.type||0==i&&e.currentTimeline.getCurrentStyleProperties().length)&&(e.currentTimeline.snapshotCurrentStyles(),e.previousNode=Dh);let r=i;const a=e.invokeQuery(n.selector,n.originalSelector,n.limit,n.includeSelf,!!o.optional,e.errors);e.currentQueryTotal=a.length;let u=null;a.forEach((p,f)=>{e.currentQueryIndex=f;const g=e.createSubContext(n.options,p);s&&g.delayNextStep(s),p===e.element&&(u=g.currentTimeline),ci(this,n.animation,g),g.currentTimeline.applyStylesToKeyframe(),r=Math.max(r,g.currentTimeline.currentTime)}),e.currentQueryIndex=0,e.currentQueryTotal=0,e.transformIntoNewTimeline(r),u&&(e.currentTimeline.mergeTimelineCollectedStyles(u),e.currentTimeline.snapshotCurrentStyles()),e.previousNode=n}visitStagger(n,e){const i=e.parentContext,o=e.currentTimeline,s=n.timings,r=Math.abs(s.duration),a=r*(e.currentQueryTotal-1);let u=r*e.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":u=a-u;break;case"full":u=i.currentStaggerTime}const f=e.currentTimeline;u&&f.delayNextStep(u);const g=f.currentTime;ci(this,n.animation,e),e.previousNode=n,i.currentStaggerTime=o.currentTime-g+(o.startTime-i.currentTimeline.startTime)}}const Dh={};class U_{constructor(n,e,i,o,s,r,a,u){this._driver=n,this.element=e,this.subInstructions=i,this._enterClassName=o,this._leaveClassName=s,this.errors=r,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=Dh,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=u||new Eh(this._driver,e,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(n,e){if(!n)return;const i=n;let o=this.options;null!=i.duration&&(o.duration=dr(i.duration)),null!=i.delay&&(o.delay=dr(i.delay));const s=i.params;if(s){let r=o.params;r||(r=this.options.params={}),Object.keys(s).forEach(a=>{(!e||!r.hasOwnProperty(a))&&(r[a]=fh(s[a],r,this.errors))})}}_copyOptions(){const n={};if(this.options){const e=this.options.params;if(e){const i=n.params={};Object.keys(e).forEach(o=>{i[o]=e[o]})}}return n}createSubContext(n=null,e,i){const o=e||this.element,s=new U_(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(n),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(n){return this.previousNode=Dh,this.currentTimeline=this.currentTimeline.fork(this.element,n),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(n,e,i){const o={duration:null!=e?e:n.duration,delay:this.currentTimeline.currentTime+(null!=i?i:0)+n.delay,easing:""},s=new BB(this._driver,n.element,n.keyframes,n.preStyleProps,n.postStyleProps,o,n.stretchStartingKeyframe);return this.timelines.push(s),o}incrementTime(n){this.currentTimeline.forwardTime(this.currentTimeline.duration+n)}delayNextStep(n){n>0&&this.currentTimeline.delayNextStep(n)}invokeQuery(n,e,i,o,s,r){let a=[];if(o&&a.push(this.element),n.length>0){n=(n=n.replace(RB,"."+this._enterClassName)).replace(PB,"."+this._leaveClassName);let p=this._driver.query(this.element,n,1!=i);0!==i&&(p=i<0?p.slice(p.length+i,p.length):p.slice(0,i)),a.push(...p)}return!s&&0==a.length&&r.push(function q7(t){return new X(3014,Ue)}()),a}}class Eh{constructor(n,e,i,o){this._driver=n,this.element=e,this.startTime=i,this._elementTimelineStylesLookup=o,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(e),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(e,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(n){const e=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||e?(this.forwardTime(this.currentTime+n),e&&this.snapshotCurrentStyles()):this.startTime+=n}fork(n,e){return this.applyStylesToKeyframe(),new Eh(this._driver,n,e||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(n){this.applyStylesToKeyframe(),this.duration=n,this._loadKeyframe()}_updateStyle(n,e){this._localTimelineStyles[n]=e,this._globalTimelineStyles[n]=e,this._styleSummary[n]={time:this.currentTime,value:e}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(n){n&&(this._previousKeyframe.easing=n),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||$o,this._currentKeyframe[e]=$o}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(n,e,i,o){e&&(this._previousKeyframe.easing=e);const s=o&&o.params||{},r=function VB(t,n){const e={};let i;return t.forEach(o=>{"*"===o?(i=i||Object.keys(n),i.forEach(s=>{e[s]=$o})):Cs(o,!1,e)}),e}(n,this._globalTimelineStyles);Object.keys(r).forEach(a=>{const u=fh(r[a],s,i);this._pendingStyles[a]=u,this._localTimelineStyles.hasOwnProperty(a)||(this._backFill[a]=this._globalTimelineStyles.hasOwnProperty(a)?this._globalTimelineStyles[a]:$o),this._updateStyle(a,u)})}applyStylesToKeyframe(){const n=this._pendingStyles,e=Object.keys(n);0!=e.length&&(this._pendingStyles={},e.forEach(i=>{this._currentKeyframe[i]=n[i]}),Object.keys(this._localTimelineStyles).forEach(i=>{this._currentKeyframe.hasOwnProperty(i)||(this._currentKeyframe[i]=this._localTimelineStyles[i])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(n=>{const e=this._localTimelineStyles[n];this._pendingStyles[n]=e,this._updateStyle(n,e)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const n=[];for(let e in this._currentKeyframe)n.push(e);return n}mergeTimelineCollectedStyles(n){Object.keys(n._styleSummary).forEach(e=>{const i=this._styleSummary[e],o=n._styleSummary[e];(!i||o.time>i.time)&&this._updateStyle(e,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();const n=new Set,e=new Set,i=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((a,u)=>{const p=Cs(a,!0);Object.keys(p).forEach(f=>{const g=p[f];"!"==g?n.add(f):g==$o&&e.add(f)}),i||(p.offset=u/this.duration),o.push(p)});const s=n.size?mh(n.values()):[],r=e.size?mh(e.values()):[];if(i){const a=o[0],u=Fa(a);a.offset=0,u.offset=1,o=[a,u]}return j_(this.element,o,s,r,this.duration,this.startTime,this.easing,!1)}}class BB extends Eh{constructor(n,e,i,o,s,r,a=!1){super(n,e,r.delay),this.keyframes=i,this.preStyleProps=o,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:r.duration,delay:r.delay,easing:r.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let n=this.keyframes,{delay:e,duration:i,easing:o}=this.timings;if(this._stretchStartingKeyframe&&e){const s=[],r=i+e,a=e/r,u=Cs(n[0],!1);u.offset=0,s.push(u);const p=Cs(n[0],!1);p.offset=gT(a),s.push(p);const f=n.length-1;for(let g=1;g<=f;g++){let b=Cs(n[g],!1);b.offset=gT((e+b.offset*i)/r),s.push(b)}i=r,e=0,o="",n=s}return j_(this.element,n,this.preStyleProps,this.postStyleProps,i,e,o,!0)}}function gT(t,n=3){const e=Math.pow(10,n-1);return Math.round(t*e)/e}class G_{}class jB extends G_{normalizePropertyName(n,e){return L_(n)}normalizeStyleValue(n,e,i,o){let s="";const r=i.toString().trim();if(HB[e]&&0!==i&&"0"!==i)if("number"==typeof i)s="px";else{const a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&o.push(function R7(t,n){return new X(3005,Ue)}())}return r+s}}const HB=(()=>function UB(t){const n={};return t.forEach(e=>n[e]=!0),n}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function _T(t,n,e,i,o,s,r,a,u,p,f,g,b){return{type:0,element:t,triggerName:n,isRemovalTransition:o,fromState:e,fromStyles:s,toState:i,toStyles:r,timelines:a,queriedElements:u,preStyleProps:p,postStyleProps:f,totalTime:g,errors:b}}const z_={};class vT{constructor(n,e,i){this._triggerName=n,this.ast=e,this._stateStyles=i}match(n,e,i,o){return function GB(t,n,e,i,o){return t.some(s=>s(n,e,i,o))}(this.ast.matchers,n,e,i,o)}buildStyles(n,e,i){const o=this._stateStyles["*"],s=this._stateStyles[n],r=o?o.buildStyles(e,i):{};return s?s.buildStyles(e,i):r}build(n,e,i,o,s,r,a,u,p,f){const g=[],b=this.ast.options&&this.ast.options.params||z_,w=this.buildStyles(i,a&&a.params||z_,g),E=u&&u.params||z_,S=this.buildStyles(o,E,g),A=new Set,T=new Map,k=new Map,V="void"===o,W={params:Object.assign(Object.assign({},b),E)},ue=f?[]:H_(n,e,this.ast.animation,s,r,w,S,W,p,g);let ge=0;if(ue.forEach(et=>{ge=Math.max(et.duration+et.delay,ge)}),g.length)return _T(e,this._triggerName,i,o,V,w,S,[],[],T,k,ge,g);ue.forEach(et=>{const tt=et.element,lt=li(T,tt,{});et.preStyleProps.forEach(Dt=>lt[Dt]=!0);const $t=li(k,tt,{});et.postStyleProps.forEach(Dt=>$t[Dt]=!0),tt!==e&&A.add(tt)});const Ie=mh(A.values());return _T(e,this._triggerName,i,o,V,w,S,ue,Ie,T,k,ge)}}class zB{constructor(n,e,i){this.styles=n,this.defaultParams=e,this.normalizer=i}buildStyles(n,e){const i={},o=Fa(this.defaultParams);return Object.keys(n).forEach(s=>{const r=n[s];null!=r&&(o[s]=r)}),this.styles.styles.forEach(s=>{if("string"!=typeof s){const r=s;Object.keys(r).forEach(a=>{let u=r[a];u.length>1&&(u=fh(u,o,e));const p=this.normalizer.normalizePropertyName(a,e);u=this.normalizer.normalizeStyleValue(a,p,u,e),i[p]=u})}}),i}}class $B{constructor(n,e,i){this.name=n,this.ast=e,this._normalizer=i,this.transitionFactories=[],this.states={},e.states.forEach(o=>{this.states[o.name]=new zB(o.style,o.options&&o.options.params||{},i)}),bT(this.states,"true","1"),bT(this.states,"false","0"),e.transitions.forEach(o=>{this.transitionFactories.push(new vT(n,o,this.states))}),this.fallbackTransition=function WB(t,n,e){return new vT(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[(r,a)=>!0],options:null,queryCount:0,depCount:0},n)}(n,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(n,e,i,o){return this.transitionFactories.find(r=>r.match(n,e,i,o))||null}matchStyles(n,e,i){return this.fallbackTransition.buildStyles(n,e,i)}}function bT(t,n,e){t.hasOwnProperty(n)?t.hasOwnProperty(e)||(t[e]=t[n]):t.hasOwnProperty(e)&&(t[n]=t[e])}const YB=new wh;class QB{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._animations={},this._playersById={},this.players=[]}register(n,e){const i=[],s=B_(this._driver,e,i,[]);if(i.length)throw function J7(t){return new X(3503,Ue)}();this._animations[n]=s}_buildPlayer(n,e,i){const o=n.element,s=ZE(0,this._normalizer,0,n.keyframes,e,i);return this._driver.animate(o,s,n.duration,n.delay,n.easing,[],!0)}create(n,e,i={}){const o=[],s=this._animations[n];let r;const a=new Map;if(s?(r=H_(this._driver,e,s,k_,uh,{},{},i,YB,o),r.forEach(f=>{const g=li(a,f.element,{});f.postStyleProps.forEach(b=>g[b]=null)})):(o.push(function X7(){return new X(3300,Ue)}()),r=[]),o.length)throw function eB(t){return new X(3504,Ue)}();a.forEach((f,g)=>{Object.keys(f).forEach(b=>{f[b]=this._driver.computeStyle(g,b,$o)})});const p=ys(r.map(f=>{const g=a.get(f.element);return this._buildPlayer(f,{},g)}));return this._playersById[n]=p,p.onDestroy(()=>this.destroy(n)),this.players.push(p),p}destroy(n){const e=this._getPlayer(n);e.destroy(),delete this._playersById[n];const i=this.players.indexOf(e);i>=0&&this.players.splice(i,1)}_getPlayer(n){const e=this._playersById[n];if(!e)throw function tB(t){return new X(3301,Ue)}();return e}listen(n,e,i,o){const s=A_(e,"","","");return M_(this._getPlayer(n),i,s,o),()=>{}}command(n,e,i,o){if("register"==i)return void this.register(n,o[0]);if("create"==i)return void this.create(n,e,o[0]||{});const s=this._getPlayer(n);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(n)}}}const yT="ng-animate-queued",q_="ng-animate-disabled",eV=[],CT={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},tV={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ii="__ng_removed";class $_{constructor(n,e=""){this.namespaceId=e;const i=n&&n.hasOwnProperty("value");if(this.value=function sV(t){return null!=t?t:null}(i?n.value:n),i){const s=Fa(n);delete s.value,this.options=s}else this.options={};this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(n){const e=n.params;if(e){const i=this.options.params;Object.keys(e).forEach(o=>{null==i[o]&&(i[o]=e[o])})}}}const gc="void",W_=new $_(gc);class nV{constructor(n,e,i){this.id=n,this.hostElement=e,this._engine=i,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+n,Ai(e,this._hostClassName)}listen(n,e,i,o){if(!this._triggers.hasOwnProperty(e))throw function nB(t,n){return new X(3302,Ue)}();if(null==i||0==i.length)throw function iB(t){return new X(3303,Ue)}();if(!function rV(t){return"start"==t||"done"==t}(i))throw function oB(t,n){return new X(3400,Ue)}();const s=li(this._elementListeners,n,[]),r={name:e,phase:i,callback:o};s.push(r);const a=li(this._engine.statesByElement,n,{});return a.hasOwnProperty(e)||(Ai(n,dh),Ai(n,dh+"-"+e),a[e]=W_),()=>{this._engine.afterFlush(()=>{const u=s.indexOf(r);u>=0&&s.splice(u,1),this._triggers[e]||delete a[e]})}}register(n,e){return!this._triggers[n]&&(this._triggers[n]=e,!0)}_getTrigger(n){const e=this._triggers[n];if(!e)throw function sB(t){return new X(3401,Ue)}();return e}trigger(n,e,i,o=!0){const s=this._getTrigger(e),r=new Y_(this.id,e,n);let a=this._engine.statesByElement.get(n);a||(Ai(n,dh),Ai(n,dh+"-"+e),this._engine.statesByElement.set(n,a={}));let u=a[e];const p=new $_(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&u&&p.absorbOptions(u.options),a[e]=p,u||(u=W_),p.value!==gc&&u.value===p.value){if(!function cV(t,n){const e=Object.keys(t),i=Object.keys(n);if(e.length!=i.length)return!1;for(let o=0;o{hr(n,S),yo(n,A)})}return}const b=li(this._engine.playersByElement,n,[]);b.forEach(E=>{E.namespaceId==this.id&&E.triggerName==e&&E.queued&&E.destroy()});let y=s.matchTransition(u.value,p.value,n,p.params),w=!1;if(!y){if(!o)return;y=s.fallbackTransition,w=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:e,transition:y,fromState:u,toState:p,player:r,isFallbackTransition:w}),w||(Ai(n,yT),r.onStart(()=>{Pa(n,yT)})),r.onDone(()=>{let E=this.players.indexOf(r);E>=0&&this.players.splice(E,1);const S=this._engine.playersByElement.get(n);if(S){let A=S.indexOf(r);A>=0&&S.splice(A,1)}}),this.players.push(r),b.push(r),r}deregister(n){delete this._triggers[n],this._engine.statesByElement.forEach((e,i)=>{delete e[n]}),this._elementListeners.forEach((e,i)=>{this._elementListeners.set(i,e.filter(o=>o.name!=n))})}clearElementCache(n){this._engine.statesByElement.delete(n),this._elementListeners.delete(n);const e=this._engine.playersByElement.get(n);e&&(e.forEach(i=>i.destroy()),this._engine.playersByElement.delete(n))}_signalRemovalForInnerTriggers(n,e){const i=this._engine.driver.query(n,hh,!0);i.forEach(o=>{if(o[Ii])return;const s=this._engine.fetchNamespacesByElement(o);s.size?s.forEach(r=>r.triggerLeaveAnimation(o,e,!1,!0)):this.clearElementCache(o)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(o=>this.clearElementCache(o)))}triggerLeaveAnimation(n,e,i,o){const s=this._engine.statesByElement.get(n),r=new Map;if(s){const a=[];if(Object.keys(s).forEach(u=>{if(r.set(u,s[u].value),this._triggers[u]){const p=this.trigger(n,u,gc,o);p&&a.push(p)}}),a.length)return this._engine.markElementAsRemoved(this.id,n,!0,e,r),i&&ys(a).onDone(()=>this._engine.processLeaveNode(n)),!0}return!1}prepareLeaveAnimationListeners(n){const e=this._elementListeners.get(n),i=this._engine.statesByElement.get(n);if(e&&i){const o=new Set;e.forEach(s=>{const r=s.name;if(o.has(r))return;o.add(r);const u=this._triggers[r].fallbackTransition,p=i[r]||W_,f=new $_(gc),g=new Y_(this.id,r,n);this._engine.totalQueuedPlayers++,this._queue.push({element:n,triggerName:r,transition:u,fromState:p,toState:f,player:g,isFallbackTransition:!0})})}}removeNode(n,e){const i=this._engine;if(n.childElementCount&&this._signalRemovalForInnerTriggers(n,e),this.triggerLeaveAnimation(n,e,!0))return;let o=!1;if(i.totalAnimations){const s=i.players.length?i.playersByQueriedElement.get(n):[];if(s&&s.length)o=!0;else{let r=n;for(;r=r.parentNode;)if(i.statesByElement.get(r)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(n),o)i.markElementAsRemoved(this.id,n,!1,e);else{const s=n[Ii];(!s||s===CT)&&(i.afterFlush(()=>this.clearElementCache(n)),i.destroyInnerAnimations(n),i._onRemovalComplete(n,e))}}insertNode(n,e){Ai(n,this._hostClassName)}drainQueuedTransitions(n){const e=[];return this._queue.forEach(i=>{const o=i.player;if(o.destroyed)return;const s=i.element,r=this._elementListeners.get(s);r&&r.forEach(a=>{if(a.name==i.triggerName){const u=A_(s,i.triggerName,i.fromState.value,i.toState.value);u._data=n,M_(i.player,a.phase,u,a.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):e.push(i)}),this._queue=[],e.sort((i,o)=>{const s=i.transition.ast.depCount,r=o.transition.ast.depCount;return 0==s||0==r?s-r:this._engine.driver.containsElement(i.element,o.element)?1:-1})}destroy(n){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,n)}elementContainsData(n){let e=!1;return this._elementListeners.has(n)&&(e=!0),e=!!this._queue.find(i=>i.element===n)||e,e}}class iV{constructor(n,e,i){this.bodyNode=n,this.driver=e,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(o,s)=>{}}_onRemovalComplete(n,e){this.onRemovalComplete(n,e)}get queuedPlayers(){const n=[];return this._namespaceList.forEach(e=>{e.players.forEach(i=>{i.queued&&n.push(i)})}),n}createNamespace(n,e){const i=new nV(n,e,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,e)?this._balanceNamespaceList(i,e):(this.newHostElements.set(e,i),this.collectEnterElement(e)),this._namespaceLookup[n]=i}_balanceNamespaceList(n,e){const i=this._namespaceList,o=this.namespacesByHostElement,s=i.length-1;if(s>=0){let r=!1;if(void 0!==this.driver.getParentElement){let a=this.driver.getParentElement(e);for(;a;){const u=o.get(a);if(u){const p=i.indexOf(u);i.splice(p+1,0,n),r=!0;break}a=this.driver.getParentElement(a)}}else for(let a=s;a>=0;a--)if(this.driver.containsElement(i[a].hostElement,e)){i.splice(a+1,0,n),r=!0;break}r||i.unshift(n)}else i.push(n);return o.set(e,n),n}register(n,e){let i=this._namespaceLookup[n];return i||(i=this.createNamespace(n,e)),i}registerTrigger(n,e,i){let o=this._namespaceLookup[n];o&&o.register(e,i)&&this.totalAnimations++}destroy(n,e){if(!n)return;const i=this._fetchNamespace(n);this.afterFlush(()=>{this.namespacesByHostElement.delete(i.hostElement),delete this._namespaceLookup[n];const o=this._namespaceList.indexOf(i);o>=0&&this._namespaceList.splice(o,1)}),this.afterFlushAnimationsDone(()=>i.destroy(e))}_fetchNamespace(n){return this._namespaceLookup[n]}fetchNamespacesByElement(n){const e=new Set,i=this.statesByElement.get(n);if(i){const o=Object.keys(i);for(let s=0;s=0&&this.collectedLeaveElements.splice(r,1)}if(n){const r=this._fetchNamespace(n);r&&r.insertNode(e,i)}o&&this.collectEnterElement(e)}collectEnterElement(n){this.collectedEnterElements.push(n)}markElementAsDisabled(n,e){e?this.disabledNodes.has(n)||(this.disabledNodes.add(n),Ai(n,q_)):this.disabledNodes.has(n)&&(this.disabledNodes.delete(n),Pa(n,q_))}removeNode(n,e,i,o){if(Th(e)){const s=n?this._fetchNamespace(n):null;if(s?s.removeNode(e,o):this.markElementAsRemoved(n,e,!1,o),i){const r=this.namespacesByHostElement.get(e);r&&r.id!==n&&r.removeNode(e,o)}}else this._onRemovalComplete(e,o)}markElementAsRemoved(n,e,i,o,s){this.collectedLeaveElements.push(e),e[Ii]={namespaceId:n,setForRemoval:o,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(n,e,i,o,s){return Th(e)?this._fetchNamespace(n).listen(e,i,o,s):()=>{}}_buildInstruction(n,e,i,o,s){return n.transition.build(this.driver,n.element,n.fromState.value,n.toState.value,i,o,n.fromState.options,n.toState.options,e,s)}destroyInnerAnimations(n){let e=this.driver.query(n,hh,!0);e.forEach(i=>this.destroyActiveAnimationsForElement(i)),0!=this.playersByQueriedElement.size&&(e=this.driver.query(n,R_,!0),e.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(n){const e=this.playersByElement.get(n);e&&e.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(n){const e=this.playersByQueriedElement.get(n);e&&e.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(n=>{if(this.players.length)return ys(this.players).onDone(()=>n());n()})}processLeaveNode(n){var e;const i=n[Ii];if(i&&i.setForRemoval){if(n[Ii]=CT,i.namespaceId){this.destroyInnerAnimations(n);const o=this._fetchNamespace(i.namespaceId);o&&o.clearElementCache(n)}this._onRemovalComplete(n,i.setForRemoval)}(null===(e=n.classList)||void 0===e?void 0:e.contains(q_))&&this.markElementAsDisabled(n,!1),this.driver.query(n,".ng-animate-disabled",!0).forEach(o=>{this.markElementAsDisabled(o,!1)})}flush(n=-1){let e=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,o)=>this._balanceNamespaceList(i,o)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){const i=this._whenQuietFns;this._whenQuietFns=[],e.length?ys(e).onDone(()=>{i.forEach(o=>o())}):i.forEach(o=>o())}}reportError(n){throw function rB(t){return new X(3402,Ue)}()}_flushAnimations(n,e){const i=new wh,o=[],s=new Map,r=[],a=new Map,u=new Map,p=new Map,f=new Set;this.disabledNodes.forEach(z=>{f.add(z);const ee=this.driver.query(z,".ng-animate-queued",!0);for(let _e=0;_e{const _e=k_+E++;w.set(ee,_e),z.forEach(ke=>Ai(ke,_e))});const S=[],A=new Set,T=new Set;for(let z=0;zA.add(ke)):T.add(ee))}const k=new Map,V=ET(b,Array.from(A));V.forEach((z,ee)=>{const _e=uh+E++;k.set(ee,_e),z.forEach(ke=>Ai(ke,_e))}),n.push(()=>{y.forEach((z,ee)=>{const _e=w.get(ee);z.forEach(ke=>Pa(ke,_e))}),V.forEach((z,ee)=>{const _e=k.get(ee);z.forEach(ke=>Pa(ke,_e))}),S.forEach(z=>{this.processLeaveNode(z)})});const W=[],ue=[];for(let z=this._namespaceList.length-1;z>=0;z--)this._namespaceList[z].drainQueuedTransitions(e).forEach(_e=>{const ke=_e.player,Rt=_e.element;if(W.push(ke),this.collectedEnterElements.length){const tn=Rt[Ii];if(tn&&tn.setForMove){if(tn.previousTriggersValues&&tn.previousTriggersValues.has(_e.triggerName)){const jn=tn.previousTriggersValues.get(_e.triggerName),Ri=this.statesByElement.get(_e.element);Ri&&Ri[_e.triggerName]&&(Ri[_e.triggerName].value=jn)}return void ke.destroy()}}const Kn=!g||!this.driver.containsElement(g,Rt),pn=k.get(Rt),mi=w.get(Rt),st=this._buildInstruction(_e,i,mi,pn,Kn);if(st.errors&&st.errors.length)return void ue.push(st);if(Kn)return ke.onStart(()=>hr(Rt,st.fromStyles)),ke.onDestroy(()=>yo(Rt,st.toStyles)),void o.push(ke);if(_e.isFallbackTransition)return ke.onStart(()=>hr(Rt,st.fromStyles)),ke.onDestroy(()=>yo(Rt,st.toStyles)),void o.push(ke);const to=[];st.timelines.forEach(tn=>{tn.stretchStartingKeyframe=!0,this.disabledNodes.has(tn.element)||to.push(tn)}),st.timelines=to,i.append(Rt,st.timelines),r.push({instruction:st,player:ke,element:Rt}),st.queriedElements.forEach(tn=>li(a,tn,[]).push(ke)),st.preStyleProps.forEach((tn,jn)=>{const Ri=Object.keys(tn);if(Ri.length){let is=u.get(jn);is||u.set(jn,is=new Set),Ri.forEach(Or=>is.add(Or))}}),st.postStyleProps.forEach((tn,jn)=>{const Ri=Object.keys(tn);let is=p.get(jn);is||p.set(jn,is=new Set),Ri.forEach(Or=>is.add(Or))})});if(ue.length){const z=[];ue.forEach(ee=>{z.push(function aB(t,n){return new X(3505,Ue)}())}),W.forEach(ee=>ee.destroy()),this.reportError(z)}const ge=new Map,Ie=new Map;r.forEach(z=>{const ee=z.element;i.has(ee)&&(Ie.set(ee,ee),this._beforeAnimationBuild(z.player.namespaceId,z.instruction,ge))}),o.forEach(z=>{const ee=z.element;this._getPreviousPlayers(ee,!1,z.namespaceId,z.triggerName,null).forEach(ke=>{li(ge,ee,[]).push(ke),ke.destroy()})});const et=S.filter(z=>ST(z,u,p)),tt=new Map;DT(tt,this.driver,T,p,$o).forEach(z=>{ST(z,u,p)&&et.push(z)});const $t=new Map;y.forEach((z,ee)=>{DT($t,this.driver,new Set(z),u,"!")}),et.forEach(z=>{const ee=tt.get(z),_e=$t.get(z);tt.set(z,Object.assign(Object.assign({},ee),_e))});const Dt=[],Ni=[],ki={};r.forEach(z=>{const{element:ee,player:_e,instruction:ke}=z;if(i.has(ee)){if(f.has(ee))return _e.onDestroy(()=>yo(ee,ke.toStyles)),_e.disabled=!0,_e.overrideTotalTime(ke.totalTime),void o.push(_e);let Rt=ki;if(Ie.size>1){let pn=ee;const mi=[];for(;pn=pn.parentNode;){const st=Ie.get(pn);if(st){Rt=st;break}mi.push(pn)}mi.forEach(st=>Ie.set(st,Rt))}const Kn=this._buildAnimation(_e.namespaceId,ke,ge,s,$t,tt);if(_e.setRealPlayer(Kn),Rt===ki)Dt.push(_e);else{const pn=this.playersByElement.get(Rt);pn&&pn.length&&(_e.parentPlayer=ys(pn)),o.push(_e)}}else hr(ee,ke.fromStyles),_e.onDestroy(()=>yo(ee,ke.toStyles)),Ni.push(_e),f.has(ee)&&o.push(_e)}),Ni.forEach(z=>{const ee=s.get(z.element);if(ee&&ee.length){const _e=ys(ee);z.setRealPlayer(_e)}}),o.forEach(z=>{z.parentPlayer?z.syncPlayerEvents(z.parentPlayer):z.destroy()});for(let z=0;z!Kn.destroyed);Rt.length?aV(this,ee,Rt):this.processLeaveNode(ee)}return S.length=0,Dt.forEach(z=>{this.players.push(z),z.onDone(()=>{z.destroy();const ee=this.players.indexOf(z);this.players.splice(ee,1)}),z.play()}),Dt}elementContainsData(n,e){let i=!1;const o=e[Ii];return o&&o.setForRemoval&&(i=!0),this.playersByElement.has(e)&&(i=!0),this.playersByQueriedElement.has(e)&&(i=!0),this.statesByElement.has(e)&&(i=!0),this._fetchNamespace(n).elementContainsData(e)||i}afterFlush(n){this._flushFns.push(n)}afterFlushAnimationsDone(n){this._whenQuietFns.push(n)}_getPreviousPlayers(n,e,i,o,s){let r=[];if(e){const a=this.playersByQueriedElement.get(n);a&&(r=a)}else{const a=this.playersByElement.get(n);if(a){const u=!s||s==gc;a.forEach(p=>{p.queued||!u&&p.triggerName!=o||r.push(p)})}}return(i||o)&&(r=r.filter(a=>!(i&&i!=a.namespaceId||o&&o!=a.triggerName))),r}_beforeAnimationBuild(n,e,i){const s=e.element,r=e.isRemovalTransition?void 0:n,a=e.isRemovalTransition?void 0:e.triggerName;for(const u of e.timelines){const p=u.element,f=p!==s,g=li(i,p,[]);this._getPreviousPlayers(p,f,r,a,e.toState).forEach(y=>{const w=y.getRealPlayer();w.beforeDestroy&&w.beforeDestroy(),y.destroy(),g.push(y)})}hr(s,e.fromStyles)}_buildAnimation(n,e,i,o,s,r){const a=e.triggerName,u=e.element,p=[],f=new Set,g=new Set,b=e.timelines.map(w=>{const E=w.element;f.add(E);const S=E[Ii];if(S&&S.removedBeforeQueried)return new dc(w.duration,w.delay);const A=E!==u,T=function lV(t){const n=[];return TT(t,n),n}((i.get(E)||eV).map(ge=>ge.getRealPlayer())).filter(ge=>!!ge.element&&ge.element===E),k=s.get(E),V=r.get(E),W=ZE(0,this._normalizer,0,w.keyframes,k,V),ue=this._buildPlayer(w,W,T);if(w.subTimeline&&o&&g.add(E),A){const ge=new Y_(n,a,E);ge.setRealPlayer(ue),p.push(ge)}return ue});p.forEach(w=>{li(this.playersByQueriedElement,w.element,[]).push(w),w.onDone(()=>function oV(t,n,e){let i;if(t instanceof Map){if(i=t.get(n),i){if(i.length){const o=i.indexOf(e);i.splice(o,1)}0==i.length&&t.delete(n)}}else if(i=t[n],i){if(i.length){const o=i.indexOf(e);i.splice(o,1)}0==i.length&&delete t[n]}return i}(this.playersByQueriedElement,w.element,w))}),f.forEach(w=>Ai(w,aT));const y=ys(b);return y.onDestroy(()=>{f.forEach(w=>Pa(w,aT)),yo(u,e.toStyles)}),g.forEach(w=>{li(o,w,[]).push(y)}),y}_buildPlayer(n,e,i){return e.length>0?this.driver.animate(n.element,e,n.duration,n.delay,n.easing,i):new dc(n.duration,n.delay)}}class Y_{constructor(n,e,i){this.namespaceId=n,this.triggerName=e,this.element=i,this._player=new dc,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(n){this._containsRealPlayer||(this._player=n,Object.keys(this._queuedCallbacks).forEach(e=>{this._queuedCallbacks[e].forEach(i=>M_(n,e,void 0,i))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(n.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(n){this.totalTime=n}syncPlayerEvents(n){const e=this._player;e.triggerCallback&&n.onStart(()=>e.triggerCallback("start")),n.onDone(()=>this.finish()),n.onDestroy(()=>this.destroy())}_queueEvent(n,e){li(this._queuedCallbacks,n,[]).push(e)}onDone(n){this.queued&&this._queueEvent("done",n),this._player.onDone(n)}onStart(n){this.queued&&this._queueEvent("start",n),this._player.onStart(n)}onDestroy(n){this.queued&&this._queueEvent("destroy",n),this._player.onDestroy(n)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(n){this.queued||this._player.setPosition(n)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(n){const e=this._player;e.triggerCallback&&e.triggerCallback(n)}}function Th(t){return t&&1===t.nodeType}function wT(t,n){const e=t.style.display;return t.style.display=null!=n?n:"none",e}function DT(t,n,e,i,o){const s=[];e.forEach(u=>s.push(wT(u)));const r=[];i.forEach((u,p)=>{const f={};u.forEach(g=>{const b=f[g]=n.computeStyle(p,g,o);(!b||0==b.length)&&(p[Ii]=tV,r.push(p))}),t.set(p,f)});let a=0;return e.forEach(u=>wT(u,s[a++])),r}function ET(t,n){const e=new Map;if(t.forEach(a=>e.set(a,[])),0==n.length)return e;const o=new Set(n),s=new Map;function r(a){if(!a)return 1;let u=s.get(a);if(u)return u;const p=a.parentNode;return u=e.has(p)?p:o.has(p)?1:r(p),s.set(a,u),u}return n.forEach(a=>{const u=r(a);1!==u&&e.get(u).push(a)}),e}function Ai(t,n){var e;null===(e=t.classList)||void 0===e||e.add(n)}function Pa(t,n){var e;null===(e=t.classList)||void 0===e||e.remove(n)}function aV(t,n,e){ys(e).onDone(()=>t.processLeaveNode(n))}function TT(t,n){for(let e=0;eo.add(s)):n.set(t,i),e.delete(t),!0}class Sh{constructor(n,e,i){this.bodyNode=n,this._driver=e,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(o,s)=>{},this._transitionEngine=new iV(n,e,i),this._timelineEngine=new QB(n,e,i),this._transitionEngine.onRemovalComplete=(o,s)=>this.onRemovalComplete(o,s)}registerTrigger(n,e,i,o,s){const r=n+"-"+o;let a=this._triggerCache[r];if(!a){const u=[],f=B_(this._driver,s,u,[]);if(u.length)throw function K7(t,n){return new X(3404,Ue)}();a=function qB(t,n,e){return new $B(t,n,e)}(o,f,this._normalizer),this._triggerCache[r]=a}this._transitionEngine.registerTrigger(e,o,a)}register(n,e){this._transitionEngine.register(n,e)}destroy(n,e){this._transitionEngine.destroy(n,e)}onInsert(n,e,i,o){this._transitionEngine.insertNode(n,e,i,o)}onRemove(n,e,i,o){this._transitionEngine.removeNode(n,e,o||!1,i)}disableAnimations(n,e){this._transitionEngine.markElementAsDisabled(n,e)}process(n,e,i,o){if("@"==i.charAt(0)){const[s,r]=JE(i);this._timelineEngine.command(s,e,r,o)}else this._transitionEngine.trigger(n,e,i,o)}listen(n,e,i,o,s){if("@"==i.charAt(0)){const[r,a]=JE(i);return this._timelineEngine.listen(r,e,a,s)}return this._transitionEngine.listen(n,e,i,o,s)}flush(n=-1){this._transitionEngine.flush(n)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}let dV=(()=>{class t{constructor(e,i,o){this._element=e,this._startStyles=i,this._endStyles=o,this._state=0;let s=t.initialStylesByElement.get(e);s||t.initialStylesByElement.set(e,s={}),this._initialStyles=s}start(){this._state<1&&(this._startStyles&&yo(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(yo(this._element,this._initialStyles),this._endStyles&&(yo(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(t.initialStylesByElement.delete(this._element),this._startStyles&&(hr(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(hr(this._element,this._endStyles),this._endStyles=null),yo(this._element,this._initialStyles),this._state=3)}}return t.initialStylesByElement=new WeakMap,t})();function Q_(t){let n=null;const e=Object.keys(t);for(let i=0;in()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const n=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,n,this.options),this._finalKeyframe=n.length?n[n.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(n,e,i){return n.animate(e,i)}onStart(n){this._onStartFns.push(n)}onDone(n){this._onDoneFns.push(n)}onDestroy(n){this._onDestroyFns.push(n)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(n=>n()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(n=>n()),this._onDestroyFns=[])}setPosition(n){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=n*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const n={};if(this.hasStarted()){const e=this._finalKeyframe;Object.keys(e).forEach(i=>{"offset"!=i&&(n[i]=this._finished?e[i]:hT(this.element,i))})}this.currentSnapshot=n}triggerCallback(n){const e="start"==n?this._onStartFns:this._onDoneFns;e.forEach(i=>i()),e.length=0}}class pV{validateStyleProperty(n){return nT(n)}matchesElement(n,e){return!1}containsElement(n,e){return iT(n,e)}getParentElement(n){return O_(n)}query(n,e,i){return oT(n,e,i)}computeStyle(n,e,i){return window.getComputedStyle(n)[e]}animate(n,e,i,o,s,r=[]){const u={duration:i,delay:o,fill:0==o?"both":"forwards"};s&&(u.easing=s);const p={},f=r.filter(b=>b instanceof MT);(function _B(t,n){return 0===t||0===n})(i,o)&&f.forEach(b=>{let y=b.currentSnapshot;Object.keys(y).forEach(w=>p[w]=y[w])}),e=function vB(t,n,e){const i=Object.keys(e);if(i.length&&n.length){let s=n[0],r=[];if(i.forEach(a=>{s.hasOwnProperty(a)||r.push(a),s[a]=e[a]}),r.length)for(var o=1;oCs(b,!1)),p);const g=function uV(t,n){let e=null,i=null;return Array.isArray(n)&&n.length?(e=Q_(n[0]),n.length>1&&(i=Q_(n[n.length-1]))):n&&(e=Q_(n)),e||i?new dV(t,e,i):null}(n,e);return new MT(n,e,u,g)}}let fV=(()=>{class t extends zE{constructor(e,i){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(i.body,{id:"0",encapsulation:Pi.None,styles:[],data:{animation:[]}})}build(e){const i=this._nextAnimationId.toString();this._nextAnimationId++;const o=Array.isArray(e)?$E(e):e;return IT(this._renderer,null,i,"register",[o]),new mV(i,this._renderer)}}return t.\u0275fac=function(e){return new(e||t)(M(ya),M(ve))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();class mV extends class C7{}{constructor(n,e){super(),this._id=n,this._renderer=e}create(n,e){return new gV(this._id,n,e||{},this._renderer)}}class gV{constructor(n,e,i,o){this.id=n,this.element=e,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",i)}_listen(n,e){return this._renderer.listen(this.element,`@@${this.id}:${n}`,e)}_command(n,...e){return IT(this._renderer,this.element,this.id,n,e)}onDone(n){this._listen("done",n)}onStart(n){this._listen("start",n)}onDestroy(n){this._listen("destroy",n)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(n){this._command("setPosition",n)}getPosition(){var n,e;return null!==(e=null===(n=this._renderer.engine.players[+this.id])||void 0===n?void 0:n.getPosition())&&void 0!==e?e:0}}function IT(t,n,e,i,o){return t.setProperty(n,`@@${e}:${i}`,o)}const AT="@.disabled";let _V=(()=>{class t{constructor(e,i,o){this.delegate=e,this.engine=i,this._zone=o,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),i.onRemovalComplete=(s,r)=>{const a=null==r?void 0:r.parentNode(s);a&&r.removeChild(a,s)}}createRenderer(e,i){const s=this.delegate.createRenderer(e,i);if(!(e&&i&&i.data&&i.data.animation)){let f=this._rendererCache.get(s);return f||(f=new xT("",s,this.engine),this._rendererCache.set(s,f)),f}const r=i.id,a=i.id+"-"+this._currentId;this._currentId++,this.engine.register(a,e);const u=f=>{Array.isArray(f)?f.forEach(u):this.engine.registerTrigger(r,a,e,f.name,f)};return i.data.animation.forEach(u),new vV(this,a,s,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,i,o){e>=0&&ei(o)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(s=>{const[r,a]=s;r(a)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([i,o]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return t.\u0275fac=function(e){return new(e||t)(M(ya),M(Sh),M(se))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();class xT{constructor(n,e,i){this.namespaceId=n,this.delegate=e,this.engine=i,this.destroyNode=this.delegate.destroyNode?o=>e.destroyNode(o):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(n,e){return this.delegate.createElement(n,e)}createComment(n){return this.delegate.createComment(n)}createText(n){return this.delegate.createText(n)}appendChild(n,e){this.delegate.appendChild(n,e),this.engine.onInsert(this.namespaceId,e,n,!1)}insertBefore(n,e,i,o=!0){this.delegate.insertBefore(n,e,i),this.engine.onInsert(this.namespaceId,e,n,o)}removeChild(n,e,i){this.engine.onRemove(this.namespaceId,e,this.delegate,i)}selectRootElement(n,e){return this.delegate.selectRootElement(n,e)}parentNode(n){return this.delegate.parentNode(n)}nextSibling(n){return this.delegate.nextSibling(n)}setAttribute(n,e,i,o){this.delegate.setAttribute(n,e,i,o)}removeAttribute(n,e,i){this.delegate.removeAttribute(n,e,i)}addClass(n,e){this.delegate.addClass(n,e)}removeClass(n,e){this.delegate.removeClass(n,e)}setStyle(n,e,i,o){this.delegate.setStyle(n,e,i,o)}removeStyle(n,e,i){this.delegate.removeStyle(n,e,i)}setProperty(n,e,i){"@"==e.charAt(0)&&e==AT?this.disableAnimations(n,!!i):this.delegate.setProperty(n,e,i)}setValue(n,e){this.delegate.setValue(n,e)}listen(n,e,i){return this.delegate.listen(n,e,i)}disableAnimations(n,e){this.engine.disableAnimations(n,e)}}class vV extends xT{constructor(n,e,i,o){super(e,i,o),this.factory=n,this.namespaceId=e}setProperty(n,e,i){"@"==e.charAt(0)?"."==e.charAt(1)&&e==AT?this.disableAnimations(n,i=void 0===i||!!i):this.engine.process(this.namespaceId,n,e.substr(1),i):this.delegate.setProperty(n,e,i)}listen(n,e,i){if("@"==e.charAt(0)){const o=function bV(t){switch(t){case"body":return document.body;case"document":return document;case"window":return window;default:return t}}(n);let s=e.substr(1),r="";return"@"!=s.charAt(0)&&([s,r]=function yV(t){const n=t.indexOf(".");return[t.substring(0,n),t.substr(n+1)]}(s)),this.engine.listen(this.namespaceId,o,s,r,a=>{this.factory.scheduleListenerCallback(a._data||-1,i,a)})}return this.delegate.listen(n,e,i)}}let CV=(()=>{class t extends Sh{constructor(e,i,o){super(e.body,i,o)}ngOnDestroy(){this.flush()}}return t.\u0275fac=function(e){return new(e||t)(M(ve),M(N_),M(G_))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const On=new j("AnimationModuleType"),OT=[{provide:zE,useClass:fV},{provide:G_,useFactory:function wV(){return new jB}},{provide:Sh,useClass:CV},{provide:ya,useFactory:function DV(t,n,e){return new _V(t,n,e)},deps:[Dd,Sh,se]}],NT=[{provide:N_,useFactory:()=>new pV},{provide:On,useValue:"BrowserAnimations"},...OT],EV=[{provide:N_,useClass:sT},{provide:On,useValue:"NoopAnimations"},...OT];let TV=(()=>{class t{static withConfig(e){return{ngModule:t,providers:e.disableAnimations?EV:NT}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({providers:NT,imports:[Jw]}),t})();function SV(t,n){if(1&t&&h(0,"mat-pseudo-checkbox",4),2&t){const e=I();v("state",e.selected?"checked":"unchecked")("disabled",e.disabled)}}function MV(t,n){if(1&t&&(l(0,"span",5),d(1),c()),2&t){const e=I();m(1),U("(",e.group.label,")")}}const IV=["*"],xV=new j("mat-sanity-checks",{providedIn:"root",factory:function AV(){return!0}});let _t=(()=>{class t{constructor(e,i,o){this._sanityChecks=i,this._document=o,this._hasDoneGlobalChecks=!1,e._applyBodyHighContrastModeCssClasses(),this._hasDoneGlobalChecks||(this._hasDoneGlobalChecks=!0)}_checkIsEnabled(e){return!d_()&&("boolean"==typeof this._sanityChecks?this._sanityChecks:!!this._sanityChecks[e])}}return t.\u0275fac=function(e){return new(e||t)(M(jE),M(xV,8),M(ve))},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[fc],fc]}),t})();function fr(t){return class extends t{constructor(...n){super(...n),this._disabled=!1}get disabled(){return this._disabled}set disabled(n){this._disabled=ot(n)}}}function _c(t,n){return class extends t{constructor(...e){super(...e),this.defaultColor=n,this.color=n}get color(){return this._color}set color(e){const i=e||this.defaultColor;i!==this._color&&(this._color&&this._elementRef.nativeElement.classList.remove(`mat-${this._color}`),i&&this._elementRef.nativeElement.classList.add(`mat-${i}`),this._color=i)}}}function vc(t){return class extends t{constructor(...n){super(...n),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(n){this._disableRipple=ot(n)}}}function RT(t,n=0){return class extends t{constructor(...e){super(...e),this._tabIndex=n,this.defaultTabIndex=n}get tabIndex(){return this.disabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=null!=e?Mi(e):this.defaultTabIndex}}}function FT(t){return class extends t{constructor(...n){super(...n),this.stateChanges=new $,this.errorState=!1}updateErrorState(){const n=this.errorState,s=(this.errorStateMatcher||this._defaultErrorStateMatcher).isErrorState(this.ngControl?this.ngControl.control:null,this._parentFormGroup||this._parentForm);s!==n&&(this.errorState=s,this.stateChanges.next())}}}function OV(t){return class extends t{constructor(...n){super(...n),this._isInitialized=!1,this._pendingSubscribers=[],this.initialized=new Qe(e=>{this._isInitialized?this._notifySubscriber(e):this._pendingSubscribers.push(e)})}_markInitialized(){this._isInitialized=!0,this._pendingSubscribers.forEach(this._notifySubscriber),this._pendingSubscribers=null}_notifySubscriber(n){n.next(),n.complete()}}}let K_=(()=>{class t{isErrorState(e,i){return!!(e&&e.invalid&&(e.touched||i&&i.submitted))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class kV{constructor(n,e,i){this._renderer=n,this.element=e,this.config=i,this.state=3}fadeOut(){this._renderer.fadeOutRipple(this)}}const PT={enterDuration:225,exitDuration:150},Z_=rr({passive:!0}),LT=["mousedown","touchstart"],BT=["mouseup","mouseleave","touchend","touchcancel"];class FV{constructor(n,e,i,o){this._target=n,this._ngZone=e,this._isPointerDown=!1,this._activeRipples=new Set,this._pointerUpEventsRegistered=!1,o.isBrowser&&(this._containerElement=qo(i))}fadeInRipple(n,e,i={}){const o=this._containerRect=this._containerRect||this._containerElement.getBoundingClientRect(),s=Object.assign(Object.assign({},PT),i.animation);i.centered&&(n=o.left+o.width/2,e=o.top+o.height/2);const r=i.radius||function LV(t,n,e){const i=Math.max(Math.abs(t-e.left),Math.abs(t-e.right)),o=Math.max(Math.abs(n-e.top),Math.abs(n-e.bottom));return Math.sqrt(i*i+o*o)}(n,e,o),a=n-o.left,u=e-o.top,p=s.enterDuration,f=document.createElement("div");f.classList.add("mat-ripple-element"),f.style.left=a-r+"px",f.style.top=u-r+"px",f.style.height=2*r+"px",f.style.width=2*r+"px",null!=i.color&&(f.style.backgroundColor=i.color),f.style.transitionDuration=`${p}ms`,this._containerElement.appendChild(f),function PV(t){window.getComputedStyle(t).getPropertyValue("opacity")}(f),f.style.transform="scale(1)";const g=new kV(this,f,i);return g.state=0,this._activeRipples.add(g),i.persistent||(this._mostRecentTransientRipple=g),this._runTimeoutOutsideZone(()=>{const b=g===this._mostRecentTransientRipple;g.state=1,!i.persistent&&(!b||!this._isPointerDown)&&g.fadeOut()},p),g}fadeOutRipple(n){const e=this._activeRipples.delete(n);if(n===this._mostRecentTransientRipple&&(this._mostRecentTransientRipple=null),this._activeRipples.size||(this._containerRect=null),!e)return;const i=n.element,o=Object.assign(Object.assign({},PT),n.config.animation);i.style.transitionDuration=`${o.exitDuration}ms`,i.style.opacity="0",n.state=2,this._runTimeoutOutsideZone(()=>{n.state=3,i.remove()},o.exitDuration)}fadeOutAll(){this._activeRipples.forEach(n=>n.fadeOut())}fadeOutAllNonPersistent(){this._activeRipples.forEach(n=>{n.config.persistent||n.fadeOut()})}setupTriggerEvents(n){const e=qo(n);!e||e===this._triggerElement||(this._removeTriggerEvents(),this._triggerElement=e,this._registerEvents(LT))}handleEvent(n){"mousedown"===n.type?this._onMousedown(n):"touchstart"===n.type?this._onTouchStart(n):this._onPointerUp(),this._pointerUpEventsRegistered||(this._registerEvents(BT),this._pointerUpEventsRegistered=!0)}_onMousedown(n){const e=g_(n),i=this._lastTouchStartEvent&&Date.now(){!n.config.persistent&&(1===n.state||n.config.terminateOnPointerUp&&0===n.state)&&n.fadeOut()}))}_runTimeoutOutsideZone(n,e=0){this._ngZone.runOutsideAngular(()=>setTimeout(n,e))}_registerEvents(n){this._ngZone.runOutsideAngular(()=>{n.forEach(e=>{this._triggerElement.addEventListener(e,this,Z_)})})}_removeTriggerEvents(){this._triggerElement&&(LT.forEach(n=>{this._triggerElement.removeEventListener(n,this,Z_)}),this._pointerUpEventsRegistered&&BT.forEach(n=>{this._triggerElement.removeEventListener(n,this,Z_)}))}}const BV=new j("mat-ripple-global-options");let mr=(()=>{class t{constructor(e,i,o,s,r){this._elementRef=e,this._animationMode=r,this.radius=0,this._disabled=!1,this._isInitialized=!1,this._globalOptions=s||{},this._rippleRenderer=new FV(this,i,e,o)}get disabled(){return this._disabled}set disabled(e){e&&this.fadeOutAllNonPersistent(),this._disabled=e,this._setupTriggerEventsIfEnabled()}get trigger(){return this._trigger||this._elementRef.nativeElement}set trigger(e){this._trigger=e,this._setupTriggerEventsIfEnabled()}ngOnInit(){this._isInitialized=!0,this._setupTriggerEventsIfEnabled()}ngOnDestroy(){this._rippleRenderer._removeTriggerEvents()}fadeOutAll(){this._rippleRenderer.fadeOutAll()}fadeOutAllNonPersistent(){this._rippleRenderer.fadeOutAllNonPersistent()}get rippleConfig(){return{centered:this.centered,radius:this.radius,color:this.color,animation:Object.assign(Object.assign(Object.assign({},this._globalOptions.animation),"NoopAnimations"===this._animationMode?{enterDuration:0,exitDuration:0}:{}),this.animation),terminateOnPointerUp:this._globalOptions.terminateOnPointerUp}}get rippleDisabled(){return this.disabled||!!this._globalOptions.disabled}_setupTriggerEventsIfEnabled(){!this.disabled&&this._isInitialized&&this._rippleRenderer.setupTriggerEvents(this.trigger)}launch(e,i=0,o){return"number"==typeof e?this._rippleRenderer.fadeInRipple(e,i,Object.assign(Object.assign({},this.rippleConfig),o)):this._rippleRenderer.fadeInRipple(0,0,Object.assign(Object.assign({},this.rippleConfig),e))}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(se),_(Jt),_(BV,8),_(On,8))},t.\u0275dir=x({type:t,selectors:[["","mat-ripple",""],["","matRipple",""]],hostAttrs:[1,"mat-ripple"],hostVars:2,hostBindings:function(e,i){2&e&&oe("mat-ripple-unbounded",i.unbounded)},inputs:{color:["matRippleColor","color"],unbounded:["matRippleUnbounded","unbounded"],centered:["matRippleCentered","centered"],radius:["matRippleRadius","radius"],animation:["matRippleAnimation","animation"],disabled:["matRippleDisabled","disabled"],trigger:["matRippleTrigger","trigger"]},exportAs:["matRipple"]}),t})(),yc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[_t],_t]}),t})(),VV=(()=>{class t{constructor(e){this._animationMode=e,this.state="unchecked",this.disabled=!1}}return t.\u0275fac=function(e){return new(e||t)(_(On,8))},t.\u0275cmp=N({type:t,selectors:[["mat-pseudo-checkbox"]],hostAttrs:[1,"mat-pseudo-checkbox"],hostVars:8,hostBindings:function(e,i){2&e&&oe("mat-pseudo-checkbox-indeterminate","indeterminate"===i.state)("mat-pseudo-checkbox-checked","checked"===i.state)("mat-pseudo-checkbox-disabled",i.disabled)("_mat-animation-noopable","NoopAnimations"===i._animationMode)},inputs:{state:"state",disabled:"disabled"},decls:0,vars:0,template:function(e,i){},styles:['.mat-pseudo-checkbox{width:16px;height:16px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;flex-shrink:0;transition:border-color 90ms cubic-bezier(0, 0, 0.2, 0.1),background-color 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:"";border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 0.1)}.mat-pseudo-checkbox.mat-pseudo-checkbox-checked,.mat-pseudo-checkbox.mat-pseudo-checkbox-indeterminate{border-color:transparent}._mat-animation-noopable.mat-pseudo-checkbox{transition:none;animation:none}._mat-animation-noopable.mat-pseudo-checkbox::after{transition:none}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:5px;left:1px;width:10px;opacity:1;border-radius:2px}.mat-pseudo-checkbox-checked::after{top:2.4px;left:1px;width:8px;height:3px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1;box-sizing:content-box}\n'],encapsulation:2,changeDetection:0}),t})(),jV=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[_t]]}),t})();const VT=new j("MAT_OPTION_PARENT_COMPONENT"),jT=new j("MatOptgroup");let HV=0;class UV{constructor(n,e=!1){this.source=n,this.isUserInput=e}}let GV=(()=>{class t{constructor(e,i,o,s){this._element=e,this._changeDetectorRef=i,this._parent=o,this.group=s,this._selected=!1,this._active=!1,this._disabled=!1,this._mostRecentViewValue="",this.id="mat-option-"+HV++,this.onSelectionChange=new H,this._stateChanges=new $}get multiple(){return this._parent&&this._parent.multiple}get selected(){return this._selected}get disabled(){return this.group&&this.group.disabled||this._disabled}set disabled(e){this._disabled=ot(e)}get disableRipple(){return!(!this._parent||!this._parent.disableRipple)}get active(){return this._active}get viewValue(){return(this._getHostElement().textContent||"").trim()}select(){this._selected||(this._selected=!0,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}deselect(){this._selected&&(this._selected=!1,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent())}focus(e,i){const o=this._getHostElement();"function"==typeof o.focus&&o.focus(i)}setActiveStyles(){this._active||(this._active=!0,this._changeDetectorRef.markForCheck())}setInactiveStyles(){this._active&&(this._active=!1,this._changeDetectorRef.markForCheck())}getLabel(){return this.viewValue}_handleKeydown(e){(13===e.keyCode||32===e.keyCode)&&!zo(e)&&(this._selectViaInteraction(),e.preventDefault())}_selectViaInteraction(){this.disabled||(this._selected=!this.multiple||!this._selected,this._changeDetectorRef.markForCheck(),this._emitSelectionChangeEvent(!0))}_getAriaSelected(){return this.selected||!this.multiple&&null}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._element.nativeElement}ngAfterViewChecked(){if(this._selected){const e=this.viewValue;e!==this._mostRecentViewValue&&(this._mostRecentViewValue=e,this._stateChanges.next())}}ngOnDestroy(){this._stateChanges.complete()}_emitSelectionChangeEvent(e=!1){this.onSelectionChange.emit(new UV(this,e))}}return t.\u0275fac=function(e){zs()},t.\u0275dir=x({type:t,inputs:{value:"value",id:"id",disabled:"disabled"},outputs:{onSelectionChange:"onSelectionChange"}}),t})(),Co=(()=>{class t extends GV{constructor(e,i,o,s){super(e,i,o,s)}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(Ke),_(VT,8),_(jT,8))},t.\u0275cmp=N({type:t,selectors:[["mat-option"]],hostAttrs:["role","option",1,"mat-option","mat-focus-indicator"],hostVars:12,hostBindings:function(e,i){1&e&&D("click",function(){return i._selectViaInteraction()})("keydown",function(s){return i._handleKeydown(s)}),2&e&&(Di("id",i.id),ae("tabindex",i._getTabIndex())("aria-selected",i._getAriaSelected())("aria-disabled",i.disabled.toString()),oe("mat-selected",i.selected)("mat-option-multiple",i.multiple)("mat-active",i.active)("mat-option-disabled",i.disabled))},exportAs:["matOption"],features:[G],ngContentSelectors:IV,decls:5,vars:4,consts:[["class","mat-option-pseudo-checkbox",3,"state","disabled",4,"ngIf"],[1,"mat-option-text"],["class","cdk-visually-hidden",4,"ngIf"],["mat-ripple","",1,"mat-option-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-option-pseudo-checkbox",3,"state","disabled"],[1,"cdk-visually-hidden"]],template:function(e,i){1&e&&(rn(),C(0,SV,1,2,"mat-pseudo-checkbox",0),l(1,"span",1),nt(2),c(),C(3,MV,2,1,"span",2),h(4,"div",3)),2&e&&(v("ngIf",i.multiple),m(3),v("ngIf",i.group&&i.group._inert),m(1),v("matRippleTrigger",i._getHostElement())("matRippleDisabled",i.disabled||i.disableRipple))},directives:[VV,Ye,mr],styles:[".mat-option{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative;cursor:pointer;outline:none;display:flex;flex-direction:row;max-width:100%;box-sizing:border-box;align-items:center;-webkit-tap-highlight-color:transparent}.mat-option[disabled]{cursor:default}[dir=rtl] .mat-option{text-align:right}.mat-option .mat-icon{margin-right:16px;vertical-align:middle}.mat-option .mat-icon svg{vertical-align:top}[dir=rtl] .mat-option .mat-icon{margin-left:16px;margin-right:0}.mat-option[aria-disabled=true]{-webkit-user-select:none;user-select:none;cursor:default}.mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:32px}[dir=rtl] .mat-optgroup .mat-option:not(.mat-option-multiple){padding-left:16px;padding-right:32px}.cdk-high-contrast-active .mat-option{margin:0 1px}.cdk-high-contrast-active .mat-option.mat-active{border:solid 1px currentColor;margin:0}.cdk-high-contrast-active .mat-option[aria-disabled=true]{opacity:.5}.mat-option-text{display:inline-block;flex-grow:1;overflow:hidden;text-overflow:ellipsis}.mat-option .mat-option-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-option-pseudo-checkbox{margin-right:8px}[dir=rtl] .mat-option-pseudo-checkbox{margin-left:8px;margin-right:0}\n"],encapsulation:2,changeDetection:0}),t})();function HT(t,n,e){if(e.length){let i=n.toArray(),o=e.toArray(),s=0;for(let r=0;r{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[yc,it,_t,jV]]}),t})();const qV=["addListener","removeListener"],$V=["addEventListener","removeEventListener"],WV=["on","off"];function Mt(t,n,e,i){if(Ge(e)&&(i=e,e=void 0),i)return Mt(t,n,e).pipe(Fg(i));const[o,s]=function KV(t){return Ge(t.addEventListener)&&Ge(t.removeEventListener)}(t)?$V.map(r=>a=>t[r](n,a,e)):function YV(t){return Ge(t.addListener)&&Ge(t.removeListener)}(t)?qV.map(GT(t,n)):function QV(t){return Ge(t.on)&&Ge(t.off)}(t)?WV.map(GT(t,n)):[];if(!o&&Rp(t))return Wt(r=>Mt(r,n,e))(vn(t));if(!o)throw new TypeError("Invalid event target");return new Qe(r=>{const a=(...u)=>r.next(1s(a)})}function GT(t,n){return e=>i=>t[e](n,i)}const Cc={schedule(t){let n=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:i}=Cc;i&&(n=i.requestAnimationFrame,e=i.cancelAnimationFrame);const o=n(s=>{e=void 0,t(s)});return new Je(()=>null==e?void 0:e(o))},requestAnimationFrame(...t){const{delegate:n}=Cc;return((null==n?void 0:n.requestAnimationFrame)||requestAnimationFrame)(...t)},cancelAnimationFrame(...t){const{delegate:n}=Cc;return((null==n?void 0:n.cancelAnimationFrame)||cancelAnimationFrame)(...t)},delegate:void 0},zT=new class JV extends p_{flush(n){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:i}=this;let o;n=n||i.shift();do{if(o=n.execute(n.state,n.delay))break}while((n=i[0])&&n.id===e&&i.shift());if(this._active=!1,o){for(;(n=i[0])&&n.id===e&&i.shift();)n.unsubscribe();throw o}}}(class ZV extends h_{constructor(n,e){super(n,e),this.scheduler=n,this.work=e}requestAsyncId(n,e,i=0){return null!==i&&i>0?super.requestAsyncId(n,e,i):(n.actions.push(this),n._scheduled||(n._scheduled=Cc.requestAnimationFrame(()=>n.flush(void 0))))}recycleAsyncId(n,e,i=0){if(null!=i&&i>0||null==i&&this.delay>0)return super.recycleAsyncId(n,e,i);n.actions.some(o=>o.id===e)||(Cc.cancelAnimationFrame(e),n._scheduled=void 0)}});function J_(t,n=Kd){return function XV(t){return Et((n,e)=>{let i=!1,o=null,s=null,r=!1;const a=()=>{if(null==s||s.unsubscribe(),s=null,i){i=!1;const p=o;o=null,e.next(p)}r&&e.complete()},u=()=>{s=null,r&&e.complete()};n.subscribe(rt(e,p=>{i=!0,o=p,s||vn(t(p)).subscribe(s=rt(e,a,u))},()=>{r=!0,(!i||!s||s.closed)&&e.complete()}))})}(()=>uc(t,n))}let qT=(()=>{class t{constructor(e,i,o){this._ngZone=e,this._platform=i,this._scrolled=new $,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=o}register(e){this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe(()=>this._scrolled.next(e)))}deregister(e){const i=this.scrollContainers.get(e);i&&(i.unsubscribe(),this.scrollContainers.delete(e))}scrolled(e=20){return this._platform.isBrowser?new Qe(i=>{this._globalSubscription||this._addGlobalListener();const o=e>0?this._scrolled.pipe(J_(e)).subscribe(i):this._scrolled.subscribe(i);return this._scrolledCount++,()=>{o.unsubscribe(),this._scrolledCount--,this._scrolledCount||this._removeGlobalListener()}}):ne()}ngOnDestroy(){this._removeGlobalListener(),this.scrollContainers.forEach((e,i)=>this.deregister(i)),this._scrolled.complete()}ancestorScrolled(e,i){const o=this.getAncestorScrollContainers(e);return this.scrolled(i).pipe(ut(s=>!s||o.indexOf(s)>-1))}getAncestorScrollContainers(e){const i=[];return this.scrollContainers.forEach((o,s)=>{this._scrollableContainsElement(s,e)&&i.push(s)}),i}_getWindow(){return this._document.defaultView||window}_scrollableContainsElement(e,i){let o=qo(i),s=e.getElementRef().nativeElement;do{if(o==s)return!0}while(o=o.parentElement);return!1}_addGlobalListener(){this._globalSubscription=this._ngZone.runOutsideAngular(()=>Mt(this._getWindow().document,"scroll").subscribe(()=>this._scrolled.next()))}_removeGlobalListener(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}return t.\u0275fac=function(e){return new(e||t)(M(se),M(Jt),M(ve,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),gr=(()=>{class t{constructor(e,i,o){this._platform=e,this._change=new $,this._changeListener=s=>{this._change.next(s)},this._document=o,i.runOutsideAngular(()=>{if(e.isBrowser){const s=this._getWindow();s.addEventListener("resize",this._changeListener),s.addEventListener("orientationchange",this._changeListener)}this.change().subscribe(()=>this._viewportSize=null)})}ngOnDestroy(){if(this._platform.isBrowser){const e=this._getWindow();e.removeEventListener("resize",this._changeListener),e.removeEventListener("orientationchange",this._changeListener)}this._change.complete()}getViewportSize(){this._viewportSize||this._updateViewportSize();const e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}getViewportRect(){const e=this.getViewportScrollPosition(),{width:i,height:o}=this.getViewportSize();return{top:e.top,left:e.left,bottom:e.top+o,right:e.left+i,height:o,width:i}}getViewportScrollPosition(){if(!this._platform.isBrowser)return{top:0,left:0};const e=this._document,i=this._getWindow(),o=e.documentElement,s=o.getBoundingClientRect();return{top:-s.top||e.body.scrollTop||i.scrollY||o.scrollTop||0,left:-s.left||e.body.scrollLeft||i.scrollX||o.scrollLeft||0}}change(e=20){return e>0?this._change.pipe(J_(e)):this._change}_getWindow(){return this._document.defaultView||window}_updateViewportSize(){const e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}return t.\u0275fac=function(e){return new(e||t)(M(Jt),M(se),M(ve,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),wc=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({}),t})(),X_=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[fc,wc],fc,wc]}),t})();const $T=w9();class ij{constructor(n,e){this._viewportRuler=n,this._previousHTMLStyles={top:"",left:""},this._isEnabled=!1,this._document=e}attach(){}enable(){if(this._canBeEnabled()){const n=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=n.style.left||"",this._previousHTMLStyles.top=n.style.top||"",n.style.left=Xt(-this._previousScrollPosition.left),n.style.top=Xt(-this._previousScrollPosition.top),n.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){const n=this._document.documentElement,i=n.style,o=this._document.body.style,s=i.scrollBehavior||"",r=o.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,n.classList.remove("cdk-global-scrollblock"),$T&&(i.scrollBehavior=o.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),$T&&(i.scrollBehavior=s,o.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;const e=this._document.body,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}}class oj{constructor(n,e,i,o){this._scrollDispatcher=n,this._ngZone=e,this._viewportRuler=i,this._config=o,this._scrollSubscription=null,this._detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}}attach(n){this._overlayRef=n}enable(){if(this._scrollSubscription)return;const n=this._scrollDispatcher.scrolled(0);this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=n.subscribe(()=>{const e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=n.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}class WT{enable(){}disable(){}attach(){}}function e0(t,n){return n.some(e=>t.bottome.bottom||t.righte.right)}function YT(t,n){return n.some(e=>t.tope.bottom||t.lefte.right)}class sj{constructor(n,e,i,o){this._scrollDispatcher=n,this._viewportRuler=e,this._ngZone=i,this._config=o,this._scrollSubscription=null}attach(n){this._overlayRef=n}enable(){this._scrollSubscription||(this._scrollSubscription=this._scrollDispatcher.scrolled(this._config?this._config.scrollThrottle:0).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){const e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:o}=this._viewportRuler.getViewportSize();e0(e,[{width:i,height:o,bottom:o,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}}))}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}}let rj=(()=>{class t{constructor(e,i,o,s){this._scrollDispatcher=e,this._viewportRuler=i,this._ngZone=o,this.noop=()=>new WT,this.close=r=>new oj(this._scrollDispatcher,this._ngZone,this._viewportRuler,r),this.block=()=>new ij(this._viewportRuler,this._document),this.reposition=r=>new sj(this._scrollDispatcher,this._viewportRuler,this._ngZone,r),this._document=s}}return t.\u0275fac=function(e){return new(e||t)(M(qT),M(gr),M(se),M(ve))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class Ih{constructor(n){if(this.scrollStrategy=new WT,this.panelClass="",this.hasBackdrop=!1,this.backdropClass="cdk-overlay-dark-backdrop",this.disposeOnNavigation=!1,n){const e=Object.keys(n);for(const i of e)void 0!==n[i]&&(this[i]=n[i])}}}class aj{constructor(n,e){this.connectionPair=n,this.scrollableViewProperties=e}}class lj{constructor(n,e,i,o,s,r,a,u,p){this._portalOutlet=n,this._host=e,this._pane=i,this._config=o,this._ngZone=s,this._keyboardDispatcher=r,this._document=a,this._location=u,this._outsideClickDispatcher=p,this._backdropElement=null,this._backdropClick=new $,this._attachments=new $,this._detachments=new $,this._locationChanges=Je.EMPTY,this._backdropClickHandler=f=>this._backdropClick.next(f),this._backdropTransitionendHandler=f=>{this._disposeBackdrop(f.target)},this._keydownEvents=new $,this._outsidePointerEvents=new $,o.scrollStrategy&&(this._scrollStrategy=o.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=o.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropElement}get hostElement(){return this._host}attach(n){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);const e=this._portalOutlet.attach(n);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._ngZone.onStable.pipe(ze(1)).subscribe(()=>{this.hasAttached()&&this.updatePosition()}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();const n=this._portalOutlet.detach();return this._detachments.next(),this._keyboardDispatcher.remove(this),this._detachContentWhenStable(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),n}dispose(){var n;const e=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._disposeBackdrop(this._backdropElement),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),null===(n=this._host)||void 0===n||n.remove(),this._previousHostParent=this._pane=this._host=null,e&&this._detachments.next(),this._detachments.complete()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(n){n!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=n,this.hasAttached()&&(n.attach(this),this.updatePosition()))}updateSize(n){this._config=Object.assign(Object.assign({},this._config),n),this._updateElementSize()}setDirection(n){this._config=Object.assign(Object.assign({},this._config),{direction:n}),this._updateElementDirection()}addPanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!0)}removePanelClass(n){this._pane&&this._toggleClasses(this._pane,n,!1)}getDirection(){const n=this._config.direction;return n?"string"==typeof n?n:n.value:"ltr"}updateScrollStrategy(n){n!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=n,this.hasAttached()&&(n.attach(this),n.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;const n=this._pane.style;n.width=Xt(this._config.width),n.height=Xt(this._config.height),n.minWidth=Xt(this._config.minWidth),n.minHeight=Xt(this._config.minHeight),n.maxWidth=Xt(this._config.maxWidth),n.maxHeight=Xt(this._config.maxHeight)}_togglePointerEvents(n){this._pane.style.pointerEvents=n?"":"none"}_attachBackdrop(){const n="cdk-overlay-backdrop-showing";this._backdropElement=this._document.createElement("div"),this._backdropElement.classList.add("cdk-overlay-backdrop"),this._config.backdropClass&&this._toggleClasses(this._backdropElement,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropElement,this._host),this._backdropElement.addEventListener("click",this._backdropClickHandler),"undefined"!=typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{this._backdropElement&&this._backdropElement.classList.add(n)})}):this._backdropElement.classList.add(n)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){const n=this._backdropElement;!n||(n.classList.remove("cdk-overlay-backdrop-showing"),this._ngZone.runOutsideAngular(()=>{n.addEventListener("transitionend",this._backdropTransitionendHandler)}),n.style.pointerEvents="none",this._backdropTimeout=this._ngZone.runOutsideAngular(()=>setTimeout(()=>{this._disposeBackdrop(n)},500)))}_toggleClasses(n,e,i){const o=Xd(e||[]).filter(s=>!!s);o.length&&(i?n.classList.add(...o):n.classList.remove(...o))}_detachContentWhenStable(){this._ngZone.runOutsideAngular(()=>{const n=this._ngZone.onStable.pipe(ie(bn(this._attachments,this._detachments))).subscribe(()=>{(!this._pane||!this._host||0===this._pane.children.length)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),n.unsubscribe())})})}_disposeScrollStrategy(){const n=this._scrollStrategy;n&&(n.disable(),n.detach&&n.detach())}_disposeBackdrop(n){n&&(n.removeEventListener("click",this._backdropClickHandler),n.removeEventListener("transitionend",this._backdropTransitionendHandler),n.remove(),this._backdropElement===n&&(this._backdropElement=null)),this._backdropTimeout&&(clearTimeout(this._backdropTimeout),this._backdropTimeout=void 0)}}let t0=(()=>{class t{constructor(e,i){this._platform=i,this._document=e}ngOnDestroy(){var e;null===(e=this._containerElement)||void 0===e||e.remove()}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e="cdk-overlay-container";if(this._platform.isBrowser||d_()){const o=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let s=0;s{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition)return void this.reapplyLastPosition();this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const n=this._originRect,e=this._overlayRect,i=this._viewportRect,o=this._containerRect,s=[];let r;for(let a of this._preferredPositions){let u=this._getOriginPoint(n,o,a),p=this._getOverlayPoint(u,e,a),f=this._getOverlayFit(p,e,i,a);if(f.isCompletelyWithinViewport)return this._isPushed=!1,void this._applyPosition(a,u);this._canFitWithFlexibleDimensions(f,p,i)?s.push({position:a,origin:u,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(u,a)}):(!r||r.overlayFit.visibleAreau&&(u=f,a=p)}return this._isPushed=!1,void this._applyPosition(a.position,a.origin)}if(this._canPush)return this._isPushed=!0,void this._applyPosition(r.position,r.originPoint);this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&_r(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(QT),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;const n=this._lastPosition;if(n){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();const e=this._getOriginPoint(this._originRect,this._containerRect,n);this._applyPosition(n,e)}else this.apply()}withScrollableContainers(n){return this._scrollables=n,this}withPositions(n){return this._preferredPositions=n,-1===n.indexOf(this._lastPosition)&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(n){return this._viewportMargin=n,this}withFlexibleDimensions(n=!0){return this._hasFlexibleDimensions=n,this}withGrowAfterOpen(n=!0){return this._growAfterOpen=n,this}withPush(n=!0){return this._canPush=n,this}withLockedPosition(n=!0){return this._positionLocked=n,this}setOrigin(n){return this._origin=n,this}withDefaultOffsetX(n){return this._offsetX=n,this}withDefaultOffsetY(n){return this._offsetY=n,this}withTransformOriginOn(n){return this._transformOriginSelector=n,this}_getOriginPoint(n,e,i){let o,s;if("center"==i.originX)o=n.left+n.width/2;else{const r=this._isRtl()?n.right:n.left,a=this._isRtl()?n.left:n.right;o="start"==i.originX?r:a}return e.left<0&&(o-=e.left),s="center"==i.originY?n.top+n.height/2:"top"==i.originY?n.top:n.bottom,e.top<0&&(s-=e.top),{x:o,y:s}}_getOverlayPoint(n,e,i){let o,s;return o="center"==i.overlayX?-e.width/2:"start"===i.overlayX?this._isRtl()?-e.width:0:this._isRtl()?0:-e.width,s="center"==i.overlayY?-e.height/2:"top"==i.overlayY?0:-e.height,{x:n.x+o,y:n.y+s}}_getOverlayFit(n,e,i,o){const s=ZT(e);let{x:r,y:a}=n,u=this._getOffset(o,"x"),p=this._getOffset(o,"y");u&&(r+=u),p&&(a+=p);let b=0-a,y=a+s.height-i.height,w=this._subtractOverflows(s.width,0-r,r+s.width-i.width),E=this._subtractOverflows(s.height,b,y),S=w*E;return{visibleArea:S,isCompletelyWithinViewport:s.width*s.height===S,fitsInViewportVertically:E===s.height,fitsInViewportHorizontally:w==s.width}}_canFitWithFlexibleDimensions(n,e,i){if(this._hasFlexibleDimensions){const o=i.bottom-e.y,s=i.right-e.x,r=KT(this._overlayRef.getConfig().minHeight),a=KT(this._overlayRef.getConfig().minWidth),p=n.fitsInViewportHorizontally||null!=a&&a<=s;return(n.fitsInViewportVertically||null!=r&&r<=o)&&p}return!1}_pushOverlayOnScreen(n,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:n.x+this._previousPushAmount.x,y:n.y+this._previousPushAmount.y};const o=ZT(e),s=this._viewportRect,r=Math.max(n.x+o.width-s.width,0),a=Math.max(n.y+o.height-s.height,0),u=Math.max(s.top-i.top-n.y,0),p=Math.max(s.left-i.left-n.x,0);let f=0,g=0;return f=o.width<=s.width?p||-r:n.xw&&!this._isInitialRender&&!this._growAfterOpen&&(r=n.y-w/2)}if("end"===e.overlayX&&!o||"start"===e.overlayX&&o)b=i.width-n.x+this._viewportMargin,f=n.x-this._viewportMargin;else if("start"===e.overlayX&&!o||"end"===e.overlayX&&o)g=n.x,f=i.right-n.x;else{const y=Math.min(i.right-n.x+i.left,n.x),w=this._lastBoundingBoxSize.width;f=2*y,g=n.x-y,f>w&&!this._isInitialRender&&!this._growAfterOpen&&(g=n.x-w/2)}return{top:r,left:g,bottom:a,right:b,width:f,height:s}}_setBoundingBoxStyles(n,e){const i=this._calculateBoundingBoxRect(n,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));const o={};if(this._hasExactPosition())o.top=o.left="0",o.bottom=o.right=o.maxHeight=o.maxWidth="",o.width=o.height="100%";else{const s=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;o.height=Xt(i.height),o.top=Xt(i.top),o.bottom=Xt(i.bottom),o.width=Xt(i.width),o.left=Xt(i.left),o.right=Xt(i.right),o.alignItems="center"===e.overlayX?"center":"end"===e.overlayX?"flex-end":"flex-start",o.justifyContent="center"===e.overlayY?"center":"bottom"===e.overlayY?"flex-end":"flex-start",s&&(o.maxHeight=Xt(s)),r&&(o.maxWidth=Xt(r))}this._lastBoundingBoxSize=i,_r(this._boundingBox.style,o)}_resetBoundingBoxStyles(){_r(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){_r(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(n,e){const i={},o=this._hasExactPosition(),s=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(o){const f=this._viewportRuler.getViewportScrollPosition();_r(i,this._getExactOverlayY(e,n,f)),_r(i,this._getExactOverlayX(e,n,f))}else i.position="static";let a="",u=this._getOffset(e,"x"),p=this._getOffset(e,"y");u&&(a+=`translateX(${u}px) `),p&&(a+=`translateY(${p}px)`),i.transform=a.trim(),r.maxHeight&&(o?i.maxHeight=Xt(r.maxHeight):s&&(i.maxHeight="")),r.maxWidth&&(o?i.maxWidth=Xt(r.maxWidth):s&&(i.maxWidth="")),_r(this._pane.style,i)}_getExactOverlayY(n,e,i){let o={top:"",bottom:""},s=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),"bottom"===n.overlayY?o.bottom=this._document.documentElement.clientHeight-(s.y+this._overlayRect.height)+"px":o.top=Xt(s.y),o}_getExactOverlayX(n,e,i){let r,o={left:"",right:""},s=this._getOverlayPoint(e,this._overlayRect,n);return this._isPushed&&(s=this._pushOverlayOnScreen(s,this._overlayRect,i)),r=this._isRtl()?"end"===n.overlayX?"left":"right":"end"===n.overlayX?"right":"left","right"===r?o.right=this._document.documentElement.clientWidth-(s.x+this._overlayRect.width)+"px":o.left=Xt(s.x),o}_getScrollVisibility(){const n=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(o=>o.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:YT(n,i),isOriginOutsideView:e0(n,i),isOverlayClipped:YT(e,i),isOverlayOutsideView:e0(e,i)}}_subtractOverflows(n,...e){return e.reduce((i,o)=>i-Math.max(o,0),n)}_getNarrowedViewportRect(){const n=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+n-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:n-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return"rtl"===this._overlayRef.getDirection()}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(n,e){return"x"===e?null==n.offsetX?this._offsetX:n.offsetX:null==n.offsetY?this._offsetY:n.offsetY}_validatePositions(){}_addPanelClasses(n){this._pane&&Xd(n).forEach(e=>{""!==e&&-1===this._appliedPanelClasses.indexOf(e)&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(n=>{this._pane.classList.remove(n)}),this._appliedPanelClasses=[])}_getOriginRect(){const n=this._origin;if(n instanceof K)return n.nativeElement.getBoundingClientRect();if(n instanceof Element)return n.getBoundingClientRect();const e=n.width||0,i=n.height||0;return{top:n.y,bottom:n.y+i,left:n.x,right:n.x+e,height:i,width:e}}}function _r(t,n){for(let e in n)n.hasOwnProperty(e)&&(t[e]=n[e]);return t}function KT(t){if("number"!=typeof t&&null!=t){const[n,e]=t.split(cj);return e&&"px"!==e?null:parseFloat(n)}return t||null}function ZT(t){return{top:Math.floor(t.top),right:Math.floor(t.right),bottom:Math.floor(t.bottom),left:Math.floor(t.left),width:Math.floor(t.width),height:Math.floor(t.height)}}const JT="cdk-global-overlay-wrapper";class dj{constructor(){this._cssPosition="static",this._topOffset="",this._bottomOffset="",this._leftOffset="",this._rightOffset="",this._alignItems="",this._justifyContent="",this._width="",this._height=""}attach(n){const e=n.getConfig();this._overlayRef=n,this._width&&!e.width&&n.updateSize({width:this._width}),this._height&&!e.height&&n.updateSize({height:this._height}),n.hostElement.classList.add(JT),this._isDisposed=!1}top(n=""){return this._bottomOffset="",this._topOffset=n,this._alignItems="flex-start",this}left(n=""){return this._rightOffset="",this._leftOffset=n,this._justifyContent="flex-start",this}bottom(n=""){return this._topOffset="",this._bottomOffset=n,this._alignItems="flex-end",this}right(n=""){return this._leftOffset="",this._rightOffset=n,this._justifyContent="flex-end",this}width(n=""){return this._overlayRef?this._overlayRef.updateSize({width:n}):this._width=n,this}height(n=""){return this._overlayRef?this._overlayRef.updateSize({height:n}):this._height=n,this}centerHorizontally(n=""){return this.left(n),this._justifyContent="center",this}centerVertically(n=""){return this.top(n),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:o,height:s,maxWidth:r,maxHeight:a}=i,u=!("100%"!==o&&"100vw"!==o||r&&"100%"!==r&&"100vw"!==r),p=!("100%"!==s&&"100vh"!==s||a&&"100%"!==a&&"100vh"!==a);n.position=this._cssPosition,n.marginLeft=u?"0":this._leftOffset,n.marginTop=p?"0":this._topOffset,n.marginBottom=this._bottomOffset,n.marginRight=this._rightOffset,u?e.justifyContent="flex-start":"center"===this._justifyContent?e.justifyContent="center":"rtl"===this._overlayRef.getConfig().direction?"flex-start"===this._justifyContent?e.justifyContent="flex-end":"flex-end"===this._justifyContent&&(e.justifyContent="flex-start"):e.justifyContent=this._justifyContent,e.alignItems=p?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;const n=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(JT),i.justifyContent=i.alignItems=n.marginTop=n.marginBottom=n.marginLeft=n.marginRight=n.position="",this._overlayRef=null,this._isDisposed=!0}}let hj=(()=>{class t{constructor(e,i,o,s){this._viewportRuler=e,this._document=i,this._platform=o,this._overlayContainer=s}global(){return new dj}flexibleConnectedTo(e){return new uj(e,this._viewportRuler,this._document,this._platform,this._overlayContainer)}}return t.\u0275fac=function(e){return new(e||t)(M(gr),M(ve),M(Jt),M(t0))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),XT=(()=>{class t{constructor(e){this._attachedOverlays=[],this._document=e}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){const i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),0===this._attachedOverlays.length&&this.detach()}}return t.\u0275fac=function(e){return new(e||t)(M(ve))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),pj=(()=>{class t extends XT{constructor(e,i){super(e),this._ngZone=i,this._keydownListener=o=>{const s=this._attachedOverlays;for(let r=s.length-1;r>-1;r--)if(s[r]._keydownEvents.observers.length>0){const a=s[r]._keydownEvents;this._ngZone?this._ngZone.run(()=>a.next(o)):a.next(o);break}}}add(e){super.add(e),this._isAttached||(this._ngZone?this._ngZone.runOutsideAngular(()=>this._document.body.addEventListener("keydown",this._keydownListener)):this._document.body.addEventListener("keydown",this._keydownListener),this._isAttached=!0)}detach(){this._isAttached&&(this._document.body.removeEventListener("keydown",this._keydownListener),this._isAttached=!1)}}return t.\u0275fac=function(e){return new(e||t)(M(ve),M(se,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),fj=(()=>{class t extends XT{constructor(e,i,o){super(e),this._platform=i,this._ngZone=o,this._cursorStyleIsSet=!1,this._pointerDownListener=s=>{this._pointerDownEventTarget=lr(s)},this._clickListener=s=>{const r=lr(s),a="click"===s.type&&this._pointerDownEventTarget?this._pointerDownEventTarget:r;this._pointerDownEventTarget=null;const u=this._attachedOverlays.slice();for(let p=u.length-1;p>-1;p--){const f=u[p];if(f._outsidePointerEvents.observers.length<1||!f.hasAttached())continue;if(f.overlayElement.contains(r)||f.overlayElement.contains(a))break;const g=f._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>g.next(s)):g.next(s)}}}add(e){if(super.add(e),!this._isAttached){const i=this._document.body;this._ngZone?this._ngZone.runOutsideAngular(()=>this._addEventListeners(i)):this._addEventListeners(i),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){if(this._isAttached){const e=this._document.body;e.removeEventListener("pointerdown",this._pointerDownListener,!0),e.removeEventListener("click",this._clickListener,!0),e.removeEventListener("auxclick",this._clickListener,!0),e.removeEventListener("contextmenu",this._clickListener,!0),this._platform.IOS&&this._cursorStyleIsSet&&(e.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1}}_addEventListeners(e){e.addEventListener("pointerdown",this._pointerDownListener,!0),e.addEventListener("click",this._clickListener,!0),e.addEventListener("auxclick",this._clickListener,!0),e.addEventListener("contextmenu",this._clickListener,!0)}}return t.\u0275fac=function(e){return new(e||t)(M(ve),M(Jt),M(se,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),mj=0,wo=(()=>{class t{constructor(e,i,o,s,r,a,u,p,f,g,b){this.scrollStrategies=e,this._overlayContainer=i,this._componentFactoryResolver=o,this._positionBuilder=s,this._keyboardDispatcher=r,this._injector=a,this._ngZone=u,this._document=p,this._directionality=f,this._location=g,this._outsideClickDispatcher=b}create(e){const i=this._createHostElement(),o=this._createPaneElement(i),s=this._createPortalOutlet(o),r=new Ih(e);return r.direction=r.direction||this._directionality.value,new lj(s,i,o,r,this._ngZone,this._keyboardDispatcher,this._document,this._location,this._outsideClickDispatcher)}position(){return this._positionBuilder}_createPaneElement(e){const i=this._document.createElement("div");return i.id="cdk-overlay-"+mj++,i.classList.add("cdk-overlay-pane"),e.appendChild(i),i}_createHostElement(){const e=this._document.createElement("div");return this._overlayContainer.getContainerElement().appendChild(e),e}_createPortalOutlet(e){return this._appRef||(this._appRef=this._injector.get(Ks)),new E7(e,this._componentFactoryResolver,this._appRef,this._injector,this._document)}}return t.\u0275fac=function(e){return new(e||t)(M(rj),M(t0),M(po),M(hj),M(pj),M(yt),M(se),M(ve),M($n),M(Ea),M(fj))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const gj=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],eS=new j("cdk-connected-overlay-scroll-strategy");let tS=(()=>{class t{constructor(e){this.elementRef=e}}return t.\u0275fac=function(e){return new(e||t)(_(K))},t.\u0275dir=x({type:t,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]}),t})(),nS=(()=>{class t{constructor(e,i,o,s,r){this._overlay=e,this._dir=r,this._hasBackdrop=!1,this._lockPosition=!1,this._growAfterOpen=!1,this._flexibleDimensions=!1,this._push=!1,this._backdropSubscription=Je.EMPTY,this._attachSubscription=Je.EMPTY,this._detachSubscription=Je.EMPTY,this._positionSubscription=Je.EMPTY,this.viewportMargin=0,this.open=!1,this.disableClose=!1,this.backdropClick=new H,this.positionChange=new H,this.attach=new H,this.detach=new H,this.overlayKeydown=new H,this.overlayOutsideClick=new H,this._templatePortal=new hc(i,o),this._scrollStrategyFactory=s,this.scrollStrategy=this._scrollStrategyFactory()}get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=ot(e)}get lockPosition(){return this._lockPosition}set lockPosition(e){this._lockPosition=ot(e)}get flexibleDimensions(){return this._flexibleDimensions}set flexibleDimensions(e){this._flexibleDimensions=ot(e)}get growAfterOpen(){return this._growAfterOpen}set growAfterOpen(e){this._growAfterOpen=ot(e)}get push(){return this._push}set push(e){this._push=ot(e)}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef&&this._overlayRef.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this._attachOverlay():this._detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=gj);const e=this._overlayRef=this._overlay.create(this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),27===i.keyCode&&!this.disableClose&&!zo(i)&&(i.preventDefault(),this._detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{this.overlayOutsideClick.next(i)})}_buildConfig(){const e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new Ih({direction:this._dir,positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop});return(this.width||0===this.width)&&(i.width=this.width),(this.height||0===this.height)&&(i.height=this.height),(this.minWidth||0===this.minWidth)&&(i.minWidth=this.minWidth),(this.minHeight||0===this.minHeight)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){const i=this.positions.map(o=>({originX:o.originX,originY:o.originY,overlayX:o.overlayX,overlayY:o.overlayY,offsetX:o.offsetX||this.offsetX,offsetY:o.offsetY||this.offsetY,panelClass:o.panelClass||void 0}));return e.setOrigin(this._getFlexibleConnectedPositionStrategyOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){const e=this._overlay.position().flexibleConnectedTo(this._getFlexibleConnectedPositionStrategyOrigin());return this._updatePositionStrategy(e),e}_getFlexibleConnectedPositionStrategyOrigin(){return this.origin instanceof tS?this.origin.elementRef:this.origin}_attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(function nj(t,n=!1){return Et((e,i)=>{let o=0;e.subscribe(rt(i,s=>{const r=t(s,o++);(r||n)&&i.next(s),!r&&i.complete()}))})}(()=>this.positionChange.observers.length>0)).subscribe(e=>{this.positionChange.emit(e),0===this.positionChange.observers.length&&this._positionSubscription.unsubscribe()}))}_detachOverlay(){this._overlayRef&&this._overlayRef.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(_(wo),_(ce),_(Bt),_(eS),_($n,8))},t.\u0275dir=x({type:t,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:["cdkConnectedOverlayOrigin","origin"],positions:["cdkConnectedOverlayPositions","positions"],positionStrategy:["cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:["cdkConnectedOverlayOffsetX","offsetX"],offsetY:["cdkConnectedOverlayOffsetY","offsetY"],width:["cdkConnectedOverlayWidth","width"],height:["cdkConnectedOverlayHeight","height"],minWidth:["cdkConnectedOverlayMinWidth","minWidth"],minHeight:["cdkConnectedOverlayMinHeight","minHeight"],backdropClass:["cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:["cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:["cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:["cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:["cdkConnectedOverlayOpen","open"],disableClose:["cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:["cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:["cdkConnectedOverlayHasBackdrop","hasBackdrop"],lockPosition:["cdkConnectedOverlayLockPosition","lockPosition"],flexibleDimensions:["cdkConnectedOverlayFlexibleDimensions","flexibleDimensions"],growAfterOpen:["cdkConnectedOverlayGrowAfterOpen","growAfterOpen"],push:["cdkConnectedOverlayPush","push"]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[mt]}),t})();const vj={provide:eS,deps:[wo],useFactory:function _j(t){return()=>t.scrollStrategies.reposition()}};let Ah=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({providers:[wo,vj],imports:[[fc,lh,X_],X_]}),t})();const bj=["mat-menu-item",""];function yj(t,n){1&t&&(R(),l(0,"svg",2),h(1,"polygon",3),c())}const iS=["*"];function Cj(t,n){if(1&t){const e=Ae();l(0,"div",0),D("keydown",function(o){return re(e),I()._handleKeydown(o)})("click",function(){return re(e),I().closed.emit("click")})("@transformMenu.start",function(o){return re(e),I()._onAnimationStart(o)})("@transformMenu.done",function(o){return re(e),I()._onAnimationDone(o)}),l(1,"div",1),nt(2),c()()}if(2&t){const e=I();v("id",e.panelId)("ngClass",e._classList)("@transformMenu",e._panelAnimationState),ae("aria-label",e.ariaLabel||null)("aria-labelledby",e.ariaLabelledby||null)("aria-describedby",e.ariaDescribedby||null)}}const xh={transformMenu:Wi("transformMenu",[en("void",$e({opacity:0,transform:"scale(0.8)"})),_n("void => enter",En("120ms cubic-bezier(0, 0, 0.2, 1)",$e({opacity:1,transform:"scale(1)"}))),_n("* => void",En("100ms 25ms linear",$e({opacity:0})))]),fadeInItems:Wi("fadeInItems",[en("showing",$e({opacity:1})),_n("void => *",[$e({opacity:0}),En("400ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])},wj=new j("MatMenuContent"),n0=new j("MAT_MENU_PANEL"),Dj=vc(fr(class{}));let Dc=(()=>{class t extends Dj{constructor(e,i,o,s,r){var a;super(),this._elementRef=e,this._document=i,this._focusMonitor=o,this._parentMenu=s,this._changeDetectorRef=r,this.role="menuitem",this._hovered=new $,this._focused=new $,this._highlighted=!1,this._triggersSubmenu=!1,null===(a=null==s?void 0:s.addItem)||void 0===a||a.call(s,this)}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i),this._focused.next(this)}ngAfterViewInit(){this._focusMonitor&&this._focusMonitor.monitor(this._elementRef,!1)}ngOnDestroy(){this._focusMonitor&&this._focusMonitor.stopMonitoring(this._elementRef),this._parentMenu&&this._parentMenu.removeItem&&this._parentMenu.removeItem(this),this._hovered.complete(),this._focused.complete()}_getTabIndex(){return this.disabled?"-1":"0"}_getHostElement(){return this._elementRef.nativeElement}_checkDisabled(e){this.disabled&&(e.preventDefault(),e.stopPropagation())}_handleMouseEnter(){this._hovered.next(this)}getLabel(){var e;const i=this._elementRef.nativeElement.cloneNode(!0),o=i.querySelectorAll("mat-icon, .material-icons");for(let s=0;s{class t{constructor(e,i,o,s){this._elementRef=e,this._ngZone=i,this._defaultOptions=o,this._changeDetectorRef=s,this._xPosition=this._defaultOptions.xPosition,this._yPosition=this._defaultOptions.yPosition,this._directDescendantItems=new Ys,this._tabSubscription=Je.EMPTY,this._classList={},this._panelAnimationState="void",this._animationDone=new $,this.overlayPanelClass=this._defaultOptions.overlayPanelClass||"",this.backdropClass=this._defaultOptions.backdropClass,this._overlapTrigger=this._defaultOptions.overlapTrigger,this._hasBackdrop=this._defaultOptions.hasBackdrop,this.closed=new H,this.close=this.closed,this.panelId="mat-menu-panel-"+Tj++}get xPosition(){return this._xPosition}set xPosition(e){this._xPosition=e,this.setPositionClasses()}get yPosition(){return this._yPosition}set yPosition(e){this._yPosition=e,this.setPositionClasses()}get overlapTrigger(){return this._overlapTrigger}set overlapTrigger(e){this._overlapTrigger=ot(e)}get hasBackdrop(){return this._hasBackdrop}set hasBackdrop(e){this._hasBackdrop=ot(e)}set panelClass(e){const i=this._previousPanelClass;i&&i.length&&i.split(" ").forEach(o=>{this._classList[o]=!1}),this._previousPanelClass=e,e&&e.length&&(e.split(" ").forEach(o=>{this._classList[o]=!0}),this._elementRef.nativeElement.className="")}get classList(){return this.panelClass}set classList(e){this.panelClass=e}ngOnInit(){this.setPositionClasses()}ngAfterContentInit(){this._updateDirectDescendants(),this._keyManager=new kE(this._directDescendantItems).withWrap().withTypeAhead().withHomeAndEnd(),this._tabSubscription=this._keyManager.tabOut.subscribe(()=>this.closed.emit("tab")),this._directDescendantItems.changes.pipe(gn(this._directDescendantItems),qn(e=>bn(...e.map(i=>i._focused)))).subscribe(e=>this._keyManager.updateActiveItem(e)),this._directDescendantItems.changes.subscribe(e=>{var i;const o=this._keyManager;if("enter"===this._panelAnimationState&&(null===(i=o.activeItem)||void 0===i?void 0:i._hasFocus())){const s=e.toArray(),r=Math.max(0,Math.min(s.length-1,o.activeItemIndex||0));s[r]&&!s[r].disabled?o.setActiveItem(r):o.setNextItemActive()}})}ngOnDestroy(){this._directDescendantItems.destroy(),this._tabSubscription.unsubscribe(),this.closed.complete()}_hovered(){return this._directDescendantItems.changes.pipe(gn(this._directDescendantItems),qn(i=>bn(...i.map(o=>o._hovered))))}addItem(e){}removeItem(e){}_handleKeydown(e){const i=e.keyCode,o=this._keyManager;switch(i){case 27:zo(e)||(e.preventDefault(),this.closed.emit("keydown"));break;case 37:this.parentMenu&&"ltr"===this.direction&&this.closed.emit("keydown");break;case 39:this.parentMenu&&"rtl"===this.direction&&this.closed.emit("keydown");break;default:return(38===i||40===i)&&o.setFocusOrigin("keyboard"),void o.onKeydown(e)}e.stopPropagation()}focusFirstItem(e="program"){this._ngZone.onStable.pipe(ze(1)).subscribe(()=>{let i=null;if(this._directDescendantItems.length&&(i=this._directDescendantItems.first._getHostElement().closest('[role="menu"]')),!i||!i.contains(document.activeElement)){const o=this._keyManager;o.setFocusOrigin(e).setFirstItemActive(),!o.activeItem&&i&&i.focus()}})}resetActiveItem(){this._keyManager.setActiveItem(-1)}setElevation(e){const i=Math.min(this._baseElevation+e,24),o=`${this._elevationPrefix}${i}`,s=Object.keys(this._classList).find(r=>r.startsWith(this._elevationPrefix));(!s||s===this._previousElevation)&&(this._previousElevation&&(this._classList[this._previousElevation]=!1),this._classList[o]=!0,this._previousElevation=o)}setPositionClasses(e=this.xPosition,i=this.yPosition){var o;const s=this._classList;s["mat-menu-before"]="before"===e,s["mat-menu-after"]="after"===e,s["mat-menu-above"]="above"===i,s["mat-menu-below"]="below"===i,null===(o=this._changeDetectorRef)||void 0===o||o.markForCheck()}_startAnimation(){this._panelAnimationState="enter"}_resetAnimation(){this._panelAnimationState="void"}_onAnimationDone(e){this._animationDone.next(e),this._isAnimating=!1}_onAnimationStart(e){this._isAnimating=!0,"enter"===e.toState&&0===this._keyManager.activeItemIndex&&(e.element.scrollTop=0)}_updateDirectDescendants(){this._allItems.changes.pipe(gn(this._allItems)).subscribe(e=>{this._directDescendantItems.reset(e.filter(i=>i._parentMenu===this)),this._directDescendantItems.notifyOnChanges()})}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(se),_(oS),_(Ke))},t.\u0275dir=x({type:t,contentQueries:function(e,i,o){if(1&e&&(te(o,wj,5),te(o,Dc,5),te(o,Dc,4)),2&e){let s;F(s=P())&&(i.lazyContent=s.first),F(s=P())&&(i._allItems=s),F(s=P())&&(i.items=s)}},viewQuery:function(e,i){if(1&e&&me(ce,5),2&e){let o;F(o=P())&&(i.templateRef=o.first)}},inputs:{backdropClass:"backdropClass",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],xPosition:"xPosition",yPosition:"yPosition",overlapTrigger:"overlapTrigger",hasBackdrop:"hasBackdrop",panelClass:["class","panelClass"],classList:"classList"},outputs:{closed:"closed",close:"close"}}),t})(),sS=(()=>{class t extends Ec{constructor(e,i,o,s){super(e,i,o,s),this._elevationPrefix="mat-elevation-z",this._baseElevation=4}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(se),_(oS),_(Ke))},t.\u0275cmp=N({type:t,selectors:[["mat-menu"]],hostVars:3,hostBindings:function(e,i){2&e&&ae("aria-label",null)("aria-labelledby",null)("aria-describedby",null)},exportAs:["matMenu"],features:[fe([{provide:n0,useExisting:t}]),G],ngContentSelectors:iS,decls:1,vars:0,consts:[["tabindex","-1","role","menu",1,"mat-menu-panel",3,"id","ngClass","keydown","click"],[1,"mat-menu-content"]],template:function(e,i){1&e&&(rn(),C(0,Cj,3,6,"ng-template"))},directives:[er],styles:['mat-menu{display:none}.mat-menu-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh - 48px);border-radius:4px;outline:0;min-height:64px}.mat-menu-panel.ng-animating{pointer-events:none}.cdk-high-contrast-active .mat-menu-panel{outline:solid 1px}.mat-menu-content:not(:empty){padding-top:8px;padding-bottom:8px}.mat-menu-item{-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;text-align:left;text-decoration:none;max-width:100%;position:relative}.mat-menu-item::-moz-focus-inner{border:0}.mat-menu-item[disabled]{cursor:default}[dir=rtl] .mat-menu-item{text-align:right}.mat-menu-item .mat-icon{margin-right:16px;vertical-align:middle}.mat-menu-item .mat-icon svg{vertical-align:top}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px;margin-right:0}.mat-menu-item[disabled]::before{display:block;position:absolute;content:"";top:0;left:0;bottom:0;right:0}.cdk-high-contrast-active .mat-menu-item{margin-top:1px}.cdk-high-contrast-active .mat-menu-item.cdk-program-focused,.cdk-high-contrast-active .mat-menu-item.cdk-keyboard-focused,.cdk-high-contrast-active .mat-menu-item-highlighted{outline:dotted 1px}.mat-menu-item-submenu-trigger{padding-right:32px}[dir=rtl] .mat-menu-item-submenu-trigger{padding-right:16px;padding-left:32px}.mat-menu-submenu-icon{position:absolute;top:50%;right:16px;transform:translateY(-50%);width:5px;height:10px;fill:currentColor}[dir=rtl] .mat-menu-submenu-icon{right:auto;left:16px;transform:translateY(-50%) scaleX(-1)}.cdk-high-contrast-active .mat-menu-submenu-icon{fill:CanvasText}button.mat-menu-item{width:100%}.mat-menu-item .mat-menu-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}\n'],encapsulation:2,data:{animation:[xh.transformMenu,xh.fadeInItems]},changeDetection:0}),t})();const rS=new j("mat-menu-scroll-strategy"),Mj={provide:rS,deps:[wo],useFactory:function Sj(t){return()=>t.scrollStrategies.reposition()}},lS=rr({passive:!0});let Ij=(()=>{class t{constructor(e,i,o,s,r,a,u,p,f){this._overlay=e,this._element=i,this._viewContainerRef=o,this._menuItemInstance=a,this._dir=u,this._focusMonitor=p,this._ngZone=f,this._overlayRef=null,this._menuOpen=!1,this._closingActionsSubscription=Je.EMPTY,this._hoverSubscription=Je.EMPTY,this._menuCloseSubscription=Je.EMPTY,this._handleTouchStart=g=>{__(g)||(this._openedBy="touch")},this._openedBy=void 0,this.restoreFocus=!0,this.menuOpened=new H,this.onMenuOpen=this.menuOpened,this.menuClosed=new H,this.onMenuClose=this.menuClosed,this._scrollStrategy=s,this._parentMaterialMenu=r instanceof Ec?r:void 0,i.nativeElement.addEventListener("touchstart",this._handleTouchStart,lS),a&&(a._triggersSubmenu=this.triggersSubmenu())}get _deprecatedMatMenuTriggerFor(){return this.menu}set _deprecatedMatMenuTriggerFor(e){this.menu=e}get menu(){return this._menu}set menu(e){e!==this._menu&&(this._menu=e,this._menuCloseSubscription.unsubscribe(),e&&(this._menuCloseSubscription=e.close.subscribe(i=>{this._destroyMenu(i),("click"===i||"tab"===i)&&this._parentMaterialMenu&&this._parentMaterialMenu.closed.emit(i)})))}ngAfterContentInit(){this._checkMenu(),this._handleHover()}ngOnDestroy(){this._overlayRef&&(this._overlayRef.dispose(),this._overlayRef=null),this._element.nativeElement.removeEventListener("touchstart",this._handleTouchStart,lS),this._menuCloseSubscription.unsubscribe(),this._closingActionsSubscription.unsubscribe(),this._hoverSubscription.unsubscribe()}get menuOpen(){return this._menuOpen}get dir(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}triggersSubmenu(){return!(!this._menuItemInstance||!this._parentMaterialMenu)}toggleMenu(){return this._menuOpen?this.closeMenu():this.openMenu()}openMenu(){if(this._menuOpen)return;this._checkMenu();const e=this._createOverlay(),i=e.getConfig(),o=i.positionStrategy;this._setPosition(o),i.hasBackdrop=null==this.menu.hasBackdrop?!this.triggersSubmenu():this.menu.hasBackdrop,e.attach(this._getPortal()),this.menu.lazyContent&&this.menu.lazyContent.attach(this.menuData),this._closingActionsSubscription=this._menuClosingActions().subscribe(()=>this.closeMenu()),this._initMenu(),this.menu instanceof Ec&&(this.menu._startAnimation(),this.menu._directDescendantItems.changes.pipe(ie(this.menu.close)).subscribe(()=>{o.withLockedPosition(!1).reapplyLastPosition(),o.withLockedPosition(!0)}))}closeMenu(){this.menu.close.emit()}focus(e,i){this._focusMonitor&&e?this._focusMonitor.focusVia(this._element,e,i):this._element.nativeElement.focus(i)}updatePosition(){var e;null===(e=this._overlayRef)||void 0===e||e.updatePosition()}_destroyMenu(e){if(!this._overlayRef||!this.menuOpen)return;const i=this.menu;this._closingActionsSubscription.unsubscribe(),this._overlayRef.detach(),this.restoreFocus&&("keydown"===e||!this._openedBy||!this.triggersSubmenu())&&this.focus(this._openedBy),this._openedBy=void 0,i instanceof Ec?(i._resetAnimation(),i.lazyContent?i._animationDone.pipe(ut(o=>"void"===o.toState),ze(1),ie(i.lazyContent._attached)).subscribe({next:()=>i.lazyContent.detach(),complete:()=>this._setIsMenuOpen(!1)}):this._setIsMenuOpen(!1)):(this._setIsMenuOpen(!1),i.lazyContent&&i.lazyContent.detach())}_initMenu(){this.menu.parentMenu=this.triggersSubmenu()?this._parentMaterialMenu:void 0,this.menu.direction=this.dir,this._setMenuElevation(),this.menu.focusFirstItem(this._openedBy||"program"),this._setIsMenuOpen(!0)}_setMenuElevation(){if(this.menu.setElevation){let e=0,i=this.menu.parentMenu;for(;i;)e++,i=i.parentMenu;this.menu.setElevation(e)}}_setIsMenuOpen(e){this._menuOpen=e,this._menuOpen?this.menuOpened.emit():this.menuClosed.emit(),this.triggersSubmenu()&&this._menuItemInstance._setHighlighted(e)}_checkMenu(){}_createOverlay(){if(!this._overlayRef){const e=this._getOverlayConfig();this._subscribeToPositions(e.positionStrategy),this._overlayRef=this._overlay.create(e),this._overlayRef.keydownEvents().subscribe()}return this._overlayRef}_getOverlayConfig(){return new Ih({positionStrategy:this._overlay.position().flexibleConnectedTo(this._element).withLockedPosition().withGrowAfterOpen().withTransformOriginOn(".mat-menu-panel, .mat-mdc-menu-panel"),backdropClass:this.menu.backdropClass||"cdk-overlay-transparent-backdrop",panelClass:this.menu.overlayPanelClass,scrollStrategy:this._scrollStrategy(),direction:this._dir})}_subscribeToPositions(e){this.menu.setPositionClasses&&e.positionChanges.subscribe(i=>{const o="start"===i.connectionPair.overlayX?"after":"before",s="top"===i.connectionPair.overlayY?"below":"above";this._ngZone?this._ngZone.run(()=>this.menu.setPositionClasses(o,s)):this.menu.setPositionClasses(o,s)})}_setPosition(e){let[i,o]="before"===this.menu.xPosition?["end","start"]:["start","end"],[s,r]="above"===this.menu.yPosition?["bottom","top"]:["top","bottom"],[a,u]=[s,r],[p,f]=[i,o],g=0;this.triggersSubmenu()?(f=i="before"===this.menu.xPosition?"start":"end",o=p="end"===i?"start":"end",g="bottom"===s?8:-8):this.menu.overlapTrigger||(a="top"===s?"bottom":"top",u="top"===r?"bottom":"top"),e.withPositions([{originX:i,originY:a,overlayX:p,overlayY:s,offsetY:g},{originX:o,originY:a,overlayX:f,overlayY:s,offsetY:g},{originX:i,originY:u,overlayX:p,overlayY:r,offsetY:-g},{originX:o,originY:u,overlayX:f,overlayY:r,offsetY:-g}])}_menuClosingActions(){const e=this._overlayRef.backdropClick(),i=this._overlayRef.detachments();return bn(e,this._parentMaterialMenu?this._parentMaterialMenu.closed:ne(),this._parentMaterialMenu?this._parentMaterialMenu._hovered().pipe(ut(r=>r!==this._menuItemInstance),ut(()=>this._menuOpen)):ne(),i)}_handleMousedown(e){g_(e)||(this._openedBy=0===e.button?"mouse":void 0,this.triggersSubmenu()&&e.preventDefault())}_handleKeydown(e){const i=e.keyCode;(13===i||32===i)&&(this._openedBy="keyboard"),this.triggersSubmenu()&&(39===i&&"ltr"===this.dir||37===i&&"rtl"===this.dir)&&(this._openedBy="keyboard",this.openMenu())}_handleClick(e){this.triggersSubmenu()?(e.stopPropagation(),this.openMenu()):this.toggleMenu()}_handleHover(){!this.triggersSubmenu()||!this._parentMaterialMenu||(this._hoverSubscription=this._parentMaterialMenu._hovered().pipe(ut(e=>e===this._menuItemInstance&&!e.disabled),y_(0,rh)).subscribe(()=>{this._openedBy="mouse",this.menu instanceof Ec&&this.menu._isAnimating?this.menu._animationDone.pipe(ze(1),y_(0,rh),ie(this._parentMaterialMenu._hovered())).subscribe(()=>this.openMenu()):this.openMenu()}))}_getPortal(){return(!this._portal||this._portal.templateRef!==this.menu.templateRef)&&(this._portal=new hc(this.menu.templateRef,this._viewContainerRef)),this._portal}}return t.\u0275fac=function(e){return new(e||t)(_(wo),_(K),_(Bt),_(rS),_(n0,8),_(Dc,10),_($n,8),_(cr),_(se))},t.\u0275dir=x({type:t,hostAttrs:["aria-haspopup","true"],hostVars:2,hostBindings:function(e,i){1&e&&D("click",function(s){return i._handleClick(s)})("mousedown",function(s){return i._handleMousedown(s)})("keydown",function(s){return i._handleKeydown(s)}),2&e&&ae("aria-expanded",i.menuOpen||null)("aria-controls",i.menuOpen?i.menu.panelId:null)},inputs:{_deprecatedMatMenuTriggerFor:["mat-menu-trigger-for","_deprecatedMatMenuTriggerFor"],menu:["matMenuTriggerFor","menu"],menuData:["matMenuTriggerData","menuData"],restoreFocus:["matMenuTriggerRestoreFocus","restoreFocus"]},outputs:{menuOpened:"menuOpened",onMenuOpen:"onMenuOpen",menuClosed:"menuClosed",onMenuClose:"onMenuClose"}}),t})(),cS=(()=>{class t extends Ij{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275dir=x({type:t,selectors:[["","mat-menu-trigger-for",""],["","matMenuTriggerFor",""]],hostAttrs:[1,"mat-menu-trigger"],exportAs:["matMenuTrigger"],features:[G]}),t})(),Aj=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({providers:[Mj],imports:[[it,_t,yc,Ah],wc,_t]}),t})();function uS(...t){const n=ru(t),{args:e,keys:i}=nD(t),o=new Qe(s=>{const{length:r}=e;if(!r)return void s.complete();const a=new Array(r);let u=r,p=r;for(let f=0;f{g||(g=!0,p--),a[f]=b},()=>u--,void 0,()=>{(!u||!g)&&(p||s.next(i?iD(i,a):a),s.complete())}))}});return n?o.pipe(Fg(n)):o}const xj=["*"];let Oh;function Tc(t){var n;return(null===(n=function Oj(){if(void 0===Oh&&(Oh=null,"undefined"!=typeof window)){const t=window;void 0!==t.trustedTypes&&(Oh=t.trustedTypes.createPolicy("angular#components",{createHTML:n=>n}))}return Oh}())||void 0===n?void 0:n.createHTML(t))||t}function dS(t){return Error(`Unable to find icon with the name "${t}"`)}function hS(t){return Error(`The URL provided to MatIconRegistry was not trusted as a resource URL via Angular's DomSanitizer. Attempted URL was "${t}".`)}function pS(t){return Error(`The literal provided to MatIconRegistry was not trusted as safe HTML by Angular's DomSanitizer. Attempted literal was "${t}".`)}class vr{constructor(n,e,i){this.url=n,this.svgText=e,this.options=i}}let Nh=(()=>{class t{constructor(e,i,o,s){this._httpClient=e,this._sanitizer=i,this._errorHandler=s,this._svgIconConfigs=new Map,this._iconSetConfigs=new Map,this._cachedIconsByUrl=new Map,this._inProgressUrlFetches=new Map,this._fontCssClassesByAlias=new Map,this._resolvers=[],this._defaultFontSetClass="material-icons",this._document=o}addSvgIcon(e,i,o){return this.addSvgIconInNamespace("",e,i,o)}addSvgIconLiteral(e,i,o){return this.addSvgIconLiteralInNamespace("",e,i,o)}addSvgIconInNamespace(e,i,o,s){return this._addSvgIconConfig(e,i,new vr(o,null,s))}addSvgIconResolver(e){return this._resolvers.push(e),this}addSvgIconLiteralInNamespace(e,i,o,s){const r=this._sanitizer.sanitize(Ze.HTML,o);if(!r)throw pS(o);const a=Tc(r);return this._addSvgIconConfig(e,i,new vr("",a,s))}addSvgIconSet(e,i){return this.addSvgIconSetInNamespace("",e,i)}addSvgIconSetLiteral(e,i){return this.addSvgIconSetLiteralInNamespace("",e,i)}addSvgIconSetInNamespace(e,i,o){return this._addSvgIconSetConfig(e,new vr(i,null,o))}addSvgIconSetLiteralInNamespace(e,i,o){const s=this._sanitizer.sanitize(Ze.HTML,i);if(!s)throw pS(i);const r=Tc(s);return this._addSvgIconSetConfig(e,new vr("",r,o))}registerFontClassAlias(e,i=e){return this._fontCssClassesByAlias.set(e,i),this}classNameForFontAlias(e){return this._fontCssClassesByAlias.get(e)||e}setDefaultFontSetClass(e){return this._defaultFontSetClass=e,this}getDefaultFontSetClass(){return this._defaultFontSetClass}getSvgIconFromUrl(e){const i=this._sanitizer.sanitize(Ze.RESOURCE_URL,e);if(!i)throw hS(e);const o=this._cachedIconsByUrl.get(i);return o?ne(kh(o)):this._loadSvgIconFromConfig(new vr(e,null)).pipe(zt(s=>this._cachedIconsByUrl.set(i,s)),pe(s=>kh(s)))}getNamedSvgIcon(e,i=""){const o=fS(i,e);let s=this._svgIconConfigs.get(o);if(s)return this._getSvgFromConfig(s);if(s=this._getIconConfigFromResolvers(i,e),s)return this._svgIconConfigs.set(o,s),this._getSvgFromConfig(s);const r=this._iconSetConfigs.get(i);return r?this._getSvgFromIconSetConfigs(e,r):Yl(dS(o))}ngOnDestroy(){this._resolvers=[],this._svgIconConfigs.clear(),this._iconSetConfigs.clear(),this._cachedIconsByUrl.clear()}_getSvgFromConfig(e){return e.svgText?ne(kh(this._svgElementFromConfig(e))):this._loadSvgIconFromConfig(e).pipe(pe(i=>kh(i)))}_getSvgFromIconSetConfigs(e,i){const o=this._extractIconWithNameFromAnySet(e,i);return o?ne(o):uS(i.filter(r=>!r.svgText).map(r=>this._loadSvgIconSetFromConfig(r).pipe(go(a=>{const p=`Loading icon set URL: ${this._sanitizer.sanitize(Ze.RESOURCE_URL,r.url)} failed: ${a.message}`;return this._errorHandler.handleError(new Error(p)),ne(null)})))).pipe(pe(()=>{const r=this._extractIconWithNameFromAnySet(e,i);if(!r)throw dS(e);return r}))}_extractIconWithNameFromAnySet(e,i){for(let o=i.length-1;o>=0;o--){const s=i[o];if(s.svgText&&s.svgText.toString().indexOf(e)>-1){const r=this._svgElementFromConfig(s),a=this._extractSvgIconFromSet(r,e,s.options);if(a)return a}}return null}_loadSvgIconFromConfig(e){return this._fetchIcon(e).pipe(zt(i=>e.svgText=i),pe(()=>this._svgElementFromConfig(e)))}_loadSvgIconSetFromConfig(e){return e.svgText?ne(null):this._fetchIcon(e).pipe(zt(i=>e.svgText=i))}_extractSvgIconFromSet(e,i,o){const s=e.querySelector(`[id="${i}"]`);if(!s)return null;const r=s.cloneNode(!0);if(r.removeAttribute("id"),"svg"===r.nodeName.toLowerCase())return this._setSvgAttributes(r,o);if("symbol"===r.nodeName.toLowerCase())return this._setSvgAttributes(this._toSvgElement(r),o);const a=this._svgElementFromString(Tc(""));return a.appendChild(r),this._setSvgAttributes(a,o)}_svgElementFromString(e){const i=this._document.createElement("DIV");i.innerHTML=e;const o=i.querySelector("svg");if(!o)throw Error(" tag not found");return o}_toSvgElement(e){const i=this._svgElementFromString(Tc("")),o=e.attributes;for(let s=0;sTc(f)),cD(()=>this._inProgressUrlFetches.delete(a)),z1());return this._inProgressUrlFetches.set(a,p),p}_addSvgIconConfig(e,i,o){return this._svgIconConfigs.set(fS(e,i),o),this}_addSvgIconSetConfig(e,i){const o=this._iconSetConfigs.get(e);return o?o.push(i):this._iconSetConfigs.set(e,[i]),this}_svgElementFromConfig(e){if(!e.svgElement){const i=this._svgElementFromString(e.svgText);this._setSvgAttributes(i,e.options),e.svgElement=i}return e.svgElement}_getIconConfigFromResolvers(e,i){for(let o=0;on?n.pathname+n.search:""}}}),mS=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],Bj=mS.map(t=>`[${t}]`).join(", "),Vj=/^url\(['"]?#(.*?)['"]?\)$/;let Sc=(()=>{class t extends Fj{constructor(e,i,o,s,r){super(e),this._iconRegistry=i,this._location=s,this._errorHandler=r,this._inline=!1,this._currentIconFetch=Je.EMPTY,o||e.nativeElement.setAttribute("aria-hidden","true")}get inline(){return this._inline}set inline(e){this._inline=ot(e)}get svgIcon(){return this._svgIcon}set svgIcon(e){e!==this._svgIcon&&(e?this._updateSvgIcon(e):this._svgIcon&&this._clearSvgElement(),this._svgIcon=e)}get fontSet(){return this._fontSet}set fontSet(e){const i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){const i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}_splitIconName(e){if(!e)return["",""];const i=e.split(":");switch(i.length){case 1:return["",i[0]];case 2:return i;default:throw Error(`Invalid icon name: "${e}"`)}}ngOnInit(){this._updateFontIconClasses()}ngAfterViewChecked(){const e=this._elementsWithExternalReferences;if(e&&e.size){const i=this._location.getPathname();i!==this._previousPath&&(this._previousPath=i,this._prependPathToReferences(i))}}ngOnDestroy(){this._currentIconFetch.unsubscribe(),this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear()}_usingFontIcon(){return!this.svgIcon}_setSvgElement(e){this._clearSvgElement();const i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){const e=this._elementRef.nativeElement;let i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){const o=e.childNodes[i];(1!==o.nodeType||"svg"===o.nodeName.toLowerCase())&&o.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;const e=this._elementRef.nativeElement,i=this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet):this._iconRegistry.getDefaultFontSetClass();i!=this._previousFontSetClass&&(this._previousFontSetClass&&e.classList.remove(this._previousFontSetClass),i&&e.classList.add(i),this._previousFontSetClass=i),this.fontIcon!=this._previousFontIconClass&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return"string"==typeof e?e.trim().split(" ")[0]:e}_prependPathToReferences(e){const i=this._elementsWithExternalReferences;i&&i.forEach((o,s)=>{o.forEach(r=>{s.setAttribute(r.name,`url('${e}#${r.value}')`)})})}_cacheChildrenWithExternalReferences(e){const i=e.querySelectorAll(Bj),o=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let s=0;s{const a=i[s],u=a.getAttribute(r),p=u?u.match(Vj):null;if(p){let f=o.get(a);f||(f=[],o.set(a,f)),f.push({name:r,value:p[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){const[i,o]=this._splitIconName(e);i&&(this._svgNamespace=i),o&&(this._svgName=o),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(o,i).pipe(ze(1)).subscribe(s=>this._setSvgElement(s),s=>{this._errorHandler.handleError(new Error(`Error retrieving icon ${i}:${o}! ${s.message}`))})}}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(Nh),ni("aria-hidden"),_(Pj),_(us))},t.\u0275cmp=N({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:7,hostBindings:function(e,i){2&e&&(ae("data-mat-icon-type",i._usingFontIcon()?"font":"svg")("data-mat-icon-name",i._svgName||i.fontIcon)("data-mat-icon-namespace",i._svgNamespace||i.fontSet),oe("mat-icon-inline",i.inline)("mat-icon-no-color","primary"!==i.color&&"accent"!==i.color&&"warn"!==i.color))},inputs:{color:"color",inline:"inline",svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],features:[G],ngContentSelectors:xj,decls:1,vars:0,template:function(e,i){1&e&&(rn(),nt(0))},styles:[".mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}[dir=rtl] .mat-icon-rtl-mirror{transform:scale(-1, 1)}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon{display:block}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button .mat-icon,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button .mat-icon{margin:auto}\n"],encapsulation:2,changeDetection:0}),t})(),jj=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[_t],_t]}),t})();function Hj(t,n){1&t&&nt(0)}const gS=["*"];function Uj(t,n){}const Gj=function(t){return{animationDuration:t}},zj=function(t,n){return{value:t,params:n}},qj=["tabListContainer"],$j=["tabList"],Wj=["tabListInner"],Yj=["nextPaginator"],Qj=["previousPaginator"],Kj=["tabBodyWrapper"],Zj=["tabHeader"];function Jj(t,n){}function Xj(t,n){1&t&&C(0,Jj,0,0,"ng-template",10),2&t&&v("cdkPortalOutlet",I().$implicit.templateLabel)}function eH(t,n){1&t&&d(0),2&t&&le(I().$implicit.textLabel)}function tH(t,n){if(1&t){const e=Ae();l(0,"div",6),D("click",function(){const o=re(e),s=o.$implicit,r=o.index,a=I(),u=Ct(1);return a._handleClick(s,u,r)})("cdkFocusChange",function(o){const r=re(e).index;return I()._tabFocusChanged(o,r)}),l(1,"div",7),C(2,Xj,1,1,"ng-template",8),C(3,eH,1,1,"ng-template",null,9,wn),c()()}if(2&t){const e=n.$implicit,i=n.index,o=Ct(4),s=I();oe("mat-tab-label-active",s.selectedIndex===i),v("id",s._getTabLabelId(i))("ngClass",e.labelClass)("disabled",e.disabled)("matRippleDisabled",e.disabled||s.disableRipple),ae("tabIndex",s._getTabIndex(e,i))("aria-posinset",i+1)("aria-setsize",s._tabs.length)("aria-controls",s._getTabContentId(i))("aria-selected",s.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),m(2),v("ngIf",e.templateLabel)("ngIfElse",o)}}function nH(t,n){if(1&t){const e=Ae();l(0,"mat-tab-body",11),D("_onCentered",function(){return re(e),I()._removeTabBodyWrapperHeight()})("_onCentering",function(o){return re(e),I()._setTabBodyWrapperHeight(o)}),c()}if(2&t){const e=n.$implicit,i=n.index,o=I();oe("mat-tab-body-active",o.selectedIndex===i),v("id",o._getTabContentId(i))("ngClass",e.bodyClass)("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",o.animationDuration),ae("tabindex",null!=o.contentTabIndex&&o.selectedIndex===i?o.contentTabIndex:null)("aria-labelledby",o._getTabLabelId(i))}}const iH=new j("MatInkBarPositioner",{providedIn:"root",factory:function oH(){return n=>({left:n?(n.offsetLeft||0)+"px":"0",width:n?(n.offsetWidth||0)+"px":"0"})}});let _S=(()=>{class t{constructor(e,i,o,s){this._elementRef=e,this._ngZone=i,this._inkBarPositioner=o,this._animationMode=s}alignToElement(e){this.show(),this._ngZone.onStable.pipe(ze(1)).subscribe(()=>{const i=this._inkBarPositioner(e),o=this._elementRef.nativeElement;o.style.left=i.left,o.style.width=i.width})}show(){this._elementRef.nativeElement.style.visibility="visible"}hide(){this._elementRef.nativeElement.style.visibility="hidden"}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(se),_(iH),_(On,8))},t.\u0275dir=x({type:t,selectors:[["mat-ink-bar"]],hostAttrs:[1,"mat-ink-bar"],hostVars:2,hostBindings:function(e,i){2&e&&oe("_mat-animation-noopable","NoopAnimations"===i._animationMode)}}),t})();const sH=new j("MatTabContent"),rH=new j("MatTabLabel"),aH=new j("MAT_TAB"),lH=fr(class{}),vS=new j("MAT_TAB_GROUP");let bS=(()=>{class t extends lH{constructor(e,i){super(),this._viewContainerRef=e,this._closestTabGroup=i,this.textLabel="",this._contentPortal=null,this._stateChanges=new $,this.position=null,this.origin=null,this.isActive=!1}get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new hc(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}}return t.\u0275fac=function(e){return new(e||t)(_(Bt),_(vS,8))},t.\u0275cmp=N({type:t,selectors:[["mat-tab"]],contentQueries:function(e,i,o){if(1&e&&(te(o,rH,5),te(o,sH,7,ce)),2&e){let s;F(s=P())&&(i.templateLabel=s.first),F(s=P())&&(i._explicitContent=s.first)}},viewQuery:function(e,i){if(1&e&&me(ce,7),2&e){let o;F(o=P())&&(i._implicitContent=o.first)}},inputs:{disabled:"disabled",textLabel:["label","textLabel"],ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],features:[fe([{provide:aH,useExisting:t}]),G,mt],ngContentSelectors:gS,decls:1,vars:0,template:function(e,i){1&e&&(rn(),C(0,Hj,1,0,"ng-template"))},encapsulation:2}),t})();const cH={translateTab:Wi("translateTab",[en("center, void, left-origin-center, right-origin-center",$e({transform:"none"})),en("left",$e({transform:"translate3d(-100%, 0, 0)",minHeight:"1px"})),en("right",$e({transform:"translate3d(100%, 0, 0)",minHeight:"1px"})),_n("* => left, * => right, left => center, right => center",En("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),_n("void => left-origin-center",[$e({transform:"translate3d(-100%, 0, 0)"}),En("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),_n("void => right-origin-center",[$e({transform:"translate3d(100%, 0, 0)"}),En("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])};let uH=(()=>{class t extends pc{constructor(e,i,o,s){super(e,i,s),this._host=o,this._centeringSub=Je.EMPTY,this._leavingSub=Je.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(gn(this._host._isCenterPosition(this._host._position))).subscribe(e=>{e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(_(po),_(Bt),_(Le(()=>yS)),_(ve))},t.\u0275dir=x({type:t,selectors:[["","matTabBodyHost",""]],features:[G]}),t})(),dH=(()=>{class t{constructor(e,i,o){this._elementRef=e,this._dir=i,this._dirChangeSubscription=Je.EMPTY,this._translateTabComplete=new $,this._onCentering=new H,this._beforeCentering=new H,this._afterLeavingCenter=new H,this._onCentered=new H(!0),this.animationDuration="500ms",i&&(this._dirChangeSubscription=i.change.subscribe(s=>{this._computePositionAnimationState(s),o.markForCheck()})),this._translateTabComplete.pipe(ka((s,r)=>s.fromState===r.fromState&&s.toState===r.toState)).subscribe(s=>{this._isCenterPosition(s.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(s.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}set position(e){this._positionIndex=e,this._computePositionAnimationState()}ngOnInit(){"center"==this._position&&null!=this.origin&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){const i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_isCenterPosition(e){return"center"==e||"left-origin-center"==e||"right-origin-center"==e}_computePositionAnimationState(e=this._getLayoutDirection()){this._position=this._positionIndex<0?"ltr"==e?"left":"right":this._positionIndex>0?"ltr"==e?"right":"left":"center"}_computePositionFromOrigin(e){const i=this._getLayoutDirection();return"ltr"==i&&e<=0||"rtl"==i&&e>0?"left-origin-center":"right-origin-center"}}return t.\u0275fac=function(e){return new(e||t)(_(K),_($n,8),_(Ke))},t.\u0275dir=x({type:t,inputs:{_content:["content","_content"],origin:"origin",animationDuration:"animationDuration",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"}}),t})(),yS=(()=>{class t extends dH{constructor(e,i,o){super(e,i,o)}}return t.\u0275fac=function(e){return new(e||t)(_(K),_($n,8),_(Ke))},t.\u0275cmp=N({type:t,selectors:[["mat-tab-body"]],viewQuery:function(e,i){if(1&e&&me(pc,5),2&e){let o;F(o=P())&&(i._portalHost=o.first)}},hostAttrs:[1,"mat-tab-body"],features:[G],decls:3,vars:6,consts:[["cdkScrollable","",1,"mat-tab-body-content"],["content",""],["matTabBodyHost",""]],template:function(e,i){1&e&&(l(0,"div",0,1),D("@translateTab.start",function(s){return i._onTranslateTabStarted(s)})("@translateTab.done",function(s){return i._translateTabComplete.next(s)}),C(2,Uj,0,0,"ng-template",2),c()),2&e&&v("@translateTab",fo(3,zj,i._position,mn(1,Gj,i.animationDuration)))},directives:[uH],styles:['.mat-tab-body-content{height:100%;overflow:auto}.mat-tab-group-dynamic-height .mat-tab-body-content{overflow:hidden}.mat-tab-body-content[style*="visibility: hidden"]{display:none}\n'],encapsulation:2,data:{animation:[cH.translateTab]}}),t})();const CS=new j("MAT_TABS_CONFIG"),hH=fr(class{});let wS=(()=>{class t extends hH{constructor(e){super(),this.elementRef=e}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}}return t.\u0275fac=function(e){return new(e||t)(_(K))},t.\u0275dir=x({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(e,i){2&e&&(ae("aria-disabled",!!i.disabled),oe("mat-tab-disabled",i.disabled))},inputs:{disabled:"disabled"},features:[G]}),t})();const DS=rr({passive:!0});let mH=(()=>{class t{constructor(e,i,o,s,r,a,u){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=o,this._dir=s,this._ngZone=r,this._platform=a,this._animationMode=u,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new $,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new $,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new H,this.indexFocused=new H,r.runOutsideAngular(()=>{Mt(e.nativeElement,"mouseleave").pipe(ie(this._destroyed)).subscribe(()=>{this._stopInterval()})})}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){e=Mi(e),this._selectedIndex!=e&&(this._selectedIndexChanged=!0,this._selectedIndex=e,this._keyManager&&this._keyManager.updateActiveItem(e))}ngAfterViewInit(){Mt(this._previousPaginator.nativeElement,"touchstart",DS).pipe(ie(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Mt(this._nextPaginator.nativeElement,"touchstart",DS).pipe(ie(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){const e=this._dir?this._dir.change:ne("ltr"),i=this._viewportRuler.change(150),o=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new kE(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap(),this._keyManager.updateActiveItem(this._selectedIndex),this._ngZone.onStable.pipe(ze(1)).subscribe(o),bn(e,i,this._items.changes,this._itemsResized()).pipe(ie(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),o()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.pipe(ie(this._destroyed)).subscribe(s=>{this.indexFocused.emit(s),this._setTabFocus(s)})}_itemsResized(){return"function"!=typeof ResizeObserver?Zn:this._items.changes.pipe(gn(this._items),qn(e=>new Qe(i=>this._ngZone.runOutsideAngular(()=>{const o=new ResizeObserver(()=>{i.next()});return e.forEach(s=>{o.observe(s.elementRef.nativeElement)}),()=>{o.disconnect()}}))),Jd(1))}ngAfterContentChecked(){this._tabLabelCount!=this._items.length&&(this.updatePagination(),this._tabLabelCount=this._items.length,this._changeDetectorRef.markForCheck()),this._selectedIndexChanged&&(this._scrollToLabel(this._selectedIndex),this._checkScrollingControls(),this._alignInkBarToSelectedTab(),this._selectedIndexChanged=!1,this._changeDetectorRef.markForCheck()),this._scrollDistanceChanged&&(this._updateTabScrollPosition(),this._scrollDistanceChanged=!1,this._changeDetectorRef.markForCheck())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!zo(e))switch(e.keyCode){case 13:case 32:this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e));break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){const e=this._elementRef.nativeElement.textContent;e!==this._currentTextContent&&(this._currentTextContent=e||"",this._ngZone.run(()=>{this.updatePagination(),this._alignInkBarToSelectedTab(),this._changeDetectorRef.markForCheck()}))}updatePagination(){this._checkPaginationEnabled(),this._checkScrollingControls(),this._updateTabScrollPosition()}get focusIndex(){return this._keyManager?this._keyManager.activeItemIndex:0}set focusIndex(e){!this._isValidIndex(e)||this.focusIndex===e||!this._keyManager||this._keyManager.setActiveItem(e)}_isValidIndex(e){if(!this._items)return!0;const i=this._items?this._items.toArray()[e]:null;return!!i&&!i.disabled}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();const i=this._tabListContainer.nativeElement;i.scrollLeft="ltr"==this._getLayoutDirection()?0:i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;const e=this.scrollDistance,i="ltr"===this._getLayoutDirection()?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}px)`,(this._platform.TRIDENT||this._platform.EDGE)&&(this._tabListContainer.nativeElement.scrollLeft=0)}get scrollDistance(){return this._scrollDistance}set scrollDistance(e){this._scrollTo(e)}_scrollHeader(e){return this._scrollTo(this._scrollDistance+("before"==e?-1:1)*this._tabListContainer.nativeElement.offsetWidth/3)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;const i=this._items?this._items.toArray()[e]:null;if(!i)return;const o=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:s,offsetWidth:r}=i.elementRef.nativeElement;let a,u;"ltr"==this._getLayoutDirection()?(a=s,u=a+r):(u=this._tabListInner.nativeElement.offsetWidth-s,a=u-r);const p=this.scrollDistance,f=this.scrollDistance+o;af&&(this.scrollDistance+=u-f+60)}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{const e=this._tabListInner.nativeElement.scrollWidth>this._elementRef.nativeElement.offsetWidth;e||(this.scrollDistance=0),e!==this._showPaginationControls&&this._changeDetectorRef.markForCheck(),this._showPaginationControls=e}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=0==this.scrollDistance,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){return this._tabListInner.nativeElement.scrollWidth-this._tabListContainer.nativeElement.offsetWidth||0}_alignInkBarToSelectedTab(){const e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&null!=i.button&&0!==i.button||(this._stopInterval(),uc(650,100).pipe(ie(bn(this._stopScrolling,this._destroyed))).subscribe(()=>{const{maxScrollDistance:o,distance:s}=this._scrollHeader(e);(0===s||s>=o)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};const i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(Ke),_(gr),_($n,8),_(se),_(Jt),_(On,8))},t.\u0275dir=x({type:t,inputs:{disablePagination:"disablePagination"}}),t})(),gH=(()=>{class t extends mH{constructor(e,i,o,s,r,a,u){super(e,i,o,s,r,a,u),this._disableRipple=!1}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=ot(e)}_itemSelected(e){e.preventDefault()}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(Ke),_(gr),_($n,8),_(se),_(Jt),_(On,8))},t.\u0275dir=x({type:t,inputs:{disableRipple:"disableRipple"},features:[G]}),t})(),_H=(()=>{class t extends gH{constructor(e,i,o,s,r,a,u){super(e,i,o,s,r,a,u)}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(Ke),_(gr),_($n,8),_(se),_(Jt),_(On,8))},t.\u0275cmp=N({type:t,selectors:[["mat-tab-header"]],contentQueries:function(e,i,o){if(1&e&&te(o,wS,4),2&e){let s;F(s=P())&&(i._items=s)}},viewQuery:function(e,i){if(1&e&&(me(_S,7),me(qj,7),me($j,7),me(Wj,7),me(Yj,5),me(Qj,5)),2&e){let o;F(o=P())&&(i._inkBar=o.first),F(o=P())&&(i._tabListContainer=o.first),F(o=P())&&(i._tabList=o.first),F(o=P())&&(i._tabListInner=o.first),F(o=P())&&(i._nextPaginator=o.first),F(o=P())&&(i._previousPaginator=o.first)}},hostAttrs:[1,"mat-tab-header"],hostVars:4,hostBindings:function(e,i){2&e&&oe("mat-tab-header-pagination-controls-enabled",i._showPaginationControls)("mat-tab-header-rtl","rtl"==i._getLayoutDirection())},inputs:{selectedIndex:"selectedIndex"},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[G],ngContentSelectors:gS,decls:14,vars:10,consts:[["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-before","mat-elevation-z4",3,"matRippleDisabled","disabled","click","mousedown","touchend"],["previousPaginator",""],[1,"mat-tab-header-pagination-chevron"],[1,"mat-tab-label-container",3,"keydown"],["tabListContainer",""],["role","tablist",1,"mat-tab-list",3,"cdkObserveContent"],["tabList",""],[1,"mat-tab-labels"],["tabListInner",""],["aria-hidden","true","type","button","mat-ripple","","tabindex","-1",1,"mat-tab-header-pagination","mat-tab-header-pagination-after","mat-elevation-z4",3,"matRippleDisabled","disabled","mousedown","click","touchend"],["nextPaginator",""]],template:function(e,i){1&e&&(rn(),l(0,"button",0,1),D("click",function(){return i._handlePaginatorClick("before")})("mousedown",function(s){return i._handlePaginatorPress("before",s)})("touchend",function(){return i._stopInterval()}),h(2,"div",2),c(),l(3,"div",3,4),D("keydown",function(s){return i._handleKeydown(s)}),l(5,"div",5,6),D("cdkObserveContent",function(){return i._onContentChanges()}),l(7,"div",7,8),nt(9),c(),h(10,"mat-ink-bar"),c()(),l(11,"button",9,10),D("mousedown",function(s){return i._handlePaginatorPress("after",s)})("click",function(){return i._handlePaginatorClick("after")})("touchend",function(){return i._stopInterval()}),h(13,"div",2),c()),2&e&&(oe("mat-tab-header-pagination-disabled",i._disableScrollBefore),v("matRippleDisabled",i._disableScrollBefore||i.disableRipple)("disabled",i._disableScrollBefore||null),m(5),oe("_mat-animation-noopable","NoopAnimations"===i._animationMode),m(6),oe("mat-tab-header-pagination-disabled",i._disableScrollAfter),v("matRippleDisabled",i._disableScrollAfter||i.disableRipple)("disabled",i._disableScrollAfter||null))},directives:[mr,f_,_S],styles:[".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-header-pagination{-webkit-user-select:none;user-select:none;position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2;-webkit-tap-highlight-color:transparent;touch-action:none;box-sizing:content-box;background:none;border:none;outline:0;padding:0}.mat-tab-header-pagination::-moz-focus-inner{border:0}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-rtl .mat-tab-header-pagination-before,.mat-tab-header-pagination-after{padding-right:4px}.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-ink-bar{transition:none;animation:none}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.cdk-high-contrast-active .mat-ink-bar{outline:solid 2px;height:0}.mat-tab-labels{display:flex}[mat-align-tabs=center]>.mat-tab-header .mat-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-tab-header .mat-tab-labels{justify-content:flex-end}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}._mat-animation-noopable.mat-tab-list{transition:none;animation:none}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{min-width:72px}}\n"],encapsulation:2}),t})(),vH=0;class bH{}const yH=_c(vc(class{constructor(t){this._elementRef=t}}),"primary");let CH=(()=>{class t extends yH{constructor(e,i,o,s){var r;super(e),this._changeDetectorRef=i,this._animationMode=s,this._tabs=new Ys,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=Je.EMPTY,this._tabLabelSubscription=Je.EMPTY,this._selectedIndex=null,this.headerPosition="above",this.selectedIndexChange=new H,this.focusChange=new H,this.animationDone=new H,this.selectedTabChange=new H(!0),this._groupId=vH++,this.animationDuration=o&&o.animationDuration?o.animationDuration:"500ms",this.disablePagination=!(!o||null==o.disablePagination)&&o.disablePagination,this.dynamicHeight=!(!o||null==o.dynamicHeight)&&o.dynamicHeight,this.contentTabIndex=null!==(r=null==o?void 0:o.contentTabIndex)&&void 0!==r?r:null}get dynamicHeight(){return this._dynamicHeight}set dynamicHeight(e){this._dynamicHeight=ot(e)}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=Mi(e,null)}get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e+"")?e+"ms":e}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=Mi(e,null)}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){const i=this._elementRef.nativeElement;i.classList.remove(`mat-background-${this.backgroundColor}`),e&&i.classList.add(`mat-background-${e}`),this._backgroundColor=e}ngAfterContentChecked(){const e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){const i=null==this._selectedIndex;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));const o=this._tabBodyWrapper.nativeElement;o.style.minHeight=o.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((o,s)=>o.isActive=s===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,o)=>{i.position=o-e,null!=this._selectedIndex&&0==i.position&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{const e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){const i=this._tabs.toArray();let o;for(let s=0;s{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(gn(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._closestTabGroup)),this._tabs.notifyOnChanges()})}ngOnDestroy(){this._tabs.destroy(),this._tabsSubscription.unsubscribe(),this._tabLabelSubscription.unsubscribe()}realignInkBar(){this._tabHeader&&this._tabHeader._alignInkBarToSelectedTab()}updatePagination(){this._tabHeader&&this._tabHeader.updatePagination()}focusTab(e){const i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){const i=new bH;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=bn(...this._tabs.map(e=>e._stateChanges)).subscribe(()=>this._changeDetectorRef.markForCheck())}_clampTabIndex(e){return Math.min(this._tabs.length-1,Math.max(e||0,0))}_getTabLabelId(e){return`mat-tab-label-${this._groupId}-${e}`}_getTabContentId(e){return`mat-tab-content-${this._groupId}-${e}`}_setTabBodyWrapperHeight(e){if(!this._dynamicHeight||!this._tabBodyWrapperHeight)return;const i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){const e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,o){e.disabled||(this.selectedIndex=i.focusIndex=o)}_getTabIndex(e,i){var o;return e.disabled?null:i===(null!==(o=this._lastFocusedTabIndex)&&void 0!==o?o:this.selectedIndex)?0:-1}_tabFocusChanged(e,i){e&&"mouse"!==e&&"touch"!==e&&(this._tabHeader.focusIndex=i)}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(Ke),_(CS,8),_(On,8))},t.\u0275dir=x({type:t,inputs:{dynamicHeight:"dynamicHeight",selectedIndex:"selectedIndex",headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:"contentTabIndex",disablePagination:"disablePagination",backgroundColor:"backgroundColor"},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},features:[G]}),t})(),wH=(()=>{class t extends CH{constructor(e,i,o,s){super(e,i,o,s)}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(Ke),_(CS,8),_(On,8))},t.\u0275cmp=N({type:t,selectors:[["mat-tab-group"]],contentQueries:function(e,i,o){if(1&e&&te(o,bS,5),2&e){let s;F(s=P())&&(i._allTabs=s)}},viewQuery:function(e,i){if(1&e&&(me(Kj,5),me(Zj,5)),2&e){let o;F(o=P())&&(i._tabBodyWrapper=o.first),F(o=P())&&(i._tabHeader=o.first)}},hostAttrs:[1,"mat-tab-group"],hostVars:4,hostBindings:function(e,i){2&e&&oe("mat-tab-group-dynamic-height",i.dynamicHeight)("mat-tab-group-inverted-header","below"===i.headerPosition)},inputs:{color:"color",disableRipple:"disableRipple"},exportAs:["matTabGroup"],features:[fe([{provide:vS,useExisting:t}]),G],decls:6,vars:7,consts:[[3,"selectedIndex","disableRipple","disablePagination","indexFocused","selectFocusedIndex"],["tabHeader",""],["class","mat-tab-label mat-focus-indicator","role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",3,"id","mat-tab-label-active","ngClass","disabled","matRippleDisabled","click","cdkFocusChange",4,"ngFor","ngForOf"],[1,"mat-tab-body-wrapper"],["tabBodyWrapper",""],["role","tabpanel",3,"id","mat-tab-body-active","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering",4,"ngFor","ngForOf"],["role","tab","matTabLabelWrapper","","mat-ripple","","cdkMonitorElementFocus","",1,"mat-tab-label","mat-focus-indicator",3,"id","ngClass","disabled","matRippleDisabled","click","cdkFocusChange"],[1,"mat-tab-label-content"],[3,"ngIf","ngIfElse"],["tabTextLabel",""],[3,"cdkPortalOutlet"],["role","tabpanel",3,"id","ngClass","content","position","origin","animationDuration","_onCentered","_onCentering"]],template:function(e,i){1&e&&(l(0,"mat-tab-header",0,1),D("indexFocused",function(s){return i._focusChanged(s)})("selectFocusedIndex",function(s){return i.selectedIndex=s}),C(2,tH,5,15,"div",2),c(),l(3,"div",3,4),C(5,nH,1,10,"mat-tab-body",5),c()),2&e&&(v("selectedIndex",i.selectedIndex||0)("disableRipple",i.disableRipple)("disablePagination",i.disablePagination),m(2),v("ngForOf",i._tabs),m(1),oe("_mat-animation-noopable","NoopAnimations"===i._animationMode),m(2),v("ngForOf",i._tabs))},directives:[_H,yS,qe,wS,mr,d7,er,Ye,pc],styles:[".mat-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-tab-group.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{height:48px;padding:0 24px;cursor:pointer;box-sizing:border-box;opacity:.6;min-width:160px;text-align:center;display:inline-flex;justify-content:center;align-items:center;white-space:nowrap;position:relative}.mat-tab-label:focus{outline:none}.mat-tab-label:focus:not(.mat-tab-disabled){opacity:1}.cdk-high-contrast-active .mat-tab-label:focus{outline:dotted 2px;outline-offset:-2px}.mat-tab-label.mat-tab-disabled{cursor:default}.cdk-high-contrast-active .mat-tab-label.mat-tab-disabled{opacity:.5}.mat-tab-label .mat-tab-label-content{display:inline-flex;justify-content:center;align-items:center;white-space:nowrap}.cdk-high-contrast-active .mat-tab-label{opacity:1}@media(max-width: 599px){.mat-tab-label{padding:0 12px}}@media(max-width: 959px){.mat-tab-label{padding:0 12px}}.mat-tab-group[mat-stretch-tabs]>.mat-tab-header .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable.mat-tab-body-wrapper{transition:none;animation:none}.mat-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-tab-group.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}\n"],encapsulation:2}),t})(),DH=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it,_t,lh,yc,eh,HE],_t]}),t})(),Rh=(()=>{class t{constructor(e){this.http=e,this.baseUrl="."}createArchivo(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/archivo/archivo_insert.php`,JSON.stringify(e)),this.resultado}editArchivo(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/archivo/archivo_update.php`,JSON.stringify(e)),this.resultado}deleteArchivo(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/archivo/archivo_delete.php`,JSON.stringify(e)),this.resultado}getProductos(){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/archivo/archivo_get.php`),this.resultado}getArchivosUsuario(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/archivo/archiv_get_usuario.php`,JSON.stringify(e)),this.resultado}}return t.\u0275fac=function(e){return new(e||t)(M(dn))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function EH(t,n){if(1&t&&(l(0,"span",3)(1,"a",4),R(),l(2,"svg",5),h(3,"path",6)(4,"path",7),c(),d(5),c()()),2&t){const e=n.$implicit;m(1),v("href",e.archivo_ar,we),m(4),U(" ",e.nombre_ar,"")}}let TS=(()=>{class t{constructor(e,i,o){this._cookie=e,this._login=i,this._archivos=o,this.token=""}ngOnInit(){this.token=this._cookie.get("token"),this._login.getuserdata(this.token).subscribe(e=>{let i={rol_usu:"",token:""};i.rol_usu=e.data.rol_usu,i.token=this.token,this._archivos.getArchivosUsuario(i).subscribe(o=>{this.listaarchivos=o.data})})}}return t.\u0275fac=function(e){return new(e||t)(_(Ve),_(xn),_(Rh))},t.\u0275cmp=N({type:t,selectors:[["app-dialogdocumentosusuario"]],decls:4,vars:1,consts:[[1,"titulos"],[1,"archivos__container"],["title","Descargar Archivo",4,"ngFor","ngForOf"],["title","Descargar Archivo"],["target","_blank",1,"archivos__card",3,"href"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#fff"],["d","M0 0h24v24H0V0z","fill","none"],["d","M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z"]],template:function(e,i){1&e&&(l(0,"div",0),d(1," Procedimientos\n"),c(),l(2,"div",1),C(3,EH,6,2,"span",2),c()),2&e&&(m(3),v("ngForOf",i.listaarchivos))},directives:[qe],styles:[""]}),t})();function TH(t,n){}class o0{constructor(){this.role="dialog",this.panelClass="",this.hasBackdrop=!0,this.backdropClass="",this.disableClose=!1,this.width="",this.height="",this.maxWidth="80vw",this.data=null,this.ariaDescribedBy=null,this.ariaLabelledBy=null,this.ariaLabel=null,this.autoFocus="first-tabbable",this.restoreFocus=!0,this.delayFocusTrap=!0,this.closeOnNavigation=!0}}const SH={dialogContainer:Wi("dialogContainer",[en("void, exit",$e({opacity:0,transform:"scale(0.7)"})),en("enter",$e({transform:"none"})),_n("* => enter",qE([En("150ms cubic-bezier(0, 0, 0.2, 1)",$e({transform:"none",opacity:1})),w_("@*",C_(),{optional:!0})])),_n("* => void, * => exit",qE([En("75ms cubic-bezier(0.4, 0.0, 0.2, 1)",$e({opacity:0})),w_("@*",C_(),{optional:!0})]))])};let MH=(()=>{class t extends T_{constructor(e,i,o,s,r,a,u,p){super(),this._elementRef=e,this._focusTrapFactory=i,this._changeDetectorRef=o,this._config=r,this._interactivityChecker=a,this._ngZone=u,this._focusMonitor=p,this._animationStateChanged=new H,this._elementFocusedBeforeDialogWasOpened=null,this._closeInteractionType=null,this.attachDomPortal=f=>(this._portalOutlet.hasAttached(),this._portalOutlet.attachDomPortal(f)),this._ariaLabelledBy=r.ariaLabelledBy||null,this._document=s}_initializeWithAttachedContent(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._document&&(this._elementFocusedBeforeDialogWasOpened=u_())}attachComponentPortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachComponentPortal(e)}attachTemplatePortal(e){return this._portalOutlet.hasAttached(),this._portalOutlet.attachTemplatePortal(e)}_recaptureFocus(){this._containsFocus()||this._trapFocus()}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{const o=()=>{e.removeEventListener("blur",o),e.removeEventListener("mousedown",o),e.removeAttribute("tabindex")};e.addEventListener("blur",o),e.addEventListener("mousedown",o)})),e.focus(i)}_focusByCssSelector(e,i){let o=this._elementRef.nativeElement.querySelector(e);o&&this._forceFocus(o,i)}_trapFocus(){const e=this._elementRef.nativeElement;switch(this._config.autoFocus){case!1:case"dialog":this._containsFocus()||e.focus();break;case!0:case"first-tabbable":this._focusTrap.focusInitialElementWhenReady().then(i=>{i||this._focusDialogContainer()});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this._config.autoFocus)}}_restoreFocus(){const e=this._elementFocusedBeforeDialogWasOpened;if(this._config.restoreFocus&&e&&"function"==typeof e.focus){const i=u_(),o=this._elementRef.nativeElement;(!i||i===this._document.body||i===o||o.contains(i))&&(this._focusMonitor?(this._focusMonitor.focusVia(e,this._closeInteractionType),this._closeInteractionType=null):e.focus())}this._focusTrap&&this._focusTrap.destroy()}_focusDialogContainer(){this._elementRef.nativeElement.focus&&this._elementRef.nativeElement.focus()}_containsFocus(){const e=this._elementRef.nativeElement,i=u_();return e===i||e.contains(i)}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(t7),_(Ke),_(ve,8),_(o0),_(RE),_(se),_(cr))},t.\u0275dir=x({type:t,viewQuery:function(e,i){if(1&e&&me(pc,7),2&e){let o;F(o=P())&&(i._portalOutlet=o.first)}},features:[G]}),t})(),IH=(()=>{class t extends MH{constructor(){super(...arguments),this._state="enter"}_onAnimationDone({toState:e,totalTime:i}){"enter"===e?(this._config.delayFocusTrap&&this._trapFocus(),this._animationStateChanged.next({state:"opened",totalTime:i})):"exit"===e&&(this._restoreFocus(),this._animationStateChanged.next({state:"closed",totalTime:i}))}_onAnimationStart({toState:e,totalTime:i}){"enter"===e?this._animationStateChanged.next({state:"opening",totalTime:i}):("exit"===e||"void"===e)&&this._animationStateChanged.next({state:"closing",totalTime:i})}_startExitAnimation(){this._state="exit",this._changeDetectorRef.markForCheck()}_initializeWithAttachedContent(){super._initializeWithAttachedContent(),this._config.delayFocusTrap||this._trapFocus()}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275cmp=N({type:t,selectors:[["mat-dialog-container"]],hostAttrs:["tabindex","-1","aria-modal","true",1,"mat-dialog-container"],hostVars:6,hostBindings:function(e,i){1&e&&Mm("@dialogContainer.start",function(s){return i._onAnimationStart(s)})("@dialogContainer.done",function(s){return i._onAnimationDone(s)}),2&e&&(Di("id",i._id),ae("role",i._config.role)("aria-labelledby",i._config.ariaLabel?null:i._ariaLabelledBy)("aria-label",i._config.ariaLabel)("aria-describedby",i._config.ariaDescribedBy||null),Ku("@dialogContainer",i._state))},features:[G],decls:1,vars:0,consts:[["cdkPortalOutlet",""]],template:function(e,i){1&e&&C(0,TH,0,0,"ng-template",0)},directives:[pc],styles:[".mat-dialog-container{display:block;padding:24px;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:100%;height:100%;min-height:inherit;max-height:inherit}.cdk-high-contrast-active .mat-dialog-container{outline:solid 1px}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}.mat-dialog-title{margin:0 0 20px;display:block}.mat-dialog-actions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}.mat-dialog-actions .mat-button-base+.mat-button-base,.mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-dialog-actions .mat-button-base+.mat-button-base,[dir=rtl] .mat-dialog-actions .mat-mdc-button-base+.mat-mdc-button-base{margin-left:0;margin-right:8px}\n"],encapsulation:2,data:{animation:[SH.dialogContainer]}}),t})(),AH=0;class Do{constructor(n,e,i="mat-dialog-"+AH++){this._overlayRef=n,this._containerInstance=e,this.id=i,this.disableClose=this._containerInstance._config.disableClose,this._afterOpened=new $,this._afterClosed=new $,this._beforeClosed=new $,this._state=0,e._id=i,e._animationStateChanged.pipe(ut(o=>"opened"===o.state),ze(1)).subscribe(()=>{this._afterOpened.next(),this._afterOpened.complete()}),e._animationStateChanged.pipe(ut(o=>"closed"===o.state),ze(1)).subscribe(()=>{clearTimeout(this._closeFallbackTimeout),this._finishDialogClose()}),n.detachments().subscribe(()=>{this._beforeClosed.next(this._result),this._beforeClosed.complete(),this._afterClosed.next(this._result),this._afterClosed.complete(),this.componentInstance=null,this._overlayRef.dispose()}),n.keydownEvents().pipe(ut(o=>27===o.keyCode&&!this.disableClose&&!zo(o))).subscribe(o=>{o.preventDefault(),SS(this,"keyboard")}),n.backdropClick().subscribe(()=>{this.disableClose?this._containerInstance._recaptureFocus():SS(this,"mouse")})}close(n){this._result=n,this._containerInstance._animationStateChanged.pipe(ut(e=>"closing"===e.state),ze(1)).subscribe(e=>{this._beforeClosed.next(n),this._beforeClosed.complete(),this._overlayRef.detachBackdrop(),this._closeFallbackTimeout=setTimeout(()=>this._finishDialogClose(),e.totalTime+100)}),this._state=1,this._containerInstance._startExitAnimation()}afterOpened(){return this._afterOpened}afterClosed(){return this._afterClosed}beforeClosed(){return this._beforeClosed}backdropClick(){return this._overlayRef.backdropClick()}keydownEvents(){return this._overlayRef.keydownEvents()}updatePosition(n){let e=this._getPositionStrategy();return n&&(n.left||n.right)?n.left?e.left(n.left):e.right(n.right):e.centerHorizontally(),n&&(n.top||n.bottom)?n.top?e.top(n.top):e.bottom(n.bottom):e.centerVertically(),this._overlayRef.updatePosition(),this}updateSize(n="",e=""){return this._overlayRef.updateSize({width:n,height:e}),this._overlayRef.updatePosition(),this}addPanelClass(n){return this._overlayRef.addPanelClass(n),this}removePanelClass(n){return this._overlayRef.removePanelClass(n),this}getState(){return this._state}_finishDialogClose(){this._state=2,this._overlayRef.dispose()}_getPositionStrategy(){return this._overlayRef.getConfig().positionStrategy}}function SS(t,n,e){return void 0!==t._containerInstance&&(t._containerInstance._closeInteractionType=n),t.close(e)}const Eo=new j("MatDialogData"),xH=new j("mat-dialog-default-options"),MS=new j("mat-dialog-scroll-strategy"),NH={provide:MS,deps:[wo],useFactory:function OH(t){return()=>t.scrollStrategies.block()}};let kH=(()=>{class t{constructor(e,i,o,s,r,a,u,p,f,g){this._overlay=e,this._injector=i,this._defaultOptions=o,this._parentDialog=s,this._overlayContainer=r,this._dialogRefConstructor=u,this._dialogContainerType=p,this._dialogDataToken=f,this._openDialogsAtThisLevel=[],this._afterAllClosedAtThisLevel=new $,this._afterOpenedAtThisLevel=new $,this._ariaHiddenElements=new Map,this.afterAllClosed=Td(()=>this.openDialogs.length?this._getAfterAllClosed():this._getAfterAllClosed().pipe(gn(void 0))),this._scrollStrategy=a}get openDialogs(){return this._parentDialog?this._parentDialog.openDialogs:this._openDialogsAtThisLevel}get afterOpened(){return this._parentDialog?this._parentDialog.afterOpened:this._afterOpenedAtThisLevel}_getAfterAllClosed(){const e=this._parentDialog;return e?e._getAfterAllClosed():this._afterAllClosedAtThisLevel}open(e,i){i=function RH(t,n){return Object.assign(Object.assign({},n),t)}(i,this._defaultOptions||new o0),i.id&&this.getDialogById(i.id);const o=this._createOverlay(i),s=this._attachDialogContainer(o,i),r=this._attachDialogContent(e,s,o,i);return this.openDialogs.length||this._hideNonDialogContentFromAssistiveTechnology(),this.openDialogs.push(r),r.afterClosed().subscribe(()=>this._removeOpenDialog(r)),this.afterOpened.next(r),s._initializeWithAttachedContent(),r}closeAll(){this._closeDialogs(this.openDialogs)}getDialogById(e){return this.openDialogs.find(i=>i.id===e)}ngOnDestroy(){this._closeDialogs(this._openDialogsAtThisLevel),this._afterAllClosedAtThisLevel.complete(),this._afterOpenedAtThisLevel.complete()}_createOverlay(e){const i=this._getOverlayConfig(e);return this._overlay.create(i)}_getOverlayConfig(e){const i=new Ih({positionStrategy:this._overlay.position().global(),scrollStrategy:e.scrollStrategy||this._scrollStrategy(),panelClass:e.panelClass,hasBackdrop:e.hasBackdrop,direction:e.direction,minWidth:e.minWidth,minHeight:e.minHeight,maxWidth:e.maxWidth,maxHeight:e.maxHeight,disposeOnNavigation:e.closeOnNavigation});return e.backdropClass&&(i.backdropClass=e.backdropClass),i}_attachDialogContainer(e,i){const s=yt.create({parent:i&&i.viewContainerRef&&i.viewContainerRef.injector||this._injector,providers:[{provide:o0,useValue:i}]}),r=new ah(this._dialogContainerType,i.viewContainerRef,s,i.componentFactoryResolver);return e.attach(r).instance}_attachDialogContent(e,i,o,s){const r=new this._dialogRefConstructor(o,i,s.id);if(e instanceof ce)i.attachTemplatePortal(new hc(e,null,{$implicit:s.data,dialogRef:r}));else{const a=this._createInjector(s,r,i),u=i.attachComponentPortal(new ah(e,s.viewContainerRef,a,s.componentFactoryResolver));r.componentInstance=u.instance}return r.updateSize(s.width,s.height).updatePosition(s.position),r}_createInjector(e,i,o){const s=e&&e.viewContainerRef&&e.viewContainerRef.injector,r=[{provide:this._dialogContainerType,useValue:o},{provide:this._dialogDataToken,useValue:e.data},{provide:this._dialogRefConstructor,useValue:i}];return e.direction&&(!s||!s.get($n,null,De.Optional))&&r.push({provide:$n,useValue:{value:e.direction,change:ne()}}),yt.create({parent:s||this._injector,providers:r})}_removeOpenDialog(e){const i=this.openDialogs.indexOf(e);i>-1&&(this.openDialogs.splice(i,1),this.openDialogs.length||(this._ariaHiddenElements.forEach((o,s)=>{o?s.setAttribute("aria-hidden",o):s.removeAttribute("aria-hidden")}),this._ariaHiddenElements.clear(),this._getAfterAllClosed().next()))}_hideNonDialogContentFromAssistiveTechnology(){const e=this._overlayContainer.getContainerElement();if(e.parentElement){const i=e.parentElement.children;for(let o=i.length-1;o>-1;o--){let s=i[o];s!==e&&"SCRIPT"!==s.nodeName&&"STYLE"!==s.nodeName&&!s.hasAttribute("aria-live")&&(this._ariaHiddenElements.set(s,s.getAttribute("aria-hidden")),s.setAttribute("aria-hidden","true"))}}}_closeDialogs(e){let i=e.length;for(;i--;)e[i].close()}}return t.\u0275fac=function(e){zs()},t.\u0275dir=x({type:t}),t})(),ui=(()=>{class t extends kH{constructor(e,i,o,s,r,a,u,p){super(e,i,s,a,u,r,Do,IH,Eo,p)}}return t.\u0275fac=function(e){return new(e||t)(M(wo),M(yt),M(Ea,8),M(xH,8),M(MS),M(t,12),M(t0),M(On,8))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),FH=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({providers:[ui,NH],imports:[[Ah,lh,_t],_t]}),t})();const IS=["toast-component",""];function PH(t,n){if(1&t){const e=Ae();l(0,"button",5),D("click",function(){return re(e),I().remove()}),l(1,"span",6),d(2,"\xd7"),c()()}}function LH(t,n){if(1&t&&(de(0),d(1),he()),2&t){const e=I(2);m(1),U("[",e.duplicatesCount+1,"]")}}function BH(t,n){if(1&t&&(l(0,"div"),d(1),C(2,LH,2,1,"ng-container",4),c()),2&t){const e=I();ln(e.options.titleClass),ae("aria-label",e.title),m(1),U(" ",e.title," "),m(1),v("ngIf",e.duplicatesCount)}}function VH(t,n){if(1&t&&h(0,"div",7),2&t){const e=I();ln(e.options.messageClass),v("innerHTML",e.message,_l)}}function jH(t,n){if(1&t&&(l(0,"div",8),d(1),c()),2&t){const e=I();ln(e.options.messageClass),ae("aria-label",e.message),m(1),U(" ",e.message," ")}}function HH(t,n){if(1&t&&(l(0,"div"),h(1,"div",9),c()),2&t){const e=I();m(1),Gn("width",e.width+"%")}}function UH(t,n){if(1&t){const e=Ae();l(0,"button",5),D("click",function(){return re(e),I().remove()}),l(1,"span",6),d(2,"\xd7"),c()()}}function GH(t,n){if(1&t&&(de(0),d(1),he()),2&t){const e=I(2);m(1),U("[",e.duplicatesCount+1,"]")}}function zH(t,n){if(1&t&&(l(0,"div"),d(1),C(2,GH,2,1,"ng-container",4),c()),2&t){const e=I();ln(e.options.titleClass),ae("aria-label",e.title),m(1),U(" ",e.title," "),m(1),v("ngIf",e.duplicatesCount)}}function qH(t,n){if(1&t&&h(0,"div",7),2&t){const e=I();ln(e.options.messageClass),v("innerHTML",e.message,_l)}}function $H(t,n){if(1&t&&(l(0,"div",8),d(1),c()),2&t){const e=I();ln(e.options.messageClass),ae("aria-label",e.message),m(1),U(" ",e.message," ")}}function WH(t,n){if(1&t&&(l(0,"div"),h(1,"div",9),c()),2&t){const e=I();m(1),Gn("width",e.width+"%")}}class YH{constructor(n,e){this.component=n,this.injector=e}attach(n,e){return this._attachedHost=n,n.attach(this,e)}detach(){const n=this._attachedHost;if(n)return this._attachedHost=void 0,n.detach()}get isAttached(){return null!=this._attachedHost}setAttachedHost(n){this._attachedHost=n}}class Fh{constructor(n,e,i,o,s,r){this.toastId=n,this.config=e,this.message=i,this.title=o,this.toastType=s,this.toastRef=r,this._onTap=new $,this._onAction=new $,this.toastRef.afterClosed().subscribe(()=>{this._onAction.complete(),this._onTap.complete()})}triggerTap(){this._onTap.next(),this.config.tapToDismiss&&this._onTap.complete()}onTap(){return this._onTap.asObservable()}triggerAction(n){this._onAction.next(n)}onAction(){return this._onAction.asObservable()}}const AS={maxOpened:0,autoDismiss:!1,newestOnTop:!0,preventDuplicates:!1,countDuplicates:!1,resetTimeoutOnDuplicate:!1,includeTitleDuplicates:!1,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},closeButton:!1,disableTimeOut:!1,timeOut:5e3,extendedTimeOut:1e3,enableHtml:!1,progressBar:!1,toastClass:"ngx-toastr",positionClass:"toast-top-right",titleClass:"toast-title",messageClass:"toast-message",easing:"ease-in",easeTime:300,tapToDismiss:!0,onActivateTick:!1,progressAnimation:"decreasing",payload:null},xS=new j("ToastConfig");class KH{constructor(n){this._overlayRef=n,this.duplicatesCount=0,this._afterClosed=new $,this._activate=new $,this._manualClose=new $,this._resetTimeout=new $,this._countDuplicate=new $}manualClose(){this._manualClose.next(),this._manualClose.complete()}manualClosed(){return this._manualClose.asObservable()}timeoutReset(){return this._resetTimeout.asObservable()}countDuplicate(){return this._countDuplicate.asObservable()}close(){this._overlayRef.detach(),this._afterClosed.next(),this._manualClose.next(),this._afterClosed.complete(),this._manualClose.complete(),this._activate.complete(),this._resetTimeout.complete(),this._countDuplicate.complete()}afterClosed(){return this._afterClosed.asObservable()}isInactive(){return this._activate.isStopped}activate(){this._activate.next(),this._activate.complete()}afterActivate(){return this._activate.asObservable()}onDuplicate(n,e){n&&this._resetTimeout.next(),e&&this._countDuplicate.next(++this.duplicatesCount)}}class ZH{constructor(n,e){this._toastPackage=n,this._parentInjector=e}get(n,e,i){return n===Fh?this._toastPackage:this._parentInjector.get(n,e,i)}}class JH extends class QH{attach(n,e){return this._attachedPortal=n,this.attachComponentPortal(n,e)}detach(){this._attachedPortal&&this._attachedPortal.setAttachedHost(),this._attachedPortal=void 0,this._disposeFn&&(this._disposeFn(),this._disposeFn=void 0)}setDisposeFn(n){this._disposeFn=n}}{constructor(n,e,i){super(),this._hostDomElement=n,this._componentFactoryResolver=e,this._appRef=i}attachComponentPortal(n,e){const i=this._componentFactoryResolver.resolveComponentFactory(n.component);let o;return o=i.create(n.injector),this._appRef.attachView(o.hostView),this.setDisposeFn(()=>{this._appRef.detachView(o.hostView),o.destroy()}),e?this._hostDomElement.insertBefore(this._getComponentRootNode(o),this._hostDomElement.firstChild):this._hostDomElement.appendChild(this._getComponentRootNode(o)),o}_getComponentRootNode(n){return n.hostView.rootNodes[0]}}class XH{constructor(n){this._portalHost=n}attach(n,e=!0){return this._portalHost.attach(n,e)}detach(){return this._portalHost.detach()}}let eU=(()=>{class t{constructor(e){this._document=e}ngOnDestroy(){this._containerElement&&this._containerElement.parentNode&&this._containerElement.parentNode.removeChild(this._containerElement)}getContainerElement(){return this._containerElement||this._createContainer(),this._containerElement}_createContainer(){const e=this._document.createElement("div");e.classList.add("overlay-container"),e.setAttribute("aria-live","polite"),this._document.body.appendChild(e),this._containerElement=e}}return t.\u0275fac=function(e){return new(e||t)(M(ve))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),tU=(()=>{class t{constructor(e,i,o,s){this._overlayContainer=e,this._componentFactoryResolver=i,this._appRef=o,this._document=s,this._paneElements=new Map}create(e,i){return this._createOverlayRef(this.getPaneElement(e,i))}getPaneElement(e="",i){return this._paneElements.get(i)||this._paneElements.set(i,{}),this._paneElements.get(i)[e]||(this._paneElements.get(i)[e]=this._createPaneElement(e,i)),this._paneElements.get(i)[e]}_createPaneElement(e,i){const o=this._document.createElement("div");return o.id="toast-container",o.classList.add(e),o.classList.add("toast-container"),i?i.getContainerElement().appendChild(o):this._overlayContainer.getContainerElement().appendChild(o),o}_createPortalHost(e){return new JH(e,this._componentFactoryResolver,this._appRef)}_createOverlayRef(e){return new XH(this._createPortalHost(e))}}return t.\u0275fac=function(e){return new(e||t)(M(eU),M(po),M(Ks),M(ve))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Re=(()=>{class t{constructor(e,i,o,s,r){this.overlay=i,this._injector=o,this.sanitizer=s,this.ngZone=r,this.currentlyActive=0,this.toasts=[],this.index=0,this.toastrConfig=Object.assign(Object.assign({},e.default),e.config),e.config.iconClasses&&(this.toastrConfig.iconClasses=Object.assign(Object.assign({},e.default.iconClasses),e.config.iconClasses))}show(e,i,o={},s=""){return this._preBuildNotification(s,e,i,this.applyConfig(o))}success(e,i,o={}){return this._preBuildNotification(this.toastrConfig.iconClasses.success||"",e,i,this.applyConfig(o))}error(e,i,o={}){return this._preBuildNotification(this.toastrConfig.iconClasses.error||"",e,i,this.applyConfig(o))}info(e,i,o={}){return this._preBuildNotification(this.toastrConfig.iconClasses.info||"",e,i,this.applyConfig(o))}warning(e,i,o={}){return this._preBuildNotification(this.toastrConfig.iconClasses.warning||"",e,i,this.applyConfig(o))}clear(e){for(const i of this.toasts)if(void 0!==e){if(i.toastId===e)return void i.toastRef.manualClose()}else i.toastRef.manualClose()}remove(e){const i=this._findToast(e);if(!i||(i.activeToast.toastRef.close(),this.toasts.splice(i.index,1),this.currentlyActive=this.currentlyActive-1,!this.toastrConfig.maxOpened||!this.toasts.length))return!1;if(this.currentlyActivethis._buildNotification(e,i,o,s)):this._buildNotification(e,i,o,s)}_buildNotification(e,i,o,s){if(!s.toastComponent)throw new Error("toastComponent required");const r=this.findDuplicate(o,i,this.toastrConfig.resetTimeoutOnDuplicate&&s.timeOut>0,this.toastrConfig.countDuplicates);if((this.toastrConfig.includeTitleDuplicates&&o||i)&&this.toastrConfig.preventDuplicates&&null!==r)return r;this.previousToastMessage=i;let a=!1;this.toastrConfig.maxOpened&&this.currentlyActive>=this.toastrConfig.maxOpened&&(a=!0,this.toastrConfig.autoDismiss&&this.clear(this.toasts[0].toastId));const u=this.overlay.create(s.positionClass,this.overlayContainer);this.index=this.index+1;let p=i;i&&s.enableHtml&&(p=this.sanitizer.sanitize(Ze.HTML,i));const f=new KH(u),g=new Fh(this.index,s,p,o,e,f),b=new ZH(g,this._injector),y=new YH(s.toastComponent,b),w=u.attach(y,this.toastrConfig.newestOnTop);f.componentInstance=w.instance;const E={toastId:this.index,title:o||"",message:i||"",toastRef:f,onShown:f.afterActivate(),onHidden:f.afterClosed(),onTap:g.onTap(),onAction:g.onAction(),portal:w};return a||(this.currentlyActive=this.currentlyActive+1,setTimeout(()=>{E.toastRef.activate()})),this.toasts.push(E),E}}return t.\u0275fac=function(e){return new(e||t)(M(xS),M(tU),M(yt),M(Wl),M(se))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),nU=(()=>{class t{constructor(e,i,o){this.toastrService=e,this.toastPackage=i,this.ngZone=o,this.width=-1,this.toastClasses="",this.state={value:"inactive",params:{easeTime:this.toastPackage.config.easeTime,easing:"ease-in"}},this.message=i.message,this.title=i.title,this.options=i.config,this.originalTimeout=i.config.timeOut,this.toastClasses=`${i.toastType} ${i.config.toastClass}`,this.sub=i.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=i.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=i.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=i.toastRef.countDuplicate().subscribe(s=>{this.duplicatesCount=s})}get displayStyle(){if("inactive"===this.state.value)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state=Object.assign(Object.assign({},this.state),{value:"active"}),!0!==this.options.disableTimeOut&&"timeOut"!==this.options.disableTimeOut&&this.options.timeOut&&(this.outsideTimeout(()=>this.remove(),this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state=Object.assign(Object.assign({},this.state),{value:"active"}),this.outsideTimeout(()=>this.remove(),this.originalTimeout),this.options.timeOut=this.originalTimeout,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10)}remove(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.state=Object.assign(Object.assign({},this.state),{value:"removed"}),this.outsideTimeout(()=>this.toastrService.remove(this.toastPackage.toastId),+this.toastPackage.config.easeTime))}tapToast(){"removed"!==this.state.value&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state.value&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state.value||(this.outsideTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&this.outsideInterval(()=>this.updateProgress(),10))}outsideTimeout(e,i){this.ngZone?this.ngZone.runOutsideAngular(()=>this.timeout=setTimeout(()=>this.runInsideAngular(e),i)):this.timeout=setTimeout(()=>e(),i)}outsideInterval(e,i){this.ngZone?this.ngZone.runOutsideAngular(()=>this.intervalId=setInterval(()=>this.runInsideAngular(e),i)):this.intervalId=setInterval(()=>e(),i)}runInsideAngular(e){this.ngZone?this.ngZone.run(()=>e()):e()}}return t.\u0275fac=function(e){return new(e||t)(_(Re),_(Fh),_(se))},t.\u0275cmp=N({type:t,selectors:[["","toast-component",""]],hostVars:5,hostBindings:function(e,i){1&e&&D("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),2&e&&(Ku("@flyInOut",i.state),ln(i.toastClasses),Gn("display",i.displayStyle))},attrs:IS,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(e,i){1&e&&(C(0,PH,3,0,"button",0),C(1,BH,3,5,"div",1),C(2,VH,1,3,"div",2),C(3,jH,2,4,"div",3),C(4,HH,2,2,"div",4)),2&e&&(v("ngIf",i.options.closeButton),m(1),v("ngIf",i.title),m(1),v("ngIf",i.message&&i.options.enableHtml),m(1),v("ngIf",i.message&&!i.options.enableHtml),m(1),v("ngIf",i.options.progressBar))},directives:[Ye],encapsulation:2,data:{animation:[Wi("flyInOut",[en("inactive",$e({opacity:0})),en("active",$e({opacity:1})),en("removed",$e({opacity:0})),_n("inactive => active",En("{{ easeTime }}ms {{ easing }}")),_n("active => removed",En("{{ easeTime }}ms {{ easing }}"))])]}}),t})();const iU=Object.assign(Object.assign({},AS),{toastComponent:nU});let oU=(()=>{class t{static forRoot(e={}){return{ngModule:t,providers:[{provide:xS,useValue:{default:iU,config:e}}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it]]}),t})(),sU=(()=>{class t{constructor(e,i,o){this.toastrService=e,this.toastPackage=i,this.appRef=o,this.width=-1,this.toastClasses="",this.state="inactive",this.message=i.message,this.title=i.title,this.options=i.config,this.originalTimeout=i.config.timeOut,this.toastClasses=`${i.toastType} ${i.config.toastClass}`,this.sub=i.toastRef.afterActivate().subscribe(()=>{this.activateToast()}),this.sub1=i.toastRef.manualClosed().subscribe(()=>{this.remove()}),this.sub2=i.toastRef.timeoutReset().subscribe(()=>{this.resetTimeout()}),this.sub3=i.toastRef.countDuplicate().subscribe(s=>{this.duplicatesCount=s})}get displayStyle(){if("inactive"===this.state)return"none"}ngOnDestroy(){this.sub.unsubscribe(),this.sub1.unsubscribe(),this.sub2.unsubscribe(),this.sub3.unsubscribe(),clearInterval(this.intervalId),clearTimeout(this.timeout)}activateToast(){this.state="active",!(!0===this.options.disableTimeOut||"timeOut"===this.options.disableTimeOut)&&this.options.timeOut&&(this.timeout=setTimeout(()=>{this.remove()},this.options.timeOut),this.hideTime=(new Date).getTime()+this.options.timeOut,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))),this.options.onActivateTick&&this.appRef.tick()}updateProgress(){if(0===this.width||100===this.width||!this.options.timeOut)return;const e=(new Date).getTime();this.width=(this.hideTime-e)/this.options.timeOut*100,"increasing"===this.options.progressAnimation&&(this.width=100-this.width),this.width<=0&&(this.width=0),this.width>=100&&(this.width=100)}resetTimeout(){clearTimeout(this.timeout),clearInterval(this.intervalId),this.state="active",this.options.timeOut=this.originalTimeout,this.timeout=setTimeout(()=>this.remove(),this.originalTimeout),this.hideTime=(new Date).getTime()+(this.originalTimeout||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10))}remove(){"removed"!==this.state&&(clearTimeout(this.timeout),this.state="removed",this.timeout=setTimeout(()=>this.toastrService.remove(this.toastPackage.toastId)))}tapToast(){"removed"!==this.state&&(this.toastPackage.triggerTap(),this.options.tapToDismiss&&this.remove())}stickAround(){"removed"!==this.state&&(clearTimeout(this.timeout),this.options.timeOut=0,this.hideTime=0,clearInterval(this.intervalId),this.width=0)}delayedHideToast(){!0===this.options.disableTimeOut||"extendedTimeOut"===this.options.disableTimeOut||0===this.options.extendedTimeOut||"removed"===this.state||(this.timeout=setTimeout(()=>this.remove(),this.options.extendedTimeOut),this.options.timeOut=this.options.extendedTimeOut,this.hideTime=(new Date).getTime()+(this.options.timeOut||0),this.width=-1,this.options.progressBar&&(this.intervalId=setInterval(()=>this.updateProgress(),10)))}}return t.\u0275fac=function(e){return new(e||t)(_(Re),_(Fh),_(Ks))},t.\u0275cmp=N({type:t,selectors:[["","toast-component",""]],hostVars:4,hostBindings:function(e,i){1&e&&D("click",function(){return i.tapToast()})("mouseenter",function(){return i.stickAround()})("mouseleave",function(){return i.delayedHideToast()}),2&e&&(ln(i.toastClasses),Gn("display",i.displayStyle))},attrs:IS,decls:5,vars:5,consts:[["type","button","class","toast-close-button","aria-label","Close",3,"click",4,"ngIf"],[3,"class",4,"ngIf"],["role","alert",3,"class","innerHTML",4,"ngIf"],["role","alert",3,"class",4,"ngIf"],[4,"ngIf"],["type","button","aria-label","Close",1,"toast-close-button",3,"click"],["aria-hidden","true"],["role","alert",3,"innerHTML"],["role","alert"],[1,"toast-progress"]],template:function(e,i){1&e&&(C(0,UH,3,0,"button",0),C(1,zH,3,5,"div",1),C(2,qH,1,3,"div",2),C(3,$H,2,4,"div",3),C(4,WH,2,2,"div",4)),2&e&&(v("ngIf",i.options.closeButton),m(1),v("ngIf",i.title),m(1),v("ngIf",i.message&&i.options.enableHtml),m(1),v("ngIf",i.message&&!i.options.enableHtml),m(1),v("ngIf",i.options.progressBar))},directives:[Ye],encapsulation:2}),t})();Object.assign(Object.assign({},AS),{toastComponent:sU});let br=(()=>{class t{constructor(e){this.http=e,this.baseUrl="."}createfunciones(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/funciones/funciones_insert.php`,JSON.stringify(e)),this.resultado}editfunciones(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/funciones/funciones_update.php`,JSON.stringify(e)),this.resultado}deletefunciones(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/funciones/funciones_delete.php`,JSON.stringify(e)),this.resultado}getfunciones(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/funciones/funciones_get.php?token=${e}`),this.resultado}getfuncionesUsuario(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/funciones/funciones_get_usuario.php`,JSON.stringify(e)),this.resultado}getFuncionesNombradas(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/funciones/funciones_get_nombrada.php`,JSON.stringify(e)),this.resultado}}return t.\u0275fac=function(e){return new(e||t)(M(dn))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),rU=(()=>{class t{constructor(e){this.http=e,this.baseUrl="."}getOrganigrama(){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/organigrama/organigrama_get.php`),this.resultado}}return t.\u0275fac=function(e){return new(e||t)(M(dn))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function aU(t,n){if(1&t&&(l(0,"div",10)(1,"div",11),d(2),c(),h(3,"textarea",12),c()),2&t){const e=n.$implicit;m(2),U(" ",e.rol_fun," "),m(1),v("innerHTML",e.funciones_fun,_l)}}let lU=(()=>{class t{constructor(e,i,o,s,r,a,u){this.dialog=e,this._cookie=i,this._login=o,this.toastr=s,this.router=r,this._funciones=a,this._organigrama=u,this.token="",this.usuario={rol_fun:"",token:""},this.consutla="",this.pintarGerentes=""}ngOnInit(){this.listaFunciones=[],this.token=this._cookie.get("token"),this._login.getuserdata(this.token).subscribe(e=>{switch(this.usuario.rol_fun=e.data.rol_usu,this.usuario.token=this.token,console.log(this.usuario.rol_fun),"ADMIN"==this.usuario.rol_fun&&(this.consutla="SELECT * FROM funciones f",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i})),this.usuario.rol_fun){case"JUNTA DE ACCIONISTAS":this.consutla="SELECT * FROM funciones f where f.rol_fun != 'ADMIN'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"PRESIDENTE":this.consutla="SELECT * FROM funciones f where f.rol_fun != 'JUNTA DE ACCIONISTAS' AND f.rol_fun != 'ADMIN'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"CEO":this.consutla="SELECT * FROM funciones f where f.rol_fun != 'JUNTA DE ACCIONISTAS' and f.rol_fun != 'ADMIN' and f.rol_fun != 'PRESIDENTE'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"SUB GERENTE":this.consutla="SELECT * FROM funciones f where f.rol_fun != 'JUNTA DE ACCIONISTAS' and f.rol_fun != 'ADMIN' and f.rol_fun != 'PRESIDENTE' and f.rol_fun != 'CEO'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"ASISTENTE DE SUBGERENCIA":this.consutla="SELECT * FROM funciones f where f.rol_fun != 'JUNTA DE ACCIONISTAS' and f.rol_fun != 'ADMIN' and f.rol_fun != 'PRESIDENTE' and f.rol_fun != 'CEO' and f.rol_fun != 'SUB GERENTE'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"GERENTE ADMINISTRATIVO":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'GERENTE ADMINISTRATIVO' or f.rol_fun = 'ASISTENTE ADMINISTRATIVO'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"GERENTE ADMINISTRATIVO":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'ASISTENTE ADMINISTRATIVO'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"GERENTE MARKETING":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'GERENTE MARKETING' or f.rol_fun = 'JEFE DE COMUNICACION INTEGRAL' or f.rol_fun = 'DISE\xd1ADOR MULTIMEDIA' or f.rol_fun = 'DISE\xd1ADOR GRAFICO' or f.rol_fun = 'PRODUCTOR AUDIOVISUAL' or f.rol_fun = 'CONTENT MANAGER' or f.rol_fun = 'COMUNNITY MANAGER'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"JEFE DE COMUNICACION INTEGRAL":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'JEFE DE COMUNICACION INTEGRAL' or f.rol_fun = 'CONTENT MANAGER' or f.rol_fun = 'COMUNNITY MANAGER'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"influencers":case"delivery":default:break;case"CONTENT MANAGER":case"COMUNNITY MANAGER":case"DISE\xc3\x91ADOR MULTIMEDIA":case"PRODUCTOR AUDIOVISUAL":case"DISE\xc3\x91ADOR GRAFICO":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'CONTENT MANAGER' or f.rol_fun = 'DISE\xd1ADOR MULTIMEDIA' or f.rol_fun = 'PRODUCTOR AUDIOVISUAL' or f.rol_fun = 'DISE\xd1ADOR GRAFICO' or f.rol_fun = 'COMUNNITY MANAGER'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"GERENTE TALENTO HUMANO":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'GERENTE TALENTO HUMANO' or f.rol_fun = 'ANALISTA TALENTO HUMANO' or f.rol_fun = 'ASISTENTE TALENTO HUMANO' or f.rol_fun = 'AUXILIAR DE LIMPIEZA'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"ANALISTA TALENTO HUMANO":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'ANALISTA TALENTO HUMANO' or f.rol_fun = 'ASISTENTE TALENTO HUMANO' or f.rol_fun = 'ANALISTA E LEARNING'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"ASISTENTE TALENTO HUMANO":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'ASISTENTE TALENTO HUMANO' or f.rol_fun = 'ANALISTA E LEARNING'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"ANALISTA E LEARNING":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'ANALISTA E LEARNING' or f.rol_fun = 'ASISTENTE TALENTO HUMANO'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"AUXILIAR DE LIMPIEZA":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'AUXILIAR DE LIMPIEZA'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"JEFE DE TI":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'JEFE DE TI' or f.rol_fun = 'ASISTENTE DE TI'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"ANALISTA E LEARNING":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'ANALISTA E LEARNING'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"GERENTE LOGISTICA":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'GERENTE LOGISTICA' or f.rol_fun = 'ASISTENTE LOGISTICA'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"ASISTENTE LOGISTICA":case"ASISTENTE LOGISTICA":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'ASISTENTE LOGISTICA'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"PROVEEDORES":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'PROVEEDORES'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"GERENTE FRANQUICIAS":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'GERENTE FRANQUICIAS' or f.rol_fun = 'ASISTENTE DE FRANQUICIAS' or f.rol_fun = 'JEFE NACIONAL DE OPERACIONES' or f.rol_fun = 'SUPERVISORES ZONALES' or f.rol_fun = 'FRANQUICIADOS' or f.rol_fun = 'ARQUITECTO' or f.rol_fun = 'ADMINISTRADOR DE LOCAL' or f.rol_fun = 'POLIFUNCIONAL'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"JEFE NACIONAL DE OPERACIONES":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'JEFE NACIONAL DE OPERACIONES' or f.rol_fun = 'SUPERVISORES ZONALES' or f.rol_fun = 'ADMINISTRADOR DE LOCAL' or f.rol_fun = 'POLIFUNCIONAL'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"disenadorLocales":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'DISEADOR LOCALES'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"SUPERVISORES ZONALES":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'SUPERVISORES ZONALES' or f.rol_fun = 'ADMINISTRADOR DE LOCAL' or f.rol_fun = 'POLIFUNCIONAL'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"FRANQUICIADOS":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'FRANQUICIADOS' or f.rol_fun = 'ADMINISTRADOR DE LOCAL' or f.rol_fun = 'POLIFUNCIONAL'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"ADMINISTRADOR DE LOCAL":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'ADMINISTRADOR DE LOCAL' or f.rol_fun = 'POLIFUNCIONAL'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"POLIFUNCIONAL":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'POLIFUNCIONAL'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"ARQUITECTO":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'ARQUITECTO'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"GERENTE FINANCIERO":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'GERENTE FINANCIERO' or f.rol_fun = 'ASISTENTE DE IMPUESTOS' or f.rol_fun = 'TESORERA' or f.rol_fun = 'ASISTENTE DE AUDITORIA' or f.rol_fun = 'ASISTENTE DE NOMINA'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"ASISTENTE DE IMPUESTOS":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'ASISTENTE DE IMPUESTOS' or f.rol_fun = 'ASISTENTE DE AUDITORIA' or f.rol_fun = 'ASISTENTE DE NOMINA'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"TESORERA":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'TESORERA' or f.rol_fun = 'ASISTENTE DE AUDITORIA' or f.rol_fun = 'ASISTENTE DE NOMINA' or f.rol_fun = 'ASISTENTE DE IMPUESTOS'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"ASISTENTE DE AUDITORIA":case"ASISTENTE DE NOMINA":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'ASISTENTE DE AUDITORIA' or f.rol_fun = 'ASISTENTE DE NOMINA' or f.rol_fun = 'ASISTENTE DE IMPUESTOS'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i});break;case"ASISTENTE DE TI":this.consutla="SELECT * FROM funciones f where f.rol_fun = 'ASISTENTE DE TI'",this._funciones.getFuncionesNombradas(this.consutla).subscribe(i=>{this.listaFunciones=i})}})}loadArchivos(){this.dialog.open(TS,{width:"80%",height:"100%"}).afterClosed().subscribe(i=>{})}}return t.\u0275fac=function(e){return new(e||t)(_(ui),_(Ve),_(xn),_(Re),_(gt),_(br),_(rU))},t.\u0275cmp=N({type:t,selectors:[["app-dialoggeneral"]],decls:11,vars:1,consts:[[2,"width","98%","margin","1% 1%"],[1,"subtitulo"],[1,"row"],[1,"col-sm-11"],[1,"col-sm-1"],["title","Documentos"],["xmlns","http://www.w3.org/2000/svg","fill","#673d10","height","48","width","48",2,"cursor","pointer",3,"click"],["d","M28 19.3V16.9Q29.65 16.2 31.375 15.85Q33.1 15.5 35 15.5Q36.3 15.5 37.55 15.7Q38.8 15.9 40 16.2V18.4Q38.8 17.95 37.575 17.725Q36.35 17.5 35 17.5Q33.1 17.5 31.35 17.975Q29.6 18.45 28 19.3ZM28 30.3V27.85Q29.65 27.15 31.375 26.825Q33.1 26.5 35 26.5Q36.3 26.5 37.55 26.7Q38.8 26.9 40 27.2V29.4Q38.8 28.95 37.575 28.725Q36.35 28.5 35 28.5Q33.1 28.5 31.35 28.95Q29.6 29.4 28 30.3ZM28 24.8V22.4Q29.65 21.7 31.375 21.35Q33.1 21 35 21Q36.3 21 37.55 21.2Q38.8 21.4 40 21.7V23.9Q38.8 23.45 37.575 23.225Q36.35 23 35 23Q33.1 23 31.35 23.475Q29.6 23.95 28 24.8ZM12.4 33Q15.1 33 17.625 33.625Q20.15 34.25 22.6 35.5V14.15Q20.35 12.65 17.725 11.825Q15.1 11 12.4 11Q10.5 11 8.675 11.475Q6.85 11.95 5 12.65Q5 12.65 5 12.65Q5 12.65 5 12.65V34.35Q5 34.35 5 34.35Q5 34.35 5 34.35Q6.55 33.65 8.525 33.325Q10.5 33 12.4 33ZM25.6 35.5Q28.1 34.25 30.5 33.625Q32.9 33 35.6 33Q37.5 33 39.525 33.3Q41.55 33.6 43 34.1Q43 34.1 43 34.1Q43 34.1 43 34.1V12.65Q43 12.65 43 12.65Q43 12.65 43 12.65Q41.3 11.8 39.4 11.4Q37.5 11 35.6 11Q32.9 11 30.375 11.825Q27.85 12.65 25.6 14.15ZM24.1 40Q21.55 38.1 18.55 37.075Q15.55 36.05 12.4 36.05Q10.55 36.05 8.8 36.5Q7.05 36.95 5.3 37.6Q4.15 38.15 3.075 37.45Q2 36.75 2 35.45V12.3Q2 11.55 2.35 10.925Q2.7 10.3 3.4 9.95Q5.5 8.95 7.775 8.475Q10.05 8 12.4 8Q15.55 8 18.525 8.85Q21.5 9.7 24.1 11.45Q26.65 9.7 29.575 8.85Q32.5 8 35.6 8Q37.95 8 40.2 8.475Q42.45 8.95 44.55 9.95Q45.25 10.3 45.625 10.925Q46 11.55 46 12.3V35.45Q46 36.85 44.875 37.575Q43.75 38.3 42.65 37.6Q40.95 36.9 39.2 36.475Q37.45 36.05 35.6 36.05Q32.45 36.05 29.55 37.1Q26.65 38.15 24.1 40ZM13.8 23.55Q13.8 23.55 13.8 23.55Q13.8 23.55 13.8 23.55Q13.8 23.55 13.8 23.55Q13.8 23.55 13.8 23.55Q13.8 23.55 13.8 23.55Q13.8 23.55 13.8 23.55Q13.8 23.55 13.8 23.55Q13.8 23.55 13.8 23.55Q13.8 23.55 13.8 23.55Q13.8 23.55 13.8 23.55Q13.8 23.55 13.8 23.55Q13.8 23.55 13.8 23.55Z"],[2,"width","98%","height","100%","margin","0 auto","padding","20px"],["class","card",4,"ngFor","ngForOf"],[1,"card"],[1,"card_titulo"],[3,"innerHTML"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),d(4," Documentos "),c(),l(5,"div",4)(6,"span",5),R(),l(7,"svg",6),D("click",function(){return i.loadArchivos()}),h(8,"path",7),c()()()()(),q(),l(9,"div",8),C(10,aU,4,2,"div",9),c()()),2&e&&(m(10),v("ngForOf",i.listaFunciones))},directives:[qe],styles:[""]}),t})();const cU=["mat-button",""],uU=["*"],hU=["mat-button","mat-flat-button","mat-icon-button","mat-raised-button","mat-stroked-button","mat-mini-fab","mat-fab"],pU=_c(fr(vc(class{constructor(t){this._elementRef=t}})));let fU=(()=>{class t extends pU{constructor(e,i,o){super(e),this._focusMonitor=i,this._animationMode=o,this.isRoundButton=this._hasHostAttributes("mat-fab","mat-mini-fab"),this.isIconButton=this._hasHostAttributes("mat-icon-button");for(const s of hU)this._hasHostAttributes(s)&&this._getHostElement().classList.add(s);e.nativeElement.classList.add("mat-button-base"),this.isRoundButton&&(this.color="accent")}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}focus(e,i){e?this._focusMonitor.focusVia(this._getHostElement(),e,i):this._getHostElement().focus(i)}_getHostElement(){return this._elementRef.nativeElement}_isRippleDisabled(){return this.disableRipple||this.disabled}_hasHostAttributes(...e){return e.some(i=>this._getHostElement().hasAttribute(i))}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(cr),_(On,8))},t.\u0275cmp=N({type:t,selectors:[["button","mat-button",""],["button","mat-raised-button",""],["button","mat-icon-button",""],["button","mat-fab",""],["button","mat-mini-fab",""],["button","mat-stroked-button",""],["button","mat-flat-button",""]],viewQuery:function(e,i){if(1&e&&me(mr,5),2&e){let o;F(o=P())&&(i.ripple=o.first)}},hostAttrs:[1,"mat-focus-indicator"],hostVars:5,hostBindings:function(e,i){2&e&&(ae("disabled",i.disabled||null),oe("_mat-animation-noopable","NoopAnimations"===i._animationMode)("mat-button-disabled",i.disabled))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color"},exportAs:["matButton"],features:[G],attrs:cU,ngContentSelectors:uU,decls:4,vars:5,consts:[[1,"mat-button-wrapper"],["matRipple","",1,"mat-button-ripple",3,"matRippleDisabled","matRippleCentered","matRippleTrigger"],[1,"mat-button-focus-overlay"]],template:function(e,i){1&e&&(rn(),l(0,"span",0),nt(1),c(),h(2,"span",1)(3,"span",2)),2&e&&(m(2),oe("mat-button-ripple-round",i.isRoundButton||i.isIconButton),v("matRippleDisabled",i._isRippleDisabled())("matRippleCentered",i.isIconButton)("matRippleTrigger",i._getHostElement()))},directives:[mr],styles:[".mat-button .mat-button-focus-overlay,.mat-icon-button .mat-button-focus-overlay{opacity:0}.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:.04}@media(hover: none){.mat-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay,.mat-stroked-button:hover:not(.mat-button-disabled) .mat-button-focus-overlay{opacity:0}}.mat-button,.mat-icon-button,.mat-stroked-button,.mat-flat-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-button.mat-button-disabled,.mat-icon-button.mat-button-disabled,.mat-stroked-button.mat-button-disabled,.mat-flat-button.mat-button-disabled{cursor:default}.mat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-button.cdk-program-focused .mat-button-focus-overlay,.mat-icon-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-icon-button.cdk-program-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-stroked-button.cdk-program-focused .mat-button-focus-overlay,.mat-flat-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-flat-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-button::-moz-focus-inner,.mat-icon-button::-moz-focus-inner,.mat-stroked-button::-moz-focus-inner,.mat-flat-button::-moz-focus-inner{border:0}.mat-raised-button{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1)}.mat-raised-button::-moz-focus-inner{border:0}.mat-raised-button.mat-button-disabled{cursor:default}.mat-raised-button.cdk-keyboard-focused .mat-button-focus-overlay,.mat-raised-button.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-raised-button::-moz-focus-inner{border:0}._mat-animation-noopable.mat-raised-button{transition:none;animation:none}.mat-stroked-button{border:1px solid currentColor;padding:0 15px;line-height:34px}.mat-stroked-button .mat-button-ripple.mat-ripple,.mat-stroked-button .mat-button-focus-overlay{top:-1px;left:-1px;right:-1px;bottom:-1px}.mat-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-fab::-moz-focus-inner{border:0}.mat-fab.mat-button-disabled{cursor:default}.mat-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-fab{transition:none;animation:none}.mat-fab .mat-button-wrapper{padding:16px 0;display:inline-block;line-height:24px}.mat-mini-fab{box-sizing:border-box;position:relative;-webkit-user-select:none;user-select:none;cursor:pointer;outline:none;border:none;-webkit-tap-highlight-color:transparent;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;text-align:center;margin:0;min-width:64px;line-height:36px;padding:0 16px;border-radius:4px;overflow:visible;transform:translate3d(0, 0, 0);transition:background 400ms cubic-bezier(0.25, 0.8, 0.25, 1),box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);min-width:0;border-radius:50%;width:40px;height:40px;padding:0;flex-shrink:0}.mat-mini-fab::-moz-focus-inner{border:0}.mat-mini-fab.mat-button-disabled{cursor:default}.mat-mini-fab.cdk-keyboard-focused .mat-button-focus-overlay,.mat-mini-fab.cdk-program-focused .mat-button-focus-overlay{opacity:.12}.mat-mini-fab::-moz-focus-inner{border:0}._mat-animation-noopable.mat-mini-fab{transition:none;animation:none}.mat-mini-fab .mat-button-wrapper{padding:8px 0;display:inline-block;line-height:24px}.mat-icon-button{padding:0;min-width:0;width:40px;height:40px;flex-shrink:0;line-height:40px;border-radius:50%}.mat-icon-button i,.mat-icon-button .mat-icon{line-height:24px}.mat-button-ripple.mat-ripple,.mat-button-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:inherit}.mat-button-ripple.mat-ripple:not(:empty){transform:translateZ(0)}.mat-button-focus-overlay{opacity:0;transition:opacity 200ms cubic-bezier(0.35, 0, 0.25, 1),background-color 200ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-button-focus-overlay{transition:none}.mat-button-ripple-round{border-radius:50%;z-index:1}.mat-button .mat-button-wrapper>*,.mat-flat-button .mat-button-wrapper>*,.mat-stroked-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-fab .mat-button-wrapper>*,.mat-mini-fab .mat-button-wrapper>*{vertical-align:middle}.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-prefix .mat-icon-button,.mat-form-field:not(.mat-form-field-appearance-legacy) .mat-form-field-suffix .mat-icon-button{display:inline-flex;justify-content:center;align-items:center;font-size:inherit;width:2.5em;height:2.5em}.cdk-high-contrast-active .mat-button,.cdk-high-contrast-active .mat-flat-button,.cdk-high-contrast-active .mat-raised-button,.cdk-high-contrast-active .mat-icon-button,.cdk-high-contrast-active .mat-fab,.cdk-high-contrast-active .mat-mini-fab{outline:solid 1px}.cdk-high-contrast-active .mat-button-base.cdk-keyboard-focused,.cdk-high-contrast-active .mat-button-base.cdk-program-focused{outline:solid 3px}\n"],encapsulation:2,changeDetection:0}),t})(),mU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[yc,_t],_t]}),t})();const gU=["connectionContainer"],_U=["inputContainer"],vU=["label"];function bU(t,n){1&t&&(de(0),l(1,"div",14),h(2,"div",15)(3,"div",16)(4,"div",17),c(),l(5,"div",18),h(6,"div",15)(7,"div",16)(8,"div",17),c(),he())}function yU(t,n){if(1&t){const e=Ae();l(0,"div",19),D("cdkObserveContent",function(){return re(e),I().updateOutlineGap()}),nt(1,1),c()}2&t&&v("cdkObserveContentDisabled","outline"!=I().appearance)}function CU(t,n){if(1&t&&(de(0),nt(1,2),l(2,"span"),d(3),c(),he()),2&t){const e=I(2);m(3),le(e._control.placeholder)}}function wU(t,n){1&t&&nt(0,3,["*ngSwitchCase","true"])}function DU(t,n){1&t&&(l(0,"span",23),d(1," *"),c())}function EU(t,n){if(1&t){const e=Ae();l(0,"label",20,21),D("cdkObserveContent",function(){return re(e),I().updateOutlineGap()}),C(2,CU,4,1,"ng-container",12),C(3,wU,1,0,"ng-content",12),C(4,DU,2,0,"span",22),c()}if(2&t){const e=I();oe("mat-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-form-field-empty",e._control.empty&&!e._shouldAlwaysFloat())("mat-accent","accent"==e.color)("mat-warn","warn"==e.color),v("cdkObserveContentDisabled","outline"!=e.appearance)("id",e._labelId)("ngSwitch",e._hasLabel()),ae("for",e._control.id)("aria-owns",e._control.id),m(2),v("ngSwitchCase",!1),m(1),v("ngSwitchCase",!0),m(1),v("ngIf",!e.hideRequiredMarker&&e._control.required&&!e._control.disabled)}}function TU(t,n){1&t&&(l(0,"div",24),nt(1,4),c())}function SU(t,n){if(1&t&&(l(0,"div",25),h(1,"span",26),c()),2&t){const e=I();m(1),oe("mat-accent","accent"==e.color)("mat-warn","warn"==e.color)}}function MU(t,n){1&t&&(l(0,"div"),nt(1,5),c()),2&t&&v("@transitionMessages",I()._subscriptAnimationState)}function IU(t,n){if(1&t&&(l(0,"div",30),d(1),c()),2&t){const e=I(2);v("id",e._hintLabelId),m(1),le(e.hintLabel)}}function AU(t,n){if(1&t&&(l(0,"div",27),C(1,IU,2,2,"div",28),nt(2,6),h(3,"div",29),nt(4,7),c()),2&t){const e=I();v("@transitionMessages",e._subscriptAnimationState),m(1),v("ngIf",e.hintLabel)}}const xU=["*",[["","matPrefix",""]],[["mat-placeholder"]],[["mat-label"]],[["","matSuffix",""]],[["mat-error"]],[["mat-hint",3,"align","end"]],[["mat-hint","align","end"]]],OU=["*","[matPrefix]","mat-placeholder","mat-label","[matSuffix]","mat-error","mat-hint:not([align='end'])","mat-hint[align='end']"],NU=new j("MatError"),kU={transitionMessages:Wi("transitionMessages",[en("enter",$e({opacity:1,transform:"translateY(0%)"})),_n("void => enter",[$e({opacity:0,transform:"translateY(-5px)"}),En("300ms cubic-bezier(0.55, 0, 0.55, 0.2)")])])};let Ph=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=x({type:t}),t})();const RU=new j("MatHint");let di=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=x({type:t,selectors:[["mat-label"]]}),t})(),FU=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=x({type:t,selectors:[["mat-placeholder"]]}),t})();const PU=new j("MatPrefix"),OS=new j("MatSuffix");let Lh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=x({type:t,selectors:[["","matSuffix",""]],features:[fe([{provide:OS,useExisting:t}])]}),t})(),NS=0;const BU=_c(class{constructor(t){this._elementRef=t}},"primary"),VU=new j("MAT_FORM_FIELD_DEFAULT_OPTIONS"),s0=new j("MatFormField");let xi=(()=>{class t extends BU{constructor(e,i,o,s,r,a,u){super(e),this._changeDetectorRef=i,this._dir=o,this._defaults=s,this._platform=r,this._ngZone=a,this._outlineGapCalculationNeededImmediately=!1,this._outlineGapCalculationNeededOnStable=!1,this._destroyed=new $,this._showAlwaysAnimate=!1,this._subscriptAnimationState="",this._hintLabel="",this._hintLabelId="mat-hint-"+NS++,this._labelId="mat-form-field-label-"+NS++,this.floatLabel=this._getDefaultFloatLabelState(),this._animationsEnabled="NoopAnimations"!==u,this.appearance=s&&s.appearance?s.appearance:"legacy",this._hideRequiredMarker=!(!s||null==s.hideRequiredMarker)&&s.hideRequiredMarker}get appearance(){return this._appearance}set appearance(e){const i=this._appearance;this._appearance=e||this._defaults&&this._defaults.appearance||"legacy","outline"===this._appearance&&i!==e&&(this._outlineGapCalculationNeededOnStable=!0)}get hideRequiredMarker(){return this._hideRequiredMarker}set hideRequiredMarker(e){this._hideRequiredMarker=ot(e)}_shouldAlwaysFloat(){return"always"===this.floatLabel&&!this._showAlwaysAnimate}_canLabelFloat(){return"never"!==this.floatLabel}get hintLabel(){return this._hintLabel}set hintLabel(e){this._hintLabel=e,this._processHints()}get floatLabel(){return"legacy"!==this.appearance&&"never"===this._floatLabel?"auto":this._floatLabel}set floatLabel(e){e!==this._floatLabel&&(this._floatLabel=e||this._getDefaultFloatLabelState(),this._changeDetectorRef.markForCheck())}get _control(){return this._explicitFormFieldControl||this._controlNonStatic||this._controlStatic}set _control(e){this._explicitFormFieldControl=e}getLabelId(){return this._hasFloatingLabel()?this._labelId:null}getConnectedOverlayOrigin(){return this._connectionContainerRef||this._elementRef}ngAfterContentInit(){this._validateControlChild();const e=this._control;e.controlType&&this._elementRef.nativeElement.classList.add(`mat-form-field-type-${e.controlType}`),e.stateChanges.pipe(gn(null)).subscribe(()=>{this._validatePlaceholders(),this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),e.ngControl&&e.ngControl.valueChanges&&e.ngControl.valueChanges.pipe(ie(this._destroyed)).subscribe(()=>this._changeDetectorRef.markForCheck()),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.pipe(ie(this._destroyed)).subscribe(()=>{this._outlineGapCalculationNeededOnStable&&this.updateOutlineGap()})}),bn(this._prefixChildren.changes,this._suffixChildren.changes).subscribe(()=>{this._outlineGapCalculationNeededOnStable=!0,this._changeDetectorRef.markForCheck()}),this._hintChildren.changes.pipe(gn(null)).subscribe(()=>{this._processHints(),this._changeDetectorRef.markForCheck()}),this._errorChildren.changes.pipe(gn(null)).subscribe(()=>{this._syncDescribedByIds(),this._changeDetectorRef.markForCheck()}),this._dir&&this._dir.change.pipe(ie(this._destroyed)).subscribe(()=>{"function"==typeof requestAnimationFrame?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this.updateOutlineGap())}):this.updateOutlineGap()})}ngAfterContentChecked(){this._validateControlChild(),this._outlineGapCalculationNeededImmediately&&this.updateOutlineGap()}ngAfterViewInit(){this._subscriptAnimationState="enter",this._changeDetectorRef.detectChanges()}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_shouldForward(e){const i=this._control?this._control.ngControl:null;return i&&i[e]}_hasPlaceholder(){return!!(this._control&&this._control.placeholder||this._placeholderChild)}_hasLabel(){return!(!this._labelChildNonStatic&&!this._labelChildStatic)}_shouldLabelFloat(){return this._canLabelFloat()&&(this._control&&this._control.shouldLabelFloat||this._shouldAlwaysFloat())}_hideControlPlaceholder(){return"legacy"===this.appearance&&!this._hasLabel()||this._hasLabel()&&!this._shouldLabelFloat()}_hasFloatingLabel(){return this._hasLabel()||"legacy"===this.appearance&&this._hasPlaceholder()}_getDisplayedMessages(){return this._errorChildren&&this._errorChildren.length>0&&this._control.errorState?"error":"hint"}_animateAndLockLabel(){this._hasFloatingLabel()&&this._canLabelFloat()&&(this._animationsEnabled&&this._label&&(this._showAlwaysAnimate=!0,Mt(this._label.nativeElement,"transitionend").pipe(ze(1)).subscribe(()=>{this._showAlwaysAnimate=!1})),this.floatLabel="always",this._changeDetectorRef.markForCheck())}_validatePlaceholders(){}_processHints(){this._validateHints(),this._syncDescribedByIds()}_validateHints(){}_getDefaultFloatLabelState(){return this._defaults&&this._defaults.floatLabel||"auto"}_syncDescribedByIds(){if(this._control){let e=[];if(this._control.userAriaDescribedBy&&"string"==typeof this._control.userAriaDescribedBy&&e.push(...this._control.userAriaDescribedBy.split(" ")),"hint"===this._getDisplayedMessages()){const i=this._hintChildren?this._hintChildren.find(s=>"start"===s.align):null,o=this._hintChildren?this._hintChildren.find(s=>"end"===s.align):null;i?e.push(i.id):this._hintLabel&&e.push(this._hintLabelId),o&&e.push(o.id)}else this._errorChildren&&e.push(...this._errorChildren.map(i=>i.id));this._control.setDescribedByIds(e)}}_validateControlChild(){}updateOutlineGap(){const e=this._label?this._label.nativeElement:null,i=this._connectionContainerRef.nativeElement,o=".mat-form-field-outline-start",s=".mat-form-field-outline-gap";if("outline"!==this.appearance||!this._platform.isBrowser)return;if(!e||!e.children.length||!e.textContent.trim()){const f=i.querySelectorAll(`${o}, ${s}`);for(let g=0;g0?.75*w+10:0}for(let f=0;f{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it,_t,eh],_t]}),t})();function a0(t){return t&&"function"==typeof t.connect}class RS{applyChanges(n,e,i,o,s){n.forEachOperation((r,a,u)=>{let p,f;if(null==r.previousIndex){const g=i(r,a,u);p=e.createEmbeddedView(g.templateRef,g.context,g.index),f=1}else null==u?(e.remove(a),f=3):(p=e.get(a),e.move(p,u),f=2);s&&s({context:null==p?void 0:p.context,operation:f,record:r})})}detach(){}}class HU{constructor(n=!1,e,i=!0){this._multiple=n,this._emitChanges=i,this._selection=new Set,this._deselectedToEmit=[],this._selectedToEmit=[],this.changed=new $,e&&e.length&&(n?e.forEach(o=>this._markSelected(o)):this._markSelected(e[0]),this._selectedToEmit.length=0)}get selected(){return this._selected||(this._selected=Array.from(this._selection.values())),this._selected}select(...n){this._verifyValueAssignment(n),n.forEach(e=>this._markSelected(e)),this._emitChangeEvent()}deselect(...n){this._verifyValueAssignment(n),n.forEach(e=>this._unmarkSelected(e)),this._emitChangeEvent()}toggle(n){this.isSelected(n)?this.deselect(n):this.select(n)}clear(){this._unmarkAll(),this._emitChangeEvent()}isSelected(n){return this._selection.has(n)}isEmpty(){return 0===this._selection.size}hasValue(){return!this.isEmpty()}sort(n){this._multiple&&this.selected&&this._selected.sort(n)}isMultipleSelection(){return this._multiple}_emitChangeEvent(){this._selected=null,(this._selectedToEmit.length||this._deselectedToEmit.length)&&(this.changed.next({source:this,added:this._selectedToEmit,removed:this._deselectedToEmit}),this._deselectedToEmit=[],this._selectedToEmit=[])}_markSelected(n){this.isSelected(n)||(this._multiple||this._unmarkAll(),this._selection.add(n),this._emitChanges&&this._selectedToEmit.push(n))}_unmarkSelected(n){this.isSelected(n)&&(this._selection.delete(n),this._emitChanges&&this._deselectedToEmit.push(n))}_unmarkAll(){this.isEmpty()||this._selection.forEach(n=>this._unmarkSelected(n))}_verifyValueAssignment(n){}}const Mc=new j("_ViewRepeater");let PS=(()=>{class t{constructor(e,i){this._renderer=e,this._elementRef=i,this.onChange=o=>{},this.onTouched=()=>{}}setProperty(e,i){this._renderer.setProperty(this._elementRef.nativeElement,e,i)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}}return t.\u0275fac=function(e){return new(e||t)(_(ai),_(K))},t.\u0275dir=x({type:t}),t})(),yr=(()=>{class t extends PS{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275dir=x({type:t,features:[G]}),t})();const Wn=new j("NgValueAccessor"),GU={provide:Wn,useExisting:Le(()=>wt),multi:!0},qU=new j("CompositionEventMode");let wt=(()=>{class t extends PS{constructor(e,i,o){super(e,i),this._compositionMode=o,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function zU(){const t=mo()?mo().getUserAgent():"";return/android (\d+)/.test(t.toLowerCase())}())}writeValue(e){this.setProperty("value",null==e?"":e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return t.\u0275fac=function(e){return new(e||t)(_(ai),_(K),_(qU,8))},t.\u0275dir=x({type:t,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,i){1&e&&D("input",function(s){return i._handleInput(s.target.value)})("blur",function(){return i.onTouched()})("compositionstart",function(){return i._compositionStart()})("compositionend",function(s){return i._compositionEnd(s.target.value)})},features:[fe([GU]),G]}),t})();function ws(t){return null==t||0===t.length}function BS(t){return null!=t&&"number"==typeof t.length}const Tn=new j("NgValidators"),Ds=new j("NgAsyncValidators"),$U=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class dt{static min(n){return function VS(t){return n=>{if(ws(n.value)||ws(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e{if(ws(n.value)||ws(t))return null;const e=parseFloat(n.value);return!isNaN(e)&&e>t?{max:{max:t,actual:n.value}}:null}}(n)}static required(n){return HS(n)}static requiredTrue(n){return function US(t){return!0===t.value?null:{required:!0}}(n)}static email(n){return function GS(t){return ws(t.value)||$U.test(t.value)?null:{email:!0}}(n)}static minLength(n){return function zS(t){return n=>ws(n.value)||!BS(n.value)?null:n.value.lengthBS(n.value)&&n.value.length>t?{maxlength:{requiredLength:t,actualLength:n.value.length}}:null}function $S(t){if(!t)return Bh;let n,e;return"string"==typeof t?(e="","^"!==t.charAt(0)&&(e+="^"),e+=t,"$"!==t.charAt(t.length-1)&&(e+="$"),n=new RegExp(e)):(e=t.toString(),n=t),i=>{if(ws(i.value))return null;const o=i.value;return n.test(o)?null:{pattern:{requiredPattern:e,actualValue:o}}}}function Bh(t){return null}function WS(t){return null!=t}function YS(t){const n=Ml(t)?nn(t):t;return Sm(n),n}function QS(t){let n={};return t.forEach(e=>{n=null!=e?Object.assign(Object.assign({},n),e):n}),0===Object.keys(n).length?null:n}function KS(t,n){return n.map(e=>e(t))}function ZS(t){return t.map(n=>function WU(t){return!t.validate}(n)?n:e=>n.validate(e))}function JS(t){if(!t)return null;const n=t.filter(WS);return 0==n.length?null:function(e){return QS(KS(e,n))}}function l0(t){return null!=t?JS(ZS(t)):null}function XS(t){if(!t)return null;const n=t.filter(WS);return 0==n.length?null:function(e){return uS(KS(e,n).map(YS)).pipe(pe(QS))}}function c0(t){return null!=t?XS(ZS(t)):null}function e3(t,n){return null===t?[n]:Array.isArray(t)?[...t,n]:[t,n]}function t3(t){return t._rawValidators}function n3(t){return t._rawAsyncValidators}function u0(t){return t?Array.isArray(t)?t:[t]:[]}function Vh(t,n){return Array.isArray(t)?t.includes(n):t===n}function o3(t,n){const e=u0(n);return u0(t).forEach(o=>{Vh(e,o)||e.push(o)}),e}function s3(t,n){return u0(n).filter(e=>!Vh(t,e))}class r3{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(n){this._rawValidators=n||[],this._composedValidatorFn=l0(this._rawValidators)}_setAsyncValidators(n){this._rawAsyncValidators=n||[],this._composedAsyncValidatorFn=c0(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(n){this._onDestroyCallbacks.push(n)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(n=>n()),this._onDestroyCallbacks=[]}reset(n){this.control&&this.control.reset(n)}hasError(n,e){return!!this.control&&this.control.hasError(n,e)}getError(n,e){return this.control?this.control.getError(n,e):null}}class To extends r3{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Bn extends r3{get formDirective(){return null}get path(){return null}}class a3{constructor(n){this._cd=n}is(n){var e,i,o;return"submitted"===n?!!(null===(e=this._cd)||void 0===e?void 0:e.submitted):!!(null===(o=null===(i=this._cd)||void 0===i?void 0:i.control)||void 0===o?void 0:o[n])}}let It=(()=>{class t extends a3{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(_(To,2))},t.\u0275dir=x({type:t,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,i){2&e&&oe("ng-untouched",i.is("untouched"))("ng-touched",i.is("touched"))("ng-pristine",i.is("pristine"))("ng-dirty",i.is("dirty"))("ng-valid",i.is("valid"))("ng-invalid",i.is("invalid"))("ng-pending",i.is("pending"))},features:[G]}),t})(),jh=(()=>{class t extends a3{constructor(e){super(e)}}return t.\u0275fac=function(e){return new(e||t)(_(Bn,10))},t.\u0275dir=x({type:t,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(e,i){2&e&&oe("ng-untouched",i.is("untouched"))("ng-touched",i.is("touched"))("ng-pristine",i.is("pristine"))("ng-dirty",i.is("dirty"))("ng-valid",i.is("valid"))("ng-invalid",i.is("invalid"))("ng-pending",i.is("pending"))("ng-submitted",i.is("submitted"))},features:[G]}),t})();function Uh(t,n){return[...n.path,t]}function Ic(t,n){p0(t,n),n.valueAccessor.writeValue(t.value),function tG(t,n){n.valueAccessor.registerOnChange(e=>{t._pendingValue=e,t._pendingChange=!0,t._pendingDirty=!0,"change"===t.updateOn&&c3(t,n)})}(t,n),function iG(t,n){const e=(i,o)=>{n.valueAccessor.writeValue(i),o&&n.viewToModelUpdate(i)};t.registerOnChange(e),n._registerOnDestroy(()=>{t._unregisterOnChange(e)})}(t,n),function nG(t,n){n.valueAccessor.registerOnTouched(()=>{t._pendingTouched=!0,"blur"===t.updateOn&&t._pendingChange&&c3(t,n),"submit"!==t.updateOn&&t.markAsTouched()})}(t,n),function eG(t,n){if(n.valueAccessor.setDisabledState){const e=i=>{n.valueAccessor.setDisabledState(i)};t.registerOnDisabledChange(e),n._registerOnDestroy(()=>{t._unregisterOnDisabledChange(e)})}}(t,n)}function Gh(t,n,e=!0){const i=()=>{};n.valueAccessor&&(n.valueAccessor.registerOnChange(i),n.valueAccessor.registerOnTouched(i)),qh(t,n),t&&(n._invokeOnDestroyCallbacks(),t._registerOnCollectionChange(()=>{}))}function zh(t,n){t.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(n)})}function p0(t,n){const e=t3(t);null!==n.validator?t.setValidators(e3(e,n.validator)):"function"==typeof e&&t.setValidators([e]);const i=n3(t);null!==n.asyncValidator?t.setAsyncValidators(e3(i,n.asyncValidator)):"function"==typeof i&&t.setAsyncValidators([i]);const o=()=>t.updateValueAndValidity();zh(n._rawValidators,o),zh(n._rawAsyncValidators,o)}function qh(t,n){let e=!1;if(null!==t){if(null!==n.validator){const o=t3(t);if(Array.isArray(o)&&o.length>0){const s=o.filter(r=>r!==n.validator);s.length!==o.length&&(e=!0,t.setValidators(s))}}if(null!==n.asyncValidator){const o=n3(t);if(Array.isArray(o)&&o.length>0){const s=o.filter(r=>r!==n.asyncValidator);s.length!==o.length&&(e=!0,t.setAsyncValidators(s))}}}const i=()=>{};return zh(n._rawValidators,i),zh(n._rawAsyncValidators,i),e}function c3(t,n){t._pendingDirty&&t.markAsDirty(),t.setValue(t._pendingValue,{emitModelToViewChange:!1}),n.viewToModelUpdate(t._pendingValue),t._pendingChange=!1}function u3(t,n){p0(t,n)}function f0(t,n){if(!t.hasOwnProperty("model"))return!1;const e=t.model;return!!e.isFirstChange()||!Object.is(n,e.currentValue)}function h3(t,n){t._syncPendingControls(),n.forEach(e=>{const i=e.control;"submit"===i.updateOn&&i._pendingChange&&(e.viewToModelUpdate(i._pendingValue),i._pendingChange=!1)})}function m0(t,n){if(!n)return null;let e,i,o;return Array.isArray(n),n.forEach(s=>{s.constructor===wt?e=s:function rG(t){return Object.getPrototypeOf(t.constructor)===yr}(s)?i=s:o=s}),o||i||e||null}function g0(t,n){const e=t.indexOf(n);e>-1&&t.splice(e,1)}const Ac="VALID",$h="INVALID",La="PENDING",xc="DISABLED";function v0(t){return(Wh(t)?t.validators:t)||null}function p3(t){return Array.isArray(t)?l0(t):t||null}function b0(t,n){return(Wh(n)?n.asyncValidators:t)||null}function f3(t){return Array.isArray(t)?c0(t):t||null}function Wh(t){return null!=t&&!Array.isArray(t)&&"object"==typeof t}const y0=t=>t instanceof w0,Yh=t=>t instanceof Qh,m3=t=>t instanceof b3;function g3(t){return y0(t)?t.value:t.getRawValue()}function _3(t,n){const e=Yh(t),i=t.controls;if(!(e?Object.keys(i):i).length)throw new X(1e3,"");if(!i[n])throw new X(1001,"")}function v3(t,n){Yh(t),t._forEachChild((i,o)=>{if(void 0===n[o])throw new X(1002,"")})}class C0{constructor(n,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=n,this._rawAsyncValidators=e,this._composedValidatorFn=p3(this._rawValidators),this._composedAsyncValidatorFn=f3(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(n){this._rawValidators=this._composedValidatorFn=n}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(n){this._rawAsyncValidators=this._composedAsyncValidatorFn=n}get parent(){return this._parent}get valid(){return this.status===Ac}get invalid(){return this.status===$h}get pending(){return this.status==La}get disabled(){return this.status===xc}get enabled(){return this.status!==xc}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(n){this._rawValidators=n,this._composedValidatorFn=p3(n)}setAsyncValidators(n){this._rawAsyncValidators=n,this._composedAsyncValidatorFn=f3(n)}addValidators(n){this.setValidators(o3(n,this._rawValidators))}addAsyncValidators(n){this.setAsyncValidators(o3(n,this._rawAsyncValidators))}removeValidators(n){this.setValidators(s3(n,this._rawValidators))}removeAsyncValidators(n){this.setAsyncValidators(s3(n,this._rawAsyncValidators))}hasValidator(n){return Vh(this._rawValidators,n)}hasAsyncValidator(n){return Vh(this._rawAsyncValidators,n)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(n={}){this.touched=!0,this._parent&&!n.onlySelf&&this._parent.markAsTouched(n)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(n=>n.markAllAsTouched())}markAsUntouched(n={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}markAsDirty(n={}){this.pristine=!1,this._parent&&!n.onlySelf&&this._parent.markAsDirty(n)}markAsPristine(n={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}markAsPending(n={}){this.status=La,!1!==n.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!n.onlySelf&&this._parent.markAsPending(n)}disable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=xc,this.errors=null,this._forEachChild(i=>{i.disable(Object.assign(Object.assign({},n),{onlySelf:!0}))}),this._updateValue(),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},n),{skipPristineCheck:e})),this._onDisabledChange.forEach(i=>i(!0))}enable(n={}){const e=this._parentMarkedDirty(n.onlySelf);this.status=Ac,this._forEachChild(i=>{i.enable(Object.assign(Object.assign({},n),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},n),{skipPristineCheck:e})),this._onDisabledChange.forEach(i=>i(!1))}_updateAncestors(n){this._parent&&!n.onlySelf&&(this._parent.updateValueAndValidity(n),n.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(n){this._parent=n}updateValueAndValidity(n={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Ac||this.status===La)&&this._runAsyncValidator(n.emitEvent)),!1!==n.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!n.onlySelf&&this._parent.updateValueAndValidity(n)}_updateTreeValidity(n={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(n)),this.updateValueAndValidity({onlySelf:!0,emitEvent:n.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?xc:Ac}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(n){if(this.asyncValidator){this.status=La,this._hasOwnPendingAsyncValidator=!0;const e=YS(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(i=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(i,{emitEvent:n})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(n,e={}){this.errors=n,this._updateControlsErrors(!1!==e.emitEvent)}get(n){return function aG(t,n,e){if(null==n||(Array.isArray(n)||(n=n.split(e)),Array.isArray(n)&&0===n.length))return null;let i=t;return n.forEach(o=>{i=Yh(i)?i.controls.hasOwnProperty(o)?i.controls[o]:null:m3(i)&&i.at(o)||null}),i}(this,n,".")}getError(n,e){const i=e?this.get(e):this;return i&&i.errors?i.errors[n]:null}hasError(n,e){return!!this.getError(n,e)}get root(){let n=this;for(;n._parent;)n=n._parent;return n}_updateControlsErrors(n){this.status=this._calculateStatus(),n&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(n)}_initObservables(){this.valueChanges=new H,this.statusChanges=new H}_calculateStatus(){return this._allControlsDisabled()?xc:this.errors?$h:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(La)?La:this._anyControlsHaveStatus($h)?$h:Ac}_anyControlsHaveStatus(n){return this._anyControls(e=>e.status===n)}_anyControlsDirty(){return this._anyControls(n=>n.dirty)}_anyControlsTouched(){return this._anyControls(n=>n.touched)}_updatePristine(n={}){this.pristine=!this._anyControlsDirty(),this._parent&&!n.onlySelf&&this._parent._updatePristine(n)}_updateTouched(n={}){this.touched=this._anyControlsTouched(),this._parent&&!n.onlySelf&&this._parent._updateTouched(n)}_isBoxedValue(n){return"object"==typeof n&&null!==n&&2===Object.keys(n).length&&"value"in n&&"disabled"in n}_registerOnCollectionChange(n){this._onCollectionChange=n}_setUpdateStrategy(n){Wh(n)&&null!=n.updateOn&&(this._updateOn=n.updateOn)}_parentMarkedDirty(n){return!n&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class w0 extends C0{constructor(n=null,e,i){super(v0(e),b0(i,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(n),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),Wh(e)&&e.initialValueIsDefault&&(this.defaultValue=this._isBoxedValue(n)?n.value:n)}setValue(n,e={}){this.value=this._pendingValue=n,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(i=>i(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(n,e={}){this.setValue(n,e)}reset(n=this.defaultValue,e={}){this._applyFormState(n),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(n){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(n){this._onChange.push(n)}_unregisterOnChange(n){g0(this._onChange,n)}registerOnDisabledChange(n){this._onDisabledChange.push(n)}_unregisterOnDisabledChange(n){g0(this._onDisabledChange,n)}_forEachChild(n){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(n){this._isBoxedValue(n)?(this.value=this._pendingValue=n.value,n.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=n}}class Qh extends C0{constructor(n,e,i){super(v0(e),b0(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(n,e){return this.controls[n]?this.controls[n]:(this.controls[n]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(n,e,i={}){this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}removeControl(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),delete this.controls[n],e&&this.registerControl(n,e),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}contains(n){return this.controls.hasOwnProperty(n)&&this.controls[n].enabled}setValue(n,e={}){v3(this,n),Object.keys(n).forEach(i=>{_3(this,i),this.controls[i].setValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(Object.keys(n).forEach(i=>{this.controls[i]&&this.controls[i].patchValue(n[i],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n={},e={}){this._forEachChild((i,o)=>{i.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(n,e,i)=>(n[i]=g3(e),n))}_syncPendingControls(){let n=this._reduceChildren(!1,(e,i)=>!!i._syncPendingControls()||e);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){Object.keys(this.controls).forEach(e=>{const i=this.controls[e];i&&n(i,e)})}_setUpControls(){this._forEachChild(n=>{n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(n){for(const e of Object.keys(this.controls)){const i=this.controls[e];if(this.contains(e)&&n(i))return!0}return!1}_reduceValue(){return this._reduceChildren({},(n,e,i)=>((e.enabled||this.disabled)&&(n[i]=e.value),n))}_reduceChildren(n,e){let i=n;return this._forEachChild((o,s)=>{i=e(i,o,s)}),i}_allControlsDisabled(){for(const n of Object.keys(this.controls))if(this.controls[n].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}}class b3 extends C0{constructor(n,e,i){super(v0(e),b0(i,e)),this.controls=n,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(n){return this.controls[n]}push(n,e={}){this.controls.push(n),this._registerControl(n),this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}insert(n,e,i={}){this.controls.splice(n,0,e),this._registerControl(e),this.updateValueAndValidity({emitEvent:i.emitEvent})}removeAt(n,e={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),this.updateValueAndValidity({emitEvent:e.emitEvent})}setControl(n,e,i={}){this.controls[n]&&this.controls[n]._registerOnCollectionChange(()=>{}),this.controls.splice(n,1),e&&(this.controls.splice(n,0,e),this._registerControl(e)),this.updateValueAndValidity({emitEvent:i.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(n,e={}){v3(this,n),n.forEach((i,o)=>{_3(this,o),this.at(o).setValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(n,e={}){null!=n&&(n.forEach((i,o)=>{this.at(o)&&this.at(o).patchValue(i,{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(n=[],e={}){this._forEachChild((i,o)=>{i.reset(n[o],{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this.controls.map(n=>g3(n))}clear(n={}){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:n.emitEvent}))}_syncPendingControls(){let n=this.controls.reduce((e,i)=>!!i._syncPendingControls()||e,!1);return n&&this.updateValueAndValidity({onlySelf:!0}),n}_forEachChild(n){this.controls.forEach((e,i)=>{n(e,i)})}_updateValue(){this.value=this.controls.filter(n=>n.enabled||this.disabled).map(n=>n.value)}_anyControls(n){return this.controls.some(e=>e.enabled&&n(e))}_setUpControls(){this._forEachChild(n=>this._registerControl(n))}_allControlsDisabled(){for(const n of this.controls)if(n.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(n){n.setParent(this),n._registerOnCollectionChange(this._onCollectionChange)}}const lG={provide:Bn,useExisting:Le(()=>Nc)},Oc=(()=>Promise.resolve(null))();let Nc=(()=>{class t extends Bn{constructor(e,i){super(),this.submitted=!1,this._directives=new Set,this.ngSubmit=new H,this.form=new Qh({},l0(e),c0(i))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){Oc.then(()=>{const i=this._findContainer(e.path);e.control=i.registerControl(e.name,e.control),Ic(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){Oc.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){Oc.then(()=>{const i=this._findContainer(e.path),o=new Qh({});u3(o,e),i.registerControl(e.name,o),o.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){Oc.then(()=>{const i=this._findContainer(e.path);i&&i.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,i){Oc.then(()=>{this.form.get(e.path).setValue(i)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,h3(this.form,this._directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return t.\u0275fac=function(e){return new(e||t)(_(Tn,10),_(Ds,10))},t.\u0275dir=x({type:t,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,i){1&e&&D("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[fe([lG]),G]}),t})();const uG={provide:To,useExisting:Le(()=>jt)},w3=(()=>Promise.resolve(null))();let jt=(()=>{class t extends To{constructor(e,i,o,s,r){super(),this._changeDetectorRef=r,this.control=new w0,this._registered=!1,this.update=new H,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=m0(0,s)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const i=e.name.previousValue;this.formDirective.removeControl({name:i,path:this._getPath(i)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),f0(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._getPath(this.name)}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){Ic(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(e){w3.then(()=>{var i;this.control.setValue(e,{emitViewToModelChange:!1}),null===(i=this._changeDetectorRef)||void 0===i||i.markForCheck()})}_updateDisabled(e){const i=e.isDisabled.currentValue,o=""===i||i&&"false"!==i;w3.then(()=>{var s;o&&!this.control.disabled?this.control.disable():!o&&this.control.disabled&&this.control.enable(),null===(s=this._changeDetectorRef)||void 0===s||s.markForCheck()})}_getPath(e){return this._parent?Uh(e,this._parent):[e]}}return t.\u0275fac=function(e){return new(e||t)(_(Bn,9),_(Tn,10),_(Ds,10),_(Wn,10),_(Ke,8))},t.\u0275dir=x({type:t,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[fe([uG]),G,mt]}),t})(),Kh=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=x({type:t,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),t})();const dG={provide:Wn,useExisting:Le(()=>Zh),multi:!0};let Zh=(()=>{class t extends yr{writeValue(e){this.setProperty("value",null==e?"":e)}registerOnChange(e){this.onChange=i=>{e(""==i?null:parseFloat(i))}}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275dir=x({type:t,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,i){1&e&&D("input",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},features:[fe([dG]),G]}),t})(),D3=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({}),t})();const D0=new j("NgModelWithFormControlWarning"),gG={provide:Bn,useExisting:Le(()=>Es)};let Es=(()=>{class t extends Bn{constructor(e,i){super(),this.validators=e,this.asyncValidators=i,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new H,this._setValidators(e),this._setAsyncValidators(i)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(qh(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const i=this.form.get(e.path);return Ic(i,e),i.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),i}getControl(e){return this.form.get(e.path)}removeControl(e){Gh(e.control||null,e,!1),g0(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,i){this.form.get(e.path).setValue(i)}onSubmit(e){return this.submitted=!0,h3(this.form,this.directives),this.ngSubmit.emit(e),!1}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const i=e.control,o=this.form.get(e.path);i!==o&&(Gh(i||null,e),y0(o)&&(Ic(o,e),e.control=o))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const i=this.form.get(e.path);u3(i,e),i.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const i=this.form.get(e.path);i&&function oG(t,n){return qh(t,n)}(i,e)&&i.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){p0(this.form,this),this._oldForm&&qh(this._oldForm,this)}_checkFormPresent(){}}return t.\u0275fac=function(e){return new(e||t)(_(Tn,10),_(Ds,10))},t.\u0275dir=x({type:t,selectors:[["","formGroup",""]],hostBindings:function(e,i){1&e&&D("submit",function(s){return i.onSubmit(s)})("reset",function(){return i.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[fe([gG]),G,mt]}),t})();const bG={provide:To,useExisting:Le(()=>kc)};let kc=(()=>{class t extends To{constructor(e,i,o,s,r){super(),this._ngModelWarningConfig=r,this._added=!1,this.update=new H,this._ngModelWarningSent=!1,this._parent=e,this._setValidators(i),this._setAsyncValidators(o),this.valueAccessor=m0(0,s)}set isDisabled(e){}ngOnChanges(e){this._added||this._setUpControl(),f0(e,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}get path(){return Uh(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return t._ngModelWarningSentOnce=!1,t.\u0275fac=function(e){return new(e||t)(_(Bn,13),_(Tn,10),_(Ds,10),_(Wn,10),_(D0,8))},t.\u0275dir=x({type:t,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[fe([bG]),G,mt]}),t})();const yG={provide:Wn,useExisting:Le(()=>Cr),multi:!0};function I3(t,n){return null==t?`${n}`:(n&&"object"==typeof n&&(n="Object"),`${t}: ${n}`.slice(0,50))}let Cr=(()=>{class t extends yr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){this.value=e;const o=I3(this._getOptionId(e),e);this.setProperty("value",o)}registerOnChange(e){this.onChange=i=>{this.value=this._getOptionValue(i),e(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const i of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(i),e))return i;return null}_getOptionValue(e){const i=function CG(t){return t.split(":")[0]}(e);return this._optionMap.has(i)?this._optionMap.get(i):e}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275dir=x({type:t,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,i){1&e&&D("change",function(s){return i.onChange(s.target.value)})("blur",function(){return i.onTouched()})},inputs:{compareWith:"compareWith"},features:[fe([yG]),G]}),t})(),Rc=(()=>{class t{constructor(e,i,o){this._element=e,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption())}set ngValue(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(I3(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(ai),_(Cr,9))},t.\u0275dir=x({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();const wG={provide:Wn,useExisting:Le(()=>S0),multi:!0};function A3(t,n){return null==t?`${n}`:("string"==typeof n&&(n=`'${n}'`),n&&"object"==typeof n&&(n="Object"),`${t}: ${n}`.slice(0,50))}let S0=(()=>{class t extends yr{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(e){this._compareWith=e}writeValue(e){let i;if(this.value=e,Array.isArray(e)){const o=e.map(s=>this._getOptionId(s));i=(s,r)=>{s._setSelected(o.indexOf(r.toString())>-1)}}else i=(o,s)=>{o._setSelected(!1)};this._optionMap.forEach(i)}registerOnChange(e){this.onChange=i=>{const o=[],s=i.selectedOptions;if(void 0!==s){const r=s;for(let a=0;a{class t{constructor(e,i,o){this._element=e,this._renderer=i,this._select=o,this._select&&(this.id=this._select._registerOption(this))}set ngValue(e){null!=this._select&&(this._value=e,this._setElementValue(A3(this.id,e)),this._select.writeValue(this._select.value))}set value(e){this._select?(this._value=e,this._setElementValue(A3(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}_setElementValue(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}_setSelected(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(ai),_(S0,9))},t.\u0275dir=x({type:t,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),t})();let wr=(()=>{class t{constructor(){this._validator=Bh}ngOnChanges(e){if(this.inputName in e){const i=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(i),this._validator=this._enabled?this.createValidator(i):Bh,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=x({type:t,features:[mt]}),t})();const MG={provide:Tn,useExisting:Le(()=>Pc),multi:!0};let Pc=(()=>{class t extends wr{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=e=>function EG(t){return null!=t&&!1!==t&&"false"!=`${t}`}(e),this.createValidator=e=>HS}enabled(e){return e}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275dir=x({type:t,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(e,i){2&e&&ae("required",i._enabled?"":null)},inputs:{required:"required"},features:[fe([MG]),G]}),t})();const OG={provide:Tn,useExisting:Le(()=>I0),multi:!0};let I0=(()=>{class t extends wr{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=e=>function x3(t){return"number"==typeof t?t:parseInt(t,10)}(e),this.createValidator=e=>qS(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275dir=x({type:t,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&ae("maxlength",i._enabled?i.maxlength:null)},inputs:{maxlength:"maxlength"},features:[fe([OG]),G]}),t})();const NG={provide:Tn,useExisting:Le(()=>A0),multi:!0};let A0=(()=>{class t extends wr{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=e=>e,this.createValidator=e=>$S(e)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275dir=x({type:t,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(e,i){2&e&&ae("pattern",i._enabled?i.pattern:null)},inputs:{pattern:"pattern"},features:[fe([NG]),G]}),t})(),P3=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[D3]]}),t})(),L3=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[P3]}),t})(),B3=(()=>{class t{static withConfig(e){return{ngModule:t,providers:[{provide:D0,useValue:e.warnOnNgModelWithFormControl}]}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[P3]}),t})(),x0=(()=>{class t{group(e,i=null){const o=this._reduceControls(e);let a,s=null,r=null;return null!=i&&(function kG(t){return void 0!==t.asyncValidators||void 0!==t.validators||void 0!==t.updateOn}(i)?(s=null!=i.validators?i.validators:null,r=null!=i.asyncValidators?i.asyncValidators:null,a=null!=i.updateOn?i.updateOn:void 0):(s=null!=i.validator?i.validator:null,r=null!=i.asyncValidator?i.asyncValidator:null)),new Qh(o,{asyncValidators:r,updateOn:a,validators:s})}control(e,i,o){return new w0(e,i,o)}array(e,i,o){const s=e.map(r=>this._createControl(r));return new b3(s,i,o)}_reduceControls(e){const i={};return Object.keys(e).forEach(o=>{i[o]=this._createControl(e[o])}),i}_createControl(e){return y0(e)||Yh(e)||m3(e)?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:B3}),t})();const RG=["trigger"],FG=["panel"];function PG(t,n){if(1&t&&(l(0,"span",8),d(1),c()),2&t){const e=I();m(1),le(e.placeholder)}}function LG(t,n){if(1&t&&(l(0,"span",12),d(1),c()),2&t){const e=I(2);m(1),le(e.triggerValue)}}function BG(t,n){1&t&&nt(0,0,["*ngSwitchCase","true"])}function VG(t,n){1&t&&(l(0,"span",9),C(1,LG,2,1,"span",10),C(2,BG,1,0,"ng-content",11),c()),2&t&&(v("ngSwitch",!!I().customTrigger),m(2),v("ngSwitchCase",!0))}function jG(t,n){if(1&t){const e=Ae();l(0,"div",13)(1,"div",14,15),D("@transformPanel.done",function(o){return re(e),I()._panelDoneAnimatingStream.next(o.toState)})("keydown",function(o){return re(e),I()._handleKeydown(o)}),nt(3,1),c()()}if(2&t){const e=I();v("@transformPanelWrap",void 0),m(1),function MC(t,n,e){zi(ii,ho,aa(B(),t,n,e),!0)}("mat-select-panel ",e._getPanelTheme(),""),Gn("transform-origin",e._transformOrigin)("font-size",e._triggerFontSize,"px"),v("ngClass",e.panelClass)("@transformPanel",e.multiple?"showing-multiple":"showing"),ae("id",e.id+"-panel")("aria-multiselectable",e.multiple)("aria-label",e.ariaLabel||null)("aria-labelledby",e._getPanelAriaLabelledby())}}const HG=[[["mat-select-trigger"]],"*"],UG=["mat-select-trigger","*"],V3={transformPanelWrap:Wi("transformPanelWrap",[_n("* => void",w_("@transformPanel",[C_()],{optional:!0}))]),transformPanel:Wi("transformPanel",[en("void",$e({transform:"scaleY(0.8)",minWidth:"100%",opacity:0})),en("showing",$e({opacity:1,minWidth:"calc(100% + 32px)",transform:"scaleY(1)"})),en("showing-multiple",$e({opacity:1,minWidth:"calc(100% + 64px)",transform:"scaleY(1)"})),_n("void => *",En("120ms cubic-bezier(0, 0, 0.2, 1)")),_n("* => void",En("100ms 25ms linear",$e({opacity:0})))])};let j3=0;const U3=new j("mat-select-scroll-strategy"),$G=new j("MAT_SELECT_CONFIG"),WG={provide:U3,deps:[wo],useFactory:function qG(t){return()=>t.scrollStrategies.reposition()}};class YG{constructor(n,e){this.source=n,this.value=e}}const QG=vc(RT(fr(FT(class{constructor(t,n,e,i,o){this._elementRef=t,this._defaultErrorStateMatcher=n,this._parentForm=e,this._parentFormGroup=i,this.ngControl=o}})))),KG=new j("MatSelectTrigger");let ZG=(()=>{class t extends QG{constructor(e,i,o,s,r,a,u,p,f,g,b,y,w,E){var S,A,T;super(r,s,u,p,g),this._viewportRuler=e,this._changeDetectorRef=i,this._ngZone=o,this._dir=a,this._parentFormField=f,this._liveAnnouncer=w,this._defaultOptions=E,this._panelOpen=!1,this._compareWith=(k,V)=>k===V,this._uid="mat-select-"+j3++,this._triggerAriaLabelledBy=null,this._destroy=new $,this._onChange=()=>{},this._onTouched=()=>{},this._valueId="mat-select-value-"+j3++,this._panelDoneAnimatingStream=new $,this._overlayPanelClass=(null===(S=this._defaultOptions)||void 0===S?void 0:S.overlayPanelClass)||"",this._focused=!1,this.controlType="mat-select",this._multiple=!1,this._disableOptionCentering=null!==(T=null===(A=this._defaultOptions)||void 0===A?void 0:A.disableOptionCentering)&&void 0!==T&&T,this.ariaLabel="",this.optionSelectionChanges=Td(()=>{const k=this.options;return k?k.changes.pipe(gn(k),qn(()=>bn(...k.map(V=>V.onSelectionChange)))):this._ngZone.onStable.pipe(ze(1),qn(()=>this.optionSelectionChanges))}),this.openedChange=new H,this._openedStream=this.openedChange.pipe(ut(k=>k),pe(()=>{})),this._closedStream=this.openedChange.pipe(ut(k=>!k),pe(()=>{})),this.selectionChange=new H,this.valueChange=new H,this.ngControl&&(this.ngControl.valueAccessor=this),null!=(null==E?void 0:E.typeaheadDebounceInterval)&&(this._typeaheadDebounceInterval=E.typeaheadDebounceInterval),this._scrollStrategyFactory=y,this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=parseInt(b)||0,this.id=this.id}get focused(){return this._focused||this._panelOpen}get placeholder(){return this._placeholder}set placeholder(e){this._placeholder=e,this.stateChanges.next()}get required(){var e,i,o,s;return null!==(s=null!==(e=this._required)&&void 0!==e?e:null===(o=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===o?void 0:o.hasValidator(dt.required))&&void 0!==s&&s}set required(e){this._required=ot(e),this.stateChanges.next()}get multiple(){return this._multiple}set multiple(e){this._multiple=ot(e)}get disableOptionCentering(){return this._disableOptionCentering}set disableOptionCentering(e){this._disableOptionCentering=ot(e)}get compareWith(){return this._compareWith}set compareWith(e){this._compareWith=e,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(e){this._assignValue(e)&&this._onChange(e)}get typeaheadDebounceInterval(){return this._typeaheadDebounceInterval}set typeaheadDebounceInterval(e){this._typeaheadDebounceInterval=Mi(e)}get id(){return this._id}set id(e){this._id=e||this._uid,this.stateChanges.next()}ngOnInit(){this._selectionModel=new HU(this.multiple),this.stateChanges.next(),this._panelDoneAnimatingStream.pipe(ka(),ie(this._destroy)).subscribe(()=>this._panelDoneAnimating(this.panelOpen))}ngAfterContentInit(){this._initKeyManager(),this._selectionModel.changed.pipe(ie(this._destroy)).subscribe(e=>{e.added.forEach(i=>i.select()),e.removed.forEach(i=>i.deselect())}),this.options.changes.pipe(gn(null),ie(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){const e=this._getTriggerAriaLabelledby(),i=this.ngControl;if(e!==this._triggerAriaLabelledBy){const o=this._elementRef.nativeElement;this._triggerAriaLabelledBy=e,e?o.setAttribute("aria-labelledby",e):o.removeAttribute("aria-labelledby")}i&&(this._previousControl!==i.control&&(void 0!==this._previousControl&&null!==i.disabled&&i.disabled!==this.disabled&&(this.disabled=i.disabled),this._previousControl=i.control),this.updateErrorState())}ngOnChanges(e){e.disabled&&this.stateChanges.next(),e.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this._typeaheadDebounceInterval)}ngOnDestroy(){this._destroy.next(),this._destroy.complete(),this.stateChanges.complete()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._panelOpen=!0,this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck())}close(){this._panelOpen&&(this._panelOpen=!1,this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched())}writeValue(e){this._assignValue(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){var e,i;return this.multiple?(null===(e=this._selectionModel)||void 0===e?void 0:e.selected)||[]:null===(i=this._selectionModel)||void 0===i?void 0:i.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){const e=this._selectionModel.selected.map(i=>i.viewValue);return this._isRtl()&&e.reverse(),e.join(", ")}return this._selectionModel.selected[0].viewValue}_isRtl(){return!!this._dir&&"rtl"===this._dir.value}_handleKeydown(e){this.disabled||(this.panelOpen?this._handleOpenKeydown(e):this._handleClosedKeydown(e))}_handleClosedKeydown(e){const i=e.keyCode,o=40===i||38===i||37===i||39===i,s=13===i||32===i,r=this._keyManager;if(!r.isTyping()&&s&&!zo(e)||(this.multiple||e.altKey)&&o)e.preventDefault(),this.open();else if(!this.multiple){const a=this.selected;r.onKeydown(e);const u=this.selected;u&&a!==u&&this._liveAnnouncer.announce(u.viewValue,1e4)}}_handleOpenKeydown(e){const i=this._keyManager,o=e.keyCode,s=40===o||38===o,r=i.isTyping();if(s&&e.altKey)e.preventDefault(),this.close();else if(r||13!==o&&32!==o||!i.activeItem||zo(e))if(!r&&this._multiple&&65===o&&e.ctrlKey){e.preventDefault();const a=this.options.some(u=>!u.disabled&&!u.selected);this.options.forEach(u=>{u.disabled||(a?u.select():u.deselect())})}else{const a=i.activeItemIndex;i.onKeydown(e),this._multiple&&s&&e.shiftKey&&i.activeItem&&i.activeItemIndex!==a&&i.activeItem._selectViaInteraction()}else e.preventDefault(),i.activeItem._selectViaInteraction()}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_onAttached(){this._overlayDir.positionChange.pipe(ze(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()})}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(e){if(this._selectionModel.selected.forEach(i=>i.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&e)Array.isArray(e),e.forEach(i=>this._selectOptionByValue(i)),this._sortValues();else{const i=this._selectOptionByValue(e);i?this._keyManager.updateActiveItem(i):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(e){const i=this.options.find(o=>{if(this._selectionModel.isSelected(o))return!1;try{return null!=o.value&&this._compareWith(o.value,e)}catch(s){return!1}});return i&&this._selectionModel.select(i),i}_assignValue(e){return!!(e!==this._value||this._multiple&&Array.isArray(e))&&(this.options&&this._setSelectionByValue(e),this._value=e,!0)}_initKeyManager(){this._keyManager=new G9(this.options).withTypeAhead(this._typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withAllowedModifierKeys(["shiftKey"]),this._keyManager.tabOut.pipe(ie(this._destroy)).subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.pipe(ie(this._destroy)).subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){const e=bn(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(ie(e)).subscribe(i=>{this._onSelect(i.source,i.isUserInput),i.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),bn(...this.options.map(i=>i._stateChanges)).pipe(ie(e)).subscribe(()=>{this._changeDetectorRef.markForCheck(),this.stateChanges.next()})}_onSelect(e,i){const o=this._selectionModel.isSelected(e);null!=e.value||this._multiple?(o!==e.selected&&(e.selected?this._selectionModel.select(e):this._selectionModel.deselect(e)),i&&this._keyManager.setActiveItem(e),this.multiple&&(this._sortValues(),i&&this.focus())):(e.deselect(),this._selectionModel.clear(),null!=this.value&&this._propagateChanges(e.value)),o!==this._selectionModel.isSelected(e)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){const e=this.options.toArray();this._selectionModel.sort((i,o)=>this.sortComparator?this.sortComparator(i,o,e):e.indexOf(i)-e.indexOf(o)),this.stateChanges.next()}}_propagateChanges(e){let i=null;i=this.multiple?this.selected.map(o=>o.value):this.selected?this.selected.value:e,this._value=i,this.valueChange.emit(i),this._onChange(i),this.selectionChange.emit(this._getChangeEvent(i)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){this._keyManager&&(this.empty?this._keyManager.setFirstItemActive():this._keyManager.setActiveItem(this._selectionModel.selected[0]))}_canOpen(){var e;return!this._panelOpen&&!this.disabled&&(null===(e=this.options)||void 0===e?void 0:e.length)>0}focus(e){this._elementRef.nativeElement.focus(e)}_getPanelAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();return this.ariaLabelledby?(i?i+" ":"")+this.ariaLabelledby:i}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){var e;if(this.ariaLabel)return null;const i=null===(e=this._parentFormField)||void 0===e?void 0:e.getLabelId();let o=(i?i+" ":"")+this._valueId;return this.ariaLabelledby&&(o+=" "+this.ariaLabelledby),o}_panelDoneAnimating(e){this.openedChange.emit(e)}setDescribedByIds(e){this._ariaDescribedby=e.join(" ")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this._panelOpen||!this.empty||this._focused&&!!this._placeholder}}return t.\u0275fac=function(e){return new(e||t)(_(gr),_(Ke),_(se),_(K_),_(K),_($n,8),_(Nc,8),_(Es,8),_(s0,8),_(To,10),ni("tabindex"),_(U3),_(c7),_($G,8))},t.\u0275dir=x({type:t,viewQuery:function(e,i){if(1&e&&(me(RG,5),me(FG,5),me(nS,5)),2&e){let o;F(o=P())&&(i.trigger=o.first),F(o=P())&&(i.panel=o.first),F(o=P())&&(i._overlayDir=o.first)}},inputs:{panelClass:"panelClass",placeholder:"placeholder",required:"required",multiple:"multiple",disableOptionCentering:"disableOptionCentering",compareWith:"compareWith",value:"value",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:"typeaheadDebounceInterval",sortComparator:"sortComparator",id:"id"},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},features:[G,mt]}),t})(),Wo=(()=>{class t extends ZG{constructor(){super(...arguments),this._scrollTop=0,this._triggerFontSize=0,this._transformOrigin="top",this._offsetY=0,this._positions=[{originX:"start",originY:"top",overlayX:"start",overlayY:"top"},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"bottom"}]}_calculateOverlayScroll(e,i,o){const s=this._getItemHeight();return Math.min(Math.max(0,s*e-i+s/2),o)}ngOnInit(){super.ngOnInit(),this._viewportRuler.change().pipe(ie(this._destroy)).subscribe(()=>{this.panelOpen&&(this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._changeDetectorRef.markForCheck())})}open(){super._canOpen()&&(super.open(),this._triggerRect=this.trigger.nativeElement.getBoundingClientRect(),this._triggerFontSize=parseInt(getComputedStyle(this.trigger.nativeElement).fontSize||"0"),this._calculateOverlayPosition(),this._ngZone.onStable.pipe(ze(1)).subscribe(()=>{this._triggerFontSize&&this._overlayDir.overlayRef&&this._overlayDir.overlayRef.overlayElement&&(this._overlayDir.overlayRef.overlayElement.style.fontSize=`${this._triggerFontSize}px`)}))}_scrollOptionIntoView(e){const i=HT(e,this.options,this.optionGroups),o=this._getItemHeight();this.panel.nativeElement.scrollTop=0===e&&1===i?0:function zV(t,n,e,i){return te+i?Math.max(0,t-i+n):e}((e+i)*o,o,this.panel.nativeElement.scrollTop,256)}_positioningSettled(){this._calculateOverlayOffsetX(),this.panel.nativeElement.scrollTop=this._scrollTop}_panelDoneAnimating(e){this.panelOpen?this._scrollTop=0:(this._overlayDir.offsetX=0,this._changeDetectorRef.markForCheck()),super._panelDoneAnimating(e)}_getChangeEvent(e){return new YG(this,e)}_calculateOverlayOffsetX(){const e=this._overlayDir.overlayRef.overlayElement.getBoundingClientRect(),i=this._viewportRuler.getViewportSize(),o=this._isRtl(),s=this.multiple?56:32;let r;if(this.multiple)r=40;else if(this.disableOptionCentering)r=16;else{let p=this._selectionModel.selected[0]||this.options.first;r=p&&p.group?32:16}o||(r*=-1);const a=0-(e.left+r-(o?s:0)),u=e.right+r-i.width+(o?0:s);a>0?r+=a+8:u>0&&(r-=u+8),this._overlayDir.offsetX=Math.round(r),this._overlayDir.overlayRef.updatePosition()}_calculateOverlayOffsetY(e,i,o){const s=this._getItemHeight(),r=(s-this._triggerRect.height)/2,a=Math.floor(256/s);let u;return this.disableOptionCentering?0:(u=0===this._scrollTop?e*s:this._scrollTop===o?(e-(this._getItemCount()-a))*s+(s-(this._getItemCount()*s-256)%s):i-s/2,Math.round(-1*u-r))}_checkOverlayWithinViewport(e){const i=this._getItemHeight(),o=this._viewportRuler.getViewportSize(),s=this._triggerRect.top-8,r=o.height-this._triggerRect.bottom-8,a=Math.abs(this._offsetY),p=Math.min(this._getItemCount()*i,256)-a-this._triggerRect.height;p>r?this._adjustPanelUp(p,r):a>s?this._adjustPanelDown(a,s,e):this._transformOrigin=this._getOriginBasedOnOption()}_adjustPanelUp(e,i){const o=Math.round(e-i);this._scrollTop-=o,this._offsetY-=o,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop<=0&&(this._scrollTop=0,this._offsetY=0,this._transformOrigin="50% bottom 0px")}_adjustPanelDown(e,i,o){const s=Math.round(e-i);if(this._scrollTop+=s,this._offsetY+=s,this._transformOrigin=this._getOriginBasedOnOption(),this._scrollTop>=o)return this._scrollTop=o,this._offsetY=0,void(this._transformOrigin="50% top 0px")}_calculateOverlayPosition(){const e=this._getItemHeight(),i=this._getItemCount(),o=Math.min(i*e,256),r=i*e-o;let a;a=this.empty?0:Math.max(this.options.toArray().indexOf(this._selectionModel.selected[0]),0),a+=HT(a,this.options,this.optionGroups);const u=o/2;this._scrollTop=this._calculateOverlayScroll(a,u,r),this._offsetY=this._calculateOverlayOffsetY(a,u,r),this._checkOverlayWithinViewport(r)}_getOriginBasedOnOption(){const e=this._getItemHeight(),i=(e-this._triggerRect.height)/2;return`50% ${Math.abs(this._offsetY)-i+e/2}px 0px`}_getItemHeight(){return 3*this._triggerFontSize}_getItemCount(){return this.options.length+this.optionGroups.length}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275cmp=N({type:t,selectors:[["mat-select"]],contentQueries:function(e,i,o){if(1&e&&(te(o,KG,5),te(o,Co,5),te(o,jT,5)),2&e){let s;F(s=P())&&(i.customTrigger=s.first),F(s=P())&&(i.options=s),F(s=P())&&(i.optionGroups=s)}},hostAttrs:["role","combobox","aria-autocomplete","none","aria-haspopup","true",1,"mat-select"],hostVars:20,hostBindings:function(e,i){1&e&&D("keydown",function(s){return i._handleKeydown(s)})("focus",function(){return i._onFocus()})("blur",function(){return i._onBlur()}),2&e&&(ae("id",i.id)("tabindex",i.tabIndex)("aria-controls",i.panelOpen?i.id+"-panel":null)("aria-expanded",i.panelOpen)("aria-label",i.ariaLabel||null)("aria-required",i.required.toString())("aria-disabled",i.disabled.toString())("aria-invalid",i.errorState)("aria-describedby",i._ariaDescribedby||null)("aria-activedescendant",i._getAriaActiveDescendant()),oe("mat-select-disabled",i.disabled)("mat-select-invalid",i.errorState)("mat-select-required",i.required)("mat-select-empty",i.empty)("mat-select-multiple",i.multiple))},inputs:{disabled:"disabled",disableRipple:"disableRipple",tabIndex:"tabIndex"},exportAs:["matSelect"],features:[fe([{provide:Ph,useExisting:t},{provide:VT,useExisting:t}]),G],ngContentSelectors:UG,decls:9,vars:12,consts:[["cdk-overlay-origin","",1,"mat-select-trigger",3,"click"],["origin","cdkOverlayOrigin","trigger",""],[1,"mat-select-value",3,"ngSwitch"],["class","mat-select-placeholder mat-select-min-line",4,"ngSwitchCase"],["class","mat-select-value-text",3,"ngSwitch",4,"ngSwitchCase"],[1,"mat-select-arrow-wrapper"],[1,"mat-select-arrow"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayPositions","cdkConnectedOverlayMinWidth","cdkConnectedOverlayOffsetY","backdropClick","attach","detach"],[1,"mat-select-placeholder","mat-select-min-line"],[1,"mat-select-value-text",3,"ngSwitch"],["class","mat-select-min-line",4,"ngSwitchDefault"],[4,"ngSwitchCase"],[1,"mat-select-min-line"],[1,"mat-select-panel-wrap"],["role","listbox","tabindex","-1",3,"ngClass","keydown"],["panel",""]],template:function(e,i){if(1&e&&(rn(HG),l(0,"div",0,1),D("click",function(){return i.toggle()}),l(3,"div",2),C(4,PG,2,1,"span",3),C(5,VG,3,2,"span",4),c(),l(6,"div",5),h(7,"div",6),c()(),C(8,jG,4,14,"ng-template",7),D("backdropClick",function(){return i.close()})("attach",function(){return i._onAttached()})("detach",function(){return i.close()})),2&e){const o=Ct(1);ae("aria-owns",i.panelOpen?i.id+"-panel":null),m(3),v("ngSwitch",i.empty),ae("id",i._valueId),m(1),v("ngSwitchCase",!0),m(1),v("ngSwitchCase",!1),m(3),v("cdkConnectedOverlayPanelClass",i._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",i._scrollStrategy)("cdkConnectedOverlayOrigin",o)("cdkConnectedOverlayOpen",i.panelOpen)("cdkConnectedOverlayPositions",i._positions)("cdkConnectedOverlayMinWidth",null==i._triggerRect?null:i._triggerRect.width)("cdkConnectedOverlayOffsetY",i._offsetY)}},directives:[tS,Gl,Tg,Rw,nS,er],styles:['.mat-select{display:inline-block;width:100%;outline:none}.mat-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-select-disabled .mat-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-select-arrow-wrapper{height:16px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-outline .mat-select-arrow-wrapper{transform:translateY(-25%)}.mat-form-field-appearance-standard.mat-form-field-has-label .mat-select:not(.mat-select-empty) .mat-select-arrow-wrapper{transform:translateY(-50%)}.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable.mat-form-field-appearance-standard .mat-select.mat-select-empty .mat-select-arrow-wrapper{transition:none}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-form-field.mat-focused .mat-select-arrow{transform:translateX(0)}.mat-select-panel-wrap{flex-basis:100%}.mat-select-panel{min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px;min-width:100%;border-radius:4px;outline:0}.cdk-high-contrast-active .mat-select-panel{outline:solid 1px}.mat-select-panel .mat-optgroup-label,.mat-select-panel .mat-option{font-size:inherit;line-height:3em;height:3em}.mat-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-form-field-flex{cursor:pointer}.mat-form-field-type-mat-select .mat-form-field-label{width:calc(100% - 18px)}.mat-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1)}._mat-animation-noopable .mat-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-select-placeholder{color:transparent;-webkit-text-fill-color:transparent;transition:none;display:block}.mat-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}\n'],encapsulation:2,data:{animation:[V3.transformPanelWrap,V3.transformPanel]},changeDetection:0}),t})(),G3=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({providers:[WG],imports:[[it,Ah,UT,_t],wc,r0,UT,_t]}),t})();const z3=new Set;let Va,JG=(()=>{class t{constructor(e){this._platform=e,this._matchMedia=this._platform.isBrowser&&window.matchMedia?window.matchMedia.bind(window):ez}matchMedia(e){return(this._platform.WEBKIT||this._platform.BLINK)&&function XG(t){if(!z3.has(t))try{Va||(Va=document.createElement("style"),Va.setAttribute("type","text/css"),document.head.appendChild(Va)),Va.sheet&&(Va.sheet.insertRule(`@media ${t} {body{ }}`,0),z3.add(t))}catch(n){console.error(n)}}(e),this._matchMedia(e)}}return t.\u0275fac=function(e){return new(e||t)(M(Jt))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function ez(t){return{matches:"all"===t||""===t,media:t,addListener:()=>{},removeListener:()=>{}}}let tz=(()=>{class t{constructor(e,i){this._mediaMatcher=e,this._zone=i,this._queries=new Map,this._destroySubject=new $}ngOnDestroy(){this._destroySubject.next(),this._destroySubject.complete()}isMatched(e){return q3(Xd(e)).some(o=>this._registerQuery(o).mql.matches)}observe(e){let s=tr(q3(Xd(e)).map(r=>this._registerQuery(r).observable));return s=Ta(s.pipe(ze(1)),s.pipe(Jd(1),Zd(0))),s.pipe(pe(r=>{const a={matches:!1,breakpoints:{}};return r.forEach(({matches:u,query:p})=>{a.matches=a.matches||u,a.breakpoints[p]=u}),a}))}_registerQuery(e){if(this._queries.has(e))return this._queries.get(e);const i=this._mediaMatcher.matchMedia(e),s={observable:new Qe(r=>{const a=u=>this._zone.run(()=>r.next(u));return i.addListener(a),()=>{i.removeListener(a)}}).pipe(gn(i),pe(({matches:r})=>({query:e,matches:r})),ie(this._destroySubject)),mql:i};return this._queries.set(e,s),s}}return t.\u0275fac=function(e){return new(e||t)(M(JG),M(se))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function q3(t){return t.map(n=>n.split(",")).reduce((n,e)=>n.concat(e)).map(n=>n.trim())}const iz=["tooltip"],$3="tooltip-panel",W3=rr({passive:!0}),Y3=new j("mat-tooltip-scroll-strategy"),az={provide:Y3,deps:[wo],useFactory:function rz(t){return()=>t.scrollStrategies.reposition({scrollThrottle:20})}},lz=new j("mat-tooltip-default-options",{providedIn:"root",factory:function cz(){return{showDelay:0,hideDelay:0,touchendHideDelay:1500}}});let uz=(()=>{class t{constructor(e,i,o,s,r,a,u,p,f,g,b,y){this._overlay=e,this._elementRef=i,this._scrollDispatcher=o,this._viewContainerRef=s,this._ngZone=r,this._platform=a,this._ariaDescriber=u,this._focusMonitor=p,this._dir=g,this._defaultOptions=b,this._position="below",this._disabled=!1,this._viewInitialized=!1,this._pointerExitEventsInitialized=!1,this._viewportMargin=8,this._cssClassPrefix="mat",this._showDelay=this._defaultOptions.showDelay,this._hideDelay=this._defaultOptions.hideDelay,this.touchGestures="auto",this._message="",this._passiveListeners=[],this._destroyed=new $,this._scrollStrategy=f,this._document=y,b&&(b.position&&(this.position=b.position),b.touchGestures&&(this.touchGestures=b.touchGestures)),g.change.pipe(ie(this._destroyed)).subscribe(()=>{this._overlayRef&&this._updatePosition(this._overlayRef)})}get position(){return this._position}set position(e){var i;e!==this._position&&(this._position=e,this._overlayRef&&(this._updatePosition(this._overlayRef),null===(i=this._tooltipInstance)||void 0===i||i.show(0),this._overlayRef.updatePosition()))}get disabled(){return this._disabled}set disabled(e){this._disabled=ot(e),this._disabled?this.hide(0):this._setupPointerEnterEventsIfNeeded()}get showDelay(){return this._showDelay}set showDelay(e){this._showDelay=Mi(e)}get hideDelay(){return this._hideDelay}set hideDelay(e){this._hideDelay=Mi(e),this._tooltipInstance&&(this._tooltipInstance._mouseLeaveHideDelay=this._hideDelay)}get message(){return this._message}set message(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this._message,"tooltip"),this._message=null!=e?String(e).trim():"",!this._message&&this._isTooltipVisible()?this.hide(0):(this._setupPointerEnterEventsIfNeeded(),this._updateTooltipMessage(),this._ngZone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._ariaDescriber.describe(this._elementRef.nativeElement,this.message,"tooltip")})}))}get tooltipClass(){return this._tooltipClass}set tooltipClass(e){this._tooltipClass=e,this._tooltipInstance&&this._setTooltipClass(this._tooltipClass)}ngAfterViewInit(){this._viewInitialized=!0,this._setupPointerEnterEventsIfNeeded(),this._focusMonitor.monitor(this._elementRef).pipe(ie(this._destroyed)).subscribe(e=>{e?"keyboard"===e&&this._ngZone.run(()=>this.show()):this._ngZone.run(()=>this.hide(0))})}ngOnDestroy(){const e=this._elementRef.nativeElement;clearTimeout(this._touchstartTimeout),this._overlayRef&&(this._overlayRef.dispose(),this._tooltipInstance=null),this._passiveListeners.forEach(([i,o])=>{e.removeEventListener(i,o,W3)}),this._passiveListeners.length=0,this._destroyed.next(),this._destroyed.complete(),this._ariaDescriber.removeDescription(e,this.message,"tooltip"),this._focusMonitor.stopMonitoring(e)}show(e=this.showDelay){if(this.disabled||!this.message||this._isTooltipVisible()&&!this._tooltipInstance._showTimeoutId&&!this._tooltipInstance._hideTimeoutId)return;const i=this._createOverlay();this._detach(),this._portal=this._portal||new ah(this._tooltipComponent,this._viewContainerRef);const o=this._tooltipInstance=i.attach(this._portal).instance;o._triggerElement=this._elementRef.nativeElement,o._mouseLeaveHideDelay=this._hideDelay,o.afterHidden().pipe(ie(this._destroyed)).subscribe(()=>this._detach()),this._setTooltipClass(this._tooltipClass),this._updateTooltipMessage(),o.show(e)}hide(e=this.hideDelay){this._tooltipInstance&&this._tooltipInstance.hide(e)}toggle(){this._isTooltipVisible()?this.hide():this.show()}_isTooltipVisible(){return!!this._tooltipInstance&&this._tooltipInstance.isVisible()}_createOverlay(){var e;if(this._overlayRef)return this._overlayRef;const i=this._scrollDispatcher.getAncestorScrollContainers(this._elementRef),o=this._overlay.position().flexibleConnectedTo(this._elementRef).withTransformOriginOn(`.${this._cssClassPrefix}-tooltip`).withFlexibleDimensions(!1).withViewportMargin(this._viewportMargin).withScrollableContainers(i);return o.positionChanges.pipe(ie(this._destroyed)).subscribe(s=>{this._updateCurrentPositionClass(s.connectionPair),this._tooltipInstance&&s.scrollableViewProperties.isOverlayClipped&&this._tooltipInstance.isVisible()&&this._ngZone.run(()=>this.hide(0))}),this._overlayRef=this._overlay.create({direction:this._dir,positionStrategy:o,panelClass:`${this._cssClassPrefix}-${$3}`,scrollStrategy:this._scrollStrategy()}),this._updatePosition(this._overlayRef),this._overlayRef.detachments().pipe(ie(this._destroyed)).subscribe(()=>this._detach()),this._overlayRef.outsidePointerEvents().pipe(ie(this._destroyed)).subscribe(()=>{var s;return null===(s=this._tooltipInstance)||void 0===s?void 0:s._handleBodyInteraction()}),this._overlayRef.keydownEvents().pipe(ie(this._destroyed)).subscribe(s=>{this._isTooltipVisible()&&27===s.keyCode&&!zo(s)&&(s.preventDefault(),s.stopPropagation(),this._ngZone.run(()=>this.hide(0)))}),(null===(e=this._defaultOptions)||void 0===e?void 0:e.disableTooltipInteractivity)&&this._overlayRef.addPanelClass(`${this._cssClassPrefix}-tooltip-panel-non-interactive`),this._overlayRef}_detach(){this._overlayRef&&this._overlayRef.hasAttached()&&this._overlayRef.detach(),this._tooltipInstance=null}_updatePosition(e){const i=e.getConfig().positionStrategy,o=this._getOrigin(),s=this._getOverlayPosition();i.withPositions([this._addOffset(Object.assign(Object.assign({},o.main),s.main)),this._addOffset(Object.assign(Object.assign({},o.fallback),s.fallback))])}_addOffset(e){return e}_getOrigin(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let o;"above"==i||"below"==i?o={originX:"center",originY:"above"==i?"top":"bottom"}:"before"==i||"left"==i&&e||"right"==i&&!e?o={originX:"start",originY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(o={originX:"end",originY:"center"});const{x:s,y:r}=this._invertPosition(o.originX,o.originY);return{main:o,fallback:{originX:s,originY:r}}}_getOverlayPosition(){const e=!this._dir||"ltr"==this._dir.value,i=this.position;let o;"above"==i?o={overlayX:"center",overlayY:"bottom"}:"below"==i?o={overlayX:"center",overlayY:"top"}:"before"==i||"left"==i&&e||"right"==i&&!e?o={overlayX:"end",overlayY:"center"}:("after"==i||"right"==i&&e||"left"==i&&!e)&&(o={overlayX:"start",overlayY:"center"});const{x:s,y:r}=this._invertPosition(o.overlayX,o.overlayY);return{main:o,fallback:{overlayX:s,overlayY:r}}}_updateTooltipMessage(){this._tooltipInstance&&(this._tooltipInstance.message=this.message,this._tooltipInstance._markForCheck(),this._ngZone.onMicrotaskEmpty.pipe(ze(1),ie(this._destroyed)).subscribe(()=>{this._tooltipInstance&&this._overlayRef.updatePosition()}))}_setTooltipClass(e){this._tooltipInstance&&(this._tooltipInstance.tooltipClass=e,this._tooltipInstance._markForCheck())}_invertPosition(e,i){return"above"===this.position||"below"===this.position?"top"===i?i="bottom":"bottom"===i&&(i="top"):"end"===e?e="start":"start"===e&&(e="end"),{x:e,y:i}}_updateCurrentPositionClass(e){const{overlayY:i,originX:o,originY:s}=e;let r;if(r="center"===i?this._dir&&"rtl"===this._dir.value?"end"===o?"left":"right":"start"===o?"left":"right":"bottom"===i&&"top"===s?"above":"below",r!==this._currentPosition){const a=this._overlayRef;if(a){const u=`${this._cssClassPrefix}-${$3}-`;a.removePanelClass(u+this._currentPosition),a.addPanelClass(u+r)}this._currentPosition=r}}_setupPointerEnterEventsIfNeeded(){this._disabled||!this.message||!this._viewInitialized||this._passiveListeners.length||(this._platformSupportsMouseEvents()?this._passiveListeners.push(["mouseenter",()=>{this._setupPointerExitEventsIfNeeded(),this.show()}]):"off"!==this.touchGestures&&(this._disableNativeGesturesIfNecessary(),this._passiveListeners.push(["touchstart",()=>{this._setupPointerExitEventsIfNeeded(),clearTimeout(this._touchstartTimeout),this._touchstartTimeout=setTimeout(()=>this.show(),500)}])),this._addListeners(this._passiveListeners))}_setupPointerExitEventsIfNeeded(){if(this._pointerExitEventsInitialized)return;this._pointerExitEventsInitialized=!0;const e=[];if(this._platformSupportsMouseEvents())e.push(["mouseleave",i=>{var o;const s=i.relatedTarget;(!s||!(null===(o=this._overlayRef)||void 0===o?void 0:o.overlayElement.contains(s)))&&this.hide()}],["wheel",i=>this._wheelListener(i)]);else if("off"!==this.touchGestures){this._disableNativeGesturesIfNecessary();const i=()=>{clearTimeout(this._touchstartTimeout),this.hide(this._defaultOptions.touchendHideDelay)};e.push(["touchend",i],["touchcancel",i])}this._addListeners(e),this._passiveListeners.push(...e)}_addListeners(e){e.forEach(([i,o])=>{this._elementRef.nativeElement.addEventListener(i,o,W3)})}_platformSupportsMouseEvents(){return!this._platform.IOS&&!this._platform.ANDROID}_wheelListener(e){if(this._isTooltipVisible()){const i=this._document.elementFromPoint(e.clientX,e.clientY),o=this._elementRef.nativeElement;i!==o&&!o.contains(i)&&this.hide()}}_disableNativeGesturesIfNecessary(){const e=this.touchGestures;if("off"!==e){const i=this._elementRef.nativeElement,o=i.style;("on"===e||"INPUT"!==i.nodeName&&"TEXTAREA"!==i.nodeName)&&(o.userSelect=o.msUserSelect=o.webkitUserSelect=o.MozUserSelect="none"),("on"===e||!i.draggable)&&(o.webkitUserDrag="none"),o.touchAction="none",o.webkitTapHighlightColor="transparent"}}}return t.\u0275fac=function(e){zs()},t.\u0275dir=x({type:t,inputs:{position:["matTooltipPosition","position"],disabled:["matTooltipDisabled","disabled"],showDelay:["matTooltipShowDelay","showDelay"],hideDelay:["matTooltipHideDelay","hideDelay"],touchGestures:["matTooltipTouchGestures","touchGestures"],message:["matTooltip","message"],tooltipClass:["matTooltipClass","tooltipClass"]}}),t})(),dz=(()=>{class t extends uz{constructor(e,i,o,s,r,a,u,p,f,g,b,y){super(e,i,o,s,r,a,u,p,f,g,b,y),this._tooltipComponent=pz}}return t.\u0275fac=function(e){return new(e||t)(_(wo),_(K),_(qT),_(Bt),_(se),_(Jt),_(U9),_(cr),_(Y3),_($n,8),_(lz,8),_(ve))},t.\u0275dir=x({type:t,selectors:[["","matTooltip",""]],hostAttrs:[1,"mat-tooltip-trigger"],exportAs:["matTooltip"],features:[G]}),t})(),hz=(()=>{class t{constructor(e,i){this._changeDetectorRef=e,this._visibility="initial",this._closeOnInteraction=!1,this._isVisible=!1,this._onHide=new $,this._animationsDisabled="NoopAnimations"===i}show(e){clearTimeout(this._hideTimeoutId),this._showTimeoutId=setTimeout(()=>{this._toggleVisibility(!0),this._showTimeoutId=void 0},e)}hide(e){clearTimeout(this._showTimeoutId),this._hideTimeoutId=setTimeout(()=>{this._toggleVisibility(!1),this._hideTimeoutId=void 0},e)}afterHidden(){return this._onHide}isVisible(){return this._isVisible}ngOnDestroy(){clearTimeout(this._showTimeoutId),clearTimeout(this._hideTimeoutId),this._onHide.complete(),this._triggerElement=null}_handleBodyInteraction(){this._closeOnInteraction&&this.hide(0)}_markForCheck(){this._changeDetectorRef.markForCheck()}_handleMouseLeave({relatedTarget:e}){(!e||!this._triggerElement.contains(e))&&this.hide(this._mouseLeaveHideDelay)}_onShow(){}_handleAnimationEnd({animationName:e}){(e===this._showAnimation||e===this._hideAnimation)&&this._finalizeAnimation(e===this._showAnimation)}_finalizeAnimation(e){e?this._closeOnInteraction=!0:this.isVisible()||this._onHide.next()}_toggleVisibility(e){const i=this._tooltip.nativeElement,o=this._showAnimation,s=this._hideAnimation;if(i.classList.remove(e?s:o),i.classList.add(e?o:s),this._isVisible=e,e&&!this._animationsDisabled&&"function"==typeof getComputedStyle){const r=getComputedStyle(i);("0s"===r.getPropertyValue("animation-duration")||"none"===r.getPropertyValue("animation-name"))&&(this._animationsDisabled=!0)}e&&this._onShow(),this._animationsDisabled&&(i.classList.add("_mat-animation-noopable"),this._finalizeAnimation(e))}}return t.\u0275fac=function(e){return new(e||t)(_(Ke),_(On,8))},t.\u0275dir=x({type:t}),t})(),pz=(()=>{class t extends hz{constructor(e,i,o){super(e,o),this._breakpointObserver=i,this._isHandset=this._breakpointObserver.observe("(max-width: 599.98px) and (orientation: portrait), (max-width: 959.98px) and (orientation: landscape)"),this._showAnimation="mat-tooltip-show",this._hideAnimation="mat-tooltip-hide"}}return t.\u0275fac=function(e){return new(e||t)(_(Ke),_(tz),_(On,8))},t.\u0275cmp=N({type:t,selectors:[["mat-tooltip-component"]],viewQuery:function(e,i){if(1&e&&me(iz,7),2&e){let o;F(o=P())&&(i._tooltip=o.first)}},hostAttrs:["aria-hidden","true"],hostVars:2,hostBindings:function(e,i){1&e&&D("mouseleave",function(s){return i._handleMouseLeave(s)}),2&e&&Gn("zoom",i.isVisible()?1:null)},features:[G],decls:4,vars:6,consts:[[1,"mat-tooltip",3,"ngClass","animationend"],["tooltip",""]],template:function(e,i){if(1&e&&(l(0,"div",0,1),D("animationend",function(s){return i._handleAnimationEnd(s)}),fs(2,"async"),d(3),c()),2&e){let o;oe("mat-tooltip-handset",null==(o=ms(2,4,i._isHandset))?null:o.matches),v("ngClass",i.tooltipClass),m(3),le(i.message)}},directives:[er],pipes:[Lw],styles:[".mat-tooltip{color:#fff;border-radius:4px;margin:14px;max-width:250px;padding-left:8px;padding-right:8px;overflow:hidden;text-overflow:ellipsis;transform:scale(0)}.mat-tooltip._mat-animation-noopable{animation:none;transform:scale(1)}.cdk-high-contrast-active .mat-tooltip{outline:solid 1px}.mat-tooltip-handset{margin:24px;padding-left:16px;padding-right:16px}.mat-tooltip-panel-non-interactive{pointer-events:none}@keyframes mat-tooltip-show{0%{opacity:0;transform:scale(0)}50%{opacity:.5;transform:scale(0.99)}100%{opacity:1;transform:scale(1)}}@keyframes mat-tooltip-hide{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(1)}}.mat-tooltip-show{animation:mat-tooltip-show 200ms cubic-bezier(0, 0, 0.2, 1) forwards}.mat-tooltip-hide{animation:mat-tooltip-hide 100ms cubic-bezier(0, 0, 0.2, 1) forwards}\n"],encapsulation:2,changeDetection:0}),t})(),fz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({providers:[az],imports:[[HE,it,Ah,_t],_t,wc]}),t})();function mz(t,n){if(1&t&&(l(0,"mat-option",19),d(1),c()),2&t){const e=n.$implicit;v("value",e),m(1),U(" ",e," ")}}function gz(t,n){if(1&t){const e=Ae();l(0,"mat-form-field",16)(1,"mat-select",17),D("selectionChange",function(o){return re(e),I(2)._changePageSize(o.value)}),C(2,mz,2,2,"mat-option",18),c()()}if(2&t){const e=I(2);v("appearance",e._formFieldAppearance)("color",e.color),m(1),v("value",e.pageSize)("disabled",e.disabled)("aria-label",e._intl.itemsPerPageLabel),m(1),v("ngForOf",e._displayedPageSizeOptions)}}function _z(t,n){if(1&t&&(l(0,"div",20),d(1),c()),2&t){const e=I(2);m(1),le(e.pageSize)}}function vz(t,n){if(1&t&&(l(0,"div",12)(1,"div",13),d(2),c(),C(3,gz,3,6,"mat-form-field",14),C(4,_z,2,1,"div",15),c()),2&t){const e=I();m(2),U(" ",e._intl.itemsPerPageLabel," "),m(1),v("ngIf",e._displayedPageSizeOptions.length>1),m(1),v("ngIf",e._displayedPageSizeOptions.length<=1)}}function bz(t,n){if(1&t){const e=Ae();l(0,"button",21),D("click",function(){return re(e),I().firstPage()}),R(),l(1,"svg",7),h(2,"path",22),c()()}if(2&t){const e=I();v("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),ae("aria-label",e._intl.firstPageLabel)}}function yz(t,n){if(1&t){const e=Ae();R(),q(),l(0,"button",23),D("click",function(){return re(e),I().lastPage()}),R(),l(1,"svg",7),h(2,"path",24),c()()}if(2&t){const e=I();v("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),ae("aria-label",e._intl.lastPageLabel)}}let Xh=(()=>{class t{constructor(){this.changes=new $,this.itemsPerPageLabel="Items per page:",this.nextPageLabel="Next page",this.previousPageLabel="Previous page",this.firstPageLabel="First page",this.lastPageLabel="Last page",this.getRangeLabel=(e,i,o)=>{if(0==o||0==i)return`0 of ${o}`;const s=e*i;return`${s+1} \u2013 ${s<(o=Math.max(o,0))?Math.min(s+i,o):s+i} of ${o}`}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const wz={provide:Xh,deps:[[new Ci,new js,Xh]],useFactory:function Cz(t){return t||new Xh}},Ez=new j("MAT_PAGINATOR_DEFAULT_OPTIONS"),Tz=fr(OV(class{}));let Sz=(()=>{class t extends Tz{constructor(e,i,o){if(super(),this._intl=e,this._changeDetectorRef=i,this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this._hidePageSize=!1,this._showFirstLastButtons=!1,this.page=new H,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),o){const{pageSize:s,pageSizeOptions:r,hidePageSize:a,showFirstLastButtons:u}=o;null!=s&&(this._pageSize=s),null!=r&&(this._pageSizeOptions=r),null!=a&&(this._hidePageSize=a),null!=u&&(this._showFirstLastButtons=u)}}get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(Mi(e),0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=Mi(e),this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(Mi(e),0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(i=>Mi(i)),this._updateDisplayedPageSizeOptions()}get hidePageSize(){return this._hidePageSize}set hidePageSize(e){this._hidePageSize=ot(e)}get showFirstLastButtons(){return this._showFirstLastButtons}set showFirstLastButtons(e){this._showFirstLastButtons=ot(e)}ngOnInit(){this._initialized=!0,this._updateDisplayedPageSizeOptions(),this._markInitialized()}ngOnDestroy(){this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;const e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;const e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&0!=this.pageSize}hasNextPage(){const e=this.getNumberOfPages()-1;return this.pageIndexe-i),this._changeDetectorRef.markForCheck())}_emitPageEvent(e){this.page.emit({previousPageIndex:e,pageIndex:this.pageIndex,pageSize:this.pageSize,length:this.length})}}return t.\u0275fac=function(e){zs()},t.\u0275dir=x({type:t,inputs:{color:"color",pageIndex:"pageIndex",length:"length",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions",hidePageSize:"hidePageSize",showFirstLastButtons:"showFirstLastButtons"},outputs:{page:"page"},features:[G]}),t})(),Yn=(()=>{class t extends Sz{constructor(e,i,o){super(e,i,o),o&&null!=o.formFieldAppearance&&(this._formFieldAppearance=o.formFieldAppearance)}}return t.\u0275fac=function(e){return new(e||t)(_(Xh),_(Ke),_(Ez,8))},t.\u0275cmp=N({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[G],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div",1),C(2,vz,5,3,"div",2),l(3,"div",3)(4,"div",4),d(5),c(),C(6,bz,3,5,"button",5),l(7,"button",6),D("click",function(){return i.previousPage()}),R(),l(8,"svg",7),h(9,"path",8),c()(),q(),l(10,"button",9),D("click",function(){return i.nextPage()}),R(),l(11,"svg",7),h(12,"path",10),c()(),C(13,yz,3,5,"button",11),c()()()),2&e&&(m(2),v("ngIf",!i.hidePageSize),m(3),U(" ",i._intl.getRangeLabel(i.pageIndex,i.pageSize,i.length)," "),m(1),v("ngIf",i.showFirstLastButtons),m(1),v("matTooltip",i._intl.previousPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),ae("aria-label",i._intl.previousPageLabel),m(3),v("matTooltip",i._intl.nextPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),ae("aria-label",i._intl.nextPageLabel),m(3),v("ngIf",i.showFirstLastButtons))},directives:[xi,Wo,Co,fU,Ye,qe,dz],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}\n"],encapsulation:2,changeDetection:0}),t})(),Mz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({providers:[wz],imports:[[it,mU,G3,fz,_t]]}),t})();const Az=[[["caption"]],[["colgroup"],["col"]]],xz=["caption","colgroup, col"];function O0(t){return class extends t{constructor(...n){super(...n),this._sticky=!1,this._hasStickyChanged=!1}get sticky(){return this._sticky}set sticky(n){const e=this._sticky;this._sticky=ot(n),this._hasStickyChanged=e!==this._sticky}hasStickyChanged(){const n=this._hasStickyChanged;return this._hasStickyChanged=!1,n}resetStickyChanged(){this._hasStickyChanged=!1}}}const ja=new j("CDK_TABLE");let Ha=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["","cdkCellDef",""]]}),t})(),Ua=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["","cdkHeaderCellDef",""]]}),t})(),ep=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["","cdkFooterCellDef",""]]}),t})();class Rz{}const Fz=O0(Rz);let Yo=(()=>{class t extends Fz{constructor(e){super(),this._table=e,this._stickyEnd=!1}get name(){return this._name}set name(e){this._setNameInput(e)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){const i=this._stickyEnd;this._stickyEnd=ot(e),this._hasStickyChanged=i!==this._stickyEnd}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}}return t.\u0275fac=function(e){return new(e||t)(_(ja,8))},t.\u0275dir=x({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(e,i,o){if(1&e&&(te(o,Ha,5),te(o,Ua,5),te(o,ep,5)),2&e){let s;F(s=P())&&(i.cell=s.first),F(s=P())&&(i.headerCell=s.first),F(s=P())&&(i.footerCell=s.first)}},inputs:{sticky:"sticky",name:["cdkColumnDef","name"],stickyEnd:"stickyEnd"},features:[fe([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),G]}),t})();class N0{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}}let k0=(()=>{class t extends N0{constructor(e,i){super(e,i)}}return t.\u0275fac=function(e){return new(e||t)(_(Yo),_(K))},t.\u0275dir=x({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],features:[G]}),t})(),R0=(()=>{class t extends N0{constructor(e,i){var o;if(super(e,i),1===(null===(o=e._table)||void 0===o?void 0:o._elementRef.nativeElement.nodeType)){const s=e._table._elementRef.nativeElement.getAttribute("role");i.nativeElement.setAttribute("role","grid"===s||"treegrid"===s?"gridcell":"cell")}}}return t.\u0275fac=function(e){return new(e||t)(_(Yo),_(K))},t.\u0275dir=x({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],features:[G]}),t})();class K3{constructor(){this.tasks=[],this.endTasks=[]}}const F0=new j("_COALESCED_STYLE_SCHEDULER");let Z3=(()=>{class t{constructor(e){this._ngZone=e,this._currentSchedule=null,this._destroyed=new $}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new K3,this._getScheduleObservable().pipe(ie(this._destroyed)).subscribe(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){const e=this._currentSchedule;this._currentSchedule=new K3;for(const i of e.tasks)i();for(const i of e.endTasks)i()}this._currentSchedule=null}))}_getScheduleObservable(){return this._ngZone.isStable?nn(Promise.resolve(void 0)):this._ngZone.onStable.pipe(ze(1))}}return t.\u0275fac=function(e){return new(e||t)(M(se))},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})(),P0=(()=>{class t{constructor(e,i){this.template=e,this._differs=i}ngOnChanges(e){if(!this._columnsDiffer){const i=e.columns&&e.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(e){return this instanceof Bc?e.headerCell.template:this instanceof Vc?e.footerCell.template:e.cell.template}}return t.\u0275fac=function(e){return new(e||t)(_(ce),_(Vo))},t.\u0275dir=x({type:t,features:[mt]}),t})();class Pz extends P0{}const Lz=O0(Pz);let Bc=(()=>{class t extends Lz{constructor(e,i,o){super(e,i),this._table=o}ngOnChanges(e){super.ngOnChanges(e)}}return t.\u0275fac=function(e){return new(e||t)(_(ce),_(Vo),_(ja,8))},t.\u0275dir=x({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:["cdkHeaderRowDef","columns"],sticky:["cdkHeaderRowDefSticky","sticky"]},features:[G,mt]}),t})();class Bz extends P0{}const Vz=O0(Bz);let Vc=(()=>{class t extends Vz{constructor(e,i,o){super(e,i),this._table=o}ngOnChanges(e){super.ngOnChanges(e)}}return t.\u0275fac=function(e){return new(e||t)(_(ce),_(Vo),_(ja,8))},t.\u0275dir=x({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:["cdkFooterRowDef","columns"],sticky:["cdkFooterRowDefSticky","sticky"]},features:[G,mt]}),t})(),tp=(()=>{class t extends P0{constructor(e,i,o){super(e,i),this._table=o}}return t.\u0275fac=function(e){return new(e||t)(_(ce),_(Vo),_(ja,8))},t.\u0275dir=x({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:["cdkRowDefColumns","columns"],when:["cdkRowDefWhen","when"]},features:[G]}),t})(),Qo=(()=>{class t{constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}}return t.mostRecentCellOutlet=null,t.\u0275fac=function(e){return new(e||t)(_(Bt))},t.\u0275dir=x({type:t,selectors:[["","cdkCellOutlet",""]]}),t})(),L0=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Cn(0,0)},directives:[Qo],encapsulation:2}),t})(),V0=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Cn(0,0)},directives:[Qo],encapsulation:2}),t})(),np=(()=>{class t{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["ng-template","cdkNoDataRow",""]]}),t})();const J3=["top","bottom","left","right"];class jz{constructor(n,e,i,o,s=!0,r=!0,a){this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=o,this._isBrowser=s,this._needsPositionStickyOnElement=r,this._positionListener=a,this._cachedCellWidths=[],this._borderCellCss={top:`${e}-border-elem-top`,bottom:`${e}-border-elem-bottom`,left:`${e}-border-elem-left`,right:`${e}-border-elem-right`}}clearStickyPositioning(n,e){const i=[];for(const o of n)if(o.nodeType===o.ELEMENT_NODE){i.push(o);for(let s=0;s{for(const o of i)this._removeStickyStyle(o,e)})}updateStickyColumns(n,e,i,o=!0){if(!n.length||!this._isBrowser||!e.some(b=>b)&&!i.some(b=>b))return void(this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]})));const s=n[0],r=s.children.length,a=this._getCellWidths(s,o),u=this._getStickyStartColumnPositions(a,e),p=this._getStickyEndColumnPositions(a,i),f=e.lastIndexOf(!0),g=i.indexOf(!0);this._coalescedStyleScheduler.schedule(()=>{const b="rtl"===this.direction,y=b?"right":"left",w=b?"left":"right";for(const E of n)for(let S=0;Se[S]?E:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:-1===g?[]:a.slice(g).map((E,S)=>i[S+g]?E:null).reverse()}))})}stickRows(n,e,i){if(!this._isBrowser)return;const o="bottom"===i?n.slice().reverse():n,s="bottom"===i?e.slice().reverse():e,r=[],a=[],u=[];for(let f=0,g=0;f{var f,g;for(let b=0;b{e.some(o=>!o)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1)})}_removeStickyStyle(n,e){for(const o of e)n.style[o]="",n.classList.remove(this._borderCellCss[o]);J3.some(o=>-1===e.indexOf(o)&&n.style[o])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,i,o){n.classList.add(this._stickCellCss),o&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${i}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){const e={top:100,bottom:10,left:1,right:1};let i=0;for(const o of J3)n.style[o]&&(i+=e[o]);return i?`${i}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;const i=[],o=n.children;for(let s=0;s0;s--)e[s]&&(i[s]=o,o+=n[s]);return i}}const j0=new j("CDK_SPL");let ip=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(_(Bt),_(K))},t.\u0275dir=x({type:t,selectors:[["","rowOutlet",""]]}),t})(),op=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(_(Bt),_(K))},t.\u0275dir=x({type:t,selectors:[["","headerRowOutlet",""]]}),t})(),sp=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(_(Bt),_(K))},t.\u0275dir=x({type:t,selectors:[["","footerRowOutlet",""]]}),t})(),rp=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i}}return t.\u0275fac=function(e){return new(e||t)(_(Bt),_(K))},t.\u0275dir=x({type:t,selectors:[["","noDataRowOutlet",""]]}),t})(),ap=(()=>{class t{constructor(e,i,o,s,r,a,u,p,f,g,b,y){this._differs=e,this._changeDetectorRef=i,this._elementRef=o,this._dir=r,this._platform=u,this._viewRepeater=p,this._coalescedStyleScheduler=f,this._viewportRuler=g,this._stickyPositioningListener=b,this._ngZone=y,this._onDestroy=new $,this._columnDefsByName=new Map,this._customColumnDefs=new Set,this._customRowDefs=new Set,this._customHeaderRowDefs=new Set,this._customFooterRowDefs=new Set,this._headerRowDefChanged=!0,this._footerRowDefChanged=!0,this._stickyColumnStylesNeedReset=!0,this._forceRecalculateCellWidths=!0,this._cachedRenderRowsMap=new Map,this.stickyCssClass="cdk-table-sticky",this.needsPositionStickyOnElement=!0,this._isShowingNoDataRow=!1,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new H,this.viewChange=new Nt({start:0,end:Number.MAX_VALUE}),s||this._elementRef.nativeElement.setAttribute("role","table"),this._document=a,this._isNativeHtmlTable="TABLE"===this._elementRef.nativeElement.nodeName}get trackBy(){return this._trackByFn}set trackBy(e){this._trackByFn=e}get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(e){this._multiTemplateDataRows=ot(e),this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=ot(e),this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}ngOnInit(){this._setupStickyStyler(),this._isNativeHtmlTable&&this._applyNativeTableSections(),this._dataDiffer=this._differs.find([]).create((e,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(ie(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentChecked(){this._cacheRowDefs(),this._cacheColumnDefs();const i=this._renderUpdatedColumns()||this._headerRowDefChanged||this._footerRowDefChanged;this._stickyColumnStylesNeedReset=this._stickyColumnStylesNeedReset||i,this._forceRecalculateCellWidths=i,this._headerRowDefChanged&&(this._forceRenderHeaderRows(),this._headerRowDefChanged=!1),this._footerRowDefChanged&&(this._forceRenderFooterRows(),this._footerRowDefChanged=!1),this.dataSource&&this._rowDefs.length>0&&!this._renderChangeSubscription?this._observeRenderChanges():this._stickyColumnStylesNeedReset&&this.updateStickyColumnStyles(),this._checkStickyStates()}ngOnDestroy(){[this._rowOutlet.viewContainer,this._headerRowOutlet.viewContainer,this._footerRowOutlet.viewContainer,this._cachedRenderRowsMap,this._customColumnDefs,this._customRowDefs,this._customHeaderRowDefs,this._customFooterRowDefs,this._columnDefsByName].forEach(e=>{e.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),a0(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();const e=this._dataDiffer.diff(this._renderRows);if(!e)return this._updateNoDataRow(),void this.contentChanged.next();const i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(o,s,r)=>this._getEmbeddedViewArgs(o.item,r),o=>o.item.data,o=>{1===o.operation&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(o=>{i.get(o.currentIndex).context.$implicit=o.item.data}),this._updateNoDataRow(),this._ngZone&&se.isInAngularZone()?this._ngZone.onStable.pipe(ze(1),ie(this._onDestroy)).subscribe(()=>{this.updateStickyColumnStyles()}):this.updateStickyColumnStyles(),this.contentChanged.next()}addColumnDef(e){this._customColumnDefs.add(e)}removeColumnDef(e){this._customColumnDefs.delete(e)}addRowDef(e){this._customRowDefs.add(e)}removeRowDef(e){this._customRowDefs.delete(e)}addHeaderRowDef(e){this._customHeaderRowDefs.add(e),this._headerRowDefChanged=!0}removeHeaderRowDef(e){this._customHeaderRowDefs.delete(e),this._headerRowDefChanged=!0}addFooterRowDef(e){this._customFooterRowDefs.add(e),this._footerRowDefChanged=!0}removeFooterRowDef(e){this._customFooterRowDefs.delete(e),this._footerRowDefChanged=!0}setNoDataRow(e){this._customNoDataRow=e}updateStickyHeaderRowStyles(){const e=this._getRenderedRows(this._headerRowOutlet),o=this._elementRef.nativeElement.querySelector("thead");o&&(o.style.display=e.length?"":"none");const s=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,s,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){const e=this._getRenderedRows(this._footerRowOutlet),o=this._elementRef.nativeElement.querySelector("tfoot");o&&(o.style.display=e.length?"":"none");const s=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,s,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,s),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){const e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((s,r)=>{this._addStickyColumnStyles([s],this._headerRowDefs[r])}),this._rowDefs.forEach(s=>{const r=[];for(let a=0;a{this._addStickyColumnStyles([s],this._footerRowDefs[r])}),Array.from(this._columnDefsByName.values()).forEach(s=>s.resetStickyChanged())}_getAllRenderRows(){const e=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{const a=o&&o.has(r)?o.get(r):[];if(a.length){const u=a.shift();return u.dataIndex=i,u}return{data:e,rowDef:r,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),lp(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=lp(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=lp(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=lp(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);const e=this._rowDefs.filter(i=>!i.when);this._defaultRowDef=e[0]}_renderUpdatedColumns(){const e=(r,a)=>r||!!a.getColumnsDiff(),i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();const o=this._headerRowDefs.reduce(e,!1);o&&this._forceRenderHeaderRows();const s=this._footerRowDefs.reduce(e,!1);return s&&this._forceRenderFooterRows(),i||o||s}_switchDataSource(e){this._data=[],a0(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;a0(this.dataSource)?e=this.dataSource.connect(this):function Iz(t){return!!t&&(t instanceof Qe||Ge(t.lift)&&Ge(t.subscribe))}(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=ne(this.dataSource)),this._renderChangeSubscription=e.pipe(ie(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((e,i)=>this._renderRow(this._headerRowOutlet,e,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((e,i)=>this._renderRow(this._footerRowOutlet,e,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(e,i){const o=Array.from(i.columns||[]).map(a=>this._columnDefsByName.get(a)),s=o.map(a=>a.sticky),r=o.map(a=>a.stickyEnd);this._stickyStyler.updateStickyColumns(e,s,r,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){const i=[];for(let o=0;o!s.when||s.when(i,e));else{let s=this._rowDefs.find(r=>r.when&&r.when(i,e))||this._defaultRowDef;s&&o.push(s)}return o}_getEmbeddedViewArgs(e,i){return{templateRef:e.rowDef.template,context:{$implicit:e.data},index:i}}_renderRow(e,i,o,s={}){const r=e.viewContainer.createEmbeddedView(i.template,s,o);return this._renderCellTemplateForItem(i,s),r}_renderCellTemplateForItem(e,i){for(let o of this._getCellTemplates(e))Qo.mostRecentCellOutlet&&Qo.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){const e=this._rowOutlet.viewContainer;for(let i=0,o=e.length;i{const o=this._columnDefsByName.get(i);return e.extractCellTemplate(o)}):[]}_applyNativeTableSections(){const e=this._document.createDocumentFragment(),i=[{tag:"thead",outlets:[this._headerRowOutlet]},{tag:"tbody",outlets:[this._rowOutlet,this._noDataRowOutlet]},{tag:"tfoot",outlets:[this._footerRowOutlet]}];for(const o of i){const s=this._document.createElement(o.tag);s.setAttribute("role","rowgroup");for(const r of o.outlets)s.appendChild(r.elementRef.nativeElement);e.appendChild(s)}this._elementRef.nativeElement.appendChild(e)}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){const e=(i,o)=>i||o.hasStickyChanged();this._headerRowDefs.reduce(e,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(e,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(e,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){this._stickyStyler=new jz(this._isNativeHtmlTable,this.stickyCssClass,this._dir?this._dir.value:"ltr",this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:ne()).pipe(ie(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){const e=this._customNoDataRow||this._noDataRow;if(!e)return;const i=0===this._rowOutlet.viewContainer.length;if(i===this._isShowingNoDataRow)return;const o=this._noDataRowOutlet.viewContainer;if(i){const s=o.createEmbeddedView(e.templateRef),r=s.rootNodes[0];1===s.rootNodes.length&&(null==r?void 0:r.nodeType)===this._document.ELEMENT_NODE&&(r.setAttribute("role","row"),r.classList.add(e._contentClassName))}else o.clear();this._isShowingNoDataRow=i}}return t.\u0275fac=function(e){return new(e||t)(_(Vo),_(Ke),_(K),ni("role"),_($n,8),_(ve),_(Jt),_(Mc),_(F0),_(gr),_(j0,12),_(se,8))},t.\u0275cmp=N({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(e,i,o){if(1&e&&(te(o,np,5),te(o,Yo,5),te(o,tp,5),te(o,Bc,5),te(o,Vc,5)),2&e){let s;F(s=P())&&(i._noDataRow=s.first),F(s=P())&&(i._contentColumnDefs=s),F(s=P())&&(i._contentRowDefs=s),F(s=P())&&(i._contentHeaderRowDefs=s),F(s=P())&&(i._contentFooterRowDefs=s)}},viewQuery:function(e,i){if(1&e&&(me(ip,7),me(op,7),me(sp,7),me(rp,7)),2&e){let o;F(o=P())&&(i._rowOutlet=o.first),F(o=P())&&(i._headerRowOutlet=o.first),F(o=P())&&(i._footerRowOutlet=o.first),F(o=P())&&(i._noDataRowOutlet=o.first)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(e,i){2&e&&oe("cdk-table-fixed-layout",i.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:"multiTemplateDataRows",fixedLayout:"fixedLayout"},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],features:[fe([{provide:ja,useExisting:t},{provide:Mc,useClass:RS},{provide:F0,useClass:Z3},{provide:j0,useValue:null}])],ngContentSelectors:xz,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(rn(Az),nt(0),nt(1,1),Cn(2,0)(3,1)(4,2)(5,3))},directives:[op,ip,rp,sp],styles:[".cdk-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t})();function lp(t,n){return t.concat(Array.from(n))}let Uz=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[X_]]}),t})();const Gz=[[["caption"]],[["colgroup"],["col"]]],zz=["caption","colgroup, col"];let Ts=(()=>{class t extends ap{constructor(){super(...arguments),this.stickyCssClass="mat-table-sticky",this.needsPositionStickyOnElement=!1}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275cmp=N({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-table"],hostVars:2,hostBindings:function(e,i){2&e&&oe("mat-table-fixed-layout",i.fixedLayout)},exportAs:["matTable"],features:[fe([{provide:Mc,useClass:RS},{provide:ap,useExisting:t},{provide:ja,useExisting:t},{provide:F0,useClass:Z3},{provide:j0,useValue:null}]),G],ngContentSelectors:zz,decls:6,vars:0,consts:[["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(e,i){1&e&&(rn(Gz),nt(0),nt(1,1),Cn(2,0)(3,1)(4,2)(5,3))},directives:[op,ip,rp,sp],styles:["mat-table{display:block}mat-header-row{min-height:56px}mat-row,mat-footer-row{min-height:48px}mat-row,mat-header-row,mat-footer-row{display:flex;border-width:0;border-bottom-width:1px;border-style:solid;align-items:center;box-sizing:border-box}mat-cell:first-of-type,mat-header-cell:first-of-type,mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] mat-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}mat-cell:last-of-type,mat-header-cell:last-of-type,mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] mat-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}mat-cell,mat-header-cell,mat-footer-cell{flex:1;display:flex;align-items:center;overflow:hidden;word-wrap:break-word;min-height:inherit}table.mat-table{border-spacing:0}tr.mat-header-row{height:56px}tr.mat-row,tr.mat-footer-row{height:48px}th.mat-header-cell{text-align:left}[dir=rtl] th.mat-header-cell{text-align:right}th.mat-header-cell,td.mat-cell,td.mat-footer-cell{padding:0;border-bottom-width:1px;border-bottom-style:solid}th.mat-header-cell:first-of-type,td.mat-cell:first-of-type,td.mat-footer-cell:first-of-type{padding-left:24px}[dir=rtl] th.mat-header-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:first-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:first-of-type:not(:only-of-type){padding-left:0;padding-right:24px}th.mat-header-cell:last-of-type,td.mat-cell:last-of-type,td.mat-footer-cell:last-of-type{padding-right:24px}[dir=rtl] th.mat-header-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-cell:last-of-type:not(:only-of-type),[dir=rtl] td.mat-footer-cell:last-of-type:not(:only-of-type){padding-right:0;padding-left:24px}.mat-table-sticky{position:sticky !important}.mat-table-fixed-layout{table-layout:fixed}\n"],encapsulation:2}),t})(),Ko=(()=>{class t extends Ha{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275dir=x({type:t,selectors:[["","matCellDef",""]],features:[fe([{provide:Ha,useExisting:t}]),G]}),t})(),Zo=(()=>{class t extends Ua{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275dir=x({type:t,selectors:[["","matHeaderCellDef",""]],features:[fe([{provide:Ua,useExisting:t}]),G]}),t})(),Jo=(()=>{class t extends Yo{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275dir=x({type:t,selectors:[["","matColumnDef",""]],inputs:{sticky:"sticky",name:["matColumnDef","name"]},features:[fe([{provide:Yo,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),G]}),t})(),Xo=(()=>{class t extends k0{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275dir=x({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-header-cell"],features:[G]}),t})(),es=(()=>{class t extends R0{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275dir=x({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:["role","gridcell",1,"mat-cell"],features:[G]}),t})(),Ss=(()=>{class t extends Bc{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275dir=x({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:["matHeaderRowDef","columns"],sticky:["matHeaderRowDefSticky","sticky"]},features:[fe([{provide:Bc,useExisting:t}]),G]}),t})(),Ms=(()=>{class t extends tp{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275dir=x({type:t,selectors:[["","matRowDef",""]],inputs:{columns:["matRowDefColumns","columns"],when:["matRowDefWhen","when"]},features:[fe([{provide:tp,useExisting:t}]),G]}),t})(),Is=(()=>{class t extends L0{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275cmp=N({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-header-row"],exportAs:["matHeaderRow"],features:[fe([{provide:L0,useExisting:t}]),G],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Cn(0,0)},directives:[Qo],encapsulation:2}),t})(),As=(()=>{class t extends V0{}return t.\u0275fac=function(){let n;return function(i){return(n||(n=je(t)))(i||t)}}(),t.\u0275cmp=N({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-row"],exportAs:["matRow"],features:[fe([{provide:V0,useExisting:t}]),G],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(e,i){1&e&&Cn(0,0)},directives:[Qo],encapsulation:2}),t})(),eq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[Uz,_t],_t]}),t})();class Qn extends class nq extends class jU{}{constructor(n=[]){super(),this._renderData=new Nt([]),this._filter=new Nt(""),this._internalPageChanges=new $,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,i)=>{const o=e[i];if(SE(o)){const s=Number(o);return s<9007199254740991?s:o}return o},this.sortData=(e,i)=>{const o=i.active,s=i.direction;return o&&""!=s?e.sort((r,a)=>{let u=this.sortingDataAccessor(r,o),p=this.sortingDataAccessor(a,o);const f=typeof u,g=typeof p;f!==g&&("number"===f&&(u+=""),"number"===g&&(p+=""));let b=0;return null!=u&&null!=p?u>p?b=1:u{const o=Object.keys(e).reduce((r,a)=>r+e[a]+"\u25ec","").toLowerCase(),s=i.trim().toLowerCase();return-1!=o.indexOf(s)},this._data=new Nt(n),this._updateChangeSubscription()}get data(){return this._data.value}set data(n){n=Array.isArray(n)?n:[],this._data.next(n),this._renderChangesSubscription||this._filterData(n)}get filter(){return this._filter.value}set filter(n){this._filter.next(n),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(n){this._sort=n,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(n){this._paginator=n,this._updateChangeSubscription()}_updateChangeSubscription(){var n;const e=this._sort?bn(this._sort.sortChange,this._sort.initialized):ne(null),i=this._paginator?bn(this._paginator.page,this._internalPageChanges,this._paginator.initialized):ne(null),s=tr([this._data,this._filter]).pipe(pe(([u])=>this._filterData(u))),r=tr([s,e]).pipe(pe(([u])=>this._orderData(u))),a=tr([r,i]).pipe(pe(([u])=>this._pageData(u)));null===(n=this._renderChangesSubscription)||void 0===n||n.unsubscribe(),this._renderChangesSubscription=a.subscribe(u=>this._renderData.next(u))}_filterData(n){return this.filteredData=null==this.filter||""===this.filter?n:n.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(n){return this.sort?this.sortData(n.slice(),this.sort):n}_pageData(n){if(!this.paginator)return n;const e=this.paginator.pageIndex*this.paginator.pageSize;return n.slice(e,e+this.paginator.pageSize)}_updatePaginator(n){Promise.resolve().then(()=>{const e=this.paginator;if(e&&(e.length=n,e.pageIndex>0)){const i=Math.ceil(e.length/e.pageSize)-1||0,o=Math.min(e.pageIndex,i);o!==e.pageIndex&&(e.pageIndex=o,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){var n;null===(n=this._renderChangesSubscription)||void 0===n||n.unsubscribe(),this._renderChangesSubscription=null}}{}function eM(t,n,e,i,o,s,r){try{var a=t[s](r),u=a.value}catch(p){return void e(p)}a.done?n(u):Promise.resolve(u).then(i,o)}function Yi(t){return function(){var n=this,e=arguments;return new Promise(function(i,o){var s=t.apply(n,e);function r(u){eM(s,i,o,r,a,"next",u)}function a(u){eM(s,i,o,r,a,"throw",u)}r(void 0)})}}let Dr=(()=>{class t{constructor(e){this.http=e,this.baseUrl="."}uploadimg(e){const i=new FormData;return i.append("imagenPropia",e,e.name),this.http.post(`${this.baseUrl}/APIBOGATI/upload_img.php`,i)}uploaFiles(e){const i=new FormData;return i.append("imagenPropia",e,e.name),this.http.post(`${this.baseUrl}/APIBOGATI/upload_file.php`,i)}uploadFiles(e){const i=new FormData;return i.append("file",e,e.name),this.http.post(`${this.baseUrl}/APIBOGATI/upload_general.php`,i)}uploadDoc(e){const i=new FormData;return i.append("imagenPropia",e,e.name),this.http.post(`${this.baseUrl}/APIBOGATI/upload_doc.php`,i)}}return t.\u0275fac=function(e){return new(e||t)(M(dn))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Ht=(()=>{class t{constructor(e){this.http=e,this.baseUrl="."}createTienda(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/tienda/tienda_create.php`,JSON.stringify(e)),this.resultado}editTienda(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/tienda/tienda_update.php`,JSON.stringify(e)),this.resultado}deleteTienda(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/tienda/tienda_delete.php`,JSON.stringify(e)),this.resultado}getTiendas(){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_get.php`),this.resultado}getTiendasUsuario(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_get_usuario.php?id_usu=${e}`),this.resultado}uploadfiles(e){const i=new FormData;return i.append("imagenPropia",e,e.name),this.http.post(`${this.baseUrl}/APIBOGATI/upload_img.php`,i)}getTiendasGeneral(){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_get.php`),this.resultado}getTiendasGeneralRegion(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_region_get.php?region=${e}`),this.resultado}getCiudadPorRegion(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_ciudades.php?region=${e}`),this.resultado}getTiendaCiudadPorRegion(e,i){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_tiendaCiudadRegion.php?region=${e}&ciudad=${i}`),this.resultado}getTiendaRegionSector(e,i){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_regionSector.php?region=${e}§or=${i}`),this.resultado}getTiendaCiudad(e,i){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_ciudad.php?ciudad=${e}&ciudad2=${i}`),this.resultado}getTiendaCiudadSector(e,i){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_ciudadSector.php?ciudad=${e}§or=${i}`),this.resultado}getTiendaValles(){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_valles.php`),this.resultado}getProvinciasPorRegion(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_consulta_provincias.php?region=${e}`),this.resultado}getCiudadProvincia(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_ciudad_Provincia.php?provincia=${e}`),this.resultado}getSectorCiudadProvincia(e,i){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_sector_ciudad_provincia.php?provincia=${e}&ciudad=${i}`),this.resultado}getTiendasProvincia(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_provincia.php?provincia=${e}`),this.resultado}getTiendasProvinciaCiudad(e,i){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_provincia_ciudad.php?provincia=${e}&ciudad=${i}`),this.resultado}getTiendasProvinciaCiudadSector(e,i,o){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_provincia_ciudad_sector.php?provincia=${e}&ciudad=${i}§or=${o}`),this.resultado}getTiendasExterior(){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_get_exterior.php`),this.resultado}getCiudadBusqueda(e,i){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_ciudad_busqueda.php?ciudad=${e}®ion=${i}`),this.resultado}getCiudadBusquedaTotal(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_ciudad_busqueda_total.php?ciudad=${e}`),this.resultado}getTiendasWarner(){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_warner.php`),this.resultado}getBusquedatiendasWarner(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_warner_busqueda_total.php?ciudad=${e}`),this.resultado}}return t.\u0275fac=function(e){return new(e||t)(M(dn))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const tM=rr({passive:!0});let iq=(()=>{class t{constructor(e,i){this._platform=e,this._ngZone=i,this._monitoredElements=new Map}monitor(e){if(!this._platform.isBrowser)return Zn;const i=qo(e),o=this._monitoredElements.get(i);if(o)return o.subject;const s=new $,r="cdk-text-field-autofilled",a=u=>{"cdk-text-field-autofill-start"!==u.animationName||i.classList.contains(r)?"cdk-text-field-autofill-end"===u.animationName&&i.classList.contains(r)&&(i.classList.remove(r),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!1}))):(i.classList.add(r),this._ngZone.run(()=>s.next({target:u.target,isAutofilled:!0})))};return this._ngZone.runOutsideAngular(()=>{i.addEventListener("animationstart",a,tM),i.classList.add("cdk-text-field-autofill-monitored")}),this._monitoredElements.set(i,{subject:s,unlisten:()=>{i.removeEventListener("animationstart",a,tM)}}),s}stopMonitoring(e){const i=qo(e),o=this._monitoredElements.get(i);o&&(o.unlisten(),o.subject.complete(),i.classList.remove("cdk-text-field-autofill-monitored"),i.classList.remove("cdk-text-field-autofilled"),this._monitoredElements.delete(i))}ngOnDestroy(){this._monitoredElements.forEach((e,i)=>this.stopMonitoring(i))}}return t.\u0275fac=function(e){return new(e||t)(M(Jt),M(se))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),nM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({}),t})();const oq=new j("MAT_INPUT_VALUE_ACCESSOR"),sq=["button","checkbox","file","hidden","image","radio","range","reset","submit"];let rq=0;const aq=FT(class{constructor(t,n,e,i){this._defaultErrorStateMatcher=t,this._parentForm=n,this._parentFormGroup=e,this.ngControl=i}});let Qi=(()=>{class t extends aq{constructor(e,i,o,s,r,a,u,p,f,g){super(a,s,r,o),this._elementRef=e,this._platform=i,this._autofillMonitor=p,this._formField=g,this._uid="mat-input-"+rq++,this.focused=!1,this.stateChanges=new $,this.controlType="mat-input",this.autofilled=!1,this._disabled=!1,this._type="text",this._readonly=!1,this._neverEmptyInputTypes=["date","datetime","datetime-local","month","time","week"].filter(w=>DE().has(w)),this._iOSKeyupListener=w=>{const E=w.target;!E.value&&0===E.selectionStart&&0===E.selectionEnd&&(E.setSelectionRange(1,1),E.setSelectionRange(0,0))};const b=this._elementRef.nativeElement,y=b.nodeName.toLowerCase();this._inputValueAccessor=u||b,this._previousNativeValue=this.value,this.id=this.id,i.IOS&&f.runOutsideAngular(()=>{e.nativeElement.addEventListener("keyup",this._iOSKeyupListener)}),this._isServer=!this._platform.isBrowser,this._isNativeSelect="select"===y,this._isTextarea="textarea"===y,this._isInFormField=!!g,this._isNativeSelect&&(this.controlType=b.multiple?"mat-native-select-multiple":"mat-native-select")}get disabled(){return this.ngControl&&null!==this.ngControl.disabled?this.ngControl.disabled:this._disabled}set disabled(e){this._disabled=ot(e),this.focused&&(this.focused=!1,this.stateChanges.next())}get id(){return this._id}set id(e){this._id=e||this._uid}get required(){var e,i,o,s;return null!==(s=null!==(e=this._required)&&void 0!==e?e:null===(o=null===(i=this.ngControl)||void 0===i?void 0:i.control)||void 0===o?void 0:o.hasValidator(dt.required))&&void 0!==s&&s}set required(e){this._required=ot(e)}get type(){return this._type}set type(e){this._type=e||"text",this._validateType(),!this._isTextarea&&DE().has(this._type)&&(this._elementRef.nativeElement.type=this._type)}get value(){return this._inputValueAccessor.value}set value(e){e!==this.value&&(this._inputValueAccessor.value=e,this.stateChanges.next())}get readonly(){return this._readonly}set readonly(e){this._readonly=ot(e)}ngAfterViewInit(){this._platform.isBrowser&&this._autofillMonitor.monitor(this._elementRef.nativeElement).subscribe(e=>{this.autofilled=e.isAutofilled,this.stateChanges.next()})}ngOnChanges(){this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete(),this._platform.isBrowser&&this._autofillMonitor.stopMonitoring(this._elementRef.nativeElement),this._platform.IOS&&this._elementRef.nativeElement.removeEventListener("keyup",this._iOSKeyupListener)}ngDoCheck(){this.ngControl&&this.updateErrorState(),this._dirtyCheckNativeValue(),this._dirtyCheckPlaceholder()}focus(e){this._elementRef.nativeElement.focus(e)}_focusChanged(e){e!==this.focused&&(this.focused=e,this.stateChanges.next())}_onInput(){}_dirtyCheckPlaceholder(){var e,i;const o=(null===(i=null===(e=this._formField)||void 0===e?void 0:e._hideControlPlaceholder)||void 0===i?void 0:i.call(e))?null:this.placeholder;if(o!==this._previousPlaceholder){const s=this._elementRef.nativeElement;this._previousPlaceholder=o,o?s.setAttribute("placeholder",o):s.removeAttribute("placeholder")}}_dirtyCheckNativeValue(){const e=this._elementRef.nativeElement.value;this._previousNativeValue!==e&&(this._previousNativeValue=e,this.stateChanges.next())}_validateType(){sq.indexOf(this._type)}_isNeverEmpty(){return this._neverEmptyInputTypes.indexOf(this._type)>-1}_isBadInput(){let e=this._elementRef.nativeElement.validity;return e&&e.badInput}get empty(){return!(this._isNeverEmpty()||this._elementRef.nativeElement.value||this._isBadInput()||this.autofilled)}get shouldLabelFloat(){if(this._isNativeSelect){const e=this._elementRef.nativeElement,i=e.options[0];return this.focused||e.multiple||!this.empty||!!(e.selectedIndex>-1&&i&&i.label)}return this.focused||!this.empty}setDescribedByIds(e){e.length?this._elementRef.nativeElement.setAttribute("aria-describedby",e.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focused||this.focus()}_isInlineSelect(){const e=this._elementRef.nativeElement;return this._isNativeSelect&&(e.multiple||e.size>1)}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(Jt),_(To,10),_(Nc,8),_(Es,8),_(K_),_(oq,10),_(iq),_(se),_(s0,8))},t.\u0275dir=x({type:t,selectors:[["input","matInput",""],["textarea","matInput",""],["select","matNativeControl",""],["input","matNativeControl",""],["textarea","matNativeControl",""]],hostAttrs:[1,"mat-input-element","mat-form-field-autofill-control"],hostVars:12,hostBindings:function(e,i){1&e&&D("focus",function(){return i._focusChanged(!0)})("blur",function(){return i._focusChanged(!1)})("input",function(){return i._onInput()}),2&e&&(Di("disabled",i.disabled)("required",i.required),ae("id",i.id)("data-placeholder",i.placeholder)("name",i.name||null)("readonly",i.readonly&&!i._isNativeSelect||null)("aria-invalid",i.empty&&i.required?null:i.errorState)("aria-required",i.required),oe("mat-input-server",i._isServer)("mat-native-select-inline",i._isInlineSelect()))},inputs:{disabled:"disabled",id:"id",placeholder:"placeholder",name:"name",required:"required",type:"type",errorStateMatcher:"errorStateMatcher",userAriaDescribedBy:["aria-describedby","userAriaDescribedBy"],value:"value",readonly:"readonly"},exportAs:["matInput"],features:[fe([{provide:Ph,useExisting:t}]),G,mt]}),t})(),lq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({providers:[K_],imports:[[nM,r0,_t],nM,r0]}),t})();function cq(t,n){if(1&t&&(l(0,"mat-option",30),d(1),c()),2&t){const e=n.$implicit;v("value",e.rol_fun),m(1),le(e.rol_fun)}}function uq(t,n){if(1&t&&(l(0,"mat-option",30),d(1),c()),2&t){const e=n.$implicit;v("value",e.id_suc),m(1),U(" ",e.nombre_suc,"")}}let dq=(()=>{class t{constructor(e,i,o,s,r,a,u,p){this.dialogRef=e,this.usuarioupdate=i,this._cookie=o,this._login=s,this._uploadfiles=r,this.toastr=a,this._tiendas=u,this._funciones=p,this.token="",this.hide=!0,this.baseUrl="."}ngOnInit(){this.token=this._cookie.get("token"),this.listatiendas=[],this.usuario={id_usu:"",id_suc:"",foto_usu:"",usuario_usu:"",password_usu:"",rol_usu:"",nombre_uno:"",nombre_dos:"",apellido_uno:"",apellido_dos:"",ciruc_usu:"",direccion_usu:"",mail_usu:"",estado_cuenta:""},this.loadTiendas(),this.loadRoles()}subirFoto(e){var i=this;this._uploadfiles.uploadimg(e.target.files[0]).subscribe(function(){var a=Yi(function*(u){"success"==u.status&&(i.usuario.foto_usu=i.baseUrl+"/APIBOGATI/imagenes/"+u.msj)});return function(u){return a.apply(this,arguments)}}(),a=>{console.log(a)})}updateUser(){""==this.usuario.usuario_usu||null==this.usuario.usuario_usu?this.toastError("Debes ingresar tu usuario"):""==this.usuario.password_usu||null==this.usuario.password_usu?this.toastError("Debes ingresar la contrase\xf1a"):""==this.usuario.id_suc||null==this.usuario.id_suc?this.toastError("Debes ingresar la sucursal del usuario"):""==this.usuario.nombre_uno||null==this.usuario.nombre_uno?this.toastError("Debes ingresar tu primer nombre"):""==this.usuario.apellido_uno||null==this.usuario.apellido_uno?this.toastError("Debes ingresar tu primer apellido"):""==this.usuario.ciruc_usu||null==this.usuario.ciruc_usu?this.toastError("Debes ingresar tu c\xe9dula"):""==this.usuario.direccion_usu||null==this.usuario.direccion_usu?this.toastError("Debes ingresar tu direcci\xf3n "):""==this.usuario.mail_usu||null==this.usuario.mail_usu||""==this.usuario.rol_usu||null==this.usuario.rol_usu?this.toastError("Debes ingresar tu email"):(this.usuario.token=this.token,this._login.createUser(this.usuario).subscribe(e=>{e.data?(this.toastSuccess("Usuario registrado correctamente"),this.dialogRef.close()):this.toastError("Tenemos problemas para registrar al usuario, intentalo nuevamente")}))}loadRoles(){this._funciones.getfunciones(this.token).subscribe(e=>{if(e.data.length){this.listaRoles=[];let i=0;for(let o=0;o{this.listatiendas=e})}toastSuccess(e){this.toastr.success(e,"Exito",{timeOut:3e3})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Do),_(Eo),_(Ve),_(xn),_(Dr),_(Re),_(Ht),_(br))},t.\u0275cmp=N({type:t,selectors:[["app-dialogcreateuser"]],decls:97,vars:17,consts:[[2,"width","96%","height","auto","overflow","hidden","margin","0 auto","padding","20px"],[1,"row"],[1,"col-sm-12",2,"text-align","center"],[1,"imgperfil"],["data-lightbox","photos",3,"href"],[1,"img-fluid","imgreportes",3,"src"],[1,"custom-file-upload"],["xmlns","http://www.w3.org/2000/svg","fill","#fff","width","20","height","17","viewBox","0 0 20 17"],["d","M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"],["type","file",3,"change"],[1,"col-sm-6"],["appearance","fill",1,"example-full-width"],["matInput","","placeholder","Usuario",3,"ngModel","ngModelChange"],["matInput","","placeholder","Contrase\xf1a",3,"type","ngModel","ngModelChange"],["matSuffix","",3,"click"],[3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],["value","0"],[1,"subtitulo"],["matInput","","placeholder","Primer Nombre",3,"ngModel","ngModelChange"],["matInput","","placeholder","Segundo Nombre",3,"ngModel","ngModelChange"],["matInput","","placeholder","Primer Apellido",3,"ngModel","ngModelChange"],["matInput","","placeholder","Segundo Apellido",3,"ngModel","ngModelChange"],["matInput","","placeholder","C\xe9dula","max","13",3,"ngModel","ngModelChange"],["matInput","","placeholder","Direcci\xf3n",3,"ngModel","ngModelChange"],["matInput","","placeholder","Mail",3,"ngModel","ngModelChange"],[1,"col-sm-8"],[1,"col-sm-4"],[1,"button",3,"click"],[3,"value"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"a",4),h(5,"img",5),c(),h(6,"br"),l(7,"label",6),R(),l(8,"svg",7),h(9,"path",8),c(),d(10," Subir Foto "),q(),l(11,"input",9),D("change",function(s){return i.subirFoto(s)}),c()()()()(),h(12,"br"),l(13,"div",1)(14,"div",10)(15,"mat-form-field",11)(16,"mat-label"),d(17,"Usuario"),c(),l(18,"input",12),D("ngModelChange",function(s){return i.usuario.usuario_usu=s}),c()()(),l(19,"div",10)(20,"mat-form-field",11)(21,"mat-label"),d(22,"Contrase\xf1a"),c(),l(23,"input",13),D("ngModelChange",function(s){return i.usuario.password_usu=s}),c(),l(24,"mat-icon",14),D("click",function(){return i.hide=!i.hide}),d(25),c()()()(),h(26,"br"),l(27,"div",1)(28,"div",10)(29,"mat-form-field",11)(30,"mat-label"),d(31,"Tipo"),c(),l(32,"mat-select",15),D("ngModelChange",function(s){return i.usuario.rol_usu=s}),l(33,"mat-option",16),d(34,"Ninguno"),c(),C(35,cq,2,2,"mat-option",17),c()()(),l(36,"div",10)(37,"mat-form-field",11)(38,"mat-label"),d(39,"Sucursal"),c(),l(40,"mat-select",15),D("ngModelChange",function(s){return i.usuario.id_suc=s}),l(41,"mat-option",16),d(42,"Ninguno"),c(),l(43,"mat-option",18),d(44,"OFICINAS ADMINISTRATIVAS"),c(),C(45,uq,2,2,"mat-option",17),c()()()(),h(46,"br"),l(47,"div",1)(48,"div",19),d(49," Datos Personales "),c(),l(50,"div",10)(51,"mat-form-field",11)(52,"mat-label"),d(53,"Primer Nombre"),c(),l(54,"input",20),D("ngModelChange",function(s){return i.usuario.nombre_uno=s}),c()()(),l(55,"div",10)(56,"mat-form-field",11)(57,"mat-label"),d(58,"Segundo Nombre"),c(),l(59,"input",21),D("ngModelChange",function(s){return i.usuario.nombre_dos=s}),c()()()(),h(60,"br"),l(61,"div",1)(62,"div",10)(63,"mat-form-field",11)(64,"mat-label"),d(65,"Primer Apellido"),c(),l(66,"input",22),D("ngModelChange",function(s){return i.usuario.apellido_uno=s}),c()()(),l(67,"div",10)(68,"mat-form-field",11)(69,"mat-label"),d(70,"Segundo Apellido"),c(),l(71,"input",23),D("ngModelChange",function(s){return i.usuario.apellido_dos=s}),c()()()(),h(72,"br"),l(73,"div",1)(74,"div",10)(75,"mat-form-field",11)(76,"mat-label"),d(77,"C\xe9dula"),c(),l(78,"input",24),D("ngModelChange",function(s){return i.usuario.ciruc_usu=s}),c()()(),l(79,"div",10)(80,"mat-form-field",11)(81,"mat-label"),d(82,"Direcci\xf3n"),c(),l(83,"input",25),D("ngModelChange",function(s){return i.usuario.direccion_usu=s}),c()()()(),h(84,"br"),l(85,"div",1)(86,"div",10)(87,"mat-form-field",11)(88,"mat-label"),d(89,"Mail"),c(),l(90,"input",26),D("ngModelChange",function(s){return i.usuario.mail_usu=s}),c()()(),h(91,"div",10),c(),l(92,"div",1),h(93,"div",27),l(94,"div",28)(95,"div",29),D("click",function(){return i.updateUser()}),d(96," Guardar Cambios "),c()()()()),2&e&&(m(4),v("href",""==i.usuario.foto_usu?"../../../../assets/img/foto_perfil.png":i.usuario.foto_usu,we),m(1),v("src",""==i.usuario.foto_usu?"../../../../assets/img/foto_perfil.png":i.usuario.foto_usu,we),m(13),v("ngModel",i.usuario.usuario_usu),m(5),v("type",i.hide?"password":"text")("ngModel",i.usuario.password_usu),m(2),le(i.hide?"visibility_off":"visibility"),m(7),v("ngModel",i.usuario.rol_usu),m(3),v("ngForOf",i.listaRoles),m(5),v("ngModel",i.usuario.id_suc),m(5),v("ngForOf",i.listatiendas),m(9),v("ngModel",i.usuario.nombre_uno),m(5),v("ngModel",i.usuario.nombre_dos),m(7),v("ngModel",i.usuario.apellido_uno),m(5),v("ngModel",i.usuario.apellido_dos),m(7),v("ngModel",i.usuario.ciruc_usu),m(5),v("ngModel",i.usuario.direccion_usu),m(7),v("ngModel",i.usuario.mail_usu))},directives:[xi,di,Qi,wt,It,jt,Sc,Lh,Wo,Co,qe],styles:[""]}),t})();function hq(t,n){if(1&t&&(l(0,"mat-option",29),d(1),c()),2&t){const e=n.$implicit;v("value",e.rol_fun),m(1),le(e.rol_fun)}}function pq(t,n){if(1&t&&(l(0,"mat-option",29),d(1),c()),2&t){const e=n.$implicit;v("value",e.id_suc),m(1),U(" ",e.nombre_suc,"")}}let fq=(()=>{class t{constructor(e,i,o,s,r,a,u,p){this.dialogRef=e,this.usuarioupdate=i,this._cookie=o,this._login=s,this._uploadfiles=r,this.toastr=a,this._tiendas=u,this._funciones=p,this.token="",this.hide=!0,this.baseUrl=".",this.admin=!1}ngOnInit(){this.token=this._cookie.get("token"),this.listatiendas=[],this.usuario={id_usu:"",id_suc:"",foto_usu:"",usuario_usu:"",password_usu:"",rol_usu:"",nombre_uno:"",nombre_dos:"",apellido_uno:"",apellido_dos:"",ciruc_usu:"",direccion_usu:"",mail_usu:"",estado_cuenta:""},this.usuario=this.usuarioupdate,this.loadTiendas(),this._login.getuserdata(this.token).subscribe(e=>{this.admin="ADMIN"!=e.data.rol_usu}),this.loadRoles()}subirFoto(e){var i=this;this._uploadfiles.uploadimg(e.target.files[0]).subscribe(function(){var a=Yi(function*(u){"success"==u.status&&(i.usuario.foto_usu=i.baseUrl+"/APIBOGATI/imagenes/"+u.msj)});return function(u){return a.apply(this,arguments)}}(),a=>{console.log(a)})}updateUser(){""==this.usuario.usuario_usu||null==this.usuario.usuario_usu?this.toastError("Debes ingresar tu usuario"):""==this.usuario.password_usu||null==this.usuario.password_usu?this.toastError("Debes ingresar la contrase\xf1a"):""==this.usuario.id_suc||null==this.usuario.id_suc?this.toastError("Debes ingresar la sucursal del usuario"):""==this.usuario.nombre_uno||null==this.usuario.nombre_uno?this.toastError("Debes ingresar tu primer nombre"):""==this.usuario.apellido_uno||null==this.usuario.apellido_uno?this.toastError("Debes ingresar tu primer apellido"):""==this.usuario.ciruc_usu||null==this.usuario.ciruc_usu?this.toastError("Debes ingresar tu c\xe9dula"):""==this.usuario.direccion_usu||null==this.usuario.direccion_usu?this.toastError("Debes ingresar tu direcci\xf3n "):""==this.usuario.mail_usu||null==this.usuario.mail_usu||""==this.usuario.rol_usu||null==this.usuario.rol_usu?this.toastError("Debes ingresar tu email"):(this.usuario.token=this.token,this._login.updateUser(this.usuario).subscribe(e=>{e.data?(this.toastSuccess("Usuario actualizado correctamente"),this.dialogRef.close()):this.toastError("Tenemos problemas para actualizar la informaci\xf3n, intentalo nuevamente")}))}loadRoles(){this._funciones.getfunciones(this.token).subscribe(e=>{e.data.length?this.listaRoles=e.data:this.toastWarning("No encontramos registros")})}loadTiendas(){this._tiendas.getTiendas().subscribe(e=>{this.listatiendas=e})}toastSuccess(e){this.toastr.success(e,"Exito",{timeOut:3e3})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Do),_(Eo),_(Ve),_(xn),_(Dr),_(Re),_(Ht),_(br))},t.\u0275cmp=N({type:t,selectors:[["app-dialogedituser"]],decls:95,vars:16,consts:[[2,"width","96%","height","auto","overflow","hidden","margin","0 auto","padding","20px"],[1,"row"],[1,"col-sm-12",2,"text-align","center"],[1,"imgperfil"],["data-lightbox","photos",3,"href"],[1,"img-fluid","imgreportes",3,"src"],[1,"custom-file-upload"],["xmlns","http://www.w3.org/2000/svg","fill","#fff","width","20","height","17","viewBox","0 0 20 17"],["d","M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"],["type","file",3,"change"],[1,"col-sm-6"],["appearance","fill",1,"example-full-width"],["matInput","","placeholder","Usuario",3,"ngModel","ngModelChange"],["matInput","","placeholder","Contrase\xf1a","disabled","",3,"type","ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],["value","0"],[1,"subtitulo"],["matInput","","placeholder","Primer Nombre",3,"ngModel","ngModelChange"],["matInput","","placeholder","Segundo Nombre",3,"ngModel","ngModelChange"],["matInput","","placeholder","Primer Apellido",3,"ngModel","ngModelChange"],["matInput","","placeholder","Segundo Apellido",3,"ngModel","ngModelChange"],["matInput","","placeholder","C\xe9dula","max","13",3,"ngModel","ngModelChange"],["matInput","","placeholder","Direcci\xf3n",3,"ngModel","ngModelChange"],["matInput","","placeholder","Mail",3,"ngModel","ngModelChange"],[1,"col-sm-8"],[1,"col-sm-4"],[1,"button",3,"click"],[3,"value"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"a",4),h(5,"img",5),c(),h(6,"br"),l(7,"label",6),R(),l(8,"svg",7),h(9,"path",8),c(),d(10," Subir Foto "),q(),l(11,"input",9),D("change",function(s){return i.subirFoto(s)}),c()()()()(),h(12,"br"),l(13,"div",1)(14,"div",10)(15,"mat-form-field",11)(16,"mat-label"),d(17,"Usuario"),c(),l(18,"input",12),D("ngModelChange",function(s){return i.usuario.usuario_usu=s}),c()()(),l(19,"div",10)(20,"mat-form-field",11)(21,"mat-label"),d(22,"Contrase\xf1a"),c(),l(23,"input",13),D("ngModelChange",function(s){return i.usuario.password_usu=s}),c()()()(),h(24,"br"),l(25,"div",1)(26,"div",10)(27,"mat-form-field",11)(28,"mat-label"),d(29,"Tipo"),c(),l(30,"mat-select",14),D("ngModelChange",function(s){return i.usuario.rol_usu=s}),l(31,"mat-option",15),d(32,"Ninguno"),c(),C(33,hq,2,2,"mat-option",16),c()()(),l(34,"div",10)(35,"mat-form-field",11)(36,"mat-label"),d(37,"Sucursal"),c(),l(38,"mat-select",14),D("ngModelChange",function(s){return i.usuario.id_suc=s}),l(39,"mat-option",15),d(40,"Ninguno"),c(),l(41,"mat-option",17),d(42,"OFICINAS ADMINISTRATIVAS"),c(),C(43,pq,2,2,"mat-option",16),c()()()(),h(44,"br"),l(45,"div",1)(46,"div",18),d(47," Datos Personales "),c(),l(48,"div",10)(49,"mat-form-field",11)(50,"mat-label"),d(51,"Primer Nombre"),c(),l(52,"input",19),D("ngModelChange",function(s){return i.usuario.nombre_uno=s}),c()()(),l(53,"div",10)(54,"mat-form-field",11)(55,"mat-label"),d(56,"Segundo Nombre"),c(),l(57,"input",20),D("ngModelChange",function(s){return i.usuario.nombre_dos=s}),c()()()(),h(58,"br"),l(59,"div",1)(60,"div",10)(61,"mat-form-field",11)(62,"mat-label"),d(63,"Primer Apellido"),c(),l(64,"input",21),D("ngModelChange",function(s){return i.usuario.apellido_uno=s}),c()()(),l(65,"div",10)(66,"mat-form-field",11)(67,"mat-label"),d(68,"Segundo Apellido"),c(),l(69,"input",22),D("ngModelChange",function(s){return i.usuario.apellido_dos=s}),c()()()(),h(70,"br"),l(71,"div",1)(72,"div",10)(73,"mat-form-field",11)(74,"mat-label"),d(75,"C\xe9dula"),c(),l(76,"input",23),D("ngModelChange",function(s){return i.usuario.ciruc_usu=s}),c()()(),l(77,"div",10)(78,"mat-form-field",11)(79,"mat-label"),d(80,"Direcci\xf3n"),c(),l(81,"input",24),D("ngModelChange",function(s){return i.usuario.direccion_usu=s}),c()()()(),h(82,"br"),l(83,"div",1)(84,"div",10)(85,"mat-form-field",11)(86,"mat-label"),d(87,"Mail"),c(),l(88,"input",25),D("ngModelChange",function(s){return i.usuario.mail_usu=s}),c()()(),h(89,"div",10),c(),l(90,"div",1),h(91,"div",26),l(92,"div",27)(93,"div",28),D("click",function(){return i.updateUser()}),d(94," Guardar Cambios "),c()()()()),2&e&&(m(4),v("href",""==i.usuario.foto_usu?"../../../../assets/img/foto_perfil.png":i.usuario.foto_usu,we),m(1),v("src",""==i.usuario.foto_usu?"../../../../assets/img/foto_perfil.png":i.usuario.foto_usu,we),m(13),v("ngModel",i.usuario.usuario_usu),m(5),v("type",i.hide?"password":"text")("ngModel",i.usuario.password_usu),m(7),v("ngModel",i.usuario.rol_usu),m(3),v("ngForOf",i.listaRoles),m(5),v("ngModel",i.usuario.id_suc),m(5),v("ngForOf",i.listatiendas),m(9),v("ngModel",i.usuario.nombre_uno),m(5),v("ngModel",i.usuario.nombre_dos),m(7),v("ngModel",i.usuario.apellido_uno),m(5),v("ngModel",i.usuario.apellido_dos),m(7),v("ngModel",i.usuario.ciruc_usu),m(5),v("ngModel",i.usuario.direccion_usu),m(7),v("ngModel",i.usuario.mail_usu))},directives:[xi,di,Qi,wt,It,jt,Wo,Co,qe],styles:[""]}),t})();function mq(t,n){1&t&&(l(0,"mat-header-cell",25),d(1," Nombre "),c())}function gq(t,n){if(1&t&&(l(0,"mat-cell",26)(1,"b"),d(2),fs(3,"titlecase"),fs(4,"titlecase"),c()()),2&t){const e=n.$implicit;m(2),cn("",ms(3,2,e.nombre_uno)," ",ms(4,4,e.apellido_uno),"")}}function _q(t,n){1&t&&(l(0,"mat-header-cell",25),d(1," Correo "),c())}function vq(t,n){if(1&t&&(l(0,"mat-cell",27),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.mail_usu," ")}}function bq(t,n){1&t&&(l(0,"mat-header-cell",25),d(1," C\xe9dula "),c())}function yq(t,n){if(1&t&&(l(0,"mat-cell",28),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.ciruc_usu," ")}}function Cq(t,n){1&t&&(l(0,"mat-header-cell",25),d(1," Direcci\xf3n "),c())}function wq(t,n){if(1&t&&(l(0,"mat-cell",29),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.direccion_usu," ")}}function Dq(t,n){1&t&&(l(0,"mat-header-cell",25),d(1," Rol "),c())}function Eq(t,n){if(1&t&&(l(0,"mat-cell",30)(1,"b"),d(2),c()()),2&t){const e=n.$implicit;m(2),le(e.rol_usu)}}function Tq(t,n){1&t&&(l(0,"mat-header-cell",25),d(1," Acciones "),c())}function Sq(t,n){1&t&&(l(0,"p",40),d(1,"Desactivar Cuenta"),c())}function Mq(t,n){1&t&&(l(0,"p",41),d(1,"Activar Cuenta"),c())}function Iq(t,n){if(1&t){const e=Ae();l(0,"mat-cell",31)(1,"span",32),D("click",function(){const s=re(e).$implicit;return I().edituser(s)}),R(),l(2,"svg",33)(3,"g"),h(4,"rect",34),c(),l(5,"g")(6,"g"),h(7,"polygon",35)(8,"path",36)(9,"path",37),c()()()(),q(),l(10,"span",32),D("click",function(){const s=re(e).$implicit;return I().activeDesactive(s)}),C(11,Sq,2,0,"p",38),C(12,Mq,2,0,"p",39),c()()}if(2&t){const e=n.$implicit;m(11),v("ngIf","1"==e.estado_cuenta),m(1),v("ngIf","0"==e.estado_cuenta)}}function Aq(t,n){1&t&&h(0,"mat-header-row")}function xq(t,n){1&t&&h(0,"mat-row")}const Oq=function(){return[5,10,25]};let Nq=(()=>{class t{constructor(e,i,o){this.dialog=e,this._login=i,this._cookie=o,this.displayedColumns=["razonsocial","ciruc","direccion","email","telefono","editar"],this.token=""}ngOnInit(){this.token=this._cookie.get("token"),this.loadUser(),this.actDesCuenta={id_usu:"",id_suc:"",foto_usu:"",usuario_usu:"",password_usu:"",rol_usu:"",nombre_uno:"",nombre_dos:"",apellido_uno:"",apellido_dos:"",ciruc_usu:"",direccion_usu:"",mail_usu:"",estado_cuenta:""}}createUser(){this.dialog.open(dq,{width:"80%",height:"100%"}).afterClosed().subscribe(i=>{this.loadUser()})}edituser(e){this.dialog.open(fq,{width:"80%",height:"100%",data:e}).afterClosed().subscribe(o=>{this.loadUser()})}activeDesactive(e){"1"==e.estado_cuenta?(this.actDesCuenta.estado_cuenta="0",this.actDesCuenta.id_usu=e.id_usu,this._login.updateEstadoCuenta(this.actDesCuenta).subscribe(i=>{console.log(i),this.loadUser()})):(this.actDesCuenta.estado_cuenta="1",this.actDesCuenta.id_usu=e.id_usu,this._login.updateEstadoCuenta(this.actDesCuenta).subscribe(i=>{console.log(i),this.loadUser()}))}loadUser(){this._login.getUsers(this.token).subscribe(e=>{this.listaUsers=e.data,this.dataSource=new Qn(this.listaUsers),this.dataSource.paginator=this.paginator})}applyFilter(e){let i=e.target.value;i=i.trim(),i=i.toLowerCase(),this.dataSource.filter=e.target.value}}return t.\u0275fac=function(e){return new(e||t)(_(ui),_(xn),_(Ve))},t.\u0275cmp=N({type:t,selectors:[["app-dialogcuentas"]],viewQuery:function(e,i){if(1&e&&me(Yn,5),2&e){let o;F(o=P())&&(i.paginator=o.first)}},decls:33,vars:5,consts:[[2,"width","98%","margin","1% 1%"],[1,"row"],[1,"col-sm-4"],[1,"button",3,"click"],[1,"col-sm-8"],[1,"menu__input",2,"width","100%"],["type","text",3,"keyup"],[1,"mat-elevation-z8"],["matSort","",3,"dataSource"],["matColumnDef","razonsocial"],["mat-sort-header","",4,"matHeaderCellDef"],["data-label","Nombre",4,"matCellDef"],["matColumnDef","ciruc"],["data-label","Correo",4,"matCellDef"],["matColumnDef","direccion"],["data-label","C\xe9dula",4,"matCellDef"],["matColumnDef","email"],["data-label","Direcci\xf3n",4,"matCellDef"],["matColumnDef","telefono"],["data-label","Rol",4,"matCellDef"],["matColumnDef","editar"],["data-label","Acciones",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],["mat-sort-header",""],["data-label","Nombre"],["data-label","Correo"],["data-label","C\xe9dula"],["data-label","Direcci\xf3n"],["data-label","Rol"],["data-label","Acciones"],["title","Cambiar rol",2,"cursor","pointer",3,"click"],["xmlns","http://www.w3.org/2000/svg","enable-background","new 0 0 24 24","height","24px","viewBox","0 0 24 24","width","24px","fill","#F18C24"],["fill","none","height","24","width","24"],["points","15,16 11,20 21,20 21,16"],["d","M12.06,7.19L3,16.25V20h3.75l9.06-9.06L12.06,7.19z M5.92,18H5v-0.92l7.06-7.06l0.92,0.92L5.92,18z"],["d","M18.71,8.04c0.39-0.39,0.39-1.02,0-1.41l-2.34-2.34C16.17,4.09,15.92,4,15.66,4c-0.25,0-0.51,0.1-0.7,0.29l-1.83,1.83 l3.75,3.75L18.71,8.04z"],["style","margin: 0 auto; padding: 0 10px; color: brown; font-weight: 700;",4,"ngIf"],["style","margin: 0 auto; padding: 0 10px; color: chartreuse; font-weight: 700;",4,"ngIf"],[2,"margin","0 auto","padding","0 10px","color","brown","font-weight","700"],[2,"margin","0 auto","padding","0 10px","color","chartreuse","font-weight","700"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div")(2,"div",1)(3,"div",2)(4,"div",3),D("click",function(){return i.createUser()}),d(5," Crear Usuario "),c()(),l(6,"div",4)(7,"div",5)(8,"input",6),D("keyup",function(s){return i.applyFilter(s)}),c()()()()(),h(9,"br"),l(10,"div",7)(11,"mat-table",8),de(12,9),C(13,mq,2,0,"mat-header-cell",10),C(14,gq,5,6,"mat-cell",11),he(),de(15,12),C(16,_q,2,0,"mat-header-cell",10),C(17,vq,2,1,"mat-cell",13),he(),de(18,14),C(19,bq,2,0,"mat-header-cell",10),C(20,yq,2,1,"mat-cell",15),he(),de(21,16),C(22,Cq,2,0,"mat-header-cell",10),C(23,wq,2,1,"mat-cell",17),he(),de(24,18),C(25,Dq,2,0,"mat-header-cell",10),C(26,Eq,3,1,"mat-cell",19),he(),de(27,20),C(28,Tq,2,0,"mat-header-cell",10),C(29,Iq,13,2,"mat-cell",21),he(),C(30,Aq,1,0,"mat-header-row",22),C(31,xq,1,0,"mat-row",23),c(),h(32,"mat-paginator",24),c()()),2&e&&(m(11),v("dataSource",i.dataSource),m(19),v("matHeaderRowDef",i.displayedColumns),m(1),v("matRowDefColumns",i.displayedColumns),m(1),v("pageSizeOptions",O(4,Oq)))},directives:[Ts,Jo,Zo,Xo,Ko,es,Ye,Ss,Is,Ms,As,Yn],pipes:[zl],styles:[""]}),t})(),jc=(()=>{class t{constructor(e){this.http=e,this.baseUrl="."}getBanner(){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/banner/banner_get.php`),this.resultado}updateBanner(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/banner/banner_update.php?activo_banner=${e}`),this.resultado}}return t.\u0275fac=function(e){return new(e||t)(M(dn))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const kq=["thumbContainer"],Rq=["toggleBar"],Fq=["input"],Pq=function(t){return{enterDuration:t}},Lq=["*"],Bq=new j("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1})});let Vq=0;const jq={provide:Wn,useExisting:Le(()=>iM),multi:!0};class Hq{constructor(n,e){this.source=n,this.checked=e}}const Uq=RT(_c(vc(fr(class{constructor(t){this._elementRef=t}}))));let iM=(()=>{class t extends Uq{constructor(e,i,o,s,r,a){super(e),this._focusMonitor=i,this._changeDetectorRef=o,this.defaults=r,this._onChange=u=>{},this._onTouched=()=>{},this._uniqueId="mat-slide-toggle-"+ ++Vq,this._required=!1,this._checked=!1,this.name=null,this.id=this._uniqueId,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.change=new H,this.toggleChange=new H,this.tabIndex=parseInt(s)||0,this.color=this.defaultColor=r.color||"accent",this._noopAnimations="NoopAnimations"===a}get required(){return this._required}set required(e){this._required=ot(e)}get checked(){return this._checked}set checked(e){this._checked=ot(e),this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e||Promise.resolve().then(()=>this._onTouched())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}_onChangeEvent(e){e.stopPropagation(),this.toggleChange.emit(),this.defaults.disableToggleValue?this._inputElement.nativeElement.checked=this.checked:(this.checked=this._inputElement.nativeElement.checked,this._emitChangeEvent())}_onInputClick(e){e.stopPropagation()}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}focus(e,i){i?this._focusMonitor.focusVia(this._inputElement,i,e):this._inputElement.nativeElement.focus(e)}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(new Hq(this,this.checked))}_onLabelTextChange(){this._changeDetectorRef.detectChanges()}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(cr),_(Ke),ni("tabindex"),_(Bq),_(On,8))},t.\u0275cmp=N({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(e,i){if(1&e&&(me(kq,5),me(Rq,5),me(Fq,5)),2&e){let o;F(o=P())&&(i._thumbEl=o.first),F(o=P())&&(i._thumbBarEl=o.first),F(o=P())&&(i._inputElement=o.first)}},hostAttrs:[1,"mat-slide-toggle"],hostVars:13,hostBindings:function(e,i){2&e&&(Di("id",i.id),ae("tabindex",null)("aria-label",null)("aria-labelledby",null)("name",null),oe("mat-checked",i.checked)("mat-disabled",i.disabled)("mat-slide-toggle-label-before","before"==i.labelPosition)("_mat-animation-noopable",i._noopAnimations))},inputs:{disabled:"disabled",disableRipple:"disableRipple",color:"color",tabIndex:"tabIndex",name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:["aria-label","ariaLabel"],ariaLabelledby:["aria-labelledby","ariaLabelledby"],ariaDescribedby:["aria-describedby","ariaDescribedby"],required:"required",checked:"checked"},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],features:[fe([jq]),G],ngContentSelectors:Lq,decls:16,vars:20,consts:[[1,"mat-slide-toggle-label"],["label",""],[1,"mat-slide-toggle-bar"],["toggleBar",""],["type","checkbox","role","switch",1,"mat-slide-toggle-input","cdk-visually-hidden",3,"id","required","tabIndex","checked","disabled","change","click"],["input",""],[1,"mat-slide-toggle-thumb-container"],["thumbContainer",""],[1,"mat-slide-toggle-thumb"],["mat-ripple","",1,"mat-slide-toggle-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered","matRippleRadius","matRippleAnimation"],[1,"mat-ripple-element","mat-slide-toggle-persistent-ripple"],[1,"mat-slide-toggle-content",3,"cdkObserveContent"],["labelContent",""],[2,"display","none"]],template:function(e,i){if(1&e&&(rn(),l(0,"label",0,1)(2,"span",2,3)(4,"input",4,5),D("change",function(s){return i._onChangeEvent(s)})("click",function(s){return i._onInputClick(s)}),c(),l(6,"span",6,7),h(8,"span",8),l(9,"span",9),h(10,"span",10),c()()(),l(11,"span",11,12),D("cdkObserveContent",function(){return i._onLabelTextChange()}),l(13,"span",13),d(14,"\xa0"),c(),nt(15),c()()),2&e){const o=Ct(1),s=Ct(12);ae("for",i.inputId),m(2),oe("mat-slide-toggle-bar-no-side-margin",!s.textContent||!s.textContent.trim()),m(2),v("id",i.inputId)("required",i.required)("tabIndex",i.tabIndex)("checked",i.checked)("disabled",i.disabled),ae("name",i.name)("aria-checked",i.checked)("aria-label",i.ariaLabel)("aria-labelledby",i.ariaLabelledby)("aria-describedby",i.ariaDescribedby),m(5),v("matRippleTrigger",o)("matRippleDisabled",i.disableRipple||i.disabled)("matRippleCentered",!0)("matRippleRadius",20)("matRippleAnimation",mn(18,Pq,i._noopAnimations?0:150))}},directives:[mr,f_],styles:[".mat-slide-toggle{display:inline-block;height:24px;max-width:100%;line-height:24px;white-space:nowrap;outline:none;-webkit-tap-highlight-color:transparent}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(16px, 0, 0)}[dir=rtl] .mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(-16px, 0, 0)}.mat-slide-toggle.mat-disabled{opacity:.38}.mat-slide-toggle.mat-disabled .mat-slide-toggle-label,.mat-slide-toggle.mat-disabled .mat-slide-toggle-thumb-container{cursor:default}.mat-slide-toggle-label{-webkit-user-select:none;user-select:none;display:flex;flex:1;flex-direction:row;align-items:center;height:inherit;cursor:pointer}.mat-slide-toggle-content{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-bar{order:2}[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-bar,.mat-slide-toggle-bar{margin-right:8px;margin-left:0}[dir=rtl] .mat-slide-toggle-bar,.mat-slide-toggle-label-before .mat-slide-toggle-bar{margin-left:8px;margin-right:0}.mat-slide-toggle-bar-no-side-margin{margin-left:0;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;z-index:1;width:20px;height:20px;top:-3px;left:0;transform:translate3d(0, 0, 0);transition:all 80ms linear;transition-property:transform}._mat-animation-noopable .mat-slide-toggle-thumb-container{transition:none}[dir=rtl] .mat-slide-toggle-thumb-container{left:auto;right:0}.mat-slide-toggle-thumb{height:20px;width:20px;border-radius:50%;display:block}.mat-slide-toggle-bar{position:relative;width:36px;height:14px;flex-shrink:0;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}[dir=rtl] .mat-slide-toggle-input{left:auto;right:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}._mat-animation-noopable .mat-slide-toggle-bar,._mat-animation-noopable .mat-slide-toggle-thumb{transition:none}.mat-slide-toggle .mat-slide-toggle-ripple{position:absolute;top:calc(50% - 20px);left:calc(50% - 20px);height:40px;width:40px;z-index:1;pointer-events:none}.mat-slide-toggle .mat-slide-toggle-ripple .mat-ripple-element:not(.mat-slide-toggle-persistent-ripple){opacity:.12}.mat-slide-toggle-persistent-ripple{width:100%;height:100%;transform:none}.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:.04}.mat-slide-toggle:not(.mat-disabled).cdk-keyboard-focused .mat-slide-toggle-persistent-ripple{opacity:.12}.mat-slide-toggle-persistent-ripple,.mat-slide-toggle.mat-disabled .mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{opacity:0}@media(hover: none){.mat-slide-toggle-bar:hover .mat-slide-toggle-persistent-ripple{display:none}}.cdk-high-contrast-active .mat-slide-toggle-thumb,.cdk-high-contrast-active .mat-slide-toggle-bar{border:1px solid}.cdk-high-contrast-active .mat-slide-toggle.cdk-keyboard-focused .mat-slide-toggle-bar{outline:2px dotted;outline-offset:5px}\n"],encapsulation:2,changeDetection:0}),t})(),oM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({}),t})(),qq=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[oM,yc,_t,eh],oM,_t]}),t})();function $q(t,n){1&t&&(l(0,"div",15),R(),l(1,"svg",16)(2,"g",17)(3,"circle",18),h(4,"animateTransform",19)(5,"animate",20),c(),l(6,"circle",21),h(7,"animateTransform",22)(8,"animate",23),c()()()())}let Wq=(()=>{class t{constructor(e,i,o){this._banner=e,this._uploadfiles=i,this.toastr=o,this.estadoBanner=!1,this.estado="",this.showSpinner=!1}ngOnInit(){this.loadBanner()}loadBanner(){this._banner.getBanner().subscribe(e=>{"0"==e[0].activo_banner?(this.estado="Banner Desactivado",this.estadoBanner=!1):(this.estado="Banner Activado",this.estadoBanner=!0)})}bannerClick(){this.showSpinner=!0,this.estadoBanner?(this.estado="Banner Activado",this._banner.updateBanner("1").subscribe(e=>{this.showSpinner=!1})):(this.estado="Banner Desactivado",this._banner.updateBanner("0").subscribe(e=>{this.showSpinner=!1}))}uploadImg(e){var i=this;this.showSpinner=!0,this._uploadfiles.uploadFiles(e.target.files[0]).subscribe(function(){var o=Yi(function*(s){"success"==s.status?i.toastSuccess("Banner cambiado Exitosamente"):i.toastError("Tenemos problemas para actualizar el banner intentalo nuevamente"),i.showSpinner=!1});return function(s){return o.apply(this,arguments)}}())}uploadDoc(e){var i=this;this.showSpinner=!0,this._uploadfiles.uploadDoc(e.target.files[0]).subscribe(function(){var o=Yi(function*(s){console.log(s),"success"==s.status?(i.toastSuccess("Documento cambiado Exitosamente"),i.showSpinner=!1):(i.toastError("Tenemo problemas para actualizar el documento intentalo nuevamente"),i.showSpinner=!1)});return function(s){return o.apply(this,arguments)}}())}toastSuccess(e){this.toastr.success(e,"Exito",{timeOut:4500})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(_(jc),_(Dr),_(Re))},t.\u0275cmp=N({type:t,selectors:[["app-banneradministracion"]],decls:32,vars:3,consts:[["class","spinner",4,"ngIf"],[1,"titulos"],[2,"width","100%","text-align","center"],[3,"ngModel","ngModelChange","change"],[1,"banner_admin"],[1,"columna1"],[1,"imgperfil"],["href","https://bogati.ec/APIBOGATI/imagenes/banner.jpg","data-lightbox","photos"],["src","https://bogati.ec/APIBOGATI/imagenes/banner.jpg",1,"img-fluid","imgBannerAdmin"],[1,"custom-file-upload"],["xmlns","http://www.w3.org/2000/svg","fill","#fff","width","20","height","17","viewBox","0 0 20 17"],["d","M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"],["type","file",3,"change"],[1,"columna2"],["href","../../../../assets/img/banner/documento.pdf","target","_blank"],[1,"spinner"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","width","214px","height","214px","viewBox","0 0 100 100","preserveAspectRatio","xMidYMid",2,"margin","auto","background","none","display","block","shape-rendering","auto"],["transform","translate(0 -8)"],["cx","50","cy","40.4","r","10","fill","#1d0e0b"],["attributeName","transform","type","rotate","dur","1.6949152542372883s","repeatCount","indefinite","keyTimes","0;1","values","0 50 50;360 50 50"],["attributeName","r","dur","1.6949152542372883s","repeatCount","indefinite","calcMode","spline","keyTimes","0;0.5;1","values","0;16;0","keySplines","0.2 0 0.8 1;0.2 0 0.8 1"],["cx","50","cy","40.4","r","10","fill","#774023"],["attributeName","transform","type","rotate","dur","1.6949152542372883s","repeatCount","indefinite","keyTimes","0;1","values","180 50 50;540 50 50"],["attributeName","r","dur","1.6949152542372883s","repeatCount","indefinite","calcMode","spline","keyTimes","0;0.5;1","values","16;0;16","keySplines","0.2 0 0.8 1;0.2 0 0.8 1"]],template:function(e,i){1&e&&(C(0,$q,9,0,"div",0),l(1,"div",1),d(2," Banner\n"),c(),h(3,"br"),l(4,"div",2)(5,"mat-slide-toggle",3),D("ngModelChange",function(s){return i.estadoBanner=s})("change",function(){return i.bannerClick()}),d(6),c()(),h(7,"br"),l(8,"div",4)(9,"div",5)(10,"div",6)(11,"a",7),h(12,"img",8),c(),h(13,"br")(14,"br"),l(15,"label",9),R(),l(16,"svg",10),h(17,"path",11),c(),d(18," Subir Foto "),q(),l(19,"input",12),D("change",function(s){return i.uploadImg(s)}),c()(),h(20,"br")(21,"br"),c()(),l(22,"div",13)(23,"a",14),d(24," Documento Imagen "),c(),h(25,"br")(26,"br"),l(27,"label",9),R(),l(28,"svg",10),h(29,"path",11),c(),d(30," Subir Archivo "),q(),l(31,"input",12),D("change",function(s){return i.uploadDoc(s)}),c()()()()),2&e&&(v("ngIf",i.showSpinner),m(5),v("ngModel",i.estadoBanner),m(1),le(i.estado))},directives:[Ye,iM,It,jt],styles:[""]}),t})(),H0=(()=>{class t{constructor(e){this.http=e,this.baseUrl=".",this.selectedImages=[],this.loadFromLocalStorage()}subirImagen(e){const i=new FormData;i.append("imagen_banner",e);const o=new bo({Accept:"application/json"});return this.http.post(`${this.baseUrl}/APIBOGATI/banner/banner_inicio_upload.php`,i,{headers:o})}getBannerInicio(){return console.log("BGT Llamando a la API:",`${this.baseUrl}/APIBOGATI/banner/banner_inicio_get.php`),this.http.get(`${this.baseUrl}/APIBOGATI/banner/banner_inicio_get.php`).pipe(zt(e=>console.log("BGT Respuesta recibida en Angular:",e)),go(e=>(console.error("BGT Error en la API:",e),ne([]))))}toggleImage(e,i){const o=e.replace("http://localhost",this.baseUrl);i?this.selectedImages.includes(o)||this.selectedImages.push(o):this.selectedImages=this.selectedImages.filter(s=>s!==o),this.saveToLocalStorage()}getSelectedImages(){return this.selectedImages.filter(e=>"string"==typeof e&&""!==e.trim()&&/^https?:\/\//.test(e))}saveToLocalStorage(){const e=this.selectedImages.map(i=>i.replace("http://localhost",this.baseUrl)).filter(i=>"string"==typeof i&&""!==i.trim()&&/^https?:\/\//.test(i));localStorage.setItem("selectedImages",JSON.stringify(e))}loadFromLocalStorage(){const e=localStorage.getItem("selectedImages");if(e)try{const i=JSON.parse(e);this.selectedImages=Array.isArray(i)?i:[]}catch(i){console.warn("Error al parsear im\xe1genes almacenadas:",i),this.selectedImages=[]}}}return t.\u0275fac=function(e){return new(e||t)(M(dn))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const{isArray:Yq}=Array;function sM(t){return 1===t.length&&Yq(t[0])?t[0]:t}const aM=new Qe(Rr);function cp(...t){const n=ru(t),e=sM(t);return e.length?new Qe(i=>{let o=e.map(()=>[]),s=e.map(()=>!1);i.add(()=>{o=s=null});for(let r=0;!i.closed&&r{if(o[r].push(a),o.every(u=>u.length)){const u=o.map(p=>p.shift());i.next(n?n(...u):u),o.some((p,f)=>!p.length&&s[f])&&i.complete()}},()=>{s[r]=!0,!o[r].length&&i.complete()}));return()=>{o=s=null}}):Zn}function U0(...t){const n=ru(t);return Et((e,i)=>{const o=t.length,s=new Array(o);let r=t.map(()=>!1),a=!1;for(let u=0;u{s[u]=p,!a&&!r[u]&&(r[u]=!0,(a=r.every(Ao))&&(r=null))},Rr));e.subscribe(rt(i,u=>{if(a){const p=[u,...s];i.next(n?n(...p):p)}}))})}Math,Math,Math;const aW=["*"];function lW(t,n){if(1&t){const e=Ae();l(0,"button",6),D("click",function(){const s=re(e).$implicit,r=I();return r.focus(),r.select(s.id,r.NgbSlideEventSource.INDICATOR)}),c()}if(2&t){const e=n.$implicit,i=I();oe("active",e.id===i.activeId),ae("aria-labelledby","slide-"+e.id)("aria-controls","slide-"+e.id)("aria-selected",e.id===i.activeId)}}function cW(t,n){}function uW(t,n){if(1&t&&(l(0,"div",7)(1,"span",8),ps(2,9),c(),C(3,cW,0,0,"ng-template",10),c()),2&t){const e=n.$implicit,i=n.index,o=n.count;v("id","slide-"+e.id),m(2),Nm(i+1)(o),function c2(t){!function gF(t,n,e){if(kl>0){const i=t.data[e];YC(t,n,Array.isArray(i)?i:i.update,ko()-kl-1,Nl)}Nl=0,kl=0}(We(),B(),t+20)}(2),m(1),v("ngTemplateOutlet",e.tplRef)}}function dW(t,n){if(1&t){const e=Ae();l(0,"button",11),D("click",function(){return re(e),I().arrowLeft()}),h(1,"span",12),l(2,"span",8),ps(3,13),c()()}}function hW(t,n){if(1&t){const e=Ae();l(0,"button",14),D("click",function(){return re(e),I().arrowRight()}),h(1,"span",15),l(2,"span",8),ps(3,16),c()()}}const TW=["dialog"];function X0(t){return"string"==typeof t}function Tr(t){return null!=t}function Ya(t){return(t||document.body).getBoundingClientRect()}const EM={animation:!0,transitionTimerDelayMs:5},bY=()=>{},{transitionTimerDelayMs:yY}=EM,Wc=new Map,Vn=(t,n,e,i)=>{let o=i.context||{};const s=Wc.get(n);if(s)switch(i.runningTransition){case"continue":return Zn;case"stop":t.run(()=>s.transition$.complete()),o=Object.assign(s.context,o),Wc.delete(n)}const r=e(n,i.animation,o)||bY;if(!i.animation||"none"===window.getComputedStyle(n).transitionProperty)return t.run(()=>r()),ne(void 0).pipe(function _Y(t){return n=>new Qe(e=>n.subscribe({next:r=>t.run(()=>e.next(r)),error:r=>t.run(()=>e.error(r)),complete:()=>t.run(()=>e.complete())}))}(t));const a=new $,u=new $,p=a.pipe(function Kq(...t){return n=>Ta(n,ne(...t))}(!0));Wc.set(n,{transition$:a,complete:()=>{u.next(),u.complete()},context:o});const f=function vY(t){const{transitionDelay:n,transitionDuration:e}=window.getComputedStyle(t);return 1e3*(parseFloat(n)+parseFloat(e))}(n);return t.runOutsideAngular(()=>{const g=Mt(n,"transitionend").pipe(ie(p),ut(({target:y})=>y===n));(function rM(...t){return 1===(t=sM(t)).length?vn(t[0]):new Qe(function Qq(t){return n=>{let e=[];for(let i=0;e&&!n.closed&&i{if(e){for(let s=0;s{Wc.delete(n),t.run(()=>{r(),a.next(),a.complete()})})}),a.asObservable()};let mp=(()=>{class t{constructor(){this.animation=EM.animation}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),xM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it]]}),t})(),OM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it]]}),t})(),kM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({}),t})();var Os=(()=>{return(t=Os||(Os={})).START="start",t.END="end",Os;var t})();const RM=({classList:t})=>t.contains("carousel-item-start")||t.contains("carousel-item-end"),Yc=t=>{t.remove("carousel-item-start"),t.remove("carousel-item-end")},gp=t=>{Yc(t),t.remove("carousel-item-prev"),t.remove("carousel-item-next")},IY=(t,n,{direction:e})=>{const{classList:i}=t;return n?(RM(t)?Yc(i):(i.add("carousel-item-"+(e===Os.START?"next":"prev")),Ya(t),i.add("carousel-item-"+e)),()=>{gp(i),i.add("active")}):(Yc(i),gp(i),void i.add("active"))},AY=(t,n,{direction:e})=>{const{classList:i}=t;return n?(RM(t)?Yc(i):i.add("carousel-item-"+e),()=>{gp(i),i.remove("active")}):(Yc(i),gp(i),void i.remove("active"))};let FM=(()=>{class t{constructor(e){this._ngbConfig=e,this.interval=5e3,this.wrap=!0,this.keyboard=!0,this.pauseOnHover=!0,this.pauseOnFocus=!0,this.showNavigationArrows=!0,this.showNavigationIndicators=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return t.\u0275fac=function(e){return new(e||t)(M(mp))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),xY=0,kt=(()=>{class t{constructor(e){this.tplRef=e,this.id="ngb-slide-"+xY++,this.slid=new H}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["ng-template","ngbSlide",""]],inputs:{id:"id"},outputs:{slid:"slid"}}),t})(),At=(()=>{class t{constructor(e,i,o,s,r){this._platformId=i,this._ngZone=o,this._cd=s,this._container=r,this.NgbSlideEventSource=Sr,this._destroy$=new $,this._interval$=new Nt(0),this._mouseHover$=new Nt(!1),this._focused$=new Nt(!1),this._pauseOnHover$=new Nt(!1),this._pauseOnFocus$=new Nt(!1),this._pause$=new Nt(!1),this._wrap$=new Nt(!1),this.slide=new H,this.slid=new H,this._transitionIds=null,this.animation=e.animation,this.interval=e.interval,this.wrap=e.wrap,this.keyboard=e.keyboard,this.pauseOnHover=e.pauseOnHover,this.pauseOnFocus=e.pauseOnFocus,this.showNavigationArrows=e.showNavigationArrows,this.showNavigationIndicators=e.showNavigationIndicators}set interval(e){this._interval$.next(e)}get interval(){return this._interval$.value}set wrap(e){this._wrap$.next(e)}get wrap(){return this._wrap$.value}set pauseOnHover(e){this._pauseOnHover$.next(e)}get pauseOnHover(){return this._pauseOnHover$.value}set pauseOnFocus(e){this._pauseOnFocus$.next(e)}get pauseOnFocus(){return this._pauseOnFocus$.value}set mouseHover(e){this._mouseHover$.next(e)}get mouseHover(){return this._mouseHover$.value}set focused(e){this._focused$.next(e)}get focused(){return this._focused$.value}arrowLeft(){this.focus(),this.prev(Sr.ARROW_LEFT)}arrowRight(){this.focus(),this.next(Sr.ARROW_RIGHT)}ngAfterContentInit(){Ig(this._platformId)&&this._ngZone.runOutsideAngular(()=>{const e=tr([this.slide.pipe(pe(i=>i.current),gn(this.activeId)),this._wrap$,this.slides.changes.pipe(gn(null))]).pipe(pe(([i,o])=>{const s=this.slides.toArray(),r=this._getSlideIdxById(i);return o?s.length>1:ri||o&&s||r&&a||!p?0:u),ka(),qn(i=>i>0?uc(i,i):aM),ie(this._destroy$)).subscribe(()=>this._ngZone.run(()=>this.next(Sr.TIMER)))}),this.slides.changes.pipe(ie(this._destroy$)).subscribe(()=>{var e;null===(e=this._transitionIds)||void 0===e||e.forEach(i=>(t=>{var n;null===(n=Wc.get(t))||void 0===n||n.complete()})(this._getSlideElement(i))),this._transitionIds=null,this._cd.markForCheck(),this._ngZone.onStable.pipe(ze(1)).subscribe(()=>{for(const{id:i}of this.slides){const o=this._getSlideElement(i);i===this.activeId?o.classList.add("active"):o.classList.remove("active")}})})}ngAfterContentChecked(){let e=this._getSlideById(this.activeId);this.activeId=e?e.id:this.slides.length?this.slides.first.id:""}ngAfterViewInit(){if(this.activeId){const e=this._getSlideElement(this.activeId);e&&e.classList.add("active")}}ngOnDestroy(){this._destroy$.next()}select(e,i){this._cycleToSelected(e,this._getSlideEventDirection(this.activeId,e),i)}prev(e){this._cycleToSelected(this._getPrevSlide(this.activeId),Os.END,e)}next(e){this._cycleToSelected(this._getNextSlide(this.activeId),Os.START,e)}pause(){this._pause$.next(!0)}cycle(){this._pause$.next(!1)}focus(){this._container.nativeElement.focus()}_cycleToSelected(e,i,o){const s=this._transitionIds;if(s&&(s[0]!==e||s[1]!==this.activeId))return;let r=this._getSlideById(e);if(r&&r.id!==this.activeId){this._transitionIds=[this.activeId,e],this.slide.emit({prev:this.activeId,current:r.id,direction:i,paused:this._pause$.value,source:o});const a={animation:this.animation,runningTransition:"stop",context:{direction:i}},u=[],p=this._getSlideById(this.activeId);if(p){const y=Vn(this._ngZone,this._getSlideElement(p.id),AY,a);y.subscribe(()=>{p.slid.emit({isShown:!1,direction:i,source:o})}),u.push(y)}const f=this.activeId;this.activeId=r.id;const g=this._getSlideById(this.activeId),b=Vn(this._ngZone,this._getSlideElement(r.id),IY,a);b.subscribe(()=>{null==g||g.slid.emit({isShown:!0,direction:i,source:o})}),u.push(b),cp(...u).pipe(ze(1)).subscribe(()=>{this._transitionIds=null,this.slid.emit({prev:f,current:r.id,direction:i,paused:this._pause$.value,source:o})})}this._cd.markForCheck()}_getSlideEventDirection(e,i){return this._getSlideIdxById(e)>this._getSlideIdxById(i)?Os.END:Os.START}_getSlideById(e){return this.slides.find(i=>i.id===e)||null}_getSlideIdxById(e){const i=this._getSlideById(e);return null!=i?this.slides.toArray().indexOf(i):-1}_getNextSlide(e){const i=this.slides.toArray(),o=this._getSlideIdxById(e);return o===i.length-1?this.wrap?i[0].id:i[i.length-1].id:i[o+1].id}_getPrevSlide(e){const i=this.slides.toArray(),o=this._getSlideIdxById(e);return 0===o?this.wrap?i[i.length-1].id:i[0].id:i[o-1].id}_getSlideElement(e){return this._container.nativeElement.querySelector(`#slide-${e}`)}}return t.\u0275fac=function(e){return new(e||t)(_(FM),_(Da),_(se),_(Ke),_(K))},t.\u0275cmp=N({type:t,selectors:[["ngb-carousel"]],contentQueries:function(e,i,o){if(1&e&&te(o,kt,4),2&e){let s;F(s=P())&&(i.slides=s)}},hostAttrs:["tabIndex","0",1,"carousel","slide"],hostVars:3,hostBindings:function(e,i){1&e&&D("keydown.arrowLeft",function(){return i.keyboard&&i.arrowLeft()})("keydown.arrowRight",function(){return i.keyboard&&i.arrowRight()})("mouseenter",function(){return i.mouseHover=!0})("mouseleave",function(){return i.mouseHover=!1})("focusin",function(){return i.focused=!0})("focusout",function(){return i.focused=!1}),2&e&&(ae("aria-activedescendant","slide-"+i.activeId),Gn("display","block"))},inputs:{animation:"animation",activeId:"activeId",interval:"interval",wrap:"wrap",keyboard:"keyboard",pauseOnHover:"pauseOnHover",pauseOnFocus:"pauseOnFocus",showNavigationArrows:"showNavigationArrows",showNavigationIndicators:"showNavigationIndicators"},outputs:{slide:"slide",slid:"slid"},exportAs:["ngbCarousel"],decls:6,vars:6,consts:function(){let n,e,i;return n=$localize`:Currently selected slide number read by screen reader@@ngb.carousel.slide-number: Slide ${"\ufffd0\ufffd"}:INTERPOLATION: of ${"\ufffd1\ufffd"}:INTERPOLATION_1: `,e=$localize`:@@ngb.carousel.previous:Previous`,i=$localize`:@@ngb.carousel.next:Next`,[["role","tablist",1,"carousel-indicators"],["type","button","data-bs-target","","role","tab",3,"active","click",4,"ngFor","ngForOf"],[1,"carousel-inner"],["class","carousel-item","role","tabpanel",3,"id",4,"ngFor","ngForOf"],["class","carousel-control-prev","type","button",3,"click",4,"ngIf"],["class","carousel-control-next","type","button",3,"click",4,"ngIf"],["type","button","data-bs-target","","role","tab",3,"click"],["role","tabpanel",1,"carousel-item",3,"id"],[1,"visually-hidden"],n,[3,"ngTemplateOutlet"],["type","button",1,"carousel-control-prev",3,"click"],["aria-hidden","true",1,"carousel-control-prev-icon"],e,["type","button",1,"carousel-control-next",3,"click"],["aria-hidden","true",1,"carousel-control-next-icon"],i]},template:function(e,i){1&e&&(l(0,"div",0),C(1,lW,1,5,"button",1),c(),l(2,"div",2),C(3,uW,4,4,"div",3),c(),C(4,dW,4,0,"button",4),C(5,hW,4,0,"button",5)),2&e&&(oe("visually-hidden",!i.showNavigationIndicators),m(1),v("ngForOf",i.slides),m(2),v("ngForOf",i.slides),m(1),v("ngIf",i.showNavigationArrows),m(1),v("ngIf",i.showNavigationArrows))},directives:[qe,gs,Ye],encapsulation:2,changeDetection:0}),t})();var Sr=(()=>{return(t=Sr||(Sr={})).TIMER="timer",t.ARROW_LEFT="arrowLeft",t.ARROW_RIGHT="arrowRight",t.INDICATOR="indicator",Sr;var t})();let PM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it]]}),t})(),LM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({}),t})();var hn=(()=>{return(t=hn||(hn={}))[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Escape=27]="Escape",t[t.Space=32]="Space",t[t.PageUp=33]="PageUp",t[t.PageDown=34]="PageDown",t[t.End=35]="End",t[t.Home=36]="Home",t[t.ArrowLeft=37]="ArrowLeft",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowRight=39]="ArrowRight",t[t.ArrowDown=40]="ArrowDown",hn;var t})();"undefined"!=typeof navigator&&navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent));const VM=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function jM(t){const n=Array.from(t.querySelectorAll(VM)).filter(e=>-1!==e.tabIndex);return[n[0],n[n.length-1]]}new Date(1882,10,12),new Date(2174,10,25);let YM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it,L3]]}),t})(),JM=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({}),t})();class Ar{constructor(n,e,i){this.nodes=n,this.viewRef=e,this.componentRef=i}}let dQ=(()=>{class t{constructor(e,i){this._el=e,this._zone=i}ngOnInit(){this._zone.onStable.asObservable().pipe(ze(1)).subscribe(()=>{Vn(this._zone,this._el.nativeElement,(e,i)=>{i&&Ya(e),e.classList.add("show")},{animation:this.animation,runningTransition:"continue"})})}hide(){return Vn(this._zone,this._el.nativeElement,({classList:e})=>e.remove("show"),{animation:this.animation,runningTransition:"stop"})}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(se))},t.\u0275cmp=N({type:t,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1055"],hostVars:6,hostBindings:function(e,i){2&e&&(ln("modal-backdrop"+(i.backdropClass?" "+i.backdropClass:"")),oe("show",!i.animation)("fade",i.animation))},inputs:{animation:"animation",backdropClass:"backdropClass"},decls:0,vars:0,template:function(e,i){},encapsulation:2}),t})();class XM{close(n){}dismiss(n){}}class hQ{constructor(n,e,i,o){this._windowCmptRef=n,this._contentRef=e,this._backdropCmptRef=i,this._beforeDismiss=o,this._closed=new $,this._dismissed=new $,this._hidden=new $,n.instance.dismissEvent.subscribe(s=>{this.dismiss(s)}),this.result=new Promise((s,r)=>{this._resolve=s,this._reject=r}),this.result.then(null,()=>{})}get componentInstance(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}get closed(){return this._closed.asObservable().pipe(ie(this._hidden))}get dismissed(){return this._dismissed.asObservable().pipe(ie(this._hidden))}get hidden(){return this._hidden.asObservable()}get shown(){return this._windowCmptRef.instance.shown.asObservable()}close(n){this._windowCmptRef&&(this._closed.next(n),this._resolve(n),this._removeModalElements())}_dismiss(n){this._dismissed.next(n),this._reject(n),this._removeModalElements()}dismiss(n){if(this._windowCmptRef)if(this._beforeDismiss){const e=this._beforeDismiss();!function DM(t){return t&&t.then}(e)?!1!==e&&this._dismiss(n):e.then(i=>{!1!==i&&this._dismiss(n)},()=>{})}else this._dismiss(n)}_removeModalElements(){const n=this._windowCmptRef.instance.hide(),e=this._backdropCmptRef?this._backdropCmptRef.instance.hide():ne(void 0);n.subscribe(()=>{const{nativeElement:i}=this._windowCmptRef.location;i.parentNode.removeChild(i),this._windowCmptRef.destroy(),this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._contentRef=null}),e.subscribe(()=>{if(this._backdropCmptRef){const{nativeElement:i}=this._backdropCmptRef.location;i.parentNode.removeChild(i),this._backdropCmptRef.destroy(),this._backdropCmptRef=null}}),cp(n,e).subscribe(()=>{this._hidden.next(),this._hidden.complete()})}}var Zc=(()=>{return(t=Zc||(Zc={}))[t.BACKDROP_CLICK=0]="BACKDROP_CLICK",t[t.ESC=1]="ESC",Zc;var t})();let pQ=(()=>{class t{constructor(e,i,o){this._document=e,this._elRef=i,this._zone=o,this._closed$=new $,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new H,this.shown=new $,this.hidden=new $}get fullscreenClass(){return!0===this.fullscreen?" modal-fullscreen":X0(this.fullscreen)?` modal-fullscreen-${this.fullscreen}-down`:""}dismiss(e){this.dismissEvent.emit(e)}ngOnInit(){this._elWithFocus=this._document.activeElement,this._zone.onStable.asObservable().pipe(ze(1)).subscribe(()=>{this._show()})}ngOnDestroy(){this._disableEventHandling()}hide(){const{nativeElement:e}=this._elRef,i={animation:this.animation,runningTransition:"stop"},r=cp(Vn(this._zone,e,()=>e.classList.remove("show"),i),Vn(this._zone,this._dialogEl.nativeElement,()=>{},i));return r.subscribe(()=>{this.hidden.next(),this.hidden.complete()}),this._disableEventHandling(),this._restoreFocus(),r}_show(){const e={animation:this.animation,runningTransition:"continue"};cp(Vn(this._zone,this._elRef.nativeElement,(s,r)=>{r&&Ya(s),s.classList.add("show")},e),Vn(this._zone,this._dialogEl.nativeElement,()=>{},e)).subscribe(()=>{this.shown.next(),this.shown.complete()}),this._enableEventHandling(),this._setFocus()}_enableEventHandling(){const{nativeElement:e}=this._elRef;this._zone.runOutsideAngular(()=>{Mt(e,"keydown").pipe(ie(this._closed$),ut(o=>o.which===hn.Escape)).subscribe(o=>{this.keyboard?requestAnimationFrame(()=>{o.defaultPrevented||this._zone.run(()=>this.dismiss(Zc.ESC))}):"static"===this.backdrop&&this._bumpBackdrop()});let i=!1;Mt(this._dialogEl.nativeElement,"mousedown").pipe(ie(this._closed$),zt(()=>i=!1),qn(()=>Mt(e,"mouseup").pipe(ie(this._closed$),ze(1))),ut(({target:o})=>e===o)).subscribe(()=>{i=!0}),Mt(e,"click").pipe(ie(this._closed$)).subscribe(({target:o})=>{e===o&&("static"===this.backdrop?this._bumpBackdrop():!0===this.backdrop&&!i&&this._zone.run(()=>this.dismiss(Zc.BACKDROP_CLICK))),i=!1})})}_disableEventHandling(){this._closed$.next()}_setFocus(){const{nativeElement:e}=this._elRef;if(!e.contains(document.activeElement)){const i=e.querySelector("[ngbAutofocus]"),o=jM(e)[0];(i||o||e).focus()}}_restoreFocus(){const e=this._document.body,i=this._elWithFocus;let o;o=i&&i.focus&&e.contains(i)?i:e,this._zone.runOutsideAngular(()=>{setTimeout(()=>o.focus()),this._elWithFocus=null})}_bumpBackdrop(){"static"===this.backdrop&&Vn(this._zone,this._elRef.nativeElement,({classList:e})=>(e.add("modal-static"),()=>e.remove("modal-static")),{animation:this.animation,runningTransition:"continue"})}}return t.\u0275fac=function(e){return new(e||t)(_(ve),_(K),_(se))},t.\u0275cmp=N({type:t,selectors:[["ngb-modal-window"]],viewQuery:function(e,i){if(1&e&&me(TW,7),2&e){let o;F(o=P())&&(i._dialogEl=o.first)}},hostAttrs:["role","dialog","tabindex","-1"],hostVars:7,hostBindings:function(e,i){2&e&&(ae("aria-modal",!0)("aria-labelledby",i.ariaLabelledBy)("aria-describedby",i.ariaDescribedBy),ln("modal d-block"+(i.windowClass?" "+i.windowClass:"")),oe("fade",i.animation))},inputs:{animation:"animation",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",backdrop:"backdrop",centered:"centered",fullscreen:"fullscreen",keyboard:"keyboard",scrollable:"scrollable",size:"size",windowClass:"windowClass",modalDialogClass:"modalDialogClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:aW,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(e,i){1&e&&(rn(),l(0,"div",0,1)(2,"div",2),nt(3),c()()),2&e&&ln("modal-dialog"+(i.size?" modal-"+i.size:"")+(i.centered?" modal-dialog-centered":"")+i.fullscreenClass+(i.scrollable?" modal-dialog-scrollable":"")+(i.modalDialogClass?" "+i.modalDialogClass:""))},styles:["ngb-modal-window .component-host-scrollable{display:flex;flex-direction:column;overflow:hidden}\n"],encapsulation:2}),t})(),fQ=(()=>{class t{constructor(e){this._document=e}hide(){const e=Math.abs(window.innerWidth-this._document.documentElement.clientWidth),i=this._document.body,o=i.style,{overflow:s,paddingRight:r}=o;if(e>0){const a=parseFloat(window.getComputedStyle(i).paddingRight);o.paddingRight=`${a+e}px`}return o.overflow="hidden",()=>{e>0&&(o.paddingRight=r),o.overflow=s}}}return t.\u0275fac=function(e){return new(e||t)(M(ve))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),mQ=(()=>{class t{constructor(e,i,o,s,r,a){this._applicationRef=e,this._injector=i,this._document=o,this._scrollBar=s,this._rendererFactory=r,this._ngZone=a,this._activeWindowCmptHasChanged=new $,this._ariaHiddenValues=new Map,this._scrollBarRestoreFn=null,this._backdropAttributes=["animation","backdropClass"],this._modalRefs=[],this._windowAttributes=["animation","ariaLabelledBy","ariaDescribedBy","backdrop","centered","fullscreen","keyboard","scrollable","size","windowClass","modalDialogClass"],this._windowCmpts=[],this._activeInstances=new H,this._activeWindowCmptHasChanged.subscribe(()=>{if(this._windowCmpts.length){const u=this._windowCmpts[this._windowCmpts.length-1];((t,n,e,i=!1)=>{this._ngZone.runOutsideAngular(()=>{const o=Mt(n,"focusin").pipe(ie(e),pe(s=>s.target));Mt(n,"keydown").pipe(ie(e),ut(s=>s.which===hn.Tab),U0(o)).subscribe(([s,r])=>{const[a,u]=jM(n);(r===a||r===n)&&s.shiftKey&&(u.focus(),s.preventDefault()),r===u&&!s.shiftKey&&(a.focus(),s.preventDefault())}),i&&Mt(n,"click").pipe(ie(e),U0(o),pe(s=>s[1])).subscribe(s=>s.focus())})})(0,u.location.nativeElement,this._activeWindowCmptHasChanged),this._revertAriaHidden(),this._setAriaHidden(u.location.nativeElement)}})}_restoreScrollBar(){const e=this._scrollBarRestoreFn;e&&(this._scrollBarRestoreFn=null,e())}_hideScrollBar(){this._scrollBarRestoreFn||(this._scrollBarRestoreFn=this._scrollBar.hide())}open(e,i,o,s){const r=s.container instanceof HTMLElement?s.container:Tr(s.container)?this._document.querySelector(s.container):this._document.body,a=this._rendererFactory.createRenderer(null,null);if(!r)throw new Error(`The specified modal container "${s.container||"body"}" was not found in the DOM.`);this._hideScrollBar();const u=new XM,p=this._getContentRef(e,s.injector||i,o,u,s);let f=!1!==s.backdrop?this._attachBackdrop(e,r):void 0,g=this._attachWindowComponent(e,r,p),b=new hQ(g,p,f,s.beforeDismiss);return this._registerModalRef(b),this._registerWindowCmpt(g),b.hidden.pipe(ze(1)).subscribe(()=>Promise.resolve(!0).then(()=>{this._modalRefs.length||(a.removeClass(this._document.body,"modal-open"),this._restoreScrollBar(),this._revertAriaHidden())})),u.close=y=>{b.close(y)},u.dismiss=y=>{b.dismiss(y)},this._applyWindowOptions(g.instance,s),1===this._modalRefs.length&&a.addClass(this._document.body,"modal-open"),f&&f.instance&&(this._applyBackdropOptions(f.instance,s),f.changeDetectorRef.detectChanges()),g.changeDetectorRef.detectChanges(),b}get activeInstances(){return this._activeInstances}dismissAll(e){this._modalRefs.forEach(i=>i.dismiss(e))}hasOpenModals(){return this._modalRefs.length>0}_attachBackdrop(e,i){let s=e.resolveComponentFactory(dQ).create(this._injector);return this._applicationRef.attachView(s.hostView),i.appendChild(s.location.nativeElement),s}_attachWindowComponent(e,i,o){let r=e.resolveComponentFactory(pQ).create(this._injector,o.nodes);return this._applicationRef.attachView(r.hostView),i.appendChild(r.location.nativeElement),r}_applyWindowOptions(e,i){this._windowAttributes.forEach(o=>{Tr(i[o])&&(e[o]=i[o])})}_applyBackdropOptions(e,i){this._backdropAttributes.forEach(o=>{Tr(i[o])&&(e[o]=i[o])})}_getContentRef(e,i,o,s,r){return o?o instanceof ce?this._createFromTemplateRef(o,s):X0(o)?this._createFromString(o):this._createFromComponent(e,i,o,s,r):new Ar([])}_createFromTemplateRef(e,i){const s=e.createEmbeddedView({$implicit:i,close(r){i.close(r)},dismiss(r){i.dismiss(r)}});return this._applicationRef.attachView(s),new Ar([s.rootNodes],s)}_createFromString(e){const i=this._document.createTextNode(`${e}`);return new Ar([[i]])}_createFromComponent(e,i,o,s,r){const a=e.resolveComponentFactory(o),u=yt.create({providers:[{provide:XM,useValue:s}],parent:i}),p=a.create(u),f=p.location.nativeElement;return r.scrollable&&f.classList.add("component-host-scrollable"),this._applicationRef.attachView(p.hostView),new Ar([[f]],p.hostView,p)}_setAriaHidden(e){const i=e.parentElement;i&&e!==this._document.body&&(Array.from(i.children).forEach(o=>{o!==e&&"SCRIPT"!==o.nodeName&&(this._ariaHiddenValues.set(o,o.getAttribute("aria-hidden")),o.setAttribute("aria-hidden","true"))}),this._setAriaHidden(i))}_revertAriaHidden(){this._ariaHiddenValues.forEach((e,i)=>{e?i.setAttribute("aria-hidden",e):i.removeAttribute("aria-hidden")}),this._ariaHiddenValues.clear()}_registerModalRef(e){const i=()=>{const o=this._modalRefs.indexOf(e);o>-1&&(this._modalRefs.splice(o,1),this._activeInstances.emit(this._modalRefs))};this._modalRefs.push(e),this._activeInstances.emit(this._modalRefs),e.result.then(i,i)}_registerWindowCmpt(e){this._windowCmpts.push(e),this._activeWindowCmptHasChanged.next(),e.onDestroy(()=>{const i=this._windowCmpts.indexOf(e);i>-1&&(this._windowCmpts.splice(i,1),this._activeWindowCmptHasChanged.next())})}}return t.\u0275fac=function(e){return new(e||t)(M(Ks),M(yt),M(ve),M(fQ),M(ya),M(se))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),gQ=(()=>{class t{constructor(e){this._ngbConfig=e,this.backdrop=!0,this.fullscreen=!1,this.keyboard=!0}get animation(){return void 0===this._animation?this._ngbConfig.animation:this._animation}set animation(e){this._animation=e}}return t.\u0275fac=function(e){return new(e||t)(M(mp))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),_Q=(()=>{class t{constructor(e,i,o,s){this._moduleCFR=e,this._injector=i,this._modalStack=o,this._config=s}open(e,i={}){const o=Object.assign(Object.assign(Object.assign({},this._config),{animation:this._config.animation}),i);return this._modalStack.open(this._moduleCFR,this._injector,e,o)}get activeInstances(){return this._modalStack.activeInstances}dismissAll(e){this._modalStack.dismissAll(e)}hasOpenModals(){return this._modalStack.hasOpenModals()}}return t.\u0275fac=function(e){return new(e||t)(M(po),M(yt),M(mQ),M(gQ))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),eI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({providers:[_Q]}),t})(),oI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it]]}),t})(),hI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it]]}),t})(),fI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it]]}),t})(),mI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it]]}),t})(),gI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it]]}),t})(),_I=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it]]}),t})(),vI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it]]}),t})(),bI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({}),t})();new j("live announcer delay",{providedIn:"root",factory:function xQ(){return 100}});let yI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it]]}),t})(),CI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({}),t})();const OQ=[xM,OM,kM,PM,LM,YM,JM,eI,oI,CI,hI,fI,mI,gI,_I,vI,bI,yI];let NQ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[OQ,xM,OM,kM,PM,LM,YM,JM,eI,oI,CI,hI,fI,mI,gI,_I,vI,bI,yI]}),t})();function kQ(t,n){if(1&t&&(l(0,"div")(1,"h4"),d(2,"Vista previa:"),c(),h(3,"img",6),c()),2&t){const e=I();m(3),v("src",e.imagenUrl,we)}}function RQ(t,n){if(1&t){const e=Ae();l(0,"tr")(1,"td"),d(2),c(),l(3,"td"),h(4,"img",7),c(),l(5,"td"),d(6),c(),l(7,"td")(8,"input",8),D("change",function(o){const r=re(e).$implicit;return I().onCheckboxChange(o,r)}),c()()()}if(2&t){const e=n.$implicit,i=n.index,o=I();m(2),le(i+1),m(2),Al("alt","Imagen ",i+1,""),v("src",e,we),m(2),le(e),m(2),v("checked",o.selectedImages.includes(e))}}function FQ(t,n){if(1&t&&(l(0,"div",10)(1,"div",11),h(2,"img",12),c()()),2&t){const e=I().$implicit;m(2),v("src",e,we)}}function PQ(t,n){1&t&&C(0,FQ,3,1,"ng-template",9)}function LQ(t,n){if(1&t&&(l(0,"ngb-carousel"),C(1,PQ,1,0,null,5),c()),2&t){const e=I();m(1),v("ngForOf",e.selectedImages)}}let BQ=(()=>{class t{constructor(e,i,o,s){this.servicoBannerInicio=e,this.toastr=i,this.http=o,this.carouselService=s,this.archivo=null,this.imagenUrl="",this.baseUrl=".",this.selectedImages=[],this.images=[]}ngOnInit(){this.getImages(),this.selectedImages=this.carouselService.getSelectedImages()}onFileSelected(e){if(e.target.files.length>0){this.archivo=e.target.files[0];const i=new FileReader;i.onload=o=>{this.imagenUrl=o.target.result},i.readAsDataURL(this.archivo)}}subirImagen(){this.archivo?this.servicoBannerInicio.subirImagen(this.archivo).subscribe(e=>{e.success?(console.log("Imagen subida con \xe9xito:",e),this.toastr.success("Imagen subida con \xe9xito","\xc9xito",{timeOut:3e3}),this.imagenUrl=e.url):(console.error("Error en la subida:",e.error),this.toastr.error("Error en la subida:","Error"))},e=>{console.error("Error al subir la imagen:",e)}):console.error("No se ha seleccionado ning\xfan archivo")}getImages(){this.servicoBannerInicio.getBannerInicio().subscribe(e=>{console.log(" Datos recibidos en getImages():",e),e&&Array.isArray(e)?(this.images=e.filter(i=>i.url&&""!==i.url.trim()).map(i=>i.url),console.log(" Lista de im\xe1genes procesadas:",this.images)):console.warn(" La API no devolvi\xf3 un array v\xe1lido.")},e=>{console.error("Error al obtener im\xe1genes en getImages():",e)})}toggleSelection(e,i){this.selectedImages=this.carouselService.getSelectedImages()}isChecked(e){return this.selectedImages.includes(e)}onCheckboxChange(e,i){e.target.checked?(this.servicoBannerInicio.toggleImage(i,!0),this.selectedImages=this.servicoBannerInicio.getSelectedImages(),this.http.post(`${this.baseUrl}/APIBOGATI/banner/guardar_seleccion.php`,{imagen_url:i,orden:this.selectedImages.length}).subscribe()):(this.servicoBannerInicio.toggleImage(i,!1),this.selectedImages=this.servicoBannerInicio.getSelectedImages(),this.http.post(`${this.baseUrl}/APIBOGATI/banner/desactivar_banner.php`,{imagen_url:i}).subscribe()),localStorage.setItem("selectedImages",JSON.stringify(this.selectedImages))}resetSeleccion(){this.selectedImages=[],localStorage.removeItem("selectedImages"),this.servicoBannerInicio.selectedImages=[],this.http.post(`${this.baseUrl}/APIBOGATI/banner/desactivar_todos.php`,{}).subscribe()}guardarSeleccion(){const e=this.selectedImages;this.http.post(`${this.baseUrl}/APIBOGATI/banner/desactivar_todos.php`,{}).subscribe(()=>{e.forEach((i,o)=>{this.http.post(`${this.baseUrl}/APIBOGATI/banner/guardar_seleccion.php`,{imagen_url:i,orden:o+1}).subscribe()})})}}return t.\u0275fac=function(e){return new(e||t)(_(H0),_(Re),_(dn),_(H0))},t.\u0275cmp=N({type:t,selectors:[["app-banner-subir"]],decls:26,vars:3,consts:[["type","file",3,"change"],["mat-button","","color","primary",1,"col-sm-2",3,"click"],[4,"ngIf"],[1,"btn","btn-danger",3,"click"],["border","1",1,"mat-elevation-z8"],[4,"ngFor","ngForOf"],["width","200",3,"src"],["width","100","height","100",3,"src","alt"],["type","checkbox",3,"checked","change"],["ngbSlide",""],[1,"picsum-img-wrapper"],[1,"img__carousel"],["alt","Bogati Sabor Adictivo",3,"src"]],template:function(e,i){1&e&&(l(0,"h3"),d(1,"Subir Nueva Imagen"),c(),l(2,"input",0),D("change",function(s){return i.onFileSelected(s)}),c(),l(3,"button",1),D("click",function(){return i.subirImagen()}),d(4," Subir\n"),c(),C(5,kQ,4,1,"div",2),h(6,"br"),l(7,"div"),h(8,"br"),l(9,"button",3),D("click",function(){return i.resetSeleccion()}),d(10," Limpiar selecci\xf3n "),c(),l(11,"table",4)(12,"thead")(13,"tr")(14,"th"),d(15,"#"),c(),l(16,"th"),d(17,"Imagen"),c(),l(18,"th"),d(19,"URL"),c(),l(20,"th"),d(21,"Seleccionar"),c()()(),l(22,"tbody"),C(23,RQ,9,5,"tr",5),c()(),h(24,"br"),C(25,LQ,2,1,"ngb-carousel",2),c()),2&e&&(m(5),v("ngIf",i.imagenUrl),m(18),v("ngForOf",i.images),m(2),v("ngIf",i.selectedImages.length>0))},directives:[Ye,qe,At,kt],styles:[""]}),t})(),d1=(()=>{class t{constructor(e,i){this.dialogRef=e,this.mensaje=i}ngOnInit(){}confirmar(){this.dialogRef.close(!0)}cancelar(){this.dialogRef.close(!1)}}return t.\u0275fac=function(e){return new(e||t)(_(Do),_(Eo))},t.\u0275cmp=N({type:t,selectors:[["app-dialogconfirmacion"]],decls:8,vars:1,consts:[[1,"btn","btncancelar",2,"float","right","background","#e29a5c","margin","10px",3,"click"],[1,"btn","btngrabar",2,"float","right","background-color","#e29a5c","margin","10px",3,"click"]],template:function(e,i){1&e&&(l(0,"h2"),d(1,"Confirmaci\xf3n"),c(),l(2,"p"),d(3),c(),l(4,"button",0),D("click",function(){return i.confirmar()}),d(5,"Si "),c(),l(6,"button",1),D("click",function(){return i.cancelar()}),d(7,"No"),c()),2&e&&(m(3),U("Vamos a ",i.mensaje,", estas de acuerdo?"))},styles:[""]}),t})(),VQ=(()=>{class t{constructor(e,i,o,s,r){this.dialogRef=e,this.tienda=i,this.toastr=o,this._cookie=s,this._sucursal=r,this.token="",this.baseUrl="."}ngOnInit(){this.token=this._cookie.get("token"),this.sucursal={posicion_suc:"",nombre_suc:"",foto_suc:"",ciudad_suc:"",sector_suc:"",region_suc:"",horario_suc:"",direccion_suc:"",celular_suc:"",dirmaps_suc:"",provincia_suc:"",token:""}}createSucursal(){""==this.sucursal.region_suc?this.toastError("No has especificado la regi\xf3n de la nueva sucursal"):""==this.sucursal.ciudad_suc||null==this.sucursal.ciudad_suc?this.toastError("No has especificado la ciudad"):""==this.sucursal.direccion_suc||null==this.sucursal.direccion_suc?this.toastError("Debes especificar la direcci\xf3n"):""==this.sucursal.dirmaps_suc||null==this.sucursal.dirmaps_suc?this.toastError("Debes colocar el link de google maps"):""==this.sucursal.celular_suc||null==this.sucursal.celular_suc?this.toastError("Debes colocar el n\xfamero de celular de la nueva sucursal"):""==this.sucursal.horario_suc||null==this.sucursal.horario_suc?this.toastError("No has especificado el horario"):""==this.sucursal.posicion_suc||null==this.sucursal.posicion_suc||""==this.sucursal.sector_suc||null==this.sucursal.sector_suc?this.toastError("No has especificado el orden de la nueva sucrusal"):""==this.sucursal.provincia_suc||null==this.sucursal.provincia_suc?this.toastError("No has especificado la provincia"):(this.sucursal.token=this.token,this.sucursal.celular_suc=this.sucursal.celular_suc.trim(),this.sucursal.direccion_suc=this.sucursal.direccion_suc.trim(),this.sucursal.horario_suc=this.sucursal.horario_suc.trim(),this.sucursal.ciudad_suc=this.sucursal.ciudad_suc.trim(),this.sucursal.nombre_suc=this.sucursal.nombre_suc.trim(),this.sucursal.dirmaps_suc=this.sucursal.dirmaps_suc.trim(),this.sucursal.direccion_suc=this.sucursal.direccion_suc.trim(),this._sucursal.createTienda(this.sucursal).subscribe(e=>{e.data?(this.toastSuccess("Sucursal Creada Con Exito"),this.dialogRef.close()):this.toastError("Tenemos problemas para registrar la sucursal, intentalo nuevamente")}))}subirFoto(e){var i=this;this._sucursal.uploadfiles(e.target.files[0]).subscribe(function(){var a=Yi(function*(u){"success"==u.status&&(i.sucursal.foto_suc=i.baseUrl+"/APIBOGATI/imagenes/"+u.msj)});return function(u){return a.apply(this,arguments)}}(),a=>{console.log(a)})}toastSuccess(e){this.toastr.success(e,"Exito",{timeOut:4500})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Do),_(Eo),_(Re),_(Ve),_(Ht))},t.\u0275cmp=N({type:t,selectors:[["app-dialogcreatetienda"]],decls:164,vars:10,consts:[[2,"padding","10px"],[1,"subtitulo",2,"text-align","center","color","#f18c24"],[1,"row"],[1,"col-sm-6"],[2,"color","#f18c24"],["appearance","fill",1,"example-full-width"],[3,"ngModel","ngModelChange"],["value",""],["value","Costa"],["value","Sierra"],["value","Oriente"],["value","SUR"],["value","CENTRO"],["value","NORTE"],["value","Azuay"],["value","Bol\xedvar"],["value","Ca\xf1ar"],["value","Carchi"],["value","Chimborazo"],["value","Cotopaxi"],["value","El Oro"],["value","Esmeraldas"],["value","Gal\xe1pagos"],["value","Guayas"],["value","Imbabura"],["value","Loja"],["value","Los R\xedos"],["value","Manab\xed"],["value","Morona-Santiago"],["value","Napo"],["value","Orellana"],["value","Pastaza"],["value","Pichincha"],["value","Santa Elena"],["value","Santo Domingo de los Ts\xe1chilas"],["value","Sucumb\xedos"],["value","Tungurahua"],["value","Zamora-Chinchipe"],["matInput","","placeholder","Ciudad",3,"ngModel","ngModelChange"],["matInput","","placeholder","Nombre Tienda",3,"ngModel","ngModelChange"],["matInput","","placeholder","Direcci\xf3n",3,"ngModel","ngModelChange"],["matInput","","placeholder","Direcci\xf3n Google Maps",3,"ngModel","ngModelChange"],[1,"col-sm-4"],["matInput","","placeholder","Celular",3,"ngModel","ngModelChange"],["matInput","","placeholder","Horario",3,"ngModel","ngModelChange"],["type","number","matInput","","placeholder","N\xfamero Tienda",3,"ngModel","ngModelChange"],[1,"button",3,"click"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div",1),d(2," Nueva Sucursal "),c(),h(3,"br"),l(4,"div",2)(5,"div",3)(6,"span",4)(7,"b"),d(8,"Regi\xf3n"),c()(),l(9,"mat-form-field",5)(10,"mat-label"),d(11,"Regi\xf3n"),c(),l(12,"mat-select",6),D("ngModelChange",function(s){return i.sucursal.region_suc=s}),l(13,"mat-option",7),d(14,"Ninguno"),c(),l(15,"mat-option",8),d(16,"Costa"),c(),l(17,"mat-option",9),d(18,"Sierra"),c(),l(19,"mat-option",10),d(20,"Oriente"),c()()()(),l(21,"div",3)(22,"span",4)(23,"b"),d(24,"Sector"),c()(),l(25,"mat-form-field",5)(26,"mat-label"),d(27,"Sector"),c(),l(28,"mat-select",6),D("ngModelChange",function(s){return i.sucursal.sector_suc=s}),l(29,"mat-option",7),d(30,"Ninguno"),c(),l(31,"mat-option",11),d(32,"Sur"),c(),l(33,"mat-option",12),d(34,"Centro"),c(),l(35,"mat-option",13),d(36,"Norte"),c()()()()(),l(37,"div",2)(38,"div",3)(39,"span",4)(40,"b"),d(41,"Provincia"),c()(),l(42,"mat-form-field",5)(43,"mat-label"),d(44,"Provincia"),c(),l(45,"mat-select",6),D("ngModelChange",function(s){return i.sucursal.provincia_suc=s}),l(46,"mat-option",7),d(47,"Ninguno"),c(),l(48,"mat-option",14),d(49,"Azuay"),c(),l(50,"mat-option",15),d(51,"Bol\xedvar"),c(),l(52,"mat-option",16),d(53,"Ca\xf1ar"),c(),l(54,"mat-option",17),d(55,"Carchi"),c(),l(56,"mat-option",18),d(57,"Chimborazo"),c(),l(58,"mat-option",19),d(59,"Cotopaxi"),c(),l(60,"mat-option",20),d(61,"El Oro"),c(),l(62,"mat-option",21),d(63,"Esmeraldas"),c(),l(64,"mat-option",22),d(65,"Gal\xe1pagos"),c(),l(66,"mat-option",23),d(67,"Guayas"),c(),l(68,"mat-option",24),d(69,"Imbabura"),c(),l(70,"mat-option",25),d(71,"Loja"),c(),l(72,"mat-option",26),d(73,"Los R\xedos"),c(),l(74,"mat-option",27),d(75,"Manab\xed"),c(),l(76,"mat-option",28),d(77,"Morona-Santiago"),c(),l(78,"mat-option",29),d(79,"Napo"),c(),l(80,"mat-option",30),d(81,"Orellana"),c(),l(82,"mat-option",31),d(83,"Pastaza"),c(),l(84,"mat-option",32),d(85,"Pichincha"),c(),l(86,"mat-option",33),d(87,"Santa Elena"),c(),l(88,"mat-option",34),d(89,"Santo Domingo de los Ts\xe1chilas"),c(),l(90,"mat-option",35),d(91,"Sucumb\xedos"),c(),l(92,"mat-option",36),d(93,"Tungurahua"),c(),l(94,"mat-option",37),d(95,"Zamora-Chinchipe"),c()()()()(),h(96,"br"),l(97,"div",2)(98,"div",3)(99,"span",4)(100,"b"),d(101,"Ciudad"),c()(),l(102,"mat-form-field",5)(103,"mat-label"),d(104,"Ciudad"),c(),l(105,"input",38),D("ngModelChange",function(s){return i.sucursal.ciudad_suc=s}),c()()(),l(106,"div",3)(107,"span",4)(108,"b"),d(109,"Nombre Tienda"),c()(),l(110,"mat-form-field",5)(111,"mat-label"),d(112,"Nombre Tienda"),c(),l(113,"input",39),D("ngModelChange",function(s){return i.sucursal.nombre_suc=s}),c()()()(),h(114,"br"),l(115,"div",2)(116,"div",3)(117,"span",4)(118,"b"),d(119,"Direcci\xf3n"),c()(),l(120,"mat-form-field",5)(121,"mat-label"),d(122,"Direcci\xf3n"),c(),l(123,"input",40),D("ngModelChange",function(s){return i.sucursal.direccion_suc=s}),c()()(),l(124,"div",3)(125,"span",4)(126,"b"),d(127,"Direcci\xf3n Google Maps"),c()(),l(128,"mat-form-field",5)(129,"mat-label"),d(130,"Direcci\xf3n Google Maps"),c(),l(131,"input",41),D("ngModelChange",function(s){return i.sucursal.dirmaps_suc=s}),c()()()(),h(132,"br"),l(133,"div",2)(134,"div",42)(135,"span",4)(136,"b"),d(137,"Celular"),c()(),l(138,"mat-form-field",5)(139,"mat-label"),d(140,"Celular"),c(),l(141,"input",43),D("ngModelChange",function(s){return i.sucursal.celular_suc=s}),c()()(),l(142,"div",42)(143,"span",4)(144,"b"),d(145,"Horario"),c()(),l(146,"mat-form-field",5)(147,"mat-label"),d(148,"Horario"),c(),l(149,"input",44),D("ngModelChange",function(s){return i.sucursal.horario_suc=s}),c()()(),l(150,"div",42)(151,"span",4)(152,"b"),d(153,"N\xfamero Tienda"),c()(),l(154,"mat-form-field",5)(155,"mat-label"),d(156,"N\xfamero Tienda"),c(),l(157,"input",45),D("ngModelChange",function(s){return i.sucursal.posicion_suc=s}),c()()()(),h(158,"br"),l(159,"div",2),h(160,"div",3),l(161,"div",3)(162,"div",46),D("click",function(){return i.createSucursal()}),d(163,"Registrar"),c()()()()),2&e&&(m(12),v("ngModel",i.sucursal.region_suc),m(16),v("ngModel",i.sucursal.sector_suc),m(17),v("ngModel",i.sucursal.provincia_suc),m(60),v("ngModel",i.sucursal.ciudad_suc),m(8),v("ngModel",i.sucursal.nombre_suc),m(10),v("ngModel",i.sucursal.direccion_suc),m(8),v("ngModel",i.sucursal.dirmaps_suc),m(10),v("ngModel",i.sucursal.celular_suc),m(8),v("ngModel",i.sucursal.horario_suc),m(8),v("ngModel",i.sucursal.posicion_suc))},directives:[xi,di,Wo,It,jt,Co,Qi,wt,Zh],styles:[""]}),t})(),jQ=(()=>{class t{constructor(e,i,o,s,r,a){this.dialogRef=e,this.tienda=i,this.toastr=o,this._cookie=s,this._sucursal=r,this._login=a,this.token="",this.baseUrl="."}ngOnInit(){this.token=this._cookie.get("token"),this.sucursal={posicion_suc:"",nombre_suc:"",foto_suc:"",ciudad_suc:"",sector_suc:"",region_suc:"",horario_suc:"",direccion_suc:"",celular_suc:"",dirmaps_suc:"",provincia_suc:"",token:""},this.sucursal=this.tienda,this._login.getuserdata(this.token).subscribe(e=>{this.admin="ADMIN"!=e.data.rol_usu})}createSucursal(){""==this.sucursal.region_suc?this.toastError("No has especificado la regi\xf3n de la nueva sucrusal"):""==this.sucursal.ciudad_suc||null==this.sucursal.ciudad_suc?this.toastError("No has especificado la ciudad"):""==this.sucursal.direccion_suc||null==this.sucursal.direccion_suc?this.toastError("Debes especificar la direcci\xf3n"):""==this.sucursal.dirmaps_suc||null==this.sucursal.dirmaps_suc?this.toastError("Debes colocar el link de google maps"):""==this.sucursal.celular_suc||null==this.sucursal.celular_suc?this.toastError("Debes colocar el n\xfamero de celular de la nueva sucursal"):""==this.sucursal.horario_suc||null==this.sucursal.horario_suc?this.toastError("No has especificado el horario"):""==this.sucursal.posicion_suc||null==this.sucursal.posicion_suc||""==this.sucursal.sector_suc||null==this.sucursal.sector_suc?this.toastError("No has especificado el orden de la nueva sucrusal"):""==this.sucursal.provincia_suc||null==this.sucursal.provincia_suc?this.toastError("No has especificado la provincia"):(this.sucursal.token=this.token,this.sucursal.celular_suc=this.sucursal.celular_suc.trim(),this.sucursal.direccion_suc=this.sucursal.direccion_suc.trim(),this.sucursal.horario_suc=this.sucursal.horario_suc.trim(),this.sucursal.ciudad_suc=this.sucursal.ciudad_suc.trim(),this.sucursal.nombre_suc=this.sucursal.nombre_suc.trim(),this.sucursal.dirmaps_suc=this.sucursal.dirmaps_suc.trim(),this.sucursal.direccion_suc=this.sucursal.direccion_suc.trim(),this._sucursal.editTienda(this.sucursal).subscribe(e=>{e.data?(this.toastSuccess("Sucursal Actualiza correctamente"),this.dialogRef.close()):this.toastError("Tenemos problemas para actualizar la informaci\xf3n, intentalo nuevamente")}))}subirFoto(e){var i=this;this._sucursal.uploadfiles(e.target.files[0]).subscribe(function(){var a=Yi(function*(u){"success"==u.status&&(i.sucursal.foto_suc=i.baseUrl+"/imagenes/"+u.msj)});return function(u){return a.apply(this,arguments)}}(),a=>{console.log(a)})}toastSuccess(e){this.toastr.success(e,"Exito",{timeOut:4500})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Do),_(Eo),_(Re),_(Ve),_(Ht),_(xn))},t.\u0275cmp=N({type:t,selectors:[["app-dialogedittienda"]],decls:164,vars:19,consts:[[2,"padding","10px"],[1,"subtitulo",2,"text-align","center","color","#F18C24"],[1,"row"],[1,"col-sm-6"],[2,"color","#F18C24"],["appearance","fill",1,"example-full-width"],[3,"ngModel","disabled","ngModelChange"],["value",""],["value","Costa"],["value","Sierra"],["value","Oriente"],["value","SUR"],["value","CENTRO"],["value","NORTE"],["value","Azuay"],["value","Bol\xedvar"],["value","Ca\xf1ar"],["value","Carchi"],["value","Chimborazo"],["value","Cotopaxi"],["value","El Oro"],["value","Esmeraldas"],["value","Gal\xe1pagos"],["value","Guayas"],["value","Imbabura"],["value","Loja"],["value","Los R\xedos"],["value","Manab\xed"],["value","Morona-Santiago"],["value","Napo"],["value","Orellana"],["value","Pastaza"],["value","Pichincha"],["value","Santa Elena"],["value","Santo Domingo de los Ts\xe1chilas"],["value","Sucumb\xedos"],["value","Tungurahua"],["value","Zamora-Chinchipe"],["matInput","","placeholder","Ciudad",3,"ngModel","disabled","ngModelChange"],["matInput","","placeholder","Nombre Tienda",3,"ngModel","disabled","ngModelChange"],["matInput","","placeholder","Direcci\xf3n",3,"ngModel","disabled","ngModelChange"],["matInput","","placeholder","Direcci\xf3n Google Maps",3,"ngModel","disabled","ngModelChange"],[1,"col-sm-4"],["matInput","","placeholder","Celular",3,"ngModel","disabled","ngModelChange"],["matInput","","placeholder","Horario",3,"ngModel","ngModelChange"],["type","number","matInput","","placeholder","N\xfamero Tienda",3,"ngModel","disabled","ngModelChange"],[1,"button",3,"click"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div",1),d(2," Editar Sucursal "),c(),h(3,"br"),l(4,"div",2)(5,"div",3)(6,"span",4)(7,"b"),d(8,"Regi\xf3n"),c()(),l(9,"mat-form-field",5)(10,"mat-label"),d(11,"Regi\xf3n"),c(),l(12,"mat-select",6),D("ngModelChange",function(s){return i.sucursal.region_suc=s}),l(13,"mat-option",7),d(14,"Ninguno"),c(),l(15,"mat-option",8),d(16,"Costa"),c(),l(17,"mat-option",9),d(18,"Sierra"),c(),l(19,"mat-option",10),d(20,"Oriente"),c()()()(),l(21,"div",3)(22,"span",4)(23,"b"),d(24,"Sector"),c()(),l(25,"mat-form-field",5)(26,"mat-label"),d(27,"Sector"),c(),l(28,"mat-select",6),D("ngModelChange",function(s){return i.sucursal.sector_suc=s}),l(29,"mat-option",7),d(30,"Ninguno"),c(),l(31,"mat-option",11),d(32,"Sur"),c(),l(33,"mat-option",12),d(34,"Centro"),c(),l(35,"mat-option",13),d(36,"Norte"),c()()()()(),l(37,"div",2)(38,"div",3)(39,"span",4)(40,"b"),d(41,"Provincia"),c()(),l(42,"mat-form-field",5)(43,"mat-label"),d(44,"Provincia"),c(),l(45,"mat-select",6),D("ngModelChange",function(s){return i.sucursal.provincia_suc=s}),l(46,"mat-option",7),d(47,"Ninguno"),c(),l(48,"mat-option",14),d(49,"Azuay"),c(),l(50,"mat-option",15),d(51,"Bol\xedvar"),c(),l(52,"mat-option",16),d(53,"Ca\xf1ar"),c(),l(54,"mat-option",17),d(55,"Carchi"),c(),l(56,"mat-option",18),d(57,"Chimborazo"),c(),l(58,"mat-option",19),d(59,"Cotopaxi"),c(),l(60,"mat-option",20),d(61,"El Oro"),c(),l(62,"mat-option",21),d(63,"Esmeraldas"),c(),l(64,"mat-option",22),d(65,"Gal\xe1pagos"),c(),l(66,"mat-option",23),d(67,"Guayas"),c(),l(68,"mat-option",24),d(69,"Imbabura"),c(),l(70,"mat-option",25),d(71,"Loja"),c(),l(72,"mat-option",26),d(73,"Los R\xedos"),c(),l(74,"mat-option",27),d(75,"Manab\xed"),c(),l(76,"mat-option",28),d(77,"Morona-Santiago"),c(),l(78,"mat-option",29),d(79,"Napo"),c(),l(80,"mat-option",30),d(81,"Orellana"),c(),l(82,"mat-option",31),d(83,"Pastaza"),c(),l(84,"mat-option",32),d(85,"Pichincha"),c(),l(86,"mat-option",33),d(87,"Santa Elena"),c(),l(88,"mat-option",34),d(89,"Santo Domingo de los Ts\xe1chilas"),c(),l(90,"mat-option",35),d(91,"Sucumb\xedos"),c(),l(92,"mat-option",36),d(93,"Tungurahua"),c(),l(94,"mat-option",37),d(95,"Zamora-Chinchipe"),c()()()()(),h(96,"br"),l(97,"div",2)(98,"div",3)(99,"span",4)(100,"b"),d(101,"Ciudad"),c()(),l(102,"mat-form-field",5)(103,"mat-label"),d(104,"Ciudad"),c(),l(105,"input",38),D("ngModelChange",function(s){return i.sucursal.ciudad_suc=s}),c()()(),l(106,"div",3)(107,"span",4)(108,"b"),d(109,"Nombre Tienda"),c()(),l(110,"mat-form-field",5)(111,"mat-label"),d(112,"Nombre Tienda"),c(),l(113,"input",39),D("ngModelChange",function(s){return i.sucursal.nombre_suc=s}),c()()()(),h(114,"br"),l(115,"div",2)(116,"div",3)(117,"span",4)(118,"b"),d(119,"Direcci\xf3n"),c()(),l(120,"mat-form-field",5)(121,"mat-label"),d(122,"Direcci\xf3n"),c(),l(123,"input",40),D("ngModelChange",function(s){return i.sucursal.direccion_suc=s}),c()()(),l(124,"div",3)(125,"span",4)(126,"b"),d(127,"Direcci\xf3n Google Maps"),c()(),l(128,"mat-form-field",5)(129,"mat-label"),d(130,"Direcci\xf3n Google Maps"),c(),l(131,"input",41),D("ngModelChange",function(s){return i.sucursal.dirmaps_suc=s}),c()()()(),h(132,"br"),l(133,"div",2)(134,"div",42)(135,"span",4)(136,"b"),d(137,"Celular"),c()(),l(138,"mat-form-field",5)(139,"mat-label"),d(140,"Celular"),c(),l(141,"input",43),D("ngModelChange",function(s){return i.sucursal.celular_suc=s}),c()()(),l(142,"div",42)(143,"span",4)(144,"b"),d(145,"Horario"),c()(),l(146,"mat-form-field",5)(147,"mat-label"),d(148,"Horario"),c(),l(149,"input",44),D("ngModelChange",function(s){return i.sucursal.horario_suc=s}),c()()(),l(150,"div",42)(151,"span",4)(152,"b"),d(153,"N\xfamero Tienda"),c()(),l(154,"mat-form-field",5)(155,"mat-label"),d(156,"N\xfamero Tienda"),c(),l(157,"input",45),D("ngModelChange",function(s){return i.sucursal.posicion_suc=s}),c()()()(),h(158,"br"),l(159,"div",2),h(160,"div",3),l(161,"div",3)(162,"div",46),D("click",function(){return i.createSucursal()}),d(163," Registrar "),c()()()()),2&e&&(m(12),v("ngModel",i.sucursal.region_suc)("disabled",i.admin),m(16),v("ngModel",i.sucursal.sector_suc)("disabled",i.admin),m(17),v("ngModel",i.sucursal.provincia_suc)("disabled",i.admin),m(60),v("ngModel",i.sucursal.ciudad_suc)("disabled",i.admin),m(8),v("ngModel",i.sucursal.nombre_suc)("disabled",i.admin),m(10),v("ngModel",i.sucursal.direccion_suc)("disabled",i.admin),m(8),v("ngModel",i.sucursal.dirmaps_suc)("disabled",i.admin),m(10),v("ngModel",i.sucursal.celular_suc)("disabled",i.admin),m(8),v("ngModel",i.sucursal.horario_suc),m(8),v("ngModel",i.sucursal.posicion_suc)("disabled",i.admin))},directives:[xi,di,Wo,It,jt,Co,Qi,wt,Zh],styles:[""]}),t})();function HQ(t,n){if(1&t){const e=Ae();l(0,"div",31),D("click",function(){return re(e),I().createTienda()}),d(1," Nueva Sucursal "),c()}}function UQ(t,n){if(1&t){const e=Ae();l(0,"div",31),D("click",function(){return re(e),I().exportarAExcel()}),d(1," Exportar "),c()}}function GQ(t,n){1&t&&(l(0,"mat-header-cell",32),d(1," ID Sucursal"),c())}function zQ(t,n){if(1&t&&(l(0,"mat-cell",33)(1,"b"),d(2),fs(3,"titlecase"),c()()),2&t){const e=n.$implicit;m(2),le(ms(3,1,e.id_suc))}}function qQ(t,n){1&t&&(l(0,"mat-header-cell",32),d(1," Regi\xf3n "),c())}function $Q(t,n){if(1&t&&(l(0,"mat-cell",33)(1,"b"),d(2),fs(3,"titlecase"),c()()),2&t){const e=n.$implicit;m(2),le(ms(3,1,e.region_suc))}}function WQ(t,n){1&t&&(l(0,"mat-header-cell",32),d(1," Provincia "),c())}function YQ(t,n){if(1&t&&(l(0,"mat-cell",34)(1,"b"),d(2),c()()),2&t){const e=n.$implicit;m(2),le(e.provincia_suc)}}function QQ(t,n){1&t&&(l(0,"mat-header-cell",32),d(1," Ciudad "),c())}function KQ(t,n){if(1&t&&(l(0,"mat-cell",35),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.ciudad_suc," ")}}function ZQ(t,n){1&t&&(l(0,"mat-header-cell",32),d(1," Nombre "),c())}function JQ(t,n){if(1&t&&(l(0,"mat-cell",36),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.nombre_suc," ")}}function XQ(t,n){1&t&&(l(0,"mat-header-cell",32),d(1," Direcci\xf3n "),c())}function eK(t,n){if(1&t&&(l(0,"mat-cell",37),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.direccion_suc," ")}}function tK(t,n){1&t&&(l(0,"mat-header-cell",32),d(1," Horario "),c())}function nK(t,n){if(1&t&&(l(0,"mat-cell",38),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.horario_suc," ")}}function iK(t,n){1&t&&(l(0,"mat-header-cell",32),d(1," Ubicaci\xf3n "),c())}function oK(t,n){if(1&t&&(l(0,"mat-cell",39)(1,"b"),d(2),c()()),2&t){const e=n.$implicit;m(2),le(e.dirmaps_suc)}}function sK(t,n){1&t&&(l(0,"mat-header-cell",32),d(1," Celular "),c())}function rK(t,n){if(1&t&&(l(0,"mat-cell",39)(1,"b"),d(2),c()()),2&t){const e=n.$implicit;m(2),le(e.celular_suc)}}function aK(t,n){1&t&&(l(0,"mat-header-cell",32),d(1," Acciones "),c())}function lK(t,n){if(1&t){const e=Ae();R(),q(),l(0,"span",48),D("click",function(){re(e);const o=I().$implicit;return I().deleteSucursal(o.id_suc)}),R(),l(1,"svg",49),h(2,"path",50)(3,"path",51),c()()}}function cK(t,n){if(1&t){const e=Ae();l(0,"mat-cell",40)(1,"span",41),D("click",function(){const s=re(e).$implicit;return I().editSucursal(s)}),R(),l(2,"svg",42)(3,"g"),h(4,"rect",43),c(),l(5,"g")(6,"g"),h(7,"polygon",44)(8,"path",45)(9,"path",46),c()()()(),C(10,lK,4,0,"span",47),c()}if(2&t){const e=I();m(10),v("ngIf",e.admin)}}function uK(t,n){1&t&&h(0,"mat-header-row")}function dK(t,n){1&t&&h(0,"mat-row")}const hK=function(){return[5,10,25]};let pK=(()=>{class t{constructor(e,i,o,s,r){this.dialog=e,this._sucusal=i,this._cookie=o,this.toastr=s,this._login=r,this.displayedColumns=["id_suc","razonsocial","provincia","ciruc","nombre","direccion","email","Celular","Mapa","editar"],this.token="",this.admin=!1,this.id_usu=""}ngOnInit(){this.token=this._cookie.get("token"),this._login.getuserdata(this.token).subscribe(e=>{this.id_usu=e.data.id_usu,"ADMIN"==e.data.rol_usu?(this.admin=!0,this._sucusal.getTiendas().subscribe(i=>{this.listatiendas=i,this.dataSource=new Qn(this.listatiendas),this.dataSource.paginator=this.paginator})):(this.admin=!1,this._sucusal.getTiendasUsuario(this.id_usu).subscribe(i=>{this.listatiendas=i,this.dataSource=new Qn(this.listatiendas),this.dataSource.paginator=this.paginator}))})}createTienda(){this.dialog.open(VQ,{width:"80%",height:"100%"}).afterClosed().subscribe(i=>{this.loadTiendas()})}editSucursal(e){this.dialog.open(jQ,{width:"80%",height:"100%",data:e}).afterClosed().subscribe(o=>{this.loadTiendas()})}deleteSucursal(e){let i={id_suc:"",token:""};i.id_suc=e,i.token=this.token,this.dialog.open(d1,{width:"auto",height:"auto",data:"eliminar este registro"}).afterClosed().subscribe(s=>{this.loadTiendas(),s&&this._sucusal.deleteTienda(i).subscribe(r=>{r.data?this.toastSuccess("Hemos eliminado correctamente este registro"):this.toastError("No podemos eliminar este registro intentalo nuevamente"),this.loadTiendas()})})}loadTiendas(){this.admin&&this._sucusal.getTiendas().subscribe(e=>{this.listatiendas=e,this.dataSource=new Qn(this.listatiendas),this.dataSource.paginator=this.paginator})}applyFilter(e){let i=e.target.value;i=i.trim(),i=i.toLowerCase(),this.dataSource.filter=e.target.value}toastSuccess(e){this.toastr.success(e,"Exito",{timeOut:4500})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}exportToCsv(e,i){if(!i||!i.length)return;const s=Object.keys(i[0]),r=s.join(",")+"\n"+i.map(p=>s.map(f=>{let g=null==p[f]?"":p[f];return g=g instanceof Date?g.toLocaleString():g.toString().replace(/"/g,'""'),g.search(/("|,|\n)/g)>=0&&(g=`"${g}"`),g}).join(",")).join("\n"),a=new Blob([r],{type:"text/csv;charset=utf-8;"}),u=document.createElement("a");if(void 0!==u.download){const p=URL.createObjectURL(a);u.setAttribute("href",p),u.setAttribute("download",e),u.style.visibility="hidden",document.body.appendChild(u),u.click(),document.body.removeChild(u)}}exportarAExcel(){const e=this.dataSource.data.map(i=>({Id:i.id_suc,Regi\u00f3n:i.region_suc,Provincia:i.provincia_suc,Ciudad:i.ciudad_suc,Nombre:i.nombre_suc,Direcci\u00f3n:i.direccion_suc,Celular:i.celular_suc,Ubicacion:i.dirmaps_suc}));this.exportToCsv("Tiendas.csv",e)}}return t.\u0275fac=function(e){return new(e||t)(_(ui),_(Ht),_(Ve),_(Re),_(xn))},t.\u0275cmp=N({type:t,selectors:[["app-dialogtiendas"]],viewQuery:function(e,i){if(1&e&&me(Yn,5),2&e){let o;F(o=P())&&(i.paginator=o.first)}},decls:46,vars:7,consts:[[2,"width","98%","margin","1% 1%"],[1,"row"],[1,"col-sm-2"],["class","button",3,"click",4,"ngIf"],[1,"col-sm-8"],[1,"menu__input",2,"width","100%"],["type","text",3,"keyup"],[1,"mat-elevation-z8"],["matSort","",3,"dataSource"],["matColumnDef","id_suc"],["mat-sort-header","",4,"matHeaderCellDef"],["data-label","Regi\xf3n",4,"matCellDef"],["matColumnDef","razonsocial"],["matColumnDef","provincia"],["data-label","Provincia",4,"matCellDef"],["matColumnDef","ciruc"],["data-label","Ciudad",4,"matCellDef"],["matColumnDef","nombre"],["data-label","Nombre",4,"matCellDef"],["matColumnDef","direccion"],["data-label","Direcci\xf3n",4,"matCellDef"],["matColumnDef","email"],["data-label","horario_suc",4,"matCellDef"],["matColumnDef","Mapa"],["data-label","Posici\xf3n",4,"matCellDef"],["matColumnDef","Celular"],["matColumnDef","editar"],["data-label","Acciones",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],[1,"button",3,"click"],["mat-sort-header",""],["data-label","Regi\xf3n"],["data-label","Provincia"],["data-label","Ciudad"],["data-label","Nombre"],["data-label","Direcci\xf3n"],["data-label","horario_suc"],["data-label","Posici\xf3n"],["data-label","Acciones"],["title","Editar Sucursal",2,"cursor","pointer",3,"click"],["xmlns","http://www.w3.org/2000/svg","enable-background","new 0 0 24 24","height","24px","viewBox","0 0 24 24","width","24px","fill","#F18C24"],["fill","none","height","24","width","24"],["points","15,16 11,20 21,20 21,16"],["d","M12.06,7.19L3,16.25V20h3.75l9.06-9.06L12.06,7.19z M5.92,18H5v-0.92l7.06-7.06l0.92,0.92L5.92,18z"],["d","M18.71,8.04c0.39-0.39,0.39-1.02,0-1.41l-2.34-2.34C16.17,4.09,15.92,4,15.66,4c-0.25,0-0.51,0.1-0.7,0.29l-1.83,1.83 l3.75,3.75L18.71,8.04z"],["title","Eliminar Sucursal","style","cursor: pointer;",3,"click",4,"ngIf"],["title","Eliminar Sucursal",2,"cursor","pointer",3,"click"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#E51A1A"],["d","M0 0h24v24H0V0z","fill","none"],["d","M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div")(2,"div",1)(3,"div",2),C(4,HQ,2,0,"div",3),c(),l(5,"div",2),C(6,UQ,2,0,"div",3),c(),l(7,"div",4)(8,"div",5)(9,"input",6),D("keyup",function(s){return i.applyFilter(s)}),c()()()()(),h(10,"br"),l(11,"div",7)(12,"mat-table",8),de(13,9),C(14,GQ,2,0,"mat-header-cell",10),C(15,zQ,4,3,"mat-cell",11),he(),de(16,12),C(17,qQ,2,0,"mat-header-cell",10),C(18,$Q,4,3,"mat-cell",11),he(),de(19,13),C(20,WQ,2,0,"mat-header-cell",10),C(21,YQ,3,1,"mat-cell",14),he(),de(22,15),C(23,QQ,2,0,"mat-header-cell",10),C(24,KQ,2,1,"mat-cell",16),he(),de(25,17),C(26,ZQ,2,0,"mat-header-cell",10),C(27,JQ,2,1,"mat-cell",18),he(),de(28,19),C(29,XQ,2,0,"mat-header-cell",10),C(30,eK,2,1,"mat-cell",20),he(),de(31,21),C(32,tK,2,0,"mat-header-cell",10),C(33,nK,2,1,"mat-cell",22),he(),de(34,23),C(35,iK,2,0,"mat-header-cell",10),C(36,oK,3,1,"mat-cell",24),he(),de(37,25),C(38,sK,2,0,"mat-header-cell",10),C(39,rK,3,1,"mat-cell",24),he(),de(40,26),C(41,aK,2,0,"mat-header-cell",10),C(42,cK,11,1,"mat-cell",27),he(),C(43,uK,1,0,"mat-header-row",28),C(44,dK,1,0,"mat-row",29),c(),h(45,"mat-paginator",30),c()()),2&e&&(m(4),v("ngIf",i.admin),m(2),v("ngIf",i.admin),m(6),v("dataSource",i.dataSource),m(31),v("matHeaderRowDef",i.displayedColumns),m(1),v("matRowDefColumns",i.displayedColumns),m(1),v("pageSizeOptions",O(6,hK)))},directives:[Ye,Ts,Jo,Zo,Xo,Ko,es,Ss,Is,Ms,As,Yn],pipes:[zl],styles:[""]}),t})(),h1=(()=>{class t{constructor(e){this.http=e,this.baseUrl="."}getSoicitudTrabajo(){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/trabajo/trabajo_get.php`),this.resultado}getSoicitudTrabajoUsuario(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/trabajo/trabajo_get_usuario.php?id_usu=${e}`),this.resultado}createSolicitudTrabajo(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/trabajo/trabajo_insert.php`,JSON.stringify(e)),this.resultado}getSolicitudValidar(e){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/trabajo/trabajo_get_validar.php?correo_tra=${e}`),this.resultado}deleteSolicitudTrabajo(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/trabajo/trabajo_delete.php`,JSON.stringify(e)),this.resultado}getQueso(){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/queso/queso_get.php`),this.resultado}getFamilia(){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/queso/familia_get.php`),this.resultado}}return t.\u0275fac=function(e){return new(e||t)(M(dn))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function fK(t,n){1&t&&(l(0,"mat-header-cell",23),d(1," # "),c())}function mK(t,n){if(1&t&&(l(0,"mat-cell",24)(1,"b"),d(2),c()()),2&t){const e=n.$implicit;m(2),le(e.cedula)}}function gK(t,n){1&t&&(l(0,"mat-header-cell",25),d(1," Nombres "),c())}function _K(t,n){if(1&t&&(l(0,"mat-cell",26)(1,"b"),d(2),c()()),2&t){const e=n.$implicit;m(2),le(e.nombres)}}function vK(t,n){1&t&&(l(0,"mat-header-cell",25),d(1," Tel\xe9fono "),c())}function bK(t,n){if(1&t&&(l(0,"mat-cell",27),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.telefono," ")}}function yK(t,n){1&t&&(l(0,"mat-header-cell",25),d(1," Ciudad "),c())}function CK(t,n){if(1&t&&(l(0,"mat-cell",28),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.ciudad," ")}}function wK(t,n){1&t&&(l(0,"mat-header-cell",25),d(1," Comentario "),c())}function DK(t,n){if(1&t&&(l(0,"mat-cell",29),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.comentario," ")}}function EK(t,n){1&t&&h(0,"mat-header-row")}function TK(t,n){1&t&&h(0,"mat-row")}const SK=function(){return[10,20,30]};let MK=(()=>{class t{constructor(e,i,o,s,r){this.dialog=e,this._trabajo=i,this.toastr=o,this._cookie=s,this._login=r,this.displayedColumns=["cedula","nombres","telefono","ciudad","comentario"],this.token="",this.admin=!1,this.columnas=["cedula","nombres","telefono","ciudad","comentario"]}ngOnInit(){this.cargarQuesos(),this.loadQuesos()}cargarTrabajo(){this.token=this._cookie.get("token"),this.loadSolicitudes(),this._login.getuserdata(this.token).subscribe(e=>{this.admin="ADMIN"==e.data.rol_usu,"ADMIN"==e.data.rol_usu?(this.admin=!0,this._trabajo.getSoicitudTrabajo().subscribe(i=>{this.listaSolicitudTrabajo=i,this.dataSource=new Qn(this.listaSolicitudTrabajo),this.dataSource.paginator=this.paginator})):(this.admin=!1,this._trabajo.getSoicitudTrabajoUsuario(e.data.id_usu).subscribe(i=>{this.listaSolicitudTrabajo=i,this.dataSource=new Qn(this.listaSolicitudTrabajo),this.dataSource.paginator=this.paginator}))})}cargarQuesos(){this.token=this._cookie.get("token"),this.loadQuesos(),this._login.getuserdata(this.token).subscribe(e=>{this.admin="ADMIN"==e.data.rol_usu,"ADMIN"==e.data.rol_usu?(this.admin=!0,this._trabajo.getQueso().subscribe(i=>{this.listaSolicitudTrabajo=i,this.dataSource=new Qn(this.listaSolicitudTrabajo),this.dataSource.paginator=this.paginator})):this.admin=!1})}loadSolicitudes(){this._trabajo.getSoicitudTrabajo().subscribe(e=>{this.listaSolicitudTrabajo=e,this.dataSource=new Qn(this.listaSolicitudTrabajo),this.dataSource.paginator=this.paginator})}loadQuesos(){this._trabajo.getQueso().subscribe(e=>{this.listaSolicitudTrabajo=e,this.dataSource=new Qn(this.listaSolicitudTrabajo),this.dataSource.paginator=this.paginator})}deleteSolicitud(e){let i={id_tra:"",token:""};i.id_tra=e,i.token=this.token,this.dialog.open(d1,{width:"auto",height:"auto",data:"eliminar este registro"}).afterClosed().subscribe(s=>{this.loadSolicitudes(),s&&this._trabajo.deleteSolicitudTrabajo(i).subscribe(r=>{r.data?this.toastSuccess("Hemos eliminado correctamente este registro"):this.toastError("No podemos eliminar este registro intentalo nuevamente"),this.loadSolicitudes()})})}applyFilter(e){let i=e.target.value;i=i.trim(),i=i.toLowerCase(),this.dataSource.filter=e.target.value}toastSuccess(e){this.toastr.success(e,"Exito",{timeOut:4500})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}exportToCsv(e,i){if(!i||!i.length)return;const s=Object.keys(i[0]),r=s.join(",")+"\n"+i.map(p=>s.map(f=>{let g=null==p[f]?"":p[f];return g=g instanceof Date?g.toLocaleString():g.toString().replace(/"/g,'""'),g.search(/("|,|\n)/g)>=0&&(g=`"${g}"`),g}).join(",")).join("\n"),a=new Blob([r],{type:"text/csv;charset=utf-8;"}),u=document.createElement("a");if(void 0!==u.download){const p=URL.createObjectURL(a);u.setAttribute("href",p),u.setAttribute("download",e),u.style.visibility="hidden",document.body.appendChild(u),u.click(),document.body.removeChild(u)}}exportarAExcel(){const e=this.dataSource.data.map(i=>({C\u00e9dula:i.cedula,Nombres:i.nombres,Tel\u00e9fono:i.telefono,Ciudad:i.ciudad,Comentario:i.comentario}));this.exportToCsv("DatosCampanaQueso.csv",e)}}return t.\u0275fac=function(e){return new(e||t)(_(ui),_(h1),_(Re),_(Ve),_(xn))},t.\u0275cmp=N({type:t,selectors:[["app-dialogtrabajo"]],viewQuery:function(e,i){if(1&e&&me(Yn,5),2&e){let o;F(o=P())&&(i.paginator=o.first)}},decls:31,vars:5,consts:[[2,"width","98%","margin","1% 1%"],[1,"row"],[1,"col-sm-8"],[1,"menu__input",2,"width","100%"],["type","text",3,"keyup"],[1,"mat-elevation-z8"],["mat-button","",1,"buton__flecha",3,"click"],["matSort","",3,"dataSource"],["matColumnDef","cedula"],["mat-sort-header","","style","font-size: 14px;",4,"matHeaderCellDef"],["data-label","cedula",4,"matCellDef"],["matColumnDef","nombres"],["mat-sort-header","",4,"matHeaderCellDef"],["data-label","Nombres",4,"matCellDef"],["matColumnDef","telefono"],["data-label","Tel\xe9fono",4,"matCellDef"],["matColumnDef","ciudad"],["data-label","Ciudad",4,"matCellDef"],["matColumnDef","comentario"],["data-label","comentario",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],["mat-sort-header","",2,"font-size","14px"],["data-label","cedula"],["mat-sort-header",""],["data-label","Nombres"],["data-label","Tel\xe9fono"],["data-label","Ciudad"],["data-label","comentario"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div")(2,"div",1)(3,"div",2)(4,"div",3)(5,"input",4),D("keyup",function(s){return i.applyFilter(s)}),c()()()()(),h(6,"br"),l(7,"div",5)(8,"button",6),D("click",function(){return i.exportarAExcel()}),d(9,"Exportar a Excel (CSV)"),c(),l(10,"button",6),D("click",function(){return i.loadQuesos()}),d(11,"Actualizar..."),c(),l(12,"mat-table",7),de(13,8),C(14,fK,2,0,"mat-header-cell",9),C(15,mK,3,1,"mat-cell",10),he(),de(16,11),C(17,gK,2,0,"mat-header-cell",12),C(18,_K,3,1,"mat-cell",13),he(),de(19,14),C(20,vK,2,0,"mat-header-cell",12),C(21,bK,2,1,"mat-cell",15),he(),de(22,16),C(23,yK,2,0,"mat-header-cell",12),C(24,CK,2,1,"mat-cell",17),he(),de(25,18),C(26,wK,2,0,"mat-header-cell",12),C(27,DK,2,1,"mat-cell",19),he(),C(28,EK,1,0,"mat-header-row",20),C(29,TK,1,0,"mat-row",21),c(),h(30,"mat-paginator",22),c()()),2&e&&(m(12),v("dataSource",i.dataSource),m(16),v("matHeaderRowDef",i.displayedColumns),m(1),v("matRowDefColumns",i.displayedColumns),m(1),v("pageSizeOptions",O(4,SK)))},directives:[Ts,Jo,Zo,Xo,Ko,es,Ss,Is,Ms,As,Yn],styles:[""]}),t})();function IK(t,n){1&t&&(l(0,"mat-header-cell",36),d(1," Nombres "),c())}function AK(t,n){if(1&t&&(l(0,"mat-cell",37)(1,"b"),d(2),c()()),2&t){const e=n.$implicit;m(2),le(e.nombres)}}function xK(t,n){1&t&&(l(0,"mat-header-cell",36),d(1," C\xe9dula "),c())}function OK(t,n){if(1&t&&(l(0,"mat-cell",38),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.cedula," ")}}function NK(t,n){1&t&&(l(0,"mat-header-cell",36),d(1," Ciudad "),c())}function kK(t,n){if(1&t&&(l(0,"mat-cell",39),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.ciudad," ")}}function RK(t,n){1&t&&(l(0,"mat-header-cell",36),d(1," Tel\xe9fono "),c())}function FK(t,n){if(1&t&&(l(0,"mat-cell",40),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.telefono," ")}}function PK(t,n){1&t&&(l(0,"mat-header-cell",36),d(1," Empresa "),c())}function LK(t,n){if(1&t&&(l(0,"mat-cell",41),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.empresa," ")}}function BK(t,n){1&t&&(l(0,"mat-header-cell",36),d(1," Factura "),c())}function VK(t,n){if(1&t&&(l(0,"mat-cell",42),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.factura," ")}}function jK(t,n){1&t&&(l(0,"mat-header-cell",36),d(1," Razon concurso"),c())}function HK(t,n){if(1&t&&(l(0,"mat-cell",43),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.razonConcurso," ")}}function UK(t,n){1&t&&(l(0,"mat-header-cell",36),d(1," Autorizaci\xf3n "),c())}function GK(t,n){if(1&t&&(l(0,"mat-cell",44),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.autorizacion," ")}}function zK(t,n){1&t&&(l(0,"mat-header-cell",36),d(1," Comentario "),c())}function qK(t,n){if(1&t&&(l(0,"mat-cell",45),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.comentario," ")}}function $K(t,n){1&t&&(l(0,"mat-header-cell",36),d(1," Qu\xe9 remodelar "),c())}function WK(t,n){if(1&t&&(l(0,"mat-cell"),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",null==e.queRemodelar?null:e.queRemodelar.join(", ")," ")}}function YK(t,n){1&t&&(l(0,"mat-header-cell",36),d(1," Miembros "),c())}function QK(t,n){if(1&t&&(l(0,"mat-cell",46),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.miembros," ")}}function KK(t,n){1&t&&(l(0,"mat-header-cell",36),d(1," Comentario2 "),c())}function ZK(t,n){if(1&t&&(l(0,"mat-cell",47),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.comentario2," ")}}function JK(t,n){1&t&&h(0,"mat-header-row")}function XK(t,n){1&t&&h(0,"mat-row")}const eZ=function(){return[10,20,30]};let tZ=(()=>{class t{constructor(e,i,o){this._trabajo=e,this._cookie=i,this._login=o,this.displayedColumns=["nombres","cedula","ciudad","telefono","empresa","factura","razonConcurso","autorizacion","comentario","queRemodelar","miembros","comentario2"],this.token="",this.admin=!1}ngOnInit(){this.cargarFamilia(),this.loadFamilia()}applyFilter(e){let i=e.target.value;i=i.trim(),i=i.toLowerCase(),this.dataSource.filter=e.target.value}exportarAExcel(){const e=this.dataSource.data.map(i=>({nombres:i.nombres,cedula:i.cedula,ciudad:i.ciudad,telefono:i.telefono,empresa:i.empresa,factura:i.factura,razonConcurso:i.razonConcurso,autorizacion:i.autorizacion,comentario:i.comentario,queRemodelar:i.queRemodelar,miembros:i.miembros,comentario2:i.comentario2}));this.exportToCsv("DatosFamilia.csv",e)}exportToCsv(e,i){if(!i||!i.length)return;const s=Object.keys(i[0]),r=s.join(",")+"\n"+i.map(p=>s.map(f=>{let g=null==p[f]?"":p[f];return g=g instanceof Date?g.toLocaleString():g.toString().replace(/"/g,'""'),g.search(/("|,|\n)/g)>=0&&(g=`"${g}"`),g}).join(",")).join("\n"),a=new Blob([r],{type:"text/csv;charset=utf-8;"}),u=document.createElement("a");if(void 0!==u.download){const p=URL.createObjectURL(a);u.setAttribute("href",p),u.setAttribute("download",e),u.style.visibility="hidden",document.body.appendChild(u),u.click(),document.body.removeChild(u)}}loadFamilia(){this._trabajo.getFamilia().subscribe(e=>{const i=e.map(o=>{let s=[];try{o.queRemodelar&&"string"==typeof o.queRemodelar&&(s=JSON.parse(o.queRemodelar),Array.isArray(s)||(s=[]))}catch(r){console.warn("Error al parsear queRemodelar:",o.queRemodelar),s=[]}return Object.assign(Object.assign({},o),{queRemodelar:s})});this.listarFamilia=i,this.dataSource=new Qn(this.listarFamilia),this.dataSource.paginator=this.paginator,console.log("Parsed dataSource:",this.listarFamilia)})}cargarFamilia(){this.token=this._cookie.get("token"),this._login.getuserdata(this.token).subscribe(e=>{this.admin="ADMIN"===e.data.rol_usu,this.admin&&this._trabajo.getFamilia().subscribe(i=>{const o=i.map(s=>Object.assign(Object.assign({},s),{queRemodelar:s.queRemodelar?JSON.parse(s.queRemodelar):[]}));this.listarFamilia=o,this.dataSource=new Qn(this.listarFamilia),this.dataSource.paginator=this.paginator})})}}return t.\u0275fac=function(e){return new(e||t)(_(h1),_(Ve),_(xn))},t.\u0275cmp=N({type:t,selectors:[["app-dialogfamilia"]],viewQuery:function(e,i){if(1&e&&me(Yn,5),2&e){let o;F(o=P())&&(i.paginator=o.first)}},decls:52,vars:5,consts:[[2,"width","98%","margin","1% 1%"],[1,"row"],[1,"col-sm-8"],[1,"menu__input",2,"width","100%"],["type","text",3,"keyup"],[1,"mat-elevation-z8"],["mat-button","",1,"buton__flecha",3,"click"],["matSort","",3,"dataSource"],["matColumnDef","nombres"],["mat-sort-header","",4,"matHeaderCellDef"],["data-label","Nombres",4,"matCellDef"],["matColumnDef","cedula"],["data-label","cedula",4,"matCellDef"],["matColumnDef","ciudad"],["data-label","Ciudad",4,"matCellDef"],["matColumnDef","telefono"],["data-label","Tel\xe9fono",4,"matCellDef"],["matColumnDef","empresa"],["data-label","empresa",4,"matCellDef"],["matColumnDef","factura"],["data-label","factura",4,"matCellDef"],["matColumnDef","razonConcurso"],["data-label","razonConcurso",4,"matCellDef"],["matColumnDef","autorizacion"],["data-label","autorizacion",4,"matCellDef"],["matColumnDef","comentario"],["data-label","comentario",4,"matCellDef"],["matColumnDef","queRemodelar"],[4,"matCellDef"],["matColumnDef","miembros"],["data-label","miembros",4,"matCellDef"],["matColumnDef","comentario2"],["data-label","comentario2",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],["mat-sort-header",""],["data-label","Nombres"],["data-label","cedula"],["data-label","Ciudad"],["data-label","Tel\xe9fono"],["data-label","empresa"],["data-label","factura"],["data-label","razonConcurso"],["data-label","autorizacion"],["data-label","comentario"],["data-label","miembros"],["data-label","comentario2"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div")(2,"div",1)(3,"div",2)(4,"div",3)(5,"input",4),D("keyup",function(s){return i.applyFilter(s)}),c()()()()(),h(6,"br"),l(7,"div",5)(8,"button",6),D("click",function(){return i.exportarAExcel()}),d(9," Exportar a Excel (CSV) "),c(),l(10,"button",6),D("click",function(){return i.loadFamilia()}),d(11," Actualizar... "),c(),l(12,"mat-table",7),de(13,8),C(14,IK,2,0,"mat-header-cell",9),C(15,AK,3,1,"mat-cell",10),he(),de(16,11),C(17,xK,2,0,"mat-header-cell",9),C(18,OK,2,1,"mat-cell",12),he(),de(19,13),C(20,NK,2,0,"mat-header-cell",9),C(21,kK,2,1,"mat-cell",14),he(),de(22,15),C(23,RK,2,0,"mat-header-cell",9),C(24,FK,2,1,"mat-cell",16),he(),de(25,17),C(26,PK,2,0,"mat-header-cell",9),C(27,LK,2,1,"mat-cell",18),he(),de(28,19),C(29,BK,2,0,"mat-header-cell",9),C(30,VK,2,1,"mat-cell",20),he(),de(31,21),C(32,jK,2,0,"mat-header-cell",9),C(33,HK,2,1,"mat-cell",22),he(),de(34,23),C(35,UK,2,0,"mat-header-cell",9),C(36,GK,2,1,"mat-cell",24),he(),de(37,25),C(38,zK,2,0,"mat-header-cell",9),C(39,qK,2,1,"mat-cell",26),he(),de(40,27),C(41,$K,2,0,"mat-header-cell",9),C(42,WK,2,1,"mat-cell",28),he(),de(43,29),C(44,YK,2,0,"mat-header-cell",9),C(45,QK,2,1,"mat-cell",30),he(),de(46,31),C(47,KK,2,0,"mat-header-cell",9),C(48,ZK,2,1,"mat-cell",32),he(),C(49,JK,1,0,"mat-header-row",33),C(50,XK,1,0,"mat-row",34),c(),h(51,"mat-paginator",35),c()()),2&e&&(m(12),v("dataSource",i.dataSource),m(37),v("matHeaderRowDef",i.displayedColumns),m(1),v("matRowDefColumns",i.displayedColumns),m(1),v("pageSizeOptions",O(4,eZ)))},directives:[Ts,Jo,Zo,Xo,Ko,es,Ss,Is,Ms,As,Yn],styles:[""]}),t})();function nZ(t,n){if(1&t&&(l(0,"mat-option",17),d(1),c()),2&t){const e=n.$implicit;v("value",e.rol_fun),m(1),le(e.rol_fun)}}let iZ=(()=>{class t{constructor(e,i,o,s,r,a,u){this.dialogRef=e,this.tienda=i,this.toastr=o,this._uploadfiles=s,this._archivos=r,this._cookie=a,this._funciones=u,this.archivo={archivo_ar:"",nombre_ar:"",rol_ar:"",token:""},this.nombre="",this.baseUrl=".",this.token=""}ngOnInit(){this.token=this._cookie.get("token"),this.loadRoles()}createArchivo(){""==this.archivo.archivo_ar?this.toastError("Debes ingresar el archivo"):""==this.archivo.nombre_ar||null==this.archivo.nombre_ar?this.toastError("Debes ingresar el nombre del archivo"):""==this.archivo.rol_ar?this.toastError("No has seleccionado el rol"):(this.archivo.token=this.token,this._archivos.createArchivo(this.archivo).subscribe(e=>{e.data?(this.toastSuccess("Archivo creado correctamente"),this.dialogRef.close()):this.toastError("Tenemos problemas para registrar la informaci\xf3n, intentalo nuevamente")}))}subirFoto(e){var i=this;const r=e.target.files[0].name;this._uploadfiles.uploaFiles(e.target.files[0]).subscribe(function(){var a=Yi(function*(u){"success"==u.status&&(i.nombre=r,i.archivo.archivo_ar=i.baseUrl+"/APIBOGATI/archivos/"+u.msj)});return function(u){return a.apply(this,arguments)}}(),a=>{console.log(a)})}loadRoles(){this._funciones.getfunciones(this.token).subscribe(e=>{e.data.length?this.listaRoles=e.data:this.toastWarning("No encontramos registros")})}toastSuccess(e){this.toastr.success(e,"Exito",{timeOut:4500})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Do),_(Eo),_(Re),_(Dr),_(Rh),_(Ve),_(br))},t.\u0275cmp=N({type:t,selectors:[["app-dailogcreatedocumentos"]],decls:42,vars:4,consts:[[2,"width","96%","height","auto","overflow","hidden","margin","0 auto","padding","20px"],[1,"titulos"],[1,"row"],[1,"col-sm-6"],[2,"color","#F18C24"],["appearance","fill",1,"example-full-width"],["matInput","",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],[1,"col-sm-12",2,"text-align","center"],[2,"text-align","center","width","100%","padding","10px","font-size","16px","font-weight","600"],[1,"custom-file-upload"],["xmlns","http://www.w3.org/2000/svg","fill","#fff","width","20","height","17","viewBox","0 0 20 17"],["d","M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"],["type","file",3,"change"],[1,"button",3,"click"],[3,"value"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div",1),d(2," Nuevo Archivo "),c(),h(3,"br"),l(4,"div",2)(5,"div",3)(6,"span",4)(7,"b"),d(8,"Nombre del archivo"),c()(),l(9,"mat-form-field",5)(10,"mat-label"),d(11,"Nombre del archivo"),c(),l(12,"input",6),D("ngModelChange",function(s){return i.archivo.nombre_ar=s}),c()()(),l(13,"div",3)(14,"span",4)(15,"b"),d(16,"Tipo"),c()(),l(17,"mat-form-field",5)(18,"mat-label"),d(19,"Tipo"),c(),l(20,"mat-select",7),D("ngModelChange",function(s){return i.archivo.rol_ar=s}),l(21,"mat-option",8),d(22,"Ninguno"),c(),C(23,nZ,2,2,"mat-option",9),c()()()(),h(24,"br"),l(25,"div",2)(26,"div",10)(27,"span",11),d(28),c(),h(29,"br")(30,"br"),l(31,"label",12),R(),l(32,"svg",13),h(33,"path",14),c(),d(34," Subir Archivo "),q(),l(35,"input",15),D("change",function(s){return i.subirFoto(s)}),c()()()(),h(36,"br"),l(37,"div",2),h(38,"div",3),l(39,"div",3)(40,"div",16),D("click",function(){return i.createArchivo()}),d(41," Registrar "),c()()()()),2&e&&(m(12),v("ngModel",i.archivo.nombre_ar),m(8),v("ngModel",i.archivo.rol_ar),m(3),v("ngForOf",i.listaRoles),m(5),U(" ",i.nombre,""))},directives:[xi,di,Qi,wt,It,jt,Wo,Co,qe],styles:[""]}),t})();function oZ(t,n){if(1&t&&(l(0,"mat-option",18),d(1),c()),2&t){const e=n.$implicit;v("value",e.rol_fun),m(1),le(e.rol_fun)}}let sZ=(()=>{class t{constructor(e,i,o,s,r,a,u){this.dialogRef=e,this.archivoup=i,this.toastr=o,this._uploadfiles=s,this._archivos=r,this._cookie=a,this._funciones=u,this.archivo={id_ar:"",archivo_ar:"",nombre_ar:"",rol_ar:"",token:""},this.nombre="",this.baseUrl=".",this.token="",this.listaRolesArchivo=[{tipoarchivo:"",archivo:""}]}ngOnInit(){this.token=this._cookie.get("token"),this.archivo=this.archivoup,this.loadRoles(),this.nombre=this.archivo.nombre_ar}createArchivo(){""==this.archivo.archivo_ar?this.toastError("Debes ingresar el archivo"):""==this.archivo.nombre_ar||null==this.archivo.nombre_ar?this.toastError("Debes ingresar el nombre del archivo"):""==this.archivo.rol_ar?this.toastError("No has seleccionado el rol"):(this.archivo.token=this.token,this._archivos.editArchivo(this.archivo).subscribe(e=>{e.data?(this.toastSuccess("Archivo editada correctamente"),this.dialogRef.close()):this.toastError("Tenemos problemas para editar la informaci\xf3n, intentalo nuevamente")}))}subirFoto(e){var i=this;const r=e.target.files[0].name;this._uploadfiles.uploaFiles(e.target.files[0]).subscribe(function(){var a=Yi(function*(u){"success"==u.status&&(i.nombre=r,i.archivo.archivo_ar=i.baseUrl+"/APIBOGATI/archivos/"+u.msj)});return function(u){return a.apply(this,arguments)}}(),a=>{console.log(a)})}loadRoles(){this._funciones.getfunciones(this.token).subscribe(e=>{e.data.length?this.listaRoles=e.data:this.toastWarning("No encontramos registros")})}agregarRol(){this.listaRolesArchivo.push({tipoarchivo:"",archivo:""})}toastSuccess(e){this.toastr.success(e,"Exito",{timeOut:4500})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Do),_(Eo),_(Re),_(Dr),_(Rh),_(Ve),_(br))},t.\u0275cmp=N({type:t,selectors:[["app-dailogeditdocumentos"]],decls:43,vars:5,consts:[[2,"width","96%","height","auto","overflow","hidden","margin","0 auto","padding","20px"],[1,"titulos"],[1,"row"],[1,"col-sm-6"],[2,"color","#F18C24"],["appearance","fill",1,"example-full-width"],["matInput","",3,"ngModel","ngModelChange"],[3,"ngModel","ngModelChange"],["value",""],[3,"value",4,"ngFor","ngForOf"],[1,"col-sm-12",2,"text-align","center"],[2,"text-align","center","width","100%","padding","10px","font-size","16px","font-weight","600","cursor","pointer"],["target","_blank",3,"href"],[1,"custom-file-upload"],["xmlns","http://www.w3.org/2000/svg","fill","#fff","width","20","height","17","viewBox","0 0 20 17"],["d","M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"],["type","file",3,"change"],[1,"button",3,"click"],[3,"value"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div",1),d(2," Nuevo Archivo "),c(),h(3,"br"),l(4,"div",2)(5,"div",3)(6,"span",4)(7,"b"),d(8,"Nombre del Archivo"),c()(),l(9,"mat-form-field",5)(10,"mat-label"),d(11,"Nombre del Archivo"),c(),l(12,"input",6),D("ngModelChange",function(s){return i.archivo.nombre_ar=s}),c()()(),l(13,"div",3)(14,"span",4)(15,"b"),d(16,"Tipo"),c()(),l(17,"mat-form-field",5)(18,"mat-label"),d(19,"Tipo"),c(),l(20,"mat-select",7),D("ngModelChange",function(s){return i.archivo.rol_ar=s}),l(21,"mat-option",8),d(22,"Ninguno"),c(),C(23,oZ,2,2,"mat-option",9),c()()()(),h(24,"br"),l(25,"div",2)(26,"div",10),h(27,"span",11),l(28,"a",12),d(29),c(),h(30,"br")(31,"br"),l(32,"label",13),R(),l(33,"svg",14),h(34,"path",15),c(),d(35," Subir Archivo "),q(),l(36,"input",16),D("change",function(s){return i.subirFoto(s)}),c()()()(),h(37,"br"),l(38,"div",2),h(39,"div",3),l(40,"div",3)(41,"div",17),D("click",function(){return i.createArchivo()}),d(42," Registrar "),c()()()()),2&e&&(m(12),v("ngModel",i.archivo.nombre_ar),m(8),v("ngModel",i.archivo.rol_ar),m(3),v("ngForOf",i.listaRoles),m(5),v("href",i.archivo.archivo_ar,we),m(1),le(i.nombre))},directives:[xi,di,Qi,wt,It,jt,Wo,Co,qe],styles:[""]}),t})();function rZ(t,n){1&t&&(l(0,"mat-header-cell",19),d(1," Nombre Archivo "),c())}function aZ(t,n){if(1&t&&(l(0,"mat-cell",20)(1,"b"),d(2),fs(3,"titlecase"),c()()),2&t){const e=n.$implicit;m(2),le(ms(3,1,e.nombre_ar))}}function lZ(t,n){1&t&&(l(0,"mat-header-cell",19),d(1," Rol Archivo "),c())}function cZ(t,n){if(1&t&&(l(0,"mat-cell",21),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.rol_ar," ")}}function uZ(t,n){1&t&&(l(0,"mat-header-cell",19),d(1," Acciones "),c())}function dZ(t,n){if(1&t){const e=Ae();l(0,"mat-cell",22)(1,"span",23),D("click",function(){const s=re(e).$implicit;return I().editDocumento(s)}),R(),l(2,"svg",24)(3,"g"),h(4,"rect",25),c(),l(5,"g")(6,"g"),h(7,"polygon",26)(8,"path",27)(9,"path",28),c()()()(),q(),l(10,"span",23),D("click",function(){const s=re(e).$implicit;return I().deleteDocumento(s.id_ar)}),R(),l(11,"svg",29),h(12,"path",30)(13,"path",31),c()()()}}function hZ(t,n){1&t&&h(0,"mat-header-row")}function pZ(t,n){1&t&&h(0,"mat-row")}const fZ=function(){return[5,10,25]};let mZ=(()=>{class t{constructor(e,i,o,s){this.dialog=e,this._cookie=i,this.toastr=o,this._archivos=s,this.displayedColumns=["razonsocial","ciruc","editar"],this.token=""}ngOnInit(){this.token=this._cookie.get("token"),this.loadArchivos()}createDocumento(){this.dialog.open(iZ,{width:"80%",height:"80%"}).afterClosed().subscribe(i=>{this.loadArchivos()})}editDocumento(e){this.dialog.open(sZ,{width:"80%",height:"80%",data:e}).afterClosed().subscribe(o=>{this.loadArchivos()})}deleteDocumento(e){let i={id_ar:"",token:""};i.id_ar=e,i.token=this.token,this._archivos.deleteArchivo(i).subscribe(o=>{o.data?this.toastSuccess("Hemos eliminado correctamente este registro"):this.toastError("No podemos eliminar este registro intentalo nuevamente"),this.loadArchivos()})}loadArchivos(){this._archivos.getProductos().subscribe(e=>{this.listaArchivos=e,this.dataSource=new Qn(this.listaArchivos),this.dataSource.paginator=this.paginator})}applyFilter(e){let i=e.target.value;i=i.trim(),i=i.toLowerCase(),this.dataSource.filter=e.target.value}toastSuccess(e){this.toastr.success(e,"Exito",{timeOut:4500})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(_(ui),_(Ve),_(Re),_(Rh))},t.\u0275cmp=N({type:t,selectors:[["app-dailogdocumentos"]],viewQuery:function(e,i){if(1&e&&me(Yn,5),2&e){let o;F(o=P())&&(i.paginator=o.first)}},decls:24,vars:5,consts:[[2,"width","98%","margin","1% 1%"],[1,"row"],[1,"col-sm-4"],[1,"button",3,"click"],[1,"col-sm-8"],[1,"menu__input",2,"width","100%"],["type","text",3,"keyup"],[1,"mat-elevation-z8"],["matSort","",3,"dataSource"],["matColumnDef","razonsocial"],["mat-sort-header","",4,"matHeaderCellDef"],["data-label","Nombre Archivo",4,"matCellDef"],["matColumnDef","ciruc"],["data-label","Rol Archivo",4,"matCellDef"],["matColumnDef","editar"],["data-label","Acciones",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],["mat-sort-header",""],["data-label","Nombre Archivo"],["data-label","Rol Archivo"],["data-label","Acciones"],["title","Editar Producto",2,"cursor","pointer",3,"click"],["xmlns","http://www.w3.org/2000/svg","enable-background","new 0 0 24 24","height","24px","viewBox","0 0 24 24","width","24px","fill","#F18C24"],["fill","none","height","24","width","24"],["points","15,16 11,20 21,20 21,16"],["d","M12.06,7.19L3,16.25V20h3.75l9.06-9.06L12.06,7.19z M5.92,18H5v-0.92l7.06-7.06l0.92,0.92L5.92,18z"],["d","M18.71,8.04c0.39-0.39,0.39-1.02,0-1.41l-2.34-2.34C16.17,4.09,15.92,4,15.66,4c-0.25,0-0.51,0.1-0.7,0.29l-1.83,1.83 l3.75,3.75L18.71,8.04z"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#E51A1A"],["d","M0 0h24v24H0V0z","fill","none"],["d","M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div")(2,"div",1)(3,"div",2)(4,"div",3),D("click",function(){return i.createDocumento()}),d(5," Nuevo Archivo "),c()(),l(6,"div",4)(7,"div",5)(8,"input",6),D("keyup",function(s){return i.applyFilter(s)}),c()()()()(),h(9,"br"),l(10,"div",7)(11,"mat-table",8),de(12,9),C(13,rZ,2,0,"mat-header-cell",10),C(14,aZ,4,3,"mat-cell",11),he(),de(15,12),C(16,lZ,2,0,"mat-header-cell",10),C(17,cZ,2,1,"mat-cell",13),he(),de(18,14),C(19,uZ,2,0,"mat-header-cell",10),C(20,dZ,14,0,"mat-cell",15),he(),C(21,hZ,1,0,"mat-header-row",16),C(22,pZ,1,0,"mat-row",17),c(),h(23,"mat-paginator",18),c()()),2&e&&(m(11),v("dataSource",i.dataSource),m(10),v("matHeaderRowDef",i.displayedColumns),m(1),v("matRowDefColumns",i.displayedColumns),m(1),v("pageSizeOptions",O(4,fZ)))},directives:[Ts,Jo,Zo,Xo,Ko,es,Ss,Is,Ms,As,Yn],pipes:[zl],styles:[""]}),t})(),wI=(()=>{class t{constructor(e,i,o,s,r){this.dialogRef=e,this.funcionupdate=i,this.toastr=o,this._cookie=s,this._funciones=r,this.token=""}ngOnInit(){this.token=this._cookie.get("token"),this.funcion=null==this.funcionupdate?{id_fun:"",rol_fun:"",funciones_fun:"",token:""}:this.funcionupdate}createeditfuncion(){""==this.funcion.rol_fun||this.funcion.funciones_fun.length<0?this.toastError("Debes ingresar toda la informacion para continuar"):(this.funcion.token=this.token,null==this.funcionupdate?this._funciones.createfunciones(this.funcion).subscribe(e=>{e?(this.toastSuccess("Hemos registrado correctamente la informaci\xf3n"),this.dialogRef.close(!0)):this.toastError("Tenemos probleas para registrar la infomraci\xf3n intentalo nuvamente")}):this._funciones.editfunciones(this.funcion).subscribe(e=>{e?(this.toastSuccess("Hemos registrado correctamente la informaci\xf3n"),this.dialogRef.close(!0)):this.toastError("Tenemos probleas para registrar la infomraci\xf3n intentalo nuvamente")}))}toastSuccess(e){this.toastr.success(e,"Exito",{timeOut:4500})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Do),_(Eo),_(Re),_(Ve),_(br))},t.\u0275cmp=N({type:t,selectors:[["app-dialogcreditorganigrama"]],decls:35,vars:3,consts:[[2,"width","96%","height","auto","overflow","hidden","margin","0 auto","padding","20px"],[1,"subtitulo"],[1,"row"],[1,"col-sm-6"],["appearance","fill",1,"example-full-width"],[3,"ngModel","ngModelChange"],["value",""],["value","ADMIN"],["value","ADMINTIENDA"],["value","EMPLEADO"],["value","ASISTENTE DE TI"],["matInput","","placeholder","Rol",3,"ngModel","ngModelChange"],["rows","15","cols","30","matInput","","placeholder","Funciones...",3,"ngModel","ngModelChange"],[1,"col-sm-8"],[1,"col-sm-4"],[1,"button",3,"click"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div",1),d(2," Funciones "),c(),h(3,"br"),l(4,"div",2)(5,"div",3)(6,"mat-form-field",4)(7,"mat-label"),d(8,"Rol"),c(),l(9,"mat-select",5),D("ngModelChange",function(s){return i.funcion.rol_fun=s}),l(10,"mat-option",6),d(11,"Ninguno"),c(),l(12,"mat-option",7),d(13,"Administrador"),c(),l(14,"mat-option",8),d(15,"Administrador Tienda"),c(),l(16,"mat-option",9),d(17,"Empleado"),c(),l(18,"mat-option",10),d(19,"Asistente DE TI"),c()()(),l(20,"mat-form-field",4)(21,"mat-label"),d(22,"Rol"),c(),l(23,"input",11),D("ngModelChange",function(s){return i.funcion.rol_fun=s}),c()()(),l(24,"div",3)(25,"mat-form-field",4)(26,"mat-label"),d(27,"Funciones"),c(),l(28,"textarea",12),D("ngModelChange",function(s){return i.funcion.funciones_fun=s}),c()()()(),h(29,"br"),l(30,"div",2),h(31,"div",13),l(32,"div",14)(33,"div",15),D("click",function(){return i.createeditfuncion()}),d(34," Guardar Cambios "),c()()()()),2&e&&(m(9),v("ngModel",i.funcion.rol_fun),m(14),v("ngModel",i.funcion.rol_fun),m(5),v("ngModel",i.funcion.funciones_fun))},directives:[xi,di,Wo,It,jt,Co,Qi,wt],styles:[""]}),t})();function gZ(t,n){1&t&&(l(0,"mat-header-cell",17),d(1," Rol "),c())}function _Z(t,n){if(1&t&&(l(0,"mat-cell",18)(1,"b"),d(2),fs(3,"titlecase"),c()()),2&t){const e=n.$implicit;m(2),le(ms(3,1,e.rol_fun))}}function vZ(t,n){1&t&&(l(0,"mat-header-cell",17),d(1," Funciones "),c())}function bZ(t,n){if(1&t&&(l(0,"mat-cell",19),h(1,"p",20),c()),2&t){const e=n.$implicit;m(1),v("innerHTML",e.funciones_fun,_l)}}function yZ(t,n){1&t&&(l(0,"mat-header-cell",17),d(1," Acciones "),c())}function CZ(t,n){if(1&t){const e=Ae();l(0,"mat-cell",21)(1,"span",22),D("click",function(){const s=re(e).$implicit;return I().editFuncion(s)}),R(),l(2,"svg",23)(3,"g"),h(4,"rect",24),c(),l(5,"g")(6,"g"),h(7,"polygon",25)(8,"path",26)(9,"path",27),c()()()(),q(),l(10,"span",28),D("click",function(){const s=re(e).$implicit;return I().deleteFuncion(s.id_suc)}),R(),l(11,"svg",29),h(12,"path",30)(13,"path",31),c()()()}}function wZ(t,n){1&t&&h(0,"mat-header-row")}function DZ(t,n){1&t&&h(0,"mat-row")}const EZ=function(){return[5,10,25]};let TZ=(()=>{class t{constructor(e,i,o,s,r){this.dialog=e,this._cookie=i,this.toastr=o,this._login=s,this._funciones=r,this.displayedColumns=["razonsocial","telefono","editar"],this.token="",this.admin=!1}ngOnInit(){this.token=this._cookie.get("token"),this.loadFunciones()}createFunciones(){this.dialog.open(wI,{width:"50%",height:"70%"}).afterClosed().subscribe(i=>{this.loadFunciones()})}editFuncion(e){this.dialog.open(wI,{width:"50%",height:"70%",data:e}).afterClosed().subscribe(o=>{this.loadFunciones()})}deleteFuncion(e){let i={id_fun:"",token:""};i.id_fun=e,i.token=this.token,this.dialog.open(d1,{width:"auto",height:"auto",data:"eliminar este registro"}).afterClosed().subscribe(s=>{s&&this._funciones.deletefunciones(i).subscribe(r=>{r.data?this.toastSuccess("Hemos eliminado correctamente este registro"):this.toastError("No podemos eliminar este registro intentalo nuevamente"),this.loadFunciones()})})}loadFunciones(){this._funciones.getfunciones(this.token).subscribe(e=>{e.data.length?(this.listaFunciones=e.data,this.dataSource=new Qn(this.listaFunciones),this.dataSource.paginator=this.paginator):this.toastWarning("No encontramos registros")})}applyFilter(e){let i=e.target.value;i=i.trim(),i=i.toLowerCase(),this.dataSource.filter=e.target.value}toastSuccess(e){this.toastr.success(e,"Exito",{timeOut:4500})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(_(ui),_(Ve),_(Re),_(xn),_(br))},t.\u0275cmp=N({type:t,selectors:[["app-dialogorganigrama"]],viewQuery:function(e,i){if(1&e&&me(Yn,5),2&e){let o;F(o=P())&&(i.paginator=o.first)}},decls:21,vars:5,consts:[[2,"width","98%","margin","1% 1%"],[1,"row"],[1,"col-sm-8"],[1,"menu__input",2,"width","100%"],["type","text","placeholder","Buscar...",3,"keyup"],[1,"mat-elevation-z8"],["matSort","",3,"dataSource"],["matColumnDef","razonsocial"],["mat-sort-header","",4,"matHeaderCellDef"],["data-label","Rol",4,"matCellDef"],["matColumnDef","telefono"],["data-label","Funciones",4,"matCellDef"],["matColumnDef","editar"],["data-label","Acciones",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],["mat-sort-header",""],["data-label","Rol"],["data-label","Funciones"],[3,"innerHTML"],["data-label","Acciones"],["title","Editar Sucursal",2,"cursor","pointer",3,"click"],["xmlns","http://www.w3.org/2000/svg","enable-background","new 0 0 24 24","height","24px","viewBox","0 0 24 24","width","24px","fill","#F18C24"],["fill","none","height","24","width","24"],["points","15,16 11,20 21,20 21,16"],["d","M12.06,7.19L3,16.25V20h3.75l9.06-9.06L12.06,7.19z M5.92,18H5v-0.92l7.06-7.06l0.92,0.92L5.92,18z"],["d","M18.71,8.04c0.39-0.39,0.39-1.02,0-1.41l-2.34-2.34C16.17,4.09,15.92,4,15.66,4c-0.25,0-0.51,0.1-0.7,0.29l-1.83,1.83 l3.75,3.75L18.71,8.04z"],["title","Editar Empresa",2,"cursor","pointer",3,"click"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#E51A1A"],["d","M0 0h24v24H0V0z","fill","none"],["d","M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div")(2,"div",1)(3,"div",2)(4,"div",3)(5,"input",4),D("keyup",function(s){return i.applyFilter(s)}),c()()()()(),h(6,"br"),l(7,"div",5)(8,"mat-table",6),de(9,7),C(10,gZ,2,0,"mat-header-cell",8),C(11,_Z,4,3,"mat-cell",9),he(),de(12,10),C(13,vZ,2,0,"mat-header-cell",8),C(14,bZ,2,1,"mat-cell",11),he(),de(15,12),C(16,yZ,2,0,"mat-header-cell",8),C(17,CZ,14,0,"mat-cell",13),he(),C(18,wZ,1,0,"mat-header-row",14),C(19,DZ,1,0,"mat-row",15),c(),h(20,"mat-paginator",16),c()()),2&e&&(m(8),v("dataSource",i.dataSource),m(10),v("matHeaderRowDef",i.displayedColumns),m(1),v("matRowDefColumns",i.displayedColumns),m(1),v("pageSizeOptions",O(4,EZ)))},directives:[Ts,Jo,Zo,Xo,Ko,es,Ss,Is,Ms,As,Yn],pipes:[zl],styles:[""]}),t})(),DI=(()=>{class t{constructor(e){this.http=e,this.baseUrl="."}getUnete(){return this.resultado=this.http.get(`${this.baseUrl}/APIBOGATI/unete_bogati/unete_get.php`),this.resultado}createUnete(e){return this.resultado=this.http.post(`${this.baseUrl}/APIBOGATI/unete_bogati/unete_insert.php`,JSON.stringify(e)),this.resultado}}return t.\u0275fac=function(e){return new(e||t)(M(dn))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function SZ(t,n){1&t&&(l(0,"mat-header-cell",15),d(1," Email "),c())}function MZ(t,n){if(1&t&&(l(0,"mat-cell",16)(1,"b"),d(2),c()()),2&t){const e=n.$implicit;m(2),le(e.mail_une)}}function IZ(t,n){1&t&&(l(0,"mat-header-cell",15),d(1," Fecha "),c())}function AZ(t,n){if(1&t&&(l(0,"mat-cell",17)(1,"b"),d(2),c()()),2&t){const e=n.$implicit;m(2),le(e.create_at)}}function xZ(t,n){1&t&&h(0,"mat-header-row")}function OZ(t,n){1&t&&h(0,"mat-row")}const NZ=function(){return[5,10,25]};let kZ=(()=>{class t{constructor(e){this._unete=e,this.displayedColumns=["mail","fecha"]}ngOnInit(){this.listaUnete=[],this.loadUnete()}loadUnete(){this._unete.getUnete().subscribe(e=>{console.log(e),this.listaUnete=e,this.dataSource=new Qn(this.listaUnete),this.dataSource.paginator=this.paginator})}applyFilter(e){let i=e.target.value;i=i.trim(),i=i.toLowerCase(),this.dataSource.filter=e.target.value}}return t.\u0275fac=function(e){return new(e||t)(_(DI))},t.\u0275cmp=N({type:t,selectors:[["app-dialogunete"]],viewQuery:function(e,i){if(1&e&&me(Yn,5),2&e){let o;F(o=P())&&(i.paginator=o.first)}},decls:18,vars:5,consts:[[2,"width","98%","margin","1% 1%"],[1,"row"],[1,"col-sm-8"],[1,"menu__input",2,"width","100%"],["type","text",3,"keyup"],[1,"mat-elevation-z8"],["matSort","",3,"dataSource"],["matColumnDef","mail"],["mat-sort-header","",4,"matHeaderCellDef"],["data-label","Email",4,"matCellDef"],["matColumnDef","fecha"],["data-label","Fecha",4,"matCellDef"],[4,"matHeaderRowDef"],[4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],["mat-sort-header",""],["data-label","Email"],["data-label","Fecha"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div")(2,"div",1)(3,"div",2)(4,"div",3)(5,"input",4),D("keyup",function(s){return i.applyFilter(s)}),c()()()()(),h(6,"br"),l(7,"div",5)(8,"mat-table",6),de(9,7),C(10,SZ,2,0,"mat-header-cell",8),C(11,MZ,3,1,"mat-cell",9),he(),de(12,10),C(13,IZ,2,0,"mat-header-cell",8),C(14,AZ,3,1,"mat-cell",11),he(),C(15,xZ,1,0,"mat-header-row",12),C(16,OZ,1,0,"mat-row",13),c(),h(17,"mat-paginator",14),c()()),2&e&&(m(8),v("dataSource",i.dataSource),m(7),v("matHeaderRowDef",i.displayedColumns),m(1),v("matRowDefColumns",i.displayedColumns),m(1),v("pageSizeOptions",O(4,NZ)))},directives:[Ts,Jo,Zo,Xo,Ko,es,Ss,Is,Ms,As,Yn],styles:[""]}),t})();function RZ(t,n){1&t&&(l(0,"mat-tab",29),h(1,"app-dialogcuentas"),c())}function FZ(t,n){1&t&&(l(0,"mat-tab",30)(1,"mat-tab-group")(2,"mat-tab",31),h(3,"app-banneradministracion"),c(),l(4,"mat-tab",32),h(5,"app-banner-subir"),c(),h(6,"mat-tab",33),c()())}function PZ(t,n){1&t&&(l(0,"mat-tab",34),h(1,"app-dialogtiendas"),c())}function LZ(t,n){1&t&&(l(0,"mat-tab",35),h(1,"app-dialogtrabajo"),c())}function BZ(t,n){1&t&&(l(0,"mat-tab",36),h(1,"app-dialogfamilia"),c())}function VZ(t,n){1&t&&(l(0,"mat-tab",37),h(1,"app-dailogdocumentos"),c())}function jZ(t,n){1&t&&(l(0,"mat-tab",38),h(1,"app-dialogorganigrama"),c())}function HZ(t,n){1&t&&(l(0,"mat-tab",39),h(1,"app-dialogunete"),c())}const UZ=function(){return["/inicio"]},GZ=function(){return["/perfil"]};let zZ=(()=>{class t{constructor(e,i,o){this._cookie=e,this.router=i,this._login=o,this.token=""}ngOnInit(){this.token=this._cookie.get("token"),this.usuario={id_usu:"",id_suc:"",foto_usu:"",usuario_usu:"",password_usu:"",rol_usu:"",nombre_uno:"",nombre_dos:"",apellido_uno:"",apellido_dos:"",ciruc_usu:"",direccion_usu:"",mail_usu:"",estado_cuenta:""},this._login.getuserdata(this.token).subscribe(e=>{this.usuario=e.data})}cerrarSesion(){this._cookie.deleteAll(),this.router.navigate([""])}}return t.\u0275fac=function(e){return new(e||t)(_(Ve),_(gt),_(xn))},t.\u0275cmp=N({type:t,selectors:[["app-administracion"]],decls:38,vars:14,consts:[[1,"fondo",2,"margin","0"],[1,"header"],[1,"menu"],[1,"menu__logo",2,"cursor","pointer"],["src","../../../assets/img/bogati_logo.png","alt","Bogati | Helados con queso",3,"routerLink"],[1,"menu__items"],["mat-icon-button","","aria-label","Example icon-button with a menu",3,"matMenuTriggerFor"],[1,"perfilusuario"],[3,"src"],["xmlns","http://www.w3.org/2000/svg","enable-background","new 0 0 24 24","height","24px","viewBox","0 0 24 24","width","24px","fill","#f6851f"],["d","M0,0h24v24H0V0z","fill","none"],["d","M3,18h13v-2H3V18z M3,13h10v-2H3V13z M3,6v2h13V6H3z M21,15.59L17.42,12L21,8.41L19.59,7l-5,5l5,5L21,15.59z"],["xPosition","before"],["beforeMenu","matMenu"],["mat-menu-item","",3,"routerLink"],["mat-menu-item","",3,"click"],[1,"container__administracion"],[2,"width","90%","margin","0 auto","overflow","hidden"],[1,"registro",2,"background-color","#fff","overflow","hidden"],[2,"overflow","hidden"],["label","General",2,"overflow","hidden"],["label","Cuentas",4,"ngIf"],["label","Banner",4,"ngIf"],["label","Tiendas",4,"ngIf"],["label","Queso",4,"ngIf"],["label","Familia",4,"ngIf"],["label","Documentos",4,"ngIf"],["label","Organigrama",4,"ngIf"],["label","Bogati Unete",4,"ngIf"],["label","Cuentas"],["label","Banner"],["label","Banner popUp"],["label","Subir Imagen"],["label","Gestionar Banner Inicio"],["label","Tiendas"],["label","Queso"],["label","Familia"],["label","Documentos"],["label","Organigrama"],["label","Bogati Unete"]],template:function(e,i){if(1&e&&(l(0,"div",0)(1,"header",1)(2,"div",2)(3,"div",3),h(4,"img",4),c(),l(5,"div",5)(6,"div",6)(7,"div",7),h(8,"img",8),R(),l(9,"svg",9),h(10,"path",10)(11,"path",11),c()(),q(),l(12,"mat-menu",12,13)(14,"button",14)(15,"mat-icon"),d(16,"account_circle"),c(),l(17,"span"),d(18,"Mi perfil"),c()(),l(19,"button",15),D("click",function(){return i.cerrarSesion()}),l(20,"mat-icon"),d(21,"exit_to_app"),c(),l(22,"span"),d(23,"Cerrar Sesi\xf3n"),c()()()()()()(),l(24,"div",16)(25,"div",17)(26,"section",18)(27,"mat-tab-group",19)(28,"mat-tab",20),h(29,"app-dialoggeneral"),c(),C(30,RZ,2,0,"mat-tab",21),C(31,FZ,7,0,"mat-tab",22),C(32,PZ,2,0,"mat-tab",23),C(33,LZ,2,0,"mat-tab",24),C(34,BZ,2,0,"mat-tab",25),C(35,VZ,2,0,"mat-tab",26),C(36,jZ,2,0,"mat-tab",27),C(37,HZ,2,0,"mat-tab",28),c()()()()()),2&e){const o=Ct(13);m(4),v("routerLink",O(12,UZ)),m(2),v("matMenuTriggerFor",o),m(2),v("src",""==i.usuario.foto_usu?"../../../../assets/img/foto_perfil.png":i.usuario.foto_usu,we),m(6),v("routerLink",O(13,GZ)),m(16),v("ngIf","ADMIN"==i.usuario.rol_usu),m(1),v("ngIf","ADMIN"==i.usuario.rol_usu),m(1),v("ngIf","ADMIN"==i.usuario.rol_usu||"ADMINISTRADOR DE LOCAL"==i.usuario.rol_usu),m(1),v("ngIf","ADMIN"==i.usuario.rol_usu||"ADMIN"==i.usuario.rol_usu),m(1),v("ngIf","ADMIN"==i.usuario.rol_usu||"ADMIN"==i.usuario.rol_usu),m(1),v("ngIf","ADMIN"==i.usuario.rol_usu),m(1),v("ngIf","ADMIN"==i.usuario.rol_usu),m(1),v("ngIf","ADMIN"==i.usuario.rol_usu)}},directives:[Xe,cS,sS,Dc,Sc,wH,bS,lU,Ye,Nq,Wq,BQ,pK,MK,tZ,mZ,TZ,kZ],styles:[""]}),t})();const qZ=function(){return["/home/inicio"]},$Z=function(){return["/administracion"]};let WZ=(()=>{class t{constructor(e,i,o,s,r,a){this.dialog=e,this._cookie=i,this._login=o,this._uploadfiles=s,this.toastr=r,this.router=a,this.token="",this.hide=!0,this.baseUrl=".",this.sucursal="",this.id_suc=""}ngOnInit(){this.token=this._cookie.get("token"),this.usuario={id_usu:"",id_suc:"",foto_usu:"",usuario_usu:"",password_usu:"",rol_usu:"",nombre_uno:"",nombre_dos:"",apellido_uno:"",apellido_dos:"",ciruc_usu:"",direccion_usu:"",mail_usu:"",estado_cuenta:""},this.getUser()}subirFoto(e){var i=this;this._uploadfiles.uploadimg(e.target.files[0]).subscribe(function(){var a=Yi(function*(u){"success"==u.status&&(i.usuario.foto_usu=i.baseUrl+"/APIBOGATI/imagenes/"+u.msj)});return function(u){return a.apply(this,arguments)}}(),a=>{console.log(a)})}getUser(){this._login.getuserdata(this.token).subscribe(e=>{this.usuario=e.data,0==e.data.id_suc?this.sucursal="OFICINAS ADMINISTRATIVAS":this._login.getuserdatasucursal(this.usuario.id_usu).subscribe(i=>{this.sucursal=i[0].ciudad_suc+" "+i[0].sector_suc,this.id_suc=i[0].id_suc})})}updateUser(){""==this.usuario.usuario_usu||null==this.usuario.usuario_usu?this.toastError("Debes ingresar tu usuario"):""==this.usuario.password_usu||null==this.usuario.password_usu?this.toastError("Debes ingresar la contrase\xf1a"):""==this.usuario.nombre_uno||null==this.usuario.nombre_uno?this.toastError("Debes ingresar tu primer nombre"):""==this.usuario.apellido_uno||null==this.usuario.apellido_uno?this.toastError("Debes ingresar tu primer apellido"):""==this.usuario.ciruc_usu||null==this.usuario.ciruc_usu?this.toastError("Debes ingresar tu c\xe9dula"):""==this.usuario.direccion_usu||null==this.usuario.direccion_usu?this.toastError("Debes ingresar tu direcci\xf3n "):""==this.usuario.mail_usu||null==this.usuario.mail_usu?this.toastError("Debes ingresar tu email"):(this.usuario.id_suc=this.id_suc,this.usuario.token=this.token,this._login.updateUser(this.usuario).subscribe(e=>{e.data?this.toastSuccess("Informaci\xf3n actualizada correctamente"):this.toastError("Tenemos problemas para actualizar tu informacion intentalo nuevamente")}))}loadArchivos(){this.dialog.open(TS,{width:"80%",height:"100%"}).afterClosed().subscribe(i=>{})}cerrarSesion(){this._cookie.deleteAll(),this.router.navigate([""])}toastSuccess(e){this.toastr.success(e,"Exito",{timeOut:3e3})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(_(ui),_(Ve),_(xn),_(Dr),_(Re),_(gt))},t.\u0275cmp=N({type:t,selectors:[["app-dialogperfilusuario"]],decls:112,vars:20,consts:[[1,"header"],[1,"menu"],[1,"menu__logo",2,"cursor","pointer"],["src","../../../assets/img/bogati_logo.png","alt","Bogati | Helados con queso",3,"routerLink"],[1,"menu__items"],["mat-icon-button","","aria-label","Example icon-button with a menu",3,"matMenuTriggerFor"],[1,"perfilusuario"],[3,"src"],["xmlns","http://www.w3.org/2000/svg","enable-background","new 0 0 24 24","height","24px","viewBox","0 0 24 24","width","24px","fill","#f6851f"],["d","M0,0h24v24H0V0z","fill","none"],["d","M3,18h13v-2H3V18z M3,13h10v-2H3V13z M3,6v2h13V6H3z M21,15.59L17.42,12L21,8.41L19.59,7l-5,5l5,5L21,15.59z"],["xPosition","before"],["beforeMenu","matMenu"],["mat-menu-item","",3,"routerLink"],["mat-menu-item","",3,"click"],[1,"fondo"],[1,"container__administracion"],[2,"width","96%","height","auto","overflow","hidden","margin","0 auto","padding","20px"],[1,"row"],[1,"col-sm-12",2,"text-align","center"],[1,"imgperfil"],["data-lightbox","photos",3,"href"],[1,"img-fluid","imgreportes",3,"src"],[1,"custom-file-upload"],["xmlns","http://www.w3.org/2000/svg","fill","#fff","width","20","height","17","viewBox","0 0 20 17"],["d","M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"],["type","file",3,"change"],[1,"col-sm-6"],["appearance","fill",1,"example-full-width"],["matInput","","placeholder","Usuario",3,"ngModel","ngModelChange"],["matInput","","placeholder","Contrase\xf1a",3,"type","ngModel","ngModelChange"],["matSuffix","",3,"click"],[1,"subtitulo"],[2,"color","#f6851f","font-size","19px"],[1,"button",3,"click"],["matInput","","placeholder","Primer Nombre",3,"ngModel","ngModelChange"],["matInput","","placeholder","Segundo Nombre",3,"ngModel","ngModelChange"],["matInput","","placeholder","Primer Apellido",3,"ngModel","ngModelChange"],["matInput","","placeholder","Segundo Apellido",3,"ngModel","ngModelChange"],["matInput","","placeholder","C\xe9dula","max","13",3,"ngModel","ngModelChange"],["matInput","","placeholder","Direcci\xf3n",3,"ngModel","ngModelChange"],["matInput","","placeholder","Mail",3,"ngModel","ngModelChange"],[1,"col-sm-8"],[1,"col-sm-4"]],template:function(e,i){if(1&e&&(l(0,"header",0)(1,"div",1)(2,"div",2),h(3,"img",3),c(),l(4,"div",4)(5,"div",5)(6,"div",6),h(7,"img",7),R(),l(8,"svg",8),h(9,"path",9)(10,"path",10),c()(),q(),l(11,"mat-menu",11,12)(13,"button",13)(14,"mat-icon"),d(15,"account_box"),c(),l(16,"span"),d(17,"General"),c()(),l(18,"button",14),D("click",function(){return i.cerrarSesion()}),l(19,"mat-icon"),d(20,"exit_to_app"),c(),l(21,"span"),d(22,"Cerrar Sesi\xf3n"),c()()()()()()(),l(23,"div",15)(24,"div",16)(25,"div",17)(26,"div",18)(27,"div",19)(28,"div",20)(29,"a",21),h(30,"img",22),c(),h(31,"br"),l(32,"label",23),R(),l(33,"svg",24),h(34,"path",25),c(),d(35," Subir Foto "),q(),l(36,"input",26),D("change",function(s){return i.subirFoto(s)}),c()()()()(),h(37,"br"),l(38,"div",18)(39,"div",27)(40,"mat-form-field",28)(41,"mat-label"),d(42,"Usuario"),c(),l(43,"input",29),D("ngModelChange",function(s){return i.usuario.usuario_usu=s}),c()()(),l(44,"div",27)(45,"mat-form-field",28)(46,"mat-label"),d(47,"Contrase\xf1a"),c(),l(48,"input",30),D("ngModelChange",function(s){return i.usuario.password_usu=s}),c(),l(49,"mat-icon",31),D("click",function(){return i.hide=!i.hide}),d(50),c()()()(),h(51,"br"),l(52,"div",18)(53,"div",32),d(54," Sucursal "),c(),l(55,"div",27)(56,"span",33),d(57),c()(),l(58,"div",27)(59,"div",34),D("click",function(){return i.loadArchivos()}),d(60," Ver Documentos "),c()()(),h(61,"br"),l(62,"div",18)(63,"div",32),d(64," Datos Personales "),c(),l(65,"div",27)(66,"mat-form-field",28)(67,"mat-label"),d(68,"Primer Nombre"),c(),l(69,"input",35),D("ngModelChange",function(s){return i.usuario.nombre_uno=s}),c()()(),l(70,"div",27)(71,"mat-form-field",28)(72,"mat-label"),d(73,"Segundo Nombre"),c(),l(74,"input",36),D("ngModelChange",function(s){return i.usuario.nombre_dos=s}),c()()()(),h(75,"br"),l(76,"div",18)(77,"div",27)(78,"mat-form-field",28)(79,"mat-label"),d(80,"Primer Apellido"),c(),l(81,"input",37),D("ngModelChange",function(s){return i.usuario.apellido_uno=s}),c()()(),l(82,"div",27)(83,"mat-form-field",28)(84,"mat-label"),d(85,"Segundo Apellido"),c(),l(86,"input",38),D("ngModelChange",function(s){return i.usuario.apellido_dos=s}),c()()()(),h(87,"br"),l(88,"div",18)(89,"div",27)(90,"mat-form-field",28)(91,"mat-label"),d(92,"C\xe9dula"),c(),l(93,"input",39),D("ngModelChange",function(s){return i.usuario.ciruc_usu=s}),c()()(),l(94,"div",27)(95,"mat-form-field",28)(96,"mat-label"),d(97,"Direcci\xf3n"),c(),l(98,"input",40),D("ngModelChange",function(s){return i.usuario.direccion_usu=s}),c()()()(),h(99,"br"),l(100,"div",18)(101,"div",27)(102,"mat-form-field",28)(103,"mat-label"),d(104,"Mail"),c(),l(105,"input",41),D("ngModelChange",function(s){return i.usuario.mail_usu=s}),c()()(),h(106,"div",27),c(),l(107,"div",18),h(108,"div",42),l(109,"div",43)(110,"div",34),D("click",function(){return i.updateUser()}),d(111," Guardar Cambios "),c()()()()()()),2&e){const o=Ct(12);m(3),v("routerLink",O(18,qZ)),m(2),v("matMenuTriggerFor",o),m(2),v("src",""==i.usuario.foto_usu?"../../../../assets/img/foto_perfil.png":i.usuario.foto_usu,we),m(6),v("routerLink",O(19,$Z)),m(16),v("href",""==i.usuario.foto_usu?"../../../../assets/img/foto_perfil.png":i.usuario.foto_usu,we),m(1),v("src",""==i.usuario.foto_usu?"../../../../assets/img/foto_perfil.png":i.usuario.foto_usu,we),m(13),v("ngModel",i.usuario.usuario_usu),m(5),v("type",i.hide?"password":"text")("ngModel",i.usuario.password_usu),m(2),le(i.hide?"visibility_off":"visibility"),m(7),U(" ",i.sucursal," "),m(12),v("ngModel",i.usuario.nombre_uno),m(5),v("ngModel",i.usuario.nombre_dos),m(7),v("ngModel",i.usuario.apellido_uno),m(5),v("ngModel",i.usuario.apellido_dos),m(7),v("ngModel",i.usuario.ciruc_usu),m(5),v("ngModel",i.usuario.direccion_usu),m(7),v("ngModel",i.usuario.mail_usu)}},directives:[Xe,cS,sS,Dc,Sc,xi,di,Qi,wt,It,jt,Lh],styles:[""]}),t})(),Dp=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-banner"]],decls:3,vars:0,consts:[[1,"banner__img"],["href","../fiestas","target","_blank"],["src","https://bogati.ec/APIBOGATI/imagenes/banner.jpg","alt","Bogati"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"a",1),h(2,"img",2),c()())},styles:[""]}),t})();function YZ(t,n){if(1&t){const e=Ae();l(0,"div",64),D("click",function(){return re(e),I().abrirMenu()}),R(),l(1,"svg",65),h(2,"path",51)(3,"path",66),c()()}}const Jc=function(){return["/inicio"]},EI=function(){return["/heladeria"]},TI=function(){return["/tiendas"]},p1=function(){return["/franquicias"]},SI=function(){return["/trabajaconnosotros"]},MI=function(){return["/blog"]},QZ=function(){return["/nosotros"]},KZ=function(){return["/login"]};let ye=(()=>{class t{constructor(e,i,o,s,r){this._router=i,this.dialog=o,this._banner=s,this._cookie=r,this.busqueda="",this.token="",this.menuAbierto=!1,e.interval=5e3,e.keyboard=!1,e.pauseOnHover=!1}ngOnInit(){this.banner(),document.getElementById("btn_open").addEventListener("click",function u(){e.classList.add("menu__responsive_block--show")}),document.getElementById("btn_close").addEventListener("click",function p(){e.classList.remove("menu__responsive_block--show")}),document.getElementById("open_nosotros").addEventListener("click",function g(){}),document.getElementById("open_tiendas").addEventListener("click",function b(){s.classList.toggle("submenu_tiendas--show")}),document.getElementById("open_menuCafeteria").addEventListener("click",function y(){}),document.getElementById("open_franquicias").addEventListener("click",function w(){});var e=document.getElementById("menu_movil"),s=(document.getElementById("input__search"),document.getElementById("nosotros"),document.getElementById("tiendas"));document.getElementById("menuCafeteria"),document.getElementById("menuFranquicias")}menuMenu(){document.getElementById("menuCafeteria").classList.toggle("submenu_menu--show")}menuNosotros(){document.getElementById("nosotros").classList.toggle("submenu--show")}menuFranquicias(){document.getElementById("menuFranquicias").classList.toggle("submenu--show")}scrollToElement(e){e.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),window.scroll({top:0,left:0,behavior:"smooth"})}recargar(e){document.getElementById("menu_movil").classList.remove("menu__responsive_block--show"),this._router.navigate(["/"+e])}search(){}redirecion(e){"facebook"==e&&location.assign("https://www.facebook.com/bogati.ec/")}loginActive(){this.token=this._cookie.get("token"),this._router.navigate(""==this.token?["/login"]:["/administracion"])}banner(){this._banner.getBanner().subscribe(e=>{1==e[0].activo_banner&&this.dialog.open(Dp,{width:"auto",height:"auto",panelClass:"panel__container"}).afterClosed().subscribe(o=>{})})}abrirMenu(){this.menuAbierto=!0}cerrarMenu(){this.menuAbierto=!1}toggleMenu(){this.menuAbierto=!this.menuAbierto}}return t.\u0275fac=function(e){return new(e||t)(_(FM),_(gt),_(ui),_(jc),_(Ve))},t.\u0275cmp=N({type:t,selectors:[["app-menunuevo"]],decls:129,vars:39,consts:[[1,"header"],[1,"menu"],[1,"menu__items_izquierda"],[1,"menu__items_item"],["href","https://www.instagram.com/bogati.ec/","target","_blank"],["xmlns","http://www.w3.org/2000/svg","x","0px","y","0px","width","30","height","30","viewBox","0 0 50 50",1,"menu__items_redes_activo",2,"--i","8"],["d","M 16 3 C 8.8324839 3 3 8.8324839 3 16 L 3 34 C 3 41.167516 8.8324839 47 16 47 L 34 47 C 41.167516 47 47 41.167516 47 34 L 47 16 C 47 8.8324839 41.167516 3 34 3 L 16 3 z M 16 5 L 34 5 C 40.086484 5 45 9.9135161 45 16 L 45 34 C 45 40.086484 40.086484 45 34 45 L 16 45 C 9.9135161 45 5 40.086484 5 34 L 5 16 C 5 9.9135161 9.9135161 5 16 5 z M 37 11 A 2 2 0 0 0 35 13 A 2 2 0 0 0 37 15 A 2 2 0 0 0 39 13 A 2 2 0 0 0 37 11 z M 25 14 C 18.936712 14 14 18.936712 14 25 C 14 31.063288 18.936712 36 25 36 C 31.063288 36 36 31.063288 36 25 C 36 18.936712 31.063288 14 25 14 z M 25 16 C 29.982407 16 34 20.017593 34 25 C 34 29.982407 29.982407 34 25 34 C 20.017593 34 16 29.982407 16 25 C 16 20.017593 20.017593 16 25 16 z"],["href","https://www.facebook.com/bogati.ec/","target","_blank"],["d","M 9 4 C 6.2504839 4 4 6.2504839 4 9 L 4 41 C 4 43.749516 6.2504839 46 9 46 L 25.832031 46 A 1.0001 1.0001 0 0 0 26.158203 46 L 31.832031 46 A 1.0001 1.0001 0 0 0 32.158203 46 L 41 46 C 43.749516 46 46 43.749516 46 41 L 46 9 C 46 6.2504839 43.749516 4 41 4 L 9 4 z M 9 6 L 41 6 C 42.668484 6 44 7.3315161 44 9 L 44 41 C 44 42.668484 42.668484 44 41 44 L 33 44 L 33 30 L 36.820312 30 L 38.220703 23 L 33 23 L 33 21 C 33 20.442508 33.05305 20.398929 33.240234 20.277344 C 33.427419 20.155758 34.005822 20 35 20 L 38 20 L 38 14.369141 L 37.429688 14.097656 C 37.429688 14.097656 35.132647 13 32 13 C 29.75 13 27.901588 13.896453 26.71875 15.375 C 25.535912 16.853547 25 18.833333 25 21 L 25 23 L 22 23 L 22 30 L 25 30 L 25 44 L 9 44 C 7.3315161 44 6 42.668484 6 41 L 6 9 C 6 7.3315161 7.3315161 6 9 6 z M 32 15 C 34.079062 15 35.38736 15.458455 36 15.701172 L 36 18 L 35 18 C 33.849178 18 32.926956 18.0952 32.150391 18.599609 C 31.373826 19.104024 31 20.061492 31 21 L 31 25 L 35.779297 25 L 35.179688 28 L 31 28 L 31 44 L 27 44 L 27 28 L 24 28 L 24 25 L 27 25 L 27 21 C 27 19.166667 27.464088 17.646453 28.28125 16.625 C 29.098412 15.603547 30.25 15 32 15 z"],["href","https://www.tiktok.com/@bogati.ec?lang=es","target","_blank"],["d","M 9 4 C 6.2495759 4 4 6.2495759 4 9 L 4 41 C 4 43.750424 6.2495759 46 9 46 L 41 46 C 43.750424 46 46 43.750424 46 41 L 46 9 C 46 6.2495759 43.750424 4 41 4 L 9 4 z M 9 6 L 41 6 C 42.671576 6 44 7.3284241 44 9 L 44 41 C 44 42.671576 42.671576 44 41 44 L 9 44 C 7.3284241 44 6 42.671576 6 41 L 6 9 C 6 7.3284241 7.3284241 6 9 6 z M 26.042969 10 A 1.0001 1.0001 0 0 0 25.042969 10.998047 C 25.042969 10.998047 25.031984 15.873262 25.021484 20.759766 C 25.016184 23.203017 25.009799 25.64879 25.005859 27.490234 C 25.001922 29.331679 25 30.496833 25 30.59375 C 25 32.409009 23.351421 33.892578 21.472656 33.892578 C 19.608867 33.892578 18.121094 32.402853 18.121094 30.539062 C 18.121094 28.675273 19.608867 27.1875 21.472656 27.1875 C 21.535796 27.1875 21.663054 27.208245 21.880859 27.234375 A 1.0001 1.0001 0 0 0 23 26.240234 L 23 22.039062 A 1.0001 1.0001 0 0 0 22.0625 21.041016 C 21.906673 21.031216 21.710581 21.011719 21.472656 21.011719 C 16.223131 21.011719 11.945313 25.289537 11.945312 30.539062 C 11.945312 35.788589 16.223131 40.066406 21.472656 40.066406 C 26.72204 40.066409 31 35.788588 31 30.539062 L 31 21.490234 C 32.454611 22.653646 34.267517 23.390625 36.269531 23.390625 C 36.542588 23.390625 36.802305 23.374442 37.050781 23.351562 A 1.0001 1.0001 0 0 0 37.958984 22.355469 L 37.958984 17.685547 A 1.0001 1.0001 0 0 0 37.03125 16.6875 C 33.886609 16.461891 31.379838 14.012216 31.052734 10.896484 A 1.0001 1.0001 0 0 0 30.058594 10 L 26.042969 10 z M 27.041016 12 L 29.322266 12 C 30.049047 15.2987 32.626734 17.814404 35.958984 18.445312 L 35.958984 21.310547 C 33.820114 21.201935 31.941489 20.134948 30.835938 18.453125 A 1.0001 1.0001 0 0 0 29 19.003906 L 29 30.539062 C 29 34.707538 25.641273 38.066406 21.472656 38.066406 C 17.304181 38.066406 13.945312 34.707538 13.945312 30.539062 C 13.945312 26.538539 17.066083 23.363182 21 23.107422 L 21 25.283203 C 18.286416 25.535721 16.121094 27.762246 16.121094 30.539062 C 16.121094 33.483274 18.528445 35.892578 21.472656 35.892578 C 24.401892 35.892578 27 33.586491 27 30.59375 C 27 30.64267 27.001859 29.335571 27.005859 27.494141 C 27.009759 25.65271 27.016224 23.20692 27.021484 20.763672 C 27.030884 16.376775 27.039186 12.849206 27.041016 12 z"],["href","https://twitter.com/bogati_ec","target","_blank"],["xmlns","http://www.w3.org/2000/svg","x","0px","y","0px","width","30px","height","30px","viewBox","0 0 50 50",1,"menu__items_redes_activo",2,"--i","8"],["d","M 11 4 C 7.1456661 4 4 7.1456661 4 11 L 4 39 C 4 42.854334 7.1456661 46 11 46 L 39 46 C 42.854334 46 46 42.854334 46 39 L 46 11 C 46 7.1456661 42.854334 4 39 4 L 11 4 z M 11 6 L 39 6 C 41.773666 6 44 8.2263339 44 11 L 44 39 C 44 41.773666 41.773666 44 39 44 L 11 44 C 8.2263339 44 6 41.773666 6 39 L 6 11 C 6 8.2263339 8.2263339 6 11 6 z M 13.085938 13 L 22.308594 26.103516 L 13 37 L 15.5 37 L 23.4375 27.707031 L 29.976562 37 L 37.914062 37 L 27.789062 22.613281 L 36 13 L 33.5 13 L 26.660156 21.009766 L 21.023438 13 L 13.085938 13 z M 16.914062 15 L 19.978516 15 L 34.085938 35 L 31.021484 35 L 16.914062 15 z"],["d","M2863 3555 c-171 -46 -306 -173 -365 -342 -18 -54 -23 -89 -23 -170\n l0 -103 -61 0 c-271 0 -614 169 -901 444 -52 49 -96 86 -99 83 -19 -19 -57\n -163 -61 -232 -10 -149 37 -276 146 -396 l60 -66 -52 9 c-29 5 -77 18 -107 29\n -30 10 -55 19 -56 19 -1 0 0 -19 3 -42 22 -203 113 -333 293 -421 49 -24 87\n -47 83 -51 -3 -3 -48 -6 -100 -6 -72 0 -93 -3 -93 -14 0 -7 16 -45 35 -83 64\n -129 185 -215 346 -249 40 -8 75 -17 77 -18 6 -7 -139 -98 -202 -126 -120 -55\n -269 -85 -461 -93 l-60 -2 125 -62 c144 -72 261 -113 410 -144 147 -31 382\n -31 526 -1 455 97 833 381 1033 780 92 184 136 353 152 592 8 131 14 167 26\n 175 52 33 125 100 177 163 32 40 57 74 55 76 -2 3 -41 -6 -86 -19 -46 -14\n -106 -27 -135 -31 l-53 -7 50 37 c78 59 117 112 150 206 l13 38 -91 -43 c-99\n -46 -186 -75 -225 -75 -14 0 -43 17 -70 40 -116 102 -307 146 -459 105z"],["href","https://linkedin.com/company/bogati-sabor-adictivo-sas","target","_blank"],["d","M 9 4 C 6.2504839 4 4 6.2504839 4 9 L 4 41 C 4 43.749516 6.2504839 46 9 46 L 41 46 C 43.749516 46 46 43.749516 46 41 L 46 9 C 46 6.2504839 43.749516 4 41 4 L 9 4 z M 9 6 L 41 6 C 42.668484 6 44 7.3315161 44 9 L 44 41 C 44 42.668484 42.668484 44 41 44 L 9 44 C 7.3315161 44 6 42.668484 6 41 L 6 9 C 6 7.3315161 7.3315161 6 9 6 z M 14 11.011719 C 12.904779 11.011719 11.919219 11.339079 11.189453 11.953125 C 10.459687 12.567171 10.011719 13.484511 10.011719 14.466797 C 10.011719 16.333977 11.631285 17.789609 13.691406 17.933594 A 0.98809878 0.98809878 0 0 0 13.695312 17.935547 A 0.98809878 0.98809878 0 0 0 14 17.988281 C 16.27301 17.988281 17.988281 16.396083 17.988281 14.466797 A 0.98809878 0.98809878 0 0 0 17.986328 14.414062 C 17.884577 12.513831 16.190443 11.011719 14 11.011719 z M 14 12.988281 C 15.392231 12.988281 15.94197 13.610038 16.001953 14.492188 C 15.989803 15.348434 15.460091 16.011719 14 16.011719 C 12.614594 16.011719 11.988281 15.302225 11.988281 14.466797 C 11.988281 14.049083 12.140703 13.734298 12.460938 13.464844 C 12.78117 13.19539 13.295221 12.988281 14 12.988281 z M 11 19 A 1.0001 1.0001 0 0 0 10 20 L 10 39 A 1.0001 1.0001 0 0 0 11 40 L 17 40 A 1.0001 1.0001 0 0 0 18 39 L 18 33.134766 L 18 20 A 1.0001 1.0001 0 0 0 17 19 L 11 19 z M 20 19 A 1.0001 1.0001 0 0 0 19 20 L 19 39 A 1.0001 1.0001 0 0 0 20 40 L 26 40 A 1.0001 1.0001 0 0 0 27 39 L 27 29 C 27 28.170333 27.226394 27.345035 27.625 26.804688 C 28.023606 26.264339 28.526466 25.940057 29.482422 25.957031 C 30.468166 25.973981 30.989999 26.311669 31.384766 26.841797 C 31.779532 27.371924 32 28.166667 32 29 L 32 39 A 1.0001 1.0001 0 0 0 33 40 L 39 40 A 1.0001 1.0001 0 0 0 40 39 L 40 28.261719 C 40 25.300181 39.122788 22.95433 37.619141 21.367188 C 36.115493 19.780044 34.024172 19 31.8125 19 C 29.710483 19 28.110853 19.704889 27 20.423828 L 27 20 A 1.0001 1.0001 0 0 0 26 19 L 20 19 z M 12 21 L 16 21 L 16 33.134766 L 16 38 L 12 38 L 12 21 z M 21 21 L 25 21 L 25 22.560547 A 1.0001 1.0001 0 0 0 26.798828 23.162109 C 26.798828 23.162109 28.369194 21 31.8125 21 C 33.565828 21 35.069366 21.582581 36.167969 22.742188 C 37.266572 23.901794 38 25.688257 38 28.261719 L 38 38 L 34 38 L 34 29 C 34 27.833333 33.720468 26.627107 32.990234 25.646484 C 32.260001 24.665862 31.031834 23.983076 29.517578 23.957031 C 27.995534 23.930001 26.747519 24.626988 26.015625 25.619141 C 25.283731 26.611293 25 27.829667 25 29 L 25 38 L 21 38 L 21 21 z"],["href","https://www.youtube.com/c/BogatiPlay","target","_blank"],["xmlns","http://www.w3.org/2000/svg","x","0px","y","0px","width","40","height","40","viewBox","0 0 50 50",1,"menu__items_redes_activo"],["d","M 24.402344 9 C 17.800781 9 11.601563 9.5 8.300781 10.199219 C 6.101563 10.699219 4.199219 12.199219 3.800781 14.5 C 3.402344 16.898438 3 20.5 3 25 C 3 29.5 3.398438 33 3.898438 35.5 C 4.300781 37.699219 6.199219 39.300781 8.398438 39.800781 C 11.902344 40.5 17.898438 41 24.5 41 C 31.101563 41 37.097656 40.5 40.597656 39.800781 C 42.800781 39.300781 44.699219 37.800781 45.097656 35.5 C 45.5 33 46 29.402344 46.097656 24.902344 C 46.097656 20.402344 45.597656 16.800781 45.097656 14.300781 C 44.699219 12.101563 42.800781 10.5 40.597656 10 C 37.097656 9.5 31 9 24.402344 9 Z M 24.402344 11 C 31.601563 11 37.398438 11.597656 40.199219 12.097656 C 41.699219 12.5 42.898438 13.5 43.097656 14.800781 C 43.699219 18 44.097656 21.402344 44.097656 24.902344 C 44 29.199219 43.5 32.699219 43.097656 35.199219 C 42.800781 37.097656 40.800781 37.699219 40.199219 37.902344 C 36.597656 38.601563 30.597656 39.097656 24.597656 39.097656 C 18.597656 39.097656 12.5 38.699219 9 37.902344 C 7.5 37.5 6.300781 36.5 6.101563 35.199219 C 5.300781 32.398438 5 28.699219 5 25 C 5 20.398438 5.402344 17 5.800781 14.902344 C 6.101563 13 8.199219 12.398438 8.699219 12.199219 C 12 11.5 18.101563 11 24.402344 11 Z M 19 17 L 19 33 L 33 25 Z M 21 20.402344 L 29 25 L 21 29.597656 Z"],[1,"logo_responsive",3,"routerLink"],["src","../../../assets/img/Logo-horizontal-color.png","alt","Bogati | Helados con queso"],[1,"menu__items_centro"],[1,"menu__items_item",3,"routerLink"],["id","open_menuCafeteria",1,"menu__items_item"],["id","open_tiendas",1,"menu__items_item"],[3,"routerLink"],["src","../../../assets/img/Logo-horizontal-color.png","alt","Bogati | Helados con queso",2,"cursor","pointer",3,"routerLink"],["id","open_franquicias",1,"menu__items_item"],[3,"click"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 0 45 45","height","20","width","20",1,"arrow"],["d","M24 30.75 12 18.75 14.15 16.6 24 26.5 33.85 16.65 36 18.8Z"],["id","menuFranquicias",1,"submenu"],["href","https://www.lafranquicia.es/franquicia/bogati-helados/","target","_blank"],["id","open_nosotros",1,"menu__items_item"],["id","nosotros",1,"submenu"],["href","https://youtube.com/@bogatiplay?si=bmO_Hxh4Z8MspaUL","target","_blank"],[1,"menu__items_derecha"],[1,"menu__items_item_svg",3,"click"],["version","1.0","xmlns","http://www.w3.org/2000/svg","width","35px","height","35px","viewBox","0 0 500.000000 500.000000","preserveAspectRatio","xMidYMid meet",1,"menu__items_item_svg_svg"],["transform","translate(0.000000,500.000000) scale(0.100000,-0.100000)","stroke","none"],["d","M2441 4710 c-285 -28 -553 -105 -810 -235 -112 -56 -326 -198 -347\n -231 -25 -37 -14 -112 21 -141 44 -38 71 -30 209 61 1080 722 2533 277 3004\n -919 100 -254 142 -476 142 -753 0 -937 -683 -1771 -1602 -1957 -273 -55 -533\n -55 -804 0 -860 174 -1495 865 -1604 1745 -15 125 -12 386 6 509 41 282 136\n 543 288 783 78 126 84 161 35 202 -32 28 -93 35 -129 16 -28 -15 -117 -161\n -191 -314 -114 -237 -183 -481 -210 -745 -15 -146 -6 -464 16 -591 82 -463\n 267 -834 575 -1154 356 -371 785 -592 1301 -673 156 -24 480 -24 637 0 716\n 111 1325 554 1652 1202 100 198 161 380 207 625 26 138 25 572 -1 715 -89 488\n -293 890 -616 1215 -338 340 -807 568 -1290 630 -120 15 -378 20 -489 10z"],["d","M1058 4045 c-55 -30 -58 -133 -5 -170 37 -26 94 -19 129 15 28 28 30\n 36 25 78 -9 79 -78 115 -149 77z"],["d","M2521 3919 c-129 -25 -244 -84 -342 -176 -50 -47 -63 -85 -37 -111\n 22 -22 47 -12 114 47 192 171 419 201 659 87 96 -45 163 -101 218 -182 65 -95\n 98 -195 105 -312 l5 -93 -29 7 c-16 3 -40 12 -54 18 -30 13 -70 88 -70 131 0\n 40 -34 93 -68 106 -19 8 -65 7 -157 -1 -122 -12 -347 -9 -500 5 -94 9 -141\n -29 -156 -125 -13 -82 -47 -121 -118 -134 l-34 -6 6 88 c4 49 16 118 27 153\n 24 77 25 102 5 119 -27 22 -62 4 -79 -42 -33 -91 -46 -164 -46 -271 0 -80 -4\n -116 -16 -139 -22 -42 -15 -134 11 -170 11 -15 41 -39 67 -53 26 -14 50 -30\n 53 -35 3 -4 12 -46 21 -92 28 -149 96 -263 207 -345 70 -51 77 -59 77 -90 0\n -33 -97 -88 -230 -129 -63 -20 -152 -47 -197 -61 -96 -29 -159 -78 -191 -146\n -22 -45 -152 -679 -152 -739 0 -45 35 -97 85 -125 39 -22 49 -23 303 -23 l262\n 0 11 24 c8 17 8 29 0 45 -11 19 -20 21 -96 21 l-85 0 0 196 c0 115 -4 203 -10\n 215 -14 26 -66 26 -80 0 -6 -12 -10 -100 -10 -215 l0 -196 -112 0 c-137 0\n-162 10 -166 63 -4 50 114 642 139 694 11 23 30 48 43 56 23 15 285 102 341\n113 l30 6 39 -108 c60 -164 82 -177 211 -125 l70 29 3 -181 c3 -184 7 -207 43\n-207 44 0 49 21 49 211 l0 179 82 -30 c45 -17 93 -30 106 -30 40 0 75 48 111\n153 19 54 40 101 47 104 19 7 292 -76 341 -104 52 -29 70 -61 97 -173 20 -82\n22 -85 52 -88 49 -5 59 15 44 95 -20 110 -46 167 -95 212 -53 49 -68 55 -270\n116 -173 51 -237 79 -274 118 -33 36 -22 65 40 106 118 80 200 210 226 359 15\n88 25 112 48 112 6 0 30 13 52 29 56 41 82 106 64 165 -7 22 -18 113 -26 201\n-15 185 -35 255 -101 361 -123 198 -355 325 -589 323 -44 -1 -100 -5 -124 -10z\nm-18 -579 c126 -9 402 1 450 16 25 8 47 -13 47 -45 0 -51 31 -120 73 -162 l42\n-42 -1 -161 c-1 -241 -32 -333 -145 -441 -67 -64 -158 -111 -249 -127 -175\n-30 -384 72 -468 230 -51 95 -62 156 -62 340 l0 163 30 26 c37 31 66 85 80\n150 16 73 18 76 44 69 13 -3 85 -10 159 -16z m152 -1055 c50 0 107 4 128 8 28\n6 37 5 37 -5 0 -17 -169 -234 -178 -229 -16 9 -162 219 -162 233 0 6 16 7 43\n1 23 -4 83 -8 132 -8z m-95 -288 c0 -4 -19 -16 -42 -26 -87 -37 -80 -42 -118\n70 l-35 101 29 24 28 25 69 -93 c37 -51 68 -97 69 -101z m363 161 c17 -13 17\n-18 -18 -113 -19 -54 -37 -100 -39 -102 -4 -5 -118 37 -130 47 -4 5 25 51 65\n103 77 98 77 98 122 65z"],["d","M3536 1607 c-14 -20 -12 -37 15 -172 53 -263 55 -259 -126 -263\nl-125 -4 0 204 c0 112 -4 209 -9 216 -5 8 -22 12 -42 10 l-34 -3 -3 -212 -2\n-213 -398 0 c-419 0 -422 0 -422 -45 0 -46 -7 -45 600 -45 541 0 577 1 610 19\n47 25 71 60 77 113 7 57 -53 376 -75 401 -21 24 -49 21 -66 -6z"],[1,"menu__items_item_svg_span"],["class","menu__responsie",3,"click",4,"ngIf"],[1,"menu__responsive_block"],[1,"logo_responsive1",3,"routerLink"],[1,"menu__responsive_block_item_close",3,"click"],["id","btn_close","xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#000000"],["d","M0 0h24v24H0V0z","fill","none"],["d","M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"],[1,"menu__responsive_block_items",3,"routerLink","click"],[1,"menu__responsive_block_items"],["href","https://www.lafranquicia.es/franquicia/bogati-helados/","target","_blank",2,"text-decoration","none","color","#fff","cursor","pointer"],[1,"footer__icons"],["xmlns","http://www.w3.org/2000/svg","width","24","height","24","viewBox","0 0 24 24",2,"fill","#673d10"],["d","M12.001 2.002c-5.522 0-9.999 4.477-9.999 9.999 0 4.99 3.656 9.126 8.437 9.879v-6.988h-2.54v-2.891h2.54V9.798c0-2.508 1.493-3.891 3.776-3.891 1.094 0 2.24.195 2.24.195v2.459h-1.264c-1.24 0-1.628.772-1.628 1.563v1.875h2.771l-.443 2.891h-2.328v6.988C18.344 21.129 22 16.992 22 12.001c0-5.522-4.477-9.999-9.999-9.999z"],["d","M11.999 7.377a4.623 4.623 0 1 0 0 9.248 4.623 4.623 0 0 0 0-9.248zm0 7.627a3.004 3.004 0 1 1 0-6.008 3.004 3.004 0 0 1 0 6.008z"],["cx","16.806","cy","7.207","r","1.078"],["d","M20.533 6.111A4.605 4.605 0 0 0 17.9 3.479a6.606 6.606 0 0 0-2.186-.42c-.963-.042-1.268-.054-3.71-.054s-2.755 0-3.71.054a6.554 6.554 0 0 0-2.184.42 4.6 4.6 0 0 0-2.633 2.632 6.585 6.585 0 0 0-.419 2.186c-.043.962-.056 1.267-.056 3.71 0 2.442 0 2.753.056 3.71.015.748.156 1.486.419 2.187a4.61 4.61 0 0 0 2.634 2.632 6.584 6.584 0 0 0 2.185.45c.963.042 1.268.055 3.71.055s2.755 0 3.71-.055a6.615 6.615 0 0 0 2.186-.419 4.613 4.613 0 0 0 2.633-2.633c.263-.7.404-1.438.419-2.186.043-.962.056-1.267.056-3.71s0-2.753-.056-3.71a6.581 6.581 0 0 0-.421-2.217zm-1.218 9.532a5.043 5.043 0 0 1-.311 1.688 2.987 2.987 0 0 1-1.712 1.711 4.985 4.985 0 0 1-1.67.311c-.95.044-1.218.055-3.654.055-2.438 0-2.687 0-3.655-.055a4.96 4.96 0 0 1-1.669-.311 2.985 2.985 0 0 1-1.719-1.711 5.08 5.08 0 0 1-.311-1.669c-.043-.95-.053-1.218-.053-3.654 0-2.437 0-2.686.053-3.655a5.038 5.038 0 0 1 .311-1.687c.305-.789.93-1.41 1.719-1.712a5.01 5.01 0 0 1 1.669-.311c.951-.043 1.218-.055 3.655-.055s2.687 0 3.654.055a4.96 4.96 0 0 1 1.67.311 2.991 2.991 0 0 1 1.712 1.712 5.08 5.08 0 0 1 .311 1.669c.043.951.054 1.218.054 3.655 0 2.436 0 2.698-.043 3.654h-.011z"],["d","M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64 2.93 2.93 0 0 1 .88.13V9.4a6.84 6.84 0 0 0-1-.05A6.33 6.33 0 0 0 5 20.1a6.34 6.34 0 0 0 10.86-4.43v-7a8.16 8.16 0 0 0 4.77 1.52v-3.4a4.85 4.85 0 0 1-1-.1z"],["d","M19.633 7.997c.013.175.013.349.013.523 0 5.325-4.053 11.461-11.46 11.461-2.282 0-4.402-.661-6.186-1.809.324.037.636.05.973.05a8.07 8.07 0 0 0 5.001-1.721 4.036 4.036 0 0 1-3.767-2.793c.249.037.499.062.761.062.361 0 .724-.05 1.061-.137a4.027 4.027 0 0 1-3.23-3.953v-.05c.537.299 1.16.486 1.82.511a4.022 4.022 0 0 1-1.796-3.354c0-.748.199-1.434.548-2.032a11.457 11.457 0 0 0 8.306 4.215c-.062-.3-.1-.611-.1-.923a4.026 4.026 0 0 1 4.028-4.028c1.16 0 2.207.486 2.943 1.272a7.957 7.957 0 0 0 2.556-.973 4.02 4.02 0 0 1-1.771 2.22 8.073 8.073 0 0 0 2.319-.624 8.645 8.645 0 0 1-2.019 2.083z"],[1,"menu__responsie",3,"click"],["id","btn_open","xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#000000"],["d","M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z"]],template:function(e,i){1&e&&(l(0,"header",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div")(5,"a",4),R(),l(6,"svg",5),h(7,"path",6),c()(),q(),l(8,"a",7),R(),l(9,"svg",5),h(10,"path",8),c()(),q(),l(11,"a",9),R(),l(12,"svg",5),h(13,"path",10),c()(),q(),l(14,"a",11),R(),l(15,"svg",12),h(16,"path",13)(17,"path",14),c()(),q(),l(18,"a",15),R(),l(19,"svg",12),h(20,"path",16),c()(),q(),l(21,"a",17),R(),l(22,"svg",18),h(23,"path",19),c()()()()(),q(),l(24,"div",20),h(25,"img",21),c(),l(26,"div",22)(27,"div",23)(28,"p"),d(29,"Inicio"),c()(),h(30,"div",24),l(31,"div",23)(32,"p"),d(33,"Men\xfa"),c()(),l(34,"div",25)(35,"p",26),d(36,"Tiendas"),c()(),h(37,"img",27),l(38,"div",28)(39,"p",29),D("click",function(){return i.menuFranquicias()}),d(40," Franquicias"),R(),l(41,"svg",30),h(42,"path",31),c()(),q(),l(43,"ul",32)(44,"li")(45,"a",26),d(46,"Ecuador"),c()(),l(47,"li")(48,"a",33),d(49,"Espa\xf1a"),c()(),l(50,"li")(51,"a",26),d(52,"EE.UU"),c()()()(),l(53,"div",3)(54,"div",23)(55,"p"),d(56,"Trabaja con nosotros"),c()()(),l(57,"div",34)(58,"p",29),D("click",function(){return i.menuNosotros()}),d(59," Descubre"),R(),l(60,"svg",30),h(61,"path",31),c()(),q(),l(62,"ul",35)(63,"li")(64,"a",36),d(65,"Podcast"),c()(),l(66,"li")(67,"a",26),d(68,"Noticias"),c()(),l(69,"li")(70,"a",26),d(71,"Nosotros"),c()()()()(),l(72,"div",37)(73,"div",38),D("click",function(){return i.loginActive()}),R(),l(74,"svg",39)(75,"g",40),h(76,"path",41)(77,"path",42)(78,"path",43)(79,"path",44),c()(),q(),l(80,"span",45),d(81," Login "),c()()(),C(82,YZ,4,0,"div",46),c()(),l(83,"div",47),h(84,"div",48)(85,"br"),l(86,"div",49),D("click",function(){return i.cerrarMenu()}),R(),l(87,"svg",50),h(88,"path",51)(89,"path",52),c()(),q(),l(90,"div",53),D("click",function(){return i.recargar("inicio"),i.cerrarMenu()}),l(91,"p"),d(92,"Inicio"),c()(),l(93,"div",53),D("click",function(){return i.recargar("heladeria"),i.cerrarMenu()}),l(94,"p"),d(95,"Men\xfa"),c()(),l(96,"div",53),D("click",function(){return i.recargar("tiendas"),i.cerrarMenu()}),l(97,"p"),d(98,"Tiendas"),c()(),l(99,"div",54)(100,"a",55),d(101," Franquicias Espa\xf1a "),c()(),l(102,"div",53),D("click",function(){return i.recargar("franquicias"),i.cerrarMenu()}),l(103,"p"),d(104,"Franquicias"),c()(),l(105,"div",53),D("click",function(){return i.recargar("trabajaconnosotros"),i.cerrarMenu()}),l(106,"p"),d(107,"Trabaja Con Nosotros"),c()(),l(108,"div",53),D("click",function(){return i.recargar("blog"),i.cerrarMenu()}),l(109,"p"),d(110,"Noticias"),c()(),l(111,"div",53),D("click",function(){return i.recargar("login"),i.cerrarMenu()}),l(112,"p"),d(113,"Login"),c()(),l(114,"div",56)(115,"a",7),R(),l(116,"svg",57),h(117,"path",58),c()(),q(),l(118,"a",4),R(),l(119,"svg",57),h(120,"path",59)(121,"circle",60)(122,"path",61),c()(),q(),l(123,"a",11),R(),l(124,"svg",57),h(125,"path",62),c()(),q(),l(126,"a",11),R(),l(127,"svg",57),h(128,"path",63),c()()()()),2&e&&(m(24),v("routerLink",O(21,Jc)),m(3),v("routerLink",O(22,Jc)),m(4),v("routerLink",O(23,EI)),m(4),v("routerLink",O(24,TI)),m(2),v("routerLink",O(25,Jc)),m(8),v("routerLink",O(26,p1)),m(6),v("routerLink",O(27,p1)),m(3),v("routerLink",O(28,SI)),m(13),v("routerLink",O(29,MI)),m(3),v("routerLink",O(30,QZ)),m(12),v("ngIf",!i.menuAbierto),m(1),oe("menu__responsive_block--show",i.menuAbierto),m(1),v("routerLink",O(31,Jc)),m(6),v("routerLink",O(32,Jc)),m(3),v("routerLink",O(33,EI)),m(3),v("routerLink",O(34,TI)),m(6),v("routerLink",O(35,p1)),m(3),v("routerLink",O(36,SI)),m(3),v("routerLink",O(37,MI)),m(3),v("routerLink",O(38,KZ)))},directives:[Xe,Hd,Ye],styles:[""]}),t})();const ZZ=function(){return["/tiendas"]},JZ=function(){return["/historia"]},XZ=function(){return["/queofrecemos"]},eJ=function(){return["/ods"]},II=function(){return["/heladeria"]},tJ=function(){return["/franquicias"]},nJ=function(){return["/blog"]},iJ=function(){return["/terminos"]},oJ=function(){return["/politicas"]};let Ee=(()=>{class t{constructor(){}ngOnInit(){}scrollToElement(){window.scroll({top:0,left:0,behavior:"smooth"})}canalbogatiplay(){const i=window.open("https://www.youtube.com/@bogatiplay","_blank");null==i||i.focus()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-footer"]],decls:62,vars:20,consts:[[1,"footer"],[1,"footer__container"],[1,"row"],[1,"col-sm-1"],[1,"col-sm-4"],[1,"footer_vertical"],["src","../../../assets/img/Logo-Bogati.png","alt","Bogati",1,"img_footer",2,"width","180px","height","60px"],[1,"footer_iconos"],["href","https://www.facebook.com/bogati.ec/","target","_blank"],["src","../../../assets/img/footer-facebook.png","alt","Bogati"],["href","https://www.instagram.com/bogati.ec/","target","_blank"],["src","../../../assets/img/footer-Insta.png","alt","Bogati"],["href","https://www.tiktok.com/@bogati.ec?lang=es","target","_blank"],["src","../../../assets/img/footer-Tik-tok.png","alt","Bogati"],["href","https://www.youtube.com/channel/UC4v9l7mql_EhEFHBJoCsnng","target","_blank"],["src","../../../assets/img/footer-Youtube.png","alt","Bogati"],["href","https://twitter.com/bogati_ec","target","_blank"],["src","../../../assets/img/footer-X.png","alt","Bogati"],["href","https://www.linkedin.com/company/bogati-sabor-adictivo-sas/","target","_blank"],["src","../../../assets/img/footer-LinkedIn.png","alt","Bogati"],["href","https://api.whatsapp.com/send?phone=593994150341","target","_blank"],["src","../../../assets/img/Atencio\u0301n-al-clienteWhatsapp.png","alt","Atencion al cliente bogati",2,"width","175px","height","60px"],[1,"col-sm-2"],[2,"margin-top","10px"],[3,"routerLink"],[3,"click"],[1,"footer__copy"],["id","p0"],["id","p1",2,"cursor","pointer",3,"routerLink"],[2,"cursor","pointer",3,"routerLink"]],template:function(e,i){1&e&&(l(0,"footer",0)(1,"div",1)(2,"div",2),h(3,"div",3),l(4,"div",4)(5,"div",5),h(6,"img",6),l(7,"div",5)(8,"div",7)(9,"a",8),h(10,"img",9),c(),l(11,"a",10),h(12,"img",11),c(),l(13,"a",12),h(14,"img",13),c(),l(15,"a",14),h(16,"img",15),c(),l(17,"a",16),h(18,"img",17),c(),l(19,"a",18),h(20,"img",19),c()(),l(21,"a",20),h(22,"img",21),c()()()(),l(23,"div",22)(24,"div",5)(25,"h4",23),d(26,"Nosotros"),c(),l(27,"p",24),d(28,"Tiendas"),c(),l(29,"p",24),d(30,"Nuestra Historia"),c(),l(31,"p",24),d(32,"\xbfQu\xe9 ofrecemos?"),c(),l(33,"p",24),d(34,"ODS"),c()()(),l(35,"div",22)(36,"div",5)(37,"h4",23),d(38,"Productos"),c(),l(39,"p",24),d(40,"Helader\xeda"),c(),l(41,"p",24),d(42,"Cafeter\xeda"),c()()(),l(43,"div",22)(44,"div",5)(45,"h4",23),d(46,"Bogati"),c(),l(47,"p",25),D("click",function(){return i.canalbogatiplay()}),d(48," De lado Hablamos"),c(),l(49,"p",24),d(50,"\xbfTe imaginas tener un BOGATI?"),c(),l(51,"p",24),d(52,"Noticias"),c()()()()(),l(53,"div",26)(54,"p",27),d(55,"\xa9Bogati Sabor Adictivo S.A.S "),l(56,"b"),d(57,"2025"),c()(),l(58,"p",28),d(59,"T\xe9rminos y Condiciones"),c(),l(60,"p",29),d(61,"Pol\xedticas de privacidad"),c()()()),2&e&&(m(27),v("routerLink",O(10,ZZ)),m(2),v("routerLink",O(11,JZ)),m(2),v("routerLink",O(12,XZ)),m(2),v("routerLink",O(13,eJ)),m(6),v("routerLink",O(14,II)),m(2),v("routerLink",O(15,II)),m(8),v("routerLink",O(16,tJ)),m(2),v("routerLink",O(17,nJ)),m(7),v("routerLink",O(18,iJ)),m(2),v("routerLink",O(19,oJ)))},directives:[Xe],styles:[""]}),t})();function sJ(t,n){1&t&&(l(0,"div",19)(1,"div",20),h(2,"img",21),c()())}const rJ=function(){return["/login"]};let aJ=(()=>{class t{constructor(){}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-bogatiplay"]],decls:56,vars:2,consts:[[1,"fondo"],[1,"inicio"],["ngbSlide",""],[2,"width","90%","margin","0 auto"],[1,"titulos",2,"text-align","center","margin","0","font-size","45px"],[1,"subtitulo",2,"text-align","center"],[1,"seccion_franja"],[1,"titulos",2,"font-size","50px"],[1,"bogati__play"],[1,"bogati__play_video"],["width","100%","height","100%","src","https://www.youtube.com/embed/GWMoGh4gQkc","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],[2,"margin","0 auto","text-align","center","font-size","25px","color","#673D10"],[2,"margin","20px 0 0 0","text-align","center","font-size","25px","color","#673D10"],["width","100%","height","100%","src","https://www.youtube.com/embed/bRoboJQuf4s","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],[2,"width","100%","text-align","center","margin","10px 0"],[1,"button_cafe",3,"routerLink"],["version","1.0","xmlns","http://www.w3.org/2000/svg","width","30px","height","30px","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#fff","stroke","none"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[1,"picsum-img-wrapper"],[1,"img__carousel"],["src","../../../assets/img/galeria/Portada--Bogati-play.jpg","alt","Bogati Sabor Adictivo"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div")(4,"ngb-carousel"),C(5,sJ,3,0,"ng-template",2),c()()(),h(6,"br")(7,"br"),l(8,"div",3)(9,"div",4),d(10," Atr\xe9vete a ser parte de nuestras aventuras, historias y experiencias vividas en Bogati. "),c()(),l(11,"div",3)(12,"div",5),d(13," Vamos m\xe1s all\xe1 a cada rinc\xf3n del Ecuador, con Bogati Play conocer\xe1s cada una de las experiencias vividas en cada ciudad. "),c()(),h(14,"br"),l(15,"div",6)(16,"div",7),d(17," BOGATI EN MI CIUDAD "),c()(),h(18,"br"),l(19,"div",8)(20,"div",9),h(21,"iframe",10),l(22,"p",11),d(23," Bogati en Machachi"),c()(),l(24,"div",9),h(25,"iframe",10),l(26,"p",12),d(27," Bogati en Ibarra"),c()()(),h(28,"br")(29,"br"),l(30,"div",6)(31,"div",7),d(32," PIJAMADA EN 30 MIN "),c()(),h(33,"br"),l(34,"div",8)(35,"div",9),h(36,"iframe",13),l(37,"p",12),d(38," Los Ex`s"),c()(),l(39,"div",9),h(40,"iframe",10),l(41,"p",12),d(42," El muralff"),c()()(),h(43,"br")(44,"br"),l(45,"div",4),d(46," \xbfquieres ser parte de bogati play? "),c(),l(47,"div",14)(48,"span",15),d(49," Reg\xedstrate aqu\xed "),R(),l(50,"svg",16)(51,"g",17),h(52,"path",18),c()()()(),q(),h(53,"br")(54,"br"),c(),h(55,"app-footer")),2&e&&(m(48),v("routerLink",O(1,rJ)))},directives:[ye,At,kt,Xe,Ee],styles:[""]}),t})();function lJ(t,n){1&t&&(l(0,"div",16)(1,"div",17),h(2,"img",18),c()())}let cJ=(()=>{class t{constructor(){}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-faqs"]],decls:97,vars:0,consts:[[1,"fondo"],[1,"inicio"],["ngbSlide",""],[1,"row"],[1,"col-sm-1"],[1,"col-sm-5"],["src","../../../assets/img/faqs/iconos.png","alt","Bogati S.A.S",2,"width","100%","height","auto"],[1,"titulos",2,"text-align","center","margin","0"],[2,"margin","0 auto","text-align","center","font-size","20px","padding","10px 20px"],[1,"seccion_franja"],[1,"titulos",2,"font-size","40px","text-align","left"],[1,"seccion_faqs"],["src","../../../assets/img/faqs/boton-mas.png","alt","",2,"width","50px","height","50px","object-fit","contain"],[1,"seccion_faqs_texto"],[1,"subtitulo"],[1,"parrafos"],[1,"picsum-img-wrapper"],[1,"img__carousel"],["src","../../../assets/img/faqs/Portada-preguntanos.png"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div")(4,"ngb-carousel"),C(5,lJ,3,0,"ng-template",2),c()()(),h(6,"br"),l(7,"div",1)(8,"div",3),h(9,"div",4),l(10,"div",5),h(11,"img",6),c(),l(12,"div",5)(13,"div",7),d(14," ACLARAMOS TODAS TUS DUDAS "),c(),l(15,"p",8),d(16," Nos gusta hacer el postre de helado con la combinaci\xf3n m\xe1s adictiva de crema y queso. As\xed como tambien nos gusta que conozcas un poco mas de nuestros productos y servicios. "),c()(),h(17,"div",4),c()(),l(18,"div",9)(19,"div",10),d(20," NUESTROS HELADOS "),c()(),h(21,"br"),l(22,"div",11),h(23,"img",12),l(24,"div",13)(25,"div",14),d(26," \xbfTu helado se crea utlizando conservantes o modificadores de sabor? "),c(),l(27,"div",15),d(28," Tomamos muy en serio las bondades de las frutas y la salud de nuestros consumidores. Todos nuestros helados son elaborados con ingredientes naturales, libres de conservantes, preservantes y modificadores de sabor "),c()()(),l(29,"div",11),h(30,"img",12),l(31,"div",13)(32,"div",14),d(33," \xbfAlgunos de tus sabores contiene colorantes? "),c(),l(34,"div",15),d(35," Nos gusta lo natural, todos y cada uno de nuestros sabores de helado est\xe1n libres de colorantes para garantizar sabores buenos por dentro y buenos por fuera. "),c()()(),l(36,"div",11),h(37,"img",12),l(38,"div",13)(39,"div",14),d(40," \xbfSon elaborados con fruta natural? "),c(),l(41,"div",15),d(42," Pensamos que natural siempre es mejor, todas las frutas que usamos en nuestros productos son 100% naturales cosechadas y procesadas por manos ecuatorianas. "),c()()(),l(43,"div",11),h(44,"img",12),l(45,"div",13)(46,"div",14),d(47," \xbfC\xfaanto dura el helado en el congelador? "),c(),l(48,"div",15),d(49," Quisi\xe9ramos que el sabor adictivo de nuestro helado sea eterno pero por ser totalmente naturales, el tiempo de vida dentro del congelador es de 2 meses. "),c()()(),h(50,"br"),l(51,"div",9)(52,"div",10),d(53," NUESTROS INGREDIENTES "),c()(),h(54,"br"),l(55,"div",11),h(56,"img",12),l(57,"div",13)(58,"div",14),d(59," \xbfD\xf3nde se produce tu materia prima? "),c(),l(60,"div",15),d(61," Bogati se caracteriza por emplear materia prima nativa, es decir, agricultores y proveedores de cada localidad a lo largo del pais son quienes nos abastecen de materia prima fresca y natural. "),c()()(),l(62,"div",11),h(63,"img",12),l(64,"div",13)(65,"div",14),d(66," \xbfSus helados son fabricados artesanalmente? "),c(),l(67,"div",15),d(68," Ibarra es nuestra planta de producci\xf3n que se encarga de elaborar a diario mas de 5000 litros de helado a diario, son elaborados por personas que se est\xe1n reincorporando a la sociedad, personas con discapacidad y compatriotas que baten a mano el helado en 3 turnos de trabajo diferentes. "),c()()(),l(69,"div",11),h(70,"img",12),l(71,"div",13)(72,"div",14),d(73," \xbfA qu\xe9 se debe la frescura de sus productos? "),c(),l(74,"div",15),d(75," Ofrecer productos frescos, naturales y deliciosos es nuestra principal misi\xf3n. Desde el helado hasta nuestros productos de cafeter\xeda son 100% frescos, los preparamos al momento de que el cliente realiza su pedido. "),c()()(),h(76,"br"),l(77,"div",9)(78,"div",10),d(79," INFORMACI\xd3N IMPORTANTE "),c()(),h(80,"br"),l(81,"div",11),h(82,"img",12),l(83,"div",13)(84,"div",14),d(85," Sufro de alergias severas. Si tu helado contiene frutas a las cu\xe1les le soy al\xe9rgico. \xbfQu\xe9 debo hacer? "),c(),l(86,"div",15),d(87," Tu salud es nuestra prioridad, si sufres de alguna alerg\xeda, pregunta por el contenido de los productos a nuestros colaboradores de cada local, despejaremos tus dudas con gusto. "),c()()(),l(88,"div",11),h(89,"img",12),l(90,"div",13)(91,"div",14),d(92," \xbfTus productos contienen lactosa? "),c(),l(93,"div",15),d(94," Siempre pensamos en ti, nuestra crema y queso contienen lactosa, pero no te preocupes, si eres intolerante a la lactosa tenemos m\xe1s opciones a tu disposi\xf3n. Tenemos combinaciones sin queso y crema como nuestra copa Duo, Fresas con Nutella y varias opciones m\xe1s "),c()()(),h(95,"br"),c(),h(96,"app-footer"))},directives:[ye,At,kt,Ee],styles:[""]}),t})();function uJ(t,n){1&t&&(l(0,"div",7)(1,"a",8)(2,"div",9),h(3,"img",10),c()()())}let dJ=(()=>{class t{constructor(e,i){this._banner=e,this.dialog=i}ngOnInit(){}banner(){this._banner.getBanner().subscribe(e=>{1!=e[0].activo_banner&&this.dialog.open(Dp,{width:"auto",height:"auto",panelClass:"panel__container"}).afterClosed().subscribe(o=>{})})}}return t.\u0275fac=function(e){return new(e||t)(_(jc),_(ui))},t.\u0275cmp=N({type:t,selectors:[["app-fiestas"]],decls:15,vars:0,consts:[[1,"fondo"],[1,"inicio"],["ngbSlide",""],["src","../../../assets/img/fiesta/1.jpg","width","100%","height","100%"],["src","../../../assets/img/fiesta/2.jpg","width","100%","height","100%"],["src","../../../assets/img/fiesta/3.jpg","width","100%","height","100%"],["src","../../../assets/img/fiesta/4.jpg","width","100%","height","100%"],[1,"picsum-img-wrapper"],["href","https://bogati.ec/APIBOGATI/imagenes/fiestas.pdf","target","_blank"],[1,"img__carousel"],["src","../../../assets/img/fiesta/descarga.jpg","alt","Random first slide"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div")(4,"ngb-carousel"),C(5,uJ,4,0,"ng-template",2),c()(),l(6,"div"),h(7,"img",3),c(),l(8,"div"),h(9,"img",4),c(),l(10,"div"),h(11,"img",5),c(),l(12,"div"),h(13,"img",6),c()()(),h(14,"app-footer"))},directives:[ye,At,kt,Ee],styles:["body[_ngcontent-%COMP%]{background-color:#000;font-family:Arial,sans-serif}"]}),t})();const AI=["*"];let Nn=(()=>{class t{}return t.STARTS_WITH="startsWith",t.CONTAINS="contains",t.NOT_CONTAINS="notContains",t.ENDS_WITH="endsWith",t.EQUALS="equals",t.NOT_EQUALS="notEquals",t.IN="in",t.LESS_THAN="lt",t.LESS_THAN_OR_EQUAL_TO="lte",t.GREATER_THAN="gt",t.GREATER_THAN_OR_EQUAL_TO="gte",t.BETWEEN="between",t.IS="is",t.IS_NOT="isNot",t.BEFORE="before",t.AFTER="after",t.DATE_IS="dateIs",t.DATE_IS_NOT="dateIsNot",t.DATE_BEFORE="dateBefore",t.DATE_AFTER="dateAfter",t})(),hJ=(()=>{class t{constructor(){this.ripple=!1,this.filterMatchModeOptions={text:[Nn.STARTS_WITH,Nn.CONTAINS,Nn.NOT_CONTAINS,Nn.ENDS_WITH,Nn.EQUALS,Nn.NOT_EQUALS],numeric:[Nn.EQUALS,Nn.NOT_EQUALS,Nn.LESS_THAN,Nn.LESS_THAN_OR_EQUAL_TO,Nn.GREATER_THAN,Nn.GREATER_THAN_OR_EQUAL_TO],date:[Nn.DATE_IS,Nn.DATE_IS_NOT,Nn.DATE_BEFORE,Nn.DATE_AFTER]},this.translation={startsWith:"Starts with",contains:"Contains",notContains:"Not contains",endsWith:"Ends with",equals:"Equals",notEquals:"Not equals",noFilter:"No Filter",lt:"Less than",lte:"Less than or equal to",gt:"Greater than",gte:"Greater than or equal to",is:"Is",isNot:"Is not",before:"Before",after:"After",dateIs:"Date is",dateIsNot:"Date is not",dateBefore:"Date is before",dateAfter:"Date is after",clear:"Clear",apply:"Apply",matchAll:"Match All",matchAny:"Match Any",addRule:"Add Rule",removeRule:"Remove Rule",accept:"Yes",reject:"No",choose:"Choose",upload:"Upload",cancel:"Cancel",dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dateFormat:"mm/dd/yy",firstDayOfWeek:0,today:"Today",weekHeader:"Wk",weak:"Weak",medium:"Medium",strong:"Strong",passwordPrompt:"Enter a password",emptyMessage:"No results found",emptyFilterMessage:"No results found"},this.zIndex={modal:1100,overlay:1e3,menu:1e3,tooltip:1100},this.translationSource=new $,this.translationObserver=this.translationSource.asObservable()}getTranslation(e){return this.translation[e]}setTranslation(e){this.translation=Object.assign(Object.assign({},this.translation),e),this.translationSource.next(this.translation)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),pJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["p-header"]],ngContentSelectors:AI,decls:1,vars:0,template:function(e,i){1&e&&(rn(),nt(0))},encapsulation:2}),t})(),fJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["p-footer"]],ngContentSelectors:AI,decls:1,vars:0,template:function(e,i){1&e&&(rn(),nt(0))},encapsulation:2}),t})(),Ep=(()=>{class t{constructor(e){this.template=e}getType(){return this.name}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["","pTemplate",""]],inputs:{type:"type",name:["pTemplate","name"]}}),t})(),f1=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it]]}),t})(),fi=(()=>{class t{static addClass(e,i){e.classList?e.classList.add(i):e.className+=" "+i}static addMultipleClasses(e,i){if(e.classList){let o=i.trim().split(" ");for(let s=0;sa.height?(u=-1*o.height,e.style.transformOrigin="bottom",r.top+u<0&&(u=-1*r.top)):(u=s,e.style.transformOrigin="top"),p=o.width>a.width?-1*r.left:r.left+o.width>a.width?-1*(r.left+o.width-a.width):0,e.style.top=u+"px",e.style.left=p+"px"}static absolutePosition(e,i){let y,w,o=e.offsetParent?{width:e.offsetWidth,height:e.offsetHeight}:this.getHiddenElementDimensions(e),s=o.height,r=o.width,a=i.offsetHeight,u=i.offsetWidth,p=i.getBoundingClientRect(),f=this.getWindowScrollTop(),g=this.getWindowScrollLeft(),b=this.getViewport();p.top+a+s>b.height?(y=p.top+f-s,e.style.transformOrigin="bottom",y<0&&(y=f)):(y=a+p.top+f,e.style.transformOrigin="top"),w=p.left+r>b.width?Math.max(0,p.left+g+u-r):p.left+g,e.style.top=y+"px",e.style.left=w+"px"}static getParents(e,i=[]){return null===e.parentNode?i:this.getParents(e.parentNode,i.concat([e.parentNode]))}static getScrollableParents(e){let i=[];if(e){let o=this.getParents(e);const s=/(auto|scroll)/,r=a=>{let u=window.getComputedStyle(a,null);return s.test(u.getPropertyValue("overflow"))||s.test(u.getPropertyValue("overflowX"))||s.test(u.getPropertyValue("overflowY"))};for(let a of o){let u=1===a.nodeType&&a.dataset.scrollselectors;if(u){let p=u.split(",");for(let f of p){let g=this.findSingle(a,f);g&&r(g)&&i.push(g)}}9!==a.nodeType&&r(a)&&i.push(a)}}return i}static getHiddenElementOuterHeight(e){e.style.visibility="hidden",e.style.display="block";let i=e.offsetHeight;return e.style.display="none",e.style.visibility="visible",i}static getHiddenElementOuterWidth(e){e.style.visibility="hidden",e.style.display="block";let i=e.offsetWidth;return e.style.display="none",e.style.visibility="visible",i}static getHiddenElementDimensions(e){let i={};return e.style.visibility="hidden",e.style.display="block",i.width=e.offsetWidth,i.height=e.offsetHeight,e.style.display="none",e.style.visibility="visible",i}static scrollInView(e,i){let o=getComputedStyle(e).getPropertyValue("borderTopWidth"),s=o?parseFloat(o):0,r=getComputedStyle(e).getPropertyValue("paddingTop"),a=r?parseFloat(r):0,u=e.getBoundingClientRect(),f=i.getBoundingClientRect().top+document.body.scrollTop-(u.top+document.body.scrollTop)-s-a,g=e.scrollTop,b=e.clientHeight,y=this.getOuterHeight(i);f<0?e.scrollTop=g+f:f+y>b&&(e.scrollTop=g+f-b+y)}static fadeIn(e,i){e.style.opacity=0;let o=+new Date,s=0,r=function(){s=+e.style.opacity.replace(",",".")+((new Date).getTime()-o)/i,e.style.opacity=s,o=+new Date,+s<1&&(window.requestAnimationFrame&&requestAnimationFrame(r)||setTimeout(r,16))};r()}static fadeOut(e,i){var o=1,a=50/i;let u=setInterval(()=>{(o-=a)<=0&&(o=0,clearInterval(u)),e.style.opacity=o},50)}static getWindowScrollTop(){let e=document.documentElement;return(window.pageYOffset||e.scrollTop)-(e.clientTop||0)}static getWindowScrollLeft(){let e=document.documentElement;return(window.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}static matches(e,i){var o=Element.prototype;return(o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.msMatchesSelector||function(r){return-1!==[].indexOf.call(document.querySelectorAll(r),this)}).call(e,i)}static getOuterWidth(e,i){let o=e.offsetWidth;if(i){let s=getComputedStyle(e);o+=parseFloat(s.marginLeft)+parseFloat(s.marginRight)}return o}static getHorizontalPadding(e){let i=getComputedStyle(e);return parseFloat(i.paddingLeft)+parseFloat(i.paddingRight)}static getHorizontalMargin(e){let i=getComputedStyle(e);return parseFloat(i.marginLeft)+parseFloat(i.marginRight)}static innerWidth(e){let i=e.offsetWidth,o=getComputedStyle(e);return i+=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),i}static width(e){let i=e.offsetWidth,o=getComputedStyle(e);return i-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight),i}static getInnerHeight(e){let i=e.offsetHeight,o=getComputedStyle(e);return i+=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom),i}static getOuterHeight(e,i){let o=e.offsetHeight;if(i){let s=getComputedStyle(e);o+=parseFloat(s.marginTop)+parseFloat(s.marginBottom)}return o}static getHeight(e){let i=e.offsetHeight,o=getComputedStyle(e);return i-=parseFloat(o.paddingTop)+parseFloat(o.paddingBottom)+parseFloat(o.borderTopWidth)+parseFloat(o.borderBottomWidth),i}static getWidth(e){let i=e.offsetWidth,o=getComputedStyle(e);return i-=parseFloat(o.paddingLeft)+parseFloat(o.paddingRight)+parseFloat(o.borderLeftWidth)+parseFloat(o.borderRightWidth),i}static getViewport(){let e=window,i=document,o=i.documentElement,s=i.getElementsByTagName("body")[0];return{width:e.innerWidth||o.clientWidth||s.clientWidth,height:e.innerHeight||o.clientHeight||s.clientHeight}}static getOffset(e){var i=e.getBoundingClientRect();return{top:i.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),left:i.left+(window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0)}}static replaceElementWith(e,i){let o=e.parentNode;if(!o)throw"Can't replace element";return o.replaceChild(i,e)}static getUserAgent(){return navigator.userAgent}static isIE(){var e=window.navigator.userAgent;return e.indexOf("MSIE ")>0||(e.indexOf("Trident/")>0?(e.indexOf("rv:"),!0):e.indexOf("Edge/")>0)}static isIOS(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream}static isAndroid(){return/(android)/i.test(navigator.userAgent)}static isTouchDevice(){return"ontouchstart"in window||navigator.maxTouchPoints>0}static appendChild(e,i){if(this.isElement(i))i.appendChild(e);else{if(!i.el||!i.el.nativeElement)throw"Cannot append "+i+" to "+e;i.el.nativeElement.appendChild(e)}}static removeChild(e,i){if(this.isElement(i))i.removeChild(e);else{if(!i.el||!i.el.nativeElement)throw"Cannot remove "+e+" from "+i;i.el.nativeElement.removeChild(e)}}static removeElement(e){"remove"in Element.prototype?e.remove():e.parentNode.removeChild(e)}static isElement(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName}static calculateScrollbarWidth(e){if(e){let i=getComputedStyle(e);return e.offsetWidth-e.clientWidth-parseFloat(i.borderLeftWidth)-parseFloat(i.borderRightWidth)}{if(null!==this.calculatedScrollbarWidth)return this.calculatedScrollbarWidth;let i=document.createElement("div");i.className="p-scrollbar-measure",document.body.appendChild(i);let o=i.offsetWidth-i.clientWidth;return document.body.removeChild(i),this.calculatedScrollbarWidth=o,o}}static calculateScrollbarHeight(){if(null!==this.calculatedScrollbarHeight)return this.calculatedScrollbarHeight;let e=document.createElement("div");e.className="p-scrollbar-measure",document.body.appendChild(e);let i=e.offsetHeight-e.clientHeight;return document.body.removeChild(e),this.calculatedScrollbarWidth=i,i}static invokeElementMethod(e,i,o){e[i].apply(e,o)}static clearSelection(){if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().rangeCount>0&&window.getSelection().getRangeAt(0).getClientRects().length>0&&window.getSelection().removeAllRanges();else if(document.selection&&document.selection.empty)try{document.selection.empty()}catch(e){}}static getBrowser(){if(!this.browser){let e=this.resolveUserAgent();this.browser={},e.browser&&(this.browser[e.browser]=!0,this.browser.version=e.version),this.browser.chrome?this.browser.webkit=!0:this.browser.webkit&&(this.browser.safari=!0)}return this.browser}static resolveUserAgent(){let e=navigator.userAgent.toLowerCase(),i=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:i[1]||"",version:i[2]||"0"}}static isInteger(e){return Number.isInteger?Number.isInteger(e):"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}static isHidden(e){return null===e.offsetParent}static getFocusableElements(e){let i=t.find(e,'button:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [href][clientHeight][clientWidth]:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n input:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), select:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n textarea:not([tabindex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]), [tabIndex]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]),\n [contenteditable]:not([tabIndex = "-1"]):not([disabled]):not([style*="display:none"]):not([hidden]):not(.p-disabled)'),o=[];for(let s of i)"none"!=getComputedStyle(s).display&&"hidden"!=getComputedStyle(s).visibility&&o.push(s);return o}static generateZIndex(){return this.zindex=this.zindex||999,++this.zindex}}return t.zindex=1e3,t.calculatedScrollbarWidth=null,t.calculatedScrollbarHeight=null,t})(),mJ=(()=>{class t{constructor(e,i,o){this.el=e,this.zone=i,this.config=o}ngAfterViewInit(){this.config&&this.config.ripple&&this.zone.runOutsideAngular(()=>{this.create(),this.mouseDownListener=this.onMouseDown.bind(this),this.el.nativeElement.addEventListener("mousedown",this.mouseDownListener)})}onMouseDown(e){let i=this.getInk();if(!i||"none"===getComputedStyle(i,null).display)return;if(fi.removeClass(i,"p-ink-active"),!fi.getHeight(i)&&!fi.getWidth(i)){let a=Math.max(fi.getOuterWidth(this.el.nativeElement),fi.getOuterHeight(this.el.nativeElement));i.style.height=a+"px",i.style.width=a+"px"}let o=fi.getOffset(this.el.nativeElement),s=e.pageX-o.left+document.body.scrollTop-fi.getWidth(i)/2,r=e.pageY-o.top+document.body.scrollLeft-fi.getHeight(i)/2;i.style.top=r+"px",i.style.left=s+"px",fi.addClass(i,"p-ink-active")}getInk(){for(let e=0;e{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it]]}),t})();var xI=0;!function _J(){let t=[];const o=s=>s&&parseInt(s.style.zIndex,10)||0}();const vJ=["itemsContainer"];function bJ(t,n){1&t&&Cn(0)}function yJ(t,n){if(1&t&&(l(0,"div",11),nt(1),C(2,bJ,1,0,"ng-container",12),c()),2&t){const e=I();m(2),v("ngTemplateOutlet",e.headerTemplate)}}const CJ=function(t){return{"p-carousel-prev p-link":!0,"p-disabled":t}},wJ=function(t,n){return{"p-carousel-prev-icon pi":!0,"pi-chevron-left":t,"pi-chevron-up":n}};function DJ(t,n){if(1&t){const e=Ae();l(0,"button",13),D("click",function(o){return re(e),I().navBackward(o)}),h(1,"span",2),c()}if(2&t){const e=I();v("ngClass",mn(3,CJ,e.isBackwardNavDisabled()))("disabled",e.isBackwardNavDisabled()),m(1),v("ngClass",fo(5,wJ,!e.isVertical(),e.isVertical()))}}function EJ(t,n){1&t&&Cn(0)}const OI=function(t,n,e){return{"p-carousel-item p-carousel-item-cloned":!0,"p-carousel-item-active":t,"p-carousel-item-start":n,"p-carousel-item-end":e}},g1=function(t){return{$implicit:t}};function TJ(t,n){if(1&t&&(l(0,"div",2),C(1,EJ,1,0,"ng-container",14),c()),2&t){const e=n.$implicit,i=n.index,o=I();v("ngClass",Ws(3,OI,-1*o.totalShiftedItems===o.value.length,0===i,o.clonedItemsForStarting.length-1===i)),m(1),v("ngTemplateOutlet",o.itemTemplate)("ngTemplateOutletContext",mn(7,g1,e))}}function SJ(t,n){1&t&&Cn(0)}const MJ=function(t,n,e){return{"p-carousel-item":!0,"p-carousel-item-active":t,"p-carousel-item-start":n,"p-carousel-item-end":e}};function IJ(t,n){if(1&t&&(l(0,"div",2),C(1,SJ,1,0,"ng-container",14),c()),2&t){const e=n.$implicit,i=n.index,o=I();v("ngClass",Ws(3,MJ,o.firstIndex()<=i&&o.lastIndex()>=i,o.firstIndex()===i,o.lastIndex()===i)),m(1),v("ngTemplateOutlet",o.itemTemplate)("ngTemplateOutletContext",mn(7,g1,e))}}function AJ(t,n){1&t&&Cn(0)}function xJ(t,n){if(1&t&&(l(0,"div",2),C(1,AJ,1,0,"ng-container",14),c()),2&t){const e=n.$implicit,i=n.index,o=I();v("ngClass",Ws(3,OI,-1*o.totalShiftedItems===o.numVisible,0===i,o.clonedItemsForFinishing.length-1===i)),m(1),v("ngTemplateOutlet",o.itemTemplate)("ngTemplateOutletContext",mn(7,g1,e))}}const OJ=function(t){return{"p-carousel-next p-link":!0,"p-disabled":t}},NJ=function(t,n){return{"p-carousel-prev-icon pi":!0,"pi-chevron-right":t,"pi-chevron-down":n}};function kJ(t,n){if(1&t){const e=Ae();l(0,"button",13),D("click",function(o){return re(e),I().navForward(o)}),h(1,"span",2),c()}if(2&t){const e=I();v("ngClass",mn(3,OJ,e.isForwardNavDisabled()))("disabled",e.isForwardNavDisabled()),m(1),v("ngClass",fo(5,NJ,!e.isVertical(),e.isVertical()))}}const RJ=function(t){return{"p-carousel-indicator":!0,"p-highlight":t}};function FJ(t,n){if(1&t){const e=Ae();l(0,"li",2)(1,"button",15),D("click",function(o){const r=re(e).index;return I(2).onDotClick(o,r)}),c()()}if(2&t){const e=n.index,i=I(2);v("ngClass",mn(5,RJ,i._page===e)),m(1),ln(i.indicatorStyleClass),v("ngClass","p-link")("ngStyle",i.indicatorStyle)}}function PJ(t,n){if(1&t&&(l(0,"ul",0),C(1,FJ,2,7,"li",8),c()),2&t){const e=I();ln(e.indicatorsContentClass),v("ngClass","p-carousel-indicators p-reset")("ngStyle",e.indicatorsContentStyle),m(1),v("ngForOf",e.totalDotsArray())}}function LJ(t,n){1&t&&Cn(0)}function BJ(t,n){if(1&t&&(l(0,"div",16),nt(1,1),C(2,LJ,1,0,"ng-container",12),c()),2&t){const e=I();m(2),v("ngTemplateOutlet",e.footerTemplate)}}const VJ=[[["p-header"]],[["p-footer"]]],jJ=function(t,n){return{"p-carousel p-component":!0,"p-carousel-vertical":t,"p-carousel-horizontal":n}},HJ=function(t){return{height:t}},UJ=["p-header","p-footer"];let _1=(()=>{class t{constructor(e,i,o){this.el=e,this.zone=i,this.cd=o,this.orientation="horizontal",this.verticalViewPortHeight="300px",this.contentClass="",this.indicatorsContentClass="",this.indicatorStyleClass="",this.circular=!1,this.showIndicators=!0,this.showNavigators=!0,this.autoplayInterval=0,this.onPage=new H,this._numVisible=1,this._numScroll=1,this._oldNumScroll=0,this.prevState={numScroll:0,numVisible:0,value:[]},this.defaultNumScroll=1,this.defaultNumVisible=1,this._page=0,this.isRemainingItemsAdded=!1,this.remainingItems=0,this.swipeThreshold=20,this.totalShiftedItems=this.page*this.numScroll*-1}get page(){return this._page}set page(e){this.isCreated&&e!==this._page&&(this.autoplayInterval&&(this.stopAutoplay(),this.allowAutoplay=!1),e>this._page&&e<=this.totalDots()-1?this.step(-1,e):e{switch(e.getType()){case"item":default:this.itemTemplate=e.template;break;case"header":this.headerTemplate=e.template;break;case"footer":this.footerTemplate=e.template}})}ngAfterContentChecked(){const e=this.isCircular();let i=this.totalShiftedItems;if(this.value&&this.itemsContainer&&(this.prevState.numScroll!==this._numScroll||this.prevState.numVisible!==this._numVisible||this.prevState.value.length!==this.value.length)){this.autoplayInterval&&this.stopAutoplay(),this.remainingItems=(this.value.length-this._numVisible)%this._numScroll;let o=this._page;0!==this.totalDots()&&o>=this.totalDots()&&(o=this.totalDots()-1,this._page=o,this.onPage.emit({page:this.page})),i=o*this._numScroll*-1,e&&(i-=this._numVisible),o===this.totalDots()-1&&this.remainingItems>0?(i+=-1*this.remainingItems+this._numScroll,this.isRemainingItemsAdded=!0):this.isRemainingItemsAdded=!1,i!==this.totalShiftedItems&&(this.totalShiftedItems=i),this._oldNumScroll=this._numScroll,this.prevState.numScroll=this._numScroll,this.prevState.numVisible=this._numVisible,this.prevState.value=[...this._value],this.totalDots()>0&&this.itemsContainer.nativeElement&&(this.itemsContainer.nativeElement.style.transform=this.isVertical()?`translate3d(0, ${i*(100/this._numVisible)}%, 0)`:`translate3d(${i*(100/this._numVisible)}%, 0, 0)`),this.isCreated=!0,this.autoplayInterval&&this.isAutoplay()&&this.startAutoplay()}e&&(0===this.page?i=-1*this._numVisible:0===i&&(i=-1*this.value.length,this.remainingItems>0&&(this.isRemainingItemsAdded=!0)),i!==this.totalShiftedItems&&(this.totalShiftedItems=i))}createStyle(){this.carouselStyle||(this.carouselStyle=document.createElement("style"),this.carouselStyle.type="text/css",document.body.appendChild(this.carouselStyle));let e=`\n #${this.id} .p-carousel-item {\n\t\t\t\tflex: 1 0 ${100/this.numVisible}%\n\t\t\t}\n `;if(this.responsiveOptions){this.responsiveOptions.sort((i,o)=>{const s=i.breakpoint,r=o.breakpoint;let a=null;return a=null==s&&null!=r?-1:null!=s&&null==r?1:null==s&&null==r?0:"string"==typeof s&&"string"==typeof r?s.localeCompare(r,void 0,{numeric:!0}):sr?1:0,-1*a});for(let i=0;i=e&&(i=s)}if(this._numScroll!==i.numScroll){let o=this._page;o=Math.floor(o*this._numScroll/i.numScroll);let s=i.numScroll*this.page*-1;this.isCircular()&&(s-=i.numVisible),this.totalShiftedItems=s,this._numScroll=i.numScroll,this._page=o,this.onPage.emit({page:this.page})}this._numVisible!==i.numVisible&&(this._numVisible=i.numVisible,this.setCloneItems()),this.cd.markForCheck()}}setCloneItems(){this.clonedItemsForStarting=[],this.clonedItemsForFinishing=[],this.isCircular()&&(this.clonedItemsForStarting.push(...this.value.slice(-1*this._numVisible)),this.clonedItemsForFinishing.push(...this.value.slice(0,this._numVisible)))}firstIndex(){return this.isCircular()?-1*(this.totalShiftedItems+this.numVisible):-1*this.totalShiftedItems}lastIndex(){return this.firstIndex()+this.numVisible-1}totalDots(){return this.value?Math.ceil((this.value.length-this._numVisible)/this._numScroll)+1:0}totalDotsArray(){const e=this.totalDots();return e<=0?[]:Array(e).fill(0)}isVertical(){return"vertical"===this.orientation}isCircular(){return this.circular&&this.value&&this.value.length>=this.numVisible}isAutoplay(){return this.autoplayInterval&&this.allowAutoplay}isForwardNavDisabled(){return this.isEmpty()||this._page>=this.totalDots()-1&&!this.isCircular()}isBackwardNavDisabled(){return this.isEmpty()||this._page<=0&&!this.isCircular()}isEmpty(){return!this.value||0===this.value.length}navForward(e,i){(this.isCircular()||this._pageo?this.navForward(e,i):i0&&(o+=-1*this.remainingItems-this._numScroll*e,this.isRemainingItemsAdded=!0),this.itemsContainer&&(this.itemsContainer.nativeElement.style.transform=this.isVertical()?`translate3d(0, ${o*(100/this._numVisible)}%, 0)`:`translate3d(${o*(100/this._numVisible)}%, 0, 0)`,this.itemsContainer.nativeElement.style.transition="transform 500ms ease 0s"),this.totalShiftedItems=o,this._page=i,this.onPage.emit({page:this.page})}startAutoplay(){this.interval=setInterval(()=>{this.totalDots()>0&&(this.page===this.totalDots()-1?this.step(-1,0):this.step(-1,this.page+1))},this.autoplayInterval)}stopAutoplay(){this.interval&&clearInterval(this.interval)}onTransitionEnd(){this.itemsContainer&&(this.itemsContainer.nativeElement.style.transition="",(0===this.page||this.page===this.totalDots()-1)&&this.isCircular()&&(this.itemsContainer.nativeElement.style.transform=this.isVertical()?`translate3d(0, ${this.totalShiftedItems*(100/this._numVisible)}%, 0)`:`translate3d(${this.totalShiftedItems*(100/this._numVisible)}%, 0, 0)`))}onTouchStart(e){let i=e.changedTouches[0];this.startPos={x:i.pageX,y:i.pageY}}onTouchMove(e){e.cancelable&&e.preventDefault()}onTouchEnd(e){let i=e.changedTouches[0];this.isVertical()?this.changePageOnTouch(e,i.pageY-this.startPos.y):this.changePageOnTouch(e,i.pageX-this.startPos.x)}changePageOnTouch(e,i){Math.abs(i)>this.swipeThreshold&&(i<0?this.navForward(e):this.navBackward(e))}bindDocumentListeners(){this.documentResizeListener||(this.documentResizeListener=e=>{this.calculatePosition()},window.addEventListener("resize",this.documentResizeListener))}unbindDocumentListeners(){this.documentResizeListener&&(window.removeEventListener("resize",this.documentResizeListener),this.documentResizeListener=null)}ngOnDestroy(){this.responsiveOptions&&this.unbindDocumentListeners(),this.autoplayInterval&&this.stopAutoplay()}}return t.\u0275fac=function(e){return new(e||t)(_(K),_(se),_(Ke))},t.\u0275cmp=N({type:t,selectors:[["p-carousel"]],contentQueries:function(e,i,o){if(1&e&&(te(o,pJ,5),te(o,fJ,5),te(o,Ep,4)),2&e){let s;F(s=P())&&(i.headerFacet=s.first),F(s=P())&&(i.footerFacet=s.first),F(s=P())&&(i.templates=s)}},viewQuery:function(e,i){if(1&e&&me(vJ,5),2&e){let o;F(o=P())&&(i.itemsContainer=o.first)}},hostAttrs:[1,"p-element"],inputs:{page:"page",numVisible:"numVisible",numScroll:"numScroll",responsiveOptions:"responsiveOptions",orientation:"orientation",verticalViewPortHeight:"verticalViewPortHeight",contentClass:"contentClass",indicatorsContentClass:"indicatorsContentClass",indicatorsContentStyle:"indicatorsContentStyle",indicatorStyleClass:"indicatorStyleClass",indicatorStyle:"indicatorStyle",value:"value",circular:"circular",showIndicators:"showIndicators",showNavigators:"showNavigators",autoplayInterval:"autoplayInterval",style:"style",styleClass:"styleClass"},outputs:{onPage:"onPage"},features:[mt],ngContentSelectors:UJ,decls:14,vars:22,consts:[[3,"ngClass","ngStyle"],["class","p-carousel-header",4,"ngIf"],[3,"ngClass"],[1,"p-carousel-container"],["type","button","pRipple","",3,"ngClass","disabled","click",4,"ngIf"],[1,"p-carousel-items-content",3,"ngStyle"],[1,"p-carousel-items-container",3,"transitionend","touchend","touchstart","touchmove"],["itemsContainer",""],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass","class","ngStyle",4,"ngIf"],["class","p-carousel-footer",4,"ngIf"],[1,"p-carousel-header"],[4,"ngTemplateOutlet"],["type","button","pRipple","",3,"ngClass","disabled","click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["type","button",3,"ngClass","ngStyle","click"],[1,"p-carousel-footer"]],template:function(e,i){1&e&&(rn(VJ),l(0,"div",0),C(1,yJ,3,1,"div",1),l(2,"div",2)(3,"div",3),C(4,DJ,2,8,"button",4),l(5,"div",5)(6,"div",6,7),D("transitionend",function(){return i.onTransitionEnd()})("touchend",function(s){return i.onTouchEnd(s)})("touchstart",function(s){return i.onTouchStart(s)})("touchmove",function(s){return i.onTouchMove(s)}),C(8,TJ,2,9,"div",8),C(9,IJ,2,9,"div",8),C(10,xJ,2,9,"div",8),c()(),C(11,kJ,2,8,"button",4),c(),C(12,PJ,2,5,"ul",9),c(),C(13,BJ,3,1,"div",10),c()),2&e&&(ln(i.styleClass),v("ngClass",fo(17,jJ,i.isVertical(),!i.isVertical()))("ngStyle",i.style),ae("id",i.id),m(1),v("ngIf",i.headerFacet||i.headerTemplate),m(1),ln(i.contentClass),v("ngClass","p-carousel-content"),m(2),v("ngIf",i.showNavigators),m(1),v("ngStyle",mn(20,HJ,i.isVertical()?i.verticalViewPortHeight:"auto")),m(3),v("ngForOf",i.clonedItemsForStarting),m(1),v("ngForOf",i.value),m(1),v("ngForOf",i.clonedItemsForFinishing),m(1),v("ngIf",i.showNavigators),m(1),v("ngIf",i.showIndicators),m(1),v("ngIf",i.footerFacet||i.footerTemplate))},directives:[er,Pw,Ye,gs,mJ,qe],styles:[".p-carousel{display:flex;flex-direction:column}.p-carousel-content{display:flex;flex-direction:column;overflow:auto}.p-carousel-prev,.p-carousel-next{align-self:center;flex-grow:0;flex-shrink:0;display:flex;justify-content:center;align-items:center;overflow:hidden;position:relative}.p-carousel-container{display:flex;flex-direction:row}.p-carousel-items-content{overflow:hidden;width:100%}.p-carousel-items-container{display:flex;flex-direction:row}.p-carousel-indicators{display:flex;flex-direction:row;justify-content:center;flex-wrap:wrap}.p-carousel-indicator>button{display:flex;align-items:center;justify-content:center}.p-carousel-vertical .p-carousel-container{flex-direction:column}.p-carousel-vertical .p-carousel-items-container{flex-direction:column;height:100%}.p-items-hidden .p-carousel-item{visibility:hidden}.p-items-hidden .p-carousel-item.p-carousel-item-active{visibility:visible}\n"],encapsulation:2,changeDetection:0}),t})(),GJ=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it,f1,m1],it,f1]}),t})();const zJ=["carousel"],qJ=["carousel2"];function $J(t,n){}function WJ(t,n){if(1&t&&(l(0,"div",32)(1,"div",33),h(2,"div",34),l(3,"div"),h(4,"img",35),c()()()),2&t){const e=n.$implicit;m(4),v("src",e.img,we)}}const YJ=function(){return["/tiendasierra"]},QJ=function(){return["/faqs"]};let KJ=(()=>{class t{constructor(){this.paused=!1,this.heladeriaMovil1="/assets/img/heladeria/Heladeria_Jul2025_Movil_1.png",this.heladeriaMovil2="/assets/img/heladeria/Heladeria_Jul2025_Movil_2.png",this.heladeriaMovil3="/assets/img/cafeteria/Cafeteria_Jul2025_Movil_3.png",this.heladeriaEscritorio1="/assets/img/heladeria/Heladeria_Jul2025_1.png",this.heladeriaEscritorio2="/assets/img/heladeria/Heladeria_Jul2025_2.png",this.heladeriaEscritorio3="/assets/img/cafeteria/Cafeteria_Jul2025_3.png",this.cafeteriaMovil1="/assets/img/cafeteria/Cafeteria_Jul2025_Movil_1.png",this.cafeteriaMovil2="/assets/img/cafeteria/Cafeteria_Jul2025_Movil_2.png",this.cafeteriaEscritorio1="/assets/img/cafeteria/Cafeteria_Jul2025_1.png ",this.cafeteriaEscritorio2="/assets/img/cafeteria/Cafeteria_Jul2025_2.png ",this.responsiveOptions=[{breakpoint:"1024px",numVisible:4,numScroll:4},{breakpoint:"768px",numVisible:2,numScroll:2},{breakpoint:"560px",numVisible:1,numScroll:1}]}ngOnInit(){window.innerWidth<=600?(this.heladeria1=this.heladeriaMovil1,this.heladeria2=this.heladeriaMovil2,this.heladeria3=this.heladeriaMovil3,this.cafeteria1=this.cafeteriaMovil1,this.cafeteria2=this.cafeteriaMovil2):(this.heladeria1=this.heladeriaEscritorio1,this.heladeria2=this.heladeriaEscritorio2,this.heladeria3=this.heladeriaEscritorio3,this.cafeteria1=this.cafeteriaEscritorio1,this.cafeteria2=this.cafeteriaEscritorio2),window.scroll({top:0,left:0,behavior:"smooth"}),this.products=[{img:"../../../assets/img/queofrecemos/1.Mora.png",name:"uno",price:"30"},{img:"../../../assets/img/queofrecemos/2.Vainilla.png",name:"uno",price:"30"},{img:"../../../assets/img/queofrecemos/3.Maracuya.png",name:"uno",price:"30"},{img:"../../../assets/img/queofrecemos/4.Coco.png",name:"uno",price:"30"},{img:"../../../assets/img/queofrecemos/5.-Fresa.png",name:"uno",price:"30"},{img:"../../../assets/img/queofrecemos/6.Naranjilla.png",name:"uno",price:"30"},{img:"../../../assets/img/queofrecemos/7.Ron-pasas.png",name:"uno",price:"30"},{img:"../../../assets/img/queofrecemos/8.Chocolate.png",name:"uno",price:"30"},{img:"../../../assets/img/queofrecemos/9.Mango.png",name:"uno",price:"30"},{img:"../../../assets/img/queofrecemos/10.-Taxo.png",name:"uno",price:"30"},{img:"../../../assets/img/queofrecemos/11.-Cafe.png",name:"uno",price:"30"},{img:"../../../assets/img/queofrecemos/12.Guanabana.png",name:"uno",price:"30"}]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-heladeria"]],viewQuery:function(e,i){if(1&e&&(me(zJ,7),me(qJ,7)),2&e){let o;F(o=P())&&(i.carousel=o.first),F(o=P())&&(i.carousel2=o.first)}},decls:73,vars:16,consts:[[1,"fondo"],[1,"inicio"],[1,"boton_blanco"],["href","https://bogati.ec/pedidos/",2,"text-decoration","none","color","#fff"],["version","1.0","xmlns","http://www.w3.org/2000/svg","width","30px","height","30px","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#fff","stroke","none"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[1,"cafeteria__franja"],[1,"cafeteria__franja_item"],["src","../../../assets/img/cafeteria/Icono-delicioso.png","alt","Bogati Sabor Adictivo"],["src","../../../assets/img/cafeteria/Icono-Simpre-fresco.png","alt","Bogati Sabor Adictivo"],["src","../../../assets/img/cafeteria/Icono-Sabor-casero.png","alt","Bogati Sabor Adictivo"],[1,"titulos",2,"text-align","center","margin","0"],[1,"titulos_1"],[1,"carousel__sabores"],["styleClass","custom-carousel",3,"value","numVisible","numScroll","circular","autoplayInterval","responsiveOptions","showIndicators"],["pTemplate","header"],["pTemplate","item"],[2,"width","90%","margin","0 auto"],[1,"seccion_franja"],[1,"titulos"],["alt","Bogati S.A.S",1,"imagen-responsive",3,"src"],[2,"width","95%","margin","0 auto"],[1,"inicio__enlaces"],[1,"inicio__enlaces_tiendas",3,"routerLink"],["src","../../../assets/img/icono-encuentra-una-tienda.png","alt","Bogati Sabor Adictivo"],[1,"inicio__enlaces_texto"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#673D10","stroke","none"],[1,"inicio__enlaces_compra"],["src","../../../assets/img/queofrecemos/Icono-preguntas-frecuentes.png","alt","Bogati Sabor Adictivo",2,"object-fit","cover"],[1,"inicio__enlaces_texto",3,"routerLink"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[1,"product-item"],[1,"product-item-content"],[1,"p-mb-3"],["alt","Bogati",2,"width","50%","height","50%",3,"src"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"span",2)(4,"a",3),d(5,"Compra Online "),c(),R(),l(6,"svg",4)(7,"g",5),h(8,"path",6),c()()()(),q(),l(9,"div",7)(10,"div",8),h(11,"img",9),d(12," Sin Colorantes "),c(),l(13,"div",8),h(14,"img",10),d(15," Sin Preservantes "),c(),l(16,"div",8),h(17,"img",11),d(18," Con Fruta Natural "),c()(),h(19,"br"),l(20,"div",12),d(21," SABORES NATURALES "),c(),l(22,"p",13),d(23,"Deliciosamente buenos para ti"),c(),l(24,"div",14)(25,"p-carousel",15),C(26,$J,0,0,"ng-template",16),C(27,WJ,5,1,"ng-template",17),c()(),l(28,"div",18)(29,"div",19)(30,"div",20)(31,"h1"),d(32,"Helader\xeda"),c()()(),h(33,"br"),l(34,"div"),h(35,"img",21),c(),l(36,"div"),h(37,"img",21),c(),l(38,"div"),h(39,"img",21),c()(),h(40,"br"),l(41,"div",22)(42,"div",19)(43,"div",20)(44,"h1"),d(45,"Cafeter\xeda"),c()()(),l(46,"div"),h(47,"img",21),c(),l(48,"div"),h(49,"img",21),c()(),h(50,"br")(51,"br")(52,"br"),l(53,"div",23)(54,"div",24),h(55,"img",25)(56,"br"),l(57,"span",26),d(58," Encuentra Una Tienda "),R(),l(59,"svg",4)(60,"g",27),h(61,"path",6),c()()()(),q(),l(62,"div",28),h(63,"img",29)(64,"br"),l(65,"span",30),d(66," Leer Preguntas Frecuentes "),R(),l(67,"svg",4)(68,"g",27),h(69,"path",31),c()()()()()(),q(),h(70,"br")(71,"br")(72,"app-footer")),2&e&&(m(25),v("value",i.products)("numVisible",5)("numScroll",1)("circular",!0)("autoplayInterval",3e3)("responsiveOptions",i.responsiveOptions)("showIndicators",!1),m(10),v("src",i.heladeria1,we),m(2),v("src",i.heladeria2,we),m(2),v("src",i.heladeria3,we),m(8),v("src",i.cafeteria1,we),m(2),v("src",i.cafeteria2,we),m(5),v("routerLink",O(14,YJ)),m(11),v("routerLink",O(15,QJ)))},directives:[ye,_1,Ep,Xe,Ee],styles:[""]}),t})();function ZJ(t,n){1&t&&(l(0,"div",68)(1,"div",69),h(2,"img",70),c()())}const JJ=function(){return["/home/tiendas"]},XJ=function(){return["/home/faqs"]};let eX=(()=>{class t{constructor(){}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-historia"]],decls:259,vars:4,consts:[[1,"fondo"],[1,"inicio"],["ngbSlide",""],[2,"width","96%","margin","0 auto"],[1,"row"],[1,"col-sm-1"],[1,"col-sm-3"],["src","../../../assets/img/historia/Iconos-1.png","alt","BOGATI",2,"width","100%","height","100%","border-radius","10px","object-fit","contain"],[1,"col-sm-7",2,"padding","20px"],[2,"display","block","font-size","20px","color","#673D10","padding","0 20px","text-align","justify"],[1,"col-sm-5"],["src","../../../assets/img/historia/Base-1.jpg","alt","BOGATI",2,"width","100%","height","100%","border-radius","10px"],[1,"col-sm-5",2,"padding","20px"],["src","../../../assets/img/historia/origen.jpg","alt","BOGATI",2,"width","100%","height","100%","border-radius","10px"],[1,"col-sm-7",2,"text-align","center"],[2,"display","block","font-size","21px","color","#fff","background-color","#673D10","padding","15px","text-align","justify","border-radius","10px","width","90%","margin-left","5%"],[1,"col-sm-3",2,"padding","20px"],["src","../../../assets/img/historia/foto-ibarra.png","alt","BOGATI",2,"width","100%","height","100%","border-radius","10px","object-fit","contain"],[2,"background-color","#FFF6E6"],[1,"col-sm-6",2,"text-align","center"],["src","../../../assets/img/historia/2018.PNG","alt","BOGATI",2,"width","100%","height","100%","object-fit","contain"],[1,"col-sm-6"],["src","../../../assets/img/historia/primerlocal.PNG","alt","BOGATI",2,"width","100%","height","90%","object-fit","contain"],[1,"titulos",2,"font-size","45px"],[2,"margin","0 auto","text-align","center","font-size","30px","color","#ff9633","padding","0 25px"],[2,"width","100%"],["src","../../../assets/img/historia/Foto-Ambato-Riobamba.png","alt","BOGATI",2,"width","100%","height","90%","object-fit","contain"],[1,"titulos",2,"font-size","25px"],[1,"col-sm-3",2,"text-align","center"],["src","../../../assets/img/historia/icono-tienda.png","alt","BOGATI",2,"width","100%","height","100%","border-radius","10px","object-fit","contain","max-width","200px"],[1,"col-sm-9"],[1,"col-sm-6",2,"padding","20px"],["src","../../../assets/img/historia/icono-llamada.png","alt","BOGATI",2,"width","100%","height","100%","object-fit","contain","min-height","250px"],["src","../../../assets/img/historia/tantas_cosas.jpg","alt","BOGATI",2,"width","100%","height","100%","border-radius","10px"],["src","../../../assets/img/historia/base-reloj.jpg","alt","BOGATI",2,"width","100%","height","100%","border-radius","10px"],[1,"col-sm-2"],[1,"col-sm-4"],["src","../../../assets/img/historia/foto-SAnty.png","alt","BOGATI",2,"width","100%","height","auto","min-width","200px","min-height","250px"],[2,"width","100%","margin","0 auto","padding","0 2%"],["src","../../../assets/img/historia/foto-composicion-primer-local.png","alt","BOGATI",2,"width","100%","height","auto"],[1,"titulos",2,"font-size","45px","text-align","right"],[1,"titulos",2,"font-size","25px","text-align","right"],[1,"inicio__enlaces"],[1,"inicio__enlaces_tiendas"],[1,"inicio__enlaces_compra"],["src","../../../assets/img/historia/iconos-7.png","alt","BOGATI",2,"width","100%","height","auto"],[1,"queofrecemos__franja"],[1,"queofrecemos__franja_img"],[1,"img__fruta"],["src","../../../assets/img/historia/chocolate.png","alt","BOGATI"],["src","../../../assets/img/historia/mora.png","alt","BOGATI"],["src","../../../assets/img/historia/chicle.png","alt","BOGATI"],["src","../../../assets/img/historia/vainilla.png","alt","BOGATI"],["src","../../../assets/img/historia/galleta.png","alt","BOGATI"],["src","../../../assets/img/historia/ron-pasas.png","alt","BOGATI"],["src","../../../assets/img/historia/coco.png","alt","BOGATI"],["src","../../../assets/img/historia/fresa.png","alt","BOGATI"],["src","../../../assets/img/historia/manjar.png","alt","BOGATI"],["src","../../../assets/img/historia/maracuya.png","alt","BOGATI"],[1,"inicio__enlaces_tiendas",3,"routerLink"],["src","../../../assets/img/icono-encuentra-una-tienda.png","alt","Bogati Sabor Adictivo"],[1,"inicio__enlaces_texto"],["version","1.0","xmlns","http://www.w3.org/2000/svg","width","30px","height","30px","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#673D10","stroke","none"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],["src","../../../assets/img/queofrecemos/Icono-preguntas-frecuentes.png","alt","Bogati Sabor Adictivo",2,"object-fit","cover"],[1,"inicio__enlaces_texto",3,"routerLink"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[1,"picsum-img-wrapper"],[1,"img__carousel"],["src","../../../assets/img/historia/Portada-nuestro-origen.jpg","alt","Bogati Sabor Adictivo"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div")(4,"ngb-carousel"),C(5,ZJ,3,0,"ng-template",2),c()()(),h(6,"br"),l(7,"div",3)(8,"div",4),h(9,"div",5),l(10,"div",6),h(11,"img",7),c(),l(12,"div",8)(13,"span",9),d(14," Disfrutamos de hacer el postre m\xe1s natural y delicioso que hayas probado. Hemos recorrido un largo camino, te contamos como inici\xf3 todo. "),c(),h(15,"br"),c(),h(16,"div",5),c()(),h(17,"br")(18,"br"),l(19,"div",3)(20,"div",4),h(21,"div",5),l(22,"div",10),h(23,"img",11),c(),l(24,"div",12),h(25,"img",13),c(),h(26,"div",5),c()(),h(27,"br")(28,"br"),l(29,"div",3)(30,"div",4),h(31,"div",5),l(32,"div",14)(33,"span",9),d(34," La extensi\xf3n de esta mezcla se dio en todas las helader\xedas de la ciudad blanca y emprendimientos como: \u201cLos Helados de la Col\xf3n\u201d y su propietario Juan Carlos Ulcango adicionaron crema y queso en mayores cantidades por lo que fueron ellos quienes le dieron la presentaci\xf3n final a este delicioso producto. "),c(),h(35,"br")(36,"br"),l(37,"span",15),d(38," Por ello, podemos declarar que el origen del helado con queso es ecuatoriano, y es ibarre\xf1o. "),c()(),l(39,"div",16),h(40,"img",17),c(),h(41,"div",5),c()(),h(42,"br")(43,"br")(44,"br"),l(45,"div",18)(46,"div",4)(47,"div",19),h(48,"img",20),c(),l(49,"div",21),h(50,"img",22),c(),h(51,"div",5),c()(),h(52,"br")(53,"br")(54,"br"),l(55,"div",3)(56,"div",23),d(57," \xbfDE D\xd3NDE NACE BOGATI? "),c(),l(58,"p",24),d(59," conoce como ha sido nuestro camino"),c(),h(60,"br")(61,"br"),c(),l(62,"div",25),h(63,"img",26),c(),h(64,"br"),l(65,"div",3)(66,"div",4),h(67,"div",5),l(68,"div",6),h(69,"img",7),c(),l(70,"div",8)(71,"span",9),d(72," Seguramente han escuchado la frase \u201cvamos a los Bogatis\u201d; los famosos helados con queso y crema de Bogati. "),c(),h(73,"br"),c(),h(74,"div",5),c()(),h(75,"br")(76,"br"),l(77,"div",3)(78,"div",4)(79,"div",21)(80,"div",23),d(81," PROBABLEMENTE "),c(),l(82,"div",27),d(83," no saben de d\xf3nde nace Bogati "),c(),h(84,"br")(85,"br"),l(86,"span",9),d(87," Se dice que la marca es de Quito, Guayaquil o Cuenca, pero Bogati es una marca Rioambate\xf1a, es decir de padres Ambate\xf1os que crearon y creyeron en Riobamba como lugar para su primer local y aqu\xed te vamos a contar de d\xf3nde nace esta empresa familiar. "),c(),h(88,"br"),l(89,"div",4)(90,"div",28),h(91,"img",29),c(),l(92,"div",30)(93,"span",9),d(94," Primero viajemos unos a\xf1os atr\xe1s, a un negocio llamado Tecnoman\xeda, este fue uno de los primeros emprendimientos familiares; quienes siempre tuvieron esa visi\xf3n y vocaci\xf3n emprendedora. "),c()()(),l(95,"span",9),d(96," - Tecnoman\xeda era un negocio de tecnolog\xeda fruct\xedfero, pero tambi\xe9n demasiado riesgoso y lastimosamente los amigos de lo ajeno hiecieron de las suyas. "),c(),l(97,"span",9),d(98," - El robo sucedi\xf3 en el a\xf1o 2017, fue un golpe muy duro y eso les hizo re plantearse una nueva idea de negocio. "),c()(),l(99,"div",31)(100,"div",23),d(101," HELADOS CON QUESO "),c(),l(102,"div",27),d(103," \xbfPor qu\xe9 surgi\xf3 la idea de negocio? "),c(),h(104,"br")(105,"br"),l(106,"span",9),d(107," En primer lugar, la idea siempre estuvo pensada en comidas tradicionales, s\xf3lo que a\xfan no sab\xedan cual. "),c(),h(108,"br"),l(109,"span",9),d(110," Un d\xeda del 2017 durante un paseo familiar en Ibarra, Bel\xe9n prueba este postre y sorprendida por el sabor novedoso de helado con queso, llama inmediatamente a Santiago con la frase que cambiar\xeda sus vidas: \u201cYa s\xe9 a qu\xe9 nos vamos a dedicar, Helados con Queso\u201d. "),h(111,"br")(112,"img",32),c(),l(113,"span",9),d(114," - Entonces la familia decidi\xf3 realizar una excursi\xf3n a la ciudad blanca s\xf3lo para degustar este postre. "),c(),l(115,"span",9),d(116," - Una vez que todos probaron el producto fue claro que finalmente encontraron la idea que los llevar\xeda a empezar su nuevo emprendimiento. "),c()()()(),h(117,"br")(118,"br"),l(119,"div",3)(120,"div",4),h(121,"div",5),l(122,"div",10),h(123,"img",33),c(),l(124,"div",12),h(125,"img",34),c(),h(126,"div",5),c()(),h(127,"br")(128,"br")(129,"br"),l(130,"div",3)(131,"div",4),h(132,"div",35),l(133,"div",36),h(134,"img",37),c(),l(135,"div",12)(136,"div",23),d(137," LA IDEA DE NEGOCIO "),c(),l(138,"div",27),d(139," no fue aceptada "),c(),l(140,"span",9),d(141," La idea de negocio, Santiago desarroll\xf3 la idea basada en mantener el producto 100% natural, pero con el a\xf1adido de tecnificar e innovar los procesos, esta idea primero fue presentada como proyecto de tesis, pero no cont\xf3 con aprobaci\xf3n, porque se pens\xf3 que no funcionar\xeda y los profes buscaban proyectos m\xe1s \u201creales\u201d. "),c()()()(),h(142,"br")(143,"br")(144,"br"),l(145,"div",38)(146,"div",4),h(147,"div",5),l(148,"div",12)(149,"div",23),d(150," NUESTRO PRIMER LOCAL "),c(),l(151,"div",27),d(152," EL INICIO DE TODO "),c(),l(153,"span",9),d(154," Los esposos Santiago y Kathy abrieron el primer local de lo que a futuro ser\xeda una exitosa empresa rioambate\xf1a, un 16 de octubre del 2018, con la apertura de este local en Riobamba, se motiv\xf3 la movilizaci\xf3n de miles de personas pues por apertura regalaron 1000 helados con crema y queso. "),c(),l(155,"span",9),d(156," En un solo d\xeda, en un mismo local gracias a la apertura de una marca nueva, m\xe1s de 1000 personas conocieron y consumieron este postre, es por ello que este d\xeda lo distinguimos como el d\xeda del helado con queso. "),c()(),l(157,"div",10),h(158,"img",39),c(),h(159,"div",5),c()(),h(160,"br")(161,"br"),l(162,"div",38)(163,"div",4),h(164,"div",5),l(165,"div",12)(166,"div",40),d(167," Este regalo de "),c(),l(168,"div",41),d(169," apertura de local "),c(),h(170,"br"),l(171,"span",9),d(172," Con el tiempo se ha familiarizado con ustedes nuestros consumidores y por ustedes lo vamos a seguir haciendo con cada nuevo local. "),c()(),l(173,"div",10)(174,"div",40),d(175," Desde ese primer "),c(),l(176,"div",41),d(177," local en Riobamba "),c(),h(178,"br"),l(179,"span",9),d(180," Actualmente contamos con presencia en 3 regiones del Ecuador y con un firme prop\xf3sito en mente, llevar la bandera ecuatoriana a todo el mundo. "),c()(),h(181,"div",5),c()(),h(182,"br")(183,"br"),l(184,"div",42)(185,"div",43)(186,"div",23),d(187," GRACIAS A TODOS "),c(),h(188,"br")(189,"br"),l(190,"span",9),d(191," Estos \xfaltimos a\xf1os hemos pasado por un \xfanico y asombroso crecimiento, por ello, agradecemos la gran acogida y cari\xf1o de nuestros clientes, socios, franquiciados, proveedores y las cerca de 1000 personas que de manera directa e indirecta formamos el equipo Bogati a nivel nacional. "),c(),h(192,"br")(193,"br"),c(),l(194,"div",44)(195,"span",9),d(196," La calidad no se improvisa, y hacer felices a las personas con nuestros productos de calidad y a precios justos es nuestra misi\xf3n diaria. \xa1Gracias a todos por permitirnos llevarles nuestro sabor natural, de paila y ecuatoriano cada rinc\xf3n del pa\xeds, seguiremos manteniendo nuestro helado. "),h(197,"br")(198,"img",45),d(199," Trabajamos d\xeda con d\xeda para seguir haciendo el postre de helado m\xe1s natural con muchos sabores para el disfrute de su paladar. "),c()()(),h(200,"br")(201,"br"),l(202,"div",23),d(203," todos son deliciosos "),c(),l(204,"div",27),d(205," pero tenemos 10 favoritos de nuestra gente "),c(),h(206,"br"),l(207,"div",46)(208,"div",47)(209,"div",48),h(210,"img",49),c()(),l(211,"div",47)(212,"div",48),h(213,"img",50),c()(),l(214,"div",47)(215,"div",48),h(216,"img",51),c()(),l(217,"div",47)(218,"div",48),h(219,"img",52),c()()(),l(220,"div",46)(221,"div",47)(222,"div",48),h(223,"img",53),c()(),l(224,"div",47)(225,"div",48),h(226,"img",54),c()(),l(227,"div",47)(228,"div",48),h(229,"img",55),c()(),l(230,"div",47)(231,"div",48),h(232,"img",56),c()()(),l(233,"div",46)(234,"div",47)(235,"div",48),h(236,"img",57),c()(),l(237,"div",47)(238,"div",48),h(239,"img",58),c()()(),l(240,"div",42)(241,"div",59),h(242,"img",60)(243,"br"),l(244,"span",61),d(245," Encuentra Una Tienda "),R(),l(246,"svg",62)(247,"g",63),h(248,"path",64),c()()()(),q(),l(249,"div",44),h(250,"img",65)(251,"br"),l(252,"span",66),d(253," Leer Preguntas Frecuentes "),R(),l(254,"svg",62)(255,"g",63),h(256,"path",67),c()()()()(),q(),h(257,"br"),c(),h(258,"app-footer")),2&e&&(m(241),v("routerLink",O(2,JJ)),m(11),v("routerLink",O(3,XJ)))},directives:[ye,At,kt,Xe,Ee],styles:[""]}),t})(),tX=(()=>{class t{constructor(){this.cerrar=new H}ngOnInit(){}cerrarPopup(){this.cerrar.emit()}abrirPagina(){const i=window.open("https://talento.bogati.ec","_blank");null==i||i.focus()}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-popup-component"]],outputs:{cerrar:"cerrar"},decls:7,vars:0,consts:[[1,"modal"],[1,"modal-container"],["src","../../../assets/img/mesdelnino/talentoFlotante.jpg","alt","Bogati",1,"modal-img",2,"width","100%","height","50%","border-radius","3px"],[3,"click"],[1,"popup_container_button",3,"click"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div",1)(2,"a"),h(3,"img",2),c(),l(4,"button",3),D("click",function(){return i.cerrarPopup()}),d(5," Cerrar "),c(),l(6,"div",4),D("click",function(){return i.abrirPagina()}),c()()())},styles:[""]}),t})();const nX=["carousel"],iX=["carousel2"];function oX(t,n){if(1&t&&(l(0,"div",45)(1,"div",46),h(2,"img",47),c()()),2&t){const e=I(2).$implicit;m(2),v("src",e,we)}}function sX(t,n){1&t&&C(0,oX,3,1,"div",44),2&t&&v("ngIf",I().$implicit)}function rX(t,n){1&t&&C(0,sX,1,1,"ng-template",43)}function aX(t,n){if(1&t){const e=Ae();l(0,"div",45)(1,"div",46),h(2,"img",48),l(3,"button",49),D("click",function(){return re(e),I(2).whatsappUbi()}),c()(),l(4,"span",50)(5,"a",51),d(6,"Escr\xedbenos"),c(),R(),l(7,"svg",26)(8,"g",39),h(9,"path",52),c()()()()}}function lX(t,n){if(1&t&&(l(0,"ngb-carousel"),C(1,rX,1,0,null,42),C(2,aX,10,0,"ng-template",43),c()),2&t){const e=I();m(1),v("ngForOf",e.selectedImages)}}function cX(t,n){if(1&t&&(l(0,"div",53)(1,"div",54),h(2,"img",55),c(),l(3,"div")(4,"h4",56),d(5),c()()()),2&t){const e=n.$implicit;m(2),Il("src",e.img,we),v("alt",e.name),m(3),le(e.name)}}function uX(t,n){if(1&t){const e=Ae();l(0,"app-popup-component",57),D("cerrar",function(){return re(e),I().cerrarPopup()}),c()}}const dX=function(){return["/tiendas"]},hX=function(){return["/heladeria"]},pX=function(){return["/blog"]},fX=function(){return["/historia"]};let NI=(()=>{class t{constructor(e,i,o,s,r){this._banner=e,this.dialog=i,this.carouselService=o,this.cdr=s,this.http=r,this.paused=!1,this.carouselDinamico=!1,this.baseUrl=".",this.showHeladeria=!0,this.showCafeteria=!1,this.showCombos=!1,this.selectedImages=[],this.mostrarPopup=!1,this.responsiveOptions=[{breakpoint:"1024px",numVisible:4,numScroll:4},{breakpoint:"768px",numVisible:2,numScroll:2},{breakpoint:"560px",numVisible:1,numScroll:1}]}abrirPopup(){setTimeout(()=>{this.mostrarPopup=!1},3e3)}cerrarPopup(){this.mostrarPopup=!1}ngOnInit(){this.abrirPopup(),window.scroll({top:0,left:0,behavior:"smooth"}),this.menu=[{img:"../../../assets/img/inicio/menu/Super_chococake.jpg",name:"Super Chococake"},{img:"../../../assets/img/inicio/menu/Super_magica.jpg",name:"Super Magica"},{img:"../../../assets/img/inicio/menu/Tulibogati.jpg",name:"Tuli Bogati"},{img:"../../../assets/img/inicio/menu/Waffle.jpg",name:"Waffle Bogati"},{img:"../../../assets/img/inicio/menu/Banana.jpg",name:"Banana"},{img:"../../../assets/img/inicio/menu/CopaDuraznos.jpg",name:"Copa Duraznos"},{img:"../../../assets/img/inicio/menu/ensalada_de_frutas.jpg",name:"Ensalada de frutas"},{img:"../../../assets/img/inicio/menu/Fresas.jpg",name:"Fresas"},{img:"../../../assets/img/inicio/menu/Lasa\xf1a.jpg",name:"Lasa\xf1a"},{img:"../../../assets/img/inicio/menu/Lody_cake.jpg",name:"Lody cake"}],this.banner(),this.showHeladeria=!0,this.showCafeteria=!1,this.showCombos=!1,window.scroll({top:0,left:0,behavior:"smooth"}),this.products=[{img:"../../../assets/img/1.helado-mora.png",name:"uno",price:"30"},{img:"../../../assets/img/2.helado-chocolate.png",name:"uno",price:"30"},{img:"../../../assets/img/3.helado-maracuya.png",name:"uno",price:"30"},{img:"../../../assets/img/4.helado-guanabana.png",name:"uno",price:"30"},{img:"../../../assets/img/5.helado-coco.png",name:"uno",price:"30"},{img:"../../../assets/img/6.-helado-de-fresa.png",name:"uno",price:"30"},{img:"../../../assets/img/7.-helado-cafe.png",name:"uno",price:"30"},{img:"../../../assets/img/8.-helado-taxo.png",name:"uno",price:"30"},{img:"../../../assets/img/9.-helado-naranjilla.png",name:"uno",price:"30"},{img:"../../../assets/img/10.-helado-ron-pasas.png",name:"uno",price:"30"}],this.http.get(`${this.baseUrl}/APIBOGATI/banner/listar_seleccionados.php`).subscribe(e=>{if(Array.isArray(e)){const i=e.map(o=>o.imagen_url).filter(o=>"string"==typeof o&&""!==o.trim()&&/^https?:\/\//.test(o));this.selectedImages=i,console.log("Banners finales con fijas + seleccionadas:",this.selectedImages)}else console.warn("\u26a0\ufe0f Respuesta no es un array. Verifica tu API.")})}whatsappUbi(){const i=window.open("https://wa.me/593985389895","_blank");null==i||i.focus()}registratePromo(){const i=window.open("https://bogati.ec/alvuelo","_blank");null==i||i.focus()}scrollToElement(e){e.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}menuInicio(e){"heladeria"==e?(this.showHeladeria=!0,this.showCafeteria=!1,this.showCombos=!1):"cafeteria"==e?(this.showHeladeria=!1,this.showCafeteria=!0,this.showCombos=!1):(this.showHeladeria=!1,this.showCafeteria=!1,this.showCombos=!0)}banner(){this._banner.getBanner().subscribe(e=>{1==e[0].activo_banner&&this.dialog.open(Dp,{width:"auto",height:"auto",panelClass:"panel__container"}).afterClosed().subscribe(o=>{})})}abrirPagina(){const i=window.open("https://viejos.bogati.ec","_blank");null==i||i.focus()}onImageError(e){console.error("Error cargando imagen:",e)}}return t.\u0275fac=function(e){return new(e||t)(_(jc),_(ui),_(H0),_(Ke),_(dn))},t.\u0275cmp=N({type:t,selectors:[["app-inicio"]],viewQuery:function(e,i){if(1&e&&(me(nX,7),me(iX,7)),2&e){let o;F(o=P())&&(i.carousel=o.first),F(o=P())&&(i.carousel2=o.first)}},decls:87,vars:16,consts:[[1,"fondo"],[1,"inicio"],[4,"ngIf"],[1,"titulos"],[2,"margin","0 auto","text-align","center","font-size","30px","color","#ff9633","padding","0 25px"],[1,"inicio__enlaces"],[1,"inicio__enlaces_tiendas",3,"routerLink"],["href","../tiendas"],["src","../../../assets/img/icono-encuentra-una-tienda.png","alt","Bogati Sabor Adictivo"],[1,"inicio__enlaces_texto"],["version","1.0","xmlns","http://www.w3.org/2000/svg","width","10px","height","10px","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#673D10","stroke","none"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[1,"inicio__enlaces_compra"],["href","https://bogati.ec/pedidos"],["src","../../../assets/img/icono-pedido-en-line.png","alt","Bogati Sabor Adictivo"],["href","https://bogati.ec/pedidos","target","_blank",2,"text-decoration","none"],["href","https://bogati.ec/pedidos",2,"color","#673d10","text-decoration","none"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[1,"titulos",2,"text-align","center","margin","0","padding","10px"],[2,"margin","0 auto","text-align","center","font-size","26px","color","#ff9633","padding","0 25px"],[3,"value","numVisible","numScroll","autoplayInterval","responsiveOptions","showIndicators"],["pTemplate","item"],[2,"width","100%","text-align","center","margin","10px 0"],[2,"width","100%","text-align","center","margin","1px 0"],[1,"inicio__enlaces_texto",3,"routerLink"],["version","1.0","xmlns","http://www.w3.org/2000/svg","width","30px","height","30px","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[2,"width","96%","margin","0 auto"],[1,"row"],[1,"col-sm-1"],[1,"col-sm-5",2,"padding","20px"],[1,"titulos",2,"text-align","center"],[2,"display","block","font-size","20px","color","#673d10"],[1,"col-sm-5"],["src","../../../assets/img/inicio/imagen-agricultor.png","alt","BOGATI",2,"width","100%","height","100%","border-radius","10px"],[1,"titulos",2,"font-size","50px","margin","0 auto"],[2,"margin","0 auto","text-align","center","font-size","22px","color","#ff9633"],["src","../../../assets/img/Foto-heladero.png","alt","BOGATI",2,"width","100%","height","100%","border-radius","10px"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#fff","stroke","none"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[3,"cerrar",4,"ngIf"],[4,"ngFor","ngForOf"],["ngbSlide",""],["class","picsum-img-wrapper",4,"ngIf"],[1,"picsum-img-wrapper"],[1,"img__carousel"],["alt","Bogati S.A.S...",1,"d-block","w-100",3,"src"],["src","assets/img/inicio/Banner-web-enero-bogati.jpg","alt","Bogati Sabor Adictivo"],[1,"button-terminoTalento",3,"click"],[1,"boton_blanco"],["href"," https://itsmy.bio/bogatimascercano",2,"text-decoration","none","color","#fff"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[1,"border-1","surface-border","border-round","m-1","text-center"],[1,"mb-3"],["alt","Bogati S.A.S",1,"w-6","shadow-2",2,"width","50%","height","auto",3,"src","alt"],[1,"mb-1",2,"text-align","center"],[3,"cerrar"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1),C(3,lX,3,1,"ngb-carousel",2),h(4,"br"),l(5,"div",3),d(6,"SABOR NATURALMENTE ADICTIVO"),c(),l(7,"p",4),d(8," Cada vez m\xe1s cerca de ti "),c(),l(9,"div",5)(10,"div",6)(11,"a",7),h(12,"img",8),c(),h(13,"br"),l(14,"span",9),d(15," Encuentra Una Tienda "),R(),l(16,"svg",10)(17,"g",11),h(18,"path",12),c()()()(),q(),l(19,"div",13)(20,"a",14),h(21,"img",15),c(),h(22,"br"),l(23,"a",16)(24,"span",9)(25,"a",17),d(26," Comprar Online"),c(),R(),l(27,"svg",10)(28,"g",11),h(29,"path",18),c()()()()()(),q(),h(30,"br"),l(31,"div",19),d(32," MEN\xda "),c(),l(33,"p",20),d(34," Buenos por Fuera, Buenos por Dentro "),c(),l(35,"p-carousel",21),C(36,cX,6,3,"ng-template",22),c(),l(37,"div",23)(38,"div",24)(39,"span",25),d(40," VER MEN\xda COMPLETO "),R(),l(41,"svg",26)(42,"g",11),h(43,"path",27),c()()()(),q(),l(44,"div",28)(45,"div",29),h(46,"div",30),l(47,"div",31)(48,"div",32),d(49," CON\xd3CENOS DESDE ADENTRO "),c(),l(50,"span",33),d(51," Somos una empresa ecuatoriana con la misi\xf3n de hacer felices a las personas a trav\xe9s de productos y servicios de calidad a precios justos. "),c(),h(52,"br"),l(53,"span",25),d(54," VER M\xc1S "),R(),l(55,"svg",26)(56,"g",11),h(57,"path",18),c()()()(),q(),l(58,"div",34),h(59,"img",35),c(),h(60,"div",30),c()(),l(61,"div",36),d(62," Nuestra Historia "),c(),l(63,"p",37),d(64," Cada paso que damos es por ti "),c(),h(65,"br")(66,"br"),l(67,"div",28)(68,"div",29),h(69,"div",30),l(70,"div",34),h(71,"img",38),c(),l(72,"div",31)(73,"span",33),d(74," Comenzamos en Riobamba, haciendo helado de leche de coco para amigos. Resulta que mucha gente comparti\xf3 nuestro sue\xf1o de un postre cremoso y sin l\xe1cteos. Hoy, estamos presentes en las 3 regiones del Ecuador. "),c(),h(75,"br")(76,"br"),l(77,"span",25),d(78," Conoce toda nuestra historia "),R(),l(79,"svg",26)(80,"g",39),h(81,"path",40),c()()()(),q(),h(82,"div",30),c()(),h(83,"br")(84,"br"),C(85,uX,1,0,"app-popup-component",41),c(),h(86,"app-footer"),c()()),2&e&&(m(3),v("ngIf",i.selectedImages.length>0),m(7),v("routerLink",O(12,dX)),m(25),v("value",i.menu)("numVisible",3)("numScroll",1)("autoplayInterval",8e3)("responsiveOptions",i.responsiveOptions)("showIndicators",!1),m(4),v("routerLink",O(13,hX)),m(14),v("routerLink",O(14,pX)),m(24),v("routerLink",O(15,fX)),m(8),v("ngIf",i.mostrarPopup))},directives:[ye,Ye,At,qe,kt,Xe,_1,Ep,tX,Ee],styles:[""]}),t})(),mX=(()=>{class t{constructor(e,i,o){this.dialogRef=e,this.toastr=i,this._login=o,this.correo=""}ngOnInit(){}enviarMail(){""==this.correo||null==this.correo?this.toastError("Debes ingresar tu correo electr\xf3nico para continuar"):(this.correo=this.correo.trim(),this._login.recuperarPassword(this.correo).subscribe(e=>{this.dialogRef.close(e)}))}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Do),_(Eo),_(xn))},t.\u0275cmp=N({type:t,selectors:[["app-dailogpassword"]],decls:9,vars:1,consts:[[1,"titulos"],["type","text","placeholder","Correo electr\xf3nico",1,"input_correo",3,"ngModel","ngModelChange","keyup.enter"],[1,"button_tomate",3,"click"]],template:function(e,i){1&e&&(l(0,"div",0),d(1," Recuperar Contrase\xf1a\n"),c(),l(2,"p"),d(3,"Ingresa la cuenta de correo electr\xf3nico vinculado con tu usuario."),c(),l(4,"input",1),D("ngModelChange",function(s){return i.correo=s})("keyup.enter",function(){return i.enviarMail()}),c(),h(5,"br")(6,"br"),l(7,"div",2),D("click",function(){return i.enviarMail()}),d(8," Enviar\n"),c()),2&e&&(m(4),v("ngModel",i.correo))},directives:[wt,It,jt],styles:[""]}),t})();function gX(t,n){1&t&&(l(0,"div",29),R(),l(1,"svg",30)(2,"g",31)(3,"circle",32),h(4,"animateTransform",33)(5,"animate",34),c(),l(6,"circle",35),h(7,"animateTransform",36)(8,"animate",37),c()()()())}const _X=function(){return["/tiendas"]},vX=function(){return["/faqs"]};let bX=(()=>{class t{constructor(e,i,o,s,r){this._router=e,this._login=i,this._cookie=o,this.toastr=s,this.dialog=r,this.hide=!0,this.usuario="",this.password="",this.showSpinner=!1}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"}),this.cancelar()}login(){if(this.showSpinner=!0,""==this.usuario||""==this.password||null==this.usuario||null==this.password)this.toastError("Usuario o contrase\xf1a requeridos"),this.showSpinner=!1;else{let e={usuario_usu:"",password_usu:""};e.usuario_usu=this.usuario,e.password_usu=this.password,this._login.login(e).subscribe(i=>{"success"==i.status?(this.showSpinner=!1,this._cookie.set("token",i.access_token),this._router.navigate(["/administracion"]),this.toastSuccess("Bienvenido a bogati")):(this.showSpinner=!1,this.toastError("Usuario o contrase\xf1a incorrectos"))})}}usuarioExterno(){""==this.usuarioEx.nombre_uno||null==this.usuarioEx.nombre_uno?this.toastError("Debes ingresar tu primer nombre"):""==this.usuarioEx.apellido_uno||null==this.usuarioEx.apellido_uno?this.toastError("Debes ingresar tu apellido"):""==this.usuarioEx.mail_usu||null==this.usuarioEx.mail_usu?this.toastError("No has colocado tu mail"):""==this.usuarioEx.password_usu||null==this.usuarioEx.password_usu?this.toastError("Coloca una contrase\xf1a"):(this.showSpinner=!0,this.usuarioEx.usuario_usu=this.usuarioEx.nombre_uno+"."+this.usuarioEx.apellido_uno,this.usuarioEx.rol_usu="usuarioExterior",this._login.getUsuarioRegistrado(this.usuarioEx.mail_usu).subscribe(e=>{e.length?(this.showSpinner=!1,this.toastError("Lo sentimos ya se encuentra registrado este usuario")):this._login.createUserEx(this.usuarioEx).subscribe(i=>{i?(this.showSpinner=!1,this.toastSuccess("Gracias por formar parte de la familia bogati"),this.cancelar(),this._router.navigate(["/home/inicio"])):(this.showSpinner=!1,this.toastError("Tenemos problemas para registrarte, intentalo nuevamente"))})}))}recuperarPassword(){let e={hash:"",id_usu:"",mail_usu:""};this.dialog.open(mX,{width:"50%",height:"auto"}).afterClosed().subscribe(o=>{this.showSpinner=!0,null==o?this.showSpinner=!1:(e.hash=o[0].hash_usu,e.id_usu=o[0].id_usu,e.mail_usu=o[0].mail_usu,this._login.recuperarPasswordMail(e).subscribe(s=>{s.data?(this.showSpinner=!1,this.toastSuccess("Revisa tu bandeja hemos enviado un correo para ayudarte con tu contrase\xf1a"),this._router.navigate(["/home/inicio"])):(this.showSpinner=!1,this.toastError("Tenemos problemas para ayudarte a restablecer tu contrase\xf1a intentalo nuevamente"))}))})}recargar(e){document.getElementById("menu_movil").classList.remove("menu__responsive_block--show"),this._router.navigate(["/home/"+e])}cancelar(){this.usuarioEx={id_suc:"",foto_usu:"",usuario_usu:"",password_usu:"",rol_usu:"",nombre_uno:"",nombre_dos:"",apellido_uno:"",apellido_dos:"",ciruc_usu:"",direccion_usu:"",mail_usu:""}}scrollToElement(e){e.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}toastSuccess(e){this.toastr.success(e,"Exito",{timeOut:4e3})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(_(gt),_(xn),_(Ve),_(Re),_(ui))},t.\u0275cmp=N({type:t,selectors:[["app-login"]],decls:77,vars:13,consts:[["class","spinner",4,"ngIf"],[1,"inicio"],["src","../../../assets/img/login/portada.jpg","alt","Bogati Sabor Adictivo",2,"width","100%","height","auto","object-fit","contain"],[1,"fondo",2,"width","90%","height","auto","margin","0 auto"],["elemento",""],[1,"row"],[1,"col-sm-1"],[1,"col-sm-4"],[2,"margin","0 auto","font-size","25px","color","#673D10"],["appearance","fill",1,"example-full-width"],["matInput","","placeholder","Usuario","pattern","[A-Za-z0-9_@]",3,"ngModel","ngModelChange","keyup.enter"],["matInput","","placeholder","Contrase\xf1a","pattern","[A-Za-z0-9_@]{1,18}",3,"type","ngModel","ngModelChange","keyup.enter"],["matSuffix","",3,"click"],[1,"button_tomate",3,"click"],[2,"text-align","center","cursor","pointer",3,"click"],[1,"col-sm-5",2,"border","1px solid #683e10","border-radius","10px","padding","10px"],[2,"margin","0 auto","color","#673D10"],["type","text",1,"input_correo",3,"ngModel","ngModelChange"],[1,"inicio__enlaces"],[1,"inicio__enlaces_tiendas",3,"routerLink"],["src","../../../assets/img/icono-encuentra-una-tienda.png","alt","Bogati Sabor Adictivo"],[1,"inicio__enlaces_texto"],["version","1.0","xmlns","http://www.w3.org/2000/svg","width","30px","height","30px","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#673D10","stroke","none"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[1,"inicio__enlaces_compra"],["src","../../../assets/img/queofrecemos/Icono-preguntas-frecuentes.png","alt","Bogati Sabor Adictivo",2,"object-fit","cover"],[1,"inicio__enlaces_texto",3,"routerLink"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[1,"spinner"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","width","214px","height","214px","viewBox","0 0 100 100","preserveAspectRatio","xMidYMid",2,"margin","auto","background","none","display","block","shape-rendering","auto"],["transform","translate(0 -8)"],["cx","50","cy","40.4","r","10","fill","#1d0e0b"],["attributeName","transform","type","rotate","dur","1.6949152542372883s","repeatCount","indefinite","keyTimes","0;1","values","0 50 50;360 50 50"],["attributeName","r","dur","1.6949152542372883s","repeatCount","indefinite","calcMode","spline","keyTimes","0;0.5;1","values","0;16;0","keySplines","0.2 0 0.8 1;0.2 0 0.8 1"],["cx","50","cy","40.4","r","10","fill","#774023"],["attributeName","transform","type","rotate","dur","1.6949152542372883s","repeatCount","indefinite","keyTimes","0;1","values","180 50 50;540 50 50"],["attributeName","r","dur","1.6949152542372883s","repeatCount","indefinite","calcMode","spline","keyTimes","0;0.5;1","values","16;0;16","keySplines","0.2 0 0.8 1;0.2 0 0.8 1"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),C(1,gX,9,0,"div",0),l(2,"div",1),h(3,"img",2),c(),h(4,"br")(5,"br"),l(6,"div",3,4)(8,"div",5),h(9,"div",6),l(10,"div",7)(11,"p",8),d(12," Inicia Sesi\xf3n"),c(),l(13,"mat-form-field",9)(14,"mat-label"),d(15,"Usuario"),c(),l(16,"input",10),D("ngModelChange",function(s){return i.usuario=s})("keyup.enter",function(){return i.login()}),c()(),l(17,"mat-form-field",9)(18,"mat-label"),d(19,"Contrase\xf1a"),c(),l(20,"input",11),D("ngModelChange",function(s){return i.password=s})("keyup.enter",function(){return i.login()}),c(),l(21,"mat-icon",12),D("click",function(){return i.hide=!i.hide}),d(22),c()(),h(23,"br"),l(24,"div",13),D("click",function(){return i.login()}),d(25," Acceso "),c(),h(26,"br"),l(27,"div",14),D("click",function(){return i.recuperarPassword()}),d(28," \xbfHas olvidado tu contrase\xf1a? "),c(),h(29,"br")(30,"br")(31,"br"),c(),h(32,"div",6),l(33,"div",15)(34,"p",8),d(35," Inscribirse"),c(),l(36,"p",16),d(37," El pago es m\xe1s r\xe1pido y m\xe1s facil cuando se registra."),c(),l(38,"p",8),d(39," Primer Nombre"),c(),l(40,"input",17),D("ngModelChange",function(s){return i.usuarioEx.nombre_uno=s}),c(),l(41,"p",8),d(42," Apellido"),c(),l(43,"input",17),D("ngModelChange",function(s){return i.usuarioEx.apellido_uno=s}),c(),l(44,"p",8),d(45," Correo Electr\xf3nico"),c(),l(46,"input",17),D("ngModelChange",function(s){return i.usuarioEx.mail_usu=s}),c(),l(47,"p",8),d(48," Contrase\xf1a"),c(),l(49,"input",17),D("ngModelChange",function(s){return i.usuarioEx.password_usu=s}),c(),h(50,"br")(51,"br"),l(52,"div",13),D("click",function(){return i.usuarioExterno()}),d(53," Inscribirse "),c(),h(54,"br"),c(),h(55,"div",6),c()(),h(56,"br")(57,"br"),l(58,"div",18)(59,"div",19),h(60,"img",20)(61,"br"),l(62,"span",21),d(63," Encuentra Una Tienda "),R(),l(64,"svg",22)(65,"g",23),h(66,"path",24),c()()()(),q(),l(67,"div",25),h(68,"img",26)(69,"br"),l(70,"span",27),d(71," Leer Preguntas Frecuentes "),R(),l(72,"svg",22)(73,"g",23),h(74,"path",28),c()()()()(),q(),h(75,"br")(76,"app-footer")),2&e&&(m(1),v("ngIf",i.showSpinner),m(15),v("ngModel",i.usuario),m(4),v("type",i.hide?"password":"text")("ngModel",i.password),m(2),le(i.hide?"visibility_off":"visibility"),m(18),v("ngModel",i.usuarioEx.nombre_uno),m(3),v("ngModel",i.usuarioEx.apellido_uno),m(3),v("ngModel",i.usuarioEx.mail_usu),m(3),v("ngModel",i.usuarioEx.password_usu),m(10),v("routerLink",O(11,_X)),m(11),v("routerLink",O(12,vX)))},directives:[ye,Ye,xi,di,Qi,wt,A0,It,jt,Sc,Lh,Xe,Ee],styles:[""]}),t})();const yX=["carousel"];function CX(t,n){1&t&&(l(0,"div",20)(1,"div",14)(2,"div",21)(3,"div",22),h(4,"img",23),c()(),l(5,"div",21)(6,"div",24),d(7," NUESTROS HELADOS LLEVAN SABOR EN CADA CUCHARA "),c(),h(8,"br"),l(9,"div",25),d(10," Bogati Para Ti!!! "),c(),h(11,"br")(12,"br"),l(13,"div",26),d(14," Hace a\xf1os, comenzamos a preparar la combinaci\xf3n m\xe1s adictiva de helado, queso y crema para nuestros amigos, familiares. Lo \xfanico que ha cambiado desde entonces es la cantidad de amigos, vecinos y familiares que tenemos. "),h(15,"br"),d(16," Cada uno de nuestros productos esta hecho con amor desde nuestra familia para ustedes. "),c()()()())}function wX(t,n){1&t&&(l(0,"div",20)(1,"div",14)(2,"div",21)(3,"div",24),d(4," CONOCE AL EQUIPO DETR\xc1S DEL SABOR ADICTIVO "),c(),h(5,"br"),l(6,"div",25),d(7," Helados Frios, corazones c\xe1lidos. "),c(),h(8,"br")(9,"br"),l(10,"div",26),d(11," La comunidad est\xe1 en el coraz\xf3n de nuestro negocio local. As\xed que tratamos a nuestra gente como familia. "),c(),h(12,"br"),l(13,"div",27)(14,"span",28),d(15," Conoce a nuestro equipo "),c()()(),l(16,"div",21)(17,"div",22),h(18,"img",29),c()()()())}let DX=(()=>{class t{constructor(){this.paused=!1}ngOnInit(){this.carousel.pause(),window.scroll({top:0,left:0,behavior:"smooth"})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-nosotros"]],viewQuery:function(e,i){if(1&e&&me(yX,7),2&e){let o;F(o=P())&&(i.carousel=o.first)}},decls:60,vars:0,consts:[[1,"fondo"],[1,"inicio"],[1,"titulos",2,"margin","10px 0 10px 0"],[1,"seccion__nosotros"],[1,"titulos",2,"margin","10px 0 0 0","font-size","35px","text-align","center"],[1,"parrafos",2,"padding","45px","color","#af6b21"],[1,"seccion__menu",2,"background-color","#fff"],[1,"container"],["carousel",""],["ngbSlide",""],[2,"width","90%","margin","0 auto"],[1,"titulos",2,"margin","10px 0 0 0","text-align","center"],[1,"titulos",2,"margin","10px 0 0 0","font-size","20px","text-align","center"],[1,"parrafos",2,"color","#af6b21"],[1,"row"],[1,"col-sm-3"],["src","../../../assets/img/nosotros/helado1.png","alt","BOGATI",2,"width","100%","height","150px","object-fit","contain"],["src","../../../assets/img/nosotros/helado2.png","alt","BOGATI",2,"width","100%","height","150px","object-fit","contain"],["src","../../../assets/img/nosotros/helado3.png","alt","BOGATI",2,"width","100%","height","150px","object-fit","contain"],["src","../../../assets/img/nosotros/helado4.png","alt","BOGATI",2,"width","100%","height","150px","object-fit","contain"],[1,"picsum-img-wrapper"],[1,"col-sm-6"],[1,"img__carousel"],["src","../../../assets/img/nosotros/comiendoHelado.png","alt","Random first slide",2,"height","auto"],[1,"titulos",2,"font-size","30px","text-align","left","margin","10px 0 0 0"],[1,"titulos",2,"font-size","20px","text-align","left","margin","0"],[1,"parrafos"],[2,"width","100%","text-align","center","margin","10px 0"],[1,"inicio__enlaces_texto",2,"background-color","#673d10","color","#fff","padding","0 10px"],["src","../../../assets/img/nosotros/CONOCE-AL-EQUIPO-DETRAS.png","alt","Random first slide",2,"height","auto"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0),h(2,"div",1),l(3,"div",2),d(4," El Placer Del Sabor Natural "),c(),h(5,"br"),l(6,"div",3)(7,"div",4),d(8," adicci\xf3n que trasciende fronteras "),c(),l(9,"div",5),d(10," Nos gusta hacer el postre de helado hecho con frutas naturales elaborado en paila por manos ecuatorianas, refrescante y delicioso que jam\xe1s hayas probado. Para hacer eso, cultivamos el poder de las plantas, dejamos nuestro planeta mejor de como lo encontramos y difundimos felicidad en cada sabor. "),c()(),l(11,"div",4),d(12," PRODUCTOS "),c(),l(13,"div",6)(14,"div",7)(15,"ngb-carousel",null,8),C(17,CX,17,0,"ng-template",9),c()()(),l(18,"div",3)(19,"div",10)(20,"div",11),d(21," BOGATI EN PROCESO "),c(),l(22,"div",12),d(23," un sue\xf1o natural hecho realidad "),c(),h(24,"br"),l(25,"div",13),d(26," Era el a\xf1o 2019, y a la escena de los helados le faltaba algo: un postre helado hecho con fruta natural. Entonces, tomamos el asunto en nuestras propias manos (y congeladores), preparando la combinaci\xf3n m\xe1s adictiva de helado, crema y queso. Fue r\xe1pido, as\xed que hicimos m\xe1s, mucho m\xe1s. "),c(),h(27,"br")(28,"br"),l(29,"div",14)(30,"div",15),h(31,"img",16)(32,"br")(33,"br"),l(34,"span",13),d(35,"Nuestro primer lote de helado de mora se hace en nuestra cocina."),c()(),l(36,"div",15),h(37,"img",17)(38,"br")(39,"br"),l(40,"span",13),d(41,"Ampliamos la gama de nuestros sabores."),c()(),l(42,"div",15),h(43,"img",18)(44,"br")(45,"br"),l(46,"span",13),d(47,"LLegamos a las 3 regiones del Ecuador."),c()(),l(48,"div",15),h(49,"img",19)(50,"br")(51,"br"),l(52,"span",13),d(53,"Nuestra empresa es reconocida como potencia por la revista forbes Ecuador."),c()()()()(),l(54,"div",6)(55,"div",7)(56,"ngb-carousel",null,8),C(58,wX,19,0,"ng-template",9),c()()()(),h(59,"app-footer"))},directives:[ye,At,kt,Ee],styles:[""]}),t})();function EX(t,n){1&t&&(l(0,"div",22)(1,"div",23),h(2,"img",24),c()())}let TX=(()=>{class t{constructor(){}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-ods"]],decls:54,vars:0,consts:[[1,"fondo"],[1,"inicio"],["ngbSlide",""],[2,"padding","10px"],[1,"titulos",2,"text-align","center","margin","0","font-size","45px"],[2,"margin","0 auto","text-align","center","font-size","25px","color","#683e10","padding","0 20px"],[2,"margin","0 auto","text-align","center","font-size","25px","color","#683e10"],[1,"ods__franja_img_izq"],[1,"ods__franja_izquierda"],["src","../../../assets/img/ods/Igualdad-de-genero.png","alt","BOGATI"],[1,"ods__franja_derecha"],["src","../../../assets/img/ods/Mujergol.png","alt","BOGATI"],[1,"ods__franja_img_der"],[1,"ods__franja_izq_izquierda"],["src","../../../assets/img/ods/Volvamos-a-empezar.png","alt","BOGATI"],[1,"ods__franja_der_derecha"],["src","../../../assets/img/ods/Trabajo-decente.png","alt","BOGATI"],["src","../../../assets/img/ods/Reduccion-de-desigualdades.png","alt","BOGATI"],["src","../../../assets/img/ods/gina_centinelas.png","alt","BOGATI"],[1,"titulos",2,"text-align","center","margin","0"],["src","../../../assets/img/ods/por-el-planeta.png","alt","BOGATI",2,"width","250px","height","150px"],["src","../../../assets/img/ods/Accion-y-alianza.png","alt","BOGATI"],[1,"picsum-img-wrapper"],[1,"img__carousel"],["src","../../../assets/img/ods/Portada--ODS.jpg","alt","Bogati Sabor Adictivo"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div")(4,"ngb-carousel"),C(5,EX,3,0,"ng-template",2),c()()()(),h(6,"br")(7,"br"),l(8,"div",3)(9,"div",4),d(10," \xbfQue son los ODS? "),c(),l(11,"p",5),d(12," Los objetivos de desarrollo sostenible tienen como finalidad caminar juntos hacia objetivos comunes para asegurar la igualdad de oportunidades y una vida digna para todas las personas."),c(),h(13,"br"),l(14,"p",6),d(15," Entre los ODS que se maneja en BOGATI S.A.S. son "),c()(),h(16,"br")(17,"br"),l(18,"div",7)(19,"div",8),h(20,"img",9),c(),l(21,"div",10)(22,"p",6),d(23," Lograr la igualdad entre los g\xe9neros y empoderar a todas las mujeres y las ni\xf1as. "),c(),h(24,"img",11),c()(),l(25,"div",12)(26,"div",13)(27,"p",6),d(28," Promover el crecimiento econ\xf3mico sostenido, incluyente y sostenible, el empleo pleno y productivo y el trabajo decente para todos. "),c(),h(29,"img",14),c(),l(30,"div",15),h(31,"img",16),c()(),l(32,"div",7)(33,"div",8),h(34,"img",17),c(),l(35,"div",10)(36,"p",6),d(37," Reducir la desigualdad en y entre los pa\xedses. "),c(),h(38,"img",18),c()(),h(39,"br"),l(40,"div",12)(41,"div",13)(42,"div",19),d(43," Acci\xf3n por el clima "),c(),l(44,"p",6),d(45," Adoptar medidas urgentes para combatir el cambio clim\xe1tico y sus efectos "),c(),l(46,"div",19),d(47," Alianzas para lograr los objetivos "),c(),l(48,"p",6),d(49," Fortalecer las bases de implementaci\xf3n y la revitalizaci\xf3n de la alianza global para el desarrollo sostenible "),c(),h(50,"img",20),c(),l(51,"div",15),h(52,"img",21),c()(),h(53,"app-footer"))},directives:[ye,At,kt,Ee],styles:[""]}),t})(),v1=(()=>{class t{constructor(e,i,o){this.toastr=e,this._unete=i,this._router=o,this.mail=""}ngOnInit(){}registrarCorreo(){let e={mail_une:"",token:""};this.mail.length<=0?this.toastWarning("Debes ingresar tu direcci\xf3n de correo electr\xf3nico"):(e.mail_une=this.mail,this._unete.createUnete(e).subscribe(i=>{i?(this.toastSuccess("Gracias por formar parte de esta gran familia."),this.mail="",this._router.navigate(["/home/inicio"])):this.toastError("No podemos registrar tu correo, intentalo nuevamente")}))}toastSuccess(e){this.toastr.success(e,"Bogati",{timeOut:4500})}toastWarning(e){this.toastr.warning(e+"!!!","Ups",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Re),_(DI),_(gt))},t.\u0275cmp=N({type:t,selectors:[["app-unetebogati"]],decls:26,vars:1,consts:[[2,"width","96%","margin","0 auto","padding","30px"],[1,"row"],[1,"col-sm-2"],[1,"col-sm-7"],[1,"titulos",2,"font-size","40px","margin","0 auto"],[2,"display","block","font-size","20px","color","#673D10"],[1,"col-sm-6"],["type","text","placeholder","Ingrese su direcci\xf3n de correo electr\xf3nico",1,"input_correo",3,"ngModel","ngModelChange"],[1,"buton__flecha",3,"click"],["version","1.0","xmlns","http://www.w3.org/2000/svg","width","30px","height","30px","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#fff","stroke","none"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[1,"col-sm-3"],[1,"img__contactos"],["src","../../../assets/img/icono-club-bogati.png","alt","BOGATI"]],template:function(e,i){1&e&&(l(0,"div",0)(1,"div",1),h(2,"div",2),l(3,"div",3)(4,"div",4),d(5," \xdaNETE AL CLUB BOGATI "),c(),l(6,"span",5),d(7," Registrece para conocer nuevos productos, fant\xe1sticos descuentos, promociones y m\xe1s sorpresas. "),c(),l(8,"div",1)(9,"div",6),h(10,"br"),l(11,"input",7),D("ngModelChange",function(s){return i.mail=s}),c(),h(12,"br"),c(),l(13,"div",6),h(14,"br"),l(15,"span",8),D("click",function(){return i.registrarCorreo()}),d(16," Enviar "),R(),l(17,"svg",9)(18,"g",10),h(19,"path",11),c()()(),q(),h(20,"br")(21,"br"),c()()(),l(22,"div",12)(23,"div",13),h(24,"br")(25,"img",14),c()()()()),2&e&&(m(11),v("ngModel",i.mail))},directives:[wt,It,jt],styles:[""]}),t})();function SX(t,n){1&t&&(l(0,"div",28)(1,"div",29),h(2,"img",30),c()())}const MX=function(){return["/home/nosotros"]},IX=function(){return["/home/faqs"]};let AX=(()=>{class t{constructor(){}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-politicas"]],decls:389,vars:4,consts:[[1,"fondo"],[1,"inicio"],["ngbSlide",""],[1,"politicas"],[1,"politicas__parrafo"],["href","",2,"text-decoration","none","color","#673D10"],[1,"titulos",2,"font-size","40px","text-align","left","margin","10px 0 0 0"],[2,"margin","0 auto","text-align","left","font-size","20px","color","#673D10","padding","10px"],[1,"subtitulos",2,"font-size","20px"],[1,"subtitulos"],[2,"text-align","left","color","#673d10","font-size","20px","margin","5px"],["xmlns","http://www.w3.org/2000/svg","height","30px","viewBox","0 0 24 24","width","30px","fill","#673d10",2,"border","1px solid #673d10","border-radius","50%","padding","2px","margin","0 10px"],["d","M0 0h24v24H0V0z","fill","none"],["d","M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"],["cx","12","cy","9","r","2.5"],["href","https://api.whatsapp.com/send?phone=593968754840","target","_blank",2,"text-decoration","none","color","#673d10"],["d","M6.54 5c.06.89.21 1.76.45 2.59l-1.2 1.2c-.41-1.2-.67-2.47-.76-3.79h1.51m9.86 12.02c.85.24 1.72.39 2.6.45v1.49c-1.32-.09-2.59-.35-3.8-.75l1.2-1.19M7.5 3H4c-.55 0-1 .45-1 1 0 9.39 7.61 17 17 17 .55 0 1-.45 1-1v-3.49c0-.55-.45-1-1-1-1.24 0-2.45-.2-3.57-.57-.1-.04-.21-.05-.31-.05-.26 0-.51.1-.71.29l-2.2 2.2c-2.83-1.45-5.15-3.76-6.59-6.59l2.2-2.2c.28-.28.36-.67.25-1.02C8.7 6.45 8.5 5.25 8.5 4c0-.55-.45-1-1-1z"],["href","https://www.google.com/maps/dir//-1.2823913,-78.6089783/@-1.2823913,-78.6089783,19z","target","_blank",2,"width","auto","margin","0 auto","background-color","#673d10","text-align","center","color","#fff","border-radius","20px","font-size","20px","cursor","pointer","text-decoration","none","padding","10px 20px"],[1,"inicio__enlaces"],[1,"inicio__enlaces_tiendas"],["src","../../../assets/img/tiendas/iconconocenos.png","alt","Bogati Sabor Adictivo"],[1,"inicio__enlaces_texto",3,"routerLink"],["version","1.0","xmlns","http://www.w3.org/2000/svg","width","30px","height","30px","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#673D10","stroke","none"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[1,"inicio__enlaces_compra"],["src","../../../assets/img/queofrecemos/Icono-preguntas-frecuentes.png","alt","Bogati Sabor Adictivo",2,"object-fit","cover"],["href","http://bogatipedidos.com/",2,"color","#673D10","text-decoration","none"],[1,"picsum-img-wrapper"],[1,"img__carousel"],["src","../../../assets/img/politicas/politicas.png","alt","Bogati Sabor Adictivo"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div")(4,"ngb-carousel"),C(5,SX,3,0,"ng-template",2),c()()(),l(6,"div",3),h(7,"br"),l(8,"div",4),d(9," Fecha de vigencia: 20 de junio de 2022 "),h(10,"br")(11,"br"),d(12,' Bogati Sabor Adictivo S.A.S. y sus afiliados han creado esta Pol\xedtica de privacidad en cumplimiento de las leyes aplicables y para demostrar nuestro firme compromiso con la privacidad. Esta Pol\xedtica de privacidad describe c\xf3mo Bogati\xae recopila, usa, divulga, transfiere, almacena, retiene o procesa su informaci\xf3n cuando usted (ya sea en su capacidad individual o comercial) accede o usa, de cualquier manera, cualquier contenido, productos, servicios o actividades relacionadas (colectivamente "Servicios") , incluso a trav\xe9s de los dominios de Internet propiedad de Bogati\xae u operados por la misma, que incluyen, pero no se limitan a: '),h(13,"br")(14,"br"),l(15,"a",5),d(16,"bogati.ec"),c(),h(17,"br"),l(18,"a",5),d(19,"bogatipedidos.com"),c()(),h(20,"br"),l(21,"div",4),d(22,' Nos referimos a los sitios web anteriores y a todos los sitios web relacionados como "sitios" y a cada uno de ellos como un "sitio". Cuando nos referimos a "nosotros", "nosotros" o "nuestro", nos referimos a Bogati\xae, o la divisi\xf3n, subsidiaria o afiliada espec\xedfica que opera un sitio, proporciona su contenido o procesa la informaci\xf3n recibida a trav\xe9s de \xe9l, cada uno seg\xfan corresponda. y aplicable. Cuando nos referimos a "ti" o "tu", nos referimos a la persona que accede al sitio. Si la persona que accede al sitio lo hace en nombre o para los fines de otra persona, incluida una empresa u otra organizaci\xf3n, "ti" o "tu" tambi\xe9n se refiere a esa otra persona, incluida una organizaci\xf3n comercial. '),c(),h(23,"br"),l(24,"div",4),d(25," Esta Pol\xedtica de privacidad se aplica a su uso de nuestros Servicios y cubre la informaci\xf3n recopilada en relaci\xf3n con su acceso y uso de nuestros Servicios, incluidos los Servicios proporcionados a trav\xe9s de nuestros sitios y/o en l\xednea. Lea atentamente esta Pol\xedtica de privacidad. Al continuar interactuando con nuestros Servicios, tu aceptas las pr\xe1cticas descritas en esta Pol\xedtica de privacidad. "),c(),l(26,"div",6),d(27," I. NUESTRA POL\xcdTICA DE PRIVACIDAD INCLUYE "),c(),h(28,"br"),l(29,"div")(30,"p",7),d(31," -INFORMACI\xd3N GENERAL "),h(32,"br"),d(33," - QU\xc9 INFORMACI\xd3N RECOPILAMOS "),h(34,"br"),d(35," - C\xd3MO UTILIZAMOS SU INFORMACI\xd3N "),h(36,"br"),d(37," - CU\xc1NDO Y CON QUI\xc9N COMPARTIMOS SU INFORMACI\xd3N "),h(38,"br"),d(39," - POL\xcdTICA DE COOKIES "),h(40,"br"),d(41," - C\xd3MO RESTRINGIR LAS COOKIES "),h(42,"br"),d(43," - AN\xc1LISIS Y PUBLICIDAD DE TERCEROS "),h(44,"br"),d(45," - VINCULACI\xd3N DE P\xc1GINAS "),h(46,"br"),d(47," - REDES SOCIALES "),h(48,"br"),d(49," - CU\xc1NTO TIEMPO CONSERVAMOS SU INFORMACI\xd3N "),h(50,"br"),d(51," - COMUNICACIONES DE MARKETING Y PROMOCI\xd3N "),h(52,"br"),d(53," - CUMPLIMIENTO DE LA LEY DE PROTECCI\xd3N DE LA PRIVACIDAD EN L\xcdNEA DE LOS NI\xd1OS (COPPA) E INFORMACI\xd3N RELACIONADA "),h(54,"br"),d(55," - SEGURIDAD "),h(56,"br"),d(57," - CONSUMIDORES DE ECUADOR "),h(58,"br"),d(59," - CAMBIOS A ESTA POL\xcdTICA DE PRIVACIDAD "),h(60,"br"),d(61," - CONT\xc1CTENOS "),h(62,"br"),c()(),h(63,"br"),l(64,"div",6),d(65," II. informaci\xf3n general "),c(),h(66,"br"),l(67,"div",4),d(68," Cada uno de los sitios est\xe1 alojado en Ecuador . Si visitas los sitios desde fuera de Ecuador, ten en cuenta que al proporcionar tu informaci\xf3n, esta se transfiere, almacena o procesa en Ecuador y otros pa\xedses, donde se encuentran y operan nuestro centro de datos y servidores. Esta secci\xf3n establece la pol\xedtica de privacidad general para Ecuador. Dependiendo de tu estado o pa\xeds de residencia, las leyes de privacidad aplicables pueden brindarte la capacidad de solicitar el acceso, la correcci\xf3n o la eliminaci\xf3n de su informaci\xf3n, como se describe a continuaci\xf3n. Si te encuentras fuera de Ecuador y no deseas permitir la transferencia de tu informaci\xf3n personal a Ecuador, no debes usar estos sitios y debes optar por no recibir cookies "),c(),h(69,"br"),l(70,"div",4),d(71," Nos tomamos muy en serio tu privacidad y la protecci\xf3n de tu informaci\xf3n personal. Solo almacenaremos, procesaremos y divulgaremos tu informaci\xf3n personal de acuerdo con la ley aplicable. Lo dejaremos claro cuando recopilemos informaci\xf3n personal y explicaremos qu\xe9 pretendemos hacer con ella. Hacemos todo lo posible para proteger tu privacidad mediante el uso adecuado de las medidas de seguridad de la informaci\xf3n. "),c(),h(72,"br"),l(73,"div",6),d(74," III. informaci\xf3n que recopiilamos "),c(),h(75,"br"),l(76,"div",8),d(77," 1. INFORMACI\xd3N QUE NOS PROPORCIONA DIRECTAMENTE "),c(),l(78,"div",4),d(79," Bogati\xae puede recopilar informaci\xf3n diferente de ti o sobre ti seg\xfan la forma en que use nuestros sitios o Servicios. Los siguientes ejemplos se proporcionan para ayudarlo a comprender mejor la informaci\xf3n que podemos recopilar a trav\xe9s de su uso de los sitios o en el curso de la prestaci\xf3n de nuestros Servicios "),c(),h(80,"br"),l(81,"div",4)(82,"span",9),d(83," Para clientes: "),c(),d(84," podemos recopilar, usar, almacenar y transferir diferentes tipos de informaci\xf3n personal sobre ti que hemos agrupado de la siguiente manera "),c(),h(85,"br"),l(86,"div",4)(87,"span",9),d(88," - La informaci\xf3n de identidad "),c(),d(89," incluye el nombre, la inicial del segundo nombre, el apellido, la fecha de nacimiento y el sexo. "),h(90,"br"),l(91,"span",9),d(92," - La informaci\xf3n de contacto "),c(),d(93," incluye la direcci\xf3n postal personal, la direcci\xf3n de correo electr\xf3nico y el n\xfamero de tel\xe9fono. "),h(94,"br"),l(95,"span",9),d(96," - La informaci\xf3n de redes sociales "),c(),d(97," incluye una b\xfasqueda de tus cuentas de redes sociales. "),h(98,"br"),l(99,"span",9),d(100," - La informaci\xf3n financiera "),c(),d(101," incluye detalles de la tarjeta de pago. "),h(102,"br"),l(103,"span",9),d(104," - La informaci\xf3n de transacci\xf3n "),c(),d(105," incluye detalles sobre los pagos hacia y desde ti y otros detalles de los productos y servicios que nos ha comprado. "),h(106,"br"),l(107,"span",9),d(108," - La informaci\xf3n de perfil "),c(),d(109," incluye tu nombre de usuario y contrase\xf1a, las compras o los pedidos realizados por ti, tus intereses, preferencias, comentarios y respuestas a encuestas. "),h(110,"br"),l(111,"span",9),d(112," - La informaci\xf3n de uso "),c(),d(113," incluye informaci\xf3n sobre c\xf3mo utiliza nuestros sitios, productos y servicios. "),h(114,"br"),l(115,"span",9),d(116," - La informaci\xf3n t\xe9cnica "),c(),d(117," incluye la direcci\xf3n del protocolo de Internet (IP), sus datos de inicio de sesi\xf3n, el tipo y la versi\xf3n del navegador, la configuraci\xf3n y la ubicaci\xf3n de la zona horaria, los tipos y versiones de los complementos del navegador, el sistema operativo y la plataforma y otra tecnolog\xeda en los dispositivos que utiliza para acceder a este sitio web. "),h(118,"br"),l(119,"span",9),d(120," - La informaci\xf3n de marketing y comunicaciones "),c(),d(121," incluye tus preferencias para recibir marketing nuestro y de nuestros terceros y sus preferencias de comunicaci\xf3n. "),h(122,"br"),l(123,"span",9),d(124," - La informaci\xf3n de geolocalizaci\xf3n "),c(),d(125," incluye la proximidad de su dispositivo a torres de telefon\xeda celular y nodos WiFi cercanos. "),h(126,"br"),l(127,"span",9),d(128," Para proveedores: "),c(),d(129," tambi\xe9n podemos recopilar, usar, almacenar y transferir los siguientes tipos de informaci\xf3n personal sobre ti: "),h(130,"br")(131,"br"),l(132,"span",9),d(133," - La informaci\xf3n de uso "),c(),d(134," incluye informaci\xf3n sobre c\xf3mo utiliza nuestros sitios, productos y servicios. "),h(135,"br"),l(136,"span",9),d(137," - La informaci\xf3n t\xe9cnica "),c(),d(138," incluye la direcci\xf3n del protocolo de Internet (IP), sus datos de inicio de sesi\xf3n, el tipo y la versi\xf3n del navegador, la configuraci\xf3n y la ubicaci\xf3n de la zona horaria, los tipos y versiones de los complementos del navegador, el sistema operativo y la plataforma y otra tecnolog\xeda en los dispositivos que utiliza para acceder a este sitio web. "),h(139,"br"),l(140,"span",9),d(141," - La informaci\xf3n de geolocalizaci\xf3n "),c(),d(142," incluye la proximidad de su dispositivo a torres de telefon\xeda celular y nodos WiFi cercanos. "),h(143,"br")(144,"br"),l(145,"div",8),d(146," 2. INFORMACI\xd3N RECIBIDA A TRAV\xc9S DE PLATAFORMAS DE TERCEROS "),c(),h(147,"br"),l(148,"div",4),d(149,' Puede acceder a nuestros sitios a trav\xe9s de plataformas de terceros, como Facebook. Si utilizas nuestros sitios en o a trav\xe9s de una plataforma de terceros, incluso a trav\xe9s de dispositivos m\xf3viles y/u otros dispositivos conectados a Internet ("Dispositivos inal\xe1mbricos"), o hace clic en enlaces de terceros, la recopilaci\xf3n, el uso y la divulgaci\xf3n de su informaci\xf3n y su uso de los sitios tambi\xe9n estar\xe1 sujeto a las pol\xedticas de privacidad y otros t\xe9rminos de dichos terceros o plataformas de terceros. Debes revisar dichas pol\xedticas de privacidad, t\xe9rminos y otros acuerdos. '),c(),h(150,"br")(151,"br"),l(152,"div",8),d(153," 3. RECOPILACI\xd3N DE INFORMACI\xd3N T\xc9CNICA E INFORMACI\xd3N DE USO "),c(),h(154,"br"),l(155,"div",4),d(156,' Cuando accedes a Bogati\xae sitios, recopilamos autom\xe1ticamente cierta informaci\xf3n. Esta informaci\xf3n puede incluir, entre otros: (a) informaci\xf3n t\xe9cnica sobre tu computadora o dispositivo inal\xe1mbrico, como su direcci\xf3n IP, informaci\xf3n de geolocalizaci\xf3n, tipo de dispositivo, tipo y versi\xf3n del sistema operativo, identificaci\xf3n \xfanica del dispositivo, navegador, idioma del navegador, dominio y otros sistemas tipos de informaci\xf3n o plataforma (colectivamente, "Informaci\xf3n t\xe9cnica"); y (b) estad\xedsticas de uso sobre su interacci\xf3n con Bogati\xae sitios, incluidas las p\xe1ginas a las que se accedi\xf3, la(s) direcci\xf3n(es) del sitio web de referencia, el tiempo dedicado a las p\xe1ginas, las p\xe1ginas visitadas, las consultas de b\xfasqueda, los datos de clic, la fecha y la hora y otra informaci\xf3n relacionada con el uso de Bogati\xae sitios (colectivamente, "Informaci\xf3n de uso") '),c(),h(157,"br"),l(158,"div",4),d(159," Esta informaci\xf3n t\xe9cnica y de uso, que puede estar vinculada a tu informaci\xf3n personal, se recopila mediante el uso de registros del servidor y tecnolog\xedas de seguimiento, que incluyen: (i) cookies, que son peque\xf1os fragmentos de c\xf3digo que los sitios web env\xedan a su computadora o dispositivo inal\xe1mbrico para identificar de forma \xfanica su navegador o dispositivo m\xf3vil o para almacenar informaci\xf3n en la configuraci\xf3n de su navegador; y (ii) web beacons, que son peque\xf1os objetos que nos permiten medir las acciones de los visitantes que utilizan Bogati\xae sitios Para obtener informaci\xf3n m\xe1s detallada sobre c\xf3mo usamos las cookies y otras tecnolog\xedas, consulta la informaci\xf3n adicional en nuestra POL\xcdTICA DE COOKIES "),c()(),l(160,"div",6),d(161," IV. C\xd3MO UTILIZAMOS TU INFORMACI\xd3N "),c(),l(162,"div",4),d(163," Podemos usar informaci\xf3n sobre ti para una serie de prop\xf3sitos, que incluyen: "),c(),h(164,"br"),l(165,"div",8),d(166," 1. PROPORCIONAR, MEJORAR Y DESARROLLAR NUESTROS SERVICIOS "),c(),l(167,"div",4),d(168," - Revisar y analizar la informaci\xf3n t\xe9cnica del navegador del usuario y del dispositivo inal\xe1mbrico; "),h(169,"br"),d(170," - Revisar la actividad de los usuarios en los sitios (por ejemplo, Bogati\xae analiza tendencias, tr\xe1fico de usuarios e informaci\xf3n de uso para determinar el rendimiento del contenido, informes de investigaci\xf3n o eventos); "),h(171,"br"),d(172," - De lo contrario, \xa1proporcionarte el Bogati\xae productos y caracter\xedsticas que elige usar; "),h(173,"br"),d(174," - Mostrar tu transacci\xf3n hist\xf3rica o informaci\xf3n de citas; "),h(175,"br"),d(176," - Proporcionar, mantener y mejorar nuestros servicios; "),h(177,"br"),d(178," - Desarrollar nuevos productos y servicios; "),h(179,"br"),d(180," - Entregar la informaci\xf3n y el apoyo que solicite, incluidos recibos digitales, facturas e informaci\xf3n de programaci\xf3n; "),h(181,"br"),d(182," - Mejorar, personalizar y facilitar su uso de nuestros servicios; y "),h(183,"br"),d(184," - Medir, rastrear y analizar tendencias y uso en relaci\xf3n con su uso o el rendimiento de nuestros servicios. "),h(185,"br"),c(),h(186,"br"),l(187,"div",8),d(188," 2. COMUNICARNOS CON USTED ACERCA DE NUESTROS SERVICIOS "),c(),l(189,"div",4),d(190," - Responder a preguntas o inquietudes; "),h(191,"br"),d(192," - Enviarte informaci\xf3n que creemos que puede encontrar \xfatil o que nos has solicitado sobre nuestros servicios y la industria a la que servimos;"),h(193,"br"),d(194," - Enviar notificaciones autom\xe1ticas a tu computadora de escritorio o dispositivo inal\xe1mbrico para proporcionar actualiza ciones sobre los servicios relevantes, que se pueden administrar a trav\xe9s del navegador de tu computadora o tel\xe9fono inteligente."),h(195,"br"),d(196," - Administrar las preferencias de tu cuenta, establecer su perfil e informaci\xf3n de registro; y"),h(197,"br"),d(198," - Realizar encuestas y recopilar comentarios sobre nuestros servicios. "),h(199,"br"),c(),h(200,"br"),l(201,"div",8),d(202," 3. PROTECCI\xd3N DE NUESTROS SERVICIOS Y MANTENIMIENTO DE UN ENTORNO DE CONFIANZA "),c(),l(203,"div",4),d(204," - Hacer cumplir nuestros T\xe9rminos de servicio u otros acuerdos o pol\xedticas aplicables;"),h(205,"br"),d(206," - Verificar tu identidad;"),h(207,"br"),d(208," - Cumplir con las leyes o regulaciones aplicables, o en respuesta a solicitudes legales de informaci\xf3n del gobierno o me diante un proceso legal;"),h(209,"br"),d(210," - Cumplir con cualquier otro prop\xf3sito que se le haya revelado en relaci\xf3n con nuestros servicios;"),h(211,"br"),d(212," - An\xe1lisis de tendencias y tr\xe1fico de usuarios, seguimiento de compras e informaci\xf3n de uso; y"),h(213,"br"),d(214," - Contactarte para resolver disputas y brindarte asistencia con nuestros servicios. "),h(215,"br"),c(),h(216,"br"),l(217,"div",8),d(218," 4. PUBLICIDAD Y MERCADEO "),c(),l(219,"div",4),d(220," - Comercializaci\xf3n de nuestros servicios; y - Comunicarnos contigo sobre oportunidades, productos, servicios, promociones, descuentos, incentivos y recompensas que ofrecemos nosotros y socios selectos."),h(221,"br"),d(222,' - Si te enviamos correos electr\xf3nicos de marketing, cada correo electr\xf3nico contendr\xe1 instrucciones que te permitir\xe1n "optar por no recibir" futuras comunicaciones de marketing u otras comunicaciones.'),h(223,"br"),d(224," - Si obtenemos alguna informaci\xf3n personal de ti, no la venderemos a terceros, ni permitiremos que terceros con quienes compartimos tu informaci\xf3n personal la vendan. "),h(225,"br"),c(),h(226,"br"),l(227,"div",8),d(228," 5. OTROS USOS "),c(),l(229,"div",4),d(230," - Para cualquier otro prop\xf3sito que se le revele en relaci\xf3n con nuestros servicios de vez en cuando. "),h(231,"br"),c(),h(232,"br"),l(233,"div",6),d(234," V. CU\xc1NDO Y CON QUI\xc9N COMPARTIMOS TU INFORMACI\xd3N "),c(),h(235,"br"),l(236,"div",8),d(237," 1. NO VENDEMOS TU INFORMACI\xd3N "),c(),l(238,"div",4),d(239," No vendemos tu informaci\xf3n personal a terceros y no permitimos que los terceros con quienes compartimos tu informaci\xf3n personal la vendan. "),h(240,"br"),c(),h(241,"br"),l(242,"div",8),d(243," 2. CU\xc1NDO Y C\xd3MO PODEMOS COMPARTIR/DIVULGAR SU INFORMACI\xd3N CON TERCEROS "),c(),l(244,"div",4),d(245," Compartiremos tu informaci\xf3n con los siguientes terceros y bajo las circunstancias que se describen a continuaci\xf3n o como se describe en esta Pol\xedtica de privacidad. "),h(246,"br"),c(),l(247,"div",4),d(248," Podemos compartir tu informaci\xf3n con proveedores de servicios externos que realizan servicios en nuestro nombre, incluido el procesamiento de pagos, el cumplimiento de pedidos, el an\xe1lisis de datos, los servicios de marketing, los servicios de publicidad (incluidos, entre otros, la publicidad reorientada), los servicios de correo electr\xf3nico y alojamiento. y servicio al cliente y soporte. Estos proveedores de servicios externos pueden acceder a tu informaci\xf3n personal y solo pueden usarla seg\xfan lo indiquemos para el prop\xf3sito de nuestro servicio solicitado. "),h(249,"br"),c(),l(250,"div",4),d(251," Exigimos a todos los terceros que respeten la seguridad de tu informaci\xf3n personal. No permitimos que nuestros proveedores de servicios externos utilicen su informaci\xf3n personal para sus propios fines y solo pueden procesar su informaci\xf3n personal de acuerdo con nuestras instrucciones. "),h(252,"br"),c(),h(253,"br"),l(254,"div",8),d(255," 3. TRANSACCIONES CORPORATIVAS "),c(),l(256,"div",4),d(257," \xa1Podemos compartir toda o parte de tu informaci\xf3n personal con otras entidades comerciales en relaci\xf3n con la venta, cesi\xf3n, fusi\xf3n u otra transferencia de la totalidad o una parte de Bogati\xae negocio o activos a dicha entidad comercial (incluso debido a una venta en relaci\xf3n con una quiebra). Exigiremos a cualquier comprador, cesionario u otra entidad comercial sucesora que respete los t\xe9rminos de esta Pol\xedtica de privacidad. "),h(258,"br"),c(),h(259,"br"),l(260,"div",8),d(261," 4. DIVULGACI\xd3N DE INFORMACI\xd3N PARA FINES LEGALES "),c(),l(262,"div",4),d(263," Bogati\xae podemos divulgar toda o parte de tu informaci\xf3n personal cuando tengamos motivos para creer que divulgar esta informaci\xf3n es necesario para identificar, contactar o emprender acciones legales contra alguien que pueda estar violando cualquier acuerdo con Bogati\xae, o que pueda estar causando da\xf1o o interferencia. con (ya sea intencionalmente o no) nuestros derechos o propiedad, otros usuarios de nuestros sitios o cualquier otra persona que pueda verse perjudicada por tales actividades. Podemos divulgar informaci\xf3n en respuesta a una citaci\xf3n, orden de registro, en relaci\xf3n con procedimientos judiciales o de conformidad con \xf3rdenes judiciales, procesos legales u otras medidas de aplicaci\xf3n de la ley. Bogati\xae podemos divulgar o acceder a informaci\xf3n personal cuando creemos de buena fe que la ley lo requiere, para establecer nuestros derechos legales o para defendernos de reclamos legales. "),h(264,"br"),c(),h(265,"br"),l(266,"div",8),d(267," 5. SERVICIOS DE AN\xc1LISIS Y ENRIQUECIMIENTO DE DATOS "),c(),l(268,"div",4),d(269," Utilizamos an\xe1lisis de terceros, como Google Analytics, para ayudar a comprender el uso que usted hace de nuestros sitios y mejorar nuestros servicios. "),h(270,"br"),c(),h(271,"br"),l(272,"div",6),d(273," VII. C\xd3MO RESTRINGIR LAS COOKIES "),c(),h(274,"br"),l(275,"div",4),d(276," Puede ajustar la configuraci\xf3n de su navegador para restringir o bloquear las cookies establecidas por los sitios (o cualquier otro sitio web en Internet). Tu navegador puede incluir informaci\xf3n sobre c\xf3mo ajustar su configuraci\xf3n. Alternativamente, puede visitar www.allaboutcookies.org para obtener informaci\xf3n general completa sobre las cookies y c\xf3mo ajustar la configuraci\xf3n de las cookies en varios navegadores. Este sitio tambi\xe9n explica c\xf3mo eliminar las cookies de su computadora. "),h(277,"br"),c(),l(278,"div",4),d(279," Puede controlar y eliminar estas cookies a trav\xe9s de la configuraci\xf3n de su navegador a trav\xe9s de lo siguiente: "),h(280,"br"),c(),l(281,"div",4),d(282," - Google Chrome "),h(283,"br"),d(284," - Mozilla Firefox"),h(285,"br"),d(286," - Safari"),h(287,"br"),d(288," - \xd3pera"),h(289,"br"),d(290," - Microsoft Internet Explorer"),h(291,"br"),d(292," - Borde de Microsoft"),h(293,"br"),d(294," - Safari para iOS (iPhone y iPad)"),h(295,"br"),d(296," - Chrome para Android"),h(297,"br"),c(),h(298,"br"),l(299,"div",6),d(300," VIII. AN\xc1LISIS Y PUBLICIDAD DE TERCEROS "),c(),h(301,"br"),l(302,"div",4),d(303," Podemos utilizar proveedores de servicios de terceros para proporcionar m\xe9tricas del sitio y otros servicios de an\xe1lisis. Estos terceros pueden usar cookies, balizas web y otras tecnolog\xedas para recopilar informaci\xf3n, como su direcci\xf3n IP, identificadores asociados con su dispositivo, otras aplicaciones en su dispositivo, los navegadores que usa para acceder a nuestros sitios y Servicios, p\xe1ginas web visitadas, tiempo dedicado en p\xe1ginas web, enlaces en los que se hizo clic e informaci\xf3n de conversi\xf3n (por ejemplo, transacciones realizadas). \xa1Esta informaci\xf3n puede ser utilizada por Bogati\xae y proveedores de servicios de terceros en nombre de Bogati\xae para analizar y rastrear el uso de nuestros sitios y Servicios, para determinar la popularidad de cierto contenido y para comprender mejor c\xf3mo usa nuestros sitios y Servicios. "),h(304,"br"),c(),l(305,"div",4),d(306," Esta Pol\xedtica de privacidad no se aplica y no somos responsables de las cookies de terceros, balizas web u otras tecnolog\xedas de seguimiento, que est\xe1n cubiertas por las pol\xedticas de privacidad de dichos terceros. Para obtener m\xe1s informaci\xf3n, le recomendamos que consulte las pol\xedticas de privacidad de estos terceros para conocer sus pr\xe1cticas de privacidad. "),h(307,"br"),c(),h(308,"br"),l(309,"div",6),d(310," IX. VINCULACI\xd3N DE P\xc1GINAS "),c(),h(311,"br"),l(312,"div",4),d(313,' Los sitios contienen enlaces a otros sitios web Bogati\xae no es responsable de las pr\xe1cticas de privacidad o el contenido de dichos sitios web, incluidos los sitios web que pueden indicar una relaci\xf3n especial o asociaci\xf3n con nosotros (como p\xe1ginas de marca compartida o relaciones "con tecnolog\xeda de" o "en cooperaci\xf3n con"). No compartimos la informaci\xf3n que recopilamos con otros sitios web ni con ninguna otra entidad o individuo, a menos que se le comunique dicho intercambio con anticipaci\xf3n a trav\xe9s de esta Pol\xedtica de privacidad. Sin embargo, otros sitios web vinculados pueden recopilar informaci\xf3n personal de usted que no est\xe1 sujeta a nuestro control. Para garantizar la protecci\xf3n de su privacidad, siempre revisa la pol\xedtica de privacidad de los sitios web que puede visitar mediante el enlace desde los sitios. Ten en cuenta que esta Pol\xedtica de privacidad se aplica solo a nuestros sitios y no a los sitios web de otras empresas u organizaciones a los que enlazamos. '),h(314,"br"),c(),l(315,"div",4),d(316," Por ejemplo, la informaci\xf3n recopilada a trav\xe9s de Google Analytics se comparte con Google y sus socios, quienes pueden combinarla con otra informaci\xf3n que les proporcion\xf3 o que recopilaron a partir del uso de sus servicios. Esta informaci\xf3n se almacena en los servidores de Google de acuerdo con sus pr\xe1cticas de privacidad. "),h(317,"br"),c(),h(318,"br"),l(319,"div",6),d(320," X. MEDIOS SOCIALES "),c(),h(321,"br"),l(322,"div",4),d(323," Podemos recopilar informaci\xf3n de otras fuentes, como plataformas de redes sociales que pueden compartir informaci\xf3n sobre c\xf3mo interact\xfaa con nuestro contenido de redes sociales. No controlamos c\xf3mo dichos sitios web de terceros recopilan, almacenan o utilizan tu informaci\xf3n personal ni a qui\xe9n se divulga. Debe revisar las pol\xedticas de privacidad y la configuraci\xf3n en cualquier sitio web de redes sociales al que se suscriba para comprender la informaci\xf3n que recopilan y pueden compartir. Si no desea que sus sitios web de redes sociales compartan informaci\xf3n sobre usted, debe comunicarse con ese sitio web y determinar si le brinda la oportunidad de optar por no compartir dicha informaci\xf3n. Bogati\xae no es responsable de c\xf3mo estos sitios web de terceros pueden usar la informaci\xf3n recopilada de ti o sobre ti. "),h(324,"br"),c(),l(325,"div",4),d(326," Adem\xe1s, nuestros sitios pueden incluir funciones de redes sociales, como el bot\xf3n Me gusta de Facebook. Nuestra integraci\xf3n de estas funciones puede permitir que las redes sociales de terceros recopilen cierta informaci\xf3n, como su direcci\xf3n IP y qu\xe9 p\xe1gina(s) est\xe1 visitando cuando usa nuestros sitios y servicios, y establecer una cookie para permitir que esa funci\xf3n funcione correctamente. Tus interacciones con estas funciones se rigen por la pol\xedtica de privacidad de la empresa que las proporciona. "),h(327,"br"),c(),h(328,"br"),l(329,"div",6),d(330," XI. CU\xc1NTO TIEMPO CONSERVAMOS TU INFORMACI\xd3N "),c(),h(331,"br"),l(332,"div",4),d(333," Por lo general, conservamos tu informaci\xf3n durante el tiempo que sea razonablemente necesario para brindarte los servicios o para cumplir con la ley aplicable. Para determinar el per\xedodo de retenci\xf3n apropiado para la informaci\xf3n personal, consideramos la cantidad, la naturaleza y la confidencialidad de la informaci\xf3n personal, el riesgo potencial de da\xf1o por el uso no autorizado o la divulgaci\xf3n de su informaci\xf3n personal, los fines para los que procesamos tu informaci\xf3n personal y si puede lograr esos fines por otros medios y los requisitos legales aplicables. Podemos conservar copias de la informaci\xf3n sobre ti y cualquier transacci\xf3n o servicio que haya utilizado durante un per\xedodo de tiempo que sea consistente con la ley aplicable, el estatuto de limitaciones aplicable o seg\xfan creamos que es razonablemente necesario para cumplir con la ley, regulaci\xf3n, proceso legal o solicitud gubernamental "),h(334,"br"),c(),l(335,"div",4),d(336," En algunas circunstancias, podemos anonimizar tu informaci\xf3n personal (para que ya no pueda asociarse contigo) con fines de investigaci\xf3n o estad\xedsticos, en cuyo caso podemos usar esta informaci\xf3n indefinidamente sin previo aviso. Esto permite que la informaci\xf3n espec\xedfica recopilada (nombre, correo electr\xf3nico, direcci\xf3n, n\xfamero de tel\xe9fono, etc.) se vuelva an\xf3nima, pero permite que Bogati\xae para conservar los datos de la transacci\xf3n o compromiso. Por ejemplo, Bogati\xae no podremos saber si John Smith se registr\xf3 para un evento, pero podremos decir que una persona se registr\xf3 para un evento y mantener el recuento de personas y el historial de transacciones. \xa1Esto permitir\xe1 que Bogati\xae para mantener un nivel de informaci\xf3n que nos ayude a desarrollar y mejorar nuestros sitios y Servicios. "),h(337,"br"),c(),h(338,"br"),l(339,"div",6),d(340," XII. CONT\xc1CTANOS "),c(),h(341,"br"),l(342,"div",4),d(343," Ponte en contacto con Bogati\xae con cualquier pregunta o inquietud con respecto a esta Pol\xedtica de Privacidad. "),h(344,"br"),c(),l(345,"div",4),d(346," Si tienes alguna pregunta o inquietud con respecto a nuestra Pol\xedtica de privacidad, o si crees que nuestra Pol\xedtica de privacidad o las leyes aplicables relacionadas con la protecci\xf3n de tu informaci\xf3n personal no se han respetado, \xa1puedes informarle qui\xe9n se encargar\xe1 de su asunto y cu\xe1ndo puede esperar una respuesta adicional. Es posible que te solicitemos detalles adicionales con respecto a tus inquietudes y es posible que debamos involucrarnos o consultar con otras partes para investigar y abordar tu problema. Podemos mantener registros de tu solicitud y cualquier resoluci\xf3n. "),h(347,"br"),c(),h(348,"br"),l(349,"div",10),R(),l(350,"svg",11),h(351,"path",12)(352,"path",13)(353,"circle",14),c(),q(),l(354,"b"),d(355,"Direcci\xf3n: "),c(),d(356,"Avenida Bolivariana y Cristobal Ojeda D\xe1vila(Entrada a la Joya) Edificio Bogati "),c(),l(357,"div",10)(358,"a",15),R(),l(359,"svg",11),h(360,"path",12)(361,"path",16),c(),q(),l(362,"b"),d(363,"Tel\xe9fono: "),c(),d(364," 096 8754 840 "),c()(),h(365,"br"),l(366,"a",17),d(367,"VER MAPA"),c()(),h(368,"br"),l(369,"div",18)(370,"div",19),h(371,"img",20)(372,"br"),l(373,"span",21),d(374," Con\xf3cenos "),R(),l(375,"svg",22)(376,"g",23),h(377,"path",24),c()()()(),q(),l(378,"div",25),h(379,"img",26)(380,"br"),l(381,"span",21)(382,"a",27),d(383," Leer Preguntas Frecuentes"),c(),R(),l(384,"svg",22)(385,"g",23),h(386,"path",24),c()()()()(),q(),h(387,"app-unetebogati"),c(),h(388,"app-footer")),2&e&&(m(373),v("routerLink",O(2,MX)),m(8),v("routerLink",O(3,IX)))},directives:[ye,At,kt,Xe,v1,Ee],styles:[""]}),t})();function xX(t,n){1&t&&(l(0,"div",58)(1,"div",59),h(2,"img",60),c()())}const OX=function(){return["/tiendas"]},NX=function(){return["/faqs"]};let kX=(()=>{class t{constructor(){}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-queofrecemos"]],decls:120,vars:4,consts:[[1,"fondo"],[1,"inicio"],["ngbSlide",""],[2,"width","100%","height","auto","padding","20px"],[1,"row"],[1,"col-sm-6"],["src","../../../assets/img/queofrecemos/artesanal.png","alt","BOGATI",2,"width","100%","height","auto"],["src","../../../assets/img/queofrecemos/ecuatoriano.png","alt","BOGATI",2,"width","100%","height","auto"],[1,"ods__franja_img_izq"],[1,"ods__franja_izquierda"],["src","../../../assets/img/queofrecemos/texto-2.png","alt","BOGATI"],[1,"ods__franja_derecha"],["src","../../../assets/img/queofrecemos/imagen-heladero.png","alt","BOGATI",2,"width","80%"],[2,"padding","10px"],[1,"titulos",2,"font-size","50px","text-align","center"],[2,"margin","0 auto","text-align","center","font-size","25px","color","#683e10"],[1,"queofrecemos__franja"],[1,"queofrecemos__franja_img"],[1,"img__fruta"],["src","../../../assets/img/queofrecemos/1.Mora.png","alt","BOGATI"],[1,"img__fruta_hover"],["src","../../../assets/img/queofrecemos/1.Mora-texto.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/2.Vainilla.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/2.-Vainilla-texto.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/3.Maracuya.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/3.Maracuya-texto.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/4.Coco.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/5.-Fresa.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/5.-Fresa-texto.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/6.Naranjilla.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/6.Naranjilla-texto.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/7.Ron-pasas.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/7.Ron-pasas-texto-.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/8.Chocolate.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/8.Chocolate-texto.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/9.Mango.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/9.Mango-texto.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/10.-Taxo.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/10.-Taxo-texto.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/11.-Cafe.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/11.-Cafe-texto.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/12.Guanabana.png","alt","BOGATI"],["src","../../../assets/img/queofrecemos/12.Guanabana-texto.png","alt","BOGATI"],[2,"width","100%","height","auto"],["src","../../../assets/img/queofrecemos/Foto-agricultura-responsable.png","alt","BOGATI",2,"width","100%","height","auto","object-fit","cover"],["src","../../../assets/img/queofrecemos/cultivos.png","alt","BOGATI",2,"width","100%","height","auto"],["src","../../../assets/img/queofrecemos/procesos.png","alt","BOGATI",2,"width","100%","height","auto"],[1,"inicio__enlaces"],[1,"inicio__enlaces_tiendas",3,"routerLink"],["src","../../../assets/img/icono-encuentra-una-tienda.png","alt","Bogati Sabor Adictivo"],[1,"inicio__enlaces_texto"],["version","1.0","xmlns","http://www.w3.org/2000/svg","width","30px","height","30px","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#673D10","stroke","none"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[1,"inicio__enlaces_compra"],["src","../../../assets/img/queofrecemos/Icono-preguntas-frecuentes.png","alt","Bogati Sabor Adictivo",2,"object-fit","cover"],[1,"inicio__enlaces_texto",3,"routerLink"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[1,"picsum-img-wrapper"],[1,"img__carousel"],["src","../../../assets/img/queofrecemos/fondo-seccion-ingredientes.png","alt","Bogati Sabor Adictivo"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div")(4,"ngb-carousel"),C(5,xX,3,0,"ng-template",2),c()()(),l(6,"div",3)(7,"div",4)(8,"div",5),h(9,"img",6),c(),l(10,"div",5),h(11,"img",7),c()()(),l(12,"div",8)(13,"div",9),h(14,"img",10),c(),l(15,"div",11),h(16,"img",12),c()(),l(17,"div",13)(18,"div",14),d(19," SOLO LO MEJOR A BASE DE FRUTAS "),c(),l(20,"p",15),d(21," estos son algunos de nuestros ingredientes favoritos "),c()(),h(22,"br")(23,"br"),l(24,"div",16)(25,"div",17)(26,"div",18),h(27,"img",19),l(28,"div",20),h(29,"img",21),c()()(),l(30,"div",17)(31,"div",18),h(32,"img",22),l(33,"div",20),h(34,"img",23),c()()(),l(35,"div",17)(36,"div",18),h(37,"img",24),l(38,"div",20),h(39,"img",25),c()()(),l(40,"div",17)(41,"div",18),h(42,"img",26),l(43,"div",20),h(44,"img",26),c()()()(),h(45,"br"),l(46,"div",16)(47,"div",17)(48,"div",18),h(49,"img",27),l(50,"div",20),h(51,"img",28),c()()(),l(52,"div",17)(53,"div",18),h(54,"img",29),l(55,"div",20),h(56,"img",30),c()()(),l(57,"div",17)(58,"div",18),h(59,"img",31),l(60,"div",20),h(61,"img",32),c()()(),l(62,"div",17)(63,"div",18),h(64,"img",33),l(65,"div",20),h(66,"img",34),c()()()(),h(67,"br"),l(68,"div",16)(69,"div",17)(70,"div",18),h(71,"img",35),l(72,"div",20),h(73,"img",36),c()()(),l(74,"div",17)(75,"div",18),h(76,"img",37),l(77,"div",20),h(78,"img",38),c()()(),l(79,"div",17)(80,"div",18),h(81,"img",39),l(82,"div",20),h(83,"img",40),c()()(),l(84,"div",17)(85,"div",18),h(86,"img",41),l(87,"div",20),h(88,"img",42),c()()()(),h(89,"br")(90,"br"),l(91,"div",43),h(92,"img",44),c(),l(93,"div",3)(94,"div",4)(95,"div",5),h(96,"img",45),c(),l(97,"div",5),h(98,"img",46),c()()(),h(99,"br"),l(100,"div",47)(101,"div",48),h(102,"img",49)(103,"br"),l(104,"span",50),d(105," Encuentra Una Tienda "),R(),l(106,"svg",51)(107,"g",52),h(108,"path",53),c()()()(),q(),l(109,"div",54),h(110,"img",55)(111,"br"),l(112,"span",56),d(113," Leer Preguntas Frecuentes "),R(),l(114,"svg",51)(115,"g",52),h(116,"path",57),c()()()()(),q(),h(117,"br")(118,"app-unetebogati"),c(),h(119,"app-footer")),2&e&&(m(101),v("routerLink",O(2,OX)),m(11),v("routerLink",O(3,NX)))},directives:[ye,At,kt,Xe,v1,Ee],styles:[""]}),t})();function RX(t,n){1&t&&(l(0,"div",12),R(),l(1,"svg",13)(2,"g",14)(3,"circle",15),h(4,"animateTransform",16)(5,"animate",17),c(),l(6,"circle",18),h(7,"animateTransform",19)(8,"animate",20),c()()()())}let FX=(()=>{class t{constructor(e,i,o,s,r){this._login=e,this._cookie=i,this.toastr=o,this.rutaActiva=s,this._router=r,this.hide=!0,this.newPassword="",this.confirmPassword="",this.hash="",this.id_usu="",this.showSpinner=!1}ngOnInit(){this.hash=this.rutaActiva.snapshot.params.hash,this.id_usu=this.rutaActiva.snapshot.params.id_usu,this.usuario={id_suc:"",foto_usu:"",usuario_usu:"",password_usu:"",rol_usu:"",nombre_uno:"",nombre_dos:"",apellido_uno:"",apellido_dos:"",ciruc_usu:"",direccion_usu:"",mail_usu:""}}restablecerPassword(){this.newPassword!=this.confirmPassword?this.toastWarning("Las contrase\xf1as no son iguales"):""==this.newPassword||""==this.confirmPassword?this.toastWarning("Debes llenar toda la informaci\xf3n para continuar"):(this.usuario.password_usu=this.newPassword.trim(),this.usuario.id_usu=this.id_usu,this.showSpinner=!0,this._login.updatePasswordMail(this.usuario).subscribe(e=>{e?(this.toastSuccess("Hemos cambiado correctamente tu contrase\xf1a"),this._router.navigate(["/home/login"]),this.showSpinner=!1):(this.toastError("Tenemos problemas para restablecer tu contrase\xf1a por favor intentalo m\xe1s tarde"),this.showSpinner=!1)}))}toastSuccess(e){this.toastr.success(e,"Exito",{timeOut:4e3})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(_(xn),_(Ve),_(Re),_(Vt),_(gt))},t.\u0275cmp=N({type:t,selectors:[["app-recoverypassword"]],decls:30,vars:7,consts:[["class","spinner",4,"ngIf"],[1,"fondo"],[1,"fondo",2,"width","90%","height","auto","margin","0 auto"],["elemento",""],[1,"row"],[1,"col-sm-4"],[1,"titulos"],["appearance","fill",1,"example-full-width"],["matInput","","placeholder","Nueva Contrase\xf1a",3,"ngModel","type","ngModelChange"],["matSuffix","",3,"click"],["matInput","","placeholder","Confirmar Contrase\xf1a",3,"ngModel","type","ngModelChange"],[1,"button_tomate",3,"click"],[1,"spinner"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","width","214px","height","214px","viewBox","0 0 100 100","preserveAspectRatio","xMidYMid",2,"margin","auto","background","none","display","block","shape-rendering","auto"],["transform","translate(0 -8)"],["cx","50","cy","40.4","r","10","fill","#1d0e0b"],["attributeName","transform","type","rotate","dur","1.6949152542372883s","repeatCount","indefinite","keyTimes","0;1","values","0 50 50;360 50 50"],["attributeName","r","dur","1.6949152542372883s","repeatCount","indefinite","calcMode","spline","keyTimes","0;0.5;1","values","0;16;0","keySplines","0.2 0 0.8 1;0.2 0 0.8 1"],["cx","50","cy","40.4","r","10","fill","#774023"],["attributeName","transform","type","rotate","dur","1.6949152542372883s","repeatCount","indefinite","keyTimes","0;1","values","180 50 50;540 50 50"],["attributeName","r","dur","1.6949152542372883s","repeatCount","indefinite","calcMode","spline","keyTimes","0;0.5;1","values","16;0;16","keySplines","0.2 0 0.8 1;0.2 0 0.8 1"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),C(1,RX,9,0,"div",0),h(2,"br"),l(3,"div",1)(4,"div",2,3)(6,"div",4),h(7,"div",5),l(8,"div",5)(9,"div",6),d(10," Recuperar Contrase\xf1a "),c(),l(11,"mat-form-field",7)(12,"mat-label"),d(13,"Nueva Contrase\xf1a"),c(),l(14,"input",8),D("ngModelChange",function(s){return i.newPassword=s}),c(),l(15,"mat-icon",9),D("click",function(){return i.hide=!i.hide}),d(16),c()(),l(17,"mat-form-field",7)(18,"mat-label"),d(19,"Confirmar Contrase\xf1a"),c(),l(20,"input",10),D("ngModelChange",function(s){return i.confirmPassword=s}),c(),l(21,"mat-icon",9),D("click",function(){return i.hide=!i.hide}),d(22),c()(),h(23,"br"),l(24,"div",11),D("click",function(){return i.restablecerPassword()}),d(25," Guardar Nueva Contrase\xf1a "),c(),h(26,"br")(27,"br"),c(),h(28,"div",5),c()()(),h(29,"app-footer")),2&e&&(m(1),v("ngIf",i.showSpinner),m(13),v("ngModel",i.newPassword)("type",i.hide?"password":"text"),m(2),le(i.hide?"visibility_off":"visibility"),m(4),v("ngModel",i.confirmPassword)("type",i.hide?"password":"text"),m(2),le(i.hide?"visibility_off":"visibility"))},directives:[ye,Ye,xi,di,Qi,wt,It,jt,Sc,Lh,Ee],styles:[""]}),t})();function PX(t,n){1&t&&(l(0,"div",16)(1,"div",17),h(2,"img",18),c()())}const LX=function(){return["/nosotros"]},BX=function(){return["/home/faqs"]};let VX=(()=>{class t{constructor(){}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-terminos"]],decls:286,vars:4,consts:[[1,"fondo"],[1,"inicio"],["ngbSlide",""],[1,"politicas"],[1,"politicas__parrafo"],[1,"subtitulos",2,"font-size","20px"],[1,"politicas__parrafo",2,"padding-left","30px"],[1,"inicio__enlaces"],[1,"inicio__enlaces_tiendas"],["src","../../../assets/img/tiendas/iconconocenos.png","alt","Bogati Sabor Adictivo"],[1,"inicio__enlaces_texto",3,"routerLink"],["version","1.0","xmlns","http://www.w3.org/2000/svg","width","30px","height","30px","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#673D10","stroke","none"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[1,"inicio__enlaces_compra"],["src","../../../assets/img/queofrecemos/Icono-preguntas-frecuentes.png","alt","Bogati Sabor Adictivo",2,"object-fit","cover"],[1,"picsum-img-wrapper"],[1,"img__carousel"],["src","../../../assets/img/terminos/terminos.png","alt","Bogati Sabor Adictivo"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div")(4,"ngb-carousel"),C(5,PX,3,0,"ng-template",2),c()()(),l(6,"div",3),h(7,"br"),l(8,"div",4),d(9," \xdaltima modificaci\xf3n 20 de junio de 2022 "),h(10,"br")(11,"br"),d(12,' Estos t\xe9rminos de uso se celebran entre t\xfa y Bogati\xae (" Compa\xf1\xeda ", " nosotros " o " nosotros "). Los siguientes t\xe9rminos y condiciones " T\xe9rminos de uso ") rigen su acceso y uso de BOGATI.EC, incluido cualquier contenido, funcionalidad y servicios ofrecidos en o a trav\xe9s de BOGATI.EC (el " Sitio web ") '),h(13,"br")(14,"br"),d(15," Lee atentamente los T\xe9rminos de uso antes de comenzar a utilizar el sitio web. Al usar el sitio web, t\xfa aceptas estar sujeto y cumplir con estos T\xe9rminos de uso y nuestra Pol\xedtica de privacidad, que se encuentran en BOGATI.EC/PRIVACIDAD, incorporados aqu\xed como referencia. Si no deseas aceptar estos T\xe9rminos de uso o la Pol\xedtica de privacidad, no debes acceder ni utilizar el sitio web. "),h(16,"br")(17,"br"),d(18," Este sitio web se ofrece y est\xe1 disponible para usuarios mayores de 18 a\xf1os que residan en los Ecuador o cualquiera de sus territorios o posesiones. Al usar este sitio web, t\xfa declara y garantiza que es mayor de edad para formalizar un contrato vinculante con la Compa\xf1\xeda y cumplir con todos los requisitos de elegibilidad anteriores. Si no cumples con todos estos requisitos, no debes acceder ni utilizar el Sitio Web "),c(),h(19,"br"),l(20,"div",5),d(21," Cambios en los T\xe9rminos de uso "),c(),h(22,"br"),l(23,"div",4),d(24," Podemos revisar y actualizar estos T\xe9rminos de uso de vez en cuando a nuestro exclusivo criterio. Todos los cambios entran en vigencia inmediatamente cuando los publicamos y se aplican a todos los accesos y usos del sitio web a partir de entonces. "),h(25,"br")(26,"br"),d(27," Su uso continuo del sitio web despu\xe9s de la publicaci\xf3n de los T\xe9rminos de uso revisados significa que aceptas y estas de acuerdo con los cambios. Se espera que revises esta p\xe1gina para estar al tanto de cualquier cambio, ya que son vinculantes para ti. "),c(),h(28,"br"),l(29,"div",5),d(30," Acceso al sitio web y seguridad de la cuenta "),c(),h(31,"br"),l(32,"div",4),d(33," Nos reservamos el derecho de retirar o modificar este sitio web y cualquier servicio o material que proporcionemos en el sitio web, a nuestro exclusivo criterio y sin previo aviso. No seremos responsables si, por cualquier motivo, la totalidad o parte del sitio web no est\xe1 disponible en alg\xfan momento o durante alg\xfan per\xedodo. De vez en cuando, podemos restringir el acceso a algunas partes del sitio web, o al sitio web completo, a los usuarios, incluidos los usuarios registrados. "),c(),h(34,"br"),l(35,"div",5),d(36," T\xfa es responsable de ambos: "),c(),h(37,"br"),l(38,"div",4),d(39," Hacer todos los arreglos necesarios para que usted tenga acceso al sitio web. Garantizar que todas las personas que accedan al Sitio Web a trav\xe9s de su conexi\xf3n a Internet conocen estos T\xe9rminos de Uso y los cumplen. "),h(40,"br"),d(41," Para acceder al sitio web o a algunos de los recursos que ofrece, es posible que se te solicite que proporcione ciertos detalles de registro u otra informaci\xf3n. Es una condici\xf3n de su uso del sitio web que toda la informaci\xf3n que proporciones en el sitio web sea correcta, actual y completa. T\xfa aceptas que toda la informaci\xf3n que proporciones para registrarse en este sitio web o de otro modo, incluido, entre otros, mediante el uso de cualquier funci\xf3n interactiva en el sitio web, se rige por nuestra Pol\xedtica de privacidad BOGATI.EC/PRIVACIDAD, y t\xfa aceptas todos acciones que tomamos con respecto a tu informaci\xf3n de acuerdo con nuestra Pol\xedtica de privacidad "),h(42,"br")(43,"br"),d(44," Si elige, o se te proporciona, un nombre de usuario, contrase\xf1a o cualquier otra informaci\xf3n como parte de nuestros procedimientos de seguridad, debes tratar dicha informaci\xf3n como confidencial y no debe divulgarla a ninguna otra persona o entidad. Tambi\xe9n reconoces que tu cuenta es personal para ti y aceptas no proporcionar a ninguna otra persona acceso a este sitio web o partes de \xe9l utilizando tu nombre de usuario, contrase\xf1a u otra informaci\xf3n de seguridad. T\xfa acepta notificarnos de inmediato sobre cualquier acceso no autorizado o uso de tu nombre de usuario o contrase\xf1a o cualquier otra violaci\xf3n de la seguridad. Tambi\xe9n aceptas asegurarse de salir de tu cuenta al final de cada sesi\xf3n. Debe tener especial cuidado al acceder a tu cuenta desde una computadora p\xfablica o compartida para que otros no puedan ver o registrar tu contrase\xf1a u otra informaci\xf3n personal "),h(45,"br")(46,"br"),d(47," Tenemos derecho a deshabilitar cualquier nombre de usuario, contrase\xf1a u otro identificador, ya sea elegido por ti o proporcionado por nosotros, en cualquier momento, a nuestro exclusivo criterio, por cualquier motivo o sin \xe9l, incluso si, en nuestra opini\xf3n, ha violado alguna disposici\xf3n. de estos T\xe9rminos de uso. "),c(),h(48,"br"),l(49,"div",5),d(50," Derechos de propiedad intelectual "),c(),h(51,"br"),l(52,"div",4),d(53," El sitio web y todo su contenido, caracter\xedsticas y funcionalidad (incluidos, entre otros, toda la informaci\xf3n, el software, el texto, las pantallas, las im\xe1genes, el video y el audio, y el dise\xf1o, la selecci\xf3n y la disposici\xf3n de los mismos) son propiedad de la Compa\xf1\xeda, sus otorgantes de licencias u otros proveedores de dicho material y est\xe1n protegidos por las leyes de derechos de autor, marcas comerciales, patentes, secretos comerciales y otras leyes de propiedad intelectual o derechos de propiedad de los Estados Unidos e internacionales. "),h(54,"br")(55,"br"),d(56," Estos T\xe9rminos de uso le permiten utilizar el sitio web \xfanicamente para tu uso personal y no comercial. No debe reproducir, distribuir, modificar, crear trabajos derivados, exhibir p\xfablicamente, ejecutar p\xfablicamente, volver a publicar, descargar, almacenar o transmitir ning\xfan material en nuestro sitio web. "),c(),h(57,"br"),l(58,"div",5),d(59," No debes: "),c(),h(60,"br"),l(61,"div",4),d(62," Modificar copias de cualquier material de este sitio. "),h(63,"br"),d(64," Usar cualquier ilustraci\xf3n, fotograf\xeda, secuencia de video o audio, o cualquier gr\xe1fico por separado del texto que lo acompa\xf1a. "),h(65,"br"),d(66," Eliminar o alterar cualquier aviso de derechos de autor, marca comercial u otros derechos de propiedad de las copias de los materiales de este sitio. "),h(67,"br"),d(68," No debes acceder ni utilizar con fines comerciales ninguna parte del sitio web ni ning\xfan servicio o material disponible a trav\xe9s del sitio web. "),h(69,"br")(70,"br"),d(71," Si imprimes, copias, modificas, descargas, usas o proporciona acceso a cualquier otra persona a cualquier parte del sitio web en incumplimiento de los T\xe9rminos de uso, su derecho a usar el sitio web cesar\xe1 de inmediato y debe, a nuestra discreci\xf3n. , devuelva o destruya cualquier copia de los materiales que haya hecho. No se le transfiere ning\xfan derecho, t\xedtulo o inter\xe9s en el sitio web o cualquier contenido del sitio web, y la Compa\xf1\xeda se reserva todos los derechos no otorgados expresamente. Cualquier uso del sitio web que no est\xe9 expresamente permitido por estos T\xe9rminos de uso es un incumplimiento de estos T\xe9rminos de uso y puede violar los derechos de autor, marcas comerciales y otras leyes. "),c(),h(72,"br"),l(73,"div",5),d(74," Marcas registradas "),c(),h(75,"br"),l(76,"div",4),d(77," El nombre de la empresa Bogati\xae y todos los nombres, logotipos, nombres de productos y servicios, dise\xf1os y esl\xf3ganes relacionados son marcas comerciales de la Compa\xf1\xeda o sus afiliados o licenciantes. No debe usar tales marcas sin el permiso previo por escrito de la Compa\xf1\xeda. Todos los dem\xe1s nombres, logotipos, nombres de productos y servicios, dise\xf1os y esl\xf3ganes en este sitio web son marcas comerciales de sus respectivos propietarios. "),c(),h(78,"br"),l(79,"div",5),d(80," Usos Prohibidos "),c(),h(81,"br"),l(82,"div",4),d(83," Puede usar el sitio web solo para fines legales y de acuerdo con estos T\xe9rminos de uso. T\xfa aceptas no utilizar el sitio web: "),h(84,"br")(85,"br"),d(86," De cualquier manera que viole cualquier ley o regulaci\xf3n federal, estatal, local o internacional aplicable (incluidas, entre otras, las leyes relacionadas con la exportaci\xf3n de datos o software hacia y desde Ecuador u otros pa\xedses). Con el prop\xf3sito de explotar, da\xf1ar o intentar explotar o da\xf1ar a menores de cualquier manera exponi\xe9ndolos a contenido inapropiado, solicitando informaci\xf3n de identificaci\xf3n personal, o de otra manera. "),h(87,"br")(88,"br"),d(89," Para enviar, recibir, cargar, descargar, usar o reutilizar a sabiendas cualquier material que no cumpla con los est\xe1ndares de contenido establecidos en estos T\xe9rminos de uso. "),h(90,"br"),d(91,' Para transmitir o procurar el env\xedo de cualquier material publicitario o promocional sin nuestro consentimiento previo por escrito, incluido cualquier "correo basura", "carta en cadena", "spam" o cualquier otra solicitud similar. '),h(92,"br"),d(93," Suplantar o intentar suplantar a la Compa\xf1\xeda, a un empleado de la Compa\xf1\xeda, a otro usuario o a cualquier otra persona o entidad (incluido, entre otros, mediante el uso de direcciones de correo electr\xf3nico o nombres de pantalla asociados con cualquiera de los anteriores). "),h(94,"br"),d(95," Participar en cualquier otra conducta que restrinja o inhiba el uso o disfrute del sitio web por parte de cualquier persona, o que, seg\xfan lo determinemos, pueda da\xf1ar a la Compa\xf1\xeda o a los usuarios del sitio web, o exponerlos a responsabilidad. "),c(),h(96,"br"),l(97,"div",5),d(98," Adem\xe1s, acepta no: "),c(),h(99,"br"),l(100,"div",4),d(101," Usar el sitio web de cualquier manera que pueda deshabilitar, sobrecargar, da\xf1ar o perjudicar el sitio o interferir con el uso del sitio web por parte de terceros, incluida su capacidad para participar en actividades en tiempo real a trav\xe9s del sitio web. Usar cualquier robot, ara\xf1a u otro dispositivo, proceso o medio autom\xe1tico para acceder al sitio web para cualquier prop\xf3sito, incluido el monitoreo o la copia de cualquier material en el sitio web. "),h(102,"br")(103,"br"),d(104," Usar cualquier proceso manual para monitorear o copiar cualquiera de los materiales en el sitio web, o para cualquier otro prop\xf3sito no autorizado expresamente en estos T\xe9rminos de uso, sin nuestro consentimiento previo por escrito. "),h(105,"br"),d(106," Usar cualquier dispositivo, software o rutina que interfiera con el correcto funcionamiento del sitio web. "),h(107,"br"),d(108," Introducir virus, troyanos, gusanos, bombas l\xf3gicas u otro material malicioso o tecnol\xf3gicamente da\xf1ino. "),h(109,"br"),d(110," Intentar obtener acceso no autorizado, interferir, da\xf1ar o interrumpir cualquier parte del sitio web, el servidor en el que se almacena el sitio web o cualquier servidor, computadora o base de datos conectada al sitio web. "),h(111,"br"),d(112," Atacar el sitio web a trav\xe9s de un ataque de denegaci\xf3n de servicio o un ataque de denegaci\xf3n de servicio distribuido. "),h(113,"br"),d(114," De lo contrario, intentar interferir con el correcto funcionamiento del sitio web. "),h(115,"br"),d(116," Contribuciones del usuario "),h(117,"br")(118,"br"),d(119,' El sitio web puede contener tableros de mensajes, blogs, foros, tableros de anuncios y otras caracter\xedsticas interactivas (colectivamente, " Servicios interactivos ") que permiten a los usuarios publicar, enviar, publicar, mostrar o transmitir a otros usuarios u otras personas (en adelante, " publicar ") contenido o materiales (colectivamente, " Contribuciones del usuario ") en o a trav\xe9s del sitio web. '),h(120,"br")(121,"br"),d(122," Todas las Contribuciones de los usuarios deben cumplir con los Est\xe1ndares de contenido establecidos en estos T\xe9rminos de uso. "),h(123,"br")(124,"br"),d(125," Cualquier contribuci\xf3n del usuario que publique en el sitio se considerar\xe1 no confidencial y no propietaria. Al proporcionar cualquier Contribuci\xf3n del usuario en el sitio web, nos otorga el derecho de usar, reproducir, modificar, realizar, mostrar, distribuir y divulgar a terceros dicho material. "),c(),h(126,"br"),l(127,"div",5),d(128," T\xfa declaras y garantizas que: "),c(),h(129,"br"),l(130,"div",4),d(131," T\xfa posees o controlas todos los derechos sobre las Contribuciones del usuario y tienes derecho a otorgarnos la licencia otorgada anteriormente. "),h(132,"br"),d(133," Todas sus Contribuciones de usuario cumplen y cumplir\xe1n con estos T\xe9rminos de uso. T\xfa comprendes y reconoces que eres responsable de cualquier Contribuci\xf3n de usuario que env\xedes o contribuyas, y t\xfa, no la Compa\xf1\xeda, tiene la responsabilidad total de dicho contenido, incluida su legalidad, confiabilidad, precisi\xf3n y adecuaci\xf3n. "),h(134,"br"),d(135," No somos responsables ante ning\xfan tercero por el contenido o la precisi\xf3n de las Contribuciones del usuario publicadas por usted o cualquier otro usuario del sitio web. "),h(136,"br"),d(137," Supervisi\xf3n y Cumplimiento; Terminaci\xf3n "),c(),h(138,"br"),l(139,"div",5),d(140," Tenemos derecho a: "),c(),h(141,"br"),l(142,"div",4),d(143," Eliminar o negarse a publicar Contribuciones de usuarios por cualquier motivo o sin \xe9l, a nuestro exclusivo criterio. Tomar cualquier medida con respecto a cualquier Contribuci\xf3n del usuario que consideremos necesaria o apropiada a nuestro exclusivo criterio, incluso si creemos que dicha Contribuci\xf3n del usuario viola los T\xe9rminos de uso, incluidos los est\xe1ndares de contenido, infringe cualquier derecho de propiedad intelectual u otro derecho de cualquier persona o entidad, amenaza la seguridad personal de los usuarios del sitio web o del p\xfablico, o podr\xeda crear responsabilidad para la Compa\xf1\xeda. "),h(144,"br"),d(145," Divulgar su identidad u otra informaci\xf3n sobre ti a cualquier tercero que afirme que el material publicado por ti viola sus derechos, incluidos sus derechos de propiedad intelectual o su derecho a la privacidad. "),h(146,"br"),d(147," Tomar las medidas legales apropiadas, que incluyen, entre otras, la remisi\xf3n a la polic\xeda, por cualquier uso ilegal o no autorizado del sitio web. "),h(148,"br"),d(149," Terminar o suspender su acceso a todo o parte del sitio web por cualquier motivo o sin \xe9l, incluida, entre otras, cualquier violaci\xf3n de estos T\xe9rminos de uso. "),h(150,"br"),d(151," Sin limitar lo anterior, tenemos derecho a cooperar plenamente con las autoridades encargadas de hacer cumplir la ley u orden judicial que nos solicite u ordene que divulguemos la identidad u otra informaci\xf3n de cualquier persona que publique cualquier material en el sitio web o a trav\xe9s de este. T\xda RENUNCIAS Y EXONERAS DE RESPONSABILIDAD A LA COMPA\xd1\xcdA DE CUALQUIER RECLAMACI\xd3N RESULTANTE DE CUALQUIER ACCI\xd3N TOMADA POR LA COMPA\xd1\xcdA DURANTE O COMO CONSECUENCIA DE LAS INVESTIGACIONES POR PARTE DE LA COMPA\xd1\xcdA O DE LAS AUTORIDADES POLICIALES. "),h(152,"br")(153,"br"),d(154," Sin embargo, no nos comprometemos a revisar el material antes de que se publique en el sitio web y no podemos garantizar la pronta eliminaci\xf3n de material objetable despu\xe9s de que se haya publicado. En consecuencia, no asumimos ninguna responsabilidad por cualquier acci\xf3n o inacci\xf3n con respecto a las transmisiones, comunicaciones o contenido proporcionado por cualquier usuario o tercero. No tenemos obligaci\xf3n ni responsabilidad ante nadie por el desempe\xf1o o incumplimiento de las actividades descritas en esta secci\xf3n. "),c(),h(155,"br"),l(156,"div",5),d(157," Est\xe1ndares de contenido "),c(),h(158,"br"),l(159,"div",4),d(160," Estos est\xe1ndares de contenido se aplican a todas y cada una de las Contribuciones del usuario y el uso de los Servicios interactivos. Las Contribuciones de los usuarios deben cumplir en su totalidad con todas las leyes y reglamentaciones federales, estatales, locales e internacionales aplicables. Sin limitar lo anterior, las contribuciones de los usuarios no deben: "),l(161,"div",6),d(162," - Contener cualquier material que sea difamatorio, obsceno, indecente, abusivo, ofensivo, acosador, violento, odioso, incendiario o de otra manera objetable. "),h(163,"br"),d(164," - Promover material sexualmente expl\xedcito o pornogr\xe1fico, violencia o discriminaci\xf3n por motivos de raza, sexo, reli gi\xf3n, nacionalidad, discapacidad, orientaci\xf3n sexual o edad. "),h(165,"br"),d(166," - Infringir cualquier patente, marca comercial, secreto comercial, derechos de autor u otra propiedad intelectual u otros derechos de cualquier otra persona. "),h(167,"br"),d(168," - Violar los derechos legales (incluidos los derechos de publicidad y privacidad) de otros o contener cualquier material que pueda dar lugar a responsabilidad civil o penal seg\xfan las leyes o reglamentos aplicables o que de otro modo pueda estar en conflicto con estos T\xe9rminos de uso y nuestra Pol\xedtica de privacidad en BOGATI.EC/PRIVACIDAD. "),h(169,"br"),d(170," - Ser susceptible de enga\xf1ar a cualquier persona. "),h(171,"br"),d(172," - Promover cualquier actividad ilegal, o defender, promover o ayudar a cualquier acto ilegal. "),h(173,"br"),d(174," - Causar molestia, inconveniencia o ansiedad innecesaria o que pueda molestar, avergonzar, alarmar o molestar a cualquier otra persona. "),h(175,"br"),d(176," - Suplantar a cualquier persona o tergiversar su identidad o afiliaci\xf3n con cualquier persona u organizaci\xf3n. "),h(177,"br"),d(178," - Involucrar actividades comerciales o ventas, tales como concursos, sorteos y otras promociones de ventas, trueque o publicidad. "),h(179,"br"),d(180," - Dar la impresi\xf3n de que emanan o est\xe1n respaldados por nosotros o cualquier otra persona o entidad, si este no es el caso. "),h(181,"br"),c()(),h(182,"br"),l(183,"div",5),d(184," Confianza en la informaci\xf3n publicada "),c(),h(185,"br"),l(186,"div",4),d(187," La informaci\xf3n presentada en o a trav\xe9s del sitio web se pone a disposici\xf3n \xfanicamente con fines de informaci\xf3n general. No garantizamos la exactitud, integridad o utilidad de esta informaci\xf3n. Cualquier confianza que deposite en dicha informaci\xf3n es estrictamente bajo su propio riesgo. Renunciamos a toda responsabilidad que surja de la confianza depositada en dichos materiales por usted o cualquier otro visitante del sitio web, o por cualquier persona que pueda estar informada de cualquiera de sus contenidos. "),h(188,"br")(189,"br"),d(190," Este sitio web puede incluir contenido proporcionado por terceros, incluidos materiales proporcionados por otros usuarios, blogueros y licenciantes, sindicadores, agregadores y/o servicios de informes de terceros. Todas las declaraciones y/u opiniones expresadas en estos materiales, y todos los art\xedculos y respuestas a preguntas y otro contenido, que no sea el contenido proporcionado por la Compa\xf1\xeda, son \xfanicamente opiniones y responsabilidad de la persona o entidad que proporciona dichos materiales. Estos materiales no reflejan necesariamente la opini\xf3n de la Compa\xf1\xeda. No somos responsables ante usted o cualquier tercero por el contenido o la precisi\xf3n de los materiales proporcionados por terceros. "),c(),h(191,"br"),l(192,"div",5),d(193," Cambios en el sitio web "),c(),h(194,"br"),l(195,"div",4),d(196," Es posible que actualicemos el contenido de este sitio web de vez en cuando, pero su contenido no est\xe1 necesariamente completo o actualizado. Cualquiera de los materiales en el sitio web puede estar desactualizado en un momento dado, y no tenemos la obligaci\xf3n de actualizar dicho material. "),c(),h(197,"br"),l(198,"div",5),d(199," Informaci\xf3n sobre usted y sus visitas al sitio web "),c(),h(200,"br"),l(201,"div",4),d(202," Toda la informaci\xf3n que recopilamos en este sitio web est\xe1 sujeta a nuestra Pol\xedtica de privacidad en BOGATI.EC/PRIVACIDAD. Al usar el sitio web, acepta todas las acciones que tomamos con respecto a su informaci\xf3n de conformidad con la Pol\xedtica de privacidad. "),c(),h(203,"br"),l(204,"div",5),d(205," Enlaces desde el sitio web "),c(),h(206,"br"),l(207,"div",4),d(208," Si el sitio web contiene enlaces a otros sitios y recursos proporcionados por terceros, estos enlaces se proporcionan \xfanicamente para su comodidad. Esto incluye enlaces contenidos en anuncios, incluidos anuncios publicitarios y enlaces patrocinados. No tenemos control sobre el contenido de esos sitios o recursos, y no aceptamos ninguna responsabilidad por ellos o por cualquier p\xe9rdida o da\xf1o que pueda surgir de su uso de ellos. Si decide acceder a cualquiera de los sitios web de terceros vinculados a este sitio web, lo hace bajo su propio riesgo y sujeto a los t\xe9rminos y condiciones de uso de dichos sitios web. "),c(),h(209,"br"),l(210,"div",5),d(211," Descargo de responsabilidad de garant\xedas "),c(),h(212,"br"),l(213,"div",4),d(214," T\xfa comprendes que no podemos y no garantizamos que los archivos disponibles para descargar de Internet o del sitio web est\xe9n libres de virus u otros c\xf3digos destructivos. T\xfa eres responsable de implementar suficientes procedimientos y puntos de control para satisfacer sus requisitos particulares de protecci\xf3n antivirus y precisi\xf3n de la entrada y salida de datos, y de mantener un medio externo a nuestro sitio para cualquier reconstrucci\xf3n de los datos perdidos. EN LA MEDIDA M\xc1XIMA ESTABLECIDA POR LA LEY, NO SEREMOS RESPONSABLES DE NINGUNA P\xc9RDIDA O DA\xd1O CAUSADO POR UN ATAQUE DE DENEGACI\xd3N DE SERVICIO DISTRIBUIDO, VIRUS U OTRO MATERIAL TECNOL\xd3GICAMENTE DA\xd1INO QUE PUEDE INFECTAR SU EQUIPO DE COMPUTADORA, PROGRAMAS DE COMPUTADORA, DATOS, "),h(215,"br")(216,"br"),d(217,' SU USO DEL SITIO WEB, SU CONTENIDO Y CUALQUIER SERVICIO O ART\xcdCULO OBTENIDO A TRAV\xc9S DEL SITIO WEB ES BAJO SU PROPIO RIESGO. EL SITIO WEB, SU CONTENIDO Y CUALQUIER SERVICIO O ART\xcdCULO OBTENIDO A TRAV\xc9S DEL SITIO WEB SE PROPORCIONAN "TAL CUAL" Y "SEG\xdaN DISPONIBILIDAD", SIN NINGUNA GARANT\xcdA DE NING\xdaN TIPO, YA SEA EXPL\xcdCITA O IMPL\xcdCITA. NI LA COMPA\xd1\xcdA NI NINGUNA PERSONA ASOCIADA CON LA COMPA\xd1\xcdA OFRECE NINGUNA GARANT\xcdA O REPRESENTACI\xd3N CON RESPECTO A LA INTEGRIDAD, SEGURIDAD, FIABILIDAD, CALIDAD, EXACTITUD O DISPONIBILIDAD DEL SITIO WEB. SIN LIMITAR LO ANTERIOR, NI LA COMPA\xd1\xcdA NI NINGUNA PERSONA ASOCIADA CON LA COMPA\xd1\xcdA REPRESENTA O GARANTIZA QUE EL SITIO WEB, SU CONTENIDO O CUALQUIER SERVICIO O ART\xcdCULO OBTENIDO A TRAV\xc9S DEL SITIO WEB SER\xc1 PRECISO, CONFIABLE, LIBRE DE ERRORES O ININTERRUMPIDO, QUE LOS DEFECTOS SER\xc1N CORREGIDO, '),h(218,"br")(219,"br"),d(220," EN LA MEDIDA M\xc1XIMA ESTABLECIDA POR LA LEY, LA COMPA\xd1\xcdA RECHAZA TODAS LAS GARANT\xcdAS DE CUALQUIER TIPO, YA SEA EXPL\xcdCITA O IMPL\xcdCITA, LEGAL O DE OTRO TIPO, INCLUIDAS, ENTRE OTRAS, CUALQUIER GARANT\xcdA DE COMERCIABILIDAD, NO VIOLACI\xd3N E IDONEIDAD PARA UN FIN PARTICULAR. "),h(221,"br")(222,"br"),d(223," LO ANTERIOR NO AFECTA LAS GARANT\xcdAS QUE NO PUEDEN SER EXCLUIDAS O LIMITADAS SEG\xdaN LA LEY APLICABLE. "),c(),h(224,"br"),l(225,"div",5),d(226," Limitaci\xf3n de responsabilidad "),c(),h(227,"br"),l(228,"div",4),d(229," EN LA MEDIDA M\xc1XIMA ESTABLECIDA POR LA LEY, EN NING\xdaN CASO LA COMPA\xd1\xcdA, SUS AFILIADOS O SUS LICENCIATARIOS, PROVEEDORES DE SERVICIOS, EMPLEADOS, AGENTES, FUNCIONARIOS O DIRECTORES SER\xc1N RESPONSABLES POR DA\xd1OS DE CUALQUIER TIPO, BAJO CUALQUIER TEOR\xcdA LEGAL, QUE SURJAN DE O EN RELACI\xd3N CON SU USO, O INCAPACIDAD DE USO, DEL SITIO WEB, CUALQUIER SITIO WEB VINCULADO A \xc9L, CUALQUIER CONTENIDO EN EL SITIO WEB O TALES OTROS SITIOS WEB, INCLUYENDO CUALQUIER DA\xd1O DIRECTO, INDIRECTO, ESPECIAL, INCIDENTAL, CONSECUENTE O PUNITIVO, INCLUYENDO PERO NO LIMITADO LESIONES PERSONALES, DOLOR Y SUFRIMIENTO, ANGUSTIA EMOCIONAL, P\xc9RDIDA DE INGRESOS, P\xc9RDIDA DE BENEFICIOS, P\xc9RDIDA DE NEGOCIOS O AHORROS ESPERADOS, P\xc9RDIDA DE USO, P\xc9RDIDA DE FONDO DE COMERCIO, P\xc9RDIDA DE DATOS Y YA SEA CAUSADO POR AGRAVIO (INCLUIDA NEGLIGENCIA), INCUMPLIMIENTO DE CONTRATO, O DE OTRO MODO, AUNQUE PREVISIBLE. "),h(230,"br")(231,"br"),d(232," LO ANTERIOR NO AFECTA NINGUNA RESPONSABILIDAD QUE NO PUEDE SER EXCLUIDA O LIMITADA BAJO LA LEY APLICABLE "),c(),h(233,"br"),l(234,"div",5),d(235," Indemnizaci\xf3n "),c(),h(236,"br"),l(237,"div",4),d(238," T\xfa aceptas defender, indemnizar y eximir de responsabilidad a la Compa\xf1\xeda, sus afiliados, licenciantes y proveedores de servicios, y sus respectivos funcionarios, directores, empleados, contratistas, agentes, licenciantes, proveedores, sucesores y cesionarios de y contra cualquier reclamo. , responsabilidades, da\xf1os, sentencias, adjudicaciones, p\xe9rdidas, costos, gastos u honorarios (incluidos los honorarios razonables de abogados) que surjan o se relacionen con su violaci\xf3n de estos T\xe9rminos de uso o su uso del sitio web, incluidos, entre otros, , sus Contribuciones de usuario, cualquier uso del contenido, los servicios y los productos del sitio web que no sean los expresamente autorizados en estos T\xe9rminos de uso, o su uso de cualquier informaci\xf3n obtenida del sitio web. "),c(),h(239,"br"),l(240,"div",5),d(241," Arbitraje "),c(),h(242,"br"),l(243,"div",4),d(244," A discreci\xf3n exclusiva de la Compa\xf1\xeda, puede solicitarle que presente cualquier disputa que surja de estos T\xe9rminos de uso o el uso del sitio web, incluidas las disputas que surjan de o con respecto a su interpretaci\xf3n, violaci\xf3n, invalidez, incumplimiento o terminaci\xf3n, a arbitraje final y vinculante. bajo las Reglas de Arbitraje de la Asociaci\xf3n Americana de Arbitraje aplicando la ley de Texas. "),c(),h(245,"br"),l(246,"div",5),d(247," Limitaci\xf3n en el tiempo para presentar reclamos "),c(),h(248,"br"),l(249,"div",4),d(250," CUALQUIER CAUSA DE ACCI\xd3N O RECLAMACI\xd3N QUE PUEDA TENER DERIVADA O RELACIONADA CON ESTOS T\xc9RMINOS DE USO O EL SITIO WEB DEBE INICIARSE DENTRO DE UN (1) A\xd1O DESPU\xc9S DE QUE SE ACUMULA LA CAUSA DE LA ACCI\xd3N; DE LO CONTRARIO, DICHA CAUSA DE ACCI\xd3N O RECLAMACI\xd3N SE PRESCRIBE PERMANENTEMENTE. "),c(),h(251,"br"),l(252,"div",5),d(253," Renuncia y Divisibilidad "),c(),h(254,"br"),l(255,"div",4),d(256," Ninguna renuncia por parte de la Compa\xf1\xeda a cualquier t\xe9rmino o condici\xf3n establecido en estos T\xe9rminos de uso se considerar\xe1 una renuncia adicional o continua de dicho t\xe9rmino o condici\xf3n o una renuncia a cualquier otro t\xe9rmino o condici\xf3n, y cualquier falla de la Compa\xf1\xeda para hacer valer un derecho. o disposici\xf3n bajo estos T\xe9rminos de uso no constituir\xe1 una renuncia a tal derecho o disposici\xf3n. "),h(257,"br")(258,"br"),d(259," Si un tribunal u otro tribunal de jurisdicci\xf3n competente considera que alguna disposici\xf3n de estos T\xe9rminos de uso es inv\xe1lida, ilegal o inaplicable por cualquier motivo, dicha disposici\xf3n se eliminar\xe1 o limitar\xe1 en la medida m\xednima en que las disposiciones restantes de los T\xe9rminos de Uso continuar\xe1 en pleno vigor y efecto. "),c(),h(260,"br"),l(261,"div",5),d(262," Acuerdo completo "),c(),h(263,"br"),l(264,"div",4),d(265," Los T\xe9rminos de uso, nuestra Pol\xedtica de privacidad y cualquier otra pol\xedtica relevante constituyen el \xfanico y completo acuerdo entre usted y Bogati\xae. con respecto al sitio web y reemplaza todos los entendimientos, acuerdos, representaciones y garant\xedas anteriores y contempor\xe1neos, tanto escritos como orales, con respecto al sitio web. "),c(),h(266,"br"),c(),l(267,"div",7)(268,"div",8),h(269,"img",9)(270,"br"),l(271,"span",10),d(272," Con\xf3cenos "),R(),l(273,"svg",11)(274,"g",12),h(275,"path",13),c()()()(),q(),l(276,"div",14),h(277,"img",15)(278,"br"),l(279,"span",10),d(280," Leer Preguntas Frecuentes "),R(),l(281,"svg",11)(282,"g",12),h(283,"path",13),c()()()()(),q(),h(284,"br"),c(),h(285,"app-footer")),2&e&&(m(271),v("routerLink",O(2,LX)),m(8),v("routerLink",O(3,BX)))},directives:[ye,At,kt,Xe,Ee],styles:[""]}),t})();function jX(t,n){1&t&&(l(0,"div",42),R(),l(1,"svg",43)(2,"g",44)(3,"circle",45),h(4,"animateTransform",46)(5,"animate",47),c(),l(6,"circle",48),h(7,"animateTransform",49)(8,"animate",50),c()()()())}function HX(t,n){1&t&&(l(0,"div",51)(1,"div",52),h(2,"img",53),c()())}function UX(t,n){if(1&t&&(l(0,"option"),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.provincia_suc," ")}}function GX(t,n){if(1&t&&(l(0,"option",54),d(1),c()),2&t){const e=n.$implicit;v("value",e.ciudad_suc),m(1),U(" ",e.ciudad_suc," ")}}function zX(t,n){if(1&t&&(l(0,"option",54),d(1),c()),2&t){const e=n.$implicit;v("value",e.sector_suc),m(1),U(" ",e.sector_suc," ")}}function qX(t,n){if(1&t&&(l(0,"div",55)(1,"div",56),d(2),c(),h(3,"br"),l(4,"div",57)(5,"b"),d(6,"Horario: "),c(),d(7),c(),l(8,"div",57)(9,"b"),d(10,"Direcci\xf3n: "),c(),l(11,"span"),d(12),c()(),h(13,"br"),l(14,"a",58),R(),l(15,"svg",59),h(16,"path",30)(17,"path",60)(18,"circle",61),c(),d(19," Google Maps "),c()()),2&t){const e=n.$implicit;m(2),cn(" ",e.nombre_suc," ",e.sector_suc," "),m(5),U(" ",e.horario_suc," "),m(5),le(e.direccion_suc),m(2),v("href",e.dirmaps_suc,we)}}const $X=function(){return["/tiendacosta"]},WX=function(){return["/tiendasierra"]},YX=function(){return["/tiendaoriente"]};let QX=(()=>{class t{constructor(e,i,o,s,r){this._sucursales=e,this._cookie=i,this.activatedRoute=o,this.toastr=s,this._router=r,this.token="",this.region="",this.sectorCosta="pais",this.previousLabel="Anterior",this.nextLabel="Siguiente",this.previousLabelS="Anterior",this.nextLabelS="Siguiente",this.p=1,this.pSierra=1,this.pOriente=1,this.ciudadCosta="pais",this.provincia="pais",this.ciudadBusqueda="",this.showSpinner=!1}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"}),this.token=this._cookie.get("token"),this.loadTiendas(),this.region=this.activatedRoute.snapshot.paramMap.get("region"),this.listaCiudades=[],this.loadProvincias()}loadTiendas(){this._sucursales.getTiendasGeneralRegion("Costa").subscribe(e=>{this.showSpinner=!1,this.listacosta=e;for(let i=0;i{this.listaCiudades=e})}general(){this._router.navigate(["/home/tiendas"])}sector(e){this.listacosta=[],this._sucursales.getTiendaRegionSector("Costa",e).subscribe(i=>{if(i.length){this.listacosta=i;for(let o=0;o{e.length?this.listaProvincias=e:this.toastWarning("Ups no existen registros para tu busqueda")})}filtroProvincia(){this.showSpinner=!0,"pais"!=this.provincia?(this._sucursales.getTiendasProvincia(this.provincia).subscribe(e=>{this.listacosta=e;for(let i=0;i{e.length?this.listaCiudades=e:this.toastWarning("Ups no existen registros para tu busqueda"),this.showSpinner=!1})):(this.loadTiendas(),this.provincia="pais",this.ciudadCosta="pais",this.listaSectores=[],this.listaCiudades=[])}filtroCiudadCosta(){this.showSpinner=!0,"pais"!=this.ciudadCosta?(this._sucursales.getSectorCiudadProvincia(this.provincia,this.ciudadCosta).subscribe(e=>{this.listaSectores=e}),this._sucursales.getTiendasProvinciaCiudad(this.provincia,this.ciudadCosta).subscribe(e=>{if(e.length){this.listacosta=e;for(let i=0;i{if(e.length){this.listacosta=e;for(let i=0;i{e.length?this.listacosta=e:(this.toastWarning("No obtuvimos resultados para tu busqueda"),this.listacosta=[]),this.showSpinner=!1})}toastWarning(e){this.toastr.warning(e+"!!!","",{timeOut:4e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Ht),_(Ve),_(Vt),_(Re),_(gt))},t.\u0275cmp=N({type:t,selectors:[["app-tiendacosta"]],inputs:{previousLabel:"previousLabel",nextLabel:"nextLabel",previousLabelS:"previousLabelS",nextLabelS:"nextLabelS"},decls:88,vars:15,consts:[["class","spinner",4,"ngIf"],[1,"fondo"],[1,"inicio"],["ngbSlide",""],[1,"boton_blanco"],["href","http://bogatipedidos.com/",2,"text-decoration","none","color","#fff"],["version","1.0","xmlns","http://www.w3.org/2000/svg","width","30px","height","30px","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#fff","stroke","none"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[2,"width","96%","margin","0 auto"],[1,"row"],[1,"col-sm-1"],[1,"col-sm-3"],["src","../../../assets/img/tiendas/parte1.png",2,"width","100%","height","auto"],[1,"col-sm-7"],[1,"titulos",2,"margin","10px 0 0 0","padding","15px 15px 0 15px"],[1,"parrafos",2,"padding","0 15px 15px 15px"],[1,"titulos",2,"margin","10px 0 0 0"],[2,"margin","0 auto","text-align","center","font-size","30px","color","#ff9633"],[1,"franaja__regiones"],[1,"franaja__regiones_img"],["src","../../../assets/img/tiendas/costa.png","alt","Bogati",3,"routerLink"],["src","../../../assets/img/tiendas/sierra.png","alt","Bogati",3,"routerLink"],["src","../../../assets/img/tiendas/oriente.png","alt","Bogati",3,"routerLink"],[2,"width","90%","margin","0 auto"],[1,"seccion_franja"],[1,"titulos"],[1,"seccion__tiendas"],["type","text","placeholder","Ingresa una ciudad...",1,"buscador_tiendas",3,"ngModel","ngModelChange","keyup.enter"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#673D10",2,"cursor","pointer",3,"click"],["d","M0 0h24v24H0V0z","fill","none"],["d","M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"],[1,"seccion__tiendas__ciudad"],[1,"col-sm-4"],[1,"col-sm-6"],[1,"combo",3,"ngModel","ngModelChange","change"],["value","pais"],[4,"ngFor","ngForOf"],[1,"col-sm-4",2,"border-right","1px solid #683e10","border-left","1px solid #683e10"],[3,"value",4,"ngFor","ngForOf"],[1,"seccion__tiendas_container"],["class","seccion__tiendas_card",4,"ngFor","ngForOf"],[1,"spinner"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","width","214px","height","214px","viewBox","0 0 100 100","preserveAspectRatio","xMidYMid",2,"margin","auto","background","none","display","block","shape-rendering","auto"],["transform","translate(0 -8)"],["cx","50","cy","40.4","r","10","fill","#1d0e0b"],["attributeName","transform","type","rotate","dur","1.6949152542372883s","repeatCount","indefinite","keyTimes","0;1","values","0 50 50;360 50 50"],["attributeName","r","dur","1.6949152542372883s","repeatCount","indefinite","calcMode","spline","keyTimes","0;0.5;1","values","0;16;0","keySplines","0.2 0 0.8 1;0.2 0 0.8 1"],["cx","50","cy","40.4","r","10","fill","#774023"],["attributeName","transform","type","rotate","dur","1.6949152542372883s","repeatCount","indefinite","keyTimes","0;1","values","180 50 50;540 50 50"],["attributeName","r","dur","1.6949152542372883s","repeatCount","indefinite","calcMode","spline","keyTimes","0;0.5;1","values","16;0;16","keySplines","0.2 0 0.8 1;0.2 0 0.8 1"],[1,"picsum-img-wrapper"],[1,"img__carousel"],["src","../../../assets/img/tiendas/Portada-Costa.png","alt","Random first slide"],[3,"value"],[1,"seccion__tiendas_card"],[1,"seccion__tiendas_titulo"],[1,"seccion__tiendas_horario"],["target","_blank",2,"color","#673d10",3,"href"],["xmlns","http://www.w3.org/2000/svg","height","30px","viewBox","0 0 24 24","width","30px","fill","#673d10"],["d","M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"],["cx","12","cy","9","r","2.5"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),C(1,jX,9,0,"div",0),l(2,"div",1)(3,"div",2)(4,"div")(5,"ngb-carousel"),C(6,HX,3,0,"ng-template",3),c()(),l(7,"span",4)(8,"a",5),d(9,"Compra Online "),c(),R(),l(10,"svg",6)(11,"g",7),h(12,"path",8),c()()()(),q(),l(13,"div",9)(14,"div",10),h(15,"div",11),l(16,"div",12),h(17,"img",13),c(),l(18,"div",14)(19,"div",15),d(20," SABOR NATURAL CERCA DE TI "),c(),h(21,"br"),l(22,"div",16),d(23," Nuestra misi\xf3n es llevar el sabor natural a todos los rincones del pa\xeds. Tenemos tiendas en todas las regiones para que puedas disfrutar del sabor adictivo siempre fresco y natural. "),c()()()(),h(24,"br"),l(25,"div",17),d(26,"BOGATI CERCA DE TI"),c(),l(27,"p",18),d(28," Encuentra una tienda "),c(),h(29,"br"),l(30,"div",19)(31,"div",20),h(32,"img",21),c(),l(33,"div",20),h(34,"img",22),c(),l(35,"div",20),h(36,"img",23),c()(),h(37,"br")(38,"br"),l(39,"div",24)(40,"div",25)(41,"div",26),d(42,"Encuentra una tienda"),c()()(),l(43,"div",27)(44,"div")(45,"input",28),D("ngModelChange",function(s){return i.ciudadBusqueda=s})("keyup.enter",function(){return i.busquedaCiudad()}),c(),R(),l(46,"svg",29),D("click",function(){return i.busquedaCiudad()}),h(47,"path",30)(48,"path",31),c()()(),q(),h(49,"br"),l(50,"div",27)(51,"div",32),d(52,"COSTA"),c(),h(53,"br"),l(54,"div",32)(55,"div",9)(56,"div",10)(57,"div",33)(58,"div",10)(59,"div",34),d(60,"Provincia"),c(),l(61,"div",34)(62,"select",35),D("ngModelChange",function(s){return i.provincia=s})("change",function(){return i.filtroProvincia()}),l(63,"option",36),d(64,"Todo..."),c(),C(65,UX,2,1,"option",37),c()()()(),l(66,"div",38)(67,"div",10)(68,"div",34),d(69,"Ciudad:"),c(),l(70,"div",34)(71,"select",35),D("ngModelChange",function(s){return i.ciudadCosta=s})("change",function(){return i.filtroCiudadCosta()}),l(72,"option",36),d(73,"Todo..."),c(),C(74,GX,2,2,"option",39),c()()()(),l(75,"div",33)(76,"div",10)(77,"div",34),d(78,"Sector"),c(),l(79,"div",34)(80,"select",35),D("ngModelChange",function(s){return i.sectorCosta=s})("change",function(){return i.sectorFiltro()}),l(81,"option",36),d(82,"Todo..."),c(),C(83,zX,2,2,"option",39),c()()()()()()(),l(84,"div")(85,"div",40),C(86,qX,20,5,"div",41),c()()()(),h(87,"app-footer")),2&e&&(m(1),v("ngIf",i.showSpinner),m(31),v("routerLink",O(12,$X)),m(2),v("routerLink",O(13,WX)),m(2),v("routerLink",O(14,YX)),m(9),v("ngModel",i.ciudadBusqueda),m(17),v("ngModel",i.provincia),m(3),v("ngForOf",i.listaProvincias),m(6),v("ngModel",i.ciudadCosta),m(3),v("ngForOf",i.listaCiudades),m(6),v("ngModel",i.sectorCosta),m(3),v("ngForOf",i.listaSectores),m(3),v("ngForOf",i.listacosta))},directives:[ye,Ye,At,kt,Xe,wt,It,jt,Cr,Rc,Fc,qe,Ee],styles:[""]}),t})();function KX(t,n){if(1&t&&(l(0,"div",11)(1,"div",12),d(2),c(),h(3,"br"),l(4,"div",13)(5,"b",14),d(6,"Horario: "),c(),d(7),c(),l(8,"div",13)(9,"b",14),d(10,"Direcci\xf3n: "),c(),l(11,"span"),d(12),c()(),h(13,"br"),l(14,"a",15),R(),l(15,"svg",16),h(16,"path",17)(17,"path",18)(18,"circle",19),c(),d(19," Google Maps "),c()()),2&t){const e=n.$implicit;m(2),cn(" ",e.nombre_suc," ",e.sector_suc," "),m(5),U(" ",e.horario_suc," "),m(5),le(e.direccion_suc),m(2),v("href",e.dirmaps_suc,we)}}let ZX=(()=>{class t{constructor(e,i,o,s){this._sucursales=e,this._cookie=i,this.activatedRoute=o,this.toastr=s,this.token="",this.region="",this.previousLabel="Anterior",this.nextLabel="Siguiente",this.p=1,this.ciudadCosta="pais"}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"}),this.token=this._cookie.get("token"),this.loadTiendasGuayaquil(),this.listaCiudades=[]}loadTiendasGuayaquil(){this._sucursales.getTiendaCiudad("Guayaquil","").subscribe(e=>{this.listaGuayaquil=e})}sector(e){this.listaGuayaquil=[],this._sucursales.getTiendaCiudadSector("Guayaquil",e).subscribe(i=>{i.length?this.listaGuayaquil=i:this.toastWarning("Ups no existen registros para tu busqueda")})}toastWarning(e){this.toastr.warning(e+"!!!","",{timeOut:4e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Ht),_(Ve),_(Vt),_(Re))},t.\u0275cmp=N({type:t,selectors:[["app-tiendaguayaquil"]],inputs:{previousLabel:"previousLabel",nextLabel:"nextLabel"},decls:26,vars:1,consts:[[1,"fondo"],[1,"inicio"],[1,"seccion__tiendas"],[1,"seccion__tiendas__ciudad"],[2,"width","96%","margin","0 auto"],[1,"row"],[1,"col-sm-4"],[1,"seccion__tiendas_sector",3,"click"],[1,"col-sm-4",2,"border-right","1px solid #683e10","border-left","1px solid #683e10"],[1,"seccion__tiendas_container"],["class","seccion__tiendas_card",4,"ngFor","ngForOf"],[1,"seccion__tiendas_card"],[1,"titulos",2,"font-size","19px","margin","0","text-align","left"],[1,"seccion__tiendas_horario"],[1,"titulos",2,"font-size","15px","margin","0","text-align","left"],["target","_blank",2,"color","#673d10","text-decoration","none",3,"href"],["xmlns","http://www.w3.org/2000/svg","height","30px","viewBox","0 0 24 24","width","30px","fill","#F18C24"],["d","M0 0h24v24H0V0z","fill","none"],["d","M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"],["cx","12","cy","9","r","2.5"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div"),h(4,"ngb-carousel"),c()()(),l(5,"div",2)(6,"div",3),d(7,"Guayaquil"),c(),h(8,"br"),l(9,"div",3)(10,"div",4)(11,"div",5)(12,"div",6)(13,"span",7),D("click",function(){return i.sector("norte")}),d(14," Norte "),c()(),l(15,"div",8)(16,"span",7),D("click",function(){return i.sector("centro")}),d(17," Centro "),c()(),l(18,"div",6)(19,"span",7),D("click",function(){return i.sector("sur")}),d(20," Sur "),c()()()()(),l(21,"div",9),C(22,KX,20,5,"div",10),c(),h(23,"br")(24,"br"),c(),h(25,"app-footer")),2&e&&(m(22),v("ngForOf",i.listaGuayaquil))},directives:[ye,At,qe,Ee],styles:[""]}),t})();function JX(t,n){1&t&&(l(0,"div",42),R(),l(1,"svg",43)(2,"g",44)(3,"circle",45),h(4,"animateTransform",46)(5,"animate",47),c(),l(6,"circle",48),h(7,"animateTransform",49)(8,"animate",50),c()()()())}function XX(t,n){1&t&&(l(0,"div",51)(1,"div",52),h(2,"img",53),c()())}function eee(t,n){if(1&t&&(l(0,"option"),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.provincia_suc," ")}}function tee(t,n){if(1&t&&(l(0,"option",54),d(1),c()),2&t){const e=n.$implicit;v("value",e.ciudad_suc),m(1),U(" ",e.ciudad_suc," ")}}function nee(t,n){if(1&t&&(l(0,"option",54),d(1),c()),2&t){const e=n.$implicit;v("value",e.sector_suc),m(1),U(" ",e.sector_suc," ")}}function iee(t,n){if(1&t&&(l(0,"div",55)(1,"div",56),d(2),c(),h(3,"br"),l(4,"div",57)(5,"b"),d(6,"Horario: "),c(),d(7),c(),l(8,"div",57)(9,"b"),d(10,"Direcci\xf3n: "),c(),l(11,"span"),d(12),c()(),h(13,"br"),l(14,"a",58),R(),l(15,"svg",59),h(16,"path",30)(17,"path",60)(18,"circle",61),c(),d(19," Google Maps "),c()()),2&t){const e=n.$implicit;m(2),cn(" ",e.nombre_suc," ",e.sector_suc," "),m(5),U(" ",e.horario_suc," "),m(5),le(e.direccion_suc),m(2),v("href",e.dirmaps_suc,we)}}const oee=function(){return["/tiendacosta"]},see=function(){return["/tiendasierra"]},ree=function(){return["/tiendaoriente"]};let aee=(()=>{class t{constructor(e,i,o,s,r){this._sucursales=e,this._cookie=i,this.activatedRoute=o,this.toastr=s,this._router=r,this.token="",this.region="",this.sectorCosta="pais",this.previousLabel="Anterior",this.nextLabel="Siguiente",this.p=1,this.ciudadCosta="pais",this.provincia="pais",this.ciudadBusqueda="",this.showSpinner=!1}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"}),this.token=this._cookie.get("token"),this.loadTiendas(),this.region=this.activatedRoute.snapshot.paramMap.get("region"),this.listaCiudades=[],this.loadProvincias()}loadTiendas(){this._sucursales.getTiendasGeneralRegion("Oriente").subscribe(e=>{this.showSpinner=!1,this.listaoriente=e;for(let i=0;i{this.listaCiudades=e})}sector(e){this.listaoriente=[],this._sucursales.getTiendaRegionSector("Oriente",e).subscribe(i=>{if(i.length){this.listaoriente=i;for(let o=0;o{e.length?this.listaProvincias=e:this.toastWarning("Ups no existen registros para tu busqueda")})}filtroProvincia(){this.showSpinner=!0,"pais"!=this.provincia?(this._sucursales.getTiendasProvincia(this.provincia).subscribe(e=>{this.listaoriente=e;for(let i=0;i{e.length?this.listaCiudades=e:this.toastWarning("Ups no existen registros para tu busqueda"),this.showSpinner=!1})):(this.loadTiendas(),this.provincia="pais",this.ciudadCosta="pais",this.listaSectores=[],this.listaCiudades=[])}filtroCiudadCosta(){this.showSpinner=!0,"pais"!=this.ciudadCosta?(this._sucursales.getSectorCiudadProvincia(this.provincia,this.ciudadCosta).subscribe(e=>{this.listaSectores=e}),this._sucursales.getTiendasProvinciaCiudad(this.provincia,this.ciudadCosta).subscribe(e=>{if(e.length){this.listaoriente=e;for(let i=0;i{if(e.length){this.listaoriente=e;for(let i=0;i{e.length?this.listaoriente=e:this.toastWarning("No obtuvimos resultados de tu busqueda"),this.showSpinner=!1})}general(){this._router.navigate(["/home/tiendas"])}toastWarning(e){this.toastr.warning(e+"!!!","",{timeOut:4e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Ht),_(Ve),_(Vt),_(Re),_(gt))},t.\u0275cmp=N({type:t,selectors:[["app-tiendaoriente"]],inputs:{previousLabel:"previousLabel",nextLabel:"nextLabel"},decls:88,vars:15,consts:[["class","spinner",4,"ngIf"],[1,"fondo"],[1,"inicio"],["ngbSlide",""],[1,"boton_blanco"],["href","http://bogatipedidos.com/",2,"text-decoration","none","color","#fff"],["version","1.0","xmlns","http://www.w3.org/2000/svg","width","30px","height","30px","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#fff","stroke","none"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[2,"width","96%","margin","0 auto"],[1,"row"],[1,"col-sm-1"],[1,"col-sm-3"],["src","../../../assets/img/tiendas/parte1.png",2,"width","100%","height","auto"],[1,"col-sm-7"],[1,"titulos",2,"margin","10px 0 0 0","padding","15px 15px 0 15px"],[1,"parrafos",2,"padding","0 15px 15px 15px"],[1,"titulos",2,"margin","10px 0 0 0"],[2,"margin","0 auto","text-align","center","font-size","30px","color","#ff9633"],[1,"franaja__regiones"],[1,"franaja__regiones_img"],["src","../../../assets/img/tiendas/costa.png","alt","Bogati",3,"routerLink"],["src","../../../assets/img/tiendas/sierra.png","alt","Bogati",3,"routerLink"],["src","../../../assets/img/tiendas/oriente.png","alt","Bogati",3,"routerLink"],[2,"width","90%","margin","0 auto"],[1,"seccion_franja"],[1,"titulos"],[1,"seccion__tiendas"],["type","text","placeholder","Ingresa una ciudad...",1,"buscador_tiendas",3,"ngModel","ngModelChange","keyup.enter"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#673D10",2,"cursor","pointer",3,"click"],["d","M0 0h24v24H0V0z","fill","none"],["d","M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"],[1,"seccion__tiendas__ciudad"],[1,"col-sm-4"],[1,"col-sm-6"],[1,"combo",3,"ngModel","ngModelChange","change"],["value","pais"],[4,"ngFor","ngForOf"],[1,"col-sm-4",2,"border-right","1px solid #683e10","border-left","1px solid #683e10"],[3,"value",4,"ngFor","ngForOf"],[1,"seccion__tiendas_container"],["class","seccion__tiendas_card",4,"ngFor","ngForOf"],[1,"spinner"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","width","214px","height","214px","viewBox","0 0 100 100","preserveAspectRatio","xMidYMid",2,"margin","auto","background","none","display","block","shape-rendering","auto"],["transform","translate(0 -8)"],["cx","50","cy","40.4","r","10","fill","#1d0e0b"],["attributeName","transform","type","rotate","dur","1.6949152542372883s","repeatCount","indefinite","keyTimes","0;1","values","0 50 50;360 50 50"],["attributeName","r","dur","1.6949152542372883s","repeatCount","indefinite","calcMode","spline","keyTimes","0;0.5;1","values","0;16;0","keySplines","0.2 0 0.8 1;0.2 0 0.8 1"],["cx","50","cy","40.4","r","10","fill","#774023"],["attributeName","transform","type","rotate","dur","1.6949152542372883s","repeatCount","indefinite","keyTimes","0;1","values","180 50 50;540 50 50"],["attributeName","r","dur","1.6949152542372883s","repeatCount","indefinite","calcMode","spline","keyTimes","0;0.5;1","values","16;0;16","keySplines","0.2 0 0.8 1;0.2 0 0.8 1"],[1,"picsum-img-wrapper"],[1,"img__carousel"],["src","../../../assets/img/tiendas/Portada-Oriente.png","alt","Random first slide"],[3,"value"],[1,"seccion__tiendas_card"],[1,"seccion__tiendas_titulo"],[1,"seccion__tiendas_horario"],["target","_blank",2,"color","#673d10",3,"href"],["xmlns","http://www.w3.org/2000/svg","height","30px","viewBox","0 0 24 24","width","30px","fill","#673d10"],["d","M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"],["cx","12","cy","9","r","2.5"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),C(1,JX,9,0,"div",0),l(2,"div",1)(3,"div",2)(4,"div")(5,"ngb-carousel"),C(6,XX,3,0,"ng-template",3),c()(),l(7,"span",4)(8,"a",5),d(9,"Compra Online "),c(),R(),l(10,"svg",6)(11,"g",7),h(12,"path",8),c()()()(),q(),l(13,"div",9)(14,"div",10),h(15,"div",11),l(16,"div",12),h(17,"img",13),c(),l(18,"div",14)(19,"div",15),d(20," SABOR NATURAL CERCA DE TI "),c(),h(21,"br"),l(22,"div",16),d(23," Nuestra misi\xf3n es llevar el sabor natural a todos los rincones del pa\xeds. Tenemos tiendas en todas las regiones para que puedas disfrutar del sabor adictivo siempre fresco y natural. "),c()()()(),h(24,"br"),l(25,"div",17),d(26,"BOGATI CERCA DE TI"),c(),l(27,"p",18),d(28," Encuentra una tienda "),c(),h(29,"br"),l(30,"div",19)(31,"div",20),h(32,"img",21),c(),l(33,"div",20),h(34,"img",22),c(),l(35,"div",20),h(36,"img",23),c()(),h(37,"br")(38,"br"),l(39,"div",24)(40,"div",25)(41,"div",26),d(42,"Encuentra una tienda"),c()()(),l(43,"div",27)(44,"div")(45,"input",28),D("ngModelChange",function(s){return i.ciudadBusqueda=s})("keyup.enter",function(){return i.busquedaCiudad()}),c(),R(),l(46,"svg",29),D("click",function(){return i.busquedaCiudad()}),h(47,"path",30)(48,"path",31),c()()(),q(),h(49,"br"),l(50,"div",27)(51,"div",32),d(52,"Oriente"),c(),h(53,"br"),l(54,"div",32)(55,"div",9)(56,"div",10)(57,"div",33)(58,"div",10)(59,"div",34),d(60,"Provincia"),c(),l(61,"div",34)(62,"select",35),D("ngModelChange",function(s){return i.provincia=s})("change",function(){return i.filtroProvincia()}),l(63,"option",36),d(64,"Todo..."),c(),C(65,eee,2,1,"option",37),c()()()(),l(66,"div",38)(67,"div",10)(68,"div",34),d(69,"Ciudad:"),c(),l(70,"div",34)(71,"select",35),D("ngModelChange",function(s){return i.ciudadCosta=s})("change",function(){return i.filtroCiudadCosta()}),l(72,"option",36),d(73,"Todo..."),c(),C(74,tee,2,2,"option",39),c()()()(),l(75,"div",33)(76,"div",10)(77,"div",34),d(78,"Sector"),c(),l(79,"div",34)(80,"select",35),D("ngModelChange",function(s){return i.sectorCosta=s})("change",function(){return i.sectorFiltro()}),l(81,"option",36),d(82,"Todo..."),c(),C(83,nee,2,2,"option",39),c()()()()()()(),h(84,"br"),l(85,"div",40),C(86,iee,20,5,"div",41),c()()(),h(87,"app-footer")),2&e&&(m(1),v("ngIf",i.showSpinner),m(31),v("routerLink",O(12,oee)),m(2),v("routerLink",O(13,see)),m(2),v("routerLink",O(14,ree)),m(9),v("ngModel",i.ciudadBusqueda),m(17),v("ngModel",i.provincia),m(3),v("ngForOf",i.listaProvincias),m(6),v("ngModel",i.ciudadCosta),m(3),v("ngForOf",i.listaCiudades),m(6),v("ngModel",i.sectorCosta),m(3),v("ngForOf",i.listaSectores),m(3),v("ngForOf",i.listaoriente))},directives:[ye,Ye,At,kt,Xe,wt,It,jt,Cr,Rc,Fc,qe,Ee],styles:[""]}),t})();function lee(t,n){if(1&t&&(l(0,"div",12)(1,"div",13),d(2),c(),h(3,"br"),l(4,"div",14)(5,"b",15),d(6,"Horario: "),c(),d(7),c(),l(8,"div",14)(9,"b",15),d(10,"Direcci\xf3n: "),c(),l(11,"span"),d(12),c()(),h(13,"br"),l(14,"a",16),R(),l(15,"svg",17),h(16,"path",18)(17,"path",19)(18,"circle",20),c(),d(19," Google Maps "),c()()),2&t){const e=n.$implicit;m(2),cn(" ",e.nombre_suc," ",e.sector_suc," "),m(5),U(" ",e.horario_suc," "),m(5),le(e.direccion_suc),m(2),v("href",e.dirmaps_suc,we)}}let cee=(()=>{class t{constructor(e,i,o,s,r,a){this._sucursales=e,this._cookie=i,this.activatedRoute=o,this.toastr=s,this._banner=r,this.dialog=a,this.token="",this.region="",this.previousLabel="Anterior",this.nextLabel="Siguiente",this.p=1,this.ciudadCosta="pais"}ngOnInit(){this.banner(),window.scroll({top:0,left:0,behavior:"smooth"}),this.token=this._cookie.get("token"),this.loadTiendasGuayaquil(),this.listaCiudades=[]}loadTiendasGuayaquil(){this._sucursales.getTiendaCiudad("Quito","Rumi\xf1ahui").subscribe(e=>{this.listaQuito=e})}sector(e){console.log(e),this.listaQuito=[],"valles"==e?this._sucursales.getTiendaValles().subscribe(i=>{console.log(i),i.length?this.listaQuito=i:this.toastWarning("Ups no existen registros para tu busqueda")}):this._sucursales.getTiendaCiudadSector("Quito",e).subscribe(i=>{i.length?this.listaQuito=i:this.toastWarning("Ups no existen registros para tu busqueda")})}toastWarning(e){this.toastr.warning(e+"!!!","",{timeOut:4e3})}banner(){this._banner.getBanner().subscribe(e=>{1==e[0].activo_banner&&this.dialog.open(Dp,{width:"auto",height:"auto",panelClass:"panel__container"}).afterClosed().subscribe(o=>{})})}}return t.\u0275fac=function(e){return new(e||t)(_(Ht),_(Ve),_(Vt),_(Re),_(jc),_(ui))},t.\u0275cmp=N({type:t,selectors:[["app-tiendaquito"]],inputs:{previousLabel:"previousLabel",nextLabel:"nextLabel"},decls:29,vars:1,consts:[[1,"fondo"],[1,"inicio"],[1,"seccion__tiendas"],[1,"seccion__tiendas__ciudad"],[2,"width","96%","margin","0 auto"],[1,"row"],[1,"col-sm-3"],[1,"seccion__tiendas_sector",3,"click"],[1,"col-sm-3",2,"border-right","1px solid #683e10","border-left","1px solid #683e10"],[1,"col-sm-3",2,"border-right","1px solid #683e10"],[1,"seccion__tiendas_container"],["class","seccion__tiendas_card",4,"ngFor","ngForOf"],[1,"seccion__tiendas_card"],[1,"titulos",2,"font-size","19px","margin","0","text-align","left"],[1,"seccion__tiendas_horario"],[1,"titulos",2,"font-size","15px","margin","0","text-align","left"],["target","_blank",2,"color","#673d10","text-decoration","none",3,"href"],["xmlns","http://www.w3.org/2000/svg","height","30px","viewBox","0 0 24 24","width","30px","fill","#F18C24"],["d","M0 0h24v24H0V0z","fill","none"],["d","M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"],["cx","12","cy","9","r","2.5"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div"),h(4,"ngb-carousel"),c()()(),l(5,"div",2)(6,"div",3),d(7,"Quito"),c(),h(8,"br"),l(9,"div",3)(10,"div",4)(11,"div",5)(12,"div",6)(13,"span",7),D("click",function(){return i.sector("norte")}),d(14," Norte "),c()(),l(15,"div",8)(16,"span",7),D("click",function(){return i.sector("centro")}),d(17," Centro "),c()(),l(18,"div",9)(19,"span",7),D("click",function(){return i.sector("sur")}),d(20," Sur "),c()(),l(21,"div",6)(22,"span",7),D("click",function(){return i.sector("valles")}),d(23," Valles "),c()()()()(),l(24,"div",10),C(25,lee,20,5,"div",11),c(),h(26,"br")(27,"br"),c(),h(28,"app-footer")),2&e&&(m(25),v("ngForOf",i.listaQuito))},directives:[ye,At,qe,Ee],styles:[""]}),t})();function uee(t,n){1&t&&(l(0,"div",23),R(),l(1,"svg",24)(2,"g",25)(3,"circle",26),h(4,"animateTransform",27)(5,"animate",28),c(),l(6,"circle",29),h(7,"animateTransform",30)(8,"animate",31),c()()()())}function dee(t,n){if(1&t&&h(0,"img",40),2&t){const e=I().$implicit;v("src",I().iconMap[(e.tipo_suc||"").toUpperCase()],we)("alt",(e.tipo_suc||"").toUpperCase())}}function hee(t,n){if(1&t&&(l(0,"div",32)(1,"div",33),d(2),C(3,dee,1,2,"img",34),c(),h(4,"br"),l(5,"div",35)(6,"b"),d(7,"Horario: "),c(),d(8),c(),l(9,"div",35)(10,"b"),d(11,"Direcci\xf3n: "),c(),l(12,"span"),d(13),c()(),h(14,"br"),l(15,"a",36),R(),l(16,"svg",37),h(17,"path",18)(18,"path",38)(19,"circle",39),c(),d(20," Google Maps "),c()()),2&t){const e=n.$implicit,i=I();m(2),cn(" ",e.nombre_suc," ",e.sector_suc," "),m(1),v("ngIf",i.iconMap[(e.tipo_suc||"").toUpperCase()]),m(5),U(" ",e.horario_suc," "),m(5),le(e.direccion_suc),m(2),v("href",e.dirmaps_suc,we)}}let pee=(()=>{class t{constructor(e,i,o,s,r){this._sucursales=e,this._cookie=i,this.activatedRoute=o,this.toastr=s,this._router=r,this.token="",this.region="",this.sectorCosta="pais",this.previousLabel="Anterior",this.nextLabel="Siguiente",this.p=1,this.ciudadCosta="pais",this.provincia="pais",this.ciudadBusquedap="SANTA ANA",this.ciudadBusqueda="",this.showSpinner=!1,this.iconMap={SS:"assets/img/tiendas/Icono_tiendas_SS.png",EXP:"assets/img/tiendas/Icono_tiendas_EXP.png"}}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"}),this.token=this._cookie.get("token"),this.loadTiendas(),this.region=this.activatedRoute.snapshot.paramMap.get("region"),this.listaCiudades=[],this.loadProvincias()}loadTiendas(){this._sucursales.getTiendasGeneral().subscribe(e=>{this.showSpinner=!1,this.listasierra=e;for(let i=0;i{this.showSpinner=!1,this.listap=e;for(let i=0;i{e.length?this.listaProvincias=e:this.toastWarning("Ups no existen registros para tu busqueda")})}loadCiudades(){this._sucursales.getCiudadPorRegion("Sierra").subscribe(e=>{this.listaCiudades=e})}filtroProvincia(){this.showSpinner=!0,"pais"!=this.provincia?(this._sucursales.getTiendasProvincia(this.provincia).subscribe(e=>{this.listasierra=e;for(let i=0;i{e.length?this.listaCiudades=e:this.toastWarning("Ups no existen registros para tu busqueda"),this.showSpinner=!1})):(this.loadTiendas(),this.provincia="pais",this.ciudadCosta="pais",this.listaSectores=[],this.listaCiudades=[])}filtroCiudadCosta(){this.showSpinner=!0,"pais"!=this.ciudadCosta?(this._sucursales.getSectorCiudadProvincia(this.provincia,this.ciudadCosta).subscribe(e=>{this.listaSectores=e}),this._sucursales.getTiendasProvinciaCiudad(this.provincia,this.ciudadCosta).subscribe(e=>{if(e.length){this.listasierra=e;for(let i=0;i{if(e.length){this.listasierra=e;for(let i=0;i{if(i.length){this.listasierra=i;for(let o=0;o{this.listasierra=e,this.showSpinner=!1;for(let i=0;i{if(e.length){this.listasierra=e;for(let i=0;i{this.listasierra=e,this.showSpinner=!1;for(let i=0;i{if(e.length){this.listap=e;for(let i=0;i{class t{constructor(e,i,o,s){this._sucursales=e,this._cookie=i,this.activatedRoute=o,this.toastr=s,this.token="",this.region="",this.previousLabel="Anterior",this.nextLabel="Siguiente",this.p=1,this.ciudadCosta="pais"}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"}),this.token=this._cookie.get("token"),this.loadTiendasGuayaquil(),this.listaCiudades=[]}loadTiendasGuayaquil(){this._sucursales.getTiendaCiudad("Ambato","").subscribe(e=>{this.listaAmbato=e})}sector(e){this.listaAmbato=[],this._sucursales.getTiendaCiudadSector("Ambato",e).subscribe(i=>{i.length?this.listaAmbato=i:this.toastWarning("Ups no existen registros para tu busqueda")})}toastWarning(e){this.toastr.warning(e+"!!!","",{timeOut:4e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Ht),_(Ve),_(Vt),_(Re))},t.\u0275cmp=N({type:t,selectors:[["app-tiendasambato"]],inputs:{previousLabel:"previousLabel",nextLabel:"nextLabel"},decls:30,vars:1,consts:[[1,"fondo"],[1,"inicio"],["ngbSlide",""],[1,"seccion__tiendas"],[1,"seccion__tiendas__ciudad"],[2,"width","96%","margin","0 auto"],[1,"row"],[1,"col-sm-4"],[1,"seccion__tiendas_sector",3,"click"],[1,"col-sm-4",2,"border-right","1px solid #683e10","border-left","1px solid #683e10"],[1,"seccion__tiendas_container"],["class","seccion__tiendas_card",4,"ngFor","ngForOf"],[1,"picsum-img-wrapper"],[1,"img__carousel_tiendas"],["src","../../../assets/img/ambato/PORTADA-WEB-AMB.jpg","alt","Random first slide",2,"object-fit","contain"],[1,"seccion__tiendas_card"],[1,"titulos",2,"font-size","19px","margin","0","text-align","left"],[1,"seccion__tiendas_horario"],[1,"titulos",2,"font-size","15px","margin","0","text-align","left"],["target","_blank",2,"color","#673d10","text-decoration","none",3,"href"],["xmlns","http://www.w3.org/2000/svg","height","30px","viewBox","0 0 24 24","width","30px","fill","#F18C24"],["d","M0 0h24v24H0V0z","fill","none"],["d","M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"],["cx","12","cy","9","r","2.5"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div")(4,"ngb-carousel"),C(5,fee,3,0,"ng-template",2),c()()(),h(6,"br")(7,"br")(8,"br"),c(),l(9,"div",3)(10,"div",4),d(11,"Ambato"),c(),h(12,"br"),l(13,"div",4)(14,"div",5)(15,"div",6)(16,"div",7)(17,"span",8),D("click",function(){return i.sector("norte")}),d(18," Norte "),c()(),l(19,"div",9)(20,"span",8),D("click",function(){return i.sector("centro")}),d(21," Centro "),c()(),l(22,"div",7)(23,"span",8),D("click",function(){return i.sector("sur")}),d(24," Sur "),c()()()()(),l(25,"div",10),C(26,mee,20,5,"div",11),c(),h(27,"br")(28,"br"),c(),h(29,"app-footer")),2&e&&(m(26),v("ngForOf",i.listaAmbato))},directives:[ye,At,kt,qe,Ee],styles:[""]}),t})();function _ee(t,n){if(1&t&&(l(0,"div",11)(1,"div",12),d(2),c(),h(3,"br"),l(4,"div",13)(5,"b",14),d(6,"Horario: "),c(),d(7),c(),l(8,"div",13)(9,"b",14),d(10,"Direcci\xf3n: "),c(),l(11,"span"),d(12),c()(),h(13,"br"),l(14,"a",15),R(),l(15,"svg",16),h(16,"path",17)(17,"path",18)(18,"circle",19),c(),d(19," Google Maps "),c()()),2&t){const e=n.$implicit;m(2),cn(" ",e.nombre_suc," ",e.sector_suc," "),m(5),U(" ",e.horario_suc," "),m(5),le(e.direccion_suc),m(2),v("href",e.dirmaps_suc,we)}}let vee=(()=>{class t{constructor(e,i,o,s){this._sucursales=e,this._cookie=i,this.activatedRoute=o,this.toastr=s,this.listaTiendasSanto=[]}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"}),this.loadTiendasSanto()}loadTiendasSanto(){this._sucursales.getTiendaCiudad("Santo Domingo","").subscribe(e=>{this.listaTiendasSanto=e})}sector(e){this.listaTiendasSanto=[],this._sucursales.getTiendaCiudadSector("Santo Domingo",e).subscribe(i=>{i.length?this.listaTiendasSanto=i:this.toastWarning("Ups no existen registros para tu busqueda")})}toastWarning(e){this.toastr.warning(e+"!!!","",{timeOut:4e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Ht),_(Ve),_(Vt),_(Re))},t.\u0275cmp=N({type:t,selectors:[["app-tiendasantodomingo"]],decls:27,vars:1,consts:[[1,"fondo"],[1,"inicio"],[1,"seccion__tiendas"],[1,"seccion__tiendas__ciudad"],[2,"width","96%","margin","0 auto"],[1,"row"],[1,"col-sm-4"],[1,"seccion__tiendas_sector",3,"click"],[1,"col-sm-4",2,"border-right","1px solid #683e10","border-left","1px solid #683e10"],[1,"seccion__tiendas_container"],["class","seccion__tiendas_card",4,"ngFor","ngForOf"],[1,"seccion__tiendas_card"],[1,"titulos",2,"font-size","19px","margin","0","text-align","left"],[1,"seccion__tiendas_horario"],[1,"titulos",2,"font-size","15px","margin","0","text-align","left"],["target","_blank",2,"color","#673d10","text-decoration","none",3,"href"],["xmlns","http://www.w3.org/2000/svg","height","30px","viewBox","0 0 24 24","width","30px","fill","#F18C24"],["d","M0 0h24v24H0V0z","fill","none"],["d","M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"],["cx","12","cy","9","r","2.5"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div"),h(4,"br")(5,"br"),c(),l(6,"div",2)(7,"div",3),d(8,"Santo Domingo"),c(),h(9,"br"),l(10,"div",3)(11,"div",4)(12,"div",5)(13,"div",6)(14,"span",7),D("click",function(){return i.sector("norte")}),d(15," Norte "),c()(),l(16,"div",8)(17,"span",7),D("click",function(){return i.sector("centro")}),d(18," Centro "),c()(),l(19,"div",6)(20,"span",7),D("click",function(){return i.sector("sur")}),d(21," Sur "),c()()()()(),l(22,"div",9),C(23,_ee,20,5,"div",10),c(),h(24,"br")(25,"br"),c(),h(26,"app-footer"),c()()),2&e&&(m(23),v("ngForOf",i.listaTiendasSanto))},directives:[ye,qe,Ee],styles:[""]}),t})();function bee(t,n){1&t&&(l(0,"div",12)(1,"div",13),h(2,"img",14),c()())}function yee(t,n){if(1&t&&(l(0,"div",15)(1,"div",16),d(2),c(),h(3,"br"),l(4,"div",17)(5,"b",18),d(6,"Horario: "),c(),d(7),c(),l(8,"div",17)(9,"b",18),d(10,"Direcci\xf3n: "),c(),l(11,"span"),d(12),c()(),h(13,"br"),l(14,"a",19),R(),l(15,"svg",20),h(16,"path",21)(17,"path",22)(18,"circle",23),c(),d(19," Google Maps "),c()()),2&t){const e=n.$implicit;m(2),cn(" ",e.nombre_suc," ",e.sector_suc," "),m(5),U(" ",e.horario_suc," "),m(5),le(e.direccion_suc),m(2),v("href",e.dirmaps_suc,we)}}let Cee=(()=>{class t{constructor(e,i,o,s){this._sucursales=e,this._cookie=i,this.activatedRoute=o,this.toastr=s,this.listaTiendasSanto=[]}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"}),this.loadTiendasSanto()}loadTiendasSanto(){this._sucursales.getTiendaCiudad("Santo Domingo","").subscribe(e=>{this.listaTiendasSanto=e})}sector(e){this.listaTiendasSanto=[],this._sucursales.getTiendaCiudadSector("Santo Domingo",e).subscribe(i=>{i.length?this.listaTiendasSanto=i:this.toastWarning("Ups no existen registros para tu busqueda")})}toastWarning(e){this.toastr.warning(e+"!!!","",{timeOut:4e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Ht),_(Ve),_(Vt),_(Re))},t.\u0275cmp=N({type:t,selectors:[["app-tiendasantodomingoc"]],decls:30,vars:1,consts:[[1,"fondo"],[1,"inicio"],["ngbSlide",""],[1,"seccion__tiendas"],[1,"seccion__tiendas__ciudad"],[2,"width","96%","margin","0 auto"],[1,"row"],[1,"col-sm-4"],[1,"seccion__tiendas_sector",3,"click"],[1,"col-sm-4",2,"border-right","1px solid #683e10","border-left","1px solid #683e10"],[1,"seccion__tiendas_container"],["class","seccion__tiendas_card",4,"ngFor","ngForOf"],[1,"picsum-img-wrapper"],[1,"img__carousel_tiendas"],["src","../../../assets/img/santodomingo/PORTADA-WEB-STO-DOM.jpg","alt","Random first slide"],[1,"seccion__tiendas_card"],[1,"titulos",2,"font-size","19px","margin","0","text-align","left"],[1,"seccion__tiendas_horario"],[1,"titulos",2,"font-size","15px","margin","0","text-align","left"],["target","_blank",2,"color","#673d10","text-decoration","none",3,"href"],["xmlns","http://www.w3.org/2000/svg","height","30px","viewBox","0 0 24 24","width","30px","fill","#F18C24"],["d","M0 0h24v24H0V0z","fill","none"],["d","M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"],["cx","12","cy","9","r","2.5"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div")(4,"ngb-carousel"),C(5,bee,3,0,"ng-template",2),c()()(),h(6,"br")(7,"br")(8,"br"),c(),l(9,"div",3)(10,"div",4),d(11,"Santo Domingo"),c(),h(12,"br"),l(13,"div",4)(14,"div",5)(15,"div",6)(16,"div",7)(17,"span",8),D("click",function(){return i.sector("norte")}),d(18," Norte "),c()(),l(19,"div",9)(20,"span",8),D("click",function(){return i.sector("centro")}),d(21," Centro "),c()(),l(22,"div",7)(23,"span",8),D("click",function(){return i.sector("sur")}),d(24," Sur "),c()()()()(),l(25,"div",10),C(26,yee,20,5,"div",11),c(),h(27,"br")(28,"br"),c(),h(29,"app-footer")),2&e&&(m(26),v("ngForOf",i.listaTiendasSanto))},directives:[ye,At,kt,qe,Ee],styles:[""]}),t})();function wee(t,n){if(1&t&&(l(0,"div",10)(1,"div",11),d(2),c(),h(3,"br"),l(4,"div",12)(5,"b",13),d(6,"Horario: "),c(),d(7),c(),l(8,"div",12)(9,"b",13),d(10,"Direcci\xf3n: "),c(),l(11,"span"),d(12),c()(),h(13,"br"),l(14,"a",14),R(),l(15,"svg",15),h(16,"path",16)(17,"path",17)(18,"circle",18),c(),d(19," Google Maps "),c()()),2&t){const e=n.$implicit;m(2),cn(" ",e.nombre_suc," ",e.sector_suc," "),m(5),U(" ",e.horario_suc," "),m(5),le(e.direccion_suc),m(2),v("href",e.dirmaps_suc,we)}}let Dee=(()=>{class t{constructor(e,i,o,s){this._sucursales=e,this._cookie=i,this.activatedRoute=o,this.toastr=s,this.token="",this.region="",this.previousLabel="Anterior",this.nextLabel="Siguiente",this.p=1,this.ciudadCosta="pais"}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"}),this.token=this._cookie.get("token"),this.loadTiendasGuayaquil(),this.listaCiudades=[]}loadTiendasGuayaquil(){this._sucursales.getTiendaCiudad("Cuenca","").subscribe(e=>{this.listaCuenca=e})}sector(e){this.listaCuenca=[],this._sucursales.getTiendaCiudadSector("Cuenca",e).subscribe(i=>{i.length?this.listaCuenca=i:this.toastWarning("Ups no existen registros para tu busqueda")})}toastWarning(e){this.toastr.warning(e+"!!!","",{timeOut:4e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Ht),_(Ve),_(Vt),_(Re))},t.\u0275cmp=N({type:t,selectors:[["app-tiendascuenca"]],inputs:{previousLabel:"previousLabel",nextLabel:"nextLabel"},decls:23,vars:1,consts:[[1,"fondo"],[1,"seccion__tiendas"],[1,"seccion__tiendas__ciudad"],[2,"width","96%","margin","0 auto"],[1,"row"],[1,"col-sm-4"],[1,"seccion__tiendas_sector",3,"click"],[1,"col-sm-4",2,"border-right","1px solid #683e10","border-left","1px solid #683e10"],[1,"seccion__tiendas_container"],["class","seccion__tiendas_card",4,"ngFor","ngForOf"],[1,"seccion__tiendas_card"],[1,"titulos",2,"font-size","19px","margin","0","text-align","left"],[1,"seccion__tiendas_horario"],[1,"titulos",2,"font-size","15px","margin","0","text-align","left"],["target","_blank",2,"color","#673d10","text-decoration","none",3,"href"],["xmlns","http://www.w3.org/2000/svg","height","30px","viewBox","0 0 24 24","width","30px","fill","#F18C24"],["d","M0 0h24v24H0V0z","fill","none"],["d","M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"],["cx","12","cy","9","r","2.5"]],template:function(e,i){1&e&&(h(0,"app-menunuevo")(1,"div",0),l(2,"div",1)(3,"div",2),d(4,"Cuenca"),c(),h(5,"br"),l(6,"div",2)(7,"div",3)(8,"div",4)(9,"div",5)(10,"span",6),D("click",function(){return i.sector("norte")}),d(11," Norte "),c()(),l(12,"div",7)(13,"span",6),D("click",function(){return i.sector("centro")}),d(14," Centro "),c()(),l(15,"div",5)(16,"span",6),D("click",function(){return i.sector("sur")}),d(17," Sur "),c()()()()(),l(18,"div",8),C(19,wee,20,5,"div",9),c(),h(20,"br")(21,"br"),c(),h(22,"app-footer")),2&e&&(m(19),v("ngForOf",i.listaCuenca))},directives:[ye,qe,Ee],styles:[""]}),t})();function Eee(t,n){1&t&&(l(0,"div",42),R(),l(1,"svg",43)(2,"g",44)(3,"circle",45),h(4,"animateTransform",46)(5,"animate",47),c(),l(6,"circle",48),h(7,"animateTransform",49)(8,"animate",50),c()()()())}function Tee(t,n){1&t&&(l(0,"div",51)(1,"div",52),h(2,"img",53),c()())}function See(t,n){if(1&t&&(l(0,"option"),d(1),c()),2&t){const e=n.$implicit;m(1),U(" ",e.provincia_suc," ")}}function Mee(t,n){if(1&t&&(l(0,"option",54),d(1),c()),2&t){const e=n.$implicit;v("value",e.ciudad_suc),m(1),U(" ",e.ciudad_suc," ")}}function Iee(t,n){if(1&t&&(l(0,"option",54),d(1),c()),2&t){const e=n.$implicit;v("value",e.sector_suc),m(1),U(" ",e.sector_suc," ")}}function Aee(t,n){if(1&t&&(l(0,"div",55)(1,"div",56),d(2),c(),h(3,"br"),l(4,"div",57)(5,"b",58),d(6,"Horario: "),c(),d(7),c(),l(8,"div",57)(9,"b",58),d(10,"Direcci\xf3n: "),c(),l(11,"span"),d(12),c()(),h(13,"br"),l(14,"a",59),R(),l(15,"svg",60),h(16,"path",30)(17,"path",61)(18,"circle",62),c(),d(19," Google Maps "),c()()),2&t){const e=n.$implicit;m(2),cn(" ",e.nombre_suc," ",e.sector_suc," "),m(5),U(" ",e.horario_suc," "),m(5),le(e.direccion_suc),m(2),v("href",e.dirmaps_suc,we)}}const xee=function(){return["/tiendacosta"]},Oee=function(){return["/tiendasierra"]},Nee=function(){return["/tiendaoriente"]};let kee=(()=>{class t{constructor(e,i,o,s,r){this._sucursales=e,this._cookie=i,this.activatedRoute=o,this.toastr=s,this._router=r,this.token="",this.region="",this.sectorCosta="pais",this.previousLabel="Anterior",this.nextLabel="Siguiente",this.p=1,this.ciudadCosta="pais",this.provincia="pais",this.ciudadBusqueda="",this.showSpinner=!1}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"}),this.token=this._cookie.get("token"),this.loadTiendas(),this.region=this.activatedRoute.snapshot.paramMap.get("region"),this.listaCiudades=[],this.loadProvincias()}loadTiendas(){this._sucursales.getTiendasGeneralRegion("Sierra").subscribe(e=>{this.showSpinner=!1,this.listasierra=e;for(let i=0;i{e.length?this.listaProvincias=e:this.toastWarning("Ups no existen registros para tu busqueda")})}loadCiudades(){this._sucursales.getCiudadPorRegion("Sierra").subscribe(e=>{this.listaCiudades=e})}filtroProvincia(){this.showSpinner=!0,"pais"!=this.provincia?(this._sucursales.getTiendasProvincia(this.provincia).subscribe(e=>{this.listasierra=e;for(let i=0;i{e.length?this.listaCiudades=e:this.toastWarning("Ups no existen registros para tu busqueda"),this.showSpinner=!1})):(this.loadTiendas(),this.provincia="pais",this.ciudadCosta="pais",this.listaSectores=[],this.listaCiudades=[])}filtroCiudadCosta(){this.showSpinner=!0,"pais"!=this.ciudadCosta?(this._sucursales.getSectorCiudadProvincia(this.provincia,this.ciudadCosta).subscribe(e=>{this.listaSectores=e}),this._sucursales.getTiendasProvinciaCiudad(this.provincia,this.ciudadCosta).subscribe(e=>{if(e.length){this.listasierra=e;for(let i=0;i{if(e.length){this.listasierra=e;for(let i=0;i{if(i.length){this.listasierra=i;for(let o=0;o{e.length?this.listasierra=e:(this.toastWarning("No obtuvimos resultados para tu busqueda"),this.listasierra=[]),this.showSpinner=!1})}general(){this._router.navigate(["/home/tiendas"])}toastWarning(e){this.toastr.warning(e+"!!!","",{timeOut:4e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Ht),_(Ve),_(Vt),_(Re),_(gt))},t.\u0275cmp=N({type:t,selectors:[["app-tiendasierra"]],inputs:{previousLabel:"previousLabel",nextLabel:"nextLabel"},decls:88,vars:15,consts:[["class","spinner",4,"ngIf"],[1,"fondo"],[1,"inicio"],["ngbSlide",""],[1,"boton_blanco"],["href","https://bogati.ec/pedidos",2,"text-decoration","none","color","#fff"],["version","1.0","xmlns","http://www.w3.org/2000/svg","width","30px","height","30px","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#fff","stroke","none"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],[2,"width","96%","margin","0 auto"],[1,"row"],[1,"col-sm-1"],[1,"col-sm-3"],["src","../../../assets/img/tiendas/parte1.png",2,"width","100%","height","auto"],[1,"col-sm-7"],[1,"titulos",2,"margin","10px 0 0 0","padding","15px 15px 0 15px"],[1,"parrafos",2,"padding","0 15px 15px 15px"],[1,"titulos",2,"margin","10px 0 0 0"],[2,"margin","0 auto","text-align","center","font-size","30px","color","#ff9633"],[1,"franaja__regiones"],[1,"franaja__regiones_img"],["src","../../../assets/img/tiendas/costa.png","alt","Bogati",3,"routerLink"],["src","../../../assets/img/tiendas/sierra.png","alt","Bogati",3,"routerLink"],["src","../../../assets/img/tiendas/oriente.png","alt","Bogati",3,"routerLink"],[2,"width","90%","margin","0 auto"],[1,"seccion_franja"],[1,"titulos"],[1,"seccion__tiendas"],["type","text","placeholder","Ingresa una ciudad...",1,"buscador_tiendas",3,"ngModel","ngModelChange","keyup.enter"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 0 24 24","width","24px","fill","#673D10",2,"cursor","pointer",3,"click"],["d","M0 0h24v24H0V0z","fill","none"],["d","M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"],[1,"seccion__tiendas__ciudad"],[1,"col-sm-4"],[1,"col-sm-6"],[1,"combo",3,"ngModel","ngModelChange","change"],["value","pais"],[4,"ngFor","ngForOf"],[1,"col-sm-4",2,"border-right","1px solid #683e10","border-left","1px solid #683e10"],[3,"value",4,"ngFor","ngForOf"],[1,"seccion__tiendas_container"],["class","seccion__tiendas_card",4,"ngFor","ngForOf"],[1,"spinner"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","width","214px","height","214px","viewBox","0 0 100 100","preserveAspectRatio","xMidYMid",2,"margin","auto","background","none","display","block","shape-rendering","auto"],["transform","translate(0 -8)"],["cx","50","cy","40.4","r","10","fill","#1d0e0b"],["attributeName","transform","type","rotate","dur","1.6949152542372883s","repeatCount","indefinite","keyTimes","0;1","values","0 50 50;360 50 50"],["attributeName","r","dur","1.6949152542372883s","repeatCount","indefinite","calcMode","spline","keyTimes","0;0.5;1","values","0;16;0","keySplines","0.2 0 0.8 1;0.2 0 0.8 1"],["cx","50","cy","40.4","r","10","fill","#774023"],["attributeName","transform","type","rotate","dur","1.6949152542372883s","repeatCount","indefinite","keyTimes","0;1","values","180 50 50;540 50 50"],["attributeName","r","dur","1.6949152542372883s","repeatCount","indefinite","calcMode","spline","keyTimes","0;0.5;1","values","16;0;16","keySplines","0.2 0 0.8 1;0.2 0 0.8 1"],[1,"picsum-img-wrapper"],[1,"img__carousel"],["src","../../../assets/img/tiendas/Portada-Sierra.png","alt","Random first slide"],[3,"value"],[1,"seccion__tiendas_card"],[1,"seccion__tiendas_titulo"],[1,"seccion__tiendas_horario"],[1,"titulos",2,"font-size","15px","margin","0","text-align","left"],["target","_blank",2,"color","#673d10",3,"href"],["xmlns","http://www.w3.org/2000/svg","height","30px","viewBox","0 0 24 24","width","30px","fill","#673d10"],["d","M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"],["cx","12","cy","9","r","2.5"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),C(1,Eee,9,0,"div",0),l(2,"div",1)(3,"div",2)(4,"div")(5,"ngb-carousel"),C(6,Tee,3,0,"ng-template",3),c()(),l(7,"span",4)(8,"a",5),d(9,"Compra Online "),c(),R(),l(10,"svg",6)(11,"g",7),h(12,"path",8),c()()()(),q(),l(13,"div",9)(14,"div",10),h(15,"div",11),l(16,"div",12),h(17,"img",13),c(),l(18,"div",14)(19,"div",15),d(20," SABOR NATURAL CERCA DE TI "),c(),h(21,"br"),l(22,"div",16),d(23," Nuestra misi\xf3n es llevar el sabor natural a todos los rincones del pa\xeds. Tenemos tiendas en todas las regiones para que puedas disfrutar del sabor adictivo siempre fresco y natural. "),c()()()(),h(24,"br"),l(25,"div",17),d(26,"BOGATI CERCA DE TI"),c(),l(27,"p",18),d(28," Encuentra una tienda "),c(),h(29,"br"),l(30,"div",19)(31,"div",20),h(32,"img",21),c(),l(33,"div",20),h(34,"img",22),c(),l(35,"div",20),h(36,"img",23),c()(),h(37,"br")(38,"br"),l(39,"div",24)(40,"div",25)(41,"div",26),d(42,"Encuentra una tienda"),c()()(),l(43,"div",27)(44,"div")(45,"input",28),D("ngModelChange",function(s){return i.ciudadBusqueda=s})("keyup.enter",function(){return i.busquedaCiudad()}),c(),R(),l(46,"svg",29),D("click",function(){return i.busquedaCiudad()}),h(47,"path",30)(48,"path",31),c()()(),q(),h(49,"br"),l(50,"div",27)(51,"div",32),d(52,"SIERRA"),c(),h(53,"br"),l(54,"div",32)(55,"div",9)(56,"div",10)(57,"div",33)(58,"div",10)(59,"div",34),d(60,"Provincia"),c(),l(61,"div",34)(62,"select",35),D("ngModelChange",function(s){return i.provincia=s})("change",function(){return i.filtroProvincia()}),l(63,"option",36),d(64,"Todo..."),c(),C(65,See,2,1,"option",37),c()()()(),l(66,"div",38)(67,"div",10)(68,"div",34),d(69,"Ciudad:"),c(),l(70,"div",34)(71,"select",35),D("ngModelChange",function(s){return i.ciudadCosta=s})("change",function(){return i.filtroCiudadCosta()}),l(72,"option",36),d(73,"Todo..."),c(),C(74,Mee,2,2,"option",39),c()()()(),l(75,"div",33)(76,"div",10)(77,"div",34),d(78,"Sector"),c(),l(79,"div",34)(80,"select",35),D("ngModelChange",function(s){return i.sectorCosta=s})("change",function(){return i.sectorFiltro()}),l(81,"option",36),d(82,"Todo..."),c(),C(83,Iee,2,2,"option",39),c()()()()()()(),h(84,"br"),l(85,"div",40),C(86,Aee,20,5,"div",41),c()()(),h(87,"app-footer")),2&e&&(m(1),v("ngIf",i.showSpinner),m(31),v("routerLink",O(12,xee)),m(2),v("routerLink",O(13,Oee)),m(2),v("routerLink",O(14,Nee)),m(9),v("ngModel",i.ciudadBusqueda),m(17),v("ngModel",i.provincia),m(3),v("ngForOf",i.listaProvincias),m(6),v("ngModel",i.ciudadCosta),m(3),v("ngForOf",i.listaCiudades),m(6),v("ngModel",i.sectorCosta),m(3),v("ngForOf",i.listaSectores),m(3),v("ngForOf",i.listasierra))},directives:[ye,Ye,At,kt,Xe,wt,It,jt,Cr,Rc,Fc,qe,Ee],styles:[""]}),t})();function Ree(t,n){1&t&&(l(0,"div",12)(1,"div",13),h(2,"img",14),c()())}function Fee(t,n){if(1&t&&(l(0,"div",15)(1,"div",16),d(2),c(),h(3,"br"),l(4,"div",17)(5,"b",18),d(6,"Horario: "),c(),d(7),c(),l(8,"div",17)(9,"b",18),d(10,"Direcci\xf3n: "),c(),l(11,"span"),d(12),c()(),h(13,"br"),l(14,"a",19),R(),l(15,"svg",20),h(16,"path",21)(17,"path",22)(18,"circle",23),c(),d(19," Google Maps "),c()()),2&t){const e=n.$implicit;m(2),cn(" ",e.nombre_suc," ",e.sector_suc," "),m(5),U(" ",e.horario_suc," "),m(5),le(e.direccion_suc),m(2),v("href",e.dirmaps_suc,we)}}let Pee=(()=>{class t{constructor(e,i,o,s){this._sucursales=e,this._cookie=i,this.activatedRoute=o,this.toastr=s,this.token="",this.region="",this.previousLabel="Anterior",this.nextLabel="Siguiente",this.p=1,this.ciudadCosta="pais"}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"}),this.token=this._cookie.get("token"),this.loadTiendasGuayaquil(),this.listaCiudades=[]}loadTiendasGuayaquil(){this._sucursales.getTiendaCiudad("Riobamba","").subscribe(e=>{this.listaRiobamba=e})}sector(e){this.listaRiobamba=[],this._sucursales.getTiendaCiudadSector("Riobamba",e).subscribe(i=>{i.length?this.listaRiobamba=i:this.toastWarning("Ups no existen registros para tu busqueda")})}toastWarning(e){this.toastr.warning(e+"!!!","",{timeOut:4e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Ht),_(Ve),_(Vt),_(Re))},t.\u0275cmp=N({type:t,selectors:[["app-tiendasriobamba"]],inputs:{previousLabel:"previousLabel",nextLabel:"nextLabel"},decls:30,vars:1,consts:[[1,"fondo"],[1,"inicio"],["ngbSlide",""],[1,"seccion__tiendas"],[1,"seccion__tiendas__ciudad"],[2,"width","96%","margin","0 auto"],[1,"row"],[1,"col-sm-4"],[1,"seccion__tiendas_sector",3,"click"],[1,"col-sm-4",2,"border-right","1px solid #683e10","border-left","1px solid #683e10"],[1,"seccion__tiendas_container"],["class","seccion__tiendas_card",4,"ngFor","ngForOf"],[1,"picsum-img-wrapper"],[1,"img__carousel_tiendas"],["src","../../../assets/img/riobamba/PORTADA-WEB-RIO.jpg","alt","Random first slide",2,"object-fit","contain"],[1,"seccion__tiendas_card"],[1,"titulos",2,"font-size","19px","margin","0","text-align","left"],[1,"seccion__tiendas_horario"],[1,"titulos",2,"font-size","15px","margin","0","text-align","left"],["target","_blank",2,"color","#673d10","text-decoration","none",3,"href"],["xmlns","http://www.w3.org/2000/svg","height","30px","viewBox","0 0 24 24","width","30px","fill","#F18C24"],["d","M0 0h24v24H0V0z","fill","none"],["d","M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"],["cx","12","cy","9","r","2.5"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div")(4,"ngb-carousel"),C(5,Ree,3,0,"ng-template",2),c()()(),h(6,"br")(7,"br")(8,"br"),c(),l(9,"div",3)(10,"div",4),d(11,"Riobamba"),c(),h(12,"br"),l(13,"div",4)(14,"div",5)(15,"div",6)(16,"div",7)(17,"span",8),D("click",function(){return i.sector("norte")}),d(18," Norte "),c()(),l(19,"div",9)(20,"span",8),D("click",function(){return i.sector("centro")}),d(21," Centro "),c()(),l(22,"div",7)(23,"span",8),D("click",function(){return i.sector("sur")}),d(24," Sur "),c()()()()(),l(25,"div",10),C(26,Fee,20,5,"div",11),c(),h(27,"br")(28,"br"),c(),h(29,"app-footer")),2&e&&(m(26),v("ngForOf",i.listaRiobamba))},directives:[ye,At,kt,qe,Ee],styles:[""]}),t})();function Lee(t,n){1&t&&(l(0,"div",32),R(),l(1,"svg",33)(2,"g",34)(3,"circle",35),h(4,"animateTransform",36)(5,"animate",37),c(),l(6,"circle",38),h(7,"animateTransform",39)(8,"animate",40),c()()()())}const Bee=function(){return["/home/nosotros"]};function Vee(t,n){1&t&&(l(0,"div",41)(1,"div",42),h(2,"img",43),c()()),2&t&&(m(2),v("routerLink",O(1,Bee)))}function jee(t,n){if(1&t&&(l(0,"mat-option",44),d(1),c()),2&t){const e=n.$implicit;v("value",e.ciudad_suc),m(1),U(" ",e.ciudad_suc,"")}}let Hee=(()=>{class t{constructor(e,i,o,s){this._sucusal=e,this.toastr=i,this._uploadfiles=o,this._trabajo=s,this.archivo={archivo_ar:"",nombre_ar:"",rol_ar:"",token:""},this.baseUrl=".",this.nombre="",this.showSpinner=!1,this.MAXIMO_TAMANIO_BYTES=2e6}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"}),this.loadTiendas(),this.cancelar()}guardarSolicitud(){""==this.trabajo.cargo_tra?this.toastWarning("Debes seleccionar el cargo al que estas aplicando."):this.trabajo.solicitante_tra.length<=0?this.toastWarning("Debes ingresar tu nombre completo"):this.trabajo.correo_tra.length<=0?this.toastWarning("No has especificado tu email"):this.trabajo.celular_tra.length<=0?this.toastWarning("No has ingresado tu n\xfamero de contacto"):this.trabajo.ciudad_tra.length<=0?this.toastWarning("No has seleccionado la ciudad a la que estas aplicando"):this.nombre.length<=0?this.toastWarning("Debes subir tu hoja de vida"):(this.showSpinner=!0,this.trabajo.solicitante_tra=this.trabajo.solicitante_tra.toLocaleUpperCase(),this.trabajo.solicitante_tra=this.trabajo.solicitante_tra.trim(),this.trabajo.correo_tra=this.trabajo.correo_tra.trim(),this._trabajo.getSolicitudValidar(this.trabajo.correo_tra).subscribe(e=>{e.length?(this.showSpinner=!1,this.toastError("Ups tu solicitud ya fue registrada anteriormente")):this._trabajo.createSolicitudTrabajo(this.trabajo).subscribe(i=>{i?(this.cancelar(),this.toastSuccess("Solicitud enviada correctamente, nos pondremos en contacto contigo."),this.showSpinner=!1):(this.toastError("Tenemos problemas para registrar tu solicitud, por favor intentalo nuevamente"),this.showSpinner=!1)})}))}subirArchivo(e){var i=this;this.showSpinner=!0;const o=e.target.files[0],r=e.target.files[0].name;o.size>this.MAXIMO_TAMANIO_BYTES?this.toastError("Tu hoja de vida excede el tama\xf1o m\xe1ximo"):"application/pdf"!=o.type?this.toastError("Tu hoja de vida debe estar en formato PDF"):this._uploadfiles.uploaFiles(e.target.files[0]).subscribe(function(){var a=Yi(function*(u){"success"==u.status?(i.nombre=r,i.showSpinner=!1,i.trabajo.cv_tra=i.baseUrl+"/APIBOGATI/archivos/"+u.msj):"error"==u.status&&(i.showSpinner=!1)});return function(u){return a.apply(this,arguments)}}(),a=>{console.log(a)})}loadTiendas(){this._sucusal.getTiendasExterior().subscribe(e=>{this.listatiendas=e})}cancelar(){this.trabajo={cargo_tra:"",solicitante_tra:"",correo_tra:"",celular_tra:"",ciudad_tra:"",cv_tra:""},this.nombre=""}toastSuccess(e){this.toastr.success(e,"Bogati",{timeOut:4e3})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Ht),_(Re),_(Dr),_(h1))},t.\u0275cmp=N({type:t,selectors:[["app-trabajo"]],decls:82,vars:8,consts:[["class","spinner",4,"ngIf"],[1,"fondo"],[1,"inicio"],["ngbSlide",""],[1,"container"],[1,"titulos",2,"margin","10px 0 0 0"],[1,"titulos",2,"font-size","20px","font-weight","600","margin","0 0 0 10px"],[1,"row"],[1,"col-sm-6"],["appearance","fill",1,"example-full-width"],[3,"ngModel","ngModelChange"],["value",""],["value","ADMINISTRADOR DE LOCAL"],["value","POLIFUNCIONAL"],["matInput","","placeholder","Nombres Y Apellidos",3,"ngModel","ngModelChange"],["matInput","","placeholder","Correo",3,"ngModel","ngModelChange"],["matInput","","placeholder","Tel\xe9fono","maxlength","10",3,"ngModel","ngModelChange"],[3,"value",4,"ngFor","ngForOf"],["src","../../../assets/img/trabajo/SUBIR-CURRICULUM.png","alt","BOGATI",2,"width","100%","height","250px","object-fit","contain"],[1,"titulos",2,"font-size","20px","font-weight","600","margin","10px 0 0 10px"],[2,"display","block","text-align","center","width","100%","padding","10px","font-size","16px","font-weight","600"],[2,"width","100%","display","flex","justify-content","space-around"],[1,"custom-file-upload",2,"background-color","#673D10"],["xmlns","http://www.w3.org/2000/svg","fill","#fff","width","20","height","17","viewBox","0 0 20 17"],["d","M10 0l-5.2 4.9h3.3v5.1h3.8v-5.1h3.3l-5.2-4.9zm9.3 11.5l-3.2-2.1h-2l3.4 2.6h-3.5c-.1 0-.2.1-.2.1l-.8 2.3h-6l-.8-2.2c-.1-.1-.1-.2-.2-.2h-3.6l3.4-2.6h-2l-3.2 2.1c-.4.3-.7 1-.6 1.5l.6 3.1c.1.5.7.9 1.2.9h16.3c.6 0 1.1-.4 1.3-.9l.6-3.1c.1-.5-.2-1.2-.7-1.5z"],["type","file","accept","application/pdf",3,"change"],[2,"margin","0 auto","width","auto"],[1,"custom-file-upload",2,"background-color","#673D10",3,"click"],["xmlns","http://www.w3.org/2000/svg","fill","#fff","width","10px","height","10px","viewBox","0 0 20 20"],["d","M6 40V8L44 24ZM9 35.35 36.2 24 9 12.5V20.9L21.1 24L9 27ZM9 35.35V24V12.5V20.9V27Z"],[1,"titulos",2,"margin","20px 0 0 0"],["src","../../../assets/img/trabajo/PROYECTO-NO-EMIGRES-VIDEO.png","alt","BOGATI",2,"width","100%","height","100%","object-fit","cover"],[1,"spinner"],["xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","width","214px","height","214px","viewBox","0 0 100 100","preserveAspectRatio","xMidYMid",2,"margin","auto","background","none","display","block","shape-rendering","auto"],["transform","translate(0 -8)"],["cx","50","cy","40.4","r","10","fill","#1d0e0b"],["attributeName","transform","type","rotate","dur","1.6949152542372883s","repeatCount","indefinite","keyTimes","0;1","values","0 50 50;360 50 50"],["attributeName","r","dur","1.6949152542372883s","repeatCount","indefinite","calcMode","spline","keyTimes","0;0.5;1","values","0;16;0","keySplines","0.2 0 0.8 1;0.2 0 0.8 1"],["cx","50","cy","40.4","r","10","fill","#774023"],["attributeName","transform","type","rotate","dur","1.6949152542372883s","repeatCount","indefinite","keyTimes","0;1","values","180 50 50;540 50 50"],["attributeName","r","dur","1.6949152542372883s","repeatCount","indefinite","calcMode","spline","keyTimes","0;0.5;1","values","16;0;16","keySplines","0.2 0 0.8 1;0.2 0 0.8 1"],[1,"picsum-img-wrapper"],[1,"img__carousel"],["src","../../../assets/img/trabajo/Trabajo-5.jpg","alt","Random first slide",2,"object-fit","fill","cursor","pointer",3,"routerLink"],[3,"value"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),C(1,Lee,9,0,"div",0),l(2,"div",1)(3,"div",2)(4,"div")(5,"ngb-carousel"),C(6,Vee,3,2,"ng-template",3),c()()(),l(7,"div",2)(8,"div",4)(9,"div",5),d(10," \xdaNETE AL EQUIPO DE BOGATI "),c(),l(11,"div",6),d(12," s\xe9 uno de nostros "),c(),h(13,"br"),l(14,"div",7)(15,"div",8)(16,"mat-form-field",9)(17,"mat-label"),d(18,"Producci\xf3n"),c(),l(19,"mat-select",10),D("ngModelChange",function(s){return i.trabajo.cargo_tra=s}),l(20,"mat-option",11),d(21,"Ninguno"),c(),l(22,"mat-option",12),d(23,"ADMINISTRADOR DE LOCAL"),c(),l(24,"mat-option",13),d(25,"Polifuncional"),c()()(),h(26,"br"),l(27,"mat-form-field",9)(28,"mat-label"),d(29,"Nombres Y Apellidos"),c(),l(30,"input",14),D("ngModelChange",function(s){return i.trabajo.solicitante_tra=s}),c()(),h(31,"br"),l(32,"mat-form-field",9)(33,"mat-label"),d(34,"Correo"),c(),l(35,"input",15),D("ngModelChange",function(s){return i.trabajo.correo_tra=s}),c()(),h(36,"br"),l(37,"mat-form-field",9)(38,"mat-label"),d(39,"Tel\xe9fono"),c(),l(40,"input",16),D("ngModelChange",function(s){return i.trabajo.celular_tra=s}),c()(),h(41,"br"),l(42,"mat-form-field",9)(43,"mat-label"),d(44,"Ciudad de donde nos escribes"),c(),l(45,"mat-select",10),D("ngModelChange",function(s){return i.trabajo.ciudad_tra=s}),l(46,"mat-option",11),d(47,"Ciudad"),c(),C(48,jee,2,2,"mat-option",17),c()()(),l(49,"div",8),h(50,"img",18)(51,"br"),l(52,"div",19),d(53," Adjunta tu hoja de vida "),c(),l(54,"span",20),d(55," Formato PDF,M\xe1ximo 2Mb"),c(),l(56,"div",19),d(57),c(),h(58,"br"),l(59,"div",21)(60,"label",22),R(),l(61,"svg",23),h(62,"path",24),c(),d(63," Seleccionar Archivo "),q(),l(64,"input",25),D("change",function(s){return i.subirArchivo(s)}),c()()()()(),l(65,"div",26)(66,"div",21)(67,"label",27),D("click",function(){return i.guardarSolicitud()}),R(),l(68,"svg",28),h(69,"path",29),c(),d(70," Enviar Solicitud "),c()()()()(),q(),l(71,"div",30),d(72," PROYECTO NO EMIGRES "),c(),l(73,"div",6),d(74," con\xf3celo "),c(),h(75,"br"),l(76,"div",2)(77,"div",4),h(78,"img",31),c()(),h(79,"br")(80,"br"),c(),h(81,"app-footer")),2&e&&(m(1),v("ngIf",i.showSpinner),m(18),v("ngModel",i.trabajo.cargo_tra),m(11),v("ngModel",i.trabajo.solicitante_tra),m(5),v("ngModel",i.trabajo.correo_tra),m(5),v("ngModel",i.trabajo.celular_tra),m(5),v("ngModel",i.trabajo.ciudad_tra),m(3),v("ngForOf",i.listatiendas),m(9),U(" ",i.nombre," "))},directives:[ye,Ye,At,kt,Xe,xi,di,Wo,It,jt,Co,Qi,wt,I0,qe,Ee],styles:[""]}),t})();function Uee(t,n){1&t&&(l(0,"div",7)(1,"div",8)(2,"div",9),h(3,"br")(4,"br"),l(5,"p",10),d(6,"Gerente Bogati"),c(),l(7,"p",11),d(8,"correo: gerencia@bogati.ec"),c(),l(9,"div",12),R(),l(10,"svg",13),h(11,"path",14),c(),q(),l(12,"span")(13,"a",15),d(14),c()()()(),l(15,"div",9),h(16,"br"),l(17,"p",10),d(18,"Gerente Financiero"),c(),l(19,"p",11),d(20,"correo: gerencia@bogati.ec"),c(),l(21,"div",12),R(),l(22,"svg",13),h(23,"path",14),c(),q(),l(24,"span")(25,"a",15),d(26),c()()()(),l(27,"div",9),h(28,"br"),l(29,"p",10),d(30,"Gerente Marketing"),c(),l(31,"p",11),d(32,"correo: gerencia@bogati.ec"),c(),l(33,"div",12),R(),l(34,"svg",13),h(35,"path",14),c(),q(),l(36,"span")(37,"a",15),d(38),c()()()(),l(39,"div",9),h(40,"br"),l(41,"p",10),d(42,"Gerente Franquicias"),c(),l(43,"p",11),d(44,"correo: gerencia@bogati.ec"),c(),l(45,"div",12),R(),l(46,"svg",13),h(47,"path",14),c(),q(),l(48,"span")(49,"a",15),d(50),c()()()()()()),2&t&&(m(14),U(" 0","989046226"," "),m(12),U(" 0","989046226"," "),m(12),U(" 0","989046226"," "),m(12),U(" 0","989046226"," "))}function Gee(t,n){1&t&&(l(0,"div",7)(1,"div",8)(2,"div",9),h(3,"img",16),c(),l(4,"div",9),h(5,"img",17),c(),l(6,"div",9),h(7,"img",18),c(),l(8,"div",9),h(9,"img",19),c()()())}function zee(t,n){1&t&&(l(0,"div",7)(1,"div",8)(2,"div",9),h(3,"img",20),c(),l(4,"div",9),h(5,"img",21),c(),l(6,"div",9),h(7,"img",22),c()()())}let qee=(()=>{class t{constructor(){this.showHeladeria=!0,this.showCafeteria=!1,this.showCombos=!1}ngOnInit(){}menuInicio(e){"heladeria"==e?(this.showHeladeria=!0,this.showCafeteria=!1,this.showCombos=!1):"cafeteria"==e?(this.showHeladeria=!1,this.showCafeteria=!0,this.showCombos=!1):(this.showHeladeria=!1,this.showCafeteria=!1,this.showCombos=!0)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-directorios"]],decls:16,vars:3,consts:[[1,"fondo"],[1,"inicio"],[2,"width","90%","margin","0 auto"],[1,"seccion_franja"],[1,"menu__inicio"],[1,"menu__inicio_titulo",2,"font-size","60px"],["style","width: 100%; margin: 0 auto;",4,"ngIf"],[2,"width","100%","margin","0 auto"],[1,"queofrecemos__franja"],[1,"queofrecemos__franja_img"],[1,"menu__inicio_titulo"],[1,"subtitulos_directorio"],[2,"width","100%","margin","10px 0"],["xmlns","http://www.w3.org/2000/svg","width","30","height","30","viewBox","0 0 24 24",2,"fill","#673d10"],["fill-rule","evenodd","clip-rule","evenodd","d","M18.403 5.633A8.919 8.919 0 0 0 12.053 3c-4.948 0-8.976 4.027-8.978 8.977 0 1.582.413 3.126 1.198 4.488L3 21.116l4.759-1.249a8.981 8.981 0 0 0 4.29 1.093h.004c4.947 0 8.975-4.027 8.977-8.977a8.926 8.926 0 0 0-2.627-6.35m-6.35 13.812h-.003a7.446 7.446 0 0 1-3.798-1.041l-.272-.162-2.824.741.753-2.753-.177-.282a7.448 7.448 0 0 1-1.141-3.971c.002-4.114 3.349-7.461 7.465-7.461a7.413 7.413 0 0 1 5.275 2.188 7.42 7.42 0 0 1 2.183 5.279c-.002 4.114-3.349 7.462-7.461 7.462m4.093-5.589c-.225-.113-1.327-.655-1.533-.73-.205-.075-.354-.112-.504.112s-.58.729-.711.879-.262.168-.486.056-.947-.349-1.804-1.113c-.667-.595-1.117-1.329-1.248-1.554s-.014-.346.099-.458c.101-.1.224-.262.336-.393.112-.131.149-.224.224-.374s.038-.281-.019-.393c-.056-.113-.505-1.217-.692-1.666-.181-.435-.366-.377-.504-.383a9.65 9.65 0 0 0-.429-.008.826.826 0 0 0-.599.28c-.206.225-.785.767-.785 1.871s.804 2.171.916 2.321c.112.15 1.582 2.415 3.832 3.387.536.231.954.369 1.279.473.537.171 1.026.146 1.413.089.431-.064 1.327-.542 1.514-1.066.187-.524.187-.973.131-1.067-.056-.094-.207-.151-.43-.263"],["href","https://wa.me/+593988563379?text=","target","_blank",2,"text-decoration","none","color","#673d10"],["src","../../../assets/img/inicio/capuchinoi.png","alt","BOGATI",2,"cursor","default"],["src","../../../assets/img/inicio/chocolate.png","alt","BOGATI",2,"cursor","default"],["src","../../../assets/img/inicio/mocachino.png","alt","BOGATI",2,"cursor","default"],["src","../../../assets/img/inicio/tostada-triple.png","alt","BOGATI",2,"cursor","default"],["src","../../../assets/img/inicio/combo-para-el-fro.png","alt","BOGATI",2,"cursor","default"],["src","../../../assets/img/inicio/combo-para-la-lluvia.png","alt","BOGATI",2,"cursor","default"],["src","../../../assets/img/inicio/combo-yogurt.png","alt","BOGATI",2,"cursor","default"]],template:function(e,i){1&e&&(h(0,"app-menunuevo")(1,"app-menunuevo")(2,"div",0)(3,"div",1)(4,"br"),l(5,"div",2)(6,"div",3)(7,"div",4)(8,"div",5),d(9," DIRECTORIO "),c()()()(),h(10,"br"),C(11,Uee,51,4,"div",6),C(12,Gee,10,0,"div",6),C(13,zee,8,0,"div",6),h(14,"br")(15,"app-footer")),2&e&&(m(11),v("ngIf",i.showHeladeria),m(1),v("ngIf",i.showCafeteria),m(1),v("ngIf",i.showCombos))},directives:[ye,Ye,Ee],styles:[""]}),t})(),kI=(()=>{class t{constructor(e,i,o,s){this.router=e,this._login=i,this.cookieService=o,this.toastr=s}canActivate(){return!!this.cookieService.get("token")||(this.router.navigate([""]).then(e=>{this.toastError("Inicio de sesi\xf3n requerido"),this.cookieService.deleteAll()}),!1)}toastSuccess(e){this.toastr.success("Registro "+e+" exitosamente!!!","Exito",{timeOut:3e3})}toastWarning(e){this.toastr.warning(e+"!!!","Advertencia",{timeOut:3e3})}toastError(e){this.toastr.error(e,"ERROR",{timeOut:3e3})}}return t.\u0275fac=function(e){return new(e||t)(M(gt),M(xn),M(Ve),M(Re))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function $ee(t,n){if(1&t&&(l(0,"div",11)(1,"div",12),d(2),c(),h(3,"br"),l(4,"div",13)(5,"b",14),d(6,"Horario: "),c(),d(7),c(),l(8,"div",13)(9,"b",14),d(10,"Direcci\xf3n: "),c(),l(11,"span"),d(12),c()(),h(13,"br"),l(14,"a",15),R(),l(15,"svg",16),h(16,"path",17)(17,"path",18)(18,"circle",19),c(),d(19," Google Maps "),c()()),2&t){const e=n.$implicit;m(2),cn(" ",e.nombre_suc," ",e.sector_suc," "),m(5),U(" ",e.horario_suc," "),m(5),le(e.direccion_suc),m(2),v("href",e.dirmaps_suc,we)}}let Wee=(()=>{class t{constructor(e,i,o,s){this._sucursales=e,this._cookie=i,this.activatedRoute=o,this.toastr=s,this.listaTiendasManta=[]}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"}),this.loadTiendasSanto()}loadTiendasSanto(){this._sucursales.getTiendaCiudad("Manta","").subscribe(e=>{this.listaTiendasManta=e})}sector(e){this.listaTiendasManta=[],this._sucursales.getTiendaCiudadSector("Manta",e).subscribe(i=>{i.length?this.listaTiendasManta=i:this.toastWarning("Ups no existen registros para tu busqueda")})}toastWarning(e){this.toastr.warning(e+"!!!","",{timeOut:4e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Ht),_(Ve),_(Vt),_(Re))},t.\u0275cmp=N({type:t,selectors:[["app-tiendasmanta"]],decls:25,vars:1,consts:[[1,"fondo"],[1,"inicio"],[1,"seccion__tiendas"],[1,"seccion__tiendas__ciudad"],[2,"width","96%","margin","0 auto"],[1,"row"],[1,"col-sm-4"],[1,"seccion__tiendas_sector",3,"click"],[1,"col-sm-4",2,"border-right","1px solid #683e10","border-left","1px solid #683e10"],[1,"seccion__tiendas_container"],["class","seccion__tiendas_card",4,"ngFor","ngForOf"],[1,"seccion__tiendas_card"],[1,"titulos",2,"font-size","19px","margin","0","text-align","left"],[1,"seccion__tiendas_horario"],[1,"titulos",2,"font-size","15px","margin","0","text-align","left"],["target","_blank",2,"color","#673d10","text-decoration","none",3,"href"],["xmlns","http://www.w3.org/2000/svg","height","30px","viewBox","0 0 24 24","width","30px","fill","#F18C24"],["d","M0 0h24v24H0V0z","fill","none"],["d","M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"],["cx","12","cy","9","r","2.5"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1),h(3,"div"),l(4,"div",2)(5,"div",3),d(6,"Manta"),c(),h(7,"br"),l(8,"div",3)(9,"div",4)(10,"div",5)(11,"div",6)(12,"span",7),D("click",function(){return i.sector("norte")}),d(13," Norte "),c()(),l(14,"div",8)(15,"span",7),D("click",function(){return i.sector("centro")}),d(16," Centro "),c()(),l(17,"div",6)(18,"span",7),D("click",function(){return i.sector("sur")}),d(19," Sur "),c()()()()(),l(20,"div",9),C(21,$ee,20,5,"div",10),c(),h(22,"br")(23,"br"),c(),h(24,"app-footer"),c()()),2&e&&(m(21),v("ngForOf",i.listaTiendasManta))},directives:[ye,qe,Ee],styles:[""]}),t})();function Yee(t,n){if(1&t&&(l(0,"div",11)(1,"div",12),d(2),c(),h(3,"br"),l(4,"div",13)(5,"b",14),d(6,"Horario: "),c(),d(7),c(),l(8,"div",13)(9,"b",14),d(10,"Direcci\xf3n: "),c(),l(11,"span"),d(12),c()(),h(13,"br"),l(14,"a",15),R(),l(15,"svg",16),h(16,"path",17)(17,"path",18)(18,"circle",19),c(),d(19," Google Maps "),c()()),2&t){const e=n.$implicit;m(2),cn(" ",e.nombre_suc," ",e.sector_suc," "),m(5),U(" ",e.horario_suc," "),m(5),le(e.direccion_suc),m(2),v("href",e.dirmaps_suc,we)}}let Qee=(()=>{class t{constructor(e,i,o,s){this._sucursales=e,this._cookie=i,this.activatedRoute=o,this.toastr=s,this.listaTiendasTena=[]}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"}),this.loadTiendasTena()}loadTiendasTena(){this._sucursales.getTiendaCiudad("Tena","").subscribe(e=>{this.listaTiendasTena=e})}sector(e){this.listaTiendasTena=[],this._sucursales.getTiendaCiudadSector("Tena",e).subscribe(i=>{i.length?this.listaTiendasTena=i:this.toastWarning("Ups no existen registros para tu busqueda")})}toastWarning(e){this.toastr.warning(e+"!!!","",{timeOut:4e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Ht),_(Ve),_(Vt),_(Re))},t.\u0275cmp=N({type:t,selectors:[["app-tiendastena"]],decls:25,vars:1,consts:[[1,"fondo"],[1,"inicio"],[1,"seccion__tiendas"],[1,"seccion__tiendas__ciudad"],[2,"width","96%","margin","0 auto"],[1,"row"],[1,"col-sm-4"],[1,"seccion__tiendas_sector",3,"click"],[1,"col-sm-4",2,"border-right","1px solid #683e10","border-left","1px solid #683e10"],[1,"seccion__tiendas_container"],["class","seccion__tiendas_card",4,"ngFor","ngForOf"],[1,"seccion__tiendas_card"],[1,"titulos",2,"font-size","19px","margin","0","text-align","left"],[1,"seccion__tiendas_horario"],[1,"titulos",2,"font-size","15px","margin","0","text-align","left"],["target","_blank",2,"color","#673d10","text-decoration","none",3,"href"],["xmlns","http://www.w3.org/2000/svg","height","30px","viewBox","0 0 24 24","width","30px","fill","#F18C24"],["d","M0 0h24v24H0V0z","fill","none"],["d","M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"],["cx","12","cy","9","r","2.5"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1),h(3,"div"),l(4,"div",2)(5,"div",3),d(6,"Tena"),c(),h(7,"br"),l(8,"div",3)(9,"div",4)(10,"div",5)(11,"div",6)(12,"span",7),D("click",function(){return i.sector("norte")}),d(13," Norte "),c()(),l(14,"div",8)(15,"span",7),D("click",function(){return i.sector("centro")}),d(16," Centro "),c()(),l(17,"div",6)(18,"span",7),D("click",function(){return i.sector("sur")}),d(19," Sur "),c()()()()(),l(20,"div",9),C(21,Yee,20,5,"div",10),c(),h(22,"br")(23,"br"),c(),h(24,"app-footer"),c()()),2&e&&(m(21),v("ngForOf",i.listaTiendasTena))},directives:[ye,qe,Ee],styles:[""]}),t})();function Kee(t,n){if(1&t&&(l(0,"div",11)(1,"div",12),d(2),c(),h(3,"br"),l(4,"div",13)(5,"b",14),d(6,"Horario: "),c(),d(7),c(),l(8,"div",13)(9,"b",14),d(10,"Direcci\xf3n: "),c(),l(11,"span"),d(12),c()(),h(13,"br"),l(14,"a",15),R(),l(15,"svg",16),h(16,"path",17)(17,"path",18)(18,"circle",19),c(),d(19," Google Maps "),c()()),2&t){const e=n.$implicit;m(2),cn(" ",e.nombre_suc," ",e.sector_suc," "),m(5),U(" ",e.horario_suc," "),m(5),le(e.direccion_suc),m(2),v("href",e.dirmaps_suc,we)}}let Zee=(()=>{class t{constructor(e,i,o,s){this._sucursales=e,this._cookie=i,this.activatedRoute=o,this.toastr=s,this.listaTiendasPuyo=[]}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"}),this.loadTiendasPuyo()}loadTiendasPuyo(){this._sucursales.getTiendaCiudad("Puyo","").subscribe(e=>{this.listaTiendasPuyo=e})}sector(e){this.listaTiendasPuyo=[],this._sucursales.getTiendaCiudadSector("Puyo",e).subscribe(i=>{i.length?this.listaTiendasPuyo=i:this.toastWarning("Ups no existen registros para tu busqueda")})}toastWarning(e){this.toastr.warning(e+"!!!","",{timeOut:4e3})}}return t.\u0275fac=function(e){return new(e||t)(_(Ht),_(Ve),_(Vt),_(Re))},t.\u0275cmp=N({type:t,selectors:[["app-tiendaspuyo"]],decls:25,vars:1,consts:[[1,"fondo"],[1,"inicio"],[1,"seccion__tiendas"],[1,"seccion__tiendas__ciudad"],[2,"width","96%","margin","0 auto"],[1,"row"],[1,"col-sm-4"],[1,"seccion__tiendas_sector",3,"click"],[1,"col-sm-4",2,"border-right","1px solid #683e10","border-left","1px solid #683e10"],[1,"seccion__tiendas_container"],["class","seccion__tiendas_card",4,"ngFor","ngForOf"],[1,"seccion__tiendas_card"],[1,"titulos",2,"font-size","19px","margin","0","text-align","left"],[1,"seccion__tiendas_horario"],[1,"titulos",2,"font-size","15px","margin","0","text-align","left"],["target","_blank",2,"color","#673d10","text-decoration","none",3,"href"],["xmlns","http://www.w3.org/2000/svg","height","30px","viewBox","0 0 24 24","width","30px","fill","#F18C24"],["d","M0 0h24v24H0V0z","fill","none"],["d","M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zM7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 2.88-2.88 7.19-5 9.88C9.92 16.21 7 11.85 7 9z"],["cx","12","cy","9","r","2.5"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1),h(3,"div"),l(4,"div",2)(5,"div",3),d(6,"Puyo"),c(),h(7,"br"),l(8,"div",3)(9,"div",4)(10,"div",5)(11,"div",6)(12,"span",7),D("click",function(){return i.sector("norte")}),d(13," Norte "),c()(),l(14,"div",8)(15,"span",7),D("click",function(){return i.sector("centro")}),d(16," Centro "),c()(),l(17,"div",6)(18,"span",7),D("click",function(){return i.sector("sur")}),d(19," Sur "),c()()()()(),l(20,"div",9),C(21,Kee,20,5,"div",10),c(),h(22,"br")(23,"br"),c(),h(24,"app-footer"),c()()),2&e&&(m(21),v("ngForOf",i.listaTiendasPuyo))},directives:[ye,qe,Ee],styles:[""]}),t})();function Jee(t,n){1&t&&(l(0,"div",24),R(),l(1,"svg",25)(2,"g",26)(3,"circle",27),h(4,"animateTransform",28)(5,"animate",29),c(),l(6,"circle",30),h(7,"animateTransform",31)(8,"animate",32),c()()()())}function Xee(t,n){1&t&&(l(0,"div",33)(1,"div",34),h(2,"img",35),c()())}function ete(t,n){if(1&t&&(l(0,"div",36)(1,"div",37),d(2),c(),h(3,"br"),l(4,"div",38)(5,"b"),d(6,"Horario: "),c(),d(7),c(),l(8,"div",38)(9,"b"),d(10,"Direcci\xf3n: "),c(),l(11,"span"),d(12),c()(),h(13,"br"),l(14,"a",39),R(),l(15,"svg",40),h(16,"path",19)(17,"path",41)(18,"circle",42),c(),d(19," Google Maps "),c()()),2&t){const e=n.$implicit;m(2),cn(" ",e.nombre_suc," ",e.sector_suc," "),m(5),U(" ",e.horario_suc," "),m(5),le(e.direccion_suc),m(2),v("href",e.dirmaps_suc,we)}}let tte=(()=>{class t{constructor(e,i,o,s,r){this._sucursales=e,this._cookie=i,this.activatedRoute=o,this.toastr=s,this._router=r,this.pdfUrl="https://bogati.ec/APIBOGATI/archivos/ACTA.pdf",this.token="",this.region="",this.sectorCosta="pais",this.previousLabel="Anterior",this.nextLabel="Siguiente",this.p=1,this.ciudadCosta="pais",this.provincia="pais",this.ciudadBusquedap="SANTA ANA",this.ciudadBusqueda="",this.showSpinner=!1}ngOnInit(){window.scroll({top:0,left:0,behavior:"smooth"}),this.token=this._cookie.get("token"),this.loadTiendas(),this.region=this.activatedRoute.snapshot.paramMap.get("region"),this.listaCiudades=[],this.loadProvincias()}loadTiendas(){this._sucursales.getTiendasGeneral().subscribe(e=>{this.showSpinner=!1,this.listasierra=e;for(let i=0;i{this.showSpinner=!1,this.listap=e;for(let i=0;i{e.length?this.listaProvincias=e:this.toastWarning("Ups no existen registros para tu busqueda")})}loadCiudades(){this._sucursales.getCiudadPorRegion("Sierra").subscribe(e=>{this.listaCiudades=e})}filtroProvincia(){this.showSpinner=!0,"pais"!=this.provincia?(this._sucursales.getTiendasProvincia(this.provincia).subscribe(e=>{this.listasierra=e;for(let i=0;i{e.length?this.listaCiudades=e:this.toastWarning("Ups no existen registros para tu busqueda"),this.showSpinner=!1})):(this.loadTiendas(),this.provincia="pais",this.ciudadCosta="pais",this.listaSectores=[],this.listaCiudades=[])}filtroCiudadCosta(){this.showSpinner=!0,"pais"!=this.ciudadCosta?(this._sucursales.getSectorCiudadProvincia(this.provincia,this.ciudadCosta).subscribe(e=>{this.listaSectores=e}),this._sucursales.getTiendasProvinciaCiudad(this.provincia,this.ciudadCosta).subscribe(e=>{if(e.length){this.listasierra=e;for(let i=0;i{if(e.length){this.listasierra=e;for(let i=0;i{if(i.length){this.listasierra=i;for(let o=0;o{this.listasierra=e,this.showSpinner=!1;for(let i=0;i{if(e.length){this.listasierra=e;for(let i=0;i{this.listasierra=e,this.showSpinner=!1;for(let i=0;i{if(e.length){this.listap=e;for(let i=0;i{class t{constructor(e,i,o){this.http=e,this.toastr=i,this.fb=o,this.baseUrl=".",this.isSubmitting=!1,this.count=0,this.currentNumber=0,this.formulario=this.fb.group({nombres:["",[dt.required,dt.maxLength(199),this.noEmojiValidator]],telefono:["",[dt.required,dt.pattern(/^[0-9]{10}$/)]],ciudad:["",[dt.required,dt.maxLength(149),this.noEmojiValidator]],comentario:["",[dt.required,dt.maxLength(249),this.noEmojiValidator]]})}ngOnInit(){this.callIncrement()}callIncrement(){this.http.get("assets/img/mesdelnino/valorVentas.txt",{responseType:"text"}).subscribe(e=>{this.count=parseInt(e),console.log("Contenido del archivo:",this.count),this.count>0&&(this.incrementInterval=setInterval(()=>{this.currentNumber+=1,this.currentNumber>=this.count&&this.ngOnDestroy()},1))})}ngOnDestroy(){clearInterval(this.incrementInterval)}incrementNumber(){this.currentNumber9&&(p-=9)),r+=p}return 10-r%10!==s?{cedulaInvalida:!0}:null}noEmojiValidator(e){return/[\p{Emoji}]/u.test(e.value)?{noEmoji:!0}:null}enviar(){if(this.formulario.invalid)return void this.toastr.error("Debes completar toda la informaci\xf3n para poder continuar.","ERROR",{timeOut:3e3});if(this.isSubmitting)return;this.isSubmitting=!0;const e=this.formulario.value;for(const i in e)e.hasOwnProperty(i)&&"string"==typeof e[i]&&(e[i]=e[i].trim());e.telefono.startsWith("0")?e.telefono=`593${e.telefono.substring(1)}`:e.telefono.startsWith("593")||(e.telefono=`593${e.telefono}`),this.http.post(`${this.baseUrl}/APIBOGATI/queso/queso_insert.php`,e).subscribe(i=>{console.log("Respuesta del servidor:",i),i.data?(this.toastr.success("Registro exitoso!!!.","\xc9xito",{timeOut:3e3}),this.reset(),this.fbPixelService.trackEvent("Lead",{content_name:"Formulario de Contacto",content_category:"Contacto"})):this.toastr.error("Existe un error al intentar enviar tu formulario, por favor int\xe9ntalo nuevamente","ERROR",{timeOut:2e3}),this.isSubmitting=!1},i=>{console.error("Error en el env\xedo:",i),this.toastr.error("Existe un error al intentar enviar tu formulario, por favor int\xe9ntalo nuevamente","ERROR",{timeOut:2e3}),this.isSubmitting=!1})}reset(){this.formulario.reset()}}return t.\u0275fac=function(e){return new(e||t)(_(dn),_(Re),_(x0))},t.\u0275cmp=N({type:t,selectors:[["app-mcubogati"]],decls:32,vars:5,consts:[[1,"fondo_queso"],[1,"inicio_queso"],[3,"formGroup","ngSubmit"],[1,"formQuesos"],[1,"image-container",2,"text-align","center"],["src","../assets/img/mesdelnino/megafono-superior-responsive.png","alt","Bogati S.A.S",1,"responsive-image"],[1,"titulos",2,"margin","5px 0 0 0","font-size","14px","text-align","center","color","#6f3b00"],[2,"margin","0 auto","font-size","16px","text-align","center","color","#6f3b00"],["type","text","formControlName","nombres","placeholder","No aplica el apodo","required","",1,"input_correo",2,"font-size","14px","text-align","center","border","1px solid #6f3b007c","border-radius","20px"],["class","error-message",4,"ngIf"],["type","text","formControlName","telefono","placeholder","El que tenga Wasap","required","",1,"input_correo",2,"font-size","14px","text-align","center","border","1px solid #6f3b007c","border-radius","20px"],["type","text","formControlName","ciudad","placeholder","En la que vives","required","",1,"input_correo",2,"font-size","14px","text-align","center","border","1px solid #6f3b007c","border-radius","20px"],["type","text","formControlName","comentario","placeholder","No me atrevo","required","",1,"input_correo",2,"font-size","14px","text-align","center","border","1px solid #6f3b007c","border-radius","20px"],["type","submit",1,"buton_enviar_queso"],[1,"movil-line-break"],[1,"error-message"],[4,"ngIf"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"form",2),D("ngSubmit",function(){return i.enviar()}),l(4,"div",3)(5,"div",4),h(6,"img",5),c(),l(7,"div",6),d(8," Completa el siguiente formulario "),c(),h(9,"br"),l(10,"div",7),d(11," Nombre y Apellido "),c(),h(12,"input",8),C(13,ste,4,3,"div",9),l(14,"div",7),d(15," #Tel\xe9fono "),c(),h(16,"input",10),C(17,lte,3,2,"div",9),l(18,"div",7),d(19," Ciudad "),c(),h(20,"input",11),C(21,hte,4,3,"div",9),l(22,"div",7),d(23," \xbfPor qu\xe9 no has probado helados con queso? "),c(),h(24,"textarea",12),C(25,gte,4,3,"div",9),l(26,"button",13),d(27,"Enviar"),c()()(),h(28,"div",14),c(),h(29,"br")(30,"br"),c(),h(31,"app-footer")),2&e&&(m(3),v("formGroup",i.formulario),m(10),v("ngIf",i.formulario.get("nombres").invalid&&(i.formulario.get("nombres").dirty||i.formulario.get("nombres").touched)),m(4),v("ngIf",i.formulario.get("telefono").invalid&&(i.formulario.get("telefono").dirty||i.formulario.get("telefono").touched)),m(4),v("ngIf",i.formulario.get("ciudad").invalid&&(i.formulario.get("ciudad").dirty||i.formulario.get("ciudad").touched)),m(4),v("ngIf",i.formulario.get("comentario").invalid&&(i.formulario.get("comentario").dirty||i.formulario.get("comentario").touched)))},directives:[ye,Kh,jh,Es,wt,It,kc,Pc,Ye,Ee],styles:[""]}),t})(),vte=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-flash"]],decls:6,vars:0,consts:[[1,"fondo"],[1,"inicio"],["src","https://forms.office.com/Pages/ResponsePage.aspx?id=j4Pd-EhSMU2HSZg4BV2GXu7Rj5XR8JlFsjDfGp03hWhUN1BCUVlDQzA5TDJXQk00UzNHVlVYMUExRC4u \n ","width","100%","height","900","frameborder","0","marginheight","0","marginwidth","0"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div")(4,"iframe",2),d(5,"Cargando\u2026"),c()()()())},directives:[ye],styles:[""]}),t})(),bte=(()=>{class t{constructor(e){this.sanitizer=e,this.timestamp=Date.now()}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(_(Wl))},t.\u0275cmp=N({type:t,selectors:[["app-terminos-capanas"]],decls:3,vars:0,consts:[[1,"inicio"],["src","assets/img/mesdelnino/megamaxis_con_venta_retail.pdf","width","100%","height","800px",2,"border","none","margin-top","80px"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0),h(2,"iframe",1),c())},directives:[ye],styles:[""]}),t})();function yte(t,n){if(1&t&&(l(0,"div",23)(1,"div",24),h(2,"img",25),c()()),2&t){const e=I();m(2),v("src",e.heladeria1,we)}}function Cte(t,n){if(1&t&&(l(0,"div",23)(1,"div",24),h(2,"img",25),c()()),2&t){const e=I();m(2),v("src",e.heladeria2,we)}}function wte(t,n){if(1&t&&(l(0,"div",23)(1,"div",24),h(2,"img",25),c()()),2&t){const e=I();m(2),v("src",e.heladeria3,we)}}const Dte=function(){return["/terminos"]},Ete=function(){return["/politicas"]};let Tte=(()=>{class t{constructor(){this.heladeriaMovil1="../../../assets/img/mesdelnino/Tiendas-Seleccionadas-Crepe_01.jpg",this.heladeriaMovil2="../../../assets/img/mesdelnino/Tiendas-Seleccionadas-Crepe_02.jpg",this.heladeriaMovil3="../../../assets/img/mesdelnino/Tiendas-Seleccionadas-Crepe_03.jpg",this.heladeriaEscritorio1="../../../assets/img/mesdelnino/Tiendas-Seleccionadas-Crepe_01_PC.jpg",this.heladeriaEscritorio2="../../../assets/img/mesdelnino/Tiendas-Seleccionadas-Crepe_02_PC.jpg",this.heladeriaEscritorio3="../../../assets/img/mesdelnino/Tiendas-Seleccionadas-Crepe_01_PC.jpg"}ngOnInit(){window.innerWidth<=600?(this.heladeria1=this.heladeriaMovil1,this.heladeria2=this.heladeriaMovil2,this.heladeria3=this.heladeriaMovil3):(this.heladeria1=this.heladeriaEscritorio1,this.heladeria2=this.heladeriaEscritorio2,this.heladeria3=this.heladeriaEscritorio3)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-sintalento"]],decls:35,vars:4,consts:[[1,"inicio"],[1,"fondo"],["ngbSlide","","data-interval","5000"],["ngbSlide",""],[1,"footer"],[1,"footer__container"],[1,"row"],[1,"col-sm-3"],[1,"footer_vertical"],["src","../../../assets/img/historia/icono-siguenos.png","alt","Bogati",2,"height","100px","width","100%"],[1,"footer_iconos"],["href","https://www.facebook.com/bogati.ec/","target","_blank"],["src","../../../assets/img/pie-pagina-facebook.png","alt","Bogati"],["href","https://www.instagram.com/bogati.ec/","target","_blank"],["src","../../../assets/img/pie-pagina-insta.png","alt","Bogati"],["href","https://www.tiktok.com/@bogati.ec?lang=es","target","_blank"],["src","../../../assets/img/pie-pagina-tik-tok.png","alt","Bogati"],["href","https://twitter.com/bogati_ec","target","_blank"],["src","../../../assets/img/pie-pagina-twiter.png","alt","Bogati"],["href","https://www.youtube.com/channel/UC4v9l7mql_EhEFHBJoCsnng","target","_blank"],["src","../../../assets/img/pie-paginba-youtube.png","alt","Bogati"],[1,"footer__copy"],[2,"cursor","pointer",3,"routerLink"],[1,"picsum-img-wrapper"],[1,"img__carousel"],["alt","Bogati Sabor Adictivo",1,"imagen-responsive",3,"src"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"ngb-carousel"),C(4,yte,3,1,"ng-template",2),C(5,Cte,3,1,"ng-template",3),C(6,wte,3,1,"ng-template",3),c()()(),h(7,"br")(8,"br"),l(9,"footer",4)(10,"div",5)(11,"div",6)(12,"div",7)(13,"div",8),h(14,"img",9),l(15,"div",10)(16,"a",11),h(17,"img",12),c(),l(18,"a",13),h(19,"img",14),c(),l(20,"a",15),h(21,"img",16),c(),l(22,"a",17),h(23,"img",18),c(),l(24,"a",19),h(25,"img",20),c()()()()()(),l(26,"div",21)(27,"p"),d(28,"\xa9Bogati Sabor Adictivo S.A.S "),l(29,"b"),d(30,"2023"),c()(),l(31,"p",22),d(32,"T\xe9rminos y Condiciones"),c(),l(33,"p",22),d(34,"Pol\xedticas de privacidad"),c()()()),2&e&&(m(31),v("routerLink",O(2,Dte)),m(2),v("routerLink",O(3,Ete)))},directives:[ye,At,kt,Xe],styles:[""]}),t})();const Ste=function(){return["/noticia1"]},Mte=function(){return["/noticia2"]},Ite=function(){return["/noticia3"]},Ate=function(){return["/noticia4"]},xte=function(){return["/noticia5"]};let Ote=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-noticia1"]],decls:51,vars:10,consts:[[1,"contenedor__noticias"],[1,"contenedor__noticias_container"],[1,"contenedor__noticias_container_articulo"],[1,"titulos_2"],["src","../../../assets/img/inicio/noticias/noticia1_1.jpg","alt","La U del Helado"],[1,"parrafo_noticias"],[1,"seccion__contactanos"],[1,"row"],["src","../../../assets/img/inicio/noticias/noticia1_2.jpg","alt","Bogati",2,"width","100%","object-fit","contain","border-radius","10px"],[1,"politicas__parrafo"],[1,"contenedor__noticias_container_banner"],[1,"contenedor__noticias_container_banner_img"],["src","../../../assets/img/inicio/Banner-InicioPromos.jpg","alt","Bogati S.A.S",2,"border-radius","20px"],[1,"contenedor__noticias_container_banner_cards"],["src","../../../assets/img/inicio/noticias/noticia1_1.jpg","alt","Noticia2",2,"border-radius","25%"],[1,"contenedor__noticias_container_banner_cards_text",3,"routerLink"],["src","../../../assets/img/inicio/noticias/noticia2Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia3Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia4Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia5Portada.jpg","alt","Noticia3",2,"border-radius","25%"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3),d(5," Cumpliendo Metas: Mi primer helado en la Fabrica Bogati, 2024 "),c(),h(6,"img",4),l(7,"div",5),d(8," Celebramos el inicio de un nuevo cap\xedtulo para Bogati y estamos muy contentos por ello; marcamos un hito con la apertura de nuestra primera f\xe1brica. Bajo el brillante sol de un d\xeda emocionante, el CEO Santiago Castro encabez\xf3 el evento lleno de alegr\xeda y gratitud, rodeado de colaboradores entusiastas, socios estrat\xe9gicos, inversionistas, miembros de la prensa y distinguidas autoridades locales. "),c(),l(9,"div",5),d(10," El momento cumbre lleg\xf3 con el simb\xf3lico corte de la cinta, donde nuestro CEO, con orgullo palpable, dio inicio oficialmente a las operaciones de la F\xe1brica de Producci\xf3n Bogati. Fue un momento emocionante que marc\xf3 el comienzo de una nueva era para la marca. "),c(),h(11,"br"),l(12,"div",6)(13,"div",7)(14,"div"),h(15,"img",8),c()()(),l(16,"div",9),d(17," Los invitados tuvieron la oportunidad de sumergirse en un recorrido guiado por las flamantes instalaciones, donde cada rinc\xf3n emanaba el delicioso aroma de los productos Bogati. Desde la selecci\xf3n cuidadosa de ingredientes de primera calidad hasta los intrincados procesos de producci\xf3n, los asistentes fueron testigos privilegiados del arduo trabajo y la pasi\xf3n que se vierte en cada helado que lleva el sello Bogati. "),h(18,"br")(19,"br"),d(20," Con su apertura, la f\xe1brica no solo promete deleitar los paladares de los amantes del helado en Ecuador, sino que tambi\xe9n ofrece oportunidades de empleo y contribuye al desarrollo econ\xf3mico y social de la regi\xf3n. "),h(21,"br")(22,"br"),d(23," Bogati, comprometido con la excelencia, la innovaci\xf3n y el servicio a la comunidad. "),c(),h(24,"br")(25,"br"),c(),l(26,"div",10)(27,"div",11),h(28,"img",12),c(),l(29,"div",13),h(30,"img",14),l(31,"div",15),d(32," Cumpliendo Metas: Mi primer helado en la Fabrica Bogati, 2024 "),c()(),l(33,"div",13),h(34,"img",16),l(35,"div",15),d(36," Fortaleciendo lazos: Nuestro convenio con el T\xe9cnico Deportivo Universitario, todo un \xe9xito. ! "),c()(),l(37,"div",13),h(38,"img",17),l(39,"div",15),d(40," Celebramos nuestras ra\xedces en la Fiesta de la Fruta y de las Flores 2024: Unidos por el Patrimonio Cultural de Ambato "),c()(),l(41,"div",13),h(42,"img",18),l(43,"div",15),d(44," Celebrando la Diversidad: Bogati y sus Helados con Queso honran el D\xeda Mundial del S\xedndrome de Down "),c()(),l(45,"div",13),h(46,"img",19),l(47,"div",15),d(48," Bogati aterriza en Estados Unidos y enamora con su sabor adictivo a New York "),c()()()(),h(49,"br")(50,"app-footer"),c()),2&e&&(m(31),v("routerLink",O(5,Ste)),m(4),v("routerLink",O(6,Mte)),m(4),v("routerLink",O(7,Ite)),m(4),v("routerLink",O(8,Ate)),m(4),v("routerLink",O(9,xte)))},directives:[ye,Xe,Ee],styles:[""]}),t})();const Nte=function(){return["/noticia1"]},kte=function(){return["/noticia2"]},Rte=function(){return["/noticia3"]},Fte=function(){return["/noticia4"]},Pte=function(){return["/noticia5"]};let Lte=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-noticia2"]],decls:52,vars:10,consts:[[1,"contenedor__noticias"],[1,"contenedor__noticias_container"],[1,"contenedor__noticias_container_articulo"],[1,"titulos_2"],["src","../../../assets/img/inicio/noticias/noticia2_1.jpg","alt","La U del Helado"],[1,"parrafo_noticias"],[1,"seccion__contactanos"],[1,"row"],["src","../../../assets/img/inicio/noticias/noticia2_2.jpg","alt","Bogati",2,"width","100%","object-fit","contain","border-radius","10px"],[1,"politicas__parrafo"],[1,"contenedor__noticias_container_banner"],[1,"contenedor__noticias_container_banner_img"],["src","../../../assets/img/inicio/Banner-InicioPromos.jpg","alt","PopUp",2,"border-radius","20px"],[1,"contenedor__noticias_container_banner_cards"],["src","../../../assets/img/inicio/noticias/noticia1_1.jpg","alt","Noticia2",2,"border-radius","25%"],[1,"contenedor__noticias_container_banner_cards_text",3,"routerLink"],["src","../../../assets/img/inicio/noticias/noticia2Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia3Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia4Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia5Portada.jpg","alt","Noticia3",2,"border-radius","25%"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3),d(5," Fortaleciendo lazos: Nuestro convenio con el T\xe9cnico Deportivo Universitario, todo un \xe9xito. ! "),c(),h(6,"img",4),l(7,"div",5),d(8," En un emocionante paso hacia el fortalecimiento de nuestras relaciones interinstitucionales, nos complace anunciar el \xe9xito de nuestro reciente convenio con el T\xe9cnico Deportivo Universitario, equipo Ambate\xf1o de sepa, m\xe1s conocido como el Rodillo Rojo. "),h(9,"br")(10,"br"),d(11," Este convenio no solo representa una alianza estrat\xe9gica, sino tambi\xe9n un compromiso con el desarrollo deportivo. "),c(),h(12,"br"),l(13,"div",6)(14,"div",7)(15,"div"),h(16,"img",8),c()()(),l(17,"div",9),d(18," Como marca Bogati decidimos premiar la pasi\xf3n por el RojiBlanco, realizando una din\xe1mica en nuestras redes sociales, los afortunados ganadores a esta din\xe1mica fueron citados este d\xeda para recibir su premio; el cual constaba en camisetas oficiales autografiadas por todos los jugadores que conforman el Rodillo Rojo. "),h(19,"br")(20,"br"),d(21," Los ganadores y muchos m\xe1s hinchas aprovecharon esta oportunidad para poder fotografiarse con sus \xeddolos, disfrutando al m\xe1ximo este d\xeda. Por tanto, invitamos a toda la comunidad futbolera y amante del rodillo, en cada partido acudir en su apoyo y por supuesto a interactuar con nosotros para disfrutar y deleitarse del mejor helado con queso. "),h(22,"br")(23,"br"),d(24," Puesto que en cada uno de ellos estaremos presentes, \xa1Y, que esta cita quede agendada rojitos! "),c(),h(25,"br")(26,"br"),c(),l(27,"div",10)(28,"div",11),h(29,"img",12),c(),l(30,"div",13),h(31,"img",14),l(32,"div",15),d(33," Cumpliendo Metas: Mi primer helado en la Fabrica Bogati, 2024 "),c()(),l(34,"div",13),h(35,"img",16),l(36,"div",15),d(37," Fortaleciendo lazos: Nuestro convenio con el T\xe9cnico Deportivo Universitario, todo un \xe9xito. ! "),c()(),l(38,"div",13),h(39,"img",17),l(40,"div",15),d(41," Celebramos nuestras ra\xedces en la Fiesta de la Fruta y de las Flores 2024: Unidos por el Patrimonio Cultural de Ambato "),c()(),l(42,"div",13),h(43,"img",18),l(44,"div",15),d(45," Celebrando la Diversidad: Bogati y sus Helados con Queso honran el D\xeda Mundial del S\xedndrome de Down "),c()(),l(46,"div",13),h(47,"img",19),l(48,"div",15),d(49," Bogati aterriza en Estados Unidos y enamora con su sabor adictivo a New York "),c()()()(),h(50,"br")(51,"app-footer"),c()),2&e&&(m(32),v("routerLink",O(5,Nte)),m(4),v("routerLink",O(6,kte)),m(4),v("routerLink",O(7,Rte)),m(4),v("routerLink",O(8,Fte)),m(4),v("routerLink",O(9,Pte)))},directives:[ye,Xe,Ee],styles:[""]}),t})(),Bte=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-mujer"]],decls:6,vars:0,consts:[[1,"fondo"],[1,"inicio"],["src","https://forms.office.com/Pages/ResponsePage.aspx?id=j4Pd-EhSMU2HSZg4BV2GXu7Rj5XR8JlFsjDfGp03hWhUQVJJRE1CR1dRS1pWQk5LS1BHMEs5OURHVS4u","width","100%","height","900","frameborder","0","marginheight","0","marginwidth","0"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div")(4,"iframe",2),d(5,"Cargando\u2026"),c()()()())},directives:[ye],styles:[""]}),t})();const Vte=function(){return["/noticia9"]},jte=function(){return["/noticia8"]},Hte=function(){return["/noticia7"]},Ute=function(){return["/noticia5"]},Gte=function(){return["/noticia6"]},zte=function(){return["/noticia4"]},qte=function(){return["/noticia3"]},$te=function(){return["/noticia2"]},RI=function(){return["/noticia1"]};let Wte=(()=>{class t{constructor(){this.mostrarPopup=!1}ngOnInit(){}compartirFacebook(){window.open("https://www.facebook.com/sharer/sharer.php?u=bogati.ec/noticia1","Compartir en Facebook","width=600,height=400")}compartirWhatsapp(){window.open(`whatsapp://send?text=${encodeURIComponent("\xa1Echa un vistazo a este art\xedculo interesante!")}%20${encodeURIComponent("https://bogati.ec/noticia1")}`)}compartirln(){window.open("https://www.linkedin.com/sharing/share-offsite/?url=bogati.ec/noticia1","Compartir en Whatsapp","width=600,height=400")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-blog"]],decls:167,vars:20,consts:[[1,"fondo"],[1,"inicio"],[1,"titulos",2,"font-size","50px","margin","0 auto"],[1,"grid-container"],[1,"grid-item"],["src","../../../assets/img/inicio/noticias/noticia9Portada.jpg","alt","Bogati S.A.S",1,"w-6","shadow-2",2,"width","100%","height","auto",3,"routerLink"],[1,"mb-1",2,"text-align","center"],[1,"mt-0","mb-3",2,"text-align","justify"],[1,"btn_blog_en_lacestexto"],["href","../../noticia9",2,"color","#673d10","text-decoration","none"],["version","1.0","xmlns","http://www.w3.org/2000/svg","width","30px","height","30px","viewBox","0 0 512.000000 512.000000","preserveAspectRatio","xMidYMid meet"],["transform","translate(0.000000,512.000000) scale(0.100000,-0.100000)","fill","#673D10","stroke","none"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],["src","../../../assets/img/inicio/noticias/noticia8Portada.jpg","alt","Bogati S.A.S",1,"w-6","shadow-2",2,"width","100%","height","auto",3,"routerLink"],["href","../../noticia8",2,"color","#673d10","text-decoration","none"],["src","../../../assets/img/inicio/noticias/noticia7Portada.jpg","alt","Bogati S.A.S",1,"w-6","shadow-2",2,"width","100%","height","auto",3,"routerLink"],["href","../../noticia7",2,"color","#673d10","text-decoration","none"],["src","../../../assets/img/inicio/noticias/noticia5Portada.jpg","alt","Bogati S.A.S",1,"w-6","shadow-2",2,"width","100%","height","auto",3,"routerLink"],["href","../../noticia5",2,"color","#673d10","text-decoration","none"],["d","M1721 4034 c-94 -47 -137 -147 -107 -249 11 -37 29 -63 68 -101 29\n -28 333 -290 676 -583 342 -293 622 -535 621 -539 0 -4 -277 -243 -615 -532\n -777 -663 -740 -629 -759 -693 -54 -181 134 -339 298 -251 59 32 1549 1310\n 1583 1358 64 90 51 196 -33 278 -26 25 -382 331 -790 680 -556 476 -751 637\n -781 646 -60 18 -103 14 -161 -14z"],["src","../../../assets/img/inicio/noticias/noticia6Portada.jpg","alt","Bogati S.A.S",1,"w-6","shadow-2",2,"width","100%","height","auto",3,"routerLink"],["href","../../noticia6",2,"color","#673d10","text-decoration","none"],["src","../../../assets/img/inicio/noticias/noticia4Portada.jpg","alt","Bogati S.A.S",1,"w-6","shadow-2",2,"width","100%","height","auto",3,"routerLink"],["href","../../noticia4",2,"color","#673d10","text-decoration","none"],["src","../../../assets/img/inicio/noticias/noticia3Portada.jpg","alt","Bogati S.A.S",1,"w-6","shadow-2",2,"width","100%","height","auto",3,"routerLink"],["href","../../noticia3",2,"color","#673d10","text-decoration","none"],["src","../../../assets/img/inicio/noticias/noticia2Portada.jpg","alt","Bogati S.A.S",1,"w-6","shadow-2",2,"width","100%","height","auto",3,"routerLink"],["href","../../noticia2",2,"color","#673d10","text-decoration","none"],["src","../../../assets/img/inicio/noticias/noticia1Portada.jpg","alt","Bogati S.A.S",1,"w-6","shadow-2",2,"width","100%","height","auto",3,"routerLink"],["href","../../../noticia1",2,"color","#673d10","text-decoration","none"],["src","../../../assets/img/inicio/noticias/noticia10Portada.png","alt","Bogati S.A.S",1,"w-6","shadow-2",2,"width","100%","height","auto",3,"routerLink"],["href","../../../noticia10",2,"color","#673d10","text-decoration","none"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div",2)(4,"h1"),d(5,"LO NUEVO DE BOGATI"),c()(),l(6,"div",3)(7,"div",4)(8,"div"),h(9,"img",5),c(),l(10,"div"),h(11,"br"),l(12,"h6",6),d(13," 12 Febrero 2025 . 2 min "),c(),l(14,"h5",7),d(15," Candidatas a Reina de Ambato en Bogati "),c(),h(16,"br"),l(17,"span",8)(18,"a",9),d(19," Leer m\xe1s"),c(),R(),l(20,"svg",10)(21,"g",11),h(22,"path",12),c()()()()(),q(),l(23,"div",4)(24,"div"),h(25,"img",13),c(),l(26,"div"),h(27,"br"),l(28,"h6",6),d(29," 06 Febrero 2025 . 2 min "),c(),l(30,"h5",7),d(31," Bogati Impulsa el Empleo Juvenil en Ecuador y se suma a la Ruta de la Empleabilidad "),c(),h(32,"br"),l(33,"span",8)(34,"a",14),d(35," Leer m\xe1s"),c(),R(),l(36,"svg",10)(37,"g",11),h(38,"path",12),c()()()()(),q(),l(39,"div",4)(40,"div"),h(41,"img",15),c(),l(42,"div"),h(43,"br"),l(44,"h6",6),d(45,"18 Junio 2024 . 6 min"),c(),l(46,"h5",7),d(47," Bogati se luce con su sabor adictivo en la edici\xf3n 25 de la feria Alimentec en Corferias, Colombia "),c(),h(48,"br"),l(49,"span",8)(50,"a",16),d(51," Leer m\xe1s"),c(),R(),l(52,"svg",10)(53,"g",11),h(54,"path",12),c()()()()(),q(),l(55,"div",4)(56,"div"),h(57,"img",17),c(),l(58,"div"),h(59,"br"),l(60,"h6",6),d(61,"8 Junio 2024 . 4 min"),c(),l(62,"h5",7),d(63," Bogati aterriza en Estados Unidos y enamora con su sabor adictivo a New York "),c(),h(64,"br"),l(65,"span",8)(66,"a",18),d(67," Leer m\xe1s"),c(),R(),l(68,"svg",10)(69,"g",11),h(70,"path",19),c()()()()(),q(),l(71,"div",4)(72,"div"),h(73,"img",20),c(),l(74,"div"),h(75,"br"),l(76,"h6",6),d(77,"02 Abril 2024 . 3 min"),c(),l(78,"h5",7),d(79," Cambio de Gerencia en Bogati: Bienvenida a Diego Moya "),c(),h(80,"br")(81,"br"),l(82,"span",8)(83,"a",21),d(84," Leer m\xe1s"),c(),R(),l(85,"svg",10)(86,"g",11),h(87,"path",12),c()()()()(),q(),l(88,"div",4)(89,"div"),h(90,"img",22),c(),l(91,"div"),h(92,"br"),l(93,"h6",6),d(94,"21 Marzo 2024 . 3 min"),c(),l(95,"h5",7),d(96," Celebrando la Diversidad: Bogati y sus Helados con Queso honran el D\xeda Mundial del S\xedndrome de Down "),c(),l(97,"span",8)(98,"a",23),d(99," Leer m\xe1s"),c(),R(),l(100,"svg",10)(101,"g",11),h(102,"path",12),c()()()()(),q(),l(103,"div",4)(104,"div"),h(105,"img",24),c(),l(106,"div"),h(107,"br"),l(108,"h6",6),d(109,"10 Marzo 2024 . 4 min"),c(),l(110,"h5",7),d(111," Celebramos nuestras ra\xedces en la Fiesta de la Fruta y de las Flores 2024: Unidos por el Patrimonio Cultural de Ambato "),c(),l(112,"span",8)(113,"a",25),d(114," Leer m\xe1s"),c(),R(),l(115,"svg",10)(116,"g",11),h(117,"path",12),c()()()()(),q(),l(118,"div",4)(119,"div"),h(120,"img",26),c(),l(121,"div"),h(122,"br"),l(123,"h6",6),d(124," 02 Febrero 2024 . 3 min "),c(),l(125,"h5",7),d(126," Fortaleciendo lazos: Nuestro convenio con el T\xe9cnico Deportivo Universitario, todo un \xe9xito "),c(),l(127,"span",8)(128,"a",27),d(129," Leer m\xe1s"),c(),R(),l(130,"svg",10)(131,"g",11),h(132,"path",12),c()()()()(),q(),l(133,"div",4)(134,"div"),h(135,"img",28),c(),l(136,"div"),h(137,"br"),l(138,"h6",6),d(139,"20 Enero 2024 . 3 min"),c(),l(140,"h5",7),d(141," Cumpliendo Metas: Mi primer helado en la Fabrica Bogati, 2024 "),c(),h(142,"br"),l(143,"span",8)(144,"a",29),d(145," Leer m\xe1s"),c(),R(),l(146,"svg",10)(147,"g",11),h(148,"path",12),c()()()()(),q(),l(149,"div",4)(150,"div"),h(151,"img",30),c(),l(152,"div"),h(153,"br"),l(154,"h6",6),d(155,"26 Julio 2025 . 4 min"),c(),l(156,"h5",7),d(157," Bogati La Carolina, un nuevo concepto que redefine la experiencia dulce "),c(),h(158,"br"),l(159,"span",8)(160,"a",31),d(161," Leer m\xe1s"),c(),R(),l(162,"svg",10)(163,"g",11),h(164,"path",12),c()()()()()()()(),q(),h(165,"br")(166,"app-footer")),2&e&&(m(9),v("routerLink",O(10,Vte)),m(16),v("routerLink",O(11,jte)),m(16),v("routerLink",O(12,Hte)),m(16),v("routerLink",O(13,Ute)),m(16),v("routerLink",O(14,Gte)),m(17),v("routerLink",O(15,zte)),m(15),v("routerLink",O(16,qte)),m(15),v("routerLink",O(17,$te)),m(15),v("routerLink",O(18,RI)),m(16),v("routerLink",O(19,RI)))},directives:[ye,Xe,Ee],styles:[""]}),t})();const Yte=function(){return["/noticia1"]},Qte=function(){return["/noticia2"]},Kte=function(){return["/noticia3"]},Zte=function(){return["/noticia4"]},Jte=function(){return["/noticia5"]};let Xte=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-noticia3"]],decls:57,vars:10,consts:[[1,"contenedor__noticias"],[1,"contenedor__noticias_container"],[1,"contenedor__noticias_container_articulo"],[1,"titulos_2"],[1,"seccion__contactanos"],[1,"row"],["src","../../../assets/img/inicio/noticias/noticia3_1.jpg","alt","Bogati",2,"width","90%","object-fit","contain","border-radius","10px"],[1,"parrafo_noticias"],[1,"franja_menuNoticias"],[1,"franja_menu_imgNoticias"],["src","../../../assets/img/inicio/noticias/noticia3_2.jpg","alt","Bogati Sabor Adictivo"],[1,"franja_menu_textoNoticias"],[1,"contenedor__noticias_container_banner"],[1,"contenedor__noticias_container_banner_img"],["src","../../../assets/img/inicio/Banner-InicioPromos.jpg","alt","PopUp",2,"border-radius","20px"],[1,"contenedor__noticias_container_banner_cards"],["src","../../../assets/img/inicio/noticias/noticia1_1.jpg","alt","Noticia2",2,"border-radius","25%"],[1,"contenedor__noticias_container_banner_cards_text",3,"routerLink"],["src","../../../assets/img/inicio/noticias/noticia2Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia3Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia4Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia5Portada.jpg","alt","Noticia3",2,"border-radius","25%"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3),d(5," Celebramos nuestras ra\xedces en la Fiesta de la Fruta y de las Flores 2024: Unidos por el Patrimonio Cultural de Ambato "),c(),l(6,"div",4)(7,"div",5)(8,"div"),h(9,"img",6),c()(),l(10,"div",7),d(11," En la hermosa ciudad de Ambato, Tierrita Linda, nos enorgullece sumergirnos en las tradiciones que nos definen como pueblo. Este a\xf1o, durante la Septuag\xe9sima Tercera Edici\xf3n de la Fiesta de la Fruta y de las Flores (FFF) 2024, decidimos honrar nuestra identidad al unirnos a una noble causa: la preservaci\xf3n de nuestro patrimonio cultural. "),h(12,"br")(13,"br"),d(14," Nos unimos con entusiasmo a la iniciativa de Los Guardianes del Patrimonio Cultural, quienes promovieron una Fiesta de la Fruta y de las Flores sin Espuma de Carnaval. Agradecemos profundamente a cada persona que se sum\xf3 a esta causa, as\xed como al Consejo Municipal de Seguridad Ciudadana de Ambato (COMSECA) por su invaluable apoyo. Todos ustedes son nuestros verdaderos superh\xe9roes. "),h(15,"br")(16,"br"),c(),l(17,"div",8)(18,"div",9),h(19,"img",10),c(),l(20,"div",11),d(21,' Durante la FFF 2024, Los Guardianes del Patrimonio Cultural informaron sobre la prohibici\xf3n del uso de espumante, agua, harina y otros productos, en l\xednea con el lema "Somos los Super H\xe9roes que Ambato Necesita, Todos Somos GP\u201d. Este grupo de aproximadamente 40 voluntarios ciudadanos e influencers se unieron a esta campa\xf1a municipal con determinaci\xf3n y pasi\xf3n. '),h(22,"br")(23,"br"),d(24," Con la colaboraci\xf3n de los t\xe9cnicos de seguridad del COMSECA, nuestros voluntarios recorrieron los puntos tur\xedsticos clave de la ciudad, interactuando con residentes y visitantes de la FFF. "),c()(),l(25,"div",7),d(26," Durante estas interacciones, se destac\xf3 la importancia de celebrar nuestra fiesta sin el uso de espumante, agua, harina y otros productos, en honor al resurgimiento de Ambato despu\xe9s del devastador terremoto del 5 de agosto de 1949. "),h(27,"br")(28,"br"),d(29," Como Bogati, nos sentimos profundamente agradecidos por haber sido parte de esta linda iniciativa que fortalece nuestro v\xednculo con nuestras tradiciones y nuestra querida ciudad. \xa1VIVA AMBATO! "),h(30,"br")(31,"br"),c()()(),l(32,"div",12)(33,"div",13),h(34,"img",14),c(),l(35,"div",15),h(36,"img",16),l(37,"div",17),d(38," Cumpliendo Metas: Mi primer helado en la Fabrica Bogati, 2024 "),c()(),l(39,"div",15),h(40,"img",18),l(41,"div",17),d(42," Fortaleciendo lazos: Nuestro convenio con el T\xe9cnico Deportivo Universitario, todo un \xe9xito. ! "),c()(),l(43,"div",15),h(44,"img",19),l(45,"div",17),d(46," Celebramos nuestras ra\xedces en la Fiesta de la Fruta y de las Flores 2024: Unidos por el Patrimonio Cultural de Ambato "),c()(),l(47,"div",15),h(48,"img",20),l(49,"div",17),d(50," Celebrando la Diversidad: Bogati y sus Helados con Queso honran el D\xeda Mundial del S\xedndrome de Down "),c()(),l(51,"div",15),h(52,"img",21),l(53,"div",17),d(54," Bogati aterriza en Estados Unidos y enamora con su sabor adictivo a New York "),c()()()(),h(55,"br")(56,"app-footer"),c()),2&e&&(m(37),v("routerLink",O(5,Yte)),m(4),v("routerLink",O(6,Qte)),m(4),v("routerLink",O(7,Kte)),m(4),v("routerLink",O(8,Zte)),m(4),v("routerLink",O(9,Jte)))},directives:[ye,Xe,Ee],styles:[""]}),t})();const ene=function(){return["/noticia1"]},tne=function(){return["/noticia2"]},nne=function(){return["/noticia3"]},ine=function(){return["/noticia4"]},one=function(){return["/noticia5"]};let sne=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-noticia4"]],decls:59,vars:10,consts:[[1,"contenedor__noticias"],[1,"contenedor__noticias_container"],[1,"contenedor__noticias_container_articulo"],[1,"titulos_2"],[1,"seccion__contactanos"],[1,"row"],["src","../../../assets/img/inicio/noticias/noticia4_1.jpg","alt","Bogati",2,"width","90%","object-fit","contain","border-radius","10px"],[1,"parrafo_noticias"],[1,"franja_menuNoticias"],[1,"franja_menu_imgNoticias"],["src","../../../assets/img/inicio/noticias/noticia4_2.jpg","alt","Bogati Sabor Adictivo"],[1,"franja_menu_textoNoticias"],[2,"text-align","center"],[1,"contenedor__noticias_container_banner"],[1,"contenedor__noticias_container_banner_img"],["src","../../../assets/img/inicio/Banner-InicioPromos.jpg","alt","PopUp",2,"border-radius","20px"],[1,"contenedor__noticias_container_banner_cards"],["src","../../../assets/img/inicio/noticias/noticia1_1.jpg","alt","Noticia2",2,"border-radius","25%"],[1,"contenedor__noticias_container_banner_cards_text",3,"routerLink"],["src","../../../assets/img/inicio/noticias/noticia2Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia3Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia4Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia5Portada.jpg","alt","Noticia3",2,"border-radius","25%"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3),d(5," Celebrando la Diversidad: Bogati y sus Helados con Queso honran el D\xeda Mundial del S\xedndrome de Down "),c(),l(6,"div",4)(7,"div",5)(8,"div"),h(9,"img",6),c()(),l(10,"div",7),d(11," El 21 de marzo, el mundo entero se une para celebrar el D\xeda Mundial del S\xedndrome de Down, un momento para reconocer y celebrar la diversidad y las contribuciones \xfanicas de las personas con esta condici\xf3n gen\xe9tica. En Ecuador, este d\xeda se vivi\xf3 de una manera especial gracias a nuestra marca Bogati con sus Helados con Queso; ofreciendo helados gratis a las personas con esta condici\xf3n en todo el pa\xeds. "),h(12,"br")(13,"br"),d(14," Esta generosa acci\xf3n no solo brind\xf3 momentos de alegr\xeda y dulzura, sino que tambi\xe9n envi\xf3 un poderoso mensaje de inclusi\xf3n y apoyo a esta comunidad tan especial. "),h(15,"br"),c(),l(16,"div",8)(17,"div",9),h(18,"img",10),c(),l(19,"div",11),d(20," Para Bogati, este gesto va m\xe1s all\xe1 de simplemente regalar helados; se trata de reconocer la importancia de la diversidad y la inclusi\xf3n en nuestra sociedad. Al ofrecer helados gratis a las personas con S\xedndrome de Down, no solo brindamos un dulce regalo, sino que tambi\xe9n les recordamos que son valorados y apreciados por lo que son: individuos \xfanicos con talentos y potencial ilimitados. "),h(21,"br")(22,"br"),d(23," A lo largo de todo el Ecuador, las personas con S\xedndrome de Down y sus familias fueron recibidas con nuestros deliciosos helados, creando momentos de felicidad y conexi\xf3n que perdurar\xe1n en sus corazones. "),c()(),l(24,"div",7),d(25," En un mundo donde a menudo se enfatiza la uniformidad, acciones como la que decidimos realizar con nuestros Helados con Queso son un recordatorio poderoso de que la verdadera belleza reside en nuestra diversidad. "),h(26,"br")(27,"br"),d(28," Hoy, y todos los d\xedas, celebremos la diversidad, la inclusi\xf3n y el amor incondicional. "),h(29,"br")(30,"br"),l(31,"p",12),d(32,"\xa1Juntos somos m\xe1s fuertes y m\xe1s dulces!"),c(),h(33,"br"),c()()(),l(34,"div",13)(35,"div",14),h(36,"img",15),c(),l(37,"div",16),h(38,"img",17),l(39,"div",18),d(40," Cumpliendo Metas: Mi primer helado en la Fabrica Bogati, 2024 "),c()(),l(41,"div",16),h(42,"img",19),l(43,"div",18),d(44," Fortaleciendo lazos: Nuestro convenio con el T\xe9cnico Deportivo Universitario, todo un \xe9xito. ! "),c()(),l(45,"div",16),h(46,"img",20),l(47,"div",18),d(48," Celebramos nuestras ra\xedces en la Fiesta de la Fruta y de las Flores 2024: Unidos por el Patrimonio Cultural de Ambato "),c()(),l(49,"div",16),h(50,"img",21),l(51,"div",18),d(52," Celebrando la Diversidad: Bogati y sus Helados con Queso honran el D\xeda Mundial del S\xedndrome de Down "),c()(),l(53,"div",16),h(54,"img",22),l(55,"div",18),d(56," Bogati aterriza en Estados Unidos y enamora con su sabor adictivo a New York "),c()()()(),h(57,"br")(58,"app-footer"),c()),2&e&&(m(39),v("routerLink",O(5,ene)),m(4),v("routerLink",O(6,tne)),m(4),v("routerLink",O(7,nne)),m(4),v("routerLink",O(8,ine)),m(4),v("routerLink",O(9,one)))},directives:[ye,Xe,Ee],styles:[""]}),t})();const rne=function(){return["/noticia1"]},ane=function(){return["/noticia2"]},lne=function(){return["/noticia3"]},cne=function(){return["/noticia4"]};let une=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-noticia5"]],decls:62,vars:8,consts:[[1,"contenedor__noticias"],[1,"contenedor__noticias_container"],[1,"contenedor__noticias_container_articulo"],[1,"titulos_2"],[1,"seccion__contactanos"],[1,"row"],["src","../../../assets/img/inicio/noticias/noticia5_1.jpg","alt","Bogati",2,"width","90%","object-fit","contain","border-radius","10px"],[1,"parrafo_noticias"],[1,"franja_menuNoticias"],[1,"franja_menu_imgNoticias"],["src","../../../assets/img/inicio/noticias/noticia5_2.jpg","alt","Bogati Sabor Adictivo"],[1,"franja_menu_textoNoticias"],["src","../../../assets/img/inicio/noticias/noticia5_3.jpg","alt","Bogati Sabor Adictivo"],[1,"contenedor__noticias_container_banner"],[1,"contenedor__noticias_container_banner_img"],["src","../../../assets/img/inicio/Banner-InicioPromos.jpg","alt","PopUp",2,"border-radius","20px"],[1,"contenedor__noticias_container_banner_cards"],["src","../../../assets/img/inicio/noticias/noticia1_1.jpg","alt","Noticia2",2,"border-radius","25%"],[1,"contenedor__noticias_container_banner_cards_text",3,"routerLink"],["src","../../../assets/img/inicio/noticias/noticia2Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia3Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia4Portada.jpg","alt","Noticia3",2,"border-radius","25%"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3),d(5," Bogati aterriza en Estados Unidos y enamora con su sabor adictivo a New York "),c(),l(6,"div",4)(7,"div",5)(8,"div"),h(9,"img",6),c()(),l(10,"div",7),d(11," Este 8 de junio se convierte en una fecha hist\xf3rica para Bogati y nuestro innovador helado con queso y crema. Este d\xeda representa un sue\xf1o cumplido y un nuevo cap\xedtulo de crecimiento y expansi\xf3n al inaugurar nuestra primera tienda en Estados Unidos. Este logro no solo marca un hito significativo para la empresa, sino tambi\xe9n es motivo de orgullo para todos los ecuatorianos, latinos e hispanohablantes que residen en la Gran Manzana. "),h(12,"br")(13,"br"),d(14," Al igual que se convierte en un puente cultural que lleva el sabor adictivo al exigente paladar newyorkino. "),h(15,"br"),c(),l(16,"div",8)(17,"div",9),h(18,"img",10),c(),l(19,"div",11),d(20," Desde nuestros inicios, hemos so\xf1ado con expandir nuestra marca m\xe1s all\xe1 de las fronteras de Ecuador. Abrir nuestra primera tienda en Estados Unidos es un logr\xf3 del arduo trabajo, la dedicaci\xf3n y la pasi\xf3n que hemos puesto en cada helado que producimos. Es un honor y un orgullo ver nuestra bandera tricolor ondear en Nueva York, acompa\xf1ada del sabor que ha enamorado a tantos en nuestra tierra natal. "),h(21,"br")(22,"br"),d(23," Conectando Culturas a trav\xe9s del Sabor. "),c()(),l(24,"div",7),d(25," La decisi\xf3n de llevar Bogati a Estados Unidos, y en particular a Nueva York, no es casualidad. Nueva York es una de las ciudades m\xe1s diversas del mundo, hogar de millones de hispanohablantes y una gran comunidad latina que siempre est\xe1 en b\xfasqueda de conexiones con sus ra\xedces culturales. La combinaci\xf3n \xfanica de nuestro sabor adictivo promete enamorar a los residentes y visitantes de la ciudad, pues no solo ofrece un sabor \xfanico, sino tambi\xe9n una conexi\xf3n emocional con los sabores de la infancia y la cultura latinoamericana. "),h(26,"br")(27,"br"),l(28,"div",8)(29,"div",9),h(30,"img",12),c(),l(31,"div",11),d(32," Pioneros en el Mercado "),h(33,"br")(34,"br"),d(35," Bogati se enorgullece de ser la primera empresa ecuatoriana de helados con queso en establecerse en los Estados Unidos. Este logro no solo refuerza nuestra posici\xf3n como l\xedderes en el mercado, sino que tambi\xe9n nos motiva a seguir innovando y ofreciendo productos que resalten nuestras ra\xedces culturales. "),c()(),h(36,"br"),d(37," Invitamos a todos los residentes de New York a visitar nuestra tienda y experimentar el sabor inigualable de nuestro helado con queso, Bogati. Cada cucharada es un viaje a trav\xe9s de los sabores aut\xe9nticos de Ecuador, un verdadero deleite para los amantes del buen helado. "),h(38,"br")(39,"br")(40,"br"),c()()(),l(41,"div",13)(42,"div",14),h(43,"img",15),c(),l(44,"div",16),h(45,"img",17),l(46,"div",18),d(47," Cumpliendo Metas: Mi primer helado en la Fabrica Bogati, 2024 "),c()(),l(48,"div",16),h(49,"img",19),l(50,"div",18),d(51," Fortaleciendo lazos: Nuestro convenio con el T\xe9cnico Deportivo Universitario, todo un \xe9xito. ! "),c()(),l(52,"div",16),h(53,"img",20),l(54,"div",18),d(55," Celebramos nuestras ra\xedces en la Fiesta de la Fruta y de las Flores 2024: Unidos por el Patrimonio Cultural de Ambato "),c()(),l(56,"div",16),h(57,"img",21),l(58,"div",18),d(59," Celebrando la Diversidad: Bogati y sus Helados con Queso honran el D\xeda Mundial del S\xedndrome de Down "),c()()()(),h(60,"br")(61,"app-footer"),c()),2&e&&(m(46),v("routerLink",O(4,rne)),m(4),v("routerLink",O(5,ane)),m(4),v("routerLink",O(6,lne)),m(4),v("routerLink",O(7,cne)))},directives:[ye,Xe,Ee],styles:[""]}),t})();const dne=function(){return["/noticia3"]},hne=function(){return["/noticia4"]},pne=function(){return["/noticia5"]},fne=function(){return["/noticia7"]};let mne=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-noticia6"]],decls:45,vars:8,consts:[[1,"contenedor__noticias"],[1,"contenedor__noticias_container"],[1,"contenedor__noticias_container_articulo"],[1,"titulos_2"],[1,"seccion__contactanos"],[1,"row"],[1,"bogati__play_video_blog"],["width","100%","height","100%","src","https://www.youtube.com/embed/FMUI3EVEmLA","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],[1,"parrafo_noticias"],[1,"parrafo_noticias",2,"text-align","center"],[1,"contenedor__noticias_container_banner"],[1,"contenedor__noticias_container_banner_img"],["src","../../../assets/img/inicio/Banner-InicioPromos.jpg","alt","PopUp",2,"border-radius","20px"],[1,"contenedor__noticias_container_banner_cards"],["src","../../../assets/img/inicio/noticias/noticia3Portada.jpg","alt","Noticia3",2,"border-radius","25%"],[1,"contenedor__noticias_container_banner_cards_text",3,"routerLink"],["src","../../../assets/img/inicio/noticias/noticia4Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia5Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia7Portada.jpg","alt","Noticia3",2,"border-radius","25%"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3),d(5," Cambio de Gerencia en Bogati: Bienvenida a Diego Moya "),c(),l(6,"div",4)(7,"div",5)(8,"div",6),h(9,"iframe",7),c()(),l(10,"div",8),d(11," Este 02 de abril del 2024, en el centro de la ciudad de Ambato con invitados del freestyle ecuatoriano; un nuevo cap\xedtulo comienza en la historia de Bogati Helados con Queso. Tras varios a\xf1os de crecimiento y consolidaci\xf3n, Santiago ha decidido pasar el tim\xf3n de este barco lleno de sue\xf1os a Diego Moya, quien asumir\xe1 el cargo de Gerente General. "),h(12,"br")(13,"br"),d(14," Bajo el liderazgo y vasta experiencia de Diego en la industria y su visi\xf3n fresca, estamos convencidos de que llevar\xe1 a Bogati hacia nuevas alturas. Su enfoque centrado en la innovaci\xf3n, la eficiencia operativa y la satisfacci\xf3n del cliente nos permitir\xe1 alcanzar nuevos niveles de \xe9xito. "),h(15,"br")(16,"br"),d(17," Diego comparte nuestra pasi\xf3n por la excelencia y est\xe1 comprometido a impulsar a Bogati hacia un futuro brillante y prometedor y su llegada tambi\xe9n marca un fortalecimiento significativo en nuestro equipo directivo. Con su liderazgo, todos en Bogati nos sentimos inspirados y motivados para dar lo mejor de nosotros y continuar construyendo a Bogati como el McDonald\u2019s ecuatoriano. "),h(18,"br"),d(19," Conectando Culturas a trav\xe9s del Sabor. "),h(20,"br"),c(),l(21,"div",9),d(22," \xa1Bienvenido a bordo, Diego Moya! "),h(23,"br"),c()()(),l(24,"div",10)(25,"div",11),h(26,"img",12),c(),l(27,"div",13),h(28,"img",14),l(29,"div",15),d(30," Celebramos nuestras ra\xedces en la Fiesta de la Fruta y de las Flores 2024: Unidos por el Patrimonio Cultural de Ambato "),c()(),l(31,"div",13),h(32,"img",16),l(33,"div",15),d(34," Celebrando la Diversidad: Bogati y sus Helados con Queso honran el D\xeda Mundial del S\xedndrome de Down "),c()(),l(35,"div",13),h(36,"img",17),l(37,"div",15),d(38," Bogati aterriza en Estados Unidos y enamora con su sabor adictivo a New York "),c()(),l(39,"div",13),h(40,"img",18),l(41,"div",15),d(42," Bogati se luce con su sabor adictivo en la edici\xf3n 25 de la feria Alimentec en Corferias, Colombia "),c()()()(),h(43,"br")(44,"app-footer"),c()),2&e&&(m(29),v("routerLink",O(4,dne)),m(4),v("routerLink",O(5,hne)),m(4),v("routerLink",O(6,pne)),m(4),v("routerLink",O(7,fne)))},directives:[ye,Xe,Ee],styles:[""]}),t})();const gne=function(){return["/noticia3"]},_ne=function(){return["/noticia4"]},FI=function(){return["/noticia6"]};let vne=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-noticia7"]],decls:52,vars:8,consts:[[1,"contenedor__noticias"],[1,"contenedor__noticias_container"],[1,"contenedor__noticias_container_articulo"],[1,"titulos_2"],[1,"seccion__contactanos"],["src","../../../assets/img/inicio/noticias/noticia7_1.jpg","alt","Bogati",2,"width","90%","object-fit","contain","border-radius","10px"],[1,"parrafo_noticias"],[1,"titulos_2",2,"text-align","justify"],[1,"franja_menuNoticias"],[1,"franja_menu_imgNoticias"],["src","../../../assets/img/inicio/noticias/noticia7_2.jpg","alt","Bogati Sabor Adictivo"],[1,"franja_menu_textoNoticias"],[1,"parrafo_noticias",2,"text-align","center"],[1,"contenedor__noticias_container_banner"],[1,"contenedor__noticias_container_banner_img"],["src","../../../assets/img/inicio/Banner-InicioPromos.jpg","alt","Bogati S.A.S",2,"border-radius","20px"],[1,"contenedor__noticias_container_banner_cards"],["src","../../../assets/img/inicio/noticias/noticia3Portada.jpg","alt","Noticia3",2,"border-radius","25%"],[1,"contenedor__noticias_container_banner_cards_text",3,"routerLink"],["src","../../../assets/img/inicio/noticias/noticia4Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia5Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia6Portada.jpg","alt","Noticia3",2,"border-radius","25%"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3),d(5," Bogati se luce con su sabor adictivo en la edici\xf3n 25 de la feria Alimentec en Corferias, Colombia "),c(),l(6,"div",4)(7,"div"),h(8,"img",5),c(),l(9,"div",6),d(10," Bogati, conocido por su sabor inigualable, brill\xf3 intensamente en la edici\xf3n n\xfamero 25 de la feria Alimentec, celebrada en Corferias, Bogot\xe1, Colombia, del 18 al 21 de junio. Este evento, reconocido como uno de los m\xe1s importantes en la industria alimentaria de Am\xe9rica Latina y el Caribe, fue el escenario perfecto para que Bogati presentara su innovador helado con queso, una verdadera delicia que cautiv\xf3 a los asistentes. "),h(11,"br")(12,"br"),d(13," La feria Alimentec no solo es un punto de encuentro para profesionales del sector, sino tambi\xe9n un escaparate donde se destacan las \xfaltimas tendencias e innovaciones en alimentos y bebidas. Contar con un espacio en este prestigioso evento nos permiti\xf3 como Bogati exponer nuestro producto estrella ante un p\xfablico diverso y exigente, compuesto tanto por colombianos como por turistas internacionales. "),h(14,"br")(15,"br"),l(16,"div",7),d(17," Una recepci\xf3n excepcional "),c(),h(18,"br"),d(19," El helado con queso de Bogati no solo atrajo miradas curiosas, sino que tambi\xe9n conquist\xf3 paladares. Muchos visitantes se mostraron gratamente sorprendidos por la autenticidad y el sabor \xfanico de nuestro helado. Los comentarios positivos y los elogios no se hicieron esperar, confirmando una vez m\xe1s que Bogati est\xe1 en el camino correcto para convertirse en un referente global en el mercado de los helados. "),c(),l(20,"div",8)(21,"div",9),h(22,"img",10),c(),l(23,"div",11),d(24," Participar en Alimentec fue una oportunidad invaluable para Bogati. Eventos de esta naturaleza no solo ayudan a fortalecer la marca, sino que tambi\xe9n abren puertas a nuevas oportunidades comerciales y alianzas estrat\xe9gicas. Adem\xe1s, permiten obtener feedback directo del consumidor, lo que es crucial para seguir innovando y mejorando nuestros productos. "),h(25,"br"),c()(),l(26,"div",6),d(27," Bogati, conocido por su sabor inigualable, brill\xf3 intensamente en la edici\xf3n n\xfamero 25 de la feria Alimentec, celebrada en Corferias, Bogot\xe1, Colombia, del 18 al 21 de junio. Este evento, reconocido como uno de los m\xe1s importantes en la industria alimentaria de Am\xe9rica Latina y el Caribe, fue el escenario perfecto para que Bogati presentara su innovador helado con queso, una verdadera delicia que cautiv\xf3 a los asistentes. "),h(28,"br"),c(),l(29,"div",12),d(30," \xa1Gracias por acompa\xf1arnos en este delicioso viaje! "),c()()(),l(31,"div",13)(32,"div",14),h(33,"img",15),c(),l(34,"div",16),h(35,"img",17),l(36,"div",18),d(37," Celebramos nuestras ra\xedces en la Fiesta de la Fruta y de las Flores 2024: Unidos por el Patrimonio Cultural de Ambato "),c()(),l(38,"div",16),h(39,"img",19),l(40,"div",18),d(41," Celebrando la Diversidad: Bogati y sus Helados con Queso honran el D\xeda Mundial del S\xedndrome de Down "),c()(),l(42,"div",16),h(43,"img",20),l(44,"div",18),d(45," Bogati aterriza en Estados Unidos y enamora con su sabor adictivo a New York "),c()(),l(46,"div",16),h(47,"img",21),l(48,"div",18),d(49," Cambio de Gerencia en Bogati: Bienvenida a Diego Moya "),c()()()(),h(50,"br")(51,"app-footer"),c()),2&e&&(m(36),v("routerLink",O(4,gne)),m(4),v("routerLink",O(5,_ne)),m(4),v("routerLink",O(6,FI)),m(4),v("routerLink",O(7,FI)))},directives:[ye,Xe,Ee],styles:[""]}),t})();const bne=function(){return["/noticia3"]},yne=function(){return["/noticia4"]},Cne=function(){return["/noticia6"]},wne=function(){return["/noticia9"]};let Dne=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-noticia8"]],decls:48,vars:8,consts:[[1,"contenedor__noticias"],[1,"contenedor__noticias_container"],[1,"contenedor__noticias_container_articulo"],[1,"titulos_2"],[1,"seccion__contactanos"],["src","../../../assets/img/inicio/noticias/noticia8_1.jpg","alt","Bogati",2,"width","90%","object-fit","contain","border-radius","10px"],[1,"parrafo_noticias"],[1,"franja_menuNoticias"],[1,"franja_menu_imgNoticias"],["src","../../../assets/img/inicio/noticias/noticia8_2.jpg","alt","Bogati Sabor Adictivo"],[1,"franja_menu_textoNoticias"],[1,"titulos_2",2,"text-align","justify"],[1,"contenedor__noticias_container_banner"],[1,"contenedor__noticias_container_banner_img"],["src","../../../assets/img/inicio/Banner-InicioPromos.jpg","alt","Bogati S.A.S",2,"border-radius","20px"],[1,"contenedor__noticias_container_banner_cards"],["src","../../../assets/img/inicio/noticias/noticia3Portada.jpg","alt","Noticia3",2,"border-radius","25%"],[1,"contenedor__noticias_container_banner_cards_text",3,"routerLink"],["src","../../../assets/img/inicio/noticias/noticia4Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia5Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia9Portada.jpg","alt","Noticia3",2,"border-radius","25%"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3),d(5," Bogati Impulsa el Empleo Juvenil en Ecuador y se suma a la Ruta de la Empleabilidad "),c(),l(6,"div",4)(7,"div"),h(8,"img",5),c(),l(9,"div",6),d(10," La Ministra de Trabajo, Ivonne N\xfa\xf1ez Figueroa, visit\xf3 la ciudad de Ambato el jueves 6 de febrero como parte de su compromiso con la generaci\xf3n de empleo en Ecuador, eligiendo a Bogati como el punto de encuentro para reforzar iniciativas de empleabilidad juvenil. Durante su estancia, recorri\xf3 la planta de producci\xf3n de la empresa ubicada en el Parque Industrial y conoci\xf3 de primera mano su impacto en la creaci\xf3n de oportunidades laborales. "),h(11,"br")(12,"br"),d(13," En el evento, la ministra dialog\xf3 con los colaboradores de Bogati, quienes compartieron sus experiencias sobre c\xf3mo la empresa ha impulsado su crecimiento profesional. Tambi\xe9n estuvieron presentes el gerente general de Bogati, Santiago Castro, y otras autoridades del Ministerio del Trabajo. "),h(14,"br"),c(),l(15,"div",7)(16,"div",8),h(17,"img",9),c(),l(18,"div",10),d(19," El convenio firmado entre ambas instituciones estableci\xf3 acciones conjuntas para fortalecer la generaci\xf3n de empleo, con un enfoque especial en j\xf3venes de entre 18 y 29 a\xf1os, facilitando su acceso al mundo laboral y promoviendo su desarrollo profesional. "),h(20,"br")(21,"br"),d(22," Desde su fundaci\xf3n, Bogati ha generado m\xe1s de 1,000 empleos directos e indirectos, consolid\xe1ndose como una de las empresas m\xe1s destacadas de Tungurahua. La firma de este convenio reafirm\xf3 su compromiso con la innovaci\xf3n y el talento ecuatoriano, apostando por un futuro m\xe1s pr\xf3spero para el pa\xeds. "),h(23,"br"),c()(),l(24,"div",11),d(25," Con esta iniciativa, Bogati y el Ministerio del Trabajo reforzaron su alianza estrat\xe9gica para continuar impulsando el empleo y el crecimiento econ\xf3mico en Ecuador. "),h(26,"br"),c()()(),l(27,"div",12)(28,"div",13),h(29,"img",14),c(),l(30,"div",15),h(31,"img",16),l(32,"div",17),d(33," Celebramos nuestras ra\xedces en la Fiesta de la Fruta y de las Flores 2024: Unidos por el Patrimonio Cultural de Ambato "),c()(),l(34,"div",15),h(35,"img",18),l(36,"div",17),d(37," Celebrando la Diversidad: Bogati y sus Helados con Queso honran el D\xeda Mundial del S\xedndrome de Down "),c()(),l(38,"div",15),h(39,"img",19),l(40,"div",17),d(41," Bogati aterriza en Estados Unidos y enamora con su sabor adictivo a New York "),c()(),l(42,"div",15),h(43,"img",20),l(44,"div",17),d(45," Candidatas a Reina de Ambato en Bogati "),c()()()(),h(46,"br")(47,"app-footer"),c()),2&e&&(m(32),v("routerLink",O(4,bne)),m(4),v("routerLink",O(5,yne)),m(4),v("routerLink",O(6,Cne)),m(4),v("routerLink",O(7,wne)))},directives:[ye,Xe,Ee],styles:[""]}),t})();const Ene=function(){return["/noticia3"]},Tne=function(){return["/noticia4"]},Sne=function(){return["/noticia6"]},Mne=function(){return["/noticia8"]};let Ine=(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-noticia9"]],decls:44,vars:8,consts:[[1,"contenedor__noticias"],[1,"contenedor__noticias_container"],[1,"contenedor__noticias_container_articulo"],[1,"titulos_2"],[1,"seccion__contactanos"],["src","../../../assets/img/inicio/noticias/noticia9_1.jpg","alt","Bogati",2,"width","90%","object-fit","contain","border-radius","10px"],[1,"parrafo_noticias"],[1,"franja_menuNoticias"],[1,"franja_menu_imgNoticias"],["src","../../../assets/img/inicio/noticias/noticia9_2.jpg","alt","Bogati Sabor Adictivo"],[1,"franja_menu_textoNoticias"],[1,"contenedor__noticias_container_banner"],[1,"contenedor__noticias_container_banner_img"],["src","../../../assets/img/inicio/Banner-InicioPromos.jpg","alt","Bogati S.A.S",2,"border-radius","20px"],[1,"contenedor__noticias_container_banner_cards"],["src","../../../assets/img/inicio/noticias/noticia3Portada.jpg","alt","Noticia3",2,"border-radius","25%"],[1,"contenedor__noticias_container_banner_cards_text",3,"routerLink"],["src","../../../assets/img/inicio/noticias/noticia4Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia5Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia8Portada.jpg","alt","Noticia3",2,"border-radius","25%"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3),d(5," Candidatas a Reina de Ambato en Bogati "),c(),l(6,"div",4)(7,"div"),h(8,"img",5),c(),l(9,"div",6),d(10," Bogati, empresa orgullosamente tungurahuense y referente en la industria heladera, recibi\xf3 con entusiasmo a las candidatas a Reina de Ambato en su planta de producci\xf3n. Durante el recorrido, las aspirantes a la corona conocieron de cerca los procesos innovadores que han posicionado a la marca como un s\xedmbolo de calidad y emprendimiento en Ecuador. "),h(11,"br")(12,"br"),c(),l(13,"div",7)(14,"div",8),h(15,"img",9),c(),l(16,"div",10),d(17," Acompa\xf1adas por el equipo de Bogati, exploraron las diferentes \xe1reas de producci\xf3n y participaron en la elaboraci\xf3n del nuevo sabor de guaytambo, un delicioso lanzamiento que promete sorprender a todos los amantes de los helados con queso. Desde la selecci\xf3n de los ingredientes frescos hasta el toque final que garantiza esa explosi\xf3n de sabor \xfanica. Al finalizar, cada una de ellas recibi\xf3 un detalle especial como muestra de admiraci\xf3n por su esfuerzo y dedicaci\xf3n al representar a la ciudad con orgullo. "),h(18,"br")(19,"br"),c()(),l(20,"div",6),d(21," Este encuentro reafirma el compromiso de Bogati con la comunidad ambate\xf1a y su apoyo a iniciativas que promueven el liderazgo, la cultura y el esfuerzo de la juventud. La empresa se siente orgullosa de formar parte de una de las festividades m\xe1s importantes del pa\xeds, la Fiesta de la Fruta y de las Flores 2025, en la que participa como auspiciante. "),h(22,"br"),c()()(),l(23,"div",11)(24,"div",12),h(25,"img",13),c(),l(26,"div",14),h(27,"img",15),l(28,"div",16),d(29," Celebramos nuestras ra\xedces en la Fiesta de la Fruta y de las Flores 2024: Unidos por el Patrimonio Cultural de Ambato "),c()(),l(30,"div",14),h(31,"img",17),l(32,"div",16),d(33," Celebrando la Diversidad: Bogati y sus Helados con Queso honran el D\xeda Mundial del S\xedndrome de Down "),c()(),l(34,"div",14),h(35,"img",18),l(36,"div",16),d(37," Bogati aterriza en Estados Unidos y enamora con su sabor adictivo a New York "),c()(),l(38,"div",14),h(39,"img",19),l(40,"div",16),d(41," Bogati Impulsa el Empleo Juvenil en Ecuador y se suma a la Ruta de la Empleabilidad "),c()()()(),h(42,"br")(43,"app-footer"),c()),2&e&&(m(28),v("routerLink",O(4,Ene)),m(4),v("routerLink",O(5,Tne)),m(4),v("routerLink",O(6,Sne)),m(4),v("routerLink",O(7,Mne)))},directives:[ye,Xe,Ee],styles:[""]}),t})(),Ane=(()=>{class t{constructor(e){this.http=e,this.tiendasUrl="/APIBOGATI/tienda/tienda_get.php",this.baseUrl="."}getLocalidades(){return this.http.get(`${this.baseUrl}/APIBOGATI/tienda/tienda_get.php`)}}return t.\u0275fac=function(e){return new(e||t)(M(dn))},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const xne=["content"],One=["scroll"],Nne=["padding"],Xc=function(t){return{searchTerm:t}};function kne(t,n){if(1&t&&(l(0,"div",6),Cn(1,7),c()),2&t){const e=I();m(1),v("ngTemplateOutlet",e.headerTemplate)("ngTemplateOutletContext",mn(2,Xc,e.filterValue))}}function Rne(t,n){if(1&t&&(l(0,"div",8),Cn(1,7),c()),2&t){const e=I();m(1),v("ngTemplateOutlet",e.footerTemplate)("ngTemplateOutletContext",mn(2,Xc,e.filterValue))}}const PI=["*"],Fne=["searchInput"];function Pne(t,n){if(1&t){const e=Ae();l(0,"span",15),D("click",function(){re(e);const o=I().$implicit;return I(2).unselect(o)}),d(1,"\xd7"),c(),h(2,"span",16)}if(2&t){const e=I().$implicit,i=I(2);m(2),v("ngItemLabel",e.label)("escape",i.escapeHTML)}}function Lne(t,n){}const Bne=function(t,n,e){return{item:t,clear:n,label:e}};function Vne(t,n){if(1&t&&(l(0,"div",12),C(1,Pne,3,2,"ng-template",null,13,wn),C(3,Lne,0,0,"ng-template",14),c()),2&t){const e=n.$implicit,i=Ct(2),o=I(2);oe("ng-value-disabled",e.disabled),m(3),v("ngTemplateOutlet",o.labelTemplate||i)("ngTemplateOutletContext",Ws(4,Bne,e.value,o.clearItem,e.label))}}function jne(t,n){if(1&t&&(de(0),C(1,Vne,4,8,"div",11),he()),2&t){const e=I();m(1),v("ngForOf",e.selectedItems)("ngForTrackBy",e.trackByOption)}}function Hne(t,n){}const Une=function(t,n){return{items:t,clear:n}};function Gne(t,n){if(1&t&&C(0,Hne,0,0,"ng-template",14),2&t){const e=I();v("ngTemplateOutlet",e.multiLabelTemplate)("ngTemplateOutletContext",fo(2,Une,e.selectedValues,e.clearItem))}}function zne(t,n){1&t&&h(0,"div",19)}function qne(t,n){}function $ne(t,n){if(1&t&&(de(0),C(1,zne,1,0,"ng-template",null,17,wn),C(3,qne,0,0,"ng-template",18),he()),2&t){const e=Ct(2),i=I();m(3),v("ngTemplateOutlet",i.loadingSpinnerTemplate||e)}}function Wne(t,n){1&t&&(l(0,"span",20)(1,"span",21),d(2,"\xd7"),c()()),2&t&&Il("title",I().clearAllText)}function Yne(t,n){if(1&t&&h(0,"span",27),2&t){const e=I().$implicit,i=I(2);v("ngItemLabel",e.label)("escape",i.escapeHTML)}}function Qne(t,n){}const Kne=function(t,n,e,i){return{item:t,item$:n,index:e,searchTerm:i}};function Zne(t,n){if(1&t){const e=Ae();l(0,"div",25),D("click",function(){const s=re(e).$implicit;return I(2).toggleItem(s)})("mouseover",function(){const s=re(e).$implicit;return I(2).onItemHover(s)}),C(1,Yne,1,2,"ng-template",null,26,wn),C(3,Qne,0,0,"ng-template",14),c()}if(2&t){const e=n.$implicit,i=Ct(2),o=I(2);oe("ng-option-disabled",e.disabled)("ng-option-selected",e.selected)("ng-optgroup",e.children)("ng-option",!e.children)("ng-option-child",!!e.parent)("ng-option-marked",e===o.itemsList.markedItem),ae("role",e.children?"group":"option")("aria-selected",e.selected)("id",null==e?null:e.htmlId),m(3),v("ngTemplateOutlet",e.children?o.optgroupTemplate||i:o.optionTemplate||i)("ngTemplateOutletContext",b2(17,Kne,e.value,e,e.index,o.searchTerm))}}function Jne(t,n){if(1&t&&(l(0,"span")(1,"span",30),d(2),c(),d(3),c()),2&t){const e=I(3);m(2),le(e.addTagText),m(1),U('"',e.searchTerm,'"')}}function Xne(t,n){}function eie(t,n){if(1&t){const e=Ae();l(0,"div",28),D("mouseover",function(){return re(e),I(2).itemsList.unmarkItem()})("click",function(){return re(e),I(2).selectTag()}),C(1,Jne,4,2,"ng-template",null,29,wn),C(3,Xne,0,0,"ng-template",14),c()}if(2&t){const e=Ct(2),i=I(2);oe("ng-option-marked",!i.itemsList.markedItem),m(3),v("ngTemplateOutlet",i.tagTemplate||e)("ngTemplateOutletContext",mn(4,Xc,i.searchTerm))}}function tie(t,n){if(1&t&&(l(0,"div",32),d(1),c()),2&t){const e=I(3);m(1),le(e.notFoundText)}}function nie(t,n){}function iie(t,n){if(1&t&&(de(0),C(1,tie,2,1,"ng-template",null,31,wn),C(3,nie,0,0,"ng-template",14),he()),2&t){const e=Ct(2),i=I(2);m(3),v("ngTemplateOutlet",i.notFoundTemplate||e)("ngTemplateOutletContext",mn(2,Xc,i.searchTerm))}}function oie(t,n){if(1&t&&(l(0,"div",32),d(1),c()),2&t){const e=I(3);m(1),le(e.typeToSearchText)}}function sie(t,n){}function rie(t,n){if(1&t&&(de(0),C(1,oie,2,1,"ng-template",null,33,wn),C(3,sie,0,0,"ng-template",18),he()),2&t){const e=Ct(2),i=I(2);m(3),v("ngTemplateOutlet",i.typeToSearchTemplate||e)}}function aie(t,n){if(1&t&&(l(0,"div",32),d(1),c()),2&t){const e=I(3);m(1),le(e.loadingText)}}function lie(t,n){}function cie(t,n){if(1&t&&(de(0),C(1,aie,2,1,"ng-template",null,34,wn),C(3,lie,0,0,"ng-template",14),he()),2&t){const e=Ct(2),i=I(2);m(3),v("ngTemplateOutlet",i.loadingTextTemplate||e)("ngTemplateOutletContext",mn(2,Xc,i.searchTerm))}}function uie(t,n){if(1&t){const e=Ae();l(0,"ng-dropdown-panel",22),D("update",function(o){return re(e),I().viewPortItems=o})("scroll",function(o){return re(e),I().scroll.emit(o)})("scrollToEnd",function(o){return re(e),I().scrollToEnd.emit(o)})("outsideClick",function(){return re(e),I().close()}),de(1),C(2,Zne,4,22,"div",23),C(3,eie,4,6,"div",24),he(),C(4,iie,4,4,"ng-container",3),C(5,rie,4,1,"ng-container",3),C(6,cie,4,4,"ng-container",3),c()}if(2&t){const e=I();oe("ng-select-multiple",e.multiple),v("virtualScroll",e.virtualScroll)("bufferAmount",e.bufferAmount)("appendTo",e.appendTo)("position",e.dropdownPosition)("headerTemplate",e.headerTemplate)("footerTemplate",e.footerTemplate)("filterValue",e.searchTerm)("items",e.itemsList.filteredItems)("markedItem",e.itemsList.markedItem)("ngClass",e.appendTo?e.classes:null)("id",e.dropdownId),m(2),v("ngForOf",e.viewPortItems)("ngForTrackBy",e.trackByOption),m(1),v("ngIf",e.showAddTag),m(1),v("ngIf",e.showNoItemsFound()),m(1),v("ngIf",e.showTypeToSearch()),m(1),v("ngIf",e.loading&&0===e.itemsList.filteredItems.length)}}const LI=/[&<>"']/g,die=RegExp(LI.source),hie={"&":"&","<":"<",">":">",'"':""","'":"'"};function qt(t){return null!=t}function eu(t){return"object"==typeof t&&qt(t)}function Tp(t){return t instanceof Function}let mie=(()=>{class t{constructor(e){this.element=e,this.escape=!0}ngOnChanges(e){this.element.nativeElement.innerHTML=this.escape?function pie(t){return t&&die.test(t)?t.replace(LI,n=>hie[n]):t}(this.ngItemLabel):this.ngItemLabel}}return t.\u0275fac=function(e){return new(e||t)(_(K))},t.\u0275dir=x({type:t,selectors:[["","ngItemLabel",""]],inputs:{ngItemLabel:"ngItemLabel",escape:"escape"},features:[mt]}),t})(),gie=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["","ng-option-tmp",""]]}),t})(),_ie=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["","ng-optgroup-tmp",""]]}),t})(),vie=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["","ng-label-tmp",""]]}),t})(),bie=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["","ng-multi-label-tmp",""]]}),t})(),yie=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["","ng-header-tmp",""]]}),t})(),Cie=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["","ng-footer-tmp",""]]}),t})(),wie=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["","ng-notfound-tmp",""]]}),t})(),Die=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["","ng-typetosearch-tmp",""]]}),t})(),Eie=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["","ng-loadingtext-tmp",""]]}),t})(),Tie=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["","ng-tag-tmp",""]]}),t})(),Sie=(()=>{class t{constructor(e){this.template=e}}return t.\u0275fac=function(e){return new(e||t)(_(ce))},t.\u0275dir=x({type:t,selectors:[["","ng-loadingspinner-tmp",""]]}),t})();function BI(){return"axxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16))}const Mie={"\u24b6":"A",\uff21:"A",\u00c0:"A",\u00c1:"A",\u00c2:"A",\u1ea6:"A",\u1ea4:"A",\u1eaa:"A",\u1ea8:"A",\u00c3:"A",\u0100:"A",\u0102:"A",\u1eb0:"A",\u1eae:"A",\u1eb4:"A",\u1eb2:"A",\u0226:"A",\u01e0:"A",\u00c4:"A",\u01de:"A",\u1ea2:"A",\u00c5:"A",\u01fa:"A",\u01cd:"A",\u0200:"A",\u0202:"A",\u1ea0:"A",\u1eac:"A",\u1eb6:"A",\u1e00:"A",\u0104:"A",\u023a:"A",\u2c6f:"A",\ua732:"AA",\u00c6:"AE",\u01fc:"AE",\u01e2:"AE",\ua734:"AO",\ua736:"AU",\ua738:"AV",\ua73a:"AV",\ua73c:"AY","\u24b7":"B",\uff22:"B",\u1e02:"B",\u1e04:"B",\u1e06:"B",\u0243:"B",\u0182:"B",\u0181:"B","\u24b8":"C",\uff23:"C",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u00c7:"C",\u1e08:"C",\u0187:"C",\u023b:"C",\ua73e:"C","\u24b9":"D",\uff24:"D",\u1e0a:"D",\u010e:"D",\u1e0c:"D",\u1e10:"D",\u1e12:"D",\u1e0e:"D",\u0110:"D",\u018b:"D",\u018a:"D",\u0189:"D",\ua779:"D",\u01f1:"DZ",\u01c4:"DZ",\u01f2:"Dz",\u01c5:"Dz","\u24ba":"E",\uff25:"E",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u1ec0:"E",\u1ebe:"E",\u1ec4:"E",\u1ec2:"E",\u1ebc:"E",\u0112:"E",\u1e14:"E",\u1e16:"E",\u0114:"E",\u0116:"E",\u00cb:"E",\u1eba:"E",\u011a:"E",\u0204:"E",\u0206:"E",\u1eb8:"E",\u1ec6:"E",\u0228:"E",\u1e1c:"E",\u0118:"E",\u1e18:"E",\u1e1a:"E",\u0190:"E",\u018e:"E","\u24bb":"F",\uff26:"F",\u1e1e:"F",\u0191:"F",\ua77b:"F","\u24bc":"G",\uff27:"G",\u01f4:"G",\u011c:"G",\u1e20:"G",\u011e:"G",\u0120:"G",\u01e6:"G",\u0122:"G",\u01e4:"G",\u0193:"G",\ua7a0:"G",\ua77d:"G",\ua77e:"G","\u24bd":"H",\uff28:"H",\u0124:"H",\u1e22:"H",\u1e26:"H",\u021e:"H",\u1e24:"H",\u1e28:"H",\u1e2a:"H",\u0126:"H",\u2c67:"H",\u2c75:"H",\ua78d:"H","\u24be":"I",\uff29:"I",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u0128:"I",\u012a:"I",\u012c:"I",\u0130:"I",\u00cf:"I",\u1e2e:"I",\u1ec8:"I",\u01cf:"I",\u0208:"I",\u020a:"I",\u1eca:"I",\u012e:"I",\u1e2c:"I",\u0197:"I","\u24bf":"J",\uff2a:"J",\u0134:"J",\u0248:"J","\u24c0":"K",\uff2b:"K",\u1e30:"K",\u01e8:"K",\u1e32:"K",\u0136:"K",\u1e34:"K",\u0198:"K",\u2c69:"K",\ua740:"K",\ua742:"K",\ua744:"K",\ua7a2:"K","\u24c1":"L",\uff2c:"L",\u013f:"L",\u0139:"L",\u013d:"L",\u1e36:"L",\u1e38:"L",\u013b:"L",\u1e3c:"L",\u1e3a:"L",\u0141:"L",\u023d:"L",\u2c62:"L",\u2c60:"L",\ua748:"L",\ua746:"L",\ua780:"L",\u01c7:"LJ",\u01c8:"Lj","\u24c2":"M",\uff2d:"M",\u1e3e:"M",\u1e40:"M",\u1e42:"M",\u2c6e:"M",\u019c:"M","\u24c3":"N",\uff2e:"N",\u01f8:"N",\u0143:"N",\u00d1:"N",\u1e44:"N",\u0147:"N",\u1e46:"N",\u0145:"N",\u1e4a:"N",\u1e48:"N",\u0220:"N",\u019d:"N",\ua790:"N",\ua7a4:"N",\u01ca:"NJ",\u01cb:"Nj","\u24c4":"O",\uff2f:"O",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u1ed2:"O",\u1ed0:"O",\u1ed6:"O",\u1ed4:"O",\u00d5:"O",\u1e4c:"O",\u022c:"O",\u1e4e:"O",\u014c:"O",\u1e50:"O",\u1e52:"O",\u014e:"O",\u022e:"O",\u0230:"O",\u00d6:"O",\u022a:"O",\u1ece:"O",\u0150:"O",\u01d1:"O",\u020c:"O",\u020e:"O",\u01a0:"O",\u1edc:"O",\u1eda:"O",\u1ee0:"O",\u1ede:"O",\u1ee2:"O",\u1ecc:"O",\u1ed8:"O",\u01ea:"O",\u01ec:"O",\u00d8:"O",\u01fe:"O",\u0186:"O",\u019f:"O",\ua74a:"O",\ua74c:"O",\u01a2:"OI",\ua74e:"OO",\u0222:"OU","\u24c5":"P",\uff30:"P",\u1e54:"P",\u1e56:"P",\u01a4:"P",\u2c63:"P",\ua750:"P",\ua752:"P",\ua754:"P","\u24c6":"Q",\uff31:"Q",\ua756:"Q",\ua758:"Q",\u024a:"Q","\u24c7":"R",\uff32:"R",\u0154:"R",\u1e58:"R",\u0158:"R",\u0210:"R",\u0212:"R",\u1e5a:"R",\u1e5c:"R",\u0156:"R",\u1e5e:"R",\u024c:"R",\u2c64:"R",\ua75a:"R",\ua7a6:"R",\ua782:"R","\u24c8":"S",\uff33:"S",\u1e9e:"S",\u015a:"S",\u1e64:"S",\u015c:"S",\u1e60:"S",\u0160:"S",\u1e66:"S",\u1e62:"S",\u1e68:"S",\u0218:"S",\u015e:"S",\u2c7e:"S",\ua7a8:"S",\ua784:"S","\u24c9":"T",\uff34:"T",\u1e6a:"T",\u0164:"T",\u1e6c:"T",\u021a:"T",\u0162:"T",\u1e70:"T",\u1e6e:"T",\u0166:"T",\u01ac:"T",\u01ae:"T",\u023e:"T",\ua786:"T",\ua728:"TZ","\u24ca":"U",\uff35:"U",\u00d9:"U",\u00da:"U",\u00db:"U",\u0168:"U",\u1e78:"U",\u016a:"U",\u1e7a:"U",\u016c:"U",\u00dc:"U",\u01db:"U",\u01d7:"U",\u01d5:"U",\u01d9:"U",\u1ee6:"U",\u016e:"U",\u0170:"U",\u01d3:"U",\u0214:"U",\u0216:"U",\u01af:"U",\u1eea:"U",\u1ee8:"U",\u1eee:"U",\u1eec:"U",\u1ef0:"U",\u1ee4:"U",\u1e72:"U",\u0172:"U",\u1e76:"U",\u1e74:"U",\u0244:"U","\u24cb":"V",\uff36:"V",\u1e7c:"V",\u1e7e:"V",\u01b2:"V",\ua75e:"V",\u0245:"V",\ua760:"VY","\u24cc":"W",\uff37:"W",\u1e80:"W",\u1e82:"W",\u0174:"W",\u1e86:"W",\u1e84:"W",\u1e88:"W",\u2c72:"W","\u24cd":"X",\uff38:"X",\u1e8a:"X",\u1e8c:"X","\u24ce":"Y",\uff39:"Y",\u1ef2:"Y",\u00dd:"Y",\u0176:"Y",\u1ef8:"Y",\u0232:"Y",\u1e8e:"Y",\u0178:"Y",\u1ef6:"Y",\u1ef4:"Y",\u01b3:"Y",\u024e:"Y",\u1efe:"Y","\u24cf":"Z",\uff3a:"Z",\u0179:"Z",\u1e90:"Z",\u017b:"Z",\u017d:"Z",\u1e92:"Z",\u1e94:"Z",\u01b5:"Z",\u0224:"Z",\u2c7f:"Z",\u2c6b:"Z",\ua762:"Z","\u24d0":"a",\uff41:"a",\u1e9a:"a",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u1ea7:"a",\u1ea5:"a",\u1eab:"a",\u1ea9:"a",\u00e3:"a",\u0101:"a",\u0103:"a",\u1eb1:"a",\u1eaf:"a",\u1eb5:"a",\u1eb3:"a",\u0227:"a",\u01e1:"a",\u00e4:"a",\u01df:"a",\u1ea3:"a",\u00e5:"a",\u01fb:"a",\u01ce:"a",\u0201:"a",\u0203:"a",\u1ea1:"a",\u1ead:"a",\u1eb7:"a",\u1e01:"a",\u0105:"a",\u2c65:"a",\u0250:"a",\ua733:"aa",\u00e6:"ae",\u01fd:"ae",\u01e3:"ae",\ua735:"ao",\ua737:"au",\ua739:"av",\ua73b:"av",\ua73d:"ay","\u24d1":"b",\uff42:"b",\u1e03:"b",\u1e05:"b",\u1e07:"b",\u0180:"b",\u0183:"b",\u0253:"b","\u24d2":"c",\uff43:"c",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u00e7:"c",\u1e09:"c",\u0188:"c",\u023c:"c",\ua73f:"c",\u2184:"c","\u24d3":"d",\uff44:"d",\u1e0b:"d",\u010f:"d",\u1e0d:"d",\u1e11:"d",\u1e13:"d",\u1e0f:"d",\u0111:"d",\u018c:"d",\u0256:"d",\u0257:"d",\ua77a:"d",\u01f3:"dz",\u01c6:"dz","\u24d4":"e",\uff45:"e",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u1ec1:"e",\u1ebf:"e",\u1ec5:"e",\u1ec3:"e",\u1ebd:"e",\u0113:"e",\u1e15:"e",\u1e17:"e",\u0115:"e",\u0117:"e",\u00eb:"e",\u1ebb:"e",\u011b:"e",\u0205:"e",\u0207:"e",\u1eb9:"e",\u1ec7:"e",\u0229:"e",\u1e1d:"e",\u0119:"e",\u1e19:"e",\u1e1b:"e",\u0247:"e",\u025b:"e",\u01dd:"e","\u24d5":"f",\uff46:"f",\u1e1f:"f",\u0192:"f",\ua77c:"f","\u24d6":"g",\uff47:"g",\u01f5:"g",\u011d:"g",\u1e21:"g",\u011f:"g",\u0121:"g",\u01e7:"g",\u0123:"g",\u01e5:"g",\u0260:"g",\ua7a1:"g",\u1d79:"g",\ua77f:"g","\u24d7":"h",\uff48:"h",\u0125:"h",\u1e23:"h",\u1e27:"h",\u021f:"h",\u1e25:"h",\u1e29:"h",\u1e2b:"h",\u1e96:"h",\u0127:"h",\u2c68:"h",\u2c76:"h",\u0265:"h",\u0195:"hv","\u24d8":"i",\uff49:"i",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u0129:"i",\u012b:"i",\u012d:"i",\u00ef:"i",\u1e2f:"i",\u1ec9:"i",\u01d0:"i",\u0209:"i",\u020b:"i",\u1ecb:"i",\u012f:"i",\u1e2d:"i",\u0268:"i",\u0131:"i","\u24d9":"j",\uff4a:"j",\u0135:"j",\u01f0:"j",\u0249:"j","\u24da":"k",\uff4b:"k",\u1e31:"k",\u01e9:"k",\u1e33:"k",\u0137:"k",\u1e35:"k",\u0199:"k",\u2c6a:"k",\ua741:"k",\ua743:"k",\ua745:"k",\ua7a3:"k","\u24db":"l",\uff4c:"l",\u0140:"l",\u013a:"l",\u013e:"l",\u1e37:"l",\u1e39:"l",\u013c:"l",\u1e3d:"l",\u1e3b:"l",\u017f:"l",\u0142:"l",\u019a:"l",\u026b:"l",\u2c61:"l",\ua749:"l",\ua781:"l",\ua747:"l",\u01c9:"lj","\u24dc":"m",\uff4d:"m",\u1e3f:"m",\u1e41:"m",\u1e43:"m",\u0271:"m",\u026f:"m","\u24dd":"n",\uff4e:"n",\u01f9:"n",\u0144:"n",\u00f1:"n",\u1e45:"n",\u0148:"n",\u1e47:"n",\u0146:"n",\u1e4b:"n",\u1e49:"n",\u019e:"n",\u0272:"n",\u0149:"n",\ua791:"n",\ua7a5:"n",\u01cc:"nj","\u24de":"o",\uff4f:"o",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u1ed3:"o",\u1ed1:"o",\u1ed7:"o",\u1ed5:"o",\u00f5:"o",\u1e4d:"o",\u022d:"o",\u1e4f:"o",\u014d:"o",\u1e51:"o",\u1e53:"o",\u014f:"o",\u022f:"o",\u0231:"o",\u00f6:"o",\u022b:"o",\u1ecf:"o",\u0151:"o",\u01d2:"o",\u020d:"o",\u020f:"o",\u01a1:"o",\u1edd:"o",\u1edb:"o",\u1ee1:"o",\u1edf:"o",\u1ee3:"o",\u1ecd:"o",\u1ed9:"o",\u01eb:"o",\u01ed:"o",\u00f8:"o",\u01ff:"o",\u0254:"o",\ua74b:"o",\ua74d:"o",\u0275:"o",\u01a3:"oi",\u0223:"ou",\ua74f:"oo","\u24df":"p",\uff50:"p",\u1e55:"p",\u1e57:"p",\u01a5:"p",\u1d7d:"p",\ua751:"p",\ua753:"p",\ua755:"p","\u24e0":"q",\uff51:"q",\u024b:"q",\ua757:"q",\ua759:"q","\u24e1":"r",\uff52:"r",\u0155:"r",\u1e59:"r",\u0159:"r",\u0211:"r",\u0213:"r",\u1e5b:"r",\u1e5d:"r",\u0157:"r",\u1e5f:"r",\u024d:"r",\u027d:"r",\ua75b:"r",\ua7a7:"r",\ua783:"r","\u24e2":"s",\uff53:"s",\u00df:"s",\u015b:"s",\u1e65:"s",\u015d:"s",\u1e61:"s",\u0161:"s",\u1e67:"s",\u1e63:"s",\u1e69:"s",\u0219:"s",\u015f:"s",\u023f:"s",\ua7a9:"s",\ua785:"s",\u1e9b:"s","\u24e3":"t",\uff54:"t",\u1e6b:"t",\u1e97:"t",\u0165:"t",\u1e6d:"t",\u021b:"t",\u0163:"t",\u1e71:"t",\u1e6f:"t",\u0167:"t",\u01ad:"t",\u0288:"t",\u2c66:"t",\ua787:"t",\ua729:"tz","\u24e4":"u",\uff55:"u",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u0169:"u",\u1e79:"u",\u016b:"u",\u1e7b:"u",\u016d:"u",\u00fc:"u",\u01dc:"u",\u01d8:"u",\u01d6:"u",\u01da:"u",\u1ee7:"u",\u016f:"u",\u0171:"u",\u01d4:"u",\u0215:"u",\u0217:"u",\u01b0:"u",\u1eeb:"u",\u1ee9:"u",\u1eef:"u",\u1eed:"u",\u1ef1:"u",\u1ee5:"u",\u1e73:"u",\u0173:"u",\u1e77:"u",\u1e75:"u",\u0289:"u","\u24e5":"v",\uff56:"v",\u1e7d:"v",\u1e7f:"v",\u028b:"v",\ua75f:"v",\u028c:"v",\ua761:"vy","\u24e6":"w",\uff57:"w",\u1e81:"w",\u1e83:"w",\u0175:"w",\u1e87:"w",\u1e85:"w",\u1e98:"w",\u1e89:"w",\u2c73:"w","\u24e7":"x",\uff58:"x",\u1e8b:"x",\u1e8d:"x","\u24e8":"y",\uff59:"y",\u1ef3:"y",\u00fd:"y",\u0177:"y",\u1ef9:"y",\u0233:"y",\u1e8f:"y",\u00ff:"y",\u1ef7:"y",\u1e99:"y",\u1ef5:"y",\u01b4:"y",\u024f:"y",\u1eff:"y","\u24e9":"z",\uff5a:"z",\u017a:"z",\u1e91:"z",\u017c:"z",\u017e:"z",\u1e93:"z",\u1e95:"z",\u01b6:"z",\u0225:"z",\u0240:"z",\u2c6c:"z",\ua763:"z",\u0386:"\u0391",\u0388:"\u0395",\u0389:"\u0397",\u038a:"\u0399",\u03aa:"\u0399",\u038c:"\u039f",\u038e:"\u03a5",\u03ab:"\u03a5",\u038f:"\u03a9",\u03ac:"\u03b1",\u03ad:"\u03b5",\u03ae:"\u03b7",\u03af:"\u03b9",\u03ca:"\u03b9",\u0390:"\u03b9",\u03cc:"\u03bf",\u03cd:"\u03c5",\u03cb:"\u03c5",\u03b0:"\u03c5",\u03c9:"\u03c9",\u03c2:"\u03c3"};function Sp(t){return t.replace(/[^\u0000-\u007E]/g,e=>Mie[e]||e)}class Iie{constructor(n,e){this._ngSelect=n,this._selectionModel=e,this._items=[],this._filteredItems=[],this._markedIndex=-1}get items(){return this._items}get filteredItems(){return this._filteredItems}get markedIndex(){return this._markedIndex}get selectedItems(){return this._selectionModel.value}get markedItem(){return this._filteredItems[this._markedIndex]}get noItemsToSelect(){return this._ngSelect.hideSelected&&this._items.length===this.selectedItems.length}get maxItemsSelected(){return this._ngSelect.multiple&&this._ngSelect.maxSelectedItems<=this.selectedItems.length}get lastSelectedItem(){let n=this.selectedItems.length-1;for(;n>=0;n--){const e=this.selectedItems[n];if(!e.disabled)return e}return null}setItems(n){this._items=n.map((e,i)=>this.mapItem(e,i)),this._ngSelect.groupBy?(this._groups=this._groupBy(this._items,this._ngSelect.groupBy),this._items=this._flatten(this._groups)):(this._groups=new Map,this._groups.set(void 0,this._items)),this._filteredItems=[...this._items]}select(n){if(n.selected||this.maxItemsSelected)return;const e=this._ngSelect.multiple;e||this.clearSelected(),this._selectionModel.select(n,e,this._ngSelect.selectableGroupAsModel),this._ngSelect.hideSelected&&this._hideSelected(n)}unselect(n){!n.selected||(this._selectionModel.unselect(n,this._ngSelect.multiple),this._ngSelect.hideSelected&&qt(n.index)&&this._ngSelect.multiple&&this._showSelected(n))}findItem(n){let e;return e=this._ngSelect.compareWith?i=>this._ngSelect.compareWith(i.value,n):this._ngSelect.bindValue?i=>!i.children&&this.resolveNested(i.value,this._ngSelect.bindValue)===n:i=>i.value===n||!i.children&&i.label&&i.label===this.resolveNested(n,this._ngSelect.bindLabel),this._items.find(i=>e(i))}addItem(n){const e=this.mapItem(n,this._items.length);return this._items.push(e),this._filteredItems.push(e),e}clearSelected(n=!1){this._selectionModel.clear(n),this._items.forEach(e=>{e.selected=n&&e.selected&&e.disabled,e.marked=!1}),this._ngSelect.hideSelected&&this.resetFilteredItems()}findByLabel(n){return n=Sp(n).toLocaleLowerCase(),this.filteredItems.find(e=>Sp(e.label).toLocaleLowerCase().substr(0,n.length)===n)}filter(n){if(!n)return void this.resetFilteredItems();this._filteredItems=[],n=this._ngSelect.searchFn?n:Sp(n).toLocaleLowerCase();const e=this._ngSelect.searchFn||this._defaultSearchFn,i=this._ngSelect.hideSelected;for(const o of Array.from(this._groups.keys())){const s=[];for(const r of this._groups.get(o))i&&(r.parent&&r.parent.selected||r.selected)||e(n,this._ngSelect.searchFn?r.value:r)&&s.push(r);if(s.length>0){const[r]=s.slice(-1);if(r.parent){const a=this._items.find(u=>u===r.parent);this._filteredItems.push(a)}this._filteredItems.push(...s)}}}resetFilteredItems(){this._filteredItems.length!==this._items.length&&(this._filteredItems=this._ngSelect.hideSelected&&this.selectedItems.length>0?this._items.filter(n=>!n.selected):this._items)}unmarkItem(){this._markedIndex=-1}markNextItem(){this._stepToItem(1)}markPreviousItem(){this._stepToItem(-1)}markItem(n){this._markedIndex=this._filteredItems.indexOf(n)}markSelectedOrDefault(n){if(0===this._filteredItems.length)return;const e=this._getLastMarkedIndex();this._markedIndex=e>-1?e:n?this.filteredItems.findIndex(i=>!i.disabled):-1}resolveNested(n,e){if(!eu(n))return n;if(-1===e.indexOf("."))return n[e];{const i=e.split(".");let o=n;for(let s=0,r=i.length;s-1===this.selectedItems.indexOf(e)))}_showSelected(n){if(this._filteredItems.push(n),n.parent){const e=n.parent;this._filteredItems.find(o=>o===e)||this._filteredItems.push(e)}else if(n.children)for(const e of n.children)e.selected=!1,this._filteredItems.push(e);this._filteredItems=[...this._filteredItems.sort((e,i)=>e.index-i.index)]}_hideSelected(n){this._filteredItems=this._filteredItems.filter(e=>e!==n),n.parent?n.parent.children.every(i=>i.selected)&&(this._filteredItems=this._filteredItems.filter(i=>i!==n.parent)):n.children&&(this._filteredItems=this.filteredItems.filter(e=>e.parent!==n))}_defaultSearchFn(n,e){return Sp(e.label).toLocaleLowerCase().indexOf(n)>-1}_getNextItemIndex(n){return n>0?this._markedIndex>=this._filteredItems.length-1?0:this._markedIndex+1:this._markedIndex<=0?this._filteredItems.length-1:this._markedIndex-1}_stepToItem(n){0===this._filteredItems.length||this._filteredItems.every(e=>e.disabled)||(this._markedIndex=this._getNextItemIndex(n),this.markedItem.disabled&&this._stepToItem(n))}_getLastMarkedIndex(){if(this._ngSelect.hideSelected||this._markedIndex>-1&&void 0===this.markedItem)return-1;const n=this._filteredItems.indexOf(this.lastSelectedItem);return this.lastSelectedItem&&n<0?-1:Math.max(this.markedIndex,n)}_groupBy(n,e){const i=new Map;if(0===n.length)return i;if(Array.isArray(n[0].value[e])){for(const r of n){const a=(r.value[e]||[]).map((u,p)=>this.mapItem(u,p));i.set(r,a)}return i}const o=Tp(this._ngSelect.groupBy),s=r=>{const a=o?e(r.value):r.value[e];return qt(a)?a:void 0};for(const r of n){const a=s(r),u=i.get(a);u?u.push(r):i.set(a,[r])}return i}_flatten(n){const e=Tp(this._ngSelect.groupBy),i=[];for(const o of Array.from(n.keys())){let s=i.length;if(void 0===o){const g=n.get(void 0)||[];i.push(...g.map(b=>(b.index=s++,b)));continue}const r=eu(o),a={label:r?"":String(o),children:void 0,parent:null,index:s++,disabled:!this._ngSelect.selectableGroup,htmlId:BI()},u=e?this._ngSelect.bindLabel:this._ngSelect.groupBy,p=this._ngSelect.groupValue||(()=>r?o.value:{[u]:o}),f=n.get(o).map(g=>(g.parent=a,g.children=void 0,g.index=s++,g));a.children=f,a.value=p(o,f.map(g=>g.value)),i.push(a),i.push(...f)}return i}}var eo=(()=>{return(t=eo||(eo={}))[t.Tab=9]="Tab",t[t.Enter=13]="Enter",t[t.Esc=27]="Esc",t[t.Space=32]="Space",t[t.ArrowUp=38]="ArrowUp",t[t.ArrowDown=40]="ArrowDown",t[t.Backspace=8]="Backspace",eo;var t})();let VI=(()=>{class t{constructor(){this._dimensions={itemHeight:0,panelHeight:0,itemsPerViewport:0}}get dimensions(){return this._dimensions}calculateItems(e,i,o){const s=this._dimensions,r=s.itemHeight*i,u=Math.max(0,e)/r*i;let p=Math.min(i,Math.ceil(u)+(s.itemsPerViewport+1));const g=Math.max(0,p-s.itemsPerViewport);let b=Math.min(g,Math.floor(u)),y=s.itemHeight*Math.ceil(b)-s.itemHeight*Math.min(b,o);return y=isNaN(y)?0:y,b=isNaN(b)?-1:b,p=isNaN(p)?-1:p,b-=o,b=Math.max(0,b),p+=o,p=Math.min(i,p),{topPadding:y,scrollHeight:r,start:b,end:p}}setDimensions(e,i){const o=Math.max(1,Math.floor(i/e));this._dimensions={itemHeight:e,panelHeight:i,itemsPerViewport:o}}getScrollTo(e,i,o){const{panelHeight:s}=this.dimensions,r=e+i,u=o+s;return s>=r&&o===e?null:r>u?o+r-u:e<=o?e:null}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac}),t})();const jI=["top","right","bottom","left"],Aie="undefined"!=typeof requestAnimationFrame?zT:rh;let HI=(()=>{class t{constructor(e,i,o,s,r){this._renderer=e,this._zone=i,this._panelService=o,this._document=r,this.items=[],this.position="auto",this.virtualScroll=!1,this.filterValue=null,this.update=new H,this.scroll=new H,this.scrollToEnd=new H,this.outsideClick=new H,this._destroy$=new $,this._scrollToEndFired=!1,this._updateScrollHeight=!1,this._lastScrollPosition=0,this._dropdown=s.nativeElement}get currentPosition(){return this._currentPosition}get itemsLength(){return this._itemsLength}set itemsLength(e){e!==this._itemsLength&&(this._itemsLength=e,this._onItemsLengthChanged())}get _startOffset(){if(this.markedItem){const{itemHeight:e,panelHeight:i}=this._panelService.dimensions,o=this.markedItem.index*e;return i>o?0:o}return 0}ngOnInit(){this._select=this._dropdown.parentElement,this._virtualPadding=this.paddingElementRef.nativeElement,this._scrollablePanel=this.scrollElementRef.nativeElement,this._contentPanel=this.contentElementRef.nativeElement,this._handleScroll(),this._handleOutsideClick(),this._appendDropdown(),this._setupMousedownListener()}ngOnChanges(e){if(e.items){const i=e.items;this._onItemsChange(i.currentValue,i.firstChange)}}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete(),this._destroy$.unsubscribe(),this.appendTo&&this._renderer.removeChild(this._dropdown.parentNode,this._dropdown)}scrollTo(e,i=!1){if(!e)return;const o=this.items.indexOf(e);if(o<0||o>=this.itemsLength)return;let s;if(this.virtualScroll){const r=this._panelService.dimensions.itemHeight;s=this._panelService.getScrollTo(o*r,r,this._lastScrollPosition)}else{const r=this._dropdown.querySelector(`#${e.htmlId}`);s=this._panelService.getScrollTo(r.offsetTop,r.clientHeight,i?r.offsetTop:this._lastScrollPosition)}qt(s)&&(this._scrollablePanel.scrollTop=s)}scrollToTag(){const e=this._scrollablePanel;e.scrollTop=e.scrollHeight-e.clientHeight}adjustPosition(){this._updateYPosition()}_handleDropdownPosition(){this._currentPosition=this._calculateCurrentPosition(this._dropdown),jI.includes(this._currentPosition)?this._updateDropdownClass(this._currentPosition):this._updateDropdownClass("bottom"),this.appendTo&&this._updateYPosition(),this._dropdown.style.opacity="1"}_updateDropdownClass(e){jI.forEach(o=>{const s=`ng-select-${o}`;this._renderer.removeClass(this._dropdown,s),this._renderer.removeClass(this._select,s)});const i=`ng-select-${e}`;this._renderer.addClass(this._dropdown,i),this._renderer.addClass(this._select,i)}_handleScroll(){this._zone.runOutsideAngular(()=>{Mt(this.scrollElementRef.nativeElement,"scroll").pipe(ie(this._destroy$),J_(0,Aie)).subscribe(e=>{const i=e.path||e.composedPath&&e.composedPath();this._onContentScrolled(i&&0!==i.length?i[0].scrollTop:e.target.scrollTop)})})}_handleOutsideClick(){!this._document||this._zone.runOutsideAngular(()=>{bn(Mt(this._document,"touchstart",{capture:!0}),Mt(this._document,"mousedown",{capture:!0})).pipe(ie(this._destroy$)).subscribe(e=>this._checkToClose(e))})}_checkToClose(e){if(this._select.contains(e.target)||this._dropdown.contains(e.target))return;const i=e.path||e.composedPath&&e.composedPath();e.target&&e.target.shadowRoot&&i&&i[0]&&this._select.contains(i[0])||this._zone.run(()=>this.outsideClick.emit())}_onItemsChange(e,i){this.items=e||[],this._scrollToEndFired=!1,this.itemsLength=e.length,this.virtualScroll?this._updateItemsRange(i):(this._setVirtualHeight(),this._updateItems(i))}_updateItems(e){this.update.emit(this.items),!1!==e&&this._zone.runOutsideAngular(()=>{Promise.resolve().then(()=>{this._panelService.setDimensions(0,this._scrollablePanel.clientHeight),this._handleDropdownPosition(),this.scrollTo(this.markedItem,e)})})}_updateItemsRange(e){this._zone.runOutsideAngular(()=>{this._measureDimensions().then(()=>{e?(this._renderItemsRange(this._startOffset),this._handleDropdownPosition()):this._renderItemsRange()})})}_onContentScrolled(e){this.virtualScroll&&this._renderItemsRange(e),this._lastScrollPosition=e,this._fireScrollToEnd(e)}_updateVirtualHeight(e){this._updateScrollHeight&&(this._virtualPadding.style.height=`${e}px`,this._updateScrollHeight=!1)}_setVirtualHeight(){!this._virtualPadding||(this._virtualPadding.style.height="0px")}_onItemsLengthChanged(){this._updateScrollHeight=!0}_renderItemsRange(e=null){if(e&&this._lastScrollPosition===e)return;const i=this._panelService.calculateItems(e=e||this._scrollablePanel.scrollTop,this.itemsLength,this.bufferAmount);this._updateVirtualHeight(i.scrollHeight),this._contentPanel.style.transform=`translateY(${i.topPadding}px)`,this._zone.run(()=>{this.update.emit(this.items.slice(i.start,i.end)),this.scroll.emit({start:i.start,end:i.end})}),qt(e)&&0===this._lastScrollPosition&&(this._scrollablePanel.scrollTop=e,this._lastScrollPosition=e)}_measureDimensions(){if(this._panelService.dimensions.itemHeight>0||0===this.itemsLength)return Promise.resolve(this._panelService.dimensions);const[e]=this.items;return this.update.emit([e]),Promise.resolve().then(()=>{const o=this._dropdown.querySelector(`#${e.htmlId}`).clientHeight;return this._virtualPadding.style.height=o*this.itemsLength+"px",this._panelService.setDimensions(o,this._scrollablePanel.clientHeight),this._panelService.dimensions})}_fireScrollToEnd(e){this._scrollToEndFired||0===e||e+this._dropdown.clientHeight>=(this.virtualScroll?this._virtualPadding:this._contentPanel).clientHeight-1&&(this._zone.run(()=>this.scrollToEnd.emit()),this._scrollToEndFired=!0)}_calculateCurrentPosition(e){if("auto"!==this.position)return this.position;const i=this._select.getBoundingClientRect(),o=document.documentElement.scrollTop||document.body.scrollTop;return i.top+window.pageYOffset+i.height+e.getBoundingClientRect().height>o+document.documentElement.clientHeight?"top":"bottom"}_appendDropdown(){if(this.appendTo){if(this._parent=document.querySelector(this.appendTo),!this._parent)throw new Error(`appendTo selector ${this.appendTo} did not found any parent element`);this._updateXPosition(),this._parent.appendChild(this._dropdown)}}_updateXPosition(){const e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect();this._dropdown.style.left=e.left-i.left+"px",this._dropdown.style.width=e.width+"px",this._dropdown.style.minWidth=e.width+"px"}_updateYPosition(){const e=this._select.getBoundingClientRect(),i=this._parent.getBoundingClientRect(),o=e.height;"top"===this._currentPosition?(this._dropdown.style.bottom=i.bottom-e.bottom+o+"px",this._dropdown.style.top="auto"):"bottom"===this._currentPosition&&(this._dropdown.style.top=e.top-i.top+o+"px",this._dropdown.style.bottom="auto")}_setupMousedownListener(){this._zone.runOutsideAngular(()=>{Mt(this._dropdown,"mousedown").pipe(ie(this._destroy$)).subscribe(e=>{"INPUT"!==e.target.tagName&&e.preventDefault()})})}}return t.\u0275fac=function(e){return new(e||t)(_(ai),_(se),_(VI),_(K),_(ve,8))},t.\u0275cmp=N({type:t,selectors:[["ng-dropdown-panel"]],viewQuery:function(e,i){if(1&e&&(me(xne,7,K),me(One,7,K),me(Nne,7,K)),2&e){let o;F(o=P())&&(i.contentElementRef=o.first),F(o=P())&&(i.scrollElementRef=o.first),F(o=P())&&(i.paddingElementRef=o.first)}},inputs:{items:"items",markedItem:"markedItem",position:"position",appendTo:"appendTo",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",headerTemplate:"headerTemplate",footerTemplate:"footerTemplate",filterValue:"filterValue"},outputs:{update:"update",scroll:"scroll",scrollToEnd:"scrollToEnd",outsideClick:"outsideClick"},features:[mt],ngContentSelectors:PI,decls:9,vars:6,consts:[["class","ng-dropdown-header",4,"ngIf"],[1,"ng-dropdown-panel-items","scroll-host"],["scroll",""],["padding",""],["content",""],["class","ng-dropdown-footer",4,"ngIf"],[1,"ng-dropdown-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ng-dropdown-footer"]],template:function(e,i){1&e&&(rn(),C(0,kne,2,4,"div",0),l(1,"div",1,2),h(3,"div",null,3),l(5,"div",null,4),nt(7),c()(),C(8,Rne,2,4,"div",5)),2&e&&(v("ngIf",i.headerTemplate),m(3),oe("total-padding",i.virtualScroll),m(2),oe("scrollable-content",i.virtualScroll&&i.items.length),m(3),v("ngIf",i.footerTemplate))},directives:[Ye,gs],encapsulation:2,changeDetection:0}),t})(),xie=(()=>{class t{constructor(e){this.elementRef=e,this.stateChange$=new $,this._disabled=!1}get disabled(){return this._disabled}set disabled(e){this._disabled=this._isDisabled(e)}get label(){return(this.elementRef.nativeElement.textContent||"").trim()}ngOnChanges(e){e.disabled&&this.stateChange$.next({value:this.value,disabled:this._disabled})}ngAfterViewChecked(){this.label!==this._previousLabel&&(this._previousLabel=this.label,this.stateChange$.next({value:this.value,disabled:this._disabled,label:this.elementRef.nativeElement.innerHTML}))}ngOnDestroy(){this.stateChange$.complete()}_isDisabled(e){return null!=e&&"false"!=`${e}`}}return t.\u0275fac=function(e){return new(e||t)(_(K))},t.\u0275cmp=N({type:t,selectors:[["ng-option"]],inputs:{value:"value",disabled:"disabled"},features:[mt],ngContentSelectors:PI,decls:1,vars:0,template:function(e,i){1&e&&(rn(),nt(0))},encapsulation:2,changeDetection:0}),t})(),Oie=(()=>{class t{constructor(){this.notFoundText="No items found",this.typeToSearchText="Type to search",this.addTagText="Add item",this.loadingText="Loading...",this.clearAllText="Clear all",this.disableVirtualScroll=!0,this.openOnEnter=!0,this.appearance="underline"}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})(),Nie=(()=>{class t{warn(e){console.warn(e)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=L({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();const UI=new j("ng-select-selection-model");let kie=(()=>{class t{constructor(e,i,o,s,r,a,u){this.classes=e,this.autoFocus=i,this.config=o,this._cd=a,this._console=u,this.markFirst=!0,this.dropdownPosition="auto",this.loading=!1,this.closeOnSelect=!0,this.hideSelected=!1,this.selectOnTab=!1,this.bufferAmount=4,this.selectableGroup=!1,this.selectableGroupAsModel=!0,this.searchFn=null,this.trackByFn=null,this.clearOnBackspace=!0,this.labelForId=null,this.inputAttrs={},this.readonly=!1,this.searchWhileComposing=!0,this.minTermLength=0,this.editableSearchTerm=!1,this.keyDownFn=p=>!0,this.multiple=!1,this.addTag=!1,this.searchable=!0,this.clearable=!0,this.isOpen=!1,this.blurEvent=new H,this.focusEvent=new H,this.changeEvent=new H,this.openEvent=new H,this.closeEvent=new H,this.searchEvent=new H,this.clearEvent=new H,this.addEvent=new H,this.removeEvent=new H,this.scroll=new H,this.scrollToEnd=new H,this.useDefaultClass=!0,this.viewPortItems=[],this.searchTerm=null,this.dropdownId=BI(),this.escapeHTML=!0,this._items=[],this._defaultLabel="label",this._pressedKeys=[],this._isComposing=!1,this._destroy$=new $,this._keyPress$=new $,this._onChange=p=>{},this._onTouched=()=>{},this.clearItem=p=>{const f=this.selectedItems.find(g=>g.value===p);this.unselect(f)},this.trackByOption=(p,f)=>this.trackByFn?this.trackByFn(f.value):f,this._mergeGlobalConfig(o),this.itemsList=new Iie(this,s()),this.element=r.nativeElement}get items(){return this._items}set items(e){null===e&&(e=[]),this._itemsAreUsed=!0,this._items=e}get compareWith(){return this._compareWith}set compareWith(e){if(null!=e&&!Tp(e))throw Error("`compareWith` must be a function.");this._compareWith=e}get clearSearchOnAdd(){return qt(this._clearSearchOnAdd)?this._clearSearchOnAdd:qt(this.config.clearSearchOnAdd)?this.config.clearSearchOnAdd:this.closeOnSelect}set clearSearchOnAdd(e){this._clearSearchOnAdd=e}get disabled(){return this.readonly||this._disabled}get filtered(){return!!this.searchTerm&&this.searchable||this._isComposing}get single(){return!this.multiple}get _editableSearchTerm(){return this.editableSearchTerm&&!this.multiple}get selectedItems(){return this.itemsList.selectedItems}get selectedValues(){return this.selectedItems.map(e=>e.value)}get hasValue(){return this.selectedItems.length>0}get currentPanelPosition(){if(this.dropdownPanel)return this.dropdownPanel.currentPosition}ngOnInit(){this._handleKeyPresses(),this._setInputAttributes()}ngOnChanges(e){e.multiple&&this.itemsList.clearSelected(),e.items&&this._setItems(e.items.currentValue||[]),e.isOpen&&(this._manualOpen=qt(e.isOpen.currentValue))}ngAfterViewInit(){this._itemsAreUsed||(this.escapeHTML=!1,this._setItemsFromNgOptions()),qt(this.autoFocus)&&this.focus()}ngOnDestroy(){this._destroy$.next(),this._destroy$.complete()}handleKeyDown(e){if(eo[e.which]){if(!1===this.keyDownFn(e))return;this.handleKeyCode(e)}else e.key&&1===e.key.length&&this._keyPress$.next(e.key.toLocaleLowerCase())}handleKeyCode(e){switch(e.which){case eo.ArrowDown:this._handleArrowDown(e);break;case eo.ArrowUp:this._handleArrowUp(e);break;case eo.Space:this._handleSpace(e);break;case eo.Enter:this._handleEnter(e);break;case eo.Tab:this._handleTab(e);break;case eo.Esc:this.close(),e.preventDefault();break;case eo.Backspace:this._handleBackspace()}}handleMousedown(e){const i=e.target;"INPUT"!==i.tagName&&e.preventDefault(),i.classList.contains("ng-clear-wrapper")?this.handleClearClick():i.classList.contains("ng-arrow-wrapper")?this.handleArrowClick():i.classList.contains("ng-value-icon")||(this.focused||this.focus(),this.searchable?this.open():this.toggle())}handleArrowClick(){this.isOpen?this.close():this.open()}handleClearClick(){this.hasValue&&(this.itemsList.clearSelected(!0),this._updateNgModel()),this._clearSearch(),this.focus(),this.clearEvent.emit(),this._onSelectionChanged()}clearModel(){!this.clearable||(this.itemsList.clearSelected(),this._updateNgModel())}writeValue(e){this.itemsList.clearSelected(),this._handleWriteValue(e),this._cd.markForCheck()}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._disabled=e,this._cd.markForCheck()}toggle(){this.isOpen?this.close():this.open()}open(){this.disabled||this.isOpen||this.itemsList.maxItemsSelected||this._manualOpen||!this._isTypeahead&&!this.addTag&&this.itemsList.noItemsToSelect||(this.isOpen=!0,this.itemsList.markSelectedOrDefault(this.markFirst),this.openEvent.emit(),this.searchTerm||this.focus(),this.detectChanges())}close(){!this.isOpen||this._manualOpen||(this.isOpen=!1,this._isComposing=!1,this._editableSearchTerm?this.itemsList.resetFilteredItems():this._clearSearch(),this.itemsList.unmarkItem(),this._onTouched(),this.closeEvent.emit(),this._cd.markForCheck())}toggleItem(e){!e||e.disabled||this.disabled||(this.multiple&&e.selected?this.unselect(e):this.select(e),this._editableSearchTerm&&this._setSearchTermFromItems(),this._onSelectionChanged())}select(e){e.selected||(this.itemsList.select(e),this.clearSearchOnAdd&&!this._editableSearchTerm&&this._clearSearch(),this._updateNgModel(),this.multiple&&this.addEvent.emit(e.value)),(this.closeOnSelect||this.itemsList.noItemsToSelect)&&this.close()}focus(){this.searchInput.nativeElement.focus()}blur(){this.searchInput.nativeElement.blur()}unselect(e){!e||(this.itemsList.unselect(e),this.focus(),this._updateNgModel(),this.removeEvent.emit(e))}selectTag(){let e;e=Tp(this.addTag)?this.addTag(this.searchTerm):this._primitive?this.searchTerm:{[this.bindLabel]:this.searchTerm};const i=o=>this._isTypeahead||!this.isOpen?this.itemsList.mapItem(o,null):this.itemsList.addItem(o);!function fie(t){return t instanceof Promise}(e)?e&&this.select(i(e)):e.then(o=>this.select(i(o))).catch(()=>{})}showClear(){return this.clearable&&(this.hasValue||this.searchTerm)&&!this.disabled}get showAddTag(){if(!this._validTerm)return!1;const e=this.searchTerm.toLowerCase().trim();return this.addTag&&!this.itemsList.filteredItems.some(i=>i.label.toLowerCase()===e)&&(!this.hideSelected&&this.isOpen||!this.selectedItems.some(i=>i.label.toLowerCase()===e))&&!this.loading}showNoItemsFound(){const e=0===this.itemsList.filteredItems.length;return(e&&!this._isTypeahead&&!this.loading||e&&this._isTypeahead&&this._validTerm&&!this.loading)&&!this.showAddTag}showTypeToSearch(){return 0===this.itemsList.filteredItems.length&&this._isTypeahead&&!this._validTerm&&!this.loading}onCompositionStart(){this._isComposing=!0}onCompositionEnd(e){this._isComposing=!1,!this.searchWhileComposing&&this.filter(e)}filter(e){this._isComposing&&!this.searchWhileComposing||(this.searchTerm=e,this._isTypeahead&&(this._validTerm||0===this.minTermLength)&&this.typeahead.next(e),this._isTypeahead||(this.itemsList.filter(this.searchTerm),this.isOpen&&this.itemsList.markSelectedOrDefault(this.markFirst)),this.searchEvent.emit({term:e,items:this.itemsList.filteredItems.map(i=>i.value)}),this.open())}onInputFocus(e){this.focused||(this._editableSearchTerm&&this._setSearchTermFromItems(),this.element.classList.add("ng-select-focused"),this.focusEvent.emit(e),this.focused=!0)}onInputBlur(e){this.element.classList.remove("ng-select-focused"),this.blurEvent.emit(e),!this.isOpen&&!this.disabled&&this._onTouched(),this._editableSearchTerm&&this._setSearchTermFromItems(),this.focused=!1}onItemHover(e){e.disabled||this.itemsList.markItem(e)}detectChanges(){this._cd.destroyed||this._cd.detectChanges()}_setSearchTermFromItems(){const e=this.selectedItems&&this.selectedItems[0];this.searchTerm=e&&e.label||null}_setItems(e){const i=e[0];this.bindLabel=this.bindLabel||this._defaultLabel,this._primitive=qt(i)?!eu(i):this._primitive||this.bindLabel===this._defaultLabel,this.itemsList.setItems(e),e.length>0&&this.hasValue&&this.itemsList.mapSelectedItems(),this.isOpen&&qt(this.searchTerm)&&!this._isTypeahead&&this.itemsList.filter(this.searchTerm),(this._isTypeahead||this.isOpen)&&this.itemsList.markSelectedOrDefault(this.markFirst)}_setItemsFromNgOptions(){const e=o=>{this.items=o.map(s=>({$ngOptionValue:s.value,$ngOptionLabel:s.elementRef.nativeElement.innerHTML,disabled:s.disabled})),this.itemsList.setItems(this.items),this.hasValue&&this.itemsList.mapSelectedItems(),this.detectChanges()},i=()=>{const o=bn(this.ngOptions.changes,this._destroy$);bn(...this.ngOptions.map(s=>s.stateChange$)).pipe(ie(o)).subscribe(s=>{const r=this.itemsList.findItem(s.value);r.disabled=s.disabled,r.label=s.label||r.label,this._cd.detectChanges()})};this.ngOptions.changes.pipe(gn(this.ngOptions),ie(this._destroy$)).subscribe(o=>{this.bindLabel=this._defaultLabel,e(o),i()})}_isValidWriteValue(e){if(!qt(e)||this.multiple&&""===e||Array.isArray(e)&&0===e.length)return!1;const i=o=>!(!qt(this.compareWith)&&eu(o)&&this.bindValue&&(this._console.warn(`Setting object(${JSON.stringify(o)}) as your model with bindValue is not allowed unless [compareWith] is used.`),1));return this.multiple?Array.isArray(e)?e.every(o=>i(o)):(this._console.warn("Multiple select ngModel should be array."),!1):i(e)}_handleWriteValue(e){if(!this._isValidWriteValue(e))return;const i=o=>{let s=this.itemsList.findItem(o);if(s)this.itemsList.select(s);else{const r=eu(o),a=!r&&!this.bindValue;r||a?this.itemsList.select(this.itemsList.mapItem(o,null)):this.bindValue&&(s={[this.bindLabel]:null,[this.bindValue]:o},this.itemsList.select(this.itemsList.mapItem(s,null)))}};this.multiple?e.forEach(o=>i(o)):i(e)}_handleKeyPresses(){this.searchable||this._keyPress$.pipe(ie(this._destroy$),zt(e=>this._pressedKeys.push(e)),Zd(200),ut(()=>this._pressedKeys.length>0),pe(()=>this._pressedKeys.join(""))).subscribe(e=>{const i=this.itemsList.findByLabel(e);i&&(this.isOpen?(this.itemsList.markItem(i),this._scrollToMarked(),this._cd.markForCheck()):this.select(i)),this._pressedKeys=[]})}_setInputAttributes(){const e=this.searchInput.nativeElement,i=Object.assign({type:"text",autocorrect:"off",autocapitalize:"off",autocomplete:this.labelForId?"off":this.dropdownId},this.inputAttrs);for(const o of Object.keys(i))e.setAttribute(o,i[o])}_updateNgModel(){const e=[];for(const o of this.selectedItems)if(this.bindValue){let s=null;s=o.children?o.value[(this.groupValue?this.bindValue:this.groupBy)||this.groupBy]:this.itemsList.resolveNested(o.value,this.bindValue),e.push(s)}else e.push(o.value);const i=this.selectedItems.map(o=>o.value);this.multiple?(this._onChange(e),this.changeEvent.emit(i)):(this._onChange(qt(e[0])?e[0]:null),this.changeEvent.emit(i[0])),this._cd.markForCheck()}_clearSearch(){!this.searchTerm||(this._changeSearch(null),this.itemsList.resetFilteredItems())}_changeSearch(e){this.searchTerm=e,this._isTypeahead&&this.typeahead.next(e)}_scrollToMarked(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollTo(this.itemsList.markedItem)}_scrollToTag(){!this.isOpen||!this.dropdownPanel||this.dropdownPanel.scrollToTag()}_onSelectionChanged(){this.isOpen&&this.multiple&&this.appendTo&&(this._cd.detectChanges(),this.dropdownPanel.adjustPosition())}_handleTab(e){!1===this.isOpen&&!this.addTag||(this.selectOnTab?this.itemsList.markedItem?(this.toggleItem(this.itemsList.markedItem),e.preventDefault()):this.showAddTag?(this.selectTag(),e.preventDefault()):this.close():this.close())}_handleEnter(e){if(this.isOpen||this._manualOpen)this.itemsList.markedItem?this.toggleItem(this.itemsList.markedItem):this.showAddTag&&this.selectTag();else{if(!this.openOnEnter)return;this.open()}e.preventDefault()}_handleSpace(e){this.isOpen||this._manualOpen||(this.open(),e.preventDefault())}_handleArrowDown(e){this._nextItemIsTag(1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markNextItem(),this._scrollToMarked()),this.open(),e.preventDefault()}_handleArrowUp(e){!this.isOpen||(this._nextItemIsTag(-1)?(this.itemsList.unmarkItem(),this._scrollToTag()):(this.itemsList.markPreviousItem(),this._scrollToMarked()),e.preventDefault())}_nextItemIsTag(e){const i=this.itemsList.markedIndex+e;return this.addTag&&this.searchTerm&&this.itemsList.markedItem&&(i<0||i===this.itemsList.filteredItems.length)}_handleBackspace(){this.searchTerm||!this.clearable||!this.clearOnBackspace||!this.hasValue||(this.multiple?this.unselect(this.itemsList.lastSelectedItem):this.clearModel())}get _isTypeahead(){return this.typeahead&&this.typeahead.observers.length>0}get _validTerm(){const e=this.searchTerm&&this.searchTerm.trim();return e&&e.length>=this.minTermLength}_mergeGlobalConfig(e){this.placeholder=this.placeholder||e.placeholder,this.notFoundText=this.notFoundText||e.notFoundText,this.typeToSearchText=this.typeToSearchText||e.typeToSearchText,this.addTagText=this.addTagText||e.addTagText,this.loadingText=this.loadingText||e.loadingText,this.clearAllText=this.clearAllText||e.clearAllText,this.virtualScroll=qt(this.virtualScroll)?this.virtualScroll:!!qt(e.disableVirtualScroll)&&!e.disableVirtualScroll,this.openOnEnter=qt(this.openOnEnter)?this.openOnEnter:e.openOnEnter,this.appendTo=this.appendTo||e.appendTo,this.bindValue=this.bindValue||e.bindValue,this.bindLabel=this.bindLabel||e.bindLabel,this.appearance=this.appearance||e.appearance}}return t.\u0275fac=function(e){return new(e||t)(ni("class"),ni("autofocus"),_(Oie),_(UI),_(K),_(Ke),_(Nie))},t.\u0275cmp=N({type:t,selectors:[["ng-select"]],contentQueries:function(e,i,o){if(1&e&&(te(o,gie,5,ce),te(o,_ie,5,ce),te(o,vie,5,ce),te(o,bie,5,ce),te(o,yie,5,ce),te(o,Cie,5,ce),te(o,wie,5,ce),te(o,Die,5,ce),te(o,Eie,5,ce),te(o,Tie,5,ce),te(o,Sie,5,ce),te(o,xie,5)),2&e){let s;F(s=P())&&(i.optionTemplate=s.first),F(s=P())&&(i.optgroupTemplate=s.first),F(s=P())&&(i.labelTemplate=s.first),F(s=P())&&(i.multiLabelTemplate=s.first),F(s=P())&&(i.headerTemplate=s.first),F(s=P())&&(i.footerTemplate=s.first),F(s=P())&&(i.notFoundTemplate=s.first),F(s=P())&&(i.typeToSearchTemplate=s.first),F(s=P())&&(i.loadingTextTemplate=s.first),F(s=P())&&(i.tagTemplate=s.first),F(s=P())&&(i.loadingSpinnerTemplate=s.first),F(s=P())&&(i.ngOptions=s)}},viewQuery:function(e,i){if(1&e&&(me(HI,5),me(Fne,7)),2&e){let o;F(o=P())&&(i.dropdownPanel=o.first),F(o=P())&&(i.searchInput=o.first)}},hostVars:20,hostBindings:function(e,i){1&e&&D("keydown",function(s){return i.handleKeyDown(s)}),2&e&&oe("ng-select-typeahead",i.typeahead)("ng-select-multiple",i.multiple)("ng-select-taggable",i.addTag)("ng-select-searchable",i.searchable)("ng-select-clearable",i.clearable)("ng-select-opened",i.isOpen)("ng-select",i.useDefaultClass)("ng-select-disabled",i.disabled)("ng-select-filtered",i.filtered)("ng-select-single",i.single)},inputs:{bindLabel:"bindLabel",bindValue:"bindValue",markFirst:"markFirst",placeholder:"placeholder",notFoundText:"notFoundText",typeToSearchText:"typeToSearchText",addTagText:"addTagText",loadingText:"loadingText",clearAllText:"clearAllText",appearance:"appearance",dropdownPosition:"dropdownPosition",appendTo:"appendTo",loading:"loading",closeOnSelect:"closeOnSelect",hideSelected:"hideSelected",selectOnTab:"selectOnTab",openOnEnter:"openOnEnter",maxSelectedItems:"maxSelectedItems",groupBy:"groupBy",groupValue:"groupValue",bufferAmount:"bufferAmount",virtualScroll:"virtualScroll",selectableGroup:"selectableGroup",selectableGroupAsModel:"selectableGroupAsModel",searchFn:"searchFn",trackByFn:"trackByFn",clearOnBackspace:"clearOnBackspace",labelForId:"labelForId",inputAttrs:"inputAttrs",tabIndex:"tabIndex",readonly:"readonly",searchWhileComposing:"searchWhileComposing",minTermLength:"minTermLength",editableSearchTerm:"editableSearchTerm",keyDownFn:"keyDownFn",typeahead:"typeahead",multiple:"multiple",addTag:"addTag",searchable:"searchable",clearable:"clearable",isOpen:"isOpen",items:"items",compareWith:"compareWith",clearSearchOnAdd:"clearSearchOnAdd"},outputs:{blurEvent:"blur",focusEvent:"focus",changeEvent:"change",openEvent:"open",closeEvent:"close",searchEvent:"search",clearEvent:"clear",addEvent:"add",removeEvent:"remove",scroll:"scroll",scrollToEnd:"scrollToEnd"},features:[fe([{provide:Wn,useExisting:Le(()=>t),multi:!0},VI]),mt],decls:14,vars:19,consts:[[1,"ng-select-container",3,"mousedown"],[1,"ng-value-container"],[1,"ng-placeholder"],[4,"ngIf"],["role","combobox","aria-haspopup","listbox",1,"ng-input"],["aria-autocomplete","list",3,"readOnly","disabled","value","input","compositionstart","compositionend","focus","blur","change"],["searchInput",""],["class","ng-clear-wrapper",3,"title",4,"ngIf"],[1,"ng-arrow-wrapper"],[1,"ng-arrow"],["class","ng-dropdown-panel","role","listbox","aria-label","Options list",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ng-select-multiple","ngClass","id","update","scroll","scrollToEnd","outsideClick",4,"ngIf"],["class","ng-value",3,"ng-value-disabled",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ng-value"],["defaultLabelTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["aria-hidden","true",1,"ng-value-icon","left",3,"click"],[1,"ng-value-label",3,"ngItemLabel","escape"],["defaultLoadingSpinnerTemplate",""],[3,"ngTemplateOutlet"],[1,"ng-spinner-loader"],[1,"ng-clear-wrapper",3,"title"],["aria-hidden","true",1,"ng-clear"],["role","listbox","aria-label","Options list",1,"ng-dropdown-panel",3,"virtualScroll","bufferAmount","appendTo","position","headerTemplate","footerTemplate","filterValue","items","markedItem","ngClass","id","update","scroll","scrollToEnd","outsideClick"],["class","ng-option",3,"ng-option-disabled","ng-option-selected","ng-optgroup","ng-option","ng-option-child","ng-option-marked","click","mouseover",4,"ngFor","ngForOf","ngForTrackBy"],["class","ng-option","role","option",3,"ng-option-marked","mouseover","click",4,"ngIf"],[1,"ng-option",3,"click","mouseover"],["defaultOptionTemplate",""],[1,"ng-option-label",3,"ngItemLabel","escape"],["role","option",1,"ng-option",3,"mouseover","click"],["defaultTagTemplate",""],[1,"ng-tag-label"],["defaultNotFoundTemplate",""],[1,"ng-option","ng-option-disabled"],["defaultTypeToSearchTemplate",""],["defaultLoadingTextTemplate",""]],template:function(e,i){if(1&e){const o=Ae();l(0,"div",0),D("mousedown",function(r){return i.handleMousedown(r)}),l(1,"div",1)(2,"div",2),d(3),c(),C(4,jne,2,2,"ng-container",3),C(5,Gne,1,5,null,3),l(6,"div",4)(7,"input",5,6),D("input",function(){re(o);const r=Ct(8);return i.filter(r.value)})("compositionstart",function(){return i.onCompositionStart()})("compositionend",function(){re(o);const r=Ct(8);return i.onCompositionEnd(r.value)})("focus",function(r){return i.onInputFocus(r)})("blur",function(r){return i.onInputBlur(r)})("change",function(r){return r.stopPropagation()}),c()()(),C(9,$ne,4,1,"ng-container",3),C(10,Wne,3,1,"span",7),l(11,"span",8),h(12,"span",9),c()(),C(13,uie,7,19,"ng-dropdown-panel",10)}2&e&&(oe("ng-appearance-outline","outline"===i.appearance)("ng-has-value",i.hasValue),m(3),le(i.placeholder),m(1),v("ngIf",(!i.multiLabelTemplate||!i.multiple)&&i.selectedItems.length>0),m(1),v("ngIf",i.multiple&&i.multiLabelTemplate&&i.selectedValues.length>0),m(1),ae("aria-expanded",i.isOpen)("aria-owns",i.isOpen?i.dropdownId:null),m(1),v("readOnly",!i.searchable||i.itemsList.maxItemsSelected)("disabled",i.disabled)("value",i.searchTerm?i.searchTerm:""),ae("id",i.labelForId)("tabindex",i.tabIndex)("aria-activedescendant",i.isOpen?null==i.itemsList||null==i.itemsList.markedItem?null:i.itemsList.markedItem.htmlId:null)("aria-controls",i.isOpen?i.dropdownId:null),m(2),v("ngIf",i.loading),m(1),v("ngIf",i.showClear()),m(3),v("ngIf",i.isOpen))},directives:[HI,Ye,qe,mie,gs,er],styles:['@charset "UTF-8";.ng-select{position:relative;display:block;box-sizing:border-box}.ng-select div,.ng-select input,.ng-select span{box-sizing:border-box}.ng-select [hidden]{display:none}.ng-select.ng-select-searchable .ng-select-container .ng-value-container .ng-input{opacity:1}.ng-select.ng-select-opened .ng-select-container{z-index:1001}.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-placeholder,.ng-select.ng-select-disabled .ng-select-container .ng-value-container .ng-value{-webkit-user-select:none;user-select:none;cursor:default}.ng-select.ng-select-disabled .ng-arrow-wrapper{cursor:default}.ng-select.ng-select-filtered .ng-placeholder{display:none}.ng-select .ng-select-container{cursor:default;display:flex;outline:none;overflow:hidden;position:relative;width:100%}.ng-select .ng-select-container .ng-value-container{display:flex;flex:1}.ng-select .ng-select-container .ng-value-container .ng-input{opacity:0}.ng-select .ng-select-container .ng-value-container .ng-input>input{box-sizing:content-box;background:none transparent;border:0 none;box-shadow:none;outline:none;padding:0;cursor:default;width:100%}.ng-select .ng-select-container .ng-value-container .ng-input>input::-ms-clear{display:none}.ng-select .ng-select-container .ng-value-container .ng-input>input[readonly]{-webkit-user-select:none;user-select:none;width:0;padding:0}.ng-select.ng-select-single.ng-select-filtered .ng-select-container .ng-value-container .ng-value{visibility:hidden}.ng-select.ng-select-single .ng-select-container .ng-value-container,.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-single .ng-select-container .ng-value-container .ng-input{position:absolute;left:0;width:100%}.ng-select.ng-select-multiple.ng-select-disabled>.ng-select-container .ng-value-container .ng-value .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container{flex-wrap:wrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{position:absolute}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value{white-space:nowrap}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value.ng-value-disabled .ng-value-icon{display:none}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-value .ng-value-icon{cursor:pointer}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-input{flex:1;z-index:2}.ng-select.ng-select-multiple .ng-select-container .ng-value-container .ng-placeholder{z-index:1}.ng-select .ng-clear-wrapper{cursor:pointer;position:relative;width:17px;-webkit-user-select:none;user-select:none}.ng-select .ng-clear-wrapper .ng-clear{display:inline-block;font-size:18px;line-height:1;pointer-events:none}.ng-select .ng-spinner-loader{border-radius:50%;width:17px;height:17px;margin-right:5px;font-size:10px;position:relative;text-indent:-9999em;border-top:2px solid rgba(66,66,66,.2);border-right:2px solid rgba(66,66,66,.2);border-bottom:2px solid rgba(66,66,66,.2);border-left:2px solid #424242;transform:translateZ(0);animation:load8 .8s infinite linear}.ng-select .ng-spinner-loader:after{border-radius:50%;width:17px;height:17px}@keyframes load8{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.ng-select .ng-arrow-wrapper{cursor:pointer;position:relative;text-align:center;-webkit-user-select:none;user-select:none}.ng-select .ng-arrow-wrapper .ng-arrow{pointer-events:none;display:inline-block;height:0;width:0;position:relative}.ng-dropdown-panel{box-sizing:border-box;position:absolute;opacity:0;width:100%;z-index:1050;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .ng-dropdown-panel-items{display:block;height:auto;box-sizing:border-box;max-height:240px;overflow-y:auto}.ng-dropdown-panel .ng-dropdown-panel-items .ng-optgroup{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option{box-sizing:border-box;cursor:pointer;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .ng-option-label:empty:before{content:"\\200b"}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option .highlighted{font-weight:700;text-decoration:underline}.ng-dropdown-panel .ng-dropdown-panel-items .ng-option.disabled{cursor:default}.ng-dropdown-panel .scroll-host{overflow:hidden;overflow-y:auto;position:relative;display:block;-webkit-overflow-scrolling:touch}.ng-dropdown-panel .scrollable-content{top:0;left:0;width:100%;height:100%;position:absolute}.ng-dropdown-panel .total-padding{width:1px;opacity:0}\n'],encapsulation:2,changeDetection:0}),t})();function Rie(){return new Fie}class Fie{constructor(){this._selected=[]}get value(){return this._selected}select(n,e,i){if(n.selected=!0,(!n.children||!e&&i)&&this._selected.push(n),e)if(n.parent){const o=n.parent.children.length,s=n.parent.children.filter(r=>r.selected).length;n.parent.selected=o===s}else n.children&&(this._setChildrenSelectedState(n.children,!0),this._removeChildren(n),this._selected=i&&this._activeChildren(n)?[...this._selected.filter(o=>o.parent!==n),n]:[...this._selected,...n.children.filter(o=>!o.disabled)])}unselect(n,e){if(this._selected=this._selected.filter(i=>i!==n),n.selected=!1,e)if(n.parent&&n.parent.selected){const i=n.parent.children;this._removeParent(n.parent),this._removeChildren(n.parent),this._selected.push(...i.filter(o=>o!==n&&!o.disabled)),n.parent.selected=!1}else n.children&&(this._setChildrenSelectedState(n.children,!1),this._removeChildren(n))}clear(n){this._selected=n?this._selected.filter(e=>e.disabled):[]}_setChildrenSelectedState(n,e){for(const i of n)i.disabled||(i.selected=e)}_removeChildren(n){this._selected=[...this._selected.filter(e=>e.parent!==n),...n.children.filter(e=>e.parent===n&&e.disabled&&e.selected)]}_removeParent(n){this._selected=this._selected.filter(e=>e!==n)}_activeChildren(n){return n.children.every(e=>!e.disabled||e.selected)}}let Pie=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({providers:[{provide:UI,useValue:Rie}],imports:[[it]]}),t})();const Lie=["formSection"];function Bie(t,n){if(1&t&&(l(0,"div",31),h(1,"img",32),c()),2&t){const e=n.$implicit;m(1),v("src",e.img,we)}}function Vie(t,n){1&t&&(l(0,"div"),d(1," Nombre es requerido. "),c())}function jie(t,n){1&t&&(l(0,"div"),d(1," M\xe1ximo 199 caracteres. "),c())}function Hie(t,n){1&t&&(l(0,"div"),d(1," No aplica el apodo. "),c())}function Uie(t,n){if(1&t&&(l(0,"div",33),C(1,Vie,2,0,"div",28),C(2,jie,2,0,"div",28),C(3,Hie,2,0,"div",28),c()),2&t){const e=I();m(1),v("ngIf",null==e.formulario.get("nombres").errors?null:e.formulario.get("nombres").errors.required),m(1),v("ngIf",null==e.formulario.get("nombres").errors?null:e.formulario.get("nombres").errors.maxlength),m(1),v("ngIf",null==e.formulario.get("nombres").errors?null:e.formulario.get("nombres").errors.noEmoji)}}function Gie(t,n){1&t&&(l(0,"div"),d(1," C\xe9dula es requerida. "),c())}function zie(t,n){1&t&&(l(0,"div"),d(1," C\xe9dula inv\xe1lida. "),c())}function qie(t,n){if(1&t&&(l(0,"div",33),C(1,Gie,2,0,"div",28),C(2,zie,2,0,"div",28),c()),2&t){const e=I();m(1),v("ngIf",null==e.formulario.get("cedula").errors?null:e.formulario.get("cedula").errors.required),m(1),v("ngIf",null==e.formulario.get("cedula").errors?null:e.formulario.get("cedula").errors.cedulaInvalida)}}function $ie(t,n){1&t&&(l(0,"div"),d(1," Debes seleccionar una opci\xf3n. "),c())}function Wie(t,n){if(1&t&&(l(0,"div",33),C(1,$ie,2,0,"div",28),c()),2&t){const e=I();let i;m(1),v("ngIf",null==(i=e.formulario.get("provincias"))||null==i.errors?null:i.errors.required)}}function Yie(t,n){1&t&&(l(0,"div"),d(1," Debes seleccionar una opci\xf3n. "),c())}function Qie(t,n){if(1&t&&(l(0,"div",33),C(1,Yie,2,0,"div",28),c()),2&t){const e=I();let i;m(1),v("ngIf",null==(i=e.formulario.get("ciudades"))||null==i.errors?null:i.errors.required)}}function Kie(t,n){1&t&&(l(0,"div"),d(1," Debes seleccionar una opci\xf3n. "),c())}function Zie(t,n){if(1&t&&(l(0,"div",33),C(1,Kie,2,0,"div",28),c()),2&t){const e=I();let i;m(1),v("ngIf",null==(i=e.formulario.get("pdvs"))||null==i.errors?null:i.errors.required)}}function Jie(t,n){1&t&&(l(0,"div"),d(1," Debes seleccionar una opci\xf3n. "),c())}function Xie(t,n){if(1&t&&(l(0,"div",33),C(1,Jie,2,0,"div",28),c()),2&t){const e=I();m(1),v("ngIf",null==e.formulario.get("cargos").errors?null:e.formulario.get("cargos").errors.required)}}function eoe(t,n){if(1&t&&(l(0,"span"),d(1),c()),2&t){const e=I();m(1),le(e.archivo.name)}}function toe(t,n){1&t&&(l(0,"div",34),h(1,"img",35),l(2,"p"),d(3,"Subiendo tu archivo, por favor espera..."),c()())}let noe=(()=>{class t{constructor(e,i,o){this.fb=e,this.http=i,this.localidadService=o,this.isSubmitting=!1,this.baseUrl=".",this.isUploading=!1,this.localidades=[],this.provincias=[],this.ciudades=[],this.pdvs=[],this.selectedProvincia="",this.selectedCiudad="",this.selectedPdv="",this.archivo=null,this.esMovil=!1,this.slides=[{img:"assets/img/mesdelnino/1@2x.png",alt:"Un entorno que se siente como en casa"},{img:"assets/img/mesdelnino/2@2x.png",alt:"Crecimiento que s\xed se nota"},{img:"assets/img/mesdelnino/3@2x.png",alt:"Capacitaciones reales + beneficios internos"},{img:"assets/img/mesdelnino/4@2x.png",alt:"Marca con impacto internacional"},{img:"assets/img/mesdelnino/5@2x.png",alt:"Ayuda a crear momentos inolvidables"}],this.cargos=["Administrador","Polifuncional","Polifuncional medio tiempo","Apoyo"],this.crearFormulario()}ngOnInit(){this.detectarDispositivo(),this.localidadService.getLocalidades().subscribe(e=>{this.localidades=e;const i=new Set(e.map(o=>o.provincia_suc).sort((o,s)=>o.localeCompare(s)));this.provincias=Array.from(i)})}crearFormulario(){this.formulario=this.fb.group({nombres:["",[dt.required,dt.maxLength(199),this.noEmojiValidator]],cedula:["",[dt.required,this.validarCedulaEcuatoriana]],provincias:[null,dt.required],ciudades:[null,dt.required],pdvs:[null,dt.required],cargos:[null,dt.required]})}enviar(){var e=this;return Yi(function*(){if(console.log("Estado del formulario:",e.formulario.status),!e.formulario.invalid){e.isSubmitting=!0,e.isUploading=!0;try{const i=new FormData;if(i.append("nombres",e.formulario.value.nombres),i.append("cedula",e.formulario.value.cedula),i.append("provincias",e.formulario.value.provincias),i.append("ciudades",e.formulario.value.ciudades),i.append("pdvs",e.formulario.value.pdvs),i.append("cargo",e.formulario.value.cargos),Object.keys(i).forEach(s=>{"string"==typeof i[s]&&(i[s]=i[s].trim())}),!e.archivo)return alert("Por favor adjunta tu curr\xedculum en PDF antes de enviar."),void(e.isUploading=!1);e.archivo&&i.append("archivo",e.archivo);const o=yield e.http.post(`${e.baseUrl}/APIBOGATI/queso/TrabajaConNosotros.php`,i).toPromise();if(i.forEach((s,r)=>{console.log(r,s)}),!o||!o.success)throw new Error((null==o?void 0:o.error)||"Error desconocido del servidor");e.isUploading=!1,setTimeout(()=>{alert("\xa1Formulario enviado con \xe9xito!"),e.reset()},50),fbq("trackCustom","FormTHBogati",{nombre:e.formulario.value.nombres,provincia:e.formulario.value.provincias,ciudad:e.formulario.value.ciudades,cargo:e.formulario.value.cargos})}catch(i){console.error("Error completo:",i),alert(`Error al enviar: ${i.message||"Por favor, int\xe9ntalo de nuevo"}`),e.isUploading=!1}finally{e.isSubmitting=!1}}})()}reset(){this.formulario.reset({nombres:"",cedula:"",provincias:"",ciudades:"",pdvs:"",cargos:"",archivo:""}),this.formulario.markAsPristine(),this.formulario.markAsUntouched(),this.archivo=null;const e=document.querySelector("archivoInput");e&&(e.value="")}onFileChange(e){this.archivo=e.target.files[0]}onArchivoSeleccionado(e){const i=e.target.files[0];if(i)return"application/pdf"===i.type?i.size>10485760?(alert("El archivo excede el tama\xf1o m\xe1ximo de 10MB."),void(this.archivo=null)):void(this.archivo=i):(alert("Solo se permiten archivos en formato PDF."),void(this.archivo=null))}validarCedulaEcuatoriana(e){const i=e.value;if(!/^\d{10}$/.test(i))return{cedulaInvalida:!0};const o=parseInt(i.substring(0,2),10);if(o<1||o>24)return{cedulaInvalida:!0};const s=i.split("").map(Number),r=s.pop();let a=0;for(let p=0;p9&&(f-=9)),a+=f}return(10-a%10)%10!==r?{cedulaInvalida:!0}:null}scrollToForm(){this.formSection.nativeElement.scrollIntoView({behavior:"smooth"})}detectarDispositivo(){this.esMovil=window.innerWidth<=768}onProvinceChange(e){var i,o;const s=this.localidades.filter(r=>r.provincia_suc===e).map(r=>r.ciudad_suc.replace(/\s*-\s*$/,""));this.ciudades=Array.from(new Set(s)).sort((r,a)=>r.localeCompare(a)),this.pdvs=[],null===(i=this.formulario.get("ciudades"))||void 0===i||i.reset(),null===(o=this.formulario.get("pdvs"))||void 0===o||o.reset()}onCiudadChange(e){var i;this.pdvs=this.localidades.filter(o=>o.ciudad_suc===e).map(o=>o.nombre_suc.replace(/\s*-\s*$/,"")).sort((o,s)=>o.localeCompare(s)),null===(i=this.formulario.get("pdvs"))||void 0===i||i.reset()}minimoUnCheckboxSeleccionadoValidator(){return e=>Object.values(e.controls).some(s=>!0===s.value)?null:{minimoUnSeleccionado:!0}}noEmojiValidator(e){const i=e.value;return i&&/(\p{Emoji_Presentation}|\p{Extended_Pictographic})/gu.test(i)?{noEmoji:!0}:null}}return t.\u0275fac=function(e){return new(e||t)(_(x0),_(dn),_(Ane))},t.\u0275cmp=N({type:t,selectors:[["app-trabajaconnosotros"]],viewQuery:function(e,i){if(1&e&&me(Lie,5),2&e){let o;F(o=P())&&(i.formSection=o.first)}},hostBindings:function(e,i){1&e&&D("resize",function(){return i.detectarDispositivo()},!1,cb)},decls:61,vars:34,consts:[[1,"layout-trabajocn"],[1,"banner-unico"],[1,"banner-wrapper"],["src","assets/img/mesdelnino/TrabajaConNostros_Web.jpg","alt","Banner trabaja con nosotros"],[1,"boton-postulate",3,"click"],[1,"banner-mobile"],["src","assets/img/mesdelnino/BannerTC_movil.jpg","alt","Bogati S.A.S",1,"banner-imgTC"],[1,"boton-postulate1",3,"click"],[1,"texto-TC"],[1,"beneficios-banner"],["src","assets/img/mesdelnino/Cajas de texto.png","alt","Beneficios desktop",1,"banner-img","banner-desktopTC"],[1,"beneficiosTC-movil"],["styleClass","custom-carousel",3,"value","numVisible","numScroll","circular","autoplayInterval","showIndicators"],["pTemplate","item"],["formSection",""],[1,"formularioSeccionTC"],[1,"formulario-cardTCN"],[3,"formGroup","ngSubmit"],[1,"label-formulario"],["type","text","id","nombres","formControlName","nombres","placeholder","Escribe tu nombre y apellido",1,"input_correo"],["class","error-message",4,"ngIf"],["type","text","id","cedula","formControlName","cedula","placeholder","C\xe9dula",1,"input_correo"],["formControlName","provincias",1,"provincias",3,"items","searchable","clearable","closeOnSelect","change"],["formControlName","ciudades",1,"provincias",3,"items","searchable","clearable","closeOnSelect","disabled","change"],["formControlName","pdvs",1,"provincias",3,"items","searchable","clearable","disabled"],["formControlName","cargos",1,"provincias",3,"items","searchable","clearable"],[1,"custom-file-uploadTCN"],["id","archivoInput","type","file","accept",".pdf",3,"change"],[4,"ngIf"],["class","loader-overlay",4,"ngIf"],["type","submit",1,"buton_enviar_tcn",3,"disabled"],[1,"slide-container"],["alt","Bogati",3,"src"],[1,"error-message"],[1,"loader-overlay"],["src","assets/img/mesdelnino/loader.gif","alt","Procesando..."]],template:function(e,i){if(1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"router-outlet")(3,"section",1)(4,"div",2),h(5,"img",3),l(6,"button",4),D("click",function(){return i.scrollToForm()}),d(7," Post\xfalate "),c()(),l(8,"div",5),h(9,"img",6),l(10,"button",7),D("click",function(){return i.scrollToForm()}),d(11," Post\xfalate "),c()()(),l(12,"section",8)(13,"h2"),d(14,"\xa1Tu primer paso hacia el \xe9xito comienza aqu\xed!"),c()(),l(15,"section",9),h(16,"img",10),c(),l(17,"section",11)(18,"p-carousel",12),C(19,Bie,2,1,"ng-template",13),c()(),l(20,"section",8,14)(22,"h2"),d(23,"Llena el formulario y empieza con la postulaci\xf3n"),c(),l(24,"p"),d(25,"\xa1Tu primer paso hacia la \xe9xito comienza aqu\xed!"),c()(),l(26,"section",15)(27,"div",16)(28,"form",17),D("ngSubmit",function(){return i.enviar()}),l(29,"label",18),d(30,"Nombre y Apellido"),c(),h(31,"input",19),C(32,Uie,4,3,"div",20),l(33,"label",18),d(34,"C\xe9dula"),c(),h(35,"input",21),C(36,qie,3,2,"div",20),l(37,"label",18),d(38,"Provincia"),c(),l(39,"ng-select",22),D("change",function(s){return i.onProvinceChange(s)}),c(),C(40,Wie,2,1,"div",20),l(41,"label",18),d(42,"Ciudad"),c(),l(43,"ng-select",23),D("change",function(s){return i.onCiudadChange(s)}),c(),C(44,Qie,2,1,"div",20),l(45,"label",18),d(46,"Punto de Venta"),c(),h(47,"ng-select",24),C(48,Zie,2,1,"div",20),l(49,"label",18),d(50,"\xbfQu\xe9 cargo te gustar\xeda aplicar?"),c(),h(51,"ng-select",25),C(52,Xie,2,1,"div",20),l(53,"label",26)(54,"input",27),D("change",function(s){return i.onArchivoSeleccionado(s)}),c(),d(55," \u{1f4c4} Adjunta tu hoja de vida (PDF) "),c(),C(56,eoe,2,1,"span",28),C(57,toe,4,0,"div",29),l(58,"button",30),d(59," Enviar "),c()()()()()(),h(60,"app-footer")),2&e){let o,s,r;m(18),v("value",i.slides)("numVisible",1)("numScroll",1)("circular",!0)("autoplayInterval",5e3)("showIndicators",!1),m(10),v("formGroup",i.formulario),m(4),v("ngIf",i.formulario.get("nombres").invalid&&(i.formulario.get("nombres").dirty||i.formulario.get("nombres").touched)),m(4),v("ngIf",i.formulario.get("cedula").invalid&&(i.formulario.get("cedula").dirty||i.formulario.get("cedula").touched)),m(3),v("items",i.provincias)("searchable",!0)("clearable",!0)("closeOnSelect",!0),m(1),v("ngIf",(null==(o=i.formulario.get("provincias"))?null:o.invalid)&&((null==(o=i.formulario.get("provincias"))?null:o.dirty)||(null==(o=i.formulario.get("provincias"))?null:o.touched))),m(3),v("items",i.ciudades)("searchable",!0)("clearable",!0)("closeOnSelect",!0)("disabled",!i.formulario.get("provincias").value),m(1),v("ngIf",(null==(s=i.formulario.get("ciudades"))?null:s.invalid)&&((null==(s=i.formulario.get("ciudades"))?null:s.dirty)||(null==(s=i.formulario.get("ciudades"))?null:s.touched))),m(3),v("items",i.pdvs)("searchable",!0)("clearable",!0)("disabled",!i.formulario.get("ciudades").value),m(1),v("ngIf",(null==(r=i.formulario.get("pdvs"))?null:r.invalid)&&((null==(r=i.formulario.get("pdvs"))?null:r.dirty)||(null==(r=i.formulario.get("pdvs"))?null:r.touched))),m(3),v("items",i.cargos)("searchable",!0)("clearable",!0),m(1),v("ngIf",i.formulario.get("cargos").invalid&&(i.formulario.get("cargos").dirty||i.formulario.get("cargos").touched)),m(4),v("ngIf",i.archivo),m(1),v("ngIf",i.isUploading),m(1),oe("activo",i.formulario.valid&&!i.isSubmitting),v("disabled",i.formulario.invalid||i.isSubmitting)}},directives:[ye,Rd,_1,Ep,Kh,jh,Es,wt,It,kc,Ye,kie,Ee],styles:[""]}),t})();function ioe(t,n){if(1&t&&(l(0,"div",13)(1,"div",14),d(2),c(),h(3,"br"),l(4,"div",15)(5,"b"),d(6,"Horario: "),c(),d(7),c(),l(8,"div",15)(9,"b"),d(10,"Direcci\xf3n: "),c(),l(11,"span"),d(12),c()(),h(13,"br"),l(14,"a",16),R(),l(15,"svg",17),h(16,"path",9)(17,"path",18)(18,"circle",19),c(),d(19," Google Maps "),c()()),2&t){const e=n.$implicit;m(2),cn(" ",e.nombre_suc," ",e.sector_suc," "),m(5),U(" ",e.horario_suc," "),m(5),le(e.direccion_suc),m(2),v("href",e.dirmaps_suc,we)}}let ooe=(()=>{class t{constructor(e,i){this._sucursales=e,this.toastr=i,this.showSpinner=!1,this.ciudadBusqueda=""}ngOnInit(){this.loadTiendasWarner()}loadTiendasWarner(){this._sucursales.getTiendasWarner().subscribe(e=>{this.showSpinner=!1,this.listaWarner=e})}busquedaCiudad(){this.showSpinner=!0,this.ciudadBusqueda.length<=0?this._sucursales.getBusquedatiendasWarner(this.ciudadBusqueda).subscribe(e=>{this.listaWarner=e,this.showSpinner=!1;for(let i=0;i{if(e.length){this.listaWarner=e;for(let i=0;i{class t{constructor(e,i,o){this.fb=e,this.toastr=i,this.http=o,this.countries=["Ecuador","USA"],this.citiesByCountry={Ecuador:["Azuay","Ba\xf1os de Agua Santa","Guayaquil","Machala","Manab\xed 1","Manab\xed 2","Pujil\xed","Quito 1","Quito 2"],USA:["California","Florida","Illinois","Massachusetts","New Jersey","New Jersey 2","North Carolina","Pennsylvania"]},this.cities=[],this.selectedVideos=[],this.selectedVideosExperiencias=[],this.selectedImages=[],this.autoSlide=!0,this.nombre="",this.telefono="",this.correo="",this.ciudad="",this.ciudadfranquicia="",this.razon="",this.razon2="",this.motivo="",this.cedula="",this.isSubmitting=!1,this.animarBarras=!1,this.imagesByCity={Azuay:["Azuay - Ponce Enriquez.jpg"],"Ba\xf1os de Agua Santa":["Ba\xf1os.jpg"],Machala:["Machala - Alamor.jpg","Machala - Parque Ugarte.jpg","Machala - Rocafuerte.jpg"],"Manab\xed 1":["Manab\xed0 - Chone.jpg","Manab\xed0 - Portoviejo.jpg","Manab\xed0- Manta.jpg"],"Manab\xed 2":["Manab\xed2 - Jipijapa.jpg","Manab\xed2 - Jocay.jpg","Manab\xed2 - Pedro Carbo.jpg"],Guayaquil:["Guayaquil - Ceibos.jpg"],"Quito 1":["Quito - El Inca.jpg","Quito - Solanda Ajav\xed.jpg"],"Quito 2":["Quito2 - La Floresta.jpg","Quito2 - Susana Letor.jpg"],Pujil\u00ed:["Pujili2.jpg"],Massachusetts:["Massachusetts-VF Boston.jpg"],"North Carolina":["North Carolina-Charlotte.jpg"],California:["California-San Diego.jpg","California-San Francisco.jpg","California-Los Angeles.jpg"],Illinois:["Illinois-Chicago.jpg"],Pennsylvania:["Pennsylvania-Philadelphia.jpg","Pennsylvania-Pittsburgh.jpg"],Florida:["Florida-Orlando.jpg","Florida-Miami.jpg"],"New Jersey":["New Jersey-West New York.jpg","New Jersey-Newark.jpg","New Jersey-Elizabeth.jpg"],"New Jersey 2":["New Jersey2-Union City.jpg","New Jersey2-Jersey City.jpg"]},this.videosFq=["videoFq1.mp4","videoFq2.mp4"],this.videosExperiencias=["VideoTest1.mp4","VideoTest2.mp4"],this.stats=[{label:"Modelo de negocio comprobado",value:99,currentValue:0},{label:"Equipo de Marketing consolidado",value:97,currentValue:0},{label:"Flujo Comercial",value:95,currentValue:0},{label:"Compromiso Social",value:93,currentValue:0},{label:"Expansi\xf3n a nivel internacional",value:92,currentValue:0},{label:"Acompa\xf1amiento 360\xb0",value:99,currentValue:0}],this.formBusqueda=this.fb.group({country:["",dt.required],city:["",dt.required]}),this.form=this.fb.group({country:[""],city:[""]}),this.formulario=this.fb.group({nombre:["",dt.required],telefono:["",[dt.required,dt.pattern("^((\\+?)(593|34|1|57)[\\d ]{6,15}|0[2-9][\\d ]{7,8})$")]],correo:["",[dt.required,dt.email]],ciudad:["",dt.required],ciudadfranquicia:["",dt.required],cedula:["",dt.required],pais:["",dt.required]})}ngOnInit(){this.selectedImages=this.imagesByCity["Quito 1"]||[],this.selectedVideos=this.videosFq,this.selectedVideosExperiencias=this.videosExperiencias}onCountryChange(){var e;this.cities=this.citiesByCountry[this.formBusqueda.value.country]||[],null===(e=this.formBusqueda.get("city"))||void 0===e||e.setValue("")}buscar(){if(this.formBusqueda.invalid)return void this.formBusqueda.markAllAsTouched();const{country:e,city:i}=this.formBusqueda.value;this.selectedImages=this.imagesByCity[i]||[],console.log("Buscando en:",e,i),console.log("Im\xe1genes cargadas:",this.selectedImages)}ngAfterViewInit(){const e=new IntersectionObserver(([i])=>{i.isIntersecting&&(this.animarBarras=!0,e.disconnect())},{threshold:.5});e.observe(this.statsSection.nativeElement)}animateProgressBars(){this.stats.forEach((e,i)=>{const o=setInterval(()=>{e.currentValue{this.toastr.success("Un asesor te contactar\xe1.","\xc9xito",{timeOut:1e3}),fbq("trackCustom","FormFranquicias",{pais:this.formulario.value.pais,nombre:this.formulario.value.nombre,cedula:this.formulario.value.cedula,telefono:this.formulario.value.telefono,correo:this.formulario.value.correo,ciudad:this.formulario.value.ciudad,ciudadfranquicia:this.formulario.value.ciudadfranquicia})},s=>{console.error("Error enviando a Kommo CRM:",s),this.toastr.error("Error al enviar.","ERROR",{timeOut:1e3})},()=>{this.reset(),this.isSubmitting=!1})}reset(){this.formulario.reset()}}return t.\u0275fac=function(e){return new(e||t)(_(x0),_(Re),_(dn))},t.\u0275cmp=N({type:t,selectors:[["app-franquiciasnew"]],viewQuery:function(e,i){if(1&e&&me(soe,5),2&e){let o;F(o=P())&&(i.statsSection=o.first)}},decls:112,vars:22,consts:[[1,"landing-container"],[1,"layout-franquiciasnew"],[1,"banner-inicio-franquiciasnew"],[3,"interval","pauseOnHover","keyboard","wrap"],["ngbSlide",""],[1,"buscador-imagenes-layout"],[1,"contenido-wrapper"],[1,"buscador-box"],[3,"formGroup"],["formControlName","country",3,"change"],["value","","disabled","","selected",""],[3,"value",4,"ngFor","ngForOf"],["class","error-message",4,"ngIf"],["formControlName","city"],["type","button",3,"click"],["class","imagenes-preview-box",4,"ngIf"],[1,"icons-section"],[1,"icon-box"],["src","assets/img/franquicias/icono_persona.png","alt","Persona"],["src","assets/img/franquicias/icono_candado.png","alt","Seguridad"],["src","assets/img/franquicias/icono_medalla.png","alt","Soporte"],[1,"franchise-info-grid"],["statsSection",""],[1,"stats-grid"],[2,"text-align","center","font-weight","bold"],[4,"ngFor","ngForOf"],["class","videos-section",4,"ngIf"],[1,"franquiciasnew-testimonios"],[1,"franquiciasnew-container"],[1,"franquiciasnew-left"],[1,"franquiciasnew-title"],[1,"franquiciasnew-subtitle"],["class","videos-section-testimonios",4,"ngIf"],[1,"franquiciasnew-right"],[1,"franquiciasnew-form-title"],[1,"franquiciasnew-form",3,"formGroup","ngSubmit"],[1,"textosFranquiciasForm"],["formControlName","pais","required","",1,"input_correo"],["value","Ecuador"],["value","Estados Unidos"],["value","Espa\xf1a"],["value","Otros"],["type","text","formControlName","nombre","placeholder","Escribe tu nombre completo","required","",1,"input_correo"],["type","text","formControlName","cedula","placeholder","Escribe tu c\xe9dula","required","",1,"input_correo"],["type","text","formControlName","telefono","placeholder","N\xfamero de tel\xe9fono personal","required","",1,"input_correo"],["type","email","formControlName","correo","placeholder","Correo electr\xf3nico personal","required","",1,"input_correo"],["type","text","formControlName","ciudad","placeholder","Ciudad donde reside","required","",1,"input_correo"],["type","text","formControlName","ciudadfranquicia","placeholder","Ciudad para la franquicia","required","",1,"input_correo"],["type","submit",1,"buton__flecha",2,"width","100%","text-align","center","border-radius","5px",3,"disabled","click"],[1,"franquiciasnew-mapas"],[1,"franquiciasnew-mapas-container"],[1,"franquiciasnew-mapa-box"],[1,"franquiciasnew-mapa-titulo"],["src","https://www.google.com/maps/d/u/0/embed?mid=1R6Sn_xaXaIwJ9pCWEtOv0lJNbuCNTMw&ehbc=2E312F","width","100%","height","500"],["src","https://www.google.com/maps/d/embed?mid=1Vfc-ZJVCj--LzcMHJdRzWRmGAgGx3mk&ehbc=2E312F","width","100%","height","500"],[1,"banner-wrapper-franquiciasnew"],["src","assets/img/franquicias/Banners-Landing-FN-01.jpg","alt","Bogati Sabor Adictivo"],["src","assets/img/franquicias/Banners-Landing-FN-02.jpg","alt","Bogati Sabor Adictivo"],["src","assets/img/franquicias/Banners-Landing-FN-03.jpg","alt","Bogati Sabor Adictivo"],[3,"value"],[1,"error-message"],[1,"imagenes-preview-box"],["class","imagen-card",4,"ngFor","ngForOf"],[1,"imagen-card"],["alt","Franquicia",3,"src"],[1,"progress-bar"],[1,"progress-fill"],[1,"videos-section"],[3,"showNavigationArrows","showNavigationIndicators","interval"],["controls","",2,"width","100%","border-radius","10px",3,"src","play","pause"],[1,"videos-section-testimonios"],[4,"ngIf"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"section",2)(4,"ngb-carousel",3),C(5,roe,2,0,"ng-template",4),C(6,aoe,2,0,"ng-template",4),C(7,loe,2,0,"ng-template",4),c()(),l(8,"section",5)(9,"div",6)(10,"div",7)(11,"form",8)(12,"label"),d(13,"Pa\xeds"),c(),l(14,"select",9),D("change",function(){return i.onCountryChange()}),l(15,"option",10),d(16,"Seleccione pa\xeds..."),c(),C(17,coe,2,2,"option",11),c(),C(18,uoe,2,0,"div",12),l(19,"label"),d(20,"Ciudad"),c(),l(21,"select",13)(22,"option",10),d(23,"Seleccione ciudad..."),c(),C(24,doe,2,2,"option",11),c(),C(25,hoe,2,0,"div",12),l(26,"button",14),D("click",function(){return i.buscar()}),d(27,"BUSCAR"),c()()(),C(28,foe,2,1,"div",15),c()(),l(29,"section",16)(30,"div",17),h(31,"img",18),l(32,"p"),d(33," Reducci\xf3n de riesgos e incertidumbres al ser propietario de un negocio acreditado "),c()(),l(34,"div",17),h(35,"img",19),l(36,"p"),d(37,"Acceso a experiencia, tecnolog\xeda y know how."),c()(),l(38,"div",17),h(39,"img",20),l(40,"p"),d(41,"Formaci\xf3n, asistencia, capacitaci\xf3n inicial y soporte comercial"),c()()(),l(42,"section",21,22)(44,"div",23)(45,"h2",24),d(46," \xbfPor qu\xe9 elegir nuestras Franquicias? "),c(),C(47,moe,6,4,"div",25),c(),C(48,voe,3,4,"section",26),c(),l(49,"section",27)(50,"div",28)(51,"div",29)(52,"h2",30),d(53,"TESTIMONIOS"),c(),l(54,"p",31),d(55," Conoce las experiencias de quienes decidieron invertir en Bogati y hoy forman parte de nuestra red de franquiciados. "),c(),C(56,Coe,3,4,"section",32),c(),l(57,"div",33)(58,"h3",34),d(59," Completa el siguiente formulario para que podamos contactarte "),c(),l(60,"form",35),D("ngSubmit",function(){return i.enviar()}),l(61,"div",36),d(62," Selecciona el pa\xeds donde quieres la franquicia "),c(),l(63,"select",37)(64,"option",10),d(65,"Selecciona un pa\xeds"),c(),l(66,"option",38),d(67,"Ecuador"),c(),l(68,"option",39),d(69,"Estados Unidos"),c(),l(70,"option",40),d(71,"Espa\xf1a"),c(),l(72,"option",41),d(73,"Otros"),c()(),C(74,Doe,2,1,"div",12),l(75,"div",36),d(76,"Nombre y Apellido"),c(),h(77,"input",42),C(78,Toe,2,1,"div",12),l(79,"div",36),d(80,"N\xfamero de identificaci\xf3n"),c(),h(81,"input",43),C(82,Ioe,3,2,"div",12),l(83,"div",36),d(84,"Tel\xe9fono"),c(),h(85,"input",44),C(86,Ooe,3,2,"div",12),l(87,"div",36),d(88,"Correo Electr\xf3nico"),c(),h(89,"input",45),C(90,Roe,3,2,"div",12),l(91,"div",36),d(92,"Localidad donde reside"),c(),h(93,"input",46),C(94,Poe,2,1,"div",12),l(95,"div",36),d(96," Localidad donde desea abrir una sucursal "),c(),h(97,"input",47),C(98,Boe,2,1,"div",12),l(99,"button",48),D("click",function(){return i.enviar()}),d(100," Enviar "),c()()()()(),l(101,"section",49)(102,"div",50)(103,"div",51)(104,"h3",52),d(105,"Encu\xe9ntranos en Ecuador"),c(),h(106,"iframe",53),c(),l(107,"div",51)(108,"h3",52),d(109,"Encu\xe9ntranos en USA"),c(),h(110,"iframe",54),c()()()()(),h(111,"app-footer")),2&e&&(m(4),v("interval",1e4)("pauseOnHover",!0)("keyboard",!0)("wrap",!0),m(7),v("formGroup",i.formBusqueda),m(6),v("ngForOf",i.countries),m(1),v("ngIf",i.formBusqueda.controls.country.touched&&i.formBusqueda.controls.country.invalid),m(6),v("ngForOf",i.cities),m(1),v("ngIf",i.formBusqueda.controls.city.touched&&i.formBusqueda.controls.city.invalid),m(3),v("ngIf",i.selectedImages.length),m(19),v("ngForOf",i.stats),m(1),v("ngIf",i.selectedVideos.length),m(8),v("ngIf",i.selectedVideosExperiencias.length),m(4),v("formGroup",i.formulario),m(14),v("ngIf",i.formulario.get("pais").invalid&&(i.formulario.get("pais").dirty||i.formulario.get("pais").touched)),m(4),v("ngIf",i.formulario.get("nombre").invalid&&(i.formulario.get("nombre").dirty||i.formulario.get("nombre").touched)),m(4),v("ngIf",i.formulario.get("cedula").invalid&&(i.formulario.get("cedula").dirty||i.formulario.get("cedula").touched)),m(4),v("ngIf",i.formulario.get("telefono").invalid&&(i.formulario.get("telefono").dirty||i.formulario.get("telefono").touched)),m(4),v("ngIf",i.formulario.get("correo").invalid&&(i.formulario.get("correo").dirty||i.formulario.get("correo").touched)),m(4),v("ngIf",i.formulario.get("ciudad").invalid&&(i.formulario.get("ciudad").dirty||i.formulario.get("ciudad").touched)),m(4),v("ngIf",i.formulario.get("ciudadfranquicia").invalid&&(i.formulario.get("ciudadfranquicia").dirty||i.formulario.get("ciudadfranquicia").touched)),m(1),v("disabled",i.isSubmitting))},directives:[ye,At,kt,Kh,jh,Es,Cr,It,kc,Rc,Fc,qe,Ye,Pc,wt,Ee],styles:[""]}),t})();const joe=function(){return["/noticia3"]},Hoe=function(){return["/noticia4"]},Uoe=function(){return["/noticia6"]},Goe=function(){return["/noticia8"]},GI=[{path:"inicio",component:NI},{path:"supermercado",component:bte},{path:"aniversario7",component:(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-aniversario7"]],decls:10,vars:0,consts:[[1,"layout-remodelacion"],[1,"banner-desktop"],["src","assets/img/mesdelnino/Banner-formulario-IncoDesk.jpg","alt","Bogati - INGCO",1,"banner-img"],[1,"banner-mobile"],["src","assets/img/mesdelnino/Banner-formulario-Inco_movil.jpg","alt","Bogati - INGCO",1,"banner-img"],[1,"body_sintalento"],["src","https://docs.google.com/forms/d/e/1FAIpQLSdswEpRNwaEMGZsn7QSR4U6TnrR_LLm6g_b-hrYl6pa76x6HA/viewform","width","100%","height","900","frameborder","0","marginheight","0","marginwidth","0"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1),h(3,"img",2),c(),l(4,"div",3),h(5,"img",4),c()(),l(6,"div",5)(7,"iframe",6),d(8,"Cargando\u2026"),c()(),h(9,"app-footer"))},directives:[ye,Ee],styles:[""]}),t})()},{path:"queso",component:_te},{path:"trabajaconnosotros",component:noe},{path:"trabaja",component:Hee},{path:"nosotros",component:DX},{path:"tiendas",component:pee},{path:"tiendasierra",component:kee},{path:"tiendacosta",component:QX},{path:"tiendaoriente",component:aee},{path:"queofrecemos",component:kX},{path:"heladeria",component:KJ},{path:"faqs",component:cJ},{path:"ods",component:TX},{path:"bogatiplay",component:aJ},{path:"historia",component:eX},{path:"login",component:bX},{path:"politicas",component:AX},{path:"terminos",component:VX},{path:"santodomingo",component:vee},{path:"guayaquil",component:ZX},{path:"quito",component:cee},{path:"ambato",component:gee},{path:"riobamba",component:Pee},{path:"cuenca",component:Dee},{path:"santodomingo2",component:Cee},{path:"fiestas",component:dJ},{path:"directorios",component:qee},{path:"manta",component:Wee},{path:"tena",component:Qee},{path:"puyo",component:Zee},{path:"~stores",component:tte},{path:"tiendaseleccionadas",component:Tte},{path:"blog",component:Wte},{path:"noticia1",component:Ote},{path:"noticia2",component:Lte},{path:"noticia3",component:Xte},{path:"noticia4",component:sne},{path:"noticia5",component:une},{path:"noticia6",component:mne},{path:"noticia7",component:vne},{path:"noticia8",component:Dne},{path:"noticia9",component:Ine},{path:"noticia10",component:(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=N({type:t,selectors:[["app-noticia10"]],decls:44,vars:8,consts:[[1,"contenedor__noticias"],[1,"contenedor__noticias_container"],[1,"contenedor__noticias_container_articulo"],[1,"titulos_2"],[1,"seccion__contactanos"],["src","../../../assets/img/inicio/noticias/noticia10_1.png","alt","Bogati",2,"width","90%","object-fit","contain","border-radius","10px"],[1,"parrafo_noticias"],[1,"franja_menuNoticias"],[1,"franja_menu_imgNoticias"],["src","../../../assets/img/inicio/noticias/noticia10_2.png","alt","Bogati Sabor Adictivo"],[1,"franja_menu_textoNoticias"],[1,"contenedor__noticias_container_banner"],[1,"contenedor__noticias_container_banner_img"],["src","../../../assets/img/inicio/Banner-InicioPromos.jpg","alt","Bogati S.A.S",2,"border-radius","20px"],[1,"contenedor__noticias_container_banner_cards"],["src","../../../assets/img/inicio/noticias/noticia3Portada.jpg","alt","Noticia3",2,"border-radius","25%"],[1,"contenedor__noticias_container_banner_cards_text",3,"routerLink"],["src","../../../assets/img/inicio/noticias/noticia4Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia5Portada.jpg","alt","Noticia3",2,"border-radius","25%"],["src","../../../assets/img/inicio/noticias/noticia8Portada.jpg","alt","Noticia3",2,"border-radius","25%"]],template:function(e,i){1&e&&(h(0,"app-menunuevo"),l(1,"div",0)(2,"div",1)(3,"div",2)(4,"div",3),d(5," Bogati La Carolina, un nuevo concepto que redefine la experiencia dulce "),c(),l(6,"div",4)(7,"div"),h(8,"img",5),c(),l(9,"div",6),d(10," Bogati La Carolina ha dado un salto cualitativo en la reposter\xeda fr\xeda de la capital, presentando una renovaci\xf3n integral que trasciende lo convencional. No se trata simplemente de un cambio en el men\xfa, sino de una transformaci\xf3n completa que fusiona la excelencia en helader\xeda con el arte de la cafeter\xeda especializada, creando un espacio \xfanico donde cada visita se convierte en un momento memorable. "),h(11,"br")(12,"br"),c(),l(13,"div",7)(14,"div",8),h(15,"img",9),c(),l(16,"div",10),d(17," Ubicado en el coraz\xf3n de la ciudad, en Av. Los Shyris y Naciones Unidas (Edificio Shyris Park), este local se ha convertido en el rinc\xf3n perfecto para una pausa reconfortante despu\xe9s del trabajo, un plan familiar lleno de dulzura o un encuentro con amigos en un ambiente acogedor. La verdadera innovaci\xf3n radica en su fusi\xf3n conceptual, donde el helado artesanal alcanza est\xe1ndares gourmet y se complementa con una selecci\xf3n cuidadosa de caf\xe9s especiales. "),h(18,"br")(19,"br"),c()(),l(20,"div",6),d(21," Con horario de lunes a viernes de 10:00 a 19:00, Bogati La Carolina te espera para satisfacer tus antojos matutinos o acompa\xf1ar tus tardes con sabores excepcionales. Este local se posiciona como pionero absoluto en su categor\xeda, marcando un antes y un despu\xe9s en la oferta dulce de Quito, invitando a los quite\xf1os a descubrir una experiencia gastron\xf3mica \xfanica donde la tradici\xf3n del helado se encuentra con la innovaci\xf3n de la cafeter\xeda premium. "),h(22,"br"),c()()(),l(23,"div",11)(24,"div",12),h(25,"img",13),c(),l(26,"div",14),h(27,"img",15),l(28,"div",16),d(29," Celebramos nuestras ra\xedces en la Fiesta de la Fruta y de las Flores 2024: Unidos por el Patrimonio Cultural de Ambato "),c()(),l(30,"div",14),h(31,"img",17),l(32,"div",16),d(33," Celebrando la Diversidad: Bogati y sus Helados con Queso honran el D\xeda Mundial del S\xedndrome de Down "),c()(),l(34,"div",14),h(35,"img",18),l(36,"div",16),d(37," Bogati aterriza en Estados Unidos y enamora con su sabor adictivo a New York "),c()(),l(38,"div",14),h(39,"img",19),l(40,"div",16),d(41," Bogati Impulsa el Empleo Juvenil en Ecuador y se suma a la Ruta de la Empleabilidad "),c()()()(),h(42,"br")(43,"app-footer"),c()),2&e&&(m(28),v("routerLink",O(4,joe)),m(4),v("routerLink",O(5,Hoe)),m(4),v("routerLink",O(6,Uoe)),m(4),v("routerLink",O(7,Goe)))},directives:[ye,Xe,Ee],styles:[""]}),t})()},{path:"tiendaswarner",component:ooe},{path:"franquicias",component:Voe},{path:"quejas",component:vte},{path:"castingbogati",component:Bte},{path:"recovery/:hash/:id_usu",component:FX},{path:"administracion",canActivate:[kI],component:zZ},{path:"perfil",canActivate:[kI],component:WZ},{path:"**",component:NI}],zoe={scrollPositionRestoration:"top",anchorScrolling:"enabled",scrollOffset:[0,0],onSameUrlNavigation:"reload"};let zI=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[e_.forRoot(GI,{useHash:!0,initialNavigation:"enabled"}),[e_.forRoot(GI,zoe)]],e_]}),t})(),qoe=(()=>{class t{constructor(e){this.router=e,this.title="bogati",this.router.events.pipe(ut(o=>o instanceof Ia)).subscribe(o=>{gtag("config","G-378277ZMBP",{page_path:o.urlAfterRedirects})})}}return t.\u0275fac=function(e){return new(e||t)(_(gt))},t.\u0275cmp=N({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(e,i){1&e&&h(0,"router-outlet")},directives:[Rd],styles:[""]}),t})(),Woe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it,m1]]}),t})(),Qoe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it,m1],f1]}),t})(),Koe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({}),t})(),Zoe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({imports:[[it,_t,Koe,lh]]}),t})();class ase{constructor(){this.change=new H,this.instances={},this.DEFAULT_ID="DEFAULT_PAGINATION_ID"}defaultId(){return this.DEFAULT_ID}register(n){return null==n.id&&(n.id=this.DEFAULT_ID),this.instances[n.id]?this.updateInstance(n):(this.instances[n.id]=n,!0)}updateInstance(n){let e=!1;for(let i in this.instances[n.id])n[i]!==this.instances[n.id][i]&&(this.instances[n.id][i]=n[i],e=!0);return e}getCurrentPage(n){return this.instances[n]?this.instances[n].currentPage:1}setCurrentPage(n,e){if(this.instances[n]){let i=this.instances[n];e<=Math.ceil(i.totalItems/i.itemsPerPage)&&1<=e&&(this.instances[n].currentPage=e,this.change.emit(n))}}setTotalItems(n,e){this.instances[n]&&0<=e&&(this.instances[n].totalItems=e,this.change.emit(n))}setItemsPerPage(n,e){this.instances[n]&&(this.instances[n].itemsPerPage=e,this.change.emit(n))}getInstance(n=this.DEFAULT_ID){return this.instances[n]?this.clone(this.instances[n]):{}}clone(n){var e={};for(var i in n)n.hasOwnProperty(i)&&(e[i]=n[i]);return e}}let lse=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t}),t.\u0275inj=Z({providers:[ase],imports:[[it]]}),t})(),cse=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=J({type:t,bootstrap:[qoe]}),t.\u0275inj=Z({providers:[Ve,Ea,{provide:Xs,useClass:fg}],imports:[[Jw,zI,NQ,TV,DH,lq,jj,eq,Mz,FH,G3,L3,y9,oU.forRoot(),Aj,GJ,Woe,Qoe,Zoe,lse,qq,zI,B3,Pie]]}),t})();(function S5(){lw=!1})(),N6().bootstrapModule(cse).catch(t=>console.error(t))}},Ge=>{Ge(Ge.s=290)}]);