define(["exports","npm:@glidejs/glide/dist/glide.js","systemjs","npm:navigo/lib/navigo.js","npm:zenscroll/zenscroll.js","npm:dompurify/dist/purify.js","css:/rating-box.css"],(function(e,t,n,i,r,s,o){"use strict";function a(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(n){if("default"!==n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}})),t.default=e,Object.freeze(t)}var l=a(n).default;let c=null,u=1;const d=Symbol("SIGNAL");function h(e){const t=c;return c=e,t}const p={version:0,lastCleanEpoch:0,dirty:!1,producerNode:void 0,producerLastReadVersion:void 0,producerIndexOfThis:void 0,nextProducerIndex:0,liveConsumerNode:void 0,liveConsumerIndexOfThis:void 0,consumerAllowSignalWrites:!1,consumerIsAlwaysLive:!1,producerMustRecompute:()=>!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{}};function f(e){if((!m(e)||e.dirty)&&(e.dirty||e.lastCleanEpoch!==u)){if(!e.producerMustRecompute(e)&&!g(e))return e.dirty=!1,void(e.lastCleanEpoch=u);e.producerRecomputeValue(e),e.dirty=!1,e.lastCleanEpoch=u}}function g(e){v(e);for(let t=0;t<e.producerNode.length;t++){const n=e.producerNode[t],i=e.producerLastReadVersion[t];if(i!==n.version)return!0;if(f(n),i!==n.version)return!0}return!1}function _(e,t){if(function(e){var t,n;null!==(t=e.liveConsumerNode)&&void 0!==t||(e.liveConsumerNode=[]),null!==(n=e.liveConsumerIndexOfThis)&&void 0!==n||(e.liveConsumerIndexOfThis=[])}(e),v(e),1===e.liveConsumerNode.length)for(let t=0;t<e.producerNode.length;t++)_(e.producerNode[t],e.producerIndexOfThis[t]);const n=e.liveConsumerNode.length-1;if(e.liveConsumerNode[t]=e.liveConsumerNode[n],e.liveConsumerIndexOfThis[t]=e.liveConsumerIndexOfThis[n],e.liveConsumerNode.length--,e.liveConsumerIndexOfThis.length--,t<e.liveConsumerNode.length){const n=e.liveConsumerIndexOfThis[t],i=e.liveConsumerNode[t];v(i),i.producerIndexOfThis[n]=t}}function m(e){var t,n;return e.consumerIsAlwaysLive||(null!==(t=null==e||null===(n=e.liveConsumerNode)||void 0===n?void 0:n.length)&&void 0!==t?t:0)>0}function v(e){var t,n,i;null!==(t=e.producerNode)&&void 0!==t||(e.producerNode=[]),null!==(n=e.producerIndexOfThis)&&void 0!==n||(e.producerIndexOfThis=[]),null!==(i=e.producerLastReadVersion)&&void 0!==i||(e.producerLastReadVersion=[])}var b=function(e,t){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},b(e,t)};function y(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}b(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var w=function(){return w=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},w.apply(this,arguments)};function E(e,t,n,i){return new(n||(n=Promise))((function(r,s){function o(e){try{l(i.next(e))}catch(e){s(e)}}function a(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}l((i=i.apply(e,t||[])).next())}))}function T(e,t){var n,i,r,s,o={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return s={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function a(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,a[0]&&(o=0)),o;)try{if(n=1,i&&(r=2&a[0]?i.return:a[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,a[1])).done)return r;switch(i=0,r&&(a=[2&a[0],r.value]),a[0]){case 0:case 1:r=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,i=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(r=o.trys,(r=r.length>0&&r[r.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!r||a[1]>r[0]&&a[1]<r[3])){o.label=a[1];break}if(6===a[0]&&o.label<r[1]){o.label=r[1],r=a;break}if(r&&o.label<r[2]){o.label=r[2],o.ops.push(a);break}r[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],i=0}finally{n=r=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}function I(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function C(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,s=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)o.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return o}function S(e,t,n){if(n||2===arguments.length)for(var i,r=0,s=t.length;r<s;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function A(e){return this instanceof A?(this.v=e,this):new A(e)}function x(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(e){r[e]&&(i[e]=function(t){return new Promise((function(n,i){s.push([e,t,n,i])>1||a(e,t)}))})}function a(e,t){try{(n=r[e](t)).value instanceof A?Promise.resolve(n.value.v).then(l,c):u(s[0][2],n)}catch(e){u(s[0][3],e)}var n}function l(e){a("next",e)}function c(e){a("throw",e)}function u(e,t){e(t),s.shift(),s.length&&a(s[0][0],s[0][1])}}function D(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=I(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise((function(i,r){(function(e,t,n,i){Promise.resolve(i).then((function(t){e({value:t,done:n})}),t)})(i,r,(t=e[n](t)).done,t.value)}))}}}function R(e){return"function"==typeof e}function k(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var O=k((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n  "):"",this.name="UnsubscriptionError",this.errors=t}}));function N(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var F=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,i,r;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var o=I(s),a=o.next();!a.done;a=o.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else s.remove(this);var l=this.initialTeardown;if(R(l))try{l()}catch(e){r=e instanceof O?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=I(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{M(h)}catch(e){r=null!=r?r:[],e instanceof O?r=S(S([],C(r)),C(e.errors)):r.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(i=u.return)&&i.call(u)}finally{if(n)throw n.error}}}if(r)throw new O(r)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)M(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&N(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&N(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),L=F.EMPTY;function P(e){return e instanceof F||e&&"closed"in e&&R(e.remove)&&R(e.add)&&R(e.unsubscribe)}function M(e){R(e)?e():e.unsubscribe()}var H={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},B={setTimeout:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return setTimeout.apply(void 0,S([e,t],C(n)))},clearTimeout:function(e){var t=B.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function z(e){B.setTimeout((function(){throw e}))}function q(){}function U(e){e()}var j=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,P(t)&&t.add(n)):n.destination=Q,n}return y(t,e),t.create=function(e,t,n){return new G(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(F),V=Function.prototype.bind;function W(e,t){return V.call(e,t)}var $=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Y(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Y(e)}else Y(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Y(e)}},e}(),G=function(e){function t(t,n,i){var r,s,o=e.call(this)||this;R(t)||!t?r={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=i?i:void 0}:o&&H.useDeprecatedNextContext?((s=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},r={next:t.next&&W(t.next,s),error:t.error&&W(t.error,s),complete:t.complete&&W(t.complete,s)}):r=t;return o.destination=new $(r),o}return y(t,e),t}(j);function Y(e){z(e)}var Q={closed:!0,next:q,error:function(e){throw e},complete:q},K="function"==typeof Symbol&&Symbol.observable||"@@observable";function Z(e){return e}var J=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var i,r=this,s=(i=e)&&i instanceof j||function(e){return e&&R(e.next)&&R(e.error)&&R(e.complete)}(i)&&P(i)?e:new G(e,t,n);return U((function(){var e=r,t=e.operator,n=e.source;s.add(t?t.call(s,n):n?r._subscribe(s):r._trySubscribe(s))})),s},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=X(t))((function(t,i){var r=new G({next:function(t){try{e(t)}catch(e){i(e),r.unsubscribe()}},error:i,complete:t});n.subscribe(r)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[K]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Z:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=X(e))((function(e,n){var i;t.subscribe((function(e){return i=e}),(function(e){return n(e)}),(function(){return e(i)}))}))},e.create=function(t){return new e(t)},e}();function X(e){var t;return null!==(t=null!=e?e:H.Promise)&&void 0!==t?t:Promise}function ee(e){return function(t){if(function(e){return R(null==e?void 0:e.lift)}(t))return t.lift((function(t){try{return e(t,this)}catch(e){this.error(e)}}));throw new TypeError("Unable to lift unknown Observable type")}}function te(e,t,n,i,r){return new ne(e,t,n,i,r)}var ne=function(e){function t(t,n,i,r,s,o){var a=e.call(this,t)||this;return a.onFinalize=s,a.shouldUnsubscribe=o,a._next=n?function(e){try{n(e)}catch(e){t.error(e)}}:e.prototype._next,a._error=r?function(e){try{r(e)}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._error,a._complete=i?function(){try{i()}catch(e){t.error(e)}finally{this.unsubscribe()}}:e.prototype._complete,a}return y(t,e),t.prototype.unsubscribe=function(){var t;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var n=this.closed;e.prototype.unsubscribe.call(this),!n&&(null===(t=this.onFinalize)||void 0===t||t.call(this))}},t}(j),ie=k((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),re=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return y(t,e),t.prototype.lift=function(e){var t=new se(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new ie},t.prototype.next=function(e){var t=this;U((function(){var n,i;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var r=I(t.currentObservers),s=r.next();!s.done;s=r.next()){s.value.next(e)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;U((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;U((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,i=n.hasError,r=n.isStopped,s=n.observers;return i||r?L:(this.currentObservers=null,s.push(e),new F((function(){t.currentObservers=null,N(s,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,i=t.thrownError,r=t.isStopped;n?e.error(i):r&&e.complete()},t.prototype.asObservable=function(){var e=new J;return e.source=this,e},t.create=function(e,t){return new se(e,t)},t}(J),se=function(e){function t(t,n){var i=e.call(this)||this;return i.destination=t,i.source=n,i}return y(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:L},t}(re),oe=function(e){function t(t){var n=e.call(this)||this;return n._value=t,n}return y(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),t.prototype._subscribe=function(t){var n=e.prototype._subscribe.call(this,t);return!n.closed&&t.next(this._value),n},t.prototype.getValue=function(){var e=this,t=e.hasError,n=e.thrownError,i=e._value;if(t)throw n;return this._throwIfClosed(),i},t.prototype.next=function(t){e.prototype.next.call(this,this._value=t)},t}(re),ae={now:function(){return(ae.delegate||Date).now()},delegate:void 0},le=function(e){function t(t,n,i){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===i&&(i=ae);var r=e.call(this)||this;return r._bufferSize=t,r._windowTime=n,r._timestampProvider=i,r._buffer=[],r._infiniteTimeWindow=!0,r._infiniteTimeWindow=n===1/0,r._bufferSize=Math.max(1,t),r._windowTime=Math.max(1,n),r}return y(t,e),t.prototype.next=function(t){var n=this,i=n.isStopped,r=n._buffer,s=n._infiniteTimeWindow,o=n._timestampProvider,a=n._windowTime;i||(r.push(t),!s&&r.push(o.now()+a)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,i=this._buffer.slice(),r=0;r<i.length&&!e.closed;r+=n?1:2)e.next(i[r]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,i=e._buffer,r=e._infiniteTimeWindow,s=(r?1:2)*t;if(t<1/0&&s<i.length&&i.splice(0,i.length-s),!r){for(var o=n.now(),a=0,l=1;l<i.length&&i[l]<=o;l+=2)a=l;a&&i.splice(0,a+1)}},t}(re),ce=function(e){function t(t,n){return e.call(this)||this}return y(t,e),t.prototype.schedule=function(e,t){return this},t}(F),ue={setInterval:function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return setInterval.apply(void 0,S([e,t],C(n)))},clearInterval:function(e){var t=ue.delegate;return((null==t?void 0:t.clearInterval)||clearInterval)(e)},delegate:void 0},de=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.scheduler=t,i.work=n,i.pending=!1,i}return y(t,e),t.prototype.schedule=function(e,t){var n;if(void 0===t&&(t=0),this.closed)return this;this.state=e;var i=this.id,r=this.scheduler;return null!=i&&(this.id=this.recycleAsyncId(r,i,t)),this.pending=!0,this.delay=t,this.id=null!==(n=this.id)&&void 0!==n?n:this.requestAsyncId(r,this.id,t),this},t.prototype.requestAsyncId=function(e,t,n){return void 0===n&&(n=0),ue.setInterval(e.flush.bind(e,this),n)},t.prototype.recycleAsyncId=function(e,t,n){if(void 0===n&&(n=0),null!=n&&this.delay===n&&!1===this.pending)return t;null!=t&&ue.clearInterval(t)},t.prototype.execute=function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},t.prototype._execute=function(e,t){var n,i=!1;try{this.work(e)}catch(e){i=!0,n=e||new Error("Scheduled action threw falsy error")}if(i)return this.unsubscribe(),n},t.prototype.unsubscribe=function(){if(!this.closed){var t=this.id,n=this.scheduler,i=n.actions;this.work=this.state=this.scheduler=null,this.pending=!1,N(i,this),null!=t&&(this.id=this.recycleAsyncId(n,t,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},t}(ce),he=function(){function e(t,n){void 0===n&&(n=e.now),this.schedulerActionCtor=t,this.now=n}return e.prototype.schedule=function(e,t,n){return void 0===t&&(t=0),new this.schedulerActionCtor(this,e).schedule(n,t)},e.now=ae.now,e}(),pe=new(function(e){function t(t,n){void 0===n&&(n=he.now);var i=e.call(this,t,n)||this;return i.actions=[],i._active=!1,i}return y(t,e),t.prototype.flush=function(e){var t=this.actions;if(this._active)t.push(e);else{var n;this._active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this._active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}},t}(he))(de),fe=pe,ge=new J((function(e){return e.complete()}));function _e(e){return e&&R(e.schedule)}function me(e){return _e((t=e)[t.length-1])?e.pop():void 0;var t}var ve=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function be(e){return R(null==e?void 0:e.then)}function ye(e){return R(e[K])}function we(e){return Symbol.asyncIterator&&R(null==e?void 0:e[Symbol.asyncIterator])}function Ee(e){return new TypeError("You provided "+(null!==e&&"object"==typeof e?"an invalid object":"'"+e+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}var Te="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator";function Ie(e){return R(null==e?void 0:e[Te])}function Ce(e){return x(this,arguments,(function(){var t,n,i;return T(this,(function(r){switch(r.label){case 0:t=e.getReader(),r.label=1;case 1:r.trys.push([1,,9,10]),r.label=2;case 2:return[4,A(t.read())];case 3:return n=r.sent(),i=n.value,n.done?[4,A(void 0)]:[3,5];case 4:return[2,r.sent()];case 5:return[4,A(i)];case 6:return[4,r.sent()];case 7:return r.sent(),[3,2];case 8:return[3,10];case 9:return t.releaseLock(),[7];case 10:return[2]}}))}))}function Se(e){return R(null==e?void 0:e.getReader)}function Ae(e){if(e instanceof J)return e;if(null!=e){if(ye(e))return r=e,new J((function(e){var t=r[K]();if(R(t.subscribe))return t.subscribe(e);throw new TypeError("Provided object does not correctly implement Symbol.observable")}));if(ve(e))return i=e,new J((function(e){for(var t=0;t<i.length&&!e.closed;t++)e.next(i[t]);e.complete()}));if(be(e))return n=e,new J((function(e){n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,z)}));if(we(e))return xe(e);if(Ie(e))return t=e,new J((function(e){var n,i;try{for(var r=I(t),s=r.next();!s.done;s=r.next()){var o=s.value;if(e.next(o),e.closed)return}}catch(e){n={error:e}}finally{try{s&&!s.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}e.complete()}));if(Se(e))return xe(Ce(e))}var t,n,i,r;throw Ee(e)}function xe(e){return new J((function(t){(function(e,t){var n,i,r,s;return E(this,void 0,void 0,(function(){var o,a;return T(this,(function(l){switch(l.label){case 0:l.trys.push([0,5,6,11]),n=D(e),l.label=1;case 1:return[4,n.next()];case 2:if((i=l.sent()).done)return[3,4];if(o=i.value,t.next(o),t.closed)return[2];l.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return a=l.sent(),r={error:a},[3,11];case 6:return l.trys.push([6,,9,10]),i&&!i.done&&(s=n.return)?[4,s.call(n)]:[3,8];case 7:l.sent(),l.label=8;case 8:return[3,10];case 9:if(r)throw r.error;return[7];case 10:return[7];case 11:return t.complete(),[2]}}))}))})(e,t).catch((function(e){return t.error(e)}))}))}function De(e,t,n,i,r){void 0===i&&(i=0),void 0===r&&(r=!1);var s=t.schedule((function(){n(),r?e.add(this.schedule(null,i)):this.unsubscribe()}),i);if(e.add(s),!r)return s}function Re(e,t){return void 0===t&&(t=0),ee((function(n,i){n.subscribe(te(i,(function(n){return De(i,e,(function(){return i.next(n)}),t)}),(function(){return De(i,e,(function(){return i.complete()}),t)}),(function(n){return De(i,e,(function(){return i.error(n)}),t)})))}))}function ke(e,t){return void 0===t&&(t=0),ee((function(n,i){i.add(e.schedule((function(){return n.subscribe(i)}),t))}))}function Oe(e,t){if(!e)throw new Error("Iterable cannot be null");return new J((function(n){De(n,t,(function(){var i=e[Symbol.asyncIterator]();De(n,t,(function(){i.next().then((function(e){e.done?n.complete():n.next(e.value)}))}),0,!0)}))}))}function Ne(e,t){if(null!=e){if(ye(e))return function(e,t){return Ae(e).pipe(ke(t),Re(t))}(e,t);if(ve(e))return function(e,t){return new J((function(n){var i=0;return t.schedule((function(){i===e.length?n.complete():(n.next(e[i++]),n.closed||this.schedule())}))}))}(e,t);if(be(e))return function(e,t){return Ae(e).pipe(ke(t),Re(t))}(e,t);if(we(e))return Oe(e,t);if(Ie(e))return function(e,t){return new J((function(n){var i;return De(n,t,(function(){i=e[Te](),De(n,t,(function(){var e,t,r;try{t=(e=i.next()).value,r=e.done}catch(e){return void n.error(e)}r?n.complete():n.next(t)}),0,!0)})),function(){return R(null==i?void 0:i.return)&&i.return()}}))}(e,t);if(Se(e))return function(e,t){return Oe(Ce(e),t)}(e,t)}throw Ee(e)}function Fe(e,t){return t?Ne(e,t):Ae(e)}function Le(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Fe(e,me(e))}function Pe(e,t){return ee((function(n,i){var r=0;n.subscribe(te(i,(function(n){i.next(e.call(t,n,r++))})))}))}var Me=Array.isArray;function He(e){return Pe((function(t){return function(e,t){return Me(t)?e.apply(void 0,S([],C(t))):e(t)}(e,t)}))}function Be(e,t,n){return void 0===n&&(n=1/0),R(t)?Be((function(n,i){return Pe((function(e,r){return t(n,e,i,r)}))(Ae(e(n,i)))}),n):("number"==typeof t&&(n=t),ee((function(t,i){return function(e,t,n,i,r,s,o,a){var l=[],c=0,u=0,d=!1,h=function(){!d||l.length||c||t.complete()},p=function(e){return c<i?f(e):l.push(e)},f=function(e){s&&t.next(e),c++;var a=!1;Ae(n(e,u++)).subscribe(te(t,(function(e){null==r||r(e),s?p(e):t.next(e)}),(function(){a=!0}),void 0,(function(){if(a)try{c--;for(var e=function(){var e=l.shift();o?De(t,o,(function(){return f(e)})):f(e)};l.length&&c<i;)e();h()}catch(e){t.error(e)}})))};return e.subscribe(te(t,p,(function(){d=!0,h()}))),function(){null==a||a()}}(t,i,e,n)})))}function ze(){return void 0===(e=1)&&(e=1/0),Be(Z,e);var e}var qe,Ue,je,Ve,We,$e,Ge,Ye,Qe,Ke,Ze,Je,Xe,et,tt,nt,it,rt,st,ot,at,lt,ct,ut,dt,ht=["addListener","removeListener"],pt=["addEventListener","removeEventListener"],ft=["on","off"];function gt(e,t,n,i){if(R(n)&&(i=n,n=void 0),i)return gt(e,t,n).pipe(He(i));var r=C(function(e){return R(e.addEventListener)&&R(e.removeEventListener)}(e)?pt.map((function(i){return function(r){return e[i](t,r,n)}})):function(e){return R(e.addListener)&&R(e.removeListener)}(e)?ht.map(_t(e,t)):function(e){return R(e.on)&&R(e.off)}(e)?ft.map(_t(e,t)):[],2),s=r[0],o=r[1];if(!s&&ve(e))return Be((function(e){return gt(e,t,n)}))(Ae(e));if(!s)throw new TypeError("Invalid event target");return new J((function(e){var t=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.next(1<t.length?t:t[0])};return s(t),function(){return o(t)}}))}function _t(e,t){return function(n){return function(i){return e[n](t,i)}}}function mt(e,t,n){void 0===e&&(e=0),void 0===n&&(n=fe);var i=-1;return null!=t&&(_e(t)?n=t:i=t),new J((function(t){var r,s=(r=e)instanceof Date&&!isNaN(r)?+e-n.now():e;s<0&&(s=0);var o=0;return n.schedule((function(){t.closed||(t.next(o++),0<=i?this.schedule(void 0,i):t.complete())}),s)}))}function vt(e,t){return ee((function(n,i){var r=0;n.subscribe(te(i,(function(n){return e.call(t,n,r++)&&i.next(n)})))}))}function bt(e,t){return void 0===t&&(t=pe),ee((function(n,i){var r=null,s=null,o=null,a=function(){if(r){r.unsubscribe(),r=null;var e=s;s=null,i.next(e)}};function l(){var n=o+e,s=t.now();if(s<n)return r=this.schedule(void 0,n-s),void i.add(r);a()}n.subscribe(te(i,(function(n){s=n,o=t.now(),r||(r=t.schedule(l,e),i.add(r))}),(function(){a(),i.complete()}),void 0,(function(){s=r=null})))}))}function yt(e){return e<=0?function(){return ge}:ee((function(t,n){var i=0;t.subscribe(te(n,(function(t){++i<=e&&(n.next(t),e<=i&&n.complete())})))}))}function wt(e,t){return t?function(n){return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return ze()(Fe(e,me(e)))}(t.pipe(yt(1),ee((function(e,t){e.subscribe(te(t,q))}))),n.pipe(wt(e)))}:Be((function(t,n){return Ae(e(t,n)).pipe(yt(1),function(e){return Pe((function(){return e}))}(t))}))}function Et(e,t){void 0===t&&(t=pe);var n=mt(e,t);return wt((function(){return n}))}function Tt(e){return ee((function(t,n){try{t.subscribe(n)}finally{n.add(e)}}))}function It(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function Ct(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?It(Object(n),!0).forEach((function(t){St(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):It(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function St(e,t,n){var i;return(t="symbol"==typeof(i=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const At="https://g.co/ng/security#xss";class xt extends Error{constructor(e,t){super(Dt(e,t)),this.code=e}}function Dt(e,t){const n=`NG0${Math.abs(e)}`;let i=`${n}${t?": "+t:""}`;return i}function Rt(e){return t=>{setTimeout(e,void 0,t)}}const kt=class extends re{constructor(e=!1){super(),this.__isAsync=e}emit(e){const t=h(null);try{super.next(e)}finally{h(t)}}subscribe(e,t,n){let i=e,r=t||(()=>null),s=n;if(e&&"object"==typeof e){var o,a,l;const t=e;i=null===(o=t.next)||void 0===o?void 0:o.bind(t),r=null===(a=t.error)||void 0===a?void 0:a.bind(t),s=null===(l=t.complete)||void 0===l?void 0:l.bind(t)}this.__isAsync&&(r=Rt(r),i&&(i=Rt(i)),s&&(s=Rt(s)));const c=super.subscribe({next:i,error:r,complete:s});return e instanceof F&&e.add(c),c}};var Ot,Nt,Ft;function Lt(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(Lt).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Pt(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}function Mt(e,t,n){e!=t&&Ht(n,e,t,"==")}function Ht(e,t,n,i){throw new Error(`ASSERTION ERROR: ${e}`+(null==i?"":` [Expected=> ${n} ${i} ${t} <=Actual]`))}function Bt(e){return{toString:e}.toString()}!function(e){e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional"}(Ot||(Ot={})),e.ChangeDetectionStrategy=void 0,(Nt=e.ChangeDetectionStrategy||(e.ChangeDetectionStrategy={}))[Nt.OnPush=0]="OnPush",Nt[Nt.Default=1]="Default",function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(Ft||(Ft={}));const zt=globalThis;const qt={},Ut=[];function jt(e){for(let t in e)if(e[t]===jt)return t;throw Error("Could not find renamed property on target object.")}function Vt(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}const Wt=jt({"ɵcmp":jt}),$t=jt({"ɵdir":jt}),Gt=jt({"ɵpipe":jt}),Yt=jt({"ɵmod":jt}),Qt=jt({"ɵfac":jt}),Kt=jt({__NG_ELEMENT_ID__:jt}),Zt=jt({__NG_ENV_ID__:jt});var Jt;function Xt(e,t,n){let i=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const n=t.length;if(r+n===i||e.charCodeAt(r+n)<=32)return r}n=r+1}}function en(e,t,n){let i=0;for(;i<n.length;){const r=n[i];if("number"==typeof r){if(0!==r)break;i++;const s=n[i++],o=n[i++],a=n[i++];e.setAttribute(t,o,a,s)}else{const s=r,o=n[++i];nn(s)?e.setProperty(t,s,o):e.setAttribute(t,s,o),i++}}return i}function tn(e){return 3===e||4===e||6===e}function nn(e){return 64===e.charCodeAt(0)}function rn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let i=0;i<t.length;i++){const r=t[i];"number"==typeof r?n=r:0===n||sn(e,n,r,null,-1===n||2===n?t[++i]:null)}}return e}function sn(e,t,n,i,r){let s=0,o=e.length;if(-1===t)o=-1;else for(;s<e.length;){const n=e[s++];if("number"==typeof n){if(n===t){o=-1;break}if(n>t){o=s-1;break}}}for(;s<e.length;){const t=e[s];if("number"==typeof t)break;if(t===n){if(null===i)return void(null!==r&&(e[s+1]=r));if(i===e[s+1])return void(e[s+2]=r)}s++,null!==i&&s++,null!==r&&s++}-1!==o&&(e.splice(o,0,t),s=o+1),e.splice(s++,0,n),null!==i&&e.splice(s++,0,i),null!==r&&e.splice(s++,0,r)}e.InputFlags=void 0,(Jt=e.InputFlags||(e.InputFlags={}))[Jt.None=0]="None",Jt[Jt.SignalBased=1]="SignalBased",Jt[Jt.HasDecoratorInputTransform=2]="HasDecoratorInputTransform";const on="ng-template";function an(e,t,n){let i=0,r=!0;for(;i<e.length;){let s=e[i++];if("string"==typeof s&&r){const r=e[i++];if(n&&"class"===s&&-1!==Xt(r.toLowerCase(),t,0))return!0}else{if(1===s){for(;i<e.length&&"string"==typeof(s=e[i++]);)if(s.toLowerCase()===t)return!0;return!1}"number"==typeof s&&(r=!1)}}return!1}function ln(e){return 4===e.type&&e.value!==on}function cn(e,t,n){return t===(4!==e.type||n?e.value:on)}function un(e,t,n){let i=4;const r=e.attrs||[],s=function(e){for(let t=0;t<e.length;t++){if(tn(e[t]))return t}return e.length}(r);let o=!1;for(let a=0;a<t.length;a++){const l=t[a];if("number"!=typeof l){if(!o)if(4&i){if(i=2|1&i,""!==l&&!cn(e,l,n)||""===l&&1===t.length){if(dn(i))return!1;o=!0}}else{const c=8&i?l:t[++a];if(8&i&&null!==e.attrs){if(!an(e.attrs,c,n)){if(dn(i))return!1;o=!0}continue}const u=hn(8&i?"class":l,r,ln(e),n);if(-1===u){if(dn(i))return!1;o=!0;continue}if(""!==c){let e;e=u>s?"":r[u+1].toLowerCase();const t=8&i?e:null;if(t&&-1!==Xt(t,c,0)||2&i&&c!==e){if(dn(i))return!1;o=!0}}}}else{if(!o&&!dn(i)&&!dn(l))return!1;if(o&&dn(l))continue;o=!1,i=l|1&i}}return dn(i)||o}function dn(e){return!(1&e)}function hn(e,t,n,i){if(null===t)return-1;let r=0;if(i||!n){let n=!1;for(;r<t.length;){const i=t[r];if(i===e)return r;if(3===i||6===i)n=!0;else{if(1===i||2===i){let e=t[++r];for(;"string"==typeof e;)e=t[++r];continue}if(4===i)break;if(0===i){r+=4;continue}}r+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const i=e[n];if("number"==typeof i)return-1;if(i===t)return n;n++}return-1}(t,e)}function pn(e,t,n=!1){for(let i=0;i<t.length;i++)if(un(e,t[i],n))return!0;return!1}function fn(e,t){e:for(let n=0;n<t.length;n++){const i=t[n];if(e.length===i.length){for(let t=0;t<e.length;t++)if(e[t]!==i[t])continue e;return!0}}return!1}function gn(e,t){return e?":not("+t.trim()+")":t}function _n(e){let t=e[0],n=1,i=2,r="",s=!1;for(;n<e.length;){let o=e[n];if("string"==typeof o)if(2&i){const t=e[++n];r+="["+o+(t.length>0?'="'+t+'"':"")+"]"}else 8&i?r+="."+o:4&i&&(r+=" "+o);else""===r||dn(o)||(t+=gn(s,r),r=""),i=o,s=s||!dn(i);n++}return""!==r&&(t+=gn(s,r)),t}function mn(e){return e.map(_n).join(",")}function vn(t){return Bt((()=>{var n;const i=Rn(t),r=Ct(Ct({},i),{},{decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===e.ChangeDetectionStrategy.OnPush,directiveDefs:null,pipeDefs:null,dependencies:i.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:null!==(n=t.signals)&&void 0!==n&&n,data:t.data||{},encapsulation:t.encapsulation||Ft.Emulated,styles:t.styles||Ut,_:null,schemas:t.schemas||null,tView:null,id:""});kn(r);const s=t.dependencies;return r.directiveDefs=On(s,!1),r.pipeDefs=On(s,!0),r.id=function(e){let t=0;const n=[e.selectors,e.ngContentSelectors,e.hostVars,e.hostAttrs,e.consts,e.vars,e.decls,e.encapsulation,e.standalone,e.signals,e.exportAs,JSON.stringify(e.inputs),JSON.stringify(e.outputs),Object.getOwnPropertyNames(e.type.prototype),!!e.contentQueries,!!e.viewQuery].join("|");for(const e of n)t=Math.imul(31,t)+e.charCodeAt(0)|0;t+=2147483648;const i="c"+t;0;return i}(r),r}))}function bn(e){return Cn(e)||Sn(e)}function yn(e){return null!==e}function wn(e){return Bt((()=>({type:e.type,bootstrap:e.bootstrap||Ut,declarations:e.declarations||Ut,imports:e.imports||Ut,exports:e.exports||Ut,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null})))}function En(t,n){if(null==t)return qt;const i={};for(const s in t)if(t.hasOwnProperty(s)){const o=t[s];let a,l,c=e.InputFlags.None;var r;if(Array.isArray(o))c=o[0],a=o[1],l=null!==(r=o[2])&&void 0!==r?r:a;else a=o,l=o;n?(i[a]=c!==e.InputFlags.None?[s,c]:s,n[a]=l):i[a]=s}return i}function Tn(e){return Bt((()=>{const t=Rn(e);return kn(t),t}))}function In(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,standalone:!0===e.standalone,onDestroy:e.type.prototype.ngOnDestroy||null}}function Cn(e){return e[Wt]||null}function Sn(e){return e[$t]||null}function An(e){return e[Gt]||null}function xn(e){const t=Cn(e)||Sn(e)||An(e);return null!==t&&t.standalone}function Dn(e,t){const n=e[Yt]||null;if(!n&&!0===t)throw new Error(`Type ${Lt(e)} does not have 'ɵmod' property.`);return n}function Rn(e){const t={};return{type:e.type,providersResolver:null,factory:null,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:t,inputTransforms:null,inputConfig:e.inputs||qt,exportAs:e.exportAs||null,standalone:!0===e.standalone,signals:!0===e.signals,selectors:e.selectors||Ut,viewQuery:e.viewQuery||null,features:e.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:En(e.inputs,t),outputs:En(e.outputs),debugInfo:null}}function kn(e){var t;null===(t=e.features)||void 0===t||t.forEach((t=>t(e)))}function On(e,t){if(!e)return null;const n=t?An:bn;return()=>("function"==typeof e?e():e).map((e=>n(e))).filter(yn)}new Map;const Nn=0,Fn=1,Ln=2,Pn=3,Mn=4,Hn=5,Bn=6,zn=7,qn=8,Un=9,jn=10,Vn=11,Wn=12,$n=13,Gn=14,Yn=15,Qn=16,Kn=17,Zn=18,Jn=19,Xn=20,ei=21,ti=22,ni=23,ii=25,ri=1,si=7,oi=9,ai=10;var li;function ci(e){return Array.isArray(e)&&"object"==typeof e[ri]}function ui(e){return Array.isArray(e)&&!0===e[ri]}function di(e){return!!(4&e.flags)}function hi(e){return e.componentOffset>-1}function pi(e){return!(1&~e.flags)}function fi(e){return!!e.template}function gi(e){return!(256&~e[Ln])}!function(e){e[e.None=0]="None",e[e.HasTransplantedViews=2]="HasTransplantedViews"}(li||(li={}));const _i="svg",mi="math";function vi(e){for(;Array.isArray(e);)e=e[Nn];return e}function bi(e,t){return vi(t[e])}function yi(e,t){return vi(t[e.index])}function wi(e,t){const n=e.data[t];return n}function Ei(e,t){return e[t]}function Ti(e,t){const n=t[e];return ci(n)?n:n[Nn]}function Ii(e){return!(4&~e[Ln])}function Ci(e){return!(128&~e[Ln])}function Si(e,t){return null==t?null:e[t]}function Ai(e){e[Kn]=0}function xi(e){1024&e[Ln]||(e[Ln]|=1024,Ci(e)&&Oi(e))}function Di(e,t){for(;e>0;)t=t[Gn],e--;return t}function Ri(e){var t;return!!(9216&e[Ln]||null!==(t=e[ni])&&void 0!==t&&t.dirty)}function ki(e){if(Ri(e))Oi(e);else if(64&e[Ln]){var t;null===(t=e[jn].changeDetectionScheduler)||void 0===t||t.notify()}}function Oi(e){var t;null===(t=e[jn].changeDetectionScheduler)||void 0===t||t.notify();let n=Li(e);for(;null!==n&&!(8192&n[Ln])&&(n[Ln]|=8192,Ci(n));)n=Li(n)}function Ni(e,t){if(!(256&~e[Ln]))throw new xt(911,!1);null===e[ei]&&(e[ei]=[]),e[ei].push(t)}function Fi(e,t){if(null===e[ei])return;const n=e[ei].indexOf(t);-1!==n&&e[ei].splice(n,1)}function Li(e){const t=e[Pn];return ui(t)?t[Pn]:t}const Pi={lFrame:hr(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function Mi(){return Pi.bindingsEnabled}function Hi(){return null!==Pi.skipHydrationRootTNode}function Bi(){Pi.bindingsEnabled=!0}function zi(){Pi.bindingsEnabled=!1}function qi(){return Pi.lFrame.lView}function Ui(){return Pi.lFrame.tView}function ji(e){return Pi.lFrame.contextLView=e,e[qn]}function Vi(e){return Pi.lFrame.contextLView=null,e}function Wi(){let e=$i();for(;null!==e&&64===e.type;)e=e.parent;return e}function $i(){return Pi.lFrame.currentTNode}function Gi(){const e=Pi.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function Yi(e,t){const n=Pi.lFrame;n.currentTNode=e,n.isParent=t}function Qi(){return Pi.lFrame.isParent}function Ki(){Pi.lFrame.isParent=!1}function Zi(){const e=Pi.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ji(){return Pi.lFrame.bindingIndex}function Xi(e){return Pi.lFrame.bindingIndex=e}function er(){return Pi.lFrame.bindingIndex++}function tr(e){const t=Pi.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function nr(e){Pi.lFrame.inI18n=e}function ir(e,t){const n=Pi.lFrame;n.bindingIndex=n.bindingRootIndex=e,rr(t)}function rr(e){Pi.lFrame.currentDirectiveIndex=e}function sr(e){const t=Pi.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function or(){return Pi.lFrame.currentQueryIndex}function ar(e){Pi.lFrame.currentQueryIndex=e}function lr(e){const t=e[Fn];return 2===t.type?t.declTNode:1===t.type?e[Hn]:null}function cr(e,t,n){if(n&Ot.SkipSelf){let i=t,r=e;for(;!(i=i.parent,null!==i||n&Ot.Host||(i=lr(r),null===i)||(r=r[Gn],10&i.type)););if(null===i)return!1;t=i,e=r}const i=Pi.lFrame=dr();return i.currentTNode=t,i.lView=e,!0}function ur(e){const t=dr();const n=e[Fn];Pi.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function dr(){const e=Pi.lFrame,t=null===e?null:e.child;return null===t?hr(e):t}function hr(e){const t={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:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function pr(){const e=Pi.lFrame;return Pi.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const fr=pr;function gr(){const e=pr();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function _r(){return Pi.lFrame.selectedIndex}function mr(e){Pi.lFrame.selectedIndex=e}function vr(){const e=Pi.lFrame;return wi(e.tView,e.selectedIndex)}function br(){Pi.lFrame.currentNamespace=_i}function yr(){Pi.lFrame.currentNamespace=mi}function wr(){Pi.lFrame.currentNamespace=null}let Er,Tr=!0;function Ir(){return Tr}function Cr(e){Tr=e}function Sr(e,t){return new Ar(yi(e,t))}class Ar{constructor(e){this.nativeElement=e}}function xr(e){return e instanceof Ar?e.nativeElement:e}function Dr(e){return e.flat(Number.POSITIVE_INFINITY)}function Rr(e,t){e.forEach((e=>Array.isArray(e)?Rr(e,t):t(e)))}function kr(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Or(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Nr(e,t){const n=[];for(let i=0;i<e;i++)n.push(t);return n}function Fr(e,t,n){const i=e.length-n;for(;t<i;)e[t]=e[t+n],t++;for(;n--;)e.pop()}function Lr(e,t,n,i){let r=e.length;if(r==t)e.push(n,i);else if(1===r)e.push(i,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;){const t=r-2;e[r]=e[t],r--}e[t]=n,e[t+1]=i}}function Pr(e,t,n){let i=Hr(e,t);return i>=0?e[1|i]=n:(i=~i,Lr(e,i,t,n)),i}function Mr(e,t){const n=Hr(e,t);if(n>=0)return e[1|n]}function Hr(e,t){return function(e,t,n){let i=0,r=e.length>>n;for(;r!==i;){const s=i+(r-i>>1),o=e[s<<n];if(t===o)return s<<n;o>t?r=s:i=s+1}return~(r<<n)}(e,t,1)}function Br(){return this._results[Symbol.iterator]()}Ar.__NG_ELEMENT_ID__=function(){return Sr(Wi(),qi())};class zr{get changes(){var e;return null!==(e=this._changes)&&void 0!==e?e:this._changes=new kt}constructor(e=!1){this._emitDistinctChangesOnly=e,this.dirty=!0,this._onDirty=void 0,this._results=[],this._changesDetected=!1,this._changes=void 0,this.length=0,this.first=void 0,this.last=void 0;const t=zr.prototype;t[Symbol.iterator]||(t[Symbol.iterator]=Br)}get(e){return this._results[e]}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e,t){this.dirty=!1;const n=Dr(e);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++){let r=e[i],s=t[i];if(n&&(r=n(r),s=n(s)),s!==r)return!1}return!0}(this._results,n,t))&&(this._results=n,this.length=n.length,this.last=n[this.length-1],this.first=n[0])}notifyOnChanges(){void 0===this._changes||!this._changesDetected&&this._emitDistinctChangesOnly||this._changes.emit(this)}onDirty(e){this._onDirty=e}setDirty(){var e;this.dirty=!0,null===(e=this._onDirty)||void 0===e||e.call(this)}destroy(){void 0!==this._changes&&(this._changes.complete(),this._changes.unsubscribe())}}function qr(e){return!(128&~e.flags)}function Ur(){if(void 0!==Er)return Er;if("undefined"!=typeof document)return document;throw new xt(210,!1)}function jr(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function Vr(e){return{providers:e.providers||[],imports:e.imports||[]}}function Wr(e){return $r(e,Yr)||$r(e,Kr)}function $r(e,t){return e.hasOwnProperty(t)?e[t]:null}function Gr(e){return e&&(e.hasOwnProperty(Qr)||e.hasOwnProperty(Zr))?e[Qr]:null}const Yr=jt({"ɵprov":jt}),Qr=jt({"ɵinj":jt}),Kr=jt({ngInjectableDef:jt}),Zr=jt({ngInjectorDef:jt});class Jr{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ɵprov=jr({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Xr=new Jr("",{providedIn:"root",factory:()=>es}),es="ng",ts=new Jr(""),ns=new Jr("",{providedIn:"platform",factory:()=>"unknown"});new Jr(""),new Jr("");const is=new Jr("",{providedIn:"root",factory:()=>{var e;return(null===(e=Ur().body)||void 0===e||null===(e=e.querySelector("[ngCspNonce]"))||void 0===e?void 0:e.getAttribute("ngCspNonce"))||null}}),rs={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},ss=new Jr("",{providedIn:"root",factory:()=>rs}),os=jt({__forward_ref__:jt});function as(e){return e.__forward_ref__=as,e.toString=function(){return Lt(this())},e}function ls(e){return cs(e)?e():e}function cs(e){return"function"==typeof e&&e.hasOwnProperty(os)&&e.__forward_ref__===as}function us(e){return e&&!!e.ɵproviders}function ds(e){return"string"==typeof e?e:null==e?"":String(e)}function hs(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():ds(e)}function ps(e,t){t&&t.join(" > ");throw new xt(-200,e)}function fs(e,t){throw new xt(-201,false)}let gs;function _s(e){const t=gs;return gs=e,t}function ms(e,t,n){const i=Wr(e);return i&&"root"==i.providedIn?void 0===i.value?i.value=i.factory():i.value:n&Ot.Optional?null:void 0!==t?t:void fs()}const vs={},bs="__NG_DI_FLAG__",ys="ngTempTokenPath",ws=/\n/gm,Es="ɵ",Ts="__source";let Is;function Cs(e){const t=Is;return Is=e,t}function Ss(e,t=Ot.Default){if(void 0===Is)throw new xt(-203,!1);if(null===Is)return ms(e,void 0,t);{const n=Is.get(e,t&Ot.Optional?null:void 0,t);return n}}function As(e,t=Ot.Default){return(gs||Ss)(ls(e),t)}function xs(e){throw new xt(202,!1)}function Ds(e,t=Ot.Default){return As(e,Rs(t))}function Rs(e){return void 0===e||"number"==typeof e?e:(e.optional&&8)|(e.host&&1)|(e.self&&2)|(e.skipSelf&&4)}function ks(e){const t=[];for(let n=0;n<e.length;n++){const i=ls(e[n]);if(Array.isArray(i)){if(0===i.length)throw new xt(900,!1);let e,n=Ot.Default;for(let t=0;t<i.length;t++){const r=i[t],s=r[bs];"number"==typeof s?-1===s?e=r.token:n|=s:e=r}t.push(As(e,n))}else t.push(As(i))}return t}function Os(e,t){return e[bs]=t,e.prototype[bs]=t,e}function Ns(e,t,n,i){const r=e[ys];throw t[Ts]&&r.unshift(t[Ts]),e.message=function(e,t,n,i=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==Es?e.slice(2):e;let r=Lt(t);if(Array.isArray(t))r=t.map(Lt).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let i=t[n];e.push(n+":"+("string"==typeof i?JSON.stringify(i):Lt(i)))}r=`{${e.join(", ")}}`}return`${n}${i?"("+i+")":""}[${r}]: ${e.replace(ws,"\n  ")}`}("\n"+e.message,r,n,i),e.ngTokenPath=r,e[ys]=null,e}class Fs{constructor(){this.store={},this.onSerializeCallbacks={}}get(e,t){return void 0!==this.store[e]?this.store[e]:t}set(e,t){this.store[e]=t}remove(e){delete this.store[e]}hasKey(e){return this.store.hasOwnProperty(e)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(e,t){this.onSerializeCallbacks[e]=t}toJson(){for(const e in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(e))try{this.store[e]=this.onSerializeCallbacks[e]()}catch(e){console.warn("Exception in onSerialize callback: ",e)}return JSON.stringify(this.store).replace(/</g,"\\u003C")}}var Ls;(qe=Fs).ɵprov=jr({token:qe,providedIn:"root",factory:function(){const e=new Fs;return"browser"===Ds(ns)&&(e.store=function(e,t){const n=e.getElementById(t+"-state");if(null!=n&&n.textContent)try{return JSON.parse(n.textContent)}catch(e){console.warn("Exception while restoring TransferState for app "+t,e)}return{}}(Ur(),Ds(Xr))),e}}),function(e){e.FirstChild="f",e.NextSibling="n"}(Ls||(Ls={}));let Ps=()=>null;function Ms(e,t,n=!1){return Ps()}var Hs;!function(e){e.Hydrated="hydrated",e.Skipped="skipped",e.Mismatched="mismatched"}(Hs||(Hs={}));const Bs="__annotations__",zs="__parameters__",qs="__prop__metadata__";function Us(e,t,n,i,r){return Bt((()=>{const s=js(t);function o(...e){if(this instanceof o)return s.call(this,...e),this;const t=new o(...e);return function(n){r&&r(n,...e);return(n.hasOwnProperty(Bs)?n[Bs]:Object.defineProperty(n,Bs,{value:[]})[Bs]).push(t),i&&i(n),n}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}))}function js(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}function Vs(e,t,n){return Bt((()=>{const i=js(t);function r(...e){if(this instanceof r)return i.apply(this,e),this;const t=new r(...e);return n.annotation=t,n;function n(e,n,i){const r=e.hasOwnProperty(zs)?e[zs]:Object.defineProperty(e,zs,{value:[]})[zs];for(;r.length<=i;)r.push(null);return(r[i]=r[i]||[]).push(t),e}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r}))}function Ws(e,t,n,i){return Bt((()=>{const r=js(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return function(n,r){if(void 0===n)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const s=n.constructor,o=s.hasOwnProperty(qs)?s[qs]:Object.defineProperty(s,qs,{value:{}})[qs];o[r]=o.hasOwnProperty(r)&&o[r]||[],o[r].unshift(t),i&&i(n,r,...e)}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}))}const $s=Os(Vs("Inject",(e=>({token:e}))),-1),Gs=Os(Vs("Optional"),8),Ys=Os(Vs("Self"),2),Qs=Os(Vs("SkipSelf"),4),Ks=Os(Vs("Host"),1);function Zs(e,t){const n=e.hasOwnProperty(Qt);return n?e[Qt]:null}const Js=new Jr(""),Xs=new Jr("",-1),eo=new Jr("");class to{get(e,t=vs){if(t===vs){const t=new Error(`NullInjectorError: No provider for ${Lt(e)}!`);throw t.name="NullInjectorError",t}return t}}function no(...e){return{"ɵproviders":io(!0,e),"ɵfromNgModule":!0}}function io(e,...t){const n=[],i=new Set;let r;const s=e=>{n.push(e)};return Rr(t,(e=>{const t=e;so(t,s,[],i)&&(r||(r=[]),r.push(t))})),void 0!==r&&ro(r,s),n}function ro(e,t){for(let n=0;n<e.length;n++){const{ngModule:i,providers:r}=e[n];oo(r,(e=>{t(e,i)}))}}function so(e,t,n,i){if(!(e=ls(e)))return!1;let r=null,s=Gr(e);const o=!s&&Cn(e);if(s||o){if(o&&!o.standalone)return!1;r=e}else{const t=e.ngModule;if(s=Gr(t),!s)return!1;r=t}const a=i.has(r);if(o){if(a)return!1;if(i.add(r),o.dependencies){const e="function"==typeof o.dependencies?o.dependencies():o.dependencies;for(const r of e)so(r,t,n,i)}}else{if(!s)return!1;{if(null!=s.imports&&!a){let e;i.add(r);try{Rr(s.imports,(r=>{so(r,t,n,i)&&(e||(e=[]),e.push(r))}))}finally{}void 0!==e&&ro(e,t)}if(!a){const e=Zs(r)||(()=>new r);t({provide:r,useFactory:e,deps:Ut},r),t({provide:eo,useValue:r,multi:!0},r),t({provide:Js,useValue:()=>As(r),multi:!0},r)}const o=s.providers;if(null!=o&&!a){const n=e;oo(o,(e=>{t(e,n)}))}}}return r!==e&&void 0!==e.providers}function oo(e,t){for(let n of e)us(n)&&(n=n.ɵproviders),Array.isArray(n)?oo(n,t):t(n)}const ao=jt({provide:String,useValue:jt});function lo(e){return null!==e&&"object"==typeof e&&ao in e}function co(e){return!(!e||!e.useExisting)}function uo(e){return!(!e||!e.useFactory)}function ho(e){return"function"==typeof e}const po=new Jr(""),fo={},go={};let _o;function mo(){return void 0===_o&&(_o=new to),_o}class vo{}class bo extends vo{get destroyed(){return this._destroyed}constructor(e,t,n,i){super(),this.parent=t,this.source=n,this.scopes=i,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,To(e,(e=>this.processProvider(e))),this.records.set(Xs,Eo(void 0,this)),i.has("environment")&&this.records.set(vo,Eo(void 0,this));const r=this.records.get(po);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(eo,Ut,Ot.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;const e=h(null);try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();const e=this._onDestroyHooks;this._onDestroyHooks=[];for(const t of e)t()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear(),h(e)}}onDestroy(e){return this.assertNotDestroyed(),this._onDestroyHooks.push(e),()=>this.removeOnDestroy(e)}runInContext(e){this.assertNotDestroyed();const t=Cs(this),n=_s(void 0);try{return e()}finally{Cs(t),_s(n)}}get(e,t=vs,n=Ot.Default){if(this.assertNotDestroyed(),e.hasOwnProperty(Zt))return e[Zt](this);n=Rs(n);const i=Cs(this),r=_s(void 0);try{if(!(n&Ot.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(s=e)||"object"==typeof s&&s instanceof Jr)&&Wr(e);t=n&&this.injectableDefInScope(n)?Eo(yo(e),fo):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}const i=n&Ot.Self?mo():this.parent;return t=n&Ot.Optional&&t===vs?null:t,i.get(e,t)}catch(t){if("NullInjectorError"===t.name){if((t[ys]=t[ys]||[]).unshift(Lt(e)),i)throw t;return Ns(t,e,"R3InjectorError",this.source)}throw t}finally{_s(r),Cs(i)}var s}resolveInjectorInitializers(){const e=h(null),t=Cs(this),n=_s(void 0);try{const e=this.get(Js,Ut,Ot.Self);0;for(const t of e)t()}finally{Cs(t),_s(n),h(e)}}toString(){const e=[],t=this.records;for(const n of t.keys())e.push(Lt(n));return`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new xt(205,!1)}processProvider(e){let t=ho(e=ls(e))?e:ls(e&&e.provide);const n=function(e){if(lo(e))return Eo(void 0,e.useValue);return Eo(wo(e),fo)}(e);if(ho(e)||!0!==e.multi)0;else{let n=this.records.get(t);n||(n=Eo(void 0,fo,!0),n.factory=()=>ks(n.multi),this.records.set(t,n)),t=e,n.multi.push(e)}this.records.set(t,n)}hydrate(e,t){const n=h(null);try{return t.value===fo&&(t.value=go,t.value=t.factory()),"object"==typeof t.value&&t.value&&(null!==(i=t.value)&&"object"==typeof i&&"function"==typeof i.ngOnDestroy)&&this._ngOnDestroyHooks.add(t.value),t.value}finally{h(n)}var i}injectableDefInScope(e){if(!e.providedIn)return!1;const t=ls(e.providedIn);return"string"==typeof t?"any"===t||this.scopes.has(t):this.injectorDefTypes.has(t)}removeOnDestroy(e){const t=this._onDestroyHooks.indexOf(e);-1!==t&&this._onDestroyHooks.splice(t,1)}}function yo(e){const t=Wr(e),n=null!==t?t.factory:Zs(e);if(null!==n)return n;if(e instanceof Jr)throw new xt(204,!1);if(e instanceof Function)return function(e){const t=e.length;if(t>0)throw new xt(204,!1);const n=(i=e,i&&(i[Yr]||i[Kr])||null);var i;return null!==n?()=>n.factory(e):()=>new e}(e);throw new xt(204,!1)}function wo(e,t,n){let i;if(ho(e)){const t=ls(e);return Zs(t)||yo(t)}if(lo(e))i=()=>ls(e.useValue);else if(uo(e))i=()=>e.useFactory(...ks(e.deps||[]));else if(co(e))i=()=>As(ls(e.useExisting));else{const t=ls(e&&(e.useClass||e.provide));if(!e.deps)return Zs(t)||yo(t);i=()=>new t(...ks(e.deps))}return i}function Eo(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function To(e,t){for(const n of e)Array.isArray(n)?To(n,t):n&&us(n)?To(n.ɵproviders,t):t(n)}function Io(e,t){e instanceof bo&&e.assertNotDestroyed();const n=Cs(e),i=_s(void 0);try{return t()}finally{Cs(n),_s(i)}}var Co,So,Ao;function xo(e){const t=zt.ng;if(t&&t.ɵcompilerFacade)return t.ɵcompilerFacade;throw new Error("JIT compiler unavailable")}!function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(Co||(Co={})),function(e){e[e.Directive=0]="Directive",e[e.Pipe=1]="Pipe",e[e.NgModule=2]="NgModule"}(So||(So={})),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(Ao||(Ao={}));const Do={"ɵɵdefineInjectable":jr,"ɵɵdefineInjector":Vr,"ɵɵinject":As,"ɵɵinvalidFactoryDep":xs,resolveForwardRef:ls},Ro=Function;function ko(e){return"function"==typeof e}const Oo=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,No=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Fo=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Lo=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class Po{constructor(e){this._reflect=e||zt.Reflect}factory(e){return(...t)=>new e(...t)}_zipTypesAndAnnotations(e,t){let n;n=Nr(void 0===e?t.length:e.length);for(let i=0;i<n.length;i++)void 0===e?n[i]=[]:e[i]&&e[i]!=Object?n[i]=[e[i]]:n[i]=[],t&&null!=t[i]&&(n[i]=n[i].concat(t[i]));return n}_ownParameters(e,t){if(function(e){return Oo.test(e)||Lo.test(e)||No.test(e)&&!Fo.test(e)}(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;const n=e.ctorParameters;if(n&&n!==t.ctorParameters){const e="function"==typeof n?n():n,t=e.map((e=>e&&e.type)),i=e.map((e=>e&&Mo(e.decorators)));return this._zipTypesAndAnnotations(t,i)}const i=e.hasOwnProperty(zs)&&e[zs],r=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return r||i?this._zipTypesAndAnnotations(r,i):Nr(e.length)}parameters(e){if(!ko(e))return[];const t=Ho(e);let n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]}_ownAnnotations(e,t){if(e.annotations&&e.annotations!==t.annotations){let t=e.annotations;return"function"==typeof t&&t.annotations&&(t=t.annotations),t}return e.decorators&&e.decorators!==t.decorators?Mo(e.decorators):e.hasOwnProperty(Bs)?e[Bs]:null}annotations(e){if(!ko(e))return[];const t=Ho(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)}_ownPropMetadata(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){let t=e.propMetadata;return"function"==typeof t&&t.propMetadata&&(t=t.propMetadata),t}if(e.propDecorators&&e.propDecorators!==t.propDecorators){const t=e.propDecorators,n={};return Object.keys(t).forEach((e=>{n[e]=Mo(t[e])})),n}return e.hasOwnProperty(qs)?e[qs]:null}propMetadata(e){if(!ko(e))return{};const t=Ho(e),n={};if(t!==Object){const e=this.propMetadata(t);Object.keys(e).forEach((t=>{n[t]=e[t]}))}const i=this._ownPropMetadata(e,t);return i&&Object.keys(i).forEach((e=>{const t=[];n.hasOwnProperty(e)&&t.push(...n[e]),t.push(...i[e]),n[e]=t})),n}ownPropMetadata(e){return ko(e)&&this._ownPropMetadata(e,Ho(e))||{}}hasLifecycleHook(e,t){return e instanceof Ro&&t in e.prototype}}function Mo(e){return e?e.map((e=>new(0,e.type.annotationCls)(...e.args?e.args:[]))):[]}function Ho(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}class Bo{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function zo(e,t,n,i){null!==t?t.applyValueToInputSignal(t,i):e[n]=i}function qo(){return Uo}function Uo(e){return e.type.prototype.ngOnChanges&&(e.setInput=Vo),jo}function jo(){const e=$o(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===qt)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}}function Vo(e,t,n,i,r){const s=this.declaredInputs[i],o=$o(e)||function(e,t){return e[Wo]=t}(e,{previous:qt,current:null}),a=o.current||(o.current={}),l=o.previous,c=l[s];a[s]=new Bo(c&&c.currentValue,n,l===qt),zo(e,t,r,n)}qo.ngInherit=!0;const Wo="__ngSimpleChanges__";function $o(e){return e[Wo]||null}let Go=null;const Yo=function(e,t,n){null!=Go&&Go(e,t,n)};function Qo(e,t){for(let c=t.directiveStart,u=t.directiveEnd;c<u;c++){const t=e.data[c],u=t.type.prototype,{ngAfterContentInit:d,ngAfterContentChecked:h,ngAfterViewInit:p,ngAfterViewChecked:f,ngOnDestroy:g}=u;var n,i,r,s,o,a,l;if(d)(null!==(n=e.contentHooks)&&void 0!==n?n:e.contentHooks=[]).push(-c,d);if(h)(null!==(i=e.contentHooks)&&void 0!==i?i:e.contentHooks=[]).push(c,h),(null!==(r=e.contentCheckHooks)&&void 0!==r?r:e.contentCheckHooks=[]).push(c,h);if(p)(null!==(s=e.viewHooks)&&void 0!==s?s:e.viewHooks=[]).push(-c,p);if(f)(null!==(o=e.viewHooks)&&void 0!==o?o:e.viewHooks=[]).push(c,f),(null!==(a=e.viewCheckHooks)&&void 0!==a?a:e.viewCheckHooks=[]).push(c,f);if(null!=g)(null!==(l=e.destroyHooks)&&void 0!==l?l:e.destroyHooks=[]).push(c,g)}}function Ko(e,t,n){Xo(e,t,3,n)}function Zo(e,t,n,i){(3&e[Ln])===n&&Xo(e,t,n,i)}function Jo(e,t){let n=e[Ln];(3&n)===t&&(n&=16383,n+=1,e[Ln]=n)}function Xo(e,t,n,i){const r=void 0!==i?65535&e[Kn]:0,s=null!=i?i:-1,o=t.length-1;let a=0;for(let l=r;l<o;l++){if("number"==typeof t[l+1]){if(a=t[l],null!=i&&a>=i)break}else{t[l]<0&&(e[Kn]+=65536),(a<s||-1==s)&&(ta(e,n,t,l),e[Kn]=(4294901760&e[Kn])+l+2),l++}}}function ea(e,t){Yo(4,e,t);const n=h(null);try{t.call(e)}finally{h(n),Yo(5,e,t)}}function ta(e,t,n,i){const r=n[i]<0,s=n[i+1],o=e[r?-n[i]:n[i]];if(r){e[Ln]>>14<e[Kn]>>16&&(3&e[Ln])===t&&(e[Ln]+=16384,ea(o,s))}else ea(o,s)}const na=-1;class ia{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function ra(e){return e!==na}function sa(e){return 32767&e}function oa(e,t){let n=e>>16;let i=t;for(;n>0;)i=i[Gn],n--;return i}let aa=!0;function la(e){const t=aa;return aa=e,t}const ca=255,ua=5;let da=0;const ha={};function pa(e,t){const n=ga(e,t);if(-1!==n)return n;const i=t[Fn];i.firstCreatePass&&(e.injectorIndex=t.length,fa(i.data,e),fa(t,null),fa(i.blueprint,null));const r=_a(e,t),s=e.injectorIndex;if(ra(r)){const e=sa(r),n=oa(r,t),i=n[Fn].data;for(let r=0;r<8;r++)t[s+r]=n[e+r]|i[e+r]}return t[s+8]=r,s}function fa(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ga(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function _a(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,i=null,r=t;for(;null!==r;){if(i=ka(r),null===i)return na;if(n++,r=r[Gn],-1!==i.injectorIndex)return i.injectorIndex|n<<16}return na}function ma(e,t,n){!function(e,t,n){let i;"string"==typeof n?i=n.charCodeAt(0)||0:n.hasOwnProperty(Kt)&&(i=n[Kt]),null==i&&(i=n[Kt]=da++);const r=i&ca,s=1<<r;t.data[e+(r>>ua)]|=s}(e,t,n)}function va(e,t,n){if(n&Ot.Optional||void 0!==e)return e;fs()}function ba(e,t,n,i){if(n&Ot.Optional&&void 0===i&&(i=null),!(n&(Ot.Self|Ot.Host))){const r=e[Un],s=_s(void 0);try{return r?r.get(t,i,n&Ot.Optional):ms(t,i,n&Ot.Optional)}finally{_s(s)}}return va(i,0,n)}function ya(e,t,n,i=Ot.Default,r){if(null!==e){if(2048&t[Ln]&&!(i&Ot.Self)){const r=function(e,t,n,i,r){let s=e,o=t;for(;null!==s&&null!==o&&2048&o[Ln]&&!(512&o[Ln]);){const e=wa(s,o,n,i|Ot.Self,ha);if(e!==ha)return e;let t=s.parent;if(!t){const e=o[Xn];if(e){const t=e.get(n,ha,i);if(t!==ha)return t}t=ka(o),o=o[Gn]}s=t}return r}(e,t,n,i,ha);if(r!==ha)return r}const r=wa(e,t,n,i,ha);if(r!==ha)return r}return ba(t,n,i,r)}function wa(e,t,n,i,r){const s=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Kt)?e[Kt]:void 0;return"number"==typeof t?t>=0?t&ca:xa:t}(n);if("function"==typeof s){if(!cr(t,e,i))return i&Ot.Host?va(r,0,i):ba(t,n,i,r);try{let e;if(e=s(i),null!=e||i&Ot.Optional)return e;fs()}finally{fr()}}else if("number"==typeof s){let r=null,o=ga(e,t),a=na,l=i&Ot.Host?t[Yn][Hn]:null;for((-1===o||i&Ot.SkipSelf)&&(a=-1===o?_a(e,t):t[o+8],a!==na&&Sa(i,!1)?(r=t[Fn],o=sa(a),t=oa(a,t)):o=-1);-1!==o;){const e=t[Fn];if(Ca(s,o,e.data)){const e=Ea(o,t,n,r,i,l);if(e!==ha)return e}a=t[o+8],a!==na&&Sa(i,t[Fn].data[o+8]===l)&&Ca(s,o,t)?(r=e,o=sa(a),t=oa(a,t)):o=-1}}return r}function Ea(e,t,n,i,r,s){const o=t[Fn],a=o.data[e+8],l=Ta(a,o,n,null==i?hi(a)&&aa:i!=o&&!!(3&a.type),r&Ot.Host&&s===a);return null!==l?Ia(t,o,l,a):ha}function Ta(e,t,n,i,r){const s=e.providerIndexes,o=t.data,a=1048575&s,l=e.directiveStart,c=e.directiveEnd,u=s>>20,d=r?a+u:c;for(let e=i?a:a+u;e<d;e++){const t=o[e];if(e<l&&n===t||e>=l&&t.type===n)return e}if(r){const e=o[l];if(e&&fi(e)&&e.type===n)return l}return null}function Ia(e,t,n,i){let r=e[n];const s=t.data;if(r instanceof ia){const o=r;o.resolving&&ps(hs(s[n]));const a=la(o.canSeeViewProviders);o.resolving=!0;const l=o.injectImpl?_s(o.injectImpl):null;cr(e,i,Ot.Default);try{r=e[n]=o.factory(void 0,s,e,i),t.firstCreatePass&&n>=i.directiveStart&&function(e,t,n){const{ngOnChanges:i,ngOnInit:r,ngDoCheck:s}=t.type.prototype;if(i){var o,a;const i=Uo(t);(null!==(o=n.preOrderHooks)&&void 0!==o?o:n.preOrderHooks=[]).push(e,i),(null!==(a=n.preOrderCheckHooks)&&void 0!==a?a:n.preOrderCheckHooks=[]).push(e,i)}var l,c,u;r&&(null!==(l=n.preOrderHooks)&&void 0!==l?l:n.preOrderHooks=[]).push(0-e,r),s&&((null!==(c=n.preOrderHooks)&&void 0!==c?c:n.preOrderHooks=[]).push(e,s),(null!==(u=n.preOrderCheckHooks)&&void 0!==u?u:n.preOrderCheckHooks=[]).push(e,s))}(n,s[n],t)}finally{null!==l&&_s(l),la(a),o.resolving=!1,fr()}}return r}function Ca(e,t,n){const i=1<<e;return!!(n[t+(e>>ua)]&i)}function Sa(e,t){return!(e&Ot.Self||e&Ot.Host&&t)}class Aa{constructor(e,t){this._tNode=e,this._lView=t}get(e,t,n){return ya(this._tNode,this._lView,e,Rs(n),t)}}function xa(){return new Aa(Wi(),qi())}function Da(e){return Bt((()=>{const t=e.prototype.constructor,n=t[Qt]||Ra(t),i=Object.prototype;let r=Object.getPrototypeOf(e.prototype).constructor;for(;r&&r!==i;){const e=r[Qt]||Ra(r);if(e&&e!==n)return e;r=Object.getPrototypeOf(r)}return e=>new e}))}function Ra(e){return cs(e)?()=>{const t=Ra(ls(e));return t&&t()}:Zs(e)}function ka(e){const t=e[Fn],n=t.type;return 2===n?t.declTNode:1===n?e[Hn]:null}function Oa(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let i=0;for(;i<e;){const r=n[i];if(tn(r))break;if(0===r)i+=2;else if("number"==typeof r)for(i++;i<e&&"string"==typeof n[i];)i++;else{if(r===t)return n[i+1];i+=2}}}return null}(Wi(),e)}const Na=Vs("Attribute",(e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Oa(e)})));let Fa=null;function La(){return Fa=Fa||new Po}function Pa(e){return Ma(La().parameters(e))}function Ma(e){return e.map((e=>function(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const i=e[n];if(void 0===i)continue;const r=Object.getPrototypeOf(i);if(i instanceof Gs||"Optional"===r.ngMetadataName)t.optional=!0;else if(i instanceof Qs||"SkipSelf"===r.ngMetadataName)t.skipSelf=!0;else if(i instanceof Ys||"Self"===r.ngMetadataName)t.self=!0;else if(i instanceof Ks||"Host"===r.ngMetadataName)t.host=!0;else if(i instanceof $s)t.token=i.token;else if(i instanceof Na){if(void 0===i.attributeName)throw new xt(204,!1);t.attribute=i.attributeName}else t.token=i}else void 0===e||Array.isArray(e)&&0===e.length?t.token=null:t.token=e;return t}(e)))}function Ha(e,t){let n=null,i=null;e.hasOwnProperty(Yr)||Object.defineProperty(e,Yr,{get:()=>{if(null===n){const i=xo();n=i.compileInjectable(Do,`ng:///${e.name}/ɵprov.js`,function(e,t){const n=t||{providedIn:null},i={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};(za(n)||qa(n))&&void 0!==n.deps&&(i.deps=Ma(n.deps));za(n)?i.useClass=n.useClass:!function(e){return Ba in e}(n)?qa(n)?i.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(i.useExisting=n.useExisting):i.useValue=n.useValue;return i}(e,t))}return n}}),e.hasOwnProperty(Qt)||Object.defineProperty(e,Qt,{get:()=>{if(null===i){const t=xo();i=t.compileFactory(Do,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:Pa(e),target:t.FactoryTarget.Injectable})}return i},configurable:!0})}const Ba=jt({provide:String,useValue:jt});function za(e){return void 0!==e.useClass}function qa(e){return void 0!==e.useFactory}Us("Injectable",void 0,void 0,void 0,((e,t)=>Ha(e,t)));function Ua(e,t=null,n=null,i){const r=ja(e,t,n,i);return r.resolveInjectorInitializers(),r}function ja(e,t=null,n=null,i,r=new Set){const s=[n||Ut,no(e)];return i=i||("object"==typeof e?void 0:Lt(e)),new bo(s,t||mo(),i||null,r)}class Va{static create(e,t){if(Array.isArray(e))return Ua({name:""},t,e,"");{var n;const t=null!==(n=e.name)&&void 0!==n?n:"";return Ua({name:t},e.parent,e.providers,t)}}}(Ue=Va).THROW_IF_NOT_FOUND=vs,Ue.NULL=new to,Ue.ɵprov=jr({token:Ue,providedIn:"any",factory:()=>As(Xs)}),Ue.__NG_ELEMENT_ID__=-1;function Wa(e){return e.ngOriginalError}class $a{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e);this._console.error("ERROR",e),t&&this._console.error("ORIGINAL ERROR",t)}_findOriginalError(e){let t=e&&Wa(e);for(;t&&Wa(t);)t=Wa(t);return t||null}}const Ga=new Jr("",{providedIn:"root",factory:()=>Ds($a).handleError.bind(void 0)});new Jr("");const Ya=new Jr("",{providedIn:"root",factory:()=>false});let Qa,Ka;function Za(){if(void 0===Qa&&(Qa=null,zt.trustedTypes))try{Qa=zt.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Qa}function Ja(e){var t;return(null===(t=Za())||void 0===t?void 0:t.createHTML(e))||e}function Xa(){if(void 0===Ka&&(Ka=null,zt.trustedTypes))try{Ka=zt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Ka}function el(e){var t;return(null===(t=Xa())||void 0===t?void 0:t.createHTML(e))||e}function tl(e){var t;return(null===(t=Xa())||void 0===t?void 0:t.createScript(e))||e}function nl(e){var t;return(null===(t=Xa())||void 0===t?void 0:t.createScriptURL(e))||e}class il{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${At})`}}class rl extends il{getTypeName(){return"HTML"}}class sl extends il{getTypeName(){return"Style"}}class ol extends il{getTypeName(){return"Script"}}class al extends il{getTypeName(){return"URL"}}class ll extends il{getTypeName(){return"ResourceURL"}}function cl(e){return e instanceof il?e.changingThisBreaksApplicationSecurity:e}function ul(e,t){const n=function(e){return e instanceof il&&e.getTypeName()||null}(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see ${At})`)}return n===t}function dl(e){const t=new pl(e);return function(){try{return!!(new window.DOMParser).parseFromString(Ja(""),"text/html")}catch(e){return!1}}()?new hl(t):t}class hl{constructor(e){this.inertDocumentHelper=e}getInertBodyElement(e){e="<body><remove></remove>"+e;try{const t=(new window.DOMParser).parseFromString(Ja(e),"text/html").body;return null===t?this.inertDocumentHelper.getInertBodyElement(e):(t.removeChild(t.firstChild),t)}catch(e){return null}}}class pl{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(e){const t=this.inertDocument.createElement("template");return t.innerHTML=Ja(e),t}}const fl=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function gl(e){return(e=String(e)).match(fl)?e:"unsafe:"+e}function _l(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function ml(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const vl=_l("area,br,col,hr,img,wbr"),bl=_l("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),yl=_l("rp,rt"),wl=ml(yl,bl),El=ml(bl,_l("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")),Tl=ml(yl,_l("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")),Il=ml(vl,El,Tl,wl),Cl=_l("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Sl=_l("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,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Al=_l("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"),xl=ml(Cl,Sl,Al),Dl=_l("script,style,template");class Rl{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!Il.hasOwnProperty(t))return this.sanitizedSomething=!0,!Dl.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let e=0;e<n.length;e++){const t=n.item(e),i=t.name,r=i.toLowerCase();if(!xl.hasOwnProperty(r)){this.sanitizedSomething=!0;continue}let s=t.value;Cl[r]&&(s=gl(s)),this.buf.push(" ",i,'="',Nl(s),'"')}return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Il.hasOwnProperty(t)&&!vl.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(Nl(e))}checkClobberedElement(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${e.outerHTML}`);return t}}const kl=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ol=/([^\#-~ |!])/g;function Nl(e){return e.replace(/&/g,"&amp;").replace(kl,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Ol,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let Fl;function Ll(e,t){let n=null;try{Fl=Fl||dl(e);let i=t?String(t):"";n=Fl.getInertBodyElement(i);let r=5,s=i;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,i=s,s=n.innerHTML,n=Fl.getInertBodyElement(i)}while(i!==s);const o=new Rl;return Ja(o.sanitizeChildren(Pl(n)||n))}finally{if(n){const e=Pl(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function Pl(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Ml;function Hl(e){const t=$l();return t?el(t.sanitize(Ml.HTML,e)||""):ul(e,"HTML")?el(cl(e)):Ll(Ur(),ds(e))}function Bl(e){const t=$l();return t?t.sanitize(Ml.STYLE,e)||"":ul(e,"Style")?cl(e):ds(e)}function zl(e){const t=$l();return t?t.sanitize(Ml.URL,e)||"":ul(e,"URL")?cl(e):gl(ds(e))}function ql(e){const t=$l();if(t)return nl(t.sanitize(Ml.RESOURCE_URL,e)||"");if(ul(e,"ResourceURL"))return nl(cl(e));throw new xt(904,!1)}function Ul(e){const t=$l();if(t)return tl(t.sanitize(Ml.SCRIPT,e)||"");if(ul(e,"Script"))return tl(cl(e));throw new xt(905,!1)}function jl(e){return Ja(e[0])}function Vl(e){return function(e){var t;return(null===(t=Za())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Wl(e,t,n){return function(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?ql:zl}(t,n)(e)}function $l(){const e=qi();return e&&e[jn].sanitizer}!function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Ml||(Ml={}));const Gl=/^>|^->|<!--|-->|--!>|<!-$/g,Yl=/(<|>)/g,Ql="​$1​";function Kl(e){return e.replace(Gl,(e=>e.replace(Yl,Ql)))}const Zl=new Map;let Jl=0;const Xl="__ngContext__";function ec(e,t){var n;ci(t)?(e[Xl]=t[Jn],n=t,Zl.set(n[Jn],n)):e[Xl]=t}function tc(e){Ht("Must never be called in production mode");const t=e[Yn][qn];return t&&t.constructor?Cn(t.constructor):null}function nc(e){var t;Ht("Must never be called in production mode");const n=tc(e),i=null==n||null===(t=n.type)||void 0===t?void 0:t.name;return i?` (used in the '${i}' component template)`:""}new Map([["ngIf","NgIf"],["ngFor","NgFor"],["ngSwitchCase","NgSwitchCase"],["ngSwitchDefault","NgSwitchDefault"]]);function ic(e){return e.ownerDocument.defaultView}function rc(e){return e.ownerDocument}function sc(e){return e.ownerDocument.body}function oc(e){return e instanceof Function?e():e}function ac(e){return"browser"===(null!=e?e:Ds(Va)).get(ns)}var lc;let cc;function uc(e,t){return cc(e,t)}function dc(e,t,n,i,r){if(null!=i){let s,o=!1;ui(i)?s=i:ci(i)&&(o=!0,i=i[Nn]);const a=vi(i);0===e&&null!==n?null==r?Ac(t,n,a):Sc(t,n,a,r||null,!0):1===e&&null!==n?Sc(t,n,a,r||null,!0):2===e?Bc(t,a,o):3===e&&t.destroyNode(a),null!=s&&function(e,t,n,i,r){const s=n[si],o=vi(n);s!==o&&dc(t,e,i,s,r);for(let r=ai;r<n.length;r++){const o=n[r];qc(o[Fn],o,e,t,i,s)}}(t,e,s,n,r)}}function hc(e,t){return e.createText(t)}function pc(e,t,n){e.setValue(t,n)}function fc(e,t){return e.createComment(Kl(t))}function gc(e,t,n){return e.createElement(t,n)}function _c(e,t){qc(e,t,t[Vn],2,null,null)}function mc(e,t,n,i){const r=ai+i,s=n.length;i>0&&(n[r-1][Mn]=t),i<s-ai?(t[Mn]=n[r],kr(n,ai+i,t)):(n.push(t),t[Mn]=null),t[Pn]=n;const o=t[Qn];null!==o&&n!==o&&function(e,t){const n=e[oi],i=t[Pn];const r=i[Pn][Yn];const s=t[Yn];s!==r&&(e[Ln]|=li.HasTransplantedViews);null===n?e[oi]=[t]:n.push(t)}(o,t);const a=t[Zn];null!==a&&a.insertView(e),ki(t),t[Ln]|=128}function vc(e,t){const n=e[oi],i=n.indexOf(t);n.splice(i,1)}function bc(e,t){if(e.length<=ai)return;const n=ai+t,i=e[n];if(i){const s=i[Qn];null!==s&&s!==e&&vc(s,i),t>0&&(e[n-1][Mn]=i[Mn]);const o=Or(e,ai+t);_c(i[Fn],r=i),r[Nn]=null,r[Hn]=null;const a=o[Zn];null!==a&&a.detachView(o[Fn]),i[Pn]=null,i[Mn]=null,i[Ln]&=-129}var r;return i}function yc(e,t){if(!(256&t[Ln])){const n=t[Vn];n.destroyNode&&qc(e,t,n,3,null,null),function(e){let t=e[Wn];if(!t)return wc(e[Fn],e);for(;t;){let n=null;if(ci(t))n=t[Wn];else{const e=t[ai];e&&(n=e)}if(!n){for(;t&&!t[Mn]&&t!==e;)ci(t)&&wc(t[Fn],t),t=t[Pn];null===t&&(t=e),ci(t)&&wc(t[Fn],t),n=t&&t[Mn]}t=n}}(t)}}function wc(e,t){if(256&t[Ln])return;const n=h(null);try{t[Ln]&=-129,t[Ln]|=256,t[ni]&&function(e){if(v(e),m(e))for(let t=0;t<e.producerNode.length;t++)_(e.producerNode[t],e.producerIndexOfThis[t]);e.producerNode.length=e.producerLastReadVersion.length=e.producerIndexOfThis.length=0,e.liveConsumerNode&&(e.liveConsumerNode.length=e.liveConsumerIndexOfThis.length=0)}(t[ni]),Tc(e,t),Ec(e,t),1===t[Fn].type&&t[Vn].destroy();const n=t[Qn];if(null!==n&&ui(t[Pn])){n!==t[Pn]&&vc(n,t);const i=t[Zn];null!==i&&i.detachView(e)}!function(e){Zl.delete(e[Jn])}(t)}finally{h(n)}}function Ec(e,t){const n=e.cleanup,i=t[zn];if(null!==n)for(let e=0;e<n.length-1;e+=2)if("string"==typeof n[e]){const t=n[e+3];t>=0?i[t]():i[-t].unsubscribe(),e+=2}else{const t=i[n[e+1]];n[e].call(t)}null!==i&&(t[zn]=null);const r=t[ei];if(null!==r){t[ei]=null;for(let e=0;e<r.length;e++){const t=r[e];t()}}}function Tc(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let e=0;e<n.length;e+=2){const i=t[n[e]];if(!(i instanceof ia)){const t=n[e+1];if(Array.isArray(t))for(let e=0;e<t.length;e+=2){const n=i[t[e]],r=t[e+1];Yo(4,n,r);try{r.call(n)}finally{Yo(5,n,r)}}else{Yo(4,i,t);try{t.call(i)}finally{Yo(5,i,t)}}}}}function Ic(e,t,n){return Cc(e,t.parent,n)}function Cc(e,t,n){let i=t;for(;null!==i&&40&i.type;)i=(t=i).parent;if(null===i)return n[Nn];{const{componentOffset:t}=i;if(t>-1){const{encapsulation:n}=e.data[i.directiveStart+t];if(n===Ft.None||n===Ft.Emulated)return null}return yi(i,n)}}function Sc(e,t,n,i,r){e.insertBefore(t,n,i,r)}function Ac(e,t,n){e.appendChild(t,n)}function xc(e,t,n,i,r){null!==i?Sc(e,t,n,i,r):Ac(e,t,n)}function Dc(e,t){return e.parentNode(t)}function Rc(e,t,n){return Nc(e,t,n)}function kc(e,t,n){return 40&e.type?yi(e,n):null}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(lc||(lc={}));let Oc,Nc=kc;function Fc(e,t){Nc=e,Oc=t}function Lc(e,t,n,i){const r=Ic(e,i,t),s=t[Vn],o=Rc(i.parent||t[Hn],i,t);if(null!=r)if(Array.isArray(n))for(let e=0;e<n.length;e++)xc(s,r,n[e],o,!1);else xc(s,r,n,o,!1);void 0!==Oc&&Oc(s,i,t,n,r)}function Pc(e,t){if(null!==t){const n=t.type;if(3&n)return yi(t,e);if(4&n)return Hc(-1,e[t.index]);if(8&n){const n=t.child;if(null!==n)return Pc(e,n);{const n=e[t.index];return ui(n)?Hc(-1,n):vi(n)}}if(32&n){return uc(t,e)()||vi(e[t.index])}{const n=Mc(e,t);if(null!==n){if(Array.isArray(n))return n[0];const t=Li(e[Yn]);return Pc(t,n)}return Pc(e,t.next)}}return null}function Mc(e,t){if(null!==t){const n=e[Yn][Hn],i=t.projection;return n.projection[i]}return null}function Hc(e,t){const n=ai+e+1;if(n<t.length){const e=t[n],i=e[Fn].firstChild;if(null!==i)return Pc(e,i)}return t[si]}function Bc(e,t,n){const i=Dc(e,t);i&&function(e,t,n,i){e.removeChild(t,n,i)}(e,i,t,n)}function zc(e,t,n,i,r,s,o){for(;null!=n;){const a=i[n.index],l=n.type;if(o&&0===t&&(a&&ec(vi(a),i),n.flags|=2),32&~n.flags)if(8&l)zc(e,t,n.child,i,r,s,!1),dc(t,e,r,a,s);else if(32&l){const o=uc(n,i);let l;for(;l=o();)dc(t,e,r,l,s);dc(t,e,r,a,s)}else 16&l?Uc(e,t,i,n,r,s):dc(t,e,r,a,s);n=o?n.projectionNext:n.next}}function qc(e,t,n,i,r,s){zc(n,i,e.firstChild,t,r,s,!1)}function Uc(e,t,n,i,r,s){const o=n[Yn],a=o[Hn].projection[i.projection];if(Array.isArray(a))for(let n=0;n<a.length;n++){dc(t,e,r,a[n],s)}else{let n=a;const l=o[Pn];qr(i)&&(n.flags|=128),zc(e,t,n,l,r,s,!0)}}function jc(e,t,n){""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n)}function Vc(e,t,n){const{mergedAttrs:i,classes:r,styles:s}=n;null!==i&&en(e,t,i),null!==r&&jc(e,t,r),null!==s&&function(e,t,n){e.setAttribute(t,"style",n)}(e,t,s)}const Wc={};function $c(e=1){Gc(Ui(),qi(),_r()+e,!1)}function Gc(e,t,n,i){if(!i){if(!(3&~t[Ln])){const i=e.preOrderCheckHooks;null!==i&&Ko(t,i,n)}else{const i=e.preOrderHooks;null!==i&&Zo(t,i,0,n)}}mr(n)}function Yc(e,t=Ot.Default){const n=qi();if(null===n)return As(e,t);const i=ya(Wi(),n,ls(e),t);return i}function Qc(){throw new Error("invalid")}function Kc(t,n,i,r,s,o){const a=h(null);try{let a=null;if(s&e.InputFlags.SignalBased){a=n[r][d]}null!==a&&void 0!==a.transformFn&&(o=a.transformFn(o)),s&e.InputFlags.HasDecoratorInputTransform&&(o=t.inputTransforms[r].call(n,o)),null!==t.setInput?t.setInput(n,a,o,i,r):zo(n,a,r,o)}finally{h(a)}}function Zc(e,t,n,i,r,s,o,a,l,c,u){const d=t.blueprint.slice();return d[Nn]=r,d[Ln]=204|i,(null!==c||e&&2048&e[Ln])&&(d[Ln]|=2048),Ai(d),d[Pn]=d[Gn]=e,d[qn]=n,d[jn]=o||e&&e[jn],d[Vn]=a||e&&e[Vn],d[Un]=l||e&&e[Un]||null,d[Hn]=s,d[Jn]=Jl++,d[Bn]=u,d[Xn]=c,d[Yn]=2==t.type?e[Yn]:d,d}function Jc(e,t,n,i,r){let s=e.data[t];if(null===s)s=Xc(e,t,n,i,r),Pi.lFrame.inI18n&&(s.flags|=32);else if(64&s.type){s.type=n,s.value=i,s.attrs=r;const e=Gi();s.injectorIndex=null===e?-1:e.injectorIndex}return Yi(s,!0),s}function Xc(e,t,n,i,r){const s=$i(),o=Qi(),a=o?s:s&&s.parent,l=e.data[t]=function(e,t,n,i,r,s){let o=t?t.injectorIndex:-1,a=0;Hi()&&(a|=128);const l={type:n,index:i,insertBeforeIndex:null,injectorIndex:o,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:a,providerIndexes:0,value:r,attrs:s,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0};0;return l}(0,a,n,t,i,r);return null===e.firstChild&&(e.firstChild=l),null!==s&&(o?null==s.child&&null!==l.parent&&(s.child=l):null===s.next&&(s.next=l,l.prev=s)),l}function eu(e,t,n,i){if(0===n)return-1;const r=t.length;for(let r=0;r<n;r++)t.push(i),e.blueprint.push(i),e.data.push(null);return r}function tu(e,t,n,i,r){const s=_r(),o=2&i;try{mr(-1),o&&t.length>ii&&Gc(e,t,ii,!1);Yo(o?2:0,r),n(i,r)}finally{mr(s);Yo(o?3:1,r)}}function nu(e,t,n){if(di(t)){const i=h(null);try{const i=t.directiveStart,r=t.directiveEnd;for(let t=i;t<r;t++){const i=e.data[t];if(i.contentQueries){const e=n[t];i.contentQueries(1,e,t)}}}finally{h(i)}}}function iu(e,t,n){Mi()&&(!function(e,t,n,i){const r=n.directiveStart,s=n.directiveEnd;hi(n)&&function(e,t,n){const i=yi(t,e),r=su(n),s=e[jn].rendererFactory;let o=16;n.signals?o=4096:n.onPush&&(o=64);const a=Tu(e,Zc(e,r,null,o,i,t,null,s.createRenderer(i,n),null,null,null));e[t.index]=a}(t,n,e.data[r+n.componentOffset]);e.firstCreatePass||pa(n,t);ec(i,t);const o=n.initialInputs;for(let i=r;i<s;i++){const s=e.data[i],a=Ia(t,e,i,n);if(ec(a,t),null!==o&&bu(t,i-r,a,s,n,o),fi(s)){Ti(n.index,t)[qn]=Ia(t,e,i,n)}}}(e,t,n,yi(n,t)),64&~n.flags||hu(e,t,n))}function ru(e,t,n=yi){const i=t.localNames;if(null!==i){let r=t.index+1;for(let s=0;s<i.length;s+=2){const o=i[s+1],a=-1===o?n(t,e):e[o];e[r++]=a}}}function su(e){const t=e.tView;if(null===t||t.incompleteFirstPass){const t=null;return e.tView=ou(1,t,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts,e.id)}return t}function ou(e,t,n,i,r,s,o,a,l,c,u){const d=ii+i,h=d+r,p=function(e,t){const n=[];for(let i=0;i<t;i++)n.push(i<e?null:Wc);return n}(d,h),f="function"==typeof c?c():c,g=p[Fn]={type:e,blueprint:p,template:n,queries:null,viewQuery:a,declTNode:t,data:p.slice().fill(null,d),bindingStartIndex:d,expandoStartIndex:h,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof s?s():s,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:l,consts:f,incompleteFirstPass:!1,ssrId:u};return g}function au(t,n,i,r,s){for(let a in n){var o;if(!n.hasOwnProperty(a))continue;const l=n[a];if(void 0===l)continue;let c;null!==(o=r)&&void 0!==o||(r={});let u=e.InputFlags.None;Array.isArray(l)?(c=l[0],u=l[1]):c=l;let d=a;if(null!==s){if(!s.hasOwnProperty(a))continue;d=s[a]}0===t?lu(r,i,d,c,u):lu(r,i,d,c)}return r}function lu(e,t,n,i,r){let s;e.hasOwnProperty(n)?(s=e[n]).push(t,i):s=e[n]=[t,i],void 0!==r&&s.push(r)}function cu(e,t,n,i,r,s,o,a){const l=yi(t,n);let c,u=t.inputs;var d;!a&&null!=u&&(c=u[i])?(Du(e,n,c,i,r),hi(t)&&function(e,t){const n=Ti(t,e);16&n[Ln]||(n[Ln]|=64)}(n,t.index)):3&t.type?(i="class"===(d=i)?"className":"for"===d?"htmlFor":"formaction"===d?"formAction":"innerHtml"===d?"innerHTML":"readonly"===d?"readOnly":"tabindex"===d?"tabIndex":d,r=null!=o?o(r,t.value||"",i):r,s.setProperty(l,i,r)):t.type}function uu(e,t,n,i){if(Mi()){const r=null===i?null:{"":-1},s=function(e,t){const n=e.directiveRegistry;let i=null,r=null;if(n)for(let o=0;o<n.length;o++){const a=n[o];var s;if(pn(t,a.selectors,!1))if(i||(i=[]),fi(a))if(null!==a.findHostDirectiveDefs){const n=[];r=r||new Map,a.findHostDirectiveDefs(a,n,r),i.unshift(...n,a);fu(e,t,n.length)}else i.unshift(a),fu(e,t,0);else r=r||new Map,null===(s=a.findHostDirectiveDefs)||void 0===s||s.call(a,a,i,r),i.push(a)}return null===i?null:[i,r]}(e,n);let o,a;null===s?o=a=null:[o,a]=s,null!==o&&du(e,t,n,o,r,a),r&&function(e,t,n){if(t){const i=e.localNames=[];for(let e=0;e<t.length;e+=2){const r=n[t[e+1]];if(null==r)throw new xt(-301,!1);i.push(t[e],r)}}}(n,i,r)}n.mergedAttrs=rn(n.mergedAttrs,n.attrs)}function du(e,t,n,i,r,s){for(let r=0;r<i.length;r++)ma(pa(n,t),e,i[r].type);!function(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(n,e.data.length,i.length);for(let e=0;e<i.length;e++){const t=i[e];t.providersResolver&&t.providersResolver(t)}let o=!1,a=!1,l=eu(e,t,i.length,null);for(let s=0;s<i.length;s++){const d=i[s];n.mergedAttrs=rn(n.mergedAttrs,d.hostAttrs),_u(e,n,t,l,d),gu(l,d,r),null!==d.contentQueries&&(n.flags|=4),null===d.hostBindings&&null===d.hostAttrs&&0===d.hostVars||(n.flags|=64);const h=d.type.prototype;var c,u;if(!o&&(h.ngOnChanges||h.ngOnInit||h.ngDoCheck))(null!==(c=e.preOrderHooks)&&void 0!==c?c:e.preOrderHooks=[]).push(n.index),o=!0;if(!a&&(h.ngOnChanges||h.ngDoCheck))(null!==(u=e.preOrderCheckHooks)&&void 0!==u?u:e.preOrderCheckHooks=[]).push(n.index),a=!0;l++}!function(e,t,n){const i=t.directiveStart,r=t.directiveEnd,s=e.data,o=t.attrs,a=[];let l=null,c=null;for(let e=i;e<r;e++){const i=s[e],r=n?n.get(i):null,u=r?r.inputs:null,d=r?r.outputs:null;l=au(0,i.inputs,e,l,u),c=au(1,i.outputs,e,c,d);const h=null===l||null===o||ln(t)?null:yu(l,e,o);a.push(h)}null!==l&&(l.hasOwnProperty("class")&&(t.flags|=8),l.hasOwnProperty("style")&&(t.flags|=16)),t.initialInputs=a,t.inputs=l,t.outputs=c}(e,n,s)}function hu(e,t,n){const i=n.directiveStart,r=n.directiveEnd,s=n.index,o=Pi.lFrame.currentDirectiveIndex;try{mr(s);for(let n=i;n<r;n++){const i=e.data[n],r=t[n];rr(n),null===i.hostBindings&&0===i.hostVars&&null===i.hostAttrs||pu(i,r)}}finally{mr(-1),rr(o)}}function pu(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function fu(e,t,n){var i;t.componentOffset=n,(null!==(i=e.components)&&void 0!==i?i:e.components=[]).push(t.index)}function gu(e,t,n){if(n){if(t.exportAs)for(let i=0;i<t.exportAs.length;i++)n[t.exportAs[i]]=e;fi(t)&&(n[""]=e)}}function _u(e,t,n,i,r){e.data[i]=r;const s=r.factory||(r.factory=Zs(r.type)),o=new ia(s,fi(r),Yc);e.blueprint[i]=o,n[i]=o,function(e,t,n,i,r){const s=r.hostBindings;if(s){let r=e.hostBindingOpCodes;null===r&&(r=e.hostBindingOpCodes=[]);const o=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(r)!=o&&r.push(o),r.push(n,i,s)}}(e,t,i,eu(e,n,r.hostVars,Wc),r)}function mu(e,t,n,i,r,s){const o=yi(e,t);vu(t[Vn],o,s,e.value,n,i,r)}function vu(e,t,n,i,r,s,o){if(null==s)e.removeAttribute(t,r,n);else{const a=null==o?ds(s):o(s,i||"",r);e.setAttribute(t,r,a,n)}}function bu(e,t,n,i,r,s){const o=s[t];if(null!==o)for(let e=0;e<o.length;){const t=o[e++],r=o[e++],s=o[e++],a=o[e++];Kc(i,n,t,r,s,a)}}function yu(e,t,n){let i=null,r=0;for(;r<n.length;){const s=n[r];if(0!==s)if(5!==s){if("number"==typeof s)break;if(e.hasOwnProperty(s)){null===i&&(i=[]);const o=e[s];for(let e=0;e<o.length;e+=3)if(o[e]===t){i.push(s,o[e+1],o[e+2],n[r+1]);break}}r+=2}else r+=2;else r+=4}return i}function wu(e,t,n,i){const r=[e,!0,0,t,null,i,null,n,null,null];return r}function Eu(e,t){const n=e.contentQueries;if(null!==n){const i=h(null);try{for(let i=0;i<n.length;i+=2){const r=n[i],s=n[i+1];if(-1!==s){const n=e.data[s];ar(r),n.contentQueries(2,t[s],s)}}}finally{h(i)}}}function Tu(e,t){return e[Wn]?e[$n][Mn]=t:e[Wn]=t,e[$n]=t,t}function Iu(e,t,n){ar(0);const i=h(null);try{t(e,n)}finally{h(i)}}function Cu(e){return e[zn]||(e[zn]=[])}function Su(e){return e.cleanup||(e.cleanup=[])}function Au(e,t,n){return(null===e||fi(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[ri])return e;e=e[Nn]}return null}(n[t.index])),n[Vn]}function xu(e,t){const n=e[Un],i=n?n.get($a,null):null;i&&i.handleError(t)}function Du(e,t,n,i,r){for(let s=0;s<n.length;){const o=n[s++],a=n[s++],l=n[s++],c=t[o];Kc(e.data[o],c,i,a,l,r)}}function Ru(e,t,n){const i=bi(t,e);pc(e[Vn],i,n)}function ku(e,t){const n=Ti(t,e),i=n[Fn];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(i,n);const r=n[Nn];null!==r&&null===n[Bn]&&(n[Bn]=Ms(0,n[Un])),Ou(i,n,n[qn])}function Ou(e,t,n){ur(t);try{var i;const r=e.viewQuery;null!==r&&Iu(1,r,n);const s=e.template;null!==s&&tu(e,t,s,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),null===(i=t[Zn])||void 0===i||i.finishViewCreation(e),e.staticContentQueries&&Eu(e,t),e.staticViewQueries&&Iu(2,e.viewQuery,n);const o=e.components;null!==o&&function(e,t){for(let n=0;n<t.length;n++)ku(e,t[n])}(t,o)}catch(t){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),t}finally{t[Ln]&=-5,gr()}}function Nu(e,t,n,i){const r=h(null);try{var s,o;const r=t.tView,a=4096&e[Ln],l=Zc(e,r,n,a?4096:16,null,t,null,null,null,null!==(s=null==i?void 0:i.injector)&&void 0!==s?s:null,null!==(o=null==i?void 0:i.dehydratedView)&&void 0!==o?o:null),c=e[t.index];l[Qn]=c;const u=e[Zn];return null!==u&&(l[Zn]=u.createEmbeddedView(r)),Ou(r,l,n),l}finally{h(r)}}function Fu(e,t){const n=ai+t;if(n<e.length){const t=e[n];return t}}function Lu(e,t){return!t||null===t.firstChild||qr(e)}function Pu(e,t,n,i=!0){const r=t[Fn];if(mc(r,t,e,n),i){const i=Hc(n,e),s=t[Vn],o=Dc(s,e[si]);null!==o&&function(e,t,n,i,r,s){i[Nn]=r,i[Hn]=t,qc(e,i,n,1,r,s)}(r,e[Hn],s,t,o,i)}const s=t[Bn];null!==s&&null!==s.firstChild&&(s.firstChild=null)}function Mu(e,t){const n=bc(e,t);return void 0!==n&&yc(n[Fn],n),n}function Hu(e,t,n,i,r=!1){for(;null!==n;){const s=t[n.index];null!==s&&i.push(vi(s)),ui(s)&&Bu(s,i);const o=n.type;if(8&o)Hu(e,t,n.child,i);else if(32&o){const e=uc(n,t);let r;for(;r=e();)i.push(r)}else if(16&o){const e=Mc(t,n);if(Array.isArray(e))i.push(...e);else{const n=Li(t[Yn]);Hu(n[Fn],n,e,i,!0)}}n=r?n.projectionNext:n.next}return i}function Bu(e,t){for(let n=ai;n<e.length;n++){const i=e[n],r=i[Fn].firstChild;null!==r&&Hu(i[Fn],i,r,t)}e[si]!==e[Nn]&&t.push(e[si])}let zu=[];function qu(e){var t;return null!==(t=e[ni])&&void 0!==t?t:function(e){var t;const n=null!==(t=zu.pop())&&void 0!==t?t:Object.create(Uu);return n.lView=e,n}(e)}const Uu=Ct(Ct({},p),{},{consumerIsAlwaysLive:!0,consumerMarkedDirty:e=>{Oi(e.lView)},consumerOnSignalRead(){this.lView[ni]=this}});function ju(e){return Wu(e[Wn])}function Vu(e){return Wu(e[Mn])}function Wu(e){for(;null!==e&&!ui(e);)e=e[Mn];return e}const $u=100;function Gu(e,t=!0,n=0){const i=e[jn],r=i.rendererFactory;var s;null===(s=r.begin)||void 0===s||s.call(r);try{!function(e,t){Ju(e,t);let n=0;for(;Ri(e);){if(n===$u)throw new xt(103,!1);n++,Ju(e,1)}}(e,n)}catch(n){throw t&&xu(e,n),n}finally{var o,a;null===(o=r.end)||void 0===o||o.call(r),null===(a=i.inlineEffectRunner)||void 0===a||a.flush()}}function Yu(e,t,n,i){var r;const s=t[Ln];if(!(256&~s))return;null===(r=t[jn].inlineEffectRunner)||void 0===r||r.flush(),ur(t);let o=null,a=null;var l,c;(function(e){return 2!==e.type})(e)&&(a=qu(t),(l=a)&&(l.nextProducerIndex=0),o=h(l));try{Ai(t),Xi(e.bindingStartIndex),null!==n&&tu(e,t,n,2,i);const r=!(3&~s);if(r){const n=e.preOrderCheckHooks;null!==n&&Ko(t,n,null)}else{const n=e.preOrderHooks;null!==n&&Zo(t,n,0,null),Jo(t,0)}if(function(e){for(let t=ju(e);null!==t;t=Vu(t)){if(!(t[Ln]&li.HasTransplantedViews))continue;const e=t[oi];for(let t=0;t<e.length;t++){const n=e[t];n[Pn];xi(n)}}}(t),Qu(t,0),null!==e.contentQueries&&Eu(e,t),r){const n=e.contentCheckHooks;null!==n&&Ko(t,n)}else{const n=e.contentHooks;null!==n&&Zo(t,n,1),Jo(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let e=0;e<n.length;e++){const i=n[e];if(i<0)mr(~i);else{const r=i,s=n[++e],o=n[++e];ir(s,r),o(2,t[r])}}}finally{mr(-1)}}(e,t);const o=e.components;null!==o&&Xu(t,o,0);const a=e.viewQuery;if(null!==a&&Iu(2,a,i),r){const n=e.viewCheckHooks;null!==n&&Ko(t,n)}else{const n=e.viewHooks;null!==n&&Zo(t,n,2),Jo(t,2)}if(!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),t[ti]){for(const e of t[ti])e();t[ti]=null}t[Ln]&=-73}catch(e){throw Oi(t),e}finally{null!==a&&(!function(e,t){if(h(t),e&&void 0!==e.producerNode&&void 0!==e.producerIndexOfThis&&void 0!==e.producerLastReadVersion){if(m(e))for(let t=e.nextProducerIndex;t<e.producerNode.length;t++)_(e.producerNode[t],e.producerIndexOfThis[t]);for(;e.producerNode.length>e.nextProducerIndex;)e.producerNode.pop(),e.producerLastReadVersion.pop(),e.producerIndexOfThis.pop()}}(a,o),(c=a).lView[ni]!==c&&(c.lView=null,zu.push(c))),gr()}}function Qu(e,t){for(let n=ju(e);null!==n;n=Vu(n))for(let e=ai;e<n.length;e++){Zu(n[e],t)}}function Ku(e,t,n){Zu(Ti(t,e),n)}function Zu(e,t){Ci(e)&&Ju(e,t)}function Ju(e,t){const n=e[Fn],i=e[Ln],r=e[ni];let s=!!(0===t&&16&i);if(s||(s=!!(64&i&&0===t)),s||(s=!!(1024&i)),s||(s=!(null==r||!r.dirty||!g(r))),r&&(r.dirty=!1),e[Ln]&=-9217,s)Yu(n,e,n.template,e[qn]);else if(8192&i){Qu(e,1);const t=n.components;null!==t&&Xu(e,t,1)}}function Xu(e,t,n){for(let i=0;i<t.length;i++)Ku(e,t[i],n)}function ed(e){var t;for(null===(t=e[jn].changeDetectionScheduler)||void 0===t||t.notify();e;){e[Ln]|=64;const t=Li(e);if(512&e[Ln]&&!t)return e;e=t}return null}class td{get rootNodes(){const e=this._lView,t=e[Fn];return Hu(t,e,t.firstChild,[])}constructor(e,t,n=!0){this._lView=e,this._cdRefInjectingView=t,this.notifyErrorHandler=n,this._appRef=null,this._attachedToViewContainer=!1}get context(){return this._lView[qn]}set context(e){this._lView[qn]=e}get destroyed(){return!(256&~this._lView[Ln])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const e=this._lView[Pn];if(ui(e)){const t=e[8],n=t?t.indexOf(this):-1;n>-1&&(bc(e,n),Or(t,n))}this._attachedToViewContainer=!1}yc(this._lView[Fn],this._lView)}onDestroy(e){Ni(this._lView,e)}markForCheck(){ed(this._cdRefInjectingView||this._lView)}detach(){this._lView[Ln]&=-129}reattach(){ki(this._lView),this._lView[Ln]|=128}detectChanges(){this._lView[Ln]|=1024,Gu(this._lView,this.notifyErrorHandler)}checkNoChanges(){0}attachToViewContainerRef(){if(this._appRef)throw new xt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,_c(this._lView[Fn],this._lView)}attachToAppRef(e){if(this._attachedToViewContainer)throw new xt(902,!1);this._appRef=e,ki(this._lView)}}class nd{}nd.__NG_ELEMENT_ID__=function(){return sd(Wi(),qi())};const id=nd,rd=class extends id{constructor(e,t,n){super(),this._declarationLView=e,this._declarationTContainer=t,this.elementRef=n}get ssrId(){var e;return(null===(e=this._declarationTContainer.tView)||void 0===e?void 0:e.ssrId)||null}createEmbeddedView(e,t){return this.createEmbeddedViewImpl(e,t)}createEmbeddedViewImpl(e,t,n){const i=Nu(this._declarationLView,this._declarationTContainer,e,{injector:t,dehydratedView:n});return new td(i)}};function sd(e,t){return 4&e.type?new rd(t,e,Sr(e,t)):null}let od=()=>null;function ad(e,t){return od()}class ld{}class cd{}class ud{}const dd="ngComponent";class hd{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${Lt(e)}.`);return t[dd]=e,t}(e)}}class pd{}pd.NULL=new hd;class fd{}class gd{constructor(){this.destroyNode=null}}gd.__NG_ELEMENT_ID__=()=>function(){const e=qi(),t=Ti(Wi().index,e);return(ci(t)?t:e)[Vn]}();class _d{}(je=_d).ɵprov=jr({token:je,providedIn:"root",factory:()=>null});const md={};class vd{}(Ve=vd).__NG_ELEMENT_ID__=function(){return new bd(qi())},Ve.__NG_ENV_ID__=e=>e;class bd extends vd{constructor(e){super(),this._lView=e}onDestroy(e){return Ni(this._lView,e),()=>Fi(this._lView,e)}}const yd=new Set;function wd(e){var t,n;yd.has(e)||(yd.add(e),null===(t=performance)||void 0===t||null===(n=t.mark)||void 0===n||n.call(t,"mark_feature_usage",{detail:{feature:e}}))}function Ed(...e){}class Td{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1,shouldCoalesceRunChangeDetection:n=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new kt(!1),this.onMicrotaskEmpty=new kt(!1),this.onStable=new kt(!1),this.onError=new kt(!1),"undefined"==typeof Zone)throw new xt(908,!1);Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!n&&t,i.shouldCoalesceRunChangeDetection=n,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){const e="function"==typeof zt.requestAnimationFrame;let t=zt[e?"requestAnimationFrame":"setTimeout"],n=zt[e?"cancelAnimationFrame":"clearTimeout"];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(e){const t=()=>{!function(e){if(e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId)return;e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(zt,(()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",(()=>{e.lastRequestAnimationFrameId=-1,Sd(e),e.isCheckStableRunning=!0,Cd(e),e.isCheckStableRunning=!1}),void 0,(()=>{}),(()=>{}))),e.fakeTopEventTask.invoke()})),Sd(e)}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,i,r,s,o,a)=>{if(function(e){var t;if(!Array.isArray(e))return!1;if(1!==e.length)return!1;return!0===(null===(t=e[0].data)||void 0===t?void 0:t.__ignore_ng_zone__)}(a))return n.invokeTask(r,s,o,a);try{return Ad(e),n.invokeTask(r,s,o,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),xd(e)}},onInvoke:(n,i,r,s,o,a,l)=>{try{return Ad(e),n.invoke(r,s,o,a,l)}finally{e.shouldCoalesceRunChangeDetection&&t(),xd(e)}},onHasTask:(t,n,i,r)=>{t.hasTask(i,r),n===i&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,Sd(e),Cd(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,n,i,r)=>(t.handleError(i,r),e.runOutsideAngular((()=>e.onError.emit(r))),!1)})}(i)}static isInAngularZone(){return"undefined"!=typeof Zone&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Td.isInAngularZone())throw new xt(909,!1)}static assertNotInAngularZone(){if(Td.isInAngularZone())throw new xt(909,!1)}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,i){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+i,e,Id,Ed,Ed);try{return r.runTask(s,t,n)}finally{r.cancelTask(s)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}const Id={};function Cd(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular((()=>e.onStable.emit(null)))}finally{e.isStable=!0}}}function Sd(e){e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId?e.hasPendingMicrotasks=!0:e.hasPendingMicrotasks=!1}function Ad(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xd(e){e._nesting--,Cd(e)}class Dd{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new kt,this.onMicrotaskEmpty=new kt,this.onStable=new kt,this.onError=new kt}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,i){return e.apply(t,n)}}var Rd;function kd(e,t){var n;const i=null!==(n=null==t?void 0:t.injector)&&void 0!==n?n:Ds(Va);if(!(null!=t&&t.runOnServer||ac(i)))return;i.get(Od).internalCallbacks.push(e)}!function(e){e[e.EarlyRead=0]="EarlyRead",e[e.Write=1]="Write",e[e.MixedReadWrite=2]="MixedReadWrite",e[e.Read=3]="Read"}(Rd||(Rd={}));class Od{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){var e;this.executeInternalCallbacks(),null===(e=this.handler)||void 0===e||e.execute()}executeInternalCallbacks(){const e=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const t of e)t()}ngOnDestroy(){var e;null===(e=this.handler)||void 0===e||e.destroy(),this.handler=null,this.internalCallbacks.length=0}}function Nd(e){return void 0!==e.ngModule}function Fd(e){return!!Dn(e)}function Ld(e){return!!An(e)}function Pd(e){return!!Sn(e)}function Md(e){return!!Cn(e)}function Hd(e,t){if(cs(e)&&!(e=ls(e)))throw new Error(`Expected forwardRef function, imported from "${hs(t)}", to return a standalone entity or NgModule but got "${hs(e)||e}".`);if(null==Dn(e)){const i=Cn(e)||Sn(e)||An(e);if(null==i)throw Nd(e)?new Error(`A module with providers was imported from "${hs(t)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${hs(e)}" type, imported from "${hs(t)}", must be a standalone component / directive / pipe or an NgModule. Did you forget to add the required @Component / @Directive / @Pipe or @NgModule annotation?`);if(!i.standalone)throw new Error(`The "${hs(e)}" ${n=e,Cn(n)?"component":Sn(n)?"directive":An(n)?"pipe":"type"}, imported from "${hs(t)}", is not standalone. Did you forget to add the standalone: true flag?`)}var n}(We=Od).ɵprov=jr({token:We,providedIn:"root",factory:()=>new We});function Bd(e,t){for(const n of e)t.add(n)}const zd=new class{constructor(){this.ownerNgModule=new Map,this.ngModulesWithSomeUnresolvedDecls=new Set,this.ngModulesScopeCache=new Map,this.standaloneComponentsScopeCache=new Map}resolveNgModulesDecls(){if(0!==this.ngModulesWithSomeUnresolvedDecls.size){for(const e of this.ngModulesWithSomeUnresolvedDecls){const t=Dn(e);if(null!=t&&t.declarations)for(const n of oc(t.declarations))Md(n)&&this.ownerNgModule.set(n,e)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(e,t){this.resolveNgModulesDecls();const n=Cn(e);if(null===n)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${e}`);if(n.standalone){const n=this.getStandaloneComponentScope(e,t);return n.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...n.compilation.directives,...n.compilation.pipes,...n.compilation.ngModules]}}{if(!this.ownerNgModule.has(e))return{dependencies:[]};const t=this.getNgModuleScope(this.ownerNgModule.get(e));return t.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...t.compilation.directives,...t.compilation.pipes]}}}registerNgModule(e,t){if(!Fd(e))throw new Error(`Attempting to register a Type which is not NgModule as NgModule: ${e}`);this.ngModulesWithSomeUnresolvedDecls.add(e)}clearScopeCacheFor(e){this.ngModulesScopeCache.delete(e),this.standaloneComponentsScopeCache.delete(e)}getNgModuleScope(e){if(this.ngModulesScopeCache.has(e))return this.ngModulesScopeCache.get(e);const t=this.computeNgModuleScope(e);return this.ngModulesScopeCache.set(e,t),t}computeNgModuleScope(e){const t=Dn(e,!0),n={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const e of oc(t.imports))if(Fd(e)){const t=this.getNgModuleScope(e);Bd(t.exported.directives,n.compilation.directives),Bd(t.exported.pipes,n.compilation.pipes)}else{if(!xn(e)){n.compilation.isPoisoned=!0;break}if(Pd(e)||Md(e))n.compilation.directives.add(e);else{if(!Ld(e))throw new xt(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");n.compilation.pipes.add(e)}}if(!n.compilation.isPoisoned)for(const e of oc(t.declarations)){if(Fd(e)||xn(e)){n.compilation.isPoisoned=!0;break}Ld(e)?n.compilation.pipes.add(e):n.compilation.directives.add(e)}for(const e of oc(t.exports))if(Fd(e)){const t=this.getNgModuleScope(e);Bd(t.exported.directives,n.exported.directives),Bd(t.exported.pipes,n.exported.pipes),Bd(t.exported.directives,n.compilation.directives),Bd(t.exported.pipes,n.compilation.pipes)}else Ld(e)?n.exported.pipes.add(e):n.exported.directives.add(e);return n}getStandaloneComponentScope(e,t){if(this.standaloneComponentsScopeCache.has(e))return this.standaloneComponentsScopeCache.get(e);const n=this.computeStandaloneComponentScope(e,t);return this.standaloneComponentsScopeCache.set(e,n),n}computeStandaloneComponentScope(e,t){const n={compilation:{directives:new Set([e]),pipes:new Set,ngModules:new Set}};for(const i of Dr(null!=t?t:[])){const t=ls(i);try{Hd(t,e)}catch(e){return n.compilation.isPoisoned=!0,n}if(Fd(t)){n.compilation.ngModules.add(t);const e=this.getNgModuleScope(t);if(e.exported.isPoisoned)return n.compilation.isPoisoned=!0,n;Bd(e.exported.directives,n.compilation.directives),Bd(e.exported.pipes,n.compilation.pipes)}else if(Ld(t))n.compilation.pipes.add(t);else{if(!Pd(t)&&!Md(t))return n.compilation.isPoisoned=!0,n;n.compilation.directives.add(t)}}return n}isOrphanComponent(e){const t=Cn(e);return!(!t||t.standalone)&&(this.resolveNgModulesDecls(),!this.ownerNgModule.has(e))}};function qd(e,t,n){let i=n?e.styles:null,r=n?e.classes:null,s=0;if(null!==t)for(let e=0;e<t.length;e++){const n=t[e];if("number"==typeof n)s=n;else if(1==s)r=Pt(r,n);else if(2==s){i=Pt(i,n+": "+t[++e]+";")}}n?e.styles=i:e.stylesWithoutHost=i,n?e.classes=r:e.classesWithoutHost=r}class Ud extends pd{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Cn(e);return new Wd(t,this.ngModule)}}function jd(e){const t=[];for(const n in e){if(!e.hasOwnProperty(n))continue;const i=e[n];void 0!==i&&t.push({propName:Array.isArray(i)?i[0]:i,templateName:n})}return t}class Vd{constructor(e,t){this.injector=e,this.parentInjector=t}get(e,t,n){n=Rs(n);const i=this.injector.get(e,md,n);return i!==md||t===md?i:this.parentInjector.get(e,t,n)}}class Wd extends ud{get inputs(){const e=this.componentDef,t=e.inputTransforms,n=jd(e.inputs);if(null!==t)for(const e of n)t.hasOwnProperty(e.propName)&&(e.transform=t[e.propName]);return n}get outputs(){return jd(this.componentDef.outputs)}constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=mn(e.selectors),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}create(e,t,n,i){const r=h(null);try{var s;0;let r=(i=i||this.ngModule)instanceof vo?i:null===(s=i)||void 0===s?void 0:s.injector;r&&null!==this.componentDef.getStandaloneInjector&&(r=this.componentDef.getStandaloneInjector(r)||r);const o=r?new Vd(e,r):e,a=o.get(fd,null);if(null===a)throw new xt(407,!1);const l=o.get(_d,null),c=o.get(Od,null),u={rendererFactory:a,sanitizer:l,inlineEffectRunner:null,afterRenderEventManager:c,changeDetectionScheduler:o.get(ld,null)},d=a.createRenderer(null,this.componentDef),h=this.componentDef.selectors[0][0]||"div",p=n?function(e,t,n,i){const r=i.get(Ya,!1)||n===Ft.ShadowDom;return e.selectRootElement(t,r)}(d,n,this.componentDef.encapsulation,o):gc(d,h,function(e){const t=e.toLowerCase();return"svg"===t?_i:"math"===t?mi:null}(h));let f=512;this.componentDef.signals?f|=4096:this.componentDef.onPush||(f|=16);let g=null;null!==p&&(g=Ms(0,0,!0));const _=ou(0,null,null,1,0,null,null,null,null,null,null),m=Zc(null,_,null,f,null,null,u,d,o,null,g);let v,b;ur(m);try{const e=this.componentDef;let i,r=null;e.findHostDirectiveDefs?(i=[],r=new Map,e.findHostDirectiveDefs(e,i,r),i.push(e)):i=[e];const s=function(e,t,n,i,r,s,o){const a=r[Fn];!function(e,t,n,i){for(const n of e)t.mergedAttrs=rn(t.mergedAttrs,n.hostAttrs);null!==t.mergedAttrs&&(qd(t,t.mergedAttrs,!0),null!==n&&Vc(i,n,t))}(i,e,t,o);let l=null;null!==t&&(l=Ms(0,r[Un]));const c=s.rendererFactory.createRenderer(t,n);let u=16;n.signals?u=4096:n.onPush&&(u=64);const d=Zc(r,su(n),null,u,r[e.index],e,s,c,null,null,l);a.firstCreatePass&&fu(a,e,i.length-1);return Tu(r,d),r[e.index]=d}(function(e,t){const n=e[Fn],i=ii;return e[i]=t,Jc(n,i,2,"#host",null)}(m,p),p,e,i,m,u,d);b=wi(_,ii),p&&function(e,t,n,i){if(i)en(e,n,["ng-version","17.2.4"]);else{const{attrs:i,classes:r}=function(e){const t=[],n=[];let i=1,r=2;for(;i<e.length;){let s=e[i];if("string"==typeof s)2===r?""!==s&&t.push(s,e[++i]):8===r&&n.push(s);else{if(!dn(r))break;r=s}i++}return{attrs:t,classes:n}}(t.selectors[0]);i&&en(e,n,i),r&&r.length>0&&jc(e,n,r.join(" "))}}(d,e,p,n),void 0!==t&&function(e,t,n){const i=e.projection=[];for(let e=0;e<t.length;e++){const t=n[e];i.push(null!=t?Array.from(t):null)}}(b,this.ngContentSelectors,t),v=function(e,t,n,i,r,s){const o=Wi();const a=r[Fn],l=yi(o,r);du(a,r,o,n,null,i);for(let e=0;e<n.length;e++){ec(Ia(r,a,o.directiveStart+e,o),r)}hu(a,r,o),l&&ec(l,r);const c=Ia(r,a,o.directiveStart+o.componentOffset,o);if(e[qn]=r[qn]=c,null!==s)for(const e of s)e(c,t);return nu(a,o,r),c}(s,e,i,r,m,[Gd]),Ou(_,m,null)}finally{gr()}return new $d(this.componentType,v,Sr(b,m),m,b)}finally{h(r)}}}class $d extends cd{constructor(e,t,n,i,r){super(),this.location=n,this._rootLView=i,this._tNode=r,this.previousInputValues=null,this.instance=t,this.hostView=this.changeDetectorRef=new td(i,void 0,!1),this.componentType=e}setInput(e,t){const n=this._tNode.inputs;let i;if(null!==n&&(i=n[e])){var r;if(null!==(r=this.previousInputValues)&&void 0!==r||(this.previousInputValues=new Map),this.previousInputValues.has(e)&&Object.is(this.previousInputValues.get(e),t))return;const n=this._rootLView;Du(n[Fn],n,i,e,t),this.previousInputValues.set(e,t);ed(Ti(this._tNode.index,n))}else 0}get injector(){return new Aa(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(e){this.hostView.onDestroy(e)}}function Gd(){const e=Wi();Qo(qi()[Fn],e)}class Yd{}Yd.__NG_ELEMENT_ID__=function(){return Xd(Wi(),qi())};const Qd=Yd,Kd=class extends Qd{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostLView=n}get element(){return Sr(this._hostTNode,this._hostLView)}get injector(){return new Aa(this._hostTNode,this._hostLView)}get parentInjector(){const e=_a(this._hostTNode,this._hostLView);if(ra(e)){const t=oa(e,this._hostLView),n=sa(e),i=t[Fn].data[n+8];return new Aa(i,t)}return new Aa(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){const t=Zd(this._lContainer);return null!==t&&t[e]||null}get length(){return this._lContainer.length-ai}createEmbeddedView(e,t,n){let i,r;"number"==typeof n?i=n:null!=n&&(i=n.index,r=n.injector);const s=ad(this._lContainer,e.ssrId),o=e.createEmbeddedViewImpl(t||{},r,s);return this.insertImpl(o,i,Lu(this._hostTNode,s)),o}createComponent(e,t,n,i,r){var s;const o=e&&!ko(e);let a;if(o)a=t;else{0;const e=t||{};0,a=e.index,n=e.injector,i=e.projectableNodes,r=e.environmentInjector||e.ngModuleRef}const l=o?e:new Wd(Cn(e)),c=n||this.parentInjector;if(!r&&null==l.ngModule){const e=(o?c:this.parentInjector).get(vo,null);e&&(r=e)}const u=Cn(null!==(s=l.componentType)&&void 0!==s?s:{}),d=ad(this._lContainer,null==u?void 0:u.id),h=(void 0,null),p=l.create(c,i,h,r);return this.insertImpl(p.hostView,a,Lu(this._hostTNode,d)),p}insert(e,t){return this.insertImpl(e,t,!0)}insertImpl(e,t,n){const i=e._lView;if(ui(i[Pn])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=i[Pn],n=new Kd(t,t[Hn],t[Pn]);n.detach(n.indexOf(e))}}const r=this._adjustIndex(t),s=this._lContainer;return Pu(s,i,r,n),e.attachToViewContainerRef(),kr(Jd(s),r,e),e}move(e,t){return this.insert(e,t)}indexOf(e){const t=Zd(this._lContainer);return null!==t?t.indexOf(e):-1}remove(e){const t=this._adjustIndex(e,-1),n=bc(this._lContainer,t);n&&(Or(Jd(this._lContainer),t),yc(n[Fn],n))}detach(e){const t=this._adjustIndex(e,-1),n=bc(this._lContainer,t);return n&&null!=Or(Jd(this._lContainer),t)?new td(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}};function Zd(e){return e[8]}function Jd(e){return e[8]||(e[8]=[])}function Xd(e,t){let n;const i=t[e.index];return ui(i)?n=i:(n=wu(i,t,null,e),t[e.index]=n,Tu(t,n)),eh(n,t,e,i),new Kd(n,e,t)}let eh=function(e,t,n,i){if(e[si])return;let r;r=8&n.type?vi(i):function(e,t){const n=e[Vn],i=n.createComment(""),r=yi(t,e);return Sc(n,Dc(n,r),i,function(e,t){return e.nextSibling(t)}(n,r),!1),i}(t,n);e[si]=r};class th{constructor(e){this.queryList=e,this.matches=null}clone(){return new th(this.queryList)}setDirty(){this.queryList.setDirty()}}class nh{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,i=[];for(let e=0;e<n;e++){const n=t.getByIndex(e),r=this.queries[n.indexInDeclarationView];i.push(r.clone())}return new nh(i)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}finishViewCreation(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==gh(e,t).matches&&this.queries[t].setDirty()}}class ih{constructor(e,t,n=null){this.flags=t,this.read=n,this.predicate="string"==typeof e?e.split(",").map((e=>e.trim())):e}}class rh{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const i=null!==t?t.length:0,r=this.getByIndex(n).embeddedTView(e,i);r&&(r.indexInDeclarationView=n,null!==t?t.push(r):t=[r])}return null!==t?new rh(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class sh{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new sh(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&1&~this.metadata.flags){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&8&n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){const n=this.metadata.predicate;if(Array.isArray(n))for(let i=0;i<n.length;i++){const r=n[i];this.matchTNodeWithReadOption(e,t,oh(t,r)),this.matchTNodeWithReadOption(e,t,Ta(t,e,r,!1,!1))}else n===nd?4&t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,Ta(t,e,n,!1,!1))}matchTNodeWithReadOption(e,t,n){if(null!==n){const i=this.metadata.read;if(null!==i)if(i===Ar||i===Yd||i===nd&&4&t.type)this.addMatch(t.index,-2);else{const n=Ta(t,e,i,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function oh(e,t){const n=e.localNames;if(null!==n)for(let e=0;e<n.length;e+=2)if(n[e]===t)return n[e+1];return null}function ah(e,t,n,i){return-1===n?function(e,t){return 11&e.type?Sr(e,t):4&e.type?sd(e,t):null}(t,e):-2===n?function(e,t,n){if(n===Ar)return Sr(t,e);if(n===nd)return sd(t,e);if(n===Yd)return Xd(t,e)}(e,t,i):Ia(e,e[Fn],n,t)}function lh(e,t,n,i){const r=t[Zn].queries[i];if(null===r.matches){const i=e.data,s=n.matches,o=[];for(let e=0;null!==s&&e<s.length;e+=2){const r=s[e];if(r<0)o.push(null);else{const a=i[r];o.push(ah(t,a,s[e+1],n.metadata.read))}}r.matches=o}return r.matches}function ch(e,t,n,i){const r=e.queries.getByIndex(n),s=r.matches;if(null!==s){const o=lh(e,t,r,n);for(let e=0;e<s.length;e+=2){const n=s[e];if(n>0)i.push(o[e/2]);else{const r=s[e+1],o=t[-n];for(let e=ai;e<o.length;e++){const t=o[e];t[Qn]===t[Pn]&&ch(t[Fn],t,r,i)}if(null!==o[oi]){const e=o[oi];for(let t=0;t<e.length;t++){const n=e[t];ch(n[Fn],n,r,i)}}}}}return i}function uh(e,t){return e[Zn].queries[t].queryList}function dh(e,t,n){var i;const r=new zr(!(4&~n));!function(e,t,n,i){const r=Cu(t);r.push(n),e.firstCreatePass&&Su(e).push(i,r.length-1)}(e,t,r,r.destroy);return(null!==(i=t[Zn])&&void 0!==i?i:t[Zn]=new nh).queries.push(new th(r))-1}function hh(e,t,n){const i=Ui();return i.firstCreatePass&&(fh(i,new ih(e,t,n),-1),2&~t||(i.staticViewQueries=!0)),dh(i,qi(),t)}function ph(e,t,n,i){const r=Ui();if(r.firstCreatePass){const s=Wi();fh(r,new ih(t,n,i),s.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]),i=n.length?n[n.length-1]:-1;t!==i&&n.push(e.queries.length-1,t)}(r,e),2&~n||(r.staticContentQueries=!0)}return dh(r,qi(),n)}function fh(e,t,n){null===e.queries&&(e.queries=new rh),e.queries.track(new sh(t,n))}function gh(e,t){return e.queries.getByIndex(t)}function _h(e,t){const n=e[Fn],i=gh(n,t);return i.crossesNgTemplate?ch(n,e,t,[]):lh(n,e,i,t)}function mh(e){return"function"==typeof e&&void 0!==e[d]}function vh(e){return mh(e)&&"function"==typeof e.set}function bh(e,t){const n=e[d];n._lView=qi(),n._queryIndex=t,n._queryList=uh(n._lView,t),n._queryList.onDirty((()=>n._dirtyCounter.update((e=>e+1))))}class yh{}Ws("ContentChildren",((e,t={})=>Ct({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:true},t)),yh),Ws("ContentChild",((e,t={})=>Ct({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)),yh);const wh=Ws("ViewChildren",((e,t={})=>Ct({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:true},t)),yh),Eh=Ws("ViewChild",((e,t)=>Ct({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)),yh);let Th=new Map;const Ih=new Set;function Ch(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length||e.styleUrl)}const Sh=new Map;let Ah=!0;function xh(e,t){!function(e,t,n){if(t&&t!==n&&Ah)throw new Error(`Duplicate module registered for ${e} - ${Lt(t)} vs ${Lt(t.name)}`)}(t,Sh.get(t)||null,e),Sh.set(t,e)}function Dh(e,t,n){const i=qi(),r=vr(),s=yi(r,i);if(2===r.type&&"iframe"===t.toLowerCase()){const e=s;e.src="",e.srcdoc=Ja(""),Bc(i[Vn],e);throw new xt(-910,!1)}return e}function Rh(e){return Object.getPrototypeOf(e.prototype).constructor}function kh(e){let t=Rh(e.type),n=!0;const i=[e];for(;t;){let r;if(fi(e))r=t.ɵcmp||t.ɵdir;else{if(t.ɵcmp)throw new xt(903,!1);r=t.ɵdir}if(r){if(n){i.push(r);const t=e;t.inputs=Nh(e.inputs),t.inputTransforms=Nh(e.inputTransforms),t.declaredInputs=Nh(e.declaredInputs),t.outputs=Nh(e.outputs);const n=r.hostBindings;n&&Ph(e,n);const s=r.viewQuery,o=r.contentQueries;if(s&&Fh(e,s),o&&Lh(e,o),Oh(e,r),Vt(e.outputs,r.outputs),fi(r)&&r.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(r.data.animation)}}const t=r.features;if(t)for(let i=0;i<t.length;i++){const r=t[i];r&&r.ngInherit&&r(e),r===kh&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let i=e.length-1;i>=0;i--){const r=e[i];r.hostVars=t+=r.hostVars,r.hostAttrs=rn(r.hostAttrs,n=rn(n,r.hostAttrs))}}(i)}function Oh(e,t){for(const i in t.inputs){if(!t.inputs.hasOwnProperty(i))continue;if(e.inputs.hasOwnProperty(i))continue;const r=t.inputs[i];if(void 0!==r&&(e.inputs[i]=r,e.declaredInputs[i]=t.declaredInputs[i],null!==t.inputTransforms)){var n;const i=Array.isArray(r)?r[0]:r;if(!t.inputTransforms.hasOwnProperty(i))continue;null!==(n=e.inputTransforms)&&void 0!==n||(e.inputTransforms={}),e.inputTransforms[i]=t.inputTransforms[i]}}}function Nh(e){return e===qt?{}:e===Ut?[]:e}function Fh(e,t){const n=e.viewQuery;e.viewQuery=n?(e,i)=>{t(e,i),n(e,i)}:t}function Lh(e,t){const n=e.contentQueries;e.contentQueries=n?(e,i,r)=>{t(e,i,r),n(e,i,r)}:t}function Ph(e,t){const n=e.hostBindings;e.hostBindings=n?(e,i)=>{t(e,i),n(e,i)}:t}const Mh=["providersResolver"],Hh=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Bh(e){let t,n=Rh(e.type);t=fi(e)?n.ɵcmp:n.ɵdir;const i=e;for(const e of Mh)i[e]=t[e];if(fi(t))for(const e of Hh)i[e]=t[e]}function zh(e){const t=t=>{const n=(Array.isArray(e)?e:e()).map((e=>"function"==typeof e?{directive:ls(e),inputs:qt,outputs:qt}:{directive:ls(e.directive),inputs:Uh(e.inputs),outputs:Uh(e.outputs)}));null===t.hostDirectives?(t.findHostDirectiveDefs=qh,t.hostDirectives=n):t.hostDirectives.unshift(...n)};return t.ngInherit=!0,t}function qh(e,t,n){if(null!==e.hostDirectives)for(const i of e.hostDirectives){const e=Sn(i.directive);0,jh(e.declaredInputs,i.inputs),qh(e,t,n),n.set(e,i),t.push(e)}}function Uh(e){if(void 0===e||0===e.length)return qt;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=e[n+1];return t}function jh(e,t){for(const n in t)if(t.hasOwnProperty(n)){const i=t[n],r=e[n];0,e[i]=r}}function Vh(e){const t=e.inputConfig,n={};for(const e in t)if(t.hasOwnProperty(e)){const i=t[e];Array.isArray(i)&&i[3]&&(n[e]=i[3])}e.inputTransforms=n}class Wh{}class $h{}function Gh(e,t){return new Yh(e,null!=t?t:null,[])}class Yh extends Wh{constructor(e,t,n){super(),this._parent=t,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new Ud(this);const i=Dn(e);this._bootstrapComponents=oc(i.bootstrap),this._r3Injector=ja(e,t,[{provide:Wh,useValue:this},{provide:pd,useValue:this.componentFactoryResolver},...n],Lt(e),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(e)}get injector(){return this._r3Injector}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach((e=>e())),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class Qh extends $h{constructor(e){super(),this.moduleType=e}create(e){return new Yh(this.moduleType,e,[])}}class Kh extends Wh{constructor(e){super(),this.componentFactoryResolver=new Ud(this),this.instance=null;const t=new bo([...e.providers,{provide:Wh,useValue:this},{provide:pd,useValue:this.componentFactoryResolver}],e.parent||mo(),e.debugName,new Set(["environment"]));this.injector=t,e.runEnvironmentInitializers&&t.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(e){this.injector.onDestroy(e)}}function Zh(e,t,n=null){return new Kh({providers:e,parent:t,debugName:n,runEnvironmentInitializers:!0}).injector}class Jh{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(e,t,n,i){if(!this.cachedInjectors.has(e)){const r=n.length>0?Zh(n,t,i):null;this.cachedInjectors.set(e,r)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}function Xh(e,t,n,i){return Bt((()=>{const r=e;null!==t&&(r.hasOwnProperty("decorators")&&void 0!==r.decorators?r.decorators.push(...t):r.decorators=t),null!==n&&(r.ctorParameters=n),null!==i&&(r.hasOwnProperty("propDecorators")&&void 0!==r.propDecorators?r.propDecorators=Ct(Ct({},r.propDecorators),i):r.propDecorators=i)}))}($e=Jh).ɵprov=jr({token:$e,providedIn:"environment",factory:()=>new $e});class ep{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new oe(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this._hasPendingTasks&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this._hasPendingTasks&&this.hasPendingTasks.next(!1)}}function tp(e){return!!np(e)&&(Array.isArray(e)||!(e instanceof Map)&&Symbol.iterator in e)}function np(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ip(e,t,n){return e[t]=n}function rp(e,t){return e[t]}function sp(e,t,n){const i=e[t];return!Object.is(i,n)&&(e[t]=n,!0)}function op(e,t,n,i){const r=sp(e,t,n);return sp(e,t+1,i)||r}function ap(e,t,n,i,r){const s=op(e,t,n,i);return sp(e,t+2,r)||s}function lp(e,t,n,i,r,s){const o=op(e,t,n,i);return op(e,t+2,r,s)||o}function cp(e,t,n,i,r,s,o,a){const l=qi(),c=Ui(),u=e+ii,d=c.firstCreatePass?function(e,t,n,i,r,s,o,a,l){const c=t.consts,u=Jc(t,e,4,o||null,Si(c,a));uu(t,n,u,Si(c,l)),Qo(t,u);const d=u.tView=ou(2,u,i,r,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,c,null);return null!==t.queries&&(t.queries.template(t,u),d.queries=t.queries.embeddedTView(u)),u}(u,c,l,t,n,i,r,s,o):c.data[u];Yi(d,!1);const h=up(c,l);Ir()&&Lc(c,l,h,d),ec(h,l);const p=wu(h,l,h,d);return l[u]=p,Tu(l,p),pi(d)&&iu(c,l,d),null!=o&&ru(l,d,a),cp}(Ge=ep).ɵfac=function(e){return new(e||Ge)},Ge.ɵprov=jr({token:Ge,factory:Ge.ɵfac,providedIn:"root"});let up=function(e,t,n,i){return Cr(!0),t[Vn].createComment("")};var dp;!function(e){e[e.NOT_STARTED=0]="NOT_STARTED",e[e.IN_PROGRESS=1]="IN_PROGRESS",e[e.COMPLETE=2]="COMPLETE",e[e.FAILED=3]="FAILED"}(dp||(dp={}));const hp=0,pp=1;var fp,gp;!function(e){e[e.Placeholder=0]="Placeholder",e[e.Loading=1]="Loading",e[e.Complete=2]="Complete",e[e.Error=3]="Error"}(fp||(fp={})),function(e){e[e.Initial=-1]="Initial"}(gp||(gp={}));const _p=0,mp=1,vp=2,bp=3,yp=4,wp=5;var Ep;function Tp(e,t,n){const i=1===e?wp:yp;null===t[i]&&(t[i]=[]),t[i].push(n)}function Ip(e,t){const n=1===e?wp:yp,i=t[n];if(null!==i){for(const e of i)e();t[n]=null}}function Cp(e){Ip(1,e),Ip(0,e)}function Sp(e){return e+1}function Ap(e,t){e[Fn];const n=Sp(t.index);return e[n]}function xp(e,t){const n=Sp(t.index);return e.data[n]}function Dp(e,t){var n,i,r,s;return t===fp.Placeholder?null!==(n=null===(i=e.placeholderBlockConfig)||void 0===i?void 0:i[hp])&&void 0!==n?n:null:t===fp.Loading&&null!==(r=null===(s=e.loadingBlockConfig)||void 0===s?void 0:s[hp])&&void 0!==r?r:null}function Rp(e){var t,n;return null!==(t=null===(n=e.loadingBlockConfig)||void 0===n?void 0:n[pp])&&void 0!==t?t:null}function kp(e,t){if(!e||0===e.length)return t;const n=new Set(e);for(const e of t)n.add(e);return e.length===n.size?e:Array.from(n)}!function(e){e[e.Manual=0]="Manual",e[e.Playthrough=1]="Playthrough"}(Ep||(Ep={}));const Op={passive:!0,capture:!0},Np=new WeakMap,Fp=new WeakMap,Lp=new WeakMap,Pp=["click","keydown"],Mp=["mouseenter","focusin"];let Hp=null,Bp=0;class zp{constructor(){this.callbacks=new Set,this.listener=()=>{for(const e of this.callbacks)e()}}}function qp(e,t){let n=Fp.get(e);if(!n){n=new zp,Fp.set(e,n);for(const t of Pp)e.addEventListener(t,n.listener,Op)}return n.callbacks.add(t),()=>{const{callbacks:i,listener:r}=n;if(i.delete(t),0===i.size){Fp.delete(e);for(const t of Pp)e.removeEventListener(t,r,Op)}}}function Up(e,t){let n=Np.get(e);if(!n){n=new zp,Np.set(e,n);for(const t of Mp)e.addEventListener(t,n.listener,Op)}return n.callbacks.add(t),()=>{const{callbacks:i,listener:r}=n;if(i.delete(t),0===i.size){for(const t of Mp)e.removeEventListener(t,r,Op);Np.delete(e)}}}function jp(e,t,n){const i=n.get(Td);let r=Lp.get(e);return Hp=Hp||i.runOutsideAngular((()=>new IntersectionObserver((e=>{for(const t of e)t.isIntersecting&&Lp.has(t.target)&&i.run(Lp.get(t.target).listener)})))),r||(r=new zp,i.runOutsideAngular((()=>Hp.observe(e))),Lp.set(e,r),Bp++),r.callbacks.add(t),()=>{if(Lp.has(e)){var n,i;if(r.callbacks.delete(t),0===r.callbacks.size)null===(n=Hp)||void 0===n||n.unobserve(e),Lp.delete(e),Bp--;if(0===Bp)null===(i=Hp)||void 0===i||i.disconnect(),Hp=null}}}function Vp(e,t){const n=bi(ii+t,e);return n}function Wp(e,t,n,i,r,s,o){const a=e[Un];kd((function l(){if(gi(e))return;const c=Ap(e,t),u=c[mp];if(u!==gp.Initial&&u!==fp.Placeholder)return;const d=function(e,t,n){var i;if(null==n)return e;if(n>=0)return Di(n,e);const r=e[t.index],s=null!==(i=r[ai])&&void 0!==i?i:null;return s}(e,t,i);if(!d)return void kd(l,{injector:a});if(gi(d))return;const h=Vp(d,n),p=r(h,(()=>{e!==d&&Fi(d,p),s()}),a);e!==d&&Ni(d,p),Tp(o,c,p)}),{injector:a})}function $p(e,t){const n=t[Un].get(Gp);return n.add(e),()=>n.remove(e)}class Gp{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=Ds(Td),this.requestIdleCallbackFn=("undefined"!=typeof requestIdleCallback?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=("undefined"!=typeof requestIdleCallback?cancelIdleCallback:clearTimeout).bind(globalThis)}add(e){(this.executingCallbacks?this.deferred:this.current).add(e),null===this.idleId&&this.scheduleIdleCallback()}remove(e){const{current:t,deferred:n}=this;t.delete(e),n.delete(e),0===t.size&&0===n.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const e=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const e of this.current)e();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const e of this.deferred)this.current.add(e);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn((()=>this.ngZone.run(e)))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}}function Yp(e){return(t,n)=>Qp(e,t,n)}function Qp(e,t,n){const i=n[Un].get(Kp);return i.add(e,t),()=>i.remove(t)}(Ye=Gp).ɵprov=jr({token:Ye,providedIn:"root",factory:()=>new Ye});class Kp{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(e,t){const n=this.executingCallbacks?this.deferred:this.current;this.addToQueue(n,Date.now()+e,t),this.scheduleTimer()}remove(e){const{current:t,deferred:n}=this;-1===this.removeFromQueue(t,e)&&this.removeFromQueue(n,e),0===t.length&&0===n.length&&this.clearTimeout()}addToQueue(e,t,n){let i=e.length;for(let n=0;n<e.length;n+=2){if(e[n]>t){i=n;break}}Lr(e,i,t,n)}removeFromQueue(e,t){let n=-1;for(let i=0;i<e.length;i+=2){if(e[i+1]===t){n=i;break}}return n>-1&&Fr(e,n,2),n}scheduleTimer(){const e=()=>{this.clearTimeout(),this.executingCallbacks=!0;const e=[...this.current],t=Date.now();for(let n=0;n<e.length;n+=2){const i=e[n+1];if(!(e[n]<=t))break;i()}let n=-1;for(let e=0;e<this.current.length;e+=2){if(!(this.current[e]<=t))break;n=e+1}if(n>=0&&Fr(this.current,0,n+1),this.executingCallbacks=!1,this.deferred.length>0){for(let e=0;e<this.deferred.length;e+=2){const t=this.deferred[e],n=this.deferred[e+1];this.addToQueue(this.current,t,n)}this.deferred.length=0}this.scheduleTimer()};if(this.current.length>0){const t=Date.now(),n=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-n>16){this.clearTimeout();const i=Math.max(n-t,16);this.invokeTimerAt=n,this.timeoutId=setTimeout(e,i)}}}clearTimeout(){null!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=null)}ngOnDestroy(){this.clearTimeout(),this.current.length=0,this.deferred.length=0}}(Qe=Kp).ɵprov=jr({token:Qe,providedIn:"root",factory:()=>new Qe});new Jr("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR");const Zp=new Jr("");function Jp(e){const t=e.get(Zp,null,{optional:!0});return(null==t?void 0:t.behavior)!==Ep.Manual&&ac(e)}let Xp=null;function ef(e,t,n,i){const r=e.consts;null!=n&&(t.placeholderBlockConfig=Si(r,n)),null!=i&&(t.loadingBlockConfig=Si(r,i)),null===Xp&&(Xp=wf)}function tf(e,t,n,i,r,s,o,a,l){const c=qi(),u=Ui(),d=e+ii;if(cp(e,null,0,0),u.firstCreatePass){wd("NgDefer");const e={primaryTmplIndex:t,loadingTmplIndex:null!=i?i:null,placeholderTmplIndex:null!=r?r:null,errorTmplIndex:null!=s?s:null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:null!=n?n:null,loadingState:dp.NOT_STARTED,loadingPromise:null,providers:null};null==l||l(u,e,a,o),function(e,t,n){const i=Sp(t);e.data[i]=n}(u,d,e)}Wi(),c[d];const h=[null,gp.Initial,null,null,null,null];!function(e,t,n){e[Fn];const i=Sp(t);e[i]=n}(c,d,h);const p=()=>Cp(h);Tp(0,h,(()=>Fi(c,p))),Ni(c,p)}function nf(e){const t=qi();if(sp(t,er(),e)){const n=h(null);try{const n=Boolean(e),i=vr(),r=Ap(t,i)[mp];!1===n&&r===gp.Initial?Sf(t,i):!0!==n||r!==gp.Initial&&r!==fp.Placeholder||xf(t,i)}finally{h(n)}}}function rf(e){const t=qi();if(sp(t,er(),e)){const n=h(null);try{const n=Boolean(e),i=t[Fn],r=vr(),s=xp(i,r);!0===n&&s.loadingState===dp.NOT_STARTED&&If(s,t,r)}finally{h(n)}}}function sf(){mf($p)}function of(){vf($p)}function af(){const e=qi(),t=Wi(),n=e[Fn],i=e[Un],r=xp(n,t);Jp(i)&&null!==r.loadingTmplIndex||Sf(e,t),xf(e,t)}function lf(){const e=qi(),t=Wi(),n=xp(e[Fn],t);n.loadingState===dp.NOT_STARTED&&Cf(n,e,t)}function cf(e){mf(Yp(e))}function uf(e){vf(Yp(e))}function df(e,t){const n=qi(),i=Wi();Sf(n,i),Wp(n,i,e,t,Up,(()=>xf(n,i)),0)}function hf(e,t){const n=qi(),i=Wi(),r=xp(n[Fn],i);r.loadingState===dp.NOT_STARTED&&Wp(n,i,e,t,Up,(()=>If(r,n,i)),1)}function pf(e,t){const n=qi(),i=Wi();Sf(n,i),Wp(n,i,e,t,qp,(()=>xf(n,i)),0)}function ff(e,t){const n=qi(),i=Wi(),r=xp(n[Fn],i);r.loadingState===dp.NOT_STARTED&&Wp(n,i,e,t,qp,(()=>If(r,n,i)),1)}function gf(e,t){const n=qi(),i=Wi();Sf(n,i),Wp(n,i,e,t,jp,(()=>xf(n,i)),0)}function _f(e,t){const n=qi(),i=Wi(),r=xp(n[Fn],i);r.loadingState===dp.NOT_STARTED&&Wp(n,i,e,t,jp,(()=>If(r,n,i)),1)}function mf(e){const t=qi(),n=Wi();Sf(t,n);const i=e((()=>xf(t,n)),t);Tp(0,Ap(t,n),i)}function vf(e){const t=qi(),n=Wi(),i=xp(t[Fn],n);if(i.loadingState===dp.NOT_STARTED){Tp(1,Ap(t,n),e((()=>If(i,t,n)),t))}}function bf(e,t,n,i=!1){var r;const s=n[Pn],o=s[Fn];if(gi(s))return;const a=Ap(s,t);if(Tf(a[mp],e)&&Tf(null!==(r=a[_p])&&void 0!==r?r:-1,e)){const r=xp(o,t),l=!i&&(null!==Rp(r)||null!==Dp(r,fp.Loading)||Dp(r,fp.Placeholder));0;const c=l?Xp:yf;try{c(e,a,n,t,s)}catch(e){xu(s,e)}}}function yf(e,t,n,i,r){const s=function(e,t,n){const i=xp(t[Fn],n);switch(e){case fp.Complete:return i.primaryTmplIndex;case fp.Loading:return i.loadingTmplIndex;case fp.Error:return i.errorTmplIndex;case fp.Placeholder:return i.placeholderTmplIndex;default:return null}}(e,r,i);if(null!==s){t[mp]=e;const o=r[Fn],a=wi(o,s+ii),l=0;let c;if(Mu(n,l),e===fp.Complete){const e=xp(o,i),t=e.providers;if(t&&t.length>0){const n=r[Un].get(vo);c=n.get(Jh).getOrCreateInjector(e,n,t,"")}}const u=ad(0,a.tView.ssrId),d=Nu(r,a,null,{dehydratedView:u,injector:c});Pu(n,d,l,Lu(a,u)),ed(d)}}function wf(e,t,n,i,r){const s=Date.now(),o=xp(r[Fn],i);if(null===t[vp]||t[vp]<=s){t[vp]=null;const a=Rp(o),l=null!==t[bp];if(e!==fp.Loading||null===a||l){e>fp.Loading&&l&&(t[bp](),t[bp]=null,t[_p]=null),yf(e,t,n,i,r);const a=Dp(o,e);null!==a&&(t[vp]=s+a,Ef(a,t,i,n,r))}else{t[_p]=e;const s=Ef(a,t,i,n,r);t[bp]=s}}else t[_p]=e}function Ef(e,t,n,i,r){return Qp(e,(()=>{const e=t[_p];t[vp]=null,t[_p]=null,null!==e&&bf(e,n,i)}),r)}function Tf(e,t){return e<t}function If(e,t,n){t[Un]&&Jp(t[Un])&&Cf(e,t,n)}function Cf(e,t,n){const i=t[Un],r=t[Fn];if(e.loadingState!==dp.NOT_STARTED)return;const s=Ap(t,n),o=function(e,t){return wi(e,t.primaryTmplIndex+ii)}(r,e);e.loadingState=dp.IN_PROGRESS,Ip(1,s);let a=e.dependencyResolverFn;const l=i.get(ep),c=l.add();e.loadingPromise=a?Promise.allSettled(a()).then((n=>{let i=!1;const r=[],s=[];for(const e of n){if("fulfilled"!==e.status){i=!0;break}{const t=e.value,n=Cn(t)||Sn(t);if(n)r.push(n);else{const e=An(t);e&&s.push(e)}}}if(e.loadingPromise=null,l.remove(c),i){if(e.loadingState=dp.FAILED,null===e.errorTmplIndex){nc(t);const e=new xt(750,!1);xu(t,e)}}else{e.loadingState=dp.COMPLETE;const t=o.tView;if(r.length>0){t.directiveRegistry=kp(t.directiveRegistry,r);const n=io(!1,...r.map((e=>e.type)));e.providers=n}s.length>0&&(t.pipeRegistry=kp(t.pipeRegistry,s))}})):Promise.resolve().then((()=>{e.loadingPromise=null,e.loadingState=dp.COMPLETE,l.remove(c)}))}function Sf(e,t){const n=e[t.index];bf(fp.Placeholder,t,n)}function Af(e,t,n){e.loadingPromise.then((()=>{e.loadingState===dp.COMPLETE?bf(fp.Complete,t,n):e.loadingState===dp.FAILED&&bf(fp.Error,t,n)}))}function xf(e,t){const n=e[Fn],i=e[t.index];if(!Jp(e[Un]))return;const r=Ap(e,t),s=xp(n,t);switch(Cp(r),s.loadingState){case dp.NOT_STARTED:bf(fp.Loading,t,i),Cf(s,e,t),s.loadingState===dp.IN_PROGRESS&&Af(s,t,i);break;case dp.IN_PROGRESS:bf(fp.Loading,t,i),Af(s,t,i);break;case dp.COMPLETE:bf(fp.Complete,t,i);break;case dp.FAILED:bf(fp.Error,t,i)}}function Df(e,t,n,i){const r=qi(),s=er();if(sp(r,s,t)){Ui();const s=vr();mu(s,r,e,t,n,i)}return Df}function Rf(e,t){let n=!1,i=Ji();for(let r=1;r<t.length;r+=2)n=sp(e,i++,t[r])||n;if(Xi(i),!n)return Wc;let r=t[0];for(let e=1;e<t.length;e+=2)r+=ds(t[e])+t[e+1];return r}function kf(e,t,n,i){return sp(e,er(),n)?t+ds(n)+i:Wc}function Of(e,t,n,i,r,s){const o=op(e,Ji(),n,r);return tr(2),o?t+ds(n)+i+ds(r)+s:Wc}function Nf(e,t,n,i,r,s,o,a){const l=ap(e,Ji(),n,r,o);return tr(3),l?t+ds(n)+i+ds(r)+s+ds(o)+a:Wc}function Ff(e,t,n,i,r,s,o,a,l,c){const u=lp(e,Ji(),n,r,o,l);return tr(4),u?t+ds(n)+i+ds(r)+s+ds(o)+a+ds(l)+c:Wc}function Lf(e,t,n,i,r,s,o,a,l,c,u,d){const h=Ji();let p=lp(e,h,n,r,o,l);return p=sp(e,h+4,u)||p,tr(5),p?t+ds(n)+i+ds(r)+s+ds(o)+a+ds(l)+c+ds(u)+d:Wc}function Pf(e,t,n,i,r,s,o,a,l,c,u,d,h,p){const f=Ji();let g=lp(e,f,n,r,o,l);return g=op(e,f+4,u,h)||g,tr(6),g?t+ds(n)+i+ds(r)+s+ds(o)+a+ds(l)+c+ds(u)+d+ds(h)+p:Wc}function Mf(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g){const _=Ji();let m=lp(e,_,n,r,o,l);return m=ap(e,_+4,u,h,f)||m,tr(7),m?t+ds(n)+i+ds(r)+s+ds(o)+a+ds(l)+c+ds(u)+d+ds(h)+p+ds(f)+g:Wc}function Hf(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_,m){const v=Ji();let b=lp(e,v,n,r,o,l);return b=lp(e,v+4,u,h,f,_)||b,tr(8),b?t+ds(n)+i+ds(r)+s+ds(o)+a+ds(l)+c+ds(u)+d+ds(h)+p+ds(f)+g+ds(_)+m:Wc}function Bf(e,t,n,i,r,s){const o=qi(),a=kf(o,t,n,i);if(a!==Wc){const t=vr();mu(t,o,e,a,r,s)}return Bf}function zf(e,t,n,i,r,s,o,a){const l=qi(),c=Of(l,t,n,i,r,s);if(c!==Wc){const t=vr();mu(t,l,e,c,o,a)}return zf}function qf(e,t,n,i,r,s,o,a,l,c){const u=qi(),d=Nf(u,t,n,i,r,s,o,a);if(d!==Wc){const t=vr();mu(t,u,e,d,l,c)}return qf}function Uf(e,t,n,i,r,s,o,a,l,c,u,d){const h=qi(),p=Ff(h,t,n,i,r,s,o,a,l,c);if(p!==Wc){const t=vr();mu(t,h,e,p,u,d)}return Uf}function jf(e,t,n,i,r,s,o,a,l,c,u,d,h,p){const f=qi(),g=Lf(f,t,n,i,r,s,o,a,l,c,u,d);if(g!==Wc){const t=vr();mu(t,f,e,g,h,p)}return jf}function Vf(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g){const _=qi(),m=Pf(_,t,n,i,r,s,o,a,l,c,u,d,h,p);if(m!==Wc){const t=vr();mu(t,_,e,m,f,g)}return Vf}function Wf(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_,m){const v=qi(),b=Mf(v,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g);if(b!==Wc){const t=vr();mu(t,v,e,b,_,m)}return Wf}function $f(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_,m,v,b){const y=qi(),w=Hf(y,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_,m);if(w!==Wc){const t=vr();mu(t,y,e,w,v,b)}return $f}function Gf(e,t,n,i){const r=qi(),s=Rf(r,t);if(s!==Wc){const t=vr();mu(t,r,e,s,n,i)}return Gf}function Yf(e,t){return e<<17|t<<2}function Qf(e){return e>>17&32767}function Kf(e){return 2|e}function Zf(e){return(131068&e)>>2}function Jf(e,t){return-131069&e|t<<2}function Xf(e){return 1|e}function eg(e,t,n,i,r,s){let o=s?t.classBindings:t.styleBindings,a=Qf(o),l=Zf(o);e[i]=n;let c,u=!1;if(Array.isArray(n)){const e=n;c=e[1],(null===c||Hr(e,c)>0)&&(u=!0)}else c=n;if(r){if(0!==l){const t=Qf(e[a+1]);e[i+1]=Yf(t,a),0!==t&&(e[t+1]=Jf(e[t+1],i)),e[a+1]=131071&e[a+1]|i<<17}else e[i+1]=Yf(a,0),0!==a&&(e[a+1]=Jf(e[a+1],i)),a=i}else e[i+1]=Yf(l,0),0===a?a=i:e[l+1]=Jf(e[l+1],i),l=i;u&&(e[i+1]=Kf(e[i+1])),tg(e,c,i,!0),tg(e,c,i,!1),function(e,t,n,i,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Hr(s,t)>=0&&(n[i+1]=Xf(n[i+1]))}(t,c,e,i,s),o=Yf(a,l),s?t.classBindings=o:t.styleBindings=o}function tg(e,t,n,i){const r=e[n+1],s=null===t;let o=i?Qf(r):Zf(r),a=!1;for(;0!==o&&(!1===a||s);){const n=e[o],r=e[o+1];ng(n,t)&&(a=!0,e[o+1]=i?Xf(r):Kf(r)),o=i?Qf(r):Zf(r)}a&&(e[n+1]=i?Kf(r):Xf(r))}function ng(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Hr(e,t)>=0}const ig={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function rg(e){return e.substring(ig.key,ig.keyEnd)}function sg(e){return e.substring(ig.value,ig.valueEnd)}function og(e,t){const n=ig.textEnd;return n===t?-1:(t=ig.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,ig.key=t,n),cg(e,t,n))}function ag(e,t){const n=ig.textEnd;let i=ig.key=cg(e,t,n);return n===i?-1:(i=ig.keyEnd=function(e,t,n){let i;for(;t<n&&(45===(i=e.charCodeAt(t))||95===i||(-33&i)>=65&&(-33&i)<=90||i>=48&&i<=57);)t++;return t}(e,i,n),i=ug(e,i,n,58),i=ig.value=cg(e,i,n),i=ig.valueEnd=function(e,t,n){let i=-1,r=-1,s=-1,o=t,a=o;for(;o<n;){const l=e.charCodeAt(o++);if(59===l)return a;34===l||39===l?a=o=dg(e,l,o,n):t===o-4&&85===s&&82===r&&76===i&&40===l?a=o=dg(e,41,o,n):l>32&&(a=o),s=r,r=i,i=-33&l}return a}(e,i,n),ug(e,i,n,59))}function lg(e){ig.key=0,ig.keyEnd=0,ig.value=0,ig.valueEnd=0,ig.textEnd=e.length}function cg(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function ug(e,t,n,i){return(t=cg(e,t,n))<n&&t++,t}function dg(e,t,n,i){let r=-1,s=n;for(;s<i;){const n=e.charCodeAt(s++);if(n==t&&92!==r)return s;r=92==n&&92===r?0:n}throw new Error}function hg(e,t,n){const i=qi(),r=er();if(sp(i,r,t)){const r=Ui(),s=vr();cu(r,s,i,e,t,i[Vn],n,!1)}return hg}function pg(e,t,n,i,r){const s=r?"class":"style";Du(e,n,t.inputs[s],s,i)}function fg(e,t,n){return yg(e,t,n,!1),fg}function gg(e,t){return yg(e,t,null,!0),gg}function _g(e){wg(Sg,mg,e,!1)}function mg(e,t){for(let n=function(e){return lg(e),ag(e,cg(e,0,ig.textEnd))}(t);n>=0;n=ag(t,n))Sg(e,rg(t),sg(t))}function vg(e){wg(Ag,bg,e,!0)}function bg(e,t){for(let n=function(e){return lg(e),og(e,cg(e,0,ig.textEnd))}(t);n>=0;n=og(t,n))Pr(e,rg(t),!0)}function yg(e,t,n,i){const r=qi(),s=Ui(),o=tr(2);if(s.firstUpdatePass&&Tg(s,e,o,i),t!==Wc&&sp(r,o,t)){xg(s,s.data[_r()],r,r[Vn],e,r[o+1]=function(e,t){null==e||""===e||("string"==typeof t?e+=t:"object"==typeof e&&(e=Lt(cl(e))));return e}(t,n),i,o)}}function wg(e,t,n,i){const r=Ui(),s=tr(2);r.firstUpdatePass&&Tg(r,null,s,i);const o=qi();if(n!==Wc&&sp(o,s,n)){const a=r.data[_r()];if(kg(a,i)&&!Eg(r,s)){0;let e=i?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(n=Pt(e,n||"")),pg(r,a,o,n,i)}else!function(e,t,n,i,r,s,o,a){r===Wc&&(r=Ut);let l=0,c=0,u=0<r.length?r[0]:null,d=0<s.length?s[0]:null;for(;null!==u||null!==d;){const h=l<r.length?r[l+1]:void 0,p=c<s.length?s[c+1]:void 0;let f,g=null;u===d?(l+=2,c+=2,h!==p&&(g=d,f=p)):null===d||null!==u&&u<d?(l+=2,g=u):(c+=2,g=d,f=p),null!==g&&xg(e,t,n,i,g,f,o,a),u=l<r.length?r[l]:null,d=c<s.length?s[c]:null}}(r,a,o,o[Vn],o[s+1],o[s+1]=function(e,t,n){if(null==n||""===n)return Ut;const i=[],r=cl(n);if(Array.isArray(r))for(let t=0;t<r.length;t++)e(i,r[t],!0);else if("object"==typeof r)for(const t in r)r.hasOwnProperty(t)&&e(i,t,r[t]);else"string"==typeof r&&t(i,r);return i}(e,t,n),i,s)}}function Eg(e,t){return t>=e.expandoStartIndex}function Tg(e,t,n,i){const r=e.data;if(null===r[n+1]){const s=r[_r()],o=Eg(e,n);kg(s,i)&&null===t&&!o&&(t=!1),t=function(e,t,n,i){const r=sr(e);let s=i?t.residualClasses:t.residualStyles;if(null===r){0===(i?t.classBindings:t.styleBindings)&&(n=Cg(n=Ig(null,e,t,n,i),t.attrs,i),s=null)}else{const o=t.directiveStylingLast;if(-1===o||e[o]!==r)if(n=Ig(r,e,t,n,i),null===s){let n=function(e,t,n){const i=n?t.classBindings:t.styleBindings;if(0===Zf(i))return;return e[Qf(i)]}(e,t,i);void 0!==n&&Array.isArray(n)&&(n=Ig(null,e,t,n[1],i),n=Cg(n,t.attrs,i),function(e,t,n,i){const r=n?t.classBindings:t.styleBindings;e[Qf(r)]=i}(e,t,i,n))}else s=function(e,t,n){let i;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<r;s++){i=Cg(i,e[s].hostAttrs,n)}return Cg(i,t.attrs,n)}(e,t,i)}void 0!==s&&(i?t.residualClasses=s:t.residualStyles=s);return n}(r,s,t,i),eg(r,s,t,n,o,i)}}function Ig(e,t,n,i,r){let s=null;const o=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<o&&(s=t[a],i=Cg(i,s.hostAttrs,r),s!==e);)a++;return null!==e&&(n.directiveStylingLast=a),i}function Cg(e,t,n){const i=n?1:2;let r=-1;if(null!==t)for(let s=0;s<t.length;s++){const o=t[s];"number"==typeof o?r=o:r===i&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Pr(e,o,!!n||t[++s]))}return void 0===e?null:e}function Sg(e,t,n){Pr(e,t,cl(n))}function Ag(e,t,n){const i=String(t);""===i||i.includes(" ")||Pr(e,i,n)}function xg(e,t,n,i,r,s,o,a){if(!(3&t.type))return;const l=e.data,c=l[a+1];if(!Rg(1&~c?void 0:Dg(l,t,n,r,Zf(c),o))){Rg(s)||function(e){return!(2&~e)}(c)&&(s=Dg(l,null,n,r,a,o));!function(e,t,n,i,r){if(t)r?e.addClass(n,i):e.removeClass(n,i);else{let t=-1===i.indexOf("-")?void 0:lc.DashCase;null==r?e.removeStyle(n,i,t):("string"==typeof r&&r.endsWith("!important")&&(r=r.slice(0,-10),t|=lc.Important),e.setStyle(n,i,r,t))}}(i,o,bi(_r(),n),r,s)}}function Dg(e,t,n,i,r,s){const o=null===t;let a;for(;r>0;){const t=e[r],s=Array.isArray(t),l=s?t[1]:t,c=null===l;let u=n[r+1];u===Wc&&(u=c?Ut:void 0);let d=c?Mr(u,i):l===i?u:void 0;if(s&&!Rg(d)&&(d=Mr(t,i)),Rg(d)&&(a=d,o))return a;const h=e[r+1];r=o?Qf(h):Zf(h)}if(null!==t){let e=s?t.residualClasses:t.residualStyles;null!=e&&(a=Mr(e,i))}return a}function Rg(e){return void 0!==e}function kg(e,t){return!!(e.flags&(t?8:16))}function Og(e,t,n){wg(Pr,bg,kf(qi(),e,t,n),!0)}function Ng(e,t,n,i,r){wg(Pr,bg,Of(qi(),e,t,n,i,r),!0)}function Fg(e,t,n,i,r,s,o){wg(Pr,bg,Nf(qi(),e,t,n,i,r,s,o),!0)}function Lg(e,t,n,i,r,s,o,a,l){wg(Pr,bg,Ff(qi(),e,t,n,i,r,s,o,a,l),!0)}function Pg(e,t,n,i,r,s,o,a,l,c,u){wg(Pr,bg,Lf(qi(),e,t,n,i,r,s,o,a,l,c,u),!0)}function Mg(e,t,n,i,r,s,o,a,l,c,u,d,h){wg(Pr,bg,Pf(qi(),e,t,n,i,r,s,o,a,l,c,u,d,h),!0)}function Hg(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f){wg(Pr,bg,Mf(qi(),e,t,n,i,r,s,o,a,l,c,u,d,h,p,f),!0)}function Bg(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_){wg(Pr,bg,Hf(qi(),e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_),!0)}function zg(e){wg(Pr,bg,Rf(qi(),e),!0)}function qg(){const e=qi()[Yn][qn];return e}class Ug{destroy(e){}updateValue(e,t){}swap(e,t){const n=Math.min(e,t),i=Math.max(e,t),r=this.detach(i);if(i-n>1){const e=this.detach(n);this.attach(n,r),this.attach(i,e)}else this.attach(n,r)}move(e,t){this.attach(t,this.detach(e))}}function jg(e,t,n,i,r){return e===n&&Object.is(t,i)?1:Object.is(r(e,t),r(n,i))?-1:0}function Vg(e,t,n,i){return!(void 0===t||!t.has(i))&&(e.attach(n,t.get(i)),t.delete(i),!0)}function Wg(e,t,n,i,r){if(Vg(e,t,i,n(i,r)))e.updateValue(i,r);else{const t=e.create(i,r);e.attach(i,t)}}function $g(e,t,n,i){const r=new Set;for(let s=t;s<=n;s++)r.add(i(s,e.at(s)));return r}class Gg{constructor(){this.kvMap=new Map,this._vMap=void 0}has(e){return this.kvMap.has(e)}delete(e){if(!this.has(e))return!1;const t=this.kvMap.get(e);return void 0!==this._vMap&&this._vMap.has(t)?(this.kvMap.set(e,this._vMap.get(t)),this._vMap.delete(t)):this.kvMap.delete(e),!0}get(e){return this.kvMap.get(e)}set(e,t){if(this.kvMap.has(e)){let n=this.kvMap.get(e);void 0===this._vMap&&(this._vMap=new Map);const i=this._vMap;for(;i.has(n);)n=i.get(n);i.set(n,t)}else this.kvMap.set(e,t)}forEach(e){for(let[t,n]of this.kvMap)if(e(n,t),void 0!==this._vMap){const i=this._vMap;for(;i.has(n);)n=i.get(n),e(n,t)}}}function Yg(e,t,n){wd("NgControlFlow");const i=qi(),r=er(),s=n_(i,ii+e);if(sp(i,r,t)){const e=h(null);try{if(Mu(s,0),-1!==t){const e=i_(i[Fn],ii+t),r=ad(0,e.tView.ssrId);Pu(s,Nu(i,e,n,{dehydratedView:r}),0,Lu(e,r))}}finally{h(e)}}else{const e=Fu(s,0);void 0!==e&&(e[qn]=n)}}class Qg{constructor(e,t,n){this.lContainer=e,this.$implicit=t,this.$index=n}get $count(){return this.lContainer.length-ai}}function Kg(e){return e}function Zg(e,t){return t}class Jg{constructor(e,t,n){this.hasEmptyBlock=e,this.trackByFn=t,this.liveCollection=n}}function Xg(e,t,n,i,r,s,o,a,l,c,u,d,h){wd("NgControlFlow");const p=void 0!==l,f=qi(),g=a?o.bind(f[Yn][qn]):o,_=new Jg(p,g);f[ii+e]=_,cp(e+1,t,n,i,r,s),p&&cp(e+2,l,c,u,d,h)}class e_ extends Ug{constructor(e,t,n){super(),this.lContainer=e,this.hostLView=t,this.templateTNode=n,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-ai}at(e){return this.getLView(e)[qn].$implicit}attach(e,t){const n=t[Bn];this.needsIndexUpdate||(this.needsIndexUpdate=e!==this.length),Pu(this.lContainer,t,e,Lu(this.templateTNode,n))}detach(e){return this.needsIndexUpdate||(this.needsIndexUpdate=e!==this.length-1),function(e,t){const n=bc(e,t);return n}(this.lContainer,e)}create(e,t){const n=ad(this.lContainer,this.templateTNode.tView.ssrId);return Nu(this.hostLView,this.templateTNode,new Qg(this.lContainer,t,e),{dehydratedView:n})}destroy(e){yc(e[Fn],e)}updateValue(e,t){this.getLView(e)[qn].$implicit=t}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let e=0;e<this.length;e++)this.getLView(e)[qn].$index=e}getLView(e){return function(e,t){const n=Fu(e,t);return n}(this.lContainer,e)}}function t_(e){const t=h(null),n=_r();try{const t=qi(),i=t[Fn],r=t[n];if(void 0===r.liveCollection){const e=n+1,s=n_(t,e),o=i_(i,e);r.liveCollection=new e_(s,t,o)}else r.liveCollection.reset();const s=r.liveCollection;if(function(e,t,n){var i;let r,s,o=0,a=e.length-1;if(Array.isArray(t)){let i=t.length-1;for(;o<=a&&o<=i;){var l,c;const u=e.at(o),d=t[o],h=jg(o,u,o,d,n);if(0!==h){h<0&&e.updateValue(o,d),o++;continue}const p=e.at(a),f=t[i],g=jg(a,p,i,f,n);if(0!==g){g<0&&e.updateValue(a,f),a--,i--;continue}const _=n(o,u),m=n(a,p),v=n(o,d);if(Object.is(v,m)){const t=n(i,f);Object.is(t,_)?(e.swap(o,a),e.updateValue(a,f),i--,a--):e.move(a,o),e.updateValue(o,d),o++}else if(null!==(l=r)&&void 0!==l||(r=new Gg),null!==(c=s)&&void 0!==c||(s=$g(e,o,a,n)),Vg(e,r,o,v))e.updateValue(o,d),o++,a++;else if(s.has(v))r.set(_,e.detach(o)),a--;else{const n=e.create(o,t[o]);e.attach(o,n),o++,a++}}for(;o<=i;)Wg(e,r,n,o,t[o]),o++}else if(null!=t){const i=t[Symbol.iterator]();let l=i.next();for(;!l.done&&o<=a;){const t=e.at(o),c=l.value,h=jg(o,t,o,c,n);if(0!==h)h<0&&e.updateValue(o,c),o++,l=i.next();else{var u,d;null!==(u=r)&&void 0!==u||(r=new Gg),null!==(d=s)&&void 0!==d||(s=$g(e,o,a,n));const h=n(o,c);if(Vg(e,r,o,h))e.updateValue(o,c),o++,a++,l=i.next();else if(s.has(h)){const i=n(o,t);r.set(i,e.detach(o)),a--}else e.attach(o,e.create(o,c)),o++,a++,l=i.next()}}for(;!l.done;)Wg(e,r,n,e.length,l.value),l=i.next()}for(;o<=a;)e.destroy(e.detach(a--));null===(i=r)||void 0===i||i.forEach((t=>{e.destroy(t)}))}(s,e,r.trackByFn),s.updateIndexes(),r.hasEmptyBlock){const e=er(),r=0===s.length;if(sp(t,e,r)){const e=n+2,s=n_(t,e);if(r){const n=i_(i,e),r=ad(0,n.tView.ssrId);Pu(s,Nu(t,n,void 0,{dehydratedView:r}),0,Lu(n,r))}else Mu(s,0)}}}finally{h(t)}}function n_(e,t){const n=e[t];return n}function i_(e,t){const n=wi(e,t);return n}function r_(e,t,n,i){const r=qi(),s=Ui(),o=ii+e,a=r[Vn],l=s.firstCreatePass?function(e,t,n,i,r,s){const o=t.consts,a=Jc(t,e,2,i,Si(o,r));return uu(t,n,a,Si(o,s)),null!==a.attrs&&qd(a,a.attrs,!1),null!==a.mergedAttrs&&qd(a,a.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,a),a}(o,s,r,t,n,i):s.data[o],c=a_(s,r,l,a,t);r[o]=c;const u=pi(l);return Yi(l,!0),Vc(a,c,l),32&~l.flags&&Ir()&&Lc(s,r,c,l),0===Pi.lFrame.elementDepthCount&&ec(c,r),Pi.lFrame.elementDepthCount++,u&&(iu(s,r,l),nu(s,l,r)),null!==i&&ru(r,l),r_}function s_(){let e=Wi();Qi()?Ki():(e=e.parent,Yi(e,!1));const t=e;(function(e){return Pi.skipHydrationRootTNode===e})(t)&&(Pi.skipHydrationRootTNode=null),Pi.lFrame.elementDepthCount--;const n=Ui();return n.firstCreatePass&&(Qo(n,e),di(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return!!(8&e.flags)}(t)&&pg(n,t,qi(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return!!(16&e.flags)}(t)&&pg(n,t,qi(),t.stylesWithoutHost,!1),s_}function o_(e,t,n,i){return r_(e,t,n,i),s_(),o_}let a_=(e,t,n,i,r,s)=>(Cr(!0),gc(i,r,Pi.lFrame.currentNamespace));function l_(e,t,n){const i=qi(),r=Ui(),s=e+ii,o=r.firstCreatePass?function(e,t,n,i,r){const s=t.consts,o=Si(s,i),a=Jc(t,e,8,"ng-container",o);return null!==o&&qd(a,o,!0),uu(t,n,a,Si(s,r)),null!==t.queries&&t.queries.elementStart(t,a),a}(s,r,i,t,n):r.data[s];Yi(o,!0);const a=d_(r,i);return i[s]=a,Ir()&&Lc(r,i,a,o),ec(a,i),pi(o)&&(iu(r,i,o),nu(r,o,i)),null!=n&&ru(i,o),l_}function c_(){let e=Wi();const t=Ui();return Qi()?Ki():(e=e.parent,Yi(e,!1)),t.firstCreatePass&&(Qo(t,e),di(e)&&t.queries.elementEnd(e)),c_}function u_(e,t,n){return l_(e,t,n),c_(),u_}let d_=(e,t,n,i)=>(Cr(!0),fc(t[Vn],""));function h_(){return qi()}function p_(e,t,n){const i=qi(),r=er();if(sp(i,r,t)){const r=Ui(),s=vr();cu(r,s,i,e,t,i[Vn],n,!0)}return p_}function f_(e,t,n){const i=qi(),r=er();if(sp(i,r,t)){const r=Ui(),s=vr();cu(r,s,i,e,t,Au(sr(r.data),s,i),n,!0)}return f_}const g_=void 0;var __=["en",[["a","p"],["AM","PM"],g_],[["AM","PM"],g_,g_],[["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"]],g_,[["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"]],g_,[["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}",g_,"{1} 'at' {0}",g_],[".",",",";","%","+","-","E","×","‰","∞","NaN",":"],["#,##0.###","#,##0%","¤#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let m_={};function v_(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=y_(t);if(n)return n;const i=t.split("-")[0];if(n=y_(i),n)return n;if("en"===i)return __;throw new xt(701,!1)}function b_(e){return v_(e)[w_.PluralCase]}function y_(e){return e in m_||(m_[e]=zt.ng&&zt.ng.common&&zt.ng.common.locales&&zt.ng.common.locales[e]),m_[e]}var w_;!function(e){e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencyCode=15]="CurrencyCode",e[e.CurrencySymbol=16]="CurrencySymbol",e[e.CurrencyName=17]="CurrencyName",e[e.Currencies=18]="Currencies",e[e.Directionality=19]="Directionality",e[e.PluralCase=20]="PluralCase",e[e.ExtraData=21]="ExtraData"}(w_||(w_={}));const E_=["zero","one","two","few","many"];const T_="en-US",I_={marker:"element"},C_={marker:"ICU"};var S_;!function(e){e[e.SHIFT=2]="SHIFT",e[e.APPEND_EAGERLY=1]="APPEND_EAGERLY",e[e.COMMENT=2]="COMMENT"}(S_||(S_={}));let A_=T_;function x_(e,t,n){const i=t.insertBeforeIndex,r=Array.isArray(i)?i[0]:i;return null===r?kc(e,0,n):vi(n[r])}function D_(e,t,n,i,r){const s=t.insertBeforeIndex;if(Array.isArray(s)){let o=i,a=null;if(3&t.type||(a=o,o=r),null!==o&&-1===t.componentOffset)for(let t=1;t<s.length;t++){Sc(e,o,n[s[t]],a,!1)}}}function R_(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const i=e[n];k_(i)||O_(i,t)&&null===N_(i)&&F_(i,t.index)}}function k_(e){return!(64&e.type)}function O_(e,t){return k_(t)||e.index>t.index}function N_(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function F_(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(Fc(x_,D_),e.insertBeforeIndex=t)}function L_(e,t){const n=e.data[t];if(null===n||"string"==typeof n)return null;const i=n.hasOwnProperty("currentCaseLViewIndex")?n:n.value;return i}function P_(e,t,n){const i=Xc(e,n,64,null,null);return R_(t,i),i}function M_(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function H_(e){return e>>>17}function B_(e){return(131070&e)>>>1}let z_=0,q_=0;function U_(e,t,n,i){const r=n[Vn];let s,o=null;for(let a=0;a<t.length;a++){const l=t[a];if("string"==typeof l){const e=t[++a];null===n[e]&&(n[e]=hc(r,l))}else if("number"==typeof l)switch(1&l){case 0:const c=H_(l);let u,d;if(null===o&&(o=c,s=Dc(r,i)),c===o?(u=i,d=s):(u=null,d=vi(n[c])),null!==d){const t=B_(l),i=n[t];Sc(r,d,i,u,!1);const s=L_(e,t);if(null!==s&&"object"==typeof s){const t=M_(s,n);null!==t&&U_(e,s.create[t],n,n[s.anchorIdx])}}break;case 1:const h=l>>>1,p=t[++a],f=t[++a];vu(r,bi(h,n),null,null,p,f,null)}else switch(l){case C_:const e=t[++a],i=t[++a];if(null===n[i]){ec(n[i]=fc(r,e),n)}break;case I_:const s=t[++a],o=t[++a];if(null===n[o]){ec(n[o]=gc(r,s,null),n)}}}}function j_(e,t,n,i,r){for(let s=0;s<n.length;s++){const o=n[s],a=n[++s];if(o&r){let r="";for(let o=s+1;o<=s+a;o++){const s=n[o];if("string"==typeof s)r+=s;else if("number"==typeof s)if(s<0)r+=ds(t[i-s]);else{const a=s>>>2;switch(3&s){case 1:const s=n[++o],l=n[++o],c=e.data[a];"string"==typeof c?vu(t[Vn],t[a],null,c,s,r,l):cu(e,c,t,s,r,t[Vn],l,!1);break;case 0:const u=t[a];null!==u&&pc(t[Vn],u,r);break;case 2:W_(e,L_(e,a),t,r);break;case 3:V_(e,L_(e,a),i,t)}}}}else{const r=n[s+1];if(r>0&&!(3&~r)){const n=L_(e,r>>>2);t[n.currentCaseLViewIndex]<0&&V_(e,n,i,t)}}s+=a}}function V_(e,t,n,i){let r=i[t.currentCaseLViewIndex];if(null!==r){let s=z_;r<0&&(r=i[t.currentCaseLViewIndex]=~r,s=-1),j_(e,i,t.update[r],n,s)}}function W_(e,t,n,i){const r=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const i=function(e,t){const n=b_(t)(parseInt(e,10)),i=E_[n];return void 0!==i?i:"other"}(t,A_);n=e.cases.indexOf(i),-1===n&&"other"!==i&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,i);if(M_(t,n)!==r&&($_(e,t,n),n[t.currentCaseLViewIndex]=null===r?null:~r,null!==r)){const i=n[t.anchorIdx];i&&U_(e,t.create[r],n,i)}}function $_(e,t,n){let i=M_(t,n);if(null!==i){const r=t.remove[i];for(let t=0;t<r.length;t++){const i=r[t];if(i>0){const e=bi(i,n);null!==e&&Bc(n[Vn],e)}else $_(e,L_(e,~i),n)}}}function G_(){const e=[];let t,n,i=-1;function r(e,t){i=0;const r=M_(e,t);n=null!==r?e.remove[r]:Ut}function s(){if(i<n.length){const o=n[i++];if(o>0){const e=t[o];return e}{e.push(i,n);const a=~o,l=t[Fn].data[a];return r(l,t),s()}}return 0===e.length?null:(n=e.pop(),i=e.pop(),s())}return function(n,i){for(t=i;e.length;)e.pop();return r(n.value,i),s}}const Y_=/�(\d+):?\d*�/gi,Q_=/({\s*�\d+:?\d*�\s*,\s*\S{6}\s*,[\s\S]*})/gi,K_=/�(\d+)�/,Z_=/^\s*(�\d+:?\d*�)\s*,\s*(select|plural)\s*,/,J_="�",X_=/�\/?\*(\d+:\d+)�/gi,em=/�(\/?[#*]\d+):?\d*�/gi,tm=/\uE500/g;function nm(e,t,n,i,r,s){const o=Gi(),a=[],l=[],c=[[]];r=function(e,t){if(function(e){return-1===e}(t))return lm(e);{const n=e.indexOf(`:${t}${J_}`)+2+t.toString().length,i=e.search(new RegExp(`${J_}\\/\\*\\d+:${t}${J_}`));return lm(e.substring(n,i))}}(r,s);const u=(d=r,d.replace(tm," ")).split(em);var d;for(let i=0;i<u.length;i++){let s=u[i];if(1&i){const t=47===s.charCodeAt(0),n=(s.charCodeAt(t?1:0),ii+Number.parseInt(s.substring(t?2:1)));if(t)c.shift(),Yi(Gi(),!1);else{const t=P_(e,c[0],n);c.unshift([]),Yi(t,!0)}}else{const i=dm(s);for(let s=0;s<i.length;s++){let u=i[s];if(1&s){const i=u;if("object"!=typeof i)throw new Error(`Unable to parse ICU expression in "${r}" message.`);const s=im(e,o,c[0],n,a,"",!0).index;cm(e,n,l,t,i,s)}else{const t=u;""!==t&&rm(e,o,c[0],a,l,n,t)}}}}e.data[i]={create:a,update:l}}function im(e,t,n,i,r,s,o){const a=eu(e,i,1,null);let l=a<<S_.SHIFT,c=Gi();var u;t===c&&(c=null),null===c&&(l|=S_.APPEND_EAGERLY),o&&(l|=S_.COMMENT,u=G_,void 0===cc&&(cc=u())),r.push(l,null===s?"":s);const d=Xc(e,a,o?32:1,null===s?"":s,null);R_(n,d);const h=d.index;return Yi(d,!1),null!==c&&t!==c&&function(e,t){let n=e.insertBeforeIndex;null===n?(Fc(x_,D_),n=e.insertBeforeIndex=[null,t]):(Mt(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(c,h),d}function rm(e,t,n,i,r,s,o){const a=o.match(Y_),l=im(e,t,n,s,i,a?null:o,!1);a&&sm(r,o,l.index,null,0,null)}function sm(e,t,n,i,r,s){const o=e.length,a=o+1;e.push(null,null);const l=o+2;const c=t.split(Y_);let u=0;for(let t=0;t<c.length;t++){const n=c[t];if(1&t){const t=r+parseInt(n,10);e.push(-1-t),u|=am(t)}else""!==n&&e.push(n)}return e.push(n<<2|(i?1:0)),i&&e.push(i,s),e[o]=u,e[a]=e.length-l,u}function om(e){let t=0;for(let n=0;n<e.length;n++){const i=e[n];"number"==typeof i&&i<0&&t++}return t}function am(e){return 1<<Math.min(e,31)}function lm(e){let t,n,i="",r=0,s=!1;for(;null!==(t=X_.exec(e));)s?t[0]===`${J_}/*${n}${J_}`&&(r=t.index,s=!1):(i+=e.substring(r,t.index+t[0].length),n=t[1],s=!0);return i+=e.slice(r),i}function cm(e,t,n,i,r,s){let o=0;const a={type:r.type,currentCaseLViewIndex:eu(e,t,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};!function(e,t,n){e.push(am(t.mainBinding),2,-1-t.mainBinding,n<<2|2)}(n,r,s),function(e,t,n){const i=e.data[t];null===i?e.data[t]=n:i.value=n}(e,s,a);const l=r.values;for(let s=0;s<l.length;s++){const c=l[s],u=[];for(let e=0;e<c.length;e++){const t=c[e];if("string"!=typeof t){const n=u.push(t)-1;c[e]=`\x3c!--�${n}�--\x3e`}}o=hm(e,a,t,n,i,r.cases[s],c.join(""),u)|o}o&&function(e,t,n){e.push(t,1,n<<2|3)}(n,o,s)}function um(e){const t=[],n=[];let i=1,r=0;const s=dm(e=e.replace(Z_,(function(e,t,n){return i="select"===n?0:1,r=parseInt(t.slice(1),10),""})));for(let e=0;e<s.length;){let r=s[e++].trim();1===i&&(r=r.replace(/\s*(?:=)?(\w+)\s*/,"$1")),r.length&&t.push(r);const o=dm(s[e++]);t.length>n.length&&n.push(o)}return{type:i,mainBinding:r,cases:t,values:n}}function dm(e){if(!e)return[];let t=0;const n=[],i=[],r=/[{}]/g;let s;for(r.lastIndex=0;s=r.exec(e);){const r=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const n=e.substring(t,r);Z_.test(n)?i.push(um(n)):i.push(n),t=r+1}}else{if(0==n.length){const n=e.substring(t,r);i.push(n),t=r+1}n.push("{")}}const o=e.substring(t);return i.push(o),i}function hm(e,t,n,i,r,s,o,a){const l=[],c=[],u=[];t.cases.push(s),t.create.push(l),t.remove.push(c),t.update.push(u);const d=dl(Ur()).getInertBodyElement(o),h=Pl(d)||d;return h?pm(e,t,n,i,l,c,u,h,r,a,0):0}function pm(e,t,n,i,r,s,o,a,l,c,u){let d=0,h=a.firstChild;for(;h;){const a=eu(e,n,1,null);switch(h.nodeType){case Node.ELEMENT_NODE:const p=h,f=p.tagName.toLowerCase();if(Il.hasOwnProperty(f)){_m(r,I_,f,l,a),e.data[a]=f;const g=p.attributes;for(let e=0;e<g.length;e++){const t=g.item(e),n=t.name.toLowerCase();!!t.value.match(Y_)?xl.hasOwnProperty(n)&&(Cl[n]?sm(o,t.value,a,t.name,0,gl):sm(o,t.value,a,t.name,0,null)):mm(r,a,t)}d=pm(e,t,n,i,r,s,o,h,a,c,u+1)|d,fm(s,a,u)}break;case Node.TEXT_NODE:const g=h.textContent||"",_=g.match(Y_);_m(r,null,_?"":g,l,a),fm(s,a,u),_&&(d=sm(o,g,a,null,0,null)|d);break;case Node.COMMENT_NODE:const m=K_.exec(h.textContent||"");if(m){const t=parseInt(m[1],10),o=c[t];_m(r,C_,"",l,a),cm(e,n,i,l,o,a),gm(s,a,u)}}h=h.nextSibling}return d}function fm(e,t,n){0===n&&e.push(t)}function gm(e,t,n){0===n&&(e.push(~t),e.push(t))}function _m(e,t,n,i,r){null!==t&&e.push(t),e.push(n,r,0|i<<17|r<<1)}function mm(e,t,n){e.push(t<<1|1,n.name,n.value)}const vm=0,bm=/\[(�.+?�?)\]/,ym=/\[(�.+?�?)\]|(�\/?\*\d+:\d+�)/g,wm=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,Em=/{([A-Z0-9_]+)}/g,Tm=/�I18N_EXP_(ICU(_\d+)?)�/g,Im=/\/\*/,Cm=/\d+\:(\d+)/;function Sm(e,t,n=-1){const i=Ui(),r=qi(),s=ii+e,o=Si(i.consts,t),a=Gi();if(i.firstCreatePass&&nm(i,null===a?0:a.index,r,s,o,n),2===i.type){r[Yn][Ln]|=32}else r[Ln]|=32;const l=i.data[s],c=Cc(i,a===r[Hn]?null:a,r),u=a&&8&a.type?r[a.index]:null;!function(e,t,n,i){const r=e[Vn];for(let s=0;s<t.length;s++){const o=t[s++],a=t[s],l=(o&S_.COMMENT)===S_.COMMENT,c=(o&S_.APPEND_EAGERLY)===S_.APPEND_EAGERLY,u=o>>>S_.SHIFT;let d=e[u];null===d&&(d=e[u]=l?r.createComment(a):hc(r,a)),c&&null!==n&&Sc(r,n,d,i,!1)}}(r,l.create,c,u),nr(!0)}function Am(){nr(!1)}function xm(e,t,n){Sm(e,t,n),Am()}function Dm(e,t){const n=Ui(),i=Si(n.consts,t);!function(e,t,n){const i=Wi().index,r=[];if(e.firstCreatePass&&null===e.data[t]){for(let e=0;e<n.length;e+=2){const t=n[e],s=n[e+1];if(""!==s){if(Q_.test(s))throw new Error(`ICU expressions are not supported in attributes. Message: "${s}".`);sm(r,s,i,t,om(r),null)}}e.data[t]=r}}(n,e+ii,i)}function Rm(e){const t=qi();return sp(t,er(),e)&&(z_|=1<<Math.min(q_,31)),q_++,Rm}function km(e){!function(e,t,n){if(q_>0){const i=e.data[n];j_(e,t,Array.isArray(i)?i:i.update,Ji()-q_-1,z_)}z_=0,q_=0}(Ui(),qi(),e+ii)}function Om(e,t={}){return function(e,t={}){let n=e;if(bm.test(e)){const e={},t=[vm];n=n.replace(ym,((n,i,r)=>{const s=i||r,o=e[s]||[];if(o.length||(s.split("|").forEach((e=>{const t=e.match(Cm),n=t?parseInt(t[1],10):vm,i=Im.test(e);o.push([n,i,e])})),e[s]=o),!o.length)throw new Error(`i18n postprocess: unmatched placeholder - ${s}`);const a=t[t.length-1];let l=0;for(let e=0;e<o.length;e++)if(o[e][0]===a){l=e;break}const[c,u,d]=o[l];return u?t.pop():a!==c&&t.push(c),o.splice(l,1),d}))}return Object.keys(t).length?(n=n.replace(wm,((e,n,i,r,s,o)=>t.hasOwnProperty(i)?`${n}${t[i]}${o}`:e)),n=n.replace(Em,((e,n)=>t.hasOwnProperty(n)?t[n]:e)),n=n.replace(Tm,((e,n)=>{if(t.hasOwnProperty(n)){const i=t[n];if(!i.length)throw new Error(`i18n postprocess: unmatched ICU - ${e} with key: ${n}`);return i.shift()}return e})),n):n}(e,t)}function Nm(e,t,n,i){const r=qi(),s=Ui(),o=Wi();return Lm(s,r,r[Vn],o,e,t,i),Nm}function Fm(e,t){const n=Wi(),i=qi(),r=Ui();return Lm(r,i,Au(sr(r.data),n,i),n,e,t),Fm}function Lm(e,t,n,i,r,s,o){const a=pi(i),l=e.firstCreatePass&&Su(e),c=t[qn],u=Cu(t);let d=!0;if(3&i.type||o){const h=yi(i,t),p=o?o(h):h,f=u.length,g=o?e=>o(vi(e[i.index])):i.index;let _=null;if(!o&&a&&(_=function(e,t,n,i){const r=e.cleanup;if(null!=r)for(let e=0;e<r.length-1;e+=2){const s=r[e];if(s===n&&r[e+1]===i){const n=t[zn],i=r[e+2];return n.length>i?n[i]:null}"string"==typeof s&&(e+=2)}return null}(e,t,r,i.index)),null!==_){(_.__ngLastListenerFn__||_).__ngNextListenerFn__=s,_.__ngLastListenerFn__=s,d=!1}else{s=Mm(i,t,c,s,!1);const e=n.listen(p,r,s);u.push(s,e),l&&l.push(r,g,f,f+1)}}else s=Mm(i,t,c,s,!1);const h=i.outputs;let p;if(d&&null!==h&&(p=h[r])){const e=p.length;if(e)for(let n=0;n<e;n+=2){const e=p[n],o=p[n+1],a=t[e],c=a[o];0;const d=c.subscribe(s),h=u.length;if(u.push(s,d),l){const e="function"==typeof d?h+1:-(h+1);l.push(r,i.index,h,e)}}}}function Pm(e,t,n,i){const r=h(null);try{return Yo(6,t,n),!1!==n(i)}catch(t){return xu(e,t),!1}finally{Yo(7,t,n),h(r)}}function Mm(e,t,n,i,r){return function s(o){if(o===Function)return i;ed(e.componentOffset>-1?Ti(e.index,t):t);let a=Pm(t,n,i,o),l=s.__ngNextListenerFn__;for(;l;)a=Pm(t,n,l,o)&&a,l=l.__ngNextListenerFn__;return r&&!1===a&&o.preventDefault(),a}}function Hm(e=1){return function(e){return(Pi.lFrame.contextLView=Di(e,Pi.lFrame.contextLView))[qn]}(e)}function Bm(e,t){let n=null;const i=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(!(1&e))return t[e+1]}return null}(e);for(let r=0;r<t.length;r++){const s=t[r];if("*"!==s){if(null===i?pn(e,s,!0):fn(i,s))return r}else n=r}return n}function zm(e){const t=qi()[Yn][Hn];if(!t.projection){const n=e?e.length:1,i=t.projection=Nr(n,null),r=i.slice();let s=t.child;for(;null!==s;){const t=e?Bm(s,e):0;null!==t&&(r[t]?r[t].projectionNext=s:i[t]=s,r[t]=s),s=s.next}}}function qm(e,t=0,n){const i=qi(),r=Ui(),s=Jc(r,ii+e,16,null,n||null);null===s.projection&&(s.projection=t),Ki();(!i[Bn]||Hi())&&32&~s.flags&&function(e,t,n){Uc(t[Vn],0,t,n,Ic(e,n,t),Rc(n.parent||t[Hn],n,t))}(r,i,s)}function Um(e,t,n){return jm(e,"",t,"",n),Um}function jm(e,t,n,i,r){const s=qi(),o=kf(s,t,n,i);if(o!==Wc){const t=Ui(),n=vr();cu(t,n,s,e,o,s[Vn],r,!1)}return jm}function Vm(e,t,n,i,r,s,o){const a=qi(),l=Of(a,t,n,i,r,s);if(l!==Wc){const t=Ui(),n=vr();cu(t,n,a,e,l,a[Vn],o,!1)}return Vm}function Wm(e,t,n,i,r,s,o,a,l){const c=qi(),u=Nf(c,t,n,i,r,s,o,a);if(u!==Wc){const t=Ui(),n=vr();cu(t,n,c,e,u,c[Vn],l,!1)}return Wm}function $m(e,t,n,i,r,s,o,a,l,c,u){const d=qi(),h=Ff(d,t,n,i,r,s,o,a,l,c);if(h!==Wc){const t=Ui(),n=vr();cu(t,n,d,e,h,d[Vn],u,!1)}return $m}function Gm(e,t,n,i,r,s,o,a,l,c,u,d,h){const p=qi(),f=Lf(p,t,n,i,r,s,o,a,l,c,u,d);if(f!==Wc){const t=Ui(),n=vr();cu(t,n,p,e,f,p[Vn],h,!1)}return Gm}function Ym(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f){const g=qi(),_=Pf(g,t,n,i,r,s,o,a,l,c,u,d,h,p);if(_!==Wc){const t=Ui(),n=vr();cu(t,n,g,e,_,g[Vn],f,!1)}return Ym}function Qm(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_){const m=qi(),v=Mf(m,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g);if(v!==Wc){const t=Ui(),n=vr();cu(t,n,m,e,v,m[Vn],_,!1)}return Qm}function Km(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_,m,v){const b=qi(),y=Hf(b,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_,m);if(y!==Wc){const t=Ui(),n=vr();cu(t,n,b,e,y,b[Vn],v,!1)}return Km}function Zm(e,t,n){const i=qi(),r=Rf(i,t);if(r!==Wc){const t=Ui(),s=vr();cu(t,s,i,e,r,i[Vn],n,!1)}return Zm}function Jm(e,t,n,i){ph(e,t,n,i)}function Xm(e,t,n){hh(e,t,n)}function ev(e){const t=qi(),n=Ui(),i=or();ar(i+1);const r=gh(n,i);if(e.dirty&&Ii(t)===!(2&~r.metadata.flags)){if(null===r.matches)e.reset([]);else{const n=_h(t,i);e.reset(n,xr),e.notifyOnChanges()}return!0}return!1}function tv(){return uh(qi(),or())}function nv(e,t,n,i,r){bh(t,ph(e,n,i,r))}function iv(e,t,n,i){bh(e,hh(t,n,i))}function rv(e=1){ar(or()+e)}function sv(e){return Ei(function(){const e=Pi.lFrame.contextLView;return e}(),ii+e)}function ov(e,t,n){_g(kf(qi(),e,t,n))}function av(e,t,n,i,r){_g(Of(qi(),e,t,n,i,r))}function lv(e,t,n,i,r,s,o){_g(Nf(qi(),e,t,n,i,r,s,o))}function cv(e,t,n,i,r,s,o,a,l){_g(Ff(qi(),e,t,n,i,r,s,o,a,l))}function uv(e,t,n,i,r,s,o,a,l,c,u){_g(Lf(qi(),e,t,n,i,r,s,o,a,l,c,u))}function dv(e,t,n,i,r,s,o,a,l,c,u,d,h){_g(Pf(qi(),e,t,n,i,r,s,o,a,l,c,u,d,h))}function hv(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f){_g(Mf(qi(),e,t,n,i,r,s,o,a,l,c,u,d,h,p,f))}function pv(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_){_g(Hf(qi(),e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_))}function fv(e){_g(Rf(qi(),e))}function gv(e,t,n,i,r){return yg(e,kf(qi(),t,n,i),r,!1),gv}function _v(e,t,n,i,r,s,o){return yg(e,Of(qi(),t,n,i,r,s),o,!1),_v}function mv(e,t,n,i,r,s,o,a,l){return yg(e,Nf(qi(),t,n,i,r,s,o,a),l,!1),mv}function vv(e,t,n,i,r,s,o,a,l,c,u){return yg(e,Ff(qi(),t,n,i,r,s,o,a,l,c),u,!1),vv}function bv(e,t,n,i,r,s,o,a,l,c,u,d,h){return yg(e,Lf(qi(),t,n,i,r,s,o,a,l,c,u,d),h,!1),bv}function yv(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f){return yg(e,Pf(qi(),t,n,i,r,s,o,a,l,c,u,d,h,p),f,!1),yv}function wv(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_){return yg(e,Mf(qi(),t,n,i,r,s,o,a,l,c,u,d,h,p,f,g),_,!1),wv}function Ev(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_,m,v){return yg(e,Hf(qi(),t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_,m),v,!1),Ev}function Tv(e,t,n){return yg(e,Rf(qi(),t),n,!1),Tv}function Iv(e,t=""){const n=qi(),i=Ui(),r=e+ii,s=i.firstCreatePass?Jc(i,r,1,t,null):i.data[r],o=Cv(i,n,s,t);n[r]=o,Ir()&&Lc(i,n,o,s),Yi(s,!1)}let Cv=(e,t,n,i,r)=>(Cr(!0),hc(t[Vn],i));function Sv(e){return Av("",e,""),Sv}function Av(e,t,n){const i=qi(),r=kf(i,e,t,n);return r!==Wc&&Ru(i,_r(),r),Av}function xv(e,t,n,i,r){const s=qi(),o=Of(s,e,t,n,i,r);return o!==Wc&&Ru(s,_r(),o),xv}function Dv(e,t,n,i,r,s,o){const a=qi(),l=Nf(a,e,t,n,i,r,s,o);return l!==Wc&&Ru(a,_r(),l),Dv}function Rv(e,t,n,i,r,s,o,a,l){const c=qi(),u=Ff(c,e,t,n,i,r,s,o,a,l);return u!==Wc&&Ru(c,_r(),u),Rv}function kv(e,t,n,i,r,s,o,a,l,c,u){const d=qi(),h=Lf(d,e,t,n,i,r,s,o,a,l,c,u);return h!==Wc&&Ru(d,_r(),h),kv}function Ov(e,t,n,i,r,s,o,a,l,c,u,d,h){const p=qi(),f=Pf(p,e,t,n,i,r,s,o,a,l,c,u,d,h);return f!==Wc&&Ru(p,_r(),f),Ov}function Nv(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f){const g=qi(),_=Mf(g,e,t,n,i,r,s,o,a,l,c,u,d,h,p,f);return _!==Wc&&Ru(g,_r(),_),Nv}function Fv(e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_){const m=qi(),v=Hf(m,e,t,n,i,r,s,o,a,l,c,u,d,h,p,f,g,_);return v!==Wc&&Ru(m,_r(),v),Fv}function Lv(e){const t=qi(),n=Rf(t,e);return n!==Wc&&Ru(t,_r(),n),Lv}function Pv(e,t,n){vh(t)&&(t=t());const i=qi(),r=er();if(sp(i,r,t)){const r=Ui(),s=vr();cu(r,s,i,e,t,i[Vn],n,!1)}return Pv}function Mv(e,t){const n=vh(e);return n&&e.set(t),n}function Hv(e,t){const n=qi(),i=Ui(),r=Wi();return Lm(i,n,n[Vn],r,e,t),Hv}function Bv(e,t,n,i,r){if(e=ls(e),Array.isArray(e))for(let s=0;s<e.length;s++)Bv(e[s],t,n,i,r);else{const s=Ui(),o=qi(),a=Wi();let l=ho(e)?e:ls(e.provide);const c=wo(e);0;const u=1048575&a.providerIndexes,d=a.directiveStart,h=a.providerIndexes>>20;if(ho(e)||!e.multi){const i=new ia(c,r,Yc),p=Uv(l,t,r?u:u+h,d);-1===p?(ma(pa(a,o),s,l),zv(s,e,t.length),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(i),o.push(i)):(n[p]=i,o[p]=i)}else{const p=Uv(l,t,u+h,d),f=Uv(l,t,u,u+h),g=p>=0&&n[p],_=f>=0&&n[f];if(r&&!_||!r&&!g){ma(pa(a,o),s,l);const u=function(e,t,n,i,r){const s=new ia(e,n,Yc);return s.multi=[],s.index=t,s.componentProviders=0,qv(s,r,i&&!n),s}(r?Vv:jv,n.length,r,i,c);!r&&_&&(n[f].providerFactory=u),zv(s,e,t.length,0),t.push(l),a.directiveStart++,a.directiveEnd++,r&&(a.providerIndexes+=1048576),n.push(u),o.push(u)}else{const t=qv(n[r?f:p],c,!r&&i);zv(s,e,p>-1?p:f,t)}!r&&i&&_&&n[f].componentProviders++}}}function zv(e,t,n,i){const r=ho(t),s=!!t.useClass;if(r||s){const o=(s?ls(t.useClass):t).prototype.ngOnDestroy;if(o){const s=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const e=s.indexOf(n);-1===e?s.push(n,[i,o]):s[e+1].push(i,o)}else s.push(n,o)}}}function qv(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Uv(e,t,n,i){for(let r=n;r<i;r++)if(t[r]===e)return r;return-1}function jv(e,t,n,i){return Wv(this.multi,[])}function Vv(e,t,n,i){const r=this.multi;let s;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=Ia(n,n[Fn],this.providerFactory.index,i);s=t.slice(0,e),Wv(r,s);for(let n=e;n<t.length;n++)s.push(t[n])}else s=[],Wv(r,s);return s}function Wv(e,t){for(let n=0;n<e.length;n++){const i=e[n];t.push(i())}return t}function $v(e,t=[]){return n=>{n.providersResolver=(n,i)=>function(e,t,n){const i=Ui();if(i.firstCreatePass){const r=fi(e);Bv(n,i.data,i.blueprint,r,!0),Bv(t,i.data,i.blueprint,r,!1)}}(n,i?i(e):e,t)}}class Gv{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const t=io(0,e.type),n=t.length>0?Zh([t],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,n)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}}function Yv(e){wd("NgStandalone"),e.getStandaloneInjector=t=>t.get(Gv).getOrCreateStandaloneInjector(e)}function Qv(e,t,n){const i=e.ɵcmp;i.directiveDefs=On(t,!1),i.pipeDefs=On(n,!0)}function Kv(e,t){return Bt((()=>{const n=Dn(e,!0);n.declarations=Zv(t.declarations||Ut),n.imports=Zv(t.imports||Ut),n.exports=Zv(t.exports||Ut),t.bootstrap&&(n.bootstrap=Zv(t.bootstrap)),zd.registerNgModule(e,t)}))}function Zv(e){if("function"==typeof e)return e;const t=Dr(e);return t.some(cs)?()=>t.map(ls).map(Jv):t.map(Jv)}function Jv(e){return Nd(e)?e.ngModule:e}function Xv(e,t,n){const i=Zi()+e,r=qi();return r[i]===Wc?ip(r,i,n?t.call(n):t()):rp(r,i)}function eb(e,t,n,i){return ub(qi(),Zi(),e,t,n,i)}function tb(e,t,n,i,r){return db(qi(),Zi(),e,t,n,i,r)}function nb(e,t,n,i,r,s){return hb(qi(),Zi(),e,t,n,i,r,s)}function ib(e,t,n,i,r,s,o){return pb(qi(),Zi(),e,t,n,i,r,s,o)}function rb(e,t,n,i,r,s,o,a){const l=Zi()+e,c=qi(),u=lp(c,l,n,i,r,s);return sp(c,l+4,o)||u?ip(c,l+5,a?t.call(a,n,i,r,s,o):t(n,i,r,s,o)):rp(c,l+5)}function sb(e,t,n,i,r,s,o,a,l){const c=Zi()+e,u=qi(),d=lp(u,c,n,i,r,s);return op(u,c+4,o,a)||d?ip(u,c+6,l?t.call(l,n,i,r,s,o,a):t(n,i,r,s,o,a)):rp(u,c+6)}function ob(e,t,n,i,r,s,o,a,l,c){const u=Zi()+e,d=qi();let h=lp(d,u,n,i,r,s);return ap(d,u+4,o,a,l)||h?ip(d,u+7,c?t.call(c,n,i,r,s,o,a,l):t(n,i,r,s,o,a,l)):rp(d,u+7)}function ab(e,t,n,i,r,s,o,a,l,c,u){const d=Zi()+e,h=qi(),p=lp(h,d,n,i,r,s);return lp(h,d+4,o,a,l,c)||p?ip(h,d+8,u?t.call(u,n,i,r,s,o,a,l,c):t(n,i,r,s,o,a,l,c)):rp(h,d+8)}function lb(e,t,n,i){return fb(qi(),Zi(),e,t,n,i)}function cb(e,t){const n=e[t];return n===Wc?void 0:n}function ub(e,t,n,i,r,s){const o=t+n;return sp(e,o,r)?ip(e,o+1,s?i.call(s,r):i(r)):cb(e,o+1)}function db(e,t,n,i,r,s,o){const a=t+n;return op(e,a,r,s)?ip(e,a+2,o?i.call(o,r,s):i(r,s)):cb(e,a+2)}function hb(e,t,n,i,r,s,o,a){const l=t+n;return ap(e,l,r,s,o)?ip(e,l+3,a?i.call(a,r,s,o):i(r,s,o)):cb(e,l+3)}function pb(e,t,n,i,r,s,o,a,l){const c=t+n;return lp(e,c,r,s,o,a)?ip(e,c+4,l?i.call(l,r,s,o,a):i(r,s,o,a)):cb(e,c+4)}function fb(e,t,n,i,r,s){let o=t+n,a=!1;for(let t=0;t<r.length;t++)sp(e,o++,r[t])&&(a=!0);return a?ip(e,o,i.apply(s,r)):cb(e,o)}function gb(e,t){const n=Ui();let i;const r=e+ii;var s;n.firstCreatePass?(i=function(e,t){if(t){0;for(let n=t.length-1;n>=0;n--){const i=t[n];if(e===i.name)return i}}0;return}(t,n.pipeRegistry),n.data[r]=i,i.onDestroy&&(null!==(s=n.destroyHooks)&&void 0!==s?s:n.destroyHooks=[]).push(r,i.onDestroy)):i=n.data[r];const o=i.factory||(i.factory=Zs(i.type));const a=_s(Yc);try{const e=la(!1),t=o();return la(e),function(e,t,n,i){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=i}(n,qi(),r,t),t}finally{_s(a)}}function _b(e,t,n){const i=e+ii,r=qi(),s=Ei(r,i);return wb(r,i)?ub(r,Zi(),t,s.transform,n,s):s.transform(n)}function mb(e,t,n,i){const r=e+ii,s=qi(),o=Ei(s,r);return wb(s,r)?db(s,Zi(),t,o.transform,n,i,o):o.transform(n,i)}function vb(e,t,n,i,r){const s=e+ii,o=qi(),a=Ei(o,s);return wb(o,s)?hb(o,Zi(),t,a.transform,n,i,r,a):a.transform(n,i,r)}function bb(e,t,n,i,r,s){const o=e+ii,a=qi(),l=Ei(a,o);return wb(a,o)?pb(a,Zi(),t,l.transform,n,i,r,s,l):l.transform(n,i,r,s)}function yb(e,t,n){const i=e+ii,r=qi(),s=Ei(r,i);return wb(r,i)?fb(r,Zi(),t,s.transform,n,s):s.transform.apply(s,n)}function wb(e,t){return e[Fn].data[t].pure}function Eb(e,t){return sd(e,t)}function Tb(e,t){return()=>{try{return zd.getComponentDependencies(e,t).dependencies}catch(t){throw console.error(`Computing dependencies in local compilation mode for the component "${e.name}" failed with the exception:`,t),t}}}function Ib(e,t){const n=Cn(e);null!==n&&(n.debugInfo=t)}(Ke=Gv).ɵprov=jr({token:Ke,providedIn:"environment",factory:()=>new Ke(As(vo))});const Cb={"ɵɵattribute":Df,"ɵɵattributeInterpolate1":Bf,"ɵɵattributeInterpolate2":zf,"ɵɵattributeInterpolate3":qf,"ɵɵattributeInterpolate4":Uf,"ɵɵattributeInterpolate5":jf,"ɵɵattributeInterpolate6":Vf,"ɵɵattributeInterpolate7":Wf,"ɵɵattributeInterpolate8":$f,"ɵɵattributeInterpolateV":Gf,"ɵɵdefineComponent":vn,"ɵɵdefineDirective":Tn,"ɵɵdefineInjectable":jr,"ɵɵdefineInjector":Vr,"ɵɵdefineNgModule":wn,"ɵɵdefinePipe":In,"ɵɵdirectiveInject":Yc,"ɵɵgetInheritedFactory":Da,"ɵɵinject":As,"ɵɵinjectAttribute":Oa,"ɵɵinvalidFactory":Qc,"ɵɵinvalidFactoryDep":xs,"ɵɵtemplateRefExtractor":Eb,"ɵɵresetView":Vi,"ɵɵHostDirectivesFeature":zh,"ɵɵNgOnChangesFeature":qo,"ɵɵProvidersFeature":$v,"ɵɵCopyDefinitionFeature":Bh,"ɵɵInheritDefinitionFeature":kh,"ɵɵInputTransformsFeature":Vh,"ɵɵStandaloneFeature":Yv,"ɵɵnextContext":Hm,"ɵɵnamespaceHTML":wr,"ɵɵnamespaceMathML":yr,"ɵɵnamespaceSVG":br,"ɵɵenableBindings":Bi,"ɵɵdisableBindings":zi,"ɵɵelementStart":r_,"ɵɵelementEnd":s_,"ɵɵelement":o_,"ɵɵelementContainerStart":l_,"ɵɵelementContainerEnd":c_,"ɵɵelementContainer":u_,"ɵɵpureFunction0":Xv,"ɵɵpureFunction1":eb,"ɵɵpureFunction2":tb,"ɵɵpureFunction3":nb,"ɵɵpureFunction4":ib,"ɵɵpureFunction5":rb,"ɵɵpureFunction6":sb,"ɵɵpureFunction7":ob,"ɵɵpureFunction8":ab,"ɵɵpureFunctionV":lb,"ɵɵgetCurrentView":h_,"ɵɵrestoreView":ji,"ɵɵlistener":Nm,"ɵɵprojection":qm,"ɵɵsyntheticHostProperty":f_,"ɵɵsyntheticHostListener":Fm,"ɵɵpipeBind1":_b,"ɵɵpipeBind2":mb,"ɵɵpipeBind3":vb,"ɵɵpipeBind4":bb,"ɵɵpipeBindV":yb,"ɵɵprojectionDef":zm,"ɵɵhostProperty":p_,"ɵɵproperty":hg,"ɵɵpropertyInterpolate":Um,"ɵɵpropertyInterpolate1":jm,"ɵɵpropertyInterpolate2":Vm,"ɵɵpropertyInterpolate3":Wm,"ɵɵpropertyInterpolate4":$m,"ɵɵpropertyInterpolate5":Gm,"ɵɵpropertyInterpolate6":Ym,"ɵɵpropertyInterpolate7":Qm,"ɵɵpropertyInterpolate8":Km,"ɵɵpropertyInterpolateV":Zm,"ɵɵpipe":gb,"ɵɵqueryRefresh":ev,"ɵɵqueryAdvance":rv,"ɵɵviewQuery":Xm,"ɵɵviewQuerySignal":iv,"ɵɵloadQuery":tv,"ɵɵcontentQuery":Jm,"ɵɵcontentQuerySignal":nv,"ɵɵreference":sv,"ɵɵclassMap":vg,"ɵɵclassMapInterpolate1":Og,"ɵɵclassMapInterpolate2":Ng,"ɵɵclassMapInterpolate3":Fg,"ɵɵclassMapInterpolate4":Lg,"ɵɵclassMapInterpolate5":Pg,"ɵɵclassMapInterpolate6":Mg,"ɵɵclassMapInterpolate7":Hg,"ɵɵclassMapInterpolate8":Bg,"ɵɵclassMapInterpolateV":zg,"ɵɵstyleMap":_g,"ɵɵstyleMapInterpolate1":ov,"ɵɵstyleMapInterpolate2":av,"ɵɵstyleMapInterpolate3":lv,"ɵɵstyleMapInterpolate4":cv,"ɵɵstyleMapInterpolate5":uv,"ɵɵstyleMapInterpolate6":dv,"ɵɵstyleMapInterpolate7":hv,"ɵɵstyleMapInterpolate8":pv,"ɵɵstyleMapInterpolateV":fv,"ɵɵstyleProp":fg,"ɵɵstylePropInterpolate1":gv,"ɵɵstylePropInterpolate2":_v,"ɵɵstylePropInterpolate3":mv,"ɵɵstylePropInterpolate4":vv,"ɵɵstylePropInterpolate5":bv,"ɵɵstylePropInterpolate6":yv,"ɵɵstylePropInterpolate7":wv,"ɵɵstylePropInterpolate8":Ev,"ɵɵstylePropInterpolateV":Tv,"ɵɵclassProp":gg,"ɵɵadvance":$c,"ɵɵtemplate":cp,"ɵɵconditional":Yg,"ɵɵdefer":tf,"ɵɵdeferWhen":nf,"ɵɵdeferOnIdle":sf,"ɵɵdeferOnImmediate":af,"ɵɵdeferOnTimer":cf,"ɵɵdeferOnHover":df,"ɵɵdeferOnInteraction":pf,"ɵɵdeferOnViewport":gf,"ɵɵdeferPrefetchWhen":rf,"ɵɵdeferPrefetchOnIdle":of,"ɵɵdeferPrefetchOnImmediate":lf,"ɵɵdeferPrefetchOnTimer":uf,"ɵɵdeferPrefetchOnHover":hf,"ɵɵdeferPrefetchOnInteraction":ff,"ɵɵdeferPrefetchOnViewport":_f,"ɵɵdeferEnableTimerScheduling":ef,"ɵɵrepeater":t_,"ɵɵrepeaterCreate":Xg,"ɵɵrepeaterTrackByIndex":Kg,"ɵɵrepeaterTrackByIdentity":Zg,"ɵɵcomponentInstance":qg,"ɵɵtext":Iv,"ɵɵtextInterpolate":Sv,"ɵɵtextInterpolate1":Av,"ɵɵtextInterpolate2":xv,"ɵɵtextInterpolate3":Dv,"ɵɵtextInterpolate4":Rv,"ɵɵtextInterpolate5":kv,"ɵɵtextInterpolate6":Ov,"ɵɵtextInterpolate7":Nv,"ɵɵtextInterpolate8":Fv,"ɵɵtextInterpolateV":Lv,"ɵɵi18n":xm,"ɵɵi18nAttributes":Dm,"ɵɵi18nExp":Rm,"ɵɵi18nStart":Sm,"ɵɵi18nEnd":Am,"ɵɵi18nApply":km,"ɵɵi18nPostprocess":Om,"ɵɵresolveWindow":ic,"ɵɵresolveDocument":rc,"ɵɵresolveBody":sc,"ɵɵsetComponentScope":Qv,"ɵɵsetNgModuleScope":Kv,"ɵɵregisterNgModuleType":xh,"ɵɵgetComponentDepsFactory":Tb,"ɵsetClassDebugInfo":Ib,"ɵɵsanitizeHtml":Hl,"ɵɵsanitizeStyle":Bl,"ɵɵsanitizeResourceUrl":ql,"ɵɵsanitizeScript":Ul,"ɵɵsanitizeUrl":zl,"ɵɵsanitizeUrlOrResourceUrl":Wl,"ɵɵtrustConstantHtml":jl,"ɵɵtrustConstantResourceUrl":Vl,"ɵɵvalidateIframeAttribute":Dh,forwardRef:as,resolveForwardRef:ls,"ɵɵtwoWayProperty":Pv,"ɵɵtwoWayBindingSet":Mv,"ɵɵtwoWayListener":Hv,"ɵɵInputFlags":e.InputFlags};let Sb=null;const Ab=[];let xb=!1;function Db(e){return Array.isArray(e)?e.every(Db):!!ls(e)}function Rb(e,t={}){!function(e,t,n=!1){const i=Dr(t.declarations||Ut);let r=null;Object.defineProperty(e,Yt,{configurable:!0,get:()=>{if(null===r){0;const n=xo();r=n.compileNgModule(Cb,`ng:///${e.name}/ɵmod.js`,{type:e,bootstrap:Dr(t.bootstrap||Ut).map(ls),declarations:i.map(ls),imports:Dr(t.imports||Ut).map(ls).map(Fb),exports:Dr(t.exports||Ut).map(ls).map(Fb),schemas:t.schemas?Dr(t.schemas):null,id:t.id||null}),r.schemas||(r.schemas=[])}return r}});let s=null;Object.defineProperty(e,Qt,{get:()=>{if(null===s){const t=xo();s=t.compileFactory(Cb,`ng:///${e.name}/ɵfac.js`,{name:e.name,type:e,deps:Pa(e),target:t.FactoryTarget.NgModule,typeArgumentCount:0})}return s},configurable:!1});let o=null;Object.defineProperty(e,Qr,{get:()=>{if(null===o){const n={name:e.name,type:e,providers:t.providers||Ut,imports:[(t.imports||Ut).map(ls),(t.exports||Ut).map(ls)]},i=xo();o=i.compileInjector(Cb,`ng:///${e.name}/ɵinj.js`,n)}return o},configurable:!1})}(e,t),void 0!==t.id&&xh(e,t.id),function(e,t){Ab.push({moduleType:e,ngModule:t})}(e,t)}new WeakMap,new WeakMap;function kb(e,t){const n=Dr(t.declarations||Ut),i=Nb(e);n.forEach((t=>{if((t=ls(t)).hasOwnProperty(Wt)){Ob(Cn(t),i)}else t.hasOwnProperty($t)||t.hasOwnProperty(Gt)||(t.ngSelectorScope=e)}))}function Ob(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map((e=>e.hasOwnProperty(Wt)?Cn(e):Sn(e))).filter((e=>!!e)),e.pipeDefs=()=>Array.from(t.compilation.pipes).map((e=>An(e))),e.schemas=t.schemas,e.tView=null}function Nb(e){if(Fd(e)){const t=zd.getNgModuleScope(e);return Ct({schemas:Dn(e,!0).schemas||null},t)}if(xn(e)){if(null!==(Cn(e)||Sn(e)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([e]),pipes:new Set}};if(null!==An(e))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set([e])}}}throw new Error(`${e.name} does not have a module def (ɵmod property)`)}function Fb(e){return Nd(e)?e.ngModule:e}let Lb=0;function Pb(e,t){let n=null;!function(e,t){Ch(t)&&(Th.set(e,t),Ih.add(e))}(e,t),Bb(e,t),Object.defineProperty(e,Wt,{get:()=>{if(null===n){const i=xo();if(Ch(t)){const n=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&n.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&n.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),t.styleUrl&&n.push(` - styleUrl: ${t.styleUrl}`),n.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(n.join("\n"))}const r=Sb;let s=t.preserveWhitespaces;void 0===s&&(s=null!==r&&void 0!==r.preserveWhitespaces&&r.preserveWhitespaces);let o=t.encapsulation;void 0===o&&(o=null!==r&&void 0!==r.defaultEncapsulation?r.defaultEncapsulation:Ft.Emulated);const a=t.templateUrl||`ng:///${e.name}/template.html`,l=Ct(Ct({},qb(e,t)),{},{typeSourceSpan:i.createParseSourceSpan("Component",e.name,a),template:t.template||"",preserveWhitespaces:s,styles:"string"==typeof t.styles?[t.styles]:t.styles||Ut,animations:t.animations,declarations:[],changeDetection:t.changeDetection,encapsulation:o,interpolation:t.interpolation,viewProviders:t.viewProviders||null});Lb++;try{if(l.usesInheritance&&Ub(e),n=i.compileComponent(Cb,a,l),t.standalone){const i=Dr(t.imports||Ut),{directiveDefs:r,pipeDefs:s}=function(e,t){const n=()=>{if(!Md(e))return[];return[...zd.getStandaloneComponentScope(e,t).compilation.directives].map((e=>Cn(e)||Sn(e))).filter((e=>null!==e))},i=()=>{if(!Md(e))return[];return[...zd.getStandaloneComponentScope(e,t).compilation.pipes].map((e=>An(e))).filter((e=>null!==e))};return{directiveDefs:n,pipeDefs:i}}(e,i);n.directiveDefs=r,n.pipeDefs=s,n.dependencies=()=>i.map(ls)}}finally{Lb--}if(0===Lb&&function(){if(!xb){xb=!0;try{for(let e=Ab.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=Ab[e];n.declarations&&n.declarations.every(Db)&&(Ab.splice(e,1),kb(t,n))}}finally{xb=!1}}}(),void 0!==e.ngSelectorScope){const t=Nb(e.ngSelectorScope);Ob(n,t)}if(t.schemas){if(!t.standalone)throw new Error(`The 'schemas' was specified for the ${hs(e)} but is only valid on a component that is standalone.`);n.schemas=t.schemas}else t.standalone&&(n.schemas=[])}return n},configurable:!1})}function Mb(e,t){let n=null;Bb(e,t||{}),Object.defineProperty(e,$t,{get:()=>{if(null===n){const i=Hb(e,t||{}),r=xo();n=r.compileDirective(Cb,i.sourceMapUrl,i.metadata)}return n},configurable:!1})}function Hb(e,t){const n=e&&e.name,i=`ng:///${n}/ɵdir.js`,r=xo(),s=qb(e,t);return s.typeSourceSpan=r.createParseSourceSpan("Directive",n,i),s.usesInheritance&&Ub(e),{metadata:s,sourceMapUrl:i}}function Bb(e,t){let n=null;Object.defineProperty(e,Qt,{get:()=>{if(null===n){const i=Hb(e,t),r=xo();n=r.compileFactory(Cb,`ng:///${e.name}/ɵfac.js`,{name:i.metadata.name,type:i.metadata.type,typeArgumentCount:0,deps:Pa(e),target:r.FactoryTarget.Directive})}return n},configurable:!1})}function zb(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function qb(e,t){var n;const i=La(),r=i.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||qt,propMetadata:r,inputs:t.inputs||Ut,outputs:t.outputs||Ut,queries:Vb(e,r,Wb),lifecycle:{usesOnChanges:i.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!zb(e),exportAs:(s=t.exportAs,void 0===s?null:Yb(s)),providers:t.providers||null,viewQueries:Vb(e,r,$b),isStandalone:!!t.standalone,isSignal:!!t.signals,hostDirectives:(null===(n=t.hostDirectives)||void 0===n?void 0:n.map((e=>"function"==typeof e?{directive:e}:e)))||null};var s}function Ub(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)Sn(n)||Cn(n)||!Kb(n)||Mb(n,null),n=Object.getPrototypeOf(n)}function jb(e,t){return{propertyName:e,predicate:(n=t.selector,"string"==typeof n?Yb(n):ls(n)),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly,isSignal:!!t.isSignal};var n}function Vb(e,t,n){const i=[];for(const r in t)if(t.hasOwnProperty(r)){const s=t[r];s.forEach((t=>{if(n(t)){if(!t.selector)throw new Error(`Can't construct a query for the property "${r}" of "${hs(e)}" since the query selector wasn't defined.`);if(s.some(Gb))throw new Error("Cannot combine @Input decorators with query decorators");i.push(jb(r,t))}}))}return i}function Wb(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function $b(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Gb(e){return"Input"===e.ngMetadataName}function Yb(e){return e.split(",").map((e=>e.trim()))}const Qb=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function Kb(e){const t=La();if(Qb.some((n=>t.hasLifecycleHook(e,n))))return!0;const n=t.propMetadata(e);for(const e in n){const t=n[e];for(let e=0;e<t.length;e++){const n=t[e],i=n.ngMetadataName;if(Gb(n)||Wb(n)||$b(n)||"Output"===i||"HostBinding"===i||"HostListener"===i)return!0}}return!1}function Zb(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure,isStandalone:!!t.standalone}}const Jb=Us("Directive",((e={})=>e),void 0,void 0,((e,t)=>Mb(e,t))),Xb=Us("Component",((t={})=>Ct({changeDetection:e.ChangeDetectionStrategy.Default},t)),Jb,void 0,((e,t)=>Pb(e,t))),ey=Us("Pipe",(e=>Ct({pure:!0},e)),void 0,void 0,((e,t)=>function(e,t){let n=null,i=null;Object.defineProperty(e,Qt,{get:()=>{if(null===i){const n=Zb(e,t),r=xo(n.type);i=r.compileFactory(Cb,`ng:///${n.name}/ɵfac.js`,{name:n.name,type:n.type,typeArgumentCount:0,deps:Pa(e),target:r.FactoryTarget.Pipe})}return i},configurable:!1}),Object.defineProperty(e,Gt,{get:()=>{if(null===n){const i=Zb(e,t),r=xo(i.type);n=r.compilePipe(Cb,`ng:///${i.name}/ɵpipe.js`,i)}return n},configurable:!1})}(e,t))),ty=Ws("Input",(e=>e?"string"==typeof e?{alias:e}:e:{}));Ws("Output",(e=>({alias:e})));Ws("HostBinding",(e=>({hostPropertyName:e})));Ws("HostListener",((e,t)=>({eventName:e,args:t})));const ny=Us("NgModule",(e=>e),void 0,void 0,((e,t)=>Rb(e,t)));class iy{constructor(e){this.full=e;const t=e.split(".");this.major=t[0],this.minor=t[1],this.patch=t.slice(2).join(".")}}new iy("17.2.4");class ry{log(e){console.log(e)}warn(e){console.warn(e)}}(Ze=ry).ɵfac=function(e){return new(e||Ze)},Ze.ɵprov=jr({token:Ze,factory:Ze.ɵfac,providedIn:"platform"});new class{constructor(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}reset(){this.resolverToTokenToDependencies=new WeakMap,this.resolverToProviders=new WeakMap,this.standaloneInjectorToComponent=new WeakMap}};const sy=new Jr(""),oy=new Jr("");class ay{constructor(e,t,n){this._ngZone=e,this.registry=t,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,cy||(cy=n,n.addToWindow(t)),this._watchAngularEvents(),e.run((()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._isZoneStable=!1}}),this._ngZone.runOutsideAngular((()=>{this._ngZone.onStable.subscribe({next:()=>{Td.assertNotInAngularZone(),queueMicrotask((()=>{this._isZoneStable=!0,this._runCallbacksIfReady()}))}})}))}increasePendingRequestCount(){return this._pendingCount+=1,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())queueMicrotask((()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb()}}));else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter((t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((e=>({source:e.source,creationLocation:e.creationLocation,data:e.data}))):[]}addCallback(e,t,n){let i=-1;t&&t>0&&(i=setTimeout((()=>{this._callbacks=this._callbacks.filter((e=>e.timeoutId!==i)),e()}),t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}whenStable(e,t,n){if(n&&!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,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,t,n){return[]}}(Je=ay).ɵfac=function(e){return new(e||Je)(As(Td),As(ly),As(oy))},Je.ɵprov=jr({token:Je,factory:Je.ɵfac});class ly{constructor(){this._applications=new Map}registerApplication(e,t){this._applications.set(e,t)}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,t=!0){var n,i;return null!==(n=null===(i=cy)||void 0===i?void 0:i.findTestabilityInTree(this,e,t))&&void 0!==n?n:null}}let cy;function uy(e){return!!e&&"function"==typeof e.then}function dy(e){return!!e&&"function"==typeof e.subscribe}(Xe=ly).ɵfac=function(e){return new(e||Xe)},Xe.ɵprov=jr({token:Xe,factory:Xe.ɵfac,providedIn:"platform"});const hy=new Jr("");class py{constructor(){var e;this.initialized=!1,this.done=!1,this.donePromise=new Promise(((e,t)=>{this.resolve=e,this.reject=t})),this.appInits=null!==(e=Ds(hy,{optional:!0}))&&void 0!==e?e:[]}runInitializers(){if(this.initialized)return;const e=[];for(const t of this.appInits){const n=t();if(uy(n))e.push(n);else if(dy(n)){const t=new Promise(((e,t)=>{n.subscribe({complete:e,error:t})}));e.push(t)}}const t=()=>{this.done=!0,this.resolve()};Promise.all(e).then((()=>{t()})).catch((e=>{this.reject(e)})),0===e.length&&t(),this.initialized=!0}}(et=py).ɵfac=function(e){return new(e||et)},et.ɵprov=jr({token:et,factory:et.ɵfac,providedIn:"root"});const fy=new Jr("");function gy(e,t){return Array.isArray(t)?t.reduce(gy,e):Ct(Ct({},e),t)}class _y{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Ds(Ga),this.afterRenderEffectManager=Ds(Od),this.componentTypes=[],this.components=[],this.isStable=Ds(ep).hasPendingTasks.pipe(Pe((e=>!e))),this._injector=Ds(vo)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,t){const n=e instanceof ud;if(!this._injector.get(py).done){!n&&xn(e);throw new xt(405,!1)}let i;if(n)i=e;else{i=this._injector.get(pd).resolveComponentFactory(e)}this.componentTypes.push(i.componentType);const r=i.isBoundToModule?void 0:this._injector.get(Wh);const s=t||i.selector,o=i.create(Va.NULL,[],s,r),a=o.location.nativeElement,l=o.injector.get(sy,null);return null==l||l.registerApplication(a),o.onDestroy((()=>{this.detachView(o.hostView),my(this.components,o),null==l||l.unregisterApplication(a)})),this._loadComponent(o),o}tick(){if(this._runningTick)throw new xt(101,!1);const e=h(null);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(e){this.internalErrorHandler(e)}finally{this._runningTick=!1,h(e)}}detectChangesInAttachedViews(){let e=0;const t=this.afterRenderEffectManager;for(;;){if(e===$u)throw new xt(103,!1);const n=0===e;for(let{_lView:e,notifyErrorHandler:t}of this._views)(n||vy(e))&&this.detectChangesInView(e,t,n);if(e++,t.executeInternalCallbacks(),!this._views.some((({_lView:e})=>vy(e)))&&(t.execute(),!this._views.some((({_lView:e})=>vy(e)))))break}}detectChangesInView(e,t,n){let i;n?(i=0,e[Ln]|=1024):i=64&e[Ln]?0:1,Gu(e,t,i)}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;my(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const t=this._injector.get(fy,[]);[...this._bootstrapListeners,...t].forEach((t=>t(e)))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach((e=>e())),this._views.slice().forEach((e=>e.destroy()))}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>my(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new xt(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){0}}function my(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function vy(e){return Ri(e)}(tt=_y).ɵfac=function(e){return new(e||tt)},tt.ɵprov=jr({token:tt,factory:tt.ɵfac,providedIn:"root"});class by{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}class yy{compileModuleSync(e){return new Qh(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const t=this.compileModuleSync(e),n=oc(Dn(e).declarations).reduce(((e,t)=>{const n=Cn(t);return n&&e.push(new Wd(n)),e}),[]);return new by(t,n)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}}(nt=yy).ɵfac=function(e){return new(e||nt)},nt.ɵprov=jr({token:nt,factory:nt.ɵfac,providedIn:"root"});new Jr("");function wy(e,t,n){const i=new Qh(n);return Promise.resolve(i)}class Ey{constructor(){this.zone=Ds(Td),this.applicationRef=Ds(_y)}initialize(){this._onMicrotaskEmptySubscription||(this._onMicrotaskEmptySubscription=this.zone.onMicrotaskEmpty.subscribe({next:()=>{this.zone.run((()=>{this.applicationRef.tick()}))}}))}ngOnDestroy(){var e;null===(e=this._onMicrotaskEmptySubscription)||void 0===e||e.unsubscribe()}}(it=Ey).ɵfac=function(e){return new(e||it)},it.ɵprov=jr({token:it,factory:it.ɵfac,providedIn:"root"});new Jr("");function Ty(){const e=Ds(Td),t=Ds($a);return n=>e.runOutsideAngular((()=>t.handleError(n)))}class Iy{constructor(){this.subscription=new F,this.initialized=!1,this.zone=Ds(Td),this.pendingTasks=Ds(ep)}initialize(){if(this.initialized)return;this.initialized=!0;let e=null;this.zone.isStable||this.zone.hasPendingMacrotasks||this.zone.hasPendingMicrotasks||(e=this.pendingTasks.add()),this.zone.runOutsideAngular((()=>{this.subscription.add(this.zone.onStable.subscribe((()=>{Td.assertNotInAngularZone(),queueMicrotask((()=>{null===e||this.zone.hasPendingMacrotasks||this.zone.hasPendingMicrotasks||(this.pendingTasks.remove(e),e=null)}))})))})),this.subscription.add(this.zone.onUnstable.subscribe((()=>{var t;Td.assertInAngularZone(),null!==(t=e)&&void 0!==t||(e=this.pendingTasks.add())})))}ngOnDestroy(){this.subscription.unsubscribe()}}(rt=Iy).ɵfac=function(e){return new(e||rt)},rt.ɵprov=jr({token:rt,factory:rt.ɵfac,providedIn:"root"});const Cy=new Jr("",{providedIn:"root",factory:()=>Ds(Cy,Ot.Optional|Ot.SkipSelf)||"undefined"!=typeof $localize&&$localize.locale||T_}),Sy=new Jr("",{providedIn:"root",factory:()=>"USD"});var Ay;new Jr(""),new Jr(""),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(Ay||(Ay={}));const xy=new Jr("");class Dy{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e="zone.js",t){return"noop"===e?new Dd:"zone.js"===e?new Td(t):e}(null==t?void 0:t.ngZone,function(e){var t,n;return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:null!==(t=null==e?void 0:e.eventCoalescing)&&void 0!==t&&t,shouldCoalesceRunChangeDetection:null!==(n=null==e?void 0:e.runCoalescing)&&void 0!==n&&n}}({eventCoalescing:null==t?void 0:t.ngZoneEventCoalescing,runCoalescing:null==t?void 0:t.ngZoneRunCoalescing}));return n.run((()=>{const t=(i=e.moduleType,r=this.injector,new Yh(i,r,[{provide:Td,useFactory:()=>n},{provide:Js,multi:!0,useFactory:()=>{const e=Ds(Ey,{optional:!0});return()=>e.initialize()}},{provide:Js,multi:!0,useFactory:()=>{const e=Ds(Iy);return()=>{e.initialize()}}},{provide:Ga,useFactory:Ty}]));var i,r;const s=t.injector.get($a,null);return n.runOutsideAngular((()=>{const e=n.onError.subscribe({next:e=>{s.handleError(e)}});t.onDestroy((()=>{my(this._modules,t),e.unsubscribe()}))})),function(e,t,n){try{const i=n();return uy(i)?i.catch((n=>{throw t.runOutsideAngular((()=>e.handleError(n))),n})):i}catch(n){throw t.runOutsideAngular((()=>e.handleError(n))),n}}(s,n,(()=>{const e=t.injector.get(py);return e.runInitializers(),e.donePromise.then((()=>(function(e){"string"==typeof e&&(A_=e.toLowerCase().replace(/_/g,"-"))}(t.injector.get(Cy,T_)||T_),this._moduleDoBootstrap(t),t)))}))}))}bootstrapModule(e,t=[]){const n=gy({},t);return wy(this.injector,0,e).then((e=>this.bootstrapModuleFactory(e,n)))}_moduleDoBootstrap(e){const t=e.injector.get(_y);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((e=>t.bootstrap(e)));else{if(!e.instance.ngDoBootstrap)throw new xt(-403,!1);e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new xt(404,!1);this._modules.slice().forEach((e=>e.destroy())),this._destroyListeners.forEach((e=>e()));const e=this._injector.get(xy,null);e&&(e.forEach((e=>e())),e.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}}(st=Dy).ɵfac=function(e){return new(e||st)(As(Va))},st.ɵprov=jr({token:st,factory:st.ɵfac,providedIn:"platform"});let Ry=null;const ky=new Jr("");function Oy(e){if(Ry&&!Ry.get(ky,!1))throw new xt(400,!1);Ry=e;const t=e.get(Dy);return function(e){const t=e.get(ts,null);null==t||t.forEach((e=>e()))}(e),t}function Ny(e,t,n=[]){const i=`Platform: ${t}`,r=new Jr(i);return(t=[])=>{let s=Fy();if(!s||s.injector.get(ky,!1)){const s=[...n,...t,{provide:r,useValue:!0}];e?e(s):Oy(function(e=[],t){return Va.create({name:t,providers:[{provide:po,useValue:"platform"},{provide:xy,useValue:new Set([()=>Ry=null])},...e]})}(s,i))}return function(e){const t=Fy();if(!t)throw new xt(401,!1);0;return t}()}}function Fy(){var e,t;return null!==(e=null===(t=Ry)||void 0===t?void 0:t.get(Dy))&&void 0!==e?e:null}class Ly{}Ly.__NG_ELEMENT_ID__=function(e){return function(e,t,n){if(hi(e)&&!n){const n=Ti(e.index,t);return new td(n,n)}if(47&e.type){const e=t[Yn];return new td(e,t)}return null}(Wi(),qi(),!(16&~e))};class Py{constructor(){}supports(e){return tp(e)}create(e){return new Hy(e)}}const My=(e,t)=>t;class Hy{constructor(e){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=e||My}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,i=0,r=null;for(;t||n;){const s=!n||t&&t.currentIndex<Uy(n,i,r)?t:n,o=Uy(s,i,r),a=s.currentIndex;if(s===n)i--,n=n._nextRemoved;else if(t=t._next,null==s.previousIndex)i++;else{r||(r=[]);const e=o-i,t=a-i;if(e!=t){for(let n=0;n<e;n++){const i=n<r.length?r[n]:r[n]=0,s=i+n;t<=s&&s<e&&(r[n]=i+1)}r[s.previousIndex]=t-e}}o!==a&&e(s,o,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!tp(e))throw new xt(900,!1);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,i,r=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],i=this._trackByFn(t,n),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,n,i,t)),Object.is(r.item,n)||this._addIdentityChange(r,n)):(r=this._mismatch(r,n,i,t),s=!0),r=r._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Symbol.iterator]();let i;for(;!(i=n.next()).done;)t(i.value)}}(e,(e=>{i=this._trackByFn(t,e),null!==r&&Object.is(r.trackById,i)?(s&&(r=this._verifyReinsertion(r,e,i,t)),Object.is(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,i,t),s=!0),r=r._next,t++})),this.length=t;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=e._nextMoved)e.previousIndex=e.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,i){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,i)):null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,i))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,i)):e=this._addAfter(new By(t,n),r,i),e}_verifyReinsertion(e,t,n,i){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,i):e.currentIndex!=i&&(e.currentIndex=i,this._addToMoves(e,i)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}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(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const i=e._prevRemoved,r=e._nextRemoved;return null===i?this._removalsHead=r:i._nextRemoved=r,null===r?this._removalsTail=i:r._prevRemoved=i,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),null===this._additionsTail?this._additionsTail=this._additionsHead=e:this._additionsTail=this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const i=null===t?this._itHead:t._next;return e._next=i,e._prev=t,null===i?this._itTail=e:i._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new qy),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(null===this._movesTail?this._movesTail=this._movesHead=e:this._movesTail=this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new qy),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,null===this._identityChangesTail?this._identityChangesTail=this._identityChangesHead=e:this._identityChangesTail=this._identityChangesTail._nextIdentityChange=e,e}}class By{constructor(e,t){this.item=e,this.trackById=t,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 zy{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class qy{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new zy,this.map.set(t,n)),n.add(e)}get(e,t){const n=e,i=this.map.get(n);return i?i.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Uy(e,t,n){const i=e.previousIndex;if(null===i)return i;let r=0;return n&&i<n.length&&(r=n[i]),i+t+r}class jy{constructor(){}supports(e){return e instanceof Map||np(e)}create(){return new Vy}}class Vy{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||np(e)))throw new xt(900,!1)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,((e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const i=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,i)}})),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const i=n._prev,r=n._next;return i&&(i._next=r),r&&(r._prev=i),n._next=null,n._prev=null,n}const n=new Wy(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){Object.is(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach((n=>t(e[n],n)))}}class Wy{constructor(e){this.key=e,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 $y(){return new Gy([new Py])}class Gy{constructor(e){this.factories=e}static create(e,t){if(null!=t){const n=t.factories.slice();e=e.concat(n)}return new Gy(e)}static extend(e){return{provide:Gy,useFactory:t=>Gy.create(e,t||$y()),deps:[[Gy,new Qs,new Gs]]}}find(e){const t=this.factories.find((t=>t.supports(e)));if(null!=t)return t;throw new xt(901,!1)}}function Yy(){return new Qy([new jy])}(ot=Gy).ɵprov=jr({token:ot,providedIn:"root",factory:$y});class Qy{constructor(e){this.factories=e}static create(e,t){if(t){const n=t.factories.slice();e=e.concat(n)}return new Qy(e)}static extend(e){return{provide:Qy,useFactory:t=>Qy.create(e,t||Yy()),deps:[[Qy,new Qs,new Gs]]}}find(e){const t=this.factories.find((t=>t.supports(e)));if(t)return t;throw new xt(901,!1)}}(at=Qy).ɵprov=jr({token:at,providedIn:"root",factory:Yy});const Ky=Ny(null,"core",[]);class Zy{constructor(e){}}(lt=Zy).ɵfac=function(e){return new(e||lt)(As(_y))},lt.ɵmod=wn({type:lt}),lt.ɵinj=Vr({});class Jy{constructor(){this.window=null,this.observer=null,this.options=Ds(ss),this.ngZone=Ds(Td)}start(){var e,t;if("undefined"==typeof PerformanceObserver||null!==(e=this.options)&&void 0!==e&&e.disableImageSizeWarning&&null!==(t=this.options)&&void 0!==t&&t.disableImageLazyLoadWarning)return;this.observer=this.initPerformanceObserver();const n=Ur(),i=n.defaultView;if(void 0!==i){this.window=i;const e=()=>{setTimeout(this.scanImages.bind(this),200)};this.ngZone.runOutsideAngular((()=>{var t;"complete"===n.readyState?e():null===(t=this.window)||void 0===t||t.addEventListener("load",e,{once:!0})}))}}ngOnDestroy(){var e;null===(e=this.observer)||void 0===e||e.disconnect()}initPerformanceObserver(){if("undefined"==typeof PerformanceObserver)return null;const e=new PerformanceObserver((e=>{var t,n;const i=e.getEntries();if(0===i.length)return;const r=null!==(t=null===(n=i[i.length-1].element)||void 0===n?void 0:n.src)&&void 0!==t?t:"";r.startsWith("data:")||r.startsWith("blob:")||(this.lcpImageUrl=r)}));return e.observe({type:"largest-contentful-paint",buffered:!0}),e}scanImages(){var e;const t=Ur().querySelectorAll("img");let n,i=!1;var r;t.forEach((e=>{var r,s,o;if(null===(r=this.options)||void 0===r||!r.disableImageSizeWarning)for(const e of t)!e.getAttribute("ng-img")&&this.isOversized(e)&&(o=e.src,console.warn(Dt(-913,`An image with src ${o} has intrinsic file dimensions much larger than its rendered size. This can negatively impact application loading performance. For more information about addressing or disabling this warning, see https://angular.io/errors/NG0913`)));null!==(s=this.options)&&void 0!==s&&s.disableImageLazyLoadWarning||!this.lcpImageUrl||e.src===this.lcpImageUrl&&(n=!0,("lazy"!==e.loading||e.getAttribute("ng-img"))&&(i=!0))})),!n||i||!this.lcpImageUrl||null!==(e=this.options)&&void 0!==e&&e.disableImageLazyLoadWarning||(r=this.lcpImageUrl,console.warn(Dt(-913,`An image with src ${r} is the Largest Contentful Paint (LCP) element but was given a "loading" value of "lazy", which can negatively impact application loading performance. This warning can be addressed by changing the loading value of the LCP image to "eager", or by using the NgOptimizedImage directive's prioritization utilities. For more information about addressing or disabling this warning, see https://angular.io/errors/NG0913`)))}isOversized(e){if(!this.window)return!1;const t=this.window.getComputedStyle(e);let n=parseFloat(t.getPropertyValue("width")),i=parseFloat(t.getPropertyValue("height"));const r=t.getPropertyValue("box-sizing");if("cover"===t.getPropertyValue("object-fit"))return!1;if("border-box"===r){const e=t.getPropertyValue("padding-top"),r=t.getPropertyValue("padding-right"),s=t.getPropertyValue("padding-bottom"),o=t.getPropertyValue("padding-left");n-=parseFloat(r)+parseFloat(o),i-=parseFloat(e)+parseFloat(s)}const s=e.naturalWidth,o=e.naturalHeight,a=this.window.devicePixelRatio*n,l=this.window.devicePixelRatio*i;return s-a>=1200||o-l>=1200}}(ct=Jy).ɵfac=function(e){return new(e||ct)},ct.ɵprov=jr({token:ct,factory:ct.ɵfac,providedIn:"root"});class Xy{constructor(){this.appRef=Ds(_y),this.taskService=Ds(ep),this.pendingRenderTaskId=null}notify(){null===this.pendingRenderTaskId&&(this.pendingRenderTaskId=this.taskService.add(),this.raceTimeoutAndRequestAnimationFrame())}async raceTimeoutAndRequestAnimationFrame(){const e=new Promise((e=>setTimeout(e))),t="function"==typeof zt.requestAnimationFrame?new Promise((e=>requestAnimationFrame((()=>e())))):null;await Promise.race([e,t]),this.tick()}tick(){try{this.appRef.destroyed||this.appRef.tick()}finally{const e=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(e)}}}function ew(e){return"boolean"==typeof e?e:null!=e&&"false"!==e}function tw(e,t=NaN){return!isNaN(parseFloat(e))&&!isNaN(Number(e))?Number(e):t}function nw(e){const t=h(null);try{return e()}finally{h(t)}}(ut=Xy).ɵfac=function(e){return new(e||ut)},ut.ɵprov=jr({token:ut,factory:ut.ɵfac,providedIn:"root"}),new Jr("",{providedIn:"root",factory:()=>Ds(iw)});class iw{}(dt=iw).ɵprov=jr({token:dt,providedIn:"root",factory:()=>new rw});class rw{constructor(){this.queuedEffectCount=0,this.queues=new Map,this.pendingTasks=Ds(ep),this.taskId=null}scheduleEffect(e){if(this.enqueue(e),null===this.taskId){const e=this.taskId=this.pendingTasks.add();queueMicrotask((()=>{this.flush(),this.pendingTasks.remove(e),this.taskId=null}))}}enqueue(e){const t=e.creationZone;this.queues.has(t)||this.queues.set(t,new Set);const n=this.queues.get(t);n.has(e)||(this.queuedEffectCount++,n.add(e))}flush(){for(;this.queuedEffectCount>0;)for(const[e,t]of this.queues)null===e?this.flushQueue(t):e.run((()=>this.flushQueue(t)))}flushQueue(e){for(const t of e)e.delete(t),this.queuedEffectCount--,t.run()}}function sw(e,t){const n=Cn(e),i=t.elementInjector||mo();return new Wd(n).create(i,t.projectableNodes,t.hostElement,t.environmentInjector)}var ow,aw,lw,cw,uw,dw,hw,pw,fw,gw,_w,mw,vw,bw,yw,ww,Ew,Tw,Iw,Cw,Sw,Aw,xw,Dw,Rw,kw,Ow,Nw,Fw,Lw,Pw,Mw,Hw,Bw,zw,qw,Uw,jw,Vw;function Ww(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function $w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ww(Object(n),!0).forEach((function(t){Gw(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ww(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Gw(e,t,n){var i;return(t="symbol"==typeof(i=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let Yw=null;function Qw(){return Yw}class Kw{}class Zw{}(ow=Zw).ɵfac=function(e){return new(e||ow)},ow.ɵprov=jr({token:ow,factory:()=>window.navigation,providedIn:"platform"});const Jw=new Jr("");class Xw{historyGo(e){throw new Error("")}}(aw=Xw).ɵfac=function(e){return new(e||aw)},aw.ɵprov=jr({token:aw,factory:()=>Ds(eE),providedIn:"platform"}),new Jr("");class eE extends Xw{constructor(){super(),this._doc=Ds(Jw),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return Qw().getBaseHref(this._doc)}onPopState(e){const t=Qw().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){const t=Qw().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.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,t,n){this._history.pushState(e,t,n)}replaceState(e,t,n){this._history.replaceState(e,t,n)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}}function tE(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function nE(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length,i=n-("/"===e[n-1]?1:0);return e.slice(0,i)+e.slice(n)}function iE(e){return e&&"?"!==e[0]?"?"+e:e}(lw=eE).ɵfac=function(e){return new(e||lw)},lw.ɵprov=jr({token:lw,factory:()=>new lw,providedIn:"platform"});class rE{historyGo(e){throw new Error("")}}(cw=rE).ɵfac=function(e){return new(e||cw)},cw.ɵprov=jr({token:cw,factory:()=>Ds(oE),providedIn:"root"});const sE=new Jr("");class oE extends rE{constructor(e,t){var n,i,r;super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=null!==(n=null!==(i=null!=t?t:this._platformLocation.getBaseHrefFromDOM())&&void 0!==i?i:null===(r=Ds(Jw).location)||void 0===r?void 0:r.origin)&&void 0!==n?n:""}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 tE(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+iE(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,i){const r=this.prepareExternalUrl(n+iE(i));this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){const r=this.prepareExternalUrl(n+iE(i));this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var t,n;null===(t=(n=this._platformLocation).historyGo)||void 0===t||t.call(n,e)}}(uw=oE).ɵfac=function(e){return new(e||uw)(As(Xw),As(sE,8))},uw.ɵprov=jr({token:uw,factory:uw.ɵfac,providedIn:"root"});class aE extends rE{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=t&&(this._baseHref=t)}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){var t;const n=null!==(t=this._platformLocation.hash)&&void 0!==t?t:"#";return n.length>0?n.substring(1):n}prepareExternalUrl(e){const t=tE(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,i){let r=this.prepareExternalUrl(n+iE(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,i){let r=this.prepareExternalUrl(n+iE(i));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){var t,n;null===(t=(n=this._platformLocation).historyGo)||void 0===t||t.call(n,e)}}(dw=aE).ɵfac=function(e){return new(e||dw)(As(Xw),As(sE,8))},dw.ɵprov=jr({token:dw,factory:dw.ɵfac});class lE{constructor(e){this._subject=new kt,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const t=this._locationStrategy.getBaseHref();this._basePath=function(e){const t=new RegExp("^(https?:)?//").test(e);if(t){const[,t]=e.split(/\/\/[^\/]+/);return t}return e}(nE(uE(t))),this._locationStrategy.onPopState((e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})}))}ngOnDestroy(){var e;null===(e=this._urlChangeSubscription)||void 0===e||e.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+iE(t))}normalize(e){return lE.stripTrailingSlash(function(e,t){if(!e||!t.startsWith(e))return t;const n=t.substring(e.length);if(""===n||["/",";","?","#"].includes(n[0]))return n;return t}(this._basePath,uE(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._locationStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+iE(t)),n)}replaceState(e,t="",n=null){this._locationStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+iE(t)),n)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){var t,n;null===(t=(n=this._locationStrategy).historyGo)||void 0===t||t.call(n,e)}onUrlChange(e){var t;return this._urlChangeListeners.push(e),null!==(t=this._urlChangeSubscription)&&void 0!==t||(this._urlChangeSubscription=this.subscribe((e=>{this._notifyUrlChangeListeners(e.url,e.state)}))),()=>{const t=this._urlChangeListeners.indexOf(e);var n;(this._urlChangeListeners.splice(t,1),0===this._urlChangeListeners.length)&&(null===(n=this._urlChangeSubscription)||void 0===n||n.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach((n=>n(e,t)))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}function cE(){return new lE(As(rE))}function uE(e){return e.replace(/\/index.html$/,"")}(hw=lE).normalizeQueryParams=iE,hw.joinWithSlash=tE,hw.stripTrailingSlash=nE,hw.ɵfac=function(e){return new(e||hw)(As(rE))},hw.ɵprov=jr({token:hw,factory:()=>cE(),providedIn:"root"});const dE={ADP:[void 0,void 0,0],AFN:[void 0,"؋",0],ALL:[void 0,void 0,0],AMD:[void 0,"֏",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"₼"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"৳"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,void 0,2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN¥","¥"],COP:[void 0,"$",2],CRC:[void 0,"₡",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"Kč",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E£"],ESP:[void 0,"₧",0],EUR:["€"],FJD:[void 0,"$"],FKP:[void 0,"£"],GBP:["£"],GEL:[void 0,"₾"],GHS:[void 0,"GH₵"],GIP:[void 0,"£"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["₪"],INR:["₹"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["¥",void 0,0],KHR:[void 0,"៛"],KMF:[void 0,"CF",0],KPW:[void 0,"₩",0],KRW:["₩",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"₸"],LAK:[void 0,"₭",0],LBP:[void 0,"L£",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"₮",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"₦"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["₱"],PKR:[void 0,"Rs",2],PLN:[void 0,"zł"],PYG:[void 0,"₲",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"₽"],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"£"],SLE:[void 0,void 0,2],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"£"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"£",0],THB:[void 0,"฿"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"₺"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"₴"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["₫",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F CFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["¤"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var hE,pE,fE,gE,_E,mE,vE;function bE(e,t){return SE(v_(e)[w_.DateFormat],t)}function yE(e,t){return SE(v_(e)[w_.TimeFormat],t)}function wE(e,t){return SE(v_(e)[w_.DateTimeFormat],t)}function EE(e,t){const n=v_(e),i=n[w_.NumberSymbols][t];if(void 0===i){if(t===mE.CurrencyDecimal)return n[w_.NumberSymbols][mE.Decimal];if(t===mE.CurrencyGroup)return n[w_.NumberSymbols][mE.Group]}return i}function TE(e,t){return v_(e)[w_.NumberFormats][t]}!function(e){e[e.Decimal=0]="Decimal",e[e.Percent=1]="Percent",e[e.Currency=2]="Currency",e[e.Scientific=3]="Scientific"}(hE||(hE={})),function(e){e[e.Zero=0]="Zero",e[e.One=1]="One",e[e.Two=2]="Two",e[e.Few=3]="Few",e[e.Many=4]="Many",e[e.Other=5]="Other"}(pE||(pE={})),function(e){e[e.Format=0]="Format",e[e.Standalone=1]="Standalone"}(fE||(fE={})),function(e){e[e.Narrow=0]="Narrow",e[e.Abbreviated=1]="Abbreviated",e[e.Wide=2]="Wide",e[e.Short=3]="Short"}(gE||(gE={})),function(e){e[e.Short=0]="Short",e[e.Medium=1]="Medium",e[e.Long=2]="Long",e[e.Full=3]="Full"}(_E||(_E={})),function(e){e[e.Decimal=0]="Decimal",e[e.Group=1]="Group",e[e.List=2]="List",e[e.PercentSign=3]="PercentSign",e[e.PlusSign=4]="PlusSign",e[e.MinusSign=5]="MinusSign",e[e.Exponential=6]="Exponential",e[e.SuperscriptingExponent=7]="SuperscriptingExponent",e[e.PerMille=8]="PerMille",e[e[1/0]=9]="Infinity",e[e.NaN=10]="NaN",e[e.TimeSeparator=11]="TimeSeparator",e[e.CurrencyDecimal=12]="CurrencyDecimal",e[e.CurrencyGroup=13]="CurrencyGroup"}(mE||(mE={})),function(e){e[e.Sunday=0]="Sunday",e[e.Monday=1]="Monday",e[e.Tuesday=2]="Tuesday",e[e.Wednesday=3]="Wednesday",e[e.Thursday=4]="Thursday",e[e.Friday=5]="Friday",e[e.Saturday=6]="Saturday"}(vE||(vE={}));const IE=b_;function CE(e){if(!e[w_.ExtraData])throw new Error(`Missing extra locale data for the locale "${e[w_.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function SE(e,t){for(let n=t;n>-1;n--)if(void 0!==e[n])return e[n];throw new Error("Locale data API: locale data undefined")}function AE(e){const[t,n]=e.split(":");return{hours:+t,minutes:+n}}function xE(e,t,n="en"){const i=function(e){return v_(e)[w_.Currencies]}(n)[e]||dE[e]||[],r=i[1];return"narrow"===t&&"string"==typeof r?r:i[0]||e}const DE=2;const RE=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,kE={},OE=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var NE,FE,LE;function PE(e,t,n,i){let r=function(e){if(ZE(e))return e;if("number"==typeof e&&!isNaN(e))return new Date(e);if("string"==typeof e){if(e=e.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(e)){const[t,n=1,i=1]=e.split("-").map((e=>+e));return ME(t,n-1,i)}const t=parseFloat(e);if(!isNaN(e-t))return new Date(t);let n;if(n=e.match(RE))return function(e){const t=new Date(0);let n=0,i=0;const r=e[8]?t.setUTCFullYear:t.setFullYear,s=e[8]?t.setUTCHours:t.setHours;e[9]&&(n=Number(e[9]+e[10]),i=Number(e[9]+e[11]));r.call(t,Number(e[1]),Number(e[2])-1,Number(e[3]));const o=Number(e[4]||0)-n,a=Number(e[5]||0)-i,l=Number(e[6]||0),c=Math.floor(1e3*parseFloat("0."+(e[7]||0)));return s.call(t,o,a,l,c),t}(n)}const t=new Date(e);if(!ZE(t))throw new Error(`Unable to convert "${e}" into a date`);return t}(e);t=HE(n,t)||t;let s,o=[];for(;t;){if(s=OE.exec(t),!s){o.push(t);break}{o=o.concat(s.slice(1));const e=o.pop();if(!e)break;t=e}}let a=r.getTimezoneOffset();i&&(a=KE(i,a),r=function(e,t,n){const i=n?-1:1,r=e.getTimezoneOffset(),s=KE(t,r);return function(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}(e,i*(s-r))}(r,i,!0));let l="";return o.forEach((e=>{const t=function(e){if(QE[e])return QE[e];let t;switch(e){case"G":case"GG":case"GGG":t=UE(LE.Eras,gE.Abbreviated);break;case"GGGG":t=UE(LE.Eras,gE.Wide);break;case"GGGGG":t=UE(LE.Eras,gE.Narrow);break;case"y":t=qE(FE.FullYear,1,0,!1,!0);break;case"yy":t=qE(FE.FullYear,2,0,!0,!0);break;case"yyy":t=qE(FE.FullYear,3,0,!1,!0);break;case"yyyy":t=qE(FE.FullYear,4,0,!1,!0);break;case"Y":t=YE(1);break;case"YY":t=YE(2,!0);break;case"YYY":t=YE(3);break;case"YYYY":t=YE(4);break;case"M":case"L":t=qE(FE.Month,1,1);break;case"MM":case"LL":t=qE(FE.Month,2,1);break;case"MMM":t=UE(LE.Months,gE.Abbreviated);break;case"MMMM":t=UE(LE.Months,gE.Wide);break;case"MMMMM":t=UE(LE.Months,gE.Narrow);break;case"LLL":t=UE(LE.Months,gE.Abbreviated,fE.Standalone);break;case"LLLL":t=UE(LE.Months,gE.Wide,fE.Standalone);break;case"LLLLL":t=UE(LE.Months,gE.Narrow,fE.Standalone);break;case"w":t=GE(1);break;case"ww":t=GE(2);break;case"W":t=GE(1,!0);break;case"d":t=qE(FE.Date,1);break;case"dd":t=qE(FE.Date,2);break;case"c":case"cc":t=qE(FE.Day,1);break;case"ccc":t=UE(LE.Days,gE.Abbreviated,fE.Standalone);break;case"cccc":t=UE(LE.Days,gE.Wide,fE.Standalone);break;case"ccccc":t=UE(LE.Days,gE.Narrow,fE.Standalone);break;case"cccccc":t=UE(LE.Days,gE.Short,fE.Standalone);break;case"E":case"EE":case"EEE":t=UE(LE.Days,gE.Abbreviated);break;case"EEEE":t=UE(LE.Days,gE.Wide);break;case"EEEEE":t=UE(LE.Days,gE.Narrow);break;case"EEEEEE":t=UE(LE.Days,gE.Short);break;case"a":case"aa":case"aaa":t=UE(LE.DayPeriods,gE.Abbreviated);break;case"aaaa":t=UE(LE.DayPeriods,gE.Wide);break;case"aaaaa":t=UE(LE.DayPeriods,gE.Narrow);break;case"b":case"bb":case"bbb":t=UE(LE.DayPeriods,gE.Abbreviated,fE.Standalone,!0);break;case"bbbb":t=UE(LE.DayPeriods,gE.Wide,fE.Standalone,!0);break;case"bbbbb":t=UE(LE.DayPeriods,gE.Narrow,fE.Standalone,!0);break;case"B":case"BB":case"BBB":t=UE(LE.DayPeriods,gE.Abbreviated,fE.Format,!0);break;case"BBBB":t=UE(LE.DayPeriods,gE.Wide,fE.Format,!0);break;case"BBBBB":t=UE(LE.DayPeriods,gE.Narrow,fE.Format,!0);break;case"h":t=qE(FE.Hours,1,-12);break;case"hh":t=qE(FE.Hours,2,-12);break;case"H":t=qE(FE.Hours,1);break;case"HH":t=qE(FE.Hours,2);break;case"m":t=qE(FE.Minutes,1);break;case"mm":t=qE(FE.Minutes,2);break;case"s":t=qE(FE.Seconds,1);break;case"ss":t=qE(FE.Seconds,2);break;case"S":t=qE(FE.FractionalSeconds,1);break;case"SS":t=qE(FE.FractionalSeconds,2);break;case"SSS":t=qE(FE.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":t=jE(NE.Short);break;case"ZZZZZ":t=jE(NE.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":t=jE(NE.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":t=jE(NE.Long);break;default:return null}return QE[e]=t,t}(e);l+=t?t(r,n,a):"''"===e?"'":e.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),l}function ME(e,t,n){const i=new Date(0);return i.setFullYear(e,t,n),i.setHours(0,0,0),i}function HE(e,t){var n;const i=function(e){return v_(e)[w_.LocaleId]}(e);if(null!==(n=kE[i])&&void 0!==n||(kE[i]={}),kE[i][t])return kE[i][t];let r="";switch(t){case"shortDate":r=bE(e,_E.Short);break;case"mediumDate":r=bE(e,_E.Medium);break;case"longDate":r=bE(e,_E.Long);break;case"fullDate":r=bE(e,_E.Full);break;case"shortTime":r=yE(e,_E.Short);break;case"mediumTime":r=yE(e,_E.Medium);break;case"longTime":r=yE(e,_E.Long);break;case"fullTime":r=yE(e,_E.Full);break;case"short":const t=HE(e,"shortTime"),n=HE(e,"shortDate");r=BE(wE(e,_E.Short),[t,n]);break;case"medium":const i=HE(e,"mediumTime"),s=HE(e,"mediumDate");r=BE(wE(e,_E.Medium),[i,s]);break;case"long":const o=HE(e,"longTime"),a=HE(e,"longDate");r=BE(wE(e,_E.Long),[o,a]);break;case"full":const l=HE(e,"fullTime"),c=HE(e,"fullDate");r=BE(wE(e,_E.Full),[l,c])}return r&&(kE[i][t]=r),r}function BE(e,t){return t&&(e=e.replace(/\{([^}]+)}/g,(function(e,n){return null!=t&&n in t?t[n]:e}))),e}function zE(e,t,n="-",i,r){let s="";(e<0||r&&e<=0)&&(r?e=1-e:(e=-e,s=n));let o=String(e);for(;o.length<t;)o="0"+o;return i&&(o=o.slice(o.length-t)),s+o}function qE(e,t,n=0,i=!1,r=!1){return function(s,o){let a=function(e,t){switch(e){case FE.FullYear:return t.getFullYear();case FE.Month:return t.getMonth();case FE.Date:return t.getDate();case FE.Hours:return t.getHours();case FE.Minutes:return t.getMinutes();case FE.Seconds:return t.getSeconds();case FE.FractionalSeconds:return t.getMilliseconds();case FE.Day:return t.getDay();default:throw new Error(`Unknown DateType value "${e}".`)}}(e,s);if((n>0||a>-n)&&(a+=n),e===FE.Hours)0===a&&-12===n&&(a=12);else if(e===FE.FractionalSeconds)return l=t,zE(a,3).substring(0,l);var l;const c=EE(o,mE.MinusSign);return zE(a,t,c,i,r)}}function UE(e,t,n=fE.Format,i=!1){return function(r,s){return function(e,t,n,i,r,s){switch(n){case LE.Months:return function(e,t,n){const i=v_(e),r=SE([i[w_.MonthsFormat],i[w_.MonthsStandalone]],t);return SE(r,n)}(t,r,i)[e.getMonth()];case LE.Days:return function(e,t,n){const i=v_(e),r=SE([i[w_.DaysFormat],i[w_.DaysStandalone]],t);return SE(r,n)}(t,r,i)[e.getDay()];case LE.DayPeriods:const o=e.getHours(),a=e.getMinutes();if(s){const e=function(e){const t=v_(e);return CE(t),(t[w_.ExtraData][2]||[]).map((e=>"string"==typeof e?AE(e):[AE(e[0]),AE(e[1])]))}(t),n=function(e,t,n){const i=v_(e);CE(i);const r=SE([i[w_.ExtraData][0],i[w_.ExtraData][1]],t)||[];return SE(r,n)||[]}(t,r,i),s=e.findIndex((e=>{if(Array.isArray(e)){const[t,n]=e,i=o>=t.hours&&a>=t.minutes,r=o<n.hours||o===n.hours&&a<n.minutes;if(t.hours<n.hours){if(i&&r)return!0}else if(i||r)return!0}else if(e.hours===o&&e.minutes===a)return!0;return!1}));if(-1!==s)return n[s]}return function(e,t,n){const i=v_(e),r=SE([i[w_.DayPeriodsFormat],i[w_.DayPeriodsStandalone]],t);return SE(r,n)}(t,r,i)[o<12?0:1];case LE.Eras:return function(e,t){return SE(v_(e)[w_.Eras],t)}(t,i)[e.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${n}`)}}(r,s,e,t,n,i)}}function jE(e){return function(t,n,i){const r=-1*i,s=EE(n,mE.MinusSign),o=r>0?Math.floor(r/60):Math.ceil(r/60);switch(e){case NE.Short:return(r>=0?"+":"")+zE(o,2,s)+zE(Math.abs(r%60),2,s);case NE.ShortGMT:return"GMT"+(r>=0?"+":"")+zE(o,1,s);case NE.Long:return"GMT"+(r>=0?"+":"")+zE(o,2,s)+":"+zE(Math.abs(r%60),2,s);case NE.Extended:return 0===i?"Z":(r>=0?"+":"")+zE(o,2,s)+":"+zE(Math.abs(r%60),2,s);default:throw new Error(`Unknown zone width "${e}"`)}}}!function(e){e[e.Short=0]="Short",e[e.ShortGMT=1]="ShortGMT",e[e.Long=2]="Long",e[e.Extended=3]="Extended"}(NE||(NE={})),function(e){e[e.FullYear=0]="FullYear",e[e.Month=1]="Month",e[e.Date=2]="Date",e[e.Hours=3]="Hours",e[e.Minutes=4]="Minutes",e[e.Seconds=5]="Seconds",e[e.FractionalSeconds=6]="FractionalSeconds",e[e.Day=7]="Day"}(FE||(FE={})),function(e){e[e.DayPeriods=0]="DayPeriods",e[e.Days=1]="Days",e[e.Months=2]="Months",e[e.Eras=3]="Eras"}(LE||(LE={}));const VE=0,WE=4;function $E(e){const t=e.getDay(),n=0===t?-3:WE-t;return ME(e.getFullYear(),e.getMonth(),e.getDate()+n)}function GE(e,t=!1){return function(n,i){let r;if(t){const e=new Date(n.getFullYear(),n.getMonth(),1).getDay()-1,t=n.getDate();r=1+Math.floor((t+e)/7)}else{const e=$E(n),t=function(e){const t=ME(e,VE,1).getDay();return ME(e,0,1+(t<=WE?WE:WE+7)-t)}(e.getFullYear()),i=e.getTime()-t.getTime();r=1+Math.round(i/6048e5)}return zE(r,e,EE(i,mE.MinusSign))}}function YE(e,t=!1){return function(n,i){return zE($E(n).getFullYear(),e,EE(i,mE.MinusSign),t)}}const QE={};function KE(e,t){e=e.replace(/:/g,"");const n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function ZE(e){return e instanceof Date&&!isNaN(e.valueOf())}const JE=/^(\d+)?\.((\d+)(-(\d+))?)?$/,XE=22,eT=".",tT="0",nT=";",iT=",",rT="#";function sT(e,t,n,i,r,s,o=!1){let a="",l=!1;if(isFinite(e)){let c=function(e){let t,n,i,r,s,o=Math.abs(e)+"",a=0;(n=o.indexOf(eT))>-1&&(o=o.replace(eT,""));(i=o.search(/e/i))>0?(n<0&&(n=i),n+=+o.slice(i+1),o=o.substring(0,i)):n<0&&(n=o.length);for(i=0;o.charAt(i)===tT;i++);if(i===(s=o.length))t=[0],n=1;else{for(s--;o.charAt(s)===tT;)s--;for(n-=i,t=[],r=0;i<=s;i++,r++)t[r]=Number(o.charAt(i))}n>XE&&(t=t.splice(0,XE-1),a=n-1,n=1);return{digits:t,exponent:a,integerLen:n}}(e);o&&(c=function(e){if(0===e.digits[0])return e;const t=e.digits.length-e.integerLen;e.exponent?e.exponent+=2:(0===t?e.digits.push(0,0):1===t&&e.digits.push(0),e.integerLen+=2);return e}(c));let u=t.minInt,d=t.minFrac,h=t.maxFrac;if(s){const e=s.match(JE);if(null===e)throw new Error(`${s} is not a valid digit info`);const t=e[1],n=e[3],i=e[5];null!=t&&(u=lT(t)),null!=n&&(d=lT(n)),null!=i?h=lT(i):null!=n&&d>h&&(h=d)}!function(e,t,n){if(t>n)throw new Error(`The minimum number of digits after fraction (${t}) is higher than the maximum (${n}).`);let i=e.digits,r=i.length-e.integerLen;const s=Math.min(Math.max(t,r),n);let o=s+e.integerLen,a=i[o];if(o>0){i.splice(Math.max(e.integerLen,o));for(let e=o;e<i.length;e++)i[e]=0}else{r=Math.max(0,r),e.integerLen=1,i.length=Math.max(1,o=s+1),i[0]=0;for(let e=1;e<o;e++)i[e]=0}if(a>=5)if(o-1<0){for(let t=0;t>o;t--)i.unshift(0),e.integerLen++;i.unshift(1),e.integerLen++}else i[o-1]++;for(;r<Math.max(0,s);r++)i.push(0);let l=0!==s;const c=t+e.integerLen,u=i.reduceRight((function(e,t,n,i){return t+=e,i[n]=t<10?t:t-10,l&&(0===i[n]&&n>=c?i.pop():l=!1),t>=10?1:0}),0);u&&(i.unshift(u),e.integerLen++)}(c,d,h);let p=c.digits,f=c.integerLen;const g=c.exponent;let _=[];for(l=p.every((e=>!e));f<u;f++)p.unshift(0);for(;f<0;f++)p.unshift(0);f>0?_=p.splice(f,p.length):(_=p,p=[0]);const m=[];for(p.length>=t.lgSize&&m.unshift(p.splice(-t.lgSize,p.length).join(""));p.length>t.gSize;)m.unshift(p.splice(-t.gSize,p.length).join(""));p.length&&m.unshift(p.join("")),a=m.join(EE(n,i)),_.length&&(a+=EE(n,r)+_.join("")),g&&(a+=EE(n,mE.Exponential)+"+"+g)}else a=EE(n,mE.Infinity);return a=e<0&&!l?t.negPre+a+t.negSuf:t.posPre+a+t.posSuf,a}function oT(e,t,n,i,r){const s=aT(TE(t,hE.Currency),EE(t,mE.MinusSign));s.minFrac=function(e){let t;const n=dE[e];return n&&(t=n[2]),"number"==typeof t?t:DE}(i),s.maxFrac=s.minFrac;return sT(e,s,t,mE.CurrencyGroup,mE.CurrencyDecimal,r).replace("¤",n).replace("¤","").trim()}function aT(e,t="-"){const n={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},i=e.split(nT),r=i[0],s=i[1],o=-1!==r.indexOf(eT)?r.split(eT):[r.substring(0,r.lastIndexOf(tT)+1),r.substring(r.lastIndexOf(tT)+1)],a=o[0],l=o[1]||"";n.posPre=a.substring(0,a.indexOf(rT));for(let e=0;e<l.length;e++){const t=l.charAt(e);t===tT?n.minFrac=n.maxFrac=e+1:t===rT?n.maxFrac=e+1:n.posSuf+=t}const c=a.split(iT);if(n.gSize=c[1]?c[1].length:0,n.lgSize=c[2]||c[1]?(c[2]||c[1]).length:0,s){const e=r.length-n.posPre.length-n.posSuf.length,t=s.indexOf(rT);n.negPre=s.substring(0,t).replace(/'/g,""),n.negSuf=s.slice(t+e).replace(/'/g,"")}else n.negPre=t+n.posPre,n.negSuf=n.posSuf;return n}function lT(e){const t=parseInt(e);if(isNaN(t))throw new Error("Invalid integer literal when parsing "+e);return t}class cT{}function uT(e,t,n,i){let r=`=${e}`;if(t.indexOf(r)>-1)return r;if(r=n.getPluralCategory(e,i),t.indexOf(r)>-1)return r;if(t.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${e}"`)}(pw=cT).ɵfac=function(e){return new(e||pw)},pw.ɵprov=jr({token:pw,factory:function(e){let t=null;var n;return e?t=new e:(n=As(Cy),t=new dT(n)),t},providedIn:"root"});class dT extends cT{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(IE(t||this.locale)(e)){case pE.Zero:return"zero";case pE.One:return"one";case pE.Two:return"two";case pE.Few:return"few";case pE.Many:return"many";default:return"other"}}}function hT(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[i,r]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(i.trim()===t)return decodeURIComponent(r)}return null}(fw=dT).ɵfac=function(e){return new(e||fw)(As(Cy))},fw.ɵprov=jr({token:fw,factory:fw.ɵfac});const pT=/\s+/,fT=[];class gT{constructor(e,t){this._ngEl=e,this._renderer=t,this.initialClasses=fT,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(pT):fT}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(pT):e}ngDoCheck(){for(const e of this.initialClasses)this._updateState(e,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const t of e)this._updateState(t,!0);else if(null!=e)for(const t of Object.keys(e))this._updateState(t,Boolean(e[t]));this._applyStateDiff()}_updateState(e,t){const n=this.stateMap.get(e);void 0!==n?(n.enabled!==t&&(n.changed=!0,n.enabled=t),n.touched=!0):this.stateMap.set(e,{enabled:t,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const t=e[0],n=e[1];n.changed?(this._toggleClass(t,n.enabled),n.changed=!1):n.touched||(n.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),n.touched=!1}}_toggleClass(e,t){(e=e.trim()).length>0&&e.split(pT).forEach((e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)}))}}(gw=gT).ɵfac=function(e){return new(e||gw)(Yc(Ar),Yc(gd))},gw.ɵdir=Tn({type:gw,selectors:[["","ngClass",""]],inputs:{klass:[e.InputFlags.None,"class","klass"],ngClass:"ngClass"},standalone:!0});class _T{constructor(e){this._viewContainerRef=e,this.ngComponentOutlet=null,this._inputsUsed=new Map}_needToReCreateNgModuleInstance(e){return void 0!==e.ngComponentOutletNgModule||void 0!==e.ngComponentOutletNgModuleFactory}_needToReCreateComponentInstance(e){return void 0!==e.ngComponentOutlet||void 0!==e.ngComponentOutletContent||void 0!==e.ngComponentOutletInjector||this._needToReCreateNgModuleInstance(e)}ngOnChanges(e){if(this._needToReCreateComponentInstance(e)&&(this._viewContainerRef.clear(),this._inputsUsed.clear(),this._componentRef=void 0,this.ngComponentOutlet)){const n=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;var t;if(this._needToReCreateNgModuleInstance(e))null===(t=this._moduleRef)||void 0===t||t.destroy(),this.ngComponentOutletNgModule?this._moduleRef=Gh(this.ngComponentOutletNgModule,mT(n)):this.ngComponentOutletNgModuleFactory?this._moduleRef=this.ngComponentOutletNgModuleFactory.create(mT(n)):this._moduleRef=void 0;this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:n,ngModuleRef:this._moduleRef,projectableNodes:this.ngComponentOutletContent})}}ngDoCheck(){if(this._componentRef){if(this.ngComponentOutletInputs)for(const e of Object.keys(this.ngComponentOutletInputs))this._inputsUsed.set(e,!0);this._applyInputStateDiff(this._componentRef)}}ngOnDestroy(){var e;null===(e=this._moduleRef)||void 0===e||e.destroy()}_applyInputStateDiff(e){for(const[t,n]of this._inputsUsed)n?(e.setInput(t,this.ngComponentOutletInputs[t]),this._inputsUsed.set(t,!1)):(e.setInput(t,void 0),this._inputsUsed.delete(t))}}function mT(e){return e.get(Wh).injector}(_w=_T).ɵfac=function(e){return new(e||_w)(Yc(Yd))},_w.ɵdir=Tn({type:_w,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[qo]});class vT{constructor(e,t,n,i){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=i}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}}class bT{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}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 t=this._viewContainer;e.forEachOperation(((e,n,i)=>{if(null==e.previousIndex)t.createEmbeddedView(this._template,new vT(e.item,this._ngForOf,-1,-1),null===i?void 0:i);else if(null==i)t.remove(null===n?void 0:n);else if(null!==n){const r=t.get(n);t.move(r,i),yT(r,e)}}));for(let e=0,n=t.length;e<n;e++){const i=t.get(e).context;i.index=e,i.count=n,i.ngForOf=this._ngForOf}e.forEachIdentityChange((e=>{yT(t.get(e.currentIndex),e)}))}static ngTemplateContextGuard(e,t){return!0}}function yT(e,t){e.context.$implicit=t.item}(mw=bT).ɵfac=function(e){return new(e||mw)(Yc(Yd),Yc(nd),Yc(Gy))},mw.ɵdir=Tn({type:mw,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0});class wT{constructor(e,t){this._viewContainer=e,this._context=new ET,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){TT("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){TT("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,t){return!0}}(vw=wT).ɵfac=function(e){return new(e||vw)(Yc(Yd),Yc(nd))},vw.ɵdir=Tn({type:vw,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0});class ET{constructor(){this.$implicit=null,this.ngIf=null}}function TT(e,t){if(!!(t&&!t.createEmbeddedView))throw new Error(`${e} must be a TemplateRef, but received '${Lt(t)}'.`)}class IT{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}class CT{constructor(){this._defaultViews=[],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.push(e)}_matchCase(e){const t=e===this._ngSwitch;return this._lastCasesMatched||(this._lastCasesMatched=t),this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const t of this._defaultViews)t.enforceState(e)}}}(bw=CT).ɵfac=function(e){return new(e||bw)},bw.ɵdir=Tn({type:bw,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0});class ST{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new IT(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}(yw=ST).ɵfac=function(e){return new(e||yw)(Yc(Yd),Yc(nd),Yc(CT,9))},yw.ɵdir=Tn({type:yw,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0});class AT{constructor(e,t,n){n._addDefault(new IT(e,t))}}(ww=AT).ɵfac=function(e){return new(e||ww)(Yc(Yd),Yc(nd),Yc(CT,9))},ww.ɵdir=Tn({type:ww,selectors:[["","ngSwitchDefault",""]],standalone:!0});class xT{constructor(e){this._localization=e,this._caseViews={}}set ngPlural(e){this._updateView(e)}addCase(e,t){this._caseViews[e]=t}_updateView(e){this._clearViews();const t=uT(e,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[t])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(e){e&&(this._activeView=e,this._activeView.create())}}(Ew=xT).ɵfac=function(e){return new(e||Ew)(Yc(cT))},Ew.ɵdir=Tn({type:Ew,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0});class DT{constructor(e,t,n,i){this.value=e;const r=!isNaN(Number(e));i.addCase(r?`=${e}`:e,new IT(n,t))}}(Tw=DT).ɵfac=function(e){return new(e||Tw)(Oa("ngPluralCase"),Yc(nd),Yc(Yd),Yc(xT,1))},Tw.ɵdir=Tn({type:Tw,selectors:[["","ngPluralCase",""]],standalone:!0});class RT{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,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,t){const[n,i]=e.split("."),r=-1===n.indexOf("-")?void 0:lc.DashCase;null!=t?this._renderer.setStyle(this._ngEl.nativeElement,n,i?`${t}${i}`:t,r):this._renderer.removeStyle(this._ngEl.nativeElement,n,r)}_applyChanges(e){e.forEachRemovedItem((e=>this._setStyle(e.key,null))),e.forEachAddedItem((e=>this._setStyle(e.key,e.currentValue))),e.forEachChangedItem((e=>this._setStyle(e.key,e.currentValue)))}}(Iw=RT).ɵfac=function(e){return new(e||Iw)(Yc(Ar),Yc(Qy),Yc(gd))},Iw.ɵdir=Tn({type:Iw,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0});class kT{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){var t;const e=this._viewContainerRef;if(this._viewRef&&e.remove(e.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const n=this._createContextForwardProxy();this._viewRef=e.createEmbeddedView(this.ngTemplateOutlet,n,{injector:null!==(t=this.ngTemplateOutletInjector)&&void 0!==t?t:void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,n)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,t,n),get:(e,t,n)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,n)}})}}(Cw=kT).ɵfac=function(e){return new(e||Cw)(Yc(Yd))},Cw.ɵdir=Tn({type:Cw,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[qo]});function OT(e,t){return new xt(2100,!1)}const NT=new class{createSubscription(e,t){return e.then(t,(e=>{throw e}))}dispose(e){}},FT=new class{createSubscription(e,t){return nw((()=>e.subscribe({next:t,error:e=>{throw e}})))}dispose(e){nw((()=>e.unsubscribe()))}};class LT{constructor(e){this._latestValue=null,this.markForCheckOnValueUpdate=!0,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){if(!this._obj){if(e)try{this.markForCheckOnValueUpdate=!1,this._subscribe(e)}finally{this.markForCheckOnValueUpdate=!0}return this._latestValue}return e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,(t=>this._updateLatestValue(e,t)))}_selectStrategy(e){if(uy(e))return NT;if(dy(e))return FT;throw OT()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){var n;e===this._obj&&(this._latestValue=t,this.markForCheckOnValueUpdate&&(null===(n=this._ref)||void 0===n||n.markForCheck()))}}(Sw=LT).ɵfac=function(e){return new(e||Sw)(Yc(Ly,16))},Sw.ɵpipe=In({name:"async",type:Sw,pure:!1,standalone:!0});class PT{transform(e){if(null==e)return null;if("string"!=typeof e)throw OT();return e.toLowerCase()}}(Aw=PT).ɵfac=function(e){return new(e||Aw)},Aw.ɵpipe=In({name:"lowercase",type:Aw,pure:!0,standalone:!0});const MT=/(?:[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;class HT{transform(e){if(null==e)return null;if("string"!=typeof e)throw OT();return e.replace(MT,(e=>e[0].toUpperCase()+e.slice(1).toLowerCase()))}}(xw=HT).ɵfac=function(e){return new(e||xw)},xw.ɵpipe=In({name:"titlecase",type:xw,pure:!0,standalone:!0});class BT{transform(e){if(null==e)return null;if("string"!=typeof e)throw OT();return e.toUpperCase()}}(Dw=BT).ɵfac=function(e){return new(e||Dw)},Dw.ɵpipe=In({name:"uppercase",type:Dw,pure:!0,standalone:!0});const zT=new Jr(""),qT=new Jr("");class UT{constructor(e,t,n){this.locale=e,this.defaultTimezone=t,this.defaultOptions=n}transform(e,t,n,i){if(null==e||""===e||e!=e)return null;try{var r,s,o,a,l;const c=null!==(r=null!=t?t:null===(s=this.defaultOptions)||void 0===s?void 0:s.dateFormat)&&void 0!==r?r:"mediumDate",u=null!==(o=null!==(a=null!=n?n:null===(l=this.defaultOptions)||void 0===l?void 0:l.timezone)&&void 0!==a?a:this.defaultTimezone)&&void 0!==o?o:void 0;return PE(e,c,i||this.locale,u)}catch(e){throw OT(0,e.message)}}}(Rw=UT).ɵfac=function(e){return new(e||Rw)(Yc(Cy,16),Yc(zT,24),Yc(qT,24))},Rw.ɵpipe=In({name:"date",type:Rw,pure:!0,standalone:!0});const jT=/#/g;class VT{constructor(e){this._localization=e}transform(e,t,n){if(null==e)return"";if("object"!=typeof t||null===t)throw OT();return t[uT(e,Object.keys(t),this._localization,n)].replace(jT,e.toString())}}(kw=VT).ɵfac=function(e){return new(e||kw)(Yc(cT,16))},kw.ɵpipe=In({name:"i18nPlural",type:kw,pure:!0,standalone:!0});class WT{transform(e,t){if(null==e)return"";if("object"!=typeof t||"string"!=typeof e)throw OT();return t.hasOwnProperty(e)?t[e]:t.hasOwnProperty("other")?t.other:""}}(Ow=WT).ɵfac=function(e){return new(e||Ow)},Ow.ɵpipe=In({name:"i18nSelect",type:Ow,pure:!0,standalone:!0});class $T{transform(e){return JSON.stringify(e,null,2)}}(Nw=$T).ɵfac=function(e){return new(e||Nw)},Nw.ɵpipe=In({name:"json",type:Nw,pure:!1,standalone:!0});class GT{constructor(e){this.differs=e,this.keyValues=[],this.compareFn=YT}transform(e,t=YT){var n;if(!e||!(e instanceof Map)&&"object"!=typeof e)return null;null!==(n=this.differ)&&void 0!==n||(this.differ=this.differs.find(e).create());const i=this.differ.diff(e),r=t!==this.compareFn;return i&&(this.keyValues=[],i.forEachItem((e=>{var t,n;this.keyValues.push((t=e.key,n=e.currentValue,{key:t,value:n}))}))),(i||r)&&(this.keyValues.sort(t),this.compareFn=t),this.keyValues}}function YT(e,t){const n=e.key,i=t.key;if(n===i)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(null===n)return 1;if(null===i)return-1;if("string"==typeof n&&"string"==typeof i)return n<i?-1:1;if("number"==typeof n&&"number"==typeof i)return n-i;if("boolean"==typeof n&&"boolean"==typeof i)return n<i?-1:1;const r=String(n),s=String(i);return r==s?0:r<s?-1:1}(Fw=GT).ɵfac=function(e){return new(e||Fw)(Yc(Qy,16))},Fw.ɵpipe=In({name:"keyvalue",type:Fw,pure:!1,standalone:!0});class QT{constructor(e){this._locale=e}transform(e,t,n){if(!JT(e))return null;n||(n=this._locale);try{return function(e,t,n){return sT(e,aT(TE(t,hE.Decimal),EE(t,mE.MinusSign)),t,mE.Group,mE.Decimal,n)}(XT(e),n,t)}catch(e){throw OT(0,e.message)}}}(Lw=QT).ɵfac=function(e){return new(e||Lw)(Yc(Cy,16))},Lw.ɵpipe=In({name:"number",type:Lw,pure:!0,standalone:!0});class KT{constructor(e){this._locale=e}transform(e,t,n){if(!JT(e))return null;n||(n=this._locale);try{return function(e,t,n){return sT(e,aT(TE(t,hE.Percent),EE(t,mE.MinusSign)),t,mE.Group,mE.Decimal,n,!0).replace(new RegExp("%","g"),EE(t,mE.PercentSign))}(XT(e),n,t)}catch(e){throw OT(0,e.message)}}}(Pw=KT).ɵfac=function(e){return new(e||Pw)(Yc(Cy,16))},Pw.ɵpipe=In({name:"percent",type:Pw,pure:!0,standalone:!0});class ZT{constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(e,t=this._defaultCurrencyCode,n="symbol",i,r){if(!JT(e))return null;r||(r=this._locale),"boolean"==typeof n&&(n=n?"symbol":"code");let s=t||this._defaultCurrencyCode;"code"!==n&&(s="symbol"===n||"symbol-narrow"===n?xE(s,"symbol"===n?"wide":"narrow",r):n);try{return oT(XT(e),r,s,t,i)}catch(e){throw OT(0,e.message)}}}function JT(e){return!(null==e||""===e||e!=e)}function XT(e){if("string"==typeof e&&!isNaN(Number(e)-parseFloat(e)))return Number(e);if("number"!=typeof e)throw new Error(`${e} is not a number`);return e}(Mw=ZT).ɵfac=function(e){return new(e||Mw)(Yc(Cy,16),Yc(Sy,16))},Mw.ɵpipe=In({name:"currency",type:Mw,pure:!0,standalone:!0});class eI{transform(e,t,n){if(null==e)return null;if(!this.supports(e))throw OT();return e.slice(t,n)}supports(e){return"string"==typeof e||Array.isArray(e)}}(Hw=eI).ɵfac=function(e){return new(e||Hw)},Hw.ɵpipe=In({name:"slice",type:Hw,pure:!1,standalone:!0});class tI{}(Bw=tI).ɵfac=function(e){return new(e||Bw)},Bw.ɵmod=wn({type:Bw}),Bw.ɵinj=Vr({});const nI="browser";function iI(e){return"server"===e}new iy("17.2.4");(zw=class{}).ɵprov=jr({token:zw,providedIn:"root",factory:()=>Ds(ns)===nI?new rI(Ds(Jw),window):new sI});class rI{constructor(e,t){this.document=e,this.window=t,this.offset=()=>[0,0]}setOffset(e){Array.isArray(e)?this.offset=()=>e:this.offset=e}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(e){this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){const t=function(e,t){const n=e.getElementById(t)||e.getElementsByName(t)[0];if(n)return n;if("function"==typeof e.createTreeWalker&&e.body&&"function"==typeof e.body.attachShadow){const n=e.createTreeWalker(e.body,NodeFilter.SHOW_ELEMENT);let i=n.currentNode;for(;i;){const e=i.shadowRoot;if(e){const n=e.getElementById(t)||e.querySelector(`[name="${t}"]`);if(n)return n}i=n.nextNode()}}return null}(this.document,e);t&&(this.scrollToElement(t),t.focus())}setHistoryScrollRestoration(e){this.window.history.scrollRestoration=e}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,i=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],i-r[1])}}class sI{setOffset(e){}getScrollPosition(){return[0,0]}scrollToPosition(e){}scrollToAnchor(e){}setHistoryScrollRestoration(e){}}class oI{}function aI(e,t){return lI(e)?new URL(e):new URL(e,t.location.href)}function lI(e){return/^https?:\/\//.test(e)}function cI(e){return lI(e)?new URL(e).hostname:e}const uI=e=>e.src,dI=new Jr("",{providedIn:"root",factory:()=>uI});function hI(e,t){return function(t){(function(e){if("string"!=typeof e||""===e.trim())return!1;try{return new URL(e),!0}catch(e){return!1}})(t)||function(e,t){throw new xt(2959,!1)}(),t=function(e){return e.endsWith("/")?e.slice(0,-1):e}(t);const n=[{provide:dI,useValue:n=>{return lI(n.src)&&function(e,t){throw new xt(2959,!1)}(0,n.src),e(t,$w($w({},n),{},{src:(i=n.src,i.startsWith("/")?i.slice(1):i)}));var i}}];return n}}hI((function(e,t){let n="format=auto";t.width&&(n+=`,width=${t.width}`);return`${e}/cdn-cgi/image/${n}/${t.src}`}));hI((function(e,t){let n="f_auto,q_auto";t.width&&(n+=`,w_${t.width}`);return`${e}/image/upload/${n}/${t.src}`}));hI((function(e,t){const{src:n,width:i}=t;let r;if(i){r=[e,`tr:w-${i}`,n]}else r=[e,n];return r.join("/")}));hI((function(e,t){const n=new URL(`${e}/${t.src}`);n.searchParams.set("auto","format"),t.width&&n.searchParams.set("w",t.width.toString());return n.href}));function pI(e,t=!0){return`The NgOptimizedImage directive ${t?`(activated on an <img> element with the \`ngSrc="${e}"\`) `:""}has detected that`}function fI(e){throw new xt(2958,`Unexpected invocation of the ${e} in the prod mode. Please make sure that the prod mode is enabled for production builds.`)}class gI{constructor(){this.images=new Map,this.window=null,this.observer=null,fI("LCP checker");const e=Ds(Jw).defaultView;void 0!==e&&"undefined"!=typeof PerformanceObserver&&(this.window=e,this.observer=this.initPerformanceObserver())}initPerformanceObserver(){const e=new PerformanceObserver((e=>{var t,n;const i=e.getEntries();if(0===i.length)return;const r=null!==(t=null===(n=i[i.length-1].element)||void 0===n?void 0:n.src)&&void 0!==t?t:"";if(r.startsWith("data:")||r.startsWith("blob:"))return;const s=this.images.get(r);s&&(s.priority||s.alreadyWarnedPriority||(s.alreadyWarnedPriority=!0,function(e){const t=pI(e);console.error(Dt(2955,`${t} this image is the Largest Contentful Paint (LCP) element but was not marked "priority". This image should be marked "priority" in order to prioritize its loading. To fix this, add the "priority" attribute.`))}(r)),s.modified&&!s.alreadyWarnedModified&&(s.alreadyWarnedModified=!0,function(e){const t=pI(e);console.warn(Dt(2964,`${t} this image is the Largest Contentful Paint (LCP) element and has had its "ngSrc" attribute modified. This can cause slower loading performance. It is recommended not to modify the "ngSrc" property on any image which could be the LCP element.`))}(r)))}));return e.observe({type:"largest-contentful-paint",buffered:!0}),e}registerImage(e,t,n){if(!this.observer)return;const i={priority:n,modified:!1,alreadyWarnedModified:!1,alreadyWarnedPriority:!1};this.images.set(aI(e,this.window).href,i)}unregisterImage(e){this.observer&&this.images.delete(aI(e,this.window).href)}updateImage(e,t){const n=aI(e,this.window).href,i=this.images.get(n);i&&(i.modified=!0,this.images.set(aI(t,this.window).href,i),this.images.delete(n))}ngOnDestroy(){this.observer&&(this.observer.disconnect(),this.images.clear())}}(qw=gI).ɵfac=function(e){return new(e||qw)},qw.ɵprov=jr({token:qw,factory:qw.ɵfac,providedIn:"root"});const _I=new Set(["localhost","127.0.0.1","0.0.0.0"]),mI=new Jr("");class vI{constructor(){this.document=Ds(Jw),this.preconnectLinks=null,this.alreadySeen=new Set,this.window=null,this.blocklist=new Set(_I),fI("preconnect link checker");const e=this.document.defaultView;void 0!==e&&(this.window=e);const t=Ds(mI,{optional:!0});t&&this.populateBlocklist(t)}populateBlocklist(e){Array.isArray(e)?bI(e,(e=>{this.blocklist.add(cI(e))})):this.blocklist.add(cI(e))}assertPreconnect(e,t){var n;if(!this.window)return;const i=aI(e,this.window);this.blocklist.has(i.hostname)||this.alreadySeen.has(i.origin)||(this.alreadySeen.add(i.origin),null!==(n=this.preconnectLinks)&&void 0!==n||(this.preconnectLinks=this.queryPreconnectLinks()),this.preconnectLinks.has(i.origin)||console.warn(Dt(2956,`${pI(t)} there is no preconnect tag present for this image. Preconnecting to the origin(s) that serve priority images ensures that these images are delivered as soon as possible. To fix this, please add the following element into the <head> of the document:\n  <link rel="preconnect" href="${i.origin}">`)))}queryPreconnectLinks(){const e=new Set,t=Array.from(this.document.querySelectorAll("link[rel=preconnect]"));for(let n of t){const t=aI(n.href,this.window);e.add(t.origin)}return e}ngOnDestroy(){var e;null===(e=this.preconnectLinks)||void 0===e||e.clear(),this.alreadySeen.clear()}}function bI(e,t){for(let n of e)Array.isArray(n)?bI(n,t):t(n)}(Uw=vI).ɵfac=function(e){return new(e||Uw)},Uw.ɵprov=jr({token:Uw,factory:Uw.ɵfac,providedIn:"root"});const yI=new Jr("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});class wI{constructor(){this.preloadedImages=Ds(yI),this.document=Ds(Jw)}createPreloadLinkTag(e,t,n,i){if(this.preloadedImages.has(t))return;this.preloadedImages.add(t);const r=e.createElement("link");e.setAttribute(r,"as","image"),e.setAttribute(r,"href",t),e.setAttribute(r,"rel","preload"),e.setAttribute(r,"fetchpriority","high"),i&&e.setAttribute(r,"imageSizes",i),n&&e.setAttribute(r,"imageSrcset",n),e.appendChild(this.document.head,r)}}(jw=wI).ɵfac=function(e){return new(e||jw)},jw.ɵprov=jr({token:jw,factory:jw.ɵfac,providedIn:"root"});const EI=/^((\s*\d+w\s*(,|$)){1,})$/,TI=[1,2];class II{constructor(){this.imageLoader=Ds(dI),this.config=function(e){let t={};e.breakpoints&&(t.breakpoints=e.breakpoints.sort(((e,t)=>e-t)));return Object.assign({},rs,e,t)}(Ds(ss)),this.renderer=Ds(gd),this.imgElement=Ds(Ar).nativeElement,this.injector=Ds(Va),this.isServer=iI(Ds(ns)),this.preloadLinkCreator=Ds(wI),this.lcpObserver=null,this._renderedSrc=null,this.priority=!1,this.disableOptimizedSrcset=!1,this.fill=!1}ngOnInit(){wd("NgOptimizedImage"),this.placeholder&&this.removePlaceholderOnLoad(this.imgElement),this.setHostAttributes()}setHostAttributes(){this.fill?this.sizes||(this.sizes="100vw"):(this.setHostAttribute("width",this.width.toString()),this.setHostAttribute("height",this.height.toString())),this.setHostAttribute("loading",this.getLoadingBehavior()),this.setHostAttribute("fetchpriority",this.getFetchPriority()),this.setHostAttribute("ng-img","true");const e=this.updateSrcAndSrcset();this.sizes&&this.setHostAttribute("sizes",this.sizes),this.isServer&&this.priority&&this.preloadLinkCreator.createPreloadLinkTag(this.renderer,this.getRewrittenSrc(),e,this.sizes)}ngOnChanges(e){if(e.ngSrc&&!e.ngSrc.isFirstChange()){const e=this._renderedSrc;this.updateSrcAndSrcset(!0);const t=this._renderedSrc;if(null!==this.lcpObserver&&e&&t&&e!==t){this.injector.get(Td).runOutsideAngular((()=>{var n;null===(n=this.lcpObserver)||void 0===n||n.updateImage(e,t)}))}}}callImageLoader(e){let t=e;return this.loaderParams&&(t.loaderParams=this.loaderParams),this.imageLoader(t)}getLoadingBehavior(){return this.priority||void 0===this.loading?this.priority?"eager":"lazy":this.loading}getFetchPriority(){return this.priority?"high":"auto"}getRewrittenSrc(){if(!this._renderedSrc){const e={src:this.ngSrc};this._renderedSrc=this.callImageLoader(e)}return this._renderedSrc}getRewrittenSrcset(){const e=EI.test(this.ngSrcset);return this.ngSrcset.split(",").filter((e=>""!==e)).map((t=>{t=t.trim();const n=e?parseFloat(t):parseFloat(t)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:n})} ${t}`})).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){var e;const{breakpoints:t}=this.config;let n=t;"100vw"===(null===(e=this.sizes)||void 0===e?void 0:e.trim())&&(n=t.filter((e=>e>=640)));return n.map((e=>`${this.callImageLoader({src:this.ngSrc,width:e})} ${e}w`)).join(", ")}updateSrcAndSrcset(e=!1){e&&(this._renderedSrc=null);const t=this.getRewrittenSrc();let n;return this.setHostAttribute("src",t),this.ngSrcset?n=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(n=this.getAutomaticSrcset()),n&&this.setHostAttribute("srcset",n),n}getFixedSrcset(){return TI.map((e=>`${this.callImageLoader({src:this.ngSrc,width:this.width*e})} ${e}x`)).join(", ")}shouldGenerateAutomaticSrcset(){let e=!1;return this.sizes||(e=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==uI&&!e}generatePlaceholder(e){const{placeholderResolution:t}=this.config;return!0===e?`url(${this.callImageLoader({src:this.ngSrc,width:t,isPlaceholder:!0})})`:"string"==typeof e&&e.startsWith("data:")?`url(${e})`:null}shouldBlurPlaceholder(e){return!e||!e.hasOwnProperty("blur")||Boolean(e.blur)}removePlaceholderOnLoad(e){const t=()=>{const e=this.injector.get(Ly);n(),i(),this.placeholder=!1,e.markForCheck()},n=this.renderer.listen(e,"load",t),i=this.renderer.listen(e,"error",t)}ngOnDestroy(){0}setHostAttribute(e,t){this.renderer.setAttribute(this.imgElement,e,t)}}function CI(e){return"string"==typeof e?e:cl(e)}function SI(e){return"string"==typeof e&&e.startsWith("data:")?e:ew(e)}function AI(){let e=!1;try{e="undefined"!=typeof document&&"undefined"!=typeof window}catch(e){}return e&&!DI()}function xI(){return"DEV"==tC.getEnv()&&((AI()||DI())&&window.isLocalEv||RI()&&global.isLOCAL)}function DI(){let e=!1;try{e=window.top.cordova&&window.top.cordova.platformId}catch(e){}return e}function RI(){let e=!1;try{e="undefined"!=typeof document&&"undefined"!=typeof window}catch(e){}return!e}(Vw=II).ɵfac=function(e){return new(e||Vw)},Vw.ɵdir=Tn({type:Vw,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(e,t){2&e&&fg("position",t.fill?"absolute":null)("width",t.fill?"100%":null)("height",t.fill?"100%":null)("inset",t.fill?"0":null)("background-size",t.placeholder?"cover":null)("background-position",t.placeholder?"50% 50%":null)("background-repeat",t.placeholder?"no-repeat":null)("background-image",t.placeholder?t.generatePlaceholder(t.placeholder):null)("filter",t.placeholder&&t.shouldBlurPlaceholder(t.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[e.InputFlags.HasDecoratorInputTransform,"ngSrc","ngSrc",CI],ngSrcset:"ngSrcset",sizes:"sizes",width:[e.InputFlags.HasDecoratorInputTransform,"width","width",tw],height:[e.InputFlags.HasDecoratorInputTransform,"height","height",tw],loading:"loading",priority:[e.InputFlags.HasDecoratorInputTransform,"priority","priority",ew],loaderParams:"loaderParams",disableOptimizedSrcset:[e.InputFlags.HasDecoratorInputTransform,"disableOptimizedSrcset","disableOptimizedSrcset",ew],fill:[e.InputFlags.HasDecoratorInputTransform,"fill","fill",ew],placeholder:[e.InputFlags.HasDecoratorInputTransform,"placeholder","placeholder",SI],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[Vh,qo]}),function(){if(!AI())return!1;let e=window.matchMedia("(display-mode: standalone)").matches||window.navigator.standalone;e||(e=window.Windows&&window.Windows.Devices)}();let kI=function(){let e=!1;try{e="undefined"!=typeof document&&"undefined"!=typeof window,e&&(e=window&&window.JSTESTING)}catch(e){}return e}();function OI(){return kI}function NI(e){return String.prototype.trim?String.prototype.trim.call(e):e.replace(/(^\s*|\s*$)/gm,"")}function FI(e){return"string"==typeof e}function LI(e){if(!FI(e))throw new TypeError("stringGetDigits called on a non-string. The given value is "+typeof e);return NI(e).replace(/[^0-9]/g,"")}function PI(e,t){return"number"==typeof e&&(t&&isNaN(e)||isFinite(e))}function MI(e){if(FI(e)){var t=e.trim(),n=t.replace(/[^0-9.]/g,"");0==t.indexOf("-")&&(n="-"+n);var i=parseFloat(n);return PI(i)?i:null}return PI(e)?e:null}function HI(e,t=1,n="$",i=",",r=".",s=!1){let o=t=Math.abs(t);t=!isNaN(t)&&t>0?Math.pow(10,t):1,i=i||",",r=r||".";let a=e<0?"-":"";e=Math.round(Math.abs(+e||0)*t)/t;let l=parseInt(e.toString(),10)+"",c=l.length,u=c>3?c%3:0,d=a+n+(u?l.substring(0,u)+i:"")+l.substring(u).replace(/(\d{3})(?=\d)/g,"$1"+i);if(s&&o){d+=r+(Math.round(Math.abs(e-l)*t)/t).toString().substring(2).padEnd(o,"0")}else t>1&&Math.round(Math.abs(e-l)>0)&&(d+=r+(Math.round(Math.abs(e-l)*t)/t).toString().substring(2));return d}function BI(e){return Array.isArray(e)}function zI(e,t,n=e){if(!BI(e))throw new TypeError("forEach called on a non-array type value. The given value is "+typeof e);let i;n||(n=e);let r=0,s=e.length;for(;r<s&&(i=t.call(n,e[r],r,e),"boolean"!=typeof i||i);)r++}function qI(e){return"function"==typeof e}function UI(e){return null!==e&&"object"==typeof e&&!BI(e)}function jI(e,t=!0,n=!1){let i=Object.keys(e),r=[];return zI(i,(i=>{n&&null===e[i]||r.push(encodeURIComponent(i)+"="+(t?encodeURIComponent(e[i]):e[i]))})),r.join("&")}function VI(e,t=null,n=!1){let i={};return e.split("&").forEach((e=>{const[r,s]=e.split("=");if(void 0!==s){let e=t;try{e=""===r?s:decodeURIComponent(s)}catch(e){}n?(i.params||(i.params={},i.paramstring=""),i.params[r]=e,i.paramstring&&(i.paramstring+="&"),i.paramstring+=`${r}=${s}`):i[r]=e}else r&&(n?(i.nulls||(i.nulls={}),i.nulls[r]=t):i[r]=t)})),i}function WI(e,t,n=e){var i,r=n||e;if(!UI(e))throw new TypeError("Object.forEach called on non-object. The given value is "+typeof e);if(!qI(t))throw new TypeError("The given iterator is not a function");for(var s in e)if(e.hasOwnProperty(s)&&"boolean"==typeof(i=t.apply(r,[e[s],s]))&&!i)break}function $I(e,t,n=!1){if(!UI(t)&&!BI(t))return t;let i,r=!BI(t),s=0,o=0;if(i=n?GI(e):e,!r){for(BI(i)||(i=[]),o=t.length;s<o;s++)i[s]=void 0===i[s]?t[s]:$I(i[s],t[s]);return t}{UI(i)||(i={});let e=Object.keys(t);for(o=e.length;s<o;s++){let n=e[s];i[n]=$I(i[n]||{},t[n])}}return i}function GI(e){if(!UI(e)&&!BI(e))return e;let t=!BI(e),n=t?{}:[],i=0,r=0;if(t){let t=Object.keys(e);for(r=t.length;i<r;i++){let r=t[i];n[r]=GI(e[r])}}else for(r=e.length;i<r;i++)n[i]=GI(e[i]);return n}function YI(e,t,n=!1){if(!UI(e)||!UI(t))throw new TypeError("First or second argument is not an json object");return $I(e,t,n)}function QI(e,t){return t.includes(e)}function KI(e){return null==e||void 0===e}let ZI={};function JI(e,t){var n;void 0===e&&(e="");var i=function(e,t){return t<(e=parseInt(e,10).toString(16)).length?e.slice(e.length-t):t>e.length?Array(t-e.length+1).join("0")+e:e};return ZI||(ZI={}),ZI.uniqidSeed||(ZI.uniqidSeed=Math.floor(123456789*Math.random())),ZI.uniqidSeed++,n=e,n+=i(parseInt(((new Date).getTime()/1e3).toString(),10),8),n+=i(ZI.uniqidSeed,5),t&&(n+=(10*Math.random()).toFixed(8).toString()),n}const XI=function(){var e;if("undefined"!=typeof window){if(window.requestAnimationFrame)return function(e,t){return window.requestAnimationFrame.apply(window,[e,t])};var t=0;e=function(e){var n=(new Date).getTime(),i=Math.max(0,16-(n-t)),r=window.setTimeout((function(){e(n+i)}),i);return t=n+i,r}}else e=function(e){e()};return e}(),eC=function(){let e=null;return function(){if(RI())return!1;if(null!==e)return e;e=!1;try{var t=function(){window.removeEventListener("test",t)},n=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",t,n)}catch(e){}return e}}(),tC=function(){let e;return{getEnv:()=>e,setEnv:t=>{e=t}}}();class nC{CloseMobKeyboard(e){e.target!=document.activeElement&&(document.activeElement instanceof HTMLInputElement||document.activeElement instanceof HTMLTextAreaElement)&&document.activeElement.blur()}constructor(e,t){this.el=e,this._zone=t}ngOnInit(){this.CloseMobKeyboard=this.CloseMobKeyboard.bind(this),RI()||OI()||document.addEventListener("click",this.CloseMobKeyboard)}ngAfterViewInit(){}ngOnDestroy(){RI()||OI()||document.removeEventListener("click",this.CloseMobKeyboard)}}nC.ɵfac=function(e){return new(e||nC)(Yc(Ar),Yc(Td))},nC.ɵdir=Tn({type:nC,selectors:[["","zing-region",""]]});class iC{constructor(e,t,n){this.el=e,this._zone=t,this._render=n,this.onTap=new kt,this.onClick=new kt,this.onTapHover=new kt,this.onTapOutside=new kt,this.onTapHoverOutside=new kt,this.onTapDoc=new kt,this.onSwipeLeft=new kt,this.zingToggle=!1,this.zingTouch=!1,this.zingSlider=!1,this.zingUrl=!1,this.zingUrlContainer=!1,this.zingUrlFeedback=!1,this.zingNoTouch=!1,this.zingTapDelay=0,this._eventsDestroyCallbacks=[]}_eventsDestroyCallbacksTrigger(){this._eventsDestroyCallbacks.forEach((e=>{e()})),this._eventsDestroyCallbacks=[]}specialEventsDestroy(e){this._eventsDestroyCallbacks.indexOf(e)<0&&this._eventsDestroyCallbacks.push(e)}ngAfterViewInit(){try{RI()&&this._render&&this.el&&this.el.nativeElement&&this.el.nativeElement.removeAttribute&&this._render.removeAttribute(this.el.nativeElement,"zing-touch")}catch(e){}if(RI()||OI())return;if(this.hmEl=this.el.nativeElement,this.onTap.observed){let e=this.onTapOutside.observed;e||this._zone.runOutsideAngular((()=>{this.hmEl.addEventListener("click",(e=>{let t=()=>{this._zone.run((()=>{this.onTap.emit(e)}))};this.zingTapDelay?setTimeout(t,this.zingTapDelay):t()}))})),e&&(()=>{let e=e=>{this._zone.run((()=>{this.onTap.emit(e)})),e.stopPropagation(),document.removeEventListener("click",t),setTimeout((()=>{document.addEventListener("click",t)}))},t=e=>{setTimeout((()=>{this._zone.run((()=>{this.onTapOutside.emit(e)}))})),document.removeEventListener("click",t)};this._zone.runOutsideAngular((()=>{this.hmEl.addEventListener("click",e),setTimeout((()=>{document.addEventListener("click",t)}))})),this.specialEventsDestroy((()=>{this.hmEl&&this.hmEl.removeEventListener("click",e),document.removeEventListener("click",t)}))})()}if(this.onTapHover.observed){var e=!1;let n=this.onTapHoverOutside.observed;n||this._zone.runOutsideAngular((()=>{this.hmEl.addEventListener("click",(t=>{e=!0,this._zone.run((()=>{this.onTapHover.emit(t)}))}))}));let i=t=>{e?e=!1:this._zone.run((()=>{this.onTapHover.emit(t)}))};if(this._zone.runOutsideAngular((()=>{this.hmEl.addEventListener("mouseenter",i)})),n){var t=!1;(()=>{let n=t=>{e=!0,this._zone.run((()=>{this.onTapHover.emit(t)})),t.stopPropagation(),document.removeEventListener("click",r),setTimeout((()=>{document.addEventListener("click",r)}))},r=e=>{t=!0,this._zone.run((()=>{this.onTapHoverOutside.emit(e)})),document.removeEventListener("click",r)},s=e=>{t?t=!1:(this.onTapHoverOutside.emit(e),document.removeEventListener("click",r))};this._zone.runOutsideAngular((()=>{this.hmEl.addEventListener("mouseleave",s),this.hmEl.addEventListener("click",n)})),this.specialEventsDestroy((()=>{this.hmEl&&this.hmEl.removeEventListener("click",n),document.removeEventListener("click",r),this.el&&this.el.nativeElement&&(this.hmEl.removeEventListener("mouseleave",s),this.hmEl.removeEventListener("mouseenter",i))}))})()}}if(!this.onTapDoc.observed||this.onTapHoverOutside.observed||this.onTapOutside.observed||this._zone.runOutsideAngular((()=>{let e=e=>{e.stopPropagation()};this.hmEl.addEventListener("click",e);var t=e=>{setTimeout((()=>{this._zone.run((()=>{this.onTapDoc.emit(e)}))}))};document.addEventListener("click",t),this.specialEventsDestroy((()=>{this.hmEl&&this.hmEl.removeEventListener("click",e),document.removeEventListener("click",t)}))})),this.onClick.observed){const e=e=>{this.onClick.emit(e)};this.hmEl.addEventListener("click",e),this.specialEventsDestroy((()=>{this.hmEl.removeEventListener("click",e)}))}}ngOnDestroy(){this.the_slider&&(this.the_slider=null),this._eventsDestroyCallbacksTrigger(),this.hmEl=!1}}iC.ɵfac=function(e){return new(e||iC)(Yc(Ar),Yc(Td),Yc(gd))},iC.ɵdir=Tn({type:iC,selectors:[["","zing-touch",""]],inputs:{zingToggle:"zingToggle",zingTouch:[e.InputFlags.None,"zing-feedback","zingTouch"],zingSlider:"zingSlider",zingUrl:[e.InputFlags.None,"zing-url","zingUrl"],zingUrlContainer:[e.InputFlags.None,"zing-url-container","zingUrlContainer"],zingUrlFeedback:[e.InputFlags.None,"zing-url-feedback","zingUrlFeedback"],zingNoTouch:[e.InputFlags.None,"zing-no-touch","zingNoTouch"],zingAllow:[e.InputFlags.None,"zing-allow-action","zingAllow"],zingTapDelay:[e.InputFlags.None,"zing-tap-delay","zingTapDelay"]},outputs:{onTap:"onTap",onClick:"onClick",onTapHover:"onTapHover",onTapOutside:"onTapOutside",onTapHoverOutside:"onTapHoverOutside",onTapDoc:"onTapDoc",onSwipeLeft:"onSwipeLeft"}});class rC{static get TouchGestures(){return iC}}rC.ɵfac=function(e){return new(e||rC)},rC.ɵmod=wn({type:rC}),rC.ɵinj=Vr({});const sC=["pageScrollEl"];let oC,aC;class lC{constructor(){this._internalEvents={_isScrollable:new oe(!0),_scrollTo:new re,_onScroll:new le(1),_zenScrollRegionResolve:null,_zenScrollRegionReject:null,_zenScrollRegionGet:null},this._internalEvents._zenScrollRegionGet=new Promise(((e,t)=>{this._internalEvents._zenScrollRegionResolve=e,this._internalEvents._zenScrollRegionReject=t})),this.onScroll=this._internalEvents._onScroll}scrollTo(e){let t={timing:300,offset:0};return Object.assign(t,e),new Promise((e=>{t.onDone=e,this._internalEvents._scrollTo.next(t)}))}canScroll(e){this._internalEvents._isScrollable.next(e)}UseBodyScroll(){this._use_body=!0}get element(){return oC}get overwrite_to_body(){return this._use_body}get scrollable(){return this._internalEvents._isScrollable.getValue()}ngOnDestroy(){this._internalEvents._isScrollable.complete(),this._internalEvents._onScroll.complete(),this._internalEvents._scrollTo.complete()}}lC.ɵfac=function(e){return new(e||lC)},lC.ɵprov=jr({token:lC,factory:lC.ɵfac});class cC{get noScroll(){return this._noscroll}set noScroll(e){this._noscroll=e,this._service.element&&(e?(this._render.addClass(this._service.element,"no-scroll"),this.use_body||this._render.setStyle(this._service.element,"overflow","hidden")):(this._render.removeClass(this._service.element,"no-scroll"),this.use_body||this._render.setStyle(this._service.element,"overflow","")))}set selfoffset(e){this._selfoffset=e}get sefoffset(){return this._selfoffset}_bodyFallbackTarget(e,t=0){let n=e.getBoundingClientRect().top,i=oC.scrollTop,r=0;r=n>=t?n-t:-1*(t-n),oC.scrollTop=i+r}_bodyFallbackPosition(e){oC&&(oC.scrollTop=e)}_onScroll(e){this._zone.run((()=>{let e=oC.scrollTop,t=this.use_body?1/0:oC.scrollHeight-oC.clientHeight;e<0?e=0:e>t&&(e=t),this._service._internalEvents._onScroll.next(e)}))}constructor(e,t,n,i){this.el=e,this._zone=t,this._render=n,this._service=i,this.useZen=!1,this.use_body=!1,this.main_header_offset="",this._selfoffset=!1,this._subscriptions=[],this._onScroll=this._onScroll.bind(this),this._service.overwrite_to_body&&(this.use_body=!0)}ngOnInit(){if(RI())this._render.removeAttribute(this.el.nativeElement,"scroll-region");else{oC=this.el.nativeElement,this.use_body&&this._service.UseBodyScroll();let e=0;this._subscriptions.push(this._service._internalEvents._isScrollable.subscribe((t=>{t?e--:e++,e<0&&(e=0),this._zone.run((()=>{this.noScroll=!(0===e)}))}))),this.use_body?(oC=document.scrollingElement||document.documentElement,"scrollRestoration"in history&&(history.scrollRestoration="manual")):document.querySelector("html").removeAttribute("scroll-region"),(this.use_body?document.querySelector("html"):oC).setAttribute("scroll-region","active"),this._subscriptions.push(this._service._internalEvents._scrollTo.subscribe((e=>{!e.nozen&&aC?this._service._internalEvents._zenScrollRegionGet.then((t=>{let n=oC.getBoundingClientRect(),i=e=>{if(this._sticky_header){aC.getY()-e>25&&(e-=this._sticky_header.offsetHeight)}return e},r=()=>{qI(e.onDone)&&e.onDone()};if((()=>{let e=this._selfoffset?n.top:0;t.setup(null,e)})(),e.target){let t=e.target.offsetTop,n=e.target.offsetParent;for(;n&&n!=oC;)t+=n.offsetTop,n=n.offsetParent;if(e.inview){let n=e.target.offsetHeight,i=window.innerHeight,r=n+t-i,s=oC.scrollTop;if(r>s){let n=r+10;e.timing=300*Math.min(100,n-100*s/500)/100,t=n}else if(t<=s+i)return}t=i(t),t+=e.offset||0,null==aC||aC.toY(t,e.timing,r)}else e.position+=e.offset||0,e.position=i(e.position),null==aC||aC.toY(e.position,e.timing,r)})):(e.target?this._bodyFallbackTarget(e.target,e.offset||0):this._bodyFallbackPosition(e.position),qI(e.onDone)&&e.onDone())})))}if(this._service._internalEvents._zenScrollRegionGet.catch((()=>{})),this.useZen&&!RI()){this._zone.runOutsideAngular((()=>{aC=r.createScroller(oC,300,0),this._service._internalEvents._zenScrollRegionResolve(r)}));let e=!!eC()&&{passive:!0};(this.use_body?window:oC).addEventListener("scroll",this._onScroll,e),this._onScroll(oC.scrollTop)}else this._service._internalEvents._zenScrollRegionReject()}ngOnDestroy(){if(!RI()){let e=this.use_body?window:oC;e&&e.removeEventListener("scroll",this._onScroll);let t=this.use_body?document.querySelector("html"):oC;t&&t.removeAttribute("scroll-region"),this._zone.run((()=>{this.noScroll=!1}))}oC=null,aC=null,this._subscriptions.forEach((e=>{try{e.unsubscribe()}catch(e){}}))}ngAfterViewInit(){if(this.main_header_offset&&!RI())try{this._sticky_header=document.querySelector(this.main_header_offset)}catch(e){}}}cC.ɵfac=function(e){return new(e||cC)(Yc(Ar),Yc(Td),Yc(gd),Yc(lC))},cC.ɵdir=Tn({type:cC,selectors:[["","scroll-region",""]],inputs:{useZen:[e.InputFlags.None,"usezen","useZen"],use_body:[e.InputFlags.None,"scroll-region-viewport","use_body"],main_header_offset:[e.InputFlags.None,"scroll-region-viewport-sticky-header","main_header_offset"],selfoffset:[e.InputFlags.None,"scroll-region-offset","selfoffset"]}});class uC{_scrollNotify(){this._zone.run((()=>{this.scrolled.emit(this._target.offsetTop-this.offset)}))}set scrollToMe(e){RI()||OI()||this._to_me===e||!e||this._scrollExecute(),this._to_me=e}get scrollToMe(){return this._to_me}_scrollExecute(){this._zone.runOutsideAngular((()=>{this._scrollArea?(this.offset&&(this._target.style.scrollMargin=`${this.offset}px`),this._target.scrollIntoView(!0),this._scrollNotify()):this._service.scrollTo({target:this._target,timing:this.zenSpeed,nozen:!this.useZen,offset:this.offset}).then((()=>{this._scrollNotify()}))}))}ngAfterViewInit(){!RI()&&FI(this._scrollParent)&&(this._scrollArea=document.querySelector(this._scrollParent),this._scrollArea&&(this._scrollArea.style.scrollBehavior="smooth"))}constructor(e,t,n){this._zone=t,this._service=n,this.useZen=!0,this.zenSpeed=350,this.offset=0,this.scrolled=new kt,this._to_me=!1,this._target=e.nativeElement}}uC.ɵfac=function(e){return new(e||uC)(Yc(Ar),Yc(Td),Yc(lC))},uC.ɵdir=Tn({type:uC,selectors:[["","scroll-to",""]],inputs:{useZen:[e.InputFlags.None,"usezen","useZen"],zenSpeed:[e.InputFlags.None,"zenspeed","zenSpeed"],offset:[e.InputFlags.None,"scrolloffset","offset"],_scrollParent:[e.InputFlags.None,"scroll-parent","_scrollParent"],scrollToMe:[e.InputFlags.None,"scroll-to","scrollToMe"]},outputs:{scrolled:"scrolled"}});class dC{constructor(e){this._el=e}_lockScroll(e){e.preventDefault()}ngOnInit(){RI()||(this._el.nativeElement.addEventListener("touchstart",this._lockScroll),this._el.nativeElement.addEventListener("touchmove",this._lockScroll))}ngOnDestroy(){if(!RI()&&this._el&&this._el.nativeElement){const e=this._el.nativeElement;e.removeEventListener("touchstart",this._lockScroll),e.removeEventListener("touchmove",this._lockScroll)}}}dC.ɵfac=function(e){return new(e||dC)(Yc(Ar))},dC.ɵdir=Tn({type:dC,selectors:[["","prevent-body-scroll",""]]});class hC{constructor(e){this._service=e,this.offset=0,this.btthr=50,this.disabled=!1,this._watchers=[],this.onView=new kt}ngOnInit(){!RI()&&OI()}ngAfterViewInit(){let e=0,t={idx:null,pos:null};this._watchers.push(this._service.onScroll.subscribe((n=>{if(this.disabled)return;let i=window.innerHeight;this.pages.forEach(((r,s)=>{if(!r||!r.nativeElement)return!0;let o=r.nativeElement.getBoundingClientRect(),a=o.top+(this.offset||0),l=o.bottom+(this.offset||0)-(this.btthr||0);if(n>=e)t=null,a<=0&&l>0&&this.onView.emit(s);else if(l>0&&l<=i){if(null==t)t={idx:s,pos:a};else{if(s!==t.idx&&a>=t.pos)return;t={idx:s,pos:a}}this.onView.emit(s)}else t&&t.idx==s&&(t={idx:s,pos:a})})),e=n})))}ngOnDestroy(){RI()||OI()||this._watchers.length>0&&this._watchers.forEach((e=>{e.unsubscribe()}))}}hC.ɵfac=function(e){return new(e||hC)(Yc(lC))},hC.ɵdir=Tn({type:hC,selectors:[["","page-scrolling-container",""]],contentQueries:function(e,t,n){if(1&e&&Jm(n,sC,5),2&e){let e;ev(e=tv())&&(t.pages=e)}},inputs:{offset:[e.InputFlags.None,"scrolloffset","offset"],btthr:[e.InputFlags.None,"bottom-threshold","btthr"],disabled:[e.InputFlags.None,"pg-sc-container-disabled","disabled"]},outputs:{onView:"onView"}});class pC{}var fC,gC,_C,mC,vC,bC,yC,wC,EC,TC,IC;function CC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function SC(e,t,n){var i;return(t="symbol"==typeof(i=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}pC.ɵfac=function(e){return new(e||pC)},pC.ɵmod=wn({type:pC}),pC.ɵinj=Vr({imports:[tI]});class AC{}class xC{}class DC{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?"string"==typeof e?this.lazyInit=()=>{this.headers=new Map,e.split("\n").forEach((e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),i=n.toLowerCase(),r=e.slice(t+1).trim();this.maybeSetNormalizedName(n,i),this.headers.has(i)?this.headers.get(i).push(r):this.headers.set(i,[r])}}))}:"undefined"!=typeof Headers&&e instanceof Headers?(this.headers=new Map,e.forEach(((e,t)=>{this.setHeaderEntries(t,e)}))):this.lazyInit=()=>{this.headers=new Map,Object.entries(e).forEach((([e,t])=>{this.setHeaderEntries(e,t)}))}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof DC?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((e=>this.applyUpdate(e))),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach((t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))}))}clone(e){const t=new DC;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof DC?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const i=("a"===e.op?this.headers.get(t):void 0)||[];i.push(...n),this.headers.set(t,i);break;case"d":const r=e.value;if(r){let e=this.headers.get(t);if(!e)return;e=e.filter((e=>-1===r.indexOf(e))),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}setHeaderEntries(e,t){const n=(Array.isArray(t)?t:[t]).map((e=>e.toString())),i=e.toLowerCase();this.headers.set(i,n),this.maybeSetNormalizedName(e,i)}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach((t=>e(this.normalizedNames.get(t),this.headers.get(t))))}}class RC{encodeKey(e){return NC(e)}encodeValue(e){return NC(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}const kC=/%(\d[a-f0-9])/gi,OC={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function NC(e){return encodeURIComponent(e).replace(kC,((e,t)=>{var n;return null!==(n=OC[t])&&void 0!==n?n:e}))}function FC(e){return`${e}`}class LC{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new RC,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;e.length>0&&e.replace(/^\?/,"").split("&").forEach((e=>{const i=e.indexOf("="),[r,s]=-1==i?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,i)),t.decodeValue(e.slice(i+1))],o=n.get(r)||[];o.push(s),n.set(r,o)}));return n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach((t=>{const n=e.fromObject[t],i=Array.isArray(n)?n.map(FC):[FC(n)];this.map.set(t,i)}))):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}appendAll(e){const t=[];return Object.keys(e).forEach((n=>{const i=e[n];Array.isArray(i)?i.forEach((e=>{t.push({param:n,value:e,op:"a"})})):t.push({param:n,value:i,op:"a"})})),this.clone(t)}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map((e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map((e=>t+"="+this.encoder.encodeValue(e))).join("&")})).filter((e=>""!==e)).join("&")}clone(e){const t=new LC({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat(e),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((e=>this.map.set(e,this.cloneFrom.map.get(e)))),this.updates.forEach((e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(FC(e.value)),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(FC(e.value));-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}})),this.cloneFrom=this.updates=null)}}class PC{constructor(){this.map=new Map}set(e,t){return this.map.set(e,t),this}get(e){return this.map.has(e)||this.map.set(e,e.defaultValue()),this.map.get(e)}delete(e){return this.map.delete(e),this}has(e){return this.map.has(e)}keys(){return this.map.keys()}}function MC(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function HC(e){return"undefined"!=typeof Blob&&e instanceof Blob}function BC(e){return"undefined"!=typeof FormData&&e instanceof FormData}class zC{constructor(e,t,n,i){var r,s;let o;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||i?(this.body=void 0!==n?n:null,o=i):o=n,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.context&&(this.context=o.context),o.params&&(this.params=o.params),this.transferCache=o.transferCache),null!==(r=this.headers)&&void 0!==r||(this.headers=new DC),null!==(s=this.context)&&void 0!==s||(this.context=new PC),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?"),i=-1===n?"?":n<t.length-1?"&":"";this.urlWithParams=t+i+e}}else this.params=new LC,this.urlWithParams=t}serializeBody(){return null===this.body?null:MC(this.body)||HC(this.body)||BC(this.body)||(e=this.body,"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams)||"string"==typeof this.body?this.body:this.body instanceof LC?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString();var e}detectContentTypeHeader(){return null===this.body||BC(this.body)?null:HC(this.body)?this.body.type||null:MC(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof LC?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||"boolean"==typeof this.body?"application/json":null}clone(e={}){var t;const n=e.method||this.method,i=e.url||this.url,r=e.responseType||this.responseType,s=void 0!==e.body?e.body:this.body,o=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,a=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let l=e.headers||this.headers,c=e.params||this.params;const u=null!==(t=e.context)&&void 0!==t?t:this.context;return void 0!==e.setHeaders&&(l=Object.keys(e.setHeaders).reduce(((t,n)=>t.set(n,e.setHeaders[n])),l)),e.setParams&&(c=Object.keys(e.setParams).reduce(((t,n)=>t.set(n,e.setParams[n])),c)),new zC(n,i,s,{params:c,headers:l,context:u,reportProgress:a,responseType:r,withCredentials:o})}}var qC,UC;!function(e){e[e.Sent=0]="Sent",e[e.UploadProgress=1]="UploadProgress",e[e.ResponseHeader=2]="ResponseHeader",e[e.DownloadProgress=3]="DownloadProgress",e[e.Response=4]="Response",e[e.User=5]="User"}(qC||(qC={}));class jC{constructor(e,t=UC.Ok,n="OK"){this.headers=e.headers||new DC,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class VC extends jC{constructor(e={}){super(e),this.type=qC.ResponseHeader}clone(e={}){return new VC({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class WC extends jC{constructor(e={}){super(e),this.type=qC.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new WC({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}class $C extends jC{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.status>=200&&this.status<300?this.message=`Http failure during parsing for ${e.url||"(unknown url)"}`:this.message=`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function GC(e,t){return{body:t,headers:e.headers,context:e.context,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials,transferCache:e.transferCache}}!function(e){e[e.Continue=100]="Continue",e[e.SwitchingProtocols=101]="SwitchingProtocols",e[e.Processing=102]="Processing",e[e.EarlyHints=103]="EarlyHints",e[e.Ok=200]="Ok",e[e.Created=201]="Created",e[e.Accepted=202]="Accepted",e[e.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",e[e.NoContent=204]="NoContent",e[e.ResetContent=205]="ResetContent",e[e.PartialContent=206]="PartialContent",e[e.MultiStatus=207]="MultiStatus",e[e.AlreadyReported=208]="AlreadyReported",e[e.ImUsed=226]="ImUsed",e[e.MultipleChoices=300]="MultipleChoices",e[e.MovedPermanently=301]="MovedPermanently",e[e.Found=302]="Found",e[e.SeeOther=303]="SeeOther",e[e.NotModified=304]="NotModified",e[e.UseProxy=305]="UseProxy",e[e.Unused=306]="Unused",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.PaymentRequired=402]="PaymentRequired",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.MethodNotAllowed=405]="MethodNotAllowed",e[e.NotAcceptable=406]="NotAcceptable",e[e.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",e[e.RequestTimeout=408]="RequestTimeout",e[e.Conflict=409]="Conflict",e[e.Gone=410]="Gone",e[e.LengthRequired=411]="LengthRequired",e[e.PreconditionFailed=412]="PreconditionFailed",e[e.PayloadTooLarge=413]="PayloadTooLarge",e[e.UriTooLong=414]="UriTooLong",e[e.UnsupportedMediaType=415]="UnsupportedMediaType",e[e.RangeNotSatisfiable=416]="RangeNotSatisfiable",e[e.ExpectationFailed=417]="ExpectationFailed",e[e.ImATeapot=418]="ImATeapot",e[e.MisdirectedRequest=421]="MisdirectedRequest",e[e.UnprocessableEntity=422]="UnprocessableEntity",e[e.Locked=423]="Locked",e[e.FailedDependency=424]="FailedDependency",e[e.TooEarly=425]="TooEarly",e[e.UpgradeRequired=426]="UpgradeRequired",e[e.PreconditionRequired=428]="PreconditionRequired",e[e.TooManyRequests=429]="TooManyRequests",e[e.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",e[e.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",e[e.InternalServerError=500]="InternalServerError",e[e.NotImplemented=501]="NotImplemented",e[e.BadGateway=502]="BadGateway",e[e.ServiceUnavailable=503]="ServiceUnavailable",e[e.GatewayTimeout=504]="GatewayTimeout",e[e.HttpVersionNotSupported=505]="HttpVersionNotSupported",e[e.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",e[e.InsufficientStorage=507]="InsufficientStorage",e[e.LoopDetected=508]="LoopDetected",e[e.NotExtended=510]="NotExtended",e[e.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired"}(UC||(UC={}));class YC{constructor(e){this.handler=e}request(e,t,n={}){let i;if(e instanceof zC)i=e;else{let r,s;r=n.headers instanceof DC?n.headers:new DC(n.headers),n.params&&(s=n.params instanceof LC?n.params:new LC({fromObject:n.params})),i=new zC(e,t,void 0!==n.body?n.body:null,{headers:r,context:n.context,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials,transferCache:n.transferCache})}const r=Le(i).pipe((s=e=>this.handler.handle(e),R(o)?Be(s,o,1):Be(s,1)));var s,o;if(e instanceof zC||"events"===n.observe)return r;const a=r.pipe(vt((e=>e instanceof WC)));switch(n.observe||"body"){case"body":switch(i.responseType){case"arraybuffer":return a.pipe(Pe((e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return a.pipe(Pe((e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return a.pipe(Pe((e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));default:return a.pipe(Pe((e=>e.body)))}case"response":return a;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new LC).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,GC(n,t))}post(e,t,n={}){return this.request("POST",e,GC(n,t))}put(e,t,n={}){return this.request("PUT",e,GC(n,t))}}(fC=YC).ɵfac=function(e){return new(e||fC)(As(AC))},fC.ɵprov=jr({token:fC,factory:fC.ɵfac});const QC=/^\)\]\}',?\n/,KC="X-Request-URL";function ZC(e){if(e.url)return e.url;const t=KC.toLocaleLowerCase();return e.headers.get(t)}class JC{constructor(){var e,t;this.fetchImpl=null!==(e=null===(t=Ds(XC,{optional:!0}))||void 0===t?void 0:t.fetch)&&void 0!==e?e:fetch.bind(globalThis),this.ngZone=Ds(Td)}handle(e){return new J((t=>{const n=new AbortController;return this.doRequest(e,n.signal,t).then(eS,(e=>t.error(new $C({error:e})))),()=>n.abort()}))}async doRequest(e,t,n){var i;const r=this.createRequestInit(e);let s;try{const i=this.fetchImpl(e.urlWithParams,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?CC(Object(n),!0).forEach((function(t){SC(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CC(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({signal:t},r));i.then(eS,eS),n.next({type:qC.Sent}),s=await i}catch(t){var o;return void n.error(new $C({error:t,status:null!==(o=t.status)&&void 0!==o?o:0,statusText:t.statusText,url:e.urlWithParams,headers:t.headers}))}const a=new DC(s.headers),l=s.statusText,c=null!==(i=ZC(s))&&void 0!==i?i:e.urlWithParams;let u=s.status,d=null;if(e.reportProgress&&n.next(new VC({headers:a,status:u,statusText:l,url:c})),s.body){const t=s.headers.get("content-length"),i=[],r=s.body.getReader();let o,a,l=0;const c="undefined"!=typeof Zone&&Zone.current;await this.ngZone.runOutsideAngular((async()=>{for(;;){const{done:d,value:h}=await r.read();if(d)break;if(i.push(h),l+=h.length,e.reportProgress){var s,u;a="text"===e.responseType?(null!==(s=a)&&void 0!==s?s:"")+(null!==(u=o)&&void 0!==u?u:o=new TextDecoder).decode(h,{stream:!0}):void 0;const i=()=>n.next({type:qC.DownloadProgress,total:t?+t:void 0,loaded:l,partialText:a});c?c.run(i):i()}}}));const u=this.concatChunks(i,l);try{var h;const t=null!==(h=s.headers.get("Content-Type"))&&void 0!==h?h:"";d=this.parseBody(e,u,t)}catch(t){var p;return void n.error(new $C({error:t,headers:new DC(s.headers),status:s.status,statusText:s.statusText,url:null!==(p=ZC(s))&&void 0!==p?p:e.urlWithParams}))}}0===u&&(u=d?UC.Ok:0);u>=200&&u<300?(n.next(new WC({body:d,headers:a,status:u,statusText:l,url:c})),n.complete()):n.error(new $C({error:d,headers:a,status:u,statusText:l,url:c}))}parseBody(e,t,n){switch(e.responseType){case"json":const e=(new TextDecoder).decode(t).replace(QC,"");return""===e?null:JSON.parse(e);case"text":return(new TextDecoder).decode(t);case"blob":return new Blob([t],{type:n});case"arraybuffer":return t.buffer}}createRequestInit(e){var t;const n={},i=e.withCredentials?"include":void 0;if(e.headers.forEach(((e,t)=>n[e]=t.join(","))),null!==(t=n["Accept"])&&void 0!==t||(n.Accept="application/json, text/plain, */*"),!n["Content-Type"]){const t=e.detectContentTypeHeader();null!==t&&(n["Content-Type"]=t)}return{body:e.serializeBody(),method:e.method,headers:n,credentials:i}}concatChunks(e,t){const n=new Uint8Array(t);let i=0;for(const t of e)n.set(t,i),i+=t.length;return n}}(gC=JC).ɵfac=function(e){return new(e||gC)},gC.ɵprov=jr({token:gC,factory:gC.ɵfac});class XC{}function eS(){}function tS(e,t){return t(e)}function nS(e,t){return(n,i)=>t.intercept(n,{handle:t=>e(t,i)})}const iS=new Jr(""),rS=new Jr(""),sS=new Jr(""),oS=new Jr("");function aS(){let e=null;return(t,n)=>{if(null===e){var i;const t=null!==(i=Ds(iS,{optional:!0}))&&void 0!==i?i:[];e=t.reduceRight(nS,tS)}const r=Ds(ep),s=r.add();return e(t,n).pipe(Tt((()=>r.remove(s))))}}class lS extends AC{constructor(e,t){super(),this.backend=e,this.injector=t,this.chain=null,this.pendingTasks=Ds(ep);const n=Ds(oS,{optional:!0});this.backend=null!=n?n:e}handle(e){if(null===this.chain){const e=Array.from(new Set([...this.injector.get(rS),...this.injector.get(sS,[])]));this.chain=e.reduceRight(((e,t)=>function(e,t,n){return(i,r)=>Io(n,(()=>t(i,(t=>e(t,r)))))}(e,t,this.injector)),tS)}const t=this.pendingTasks.add();return this.chain(e,(e=>this.backend.handle(e))).pipe(Tt((()=>this.pendingTasks.remove(t))))}}(_C=lS).ɵfac=function(e){return new(e||_C)(As(xC),As(vo))},_C.ɵprov=jr({token:_C,factory:_C.ɵfac});let cS,uS=0;class dS{}function hS(){return"object"==typeof window?window:{}}class pS{constructor(e,t){this.callbackMap=e,this.document=t,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+uS++}handle(e){if("JSONP"!==e.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==e.responseType)throw new Error("JSONP requests must use Json response type.");if(e.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new J((t=>{const n=this.nextCallback(),i=e.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${n}$1`),r=this.document.createElement("script");r.src=i;let s=null,o=!1;this.callbackMap[n]=e=>{delete this.callbackMap[n],s=e,o=!0};const a=()=>{r.parentNode&&r.parentNode.removeChild(r),delete this.callbackMap[n]};return r.addEventListener("load",(e=>{this.resolvedPromise.then((()=>{a(),o?(t.next(new WC({body:s,status:UC.Ok,statusText:"OK",url:i})),t.complete()):t.error(new $C({url:i,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))}))})),r.addEventListener("error",(e=>{a(),t.error(new $C({error:e,status:0,statusText:"JSONP Error",url:i}))})),this.document.body.appendChild(r),t.next({type:qC.Sent}),()=>{o||this.removeListeners(r),a()}}))}removeListeners(e){var t;null!==(t=cS)&&void 0!==t||(cS=this.document.implementation.createHTMLDocument()),cS.adoptNode(e)}}function fS(e,t){return"JSONP"===e.method?Ds(pS).handle(e):t(e)}(mC=pS).ɵfac=function(e){return new(e||mC)(As(dS),As(Jw))},mC.ɵprov=jr({token:mC,factory:mC.ɵfac});class gS{constructor(e){this.injector=e}intercept(e,t){return Io(this.injector,(()=>fS(e,(e=>t.handle(e)))))}}(vC=gS).ɵfac=function(e){return new(e||vC)(As(vo))},vC.ɵprov=jr({token:vC,factory:vC.ɵfac});const _S=/^\)\]\}',?\n/;class mS{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new xt(-2800,!1);const t=this.xhrFactory;return(t.ɵloadImpl?Fe(t.ɵloadImpl()):Le(null)).pipe((n=()=>new J((n=>{const i=t.build();if(i.open(e.method,e.urlWithParams),e.withCredentials&&(i.withCredentials=!0),e.headers.forEach(((e,t)=>i.setRequestHeader(e,t.join(",")))),e.headers.has("Accept")||i.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&i.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();i.responseType="json"!==t?t:"text"}const r=e.serializeBody();let s=null;const o=()=>{if(null!==s)return s;const t=i.statusText||"OK",n=new DC(i.getAllResponseHeaders()),r=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(i)||e.url;return s=new VC({headers:n,status:i.status,statusText:t,url:r}),s},a=()=>{let{headers:t,status:r,statusText:s,url:a}=o(),l=null;r!==UC.NoContent&&(l=void 0===i.response?i.responseText:i.response),0===r&&(r=l?UC.Ok:0);let c=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof l){const e=l;l=l.replace(_S,"");try{l=""!==l?JSON.parse(l):null}catch(t){l=e,c&&(c=!1,l={error:t,text:l})}}c?(n.next(new WC({body:l,headers:t,status:r,statusText:s,url:a||void 0})),n.complete()):n.error(new $C({error:l,headers:t,status:r,statusText:s,url:a||void 0}))},l=e=>{const{url:t}=o(),r=new $C({error:e,status:i.status||0,statusText:i.statusText||"Unknown Error",url:t||void 0});n.error(r)};let c=!1;const u=t=>{c||(n.next(o()),c=!0);let r={type:qC.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(r.total=t.total),"text"===e.responseType&&i.responseText&&(r.partialText=i.responseText),n.next(r)},d=e=>{let t={type:qC.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return i.addEventListener("load",a),i.addEventListener("error",l),i.addEventListener("timeout",l),i.addEventListener("abort",l),e.reportProgress&&(i.addEventListener("progress",u),null!==r&&i.upload&&i.upload.addEventListener("progress",d)),i.send(r),n.next({type:qC.Sent}),()=>{i.removeEventListener("error",l),i.removeEventListener("abort",l),i.removeEventListener("load",a),i.removeEventListener("timeout",l),e.reportProgress&&(i.removeEventListener("progress",u),null!==r&&i.upload&&i.upload.removeEventListener("progress",d)),i.readyState!==i.DONE&&i.abort()}})),ee((function(e,t){var r=null,s=0,o=!1,a=function(){return o&&!r&&t.complete()};e.subscribe(te(t,(function(e){null==r||r.unsubscribe();var o=0,l=s++;Ae(n(e,l)).subscribe(r=te(t,(function(n){return t.next(i?i(e,n,l,o++):n)}),(function(){r=null,a()})))}),(function(){o=!0,a()})))}))));var n,i}}(bC=mS).ɵfac=function(e){return new(e||bC)(As(oI))},bC.ɵprov=jr({token:bC,factory:bC.ɵfac});const vS=new Jr(""),bS="XSRF-TOKEN",yS=new Jr("",{providedIn:"root",factory:()=>bS}),wS="X-XSRF-TOKEN",ES=new Jr("",{providedIn:"root",factory:()=>wS});class TS{}class IS{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,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=hT(e,this.cookieName),this.lastCookieString=e),this.lastToken}}function CS(e,t){const n=e.url.toLowerCase();if(!Ds(vS)||"GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t(e);const i=Ds(TS).getToken(),r=Ds(ES);return null==i||e.headers.has(r)||(e=e.clone({headers:e.headers.set(r,i)})),t(e)}(yC=IS).ɵfac=function(e){return new(e||yC)(As(Jw),As(ns),As(yS))},yC.ɵprov=jr({token:yC,factory:yC.ɵfac});class SS{constructor(e){this.injector=e}intercept(e,t){return Io(this.injector,(()=>CS(e,(e=>t.handle(e)))))}}var AS;function xS(e,t){return{"ɵkind":e,"ɵproviders":t}}function DS(...e){const t=[YC,mS,lS,{provide:AC,useExisting:lS},{provide:xC,useExisting:mS},{provide:rS,useValue:CS,multi:!0},{provide:vS,useValue:!0},{provide:TS,useClass:IS}];for(const n of e)t.push(...n.ɵproviders);return function(e){return{"ɵproviders":e}}(t)}(wC=SS).ɵfac=function(e){return new(e||wC)(As(vo))},wC.ɵprov=jr({token:wC,factory:wC.ɵfac}),function(e){e[e.Interceptors=0]="Interceptors",e[e.LegacyInterceptors=1]="LegacyInterceptors",e[e.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",e[e.NoXsrfProtection=3]="NoXsrfProtection",e[e.JsonpSupport=4]="JsonpSupport",e[e.RequestsMadeViaParent=5]="RequestsMadeViaParent",e[e.Fetch=6]="Fetch"}(AS||(AS={}));const RS=new Jr("");function kS(){return xS(AS.LegacyInterceptors,[{provide:RS,useFactory:aS},{provide:rS,useExisting:RS,multi:!0}])}function OS({cookieName:e,headerName:t}){const n=[];return void 0!==e&&n.push({provide:yS,useValue:e}),void 0!==t&&n.push({provide:ES,useValue:t}),xS(AS.CustomXsrfConfiguration,n)}function NS(){return xS(AS.JsonpSupport,[pS,{provide:dS,useFactory:hS},{provide:rS,useValue:fS,multi:!0}])}class FS{static disable(){return{ngModule:FS,providers:[xS(AS.NoXsrfProtection,[{provide:vS,useValue:!1}]).ɵproviders]}}static withOptions(e={}){return{ngModule:FS,providers:OS(e).ɵproviders}}}(EC=FS).ɵfac=function(e){return new(e||EC)},EC.ɵmod=wn({type:EC}),EC.ɵinj=Vr({providers:[SS,{provide:iS,useExisting:SS,multi:!0},{provide:TS,useClass:IS},OS({cookieName:bS,headerName:wS}).ɵproviders,{provide:vS,useValue:!0}]});class LS{}(TC=LS).ɵfac=function(e){return new(e||TC)},TC.ɵmod=wn({type:TC}),TC.ɵinj=Vr({providers:[DS(kS())]});class PS{}var MS,HS,BS,zS,qS,US,jS,VS,WS,$S,GS,YS,QS,KS;function ZS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function JS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ZS(Object(n),!0).forEach((function(t){XS(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZS(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function XS(e,t,n){var i;return(t="symbol"==typeof(i=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(IC=PS).ɵfac=function(e){return new(e||IC)},IC.ɵmod=wn({type:IC}),IC.ɵinj=Vr({providers:[NS().ɵproviders]}),new Jr("");class eA extends Kw{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class tA extends eA{static makeCurrent(){var e,t;e=new tA,null!==(t=Yw)&&void 0!==t||(Yw=e)}onAndCancel(e,t,n){return e.addEventListener(t,n),()=>{e.removeEventListener(t,n)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){e.parentNode&&e.parentNode.removeChild(e)}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getBaseHref(e){const t=(nA=nA||document.querySelector("base"),nA?nA.getAttribute("href"):null);return null==t?null:new URL(t,document.baseURI).pathname}resetBaseElement(){nA=null}getUserAgent(){return window.navigator.userAgent}getCookie(e){return hT(document.cookie,e)}}let nA=null;class iA{build(){return new XMLHttpRequest}}(MS=iA).ɵfac=function(e){return new(e||MS)},MS.ɵprov=jr({token:MS,factory:MS.ɵfac});const rA=new Jr("");class sA{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach((e=>{e.manager=this})),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find((t=>t.supports(e))),!t)throw new xt(5101,!1);return this._eventNameToPlugin.set(e,t),t}}(HS=sA).ɵfac=function(e){return new(e||HS)(As(rA),As(Td))},HS.ɵprov=jr({token:HS,factory:HS.ɵfac});class oA{constructor(e){this._doc=e}}const aA="ng-app-id";class lA{constructor(e,t,n,i={}){this.doc=e,this.appId=t,this.nonce=n,this.platformId=i,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=iI(i),this.resetHostNodes()}addStyles(e){for(const t of e){1===this.changeUsageCount(t,1)&&this.onStyleAdded(t)}}removeStyles(e){for(const t of e){this.changeUsageCount(t,-1)<=0&&this.onStyleRemoved(t)}}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach((e=>e.remove())),e.clear());for(const e of this.getAllStyles())this.onStyleRemoved(e);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const t of this.getAllStyles())this.addStyleToHost(e,t)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const t of this.hostNodes)this.addStyleToHost(t,e)}onStyleRemoved(e){var t;const n=this.styleRef;null===(t=n.get(e))||void 0===t||null===(t=t.elements)||void 0===t||t.forEach((e=>e.remove())),n.delete(e)}collectServerRenderedStyles(){var e;const t=null===(e=this.doc.head)||void 0===e?void 0:e.querySelectorAll(`style[${aA}="${this.appId}"]`);if(null!=t&&t.length){const e=new Map;return t.forEach((t=>{null!=t.textContent&&e.set(t.textContent,t)})),e}return null}changeUsageCount(e,t){const n=this.styleRef;if(n.has(e)){const i=n.get(e);return i.usage+=t,i.usage}return n.set(e,{usage:t,elements:[]}),t}getStyleElement(e,t){const n=this.styleNodesInDOM,i=null==n?void 0:n.get(t);if((null==i?void 0:i.parentNode)===e)return n.delete(t),i.removeAttribute(aA),i;{const n=this.doc.createElement("style");return this.nonce&&n.setAttribute("nonce",this.nonce),n.textContent=t,this.platformIsServer&&n.setAttribute(aA,this.appId),e.appendChild(n),n}}addStyleToHost(e,t){var n;const i=this.getStyleElement(e,t),r=this.styleRef,s=null===(n=r.get(t))||void 0===n?void 0:n.elements;s?s.push(i):r.set(t,{elements:[i],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}}(BS=lA).ɵfac=function(e){return new(e||BS)(As(Jw),As(Xr),As(is,8),As(ns))},BS.ɵprov=jr({token:BS,factory:BS.ɵfac});const cA={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/"},uA=/%COMP%/g,dA="%COMP%",hA=`_nghost-${dA}`,pA=`_ngcontent-${dA}`,fA=new Jr("",{providedIn:"root",factory:()=>true});function gA(e,t){return t.map((t=>t.replace(uA,e)))}class _A{constructor(e,t,n,i,r,s,o,a=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.removeStylesOnCompDestroy=i,this.doc=r,this.platformId=s,this.ngZone=o,this.nonce=a,this.rendererByCompId=new Map,this.platformIsServer=iI(s),this.defaultRenderer=new mA(e,r,o,this.platformIsServer)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===Ft.ShadowDom&&(t=JS(JS({},t),{},{encapsulation:Ft.Emulated}));const n=this.getOrCreateRenderer(e,t);return n instanceof wA?n.applyToHost(e):n instanceof yA&&n.applyStyles(),n}getOrCreateRenderer(e,t){const n=this.rendererByCompId;let i=n.get(t.id);if(!i){const r=this.doc,s=this.ngZone,o=this.eventManager,a=this.sharedStylesHost,l=this.removeStylesOnCompDestroy,c=this.platformIsServer;switch(t.encapsulation){case Ft.Emulated:i=new wA(o,a,t,this.appId,l,r,s,c);break;case Ft.ShadowDom:return new bA(o,a,e,t,r,s,this.nonce,c);default:i=new yA(o,a,t,l,r,s,c)}n.set(t.id,i)}return i}ngOnDestroy(){this.rendererByCompId.clear()}}(zS=_A).ɵfac=function(e){return new(e||zS)(As(sA),As(lA),As(Xr),As(fA),As(Jw),As(ns),As(Td),As(is))},zS.ɵprov=jr({token:zS,factory:zS.ɵfac});class mA{constructor(e,t,n,i){this.eventManager=e,this.doc=t,this.ngZone=n,this.platformIsServer=i,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(e,t){return t?this.doc.createElementNS(cA[t]||t,e):this.doc.createElement(e)}createComment(e){return this.doc.createComment(e)}createText(e){return this.doc.createTextNode(e)}appendChild(e,t){(vA(e)?e.content:e).appendChild(t)}insertBefore(e,t,n){if(e){(vA(e)?e.content:e).insertBefore(t,n)}}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?this.doc.querySelector(e):e;if(!n)throw new xt(-5104,!1);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,i){if(i){t=i+":"+t;const r=cA[i];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const i=cA[n];i?e.removeAttributeNS(i,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,i){i&(lc.DashCase|lc.Important)?e.style.setProperty(t,n,i&lc.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&lc.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){null!=e&&(e[t]=n)}setValue(e,t){e.nodeValue=t}listen(e,t,n){if("string"==typeof e&&!(e=Qw().getGlobalEventTarget(this.doc,e)))throw new Error(`Unsupported event target ${e} for event ${t}`);return this.eventManager.addEventListener(e,t,this.decoratePreventDefault(n))}decoratePreventDefault(e){return t=>{if("__ngUnwrap__"===t)return e;!1===(this.platformIsServer?this.ngZone.runGuarded((()=>e(t))):e(t))&&t.preventDefault()}}}"@".charCodeAt(0);function vA(e){return"TEMPLATE"===e.tagName&&void 0!==e.content}class bA extends mA{constructor(e,t,n,i,r,s,o,a){super(e,r,s,a),this.sharedStylesHost=t,this.hostEl=n,this.shadowRoot=n.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const l=gA(i.id,i.styles);for(const e of l){const t=document.createElement("style");o&&t.setAttribute("nonce",o),t.textContent=e,this.shadowRoot.appendChild(t)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class yA extends mA{constructor(e,t,n,i,r,s,o,a){super(e,r,s,o),this.sharedStylesHost=t,this.removeStylesOnCompDestroy=i,this.styles=a?gA(a,n.styles):n.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class wA extends yA{constructor(e,t,n,i,r,s,o,a){const l=i+"-"+n.id;var c;super(e,t,n,r,s,o,a,l),this.contentAttr=(c=l,pA.replace(uA,c)),this.hostAttr=function(e){return hA.replace(uA,e)}(l)}applyToHost(e){this.applyStyles(),this.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class EA extends oA{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}(qS=EA).ɵfac=function(e){return new(e||qS)(As(Jw))},qS.ɵprov=jr({token:qS,factory:qS.ɵfac});const TA=["alt","control","meta","shift"],IA={"\b":"Backspace","\t":"Tab","":"Delete","":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},CA={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};class SA extends oA{constructor(e){super(e)}supports(e){return null!=SA.parseEventName(e)}addEventListener(e,t,n){const i=SA.parseEventName(t),r=SA.eventCallback(i.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular((()=>Qw().onAndCancel(e,i.domEventName,r)))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const i=SA._normalizeKey(t.pop());let r="",s=t.indexOf("code");if(s>-1&&(t.splice(s,1),r="code."),TA.forEach((e=>{const n=t.indexOf(e);n>-1&&(t.splice(n,1),r+=e+".")})),r+=i,0!=t.length||0===i.length)return null;const o={};return o.domEventName=n,o.fullKey=r,o}static matchEventFullKeyCode(e,t){let n=IA[e.key]||e.key,i="";return t.indexOf("code.")>-1&&(n=e.code,i="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),TA.forEach((t=>{if(t!==n){(0,CA[t])(e)&&(i+=t+".")}})),i+=n,i===t)}static eventCallback(e,t,n){return i=>{SA.matchEventFullKeyCode(i,e)&&n.runGuarded((()=>t(i)))}}static _normalizeKey(e){return"esc"===e?"escape":e}}(US=SA).ɵfac=function(e){return new(e||US)(As(Jw))},US.ɵprov=jr({token:US,factory:US.ɵfac});const AA=Ny(Ky,"browser",[{provide:ns,useValue:nI},{provide:ts,useValue:function(){tA.makeCurrent()},multi:!0},{provide:Jw,useFactory:function(){return function(e){Er=e}(document),document},deps:[]}]),xA=new Jr(""),DA=[{provide:oy,useClass:class{addToWindow(e){zt.getAngularTestability=(t,n=!0)=>{const i=e.findTestabilityInTree(t,n);if(null==i)throw new xt(5103,!1);return i},zt.getAllAngularTestabilities=()=>e.getAllTestabilities(),zt.getAllAngularRootElements=()=>e.getAllRootElements();zt.frameworkStabilizers||(zt.frameworkStabilizers=[]),zt.frameworkStabilizers.push((e=>{const t=zt.getAllAngularTestabilities();let n=t.length;const i=function(){n--,0==n&&e()};t.forEach((e=>{e.whenStable(i)}))}))}findTestabilityInTree(e,t,n){if(null==t)return null;const i=e.getTestability(t);return null!=i?i:n?Qw().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}},deps:[]},{provide:sy,useClass:ay,deps:[Td,ly,oy]},{provide:ay,useClass:ay,deps:[Td,ly,oy]}],RA=[{provide:po,useValue:"root"},{provide:$a,useFactory:function(){return new $a},deps:[]},{provide:rA,useClass:EA,multi:!0,deps:[Jw,Td,ns]},{provide:rA,useClass:SA,multi:!0,deps:[Jw]},_A,lA,sA,{provide:fd,useExisting:_A},{provide:oI,useClass:iA,deps:[]},[]];class kA{constructor(e){0}static withServerTransition(e){return{ngModule:kA,providers:[{provide:Xr,useValue:e.appId}]}}}(jS=kA).ɵfac=function(e){return new(e||jS)(As(xA,12))},jS.ɵmod=wn({type:jS}),jS.ɵinj=Vr({providers:[...RA,...DA],imports:[tI,Zy]});class OA{constructor(e){this._doc=e,this._dom=Qw()}addTag(e,t=!1){return e?this._getOrCreateElement(e,t):null}addTags(e,t=!1){return e?e.reduce(((e,n)=>(n&&e.push(this._getOrCreateElement(n,t)),e)),[]):[]}getTag(e){return e&&this._doc.querySelector(`meta[${e}]`)||null}getTags(e){if(!e)return[];const t=this._doc.querySelectorAll(`meta[${e}]`);return t?[].slice.call(t):[]}updateTag(e,t){if(!e)return null;t=t||this._parseSelector(e);const n=this.getTag(t);return n?this._setMetaElementAttributes(e,n):this._getOrCreateElement(e,!0)}removeTag(e){this.removeTagElement(this.getTag(e))}removeTagElement(e){e&&this._dom.remove(e)}_getOrCreateElement(e,t=!1){if(!t){const t=this._parseSelector(e),n=this.getTags(t).filter((t=>this._containsAttributes(e,t)))[0];if(void 0!==n)return n}const n=this._dom.createElement("meta");this._setMetaElementAttributes(e,n);return this._doc.getElementsByTagName("head")[0].appendChild(n),n}_setMetaElementAttributes(e,t){return Object.keys(e).forEach((n=>t.setAttribute(this._getMetaKeyMap(n),e[n]))),t}_parseSelector(e){const t=e.name?"name":"property";return`${t}="${e[t]}"`}_containsAttributes(e,t){return Object.keys(e).every((n=>t.getAttribute(this._getMetaKeyMap(n))===e[n]))}_getMetaKeyMap(e){return NA[e]||e}}(VS=OA).ɵfac=function(e){return new(e||VS)(As(Jw))},VS.ɵprov=jr({token:VS,factory:VS.ɵfac,providedIn:"root"});const NA={httpEquiv:"http-equiv"};class FA{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}}(WS=FA).ɵfac=function(e){return new(e||WS)(As(Jw))},WS.ɵprov=jr({token:WS,factory:WS.ɵfac,providedIn:"root"});const LA={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},PA=new Jr("HammerGestureConfig"),MA=new Jr("HammerLoader");class HA{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const e in this.overrides)t.get(e).set(this.overrides[e]);return t}}($S=HA).ɵfac=function(e){return new(e||$S)},$S.ɵprov=jr({token:$S,factory:$S.ɵfac});class BA extends oA{constructor(e,t,n,i){super(e),this._config=t,this.console=n,this.loader=i,this._loaderPromise=null}supports(e){return!(!LA.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e))&&!(!window.Hammer&&!this.loader)}addEventListener(e,t,n){const i=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||i.runOutsideAngular((()=>this.loader()));let r=!1,s=()=>{r=!0};return i.runOutsideAngular((()=>this._loaderPromise.then((()=>{window.Hammer?r||(s=this.addEventListener(e,t,n)):s=()=>{}})).catch((()=>{s=()=>{}})))),()=>{s()}}return i.runOutsideAngular((()=>{const r=this._config.buildHammer(e),s=function(e){i.runGuarded((function(){n(e)}))};return r.on(t,s),()=>{r.off(t,s),"function"==typeof r.destroy&&r.destroy()}}))}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}(GS=BA).ɵfac=function(e){return new(e||GS)(As(Jw),As(PA),As(ry),As(MA,8))},GS.ɵprov=jr({token:GS,factory:GS.ɵfac});class zA{}(YS=zA).ɵfac=function(e){return new(e||YS)},YS.ɵmod=wn({type:YS}),YS.ɵinj=Vr({providers:[{provide:rA,useClass:BA,multi:!0,deps:[Jw,PA,ry,[new Gs,MA]]},{provide:PA,useClass:HA,deps:[]}]});class qA{}(QS=qA).ɵfac=function(e){return new(e||QS)},QS.ɵprov=jr({token:QS,factory:function(e){let t=null;return t=e?new(e||QS):As(UA),t},providedIn:"root"});class UA extends qA{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case Ml.NONE:return t;case Ml.HTML:return ul(t,"HTML")?cl(t):Ll(this._doc,String(t)).toString();case Ml.STYLE:return ul(t,"Style")?cl(t):t;case Ml.SCRIPT:if(ul(t,"Script"))return cl(t);throw new xt(5200,!1);case Ml.URL:return ul(t,"URL")?cl(t):gl(String(t));case Ml.RESOURCE_URL:if(ul(t,"ResourceURL"))return cl(t);throw new xt(5201,!1);default:throw new xt(5202,!1)}}bypassSecurityTrustHtml(e){return new rl(e)}bypassSecurityTrustStyle(e){return new sl(e)}bypassSecurityTrustScript(e){return new ol(e)}bypassSecurityTrustUrl(e){return new al(e)}bypassSecurityTrustResourceUrl(e){return new ll(e)}}var jA;(KS=UA).ɵfac=function(e){return new(e||KS)(As(Jw))},KS.ɵprov=jr({token:KS,factory:KS.ɵfac,providedIn:"root"}),function(e){e[e.NoHttpTransferCache=0]="NoHttpTransferCache",e[e.HttpTransferCacheOptions=1]="HttpTransferCacheOptions"}(jA||(jA={})),new iy("17.2.4");const VA={RETURN_DOM_FRAGMENT:!1,RETURN_DOM:!1,USE_PROFILES:{html:!0,svg:!0,svgFilters:!0},ALLOW_UNKNOWN_PROTOCOLS:!0,KEEP_CONTENT:!0,ADD_TAGS:["meta","noscript","iframe"],ADD_ATTR:["content","itemprop","itemtype","itemscope","id","name","target"]};function WA(e,t=VA){let n=Object.assign(function(e){if(!UI(e)&&!BI(e))throw new TypeError("Object.copy called on non-object. The given value is "+typeof e);return GI(e)}(VA),t);return RI()?e:s.sanitize(e,n)}class $A{set hidden(e){e?this.renderer.setAttribute(this.el.nativeElement,"hidden","true"):this.renderer.removeAttribute(this.el.nativeElement,"hidden");let t=this._hidden;this._hidden=e,RI()||t==e||XI((()=>{this.onHide.emit(e)}))}get hidden(){return this._hidden}constructor(e,t){this.el=e,this.renderer=t,this._hidden=!1,this.onHide=new kt}}$A.ɵfac=function(e){return new(e||$A)(Yc(Ar),Yc(gd))},$A.ɵdir=Tn({type:$A,selectors:[["","ng-hidden",""]],inputs:{hidden:[e.InputFlags.None,"ng-hidden","hidden"]},outputs:{onHide:"onHide"}});class GA{set cond(e){this._cond=e,this._ready&&this._SetAttr()}get cond(){return this._cond}constructor(e,t){this._el=e,this._renderer=t,this._ready=!1}_SetAttr(){BI(this.attributes)?this._cond?this.attributes.forEach((e=>{this._renderer.setAttribute(this._el.nativeElement,e.attribute,e.value)})):this.attributes.forEach((e=>{this._renderer.removeAttribute(this._el.nativeElement,e.attribute)})):UI(this.attributes)&&WI(this.attributes,((e,t)=>{this._cond?this._renderer.setAttribute(this._el.nativeElement,t,e):this._renderer.removeAttribute(this._el.nativeElement,t)}))}ngOnInit(){this._SetAttr(),this._ready=!0}}GA.ɵfac=function(e){return new(e||GA)(Yc(Ar),Yc(gd))},GA.ɵdir=Tn({type:GA,selectors:[["","ng-attribute",""]],inputs:{attributes:[e.InputFlags.None,"ng-attribute","attributes"],cond:[e.InputFlags.None,"ng-attribute-when","cond"]}});class YA{transform(e,t="",n=0,i=null,r=!1,s=!1){let o=MI(e);if(!PI(o))return null!=i&&"value"==i?e:"";if(r){let e=!isNaN(n=Math.abs(n))&&n>0?Math.pow(10,n):1;o=Math.floor(o*e)/e}return HI(o,n,t,",",".",s)}}YA.ɵfac=function(e){return new(e||YA)},YA.ɵpipe=In({name:"moneyformat",type:YA,pure:!0});class QA{transform(e){return((t=e)?LI(t.toString()):"").replace(/(\d{3})(\d{3})(\d{4})/,n?"$1-$2-$3":"($1) $2-$3");var t,n}}QA.ɵfac=function(e){return new(e||QA)},QA.ɵpipe=In({name:"phoneformat",type:QA,pure:!0});class KA{_bindHTML(e){this._html=WA(e,this.settings),this._renderer.setProperty(this._el.nativeElement,"innerHTML",this._html)}set cleanHTML(e){this._initiated?this._bindHTML(e):this._html=e}get cleanHTML(){return this._html}constructor(e,t){this._el=e,this._renderer=t,this.settings=VA,this._initiated=!1}ngOnInit(){this._html&&this._bindHTML(this._html),this._initiated=!0}}KA.ɵfac=function(e){return new(e||KA)(Yc(Ar),Yc(gd))},KA.ɵdir=Tn({type:KA,selectors:[["","cleanHTML",""]],inputs:{settings:[e.InputFlags.None,"cleanHTML-sett","settings"],cleanHTML:"cleanHTML"}});class ZA{set image(e){this._image=e?WA(e,{ALLOW_UNKNOWN_PROTOCOLS:!0,ALLOWED_TAGS:[],ALLOWED_ATTR:[]}):null,this._initiated&&this._SetImg(e)}get image(){return this._image}constructor(e,t){this._el=e,this._renderer=t,this._initiated=!1,this._image=""}ngOnInit(){this._image&&this._SetImg(this._image),this._initiated=!0}_SetImg(e){e?this._renderer.setProperty(this._el.nativeElement,"src",e):this._renderer.removeAttribute(this._el.nativeElement,"src")}}ZA.ɵfac=function(e){return new(e||ZA)(Yc(Ar),Yc(gd))},ZA.ɵdir=Tn({type:ZA,selectors:[["","ng-img",""]],inputs:{image:[e.InputFlags.None,"ng-img","image"]}});class JA{constructor(e,t,n){this._sanitizer=e,this._el=t,this._renderer=n}set ngcontext(e){if(RI())this._renderer.setProperty(this._el.nativeElement,"innerHTML",WA(e));else{const t=this._sanitizer.sanitize(Ml.HTML,(e||"").toString());this._el.nativeElement.innerHTML=t,this._el.nativeElement.innerHTML=this._el.nativeElement.textContent}}}JA.ɵfac=function(e){return new(e||JA)(Yc(qA),Yc(Ar),Yc(gd))},JA.ɵdir=Tn({type:JA,selectors:[["","ng-context",""]],inputs:{ngcontext:[e.InputFlags.None,"ng-context","ngcontext"]}});class XA{set ng_svg(e){if(this._svg_attrs=e,this._el&&this._el.nativeElement){let t=this._el.nativeElement;WI(e,((e,n)=>{e?this._renderer.setAttribute(t,n,e):this._renderer.removeAttribute(t,n)}))}}get ng_svg(){return this._svg_attrs}constructor(e,t){this._el=e,this._renderer=t}}XA.ɵfac=function(e){return new(e||XA)(Yc(Ar),Yc(gd))},XA.ɵdir=Tn({type:XA,selectors:[["","ng-svg-attr",""]],inputs:{ng_svg:[e.InputFlags.None,"ng-svg-attr","ng_svg"]}});class ex{transform(e,t=1,n=!1){return function(e,t=1,n=!1){let i=!1,r="";return e<0&&(i=!0),r=(e=Math.abs(e))>=1e9?n?(Math.floor(e/1e8)/10).toString().replace(/\.0$/,"")+"g":(e/1e9).toFixed(t).replace(/\.0$/,"")+"g":e>=1e6?n?(Math.floor(e/1e5)/10).toString().replace(/\.0$/,"")+"m":(e/1e6).toFixed(t).replace(/\.0$/,"")+"m":e>=1e3?n?(Math.floor(e/100)/10).toString().replace(/\.0$/,"")+"k":(e/1e3).toFixed(t).replace(/\.0$/,"")+"k":e.toString(),i&&(r="-"+r),r}(e,t,n)}}ex.ɵfac=function(e){return new(e||ex)},ex.ɵpipe=In({name:"formatnr",type:ex,pure:!0});class tx{set hidden(e){let t=this.el.nativeElement;e?(this.renderer.setAttribute(t,"aria-hidden","true"),this.renderer.setAttribute(t,"tabindex","-1")):(this.renderer.removeAttribute(t,"aria-hidden"),this.notab?this.renderer.removeAttribute(t,"tabindex"):this.renderer.setAttribute(t,"tabindex",this.tabindex));let n=this._hidden;this._hidden=e,RI()||n==e||XI((()=>{this.onHide.emit(e)}))}get hidden(){return this._hidden}constructor(e,t){this.el=e,this.renderer=t,this._hidden=!1,this.onHide=new kt,this.tabindex="0"}}tx.ɵfac=function(e){return new(e||tx)(Yc(Ar),Yc(gd))},tx.ɵdir=Tn({type:tx,selectors:[["","ng-aria-hidden",""]],inputs:{tabindex:"tabindex",notab:[e.InputFlags.None,"no-tab","notab"],hidden:[e.InputFlags.None,"ng-aria-hidden","hidden"]},outputs:{onHide:"onHide"}});class nx{constructor(e,t){this._el=e,this._renderer=t,this.type="self"}ngAfterViewChecked(){if(RI())return;const e=[],t=this._el.nativeElement;if(this.type){for(var n=0,i=t.childNodes.length;n<i;n++){let i=t.childNodes[n],r="";1==i.nodeType?r=i.hasAttribute("aria-label")?NI(i.getAttribute("aria-label")):NI(i.innerText):3==i.nodeType&&(r=NI(i.wholeText)),r&&e.push(r)}this._renderer.setAttribute(this._el.nativeElement,"aria-label",e.join("self"==this.type?" ":". "))}}}nx.ɵfac=function(e){return new(e||nx)(Yc(Ar),Yc(gd))},nx.ɵdir=Tn({type:nx,selectors:[["","ng-aria-label-self",""]],inputs:{type:[e.InputFlags.None,"ng-aria-label-self","type"]}});class ix{set cond(e){this._cond=e,this._ready&&this._iFocus()}get cond(){return this._cond}constructor(e,t){this._el=e,this._renderer=t,this._speak="header",this.ngSpeakTabindex=0,this._cond=!0,this._ready=!1,RI()||(this._isIOS=(/iPad|iPhone|iPod/.test(navigator.platform)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!window.MSStream)}_iFocus(){if(RI())return;let e=this._speak,t=0==e||"header"==e?0:e,n=PI(t)?t:1,i=this._el.nativeElement,r=this.ngSpeakTabindex.toString();"header"==e?this._isIOS?(document.activeElement&&document.activeElement.blur&&document.activeElement.blur(),i.blur(),this._renderer.setAttribute(i,"tabindex","1"),i.focus(),setTimeout((()=>{i.focus(),this._renderer.setAttribute(i,"tabindex",r)}),300)):(this._renderer.setAttribute(i,"tabindex",r),setTimeout((()=>{i.focus()}),300)):0==n||1==n?(this._isIOS&&document.activeElement&&document.activeElement.blur&&document.activeElement.blur(),this._renderer.setAttribute(i,"tabindex",r),i.focus(),setTimeout((()=>{i.focus()}))):this._renderer.setAttribute(i,"tabindex",r)}ngOnInit(){this._cond&&this._iFocus(),this._ready=!0}}ix.ɵfac=function(e){return new(e||ix)(Yc(Ar),Yc(gd))},ix.ɵdir=Tn({type:ix,selectors:[["","ng-speak",""]],inputs:{_speak:[e.InputFlags.None,"ng-speak","_speak"],ngSpeakTabindex:[e.InputFlags.None,"ng-speak-tab-index","ngSpeakTabindex"],cond:[e.InputFlags.None,"ng-speak-when","cond"]}});class rx{set text(e){this._text=e,RI()||OI()||this._el&&this._el.nativeElement&&this._zone.runOutsideAngular((()=>{clearTimeout(this._timer),this._timer=setTimeout((()=>{this._renderer.setProperty(this._el.nativeElement,"innerHTML",this.text),this.is_android?this._renderer.setAttribute(this._el.nativeElement,"aria-label",this.text):(this._renderer.setAttribute(this._el.nativeElement,"tabindex","-1"),this._renderer.setStyle(this._el.nativeElement,"display","none"),this._renderer.setStyle(this._el.nativeElement,"display","inline"))}))}))}get text(){return this._text}constructor(e,t,n){this._el=e,this._zone=t,this._renderer=n,this._timer=null,this.is_android=!1,this.type="assertive"}ngOnInit(){RI()||(this.is_android=null!=navigator.userAgent.match(/Android/i)||navigator.platform&&null!=navigator.platform.match(/Android/i))}ngAfterViewInit(){this._renderer.setAttribute(this._el.nativeElement,"aria-live",this.type),this._renderer.setAttribute(this._el.nativeElement,"aria-atomic","true"),this._renderer.setAttribute(this._el.nativeElement,"role","status"),RI()||this.is_android&&(this._renderer.setAttribute(this._el.nativeElement,"aria-hidden","true"),this._renderer.setAttribute(this._el.nativeElement,"tabindex","-1"))}}rx.ɵfac=function(e){return new(e||rx)(Yc(Ar),Yc(Td),Yc(gd))},rx.ɵdir=Tn({type:rx,selectors:[["","ng-aria-live",""]],hostVars:2,hostBindings:function(e,t){2&e&&gg("a11y-visually-hidden",!0)},inputs:{type:[e.InputFlags.None,"live-type","type"],text:[e.InputFlags.None,"ng-aria-live","text"]}});class sx{set aria_text(e){this._txt=e,this._el&&this._el.nativeElement&&this._render.setAttribute(this._el.nativeElement,"aria-label",this._txt)}get aria_text(){return this._txt}constructor(e,t){this._el=e,this._render=t,this._txt=""}ngOnInit(){this._render.setAttribute(this._el.nativeElement,"role","text")}ngAfterViewInit(){this._txt&&this._render.setAttribute(this._el.nativeElement,"aria-label",this._txt)}}sx.ɵfac=function(e){return new(e||sx)(Yc(Ar),Yc(gd))},sx.ɵdir=Tn({type:sx,selectors:[["","ng-aria-text",""]],inputs:{aria_text:[e.InputFlags.None,"ng-aria-text","aria_text"]}});class ox{constructor(e,t){this.el=e,this.renderer=t,this._shown=!1,this._subs=[],RI()||(this._windowResize=this._windowResize.bind(this))}adjustPosition(){setTimeout((()=>{let e=this.pwd_input.clientHeight,t=this.pwd_input.offsetTop,n=this.pwd_input.clientWidth+this.pwd_input.offsetLeft-55;this.renderer.setStyle(this.btn_toggle,"position","absolute"),this.renderer.setStyle(this.btn_toggle,"font-size","13px"),this.renderer.setStyle(this.btn_toggle,"right","auto"),this.renderer.setStyle(this.btn_toggle,"display","block"),this.renderer.setStyle(this.btn_toggle,"width","55px"),this.renderer.setStyle(this.btn_toggle,"height",e+"px"),this.renderer.setStyle(this.btn_toggle,"line-height",e-2+"px"),this.renderer.setStyle(this.btn_toggle,"top",t+"px"),this.renderer.setStyle(this.btn_toggle,"left",n+"px"),this.renderer.setStyle(this.btn_toggle,"cursor","pointer"),this.renderer.setStyle(this.btn_toggle,"text-align","center")}))}toggle(){this._shown=!this._shown,this._shown?(this.renderer.setAttribute(this.pwd_input,"type","text"),this.renderer.setProperty(this.btn_toggle,"innerHTML","hide"),this.renderer.setProperty(this.btn_toggle,"aria-checked","true")):(this.renderer.setAttribute(this.pwd_input,"type","password"),this.renderer.setProperty(this.btn_toggle,"innerHTML","show"),this.renderer.setProperty(this.btn_toggle,"aria-checked","false"))}_windowResize(){this.adjustPosition()}ngAfterViewInit(){if(RI())return;this.renderer.parentNode(this.el.nativeElement.parentNode);const e=this.renderer.parentNode(this.el.nativeElement);this.renderer.createElement("span");const t=this.renderer.createElement("span");this.renderer.addClass(t,"ng-toggle-btn-pass"),this.renderer.addClass(t,"semi-bold-font"),this.renderer.setStyle(t,"position","absolute"),this.renderer.setProperty(t,"innerHTML","show"),this.renderer.setProperty(t,"role","switch"),this.renderer.setProperty(t,"tabindex","0"),this.renderer.setProperty(t,"aria-checked","false"),this.renderer.setProperty(t,"aria-label","Toggle password visiblity"),this.renderer.appendChild(e,t);let n=window.getComputedStyle(e).position;n&&"static"!=n||this.renderer.setStyle(e,"position","relative"),this._subs.push(this.renderer.listen(t,"click",(()=>{this.toggle()}))),this._subs.push(this.renderer.listen(this.el.nativeElement,"input",(()=>{const e=this.el.nativeElement;this.renderer.setStyle(t,"visibility",e.value?"":"hidden")}))),this.renderer.setStyle(t,"visibility",this.el.nativeElement.value?"":"hidden"),this.btn_toggle=t,this.pwd_input=this.el.nativeElement;let i=null;eC()&&(i={passive:!0}),window.addEventListener("resize",this._windowResize,i),this._subs.push((()=>{window.removeEventListener("resize",this._windowResize)})),this.adjustPosition()}ngOnDestroy(){this._subs.forEach((e=>{e()}))}}ox.ɵfac=function(e){return new(e||ox)(Yc(Ar),Yc(gd))},ox.ɵdir=Tn({type:ox,selectors:[["input","ng-toggle-password",""]]});class ax{constructor(e){this._injector=e,this._injector}static forRoot(){return{ngModule:ax,providers:[lC]}}}ax.ɵfac=function(e){return new(e||ax)(As(Va))},ax.ɵmod=wn({type:ax}),ax.ɵinj=Vr({imports:[tI,rC,rC]});let lx,cx={method:"POST",url:null,retry:0,needs_session:!1,expectedType:"json",data:{},query:{},headers:{"Content-Type":"application/json;charset=UTF-8"},events:!0,id:null,xsrf:!0,silent:!1},ux={get live(){return"https://wallethub.com"},get web(){return"/"},get internet_base(){return"https://cdnjs.cloudflare.com/ajax/libs/10up-sanitize.css/6.0.0/sanitize.min.css"},get internet(){return ux.internet_base+"?stamp="+JI()},get webrpcpath(){return"home/rpc"},get mobilerpcpath(){return"home/mobile-rpc"}},dx=new RegExp("^(?:[a-z]+:)?//","i");function hx(e){return e&&(lx=e,dx.test(lx)||lx===ux.web||(lx="https://"+lx)),lx}let px="home/rpc";function fx(e){return e&&(px=e),hx()+"/"+px}let gx="home";let _x="ajax.php";function mx(e){return e&&(_x=e),hx()+"/"+_x}function vx(e){switch(e.responseType){case"json":if("response"in e)return e.response;var t=e;return JSON.parse(t.responseText);case"document":return e.responseXML;default:return"response"in e?e.response:(t=e).responseText}}var bx=function(e,t,n,i){void 0===i&&(i="download_load"),this.originalEvent=e,this.xhr=t,this.request=n,this.type=i;var r=t.status,s=t.responseType;this.status=null!=r?r:0,this.responseType=null!=s?s:"";var o=t.getAllResponseHeaders();this.responseHeaders=o?o.split("\n").reduce((function(e,t){var n=t.indexOf(": ");return e[t.slice(0,n)]=t.slice(n+2),e}),{}):{},this.response=vx(t);var a=e.loaded,l=e.total;this.loaded=a,this.total=l},yx=k((function(e){return function(e,t,n){var i;this.message=e,this.name="AjaxError",this.xhr=t,this.request=n,this.status=t.status,this.responseType=t.responseType;try{i=vx(t)}catch(e){i=t.responseText}this.response=i}})),wx=function(){function e(e,t){return yx.call(this,"ajax timeout",e,t),this.name="AjaxTimeoutError",this}return e.prototype=Object.create(yx.prototype),e}();function Ex(e,t){return Dx({method:"GET",url:e,headers:t})}function Tx(e,t,n){return Dx({method:"POST",url:e,body:t,headers:n})}function Ix(e,t){return Dx({method:"DELETE",url:e,headers:t})}function Cx(e,t,n){return Dx({method:"PUT",url:e,body:t,headers:n})}function Sx(e,t,n){return Dx({method:"PATCH",url:e,body:t,headers:n})}var Ax=Pe((function(e){return e.response}));function xx(e,t){return Ax(Dx({method:"GET",url:e,headers:t}))}var Dx=function(){var e=function(e){var t;return t="string"==typeof e?{url:e}:e,new J((function(e){var n,i,r,s=w({async:!0,crossDomain:!1,withCredentials:!1,method:"GET",timeout:0,responseType:"json"},t),o=s.queryParams,a=s.body,l=s.headers,c=s.url;if(!c)throw new TypeError("url is required");if(o)if(c.includes("?")){var u=c.split("?");if(2<u.length)throw new TypeError("invalid url");r=new URLSearchParams(u[1]),new URLSearchParams(o).forEach((function(e,t){return r.set(t,e)})),c=u[0]+"?"+r}else c=c+"?"+(r=new URLSearchParams(o));var d={};if(l)for(var h in l)l.hasOwnProperty(h)&&(d[h.toLowerCase()]=l[h]);var p=s.crossDomain;p||"x-requested-with"in d||(d["x-requested-with"]="XMLHttpRequest");var f=s.withCredentials,g=s.xsrfCookieName,_=s.xsrfHeaderName;if((f||!p)&&g&&_){var m=null!==(i=null===(n=null===document||void 0===document?void 0:document.cookie.match(new RegExp("(^|;\\s*)("+g+")=([^;]*)")))||void 0===n?void 0:n.pop())&&void 0!==i?i:"";m&&(d[_]=m)}var v,b=function(e,t){var n;if(!e||"string"==typeof e||function(e){return"undefined"!=typeof FormData&&e instanceof FormData}(e)||function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}(e)||function(e){return Px(e,"ArrayBuffer")}(e)||function(e){return Px(e,"File")}(e)||function(e){return Px(e,"Blob")}(e)||function(e){return"undefined"!=typeof ReadableStream&&e instanceof ReadableStream}(e))return e;if(function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView(e)}(e))return e.buffer;if("object"==typeof e)return t["content-type"]=null!==(n=t["content-type"])&&void 0!==n?n:"application/json;charset=utf-8",JSON.stringify(e);throw new TypeError("Unknown body type")}(a,d),y=w(w({},s),{url:c,headers:d,body:b});v=t.createXHR?t.createXHR():new XMLHttpRequest;var E=t.progressSubscriber,T=t.includeDownloadProgress,I=void 0!==T&&T,C=t.includeUploadProgress,S=void 0!==C&&C,A=function(t,n){v.addEventListener(t,(function(){var t,i=n();null===(t=null==E?void 0:E.error)||void 0===t||t.call(E,i),e.error(i)}))};A("timeout",(function(){return new wx(v,y)})),A("abort",(function(){return new yx("aborted",v,y)}));var x=function(e,t){return new bx(t,v,y,e+"_"+t.type)},D=function(t,n,i){t.addEventListener(n,(function(t){e.next(x(i,t))}))};S&&[Ox,Nx,Fx].forEach((function(e){return D(v.upload,e,Rx)})),E&&[Ox,Nx].forEach((function(e){return v.upload.addEventListener(e,(function(e){var t;return null===(t=null==E?void 0:E.next)||void 0===t?void 0:t.call(E,e)}))})),I&&[Ox,Nx].forEach((function(e){return D(v,e,kx)}));var R=function(t){var n="ajax error"+(t?" "+t:"");e.error(new yx(n,v,y))};v.addEventListener("error",(function(e){var t;null===(t=null==E?void 0:E.error)||void 0===t||t.call(E,e),R()})),v.addEventListener(Fx,(function(t){var n,i,r=v.status;if(r<400){null===(n=null==E?void 0:E.complete)||void 0===n||n.call(E);var s=void 0;try{s=x(kx,t)}catch(t){return void e.error(t)}e.next(s),e.complete()}else null===(i=null==E?void 0:E.error)||void 0===i||i.call(E,t),R(r)}));var k=y.user,O=y.method,N=y.async;for(var h in k?v.open(O,c,N,k,y.password):v.open(O,c,N),N&&(v.timeout=y.timeout,v.responseType=y.responseType),"withCredentials"in v&&(v.withCredentials=y.withCredentials),d)d.hasOwnProperty(h)&&v.setRequestHeader(h,d[h]);return b?v.send(b):v.send(),function(){v&&4!==v.readyState&&v.abort()}}))};return e.get=Ex,e.post=Tx,e.delete=Ix,e.put=Cx,e.patch=Sx,e.getJSON=xx,e}(),Rx="upload",kx="download",Ox="loadstart",Nx="progress",Fx="load";var Lx=Object.prototype.toString;function Px(e,t){return Lx.call(e)==="[object "+t+"]"}var Mx=new class{constructor(){this.events={},this.replayevents={}}eventGetorCreate(e){return this.events[e]||(this.replayevents[e]?this.events[e]=new le(1,PI(this.replayevents[e])?this.replayevents[e]:999999999):this.events[e]=new re),this.events[e]}keepValueFor(e,t){this.replayevents[e]=t||!0}subscribe(e,t,n,i,r=[]){let s,o=this.eventGetorCreate(e);return s=o.pipe.apply(o,r).subscribe({next:t,error:n,complete:()=>{i&&i(),s&&s.unsubscribe()}}),s}emit(e,t,n){if(n&&!this.events[e])return;this.eventGetorCreate(e).next(t)}terminate(e){let t;this.events[e]&&(t=this.events[e],t.complete(),delete this.events[e],this.replayevents[e]&&delete this.replayevents[e])}clear(){WI(this.events,(e=>{e.complete()})),this.events={},this.replayevents={}}};let Hx,Bx,zx=Dx;function qx(e){let t;e.progressSubscriber&&(t=e.progressSubscriber,delete e.progressSubscriber);let n=YI(cx,e,!0);t&&(n.progressSubscriber=t);let i,r,s,o=zx,a=new Promise((function(e,t){i=e,r=t})),l={crossDomain:!0,responseType:"text",method:n.method||"POST",url:n.url||fx(),headers:n.headers,timeout:3e4,async:!0,withCredentials:!1};"blob"==n.expectedType&&(l.responseType="blob"),n.timeout&&(l.timeout=n.timeout);let c=n.query||{};if(["POST","PUT"].includes(n.method)){l.body=n.data;let e=l.headers||{},t=e["Content-Type"]||e["content-type"];!DI()&&t&&t.indexOf("application/x-www-form-urlencoded")>-1&&(l.body=jI(n.data))}else c=Object.assign({},c,n.data);Object.keys(c).length>0&&(l.url+=(l.url.indexOf("?")>-1?"&":"?")+jI(c));let u=function(e){let t=o(l).subscribe({next:function(e){if(setTimeout((()=>{t&&t.unsubscribe()})),!i)return;let s={};if("json"==n.expectedType)try{s=JSON.parse(e.response)}catch(t){s={error:!0,message:"malformated json",raw:e.response}}else s=e.response;let o={};try{o=e.headers||e.xhr.getAllResponseHeaders().split("\r\n").reduce((function(e,t){var n=t.split(":");return e[n[0]]=n[1],e}),{})}catch(e){}s&&"malformated json"==s.message&&"json"==n.expectedType?r({status:200,type:s.message,data:s.raw,headers:o}):i({data:s,status:e.status,headers:o})},error:function(i){if(setTimeout((()=>{t&&t.unsubscribe()})),!r)return;let s=i.xhr&&i.xhr.response||"",o={};try{o=i.headers||i.xhr.getAllResponseHeaders().split("\r\n").reduce((function(e,t){var n=t.split(":");return e[n[0]]=n[1],e}),{})}catch(e){}if(-999==i.status)return n.events&&Mx.emit("$device:insecure",{type:i.type,data:s,code:i.errorcode}),void r({status:n.events?-1:-10,type:"request",data:s,headers:o});if(403==i.status)r({status:i.status,type:i.type,data:s,headers:o});else if(i.status&&i.status>=500&&i.status<512)e?r({status:i.status,type:i.type,data:"internal error",headers:o}):u(!0);else{if(!r)return;e||i.status>399&&i.status<512?r({status:i.status,type:i.type,data:s,headers:o}):function(){let e=zx;return new Promise((function(t,n){let i=e({crossDomain:!0,method:"GET",url:ux.internet,timeout:15e3,responseType:"text",async:!0,withCredentials:!1,headers:{}}).subscribe({next:function(){t(null),i&&i.unsubscribe()},error:function(e){n(),setTimeout((()=>{i&&i.unsubscribe()}))}})}))}().then((function(){r&&(e?r({status:i.status,type:i.type,data:s,headers:o}):u(!0))}),(function(){r&&(n.events&&Mx.emit("$device:no-internet"),r({status:n.events?-1:-10,type:i.type,data:s,headers:o}))}))}}});s=function(){r=null,i=null,a=null,t&&(t.unsubscribe(),t=null),Bx===s&&(Bx=null)},Bx=s};return u(),a.finally((()=>{Bx===s&&(Bx=null)})),a}function Ux(){return Bx}function jx(e){return new Promise((function(t,n){zx({crossDomain:!0,responseType:"json",method:"GET",url:e}).subscribe({next:function(e){t(UI(e.response)?e.response:null)},error:function(e){t({status:e.status,type:e.type,data:e.xhr&&e.xhr.response||""})}})}))}Mx.subscribe("$server:captcha-block",(function(e){if(Hx)return!1;Hx=!0}));const Vx=new class{get _storage(){return document.cookie}set _storage(e){document.cookie=e}useMemory(e){this._usememstorage=e,e||(this._memstorage={})}clearMemory(){this._memstorage={}}get(e){if(!this._usememstorage&&!document.cookie)return;if(this._usememstorage)return this._memstorage[e];let t=this._storage.split(";"),n=e+"=";for(let e=0;e<t.length;e++){let i=t[e];for(;" "==i.charAt(0);)i=i.substring(1);if(0==i.indexOf(n))return decodeURIComponent(i.substring(n.length,i.length))}}asyncget(e){if(DI()){let t=hx().replace(/^https?:\/\//,"");return t.lastIndexOf("/")>0&&(t=t.substring(0,t.lastIndexOf("/")-1)),new Promise((n=>{window.top.sslHTTP.getCookies(t,(function(t){if(t[e]){let i="value"in t[e]?t[e].value:t[e].Value;if("mw_signon"==e)try{i=decodeURIComponent(i)}catch(e){i=""}n(i)}else n(null)}),(function(){n(null)}))}))}return Promise.resolve(this.get(e))}set(e,t,n){if(DI()&&!this._usememstorage&&console.warn("Cannot set cookies in a cordova app, memory will be used instead"),this._usememstorage&&-1==n)delete this._memstorage[e];else if(this._usememstorage){let n;if(UI(t)||BI(t))try{n=JSON.stringify(t)}catch(e){}else n=qI(t)?"":t;this._memstorage[e]=n}else{let i,r=new Date;0===n?i='expires=""':(n||(n=0),r.setTime(r.getTime()+24*n*60*60*1e3),i="expires="+r.toUTCString()),this._storage=e+"="+t+"; "+(this._usememstorage?"":i+"; path=/; secure; domain=."+window.location.hostname||window.location.host)}this._eventsHandlers.set&&this._eventsHandlers.set.forEach((i=>{i(e,t,n)}))}get enabled(){return!RI()&&!1!==navigator.cookieEnabled&&(document.cookie="testcookie=1",-1!=document.cookie.indexOf("testcookie"))}remove(e){this.set(e,"",-1),this._eventsHandlers.remove&&this._eventsHandlers.remove.forEach((t=>{t(e)}))}constructor(){this._memstorage={},this._eventsHandlers={},this.enabled||this.useMemory(!0)}subscribe(e,t){return this._eventsHandlers[e]=this._eventsHandlers[e]||[],this._eventsHandlers[e].push(t),()=>{let n=this._eventsHandlers[e].indexOf(t);n>-1&&this._eventsHandlers[e].splice(n,1)}}};var Wx,$x={};function Gx(e){let t=e;"GET"!=t.method||"xsrf"in t||(t.xsrf=!1),t.xsrf="xsrf"in t?t.xsrf:cx.xsrf,t.method="method"in t?t.method:cx.method,t.headers="headers"in t?t.headers:cx.headers,t.data=t.data||{},t.events="events"in t?t.events:cx.events,t.silent&&(t.events=!1);let n=t.id||JI(),i=t.retry||0;return null!==n&&$x[n]&&($x[n](),delete $x[n],n==Wx&&(Wx=null)),new Promise((function(e,r){let s=!1,o=!0;if(qI(t.before)&&(o=t.before(),KI(o)&&(o=!0)),!o)return null;var a=()=>{qI(t.after)&&t.after()},l=t=>{e(t),a()},c=e=>{r(e),a()};let u=function(){var e,i,r;(e=n,i=t,r=s,i&&!i.xsrf?new Promise((function(e){e({})})):(Zx=Zx||Vx.asyncget("XSRF-TOKEN").then((t=>r||!t?new Promise((function(t,n){(function(e,t){return Qx||(Kx=!0,Qx=new Promise((function(n,i){const r=!t||"events"in t==0||t.events;let s=function(t){qx({url:hx()+"/sid.php",data:{a:"1",buster:JI()},method:"GET",events:r}).then((function(o){if(Kx=!1,e&&!$x[e])return void(Qx=null);let a=o.data;if(!a.error&&a&&UI(a))if(a.__whid){let e=a.__whid;Mx.emit("$server:whid",e),n(e),a.site_color&&Mx.emit("$server:sitecolor",a.site_color,!0)}else t?(Jx(),i({status:-1,type:r?"whiderror":"silentwhiderror",data:a,httpstatus:o.status})):s(!0);else t?(Jx(),i({status:-1,type:r?"whiderror":"silentwhiderror",data:a,httpstatus:o.status})):s(!0)})).catch((t=>{Jx(),e&&!$x[e]||(QI(t.status,[-1,-10,999,403])||t.status>=404&&t.status<409?i(t):i({status:-1,type:r?"whiderror":"silentwhiderror",data:t,httpstatus:t.status}))}))};s(),e&&($x[e]=Ux())}))),Qx})(e,i).then((function(r){let s=function(o){qx({data:{action:"get-csrf-token",buster:JI()},headers:{"X-XSRF-WHID":r,"Content-Type":"text/html; charset=utf-8"},method:"GET",expectedType:"text",events:!i||"events"in i==0||i.events}).then((function(i){if(!e||$x[e]){var a=i.data;FI(a)?t({token:a,whid:r}):o?n({status:400,type:"csrferror",data:a}):s(!0)}})).catch((function(t){e&&!$x[e]||(QI(t.status,[-1,-10,999,403])||t.status>=404&&t.status<409?n(t):n({status:400,type:"csrferror",data:t}))}))};s(),e&&($x[e]=Ux())})).catch((function(e){n(e)})),e&&($x[e]=Ux())})):{token:t})),Zx.then((function(){Zx=null}),(function(){Zx=null})),Zx)).then((function(e){e.token&&(t.headers["X-XSRF-TOKEN"]=e.token),e.whid&&(t.headers["X-XSRF-WHID"]=e.whid),s&&(t.headers["X-XSRF-RETRY"]="1"),qx(t).then((function(e){if(!$x[n])return;let i={data:null,headers:e.headers||{}};if(e.data&&e.data.maintainance)t.events&&Mx.emit("$server:maintainance"),t.silent?l({error:!0}):(i.data={status:-1,type:"maintainance",data:null},c(t.readheaders?i:i.data));else if(e.data&&e.data.apiblocked){if(t.events){const t=e.headers||{};Mx.emit("$api:banned",t["CF-Ray"]||t["cf-ray"])}t.silent?l({error:!0}):(i.data={status:-1,type:"banned",data:null},c(t.readheaders?i:i.data))}else i.data=e.data,l(t.readheaders?i:i.data);delete $x[n],n==Wx&&(Wx=null)}),d),$x[n]=Ux()})).catch((function(e){$x[n]&&d(e)})),"POST"===t.method&&t.xsrf||($x[n]=Ux()),Wx=n},d=function(e){if(!$x[n])return;if(-999==e.status||-10==e.status)return e.status=-10,t.silent?l({error:!0}):c(e),delete $x[n],n==Wx&&(Wx=null),!1;let r={status:e.status,options:t,data:e.data};if(403==e.status){const n=e.headers||{};t.events&&Mx.emit("$server:banned",n["CF-Ray"]||n["cf-ray"]),e.type="banned",t.events&&(e.httpstatus=e.status),e.status=t.events?-1:403}else{if(400!==e.status&&i>0)return i--,u(),!1;if(e.status&&(e.status>=404&&e.status<409||e.status>=500&&e.status<512))t.events&&Mx.emit("$server:error",r),e.type="failed request",t.events&&(e.httpstatus=e.status),e.status=t.events?-1:e.status;else{if(400==e.status&&t.xsrf&&!s)return s=!0,u(),!1;!t.silent&&t.events&&("csrferror"==e.type?(Mx.emit("$server:csrferror",r),e.httpstatus=e.status,e.status=-1,e.type="failed request"):"whiderror"!=e.type&&"silentwhiderror"!=e.type||("whiderror"==e.type&&Mx.emit("$server:whiderror",r),e.httpstatus=e.status,e.status=-1,e.type="failed request"))}}t.silent||c(e),delete $x[n],n==Wx&&(Wx=null),t.silent&&l({error:!0})};u()}))}function Yx(e){void 0!==e?$x[e]&&($x[e](),delete $x[e],Wx==e&&(Wx=null),Kx&&Jx()):Wx&&$x[Wx]&&($x[Wx](),delete $x[Wx],Wx=null,Kx&&Jx())}let Qx,Kx,Zx;function Jx(){Qx=null,Kx=!1}function Xx(){return document.querySelector("web-app #web-app")||document.querySelector("#web-app")}function eD(e){if(RI())return e;let t=document.createTextNode(e.toString()),n=document.createElement("p");return n.appendChild(t),n=n.innerHTML,n}class tD{set focus(e){this._focus=e,this._ready&&e&&!RI()&&this._el&&this._el.nativeElement&&this._el.nativeElement.focus&&this._FocusScroll()}get focus(){return this._focus}set zenscroll(e){this._zenscroll=e,this.scrollto=e}get zenscroll(){return this._zenscroll}constructor(e,t,n){this._el=e,this._zone=t,this._renderer=n,this._ready=!1,this.no_click=!1,this.scrollto=!1,this.inner_focus=!1,this._zenscroll=!1,this.tabindex="-1"}_FocusScroll(){let e=document.activeElement;if(e&&e.blur&&QI(e.tagName.toLowerCase(),["input","select","button","textarea"])&&e.blur(),this._el&&this._el.nativeElement)try{let e=this._el.nativeElement;if(this.inner_focus){let t=0;for(e.childNodes.length;t<length;t++){let n=e.childNodes[t];if(1==n.nodeType){e=n;break}}}"empty"==this.tabindex?this._renderer.removeAttribute(e,"tabindex"):this._renderer.setAttribute(e,"tabindex",this.tabindex),this.no_click||e.click(),e.focus(),setTimeout((()=>{e.focus()}))}catch(e){}this._zone.runOutsideAngular((()=>{const e={zen:aC,body:oC};this.scrollto&&setTimeout((()=>{XI((()=>{let t=.42*window.innerHeight,n=this._el.nativeElement.getBoundingClientRect().top,i=Math.round(t-n);e.zen&&this.zenscroll?e.zen.toY(e.body.scrollTop-i,300):e.body?e.body.scrollTop-=i:window.scrollTo(window.screenX,window.scrollY-i)}))}))}))}ngOnInit(){this._ready=!0,RI()||this._focus&&this._el&&this._FocusScroll()}}tD.ɵfac=function(e){return new(e||tD)(Yc(Ar),Yc(Td),Yc(gd))},tD.ɵdir=Tn({type:tD,selectors:[["","ng-focus",""]],inputs:{focus:[e.InputFlags.None,"focus-when","focus"],no_click:[e.InputFlags.None,"no-click","no_click"],scrollto:[e.InputFlags.None,"focus-scroll","scrollto"],inner_focus:[e.InputFlags.None,"inner-focus","inner_focus"],zenscroll:[e.InputFlags.None,"focus-zen-scroll","zenscroll"],tabindex:"tabindex"}});class nD{}nD.ɵfac=function(e){return new(e||nD)},nD.ɵmod=wn({type:nD}),nD.ɵinj=Vr({imports:[tI]});const iD=new class{constructor(){this.store={},this.groups={}}getKey(e){return this.store[e]}setKey(e,t){this.store[e]=t}group(e,t,n){if(t&&!UI(t)&&!BI(t))throw new TypeError("Data provided is not a plain object or array");return t&&(this.groups[e]=n?JSON.parse(JSON.stringify(t)):t),this.groups[e]||(this.groups[e]={}),this.groups[e]}getGroupList(){return Object.keys(this.groups)}hasGroup(e){return this.groups.hasOwnProperty(e)}clearKey(e){this.store.hasOwnProperty(e)&&delete this.store[e]}clearGroup(e){"all"==e?this.groups={}:this.groups.hasOwnProperty(e)&&delete this.groups[e]}clearAll(){this.store={},this.groups={}}pageLoadPopulate(){if(!RI())try{let e=document.querySelectorAll('script[type="application/json"][id*="jsondata-"]');if(e.length>0)for(let t=0,n=e.length;t<n;t++){let n,i=e[t],r=i.id.replace("jsondata-","");if(r){try{n=JSON.parse(i.innerHTML)}catch(e){console.warn("could not parse data for "+r)}n&&(this.groups[r]=n)}i.parentNode.removeChild(i)}}catch(e){console.error(e)}}};const rD=new class{useCookieStorage(){Vx&&Vx.enabled?(this._storage={setItem:function(e,t,n){Vx.set(e,t,n)},removeItem:function(e){document.cookie=e+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;"},getItem:function(e){return Vx.get(e)}},this.isExpired=()=>(console.warn("not available for cookies"),0),this.removeGroup=e=>{zI(function(){for(var e=document.cookie.split(";"),t=[],n=1,i=e.length;n<=i;n++)t[n-1]=NI(e[n-1]);return t}(),((t,n)=>{0==t.indexOf(e+"_")&&this._storage.removeItem(t.split("=")[0])}))}):this.useMemory(!0)}useSession(e){this._storage=e?window.sessionStorage:window.localStorage}useMemory(e){if(e&&!this._oldStorage){this._oldStorage=this._storage;let e={_data:{},setItem:(e,t)=>this._storage._data[e]=String(t),getItem:e=>this._storage._data[e],removeItem:e=>delete this._storage._data[e],clear:()=>this._storage._data={}};this._storage=e}else e||(this._storage=this._oldStorage,this._oldStorage=null,this._storage||(this._storage=!RI()&&"localStorage"in window?window.localStorage:null))}clearMemory(){this._storage&&this._storage.clear&&this._storage.clear()}get(e){var t,n,i=e;e=this._group+e;for(var r=0;r<this._types.length;r++){let s=this._types[r];if(this._storage.getItem(e+s)){if(this.isExpired(i))return void this._storage.removeItem(e+s);switch(s){case this._types[0]:case this._types[3]:t=JSON.parse(this._storage.getItem(e+s)),n=!0;break;case this._types[1]:t=this._storage.getItem(e+s),n=!0;break;case this._types[2]:t=parseFloat(this._storage.getItem(e+s)),n=!0}break}}return!n&&FI(this._storage.getItem(e))&&(t=this._storage.getItem(e)),t="undefined"==t||null==t?void 0:"true"==t||"false"!=t&&t}set(e,t,n){var i=e,r="";if("expirations"==e)return!1;e=this._group+e,UI(t)||BI(t)?(t=JSON.stringify(t),r=this._types[0]):PI(t)?(t=t.toString(),r=this._types[2]):"boolean"==typeof t?(t=t.toString(),r=this._types[3]):r=this._types[1];for(var s=0,o=this._types.length;s<o;s++)if(this._storage.getItem(e+this._types[s])){this._storage.removeItem(e+this._types[s]);break}try{this._storage.setItem(e+r,t)}catch(e){console.warn(e)}n&&this.expire(i,n)}remove(e){e=this._group+e;for(var t=0,n=this._types.length;t<n;t++)this._storage.getItem(e+this._types[t])&&this._storage.removeItem(e+this._types[t])}expire(e,t){var n,i=this._storage.getItem("_expirations.json")||null;try{(n=JSON.parse(i))||(n={})}catch(e){n={}}n[this._group+e]={in:t,since:(new Date).getTime()},this._storage.setItem("_expirations.json",JSON.stringify(n))}getExpiration(e){var t=this._storage.getItem("_expirations.json")||!1;if(!t)return null;try{if(!(t=JSON.parse(t)))return null}catch(e){return null}return t[this._group+e]||null}isExpired(e,t){var n=this.getExpiration(e);if(null===n)return 0;let i=(new Date).getTime()-n.since;return i>=n.in?1:t?n.in-i:0}group(e){if(null==e){let e=this._group;return e&&(e=e.substring(0,e.length-1)),e}!1===e&&(this._group=""),this._group=e+"_"}removeGroup(e){zI(Object.keys(this._storage)||[],(t=>{0===t.indexOf(e)&&this._storage.removeItem(t)}))}constructor(){let e;this._storage=null,this._oldStorage=null,this._types=[".json",".string",".number",".boolean"],this._group="";try{this._storage=!RI()&&"localStorage"in window?window.localStorage:null,e=!0}catch(e){this.useMemory(!0)}if(!RI()){try{window.localStorage.setItem("test","test"),window.localStorage.removeItem("test")}catch(e){this.useCookieStorage()}if(e&&this._storage==window.localStorage){let e,t=this._storage.getItem("_expirations.json")||null,n=new Date;if(t)try{e=JSON.parse(t),WI(e,((t,i)=>{if(!t)return!0;for(var r,s=0;s<this._types.length;s++){if(this._storage.getItem(i+this._types[s])){r=!1,n.getTime()-t.since>=t.in&&(this._storage.removeItem(i+this._types[s]),delete e[i]);break}r=!0}r&&delete e[i]}));this._storage.setItem("_expirations.json",JSON.stringify(e))}catch(e){}}}}},sD="user_sign_on",oD="mw_signon";function aD(){rD.group("mw");let e=rD.get(sD)||null,t=null;if(AI()&&Vx.get(oD))try{t=JSON.parse(Vx.get(oD))}catch(e){}else e&&(t=e);return AI()&&t&&(t.groupId=rD.get("logout_group_id")||null),t}function lD(){return!RI()&&(rD.group("mw"),!!(cD()&&Vx.get("mw_sess_active")&&rD.get("full")))}function cD(){return!RI()&&(rD.group("mw"),!!(Vx.get(oD)&&AI()||rD.get(sD)))}function uD(){var e,t;return rD.group("mw"),AI()?rD.get("full")||(null===(e=aD())||void 0===e?void 0:e.full):null===(t=rD.get(sD))||void 0===t?void 0:t.full}function dD(){let e=xI(),t=OI(),n={captureException:e=>{console.error(e)},captureMessage:(e,t)=>{console.info(e)},withScope:e=>{e({addBreadcrumb:function(){},setExtras:function(){},setExtra:function(){},setTag:(e,t)=>{},setLevel:function(){},setContext:function(){}})},Severity:{},addBreadcrumb:(...e)=>{},setTag:(...e)=>{}};return new Promise(((i,r)=>{e||t?i(n):l.import("package:/system/raven-lib").then((t=>{let r=t.Raven;if(e)i(n);else{if(!RI()){let e={id:rD.get("support_id")||"--",username:rD.get("pub_id")||rD.get("sentry_pub_id")||"--"};"--"==e.id&&"--"!==e.username&&(e.id=e.username,delete e.username),"--"!==e.username&&(r.configureScope?r.configureScope((t=>{t.setExtra("id",e.id),t.setExtra("username",e.username)})):r.setUserContext(e))}i(r)}}),(e=>{console.warn("Cannot load raven js library"),console.error(e),i(n)}))}))}function hD(e,t,n,i="warning"){const r=xI();dD().then((s=>{QI(e.status,[-1,-999,-10,400])||(e.status&&(t+="; status: "+e.status),r?console.warn(t):s.withScope((r=>{switch(r.setExtras({details:JSON.stringify(e),params:n?JSON.stringify(n):null,path:window.location.pathname||window.location.href}),i){case"critical":r.setLevel(s.Severity.Critical);break;case"error":r.setLevel(s.Severity.Error);break;default:r.setLevel(s.Severity.Warning);break;case"info":r.setLevel(s.Severity.Info);break;case"debug":r.setLevel(s.Severity.Debug)}s.captureMessage(t)})))}))}let pD=!1;if("undefined"!=typeof window){const e={get passive(){pD=!0}};window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}const fD="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1);let gD,_D,mD=[],vD=!1,bD=-1;const yD=e=>mD.some((t=>!(!t.options.allowTouchMove||!t.options.allowTouchMove(e)))),wD=e=>{const t=e||window.event;return!!yD(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},ED=(e,t)=>{if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(mD.some((t=>t.targetElement===e)))return;const n={targetElement:e,options:t||{}};mD=[...mD,n],fD?(e.ontouchstart=e=>{1===e.targetTouches.length&&(bD=e.targetTouches[0].clientY)},e.ontouchmove=t=>{1===t.targetTouches.length&&((e,t)=>{const n=e.targetTouches[0].clientY-bD;!yD(e.target)&&(t&&0===t.scrollTop&&n>0||(e=>!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight)(t)&&n<0?wD(e):e.stopPropagation())})(t,e)},vD||(document.addEventListener("touchmove",wD,pD?{passive:!1}:void 0),vD=!0)):(e=>{if(void 0===_D){const t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(_D=document.body.style.paddingRight,document.body.style.paddingRight=`${n}px`)}void 0===gD&&(gD=document.body.style.overflow,document.body.style.overflow="hidden")})(t)},TD=e=>{e?(mD=mD.filter((t=>t.targetElement!==e)),fD?(e.ontouchstart=null,e.ontouchmove=null,vD&&0===mD.length&&(document.removeEventListener("touchmove",wD,pD?{passive:!1}:void 0),vD=!1)):mD.length||(void 0!==_D&&(document.body.style.paddingRight=_D,_D=void 0),void 0!==gD&&(document.body.style.overflow=gD,gD=void 0))):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")};var ID=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],CD=ID.join(","),SD="undefined"==typeof Element,AD=SD?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,xD=!SD&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},DD=function e(t,n){var i;void 0===n&&(n=!0);var r=null==t||null===(i=t.getAttribute)||void 0===i?void 0:i.call(t,"inert");return""===r||"true"===r||n&&t&&e(t.parentNode)},RD=function(e,t,n){if(DD(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(CD));return t&&AD.call(e,CD)&&i.unshift(e),i=i.filter(n)},kD=function e(t,n,i){for(var r=[],s=Array.from(t);s.length;){var o=s.shift();if(!DD(o,!1))if("SLOT"===o.tagName){var a=o.assignedElements(),l=e(a.length?a:o.children,!0,i);i.flatten?r.push.apply(r,l):r.push({scopeParent:o,candidates:l})}else{AD.call(o,CD)&&i.filter(o)&&(n||!t.includes(o))&&r.push(o);var c=o.shadowRoot||"function"==typeof i.getShadowRoot&&i.getShadowRoot(o),u=!DD(c,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(o));if(c&&u){var d=e(!0===c?o.children:c.children,!0,i);i.flatten?r.push.apply(r,d):r.push({scopeParent:o,candidates:d})}else s.unshift.apply(s,o.children)}}return r},OD=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ND=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!OD(e)?0:e.tabIndex},FD=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},LD=function(e){return"INPUT"===e.tagName},PD=function(e){return function(e){return LD(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||xD(e),i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var r=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!r||r===e}(e)},MD=function(e){var t=e.getBoundingClientRect(),n=t.width,i=t.height;return 0===n&&0===i},HD=function(e,t){var n=t.displayCheck,i=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=AD.call(e,"details>summary:first-of-type")?e.parentElement:e;if(AD.call(r,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return MD(e)}else{if("function"==typeof i){for(var s=e;e;){var o=e.parentElement,a=xD(e);if(o&&!o.shadowRoot&&!0===i(o))return MD(e);e=e.assignedSlot?e.assignedSlot:o||a===e.ownerDocument?o:a.host}e=s}if(function(e){var t,n,i,r,s=e&&xD(e),o=null===(t=s)||void 0===t?void 0:t.host,a=!1;if(s&&s!==e)for(a=!!(null!==(n=o)&&void 0!==n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(o)||null!=e&&null!==(r=e.ownerDocument)&&void 0!==r&&r.contains(e));!a&&o;){var l,c,u;a=!(null===(c=o=null===(l=s=xD(o))||void 0===l?void 0:l.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(o))}return a}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},BD=function(e,t){return!(t.disabled||DD(t)||function(e){return LD(e)&&"hidden"===e.type}(t)||HD(t,e)||function(e){var t="DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}));return t}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var i=t.children.item(n);if("LEGEND"===i.tagName)return!!AD.call(t,"fieldset[disabled] *")||!i.contains(e)}return!0}t=t.parentElement}return!1}(t))},zD=function(e,t){return!(PD(t)||ND(t)<0||!BD(e,t))},qD=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},UD=function e(t){var n=[],i=[];return t.forEach((function(t,r){var s=!!t.scopeParent,o=s?t.scopeParent:t,a=function(e,t){var n=ND(e);return n<0&&t&&!OD(e)?0:n}(o,s),l=s?e(t.candidates):o;0===a?s?n.push.apply(n,l):n.push(o):i.push({documentOrder:r,tabIndex:a,item:t,isScope:s,content:l})})),i.sort(FD).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},jD=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==AD.call(e,CD)&&zD(t,e)},VD=ID.concat("iframe").join(","),WD=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==AD.call(e,VD)&&BD(t,e)};function $D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function GD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$D(Object(n),!0).forEach((function(t){YD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function YD(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var QD=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var i=e.indexOf(t);-1===i||e.splice(i,1),e.push(t)},KD=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},ZD=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},JD=function(e){return ZD(e)&&!e.shiftKey},XD=function(e){return ZD(e)&&e.shiftKey},eR=function(e){return setTimeout(e,0)},tR=function(e,t){var n=-1;return e.every((function(e,i){return!t(e)||(n=i,!1)})),n},nR=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return"function"==typeof e?e.apply(void 0,n):e},iR=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},rR=[],sR=function(e,t){var n,i=(null==t?void 0:t.document)||document,r=(null==t?void 0:t.trapStack)||rR,s=GD({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:JD,isKeyBackward:XD},t),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:s[n||t]},l=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return o.containerGroups.findIndex((function(t){var i=t.container,r=t.tabbableNodes;return i.contains(e)||(null==n?void 0:n.includes(i))||r.find((function(t){return t===e}))}))},c=function(e){var t=s[e];if("function"==typeof t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t;if("string"==typeof t&&!(a=i.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return a},u=function(){var e=c("initialFocus");if(!1===e)return!1;if(void 0===e||!WD(e,s.tabbableOptions))if(l(i.activeElement)>=0)e=i.activeElement;else{var t=o.tabbableGroups[0];e=t&&t.firstTabbableNode||c("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(o.containerGroups=o.containers.map((function(e){var t=function(e,t){var n;return n=(t=t||{}).getShadowRoot?kD([e],t.includeContainer,{filter:zD.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:qD}):RD(e,t.includeContainer,zD.bind(null,t)),UD(n)}(e,s.tabbableOptions),n=function(e,t){return(t=t||{}).getShadowRoot?kD([e],t.includeContainer,{filter:BD.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):RD(e,t.includeContainer,BD.bind(null,t))}(e,s.tabbableOptions),i=t.length>0?t[0]:void 0,r=t.length>0?t[t.length-1]:void 0,o=n.find((function(e){return jD(e)})),a=n.slice().reverse().find((function(e){return jD(e)})),l=!!t.find((function(e){return ND(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:i,lastTabbableNode:r,firstDomTabbableNode:o,lastDomTabbableNode:a,nextTabbableNode:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=t.indexOf(e);return r<0?i?n.slice(n.indexOf(e)+1).find((function(e){return jD(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return jD(e)})):t[r+(i?1:-1)]}}})),o.tabbableGroups=o.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),o.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(o.containerGroups.find((function(e){return e.posTabIndexesFound}))&&o.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function e(t){var n=t.activeElement;if(n)return n.shadowRoot&&null!==n.shadowRoot.activeElement?e(n.shadowRoot):n},p=function e(t){!1!==t&&t!==h(document)&&(t&&t.focus?(t.focus({preventScroll:!!s.preventScroll}),o.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(u()))},f=function(e){var t=c("setReturnFocus",e);return t||!1!==t&&e},g=function(e){var t=e.target,n=e.event,i=e.isBackward,r=void 0!==i&&i;t=t||iR(n),d();var a=null;if(o.tabbableGroups.length>0){var u=l(t,n),h=u>=0?o.containerGroups[u]:void 0;if(u<0)a=r?o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:o.tabbableGroups[0].firstTabbableNode;else if(r){var p=tR(o.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(p<0&&(h.container===t||WD(t,s.tabbableOptions)&&!jD(t,s.tabbableOptions)&&!h.nextTabbableNode(t,!1))&&(p=u),p>=0){var f=0===p?o.tabbableGroups.length-1:p-1,g=o.tabbableGroups[f];a=ND(t)>=0?g.lastTabbableNode:g.lastDomTabbableNode}else ZD(n)||(a=h.nextTabbableNode(t,!1))}else{var _=tR(o.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(_<0&&(h.container===t||WD(t,s.tabbableOptions)&&!jD(t,s.tabbableOptions)&&!h.nextTabbableNode(t))&&(_=u),_>=0){var m=_===o.tabbableGroups.length-1?0:_+1,v=o.tabbableGroups[m];a=ND(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else ZD(n)||(a=h.nextTabbableNode(t))}}else a=c("fallbackFocus");return a},_=function(e){var t=iR(e);l(t,e)>=0||(nR(s.clickOutsideDeactivates,e)?n.deactivate({returnFocus:s.returnFocusOnDeactivate}):nR(s.allowOutsideClick,e)||e.preventDefault())},m=function(e){var t=iR(e),n=l(t,e)>=0;if(n||t instanceof Document)n&&(o.mostRecentlyFocusedNode=t);else{var i;e.stopImmediatePropagation();var r=!0;if(o.mostRecentlyFocusedNode)if(ND(o.mostRecentlyFocusedNode)>0){var a=l(o.mostRecentlyFocusedNode),c=o.containerGroups[a].tabbableNodes;if(c.length>0){var d=c.findIndex((function(e){return e===o.mostRecentlyFocusedNode}));d>=0&&(s.isKeyForward(o.recentNavEvent)?d+1<c.length&&(i=c[d+1],r=!1):d-1>=0&&(i=c[d-1],r=!1))}}else o.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return ND(e)>0}))}))||(r=!1);else r=!1;r&&(i=g({target:o.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(o.recentNavEvent)})),p(i||(o.mostRecentlyFocusedNode||u()))}o.recentNavEvent=void 0},v=function(e){if(!(t=e,"Escape"!==(null==t?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===nR(s.escapeDeactivates,e)))return e.preventDefault(),void n.deactivate();var t;(s.isKeyForward(e)||s.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];o.recentNavEvent=e;var n=g({event:e,isBackward:t});n&&(ZD(e)&&e.preventDefault(),p(n))}(e,s.isKeyBackward(e))},b=function(e){var t=iR(e);l(t,e)>=0||nR(s.clickOutsideDeactivates,e)||nR(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},y=function(){if(o.active)return QD(r,n),o.delayInitialFocusTimer=s.delayInitialFocus?eR((function(){p(u())})):p(u()),i.addEventListener("focusin",m,!0),i.addEventListener("mousedown",_,{capture:!0,passive:!1}),i.addEventListener("touchstart",_,{capture:!0,passive:!1}),i.addEventListener("click",b,{capture:!0,passive:!1}),i.addEventListener("keydown",v,{capture:!0,passive:!1}),n},w=function(){if(o.active)return i.removeEventListener("focusin",m,!0),i.removeEventListener("mousedown",_,!0),i.removeEventListener("touchstart",_,!0),i.removeEventListener("click",b,!0),i.removeEventListener("keydown",v,!0),n},E="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===o.mostRecentlyFocusedNode}))}))&&p(u())})):void 0,T=function(){E&&(E.disconnect(),o.active&&!o.paused&&o.containers.map((function(e){E.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return o.active},get paused(){return o.paused},activate:function(e){if(o.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),r=a(e,"checkCanFocusTrap");r||d(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=i.activeElement,null==t||t();var s=function(){r&&d(),y(),T(),null==n||n()};return r?(r(o.containers.concat()).then(s,s),this):(s(),this)},deactivate:function(e){if(!o.active)return this;var t=GD({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,w(),o.active=!1,o.paused=!1,T(),KD(r,n);var i=a(t,"onDeactivate"),l=a(t,"onPostDeactivate"),c=a(t,"checkCanReturnFocus"),u=a(t,"returnFocus","returnFocusOnDeactivate");null==i||i();var d=function(){eR((function(){u&&p(f(o.nodeFocusedBeforeActivation)),null==l||l()}))};return u&&c?(c(f(o.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){if(o.paused||!o.active)return this;var t=a(e,"onPause"),n=a(e,"onPostPause");return o.paused=!0,null==t||t(),w(),T(),null==n||n(),this},unpause:function(e){if(!o.paused||!o.active)return this;var t=a(e,"onUnpause"),n=a(e,"onPostUnpause");return o.paused=!1,null==t||t(),d(),y(),T(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return o.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),o.active&&d(),T(),this}}).updateContainerElements(e),n};class oR{set focustrap(e){this._focustrap=e,RI()||(e?(this._trap||(this.returnFocusTo&&!this._static_options.setReturnFocus&&(this._static_options.returnFocusOnDeactivate=!0,this._static_options.setReturnFocus=this.returnFocusTo),this._trap=sR(this._el.nativeElement,this._static_options)),this._trap.activate()):this._trap&&this._trap.deactivate())}get focustrap(){return this._focustrap}constructor(e){this._el=e}ngAfterViewInit(){RI()||(this._static_options=Object.assign({clickOutsideDeactivates:!0,preventScroll:!0,returnFocusOnDeactivate:!1},this.options||{}),this._static_options.fallbackFocus=this._el.nativeElement,this._focustrap&&(this.returnFocusTo&&(this._static_options.returnFocusOnDeactivate=!0,this._static_options.setReturnFocus=this.returnFocusTo),this._trap=sR(this._el.nativeElement,this._static_options),this._trap.activate()))}ngOnDestroy(){this._trap&&this._trap.deactivate()}}oR.ɵfac=function(e){return new(e||oR)(Yc(Ar))},oR.ɵdir=Tn({type:oR,selectors:[["","ng-focus-trap",""]],inputs:{options:[e.InputFlags.None,"ng-trap-options","options"],returnFocusTo:[e.InputFlags.None,"return-focus","returnFocusTo"],focustrap:[e.InputFlags.None,"ng-focus-trap","focustrap"]}});class aR{}aR.ɵfac=function(e){return new(e||aR)},aR.ɵmod=wn({type:aR}),aR.ɵinj=Vr({});const lR=["content"],cR=["dialog"],uR=["dialogContainer"];function dR(e,t){}function hR(e,t){if(1&e){const e=h_();r_(0,"div",8),Nm("onTap",(function(){ji(e);return Vi(Hm(2).Close())})),s_()}2&e&&hg("zing-no-touch",!0)}const pR=(e,t,n)=>({opened:e,mobilefullscreen:t,"ng-md-fullscreen":n});function fR(e,t){if(1&e&&(r_(0,"div",1,2)(2,"div",3,4)(4,"span",5),Iv(5),s_(),cp(6,dR,0,0,"ng-template",null,6,Eb)(8,hR,1,1,"div",7),s_()()),2&e){const e=Hm();hg("ngClass",nb(9,pR,e.opened,e.fullInMobile,e.fullscreenmode)),$c(2),gg("ready",e.ready),hg("ng-focus-trap",e.ready)("return-focus",e.return_focus_to),Df("aria-labelledby",e.dialog_title_id),$c(2),Df("id",e.dialog_title_id),$c(),Sv(e.dialog_title),$c(3),hg("ngIf",e.hasclose)}}class gR{constructor(e,t,n){this._zone=e,this._dservice=t,this._render=n,this.opened=!1,this.ready=!1,this.hasclose=!0,this.is_node=RI(),this.onClose=new kt,this.onAfterClose=new kt,this.fullInMobile=!1,this.fullinmobileheader=!1,this.fullscreenmode=!1,this.dialog_title="",this.container_scroll=!1,this.dialog_title_id=null,this.dialog_title_id=JI("md-"),l.import("css:/modal-dialog.css").catch((e=>{console.error("Error loading modal dialog styles:",e)}))}_destroyActiveComponent(){this._activeComponent&&(this._activeComponent.destroy(),this._activeComponent=null,this.container.clear())}Close(e,t){if(this.opened=!1,this.return_focus_to=null,this.myEl&&this.myEl.nativeElement&&(this._render.setAttribute(this.myEl.nativeElement,"style",""),this._render.setAttribute(this.myElContainer.nativeElement,"style","")),t||this._dservice.canScroll(!0),setTimeout((()=>{XI((()=>{this._zone.run((()=>{this._destroyActiveComponent(),this.ready=!1,this.onAfterClose.emit()}))}))}),300),this.onClose.emit(e),this.myId="",this._scroll_lock&&(this._dservice.canScroll(!0),TD(this.container_scroll?this.myElContainer.nativeElement:this.myEl.nativeElement),this._scroll_lock=!1),this._headerWatch&&(this._headerWatch.unsubscribe(),this._headerWatch=null),this.fullscreenmode&&(Mx.emit("header:visibility",!0,!0),Mx.emit("$native:modal-full","close")),this.fullInMobile){if(this.fullinmobileheader){let e=Xx();RI()||e.classList.remove("ng-md-fullscreenmobile")}window.innerWidth<=580&&Mx.emit("$native:modal-full","close")}}Open(e,t,n){this.opened=!0,this.ready=!0,this._destroyActiveComponent();let i=!1;try{this._activeComponent=this.container.createComponent(e)}catch(e){i=!0,this.opened=!1,this.ready=!1,console.error(e)}if(i)return this;const r=this._activeComponent.instance;if(r.data=t,n&&(n.hostid&&(this.myId=n.hostid),"withclose"in n&&(this.hasclose=n.withclose),n.return_focus_to&&(this.return_focus_to=n.return_focus_to)),this.fullscreenmode?(Mx.emit("header:visibility",!1,!0),Mx.emit("$native:modal-full","open"),this.hasclose=!1):(this._headerWatch=Mx.subscribe("header:position-change",(e=>{e&&e>0&&this.myEl?this.myEl.nativeElement.style.top=e+"px":this.myEl.nativeElement.style.top=""})),this.fullInMobile&&window.innerWidth<580&&Mx.emit("$native:modal-full","open")),r.closeDialog=e=>{this._zone.run((()=>{this.Close(e)}))},!this._scroll_lock&&this.myEl&&(this._dservice.canScroll(!1),ED(this.container_scroll?this.myElContainer.nativeElement:this.myEl.nativeElement),this._scroll_lock=!0),this.fullInMobile&&this.fullinmobileheader){let e=Xx();e&&e.classList.add("ng-md-fullscreenmobile")}return this}UpdateData(e){this._activeComponent.instance.data=e}GetActiveComponent(){return this._activeComponent.instance}ngOnDestroy(){if(this._destroyActiveComponent(),this._headerWatch&&(this._headerWatch.unsubscribe(),this._headerWatch=null),this.onClose.complete&&this.onClose.complete(),this._scroll_lock&&TD(this.container_scroll?this.myElContainer.nativeElement:this.myEl.nativeElement),this.fullscreenmode&&(Mx.emit("header:visibility",!0,!0),Mx.emit("$native:modal-full","close")),this.fullInMobile&&!RI()){if(this.fullinmobileheader){let e=Xx();e&&e.classList.remove("ng-md-fullscreenmobile")}window.innerWidth<=580&&Mx.emit("$native:modal-full","close")}this.myEl&&this.myEl.nativeElement&&(this._render.setAttribute(this.myEl.nativeElement,"style",""),this._render.setAttribute(this.myElContainer.nativeElement,"style","")),this._dservice.canScroll(!0)}}gR.ɵfac=function(e){return new(e||gR)(Yc(Td),Yc(lC),Yc(gd))},gR.ɵcmp=vn({type:gR,selectors:[["modal-dialog"]],viewQuery:function(e,t){if(1&e&&(Xm(lR,5,Yd),Xm(cR,5),Xm(uR,5)),2&e){let e;ev(e=tv())&&(t.container=e.first),ev(e=tv())&&(t.myEl=e.first),ev(e=tv())&&(t.myElContainer=e.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:1,hostBindings:function(e,t){2&e&&Df("id",t.myId)},inputs:{fullInMobile:[e.InputFlags.None,"mobile-full","fullInMobile"],fullinmobileheader:[e.InputFlags.None,"mobile-full-no-header","fullinmobileheader"],fullscreenmode:[e.InputFlags.None,"fullscreen","fullscreenmode"],dialog_title:[e.InputFlags.None,"title","dialog_title"],container_scroll:[e.InputFlags.None,"container-scroll","container_scroll"]},outputs:{onClose:"onClose",onAfterClose:"onAfterClose"},decls:1,vars:1,consts:[["class","ng-modal-dialog",3,"ngClass",4,"ngIf"],[1,"ng-modal-dialog",3,"ngClass"],["dialog",""],["role","dialog","aria-modal","true","tabindex","0",1,"ng-modal-container",3,"ng-focus-trap","return-focus"],["dialogContainer",""],["hidden","true"],["content",""],["class","close-btn af-icon-cross-slim","zing-touch","","aria-label","Close overlay","role","button","tabindex","0",3,"zing-no-touch","onTap",4,"ngIf"],["zing-touch","","aria-label","Close overlay","role","button","tabindex","0",1,"close-btn","af-icon-cross-slim",3,"zing-no-touch","onTap"]],template:function(e,t){1&e&&cp(0,fR,9,13,"div",0),2&e&&hg("ngIf",!t.is_node)},dependencies:[gT,wT,iC,oR],encapsulation:2});class _R{}function mR(e,t,n,i,r,s={},o){return Promise.resolve(Gh(n,t)).then((t=>{const n=sw(i,{environmentInjector:t.injector,hostElement:"string"==typeof r?document.querySelector(r):r});return WI(s,((e,t)=>{n.instance[t]=e})),e.attachView(n.hostView),{ngModule:t,Component:n,destroy:()=>{t.destroy(),n.destroy()}}}))}_R.ɵfac=function(e){return new(e||_R)},_R.ɵmod=wn({type:_R}),_R.ɵinj=Vr({imports:[tI,ax,aR]});class vR{set src(e){e?this._src=e:this.fallback&&(this._src=this.fallback)}get src(){return this._src}constructor(e,t){this._el=e,this._renderer=t,this.onImageFailed=new kt}ngOnInit(){RI()?this._src&&(this.server_render?iD.getKey("server-render")?this._renderer.setAttribute(this._el.nativeElement,"src",this._src):(this._renderer.setAttribute(this._el.nativeElement,"data-src",this._src),this.keep_space?this._renderer.setStyle(this._el.nativeElement,"opacity","0"):this._renderer.setStyle(this._el.nativeElement,"display","none")):(this._renderer.setAttribute(this._el.nativeElement,this.prepare_ui?"data-src":"src",this._src),this.prepare_ui&&(this.keep_space?this._renderer.setStyle(this._el.nativeElement,"opacity","0"):this._renderer.setStyle(this._el.nativeElement,"display","none")))):this._Preload()}_Preload(){if(this._el.nativeElement&&(this._src||this.fallback)){const e=this._src||this.fallback;let t=this._renderer.createElement("img");const n=this._renderer.listen(t,"load",(()=>{n(),i(),this._renderer.setAttribute(this._el.nativeElement,"src",e),this._renderer.setStyle(this._el.nativeElement,"display",""),this._renderer.setStyle(this._el.nativeElement,"opacity","1"),t=null})),i=this._renderer.listen(t,"error",(()=>{i(),n(),this.onImageFailed.emit(),t=null,this.keep_space||this._renderer.setStyle(this._el.nativeElement,"display","none")}));this._renderer.setAttribute(t,"src",e),this.keep_space?this._renderer.setStyle(this._el.nativeElement,"opacity","0"):this._renderer.setStyle(this._el.nativeElement,"display","none")}}}vR.ɵfac=function(e){return new(e||vR)(Yc(Ar),Yc(gd))},vR.ɵdir=Tn({type:vR,selectors:[["","preload-src",""]],inputs:{src:[e.InputFlags.None,"preload-src","src"],fallback:[e.InputFlags.None,"src-fallback","fallback"],prepare_ui:[e.InputFlags.None,"ui-hydrate","prepare_ui"],keep_space:[e.InputFlags.None,"keep-space","keep_space"],server_render:[e.InputFlags.None,"server-render","server_render"]},outputs:{onImageFailed:"imageFailed"}});class bR{}bR.ɵfac=function(e){return new(e||bR)},bR.ɵmod=wn({type:bR}),bR.ɵinj=Vr({imports:[tI]});const yR=["deferImg"];class wR{set src(e){e?this._src=e:this.fallback&&(this._src=this.fallback),this._src&&this.deferImg&&(this._viewed||(!this._has_intersect||RI())&&this._src&&this.deferImg)&&this._renderer.setAttribute(this.deferImg.nativeElement,"src",this._src)}get src(){return this._src}constructor(e,t){this._el=e,this._renderer=t,this._viewed=!1,this._has_intersect=!(RI()||!window.IntersectionObserver)}ngOnInit(){this.onError=this.onError.bind(this),this.onLoad=this.onLoad.bind(this),iD.getKey("server-render")&&(this._prepare_ui=!1)}ngAfterViewInit(){if(this._has_intersect&&this.deferImg){this._intersectionObserver=new IntersectionObserver((e=>{let t=!1;for(let n=0,i=e.length;n<i;n++){let i=e[n];if(KI(i.isIntersecting)&&this._isInViewport(i,!0)){t=!0;break}if(i.isIntersecting){t=!0;break}}t&&this._InitiateImageLoad()}),{threshold:.7}),this._renderer.setStyle(this.deferImg.nativeElement,"opacity",0);let e=this.deferImg.nativeElement.width,t=this.deferImg.nativeElement.height;if(window.getComputedStyle){let n=MI(window.getComputedStyle(this.deferImg.nativeElement).width),i=MI(window.getComputedStyle(this.deferImg.nativeElement).height);PI(n)&&PI(i)&&(e=n,t=i)}e&&this._renderer.setStyle(this.deferImg.nativeElement,"width",e+"px"),t&&this._renderer.setStyle(this.deferImg.nativeElement,"height",t+"px"),this._intersectionObserver.observe(this._el.nativeElement),this._isInViewport(this._el)&&this._InitiateImageLoad()}else if(this.src&&this.deferImg){let e=this.deferImg.nativeElement;RI()?this._prepare_ui?(this._renderer.setStyle(e,"display","none"),this._renderer.setAttribute(e,"data-src",this.src)):(this._renderer.setAttribute(e,"src",this.src),this._renderer.setAttribute(e,"loading","lazy")):(this._renderer.listen(e,"error",this.onError),this._renderer.setAttribute(e,"src",this.src))}}ngOnDestroy(){this._intersectionObserver&&this._intersectionObserver.disconnect(),this._intersectionObserver=null}onError(e){if(RI()||!e)return;let t=this.deferImg.nativeElement;this.fallback&&t.src!=this.fallback?(t.src=this.fallback,t.style.display=""):t.style.display="none"}onLoad(e){this._renderer.setStyle(this.deferImg.nativeElement,"display",""),this._renderer.addClass(this.deferImg.nativeElement,"defer-img-ok"),this._renderer.setStyle(this.deferImg.nativeElement,"opacity",""),this._renderer.addClass(this.deferImg.nativeElement,"ng-enter-element"),this._renderer.setStyle(this.deferImg.nativeElement,"width",""),this._renderer.setStyle(this.deferImg.nativeElement,"height","")}_isInViewport(e,t){var n=t?e.boundingClientRect:e.nativeElement.getBoundingClientRect(),i=n.height||n.bottom-n.top,r=n.width||n.right-n.left;return!(!i||!r)&&!(n.top+.4*n.height>window.innerHeight||n.bottom<0)}_InitiateImageLoad(){if(!this.src)return;if(this._viewed)return;let e=this.deferImg.nativeElement;this._renderer.listen(e,"error",this.onError),this._renderer.listen(e,"load",this.onLoad),this._viewed=!0,this._intersectionObserver&&(this._intersectionObserver.disconnect(),this._intersectionObserver=null),this._renderer.setAttribute(this.deferImg.nativeElement,"src",this.src)}}wR.ɵfac=function(e){return new(e||wR)(Yc(Ar),Yc(gd))},wR.ɵdir=Tn({type:wR,selectors:[["","defer-src",""]],contentQueries:function(e,t,n){if(1&e&&Jm(n,yR,5,Ar),2&e){let e;ev(e=tv())&&(t.deferImg=e.first)}},inputs:{src:[e.InputFlags.None,"defer-src","src"],fallback:[e.InputFlags.None,"src-fallback","fallback"],_prepare_ui:[e.InputFlags.None,"ui-hydrate","_prepare_ui"]}});class ER{}ER.ɵfac=function(e){return new(e||ER)},ER.ɵmod=wn({type:ER}),ER.ɵinj=Vr({imports:[tI]});class TR{constructor(){this.exptime=1296e6,this._localgroup="",this.compareEmitter=new oe({})}ngOnDestroy(){this.compareEmitter.complete()}toggleCompare(e){this.compareEmitter.next({type:"toggle",event:e})}setLocalGroup(e){this._localgroup=e}getLocalGroup(){return this._localgroup}getSavedProducts(e){if(!(e=e||this._localgroup))return[];const t=rD.group();rD.group("src-prd");const n=rD.get(`saved_${e}`)||[],i=rD.get(`skipped_${e}`)||[],r=n.filter((e=>!i.includes(e)));return rD.group(t),r}getSkippedProducts(e){if(!(e=e||this._localgroup))return[];const t=rD.group();rD.group("src-prd");const n=rD.get(`skipped_${e}`)||[];return rD.group(t),n}saveProduct(e,t){if(!(t=t||this._localgroup))return null;const n=rD.group();rD.group("src-prd");const i=rD.get(`saved_${t}`)||[];i.push(e.pid),rD.set(`saved_${t}`,i),rD.expire(`saved_${t}`,this.exptime);const r=rD.get(`skipped_${t}`)||[],s=r.findIndex((t=>t===e.pid));s>-1&&(r.splice(s,1),rD.set(`skipped_${t}`,r),rD.expire(`skipped_${t}`,this.exptime)),rD.group(n)}removeProduct(e,t){if(!(t=t||this._localgroup))return null;const n=rD.group();rD.group("src-prd");const i=rD.get(`saved_${t}`)||[],r=i.findIndex((t=>t===e));r>-1&&(i.splice(r,1),rD.set(`saved_${t}`,i),rD.expire(`saved_${t}`,this.exptime));const s=rD.get(`skipped_${t}`)||[];(null==s?void 0:s.findIndex((t=>t===e)))<0&&(s.push(e),rD.set(`skipped_${t}`,s),rD.expire(`skipped_${t}`,this.exptime)),rD.group(n)}clearSavedProducts(e){if(!(e=e||this._localgroup))return null;const t=rD.group();rD.group("src-prd"),rD.remove(`saved_${e}`),rD.group(t),this.compareEmitter.next({type:"reset"})}saveBalance(e,t){if(!(t=t||this._localgroup))return null;const n=rD.group();rD.group("src-prd"),rD.set(`balance_${t}`,e),rD.expire("balance",this.exptime),rD.group(n)}getBalance(e){if(!(e=e||this._localgroup))return null;const t=rD.group();rD.group("src-prd");const n=rD.get(`balance_${e}`);return rD.group(t),KI(n)?0:n}}TR.ɵfac=function(e){return new(e||TR)},TR.ɵprov=jr({token:TR,factory:TR.ɵfac});class IR{set src(e){this._src=e,!this._src&&this.fallback&&(this._src=this.fallback),this._src&&this._renderer.setAttribute(this._el.nativeElement,"src",this._src)}get src(){return this._src}constructor(e,t){this._el=e,this._renderer=t,this.onImageFailed=new kt}onError(e){if(RI()||!e)return;let t=this._el.nativeElement;this.fallback&&t.src!=this.fallback?(t.src=this.fallback,t.style.display=""):t.style.display="none",this.onImageFailed.emit(!0)}ngOnInit(){if(RI())return;this.onError=this.onError.bind(this),this._el.nativeElement.addEventListener("error",this.onError)}ngOnDestroy(){if(RI())return;this._el.nativeElement.removeEventListener("error",this.onError)}}IR.ɵfac=function(e){return new(e||IR)(Yc(Ar),Yc(gd))},IR.ɵdir=Tn({type:IR,selectors:[["","on-img-error",""]],inputs:{fallback:[e.InputFlags.None,"on-img-error","fallback"],src:"src"},outputs:{onImageFailed:"image-failed"}});class CR{}CR.ɵfac=function(e){return new(e||CR)},CR.ɵmod=wn({type:CR}),CR.ɵinj=Vr({imports:[tI]});const SR=["content"];function AR(e,t){if(1&e){const e=h_();r_(0,"span",4),Nm("onClick",(function(){ji(e);return Vi(Hm().Collapse())})),Iv(1,"show less"),s_()}}function xR(e,t){if(1&e){const e=h_();r_(0,"div",5),Nm("onExpand",(function(t){ji(e);return Vi(Hm().Expanded(t))})),s_()}if(2&e){const e=Hm();hg("ng-truncate",e.htmlcontent)("breakpoint",e.breakpoint)("breakwords",e.breakwords)}}class DR{set content(e){if(this._content=e||"",this._initiated){const e=()=>{this._expandct?this._ShowFullCT():this._Truncate()};RI()?e():setTimeout(e)}}set expandContent(e){this._expandContent.next(e),this._expandct=e}get expLabel(){return this.expand_bt&&""!==this.expand_bt?this.expand_bt:"show more"}get copLabel(){return this.collapse_bt&&""!==this.collapse_bt?this.collapse_bt:"show less"}constructor(e,t,n){this._el=e,this._render=t,this._scroller=n,this._cleanups=[],this.breakpoint=768,this.breakwords={416:35,541:50,769:70,1282:90,1901:100,2048:150},this.staticbreak=null,this._content="",this.sanitize=!0,this.sanitizeCFG={RETURN_DOM_FRAGMENT:!1,RETURN_DOM:!1,USE_PROFILES:{html:!0,svg:!0,svgFilters:!0},ALLOW_UNKNOWN_PROTOCOLS:!0,KEEP_CONTENT:!0,ADD_TAGS:["meta","noscript"],ADD_ATTR:["content","itemprop","itemtype","itemscope","id","name","target"]},this.use_shave_break=!1,this.expand_bt="show more",this.collapse_bt="show less",this.hellip="...",this.auto_truncate=!0,this._expanded=!1,this._initiated=!1,this.istruncated=new oe(null),this._expandContent=new re,this._expandct=!1,this.auto_focus=!1,this.skip_shortcodes=!1,this.onExpand=new kt,this.hasExpandButton=new kt,this.onContent=new kt}ngOnInit(){this.hasExpandButton.emit(!1),this._document=window.document,!this._expandct&&this._content||RI()?this._Truncate():this._ShowFullCT(),this._initiated=!0}_isElemVisible(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}_MoveFocus(){if(!RI()){const e=this._el.nativeElement,t=this._el.nativeElement.querySelector(".js-shave-char-less");let n=0;if(this._scroller.onScroll.pipe(yt(1)).subscribe((e=>{n=e})),this.auto_focus)for(let t=0,i=e.childNodes.length;t<i;t++){const i=e.childNodes[t];if(i.focus){i.setAttribute("tabindex","0"),i.focus(),setTimeout((()=>{i.focus(),this._scroller.scrollTo({position:n,timing:0})}));break}}else t&&this._isElemVisible(t)&&(t.focus(),setTimeout((()=>{t.focus(),this._scroller.scrollTo({position:n,timing:0})})))}}_WordCount(e){let t=NI((1==e.nodeType?e.textContent:e.wholeText)+"");return""==t?0:t.split(/\s+/g).length}_CutHTML(e,t){let n=e.parentNode,i=null;if(!n)return;let r=[];for(let t=0,s=n.childNodes.length;t<s;t++){let s=n.childNodes[t];s==e?i=t:null!==i&&t>i&&(!s.tagName||"td"!==s.tagName.toLowerCase())&&r.push(s)}r.forEach((e=>{e.parentNode.removeChild(e)})),n!=t&&n&&this._CutHTML(n,t)}_AddExpandBT(e){let t=e.parentNode;t.removeChild(e),t.innerHTML=NI(t.innerHTML);let n=t.tagName.toLowerCase();if(QI(n,["tr","tbody","thead","tfoot"])){if("table"!=n){let e=t.parentNode;for(n=e.tagName.toLowerCase();"table"!=n&&n;)e=e.parentNode,n=e&&e.tagName?e.tagName.toLowerCase():null;"table"==n&&(t=e)}t.insertAdjacentHTML("afterend",` <span aria-label="${this.expLabel}" class="js-shave-char cursor-pointer" role="button" tabindex="0">${this.expand_bt}</span>`),t.insertAdjacentText?t.insertAdjacentText("afterend",this.hellip):t.insertAdjacentHTML("afterend",this.hellip)}else if(t.insertAdjacentText?t.insertAdjacentText("beforeend",this.hellip):t.insertAdjacentHTML("beforeend",this.hellip),"a"==n)t.insertAdjacentHTML("afterend",` <span aria-label="${this.expLabel}" class="js-shave-char cursor-pointer" role="button" tabindex="0">${this.expand_bt}</span>`);else{for(t.parentNode&&"a"==t.parentNode.tagName.toLowerCase()&&(n="a",t=t.parentNode);"a"==n&&t.parentNode;)t=t.parentNode,n=t.tagName.toLowerCase();t.insertAdjacentHTML("beforeend",` <span aria-label="${this.expLabel}" class="js-shave-char cursor-pointer" role="button" tabindex="0">${this.expand_bt}</span>`)}XI((()=>{this.hasExpandButton.emit(!0)})),this.istruncated.next(!0),RI()&&this.onContent.emit("collapsed")}_Shave(e,t){if(this._WordCount(e)<=t)return;let n=void 0===e.textContent?"innerText":"textContent",i=e[n].split(" ");if(i.length<2)return;let r,s=i.length-1,o=0,a=!1;for(;o<s;){r=o+s+1>>1;let l=i.slice(0,r).join(" ");a=l.lastIndexOf(".")>-1,e[n]=l,e.insertAdjacentHTML("beforeend",`<span class="js-shave-char cursor-pointer" role="button" tabindex="0" aria-label="${this.expLabel}">${a?"":"."}..${this.expand_bt}</span>`),this._WordCount(e)>t?s=r-1:o=r}}_TruncateWithLimit(e,t){const n=[];if(this.skip_shortcodes){const t=/\[[^\]]*\]/g,i=/\[url\s([^[\]]*)\]([^\[]*)\[\/url\]/g;let r=0;e=(e=e.replace(i,(e=>{const t=`|SHORTCODE_${r}|`;return n.push(e),r++,t}))).replace(t,(e=>{const t=`|SHORTCODE_${r}|`;return n.push(e),r++,t}))}let i=this._document.createElement("div");i.innerHTML=e;let r=0,s=!1,o=e=>{for(let n=0,i=e.childNodes.length;n<i;n++){let i=e.childNodes[n];if(1==i.nodeType){if(i.classList.contains("cc-list-buttons")||i.classList.contains("summary-picks-grid")||i.classList.contains("cc-trust")||i.classList.contains("wh-drawer")||i.classList.contains("wh-pro-tip")||QI(i.tagName.toLowerCase(),["blockquote","br"]))continue;if("a"==i.tagName.toLowerCase()&&i.hasAttribute("href"))continue;if(o(i))return!0}else if(3==i.nodeType){let e=i[void 0===i.textContent?"innerText":"textContent"],n=NI(e).split(/\s+/g);if(r+=n.length,/^\s/.test(e)&&(n[0]=" "+n[0]),/\s$/.test(e)&&(n[n.length-1]+=" "),r>t){const e=r-t;if(i.nodeValue=n.slice(0,n.length-e).join(" "),i.parentNode){const t=this._document.createElement("div"),r=this._document.createElement("span");r.setAttribute("data-chop","auto"),t.appendChild(r);const s=this._document.createElement("div");s.innerHTML=n.slice(n.length-e).join(" "),i!==i.parentNode.lastChild?i.parentNode.insertBefore(r,i.nextElementSibling):(i.parentNode.appendChild(r),i.parentNode.insertAdjacentHTML("beforeend",s.innerHTML))}return s=!0,!0}}}};if(o(i),s){let e=i.querySelector('span[data-chop="auto"]');e&&i.lastChild!==e&&(this._CutHTML(e,i),e.parentNode==i&&(i.innerHTML=i.innerHTML.split(e.outerHTML)[0]+e.outerHTML,e=i.querySelector('span[data-chop="auto"]')),this._AddExpandBT(e))}let a=i.innerHTML;return n.length&&n.forEach(((e,t)=>{a=a.replace(`|SHORTCODE_${t}|`,e)})),a}_Truncate(){this.istruncated.next(!1),this.hasExpandButton.emit(!1),XI((()=>{const e=this.istruncated.getValue();this.onContent.emit(e?"collapsed":"expanded")}));let e=this._content;if(!this._document)return;if(this.staticbreak&&!this._expandct){e=e.replace(/(?:\\r\\n|\\r|\\n)/g,""),e=NI(e),e=e.replace("[chop]",'<span data-chop="desktop"></span>').replace("[mobilechop]","");let t=this._document.createElement("div");t.innerHTML=e;let n=t.querySelector('span[data-chop="desktop"]');return n?t.lastChild==n?n.parentNode.removeChild(n):(this._CutHTML(n,t),n.parentNode==t&&(t.innerHTML=t.innerHTML.split(n.outerHTML)[0]+n.outerHTML,n=t.querySelector('span[data-chop="desktop"]')),this._AddExpandBT(n),e=t.innerHTML):this._WordCount(t)>this.staticbreak&&(e=this._TruncateWithLimit(e,this.staticbreak)),this.sanitize&&(e=WA(e,this.sanitizeCFG)),void this._render.setProperty(this._el.nativeElement,"innerHTML",e)}if(e=e.replace("[chop]","\x3c!--chop--\x3e").replace("[mobilechop]","\x3c!--mobilechop--\x3e"),e=e.replace('<span data-chop="desktop"></span>',"\x3c!--chop--\x3e").replace('<span data-chop="mobile"></span>',"\x3c!--mobilechop--\x3e"),e=e.replace(/(?:\\r\\n|\\r|\\n)/g,""),e=NI(e),RI())return this.sanitize&&(e=WA(e,this.sanitizeCFG)),void this._render.setProperty(this._el.nativeElement,"innerHTML",e);let t=window.innerWidth||this._document.body.clientWidth;t<this.breakpoint&&e.indexOf("\x3c!--mobilechop--\x3e")<0&&(e=e.replace(/<!--(auto)?(mobile)?chop-->/g,""));let n=!1,i=!1;t>=this.breakpoint?e.indexOf("\x3c!--chop--\x3e")>0&&(n=!0):e.indexOf("\x3c!--chop--\x3e")>0&&e.indexOf("\x3c!--mobilechop--\x3e")<0?n=!0:e.indexOf("\x3c!--mobilechop--\x3e")>0&&(n=i=!0),n||(e=e.replace("\x3c!--chop--\x3e","").replace("\x3c!--mobilechop--\x3e","")),e=t>this.breakpoint?e.replace(/(<!--chop-->)\s*(<!--mobilechop-->)/,"$2$1"):e.replace(/(<!--mobilechop-->)\s*(<!--chop-->)/,"$2$1"),e=e.replace("\x3c!--chop--\x3e",'<span data-chop="desktop"></span>'),e=e.replace("\x3c!--mobilechop--\x3e",'<span data-chop="mobile"></span>');let r=this._document.createElement("div");r.innerHTML=e;let s=r.querySelector('span[data-chop="desktop"]'),o=r.querySelector('span[data-chop="mobile"]');if(!s&&!o&&!this.auto_truncate)return e=WA(e,this.sanitizeCFG),void this._render.setProperty(this._el.nativeElement,"innerHTML",e);let a=!1,l=!!this.breakwords;if(r.lastChild==s||r.lastChild==o)l=!1,s&&r.lastChild==s&&(s.parentNode.removeChild(s),s=null,o&&r.lastChild==o&&(o.parentNode.removeChild(o),o=null)),o&&r.lastChild==o&&(o.parentNode.removeChild(o),o=null,s&&r.lastChild==s&&(s.parentNode.removeChild(s),s=null));else{if(s&&s.parentNode.lastChild==s){let e=s.parentNode,t=!0;for(;e&&e!==r;){if(e.parentNode.lastChild!=e){t=!1;break}e=e.parentNode}t&&(l=!1,s.parentNode.removeChild(s),s=null)}if(o&&o.parentNode.lastChild==o){let e=o.parentNode,t=!0;for(;e&&e!==r;){if(e.parentNode.lastChild!=e){t=!1;break}e=e.parentNode}t&&(l=!1,o.parentNode.removeChild(o),o=null)}}if(s&&(t>this.breakpoint||!i))this._CutHTML(s,r),s.parentNode==r&&(r.innerHTML=r.innerHTML.split(s.outerHTML)[0]+s.outerHTML,s=r.querySelector('span[data-chop="desktop"]')),this._AddExpandBT(s);else if(i&&o&&t<this.breakpoint)this._CutHTML(o,r),o.parentNode==r&&(r.innerHTML=r.innerHTML.split(o.outerHTML)[0]+o.outerHTML,o=r.querySelector('span[data-chop="mobile"]')),this._AddExpandBT(o);else if(l){let n;if(WI(this.breakwords,((e,i)=>{if(t<MI(i))return n=e,!1})),n)if(this.use_shave_break)this._Shave(r,n),a=!0;else if(this._WordCount(r)>n){const t=this._TruncateWithLimit(e,n);return void this._render.setProperty(this._el.nativeElement,"innerHTML",t)}}let c=r.innerHTML;!a&&this.sanitize&&(c=WA(r.innerHTML,this.sanitizeCFG)),this._render.setProperty(this._el.nativeElement,"innerHTML",c)}_ShowFullCT(){let e=this._content||"";this.sanitize&&(e=WA(e,this.sanitizeCFG)),this.collapse_bt&&(e+=`<br class="js-shave-br" /><span class="js-shave-char cursor-pointer js-shave-char-less" role="button" tabindex="0">${this.collapse_bt}</span>`),e=e.replace("[chop]","").replace("[mobilechop]",""),this._render.setProperty(this._el.nativeElement,"innerHTML",e),this._MoveFocus(),XI((()=>{this.onContent.emit("expanded")}))}Expand(e){if(RI())return;let t=e.target;const n=()=>{this.onExpand.emit(this._expanded),Mx.emit("$shortcodes:set")};t&&t.classList&&t.classList.contains("js-shave-char")&&(this._expanded=!this._expanded,this._expanded?(this._ShowFullCT(),n()):(this._expandct=!1,this._Truncate(),n()))}ngAfterViewInit(){RI()||(this._windowobs=gt(window,"resize"),this._windowobs.subscribe((()=>{!this._content||this._expanded||this._expandct||this._Truncate()})),this._expandContent.subscribe((e=>{this._content&&(this._expanded=!e,this.Expand({target:{classList:{contains:()=>!0}}}))})),this._cleanups.push(this._render.listen(this._el.nativeElement,"click",(e=>{this.Expand(e)}))))}ngOnDestroy(){this._windowobs&&(this._windowobs=null),this._windowsubs&&this._windowsubs.unsubscribe(),this.istruncated.complete(),this._cleanups.forEach((e=>{e()})),this._document=null}}DR.ɵfac=function(e){return new(e||DR)(Yc(Ar),Yc(gd),Yc(lC))},DR.ɵdir=Tn({type:DR,selectors:[["","ng-truncate",""]],inputs:{breakpoint:"breakpoint",breakwords:"breakwords",staticbreak:[e.InputFlags.None,"breakwords-static","staticbreak"],content:[e.InputFlags.None,"ng-truncate","content"],sanitize:"sanitize",sanitizeCFG:[e.InputFlags.None,"sanitize-cfg","sanitizeCFG"],use_shave_break:[e.InputFlags.None,"use-shave","use_shave_break"],expand_bt:[e.InputFlags.None,"expand-button","expand_bt"],collapse_bt:[e.InputFlags.None,"collapse-button","collapse_bt"],hellip:"hellip",auto_truncate:[e.InputFlags.None,"auto-trim","auto_truncate"],expandContent:[e.InputFlags.None,"expand-content","expandContent"],auto_focus:[e.InputFlags.None,"auto-focus","auto_focus"]},outputs:{onExpand:"onExpand",hasExpandButton:"hasExpandButton",onContent:"onContent"}});class RR{constructor(e,t){this._cd=e,this._render=t,this.breakpoint=768,this.breakwords={416:35,541:50,769:70,1282:90,1901:100,2048:150},this.expand_mode="dynamic",this.hide_org_content=!0,this.perma_expand=!1,this.htmlcontent="",this.onExpand=new kt}Expanded(e){if(e&&(this.hide_org_content=!1,"permanent"==this.expand_mode&&(this.perma_expand=!0)),this.onExpand.emit(e),this._cd.detectChanges(),this.contentBox&&this.contentBox.nativeElement){const e=this.contentBox.nativeElement;for(let t=0,n=e.childNodes.length;t<n;t++){const n=e.childNodes[t];if(n.focus){n.setAttribute("tabindex","0"),n.focus(),setTimeout((()=>{n.focus()}));break}}}}Collapse(){this.hide_org_content=!0,this._cd.detectChanges()}ngOnInit(){this.hide_org_content=!RI(),RI()?(this.hide_org_content=!1,this.perma_expand=!0):this._observer=new MutationObserver((e=>{this.htmlcontent=this.contentBox.nativeElement.innerHTML,XI((()=>{this._cd.detectChanges()}))}))}ngAfterViewInit(){RI()||(this.htmlcontent=this.contentBox.nativeElement.innerHTML,XI((()=>{this._cd.detectChanges()})),this._observer.observe(this.contentBox.nativeElement,{attributes:!1,childList:!0,characterData:!0}))}ngOnDestroy(){this._observer.disconnect()}}RR.ɵfac=function(e){return new(e||RR)(Yc(Ly),Yc(gd))},RR.ɵcmp=vn({type:RR,selectors:[["ng-truncate"]],viewQuery:function(e,t){if(1&e&&Xm(SR,5),2&e){let e;ev(e=tv())&&(t.contentBox=e.first)}},inputs:{breakpoint:"breakpoint",breakwords:"breakwords",expand_mode:[e.InputFlags.None,"expand","expand_mode"]},outputs:{onExpand:"onExpand"},ngContentSelectors:["*"],decls:5,vars:3,consts:[[3,"ng-hidden"],["content",""],["class","js-shave-char cursor-pointer js-shave-char-expanded","zing-touch","","role","button","tabindex","0",3,"onClick",4,"ngIf"],[3,"ng-truncate","breakpoint","breakwords","onExpand",4,"ngIf"],["zing-touch","","role","button","tabindex","0",1,"js-shave-char","cursor-pointer","js-shave-char-expanded",3,"onClick"],[3,"ng-truncate","breakpoint","breakwords","onExpand"]],template:function(e,t){1&e&&(zm(),r_(0,"div",0,1),qm(2),s_(),cp(3,AR,2,0,"span",2)(4,xR,1,3,"div",3)),2&e&&(hg("ng-hidden",t.hide_org_content),$c(3),hg("ngIf",!t.hide_org_content&&!t.perma_expand),$c(),hg("ngIf",t.hide_org_content))},dependencies:[wT,iC,$A,DR],encapsulation:2,changeDetection:0});class kR{}kR.ɵfac=function(e){return new(e||kR)},kR.ɵmod=wn({type:kR}),kR.ɵinj=Vr({imports:[tI,ax]});class OR{get noclick(){return!!this.data.noclickname}get noforeignfee(){return!!this.data.noforeignfee}get ftr_cat(){return this.data.ftr_cat}get activation_fee(){return this.data.act_fee}get monthly_fee(){return this.data.monthly_fee}get sig_txn_fee(){return this.data.sig_txn_fee}get short_name(){return this.data.short_name}get short_name_real(){return this.data.short_name_real}get bt_allowed(){return"Y"==this.data.bt_allowed}get pin_txn_fee(){return this.data.pin_txn_fee}get atm_fee_in(){return this.data.atm_fee_in}get in_network_atms_num(){return this.data.in_network_atms_num}get atm_fee(){return this.data.atm_fee}get international_txn_fee(){return this.data.international_txn_fee}get max_late_fee(){return this.data.max_late_fee}get max_olmt_fee(){return this.data.max_olmt_fee}get default_apr(){return this.data.default_apr}get cash_apr(){return this.data.cash_apr}get cash_advance_fee(){return this.data.cash_advance_fee}get it_fee(){return this.data.it_fee}get grace_period(){return this.data.grace_period}get emv_chip(){return this.data.emv_chip}get live_cust_svc(){return this.data.live_cust_svc}get auto_cust_svc(){return this.data.auto_cust_svc}get reload_networks(){return this.data.reload_networks}get cancel_fee(){return this.data.cancel_fee}get inact_fee(){return this.data.inact_fee}set tracking_url(e){this.data.tracking_url=e}get tracking_url(){return this.data.tracking_url}get manual_apply(){return this.data.manual_apply}set manual_apply(e){this.data.manual_apply=e}get details_page_full(){return this.data.details_page_full}set details_page_full(e){this.data.details_page_full=e}get image_paths(){return this.data.image_paths}set image_paths(e){this.data.image_paths=e}get wh_url(){return this.data.wh_url}set wh_url(e){this.data.wh_url=e}get bt_intro_apr_combo(){return this.data.bt_intro_apr_combo}set bt_intro_apr_combo(e){this.data.bt_intro_apr_combo=e}get p_intro_apr_combo(){return this.data.p_intro_apr_combo}set p_intro_apr_combo(e){this.data.p_intro_apr_combo=e}get wh_ratings(){return this.data.wh_ratings}set wh_ratings(e){this.data.wh_ratings=e}get custom_rating(){return this.data.custom_rating||this.data.CUSTOM_RATING}set custom_rating(e){this.data.custom_rating=e}get show_terms_apply(){return this._show_terms_apply}get has_rates(){return this._has_rates}get rew_earn_rt_linked(){return"Y"==this.data.rew_earn_rt_linked||!0===this.data.rew_earn_rt_linked||"Y"==this.data.REWARDS_EARN_RATE_HYPERLINKED||!0===this.data.REWARDS_EARN_RATE_HYPERLINKED}get accepted_credit_scores(){return this.data.accepted_credit_scores}set accepted_credit_scores(e){this.data.accepted_credit_scores=e}constructor(e){var t,n;this.fulldetails=!1,this._onApplyLinkCallbacks=[],this._onDetailsPageCallbacks=[],this.ace=!1,this.bank_credentials=!1,this._MIN_CREDIT_REQUIRED_CLASS="",this._HAS_PIAPR=null,this.getEditorsRatingSource=function(){return this.data.editors_rating_source||this.data.EDITORS_RATING_SOURCE||null},this.isCustomEditorsRating=function(){return this.getEditorsRatingSource()&&"Custom"==this.getEditorsRatingSource()},this.getFinalWHRating=function(){let e=null;return this.getEditorsRatingSource()&&("Custom"==this.getEditorsRatingSource()&&this.getCustomRating()?e=MI(this.getCustomRating()):"Custom"!=this.getEditorsRatingSource()&&this.getMaxWhRating()&&(e=MI(this.getMaxWhRating()))),e},this.hasEditorsReviewSnippet=function(){return this.data.EDITORS_REVIEW_SNIPPET&&""!=this.data.EDITORS_REVIEW_SNIPPET.trim()},this.getEditorsReviewSnippet=function(e){if(!this.data.EDITORS_REVIEW_SNIPPET)return"";var t=this.data.EDITORS_REVIEW_SNIPPET.trim();return t.endsWith(".")&&e&&(t=t.slice(0,-1)),""!=t?t+(e?" ... <a href='"+this.getDetailsPage()+"' target='_blank' class='link link-grey' rel='nofollow'>show more</a>":""):""},this.getWHRatingDistribution=function(){return this.data.RATINGS_INFO_ARRAY},this.getCompDistribution=function(){return this.data.RATINGS_INFO_ARRAY?this.data.RATINGS_INFO_ARRAY.filter((e=>"User Reviews"!==e.label)):[]},this.getConvertedRatingsInfoStrAsObj=function(){if(!FI(this.data.RATINGS_INFO_STR))return this.data.RATINGS_INFO_STR;let e={},t=0,n="";for(var i of this.data.RATINGS_INFO_STR.split(",")){let r=i.split(/\s*\|\s*/),s=e[r[0]]||{};s[r[1]]=r[2],e[r[0]]=s,"total"==r[1]&&Number(r[2])>t&&(t=Number(r[2]),n=r[0])}return e.all=e[n]||{},e.all.need_name_alias=n,e.all.total=t,e},this.data=e,this.setRating((null===(t=this.data)||void 0===t?void 0:t.rating)||(null===(n=this.data)||void 0===n?void 0:n.RATING)||0),this._has_rates=(()=>{let e=!(!this.HSBCWithMonitoringUrl()&&!this.americanExpressWithMonitoringUrl()&&"2156"!=(this.getId()||"").toString()&&"1667"!=(this.getId()||"").toString()&&"3292"!=(this.getId()||"").toString())&&this.isAffiliateLink();return e||(e="Y"==this.data.show_rates_fees||!0===this.data.show_rates_fees||"Y"==this.data.SHOW_RATES_FEES||!0===this.data.SHOW_RATES_FEES),!(!this.data.rates_fees_url&&!e)})(),this._show_terms_apply=(()=>this.americanExpressWithMonitoringUrl()||"Y"==this.data.show_terms_apply||!0===this.data.show_terms_apply||"Y"==this.data.SHOW_TERMS_APPLY||!0===this.data.SHOW_TERMS_APPLY)(),"CRITICAL_LOGGED_OUT"in this.data&&(this.data.critical_logged_out=this.data.CRITICAL_LOGGED_OUT),"CRITICAL_LOGGED_IN"in this.data&&(this.data.critical_logged_in=this.data.CRITICAL_LOGGED_IN),"minimum_credit_texts"in this.data&&(this.data.MIN_CREDIT_TEXTS=(this.data.minimum_credit_texts||[]).join(", ")),this.ace=lD(),this.data.critical=this.ace?this.data.critical_logged_in:this.data.critical_logged_out,"AFFILIATE_INFLUENCE_SCOPE"in this.data&&(this.data.aff_inf_scope=this.data.AFFILIATE_INFLUENCE_SCOPE),this.data.bankAccountCredentialsNeeded&&(this.bank_credentials=!0),"fk_min_credit_reqd"in this.data&&(BI(this.data.fk_min_credit_reqd)?this.data.accepted_credit_scores=this.data.fk_min_credit_reqd.join(", "):this.data.accepted_credit_scores=this.data.fk_min_credit_reqd),"ratings_info_str"in this.data&&(this.data.RATINGS_INFO_STR=this.data.ratings_info_str);let i=[],r={rebuild:"Rebuild Damaged Credit",storeRebuild:"Rebuild Damaged Credit (Store Cards)",rebuildNB:"Rebuild Damaged Credit by Paying in Full Each Month",improving:"Improve Credit",improvingNB:"Improve Credit by Paying in Full Each Month",student:"Build Credit (Students)",studentNB:"Build Credit by Paying in Full Each Month (Students)",rewards:"Earn Rewards",travel:"Earn Travel Rewards",airline:"Earn Airline Rewards",hotel:"Earn Hotel Rewards",gas:"Earn Gas Rewards",storeRewards:"Earn Rewards (Store Cards)",financing:"Finance New Purchases",storeFinancing:"Finance New Purchases (Store Cards)",lowerDebt:"Lower Cost of Existing Debt",businessRebuild:"Business - Rebuild Damaged Credit",businessRebuildNB:"Business - Rebuild Damaged Credit by Paying in Full Each Month",businessImproving:"Business - Improve Credit",businessImprovingNB:"Business - Improve Credit by Paying in Full Each Month",businessRewards:"Business - Earn Rewards",businessTravel:"Business - Earn Travel Rewards",businessStoreRewards:"Business - Earn Rewards (Store Cards)",businessFinancing:"Business - Finance New Purchases",businessStoreFinancing:"Business - Finance New Purchases (Store Cards)",businessLoweringDebt:"Business - Lower Cost of Existing Debt"};this.data.WH_RATING_NEED="";let s=this.getWhRatings();if(!s&&this.data.RATINGS_INFO_STR&&(s=this.data.RATINGS_INFO_STR.all?this.data.RATINGS_INFO_STR:this.getConvertedRatingsInfoStrAsObj()),s&&s.all){s=s.all;const e=this;UI(s)&&(WI(s,(function(t,n){let s=n;n&&"need_name_alias"==n&&r[t]&&(e.data.WH_RATING_NEED=r[t]),n&&"need_name_alias"!=n&&"total"!=n&&("interest"==s?s="APR":"reviews"==s?(s="User Reviews",e.data.wh_user_reviews=MI(t||"0.0").toFixed(1)):"otherFeatures"==s&&(s="Other Features"),"marketComparison"===s&&(e.data.WH_MARKET_COMP=MI(t||"0.0").toFixed(1)),"marketComparison"!==s&&"editorsRating"!==s&&i.push({label:s,rating:MI(t||"0.0").toFixed(1)}))})),i=function(e,t,n){const i=e.findIndex((e=>e.label===t)),r=e.findIndex((e=>e.label===n));if(-1!==i&&-1!==r){const t=e[i];e[i]=e[r],e[r]=t}return e}(i,"approval","User Reviews"),s.total&&(this.data.MAX_WH_RATING=s.total))}this.data.RATINGS_INFO_ARRAY=i,"editors_review_snippet"in this.data&&(this.data.EDITORS_REVIEW_SNIPPET=this.data.editors_review_snippet)}getMarketComparison(){return this.data.WH_MARKET_COMP||null}showFullRating(){return!this.getUserReview()&&this.getVotes()<10&&!this.getEditorRating()}toggleDetails(e=null){this.fulldetails=null!==e?e:!this.fulldetails}toggleDetailsChild(e){e.target.classList.contains("details-open")&&this.toggleDetails(!0)}getDetailsPage(e){let t=e||hx(),n=this.data.details_page||this.data.DETAILS_HTML_PAGE_NAME||this.data.DetailsHtmlPageName||"",i="";return i=n.indexOf("/d/")<0?t+"/d/"+n:t+n,this.data._detailsUTM&&Object.keys(this.data._detailsUTM).length>0&&(i.indexOf("?")>-1?i+="&":i+="?",i+=jI(this.data._detailsUTM,!1,!0)),i}openDetailsPage(){let e=this.getDetailsPage(),t=!0;zI(this._onDetailsPageCallbacks,(n=>{let i=n(e);if("boolean"==typeof i&&(t=i,!i))return!1})),t&&window.open(e,"_blank")}onClickDetailsPage(e){this._onDetailsPageCallbacks.push(e)}openApplyLink(e){let t=e||hx(),n=this.getApplyLink(t),i=!0;zI(this._onApplyLinkCallbacks,(e=>{let t=e(n);return"boolean"==typeof t&&(i=t),t})),i&&window.open(n,"_blank")}getApplyLink(e){let t=(e||hx())+"/r/?id="+this.getId()+"c";if(this.data._applyUTM&&Object.keys(this.data._applyUTM).length>0&&(t+="&"+jI(this.data._applyUTM,!1,!0)),this.data.tracking_url&&!this.data.manual_apply)t=this.data.tracking_url;else if(this.data.tracking_url&&this.data.manual_apply)return"";return t}getRatesLink(e){let t=e||hx();return this.data.rates_fees_url||this.getApplyLink(t)+"&rf=1"}onClickApplyLink(e){this._onApplyLinkCallbacks.push(e)}initializeRewardsCode(e){if(e in this.data&&null!=this.data[e]){var t=MI(this.data[e]);if(null!=t)return t[0]}return null}getRegularRate(){let e=[];return"p_reg_apr_max"in this.data&&"p_reg_apr_min"in this.data&&(e=[this.data.p_reg_apr_min,this.data.p_reg_apr_max]),2==e.length?e[0]:null}getImageSrc(e=500,t){if(this.data.img_name_full||this.data.IMAGE_NAME_FULL)return this.data.img_name_full||this.data.IMAGE_NAME_FULL;let n=this.getImageName();if(0===n.indexOf("data:image"))return n;if(""!=n){let i=iD.getKey("cdn_url");return n=`common/product/images/creditcards/${e}/`+n,(t||this.isPrepaid())&&(n=n.replace("creditcards/","prepaidcards/")),i+n}return null}getImageAlt(){let e=this.getImageName();if(""!=e){var t=e.replace(/^\s+/,"").replace(/\s+$/,"");return t=(t=(t=t.substring(0,t.lastIndexOf("."))).replace(/[_-]\d+c$/,"")).replace(/[^a-z0-9]/g," ")}return this.getNameVO()+" image"}getImageName(){return this.data.img_name||this.data.IMAGE_NAME||this.data.ImageURL||""}getStars(){let e,t=[],n=Math.round(2*parseFloat(this.data.rating))/2,i=n,r=parseInt(n),s=i-r;for(e=0;e<5;e++)e<r?t.push("full"):e==r&&s>.1?t.push("half"):t.push("empty");return t}setRating(e){this.data.rating=MI(e)}getRating(){return this.data.rating}getVotes(){return this.data.votes||this.data.VOTES||this.data.reviews||0}setVotes(e){this.data.votes=e}getCardType(){let e=this.data.pdt_type||this.data.CARD_TYPE;return"SecuredCardType"in this.data&&(e=this.data.SecuredCardType.toLowerCase()),e}getRewardRedemptionTxt(){var e=null;return"rew_redeem"in this.data&&(e=this.data.rew_redeem,this.data.REWARDS_EXTRA_ON.indexOf("Gas")>-1&&(e+=" - Extra on Gas")),e}isSecured(){return/secured card/i.test(this.getCardType())}isPrepaid(){return/prepaid card/i.test(this.getCardType())}isDiscontinued(){return"discontinued"in this.data&&"Y"===this.data.discontinued}isLimitedUse(){let e="";return"min_credit_reqd"in this.data?e=BI(this.data.min_credit_reqd)?this.data.min_credit_reqd.join(", "):this.data.min_credit_reqd:"MIN_CREDIT_REQUIRED"in this.data?e=this.data.MIN_CREDIT_REQUIRED.join(", "):"MinCreditRequired"in this.data&&(e=this.data.MinCreditRequired.toLowerCase()),this.isSecured()||/bad/i.test(e)}getOneTimeSetupFees(){let e=this.data.ONE_TIME_SETUP_FEES||"";return"ots_fee"in this.data?e=this.data.ots_fee:"TotalOneTimeFees"in this.data&&(e=this.data.TotalOneTimeFees),NR(e)}getAnnualFee(){let e="";return"annl_fee"in this.data?e=this.data.annl_fee:"AnnualFee"in this.data?e=this.data.AnnualFee:this.data.ANNUAL_FEE&&(e=this.data.ANNUAL_FEE),NR(e)}getInstantApproval(){let e="";return"instant_approval"in this.data&&(e=this.data.instant_approval),"string"==typeof e?"N"!=e?"Yes":"No":e?"Yes":"No"}getMonthlyFee(){let e="";return"mnth_fee"in this.data?e=this.data.mnth_fee:"MonthlyFee"in this.data?e=this.data.MonthlyFee:this.data.MONTHLY_FEE&&(e=this.data.MONTHLY_FEE),NR(e)}getRewardsEarnRate(e){let t="";return"rew_earn_rt"in this.data?t=this.data.rew_earn_rt:"EarnRate"in this.data?t=this.data.EarnRate:this.data.REWARDS_EARN_RATE&&(t=this.data.REWARDS_EARN_RATE),this.isLinkedRewardsRate()?t?e?t:`<span class="link details-open" data-type="rewards" role="button" tabindex="0">${t}</span>`:"None":NR(t)}getRewardsBaseEarnRate(){let e="";return"rew_bs_earn_rt"in this.data&&(e=this.data.rew_bs_earn_rt),this.data.REWARDS_BASE_EARN_RATE_CODE=this.initializeRewardsCode("REWARDS_BASE_EARN_RATE"),e}getMinCreditRequiredEditorial(e){return"minimum_credit_needed"in this.data?e?this.data.minimum_credit_needed:this.data.minimum_credit_needed.toLowerCase().replace(" history",""):"N/A"}getMinCreditTexts(){if(this.data.MIN_CREDIT_TEXTS&&"string"==typeof this.data.MIN_CREDIT_TEXTS)return this.data.MIN_CREDIT_TEXTS;let e="";"min_credit_reqd"in this.data?e=BI(this.data.min_credit_reqd)?this.data.min_credit_reqd.join(", "):this.data.min_credit_reqd:"MinCreditRequired"in this.data?e=this.data.MinCreditRequired.toLowerCase():this.data.MIN_CREDIT_REQUIRED&&(e=this.data.MIN_CREDIT_REQUIRED.join(", "));let t=["Excellent","Bad","Fair","Good","Limited History"],n=[];for(let i=0;i<t.length;i++)if(e.indexOf(t[i])>-1){let e=t[i];n.push(e)}return n.join(", ")}isSecure2(){return this.data.secured&&1==this.data.secured}getMinimumCreditScore(){if("minimum_credit_needed"in this.data){let e=this.data.minimum_credit_needed.toLowerCase(),t="";const n=this.getCardType();switch(e){case"limited history":t="less than 3 years of credit history";break;case"bad":t=this.isSecure2()||n&&("SECURED"==n.toUpperCase()||"SECURED CARD"==n.toUpperCase())?"300":"500";break;case"fair":t="640";break;case"good":t="700";break;case"excellent":t="750"}return t}return"N/A"}getRewardsMaxEarnRate(){let e="";return"rew_mx_earn_rt"in this.data&&(e=this.data.rew_mx_earn_rt),this.data.REWARDS_MAX_EARN_RATE_CODE=this.initializeRewardsCode("REWARDS_MAX_EARN_RATE"),e}getRewardsInitialBonus(){let e="";return"rew_init_bns"in this.data?e=this.data.rew_init_bns:"RewardsInitialBonus"in this.data?e=this.data.RewardsInitialBonus:this.data.REWARDS_INITIAL_BONUS&&(e=this.data.REWARDS_INITIAL_BONUS),NR(e)}getMinCreditRequired(e=!1){let t=[],n="",i="";if("min_credit_reqd"in this.data?n=BI(this.data.min_credit_reqd)?this.data.min_credit_reqd.join(", "):this.data.min_credit_reqd:"MinCreditRequired"in this.data?n=this.data.MinCreditRequired.toLowerCase():this.data.MIN_CREDIT_REQUIRED&&(n=this.data.MIN_CREDIT_REQUIRED.join(", ")),!this._MIN_CREDIT_REQUIRED_PARSED){"string"==typeof n?t=n.split(/\s*,\s*/):n&&BI(n)&&(t=n);let e=["Limited History","Bad","Fair","Good","Excellent"];for(let i=0;i<e.length;i++)if(t.indexOf(e[i])>-1){n=e[i];break}i="Excellent"==n||"excellent"==n?"ultra-appr":"Good"==n||"good"==n?"high-appr":"med-appr",n&&n.indexOf("Limited")<0&&(n+=" Credit"),this._MIN_CREDIT_REQUIRED_PARSED=n,this._MIN_CREDIT_REQUIRED_CLASS=i}return e?this._MIN_CREDIT_REQUIRED_CLASS:this._MIN_CREDIT_REQUIRED_PARSED}hasPurchaseIntroApr(){if(null===this._HAS_PIAPR){let e=!(!this.data.OffersIntroPchApr&&!this.data.OFFERS_PURCHASE_INTRO_APR&&"Y"!=this.data.offers_p_intro_apr),t=null;"p_intro_apr"in this.data&&(t=this.data.p_intro_apr),"PurchaseIntroAPR"in this.data&&(t=this.data.PurchaseIntroAPR||"N/A"),this.data.hasOwnProperty("p_intro_apr_combo")&&!KI(this.data.p_intro_apr_combo)&&(t=this.data.p_intro_apr_combo),this._HAS_PIAPR=e&&t&&"N/A"!=t}return this._HAS_PIAPR}hasComboPurchaseIntroApr(){return!(!this.data.hasOwnProperty("p_intro_apr_combo")||KI(this.data.p_intro_apr_combo))}getPurchaseIntroApr(e,t){var n,i,r="Not Offered",s=null;if(n=!(!this.data.OffersIntroPchApr&&!this.data.OFFERS_PURCHASE_INTRO_APR&&"Y"!=this.data.offers_p_intro_apr),i=this.data.PurchaseIntroAPR||this.data.p_intro_apr_value||this.data.p_intro_apr||this.data.PURCHASE_INTRO_APR||"N/A",s=this.data.PurchaseIntroPeriod||this.data.p_intro_pd||this.data.PURCHASE_INTRO_PERIOD,n&&this.data.p_intro_apr_combo&&(KI(this.data.p_intro_apr_combo)||(this.data.PurchaseIntroAPRText=this.data.p_intro_apr_combo)),this.data.hasOwnProperty("PurchaseIntroAPRText"))r=this.data.PurchaseIntroAPRText;else if(n&&i&&"N/A"!=i){if(r=i,e)return r;if(s)/^\d+\s+/.test(s)&&(r+="&nbsp;for"),r+="&nbsp;",t&&(r=""),/20\d{2}$/.test(s)?r+=s.replace(/(20\d{2})$/,"$1"):r+=s;else if(t)return"None"}return r}hasComboBtIntroApr(){return!(!this.data.bt_intro_apr_combo||KI(this.data.bt_intro_apr_combo))}hasBtIntroApr(){let e=null,t=!("Y"!=this.data.offers_bt_intro_apr&&!this.data.OFFERS_BT_INTRO_APR&&!this.data.OffersIntroBalanceTransferApr);return"bt_intro_apr"in this.data&&(e=this.data.bt_intro_apr),"BalanceTransferIntroAPR"in this.data&&(e=this.data.BalanceTransferIntroAPR||"N/A"),!(!t||!this.hasComboBtIntroApr())||("BalanceTransferIntroAPRText"in this.data&&"Not Offered"!==this.data.BalanceTransferIntroAPRText||t&&e&&"N/A"!=e)}getBtIntroApr(e,t,n,i){var r,s,o="Not Offered",a=null,l=null;if(s=this.data.bt_intro_apr_value||this.data.bt_intro_apr||this.data.BT_INTRO_APR||this.data.BalanceTransferIntroAPR||"N/A",a=this.data.bt_fee||this.data.BT_FEE||this.data.BalanceTransferFee,r=!("Y"!=this.data.offers_bt_intro_apr&&!this.data.OFFERS_BT_INTRO_APR&&!this.data.OffersIntroBalanceTransferApr),l=this.data.bt_intro_pd||this.data.BT_INTRO_PERIOD||this.data.BalanceTransferIntroPeriod,r&&this.hasComboBtIntroApr()&&(this.data.BalanceTransferIntroAPRText=this.data.bt_intro_apr_combo),this.data.hasOwnProperty("BalanceTransferIntroAPRText"))o=this.data.BalanceTransferIntroAPRText,this.data.BalanceTransferFee&&"Not Offered"!==o&&(a&&a.toLowerCase().indexOf("transfer fee")<0&&(o+="<span class='cc-inf-value-grey color-grey'>Transfer Fee:</span>"),o+=" <span class='cc-inf-value'>",o+=a&&"None"!=a?a:"No",o+="</span>");else if(r&&s&&"N/A"!=s){if(s&&(o="<span class='cc-bt-intro-apr'>"+s+"</span>"),e)return o;if(l&&!e&&(/^\d+\s+/.test(l)&&(o+=" for"),o+=" ",t&&(o=""),/20\d{2}$/.test(l)?o+=l.replace(/(20\d{2})$/,"<span>$1</span>"):o+=l),t)return o;if(i)return o;n&&(o=""),o+="<span class='cc-inf-value-desk cc-inf-divider'>|</span>",a&&a.toLowerCase().indexOf("transfer fee")<0&&(o+="<span class='cc-inf-value-grey color-grey'>Transfer Fee:</span>"),o+=" <span class='cc-inf-value-grey color-grey'>",o+=a&&"None"!=a?a:"No",o+="</span>"}return o}getTestTemplate(e){return this.isLimitedUse()||"nc"==e.mc?"bad":e.iw.pch?"pch":e.iw.bt?"bt":e.iw.reg?"reg":e.iw.rw||"cs"==e.iam&&e.nw.am||"y"==e.chcrd||"y"==e.ft?"rw":"def"}getId(){return this.data.id||this.data.ID}getName(e,t){let n=t?this.short_name:"";return n||(n=this.data.name||this.data.CARD_NAME||this.data.Name||""),(e&&-1==n.toLowerCase().indexOf("the")?"The ":"")+n}getShortName(){return this.short_name_real?this.short_name_real:""}getNameVO(e){return this.getName(e).replace(/®|™|&reg;|&trade;/g,"").replace("™","").replace("&reg;","").replace("&trade;","")}getInstitutionName(){let e="";return"gc_inst_name"in this.data&&(e=this.data.gc_inst_name),e}getDescriptionArray(){let e=[];return BI(this.data.description)?e=this.data.description:"description"in this.data&&FI(this.data.description)?e=this.data.description.split("__"):"Description"in this.data&&FI(this.data.Description)?e=this.data.Description.split("__"):this.data.DESCRIPTION_ARRAY&&(e=this.data.DESCRIPTION_ARRAY),e}isAffiliateLink(){let e=!!(this.data.Affiliate||this.isSponsor()||this.data.AFFILIATE_LINK);return"LOGGED_IN_ONLY"in this.data&&this.data.LOGGED_IN_ONLY&&!this.ace?e=!1:"aff_inf_scope"in this.data&&("O"==this.data.aff_inf_scope&&this.ace?e=!1:"I"!=this.data.aff_inf_scope||this.ace||(e=!1)),e}isSponsor(){return this.data.spnsrd&&"Y"==this.data.spnsrd}getMinSecurityDeposit(e){var t,n=t=this.data.min_sec_dep||this.data.MIN_SECURITY_DEPOSIT||this.data.MinSecurityDeposit;return t&&""!=n?/^N\/A$/i.test(n)?"N/A":/See terms/i.test(n)||e?n:"Min Deposit of "+n:"None"}getBtFee(e,t,n){var i=null;return"BalanceTransferFee"in this.data&&(i=this.data.BalanceTransferFee),"bt_fee"in this.data&&(i=this.data.bt_fee),this.isIssuerChase()||this.isIssuerBankOfAmerica()?e?NR(i):`<span class="link details-open" role="button" data-type="balance" tabindex="0">See Details${n?"":" for Transfer Fee"}</span>`:t&&"N/A"==i?"None":NR(i)}getBtFeeDetails(){let e=null;return"BalanceTransferFee"in this.data&&(e=this.data.BalanceTransferFee),"bt_fee"in this.data&&(e=this.data.bt_fee),"N/A"==e?"None":NR(e)}getTestBullets(){let e=this.getDescriptionArray(),t=!1,n=[];"rewards"in this.data&&(t="Y"==this.data.rewards),"OffersRewards"in this.data&&(t=this.data.OffersRewards),BI(this.data.rew_dt)?n=this.data.rew_dt:"rew_dt"in this.data&&FI(this.data.rew_dt)?n=this.data.rew_dt.split("__"):"RewardsDetails"in this.data&&FI(this.data.RewardsDetails)&&(n=this.data.RewardsDetails.split("_"));var i,r=[];if(t)for(i=0;i<n.length;i++)r.push(n[i]);if(e.length>0)for(i=0;i<e.length;i++)r.push(e[i]);return r.push("<a href='"+this.getDetailsPage()+"' target='_blank' class='link'>More Details &amp; Reviews About "+this.getName(!0)+"</span></a>"),r}getRegularPurchaseApr(){let e="";return e=this.data.p_reg_apr||this.data.REGULAR_PURCHASE_APR||this.data.RegularPurchaseAPR,e}getRegulareTransferAPR(){return this.data.bt_reg_apr||this.data.REGULAR_BT_APR}isChargeCard(){return/Charge Card/i.test(this.getCardType())}hasRewards(){let e=!1;return"rewards"in this.data?e="boolean"==typeof this.data.rewards?this.data.rewards:"Y"==this.data.rewards:"OffersRewards"in this.data?e=this.data.OffersRewards:this.data.REWARDS&&(e=this.data.REWARDS),e}getNetwork(){return this.data.network}getIssuer(){return this.data.inst_name||this.data.ISSUER||this.data.CardIssuer||""}getRewards(){let e=[];return BI(this.data.rew_dt)?e=this.data.rew_dt:"rew_dt"in this.data&&FI(this.data.rew_dt)?e=this.data.rew_dt.split("__"):"RewardsDetails"in this.data&&FI(this.data.RewardsDetails)?e=this.data.RewardsDetails.split("_"):this.data.REWARD_DETAILS_BULLETS&&(e=this.data.REWARD_DETAILS_BULLETS),e}getRwardsType(){return this.data.rew_redeem}isRewardCap(){let e=!1;return"rew_cap"in this.data&&(e="Y"==this.data.rew_cap),e}hasPros(){return!!(this.data.EDITORS_PROS_SOURCE&&"SYSTEM"==this.data.EDITORS_PROS_SOURCE.toUpperCase()&&this.data.EDITORS_PROS_SYSTEM&&this.data.EDITORS_PROS_SYSTEM.length>0||this.data.editors_pros_source&&"SYSTEM"==this.data.editors_pros_source.toUpperCase()&&this.data.editors_pros_system&&this.data.editors_pros_system.length>0)||!!(this.data.EDITORS_PROS_SOURCE&&"CUSTOM"==this.data.EDITORS_PROS_SOURCE.toUpperCase()&&this.data.EDITORS_PROS&&this.data.EDITORS_PROS.length>0||this.data.editors_pros_source&&"CUSTOM"==this.data.editors_pros_source.toUpperCase()&&this.data.editors_pros&&this.data.editors_pros.length>0)}hasCons(){return!!(this.data.EDITORS_CONS_SOURCE&&"SYSTEM"==this.data.EDITORS_CONS_SOURCE.toUpperCase()&&this.data.EDITORS_CONS_SYSTEM&&this.data.EDITORS_CONS_SYSTEM.length>0||this.data.editors_cons_source&&"SYSTEM"==this.data.editors_cons_source.toUpperCase()&&this.data.editors_cons_system&&this.data.editors_cons_system.length>0)||!!(this.data.EDITORS_CONS_SOURCE&&"CUSTOM"==this.data.EDITORS_CONS_SOURCE.toUpperCase()&&this.data.EDITORS_CONS&&this.data.EDITORS_CONS.length>0||this.data.editors_cons_source&&"CUSTOM"==this.data.editors_cons_source.toUpperCase()&&this.data.editors_cons&&this.data.editors_cons.length>0)}getPros(){return this.data.EDITORS_PROS_SOURCE&&"SYSTEM"==this.data.EDITORS_PROS_SOURCE.toUpperCase()&&this.data.EDITORS_PROS_SYSTEM&&this.data.EDITORS_PROS_SYSTEM.length>0?BI(this.data.EDITORS_PROS_SYSTEM)?this.data.EDITORS_PROS_SYSTEM:this.data.EDITORS_PROS_SYSTEM.split("|"):this.data.editors_pros_source&&"SYSTEM"==this.data.editors_pros_source.toUpperCase()&&this.data.editors_pros_system&&this.data.editors_pros_system.length>0?BI(this.data.editors_pros_system)?this.data.editors_pros_system:this.data.editors_pros_system.split("|"):this.data.EDITORS_PROS_SOURCE&&"CUSTOM"==this.data.EDITORS_PROS_SOURCE.toUpperCase()&&this.data.EDITORS_PROS&&this.data.EDITORS_PROS.length>0?BI(this.data.EDITORS_PROS)?this.data.EDITORS_PROS:this.data.EDITORS_PROS.split("|"):this.data.editors_pros_source&&"CUSTOM"==this.data.editors_pros_source.toUpperCase()&&this.data.editors_pros&&this.data.editors_pros.length>0?BI(this.data.editors_pros)?this.data.editors_pros:this.data.editors_pros.split("|"):[]}getCons(){return this.data.EDITORS_CONS_SOURCE&&"SYSTEM"==this.data.EDITORS_CONS_SOURCE.toUpperCase()&&this.data.EDITORS_CONS_SYSTEM&&this.data.EDITORS_CONS_SYSTEM.length>0?BI(this.data.EDITORS_CONS_SYSTEM)?this.data.EDITORS_CONS_SYSTEM:this.data.EDITORS_CONS_SYSTEM.split("|"):this.data.editors_cons_source&&"SYSTEM"==this.data.editors_cons_source.toUpperCase()&&this.data.editors_cons_system&&this.data.editors_cons_system.length>0?BI(this.data.editors_cons_system)?this.data.editors_cons_system:this.data.editors_cons_system.split("|"):this.data.EDITORS_CONS_SOURCE&&"CUSTOM"==this.data.EDITORS_CONS_SOURCE.toUpperCase()&&this.data.EDITORS_CONS&&this.data.EDITORS_CONS.length>0?BI(this.data.EDITORS_CONS)?this.data.EDITORS_CONS:this.data.EDITORS_CONS.split("|"):this.data.editors_cons_source&&"CUSTOM"==this.data.editors_cons_source.toUpperCase()&&this.data.editors_cons&&this.data.editors_cons.length>0?BI(this.data.editors_cons)?this.data.editors_cons:this.data.editors_cons.split("|"):[]}americanExpressWithMonitoringUrl(){return!("American Express"!=this.getIssuer()||!this.data.MONITORING_URL&&!this.data.mon_url)}HSBCWithMonitoringUrl(){var e=this.getIssuer()||"";return!("HSBC"!=e&&0!==e.indexOf("Discover")&&"Barclays"!=e&&"Wells Fargo"!=e&&"U.S. Bank"!=e&&"Marcus by Goldman Sachs"!=e||!this.data.MONITORING_URL&&!this.data.mon_url)}isCapitalOne(){const e=this.getIssuer()||"";return/Capital One/i.test(e)}hasRates(){return this._has_rates}hasTerms(){return this._show_terms_apply}isIssuerChase(){return/Chase/i.test(this.getIssuer())}isIssuerAmEx(){return"American Express"==this.getIssuer()}isIssuerBankOfAmerica(){return"Bank of America"==this.getIssuer()}isLinkedRewardsRate(){return this.rew_earn_rt_linked||this.data.REWARDS_EARN_RATE_HYPERLINKED}getApprovalOdds(e){var t;if(this.hasApprovalOdds()||e)if(this.data.ApprovalOdds){var n=this.data.ApprovalOdds?this.data.ApprovalOdds.toString().toLowerCase():"",i="ultra-appr";"very good"==n?i="high-appr":"good"==n?i="med-appr":"fair"==n?i="low-appr":"excellent"!==n&&"pre-selected"!==n&&"pre-approved"!==n&&"outstanding"!==n&&(i="limited-appr"),t={text:this.data.ApprovalOdds,cls:i}}else t=this.getApprovalOddsByVantageScore(e);else t={text:"N/A",cls:""};return t}hasApprovalOdds(){return"ApprovalOdds"in this.data&&void 0!==this.data.ApprovalOdds&&null!==this.data.ApprovalOdds&&!this.isIssuerAmEx()}hasInitialBonusTooltip(){return this.data.REWARDS_INITIAL_BONUS_TOOLTIP&&""!=this.data.REWARDS_INITIAL_BONUS_TOOLTIP.trim()||this.data.rew_init_bns_tooltip&&""!=this.data.rew_init_bns_tooltip.trim()}getInitialBonusTooltip(){return this.data.REWARDS_INITIAL_BONUS_TOOLTIP||this.data.rew_init_bns_tooltip?(this.data.REWARDS_INITIAL_BONUS_TOOLTIP||this.data.rew_init_bns_tooltip).trim():""}hasRewardsRateTooltip(){return this.data.REWARDS_RATE_TOOLTIP&&this.data.REWARDS_RATE_TOOLTIP.length||this.data.rew_rate_tooltip&&this.data.rew_rate_tooltip.length}getRewardsRateTooltip(){let e="",t=this.data.REWARDS_RATE_TOOLTIP||this.data.rew_rate_tooltip;if(t&&FI(t)){let e=t;e.lastIndexOf("__")==e.length-2&&(e=e.substring(0,e.length-2)),t=e.split("__")}return t&&BI(t)&&t.length&&(e+="<ul class='rewards-tip-list'>",zI(t,(t=>{e+="<li>",e+=t,e+="</li>"})),e+="</ul>"),e}getWhRatings(){return this.data.wh_ratings&&UI(this.data.wh_ratings)?this.data.wh_ratings:null}getMaxWhRating(){return this.data.max_wh_rating||this.data.MAX_WH_RATING||null}getEditorRating(){return this.data.editors_rating||null}getUserReview(){return!this.data.wh_user_reviews||this.getVotes()<10?null:this.data.wh_user_reviews||null}getCustomRating(){return this.data.custom_rating||this.data.CUSTOM_RATING||null}getApprovalOddsByVantageScore(e){var t=NI(this.getMinCreditRequired().split("Credit")[0]),n={};if("Limited History"==t&&(t="Limited"),!t)return{text:"N/A",cls:""};if(e>=795?n={Excellent:"Excellent",Good:"Excellent",Fair:"Excellent",Limited:"Excellent",Bad:"Excellent"}:e>=765&&e<795?n={Excellent:"Very Good",Good:"Excellent",Fair:"Excellent",Limited:"Excellent",Bad:"Excellent"}:e>=750&&e<765?n={Excellent:"Good",Good:"Very Good",Fair:"Excellent",Limited:"Excellent",Bad:"Excellent"}:e>=735&&e<750?n={Excellent:"Poor",Good:"Very Good",Fair:"Very Good",Limited:"Very Good",Bad:"Very Good"}:e>=720&&e<735?n={Excellent:"Low",Good:"Very Good",Fair:"Excellent",Limited:"Excellent",Bad:"Excellent"}:e>=700&&e<720?n={Excellent:"Low",Good:"Good",Fair:"Excellent",Limited:"Excellent",Bad:"Excellent"}:e>=685&&e<700?n={Excellent:"Low",Good:"Low",Fair:"Very Good",Limited:"Very Good",Bad:"Excellent"}:e>=665&&e<685?n={Excellent:"Low",Good:"Low",Fair:"Good",Limited:"Good",Bad:"Excellent"}:e>=640&&e<665?n={Excellent:"Low",Good:"Low",Fair:"Fair",Limited:"Fair",Bad:"Very Good"}:e>=620&&e<640?n={Excellent:"Low",Good:"Low",Fair:"Low",Limited:"Low",Bad:"Very Good"}:e>=570&&e<620?n={Excellent:"Low",Good:"Low",Fair:"Low",Limited:"Low",Bad:"Good"}:e>=300&&e<570?n={Excellent:"Low",Good:"Low",Fair:"Low",Limited:"Low",Bad:"Fair"}:4!=e&&e||(n={Excellent:"Low",Good:"Low",Fair:"Low",Limited:"Good",Bad:"Very Good"}),t in n){let e=n[t],i=e?e.toString().toLowerCase():"",r="ultra-appr";return"very good"==i?r="high-appr":"good"==i?r="med-appr":"fair"==i?r="low-appr":"excellent"!==i&&(r="limited-appr"),{text:e,cls:r}}return{text:"N/A",cls:""}}}function NR(e){return e||"None"}function FR(e,t){if(1&e&&(r_(0,"p"),Iv(1),s_()),2&e){const e=Hm(2);$c(),Dv(" You need a credit score of ",e.min_credit_score," or better to get the ",e.short_name,", as it requires ",e.min_credit_required_editorial," credit. In addition to your credit score, the issuer will consider your income, your debt, the length of your credit history and other credit characteristics. ")}}function LR(e,t){if(1&e&&(r_(0,"p"),Iv(1),s_()),2&e){const e=Hm(2);$c(),Av(" You can get the ",e.short_name," with no credit or limited credit history. In addition to information from your credit report, the issuer will consider your income, your debt, the length of your credit history and other credit characteristics. ")}}function PR(e,t){if(1&e&&(l_(0),r_(1,"strong"),Iv(2),s_(),cp(3,FR,2,3,"p",0)(4,LR,2,1,"p",0),c_()),2&e){const e=Hm();$c(2),Av("",e.short_name," Minimum Credit Score"),$c(),hg("ngIf","limited"!==e.min_credit_required_editorial),$c(),hg("ngIf","limited"==e.min_credit_required_editorial)}}function MR(e,t){if(1&e&&(r_(0,"div",2),o_(1,"div",8)(2,"div",9),s_()),2&e){const e=t.$implicit;$c(),hg("innerHTML",e.type+" Credit",Hl),$c(),hg("innerHTML",e.score,Hl)}}function HR(e,t){1&e&&(l_(0),r_(1,"strong"),Iv(2,"Get Your Free Credit Score"),s_(),r_(3,"p"),Iv(4,"Join WalletHub and get your credit score. It's 100% free, forever."),s_(),c_())}function BR(e,t){1&e&&o_(0,"br")}function zR(e,t){1&e&&(r_(0,"a",10),Iv(1,"Get your free credit score now"),s_()),2&e&&hg("zing-url",!0)}function qR(e,t){if(1&e&&o_(0,"div",1),2&e){hg("cleanHTML",Hm().data.tip_content)}}let UR=[{score:{min:750,max:850},name:"Excellent"},{score:{min:700,max:749},name:"Good"},{score:{min:640,max:699},name:"Fair"},{score:{min:300,max:639},name:"Bad"}];class jR{transform(e){if(!e)return!1;const t=e.trim().split(/\s+/);return"card"===t[t.length-1].toLowerCase()}}jR.ɵfac=function(e){return new(e||jR)},jR.ɵpipe=In({name:"isCard",type:jR,pure:!0});class VR{constructor(){this.table=[],this.compact=!0,this.is_native=!1,this.showtop=!1}ngOnInit(){if(zI(UR,(e=>{this.table.push({type:e.name,score:e.score.min.toString()+" &ndash; "+e.score.max.toString()})})),this.compact=this.data&&this.data.compact,this.showtop=this.data&&this.data.showtop,this.data&&this.data.card&&UI(this.data.card)&&Object.keys(this.data.card).length>0){const e=new OR(this.data.card);this.short_name=e.short_name,this.name=e.getName(),this.min_credit_score=e.getMinimumCreditScore(),this.min_credit_required_editorial=e.getMinCreditRequiredEditorial()}this.is_native=DI()}}VR.ɵfac=function(e){return new(e||VR)},VR.ɵcmp=vn({type:VR,selectors:[["min-cred"]],hostAttrs:["ngSkipHydration","true"],decls:17,vars:5,consts:[[4,"ngIf"],[1,"table-container"],[1,"row"],[1,"white"],[1,"grey"],["class","row",4,"ngFor","ngForOf"],["zing-touch","","href","/join/","target","_blank","class","btn blue no-decoration",3,"zing-url",4,"ngIf"],[1,"mincred-footer"],[1,"grey",3,"innerHTML"],[1,"white",3,"innerHTML"],["zing-touch","","href","/join/","target","_blank",1,"btn","blue","no-decoration",3,"zing-url"]],template:function(e,t){1&e&&(cp(0,PR,5,3,"ng-container",0),r_(1,"div",1)(2,"div",2),o_(3,"div",3),r_(4,"div",4),Iv(5,"Credit Score"),s_()(),cp(6,MR,3,2,"div",5),r_(7,"div",2)(8,"div",4),Iv(9,"Limited Credit"),s_(),r_(10,"div",3),Iv(11,"Less than 3 years of credit history"),s_()()(),cp(12,HR,5,0,"ng-container",0)(13,BR,1,0,"br",0)(14,zR,2,1,"a",6),r_(15,"p",7),Iv(16," The credit score shown on WalletHub is based on your TransUnion credit report as well as the VantageScore 3.0 model, and it may differ from what your lender or insurer uses. "),s_()),2&e&&(hg("ngIf",t.showtop),$c(6),hg("ngForOf",t.table),$c(6),hg("ngIf",!t.compact),$c(),hg("ngIf",t.compact),$c(),hg("ngIf",!t.is_native))},dependencies:[iC,bT,wT],encapsulation:2,changeDetection:0});class WR{constructor(){var e;this.private_info_url=(e&&(gx=e),hx()+"/"+gx+"/settings/private-info")}}WR.ɵfac=function(e){return new(e||WR)},WR.ɵcmp=vn({type:WR,selectors:[["approval-odds"]],decls:9,vars:2,consts:[[1,"bold-font"],[1,"symbol-odds"],["zing-touch","","target","_blank",1,"link",3,"zing-url","href"]],template:function(e,t){1&e&&(r_(0,"p")(1,"span",0)(2,"span",1),Iv(3,"†"),s_(),Iv(4,"Approval Odds"),s_(),Iv(5," are WalletHub estimates intended to gauge your likelihood of approval for a particular product. Approval Odds are based on WalletHub data and are not provided or endorsed by the lender. Approval Odds are not meant to imply or guarantee that you will be approved by the lender or that credit will be extended. WalletHub may share your information with third-parties in order to show personalized offers, as well as enable you to interact more easily with pre-fill forms or applications. You can opt-out of sharing your personal info "),r_(6,"a",2),Iv(7,"click here"),s_(),Iv(8,". "),s_()),2&e&&($c(6),hg("zing-url",!0)("href",t.private_info_url,zl))},dependencies:[iC],encapsulation:2});class $R{}$R.ɵfac=function(e){return new(e||$R)},$R.ɵcmp=vn({type:$R,selectors:[["bonus-offer-tip"]],hostAttrs:["ngSkipHydration","true"],decls:1,vars:1,consts:[[3,"cleanHTML",4,"ngIf"],[3,"cleanHTML"]],template:function(e,t){1&e&&cp(0,qR,1,1,"div",0),2&e&&hg("ngIf",t.data.tip_content)},dependencies:[KA,wT],encapsulation:2});class GR{}GR.ɵfac=function(e){return new(e||GR)},GR.ɵmod=wn({type:GR}),GR.ɵinj=Vr({imports:[ax,tI]});const YR=["popup"];function QR(e,t){}function KR(e,t){if(1&e){const e=h_();r_(0,"div",7),Nm("onClick",(function(){ji(e);return Vi(Hm(2).CloseThisPopup())})),s_()}2&e&&hg("zing-no-touch",!0)}function ZR(e,t){if(1&e){const e=h_();r_(0,"div",1,2),Nm("onTapDoc",(function(){ji(e);return Vi(Hm().DocCloseThisPopup())})),r_(2,"div",3)(3,"span",4),Iv(4),s_(),cp(5,QR,0,0,"ng-template",null,5,Eb)(7,KR,1,1,"div",6),s_()()}if(2&e){const e=Hm();gg("opened",e.opened)("ng-mpp-prestine",!e.opened_once),hg("ngClass",e.classes)("zing-no-touch",!0),$c(3),Df("id",e.dialog_title_id),$c(),Sv(e.dialog_title),$c(3),hg("ngIf",e.opened)}}class JR extends gR{get _passiveevent(){let e;return e=!!eC()&&{passive:!0},e}constructor(e,t,n,i,r){super(e,i,r),this._cd=n,this.classes=[],this.fixed_parent=!0,this.dialog_title="",this.opened=!1,this.enabled_doc=!1,this.opened_once=!1,this.element=t}Open(e,t,n){if(this.opened_once=!0,this.opened)return this.DocCloseThisPopup(),this._cd.detectChanges(),this;if(this._setParentScroller(),this._destroyActiveComponent(),!this.fixed_parent){let e=this.popupbox.nativeElement;"innerWidth"in this._mainscroller==0&&this._mainscroller.appendChild(e)}this._activeComponent=this.container.createComponent(e);const i=this._activeComponent.instance;i.data=t,i.closeDialog=this.CloseThisPopup;let r=()=>{this.opened=!0,this._cd.detectChanges()};this.fixed_parent?r():setTimeout(r),setTimeout((()=>{this.enabled_doc=!0,this._cd.detectChanges()}),500),this._mainscroller&&this._zone.runOutsideAngular((()=>{this._resizeWatch(),window.addEventListener("resize",this._resizeWatch,this._passiveevent)})),n&&n.return_focus_to&&(this.return_focus_to=n.return_focus_to)}UpdateData(e){super.UpdateData(e),this._cd.detectChanges()}CloseThisPopup(e,t){if(this.enabled_doc){if(this.return_focus_to){const e=this.return_focus_to;e.focus(),setTimeout((()=>{e.blur(),setTimeout((()=>{e.focus()}))}))}this._zone.run((()=>{this.Close(e,!0),this.enabled_doc=!1,this.fixed_parent||setTimeout((()=>{if(this.popupbox&&this.popupbox.nativeElement&&this.element&&this.element.nativeElement){let e=this.popupbox.nativeElement;this.element.nativeElement.appendChild(e)}this._destroyActiveComponent()}),300)}))}}DocCloseThisPopup(){this.enabled_doc&&this.CloseThisPopup()}_resizeWatch(){let e=this.popupbox.nativeElement;if(e.style.marginLeft="",e.style.marginTop="",e.style.width="",!this.fixed_parent){let t=0,n=0,i=this.element.nativeElement;for(;i&&i!==this._mainscroller;)t+=i.offsetLeft,n+=i.offsetTop,i=i.offsetParent;e.style.left=t+10+"px",e.style.top=n+10+"px"}let t=this.fixed_parent?e.getBoundingClientRect():{left:e.offsetLeft,right:e.offsetLeft+e.offsetWidth,bottom:e.offsetTop+e.offsetHeight},n="innerWidth"in this._mainscroller,i=n?0:this._mainscroller.getBoundingClientRect().left,r=n?this._mainscroller.innerWidth:this._mainscroller.clientWidth,s=n?this._mainscroller.innerHeight:this._mainscroller[this.fixed_parent?"clientHeight":"scrollHeight"],o=0,a=0;t.right>r&&(o=Math.min(0,r-t.right),e.style.marginLeft=o+"px"),t.bottom>s&&!this.fixed_parent&&(a=Math.min(0,s-t.bottom),e.style.marginTop=a+"px");let l=this.fixed_parent?e.getBoundingClientRect():{left:e.offsetLeft,right:e.offsetLeft+e.offsetWidth,bottom:e.offsetTop+e.offsetHeight,width:e.offsetWidth};if(l.left<i){let t=Math.abs(i-l.left);e.style.width=l.width-t+"px",o&&(o+=t,e.style.marginLeft=o+"px")}}_setParentScroller(){this.scroller?this._mainscroller=document.querySelector(this.scroller):this._mainscroller=this._dservice.element||window}ngAfterViewInit(){this.CloseThisPopup=this.CloseThisPopup.bind(this),this._resizeWatch=this._resizeWatch.bind(this),RI()||this._setParentScroller()}_destroyActiveComponent(){super._destroyActiveComponent(),RI()||window.removeEventListener("resize",this._resizeWatch)}}JR.ɵfac=function(e){return new(e||JR)(Yc(Td),Yc(Ar),Yc(Ly),Yc(lC),Yc(gd))},JR.ɵcmp=vn({type:JR,selectors:[["modal-popup"]],viewQuery:function(e,t){if(1&e&&Xm(YR,5),2&e){let e;ev(e=tv())&&(t.popupbox=e.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:4,hostBindings:function(e,t){2&e&&gg("fixed-parent",t.fixed_parent)("modal-popup-opened",t.opened)},inputs:{classes:"classes",scroller:[e.InputFlags.None,"popupscroller","scroller"],fixed_parent:[e.InputFlags.None,"popup-relative","fixed_parent"],dialog_title:[e.InputFlags.None,"popup-title","dialog_title"]},features:[kh],decls:1,vars:1,consts:[["class","ng-modal-pop-up","zing-touch","","role","dialog",3,"ngClass","opened","ng-mpp-prestine","zing-no-touch","onTapDoc",4,"ngIf"],["zing-touch","","role","dialog",1,"ng-modal-pop-up",3,"ngClass","zing-no-touch","onTapDoc"],["popup",""],[1,"ng-modal-container"],["hidden","true"],["content",""],["class","close-btn af-icon-cross-slim","zing-touch","","aria-label","Close Popup","role","button","tabindex","0",3,"zing-no-touch","onClick",4,"ngIf"],["zing-touch","","aria-label","Close Popup","role","button","tabindex","0",1,"close-btn","af-icon-cross-slim",3,"zing-no-touch","onClick"]],template:function(e,t){1&e&&cp(0,ZR,8,9,"div",0),2&e&&hg("ngIf",!t.is_node)},dependencies:[gT,wT,iC],encapsulation:2});class XR{}XR.ɵfac=function(e){return new(e||XR)},XR.ɵmod=wn({type:XR}),XR.ɵinj=Vr({imports:[tI,ax]});const ek=["AdPixelViewTrigger"],tk=["AdPixelViewReferrer"],nk=["AdPixelViewClick"];class ik{constructor(e){this._dservice=e,this._scrolling=!1,this._obs=[]}AttachEvents(){var e;(this.onScrollEnd=new oe(null),this.onResize=new re,RI())||(this._subs=this._dservice.onScroll.subscribe((e=>{this._scrolling&&clearTimeout(this._scrolltimer),this._scrolling=!0,this._scrolltimer=setTimeout((()=>{this._scrolling=!1,this.onScrollEnd.next(e)}),500)})),this._resize=new re,this._obs.push(gt(window,"resize")),this._resizesubs=this._obs[this._obs.length-1].pipe((e=this._resize,ee((function(t,n){Ae(e).subscribe(te(n,(function(){return n.complete()}),q)),!n.closed&&t.subscribe(n)})))).subscribe((()=>{this.onResize.next(null)})))}DetachEvents(){this._subs&&(this._subs.unsubscribe(),this._subs=null),this._resizesubs&&(this._resizesubs.unsubscribe(),this._resizesubs=null),this._resize&&(this._resize.next(null),this._resize.complete(),this._resize=null),this.onScrollEnd&&(this.onScrollEnd.complete(),this.onScrollEnd=null),this.onResize&&(this.onResize.complete(),this.onResize=null),this._obs=null}}ik.ɵfac=function(e){return new(e||ik)(As(lC))},ik.ɵprov=jr({token:ik,factory:ik.ɵfac});class rk{set adId(e){e!=this._adId&&this._ng_init&&setTimeout((()=>{this._ResetnCheck(),this._cd.detectChanges()})),this._adId=e}get adId(){return this._adId}set recheck(e){e&&this._ng_init&&this._ResetnCheck(),this._recheck=e}get recheck(){return this._recheck}get _adlocation(){let e=this._loc.path().replace("/ng-home/","/");return e=e.split("?")[0],e}constructor(e,t,n,i,r,s){this.mainElement=e,this._dservice=t,this._renderer=n,this._srv=i,this._loc=r,this._cd=s,this.ad_disabled=!1,this.triggerRatio=.15,this.debug=!1,this.referrerUrl="",this.clickUrl="",this.section="",this.position=0,this.totals=0,this.ad_use_parent_el=!1,this.pixel_on_click=!1,this.uniqueClickId=!1,this.viewId="",this.is_viewed=!1,this.clickId="",this.sbs=new F,this.obs=[],this.is_intersecting=!1,this.is_main_intersct=!1,this.adViewed=new kt,this.adSet=new kt,this._ng_init=!1,this._CheckForIntersection=e=>{if(!this.is_viewed)for(let t=0,n=e.length;t<n;t++){let n=e[t];if(KI(n.isIntersecting)&&this._isInViewport(n,!0)){this.is_intersecting=!0;break}if(n.isIntersecting){this.is_intersecting=!0;break}this.is_intersecting=!1}},this.use_IntersectionObserver=!(RI()||!window.IntersectionObserver),this.debug&&console.log("use_IntersectionObserver is : ",this.use_IntersectionObserver)}ngOnInit(){this._ng_init=!0,this.ad_disabled||(this.viewId=JI(),this.clickId=JI(),RI()||(this.viewport=this._getViewportSize()),this.adSet.emit({viewid:this.viewId,clickid:this.clickId}))}ngAfterViewInit(){if(this._PixelReferrer(),this._PixelAddClickId(),RI())return;this.clicksList&&!this.ad_disabled&&this.clicksList.forEach((e=>{const t=gt(e.nativeElement,"click");this.obs.push(t),this.sbs.add(t.subscribe((t=>{this._PixelClicked(e)})))})),this.referrersList&&!this.ad_disabled&&this.referrersList.forEach((e=>{const t=gt(e.nativeElement,"click");this.obs.push(t),this.sbs.add(t.subscribe((e=>{this.is_viewed||this._PixelTrigger()})))}));let e=(this.use_IntersectionObserver?this._RegisterIntersectElements:this._CheckElements).bind(this);if(this.clicksList&&this.sbs.add(this.clicksList.changes.subscribe((t=>{this.ad_disabled||e(this.clicksList),this._PixelAddClickId()}))),!this.ad_disabled&&this.triggersList&&this.sbs.add(this.triggersList.changes.subscribe((t=>{e(this.triggersList)}))),this.referrersList&&this.sbs.add(this.referrersList.changes.subscribe((t=>{this._PixelReferrer(),this.ad_disabled||e(this.referrersList)}))),this.ad_disabled)return;const t=this._srv.onScrollEnd,n=this._srv.onResize;this.use_IntersectionObserver?(this._intersectionObserver=new IntersectionObserver((e=>{this._CheckForIntersection(e)}),{threshold:this.triggerRatio}),this._RegisterIntersectElements("all"),this.sbs.add(t.subscribe((e=>{this.is_intersecting&&this._PixelTrigger()})))):this.sbs.add(t.subscribe((e=>{this._CheckElements("all")}))),this.sbs.add(n.subscribe((e=>{this.viewport=this._getViewportSize(),this.debug&&console.log("new viewport size : ",this.viewport),this.use_IntersectionObserver||this._CheckElements("all")}))),setTimeout((()=>{this._CheckElements("all")}))}_RegisterIntersectElements(e){let t=!0,n=e=>{this._intersectionObserver.unobserve(e.nativeElement),this._intersectionObserver.observe(e.nativeElement),t=!1};if("all"==e?(this.triggersList&&this.triggersList.forEach(n),this.referrersList&&this.referrersList.forEach(n),this.clicksList&&this.clicksList.forEach(n)):e.forEach(n),this.is_main_intersct=t,t){let e=this.mainElement.nativeElement,t=this.ad_use_parent_el?e.parentNode:e;this._intersectionObserver.observe(t)}}_CheckElements(e){if(this.is_viewed)return;let t=!0,n=e=>{t=!1,this._isInViewport(e)&&this._PixelTrigger()};if("all"==e?(this.triggersList&&this.triggersList.forEach((e=>{n(e)})),this.referrersList&&this.referrersList.forEach((e=>{n(e)})),this.clicksList&&this.clicksList.forEach((e=>{n(e)}))):e&&e.forEach((e=>{n(e)})),this.is_main_intersct=t,t){let e=this.mainElement.nativeElement,t=this.ad_use_parent_el?{nativeElement:e.parentNode}:this.mainElement;n(t)}}_isInViewport(e,t){if(!this.viewport)return!1;var n=t?e.boundingClientRect:e.nativeElement.getBoundingClientRect(),i=n.height||n.bottom-n.top,r=n.width||n.right-n.left;return!(!i||!r)&&!(n.top+n.height*(this.is_main_intersct?this.triggerRatio:1)>this.viewport.h||n.bottom<0)}_getViewportSize(){var e=window;if(null!=e.innerWidth)return{w:e.innerWidth,h:e.innerHeight};var t=e.document;return{w:t.body.clientWidth,h:t.body.clientWidth}}_ResetnCheck(){RI()||(this.is_viewed=!1,this.viewId=JI(),this.clickId=JI(),this._PixelReferrer(),this._PixelAddClickId(),this._CheckElements("all"))}_PixelTrigger(){this.is_viewed||(this.is_viewed=!0,this.adViewed.emit({view:this.viewId,click:this.clickId}),this._httpCall())}_PixelClicked(e,t=!1){this.is_viewed||this._PixelTrigger(),(this.pixel_on_click||t)&&this._httpCall({adview_click:this.clickId}),XI((()=>{this._PixelAddClickId()}))}TriggerClickPixel(e){if(this._PixelClicked(null,!0),this.clickUrl){let t=this.clickUrl+(this.clickUrl.indexOf("?")>-1?"&":"?")+`clickId=${this.clickId}&viewId=${this.viewId}`;e&&(t+=jI(e)),window.open(t,"_blank")}}TriggerViewPixel(){this._PixelTrigger()}_PixelAddClickId(){this.clicksList&&this.clicksList.forEach((e=>{const t=this.clickUrl;if(RI())return void this._renderer.setAttribute(e.nativeElement,"href",t);const n=this.clickId;this.uniqueClickId&&(this.clickId=JI());let i=t+(t.indexOf("?")>-1?"&":"?")+`clickId=${n}&viewId=${this.viewId}`;this.ad_disabled&&(i=t);const r=e.nativeElement;r.dataset&&r.dataset.clickparams&&(i.indexOf("?")>-1?i+="&":i+="?",i+=r.dataset.clickparams),this._renderer.setAttribute(e.nativeElement,"href",i)}))}_PixelReferrer(){this.referrersList&&this.referrersList.forEach((e=>{const t=this.referrerUrl;let n=t;RI()||this.ad_disabled||(n+=(t.indexOf("?")>-1?"&":"?")+`viewReferrer=${this.viewId}`),this._renderer.setAttribute(e.nativeElement,"href",n)}))}_httpCall(e={}){let t=Object.assign({adview_id:this.viewId,adview_pid:this.adId,adview_page:this._adlocation,adview_version:2,adview_section:this.section,adview_position:this.position||0,adview_totals:this.totals||0},this.addlQueries,e),n=hx()+"/pixel.png";t.adview_section||delete t.adview_section,t.adview_pid||delete t.adview_pid,(0==t.adview_totals&&0==t.adview_position||-1==t.adview_totals&&-1==t.adview_position)&&(delete t.adview_position,delete t.adview_totals),Gx({method:"GET",data:t,events:!1,url:n,expectedType:"text",retry:1}).catch((e=>{})),this.debug&&console.log(this.adId," AdPixelView fired.")}ngOnDestroy(){this.sbs.unsubscribe(),this._intersectionObserver&&(this._intersectionObserver.disconnect(),this._intersectionObserver=null),this.obs=[]}}rk.ɵfac=function(e){return new(e||rk)(Yc(Ar),Yc(lC),Yc(gd),Yc(ik),Yc(lE),Yc(Ly))},rk.ɵdir=Tn({type:rk,selectors:[["","ad-pixel",""]],contentQueries:function(e,t,n){if(1&e&&(Jm(n,ek,5,Ar),Jm(n,tk,5,Ar),Jm(n,nk,5,Ar)),2&e){let e;ev(e=tv())&&(t.triggersList=e),ev(e=tv())&&(t.referrersList=e),ev(e=tv())&&(t.clicksList=e)}},inputs:{ad_disabled:[e.InputFlags.None,"ad-disabled","ad_disabled"],addlQueries:[e.InputFlags.None,"addl-queries","addlQueries"],triggerRatio:[e.InputFlags.None,"trigger-ratio","triggerRatio"],debug:"debug",referrerUrl:[e.InputFlags.None,"referrer-url","referrerUrl"],clickUrl:[e.InputFlags.None,"click-url","clickUrl"],section:[e.InputFlags.None,"adview-section","section"],position:[e.InputFlags.None,"adview-position","position"],totals:[e.InputFlags.None,"adview-totals","totals"],adId:[e.InputFlags.None,"ad-id","adId"],ad_use_parent_el:[e.InputFlags.None,"ad-use-parent","ad_use_parent_el"],pixel_on_click:[e.InputFlags.None,"ad-pixel-click","pixel_on_click"],uniqueClickId:[e.InputFlags.None,"unique-click-id","uniqueClickId"],recheck:[e.InputFlags.None,"ad-pixel-recheck","recheck"]},outputs:{adViewed:"adViewed",adSet:"adSet"}});class sk{constructor(e){this._srv=e,this._srv.AttachEvents()}ngOnDestroy(){this._srv.DetachEvents()}}sk.ɵfac=function(e){return new(e||sk)(As(ik))},sk.ɵmod=wn({type:sk}),sk.ɵinj=Vr({providers:[ik],imports:[tI,ax]});const ok=e=>({fill:e});function ak(e,t){if(1&e&&(br(),r_(0,"g"),o_(1,"path",7),s_()),2&e){const e=Hm(2);$c(),hg("ng-svg-attr",eb(1,ok,e.svg_secl))}}const lk=e=>({stroke:e,fill:"none"});function ck(e,t){if(1&e&&(br(),r_(0,"g"),o_(1,"path",8)(2,"path",9),s_()),2&e){const e=Hm(2);$c(),hg("ng-svg-attr",eb(2,ok,e.svg_sfcl)),$c(),hg("ng-svg-attr",eb(4,lk,e.svg_sfcl))}}function uk(e,t){if(1&e&&(br(),r_(0,"g"),o_(1,"path",10)(2,"path",11),s_()),2&e){const e=Hm(2);$c(),hg("ng-svg-attr",eb(2,ok,e.svg_sfcl)),$c(),hg("ng-svg-attr",eb(4,ok,e.svg_secl))}}function dk(e,t){if(1&e&&(br(),r_(0,"g"),o_(1,"path",12)(2,"path",13),s_()),2&e){const e=Hm(2);$c(),hg("ng-svg-attr",eb(2,ok,e.svg_sfcl)),$c(),hg("ng-svg-attr",eb(4,ok,e.svg_secl))}}function hk(e,t){if(1&e&&(br(),r_(0,"g"),o_(1,"path",14)(2,"path",15),s_()),2&e){const e=Hm(2);$c(),hg("ng-svg-attr",eb(2,ok,e.svg_sfcl)),$c(),hg("ng-svg-attr",eb(4,ok,e.svg_secl))}}function pk(e,t){if(1&e&&(br(),r_(0,"g"),o_(1,"path",16),s_()),2&e){const e=Hm(2);$c(),hg("ng-svg-attr",eb(1,ok,e.svg_sfcl))}}function fk(e,t){if(1&e&&(br(),r_(0,"g"),o_(1,"path",17),s_()),2&e){const e=Hm(2);$c(),hg("ng-svg-attr",eb(1,ok,e.svg_sfcl))}}function gk(e,t){if(1&e){const e=h_();br(),r_(0,"svg",6),Nm("onTapHover",(function(t){const n=ji(e).index;return Vi(Hm().StartRating(t,n,"add"))}))("onTapHoverOutside",(function(t){const n=ji(e).index;return Vi(Hm().StartRating(t,n,"remove"))})),cp(1,ak,2,3,"g",2)(2,ck,3,6,"g",2)(3,uk,3,6,"g",2)(4,dk,3,6,"g",2)(5,hk,3,6,"g",2)(6,pk,2,3,"g",2)(7,fk,2,3,"g",2),s_()}if(2&e){const e=t.$implicit,n=Hm();gg("cursor-default",!n.showhover),hg("tabindex",n.showhover?0:-1),Df("aria-hidden",!n.showhover)("width",n.svg_sdim.width)("height",n.svg_sdim.height),$c(),hg("ngIf","rv-star-empty-fill"==e),$c(),hg("ngIf","rv-star-full-fill"==e),$c(),hg("ngIf","rv-star-half-fill"==e),$c(),hg("ngIf","rv-star-quarter-fill"==e),$c(),hg("ngIf","rv-star-three-quarter-fill"==e),$c(),hg("ngIf","rv-star-empty-clear"==e),$c(),hg("ngIf","rv-star-half-clear"==e)}}function _k(e,t){if(1&e&&(r_(0,"a",20)(1,"span",1),Iv(2),gb(3,"moneyformat"),s_(),r_(4,"span",21),Iv(5),gb(6,"moneyformat"),s_(),r_(7,"span",22),Iv(8),s_()()),2&e){const e=Hm(2);hg("zing-url",!0)("href",e.url,zl),$c(2),Sv(_b(3,7,e.reviews)+" "+e.review_label+(1!=e.reviews?"s":"")),$c(3),Sv(_b(6,9,e.reviews)),$c(3),Dv(" ",e.show_user_text?"User":""," ",e.review_label,"",1!=e.reviews?"s":"","")}}function mk(e,t){if(1&e&&(r_(0,"span",23)(1,"span",1),Iv(2),gb(3,"moneyformat"),s_(),r_(4,"span",21),Iv(5),gb(6,"moneyformat"),s_(),r_(7,"span",22),Iv(8),s_()()),2&e){const e=Hm(2);$c(2),Sv(_b(3,5,e.reviews)+" "+e.review_label+(1!=e.reviews?"s":"")),$c(3),Sv(_b(6,7,e.reviews)),$c(3),Dv(" ",e.show_user_text?"User":""," ",e.review_label,"",1!=e.reviews?"s":"","")}}function vk(e,t){if(1&e&&(l_(0),cp(1,_k,9,11,"a",18)(2,mk,9,9,"span",19),c_()),2&e){const e=Hm();$c(),hg("ngIf",e.reviewslink),$c(),hg("ngIf",!e.reviewslink)}}function bk(e,t){1&e&&o_(0,"span",26)}function yk(e,t){if(1&e&&(r_(0,"div",24),cp(1,bk,1,0,"span",25),s_()),2&e){const e=Hm();gg("visible",e.voting),$c(),hg("ngIf",e.voting)}}function wk(e,t){1&e&&(r_(0,"p"),Iv(1,"Click to submit your rating"),s_())}function Ek(e,t){1&e&&(r_(0,"p"),Iv(1,"Change my rating to:"),s_())}function Tk(e,t){1&e&&(r_(0,"p"),Iv(1,"Keep my existing rating"),s_())}function Ik(e,t){if(1&e&&(r_(0,"p",31)(1,"span"),Iv(2),s_()()),2&e){const e=Hm(2);$c(2),Sv(e.ratingText)}}function Ck(e,t){1&e&&(r_(0,"p",32),Iv(1,"Thanks for your rating!"),s_())}function Sk(e,t){if(1&e&&(r_(0,"p")(1,"span",33),Iv(2),s_(),Iv(3),gb(4,"moneyformat"),s_()),2&e){const e=Hm(2);$c(2),Av("",e.rating_rounded," / 5"),$c(),xv(" from ",_b(4,3,e.reviews)," review",1!=e.reviews?"s":"","")}}function Ak(e,t){if(1&e&&(r_(0,"a",37),Iv(1,"Write full review"),s_()),2&e){hg("href",Hm(3).full_review_link,zl)("zing-url",!0)}}function xk(e,t){1&e&&(r_(0,"span"),Iv(1," | "),s_())}function Dk(e,t){if(1&e&&(r_(0,"a",38),Iv(1,"Ask a question"),s_()),2&e){const e=Hm(3);hg("zing-url",!0)("href",e.discussion_link,zl)}}function Rk(e,t){if(1&e&&(r_(0,"p",34),cp(1,Ak,2,2,"a",35)(2,xk,2,0,"span",2)(3,Dk,2,2,"a",36),s_()),2&e){const e=Hm(2);$c(),hg("ngIf",e.full_review_link),$c(),hg("ngIf",e.discussion_link&&e.full_review_link),$c(),hg("ngIf",e.discussion_link)}}function kk(e,t){if(1&e){const e=h_();r_(0,"div",27),Nm("onTapHover",(function(){ji(e);return Vi(Hm().PopupIn())}))("onTapDoc",(function(){ji(e);return Vi(Hm().PopupDocClose())})),cp(1,wk,2,0,"p",2)(2,Ek,2,0,"p",2)(3,Tk,2,0,"p",2)(4,Ik,3,1,"p",28)(5,Ck,2,0,"p",29)(6,Sk,5,5,"p",2)(7,Rk,4,3,"p",30),s_()}if(2&e){const e=Hm();$c(),hg("ngIf",!e.voted),$c(),hg("ngIf",e.voted&&!e.is_old_rating&&!e.submitted),$c(),hg("ngIf",e.voted&&e.is_old_rating&&!e.submitted),$c(),hg("ngIf",!e.is_old_rating&&!e.submitted),$c(),hg("ngIf",e.voted&&e.submitted),$c(),hg("ngIf",e.reviews||e.voted),$c(),hg("ngIf",e.discussion_link||e.full_review_link)}}function Ok(e,t){if(1&e&&(r_(0,"span",39),o_(1,"meta",40)(2,"meta",41)(3,"meta",42)(4,"meta",43),s_()),2&e){const e=Hm();$c(),Df("content",e.rating),$c(),Df("content",e.reviews||1)}}class Nk{constructor(e){this.cd=e,this.newRating=new kt,this._reviewslink=!0,this.with_schema=!0,this.review_label="Review",this.showhover=!DI(),this.showcount=!0,this.allow_rating=!0,this.show_user_text=!1,this.is_browser=AI()||DI(),this.stars=[],this.is_popup=!1,this._moved_out=!1,this.is_old_rating=!1,this.voted=!1,this.voting=!1,this.submitted=!1,this.svg_secl="#e4e9eb",this.svg_sfcl="#14cbbc",this._svg_sdim={width:18,height:16.5,get heightpx(){return(0|this.height)+"px"}},this._svg_stp=1;let t=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}();this._guid=t}set id(e){e!==this._id&&(this._id=e,this._is_ready&&(this.SetUserVotes(),this.cd.detectChanges()))}get id(){return this._id}get rating(){return this._ratingratio}set rating(e){let t=Math.round(100*e)/100;this._ratingratio=t;let n=e-parseInt(e+"");this.rating_rounded=n<=.12?Math.round(e):n>.12&&n<.38?Math.floor(10*e)/10:n>.37&&n<.4?Math.ceil(10*e)/10:n>.39&&n<.63?Math.round(10*e)/10:n>.62&&n<.7?Math.ceil(10*e)/10:n>.69&&n<.8?Math.round(10*e)/10:n>=.8&&n<.88?Math.floor(10*e)/10:Math.round(10*e)/10,this.stars=this._GetStars(),this.cd.detectChanges()}set reviews(e){this._reviews=e,this.cd.detectChanges()}get reviews(){return this._reviews}set reviewslink(e){this._reviewslink=e}get reviewslink(){return!(!this._reviewslink||!this.url)}set svg_sdim(e){this._svg_sdim.width=e.width,this._svg_sdim.height=e.height}get svg_sdim(){return this._svg_sdim}set svg_stp(e){let t=this._svg_stp;this._svg_stp=e,e!==t&&(this.stars=this._GetStars(),this.cd.detectChanges())}get svg_stp(){return this._svg_stp}_GetStars(){let e=[],t=1*this.rating,n=t,i=parseInt(t+""),r=n-i;for(let t=0;t<5;t++)t<i||t==i&&r>.87?e.push("rv-star-full-fill"):t==i&&r>.12&&r<.38?e.push("rv-star-quarter-"+(2==this._svg_stp?"clear":"fill")):t==i&&r>.37&&r<.63?e.push("rv-star-half-"+(2==this._svg_stp?"clear":"fill")):t==i&&r>.62&&r<.88?e.push("rv-star-three-quarter-"+(2==this._svg_stp?"clear":"fill")):e.push("rv-star-empty-"+(2==this._svg_stp?"clear":"fill"));return e}trackByIndex(e){return e}StartRating(e,t,n){let i=["Bad","Below Average","Average","Good","Excellent"];if(this.showhover)if("mouseenter"==e.type||"mouseleave"==e.type)if("add"==n){this.is_popup=!0,clearTimeout(this._submit_time_out),this.stars=[];for(var r=0;r<5;r++)this.stars[r]=r<=t?"rv-star-full-fill":"rv-star-empty-"+(2==this._svg_stp?"clear":"fill");this.ratingText=i[t],this.is_old_rating=t+1==this._old_rating}else null!=e.toElement&&(clearTimeout(this._submit_time_out),this.stars=this._GetStars());else if("add"==n)if(this.allow_rating)this._DoRate(t),this.is_old_rating=t+1==this._old_rating;else{let e=t+1;if(this.full_review_link){let t=new URL(this.full_review_link);t.searchParams.set("r",e.toString()),this.full_review_link=t.toString(),window.open(this.full_review_link,DI()?"_blank":"_self")}}else this.stars=this._GetStars(),this.is_popup=!1,this.submitted=!1;this.cd.detectChanges()}StarReset(){this.stars=this._GetStars(),this.cd.detectChanges()}_PopupClose(){this.stars=this._GetStars(),this.is_popup=!1,this.submitted=!1,this._moved_out=!1,this.cd.detectChanges()}PopupIn(){clearTimeout(this._submit_time_out),this.is_popup=!0,this._moved_out&&(this.submitted=!1),this._moved_out=!1,this.cd.detectChanges()}PopupOut(e){clearTimeout(this._submit_time_out),this._submit_time_out=setTimeout((()=>{this._PopupClose()}),1e3),this._moved_out=!0,this.StarReset()}PopupDocClose(){clearTimeout(this._submit_time_out),this._PopupClose()}_DoRate(e){let t=e+1;if(this.newRating.emit(t),clearTimeout(this._submit_time_out),this.is_popup=!1,this.submitted=!1,!this.is_old_rating){let e={url:mx(),id:"item-rating",data:{rtg:t},headers:{"Content-Type":"application/x-www-form-urlencoded"},before:()=>{this.voting=!0,this.cd.detectChanges()},after:()=>{this.voting=!1,this.cd.detectChanges()}};this.asproduct?(e.data.action="Details.SetRate",e.data.pid=this.id):(e.data.action="Reviews.SetInstRate",e.data.inst_uid=this.id,e.data.rating=e.data.rtg,delete e.data.rtg),AI()&&Vx.set("wh_ratings_tracking",this._guid,365),Yx("item-rating"),Gx(e).then((e=>{if(UI(e))if(e.error){if(AI())if(Vx.remove("wh_ratings_tracking"),e.guest)window.open(hx()+"/join/light?ref="+window.location.href,"_parent");else if("logged out"==e.message&&"redirect_url"in e){let t=window.location.protocol+"//"+window.location.host+"/";t==e.redirect_url.substr(0,t.length)&&window.open(e.redirect_url,"_parent")}}else{if(e.guest)return void(AI()?window.open(hx()+"/join/light?ref="+window.location.href,"_parent"):Mx.emit("$native:api-no-session",{type:"rate-content"}));this.voted=!0,this.submitted=!0;let n=rD.get("inst_votes")||{};n[(e.uid||this.userId)+""+this.id]=t,rD.set("inst_votes",n,6048e5),this._old_rating=t,this.reviews=e.reviews||e.total,this.rating=Math.round(10*MI(e.rating||0))/10,this.stars=this._GetStars(),this.PopupIn(),this._submit_time_out=setTimeout((()=>{this.is_popup=!1,this.cd.detectChanges()}),8e3)}this.cd.detectChanges()})).catch((()=>{Vx.remove("wh_ratings_tracking"),this.cd.detectChanges()}))}this.cd.detectChanges()}SetUserVotes(){if(!RI()&&!KI(this._id)&&!KI(this.userId)){var e=rD.get("inst_votes")||{};this._old_rating=e[this.userId+""+this._id],this._old_rating&&(this.submitted=!0,this.voted=!0)}}ngOnInit(){if(!RI()){if(cD()){let e=aD();this.userId=e.id}this.SetUserVotes(),this._is_ready=!0}}}Nk.ɵfac=function(e){return new(e||Nk)(Yc(Ly))},Nk.ɵcmp=vn({type:Nk,selectors:[["rating-box"]],hostAttrs:[1,"rating-box"],hostBindings:function(e,t){1&e&&Nm("mouseleave",(function(e){return t.PopupOut(e)}))},inputs:{id:"id",rating:"rating",reviews:"reviews",type:"type",url:[e.InputFlags.None,"reviews-link","url"],reviewslink:[e.InputFlags.None,"link-reviews-active","reviewslink"],full_review_link:[e.InputFlags.None,"write-review-link","full_review_link"],discussion_link:[e.InputFlags.None,"discussion-link","discussion_link"],with_schema:[e.InputFlags.None,"aggregate-rating","with_schema"],review_label:[e.InputFlags.None,"review-label","review_label"],asproduct:"asproduct",showhover:[e.InputFlags.None,"show-hover","showhover"],showcount:[e.InputFlags.None,"show-reviews-count","showcount"],allow_rating:[e.InputFlags.None,"allow-rating","allow_rating"],show_user_text:[e.InputFlags.None,"show-user-text","show_user_text"],svg_secl:[e.InputFlags.None,"svg-star-empty-color","svg_secl"],svg_sfcl:[e.InputFlags.None,"svg-star-fill-color","svg_sfcl"],svg_sdim:[e.InputFlags.None,"svg-star-dim","svg_sdim"],svg_stp:[e.InputFlags.None,"svg-star-type","svg_stp"]},outputs:{newRating:"newRating"},decls:7,vars:7,consts:[["class","rvs-star-svg","viewBox","0 0 34 32","preserveAspectRatio","none","zing-touch","",3,"cursor-default","tabindex","onTapHover","onTapHoverOutside",4,"ngFor","ngForOf","ngForTrackBy"],[1,"rating-ios-reader"],[4,"ngIf"],["class","progress-indicator",3,"visible",4,"ngIf"],["class","popup-review show ng-enter-element","zing-touch","",3,"onTapHover","onTapDoc",4,"ngIf"],["itemprop","aggregateRating","itemscope","","itemtype","http://schema.org/AggregateRating",4,"ngIf"],["viewBox","0 0 34 32","preserveAspectRatio","none","zing-touch","",1,"rvs-star-svg",3,"tabindex","onTapHover","onTapHoverOutside"],["d","M33.649 12.215h-12.815l-3.972-12.215-3.972 12.215h-12.89l10.417 7.569-3.972 12.215 10.417-7.569 10.342 7.569-3.972-12.215 10.417-7.569z",3,"ng-svg-attr"],["d","M31.326 12.965l-8.918 6.52 3.372 10.567-8.918-6.52-8.993 6.52 3.447-10.567-8.993-6.52h11.091l3.447-10.567 3.372 10.567h11.091z",3,"ng-svg-attr"],["fill","none","stroke","#14cbbc","stroke-linejoin","miter","stroke-linecap","butt","stroke-miterlimit","10","stroke-width","1.4988","d","M16.862 2.398l3.372 10.567h11.091l-8.918 6.52 3.372 10.567-8.918-6.52-8.993 6.52 3.447-10.567-8.993-6.52h11.091l3.447-10.567z",3,"ng-svg-attr"],["d","M16.862 4.871v-4.871l-3.972 12.215h-12.89l10.417 7.569-3.972 12.215 10.417-7.569v-19.56z",3,"ng-svg-attr"],["d","M33.649 12.215h-12.815l-3.972-12.215v24.431l10.342 7.569-3.972-12.215 10.417-7.569z",3,"ng-svg-attr"],["d","M0,12.2l10.4,7.6L6.4,32l4-2.9c0-1.4,0-15.4,0-16.9H0L0,12.2z",3,"ng-svg-attr"],["d","M10.4,12.2c0,1.5,0,15.5,0,16.9l6.4-4.7l0,0L27.2,32l-4-12.2l10.4-7.6H20.7L16.7,0l-3.9,12.2\n            C12.8,12.2,10.4,12.2,10.4,12.2z",3,"ng-svg-attr"],["d","M20.8,12.2L16.9,0l-4,12.2H0l10.4,7.6L6.4,32l10.4-7.6v0l6.4,4.7c0-1.4,0-15.4,0-16.9H20.8z",3,"ng-svg-attr"],["d","M33.6,12.2H23.2c0,1.5,0,15.5,0,16.9l4,2.9l-4-12.2L33.6,12.2L33.6,12.2z",3,"ng-svg-attr"],["d","M6.37 32l3.972-12.215-10.417-7.569h12.89l3.972-12.215 3.972 12.215h12.89l-10.417 7.569 3.972 12.215-10.417-7.569zM16.787 22.557l7.569 5.471-2.848-8.843 7.569-5.471h-9.368l-2.848-8.843-2.848 8.843h-9.368l7.569 5.471-2.848 8.843z",3,"ng-svg-attr"],["d","M33.649 12.215h-12.815l-3.972-12.215-3.972 12.215h-12.89l10.417 7.569-3.972 12.215 10.417-7.569 10.417 7.569-3.972-12.215zM24.356 28.103l-7.569-5.471v-17.836l2.923 8.843h9.368l-7.569 5.471z",3,"ng-svg-attr"],["class","review","zing-touch","",3,"zing-url","href",4,"ngIf"],["class","review plain-rv",4,"ngIf"],["zing-touch","",1,"review",3,"zing-url","href"],["tabindex","-1","aria-hidden","true",1,"rev-count"],["tabindex","-1","aria-hidden","true",1,"rev-txt"],[1,"review","plain-rv"],[1,"progress-indicator"],["class","progress-ind-spinner progress-spin",4,"ngIf"],[1,"progress-ind-spinner","progress-spin"],["zing-touch","",1,"popup-review","show","ng-enter-element",3,"onTapHover","onTapDoc"],["class","bold green rtg-text",4,"ngIf"],["class","green bold",4,"ngIf"],["class","popup-link",4,"ngIf"],[1,"bold","green","rtg-text"],[1,"green","bold"],[1,"bold","ng-binding"],[1,"popup-link"],["class","link","zing-touch","",3,"href","zing-url",4,"ngIf"],["class","link","zing-touch","",3,"zing-url","href",4,"ngIf"],["zing-touch","",1,"link",3,"href","zing-url"],["zing-touch","",1,"link",3,"zing-url","href"],["itemprop","aggregateRating","itemscope","","itemtype","http://schema.org/AggregateRating"],["itemprop","ratingValue"],["itemprop","reviewCount"],["itemprop","worstRating","content","0"],["itemprop","bestRating","content","5"]],template:function(e,t){1&e&&(cp(0,gk,8,13,"svg",0),r_(1,"span",1),Iv(2),s_(),cp(3,vk,3,2,"ng-container",2)(4,yk,2,3,"div",3)(5,kk,8,7,"div",4)(6,Ok,5,2,"span",5)),2&e&&(hg("ngForOf",t.stars)("ngForTrackBy",t.trackByIndex),$c(2),Av("",t.rating," out of 5 rating"),$c(),hg("ngIf",t.showcount&&t.reviews),$c(),hg("ngIf",t.is_browser),$c(),hg("ngIf",t.is_browser&&t.showhover&&t.is_popup),$c(),hg("ngIf",t.rating>0&&t.with_schema))},dependencies:[bT,wT,iC,XA,YA],encapsulation:2,changeDetection:0});class Fk{}Fk.ɵfac=function(e){return new(e||Fk)},Fk.ɵmod=wn({type:Fk}),Fk.ɵinj=Vr({imports:[tI,ax]});class Lk{constructor(e){this.onSubmit=new kt,this._allow_submit=!1,this._form=e.nativeElement,this.submit=this.submit.bind(this)}submit(e){return this.onSubmit.emit(e),this._allow_submit||e.preventDefault(),this._allow_submit}ngAfterViewInit(){this._form&&!RI()&&this._form.addEventListener("submit",this.submit,!1)}ngOnDestroy(){this._form&&!RI()&&this._form.removeEventListener("submit",this.submit)}}Lk.ɵfac=function(e){return new(e||Lk)(Yc(Ar))},Lk.ɵdir=Tn({type:Lk,selectors:[["form","form-submit",""]],inputs:{_allow_submit:[e.InputFlags.None,"allow-submit","_allow_submit"]},outputs:{onSubmit:"onSubmit"}});class Pk{}Pk.ɵfac=function(e){return new(e||Pk)},Pk.ɵmod=wn({type:Pk}),Pk.ɵinj=Vr({imports:[tI,ax]});const Mk=["dropdownList"],Hk=["button"];function Bk(e,t){if(1&e&&o_(0,"span",10),2&e){const e=Hm();hg("cleanHTML",e.placeholder),Df("tabindex",e.tabindex)("aria-expanded",e.opened)}}function zk(e,t){if(1&e){const e=h_();r_(0,"li",11),Nm("onClick",(function(){const t=ji(e).index;return Vi(Hm().selectItem(t))}))("onTap",(function(t){ji(e);return Vi(Hm().PreventClose(t))})),s_()}if(2&e){const e=t.$implicit,n=t.index,i=Hm();gg("active",i.activeidx==n),hg("cleanHTML",e),Df("aria-selected",i.activeidx==n)("id",i.optionid+"-"+n)}}function qk(e,t){if(1&e){const e=h_();r_(0,"li",12),Nm("onTap",(function(t){ji(e);return Vi(Hm().PreventClose(t))}))("onClick",(function(){ji(e);return Vi(Hm().clickExternalLink())})),s_()}if(2&e){hg("cleanHTML",Hm().externalLinkOptionText)}}function Uk(e,t){1&e&&o_(0,"span",13),2&e&&Df("aria-hidden",!0)}function jk(e,t){if(1&e){const e=h_();r_(0,"span",14),Nm("onTap",(function(t){ji(e);return Vi(Hm().Clear(t))})),s_()}}const Vk=(e,t,n,i,r,s)=>({"ng-wh-error":e,"drp-b-darker":t,second:n,selected:i,opened:r,disabled:s});function Wk(e,t){if(1&e&&(r_(0,"span",12),Nm("onTap",(function(){return!0})),s_()),2&e){hg("cleanHTML",Hm().placeholder)}}function $k(e,t){if(1&e&&(r_(0,"span",13),Nm("onTap",(function(){return!0})),s_()),2&e){hg("cleanHTML",Hm().value)}}const Gk=(e,t,n,i,r)=>({"ng-wh-error":e,"drp-b-darker":t,second:n,selected:i,opened:r});class Yk{set value(e){this.noselection=!e,this._value=e,this.items&&(this.activeidx=this.items.indexOf(e)),this.usemap&&this.itemsMap&&this.itemsMap.length&&(!PI(this.activeidx)||this.activeidx<0)&&(this.activeidx=this.itemsMap.indexOf(this._value))}get value(){return this.itemsMap&&PI(this.activeidx)?(this.itemsMap[this.activeidx]||this._value||"").toString():this._value}get value_ui(){return this.itemsMap&&PI(this.activeidx)?this.usemap&&this.itemsMap&&this.itemsMap.length&&PI(this.activeidx)?(this.items[this.activeidx]||this._value||"").toString():(this.itemsMap[this.activeidx]||this._value||"").toString():this._value}controlList(e,t){this.disabled||(this.opened=void 0!==t?t:!this.opened,this.onTapped.emit(this),this.fixOverflow(),this._android_delay=!0,setTimeout((()=>{this._android_delay=!1}),100))}close(){this.opened=!1}open(){this.opened=!0}PreventClose(e){e&&e.srcEvent&&(e.srcEvent.cancelBubble=!0,e.srcEvent.stopPropagation&&e.srcEvent.stopPropagation()),e&&e.stopPropagation&&e.stopPropagation()}selectItem(e=0){this._android_delay||(this._value=this.items[e],this.activeidx=e,this.valueChange.emit(this.value),this.noselection=!1,this.selected.emit({eventName:"select",value:this.value,index:e}),this.activedescendant=this.optionid+"-"+this.activeidx,this.close(),this._cd.detectChanges(),this.listbutton&&this.listbutton.nativeElement.focus())}Clear(e){this._value=null,this.activeidx=null,this.valueChange.emit(this.value),this.noselection=!0,this.selected.emit({eventName:"select",value:this.value,index:null}),this.activedescendant=null,this._cd.detectChanges(),this.listbutton&&this.listbutton.nativeElement.focus(),e.preventDefault(),e.stopPropagation()}trackByFn(e){return e}constructor(e){this._cd=e,this.tabindex=0,this.placeholder="Select...",this.items=[],this.darker=!1,this.invalid=!1,this.disabled=!1,this.bounds_check=!1,this.labelledby="",this.clearable=!1,this.hasExternalLinkOption=!1,this.externalLinkOptionText="Add New",this.usemap=!1,this.valueChange=new kt,this.selected=new kt,this.onTapped=new kt,this.onExternalLinkTap=new kt,this.noselection=!0,this.opened=!1,this.activeidx=null,this._android_delay=!1}ngOnInit(){this.optionid=JI("opt-"),this.value&&this.items.indexOf(this.value)>-1&&(this.activeidx=this.items.indexOf(this.value),this.activedescendant=this.optionid+"-"+this.activeidx)}fixOverflow(){let e=this.dropdownList&&this.dropdownList.nativeElement,t=e&&e.parentElement;XI((()=>{try{let n=e.getBoundingClientRect();t.getBoundingClientRect().x+n.width>=window.innerWidth?e.classList.add("sticky-right"):e.classList.remove("sticky-right"),this.bounds_check&&n.y+n.height>window.innerHeight?e.classList.add("upwards"):e.classList.remove("upwards")}catch(e){throw e}}))}clickExternalLink(){this.onExternalLinkTap.emit(!0)}}Yk.ɵfac=function(e){return new(e||Yk)(Yc(Ly))},Yk.ɵcmp=vn({type:Yk,selectors:[["ng-dropdown"]],viewQuery:function(e,t){if(1&e&&(Xm(Mk,5,Ar),Xm(Hk,5,Ar)),2&e){let e;ev(e=tv())&&(t.dropdownList=e.first),ev(e=tv())&&(t.listbutton=e.first)}},inputs:{tabindex:"tabindex",placeholder:"placeholder",items:"items",itemsMap:"itemsMap",second:"second",darker:[e.InputFlags.None,"dark-borders","darker"],invalid:"invalid",disabled:"disabled",bounds_check:[e.InputFlags.None,"bounds-check","bounds_check"],labelledby:"labelledby",clearable:"clearable",hasExternalLinkOption:"hasExternalLinkOption",externalLinkOptionText:"externalLinkOptionText",usemap:"usemap",value:"value"},outputs:{valueChange:"valueChange",selected:"selected",onTapped:"onTapped",onExternalLinkTap:"onExternalLinkTap"},decls:10,vars:22,consts:[["zing-touch","",1,"dropdown",3,"ngClass","onTap","onTapOutside"],["role","button","aria-haspopup","listbox","class","dropdown-placeholder",3,"cleanHTML",4,"ngIf"],["role","button","aria-haspopup","listbox",1,"dropdown-selected",3,"ng-hidden","cleanHTML"],["button",""],["role","listbox","tabindex","0",1,"dropdown-list","ng-enter-element",3,"ng-hidden"],["dropdownList",""],["class","dropdown-item","role","option","zing-touch","",3,"active","cleanHTML","onClick","onTap",4,"ngFor","ngForOf","ngForTrackBy"],["class","dropdown-item external-link","role","option","zing-touch","",3,"cleanHTML","onTap","onClick",4,"ngIf"],["tabindex","-1","class","dropdown-arrow  bf-icon-down-open",4,"ngIf"],["zing-touch","","tabindex","0","aria-role","button","aria-label","Clear Selection","class","dropdown-close bf-icon-cross",3,"onTap",4,"ngIf"],["role","button","aria-haspopup","listbox",1,"dropdown-placeholder",3,"cleanHTML"],["role","option","zing-touch","",1,"dropdown-item",3,"cleanHTML","onClick","onTap"],["role","option","zing-touch","",1,"dropdown-item","external-link",3,"cleanHTML","onTap","onClick"],["tabindex","-1",1,"dropdown-arrow","bf-icon-down-open"],["zing-touch","","tabindex","0","aria-role","button","aria-label","Clear Selection",1,"dropdown-close","bf-icon-cross",3,"onTap"]],template:function(e,t){1&e&&(r_(0,"div",0),Nm("onTap",(function(e){return t.controlList(e)}))("onTapOutside",(function(e){return t.controlList(e,!1)})),cp(1,Bk,1,3,"span",1),o_(2,"span",2,3),r_(4,"ul",4,5),cp(6,zk,1,5,"li",6)(7,qk,1,1,"li",7),s_(),cp(8,Uk,1,1,"span",8)(9,jk,1,0,"span",9),s_()),2&e&&(hg("ngClass",sb(15,Vk,t.invalid,t.darker,t.second,!t.noselection,t.opened,t.disabled)),$c(),hg("ngIf",t.placeholder&&t.noselection),$c(),hg("ng-hidden",t.noselection)("cleanHTML",t.value_ui),Df("tabindex",t.noselection?t.tabindex:-1)("aria-hidden",t.noselection)("aria-expanded",t.opened),$c(2),hg("ng-hidden",!t.opened),Df("aria-labelledby",t.labelledby)("aria-activedescendant",t.activedescendant),$c(2),hg("ngForOf",t.items)("ngForTrackBy",t.trackByFn),$c(),hg("ngIf",t.hasExternalLinkOption),$c(),hg("ngIf",!(t.disabled||t.clearable&&!t.noselection)),$c(),hg("ngIf",!t.disabled&&t.clearable&&!t.noselection))},dependencies:[gT,bT,wT,iC,$A,KA],encapsulation:2});class Qk{}Qk.ɵfac=function(e){return new(e||Qk)},Qk.ɵmod=wn({type:Qk}),Qk.ɵinj=Vr({imports:[tI,ax]});class Kk extends Yk{constructor(){super(...arguments),this.text="Some text to display",this.name="",this.label="",this.booleanValue=null}Check(e){void 0!==e&&(this.booleanValue===e?(this.booleanValue=null,this.value=null):(this.booleanValue=e,this.value=e?"Yes":"No"),this.valueChange.emit(this.value))}}Kk.ɵfac=(()=>{let e;return function(t){return(e||(e=Da(Kk)))(t||Kk)}})(),Kk.ɵcmp=vn({type:Kk,selectors:[["ng-dropdown-bool"]],inputs:{text:"text",name:"name",label:"label"},features:[kh],decls:19,vars:17,consts:[["zing-touch","",1,"dropdown",3,"ngClass","onTap","onTapOutside"],["zing-touch","","class","dropdown-placeholder",3,"cleanHTML","onTap",4,"ngIf"],["zing-touch","","class","dropdown-selected",3,"cleanHTML","onTap",4,"ngIf"],[1,"dropdown-list","ng-enter-element",3,"ng-hidden"],["dropdownList",""],[1,"text"],[1,"boolean-items"],[1,"checkbox"],["type","checkbox","value","",3,"checked","name","change"],[1,"track","bf-icon-ok"],[1,"name"],[1,"dropdown-arrow","bf-icon-down-open"],["zing-touch","",1,"dropdown-placeholder",3,"cleanHTML","onTap"],["zing-touch","",1,"dropdown-selected",3,"cleanHTML","onTap"]],template:function(e,t){1&e&&(r_(0,"div",0),Nm("onTap",(function(e){return t.controlList(e)}))("onTapOutside",(function(e){return t.controlList(e,!1)})),cp(1,Wk,1,1,"span",1)(2,$k,1,1,"span",2),r_(3,"div",3,4)(5,"p",5),Iv(6),s_(),r_(7,"div",6)(8,"label",7)(9,"input",8),Nm("change",(function(){return t.Check(!0)})),s_(),o_(10,"i",9),r_(11,"span",10),Iv(12,"Yes"),s_()(),r_(13,"label",7)(14,"input",8),Nm("change",(function(){return t.Check(!1)})),s_(),o_(15,"i",9),r_(16,"span",10),Iv(17,"No"),s_()()()(),o_(18,"i",11),s_()),2&e&&(hg("ngClass",rb(11,Gk,t.invalid,t.darker,t.second,!t.noselection,t.opened)),$c(),hg("ngIf",t.placeholder&&t.noselection),$c(),hg("ngIf",!t.noselection),$c(),hg("ng-hidden",!t.opened),$c(3),Sv(t.text),$c(2),Df("aria-label",t.label),$c(),hg("checked",!0===t.booleanValue)("name",t.name),$c(4),Df("aria-label",t.label),$c(),hg("checked",!1===t.booleanValue)("name",t.name))},dependencies:[gT,wT,iC,$A,KA],encapsulation:2});class Zk{}Zk.ɵfac=function(e){return new(e||Zk)},Zk.ɵmod=wn({type:Zk}),Zk.ɵinj=Vr({imports:[tI,ax]});const Jk=["input"];function Xk(e,t){if(1&e&&o_(0,"div",6),2&e){hg("cleanHTML",Hm().label)}}function eO(e,t){if(1&e&&o_(0,"div",7),2&e){hg("cleanHTML",Hm().label)("zing-url-container",!0)}}class tO{get required(){return this._required}set required(e){this._required=!!e}Check(){this.checked=!this.checked,this.checkedChange.emit(this.checked)}constructor(e){this.renderer=e,this.name=null,this.label=null,this.has_links=!1,this.arialabel=null,this.checkedChange=new kt,this.checked=!1,this.disabled=!1}ngAfterViewInit(){RI()&&this.checked&&this.renderer.setAttribute(this.checkbox.nativeElement,"checked","checked")}}tO.ɵfac=function(e){return new(e||tO)(Yc(gd))},tO.ɵcmp=vn({type:tO,selectors:[["ng-checkbox"]],viewQuery:function(e,t){if(1&e&&Xm(Jk,5,Ar),2&e){let e;ev(e=tv())&&(t.checkbox=e.first)}},inputs:{required:"required",name:"name",label:"label",has_links:[e.InputFlags.None,"label-with-links","has_links"],arialabel:"arialabel",checked:"checked",disabled:"disabled"},outputs:{checkedChange:"checkedChange"},decls:6,vars:8,consts:[["role","checkbox","tabindex","0",1,"checkbox"],["type","checkbox","value","","aria-hidden","true","tabindex","-1",3,"checked","required","disabled","name","change"],["input",""],[1,"track","bf-icon-ok"],["class","name",3,"cleanHTML",4,"ngIf"],["class","name text-select","zing-touch","",3,"cleanHTML","zing-url-container",4,"ngIf"],[1,"name",3,"cleanHTML"],["zing-touch","",1,"name","text-select",3,"cleanHTML","zing-url-container"]],template:function(e,t){1&e&&(r_(0,"label",0)(1,"input",1,2),Nm("change",(function(){return t.Check()})),s_(),o_(3,"span",3),cp(4,Xk,1,1,"div",4)(5,eO,1,2,"div",5),s_()),2&e&&(Df("aria-label",t.arialabel||t.label)("aria-checked",t.checked?"true":"false"),$c(),hg("checked",t.checked)("required",t.required)("disabled",t.disabled)("name",t.name),$c(3),hg("ngIf",t.label&&!t.has_links),$c(),hg("ngIf",t.label&&t.has_links))},dependencies:[wT,iC,KA],encapsulation:2});class nO{}nO.ɵfac=function(e){return new(e||nO)},nO.ɵmod=wn({type:nO}),nO.ɵinj=Vr({imports:[tI,ax]});const iO=["input"];function rO(e,t){if(1&e&&o_(0,"span",5),2&e){hg("cleanHTML",Hm().label)}}class sO{get required(){return this._required}set required(e){this._required=!!e}get selected(){return this._selected}set selected(e){let t=this.checked;this._selected=e,t=e===this.value,this.checked=t}Check(){this.value!==this.selected&&(this.selected=this.value,this.selectedChange.emit(this.selected))}constructor(e,t){this.el=e,this.renderer=t,this.name=null,this.label=null,this.arialabel=null,this.arialabelledby=null,this.ariadescribedby=null,this.checked=!1,this.value=null,this.selectedChange=new kt}ngAfterViewInit(){RI()&&this.checked&&this.renderer.setAttribute(this.radiobox.nativeElement,"checked","checked")}}sO.ɵfac=function(e){return new(e||sO)(Yc(Ar),Yc(gd))},sO.ɵcmp=vn({type:sO,selectors:[["ng-radio"]],viewQuery:function(e,t){if(1&e&&Xm(iO,5,Ar),2&e){let e;ev(e=tv())&&(t.radiobox=e.first)}},inputs:{required:"required",name:"name",label:"label",arialabel:"arialabel",arialabelledby:"arialabelledby",ariadescribedby:"ariadescribedby",value:"value",disabled:"disabled",selected:"selected"},outputs:{selectedChange:"selectedChange"},decls:5,vars:10,consts:[["role","radio","tabindex","0",1,"radiobutton"],["type","radio","ng-aria-hidden","true",3,"checked","required","disabled","name","value","change"],["input",""],["ng-aria-hidden","true",1,"track"],["class","value text-select","ng-aria-hidden","true",3,"cleanHTML",4,"ngIf"],["ng-aria-hidden","true",1,"value","text-select",3,"cleanHTML"]],template:function(e,t){1&e&&(r_(0,"label",0)(1,"input",1,2),Nm("change",(function(){return t.Check()})),s_(),o_(3,"span",3),cp(4,rO,1,1,"span",4),s_()),2&e&&(Df("aria-label",t.arialabel||t.label)("aria-labelledby",t.arialabelledby)("aria-describedby",t.ariadescribedby)("aria-checked",t.checked),$c(),hg("checked",t.checked)("required",t.required)("disabled",t.disabled)("name",t.name)("value",t.value),$c(3),hg("ngIf",t.label))},dependencies:[wT,KA,tx],encapsulation:2});class oO{}function aO(e,t){if(1&e&&(r_(0,"span",5),Iv(1),s_()),2&e){const e=Hm();$c(),Sv(e.label)}}function lO(e,t){if(1&e&&(r_(0,"span",6),Iv(1),s_()),2&e){const e=Hm();$c(),Sv(e.label)}}oO.ɵfac=function(e){return new(e||oO)},oO.ɵmod=wn({type:oO}),oO.ɵinj=Vr({imports:[tI,ax]});const cO=e=>({small:e});class uO{constructor(){this.name=null,this.label=null,this.small=!1,this.checkedChange=new kt}Check(){this.checked=!this.checked,this.checkedChange.emit(this.checked)}}uO.ɵfac=function(e){return new(e||uO)},uO.ɵcmp=vn({type:uO,selectors:[["ng-toggle"]],inputs:{name:"name",label:"label",small:"small",disabled:"disabled",checked:"checked"},outputs:{checkedChange:"checkedChange"},decls:5,vars:10,consts:[["role","switch","tabindex","0",1,"toggle-label",3,"ngClass"],["type","checkbox",3,"name","checked","disabled","change"],[1,"track"],["hidden","true",4,"ngIf"],["class","toggle-label-text",4,"ngIf"],["hidden","true"],[1,"toggle-label-text"]],template:function(e,t){1&e&&(r_(0,"label",0)(1,"input",1),Nm("change",(function(){return t.Check()})),s_(),o_(2,"span",2),cp(3,aO,2,1,"span",3),s_(),cp(4,lO,2,1,"span",4)),2&e&&(hg("ngClass",eb(8,cO,t.small)),Df("aria-label",t.label)("aria-checked",t.checked?"true":"false"),$c(),hg("name",t.name)("checked",t.checked)("disabled",t.disabled),$c(2),hg("ngIf",t.label),$c(),hg("ngIf",t.label))},dependencies:[gT,wT],encapsulation:2});class dO{}dO.ɵfac=function(e){return new(e||dO)},dO.ɵmod=wn({type:dO}),dO.ɵinj=Vr({imports:[tI,ax]});const hO=["tooltipdialog"];function pO(e,t){if(1&e){const e=h_();r_(0,"i",3),Nm("onTap",(function(t){ji(e);return Vi(Hm().OpenToolTip(t))})),s_()}}const fO=()=>["tool-tip"];class gO{constructor(){this.data={}}}gO.ɵfac=function(e){return new(e||gO)},gO.ɵcmp=vn({type:gO,selectors:[["tool-tip-content"]],decls:2,vars:2,consts:[["zing-touch","",3,"innerHTML","zing-url-container"]],template:function(e,t){1&e&&(r_(0,"div",0),o_(1,"div"),s_()),2&e&&hg("innerHTML",t.data.content,Hl)("zing-url-container",!0)},dependencies:[iC],encapsulation:2});class _O{constructor(){this.with_button=!0,this.propagate_event=!0,this.fixed_parent=!1,this.onClose=new kt}set open_popup(e){this._open_popup=e,e&&this.OpenToolTip(null)}get open_popup(){return this._open_popup}ReloadTooltip(e){this._dialog.UpdateData({content:this.content}),e.stopPropagation()}OpenToolTip(e,t){if(this._dialog.opened)return void(e&&e.stopPropagation());mO.forEach(((e,t)=>{e&&e!==this._dialog&&(e.Close(null,!0),mO[t]=null)})),this._dialog.Open(gO,{content:this.content},{return_focus_to:t});let n=this._dialog.onClose.subscribe((()=>{setTimeout((()=>{n.unsubscribe()}))}));mO.indexOf(this._dialog)<0&&mO.push(this._dialog),this.propagate_event||e.stopPropagation()}ngOnDestroy(){var e=mO.indexOf(this._dialog);e>-1&&mO.splice(e,1)}CloseTip(){this._dialog.CloseThisPopup()}}_O.ɵfac=function(e){return new(e||_O)},_O.ɵcmp=vn({type:_O,selectors:[["tool-tip"]],viewQuery:function(e,t){if(1&e&&Xm(hO,5),2&e){let e;ev(e=tv())&&(t._dialog=e.first)}},inputs:{parentscroller:[e.InputFlags.None,"popupscroller","parentscroller"],content:[e.InputFlags.None,"popupcontent","content"],with_button:[e.InputFlags.None,"popupbutton","with_button"],propagate_event:[e.InputFlags.None,"popuptapevent","propagate_event"],fixed_parent:[e.InputFlags.None,"popup-relative","fixed_parent"],open_popup:[e.InputFlags.None,"popupOpen","open_popup"]},outputs:{onClose:"onClose"},decls:3,vars:5,consts:[[3,"popupscroller","popup-relative","classes"],["tooltipdialog",""],["class","tool-tip-bt bf-icon-info","zing-touch","",3,"onTap",4,"ngIf"],["zing-touch","",1,"tool-tip-bt","bf-icon-info",3,"onTap"]],template:function(e,t){1&e&&(o_(0,"modal-popup",0,1),cp(2,pO,1,0,"i",2)),2&e&&(hg("popupscroller",t.parentscroller)("popup-relative",t.fixed_parent)("classes",Xv(4,fO)),$c(2),hg("ngIf",t.with_button))},dependencies:[wT,iC,JR],encapsulation:2});let mO=[];class vO{}vO.ɵfac=function(e){return new(e||vO)},vO.ɵmod=wn({type:vO}),vO.ɵinj=Vr({imports:[tI,ax,XR]});const bO=["tooltip"];function yO(e,t){if(1&e&&o_(0,"span",7),2&e){hg("cleanHTML",Hm(2).html)}}function wO(e,t){if(1&e&&(r_(0,"span"),Iv(1),s_()),2&e){const e=Hm(2);$c(),Sv(e.text)}}function EO(e,t){if(1&e){const e=h_();r_(0,"span",8),Nm("onTap",(function(t){ji(e);return Vi(Hm(2).RemoveTag(t))})),s_()}2&e&&hg("zing-no-touch",!0)}function TO(e,t){if(1&e&&(r_(0,"div",1),cp(1,yO,1,1,"span",2)(2,wO,2,1,"span",3)(3,EO,1,1,"span",4),o_(4,"tool-tip",5,6),s_()),2&e){const e=Hm();gg("no-x",e.disable_x&&!e.disable_x_tip),$c(),hg("ngIf",e.html),$c(),hg("ngIf",e.text),$c(),hg("ngIf",!e.disable_x||e.disable_x_tip),$c(),hg("ng-hidden",!e.disable_x_tip)("popupcontent",e.disable_x_tip)("popupbutton",!1)("popup-relative",!0)}}class IO{constructor(){this.taggedChange=new kt,this.disable_x=!1,this.disable_x_tip=""}RemoveTag(e){this.disable_x_tip?this._mytip.OpenToolTip(e):(this.taggedChange.emit(!1),this.tagged=!1)}}IO.ɵfac=function(e){return new(e||IO)},IO.ɵcmp=vn({type:IO,selectors:[["ng-tag"]],viewQuery:function(e,t){if(1&e&&Xm(bO,5),2&e){let e;ev(e=tv())&&(t._mytip=e.first)}},inputs:{text:"text",html:"html",tagged:"tagged",disable_x:[e.InputFlags.None,"no-x","disable_x"],disable_x_tip:[e.InputFlags.None,"no-x-tip","disable_x_tip"]},outputs:{taggedChange:"taggedChange"},decls:1,vars:1,consts:[["class","tag close",3,"no-x",4,"ngIf"],[1,"tag","close"],[3,"cleanHTML",4,"ngIf"],[4,"ngIf"],["class","af-icon-cross-slim","zing-touch","",3,"zing-no-touch","onTap",4,"ngIf"],[3,"ng-hidden","popupcontent","popupbutton","popup-relative"],["tooltip",""],[3,"cleanHTML"],["zing-touch","",1,"af-icon-cross-slim",3,"zing-no-touch","onTap"]],template:function(e,t){1&e&&cp(0,TO,6,9,"div",0),2&e&&hg("ngIf",t.tagged)},dependencies:[wT,iC,$A,KA,_O],encapsulation:2});class CO{}CO.ɵfac=function(e){return new(e||CO)},CO.ɵmod=wn({type:CO}),CO.ɵinj=Vr({imports:[tI,ax,vO]});const SO=["editorreview"],AO=["mincredbox"],xO=["mincredboxsecond"],DO=["mincredboxthird"],RO=["mincredboxmob"],kO=["bonusoffertip"],OO=["bonusoffertipmob"],NO=["rewardsratetip"],FO=["rewardsratetipmob"],LO=()=>({attribute:"itemprop",value:"image"}),PO=e=>[e];function MO(e,t){if(1&e&&(r_(0,"div",34),o_(1,"img",35),s_()),2&e){const e=Hm(2);$c(),hg("ng-attribute-when",e.showSchema)("ng-attribute",eb(4,PO,Xv(3,LO)))("src",e.card_img,zl)}}function HO(e,t){if(1&e&&(r_(0,"div",36),o_(1,"img",35),s_()),2&e){const e=Hm(2);$c(),hg("ng-attribute-when",e.showSchema)("ng-attribute",eb(4,PO,Xv(3,LO)))("src",e.card_img,zl)}}function BO(e,t){if(1&e){const e=h_();l_(0),r_(1,"i",37),Nm("onTap",(function(){ji(e);return Vi(Hm(2).ViewEditorReview())})),s_(),o_(2,"modal-popup",38,39),c_()}2&e&&($c(),hg("zing-no-touch",!0),$c(),hg("popup-relative",!0))}function zO(e,t){if(1&e&&(l_(0),r_(1,"a",40),o_(2,"span",41),s_(),c_()),2&e){const e=Hm(2);$c(),hg("zing-url",!0)("href",e.detailsPageUrl,zl),$c(),hg("innerHtml",e.card.NAME,Hl)}}function qO(e,t){if(1&e&&(l_(0),o_(1,"span",42),c_()),2&e){const e=Hm(2);$c(),hg("title",e.card.NAME)("innerHtml",e.card.NAME,Hl)}}function UO(e,t){if(1&e&&(l_(0),r_(1,"a",43,44),Iv(3),s_(),c_()),2&e){const e=Hm(2);$c(),hg("zing-url",!0),$c(2),Av(" ",e.applyNowTxt," ")}}function jO(e,t){1&e&&(r_(0,"p",45),Iv(1,"Secured Card"),s_())}function VO(e,t){1&e&&(r_(0,"p",46),Iv(1,"For College Students"),s_())}function WO(e,t){if(1&e&&(r_(0,"li")(1,"b",47),Iv(2,"Min Deposit"),s_(),r_(3,"b",48),Iv(4,"Secured Card"),s_(),r_(5,"span")(6,"span",48),Iv(7,"Min Deposit of "),s_(),Iv(8),s_()()),2&e){const e=Hm(2);$c(8),Sv(e.getEmptyValue(e.card.MIN_SECURITY_DEPOSIT))}}function $O(e,t){if(1&e&&(r_(0,"li")(1,"b"),Iv(2,"Purchase intro APR"),s_(),r_(3,"span"),Iv(4),s_()()),2&e){const e=Hm(2);$c(4),Sv(e.getPurchaseIntroAPR(e.card))}}function GO(e,t){if(1&e&&(r_(0,"li")(1,"b"),Iv(2,"Transfer intro APR"),s_(),o_(3,"span",49),s_()),2&e){const e=Hm(2);$c(3),hg("innerHTML",e.getTransferIntroAPR(e.card),Hl)}}function YO(e,t){if(1&e&&(r_(0,"li")(1,"b"),Iv(2,"Regular APR"),s_(),r_(3,"span"),Iv(4),s_()()),2&e){const e=Hm(2);$c(4),Sv(e.card.REGULAR_PURCHASE_APR)}}function QO(e,t){if(1&e&&(r_(0,"li")(1,"b"),Iv(2,"Monthly Fee"),s_(),r_(3,"span"),Iv(4),s_()()),2&e){const e=Hm(2);$c(4),Sv(e.getEmptyValue(e.card.MONTHLY_FEE))}}function KO(e,t){if(1&e&&(r_(0,"li")(1,"b"),Iv(2,"One-Time Fees"),s_(),r_(3,"span"),Iv(4),s_()()),2&e){const e=Hm(2);$c(4),Sv(e.getEmptyValue(e.card.ONE_TIME_SETUP_FEES,!0))}}function ZO(e,t){if(1&e&&(r_(0,"li")(1,"b"),Iv(2,"Regular APR"),s_(),r_(3,"span"),Iv(4),s_()()),2&e){const e=Hm(2);$c(4),Sv(e.card.REGULAR_PURCHASE_APR)}}function JO(e,t){1&e&&(r_(0,"li")(1,"b"),Iv(2,"Rewards"),s_(),r_(3,"span"),Iv(4,"None"),s_()())}function XO(e,t){if(1&e){const e=h_();r_(0,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(4).RewardsRateTip())})),s_()}2&e&&hg("zing-no-touch",!0)}const eN=()=>["mincredit-popup"];function tN(e,t){1&e&&o_(0,"modal-popup",24,54),2&e&&hg("classes",Xv(1,eN))}function nN(e,t){if(1&e&&(r_(0,"li",47)(1,"b"),Iv(2,"Rewards Rate "),cp(3,XO,1,1,"span",51)(4,tN,2,2,"modal-popup",52),s_(),r_(5,"span"),Iv(6),s_()()),2&e){const e=Hm(3);$c(3),hg("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),$c(),hg("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),$c(2),Sv(e.getEmptyValue(e.card.REWARDS_EARN_RATE))}}function iN(e,t){if(1&e&&(r_(0,"li",47)(1,"b"),Iv(2,"Bonus Offer"),s_(),r_(3,"span"),Iv(4),s_()()),2&e){const e=Hm(3);$c(4),Sv(e.getEmptyValue(e.card.REWARDS_INITIAL_BONUS))}}function rN(e,t){if(1&e&&(r_(0,"li",48)(1,"b"),Iv(2,"Bonus Offer"),s_(),r_(3,"span"),Iv(4),s_()()),2&e){const e=Hm(3);$c(4),Sv(e.getEmptyValue(e.card.REWARDS_INITIAL_BONUS))}}function sN(e,t){if(1&e&&(r_(0,"li",48)(1,"b"),Iv(2,"Earn Rate"),s_(),r_(3,"span"),Iv(4),s_()()),2&e){const e=Hm(3);$c(4),Sv(e.getEmptyValue(e.card.REWARDS_EARN_RATE))}}function oN(e,t){if(1&e&&cp(0,nN,7,3,"li",18)(1,iN,5,1,"li",18)(2,rN,5,1,"li",50)(3,sN,5,1,"li",50),2&e){const e=Hm(2);hg("ngIf",!e.isBadCard(e.card)&&(e.card.REWARDS||e.card.REWARDS_EARN_RATE&&e.card.REWARDS_INITIAL_BONUS)),$c(),hg("ngIf",!e.isBadCard(e.card)&&(e.card.REWARDS||e.card.REWARDS_EARN_RATE&&e.card.REWARDS_INITIAL_BONUS)),$c(),hg("ngIf",!e.isBadCard(e.card)&&(e.card.REWARDS||e.card.REWARDS_EARN_RATE&&e.card.REWARDS_INITIAL_BONUS)),$c(),hg("ngIf",!e.isBadCard(e.card)&&(e.card.REWARDS||e.card.REWARDS_EARN_RATE&&e.card.REWARDS_INITIAL_BONUS))}}function aN(e,t){if(1&e&&(r_(0,"a",56),Iv(1,"Rates & Fees"),s_()),2&e){hg("href","/r/?id="+Hm(3).card.ID+"c&rf=1",zl)}}function lN(e,t){if(1&e&&(r_(0,"a",56),Iv(1,"Rates & Fees | Terms Apply"),s_()),2&e){hg("href","/r/?id="+Hm(3).card.ID+"c&rf=1",zl)}}function cN(e,t){if(1&e&&(r_(0,"li",47),cp(1,aN,2,1,"a",55)(2,lN,2,1,"a",55),s_()),2&e){const e=Hm(2);$c(),hg("ngIf",!e.hasTerms(e.card)),$c(),hg("ngIf",e.hasTerms(e.card))}}const uN=e=>({opened:e});function dN(e,t){if(1&e){const e=h_();r_(0,"span",57),Nm("onTap",(function(t){ji(e);return Vi(Hm(2).toggleShowMore(t))})),s_()}if(2&e){const e=Hm(2);hg("ngClass",eb(2,uN,e.show_more))("zing-no-touch",!0)}}function hN(e,t){if(1&e&&(r_(0,"div",22),o_(1,"p",49),s_()),2&e){const e=Hm(2);hg("ngClass",eb(2,uN,e.show_more)),$c(),hg("innerHTML",e.card.EDITORS_NOTES,Hl)}}function pN(e,t){if(1&e){const e=h_();r_(0,"p",58),Iv(1,"Accepted Credit "),r_(2,"span",59),Nm("onTap",(function(){ji(e);return Vi(Hm(2).MinCredtTip())})),s_()()}2&e&&($c(2),hg("zing-no-touch",!0))}function fN(e,t){1&e&&(r_(0,"p",58),Iv(1,"Editors Notes"),s_())}function gN(e,t){if(1&e&&o_(0,"p",49),2&e){hg("innerHTML",Hm(2).card.EDITORS_NOTES,Hl)}}function _N(e,t){1&e&&(r_(0,"p",58),Iv(1,"Rewards Details"),s_())}function mN(e,t){if(1&e&&o_(0,"p",49),2&e){hg("innerHTML",t.$implicit,Hl)}}function vN(e,t){1&e&&(r_(0,"p",58),Iv(1,"Additional Info Details"),s_())}function bN(e,t){if(1&e&&o_(0,"p",49),2&e){hg("innerHTML",t.$implicit,Hl)}}function yN(e,t){if(1&e&&(r_(0,"div",60)(1,"a",61),Iv(2,"More Details & Reviews About The "),o_(3,"span",41),s_()()),2&e){const e=Hm(2);$c(),hg("href",e.detailsPageUrl,zl),$c(2),hg("innerHtml",e.card.NAME,Hl)}}function wN(e,t){if(1&e&&(l_(0),r_(1,"a",62,44),Iv(3),s_(),c_()),2&e){const e=Hm(2);$c(),hg("zing-url",!0),$c(2),Av(" ",e.applyNowTxt," ")}}const EN=e=>({apply:e});function TN(e,t){if(1&e&&(r_(0,"a",63),Iv(1,"Rates & Fees"),s_()),2&e){const e=Hm(2);hg("ngClass",eb(1,EN,e.isApplyButtonVisible(e.card)))}}function IN(e,t){1&e&&(r_(0,"span",64),Iv(1,"Terms Apply"),s_())}const CN=()=>({attribute:"itemprop",value:"item"}),SN=()=>({attribute:"itemscope",value:""}),AN=()=>({attribute:"itemtype",value:"http://schema.org/Product"}),xN=(e,t,n)=>[e,t,n],DN=()=>({attribute:"itemprop",value:"name"}),RN=()=>({attribute:"itemprop",value:"url"}),kN=()=>({attribute:"itemprop",value:"category"}),ON=()=>({width:18,height:16.5});function NN(e,t){if(1&e){const e=h_();r_(0,"div",5),Nm("scrolled",(function(t){ji(e);return Vi(Hm().scrolledDone(t))}))("adViewed",(function(t){ji(e);return Vi(Hm().AdView(t))})),o_(1,"meta",6)(2,"meta",6)(3,"meta",6),cp(4,MO,2,6,"div",7)(5,HO,2,6,"div",8),r_(6,"div",9),o_(7,"rating-box",10),cp(8,BO,4,2,"ng-container",11),s_(),r_(9,"h3",12),cp(10,zO,3,3,"ng-container",11)(11,qO,2,2,"ng-container",11),s_(),cp(12,UO,4,2,"ng-container",11)(13,jO,2,0,"p",13)(14,VO,2,0,"p",14),r_(15,"ul",15),cp(16,WO,9,1,"li",11)(17,$O,5,1,"li",11)(18,GO,4,1,"li",11)(19,YO,5,1,"li",11),r_(20,"li")(21,"b"),Iv(22,"Annual Fee"),s_(),r_(23,"span"),Iv(24),s_()(),cp(25,QO,5,1,"li",11)(26,KO,5,1,"li",11)(27,ZO,5,1,"li",11)(28,JO,5,0,"li",16)(29,oN,4,4,"ng-template",null,17,Eb)(31,cN,3,2,"li",18),s_(),cp(32,dN,1,4,"span",19)(33,hN,2,4,"div",20),r_(34,"div",21)(35,"div",22),cp(36,pN,3,1,"p",23),o_(37,"modal-popup",24,25),r_(39,"p",26),o_(40,"span",27),s_(),cp(41,fN,2,0,"p",23)(42,gN,1,1,"p",28)(43,_N,2,0,"p",23)(44,mN,1,1,"p",29)(45,vN,2,0,"p",23)(46,bN,1,1,"p",29)(47,yN,4,2,"div",30),s_(),r_(48,"span",31),Nm("onTap",(function(t){ji(e);return Vi(Hm().toggleShowMore(t))})),s_(),cp(49,wN,4,2,"ng-container",11)(50,TN,2,3,"a",32)(51,IN,2,0,"span",33),s_()()}if(2&e){const e=sv(30),t=Hm();hg("scroll-to",t.scrolled)("zenspeed",300)("ad-id",t.card.ID)("trigger-ratio",.5)("referrer-url",t.referrerUrl)("click-url",t.getRedirUrl())("ad-pixel-recheck",t.adviewRecheck)("adview-section",t.adviewSection)("adview-totals",t.adviewTotals)("adview-position",t.adviewPosition)("ng-attribute",nb(71,xN,Xv(68,CN),Xv(69,SN),Xv(70,AN)))("ng-attribute-when",t.showSchema),$c(),hg("ng-attribute-when",t.showSchema)("ng-attribute",eb(76,PO,Xv(75,DN))),Df("content",t.card.NAME||""),$c(),hg("ng-attribute-when",t.showSchema)("ng-attribute",eb(79,PO,Xv(78,RN))),Df("content",t.getCardSchemaUrl(t.card)),$c(),hg("ng-attribute-when",t.showSchema)("ng-attribute",eb(82,PO,Xv(81,kN))),Df("content",t.card.CARD_HEADING),$c(),hg("ngIf","Chase"==t.card.ISSUER),$c(),hg("ngIf","Chase"!=t.card.ISSUER),$c(2),hg("svg-star-dim",Xv(84,ON))("rating",t.card.RATING)("reviews",t.card.REVIEWS)("show-hover",!1)("aggregate-rating",t.showRatingSchema)("reviews-link",t.reviewsPageUrl)("link-reviews-active",t.showReviewsLink),$c(),hg("ngIf",!t.showReviewsLink&&t.card.EDITORS_REVIEW_URL),$c(2),hg("ngIf","prsn"!==t.pdtType&&"svg"!=t.pdtType),$c(),hg("ngIf","prsn"===t.pdtType||"svg"==t.pdtType),$c(),hg("ngIf",t.isApplyButtonVisible(t.card)&&"learnMore"!==t.card.CTA_BUTTON_TYPE),$c(),hg("ngIf","secured"==t.card.PICK_TYPE),$c(),hg("ngIf","limited-college"==t.card.PICK_TYPE),$c(2),hg("ngIf",t.isSecuredCard(t.card)),$c(),hg("ngIf",!t.isBadCard(t.card)),$c(),hg("ngIf",!t.isBadCard(t.card)),$c(),hg("ngIf",!t.isBadCard(t.card)),$c(5),Sv(t.card.ANNUAL_FEE),$c(),hg("ngIf",t.isBadCard(t.card)),$c(),hg("ngIf",t.isBadCard(t.card)),$c(),hg("ngIf",t.isBadCard(t.card)),$c(),hg("ngIf",!(t.isBadCard(t.card)||t.card.REWARDS&&(t.card.REWARDS_EARN_RATE||t.card.REWARDS_INITIAL_BONUS)))("ngIfElse",e),$c(3),hg("ngIf",t.hasRates(t.card)&&t.isApplyButtonVisible(t.card)&&"learnMore"!==t.card.CTA_BUTTON_TYPE),$c(),hg("ngIf",t.card.EDITORS_NOTES&&""!=t.card.EDITORS_NOTES),$c(),hg("ngIf",t.card.EDITORS_NOTES&&""!=t.card.EDITORS_NOTES),$c(2),hg("ngClass",eb(85,uN,t.show_more)),$c(),hg("ngIf",t.card.MIN_CREDIT_REQUIRED),$c(),hg("classes",Xv(87,eN)),$c(3),hg("ngClass",t.card.MIN_CREDIT_REQUIRED)("innerHTML",t.card.MIN_CREDIT_REQUIRED,Hl),$c(),hg("ngIf",t.card.EDITORS_NOTES&&""!=t.card.EDITORS_NOTES),$c(),hg("ngIf",t.card.EDITORS_NOTES&&""!=t.card.EDITORS_NOTES),$c(),hg("ngIf",t.rewardsList.length>0),$c(),hg("ngForOf",t.rewardsList)("ngForTrackBy",t.trackByFn),$c(),hg("ngIf",t.detailsList.length>0),$c(),hg("ngForOf",t.detailsList)("ngForTrackBy",t.trackByFn),$c(),hg("ngIf","prsn"!==t.pdtType&&"svg"!=t.pdtType),$c(),hg("zing-no-touch",!0)("ngClass",eb(88,uN,t.show_more)),$c(),hg("ngIf",t.isApplyButtonVisible(t.card)&&"learnMore"!==t.card.CTA_BUTTON_TYPE),$c(),hg("ngIf",t.hasRates(t.card)&&t.isApplyButtonVisible(t.card)&&"learnMore"!==t.card.CTA_BUTTON_TYPE),$c(),hg("ngIf",t.hasTerms(t.card)&&t.isApplyButtonVisible(t.card)&&"learnMore"!==t.card.CTA_BUTTON_TYPE)}}function FN(e,t){if(1&e&&o_(0,"h2",98),2&e){hg("cleanHTML",Hm(2).card.CARD_HEADING)}}function LN(e,t){1&e&&(r_(0,"span",102),Iv(1,"*"),s_())}function PN(e,t){if(1&e&&(r_(0,"h3",99),o_(1,"a",100),Iv(2,"   "),cp(3,LN,2,0,"span",101),s_()),2&e){const e=Hm(3);$c(),hg("zing-url",!0)("href",e.detailsPageUrl,zl)("title",e.card.NAME)("innerHtml",e.card.NAME,Hl),$c(2),hg("ngIf",e.show_asterisk)}}function MN(e,t){if(1&e&&o_(0,"h3",103),2&e){const e=Hm(3);hg("title",e.card.NAME)("innerHtml",e.card.NAME,Hl)}}function HN(e,t){if(1&e&&(l_(0),cp(1,PN,4,5,"h3",77)(2,MN,1,2,"h3",78),c_()),2&e){const e=Hm(2);$c(),hg("ngIf","prsn"!==e.pdtType),$c(),hg("ngIf","prsn"===e.pdtType)}}function BN(e,t){1&e&&(r_(0,"span",102),Iv(1,"*"),s_())}function zN(e,t){if(1&e&&(r_(0,"h3",99),o_(1,"a",100),Iv(2,"   "),cp(3,BN,2,0,"span",101),s_()),2&e){const e=Hm(2);$c(),hg("zing-url",!0)("href",e.detailsPageUrl,zl)("title",e.card.NAME)("innerHtml",e.card.NAME,Hl),$c(2),hg("ngIf",e.show_asterisk)}}function qN(e,t){if(1&e&&o_(0,"h3",103),2&e){const e=Hm(2);hg("title",e.card.NAME)("innerHtml",e.card.NAME,Hl)}}function UN(e,t){if(1&e){const e=h_();l_(0),r_(1,"span",37),Nm("onTap",(function(){ji(e);return Vi(Hm(2).ViewEditorReview())})),s_(),o_(2,"modal-popup",38,39),c_()}2&e&&($c(),hg("zing-no-touch",!0),$c(),hg("popup-relative",!0))}function jN(e,t){if(1&e){const e=h_();r_(0,"span",110),Nm("onTap",(function(t){ji(e);return Vi(Hm(3).ShowWHRatingPopup(t))}))("onTapOutside",(function(t){ji(e);return Vi(Hm(3).HideWHRatingPopup(t))})),s_()}if(2&e){const e=Hm(3);hg("zing-no-touch",!0),Df("aria-expanded",e.show_wh_rating_popup?"true":"false")}}const VN=e=>({width:e});function WN(e,t){if(1&e&&(r_(0,"div",118)(1,"div",119),Iv(2,"Editor’s Rating"),s_(),r_(3,"div",112)(4,"div",120),o_(5,"div",121),s_(),o_(6,"div",114),s_()()),2&e){const e=Hm(4);$c(5),hg("ngStyle",eb(2,VN,20*e.wh_editor_rating+"%")),$c(),hg("ng-context",e.wh_editor_rating.toFixed(1))}}function $N(e,t){if(1&e&&(r_(0,"div",118)(1,"div",119),Iv(2,"User Reviews"),s_(),r_(3,"div",112)(4,"div",120),o_(5,"div",121),s_(),o_(6,"div",114),s_()()),2&e){const e=Hm(4);$c(5),hg("ngStyle",eb(2,VN,20*e.wh_user_reviews+"%")),$c(),hg("ng-context",e.wh_user_reviews.toFixed(1))}}function GN(e,t){if(1&e&&(r_(0,"div",118)(1,"div",119),Iv(2,"Market Comparison"),s_(),r_(3,"div",112)(4,"div",120),o_(5,"div",121),s_(),o_(6,"div",114),s_()()),2&e){const e=Hm(4);$c(5),hg("ngStyle",eb(2,VN,20*e.wh_market_comparison+"%")),$c(),hg("ng-context",e.wh_market_comparison.toFixed(1))}}function YN(e,t){if(1&e&&(r_(0,"div",124)(1,"span"),Iv(2),s_()()),2&e){const e=t.$implicit;$c(2),xv("",e.label,": ",e.rating.toFixed(1),"")}}function QN(e,t){if(1&e&&(r_(0,"div",122),cp(1,YN,3,2,"div",123),s_()),2&e){const e=Hm(4);$c(),hg("ngForOf",e.compArray)("ngForTrackBy",e.trackByFn)}}const KN=e=>({"details-wh-rating-dist-show":e});function ZN(e,t){if(1&e){const e=h_();r_(0,"div",111),Nm("onTap",(function(t){ji(e);return Vi(Hm(3).ShowWHRatingPopup(t))}))("onTapOutside",(function(t){ji(e);return Vi(Hm(3).HideWHRatingPopup(t))})),r_(1,"div",112)(2,"div",113),Iv(3,"WalletHub Rating"),s_(),o_(4,"div",114),s_(),r_(5,"div",115),Iv(6),s_(),cp(7,WN,7,4,"div",116)(8,$N,7,4,"div",116)(9,GN,7,4,"div",116)(10,QN,2,2,"div",117),s_()}if(2&e){const e=Hm(3);hg("zing-no-touch",!0)("ngClass",eb(8,KN,e.show_wh_rating_popup)),$c(4),hg("ng-context",e.wh_rating.toFixed(1)),$c(2),Av(' This card has been scored using WalletHub’s proprietary credit card rating system. We evaluated the card for various cardholder needs and picked the rating for the need most relevant to this page ("',e.wh_rating_need,'"). The rating for this card may vary on other pages where a different need is used. A rating of 5 is the best a card can receive. '),$c(),hg("ngIf",e.wh_editor_rating),$c(),hg("ngIf",e.wh_user_reviews),$c(),hg("ngIf",e.wh_market_comparison),$c(),hg("ngIf",e.wh_market_comparison)}}function JN(e,t){if(1&e&&(r_(0,"div",104)(1,"div",105),o_(2,"span",106),r_(3,"span",107),Iv(4,"WalletHub Rating"),s_(),cp(5,jN,1,2,"span",108),s_(),cp(6,ZN,11,10,"div",109),s_()),2&e){const e=Hm(2);$c(2),hg("ng-context",e.wh_rating.toFixed(1)),$c(3),hg("ngIf",e.wh_rating_needs.length),$c(),hg("ngIf",e.wh_rating_needs.length)}}function XN(e,t){if(1&e){const e=h_();r_(0,"a",130,44),Nm("onTap",(function(){ji(e);return Vi(Hm(3).SetPrequalViewId())})),Iv(2),s_()}if(2&e){const e=Hm(3);hg("zing-url",!1),$c(2),Av(" ",e.applyNowTxt," ")}}function eF(e,t){if(1&e&&(r_(0,"a",131),Iv(1),s_()),2&e){const e=Hm(3);hg("zing-url",!0)("href",e.getRedirUrl(),zl),$c(),Av(" ",e.applyNowTxt," ")}}function tF(e,t){1&e&&(r_(0,"span",64),Iv(1," | Terms Apply"),s_())}function nF(e,t){if(1&e&&(r_(0,"div",132)(1,"a",133),Iv(2,"Rates & Fees"),s_(),cp(3,tF,2,0,"span",33),s_()),2&e){const e=Hm(3);$c(),hg("zing-url",!0)("href","/r/?id="+e.card.ID+"c&rf=1",zl),$c(2),hg("ngIf",e.hasTerms(e.card))}}function iF(e,t){if(1&e&&(r_(0,"div",125)(1,"div",126),cp(2,XN,3,2,"a",127)(3,eF,2,3,"a",128)(4,nF,4,3,"div",129),s_()()),2&e){const e=Hm(2);$c(2),hg("ngIf","inst"!==e.pdtType),$c(),hg("ngIf","inst"===e.pdtType),$c(),hg("ngIf",e.hasRates(e.card)&&e.isApplyButtonVisible(e.card))}}function rF(e,t){if(1&e&&(r_(0,"div",125)(1,"div",126)(2,"a",134),Iv(3," Learn More "),s_()()()),2&e){const e=Hm(2);$c(2),hg("zing-url",!0)("href",e.card.DETAILS_HTML_PAGE,zl)}}function sF(e,t){if(1&e){const e=h_();r_(0,"a",130,44),Nm("onTap",(function(){ji(e);return Vi(Hm(3).SetPrequalViewId())})),Iv(2),s_()}if(2&e){const e=Hm(3);hg("zing-url",!1),$c(2),Av(" ",e.applyNowTxt," ")}}function oF(e,t){1&e&&(r_(0,"span",64),Iv(1,"Terms Apply  |  "),s_())}function aF(e,t){if(1&e&&(r_(0,"div",132),cp(1,oF,2,0,"span",33),r_(2,"a",133),Iv(3,"Rates & Fees"),s_()()),2&e){const e=Hm(3);$c(),hg("ngIf",e.hasTerms(e.card)),$c(),hg("zing-url",!0)("href","/r/?id="+e.card.ID+"c&rf=1",zl)}}function lF(e,t){if(1&e&&(r_(0,"div",125)(1,"div",126),cp(2,sF,3,2,"a",127)(3,aF,4,3,"div",129),s_()()),2&e){const e=Hm(2);$c(2),hg("ngIf","inst"!==e.pdtType),$c(),hg("ngIf",e.hasRates(e.card)&&e.isApplyButtonVisible(e.card))}}function cF(e,t){if(1&e&&(r_(0,"div",125)(1,"div",126)(2,"a",134),Iv(3," Learn More "),s_()()()),2&e){const e=Hm(2);$c(2),hg("zing-url",!0)("href",e.card.DETAILS_HTML_PAGE,zl)}}function uF(e,t){if(1&e&&(r_(0,"div",139),o_(1,"div",140)(2,"div",141),s_()),2&e){const e=Hm(3);$c(),hg("cleanHTML",e.callout_content.headline),$c(),hg("cleanHTML",e.callout_content.feature)}}function dF(e,t){if(1&e&&(r_(0,"div",135)(1,"div",136),o_(2,"span",137),s_(),cp(3,uF,3,2,"div",138),s_()),2&e){const e=Hm(2);$c(3),hg("ngIf",e.callout_content)}}function hF(e,t){if(1&e&&(l_(0),r_(1,"tr")(2,"th",147),Iv(3,"Secured Card"),s_(),r_(4,"th",147),Iv(5,"One-Time Fees"),s_(),r_(6,"th",147),Iv(7,"Regular APR"),s_()(),r_(8,"tr")(9,"td",148),Iv(10),s_(),o_(11,"td",149)(12,"td",149),s_(),c_()),2&e){const e=Hm(3);$c(10),Av("Min Deposit of ",e.getEmptyValue(e.card.MIN_SECURITY_DEPOSIT),""),$c(),hg("innerHTML",e.getEmptyValue(e.card.ONE_TIME_SETUP_FEES,!0),Hl),$c(),hg("innerHTML",e.card.REGULAR_PURCHASE_APR,Hl)}}function pF(e,t){if(1&e){const e=h_();r_(0,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(4).RewardsRateTip())})),s_()}2&e&&hg("zing-no-touch",!0)}function fF(e,t){1&e&&o_(0,"modal-popup",24,54),2&e&&hg("classes",Xv(1,eN))}function gF(e,t){if(1&e&&(r_(0,"div",156),o_(1,"span",49),s_()),2&e){const e=Hm(4);$c(),hg("innerHTML",e.card.MIN_CREDIT_REQUIRED,Hl)}}function _F(e,t){if(1&e&&(r_(0,"div",157),o_(1,"i",158)(2,"span",49),s_()),2&e){const e=Hm(4);hg("ngClass",e.minCreditCls),$c(2),hg("innerHTML",e.card.MIN_CREDIT_REQUIRED_LAST,Hl)}}function mF(e,t){if(1&e){const e=h_();l_(0),r_(1,"tr")(2,"th",147),Iv(3,"Annual Fee"),s_(),r_(4,"th",147),Iv(5,"Rewards Rate "),cp(6,pF,1,1,"span",51)(7,fF,2,2,"modal-popup",52),s_(),r_(8,"th",147),Iv(9),r_(10,"span",59),Nm("onTap",(function(){ji(e);return Vi(Hm(3).MinCredtTip())})),s_(),o_(11,"modal-popup",24,25),s_()(),r_(13,"tr"),o_(14,"td",150)(15,"td",150),r_(16,"td",151),cp(17,gF,2,1,"div",152)(18,_F,3,2,"div",153),s_()(),r_(19,"tr")(20,"th",154),Iv(21,"Monthly Fee"),s_(),r_(22,"th",154)(23,"span",155),Iv(24,"None"),s_()(),r_(25,"th",154)(26,"span",155),Iv(27,"None"),s_()()(),r_(28,"tr"),o_(29,"td",149),r_(30,"td",148)(31,"span",155),Iv(32,"None"),s_()(),r_(33,"td",148)(34,"span",155),Iv(35,"None"),s_()()(),c_()}if(2&e){const e=Hm(3);$c(6),hg("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),$c(),hg("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),$c(2),Av(" ",19==e.pageVersion?"Accepted Credit":"Min Credit Needed"," "),$c(),hg("zing-no-touch",!0),$c(),hg("classes",Xv(10,eN)),$c(3),hg("innerHTML",e.card.ANNUAL_FEE,Hl),$c(),hg("innerHTML",e.getEmptyValue(e.card.REWARDS_EARN_RATE),Hl),$c(2),hg("ngIf",19===e.pageVersion),$c(),hg("ngIf",19!==e.pageVersion),$c(11),hg("innerHTML",e.getEmptyValue(e.card.MONTHLY_FEE),Hl)}}function vF(e,t){if(1&e){const e=h_();r_(0,"tr")(1,"th",147),Iv(2,"Annual Fee"),s_(),r_(3,"th",147),Iv(4,"Monthly Fee"),s_(),r_(5,"th",147),Iv(6),r_(7,"span",59),Nm("onTap",(function(){ji(e);return Vi(Hm(4).MinCredtTip())})),s_(),o_(8,"modal-popup",24,25),s_()()}if(2&e){const e=Hm(4);$c(6),Av("",19==e.pageVersion?"Accepted Credit":"Min Credit Needed"," "),$c(),hg("zing-no-touch",!0),$c(),hg("classes",Xv(3,eN))}}function bF(e,t){if(1&e&&(r_(0,"div",156),o_(1,"span",49),s_()),2&e){const e=Hm(5);$c(),hg("innerHTML",e.card.MIN_CREDIT_REQUIRED,Hl)}}function yF(e,t){if(1&e&&(r_(0,"div",157),o_(1,"i",158)(2,"span",49),s_()),2&e){const e=Hm(5);hg("ngClass",e.minCreditCls),$c(2),hg("innerHTML",e.card.MIN_CREDIT_REQUIRED_LAST,Hl)}}function wF(e,t){if(1&e&&(r_(0,"tr"),o_(1,"td",149)(2,"td",149),r_(3,"td",156),cp(4,bF,2,1,"div",152)(5,yF,3,2,"div",153),s_()()),2&e){const e=Hm(4);$c(),hg("innerHTML",e.card.ANNUAL_FEE,Hl),$c(),hg("innerHTML",e.getEmptyValue(e.card.MONTHLY_FEE),Hl),$c(2),hg("ngIf",19===e.pageVersion),$c(),hg("ngIf",19!==e.pageVersion)}}function EF(e,t){if(1&e&&cp(0,vF,10,4,"tr",11)(1,wF,6,4,"tr",11),2&e){const e=Hm(3);hg("ngIf",e.isSecuredCard(e.card)),$c(),hg("ngIf",e.isSecuredCard(e.card))}}function TF(e,t){if(1&e&&(l_(0),r_(1,"tr")(2,"th",147),Iv(3,"One-Time Fees"),s_(),r_(4,"th",147),Iv(5,"Regular APR"),s_(),r_(6,"th",147),Iv(7,"Annual Fee"),s_()(),r_(8,"tr"),o_(9,"td",149)(10,"td",149)(11,"td",149),s_(),c_()),2&e){const e=Hm(3);$c(9),hg("innerHTML",e.getEmptyValue(e.card.ONE_TIME_SETUP_FEES,!0),Hl),$c(),hg("innerHTML",e.card.REGULAR_PURCHASE_APR,Hl),$c(),hg("innerHTML",e.card.ANNUAL_FEE,Hl)}}function IF(e,t){if(1&e){const e=h_();r_(0,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(4).RewardsRateTip())})),s_()}2&e&&hg("zing-no-touch",!0)}function CF(e,t){1&e&&o_(0,"modal-popup",24,54),2&e&&hg("classes",Xv(1,eN))}function SF(e,t){if(1&e&&(r_(0,"div",156),o_(1,"span",49),s_()),2&e){const e=Hm(4);$c(),hg("innerHTML",e.card.MIN_CREDIT_REQUIRED,Hl)}}function AF(e,t){if(1&e&&(r_(0,"div",157),o_(1,"i",158)(2,"span",49),s_()),2&e){const e=Hm(4);hg("ngClass",e.minCreditCls),$c(2),hg("innerHTML",e.card.MIN_CREDIT_REQUIRED_LAST,Hl)}}function xF(e,t){if(1&e){const e=h_();l_(0),r_(1,"tr")(2,"th",147),Iv(3,"Monthly Fee"),s_(),r_(4,"th",147),Iv(5,"Rewards Rate "),cp(6,IF,1,1,"span",51)(7,CF,2,2,"modal-popup",52),s_(),r_(8,"th",147),Iv(9),r_(10,"span",59),Nm("onTap",(function(){ji(e);return Vi(Hm(3).MinCredtTip())})),s_(),o_(11,"modal-popup",24,25),s_()(),r_(13,"tr"),o_(14,"td",149)(15,"td",149),r_(16,"td",156),cp(17,SF,2,1,"div",152)(18,AF,3,2,"div",153),s_()(),c_()}if(2&e){const e=Hm(3);$c(6),hg("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),$c(),hg("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),$c(2),Av("",19==e.pageVersion?"Accepted Credit":"Min Credit Needed"," "),$c(),hg("zing-no-touch",!0),$c(),hg("classes",Xv(9,eN)),$c(3),hg("innerHTML",e.getEmptyValue(e.card.MONTHLY_FEE),Hl),$c(),hg("innerHTML",e.getEmptyValue(e.card.REWARDS_EARN_RATE),Hl),$c(2),hg("ngIf",19===e.pageVersion),$c(),hg("ngIf",19!==e.pageVersion)}}function DF(e,t){if(1&e){const e=h_();r_(0,"tr")(1,"th",147),Iv(2,"Monthly Fee"),s_(),r_(3,"th",147),Iv(4),r_(5,"span",59),Nm("onTap",(function(){ji(e);return Vi(Hm(4).MinCredtTip())})),s_(),o_(6,"modal-popup",24,25),s_(),r_(8,"th",147),Iv(9," "),s_()()}if(2&e){const e=Hm(4);$c(4),Av("",19==e.pageVersion?"Accepted Credit":"Min Credit Needed"," "),$c(),hg("zing-no-touch",!0),$c(),hg("classes",Xv(3,eN))}}function RF(e,t){if(1&e&&(r_(0,"div",156),o_(1,"span",49),s_()),2&e){const e=Hm(5);$c(),hg("innerHTML",e.card.MIN_CREDIT_REQUIRED,Hl)}}function kF(e,t){if(1&e&&(r_(0,"div",157),o_(1,"i",158)(2,"span",49),s_()),2&e){const e=Hm(5);hg("ngClass",e.minCreditCls),$c(2),hg("innerHTML",e.card.MIN_CREDIT_REQUIRED_LAST,Hl)}}function OF(e,t){if(1&e&&(r_(0,"tr"),o_(1,"td",149),r_(2,"td",156),cp(3,RF,2,1,"div",152)(4,kF,3,2,"div",153),s_(),r_(5,"td",148),Iv(6," "),s_()()),2&e){const e=Hm(4);$c(),hg("innerHTML",e.getEmptyValue(e.card.MONTHLY_FEE),Hl),$c(2),hg("ngIf",19===e.pageVersion),$c(),hg("ngIf",19!==e.pageVersion)}}function NF(e,t){if(1&e&&cp(0,DF,10,4,"tr",11)(1,OF,7,3,"tr",11),2&e){const e=Hm(3);hg("ngIf",e.isBadCard(e.card)&&!e.isSecuredCard(e.card)),$c(),hg("ngIf",e.isBadCard(e.card)&&!e.isSecuredCard(e.card))}}function FF(e,t){if(1&e&&(l_(0),r_(1,"tr")(2,"th",147),Iv(3,"Purchase intro APR"),s_(),r_(4,"th",147),Iv(5,"Transfer intro APR"),s_(),r_(6,"th",147),Iv(7,"Regular APR"),s_()(),r_(8,"tr"),o_(9,"td",149)(10,"td",149)(11,"td",149),s_(),c_()),2&e){const e=Hm(3);$c(9),hg("innerHTML",e.getPurchaseIntroAPR(e.card),Hl),$c(),hg("innerHTML",e.getTransferIntroAPR(e.card),Hl),$c(),hg("innerHTML",e.card.REGULAR_PURCHASE_APR,Hl)}}function LF(e,t){if(1&e){const e=h_();r_(0,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(4).RewardsRateTip())})),s_()}2&e&&hg("zing-no-touch",!0)}function PF(e,t){1&e&&o_(0,"modal-popup",24,54),2&e&&hg("classes",Xv(1,eN))}function MF(e,t){if(1&e){const e=h_();l_(0),r_(1,"span",161),Nm("onTap",(function(t){ji(e);return Vi(Hm(4).toggleShowMore(t))})),Iv(2),s_(),c_()}if(2&e){const e=Hm(4);$c(),hg("zing-no-touch",!0),$c(),Av(" ",e.getEmptyValue(e.card.REWARDS_EARN_RATE,!0)," ")}}function HF(e,t){if(1&e&&(l_(0),Iv(1),c_()),2&e){const e=Hm(4);$c(),Sv(e.getEmptyValue(e.card.REWARDS_EARN_RATE,!0))}}function BF(e,t){if(1&e&&(r_(0,"div",156),o_(1,"span",49),s_()),2&e){const e=Hm(4);$c(),hg("innerHTML",e.card.MIN_CREDIT_REQUIRED,Hl)}}function zF(e,t){if(1&e&&(r_(0,"div",157),o_(1,"i",158)(2,"span",49),s_()),2&e){const e=Hm(4);hg("ngClass",e.minCreditCls),$c(2),hg("innerHTML",e.card.MIN_CREDIT_REQUIRED_LAST,Hl)}}const qF=e=>({"middle-row":e});function UF(e,t){if(1&e){const e=h_();l_(0),r_(1,"tr")(2,"th",147),Iv(3,"Annual Fee"),s_(),r_(4,"th",147),Iv(5,"Rewards Rate "),cp(6,LF,1,1,"span",51)(7,PF,2,2,"modal-popup",52),s_(),r_(8,"th",147),Iv(9),r_(10,"span",59),Nm("onTap",(function(){ji(e);return Vi(Hm(3).MinCredtTip())})),s_(),o_(11,"modal-popup",24,25),s_()(),r_(13,"tr"),o_(14,"td",159),r_(15,"td",160),cp(16,MF,3,2,"ng-container",11)(17,HF,2,1,"ng-container",11),s_(),r_(18,"td",160),cp(19,BF,2,1,"div",152)(20,zF,3,2,"div",153),s_()(),c_()}if(2&e){const e=Hm(3);$c(6),hg("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),$c(),hg("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),$c(2),Av("",19==e.pageVersion?"Accepted Credit":"Min Credit Needed"," "),$c(),hg("zing-no-touch",!0),$c(),hg("classes",Xv(13,eN)),$c(3),hg("innerHTML",e.card.ANNUAL_FEE,Hl)("ngClass",eb(14,qF,e.card.REWARDS&&"N"!=e.card.REWARDS&&e.card.REWARDS_EARN_RATE&&e.card.REWARDS_INITIAL_BONUS)),$c(),hg("ngClass",eb(16,qF,e.card.REWARDS&&"N"!=e.card.REWARDS&&e.card.REWARDS_EARN_RATE&&e.card.REWARDS_INITIAL_BONUS)),$c(),hg("ngIf",e.isLinkedRewardsRate(e.card)&&e.card.REWARDS_EARN_RATE),$c(),hg("ngIf",!e.isLinkedRewardsRate(e.card)||!e.card.REWARDS_EARN_RATE),$c(),hg("ngClass",eb(18,qF,e.card.REWARDS&&"N"!=e.card.REWARDS&&e.card.REWARDS_EARN_RATE&&e.card.REWARDS_INITIAL_BONUS)),$c(),hg("ngIf",19===e.pageVersion),$c(),hg("ngIf",19!==e.pageVersion)}}function jF(e,t){if(1&e){const e=h_();r_(0,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(4).BonusOfferTip())})),s_()}2&e&&hg("zing-no-touch",!0)}function VF(e,t){1&e&&o_(0,"modal-popup",24,162),2&e&&hg("classes",Xv(1,eN))}function WF(e,t){if(1&e&&(l_(0),r_(1,"tr")(2,"th",154)(3,"span",155),Iv(4,"None"),s_()(),r_(5,"th",154),Iv(6,"Bonus Offer "),cp(7,jF,1,1,"span",51)(8,VF,2,2,"modal-popup",52),s_(),r_(9,"th",154)(10,"span",155),Iv(11,"None"),s_()()(),r_(12,"tr")(13,"td",148)(14,"span",155),Iv(15,"None"),s_()(),o_(16,"td",149),r_(17,"td",148)(18,"span",155),Iv(19,"None"),s_()()(),c_()),2&e){const e=Hm(3);$c(7),hg("ngIf",e.card.REWARDS_INITIAL_BONUS_TOOLTIP),$c(),hg("ngIf",e.card.REWARDS_INITIAL_BONUS_TOOLTIP),$c(8),hg("innerHTML",e.card.REWARDS_INITIAL_BONUS,Hl)}}function $F(e,t){if(1&e){const e=h_();r_(0,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(5).RewardsRateTip(!0))})),s_()}2&e&&hg("zing-no-touch",!0)}function GF(e,t){1&e&&o_(0,"modal-popup",24,167),2&e&&hg("classes",Xv(1,eN))}function YF(e,t){if(1&e){const e=h_();l_(0),r_(1,"span",168),Nm("onTap",(function(t){ji(e);return Vi(Hm(5).toggleShowMore(t))})),Iv(2),s_(),c_()}if(2&e){const e=Hm(5);$c(),hg("zing-no-touch",!0),$c(),Av(" ",e.getEmptyValue(e.card.REWARDS_EARN_RATE,!0)," ")}}function QF(e,t){if(1&e&&(l_(0),Iv(1),c_()),2&e){const e=Hm(5);$c(),Av(" ",e.getEmptyValue(e.card.REWARDS_EARN_RATE,!0)," ")}}function KF(e,t){if(1&e&&(l_(0),r_(1,"div",166)(2,"div",164),Iv(3,"Rewards Rate "),cp(4,$F,1,1,"span",51)(5,GF,2,2,"modal-popup",52),s_(),r_(6,"div",165),cp(7,YF,3,2,"ng-container",11)(8,QF,2,1,"ng-container",11),s_()(),c_()),2&e){const e=Hm(4);$c(4),hg("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),$c(),hg("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),$c(2),hg("ngIf",e.isLinkedRewardsRate(e.card)),$c(),hg("ngIf",!e.isLinkedRewardsRate(e.card))}}function ZF(e,t){if(1&e&&(l_(0),r_(1,"div",163)(2,"div",164),Iv(3,"Annual Fee"),s_(),r_(4,"div",165),Iv(5),s_()(),r_(6,"div",166)(7,"div",164),Iv(8,"Monthly Fee"),s_(),r_(9,"div",165),Iv(10),s_()(),r_(11,"div",166)(12,"div",164),Iv(13,"One-Time Fees"),s_(),r_(14,"div",165),Iv(15),s_()(),r_(16,"div",166)(17,"div",164),Iv(18,"Regular APR"),s_(),r_(19,"div",165),Iv(20),s_()(),cp(21,KF,9,4,"ng-container",11),c_()),2&e){const e=Hm(3);$c(5),Sv(e.card.ANNUAL_FEE),$c(5),Sv(e.getEmptyValue(e.card.MONTHLY_FEE)),$c(5),Sv(e.getEmptyValue(e.card.ONE_TIME_SETUP_FEES,!0)),$c(5),Sv(e.card.REGULAR_PURCHASE_APR),$c(),hg("ngIf",e.card.REWARDS&&"N"!=e.card.REWARDS&&e.card.REWARDS_EARN_RATE)}}function JF(e,t){if(1&e){const e=h_();r_(0,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(5).RewardsRateTip(!0))})),s_()}2&e&&hg("zing-no-touch",!0)}function XF(e,t){1&e&&o_(0,"modal-popup",24,167),2&e&&hg("classes",Xv(1,eN))}function eL(e,t){if(1&e){const e=h_();l_(0),r_(1,"span",168),Nm("onTap",(function(t){ji(e);return Vi(Hm(5).toggleShowMore(t))})),Iv(2),s_(),c_()}if(2&e){const e=Hm(5);$c(),hg("zing-no-touch",!0),$c(),Av(" ",e.getEmptyValue(e.card.REWARDS_EARN_RATE,!0)," ")}}function tL(e,t){if(1&e&&(l_(0),Iv(1),c_()),2&e){const e=Hm(5);$c(),Av(" ",e.getEmptyValue(e.card.REWARDS_EARN_RATE,!0)," ")}}function nL(e,t){if(1&e&&(l_(0),r_(1,"div",166)(2,"div",164),Iv(3,"Regular APR"),s_(),r_(4,"div",165),Iv(5),s_()(),r_(6,"div",166)(7,"div",164),Iv(8," Rewards Rate "),cp(9,JF,1,1,"span",51)(10,XF,2,2,"modal-popup",52),s_(),r_(11,"div",165),cp(12,eL,3,2,"ng-container",11)(13,tL,2,1,"ng-container",11),s_()(),c_()),2&e){const e=Hm(4);$c(5),Sv(e.card.REGULAR_PURCHASE_APR),$c(4),hg("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),$c(),hg("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),$c(2),hg("ngIf",e.isLinkedRewardsRate(e.card)),$c(),hg("ngIf",!e.isLinkedRewardsRate(e.card))}}function iL(e,t){if(1&e&&(r_(0,"div",166)(1,"div",164),Iv(2,"Regular APR"),s_(),r_(3,"div",165),Iv(4),s_()()),2&e){const e=Hm(4);$c(4),Sv(e.card.REGULAR_PURCHASE_APR)}}function rL(e,t){if(1&e&&(l_(0),r_(1,"div",163)(2,"div",164),Iv(3,"Secured Card"),s_(),r_(4,"div",165),Iv(5),s_()(),r_(6,"div",166)(7,"div",164),Iv(8,"Annual Fee"),s_(),r_(9,"div",165),Iv(10),s_()(),r_(11,"div",166)(12,"div",164),Iv(13,"Monthly Fee"),s_(),r_(14,"div",165),Iv(15),s_()(),r_(16,"div",166)(17,"div",164),Iv(18,"One-Time Fees"),s_(),r_(19,"div",165),Iv(20),s_()(),cp(21,nL,14,5,"ng-container",16)(22,iL,5,1,"ng-template",null,169,Eb),c_()),2&e){const e=sv(23),t=Hm(3);$c(5),Av("Min Deposit of ",t.getEmptyValue(t.card.MIN_SECURITY_DEPOSIT),""),$c(5),Sv(t.card.ANNUAL_FEE),$c(5),Sv(t.getEmptyValue(t.card.MONTHLY_FEE)),$c(5),Sv(t.getEmptyValue(t.card.ONE_TIME_SETUP_FEES,!0)),$c(),hg("ngIf",t.card.REWARDS&&"N"!=t.card.REWARDS&&t.card.REWARDS_EARN_RATE)("ngIfElse",e)}}function sL(e,t){if(1&e&&(l_(0),r_(1,"div",163)(2,"div",164),Iv(3,"Purchase intro APR"),s_(),r_(4,"div",165),Iv(5),s_()(),r_(6,"div",166)(7,"div",164),Iv(8,"Transfer intro APR"),s_(),o_(9,"div",170),s_(),r_(10,"div",166)(11,"div",164),Iv(12,"Regular APR"),s_(),r_(13,"div",165),Iv(14),s_()(),r_(15,"div",166)(16,"div",164),Iv(17,"Annual Fee"),s_(),r_(18,"div",165),Iv(19),s_()(),c_()),2&e){const e=Hm(3);$c(5),Sv(e.getPurchaseIntroAPR(e.card)),$c(4),hg("innerHTML",e.getTransferIntroAPR(e.card),Hl),$c(5),Sv(e.card.REGULAR_PURCHASE_APR),$c(5),Sv(e.card.ANNUAL_FEE)}}function oL(e,t){if(1&e){const e=h_();r_(0,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(4).RewardsRateTip(!0))})),s_()}2&e&&hg("zing-no-touch",!0)}function aL(e,t){1&e&&o_(0,"modal-popup",24,167),2&e&&hg("classes",Xv(1,eN))}function lL(e,t){if(1&e){const e=h_();l_(0),r_(1,"span",168),Nm("onTap",(function(t){ji(e);return Vi(Hm(4).toggleShowMore(t))})),Iv(2),s_(),c_()}if(2&e){const e=Hm(4);$c(),hg("zing-no-touch",!0),$c(),Av(" ",e.getEmptyValue(e.card.REWARDS_EARN_RATE,!0)," ")}}function cL(e,t){if(1&e&&(l_(0),Iv(1),c_()),2&e){const e=Hm(4);$c(),Av(" ",e.getEmptyValue(e.card.REWARDS_EARN_RATE,!0)," ")}}function uL(e,t){if(1&e&&(l_(0),r_(1,"div",166)(2,"div",164),Iv(3," Rewards Rate "),cp(4,oL,1,1,"span",51)(5,aL,2,2,"modal-popup",52),s_(),r_(6,"div",165),cp(7,lL,3,2,"ng-container",11)(8,cL,2,1,"ng-container",11),s_()(),c_()),2&e){const e=Hm(3);$c(4),hg("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),$c(),hg("ngIf",e.card.REWARDS_RATE_TOOLTIP&&e.card.REWARDS_RATE_TOOLTIP.length),$c(2),hg("ngIf",e.isLinkedRewardsRate(e.card)),$c(),hg("ngIf",!e.isLinkedRewardsRate(e.card))}}function dL(e,t){if(1&e){const e=h_();r_(0,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(4).BonusOfferTip(!0))})),s_()}2&e&&hg("zing-no-touch",!0)}function hL(e,t){1&e&&o_(0,"modal-popup",24,171),2&e&&hg("classes",Xv(1,eN))}function pL(e,t){if(1&e&&(r_(0,"div",166)(1,"div",164),Iv(2," Bonus Offer "),cp(3,dL,1,1,"span",51)(4,hL,2,2,"modal-popup",52),s_(),r_(5,"div",165)(6,"div",156),o_(7,"span",49),s_()()()),2&e){const e=Hm(3);$c(3),hg("ngIf",e.card.REWARDS_INITIAL_BONUS_TOOLTIP),$c(),hg("ngIf",e.card.REWARDS_INITIAL_BONUS_TOOLTIP),$c(3),hg("innerHTML",e.card.REWARDS_INITIAL_BONUS,Hl)}}function fL(e,t){if(1&e){const e=h_();l_(0),r_(1,"div",166)(2,"div",164),Iv(3," Accepted Credit "),r_(4,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(3).MinCredtTip(4))})),s_(),o_(5,"modal-popup",24,172),s_(),r_(7,"div",165)(8,"div",156),o_(9,"span",49),s_()()(),c_()}if(2&e){const e=Hm(3);$c(4),hg("zing-no-touch",!0),$c(),hg("classes",Xv(3,eN)),$c(4),hg("innerHTML",e.card.MIN_CREDIT_REQUIRED,Hl)}}function gL(e,t){if(1&e&&(r_(0,"div",142)(1,"table",143)(2,"tbody"),cp(3,hF,13,3,"ng-container",11)(4,mF,36,11,"ng-container",16)(5,EF,2,2,"ng-template",null,144,Eb)(7,TF,12,3,"ng-container",11)(8,xF,19,10,"ng-container",16)(9,NF,2,2,"ng-template",null,145,Eb)(11,FF,12,3,"ng-container",11)(12,UF,21,20,"ng-container",11)(13,WF,20,3,"ng-container",11),s_()(),cp(14,ZF,22,5,"ng-container",11)(15,rL,24,6,"ng-container",11)(16,sL,20,4,"ng-container",11)(17,uL,9,4,"ng-container",11)(18,pL,8,3,"div",146)(19,fL,10,4,"ng-container",11),s_()),2&e){const e=sv(6),t=sv(10),n=Hm(2);$c(3),hg("ngIf",n.isSecuredCard(n.card)),$c(),hg("ngIf",n.isSecuredCard(n.card)&&n.card.REWARDS&&"N"!=n.card.REWARDS&&n.card.REWARDS_EARN_RATE&&"None"!=n.card.REWARDS_EARN_RATE)("ngIfElse",e),$c(3),hg("ngIf",n.isBadCard(n.card)&&!n.isSecuredCard(n.card)),$c(),hg("ngIf",n.isBadCard(n.card)&&!n.isSecuredCard(n.card)&&n.card.REWARDS&&"N"!=n.card.REWARDS&&n.card.REWARDS_EARN_RATE&&"None"!=n.card.REWARDS_EARN_RATE)("ngIfElse",t),$c(3),hg("ngIf",!n.isBadCard(n.card)),$c(),hg("ngIf",!n.isBadCard(n.card)),$c(),hg("ngIf",!n.isBadCard(n.card)&&n.card.REWARDS&&"N"!=n.card.REWARDS&&n.card.REWARDS_EARN_RATE&&n.card.REWARDS_INITIAL_BONUS),$c(),hg("ngIf",!n.isSecuredCard(n.card)&&n.isBadCard(n.card)),$c(),hg("ngIf",n.isSecuredCard(n.card)),$c(),hg("ngIf",!n.isBadCard(n.card)),$c(),hg("ngIf",!n.isBadCard(n.card)&&n.card.REWARDS&&"N"!=n.card.REWARDS&&n.card.REWARDS_EARN_RATE),$c(),hg("ngIf",n.card.REWARDS_INITIAL_BONUS),$c(),hg("ngIf",n.card.MIN_CREDIT_REQUIRED&&""!=n.card.MIN_CREDIT_REQUIRED)}}function _L(e,t){if(1&e){const e=h_();r_(0,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(5).BonusOfferTip())})),s_()}2&e&&hg("zing-no-touch",!0)}function mL(e,t){if(1&e){const e=h_();r_(0,"span",59),Nm("onTap",(function(){ji(e);return Vi(Hm(5).MinCredtTip())})),s_()}2&e&&hg("zing-no-touch",!0)}function vL(e,t){1&e&&o_(0,"modal-popup",24,25),2&e&&hg("classes",Xv(1,eN))}function bL(e,t){1&e&&o_(0,"modal-popup",24,162),2&e&&hg("classes",Xv(1,eN))}function yL(e,t){if(1&e){const e=h_();r_(0,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(5).RewardsRateTip())})),s_()}2&e&&hg("zing-no-touch",!0)}function wL(e,t){1&e&&o_(0,"modal-popup",24,54),2&e&&hg("classes",Xv(1,eN))}function EL(e,t){if(1&e&&o_(0,"div",170),2&e){hg("innerHTML",Hm(2).$implicit.value,Hl)}}function TL(e,t){if(1&e&&(r_(0,"div",157),o_(1,"i",158)(2,"span",49),s_()),2&e){const e=Hm(3).$implicit;hg("ngClass",Hm(3).minCreditCls),$c(2),hg("innerHTML",e.value,Hl)}}function IL(e,t){if(1&e&&(r_(0,"div",156),o_(1,"span",49),s_()),2&e){const e=Hm(6);$c(),hg("innerHTML",e.card.MIN_CREDIT_REQUIRED,Hl)}}function CL(e,t){if(1&e&&(r_(0,"div",165),cp(1,TL,3,2,"div",153)(2,IL,2,1,"div",152),s_()),2&e){const e=Hm(5);$c(),hg("ngIf",19!==e.pageVersion),$c(),hg("ngIf",19===e.pageVersion)}}function SL(e,t){if(1&e){const e=h_();l_(0),r_(1,"span",180),Nm("onTap",(function(t){ji(e);return Vi(Hm(6).toggleShowMore(t))})),s_(),c_()}if(2&e){const e=Hm(3).$implicit;$c(),hg("zing-no-touch",!0)("innerHTML",e.value,Hl)}}function AL(e,t){if(1&e&&(l_(0),Iv(1),c_()),2&e){const e=Hm(3).$implicit;$c(),Sv(e.value)}}function xL(e,t){if(1&e){const e=h_();r_(0,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(7).BonusOfferTip())})),s_()}2&e&&hg("zing-no-touch",!0)}function DL(e,t){1&e&&o_(0,"modal-popup",24,162),2&e&&hg("classes",Xv(1,eN))}function RL(e,t){if(1&e&&(r_(0,"div",181)(1,"div",182),Iv(2),cp(3,xL,1,1,"span",51)(4,DL,2,2,"modal-popup",52),s_(),o_(5,"div",183),s_()),2&e){const e=Hm(6);$c(2),Av("",e.ccFields[5].label," "),$c(),hg("ngIf",e.card.REWARDS_INITIAL_BONUS_TOOLTIP),$c(),hg("ngIf",e.card.REWARDS_INITIAL_BONUS_TOOLTIP),$c(),hg("innerHTML",e.ccFields[5].value,Hl)}}function kL(e,t){if(1&e&&(r_(0,"div",165),cp(1,SL,2,2,"ng-container",11)(2,AL,2,1,"ng-container",11)(3,RL,6,4,"div",179),s_()),2&e){const e=Hm(5);$c(),hg("ngIf",e.linkedRewards),$c(),hg("ngIf",!e.linkedRewards),$c(),hg("ngIf","size-7"==e.ccFieldsClass&&e.ccFields[5]&&"Bonus Offer"==e.ccFields[5].label)}}function OL(e,t){if(1&e&&(r_(0,"div",181)(1,"div",182),Iv(2),s_(),o_(3,"div",184),s_()),2&e){const e=Hm(6);$c(2),Sv(e.ccFields[5].label),$c(),hg("innerHTML",e.ccFields[5].value,Hl)}}function NL(e,t){if(1&e&&(r_(0,"div",165),Iv(1),cp(2,OL,4,2,"div",179),s_()),2&e){const e=Hm(2).$implicit,t=Hm(3);$c(),Av(" ",e.value," "),$c(),hg("ngIf","size-7"==t.ccFieldsClass&&t.ccFields[5]&&"Monthly Fee"==t.ccFields[5].label)}}function FL(e,t){if(1&e&&(r_(0,"div",175)(1,"div",164),Iv(2),cp(3,_L,1,1,"span",51)(4,mL,1,1,"span",176)(5,vL,2,2,"modal-popup",52)(6,bL,2,2,"modal-popup",52)(7,yL,1,1,"span",51)(8,wL,2,2,"modal-popup",52),s_(),cp(9,EL,1,1,"div",177)(10,CL,3,2,"div",178)(11,kL,4,3,"div",178)(12,NL,3,2,"div",178),s_()),2&e){const e=Hm().$implicit,t=Hm(3);$c(2),Av("","Min Credit Needed"!=e.label?e.label:19==t.pageVersion?"Accepted Credit":"Min Credit Needed"," "),$c(),hg("ngIf","Bonus Offer"==e.label&&t.card.REWARDS_INITIAL_BONUS_TOOLTIP),$c(),hg("ngIf","Min Credit Needed"===e.label&&19==t.pageVersion),$c(),hg("ngIf","Min Credit Needed"===e.label&&19==t.pageVersion),$c(),hg("ngIf","Bonus Offer"==e.label&&t.card.REWARDS_INITIAL_BONUS_TOOLTIP),$c(),hg("ngIf","Rewards Rate"==e.label&&t.card.REWARDS_RATE_TOOLTIP&&t.card.REWARDS_RATE_TOOLTIP.length),$c(),hg("ngIf","Rewards Rate"==e.label&&t.card.REWARDS_RATE_TOOLTIP&&t.card.REWARDS_RATE_TOOLTIP.length),$c(),hg("ngIf","Min Credit Needed"!=e.label&&"Rewards Rate"!=e.label&&"Annual Fee"!=e.label),$c(),hg("ngIf","Min Credit Needed"==e.label),$c(),hg("ngIf","Rewards Rate"==e.label),$c(),hg("ngIf","Annual Fee"==e.label)}}function LL(e,t){if(1&e&&(l_(0),cp(1,FL,13,11,"div",174),c_()),2&e){const e=t.$implicit,n=Hm(3);$c(),hg("ngIf","size-7"!=n.ccFieldsClass||"size-7"==n.ccFieldsClass&&"Bonus Offer"!=e.label&&"Monthly Fee"!=e.label)}}function PL(e,t){if(1&e&&(r_(0,"div",173),cp(1,LL,2,1,"ng-container",94),s_()),2&e){const e=Hm(2);hg("ngClass",e.ccFieldsClass),$c(),hg("ngForOf",e.ccFields)}}function ML(e,t){1&e&&o_(0,"modal-popup",188,172),2&e&&hg("classes",Xv(1,eN))}function HL(e,t){if(1&e){const e=h_();r_(0,"div",164),Iv(1," Accepted Credit "),r_(2,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(4).MinCredtTip(4))})),s_(),cp(3,ML,2,2,"modal-popup",187),s_()}if(2&e){const e=Hm().$implicit;$c(2),hg("zing-no-touch",!0),$c(),hg("ngIf","Min Credit Needed"==e.label)}}function BL(e,t){if(1&e){const e=h_();r_(0,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(5).BonusOfferTip(!0))})),s_()}2&e&&hg("zing-no-touch",!0)}function zL(e,t){1&e&&o_(0,"modal-popup",24,171),2&e&&hg("classes",Xv(1,eN))}function qL(e,t){if(1&e){const e=h_();r_(0,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(5).RewardsRateTip(!0))})),s_()}2&e&&hg("zing-no-touch",!0)}function UL(e,t){1&e&&o_(0,"modal-popup",24,167),2&e&&hg("classes",Xv(1,eN))}function jL(e,t){if(1&e&&(r_(0,"div",164),Iv(1),cp(2,BL,1,1,"span",51)(3,zL,2,2,"modal-popup",52)(4,qL,1,1,"span",51)(5,UL,2,2,"modal-popup",52),s_()),2&e){const e=Hm().$implicit,t=Hm(3);$c(),Av("",e.label," "),$c(),hg("ngIf","Bonus Offer"==e.label&&t.card.REWARDS_INITIAL_BONUS_TOOLTIP),$c(),hg("ngIf","Bonus Offer"==e.label&&t.card.REWARDS_INITIAL_BONUS_TOOLTIP),$c(),hg("ngIf","Rewards Rate"==e.label&&t.card.REWARDS_RATE_TOOLTIP&&t.card.REWARDS_RATE_TOOLTIP.length),$c(),hg("ngIf","Rewards Rate"==e.label&&t.card.REWARDS_RATE_TOOLTIP&&t.card.REWARDS_RATE_TOOLTIP.length)}}function VL(e,t){if(1&e&&o_(0,"div",170),2&e){hg("innerHTML",Hm().$implicit.value,Hl)}}function WL(e,t){if(1&e&&(r_(0,"div",165)(1,"div",156),o_(2,"span",49),s_()()),2&e){const e=Hm(4);$c(2),hg("innerHTML",e.card.MIN_CREDIT_REQUIRED,Hl)}}function $L(e,t){if(1&e){const e=h_();l_(0),r_(1,"span",180),Nm("onTap",(function(t){ji(e);return Vi(Hm(5).toggleShowMore(t))})),s_(),c_()}if(2&e){const e=Hm(2).$implicit;$c(),hg("zing-no-touch",!0)("innerHTML",e.value,Hl)}}function GL(e,t){if(1&e&&(l_(0),Iv(1),c_()),2&e){const e=Hm(2).$implicit;$c(),Sv(e.value)}}function YL(e,t){if(1&e&&(r_(0,"div",165),cp(1,$L,2,2,"ng-container",11)(2,GL,2,1,"ng-container",11),s_()),2&e){const e=Hm(4);$c(),hg("ngIf",e.linkedRewards),$c(),hg("ngIf",!e.linkedRewards)}}function QL(e,t){if(1&e&&(l_(0),r_(1,"div",166),cp(2,HL,4,2,"div",186)(3,jL,6,5,"div",186)(4,VL,1,1,"div",177)(5,WL,3,1,"div",178)(6,YL,3,2,"div",178),s_(),c_()),2&e){const e=t.$implicit,n=Hm(3);$c(2),hg("ngIf","Min Credit Needed"===e.label&&n.card.MIN_CREDIT_REQUIRED),$c(),hg("ngIf","Min Credit Needed"!==e.label),$c(),hg("ngIf","Min Credit Needed"!=e.label&&"Rewards Rate"!=e.label),$c(),hg("ngIf","Min Credit Needed"==e.label&&n.card.MIN_CREDIT_REQUIRED),$c(),hg("ngIf","Rewards Rate"==e.label)}}function KL(e,t){if(1&e&&(r_(0,"div",185),cp(1,QL,7,5,"ng-container",94),s_()),2&e){const e=Hm(2);hg("ngClass",e.ccFieldsClass),$c(),hg("ngForOf",e.ccFields)}}function ZL(e,t){1&e&&(r_(0,"th",147),Iv(1,"Monthly Fee"),s_())}function JL(e,t){1&e&&(r_(0,"th",147),Iv(1,"Minimum Deposit"),s_())}function XL(e,t){if(1&e&&(r_(0,"td",148),Iv(1),s_()),2&e){const e=Hm(4);$c(),Sv(e.card.MONTHLY_FEE||"N/A")}}function eP(e,t){if(1&e&&(r_(0,"td",148),Iv(1),s_()),2&e){const e=Hm(4);$c(),Sv(e.card.MIN_TO_OPEN||"N/A")}}function tP(e,t){if(1&e&&(r_(0,"span",194),Iv(1),s_()),2&e){const e=t.$implicit;$c(),Av(" ",e," ")}}function nP(e,t){if(1&e&&(r_(0,"div",192),cp(1,tP,2,1,"span",193),s_()),2&e){const e=Hm(4);$c(),hg("ngForOf",e.card.tags)}}function iP(e,t){if(1&e&&(l_(0),r_(1,"table",143)(2,"tbody")(3,"tr")(4,"th",147),Iv(5,"APY"),s_(),cp(6,ZL,2,0,"th",189)(7,JL,2,0,"th",189),r_(8,"th",147),Iv(9,"Signup Bonus"),s_()(),r_(10,"tr")(11,"td",148),Iv(12),s_(),cp(13,XL,2,1,"td",190)(14,eP,2,1,"td",190),r_(15,"td",148),Iv(16),s_()()()(),r_(17,"div",163)(18,"div",164),Iv(19,"APY"),s_(),r_(20,"div",165),Iv(21),s_()(),r_(22,"div",166)(23,"div",164),Iv(24,"Monthly Fee"),s_(),r_(25,"div",165),Iv(26),s_()(),cp(27,nP,2,1,"div",191),c_()),2&e){const e=Hm(3);$c(6),hg("ngIf",!e.isCds),$c(),hg("ngIf",e.isCds),$c(5),Sv(e.card.APY||"N/A"),$c(),hg("ngIf",!e.isCds),$c(),hg("ngIf",e.isCds),$c(2),Sv(e.card.SIGNUP_BONUS||"None"),$c(5),Sv(e.card.APY||"N/A"),$c(5),Sv(e.card.MONTHLY_FEE||"N/A"),$c(),hg("ngIf",e.card.tags&&e.card.tags.length)}}function rP(e,t){if(1&e&&(l_(0),r_(1,"table",143)(2,"tbody")(3,"tr")(4,"th",147),Iv(5,"Monthly Fee"),s_(),r_(6,"th",147),Iv(7,"Activation Fee"),s_(),r_(8,"th",147),Iv(9,"Transaction Fee"),s_()(),r_(10,"tr")(11,"td",148),Iv(12),s_(),r_(13,"td",148),Iv(14),s_(),r_(15,"td",148),Iv(16),o_(17,"br"),Iv(18),s_()()()(),r_(19,"div",163)(20,"div",164),Iv(21,"Monthly Fee"),s_(),r_(22,"div",165),Iv(23),s_()(),r_(24,"div",166)(25,"div",164),Iv(26,"Activation Fee"),s_(),r_(27,"div",165),Iv(28),s_()(),r_(29,"div",166)(30,"div",164),Iv(31,"Transaction Fee"),s_(),r_(32,"div",165),Iv(33),o_(34,"br"),Iv(35),s_()(),c_()),2&e){const e=Hm(3);$c(12),Sv(e.card.MONTHLY_FEE||"N/A"),$c(2),Sv(e.card.ACCOUNT_FEE||"N/A"),$c(2),Av("Signature: ",e.card.SIGNATURE_TX_FEE||"N/A",""),$c(2),Av("ATM: ",e.card.ATM_TX_FEE||"N/A",""),$c(5),Sv(e.card.MONTHLY_FEE||"N/A"),$c(5),Sv(e.card.ACCOUNT_FEE||"N/A"),$c(5),Av(" Signature: ",e.card.SIGNATURE_TX_FEE||"N/A",""),$c(2),Av("ATM: ",e.card.ATM_TX_FEE||"N/A"," ")}}function sP(e,t){1&e&&(r_(0,"p",199),Iv(1,"of loan amount"),s_())}function oP(e,t){if(1&e&&(r_(0,"div",156),o_(1,"span",49),s_()),2&e){const e=Hm(4);$c(),hg("innerHTML",e.card.MIN_CREDIT_REQUIRED,Hl)}}function aP(e,t){if(1&e&&(r_(0,"div",157),o_(1,"i",158)(2,"span",49),s_()),2&e){const e=Hm(4);hg("ngClass",e.minCreditCls),$c(2),hg("innerHTML",e.card.MIN_CREDIT_REQUIRED_LAST,Hl)}}function lP(e,t){1&e&&(r_(0,"p"),Iv(1,"of loan amount"),s_())}function cP(e,t){if(1&e){const e=h_();r_(0,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(5).BonusOfferTip(!0))})),s_()}2&e&&hg("zing-no-touch",!0)}function uP(e,t){1&e&&o_(0,"modal-popup",24,171),2&e&&hg("classes",Xv(1,eN))}function dP(e,t){if(1&e&&(r_(0,"div",166)(1,"div",164),Iv(2," Bonus Offer "),cp(3,cP,1,1,"span",51)(4,uP,2,2,"modal-popup",52),s_(),r_(5,"div",165)(6,"div",156),o_(7,"span",49),s_()()()),2&e){const e=Hm(4);$c(3),hg("ngIf",e.card.REWARDS_INITIAL_BONUS_TOOLTIP),$c(),hg("ngIf",e.card.REWARDS_INITIAL_BONUS_TOOLTIP),$c(3),hg("innerHTML",e.card.REWARDS_INITIAL_BONUS,Hl)}}const hP=()=>["mincredit-popup","mincredit-popup-second"];function pP(e,t){if(1&e){const e=h_();r_(0,"div",166)(1,"div",164),Iv(2," Accepted Credit "),r_(3,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(4).MinCredtTip(4))})),s_(),o_(4,"modal-popup",188,172),s_(),r_(6,"div",165)(7,"div",156),o_(8,"span",49),s_()()()}if(2&e){const e=Hm(4);$c(3),hg("zing-no-touch",!0),$c(),hg("classes",Xv(3,hP)),$c(4),hg("innerHTML",e.card.MIN_CREDIT_REQUIRED,Hl)}}function fP(e,t){if(1&e){const e=h_();l_(0),r_(1,"table",195)(2,"tbody")(3,"tr")(4,"th",147),Iv(5,"APR"),s_(),r_(6,"th",147),Iv(7,"Origination Fee"),s_(),r_(8,"th",147),Iv(9,"Term"),s_(),r_(10,"th",196),Iv(11),r_(12,"span",53),Nm("onTap",(function(){ji(e);return Vi(Hm(3).MinCredtTip(2))})),s_(),o_(13,"modal-popup",24,197),s_()(),r_(15,"tr")(16,"td",148),Iv(17),s_(),r_(18,"td",148),Iv(19),cp(20,sP,2,0,"p",198),s_(),r_(21,"td",148),Iv(22),s_(),r_(23,"td",148),cp(24,oP,2,1,"div",152)(25,aP,3,2,"div",153),s_()()()(),r_(26,"div",163)(27,"div",164),Iv(28,"APR"),s_(),r_(29,"div",165),Iv(30),s_()(),r_(31,"div",166)(32,"div",164),Iv(33,"Origination Fee"),s_(),r_(34,"div",165),Iv(35),cp(36,lP,2,0,"p",11),s_()(),r_(37,"div",166)(38,"div",164),Iv(39,"Term"),s_(),r_(40,"div",165),Iv(41),s_()(),cp(42,dP,8,3,"div",146)(43,pP,9,4,"div",146),c_()}if(2&e){const e=Hm(3);$c(11),Av(" ",19==e.pageVersion?"Accepted Credit":"Min Credit Needed"," "),$c(),hg("zing-no-touch",!0),$c(),hg("classes",Xv(15,hP)),$c(4),Sv(e.card.APR||"N/A"),$c(2),Sv(e.card.ORIG_FEE||"N/A"),$c(),hg("ngIf",e.card.ORIG_FEE&&e.card.MIN_TO_OPEN),$c(2),Sv(e.card.TERM||"None"),$c(2),hg("ngIf",19===e.pageVersion),$c(),hg("ngIf",19!==e.pageVersion),$c(5),Sv(e.card.APR||"N/A"),$c(5),Av(" ",e.card.ORIG_FEE||"N/A",""),$c(),hg("ngIf",e.card.ORIG_FEE&&e.card.MIN_TO_OPEN),$c(5),Av(" ",e.card.TERM||"None"," "),$c(),hg("ngIf",e.card.REWARDS_INITIAL_BONUS),$c(),hg("ngIf",e.card.MIN_CREDIT_REQUIRED&&""!==e.card.MIN_CREDIT_REQUIRED)}}const gP=()=>["chkg","svg"],_P=()=>["ppd"],mP=()=>["prsn"];function vP(e,t){if(1&e&&(r_(0,"div",142),cp(1,iP,28,9,"ng-container",11)(2,rP,36,8,"ng-container",11)(3,fP,44,16,"ng-container",11),s_()),2&e){const e=Hm(2);$c(),hg("ngIf",Xv(3,gP).indexOf(e.pdtType)>=0),$c(),hg("ngIf",Xv(4,_P).indexOf(e.pdtType)>=0),$c(),hg("ngIf",Xv(5,mP).indexOf(e.pdtType)>=0)}}const bP=e=>({"top-border":e}),yP=()=>({768:50,2048:500});function wP(e,t){if(1&e){const e=h_();r_(0,"div",201)(1,"div",58),Iv(2,"Editors’ Thoughts"),s_(),r_(3,"p",202),Nm("hasExpandButton",(function(t){ji(e);return Vi(Hm(3).checkExpandButton(t))})),s_()()}if(2&e){const e=Hm(3);hg("ngClass",eb(7,bP,"inst"===e.pdtType)),$c(3),hg("ng-truncate",e.card.EDITORS_NOTES)("zing-url-container",!0)("breakwords",Xv(9,yP))("expand-content",e.show_more)("expand-button","")("collapse-button","")}}function EP(e,t){if(1&e&&(l_(0),cp(1,wP,4,10,"div",200),c_()),2&e){const e=Hm(2);$c(),hg("ngIf",e.card.EDITORS_NOTES&&""!=e.card.EDITORS_NOTES)}}function TP(e,t){if(1&e&&o_(0,"p",204),2&e){hg("cleanHTML",Hm(4).card.EDITORS_NOTES)}}function IP(e,t){if(1&e&&(r_(0,"div",201)(1,"div",58),Iv(2,"Editors’ Thoughts"),s_(),cp(3,TP,1,1,"p",203),s_()),2&e){const e=Hm(3);hg("ngClass",eb(2,bP,"inst"===e.pdtType)),$c(3),hg("ngIf",e.card.COLLAPSE_COMMENT)}}function CP(e,t){if(1&e&&(l_(0),cp(1,IP,4,4,"div",200),c_()),2&e){const e=Hm(2);$c(),hg("ngIf",e.card.EDITORS_NOTES&&""!=e.card.EDITORS_NOTES)}}function SP(e,t){if(1&e){const e=h_();r_(0,"span",209),Nm("onTap",(function(t){ji(e);return Vi(Hm(4).toggleShowMore(t))})),Iv(1),o_(2,"i",210),s_()}if(2&e){const e=Hm(4);hg("zing-no-touch",!0),$c(),Av(" ",e.pdtType?"Show More":e.card.EDITORS_NOTES&&""!=e.card.EDITORS_NOTES&&e.card.COLLAPSE_COMMENT?"Editor's Thoughts & More Details":"Pros, Cons & More Details"," ")}}function AP(e,t){if(1&e&&(l_(0),cp(1,SP,3,2,"span",208),c_()),2&e){const e=Hm(3);$c(),hg("ngIf",!e.show_more)}}function xP(e,t){1&e&&o_(0,"span",211)}function DP(e,t){if(1&e){const e=h_();r_(0,"div",212)(1,"ng-checkbox",213),Nm("checkedChange",(function(t){ji(e);return Vi(Hm(3).compareToggled(t))})),s_()()}if(2&e){const e=Hm(3);$c(),hg("checked",e.comparing)}}const RP=e=>({"with-compare-checkbox":e});function kP(e,t){if(1&e&&(r_(0,"div",205),cp(1,AP,2,1,"ng-container",16)(2,xP,1,0,"ng-template",null,206,Eb)(4,DP,2,1,"div",207),s_()),2&e){const e=sv(3),t=Hm(2);hg("ngClass",eb(4,RP,t.show_compare_checkbox)),$c(),hg("ngIf","inst"!==t.pdtType&&t.hasMoreCardDetails)("ngIfElse",e),$c(3),hg("ngIf",t.show_compare_checkbox&&(!t.show_more||!(t.getProsList(t.card).length>0||t.getConsList(t.card).length>0||t.getRewardsList(t.card).length>0||t.detailsList.length>0||t.rateInfos.length>0&&("chkg"===t.pdtType||"svg"===t.pdtType))))}}function OP(e,t){if(1&e&&o_(0,"li",222),2&e){hg("cleanHTML",t.$implicit)}}function NP(e,t){if(1&e&&(r_(0,"div",217)(1,"div",218),o_(2,"span",219),Iv(3,"Pros "),s_(),r_(4,"ul",220),cp(5,OP,1,1,"li",221),s_()()),2&e){const e=Hm(3);$c(5),hg("ngForOf",e.getProsList(e.card))}}function FP(e,t){if(1&e&&o_(0,"li",222),2&e){hg("cleanHTML",t.$implicit)}}function LP(e,t){if(1&e&&(r_(0,"div",223)(1,"div",224),o_(2,"span",225),Iv(3,"Cons "),s_(),r_(4,"ul",226),cp(5,FP,1,1,"li",221),s_()()),2&e){const e=Hm(3);$c(5),hg("ngForOf",e.getConsList(e.card))}}const PP=e=>({"hide-pros-cons":e});function MP(e,t){if(1&e&&(r_(0,"div",214),cp(1,NP,6,1,"div",215)(2,LP,6,1,"div",216),s_()),2&e){const e=Hm(2);hg("ngClass",eb(3,PP,!e.show_more)),$c(),hg("ngIf",e.getProsList(e.card).length>0),$c(),hg("ngIf",e.getConsList(e.card).length>0)}}function HP(e,t){if(1&e&&o_(0,"li",49),2&e){hg("innerHTML",t.$implicit,Hl)}}function BP(e,t){if(1&e&&(r_(0,"tr")(1,"td",227),Iv(2),s_(),r_(3,"td",227),Iv(4),s_()()),2&e){const e=t.$implicit;$c(2),Sv(e.range),$c(2),Sv(e.apy)}}function zP(e,t){if(1&e&&o_(0,"li",49),2&e){hg("innerHTML",t.$implicit,Hl)}}function qP(e,t){if(1&e&&(r_(0,"li",228)(1,"span")(2,"a",229),Iv(3,"More Details & Reviews About "),o_(4,"span",42),s_()()()),2&e){const e=Hm(2);$c(2),hg("zing-url",!0)("href",e.detailsPageUrl,zl),$c(2),hg("title",e.card.NAME)("innerHtml",e.card.NAME,Hl)}}function UP(e,t){if(1&e){const e=h_();r_(0,"span",209),Nm("onTap",(function(t){ji(e);return Vi(Hm(4).toggleShowMore(t))})),Iv(1),o_(2,"i",230),s_()}if(2&e){const e=Hm(4);hg("zing-no-touch",!0),$c(),Av(" ",e.pdtType||e.card.EDITORS_NOTES&&""!=e.card.EDITORS_NOTES&&e.card.COLLAPSE_COMMENT?"Show Less":"Hide Card Details"," ")}}function jP(e,t){if(1&e&&(l_(0),cp(1,UP,3,2,"span",208),c_()),2&e){const e=Hm(3);$c(),hg("ngIf",e.show_more)}}function VP(e,t){1&e&&o_(0,"span",211)}function WP(e,t){if(1&e){const e=h_();r_(0,"div",212)(1,"ng-checkbox",213),Nm("checkedChange",(function(t){ji(e);return Vi(Hm(3).compareToggled(t))})),s_()()}if(2&e){const e=Hm(3);$c(),hg("checked",e.comparing)}}const $P=(e,t)=>({"top-border":e,"with-compare-checkbox":t});function GP(e,t){if(1&e&&(r_(0,"div",205),cp(1,jP,2,1,"ng-container",16)(2,VP,1,0,"ng-template",null,206,Eb)(4,WP,2,1,"div",207),s_()),2&e){const e=sv(3),t=Hm(2);hg("ngClass",tb(4,$P,t.show_more,t.show_compare_checkbox)),$c(),hg("ngIf","inst"!==t.pdtType&&t.hasMoreCardDetails)("ngIfElse",e),$c(3),hg("ngIf",t.show_compare_checkbox&&t.show_more)}}function YP(e,t){if(1&e){const e=h_();r_(0,"div",233),Nm("onTap",(function(t){ji(e);return Vi(Hm(3).toggleShowMore(t))})),r_(1,"span",234),Iv(2),o_(3,"i"),s_()()}if(2&e){const e=Hm(3);$c(2),Av(" ",e.buttonText," "),$c(),vg(e.buttonIconClass)}}function QP(e,t){1&e&&o_(0,"span",211)}function KP(e,t){if(1&e){const e=h_();r_(0,"div",212)(1,"ng-checkbox",213),Nm("checkedChange",(function(t){ji(e);return Vi(Hm(3).compareToggled(t))})),s_()()}if(2&e){const e=Hm(3);$c(),hg("checked",e.comparing)}}const ZP=(e,t)=>({"with-compare-checkbox":e,closed:t});function JP(e,t){if(1&e&&(r_(0,"div",231),cp(1,YP,4,3,"div",232)(2,QP,1,0,"ng-template",null,206,Eb)(4,KP,2,1,"div",207),s_()),2&e){const e=sv(3),t=Hm(2);hg("ngClass",tb(4,ZP,t.show_compare_checkbox,!t.show_more&&!t.card.EDITORS_NOTES)),$c(),hg("ngIf",t.card.EDITORS_NOTES&&"inst"===t.pdtType||t.hasMoreCardDetails)("ngIfElse",e),$c(3),hg("ngIf",t.show_compare_checkbox)}}const XP=e=>({"top-part-cc":e}),eM=e=>({"card-header-cc":e}),tM=e=>({"img-mob":!0,"img-border":e}),nM=()=>({width:18,height:17.5}),iM=e=>({show:e});function rM(e,t){if(1&e){const e=h_();r_(0,"div",65),Nm("scrolled",(function(t){ji(e);return Vi(Hm().scrolledDone(t))}))("adViewed",(function(t){ji(e);return Vi(Hm().AdView(t))})),o_(1,"meta",6)(2,"meta",6)(3,"meta",6),r_(4,"div",66)(5,"div",67),cp(6,FN,1,1,"h2",68),r_(7,"div",69),cp(8,HN,3,2,"ng-container",11),s_()(),r_(9,"div",70)(10,"div",71)(11,"div",72),o_(12,"img",73,74),s_(),o_(14,"meta",6),s_(),r_(15,"div",75)(16,"div",76),cp(17,zN,4,5,"h3",77)(18,qN,1,2,"h3",78),s_(),r_(19,"div",9),o_(20,"rating-box",79),cp(21,UN,4,2,"ng-container",11),s_(),cp(22,JN,7,3,"div",80)(23,iF,5,3,"div",81)(24,rF,4,2,"div",81),s_(),cp(25,lF,4,2,"div",81)(26,cF,4,2,"div",81),s_()(),cp(27,dF,4,1,"div",82)(28,gL,20,15,"div",83)(29,PL,2,2,"div",84)(30,KL,2,2,"div",85)(31,vP,4,6,"div",83),r_(32,"div",86),cp(33,EP,2,1,"ng-container",11)(34,CP,2,1,"ng-container",11)(35,kP,5,6,"div",87),r_(36,"div",88),cp(37,MP,3,5,"div",89),r_(38,"div",90)(39,"div",58),Iv(40,"Rewards Details"),s_(),r_(41,"ul"),cp(42,HP,1,1,"li",29),s_()(),r_(43,"div",90)(44,"div",58),Iv(45,"Interest Rate Breakdown"),s_(),r_(46,"table",91)(47,"thead")(48,"tr")(49,"th",92),Iv(50,"Balance"),s_(),r_(51,"th",93),Iv(52,"APY"),s_()()(),r_(53,"tbody"),cp(54,BP,5,2,"tr",94),s_()()(),r_(55,"div",90)(56,"div",58),Iv(57),s_(),r_(58,"ul"),cp(59,zP,1,1,"li",29)(60,qP,5,4,"li",95),s_()(),r_(61,"div",96),o_(62,"p",49),s_()(),cp(63,GP,5,7,"div",87)(64,JP,5,7,"div",97),s_()()}if(2&e){const e=Hm();hg("scroll-to",e.scrolled)("zenspeed",300)("ad-id",e.card.ID)("trigger-ratio",.5)("referrer-url",e.referrerUrl)("click-url",e.getRedirUrl())("ad-pixel-recheck",e.adviewRecheck)("adview-section",e.adviewSection)("adview-totals",e.adviewTotals)("adview-position",e.adviewPosition)("ng-attribute",nb(78,xN,Xv(75,CN),Xv(76,SN),Xv(77,AN)))("ng-attribute-when",e.showSchema),$c(),hg("ng-attribute-when",e.showSchema)("ng-attribute",eb(83,PO,Xv(82,DN))),Df("content",e.card.NAME||""),$c(),hg("ng-attribute-when",e.showSchema)("ng-attribute",eb(86,PO,Xv(85,RN))),Df("content",e.getCardSchemaUrl(e.card)),$c(),hg("ng-attribute-when",e.showSchema)("ng-attribute",eb(89,PO,Xv(88,kN))),Df("content",e.card.CARD_HEADING),$c(),hg("ngClass",eb(91,XP,!e.pdtType)),$c(2),hg("ngIf",e.card.CARD_HEADING&&e.showHeading),$c(2),hg("ngIf",e.isBestPage),$c(),hg("ngClass",eb(93,eM,!e.pdtType)),$c(2),hg("defer-src",e.card_img)("ui-hydrate",!1),$c(),hg("alt",e.card.NAME)("ngClass",eb(95,tM,!!e.pdtType)),Df("data-src",e.card_img),$c(2),hg("ng-attribute-when",e.showSchema)("ng-attribute",eb(98,PO,Xv(97,LO))),Df("content",e.card_img),$c(3),hg("ngIf","prsn"!==e.pdtType),$c(),hg("ngIf","prsn"===e.pdtType),$c(),gg("editors-stars",!e.showReviewsLink&&e.card.EDITORS_REVIEW_URL),$c(),hg("svg-star-dim",Xv(100,nM))("rating",e.card.RATING)("reviews",e.card.REVIEWS)("show-hover",!1)("aggregate-rating",e.showRatingSchema)("reviews-link",e.reviewsPageUrl)("show-reviews-count",e.showReviewsLink||!e.card.EDITORS_REVIEW_URL)("review-label",e.review_label),$c(),hg("ngIf",!e.showReviewsLink&&e.card.EDITORS_REVIEW_URL),$c(),hg("ngIf",e.wh_rating),$c(),hg("ngIf",e.isApplyButtonVisible(e.card)&&e.pdtType&&"learnMore"!==e.card.CTA_BUTTON_TYPE),$c(),hg("ngIf",!e.isApplyButtonVisible(e.card)&&"N"===e.card.DISCONTINUED&&!e.card.$isProduct&&e.pdtType||"learnMore"===e.card.CTA_BUTTON_TYPE&&"N"===e.card.DISCONTINUED&&!e.card.$isProduct&&e.pdtType),$c(),hg("ngIf",e.isApplyButtonVisible(e.card)&&!e.pdtType&&"learnMore"!==e.card.CTA_BUTTON_TYPE),$c(),hg("ngIf",!e.isApplyButtonVisible(e.card)&&"N"===e.card.DISCONTINUED&&!e.card.$isProduct&&!e.pdtType||"learnMore"===e.card.CTA_BUTTON_TYPE&&"N"===e.card.DISCONTINUED&&!e.card.$isProduct&&!e.pdtType),$c(),hg("ngIf",e.getFeatureCallOut(e.card)),$c(),hg("ngIf",!e.pdtType&&!e.isNonNA),$c(),hg("ngIf",!e.pdtType&&e.isNonNA),$c(),hg("ngIf",!e.pdtType&&e.isNonNA),$c(),hg("ngIf",e.pdtType),$c(2),hg("ngIf",!e.card.COLLAPSE_COMMENT),$c(),hg("ngIf",e.card.COLLAPSE_COMMENT),$c(),hg("ngIf","inst"!==e.pdtType&&e.hasMoreCardDetails||e.show_compare_checkbox),$c(),hg("ngClass",eb(101,iM,e.show_more)),$c(),hg("ngIf",e.getProsList(e.card).length>0||e.getConsList(e.card).length>0),$c(),hg("ngClass",eb(103,iM,e.rewardsList.length>0&&e.card.REWARDS&&"N"!=e.card.REWARDS&&e.show_more)),$c(4),hg("ngForOf",e.rewardsList)("ngForTrackBy",e.trackByFn),$c(),hg("ngClass",eb(105,iM,e.rateInfos.length&&("chkg"===e.pdtType||"svg"===e.pdtType)&&e.show_more)),$c(11),hg("ngForOf",e.rateInfos),$c(),hg("ngClass",eb(107,iM,e.detailsList.length>0&&e.show_more)),$c(2),Av("Additional ",e.pdtType?"Details":"Info",""),$c(2),hg("ngForOf",e.detailsList)("ngForTrackBy",e.trackByFn),$c(),hg("ngIf","prsn"!==e.pdtType&&"svg"!=e.pdtType),$c(),hg("ngClass",eb(109,iM,e.show_more&&e.card.DISCLAIMER)),$c(),hg("innerHTML",e.card.DISCLAIMER,Hl),$c(),hg("ngIf","inst"!==e.pdtType&&e.hasMoreCardDetails||e.show_compare_checkbox),$c(),hg("ngIf",e.card.EDITORS_NOTES&&"inst"===e.pdtType||e.hasMoreCardDetails||e.show_compare_checkbox)}}function sM(e,t){if(1&e){const e=h_();l_(0),r_(1,"span",37),Nm("onTap",(function(){ji(e);return Vi(Hm(2).ViewEditorReview())})),s_(),o_(2,"modal-popup",38,39),c_()}2&e&&($c(),hg("zing-no-touch",!0),$c(),hg("popup-relative",!0))}function oM(e,t){1&e&&(r_(0,"span"),Iv(1,"More Details "),o_(2,"span",252),s_())}function aM(e,t){1&e&&(r_(0,"span"),Iv(1,"Less Details "),o_(2,"span",253),s_())}function lM(e,t){1&e&&(r_(0,"span"),Iv(1,"More Details "),o_(2,"span",252),s_())}function cM(e,t){1&e&&(r_(0,"span"),Iv(1,"Less Details "),o_(2,"span",253),s_())}function uM(e,t){if(1&e){const e=h_();r_(0,"div",249)(1,"span",250),Nm("onTap",(function(t){ji(e);return Vi(Hm(2).toggleShowMore(t))})),cp(2,oM,3,0,"span",11)(3,aM,3,0,"span",11),s_(),r_(4,"span",251),Nm("onTap",(function(t){ji(e);return Vi(Hm(2).toggleShowMore(t))})),cp(5,lM,3,0,"span",11)(6,cM,3,0,"span",11),s_()()}if(2&e){const e=Hm(2);$c(),hg("zing-no-touch",!0),$c(),hg("ngIf",!e.show_more),$c(),hg("ngIf",e.show_more),$c(),hg("zing-no-touch",!0),$c(),hg("ngIf",!e.show_more),$c(),hg("ngIf",e.show_more)}}function dM(e,t){if(1&e&&(r_(0,"div",254),o_(1,"div",204),s_()),2&e){const e=Hm(2);hg("ngClass",eb(2,uN,e.show_more)),$c(),hg("cleanHTML",e.card.EDITORS_NOTES)}}const hM=()=>({"img-mob":!0});function pM(e,t){if(1&e){const e=h_();r_(0,"div",235),Nm("scrolled",(function(t){ji(e);return Vi(Hm().scrolledDone(t))}))("adViewed",(function(t){ji(e);return Vi(Hm().AdView(t))})),o_(1,"meta",6)(2,"meta",6)(3,"meta",6),r_(4,"div",236)(5,"div",237)(6,"div",238)(7,"div",72),o_(8,"img",73,74),s_(),o_(10,"meta",6),s_(),r_(11,"h3",239),o_(12,"a",240),s_(),r_(13,"div",241)(14,"div",9),o_(15,"rating-box",79),cp(16,sM,4,2,"ng-container",11),s_()()(),o_(17,"div",242)(18,"div",242),r_(19,"div",243)(20,"div",244)(21,"div",245)(22,"a",246),Iv(23," Go to Site "),s_()(),cp(24,uM,7,6,"div",247),s_()()(),cp(25,dM,2,4,"div",248),s_()}if(2&e){const e=Hm();hg("scroll-to",e.scrolled)("zenspeed",300)("ad-id",e.card.ID)("trigger-ratio",.5)("referrer-url",e.referrerUrl)("click-url",e.getRedirUrl())("ad-pixel-recheck",e.adviewRecheck)("adview-section",e.adviewSection)("adview-totals",e.adviewTotals)("adview-position",e.adviewPosition)("ng-attribute",nb(52,xN,Xv(49,CN),Xv(50,SN),Xv(51,AN)))("ng-attribute-when",e.showSchema),$c(),hg("ng-attribute-when",e.showSchema)("ng-attribute",eb(57,PO,Xv(56,DN))),Df("content",e.card.NAME||""),$c(),hg("ng-attribute-when",e.showSchema)("ng-attribute",eb(60,PO,Xv(59,RN))),Df("content",e.getCardSchemaUrl(e.card)),$c(),hg("ng-attribute-when",e.showSchema)("ng-attribute",eb(63,PO,Xv(62,kN))),Df("content",e.card.CARD_HEADING),$c(4),hg("defer-src",e.card_img)("ui-hydrate",!1),$c(),hg("alt",e.card.NAME)("ngClass",Xv(65,hM)),Df("data-src",e.card_img),$c(2),hg("ng-attribute-when",e.showSchema)("ng-attribute",eb(67,PO,Xv(66,LO))),Df("content",e.card_img),$c(2),hg("zing-url",!0)("href",e.card.DETAILS_HTML_PAGE,zl)("cleanHTML",e.card.NAME),$c(2),gg("editors-stars",!e.showReviewsLink&&e.card.EDITORS_REVIEW_URL),$c(),hg("svg-star-dim",Xv(69,nM))("rating",e.card.RATING)("reviews",e.card.REVIEWS)("show-hover",!1)("aggregate-rating",e.showRatingSchema)("reviews-link",e.reviewsPageUrl)("show-reviews-count",e.showReviewsLink||!e.card.EDITORS_REVIEW_URL)("review-label",e.review_label),$c(),hg("ngIf",!e.showReviewsLink&&e.card.EDITORS_REVIEW_URL),$c(),hg("cleanHTML",e.card.ADDITIONAL_INFO_1),$c(),hg("cleanHTML",e.card.ADDITIONAL_INFO_2),$c(4),hg("zing-url",!0)("href",e.getRedirUrl(),zl),$c(2),hg("ngIf",e.card.EDITORS_NOTES),$c(),hg("ngIf",e.card.EDITORS_NOTES&&""!=e.card.EDITORS_NOTES)}}function fM(e,t){if(1&e){const e=h_();r_(0,"a",255),Nm("scrolled",(function(t){ji(e);return Vi(Hm().scrolledDone(t))})),r_(1,"div",256),o_(2,"img",257),r_(3,"div",75)(4,"p",258),Iv(5),s_(),o_(6,"p",259),s_(),r_(7,"div",260),o_(8,"i",261),s_()()()}if(2&e){const e=Hm();hg("href",e.card.CONTENT_URL,zl)("scroll-to",e.scrolled)("zenspeed",300),$c(2),hg("src",e.card.IMG_NAME||e.card.IMAGE_NAME,zl)("alt",e.card.NAME),$c(3),Sv(e.card.CATEGORY),$c(),hg("innerHTML",e.card.COMMENT,Hl)}}function gM(e,t){if(1&e){const e=h_();r_(0,"div",262),Nm("scrolled",(function(t){ji(e);return Vi(Hm().scrolledDone(t))})),o_(1,"p",259),s_()}if(2&e){const e=Hm();hg("scroll-to",e.scrolled)("zenspeed",300),$c(),hg("innerHTML",e.card.COMMENT,Hl)}}l.import("css:/components/best-card-box.css").then((()=>{}),(()=>{}));class _M{transform(e){return e=+e,isNaN(e)?0:Math.round(100*e)/100}}_M.ɵfac=function(e){return new(e||_M)},_M.ɵpipe=In({name:"round_decimals",type:_M,pure:!0});class mM{constructor(e,t,n){this._cd=e,this._srv=t,this._scrollservice=n,this.version=1,this.offsetTop=0,this.showSchema=!1,this.showRatingSchema=!1,this.showReviewsLink=!0,this.schemaIndex=0,this.schemaUrl="",this.showHeading=!0,this.adviewSection="",this.adviewTotals=0,this.adviewPosition=0,this.adviewRecheck=!1,this.isBestPage=!1,this.isNonNA=!1,this.show_compare_checkbox=!1,this.generic_institution=!1,this.pageVersion=0,this._ace=!1,this._subs=[],this.baseUrl=hx(),this.show_more=!1,this.card_img="",this.minCreditCls="low-appr",this.applyNowTxt="Apply Now",this.hasMoreCardDetails=!1,this.detailsPageUrl="",this.reviewsPageUrl="",this.referrerUrl="",this.pdtType="",this.stars=[],this.isCds=!1,this.wh_rating=null,this.wh_rating_need="",this.wh_rating_needs=[],this.wh_user_reviews=null,this.wh_editor_rating=null,this.wh_market_comparison=null,this.compArray=[],this.need_name_alias_map={rebuild:"Rebuild Damaged Credit",storeRebuild:"Rebuild Damaged Credit (Store Cards)",rebuildNB:"Rebuild Damaged Credit by Paying in Full Each Month",improving:"Improve Credit",improvingNB:"Improve Credit by Paying in Full Each Month",student:"Build Credit (Students)",studentNB:"Build Credit by Paying in Full Each Month (Students)",rewards:"Earn Rewards",travel:"Earn Travel Rewards",airline:"Earn Airline Rewards",hotel:"Earn Hotel Rewards",gas:"Earn Gas Rewards",storeRewards:"Earn Rewards (Store Cards)",financing:"Finance New Purchases",storeFinancing:"Finance New Purchases (Store Cards)",lowerDebt:"Lower Cost of Existing Debt",businessRebuild:"Business - Rebuild Damaged Credit",businessRebuildNB:"Business - Rebuild Damaged Credit by Paying in Full Each Month",businessImproving:"Business - Improve Credit",businessImprovingNB:"Business - Improve Credit by Paying in Full Each Month",businessRewards:"Business - Earn Rewards",businessTravel:"Business - Earn Travel Rewards",businessStoreRewards:"Business - Earn Rewards (Store Cards)",businessFinancing:"Business - Finance New Purchases",businessStoreFinancing:"Business - Finance New Purchases (Store Cards)",businessLoweringDebt:"Business - Lower Cost of Existing Debt"},this.show_wh_rating_popup=!1,this.review_label="Review",this.callout_content={},this.forceupdate=4,this.show_asterisk=!1,this.rewardsList=[],this.detailsList=[],this.adview_id="",this._ccFields={secured:[{label:"Secured Card",field:"MIN_SECURITY_DEPOSIT"},{label:"One-Time Fees",field:"ONE_TIME_SETUP_FEES"},{label:"Regular APR",field:"REGULAR_PURCHASE_APR"}],secured_rewards:[{label:"Annual Fee",field:"ANNUAL_FEE"},{label:"Rewards Rate",field:"REWARDS_EARN_RATE"},{label:"Monthly Fee",field:"MONTHLY_FEE"}],secured_no_rewards:[{label:"Annual Fee",field:"ANNUAL_FEE"},{label:"Monthly Fee",field:"MONTHLY_FEE"}],unsecured:[{label:"One-Time Fees",field:"ONE_TIME_SETUP_FEES"},{label:"Regular APR",field:"REGULAR_PURCHASE_APR"},{label:"Annual Fee",field:"ANNUAL_FEE"}],unsecured_rewards:[{label:"Monthly Fee",field:"MONTHLY_FEE"},{label:"Rewards Rate",field:"REWARDS_EARN_RATE"}],unsecured_no_rewards:[{label:"Monthly Fee",field:"MONTHLY_FEE"}],normal:[{label:"Purchase intro APR",field:"PURCHASE_INTRO_APR"},{label:"Transfer intro APR",field:"BT_INTRO_APR"},{label:"Regular APR",field:"REGULAR_PURCHASE_APR"},{label:"Annual Fee",field:"ANNUAL_FEE"},{label:"Rewards Rate",field:"REWARDS_EARN_RATE"}],normal_rewards:[{label:"Bonus Offer",field:"REWARDS_INITIAL_BONUS"}]},this.ccFields=[],this.ccFieldsClass="size-7",this.linkedRewards=!1,this._has_expand_button=!1,this.scrolled=!1,this._mincreditpop=VR,this._bonusoffertpop=$R,this._rewardsratepop=$R}ViewEditorReview(){this._edrvdialog.Open(vM,{reviewurl:this.card.EDITORS_REVIEW_URL}),this._cd.detectChanges()}get rateInfos(){let e=[];if(this.card.RATE_INFO_STR){let t=this.card.RATE_INFO_STR.split(",");for(const n of t){if(n){let t=n.split("|"),i={};void 0!==t[0]&&void 0!==t[1]&&(t[1]>=99999999?i.range=`${HI(t[0])}+`:i.range=`${HI(t[0])} - ${HI(t[1])}`),void 0!==t[2]&&(i.rate=`${t[2]}%`),void 0!==t[3]&&(i.apy=`${t[3]}%`),3===Object.keys(i).length&&e.push(i)}}}return e}getStars(){for(var e=Math.round(10*this.card.RATING)/10,t=[],n=Math.round(2*e)/2,i=n,r=parseInt(n+""),s=i-r,o=0;o<5;o++)o<r?t.push("bf-icon-star"):o==r&&s>.1?t.push("bf-icon-star-half"):t.push("bf-icon-star-empty");return t}GetCreditLook(e){let t="limited-appr";return"Excellent"==e?t="ultra-appr":"Good"==e?t="high-appr":"Fair"==e?t="med-appr":"Bad"==e&&(t="low-appr"),t}SetUpShowMoreButton(){this.card.REWARDS&&"N"!=this.card.REWARDS||this.card.DISCLAIMER||this.getCardDetails(this.card).length>0||this._has_expand_button&&this.card.EDITORS_NOTES||this.rateInfos.length&&("chkg"===this.pdtType||"svg"===this.pdtType)?this.hasMoreCardDetails=!0:this.hasMoreCardDetails=!1}AdView(e){e&&e.view&&(this.adview_id=e.view)}SetPrequalViewId(){if(this.adview_id&&"prsn"==this.pdtType&&this.card.WH_AFFILIATE_LINK&&"Y"===this.card.WH_AFFILIATE_LINK&&this.card.PREQUAL&&"Y"===this.card.PREQUAL){let e=JSON.stringify({view:this.adview_id});try{window.sessionStorage.setItem("mw_prequal_start",e)}catch(t){Vx.set("mw_prequal_start",e,0)}}}getRewardsRateTooltip(){let e="";if(this.card.REWARDS_RATE_TOOLTIP&&FI(this.card.REWARDS_RATE_TOOLTIP)){var t=this.card.REWARDS_RATE_TOOLTIP;t.lastIndexOf("__")==t.length-2&&(t=t.substring(0,t.length-2)),this.card.REWARDS_RATE_TOOLTIP=t.split("__")}return this.card.REWARDS_RATE_TOOLTIP&&BI(this.card.REWARDS_RATE_TOOLTIP)&&this.card.REWARDS_RATE_TOOLTIP.length&&(e+="<ul class='rewards-tip-list'>",zI(this.card.REWARDS_RATE_TOOLTIP,(t=>{e+="<li>",e+=t,e+="</li>"})),e+="</ul>"),e}ngOnInit(){var e,t,n,i;if(this.card_img=this.card.IMAGE_NAME,this.stars=this.getStars(),this.minCreditCls=this.GetCreditLook(this.card.MIN_CREDIT_REQUIRED_LAST),this._ace=lD(),this.pageVersion&&(this.pageVersion=MI(this.pageVersion)),this.isCds=this.card.$is_cds,(this.card.MIN_TO_OPEN||0===this.card.MIN_TO_OPEN)&&(this.card.MIN_TO_OPEN=HI(MI(this.card.MIN_TO_OPEN),2)),this.pdtType=this.card.$product,this.pdtType||(this.review_label="User Review"),this.card.DETAILS_HTML_PAGE){let e=this.card.DETAILS_HTML_PAGE;this.detailsPageUrl=this.baseUrl+e,this.referrerUrl=this.baseUrl+e}if(this.card.WH_RATINGS_NEEDS&&this.card.WH_RATINGS_NEEDS.total&&this.card.ELIGIBLE_NEEDS){this.wh_rating=MI(this.card.WH_RATINGS_NEEDS.total),this.wh_rating_need=this.need_name_alias_map[this.card.ELIGIBLE_NEEDS];let i=this.card.WH_RATINGS_NEEDS;UI(i)&&(WI(i,((e,t)=>{let n=t;t&&"need_name_alias"!=t&&"total"!=t&&("interest"==n?n="APR":"reviews"==n?(n="User Reviews",this.wh_user_reviews=MI(e||"0.0")):"otherFeatures"==n&&(n="Other Features"),"marketComparison"===n&&(this.wh_market_comparison=MI(e||"0.0")),"marketComparison"!==n&&"editorsRating"!==n&&this.wh_rating_needs.push({label:n,rating:MI(e||"0.0")}))})),this.wh_editor_rating=null!==(e=this.card.EDITORS_RATING)&&void 0!==e?e:null,this.wh_user_reviews||this.wh_editor_rating&&!((null===(t=this.card)||void 0===t?void 0:t.REVIEWS)<10)||(this.show_full_rating=!0),(!this.wh_user_reviews||(null===(n=this.card)||void 0===n?void 0:n.REVIEWS)<10)&&(this.wh_user_reviews=null),this.wh_rating_needs=this.swapArrayPositions(this.wh_rating_needs,"approval","User Reviews"),this.compArray=this.wh_rating_needs.filter((e=>"User Reviews"!==e.label)))}let r=this.card.WH_AFFILIATE_LINK&&"Y"===this.card.WH_AFFILIATE_LINK,s=this.card.PREQUAL&&"Y"===this.card.PREQUAL;const o=null!==(i=this.card.ISSUER)&&void 0!==i?i:"";switch(this.show_asterisk=/Capital One/i.test(o)&&!r,this.pdtType){case"prsn":this.applyNowTxt=r?s?"View My Rate":"Next":"Learn More";break;case"inst":this.applyNowTxt="Learn More";break;case"chkg":case"ppd":case"svg":this.applyNowTxt="Apply Now";break;default:if(this.applyNowTxt="Apply Now",this.card.DETAILS_HTML_PAGE){let e=this.card.DETAILS_HTML_PAGE;e.indexOf("/d/")<0&&(e="/d/"+this.card.DETAILS_HTML_PAGE),this.detailsPageUrl=this.baseUrl+e,this.referrerUrl=this.baseUrl+e}}this.SetUpShowMoreButton(),this.isNonNA&&this._setupCCFields(),this.detailsPageUrl&&(this.reviewsPageUrl=this.detailsPageUrl+"#reviews"),this._srv&&this._subs.push(this._srv.compareEmitter.subscribe((e=>{if("reset"==e.type)this.comparing=!1,this._cd.detectChanges();else if("toggle"==e.type)QI(e.event.item.pid,[this.card.PID+"c",this.card.PID,this.card.redirPid,this.card.PID_FULL])&&(this.comparing=e.event.compare),this._cd.detectChanges();else if("initiated"==e.type||"reloaded"==e.type){const e=this._srv.getSavedProducts(),t=null==e?void 0:e.find((e=>QI(e,[this.card.PID+"c",this.card.PID,this.card.redirPid,this.card.PID_FULL])));this.comparing=!!t,this._cd.detectChanges()}}))),this.rewardsList=this.getRewardsList(this.card),this.detailsList=this.getCardDetails(this.card)}ngOnDestroy(){this._subs.forEach((e=>e.unsubscribe()))}swapArrayPositions(e,t,n){const i=e.findIndex((e=>e.label===t)),r=e.findIndex((e=>e.label===n));if(-1!==i&&-1!==r){const t=e[i];e[i]=e[r],e[r]=t}return e}ShowWHRatingPopup(e){this.show_wh_rating_popup=!0}HideWHRatingPopup(e){this.show_wh_rating_popup=!1}trackByFn(e){return e}_setupCCFields(){let e=this.hasRewardBonus(this.card);this.linkedRewards=this.isLinkedRewardsRate(this.card),this.isSecuredCard(this.card)?(this._ccFields.secured.forEach(((e,t)=>{this._setCCFieldData(e)})),e?this._ccFields.secured_rewards.forEach(((e,t)=>{this._setCCFieldData(e)})):this._ccFields.secured_no_rewards.forEach(((e,t)=>{this._setCCFieldData(e)}))):this.isBadCard(this.card)&&!this.isSecuredCard(this.card)?(this._ccFields.unsecured.forEach(((e,t)=>{this._setCCFieldData(e)})),e?this._ccFields.unsecured_rewards.forEach(((e,t)=>{this._setCCFieldData(e)})):this._ccFields.unsecured_no_rewards.forEach(((e,t)=>{this._setCCFieldData(e)}))):(this._ccFields.normal.forEach(((e,t)=>{this._setCCFieldData(e)})),e&&this._ccFields.normal_rewards.forEach(((e,t)=>{this._setCCFieldData(e)}))),this._setCCFieldData({label:"Min Credit Needed",field:"MIN_CREDIT_REQUIRED_LAST"}),this.ccFields.length>2&&(this.ccFieldsClass="size-"+this.ccFields.length)}_setCCFieldData(e){let t=this.card[e.field];if("PURCHASE_INTRO_APR"==e.field&&(t=this.getPurchaseIntroAPR(this.card)),"BT_INTRO_APR"==e.field&&(t=this.getTransferIntroAPR(this.card)),"N/A"!=this.getEmptyValue(t,!0)){let n="MIN_SECURITY_DEPOSIT"==e.field?`Min Deposit of ${this.getEmptyValue(this.card.MIN_SECURITY_DEPOSIT,!0)}`:t;this.ccFields.push({label:e.label,value:n})}}getRedirUrl(){let e=this.card.WH_AFFILIATE_LINK&&"Y"===this.card.WH_AFFILIATE_LINK,t=this.card.PREQUAL&&"Y"===this.card.PREQUAL;return["Savings","Money Market","CD","Checking","Checking Accounts"].includes(this.card.PDT_TYPE)?this.card.redirPid?0===this.card.redirPid.indexOf("/")?this.baseUrl+this.card.redirPid:this.baseUrl+`/r/?id=${this.card.redirPid}`:this.baseUrl+this.card.DETAILS_HTML_PAGE:"prsn"===this.pdtType?e&&t?this.baseUrl+this.card.PREQUAL_LINK:this.baseUrl+`/r/?id=${this.card.redirPid}`:"svg"===this.pdtType?this.card.redirPid?0===this.card.redirPid.indexOf("/")?this.baseUrl+this.card.redirPid:this.baseUrl+`/r/?id=${this.card.redirPid}`:this.baseUrl+this.card.DETAILS_HTML_PAGE:this.pdtType&&this.card.redirPid?this.generic_institution?this.baseUrl+`/r/?id=${this.card.PID}i`:0===this.card.redirPid.indexOf("/")?this.baseUrl+this.card.redirPid:this.baseUrl+`/r/?id=${this.card.redirPid}`:this.card.PID?this.baseUrl+`/r/?id=${this.card.PID}c`:this.baseUrl}isApplyButtonVisible(e){let t=e.WH_AFFILIATE_LINK&&"Y"===e.WH_AFFILIATE_LINK,n=e.ISSUER&&e.ISSUER.toUpperCase();if(e.CRITICAL=(this._ace?e.CRITICAL_LOGGED_IN:e.CRITICAL_LOGGED_OUT)||e.CRITICAL,["Savings","Money Market","CD","Checking","Checking Accounts"].includes(e.PDT_TYPE))return!e.UID||"13002009"!=e.UID||!!t;if(~["inst","prsn"].indexOf(e.$product))return!0;if(~["ppd","chkg","svg"].indexOf(e.$product))return!!t;if(n){if(n.indexOf("FIRST PREMIER")>0)return!1;if(!t&&"CHASE"===n)return!1}return"AFFILIATE_INFLUENCE_SCOPE"in e&&("O"==e.AFFILIATE_INFLUENCE_SCOPE&&this._ace?t=!1:"I"!=e.AFFILIATE_INFLUENCE_SCOPE||this._ace||(t=!1)),t&&"N"===e.DISCONTINUED&&"N"!==e.CRITICAL}isSecuredCard(e){return"SECURED"==e.PICK_TYPE.toUpperCase()||"SECURED CARD"==e.PICK_TYPE.toUpperCase()||!(e.PICK_TYPE||!e.CARD_TYPE||"SECURED CARD"!=e.CARD_TYPE.toUpperCase())}scrolledDone(e){this.scrolled=!1}checkExpandButton(e){this._has_expand_button=e,this.SetUpShowMoreButton()}toggleShowMore(e){e.stopPropagation(),this.show_more=!this.show_more,this._cd.detectChanges()}isBadCard(e){return"SECURED"==e.PICK_TYPE.toUpperCase()||"SECURED CARD"==e.PICK_TYPE.toUpperCase()||"UNSECURED"==e.PICK_TYPE.toUpperCase()||"UNSECURED CARD"==e.PICK_TYPE.toUpperCase()||!e.PICK_TYPE&&(this.isSecuredCard(e)||/bad/i.test(e.MIN_CREDIT_REQUIRED_LAST))}hasPurchaseIntro(e){if(e.OFFERS_PURCHASE_INTRO_APR&&"Y"==e.OFFERS_PURCHASE_INTRO_APR.toUpperCase()){if(e.PURCHASE_INTRO_APR_COMBO)return!0;if(e.PURCHASE_INTRO_APR&&"N/A"!=e.PURCHASE_INTRO_APR.toUpperCase())return!0}return!1}hasBtTransfer(e){if(e.OFFERS_BT_INTRO_APR&&"Y"==e.OFFERS_BT_INTRO_APR.toUpperCase()){if(e.BT_INTRO_APR_COMBO)return!0;if(e.BT_INTRO_APR&&"N/A"!=e.BT_INTRO_APR.toUpperCase())return!0}return!1}isChaseOrBankOfAmerica(e){return!(!e||!e.ISSUER)&&("CHASE"==e.ISSUER.toUpperCase()||"BANK OF AMERICA"==e.ISSUER.toUpperCase())}isLinkedRewardsRate(e){return!!e&&(e.REWARDS_EARN_RATE_HYPERLINKED&&("Y"==e.REWARDS_EARN_RATE_HYPERLINKED||!0===e.REWARDS_EARN_RATE_HYPERLINKED)&&"N/A"!=this.getEmptyValue(e.REWARDS_EARN_RATE,!0)&&"None"!=this.getEmptyValue(e.REWARDS_EARN_RATE,!0))}getTransferIntroAPR(e,t=!0){if(this.hasBtTransfer(e)){let n;return n=e.BT_INTRO_APR,"N/A"==this.getEmptyValue(e.BT_INTRO_APR,!0)&&(n="N/A"),t&&"N/A"!=n&&(n+="<br/>",n+='<span class="desk-grey">Transfer Fee: '+e.BT_FEE+"</span>"),n}return"N/A"}getPurchaseIntroAPR(e){let t="N/A";return this.hasPurchaseIntro(e)&&(t=e.PURCHASE_INTRO_APR_COMBO?e.PURCHASE_INTRO_APR_COMBO:e.PURCHASE_INTRO_APR),t}getEmptyValue(e,t=!1){return""!=e&&e?e:t?"N/A":"None"}isAmexWithMonitoringUrl(e){return!("AMERICAN EXPRESS"!=(e.ISSUER&&e.ISSUER.toUpperCase())||"Y"!=e.WH_AFFILIATE_LINK||!this.isApplyButtonVisible(e)||!e.MONITORING_URL)}isCardWithMonitoringUrl(e){let t=(e.ISSUER&&e.ISSUER.toUpperCase())+"";return!(0!==t.indexOf("DISCOVER")&&"HSBC"!=t&&"BARCLAYS"!=t&&"WELLS FARGO"!=t&&"U.S. BANK"!=t&&"MARCUS BY GOLDMAN SACHS"!=t||"Y"!=e.WH_AFFILIATE_LINK||!this.isApplyButtonVisible(e)||!e.MONITORING_URL)}hasRates(e){return~[1667,2156,3292].indexOf(parseInt(e.PID))||this.isAmexWithMonitoringUrl(e)||this.isCardWithMonitoringUrl(e)||e.SHOW_RATES_FEES&&"Y"==e.SHOW_RATES_FEES}hasTerms(e){return this.isAmexWithMonitoringUrl(e)||e.SHOW_TERMS_APPLY&&"Y"==e.SHOW_TERMS_APPLY}hasRewardBonus(e){return e.REWARDS&&"N"!=e.REWARDS&&e.REWARDS_EARN_RATE&&"None"!=e.REWARDS_EARN_RATE}getRewardsList(e){let t=[];return e.REWARD_DETAILS&&(t=e.REWARD_DETAILS.split("__")),t}getProsList(e){let t=[];return e.EDITORS_PROS&&(t=e.EDITORS_PROS.split("|")),t}getConsList(e){let t=[];return e.EDITORS_CONS&&(t=e.EDITORS_CONS.split("|")),t}getCardDetails(e){let t=[];return e.DESCRIPTION&&(t=e.DESCRIPTION.split("__")),t}MinCredtTip(e=1){let t;t=2==e?this.mincredsecond:3==e?this.mincredthird:4==e?this.mincredboxmob:this.mincred,t.Open(this._mincreditpop),this._cd.detectChanges()}BonusOfferTip(e=!1){e?this.bonusoffertipmob.Open(this._bonusoffertpop,{tip_content:this.card.REWARDS_INITIAL_BONUS_TOOLTIP}):this.bonusoffertip.Open(this._bonusoffertpop,{tip_content:this.card.REWARDS_INITIAL_BONUS_TOOLTIP}),this._cd.detectChanges()}RewardsRateTip(e=!1){e?this.rewardsratetipmob.Open(this._rewardsratepop,{tip_content:this.getRewardsRateTooltip()}):this.rewardsratetip.Open(this._rewardsratepop,{tip_content:this.getRewardsRateTooltip()}),this._cd.detectChanges()}getCardSchemaUrl(e){return this.baseUrl+"/"+this.schemaUrl+"#card-"+this.schemaIndex}compareToggled(e){if(this.comparing=e,this._srv){let t=this.card.PID+"c";this.card.PID_FULL?t=this.card.PID_FULL:this.card.redirPid&&(t=this.card.redirPid);let n="",i="";switch(this.card.PDT_TYPE){case"Checking":n="Checking Accounts";break;case"Savings":case"Money Market":case"CD":n="Savings Accounts";break;case"Personal Loan":n="Personal Loans";break;case"Prepaid Card":n="Prepaid Debit Cards";break;case"Auto Loans":case"Auto Loan":case"Car Loans":"New Car"===this.card.LOAN_PURPOSE?(n="Car Loans",i="p"):"Used Car"===this.card.LOAN_PURPOSE?(n="Car Loans",i="u"):"Refinance"===this.card.LOAN_PURPOSE?(n="Car Loans",i="r"):n="Car Loans";break;case"Mortgage":"P"===this.card.SUB_TYPE?(n="Mortgage Rates",i="p"):"R"===this.card.SUB_TYPE?(n="Mortgage Rates",i="r"):n="Mortgage Rates";break;default:n="Card"}this._srv.toggleCompare({compare:e,item:{name:this.card.NAME,pid:t,img:this.card.IMAGE_NAME,img_alt:this.card.NAME,ptype:n,psubtype:i}})}this._cd.detectChanges()}getFeatureCallOut(e){var t,n;return!!(null==e?void 0:e.SPECIAL_FEATURE_TYPE)&&("Custom"===e.SPECIAL_FEATURE_TYPE&&(null==e?void 0:e.SPECIAL_FEATURE_HEADLINE)?(this.callout_content={headline:e.SPECIAL_FEATURE_HEADLINE,feature:null!==(t=e.SPECIAL_FEATURE)&&void 0!==t?t:"",image:null},!0):!("Use Card Promotional Data"!==e.SPECIAL_FEATURE_TYPE||!(null==e?void 0:e.PROMOTIONAL_HEADLINE))&&(this.callout_content={headline:e.PROMOTIONAL_HEADLINE,feature:null!==(n=e.MAIN_MARKETING_BULLET)&&void 0!==n?n:""},!0))}ScrollToAffDis(){if(RI())return;const e=document.querySelector("#cards-disclosure");e&&this._scrollservice.scrollTo({timing:300,target:e,offset:30})}get buttonText(){return this.show_more?this.pdtType?"Show Less":"Hide Card Details":this.pdtType?"Show More":this.card.EDITORS_NOTES&&""!=this.card.EDITORS_NOTES&&this.card.COLLAPSE_COMMENT?"Editor's Thoughts & More":"Pros, Cons & Details"}get buttonIconClass(){return this.show_more?"af-icon-up-open":"af-icon-down-open"}}mM.ɵfac=function(e){return new(e||mM)(Yc(Ly),Yc(TR,8),Yc(lC,8))},mM.ɵcmp=vn({type:mM,selectors:[["section","best-card",""]],viewQuery:function(e,t){if(1&e&&(Xm(SO,5),Xm(AO,5),Xm(xO,5),Xm(DO,5),Xm(RO,5),Xm(kO,5),Xm(OO,5),Xm(NO,5),Xm(FO,5)),2&e){let e;ev(e=tv())&&(t._edrvdialog=e.first),ev(e=tv())&&(t.mincred=e.first),ev(e=tv())&&(t.mincredsecond=e.first),ev(e=tv())&&(t.mincredthird=e.first),ev(e=tv())&&(t.mincredboxmob=e.first),ev(e=tv())&&(t.bonusoffertip=e.first),ev(e=tv())&&(t.bonusoffertipmob=e.first),ev(e=tv())&&(t.rewardsratetip=e.first),ev(e=tv())&&(t.rewardsratetipmob=e.first)}},inputs:{card:"card",cdnUrl:"cdnUrl",version:"version",offsetTop:"offsetTop",showSchema:[e.InputFlags.None,"show-schema","showSchema"],showRatingSchema:[e.InputFlags.None,"show-rating-schema","showRatingSchema"],showReviewsLink:[e.InputFlags.None,"show-reviews-url","showReviewsLink"],schemaIndex:[e.InputFlags.None,"schema-index","schemaIndex"],schemaUrl:[e.InputFlags.None,"schema-url","schemaUrl"],showHeading:[e.InputFlags.None,"show-heading","showHeading"],adviewSection:[e.InputFlags.None,"adview-section","adviewSection"],adviewTotals:[e.InputFlags.None,"adview-totals","adviewTotals"],adviewPosition:[e.InputFlags.None,"adview-position","adviewPosition"],adviewRecheck:[e.InputFlags.None,"adview-recheck","adviewRecheck"],isBestPage:[e.InputFlags.None,"best-page","isBestPage"],isNonNA:[e.InputFlags.None,"non-na","isNonNA"],show_compare_checkbox:[e.InputFlags.None,"show-compare-checkbox","show_compare_checkbox"],generic_institution:[e.InputFlags.None,"generic-institution","generic_institution"],pageVersion:[e.InputFlags.None,"page-version","pageVersion"]},attrs:["best-card",""],decls:5,vars:5,consts:[["class","old-version text-select","ad-pixel","",3,"scroll-to","zenspeed","ad-id","trigger-ratio","referrer-url","click-url","ad-pixel-recheck","adview-section","adview-totals","adview-position","ng-attribute","ng-attribute-when","scrolled","adViewed",4,"ngIf"],["class","flat-box text-select","ad-pixel","",3,"scroll-to","zenspeed","ad-id","trigger-ratio","referrer-url","click-url","ad-pixel-recheck","adview-section","adview-totals","adview-position","ng-attribute","ng-attribute-when","scrolled","adViewed",4,"ngIf"],["class","generic-institution flat-box text-select","ad-pixel","",3,"scroll-to","zenspeed","ad-id","trigger-ratio","referrer-url","click-url","ad-pixel-recheck","adview-section","adview-totals","adview-position","ng-attribute","ng-attribute-when","scrolled","adViewed",4,"ngIf"],["rel","noreferrer","target","_blank","class","flat-box call-to-action",3,"href","scroll-to","zenspeed","scrolled",4,"ngIf"],["class","flat-box note-comments text-select",3,"scroll-to","zenspeed","scrolled",4,"ngIf"],["ad-pixel","",1,"old-version","text-select",3,"scroll-to","zenspeed","ad-id","trigger-ratio","referrer-url","click-url","ad-pixel-recheck","adview-section","adview-totals","adview-position","ng-attribute","ng-attribute-when","scrolled","adViewed"],[3,"ng-attribute-when","ng-attribute"],["class","img-mob full",4,"ngIf"],["class","img-mob",4,"ngIf"],[1,"stars"],[3,"svg-star-dim","rating","reviews","show-hover","aggregate-rating","reviews-link","link-reviews-active"],[4,"ngIf"],[1,"mob-title"],["class","secure-card",4,"ngIf"],["class","college-card",4,"ngIf"],[1,"offers"],[4,"ngIf","ngIfElse"],["hasRewards",""],["class","on-desk",4,"ngIf"],["class","notes notes-desk-btn","data-closed","Read Editors Notes","data-opened","Hide Editors Notes","zing-touch","",3,"ngClass","zing-no-touch","onTap",4,"ngIf"],["class","more",3,"ngClass",4,"ngIf"],[1,"btm-link"],[1,"more",3,"ngClass"],["class","label",4,"ngIf"],["popup-in-view","",3,"classes"],["mincredbox",""],[1,"long-bar"],[3,"ngClass","innerHTML"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML",4,"ngFor","ngForOf","ngForTrackBy"],["class","detailslink",4,"ngIf"],["data-closed","Editors Notes & Details","data-opened","Hide Details","zing-touch","",1,"notes","btn","grey","blank","no-decoration",3,"zing-no-touch","ngClass","onTap"],["href","'/r/?id='+card.ID+'c&rf=1'","target","_blank","rel","nofollow","class","rates",3,"ngClass",4,"ngIf"],["class","terms-apply",4,"ngIf"],[1,"img-mob","full"],[1,"img-mob",3,"ng-attribute-when","ng-attribute","src"],[1,"img-mob"],["zing-touch","",1,"af-icon-info","editor-rating-info",3,"zing-no-touch","onTap"],[1,"editor-rating-pop","ng-modal-tool-tip",3,"popup-relative"],["editorreview",""],["zing-touch","",1,"link","hover",3,"zing-url","href"],[3,"innerHtml"],[3,"title","innerHtml"],["zing-touch","","target","_blank","rel","nofollow",1,"btn","orange","no-decoration","af-icon-lock-filled","full",3,"zing-url"],["AdPixelViewClick",""],[1,"secure-card"],[1,"college-card"],[1,"on-desk"],[1,"on-mob"],[3,"innerHTML"],["class","on-mob",4,"ngIf"],["class","af-icon-info min-cred-rating-info","zing-touch","",3,"zing-no-touch","onTap",4,"ngIf"],["popup-in-view","",3,"classes",4,"ngIf"],["zing-touch","",1,"af-icon-info","min-cred-rating-info",3,"zing-no-touch","onTap"],["rewardsratetip",""],["class","terms","target","_blank","rel","nofollow",3,"href",4,"ngIf"],["target","_blank","rel","nofollow",1,"terms",3,"href"],["data-closed","Read Editors Notes","data-opened","Hide Editors Notes","zing-touch","",1,"notes","notes-desk-btn",3,"ngClass","zing-no-touch","onTap"],[1,"label"],["zing-touch","",1,"info-tip","af-icon-info",3,"zing-no-touch","onTap"],[1,"detailslink"],[1,"link",3,"href"],["zing-touch","","target","_blank","rel","nofollow",1,"btn","orange","no-decoration","af-icon-lock-filled",3,"zing-url"],["href","'/r/?id='+card.ID+'c&rf=1'","target","_blank","rel","nofollow",1,"rates",3,"ngClass"],[1,"terms-apply"],["ad-pixel","",1,"flat-box","text-select",3,"scroll-to","zenspeed","ad-id","trigger-ratio","referrer-url","click-url","ad-pixel-recheck","adview-section","adview-totals","adview-position","ng-attribute","ng-attribute-when","scrolled","adViewed"],[1,"top-part",3,"ngClass"],[1,"caption-part"],["class","top-label",3,"cleanHTML",4,"ngIf"],[1,"radio-container","mob-title"],[1,"card-header",3,"ngClass"],[1,"card-image-mob"],[3,"defer-src","ui-hydrate"],[3,"alt","ngClass"],["deferImg",""],[1,"card-main-info"],[1,"radio-container"],["class","card-title",4,"ngIf"],["class","card-title",3,"title","innerHtml",4,"ngIf"],[3,"svg-star-dim","rating","reviews","show-hover","aggregate-rating","reviews-link","show-reviews-count","review-label"],["class","details-wh-rating",4,"ngIf"],["class","btn-groups-mob",4,"ngIf"],["class","feature-callout-wrapper",4,"ngIf"],["class","card-info-box",4,"ngIf"],["class","card-info-box card-fld-cnt des",3,"ngClass",4,"ngIf"],["class","card-info-box card-fld-cnt mob",3,"ngClass",4,"ngIf"],[1,"bottom-part"],["class","more-card-details",3,"ngClass",4,"ngIf"],[1,"card-details",3,"ngClass"],["class","card-detail card-pros-cons hide-pros-cons",3,"ngClass",4,"ngIf"],[1,"card-detail",3,"ngClass"],["aria-describedby","",1,"prod-rates-table"],["role","none","aria-label","Balance","tabindex","0"],["role","none","aria-label","APY","tabindex","0"],[4,"ngFor","ngForOf"],["class","see-details",4,"ngIf"],[1,"card-detail","disclaimer",3,"ngClass"],["class","btn-details-mob",3,"ngClass",4,"ngIf"],[1,"top-label",3,"cleanHTML"],[1,"card-title"],["zing-touch","","target","_blank",1,"link",3,"zing-url","href","title","innerHtml"],["class","no-aff-asterisk","zing-touch","","data-jump-to","cards-disclosure","role","button",4,"ngIf"],["zing-touch","","data-jump-to","cards-disclosure","role","button",1,"no-aff-asterisk"],[1,"card-title",3,"title","innerHtml"],[1,"details-wh-rating"],[1,"details-wh-rating-txt"],[1,"details-wh-rating-num",3,"ng-context"],[1,"details-wh-rating-label"],["class","af-icon-info details-wh-rating-btn-info","zing-touch","","role","button","tabindex","0","aria-label","Credit Score Table","aria-haspopup","dialog","data-sel-id","score-info-wh-rating-popup-button",3,"zing-no-touch","onTap","onTapOutside",4,"ngIf"],["class","details-wh-rating-dist","zing-touch","",3,"zing-no-touch","ngClass","onTap","onTapOutside",4,"ngIf"],["zing-touch","","role","button","tabindex","0","aria-label","Credit Score Table","aria-haspopup","dialog","data-sel-id","score-info-wh-rating-popup-button",1,"af-icon-info","details-wh-rating-btn-info",3,"zing-no-touch","onTap","onTapOutside"],["zing-touch","",1,"details-wh-rating-dist",3,"zing-no-touch","ngClass","onTap","onTapOutside"],[1,"details-wh-rating-chart"],[1,""],[1,"details-wh-rating-val",3,"ng-context"],[1,"details-wh-rating-desc"],["class","details-wh-rating-item show-full",4,"ngIf"],["class","wh-comp-grid",4,"ngIf"],[1,"details-wh-rating-item","show-full"],[1,"details-wh-rating-item-label"],[1,"details-wh-rating-line"],[1,"details-wh-rating-line-inner",3,"ngStyle"],[1,"wh-comp-grid"],["class","wh-comp-item",4,"ngFor","ngForOf","ngForTrackBy"],[1,"wh-comp-item"],[1,"btn-groups-mob"],[1,"btn-mob"],["zing-touch","","class","btn orange no-decoration","target","_blank","rel","nofollow",3,"zing-url","onTap",4,"ngIf"],["zing-touch","","class","btn orange no-decoration","target","_blank","rel","nofollow",3,"zing-url","href",4,"ngIf"],["class","rates-container",4,"ngIf"],["zing-touch","","target","_blank","rel","nofollow",1,"btn","orange","no-decoration",3,"zing-url","onTap"],["zing-touch","","target","_blank","rel","nofollow",1,"btn","orange","no-decoration",3,"zing-url","href"],[1,"rates-container"],["zing-touch","","target","_blank","rel","nofollow",1,"link","rates",3,"zing-url","href"],["zing-touch","","target","_blank",1,"btn","blue-brds","no-decoration",3,"zing-url","href"],[1,"feature-callout-wrapper"],[1,"callout-icon-wrapper"],[1,"callout-icon"],["class","callout-content",4,"ngIf"],[1,"callout-content"],[1,"callout-header",3,"cleanHTML"],[1,"callout-feature",3,"cleanHTML"],[1,"card-info-box"],[1,"card-info-table"],["securedNonRewards",""],["unsecuredNonRewards",""],["class","card-fields mob",4,"ngIf"],[1,"bold","label"],[1,"bold","value"],[1,"bold","value",3,"innerHTML"],[1,"bold","value","middle-row",3,"innerHTML"],[1,"value","middle-row"],["class","value",4,"ngIf"],["class","value appr-odds min-cred",3,"ngClass",4,"ngIf"],[1,"bold","label","middle-row"],["hidden","true"],[1,"value"],[1,"value","appr-odds","min-cred",3,"ngClass"],[1,"influ"],[1,"bold","value",3,"innerHTML","ngClass"],[1,"bold","value",3,"ngClass"],["zing-touch","",1,"link",3,"zing-no-touch","onTap"],["bonusoffertip",""],[1,"card-fields","top-bdr","mob"],[1,"card-field-label","jusaus"],[1,"card-field-value"],[1,"card-fields","mob"],["rewardsratetipmob",""],["zing-touch","",1,"link","noselect",3,"zing-no-touch","onTap"],["badSecuredNonRewards",""],[1,"card-field-value",3,"innerHTML"],["bonusoffertipmob",""],["mincredboxmob",""],[1,"card-info-box","card-fld-cnt","des",3,"ngClass"],["class","card-fields des",4,"ngIf"],[1,"card-fields","des"],["class","info-tip af-icon-info","zing-touch","",3,"zing-no-touch","onTap",4,"ngIf"],["class","card-field-value",3,"innerHTML",4,"ngIf"],["class","card-field-value",4,"ngIf"],["class","card-fields nospace",4,"ngIf"],["zing-touch","",1,"link",3,"zing-no-touch","innerHTML","onTap"],[1,"card-fields","nospace"],[1,"card-field-label","middle-row"],[1,"card-field-value","middle-row",3,"innerHTML"],[1,"card-field-value","middle-row","dummy-class",3,"innerHTML"],[1,"card-info-box","card-fld-cnt","mob",3,"ngClass"],["class","card-field-label jusaus",4,"ngIf"],[3,"classes",4,"ngIf"],[3,"classes"],["class","bold label",4,"ngIf"],["class","bold value",4,"ngIf"],["class","card-tags",4,"ngIf"],[1,"card-tags"],["class","card-tag",4,"ngFor","ngForOf"],[1,"card-tag"],[1,"card-info-table","col-4"],[1,"bold","label","label-min-crd"],["mincredboxsecond",""],["class","small",4,"ngIf"],[1,"small"],["class","editor-notes",3,"ngClass",4,"ngIf"],[1,"editor-notes",3,"ngClass"],["zing-touch","",3,"ng-truncate","zing-url-container","breakwords","expand-content","expand-button","collapse-button","hasExpandButton"],[3,"cleanHTML",4,"ngIf"],[3,"cleanHTML"],[1,"more-card-details",3,"ngClass"],["noDetails",""],["class","compare-checkbox",4,"ngIf"],["class","show-details","zing-touch","",3,"zing-no-touch","onTap",4,"ngIf"],["zing-touch","",1,"show-details",3,"zing-no-touch","onTap"],[1,"af-icon-down-open"],[1,"no-details"],[1,"compare-checkbox"],["label","Compare",3,"checked","checkedChange"],[1,"card-detail","card-pros-cons","hide-pros-cons",3,"ngClass"],["class","card-pros",4,"ngIf"],["class","card-cons",4,"ngIf"],[1,"card-pros"],["tabindex","0","role","heading","aria-level","3","aria-label","Pros",1,"label"],["tabindex","-1",1,"bf-icon-upvote"],["aria-label","Editors Pros"],["tabindex","0",3,"cleanHTML",4,"ngFor","ngForOf"],["tabindex","0",3,"cleanHTML"],[1,"card-cons"],["ng-focus-when","card.details","tabindex","0","role","heading","aria-level","3","aria-label","Pros",1,"label"],["tabindex","-1",1,"bf-icon-downvote"],["aria-label","Editors Cons"],["role","text"],[1,"see-details"],["zing-touch","","target","_blank",1,"link",3,"zing-url","href"],[1,"af-icon-up-open"],[1,"btn-details-mob",3,"ngClass"],["class","btn-mob","zing-touch","",3,"onTap",4,"ngIf","ngIfElse"],["zing-touch","",1,"btn-mob",3,"onTap"],[1,"show-details"],["ad-pixel","",1,"generic-institution","flat-box","text-select",3,"scroll-to","zenspeed","ad-id","trigger-ratio","referrer-url","click-url","ad-pixel-recheck","adview-section","adview-totals","adview-position","ng-attribute","ng-attribute-when","scrolled","adViewed"],[1,"main-part"],[1,"mp-profile"],[1,"mpp-avatar"],[1,"mpp-name"],["zing-touch","","target","_blank",1,"link",3,"zing-url","href","cleanHTML"],[1,"mpp-reviews"],[1,"mp-feature",3,"cleanHTML"],[1,"mp-details"],[1,"mp-btn-groups"],[1,"mpbg-btn-mob"],["zing-touch","","target","_blank",1,"btn","orange","no-decoration","full",3,"zing-url","href"],["class","center mpbg-btn-more-container",4,"ngIf"],["class","details-part more",3,"ngClass",4,"ngIf"],[1,"center","mpbg-btn-more-container"],["zing-touch","",1,"notes","notes-desk-btn","mpbg-btn-more",3,"zing-no-touch","onTap"],["zing-touch","",1,"notes","notes-mob-btn","mpbg-btn-more","btn","grey-dark","full",3,"zing-no-touch","onTap"],["tabindex","-1",1,"af-icon-down-open"],["tabindex","-1",1,"af-icon-up-open"],[1,"details-part","more",3,"ngClass"],["rel","noreferrer","target","_blank",1,"flat-box","call-to-action",3,"href","scroll-to","zenspeed","scrolled"],[1,"card-header"],[1,"img",3,"src","alt"],[1,"category"],[1,"comments",3,"innerHTML"],[1,"arrow-container"],[1,"right-arrow","bf-icon-left-arrow"],[1,"flat-box","note-comments","text-select",3,"scroll-to","zenspeed","scrolled"]],template:function(e,t){1&e&&cp(0,NN,52,90,"div",0)(1,rM,65,111,"div",1)(2,pM,26,70,"div",2)(3,fM,9,7,"a",3)(4,gM,2,3,"div",4),2&e&&(hg("ngIf",t.card.ID&&1==t.version),$c(),hg("ngIf",t.card.ID&&2==t.version&&!t.generic_institution),$c(),hg("ngIf",t.card.ID&&2==t.version&&t.generic_institution),$c(),hg("ngIf",3==t.version),$c(),hg("ngIf",4==t.version))},dependencies:[gT,bT,wT,RT,iC,GA,uC,KA,JA,JR,wR,rk,DR,Nk,tO],encapsulation:2,changeDetection:0});class vM{constructor(e){this._dservice=e}GoToMetho(){const e=document.querySelector("[data-metho]");e&&this._dservice.scrollTo({timing:300,target:e})}}vM.ɵfac=function(e){return new(e||vM)(Yc(lC))},vM.ɵcmp=vn({type:vM,selectors:[["editor-review"]],decls:8,vars:2,consts:[[2,"max-width","300px"],["zing-touch","","target","_blank",1,"link","semi-bold-font",3,"zing-url"],["zing-touch","",1,"link","semi-bold-font",3,"onTap"]],template:function(e,t){1&e&&(r_(0,"div",0),Iv(1," This is an editor's rating, for further details you can "),r_(2,"a",1),Iv(3,"see the full review"),s_(),Iv(4,". To see the methodology used for selecting this loan, "),r_(5,"span",2),Nm("onTap",(function(){return t.GoToMetho()})),Iv(6,"click here"),s_(),Iv(7,". "),s_()),2&e&&($c(2),hg("zing-url",!0),Df("href",null==t.data?null:t.data.reviewurl,zl))},dependencies:[iC],encapsulation:2});class bM{}bM.ɵfac=function(e){return new(e||bM)},bM.ɵmod=wn({type:bM}),bM.ɵinj=Vr({imports:[tI,ax,XR,GR,ER,sk,kR,Fk,XR,nO]});const yM=e=>({"glide__bullet--active":e});function wM(e,t){if(1&e&&(l_(0),o_(1,"button",6),c_()),2&e){const e=t.$implicit,n=Hm(2);$c(),hg("ngClass",eb(2,yM,n.is_node&&0==e)),Df("data-glide-dir","="+e)}}function EM(e,t){if(1&e&&(r_(0,"div",4),cp(1,wM,2,4,"ng-container",5),s_()),2&e){const e=Hm();$c(),hg("ngForOf",e.items_number)}}function TM(e,t){if(1&e&&(r_(0,"div",7),o_(1,"div",8)(2,"div",9),s_()),2&e){const e=Hm();$c(),hg("ng-hidden",!e.show_left_arrow&&"slider"==e.options.type),$c(),hg("ng-hidden",!e.show_right_arrow&&"slider"==e.options.type)}}const IM=(e,t,n)=>({glide__slides:e,"glide__slides-disabled":t,"glide__slides-node":n});l.import("css:/components/glide-slider.css").then((()=>{})).catch((()=>{}));const CM={type:"slider",gap:0,keyboard:!1,perTouch:0,rewind:!1,bound:!0};class SM{set enabled(e){this._enabled=e,this._glide&&(e&&this._glide.disabled?this._glide.enable():e||this._glide.disabled||this._glide.disable())}get enabled(){return this._enabled}set options(e){this._options=Object.assign({},CM,e),this._glide&&this._glide.update(this._options)}get options(){return this._options}constructor(e,t,n){this._el=e,this._render=t,this._dservice=n,this._enabled=!0,this.arrows=!1,this._max_arrow_viewport=0,this.dots=!1,this.afterGlide=new kt,this.onGlideInitial=new kt,this.is_node=RI(),this.total_items=4,this.items_number=[]}ngOnInit(){if(this.total_items)for(let e=0;e<this.total_items;e++)this.items_number.push(e)}GlideAutoHeight(e,t,n){const i={mount(){e.settings.autoHeight&&(t.Html.track.style.transition="height 200ms ease-in-out",this.updateTrackHeight())},updateTrackHeight(){if(!e.settings.autoHeight)return;const n=t.Html.slides.filter(((t,n)=>n>=e.index&&n<=e.index-1+e.settings.perView)).reduce(((e,t)=>Math.max(e,t.offsetHeight)),0),i=t.Html.track;i.style.height="auto",n===i.offsetHeight||e.disabled||(i.style.height=`${n}px`)}};return n.on("run",(()=>{i.updateTrackHeight()})),n.on("update",(()=>{i.updateTrackHeight()})),n.on("resize",(()=>{i.updateTrackHeight()})),i}ngAfterViewInit(){if(RI())return;this.is_node=!1;let e=new Promise((e=>{setTimeout((()=>{this._glide=new t(this._el.nativeElement,this._options||CM).mount({GlideAutoHeight:this.GlideAutoHeight}),e(this._glide)}))}));Promise.all([e]).then((e=>{this.onGlideInitial.emit(!0),XI((()=>{let e,t=this._glide.index<=0,n=!1,i=!this._arrow_viewport_show||this.total_items<=this._glide.settings.perView;this.show_left_arrow=!i&&!t,this.show_right_arrow=!i,this._glide.on("update",(e=>{this.onGlideInitial.emit(e)})),this._glide.on("run.start",(e=>{t=!0})),this._glide.on("run.end",(e=>{n=!0})),this._glide.on("run.after",(()=>{const e=this._glide.index;this.afterGlide.emit(e),i||(this.show_right_arrow=!n,this.show_left_arrow=!t),t=!1,n=!1})),this._glide.on("resize",(()=>{XI((()=>{i=!this._arrow_viewport_show||this.total_items<=this._glide.settings.perView,this._glide.index,i&&(this.show_left_arrow=!1,this.show_right_arrow=!1)}))})),t=!1,n=!1,this._dservice.onScroll.subscribe((()=>{this._enabled&&this._glide.disabled&&(this._glide.go("="+this._glide.index),this._glide.disable(),clearTimeout(e),e=setTimeout((()=>{this._glide.enable()}),250))}))}))})).catch((e=>{this._glide=null,this._render.setStyle(this._el.nativeElement,"display","none")}))}ngOnDestroy(){this._glide&&this._glide.destroy()}get _arrow_viewport_show(){return this.arrows&&this._max_arrow_viewport<window.innerWidth}}SM.ɵfac=function(e){return new(e||SM)(Yc(Ar),Yc(gd),Yc(lC))},SM.ɵcmp=vn({type:SM,selectors:[["ng-glide"]],inputs:{enabled:"enabled",options:[e.InputFlags.None,"glide-options","options"],arrows:"arrows",_max_arrow_viewport:[e.InputFlags.None,"arrow-max-viewport","_max_arrow_viewport"],dots:"dots",total_items:[e.InputFlags.None,"items-total","total_items"]},outputs:{afterGlide:"afterGlide",onGlideInitial:"onGlideInitial"},ngContentSelectors:["*"],decls:5,vars:7,consts:[["data-glide-el","track",1,"glide__track"],[3,"ngClass"],["class","glide__bullets","data-glide-el","controls[nav]",4,"ngIf"],["data-glide-el","controls","class","glide__arrows",4,"ngIf"],["data-glide-el","controls[nav]",1,"glide__bullets"],[4,"ngFor","ngForOf"],[1,"glide__bullet","btn","white",3,"ngClass"],["data-glide-el","controls",1,"glide__arrows"],["aria-hidden","true","data-glide-dir","<",1,"glide-arrow","gla-lt","bf-icon-left-open-big",3,"ng-hidden"],["aria-hidden","true","data-glide-dir",">",1,"glide-arrow","gla-rt","bf-icon-right-open-big",3,"ng-hidden"]],template:function(e,t){1&e&&(zm(),r_(0,"div",0)(1,"div",1),qm(2),s_(),cp(3,EM,2,1,"div",2),s_(),cp(4,TM,3,2,"div",3)),2&e&&($c(),hg("ngClass",nb(3,IM,t.enabled,!t.enabled,t.is_node)),$c(2),hg("ngIf",t.items_number&&t.items_number.length&&t.dots),$c(),hg("ngIf",t.arrows))},dependencies:[gT,bT,wT,$A],encapsulation:2});class AM{}AM.ɵfac=function(e){return new(e||AM)},AM.ɵmod=wn({type:AM}),AM.ɵinj=Vr({imports:[tI,ax]});class xM{constructor(){this.queryParams=new oe({}),this.fragment=new oe("");let e=kM.subscribe((e=>{e&&this.queryParams.next(e.params||{})}));this.queryParams.subscribe({complete:()=>{e.unsubscribe()}});let t=e=>{this.fragment.next(location.hash)};window.addEventListener("hashchange",t),this.fragment.subscribe({complete:()=>{window.removeEventListener("hashchange",t)}})}}class DM{constructor(){}navigate(e,t={skipLocationChange:!1}){return new Promise(((n,i)=>{const r={updateBrowserURL:!0};try{let i=OM.lastResolved(),s="";i&&i[0]&&i[0].url&&(s=i[0].url),s=e&&e.length?e.join("/"):s,t.queryParams&&(s+="?"+jI(t.queryParams)),t.fragment&&(s+="#"+t.fragment),OM.navigate(s,r),setTimeout((()=>{n(!0)}),200)}catch(e){i(e)}}))}}let RM=[];const kM=new oe(null);let OM;class NM{static forRoot(e){RM=RM.concat(e)}get navigo(){return OM}constructor(){if(!OM){let e=document.querySelector("head base").getAttribute("href")||"/";OM=new i(e);const t=e=>{zI(e?[e]:OM.lastResolved()||[],(e=>{kM.next({url:e.url,params:e.params,query:e.queryString})}))};let n=location.pathname.substring(location.pathname.indexOf(e)+e.length-1);RM.forEach((e=>{if(e.path){let i=e.path;i==n&&(n=null),"prefix"==e.pathMatch&&(i+="/*"),OM.on(i,(()=>{}),{after:t})}})),n&&OM.on(location.pathname.substring(location.pathname.indexOf(e)+e.length-1),(()=>{}),{after:t}),OM.resolve(),t()}}}NM.ɵfac=function(e){return new(e||NM)},NM.ɵmod=wn({type:NM}),NM.ɵinj=Vr({providers:[xM,DM],imports:[tI]});class FM{get refresh(){return this._refresh}set refresh(e){this._refresh=e,!RI()&&this._scroller&&setTimeout((()=>{this._scrollWatch()}))}get enabled(){return this._enable}set enabled(e){this._enable=e,e&&!RI()&&setTimeout((()=>{this._scrollWatch()}))}_getSupport(){if(!window.getComputedStyle)return!1;let e=document.createElement("div"),t=["","-webkit-","-moz-","-ms-"],n=null;for(let i=0,r=t.length;i<r;i++){let r=t[i]+"sticky";try{e.style.position=r}catch(e){}if(e.style.position&&e.style.position.indexOf("sticky")>-1){n=r;break}}return n}constructor(e,t,n){this._el=e,this._zone=t,this._dserv=n,this.offset=null,this.fixedcenter=!1,this.userscrolleroffset=!0,this._enable=!0,this.auto_start=!0,this._nativesupport="fixed",this.trynative=!1,this.sticky_parent=!1}_scrollWatch(){if(!this.enabled)return;let e=this._el.nativeElement,t=this._el.nativeElement.parentNode.getBoundingClientRect(),n={};if(0===e.offsetHeight&&0===e.offsetWidth)return;let i=t.top<this.offset?this.offset:t.top;i+e.offsetHeight>t.bottom&&(i=t.bottom-e.offsetHeight),n.top=i+"px",this.fixedcenter&&(n.left=t.left+"px",n.right=window.innerWidth-t.right+"px");let r="position:fixed;top:"+n.top+";left:"+n.left+";";n.right&&(r+="right:"+n.right),e.style.cssText!==r&&(e.style.cssText=r)}ngAfterViewInit(){if(this._scrollWatch=this._scrollWatch.bind(this),!RI()&&!window.JSTESTING){if(this.sticky_parent&&(this._el={nativeElement:this._el.nativeElement.parentNode}),this.trynative){let e=this._getSupport();if(e){return void(this._el.nativeElement.style.position=e)}}let e;this._scroller=this.scroller?document.querySelector(this.scroller):this._dserv.overwrite_to_body?window:this._dserv.element,this.scroller&&this.userscrolleroffset&&null===this.offset&&!this._dserv.overwrite_to_body&&(this.offset=this._scroller.getBoundingClientRect().top),null===this.offset&&(this.offset=0),e=!!eC()&&{passive:!0},e=!1,this._zone.runOutsideAngular((()=>{this._scroller.addEventListener("scroll",this._scrollWatch,e),window.addEventListener("resize",this._scrollWatch,e),this.auto_start&&XI((()=>{this._el.nativeElement.style.position=this._nativesupport,this._el.nativeElement.top="0px",this._scrollWatch()}))}))}}ngOnDestroy(){this._scroller&&"fixed"==this._nativesupport&&(this._scroller.removeEventListener("scroll",this._scrollWatch),window.removeEventListener("resize",this._scrollWatch))}}FM.ɵfac=function(e){return new(e||FM)(Yc(Ar),Yc(Td),Yc(lC))},FM.ɵdir=Tn({type:FM,selectors:[["","ng-sticky",""]],inputs:{scroller:[e.InputFlags.None,"sticky-scroller","scroller"],offset:[e.InputFlags.None,"stickyoffset","offset"],fixedcenter:[e.InputFlags.None,"stickyfull","fixedcenter"],userscrolleroffset:[e.InputFlags.None,"sticky-scroller-offset","userscrolleroffset"],refresh:[e.InputFlags.None,"sticky-refresh-toggle","refresh"],enabled:[e.InputFlags.None,"stickyenabled","enabled"],auto_start:[e.InputFlags.None,"sticky-auto-start","auto_start"],trynative:[e.InputFlags.None,"sticky-native","trynative"],sticky_parent:[e.InputFlags.None,"sticky-parent","sticky_parent"]}});class LM{set enabled(e){if(e!==this._enabled){let t=this._el.nativeElement;e?(this._native&&t&&this._renderer.setStyle(t,"position","sticky"),XI((()=>{this._ScrollWatch()}))):t&&this._renderer.setStyle(t,"position","")}this._enabled=e}get enabled(){return this._enabled}constructor(e,t,n,i){this._el=e,this._zone=t,this._dscroll=n,this._renderer=i,this.allow_native=!0,this.onPosition=new kt,this._curr_pos="static",this._enabled=!0,this.sticky_parent=!1,this.offset=0,this.force_offset=!1,this._subscriptions=[],this._observables=[],this._native=!1,this._ScrollWatch=this._ScrollWatch.bind(this)}_getSupport(){if(!window.getComputedStyle)return!1;let e=document.createElement("div"),t=["","-webkit-","-moz-","-ms-"],n=null;for(let i=0,r=t.length;i<r;i++){let r=t[i]+"sticky";try{e.style.position=r}catch(e){}if(e.style.position&&e.style.position.indexOf("sticky")>-1){n=r;break}}return n}_ScrollWatch(e){this.enabled&&this._zone.runOutsideAngular((()=>{const t=this._el.nativeElement;if(t)if(this._native){let e=0,n=t.style.top?MI(t.style.top):0,i=t.offsetTop;if(Mx.subscribe("header:position-change",(t=>{e=t}),(()=>{}),(()=>{}),[yt(1)]),this.force_offset||e!==n&&0!=i?this._renderer.setStyle(t,"top",e+this.offset+"px"):0==i&&(e=0,this._renderer.setStyle(t,"top",e+this.offset+"px")),this._stickyWayPoint){let e=this._stickyWayPoint.offsetTop,n=this._stickyWayPoint.offsetParent;if(i=t.offsetTop,this._dscroll.overwrite_to_body)for(;n&&n!=this._dscroll.element;)e+=n.offsetTop,n=n.offsetParent;0!==i?i>e?(this.onPosition.emit("sticky"),this._curr_pos="sticky"):(this.onPosition.emit("static"),this._curr_pos="static"):"sticky"==this._curr_pos&&this.onPosition.emit("static")}}else if(this._stickyContainer)if(e){let n=this._stickyContainer.offsetTop,i=this._stickyContainer.offsetParent;for(;i&&i!=this._dscroll.element;)n+=i.offsetTop,i=i.offsetParent;if(e>=n){let e=0;Mx.subscribe("header:position-change",(t=>{e=t}),(()=>{}),(()=>{}),[yt(1)]),this._renderer.setStyle(t,"top",e+"px"),this._renderer.setStyle(t,"position","fixed"),"static"==this._curr_pos&&(this.onPosition.emit("sticky"),this._curr_pos="sticky")}else this._renderer.setStyle(t,"top",""),this._renderer.setStyle(t,"position",""),"sticky"==this._curr_pos&&(this.onPosition.emit("static"),this._curr_pos="static")}else this._renderer.setStyle(t,"top",""),this._renderer.setStyle(t,"position",""),"sticky"==this._curr_pos&&(this.onPosition.emit("static"),this._curr_pos="static")}))}ngAfterViewInit(){if(!RI()&&!OI()){if(this.sticky_parent&&(this._el={nativeElement:this._el.nativeElement.parentNode}),this._native=!!this.allow_native&&this._getSupport(),this.enabled&&this._el.nativeElement&&this._renderer.setStyle(this._el.nativeElement,"position",this._native?"sticky":""),this._native){if(this._stickyWayPoint=document.createElement("div"),this._stickyWayPoint.classList.add("sticky-waypoint"),this._el.nativeElement){let e=this._el.nativeElement;e.parentNode.insertBefore(this._stickyWayPoint,e)}}else{this._stickyContainer=document.createElement("div"),this._stickyContainer.classList.add("sticky-container");let e=this._el.nativeElement.getBoundingClientRect();this._stickyContainer.style.height=e.height+"px";let t=this._el.nativeElement;t.parentNode.insertBefore(this._stickyContainer,t),this._stickyContainer.appendChild(this._el.nativeElement)}this._observables.push(gt(window,"resize")),this._observables.forEach((e=>{this._subscriptions.push(e.subscribe((()=>{if(this._stickyContainer){let e=this._el.nativeElement.getBoundingClientRect();this._stickyContainer.style.height=e.height+"px"}this._ScrollWatch()})))})),this._subscriptions.push(this._dscroll.onScroll.subscribe((e=>{this._ScrollWatch(e)}))),this._ScrollWatch()}}ngOnDestroy(){if(this._subscriptions.forEach((e=>{e.unsubscribe()})),this._observables=[],this._stickyContainer){this._stickyContainer.after(this._el.nativeElement);try{this._stickyContainer.parentNode.removeChild(this._stickyContainer)}catch(e){}this._stickyContainer=null}if(this._stickyWayPoint){try{this._stickyWayPoint.parentNode.removeChild(this._stickyWayPoint)}catch(e){}this._stickyWayPoint=null}}}LM.ɵfac=function(e){return new(e||LM)(Yc(Ar),Yc(Td),Yc(lC),Yc(gd))},LM.ɵdir=Tn({type:LM,selectors:[["","ng-position-sticky",""]],inputs:{allow_native:[e.InputFlags.None,"native","allow_native"],enabled:"enabled",sticky_parent:[e.InputFlags.None,"sticky-parent","sticky_parent"],offset:[e.InputFlags.None,"stickyoffset","offset"],force_offset:[e.InputFlags.None,"force-offset","force_offset"]},outputs:{onPosition:"onPosition"}});class PM{}PM.ɵfac=function(e){return new(e||PM)},PM.ɵmod=wn({type:PM}),PM.ɵinj=Vr({imports:[tI]});const MM=new Map;function HM(e){if(!e||!e.nodeName||"TEXTAREA"!==e.nodeName||MM.has(e))return;let t=null;const n=window.getComputedStyle(e);function i({restoreTextAlign:r=null,testForHeightReduction:s=!0}){let o,a,l=n.overflowY;if(0!==e.scrollHeight&&("vertical"===n.resize?e.style.resize="none":"both"===n.resize&&(e.style.resize="horizontal"),s&&(o=function(e){const t=[];for(;e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push([e.parentNode,e.parentNode.scrollTop]),e=e.parentNode;return()=>t.forEach((([e,t])=>{e.style.scrollBehavior="auto",e.scrollTop=t,e.style.scrollBehavior=null}))}(e),e.style.height=""),a="content-box"===n.boxSizing?e.scrollHeight-(parseFloat(n.paddingTop)+parseFloat(n.paddingBottom)):e.scrollHeight+parseFloat(n.borderTopWidth)+parseFloat(n.borderBottomWidth),"none"!==n.maxHeight&&a>parseFloat(n.maxHeight)?("hidden"===n.overflowY&&(e.style.overflow="scroll"),a=parseFloat(n.maxHeight)):"hidden"!==n.overflowY&&(e.style.overflow="hidden"),e.style.height=a+"px",r&&(e.style.textAlign=r),o&&o(),t!==a&&(e.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),t=a),l!==n.overflow&&!r)){const t=n.textAlign;"hidden"===n.overflow&&(e.style.textAlign="start"===t?"end":"start"),i({restoreTextAlign:t,testForHeightReduction:!0})}}function r(){i({testForHeightReduction:!1,restoreTextAlign:null})}const s=function(){let t=e.value;return()=>{i({testForHeightReduction:""===t||!e.value.startsWith(t),restoreTextAlign:null}),t=e.value}}(),o=(t=>{e.removeEventListener("autosize:destroy",o),e.removeEventListener("autosize:update",r),e.removeEventListener("input",s),window.removeEventListener("resize",r),Object.keys(t).forEach((n=>e.style[n]=t[n])),MM.delete(e)}).bind(e,{height:e.style.height,resize:e.style.resize,textAlign:e.style.textAlign,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",o),e.addEventListener("autosize:update",r),e.addEventListener("input",s),window.addEventListener("resize",r),e.style.overflowX="hidden",e.style.wordWrap="break-word",MM.set(e,{destroy:o,update:r}),r()}function BM(e){const t=MM.get(e);t&&t.destroy()}function zM(e){const t=MM.get(e);t&&t.update()}let qM=null;"undefined"==typeof window?(qM=e=>e,qM.destroy=e=>e,qM.update=e=>e):(qM=e=>(e&&Array.prototype.forEach.call(e.length?e:[e],(e=>HM(e))),e),qM.destroy=e=>(e&&Array.prototype.forEach.call(e.length?e:[e],BM),e),qM.update=e=>(e&&Array.prototype.forEach.call(e.length?e:[e],zM),e));var UM=qM;class jM{set updateAutoSize(e){RI()||this._zone.runOutsideAngular((()=>{1==e&&XI((()=>{this._autosize&&this._autosize.update(this._el.nativeElement)}))}))}get updateAutoSize(){return!1}fireResize(){this.onResized.emit()}constructor(e,t){this._el=e,this._zone=t,this._resize=!1,this.onResized=new kt}ngOnInit(){this.fireResize=this.fireResize.bind(this)}ngAfterViewInit(){!RI()&&this._el.nativeElement&&this._zone.runOutsideAngular((()=>{UM(this._el.nativeElement),this._el.nativeElement.addEventListener("autosize:resized",this.fireResize),this._autosize=UM}))}ngOnDestroy(){RI()||this._autosize&&(this._autosize.destroy(this._el.nativeElement),this._el.nativeElement.removeEventListener("autosize:resized",this.fireResize),this._autosize=null)}}jM.ɵfac=function(e){return new(e||jM)(Yc(Ar),Yc(Td))},jM.ɵdir=Tn({type:jM,selectors:[["","ng-autosize",""]],inputs:{updateAutoSize:[e.InputFlags.None,"sizeupdate","updateAutoSize"],_resize:[e.InputFlags.None,"watchresize","_resize"]},outputs:{onResized:"onResized"}});class VM{}VM.ɵfac=function(e){return new(e||VM)},VM.ɵmod=wn({type:VM}),VM.ɵinj=Vr({imports:[tI]});const WM=["textarea"];function $M(e,t){1&e&&(r_(0,"div",4),o_(1,"i"),s_())}let GM=!1,YM=AI()&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream;class QM{set value(e){this._value.next(e)}get value(){return this._value.getValue()}set active(e){this._active.next(e)}get active(){return this._active.getValue()}set readonly(e){this._editor&&this._readonly!==e&&(e?this._editor.enableReadOnlyMode("lock-"+this.ckelementid):this._editor.disableReadOnlyMode("lock-"+this.ckelementid)),this._readonly=e}get readonly(){return this._readonly}set autofocus(e){this._autofocus=e,e&&this._container&&this._container.nativeElement.focus()}get autofocus(){return this._autofocus}constructor(e,t,n){this._el=e,this._cd=t,this._service=n,this._destroyed=!0,this.ckeditorLoaded=!0,this.ckelementid=JI(),this._value=new oe(""),this.valueChange=new kt,this._active=new oe(!1),this._autofocus=!1,this._enabled=!1,this.options={toolbar:["heading","|","bold","italic","underline","link","|","insertTable","bulletedList","numberedList","|","undo","redo"],heading:{options:[{model:"paragraph",title:"Normal",class:""},{model:"heading2",view:"h2",title:"Heading",class:"ckeditor-heading bold-font"}]},table:{toolbar:["tableColumn","tableRow","mergeTableCells"]}},this.editorInitiated=new kt,this.editor_init=GM,this.no_editor=!1}StartCkeditor(){l.import("ckeditor5/build/ckeditor.js").then((e=>{if(!e||!e.create)throw Error("Cannot instance the ckeditor");e.create(this._container.nativeElement,this.options).then((e=>{let t;this._enabled=!0,this._editor=e,this.no_editor=!1,this._cd.detectChanges(),e.model.document.on("change:data",(n=>{t=e.getData(),this.valueChange.emit(t)})),this._editorsubs=this._value.subscribe((n=>{t!==n&&e.setData(n)})),this.autofocus&&(e.editing.view.focus(),YM||setTimeout((()=>{let e=this._el.nativeElement;this._service.scrollTo({target:e,inview:!0})}),100)),this.editorInitiated.emit(!0),GM=!0,this._readonly&&(this._readonly=null,this.readonly=!0)})).catch((e=>{this.no_editor=!0,this.EndCkeditor(),this.editorInitiated.emit(!1),e&&dD().then((t=>{t.captureException(e)}))}))})).catch((e=>{this.no_editor=!0,this.EndCkeditor(),this.editorInitiated.emit(!1)}))}EndCkeditor(){this._enabled=!1,this._editor&&(this._editor.destroy(),this._editor=null,this._editorsubs.unsubscribe())}TextAreaEdit(e){this.value=e.target.value||"",this.valueChange.emit(this.value)}ngOnInit(){let e=this._active.subscribe({next:e=>{e&&!this._enabled?setTimeout((()=>{XI((()=>{this.StartCkeditor()}))})):this._enabled&&this.EndCkeditor()},error:()=>{},complete:()=>{e&&e.unsubscribe()}});this.editorInitiated.subscribe((()=>{this.editor_init=!0}))}ngOnDestroy(){this._active.complete(),this._value.complete(),this.EndCkeditor()}}QM.ɵfac=function(e){return new(e||QM)(Yc(Ar),Yc(Ly),Yc(lC))},QM.ɵcmp=vn({type:QM,selectors:[["ck-editor"]],viewQuery:function(e,t){if(1&e&&Xm(WM,7),2&e){let e;ev(e=tv())&&(t._container=e.first)}},hostAttrs:[1,"progress-indicator-container"],inputs:{value:"value",active:"active",readonly:"readonly",autofocus:[e.InputFlags.None,"cursor-focus","autofocus"],options:"options"},outputs:{valueChange:"valueChange",editorInitiated:"editorInitiated"},decls:4,vars:4,consts:[[1,"ck-tools"],[1,"ck-textarea",3,"value","input"],["textarea",""],["class","progress-indicator visible",4,"ngIf"],[1,"progress-indicator","visible"]],template:function(e,t){1&e&&(o_(0,"div",0),r_(1,"textarea",1,2),Nm("input",(function(e){return t.TextAreaEdit(e)})),s_(),cp(3,$M,2,0,"div",3)),2&e&&($c(),gg("no-ck-editor",t.no_editor),hg("value",t.value),$c(2),hg("ngIf",!t.editor_init))},dependencies:[wT],styles:['.ck-toolbar .ckeditor-heading{font-size:18px;font-family:"Inter-Bold", Helvetica, Arial, sans-serif}\n',".ck-editor__editable a:focus,.ck-editor__editable a:hover{text-decoration:underline}\n",".ck-editor__editable a{color:#136AE8;text-decoration:none;cursor:pointer}\n","ck-editor{display:block}\n"],encapsulation:2});class KM{}KM.ɵfac=function(e){return new(e||KM)},KM.ɵmod=wn({type:KM}),KM.ɵinj=Vr({imports:[tI,ax]});class ZM{set show(e){let t=this;e?(t._show=!0,t._showtimeout&&clearTimeout(t._showtimeout),t._showtimeout=setTimeout((()=>{t._show=!1,t._cd.detectChanges(),t.onhidden.emit()}),t.timer)):t.close_on_change&&(t._show=!1,t._showtimeout&&clearTimeout(t._showtimeout),t.onhidden.emit()),t._cd.detectChanges()}get show(){return this._show}constructor(e){this._cd=e,this.timer=2500,this.message="something went wrong, please retry",this.close_on_change=!1,this.onhidden=new kt,this._show=!1,this.center=!1}ngOnDestroy(){clearTimeout(this._showtimeout)}}ZM.ɵfac=function(e){return new(e||ZM)(Yc(Ly))},ZM.ɵcmp=vn({type:ZM,selectors:[["error-toast"]],hostVars:2,hostBindings:function(e,t){2&e&&gg("error-toast-center",t.center)},inputs:{timer:"timer",message:"message",close_on_change:[e.InputFlags.None,"close-on-change","close_on_change"],show:"show",center:"center"},outputs:{onhidden:"onhidden"},decls:2,vars:2,consts:[["hidden","true","role","alert","tabindex","-1","aria-atomic","true",1,"errortoast",3,"ng-hidden"]],template:function(e,t){1&e&&(r_(0,"div",0),Iv(1),s_()),2&e&&(hg("ng-hidden",!t.show),$c(),Sv(t.message))},dependencies:[$A],encapsulation:2});class JM{}JM.ɵfac=function(e){return new(e||JM)},JM.ɵmod=wn({type:JM}),JM.ɵinj=Vr({imports:[tI,ax]});class XM{constructor(){this.itemprop="",this.classes=[]}}XM.ɵfac=function(e){return new(e||XM)},XM.ɵcmp=vn({type:XM,selectors:[["","img-placeholder",""]],inputs:{src:"src",itemprop:"itemprop",alt:"alt",classes:"classes"},attrs:["img-placeholder",""],decls:3,vars:5,consts:[[3,"defer-src","ui-hydrate"],[3,"ngClass","alt"],["deferImg",""]],template:function(e,t){1&e&&(r_(0,"div",0),o_(1,"img",1,2),s_()),2&e&&(hg("defer-src",t.src)("ui-hydrate",!0),$c(),hg("ngClass",t.classes)("alt",t.alt),Df("itemprop",t.itemprop))},dependencies:[gT,wR],encapsulation:2});class eH{}function tH(e,t){1&e&&(r_(0,"h2",11),Iv(1,"Thank you"),s_()),2&e&&hg("focus-when",!0)}function nH(e,t){1&e&&(r_(0,"h2",11),Iv(1,"Please provide your email in order to receive answers"),s_()),2&e&&hg("focus-when",!0)}function iH(e,t){if(1&e){const e=h_();r_(0,"div",12)(1,"span",13),Iv(2),s_(),r_(3,"textarea",14),Nm("input",(function(t){ji(e);return Vi(Hm().SetInput(t))})),s_()()}if(2&e){const e=Hm();$c(),gg("ques-ov-cred",e.input_chars_left<0),$c(),Sv(e.input_chars_left),$c(),hg("value",e.input_value)("readonly",e.submiting)}}function rH(e,t){if(1&e){const e=h_();r_(0,"div",12)(1,"textarea",15),Nm("input",(function(t){ji(e);return Vi(Hm().input_value_extra=t.target.value)})),s_()()}if(2&e){const e=Hm();$c(),hg("value",e.input_value_extra)("readonly",e.submiting)}}function sH(e,t){if(1&e){const e=h_();r_(0,"div",12)(1,"ng-dropdown",16),Nm("selected",(function(t){ji(e);return Vi(Hm().SetCategory(t))})),s_()()}if(2&e){const e=Hm();$c(),hg("invalid",e.categoryerror)("items",e.categories)("second",!0)("value",e.category)}}function oH(e,t){if(1&e&&o_(0,"div",17),2&e){hg("innerHTML",Hm().ajax_message,Hl)("zing-url-container",!0)}}function aH(e,t){if(1&e){const e=h_();r_(0,"button",18),Nm("onClick",(function(){ji(e);return Vi(Hm().Submit())})),Iv(1," Next "),o_(2,"i",19),s_()}if(2&e){const e=Hm();gg("loadactive",e.submiting),hg("disabled",e.submiting)}}function lH(e,t){1&e&&(r_(0,"div",20),Iv(1,"Your question has been submitted to our moderators for review. We will send you an email once your question has been approved."),s_())}function cH(e,t){1&e&&o_(0,"br")}function uH(e,t){1&e&&o_(0,"br")}function dH(e,t){if(1&e){const e=h_();r_(0,"input",33),Nm("input",(function(t){ji(e);return Vi(Hm(2).one_time_code=t.target.value)})),s_()}}function hH(e,t){1&e&&o_(0,"br")}function pH(e,t){if(1&e){const e=h_();r_(0,"div",34),Iv(1," You have entered a wrong code. Enter the correct one or "),r_(2,"span",35),Nm("onTap",(function(){ji(e);return Vi(Hm(2).ResendCode())})),Iv(3,"click here"),s_(),Iv(4," to resend. "),s_()}}function fH(e,t){1&e&&o_(0,"br")}function gH(e,t){if(1&e&&o_(0,"div",17),2&e){hg("innerHTML",Hm(2).ajax_message,Hl)("zing-url-container",!0)}}function _H(e,t){1&e&&o_(0,"br")}function mH(e,t){if(1&e){const e=h_();r_(0,"div",21)(1,"button",22),Nm("onTap",(function(){ji(e);return Vi(Hm().GuestSubmit())})),o_(2,"span",23),r_(3,"span",24),Iv(4,"Login to Wallethub"),s_()(),r_(5,"div",25),Iv(6,"or"),s_(),r_(7,"input",26),Nm("input",(function(t){ji(e);const n=Hm();return n.user_email=t.target.value,Vi(n.show_ajax_error=!1)})),s_(),cp(8,cH,1,0,"br",27)(9,uH,1,0,"br",27)(10,dH,1,0,"input",28)(11,hH,1,0,"br",27)(12,pH,5,0,"div",29)(13,fH,1,0,"br",27)(14,gH,1,2,"div",7)(15,_H,1,0,"br",27),r_(16,"button",30),Nm("onTap",(function(){ji(e);return Vi(Hm().GuestSubmit())})),Iv(17," Submit "),o_(18,"span",31),s_(),r_(19,"button",32),Nm("onClick",(function(){ji(e);return Vi(Hm().Back())})),Iv(20,"Back"),s_()()}if(2&e){const e=Hm();$c(7),hg("value",e.user_email),$c(),hg("ngIf",e.show_code_input),$c(),hg("ngIf",e.show_code_input),$c(),hg("ngIf",e.show_code_input),$c(),hg("ngIf",e.show_code_input_resend),$c(),hg("ngIf",e.show_code_input_resend),$c(),hg("ngIf",!e.show_ajax_error),$c(),hg("ngIf",e.show_ajax_error&&!e.show_code_input_resend),$c(),hg("ngIf",!e.show_ajax_error),$c(),gg("loadactive",e.submiting),hg("disabled",e.submiting)}}eH.ɵfac=function(e){return new(e||eH)},eH.ɵmod=wn({type:eH}),eH.ɵinj=Vr({imports:[tI,ER]});class vH{constructor(e){this._location=e,this.data={},this.input_value="",this.input_value_extra="",this.input_chars_left=0,this._max_input=140,this.submiting=!1,this.submited=!1,this._is_lodgged=!1,this.needs_login=!1,this.user_email="",this.one_time_code="",this._referer="",this._email_reg=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,this.has_categories=!1,this.categoryerror=!1,this.toastinterval=3500,this.live_status="",this.question_count_status="",this.is_android=!1,l.import("css:/components/question-overlay.css").then((()=>{}),(()=>{}))}_CountWords(e){if(!e)return"";var t=e.replace(/(^\s*|\s*$)/gi,"");return(t=(t=t.replace(/[ ]{2,}/gi," ")).replace(/\n /,"")).split(" ").filter((function(e){return""!=e})).length}_CountChars(){let e=(this.input_value||"").trim().length;this.input_chars_left=this._max_input-e,this.question_count_status=`${e} character${1!=e?"s":""} entered`}_SendQues(){this.show_ajax_error=!1,this.submiting=!0;let e=eD(this.input_value);this.live_status="Posting question.";let t={action:"Answers.PostQuestion",question:e,url:this._referer};if(this.show_code_input){if(!0!==/^\d{6}$/.test(this.one_time_code))return this.ajax_message="Please enter the 6-digit numerical code that we sent to your email.",this.show_ajax_error=!0,void(this.submiting=!1);t.one_time_code=this.one_time_code}l.import("Encryption").then((e=>{let n={url:mx(),data:Object.assign(t,this.data.addparams||{}),encryptprops:["email"],before:()=>{this.submiting=!0},after:()=>{this.submiting=!1},headers:{"Content-Type":"application/x-www-form-urlencoded"}};this.has_categories&&(n.data.category=this._catid),this.user_email&&(n.data.email=this.user_email),this._is_lodgged||this.user_email||(n.data.light=!0),this.input_value_extra&&(n.data.details=this.input_value_extra),DI()&&n.data.light&&(n.data.light="true"),e.send(n).then((e=>{if(this.live_status="",!e||e.error){if(e&&"message"in e){const t=e.message.match(/^Bad word `([^`]+)` detected.$/);t&&t.length&&(e.message=`Profanity is not allowed, including words such as "${t[1]}". Please adjust.`),"required one time code"==e.message?(e.message="Please enter the one-time code we have sent to your email.",this.show_code_input=!0):e.message.startsWith("You have entered a wrong code.")&&(this.show_code_input=!0,this.show_code_input_resend=!0,e.message=""),DI()&&"not logged in"==e.message?(Mx.emit("$native:api-no-session",{type:"question-submit-login",redirect:e.redirect}),this.ajax_message=null):this.ajax_message=e.message}else this.ajax_message='Unexpected error. Please contact <a class="link" href="mailto:help@wallethub.com" target="system">help@evolutionfinance.com</a>';this.show_ajax_error=!0}else{if("redirect"in e)return this.submiting=!0,void(DI()?Mx.emit("$native:api-no-session",{type:"question-submit-login",redirect:e.redirect}):top.location.href=e.redirect);this.submited=!0}}),(e=>{this.live_status="",this.ajax_message='Unexpected error. Please contact <a class="link" href="mailto:help@wallethub.com" target="system">help@evolutionfinance.com</a>',this.show_ajax_error=!0,hD(e,"Failed to submit a question from ng2 QnA component")}))}),(e=>{this.live_status="",this.ajax_message='Unexpected error. Please contact <a class="link" href="mailto:help@wallethub.com" target="system">help@evolutionfinance.com</a>',this.show_ajax_error=!0,dD().then((t=>{t.captureException(e)}),(()=>{}))}))}SetCategory(e){this.category=e.value,this._catid=this._catindex[e.index],this.categoryerror=!1}Submit(){if(this.show_error||this.submiting)return;this.show_ajax_error=!1,this._CountWords(this.input_value)<3?(this.show_error=!0,this.error_message="Question must have at least 3 words."):this.input_chars_left<0?(this.error_message=`Question cannot have more then ${this._max_input} chars.`,this.show_error=!0):this.has_categories&&!this.category?(this.show_error=!0,this.error_message="Please select a category."):this._is_lodgged?this._SendQues():this.needs_login=!0}OnErrorToastHidden(){this.show_error&&(this.show_error=!1)}ResendCode(){this.show_code_input=!1,this.show_code_input_resend=!1,this.one_time_code="",this._SendQues()}GuestSubmit(){this.user_email&&!this._email_reg.test(this.user_email)?(this.show_ajax_error=!0,this.ajax_message="Please enter a correct Email Address."):this._SendQues()}SetInput(e){this.show_error=!1,this.show_ajax_error=!1,this.input_value=e.target.value,this._CountChars()}Back(){this.needs_login=!1,this.show_ajax_error=!1,this.ajax_message=""}ngOnInit(){this.input_value=this.data.input||"",this.data.referer?this._referer=this.data.referer:(this._referer=hx()+this._location.path(),this._referer.lastIndexOf("/")!==this._referer.length-1&&(this._referer+="/")),this.data.categories&&this.data.categories.length>0&&(this.has_categories=!0,this.categories=[],this._catindex=[],this.data.categories.forEach((e=>{this.categories.push(e.name),this._catindex.push(e.id)})),1==this.categories.length&&(this._catid=this._catindex[0],this.category=this.categories[0])),this._CountChars(),RI()||(cD()&&(this._is_lodgged=!0),this.is_android=null!=navigator.userAgent.match(/Android/i)||navigator.platform&&null!=navigator.platform.match(/Android/i))}}vH.ɵfac=function(e){return new(e||vH)(Yc(lE))},vH.ɵcmp=vn({type:vH,selectors:[["question-overlay"]],decls:16,vars:18,consts:[["tabindex","0","ng-focus","",1,"ques-ov","regular-font",3,"ng-hidden","focus-when"],["class","ques-ov regular-font ng-enter-element","tabindex","0","ng-focus","",3,"focus-when",4,"ngIf"],[3,"ng-aria-live"],["class","ques-ov-txt-box ng-enter-element",4,"ngIf"],["hidden","true","id","ques-ov-count-status"],[3,"ng-hidden"],[3,"message","show","close-on-change","timer","onhidden"],["class","ques-ov-error-notice ng-enter-element slide","role","alert","tabindex","-1","zing-touch","",3,"innerHTML","zing-url-container",4,"ngIf"],["class","btn fixed-w-i with-loader no-disabled ng-enter-element","zing-touch","","aria-label","Next",3,"disabled","loadactive","onClick",4,"ngIf"],["class","ng-enter-element ques-ov-end-msg",4,"ngIf"],["class","ng-enter-element ques-ov-login",4,"ngIf"],["tabindex","0","ng-focus","",1,"ques-ov","regular-font","ng-enter-element",3,"focus-when"],[1,"ques-ov-txt-box","ng-enter-element"],["aria-hidden","true","tabindex","-1",1,"ques-ov-count"],["placeholder","Ask a question (140 character limit)","ng-autosize","","aria-describedby","ques-ov-count-status",1,"ques-ov-txt","textarea",3,"value","readonly","input"],["placeholder","Additional details (optional)","ng-autosize","",1,"ques-ov-txt","ques-ov-txt-liner","textarea",3,"value","readonly","input"],["placeholder","Select Category...",1,"ques-ov-drp",3,"invalid","items","second","value","selected"],["role","alert","tabindex","-1","zing-touch","",1,"ques-ov-error-notice","ng-enter-element","slide",3,"innerHTML","zing-url-container"],["zing-touch","","aria-label","Next",1,"btn","fixed-w-i","with-loader","no-disabled","ng-enter-element",3,"disabled","onClick"],["aria-hidden","true","tabindex","-1",1,"btn-loader"],[1,"ng-enter-element","ques-ov-end-msg"],[1,"ng-enter-element","ques-ov-login"],["aria-label","Login","zing-touch","",1,"btn","aqua","full","ques-ov-lg-bt","semi-bold-font",3,"onTap"],[1,"bf-icon-wlogo"],[1,"ques-ov-lg-txt"],[1,"ques-ov-or","center"],["aria-label","Email","type","email","placeholder","Email Address",1,"textfield","full",3,"value","input"],[4,"ngIf"],["type","text","inputmode","numeric","pattern","^\\d{6}$","aria-label","otp","class","textfield full","placeholder","one-time code",3,"input",4,"ngIf"],["class","ques-ov-error-notice ng-enter-element slide","role","alert","tabindex","-1",4,"ngIf"],["zing-touch","",1,"btn","fixed-w-i","with-loader","no-disabled",3,"disabled","onTap"],[1,"btn-loader"],["zing-touch","",1,"btn","white-blue","ques-ov-bk-bt",3,"onClick"],["type","text","inputmode","numeric","pattern","^\\d{6}$","aria-label","otp","placeholder","one-time code",1,"textfield","full",3,"input"],["role","alert","tabindex","-1",1,"ques-ov-error-notice","ng-enter-element","slide"],["zing-touch","",1,"link",3,"onTap"]],template:function(e,t){1&e&&(r_(0,"h2",0),Iv(1,"Ask a Question"),s_(),cp(2,tH,2,1,"h2",1)(3,nH,2,1,"h2",1),o_(4,"div",2),cp(5,iH,4,5,"div",3),r_(6,"div",4),Iv(7),s_(),cp(8,rH,2,2,"div",3)(9,sH,2,4,"div",3),r_(10,"div",5)(11,"error-toast",6),Nm("onhidden",(function(){return t.OnErrorToastHidden()})),s_()(),cp(12,oH,1,2,"div",7)(13,aH,3,3,"button",8)(14,lH,2,0,"div",9)(15,mH,21,12,"div",10)),2&e&&(hg("ng-hidden",t.submited||t.needs_login)("focus-when",!(t.submited||t.needs_login)),$c(2),hg("ngIf",t.submited),$c(),hg("ngIf",t.needs_login&&!t.submited),$c(),hg("ng-aria-live",t.live_status),$c(),hg("ngIf",!t.submited&&!t.needs_login),$c(2),Sv(t.question_count_status),$c(),hg("ngIf",!t.submited&&!t.needs_login),$c(),hg("ngIf",!t.submited&&!t.needs_login&&t.has_categories&&t.categories.length>1),$c(),hg("ng-hidden",t.submited||t.needs_login),$c(),hg("message",t.error_message)("show",t.show_error)("close-on-change",!0)("timer",t.toastinterval),$c(),hg("ngIf",!t.needs_login&&t.show_ajax_error),$c(),hg("ngIf",!t.submited&&!t.needs_login),$c(),hg("ngIf",t.submited),$c(),hg("ngIf",t.needs_login&&!t.submited))},dependencies:[wT,iC,$A,rx,jM,ZM,Yk,tD],encapsulation:2});class bH{}bH.ɵfac=function(e){return new(e||bH)},bH.ɵmod=wn({type:bH}),bH.ɵinj=Vr({imports:[tI,ax,VM,JM,Qk,nD]});const yH=["txtElement"],wH=["quesOverlay"],EH=["ques_answer"];function TH(e,t){if(1&e&&(r_(0,"span",23),Iv(1),s_()),2&e){const e=Hm(2);$c(),Av("(",e.schq_count,")")}}function IH(e,t){if(1&e&&(r_(0,"h2",20),o_(1,"span",21),cp(2,TH,2,1,"span",22),s_()),2&e){const e=Hm();$c(),hg("ng-context",e.section_title),$c(),hg("ngIf",e.schq_count)}}const CH=(e,t)=>({"light-font qnah-1":e,"qnah-1 qnah-3 extra-bold-font":t});function SH(e,t){if(1&e&&o_(0,"h2",24),2&e){const e=Hm();hg("ngClass",tb(2,CH,0==e.layout_type,2==e.layout_type))("ng-context",e.section_title)}}function AH(e,t){if(1&e&&(r_(0,"p",25)(1,"span"),Iv(2),s_(),Iv(3,"For more general questions, visit our "),r_(4,"a",26),Iv(5,"Answers section."),s_()()),2&e){const e=Hm();$c(2),Av("Get answers to your questions about ",e.product_name," below. "),$c(2),hg("href",e.answers_url_page,zl)("zing-url",!0)}}function xH(e,t){if(1&e&&o_(0,"p",27),2&e){const e=Hm();hg("zing-url-container",!0)("cleanHTML",e.intro_content)}}function DH(e,t){if(1&e&&o_(0,"p",28),2&e){const e=Hm();hg("zing-url-container",!0)("ng-truncate",e.intro_content)("breakwords",e.truncateBreakwords)("breakpoint",480)}}function RH(e,t){if(1&e){const e=h_();r_(0,"span",39),Nm("onTap",(function(){ji(e);return Vi(Hm(2).QClear())})),s_()}}function kH(e,t){1&e&&(r_(0,"span"),Iv(1,"Don't see what you're looking for?"),s_())}function OH(e,t){1&e&&(r_(0,"div",40),Iv(1,"MATCHING RESULTS"),s_())}function NH(e,t){1&e&&(r_(0,"div",40),Iv(1,"NO MATCHING RESULTS"),s_())}function FH(e,t){1&e&&(r_(0,"div",40),Iv(1,"Searching for answers..."),s_())}function LH(e,t){if(1&e){const e=h_();r_(0,"div",29)(1,"div",30)(2,"textarea",31),Nm("input",(function(t){ji(e);return Vi(Hm().SearchInput(t))})),s_(),cp(3,RH,1,0,"span",32),r_(4,"button",33),Nm("onTap",(function(){ji(e);return Vi(Hm().QSearch())})),s_()(),r_(5,"div",34),cp(6,kH,2,0,"span",35),r_(7,"button",36),Nm("onClick",(function(t){ji(e);return Vi(Hm().AskQuestion(t))})),Iv(8,"Ask Your Question"),s_()(),r_(9,"div",37),cp(10,OH,2,0,"div",38)(11,NH,2,0,"div",38)(12,FH,2,0,"div",38),s_()()}if(2&e){const e=Hm();$c(),hg("scroll-to",e.focus_on_input),$c(),hg("value",e.search_value)("sizeupdate",e.qna_key_reset),$c(),hg("ngIf",e.search_value),$c(),hg("ng-hidden",!!e.search_value),$c(),gg("qna-aq-ss",e.noresults),hg("ng-hidden",!(e.show_search_state||e.show_search_state_empty)),$c(),hg("ngIf",e.show_search_state&&!e.noresults),$c(4),hg("ngIf",e.show_search_state&&!e.search_loading),$c(),hg("ngIf",e.show_search_state_empty&&!e.search_loading),$c(),hg("ngIf",e.search_loading)}}function PH(e,t){if(1&e){const e=h_();r_(0,"li",41),Nm("onClick",(function(){const t=ji(e).index;return Vi(Hm().ChangeSort(t))})),Iv(1),s_()}if(2&e){const e=t.$implicit;gg("qnaml-first",0==t.index),$c(),Sv(e)}}function MH(e,t){1&e&&o_(0,"div",50)}function HH(e,t){if(1&e){const e=h_();r_(0,"div",42),cp(1,MH,1,0,"div",43),r_(2,"div",44)(3,"div",45),o_(4,"img",46),s_(),r_(5,"div",47)(6,"textarea",48),Nm("input",(function(t){ji(e);return Vi(Hm().ques_ask=t.target.value)})),s_(),r_(7,"button",49),Nm("onClick",(function(t){ji(e);return Vi(Hm().AskQuestion(t))})),Iv(8,"Ask your Question"),s_()()()()}if(2&e){const e=Hm();$c(),hg("ngIf",0==e.schquestions.length),$c(3),hg("src",e.user_avatar||e.user_avatar_fallback,zl)("on-img-error",e.user_avatar_fallback),$c(),hg("scroll-to",e.focus_on_input),$c(),hg("value",e.ques_ask)}}function BH(e,t){1&e&&(r_(0,"div",54)(1,"div",55),o_(2,"i"),s_()())}function zH(e,t){if(1&e&&o_(0,"a",83),2&e){const e=Hm(2).$implicit;gg("qt-as-link",e.from_search),hg("href",e.ques_href,zl)("zing-url",!0)("cleanHTML",e.ques_title)("focus-when",e.focuson)("no-click",!0)}}function qH(e,t){if(1&e&&(l_(0),cp(1,zH,1,7,"a",82),c_()),2&e){const e=Hm().$implicit;$c(),hg("ngIf",e.ques_href)}}function UH(e,t){if(1&e){const e=h_();r_(0,"a",85),Nm("click",(function(t){ji(e);const n=Hm(2).$implicit;return Vi(Hm(2).QuesCollapse(t,n))})),s_()}if(2&e){const e=Hm(2).$implicit;gg("qt-as-link",e.from_search),hg("href",e.ques_href,zl)("cleanHTML",e.ques_title)("focus-when",e.focuson)}}function jH(e,t){if(1&e&&(l_(0),cp(1,UH,1,5,"a",84),c_()),2&e){const e=Hm().$implicit;$c(),hg("ngIf",e.ques_href)}}function VH(e,t){if(1&e&&o_(0,"span",86),2&e){const e=Hm().$implicit;gg("qt-as-link",e.from_search),hg("cleanHTML",e.ques_title)}}const WH=e=>({"accordion-open":e});function $H(e,t){if(1&e){const e=h_();r_(0,"button",87),Nm("onTap",(function(){ji(e);const t=Hm().$implicit;return Vi(t.collapsed=!t.collapsed)})),o_(1,"span",88),s_()}if(2&e){const e=Hm().$implicit;hg("ngClass",eb(1,WH,!e.collapsed))}}function GH(e,t){if(1&e&&o_(0,"p",89),2&e){hg("cleanHTML",Hm().$implicit.ques_content_cut_mob)}}function YH(e,t){if(1&e&&o_(0,"p",90),2&e){hg("cleanHTML",Hm().$implicit.ques_content_cut_desk)}}function QH(e,t){1&e&&(r_(0,"span",91),Iv(1,"..."),s_())}function KH(e,t){if(1&e&&o_(0,"p",89),2&e){hg("cleanHTML",Hm().$implicit.ques_content_more)}}function ZH(e,t){if(1&e){const e=h_();r_(0,"span",92),Nm("onTap",(function(){ji(e);const t=Hm().$implicit;return Vi(Hm(2).ExpandContent(t.id,"question"))})),Iv(1,"show more"),s_()}if(2&e){const e=Hm().$implicit;hg("ng-hidden",Hm(2).questionexpand[e.id])}}function JH(e,t){if(1&e){const e=h_();r_(0,"span",93),Nm("onTap",(function(){ji(e);const t=Hm().$implicit;return Vi(Hm(2).ExpandContent(t.id,"question"))})),Iv(1,"show less"),s_()}if(2&e){const e=Hm().$implicit;hg("ng-hidden",!Hm(2).questionexpand[e.id])}}function XH(e,t){if(1&e){const e=h_();r_(0,"div",94),Nm("onClick",(function(){ji(e);const t=Hm().$implicit;return Vi(Hm(2).ShowReplybox(t.id))})),Iv(1,"Reply"),s_()}if(2&e){hg("focus-when",Hm().$implicit.reply_bt_focus)("no-click",!0)}}function eB(e,t){1&e&&o_(0,"span",95)}function tB(e,t){1&e&&o_(0,"span",95)}function nB(e,t){if(1&e){const e=h_();r_(0,"form",96),Nm("onSubmit",(function(){ji(e);const t=Hm().$implicit;return Vi(Hm(2).SubmitReply(t))})),r_(1,"div",97),o_(2,"img",98),s_(),r_(3,"div",99)(4,"ck-editor",100),Nm("valueChange",(function(t){ji(e);const n=Hm().$implicit;return Vi(Hm(2).ReplyInput(t,n.id))})),s_()(),r_(5,"div",101),o_(6,"error-toast",102),r_(7,"button",103),Nm("onClick",(function(){ji(e);const t=Hm().$implicit;return Vi(Hm(2).ShowReplybox(t.id))})),Iv(8,"Cancel"),s_(),r_(9,"button",104)(10,"span"),Iv(11,"Reply"),s_(),o_(12,"i",105),s_()()()}if(2&e){const e=Hm().$implicit,t=Hm(2);$c(2),hg("src",t.user_avatar||t.user_avatar_fallback,zl)("on-img-error",t.user_avatar_fallback),$c(2),hg("value",t.replyboxinput[e.id])("active",!0)("cursor-focus",t.replyboxshow[e.id])("readonly",t.replyinprogress[e.id]),$c(2),hg("message",null==t.replyerror[e.id]?null:t.replyerror[e.id].message)("show",null==t.replyerror[e.id]?null:t.replyerror[e.id].show)("close-on-change",!0)("timer",3e3),$c(),hg("disabled",t.replyinprogress[e.id]),$c(2),gg("loadactive",t.replyinprogress[e.id]),hg("disabled",t.replyinprogress[e.id])("zing-feedback",!0)}}function iB(e,t){if(1&e&&(r_(0,"span",120),Iv(1),s_()),2&e){const e=Hm(2).$implicit;$c(),Av(", ",e.user_title,"")}}function rB(e,t){if(1&e&&(r_(0,"div",118),o_(1,"span",21),cp(2,iB,2,1,"span",119),s_()),2&e){const e=Hm().$implicit;$c(),hg("ng-context",e.user_fullname||e.user_login),$c(),hg("ngIf",e.user_title)}}function sB(e,t){if(1&e&&(l_(0),Iv(1),c_()),2&e){const e=Hm().$implicit;$c(),Sv(e.user_login)}}function oB(e,t){if(1&e){const e=h_();r_(0,"span",125),Nm("onTap",(function(){const t=ji(e).index,n=Hm(2).$implicit;return Vi(Hm(3).AnsOpt(t,n))})),Iv(1),s_()}if(2&e){const e=t.$implicit;gg("qnaml-first",0==t.index),$c(),Sv(e)}}function aB(e,t){if(1&e){const e=h_();r_(0,"div",121)(1,"span",122),Nm("onTap",(function(){ji(e);const t=Hm().$implicit;return Vi(Hm(3).ControlAnsOpt(t))}))("onTapOutside",(function(){ji(e);return Vi(Hm().$implicit.options_list_opened=!1)})),s_(),r_(2,"div",123),Nm("onTap",(function(e){return e.stopPropagation()})),cp(3,oB,2,3,"span",124),s_()()}if(2&e){const e=Hm().$implicit,t=Hm(3);$c(2),hg("ng-hidden",!e.options_list_opened),$c(),hg("ngForOf",t.ansOptions)("ngForTrackBy",t.trackByFn)}}function lB(e,t){if(1&e&&(r_(0,"div",126)(1,"a",127),Iv(2,"show more"),o_(3,"span",128),s_()()),2&e){const e=Hm(2).$implicit;$c(),hg("href",e.ques_href,zl)("zing-url",!0)}}function cB(e,t){1&e&&o_(0,"span",95)}function uB(e,t){1&e&&o_(0,"span",95)}const dB=()=>({attribute:"itemprop",value:"upvoteCount"}),hB=e=>[e],pB=()=>({attribute:"itemprop",value:"downvoteCount"});function fB(e,t){if(1&e){const e=h_();r_(0,"div",73)(1,"div",129),Nm("onTap",(function(){ji(e);const t=Hm().$implicit;return Vi(Hm(3).RateContent(t,"up"))})),cp(2,cB,1,0,"span",130),r_(3,"span",131),Iv(4),s_()(),r_(5,"div",77),Nm("onTap",(function(){ji(e);const t=Hm().$implicit;return Vi(Hm(3).RateContent(t,"down"))})),cp(6,uB,1,0,"span",130),r_(7,"span",131),Iv(8),s_()()()}if(2&e){const e=Hm(),t=e.$implicit,n=e.index,i=Hm(3);$c(),gg("visible",t.voteinprogress),hg("zing-no-touch",!0),Df("aria-label",t.upvotelabel),$c(),hg("ngIf",t.voteinprogress),$c(),hg("ng-attribute",eb(17,hB,Xv(16,dB)))("ng-attribute-when",i.toggleSchema&&0==n),$c(),Sv(t.upvote),$c(),gg("visible",t.downvoteinprogress),hg("zing-no-touch",!0),Df("aria-label",t.dnvotelabel),$c(),hg("ngIf",t.downvoteinprogress),$c(),hg("ng-attribute",eb(20,hB,Xv(19,pB)))("ng-attribute-when",i.toggleSchema&&0==n),$c(),Sv(t.downvote)}}const gB=()=>({attribute:"itemprop",value:"text"});function _B(e,t){if(1&e&&(r_(0,"div",106)(1,"div",107)(2,"div",108),o_(3,"img",109,110),s_(),r_(5,"div",111),cp(6,rB,3,2,"div",112),r_(7,"div",113),cp(8,sB,2,1,"ng-container",35),s_(),cp(9,aB,4,3,"div",114),s_()(),o_(10,"div",115),cp(11,lB,4,2,"div",116)(12,fB,9,22,"div",117),s_()),2&e){const e=t.$implicit,n=t.index,i=Hm(),r=i.$implicit,s=i.index,o=Hm(2);hg("ng-hidden",!(0==n||o.question_more_answers[r.id]||1==n&&r.answers[0].my_ans))("ng-attribute",o.aschemascope)("ng-attribute-when",o.toggleSchema&&0==n),$c(2),hg("defer-src",e.user_avatar)("src-fallback",o.user_avatar_fallback)("ui-hydrate",!0),$c(4),hg("ngIf",e.user_fullname||e.user_login),$c(2),hg("ngIf",e.user_login),$c(),hg("ngIf",null==e?null:e.is_reportable),$c(),hg("cleanHTML",e.show_full||o.ShowFullAns(s)?e.full_content:e.content_long)("zing-url-container",!0)("ng-attribute",eb(17,hB,Xv(16,gB)))("ng-attribute-when",o.toggleSchema&&0==n),Df("data-pos",e.stackid),$c(),hg("ngIf",e.has_more_button&&(r.ques_href||r.ques_fullslug)&&!(e.show_full||o.ShowFullAns(s))),$c(),hg("ngIf",!o.IsSpecial(e.id))}}function mB(e,t){1&e&&(r_(0,"div",135),o_(1,"i"),s_())}function vB(e,t){if(1&e){const e=h_();r_(0,"div",132),cp(1,mB,2,0,"div",133),r_(2,"span",134),Nm("onTap",(function(){ji(e);const t=Hm(),n=t.$implicit,i=t.index;return Vi(Hm(2).ViewMoreAns(n,i))})),Iv(3," View more answers "),o_(4,"i",9),s_()()}if(2&e){const e=Hm().$implicit,t=Hm(2);$c(),hg("ngIf",t.answersmore[e.id])}}const bB=(e,t,n)=>({"accordion-open":e,"has-accordion":t,"accordion-closed":n}),yB=()=>({attribute:"itemprop",value:"name"}),wB=(e,t)=>({"qna-h-collapse":e,"accordion-closed":t}),EB=e=>({"qna-collapsed":e});function TB(e,t){if(1&e){const e=h_();r_(0,"article",56)(1,"div",57)(2,"div",58)(3,"div",59),Iv(4),s_(),r_(5,"span",60),Iv(6),s_()()(),r_(7,"div",61)(8,"h3",62),cp(9,qH,2,1,"ng-container",35)(10,jH,2,1,"ng-container",35)(11,VH,1,3,"span",63)(12,$H,2,3,"button",64),s_(),r_(13,"div",65),cp(14,GH,1,1,"p",66)(15,YH,1,1,"p",67)(16,QH,2,0,"span",68)(17,KH,1,1,"p",66)(18,ZH,2,1,"span",69)(19,JH,2,1,"span",70),r_(20,"div",71),cp(21,XH,2,2,"div",72),r_(22,"div",73)(23,"div",74),Nm("onTap",(function(){const t=ji(e).$implicit;return Vi(Hm(2).RateContent(t,"up"))})),cp(24,eB,1,0,"span",75),r_(25,"span",76),Iv(26),s_()(),r_(27,"div",77),Nm("onTap",(function(){const t=ji(e).$implicit;return Vi(Hm(2).RateContent(t,"down"))})),cp(28,tB,1,0,"span",75),r_(29,"span",76),Iv(30),s_()()()(),cp(31,nB,13,15,"form",78),r_(32,"div",79),cp(33,_B,13,19,"div",80)(34,vB,5,1,"div",81),s_()()()()}if(2&e){const e=t.$implicit,n=Hm(2);gg("qna-q-search",e.from_search),hg("ng-attribute",n.qschemascope)("ng-attribute-when",n.questionToggleSchema(e))("ngClass",nb(41,bB,!e.collapsed&&n.collapse,n.collapse,e.collapsed&&n.collapse)),$c(3),hg("ng-attribute",eb(46,hB,Xv(45,dB)))("ng-attribute-when",n.questionToggleSchema(e)),$c(),Sv(e.upvote),$c(2),Av("Upvote",1!=e.upvote?"s":"",""),$c(2),hg("ng-attribute",eb(49,hB,Xv(48,yB)))("ng-attribute-when",n.questionToggleSchema(e))("ngClass",tb(51,wB,n.collapse,e.collapsed&&n.collapse)),$c(),hg("ngIf",!n.collapse),$c(),hg("ngIf",n.collapse),$c(),hg("ngIf",!e.ques_href&&!e.ques_fullslug),$c(),hg("ngIf",n.collapse),$c(),hg("ngClass",eb(54,EB,e.collapsed)),$c(),hg("ngIf",!n.questionexpand[e.id]&&e.ques_content_cut_mob),$c(),hg("ngIf",!n.questionexpand[e.id]&&e.ques_content_cut_desk),$c(),hg("ngIf",!n.questionexpand[e.id]&&e.ques_content_has_more),$c(),hg("ngIf",(n.questionexpand[e.id]||!e.ques_content_cut_mob)&&e.ques_content_more),$c(),hg("ngIf",e.ques_content_has_more),$c(),hg("ngIf",e.ques_content_has_more),$c(2),hg("ngIf",!n.IsSpecial(e.id)),$c(2),gg("visible",e.voteinprogress),hg("zing-no-touch",!0),Df("aria-label",e.upvotelabel),$c(),hg("ngIf",e.voteinprogress),$c(2),Sv(e.upvote),$c(),gg("visible",e.downvoteinprogress),hg("zing-no-touch",!0),Df("aria-label",e.dnvotelabel),$c(),hg("ngIf",e.downvoteinprogress),$c(2),Sv(e.downvote),$c(),hg("ngIf",n.replyboxshow[e.id]),$c(),hg("ng-hidden",!e.answers||e.answers.length<1),$c(),hg("ngForOf",e.answers)("ngForTrackBy",n.trackByFn),$c(),hg("ngIf",e.has_more_answers)}}function IB(e,t){if(1&e&&(r_(0,"div",51),cp(1,BH,3,0,"div",52)(2,TB,35,56,"article",53),s_()),2&e){const e=Hm();gg("qna-qb-loading",e.search_loading||e.questions_more),hg("ng-hidden",e.resultserror||e.load_startup||e.load_startup_fail)("ng-attribute",e.qschemapage)("ng-attribute-when",e.sectionToggleSchema()),$c(),hg("ngIf",e.search_loading||e.questions_more),$c(),hg("ngForOf",e.schquestions)("ngForTrackBy",e.trackByFn)}}function CB(e,t){if(1&e){const e=h_();r_(0,"button",140),Nm("onTap",(function(){ji(e);return Vi(Hm(2).ViewMoreQuestions())})),r_(1,"span",141)(2,"span",139),Iv(3,"View "),s_(),Iv(4,"More Questions"),s_(),o_(5,"i",105),s_()}if(2&e){gg("loadactive",Hm(2).questions_more)}}function SB(e,t){if(1&e){const e=h_();r_(0,"div",136),cp(1,CB,6,2,"button",137),r_(2,"button",138),Nm("onClick",(function(t){ji(e);return Vi(Hm().AskQuestion(t))})),Iv(3,"Ask "),r_(4,"span",139),Iv(5,"Your"),s_(),Iv(6," Question"),s_()()}if(2&e){const e=Hm();$c(),hg("ngIf",e.has_more_ques)}}function AB(e,t){1&e&&(r_(0,"div",142)(1,"div",55),o_(2,"i"),s_()())}function xB(e,t){if(1&e){const e=h_();r_(0,"div",143)(1,"p",144),Iv(2,"Oops there was a problem retrieving data"),s_(),o_(3,"br"),r_(4,"div",145)(5,"button",146),Nm("onTap",(function(){ji(e);return Vi(Hm().RetryLoadData())})),Iv(6,"Retry"),s_()()()}}const DB=e=>({"ng-enter-element":e});l.import("css:/components/qna-comp.css").then((()=>{})).catch((()=>{}));const RB=[13302181,15780064,15679068,13301077,16156697,3020119,15598394,15862659,15149105,68074251,68341972,68371234,68562956,68662113,68824291,68578598,14922710,66854879,15017177,14922730,14922199,67105913,67800123,67800731,15011218,67417507,67568187,67583827,66867877,67744804,66756380,66763333,66672169,67163270,15995521,13754119];class kB{get search_value(){return this._qType.getValue()}questionToggleSchema(e){return this.toggleSchema&&!(!e.answers||e.answers.length<1)}sectionToggleSchema(){return!!(this.toggleSchema&&this._has_answer&&this.schquestions.length>0)}get show_search_state(){return this.search_value&&this.search_value.length>1&&!this.noresults&&!this.resultserror}get show_search_state_empty(){return this.search_value&&this.search_value.length>1&&this.noresults&&!this.resultserror}get qna_presentation(){let e="default";switch(this.presentation?this.presentation.toLowerCase():"first full version, rest short version"){case"first full version, rest short version":e="default",this.full_qna=1;break;case"all short version":e="short";break;case"all collapsed":e="collapsed",this.collapse=!0;break;case"x number of full version, rest short version":e="varied"}return e}get has_clipped_answer_content(){return this.answers_content_clipped&&!(this.show_search_state||this.show_search_state_empty)}get open_popup(){return this._open_popup}set open_popup(e){this._open_popup=e,e&&this.AskQuestion()}get has_view_more(){return!this.search_value&&!this.search_loading&&!this.load_startup&&!this.load_startup_fail&&!this.resultserror&&this.has_enough_ques}constructor(e,t,n){this._location=e,this._route=t,this._dservice=n,this.layout_type=0,this.product_name="",this.ques_data=null,this.ques_referer=null,this.intro_truncate=!0,this.quest_category=null,this.start_delay=1e3,this.section_title="Questions & Answers",this.show_header=!0,this.presentation="first full version, rest short version",this.full_qna=0,this.top_ten_qna=null,this.questions_count=null,this.ask_quest_categories=null,this.is_details=!1,this.nodetruncate=null,this.answers_url_page=hx()+"/answers/",this.collapse=!1,this.full_qnas=[],this._qType=new oe(""),this._has_answer=!1,this.truncateBreakwords={480:16,2048:300},this.toggleSchema=!1,this.qschemapage=[{attribute:"itemscope",value:""},{attribute:"itemtype",value:"http://schema.org/FAQPage"}],this.qschemascope=[{attribute:"itemscope",value:""},{attribute:"itemprop",value:"mainEntity"},{attribute:"itemtype",value:"http://schema.org/Question"}],this.aschemascope=[{attribute:"itemprop",value:"acceptedAnswer"},{attribute:"itemscope",value:""},{attribute:"itemtype",value:"http://schema.org/Answer"}],this.aschematime=[{attribute:"itemprop",value:"dateCreated"}],this.userschema=[{attribute:"itemprop",value:"author"},{attribute:"itemscope",value:""},{attribute:"itemtype",value:"http://schema.org/Person"}],this.noresults=!1,this.resultserror=!1,this.search_loading=!1,this.answerexpand={},this.questionexpand={},this.question_more_answers={},this.answersmore={},this.questions_more=!1,this.has_enough_ques=!1,this.has_more_ques=!1,this.load_startup=!1,this.load_startup_fail=!1,this.is_android=!1,this.current_page=1,this.schquestions=[],this.total_ques=new kt,this.replyboxinput={},this.replyboxinputsubmited={},this.replyinprogress={},this.replyerror={},this.replyboxshow={},this.sortList=["Most Popular","Most Upvotes"],this.sortv="",this.sort_list_opened=!1,this.sort_list_closed=!1,this.user_avatar_fallback="https://cdn.wallethub.com/wallethub/images/profile/avatars/silhouette-50_V1d9a2cc_.png",this.ques_ask="",this.ansOptions=["Report"],this.qna_key_reset=!1,this._open_popup=!1,this.page_query="qpage",this.allow_animation=!1,this.live_status="",this.answers_link=hx()+"/answers/",RI()||(this.is_android=null!=navigator.userAgent.match(/Android/i)||navigator.platform&&null!=navigator.platform.match(/Android/i))}trackByFn(e){return e}_ParseQuestions(e,t,n){let i=[];return zI(e,((e,r)=>{if(null==e)return!0;let s=e;if(s.ques_title=e.ques_content,delete s.ques_content,s.ques_content_more=s.ques_more_info||s.ques_content_more||"",s.ques_more_info&&delete s.ques_more_info,s.ques_content_more.length>138&&(s.ques_content_cut_mob=s.ques_content_more.substring(0,138),s.ques_content_has_more=!0),s.ques_content_more.length>330?s.ques_content_cut_desk=s.ques_content_more.substring(138,330):s.ques_content_more.length>138&&(s.ques_content_cut_mob=s.ques_content_more,s.ques_content_has_more=!1),!s.ques_fullslug&&s.ques_slug&&(s.ques_fullslug=s.ques_slug+"-"+s.id.toString()),s.upvotelabel=s.upvote+" up vote"+(1!=s.upvote?"s":""),s.dnvotelabel=s.downvote+" down vote"+(1!=s.upvote?"s":""),s.ques_href=s.ques_href||"/answers/"+s.ques_fullslug,s.ques_href=hx()+s.ques_href.replace(hx(),""),this.collapse&&(s.collapsed=!0),t){let e=t(s,r);if("boolean"==typeof e&&!e)return!0}let o=r;BI(this.schquestions)&&(o+=this.schquestions.length),this._ParseAnswers(s,o,null,0,n),i.push(s)})),i}_ParseAnswers(e,t,n,i,r){let s=n||e.answers||[];if(BI(s)&&(e.answers=n?e.answers:[],s.length>0&&!this._has_answer&&(this._has_answer=!0),s.forEach(((n,i)=>{let s=n;s.user_login&&!s.user_login.startsWith("@")&&(s.user_login="@"+s.user_login),s.user_fullname=NI(s.user_fullname||""),BI(s.content)?(s.content_cut=s.content[0]||s.content[1],this.answers_content_clipped&&!e.from_search?(s.content_long=s.content[0],delete s.content_cut):s.content[0]?s.content_long=s.content[1]:(s.content_long=s.content_cut,delete s.content_cut)):(s.content_long=s.content,this.answers_content_clipped=!0),delete s.content,s.content_cut&&"string"==typeof s.content_cut&&(s.content_cut=s.content_cut.replace("[[:hellip:]]","...")),0!=t||e.from_search||e.answers.length||(s.content_long||(s.content_long=s.content_cut),delete s.content_cut,this.answerexpand[s.id]=!0),this.signon&&this.signon.id==s.uid&&(this.replyboxinputsubmited[e.id]=s.content_long||s.content_cut),s.content_cut&&(s.content_cut=this._FormatAnswer(s.content_cut)),s.content_long&&(s.content_long=this._FormatAnswer(s.content_long),s.content_long.includes("...")&&(s.has_more_button=!0)),s.full_content&&(s.full_content=this._FormatAnswer(s.full_content));let o=r?r(s,e,i):null;("boolean"!=typeof o||o)&&(e.answers.push(s),s.stackid=t.toString()+"-"+e.answers.indexOf(s).toString()),s.is_reportable=!1,s.sanitizecfg={RETURN_DOM_FRAGMENT:!1,RETURN_DOM:!1,USE_PROFILES:{html:!0,svg:!0,svgFilters:!0},ALLOW_UNKNOWN_PROTOCOLS:!0,KEEP_CONTENT:!0,ADD_TAGS:["meta","noscript"],ADD_ATTR:["content","itemprop","itemtype","itemscope","id","name","target","allow","allowfullscreen","frameborder"]},s.upvotelabel=s.upvote+" up vote"+(1!=s.upvote?"s":""),s.dnvotelabel=s.downvote+" down vote"+(1!=s.upvote?"s":""),(this.IsSpecial(s.id)||QI(s.uid,RB))&&s.sanitizecfg.ADD_TAGS.push("iframe")})),e.has_more_answers=(e.total_answers||0)>e.answers.length||e.answers.length>1&&!this.question_more_answers[e.id],void 0!==i&&!isNaN(parseInt(i.toString()))&&i>0&&(e.has_more_answers=!0),"default"===this.qna_presentation))0==t&&e.answers.length>1&&(e.answers[0].show_full=!0);XI((()=>{Mx.emit("$shortcodes:set")}))}_FormatAnswer(e){try{e=(e=(e=e.replace(/<p><\/p>/g,"")).replace(/<p>(\s|&nbsp;)+<\/p>/g,"")).replace(/((?:[^\S\n]*(<p>)\s*<br(?:\s*\/\s*)?>\s*(<\/p>)|\s*<br>){2,})/g,"")}catch(t){e=""}return e}SearchInput(e){let t=e.target.value;this._qType.next(t)}ControlSortList(e){this.sort_list_opened="boolean"==typeof e?e:!this.sort_list_opened,!RI()&&this.sort_list_opened&&document.getElementById("a11y-qna-list").focus()}ExpandContent(e,t){this[t+"expand"][e]=!this[t+"expand"][e]}RateContent(e,t="up"){if(!UI(this.signon)||!("id"in this.signon))return this.live_status="You must be logged in to vote",void(AI()?top.location.href="/join/light?ref="+encodeURIComponent(document.location.href):DI()&&Mx.emit("$native:api-no-session",{type:"rate-content"}));if(e.voteinprogress||e.downvoteinprogress)return;e.voteinprogress="up"==t,e.downvoteinprogress="down"==t;let n=e.id,i=e.answers||e.ques_title?"question":"answer",r=i,s=(e.id+"").match(/^([abceq])(\d+)$/);s&&(n=parseInt(s.pop()),r=s.pop(),~["q","a"].indexOf(r)||(r="q"+r)),Yx("content-vote-"+e.id),clearTimeout(this.live_status_timer),Gx({url:mx(),data:{action:"Answers.Vote",id:n,kind:r,dir:"down"==t?"dn":"up"},id:"content-vote-"+e.id,before:()=>{e.voteinprogress="up"==t,e.downvoteinprogress="down"==t,this.live_status="Voting "+i+" "+t},after:()=>{e.voteinprogress=!1,e.downvoteinprogress=!1},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((n=>{if(this.live_status="",n.error)throw Error("response error");e.upvote=n.votes_up,e.downvote=n.votes_dn,e.upvotelabel=e.upvote+" "+t+" vote"+(1!=e.upvote?"s":""),e.dnvotelabel=e.downvote+" "+t+" vote"+(1!=e.downvote?"s":""),this.live_status="up"==t?e.upvotelabel:e.dnvotelabel,n.upClass&&(e.upvotelabel+=". Pressed"),n.dnClass&&(e.dnvotelabel+=". Pressed"),this.live_status_timer=setTimeout((()=>{this.live_status=""}),1e3)})).catch((e=>{e instanceof Error?(Mx.emit("$server:error",{data:e.message}),this.live_status="Error saving your vote"):401==e.status&&(this.live_status="You must be logged in to vote",AI()?top.location.href="/join/light?ref="+encodeURIComponent(document.location.href):DI()&&Mx.emit("$native:api-no-session",{type:"rate-content"})),this.live_status_timer=setTimeout((()=>{this.live_status=""}),1e3)}))}IsSpecial(e){return~["c","b","e"].indexOf((e+"").charAt(0))}ControlAnsOpt(e){e.options_list_opened=!e.options_list_opened}AnsOpt(e,t){const n=LI(t.id);0==e&&window.open(`/report-abuse/?ru=${location.href.split("?")[0].split("#")[0]}&t=a&id=${n}`,"_self")}_throwReplyError(e,t="We encountered an error. Please retry"){this.replyerror[e]=this.replyerror[e]||{},this.replyerror[e].message=t,this.replyerror[e].show?(this.replyerror[e].show=!1,setTimeout((()=>{this.replyerror[e].show=!0}))):this.replyerror[e].show=!0}ShowReplybox(e){this.replyinprogress[e]||(this.replyboxshow[e]=!this.replyboxshow[e],this.replyboxshow[e]?this.replyboxinput[e]=this.replyboxinputsubmited[e]||"":(zI(this.schquestions,(t=>{if(t.id==e)return t.reply_bt_focus=!0,setTimeout((()=>{t.reply_bt_focus=!1}),100),!1})),this.replyboxinput[e]=""))}ReplyInput(e,t){this.replyboxinput[t]=e,this.replyerror[t]&&(this.replyerror[t].show=!1)}SubmitReply(e){let t=this.replyboxinput[e.id];t=NI(t),!t||t.length<30?this._throwReplyError(e.id,"Content must have 30 characters."):(clearTimeout(this.live_status_timer),this.live_status="Posting answer",Gx({url:mx(),data:{action:"Answers.AnswerQuestion",do:"user-answer",question_id:e.id,answer:t},headers:{"X-Requested-With":"XMLHttpRequest","Content-Type":"application/x-www-form-urlencoded"},before:()=>{this.replyinprogress[e.id]=!0},after:()=>{delete this.replyinprogress[e.id]}}).then((t=>{if(this.live_status="",t&&"redirect"in t)return DI()?Mx.emit("$native:api-no-session",{type:"answer-submit-login",redirect:t.redirect}):top.location.href=t.redirect,void setTimeout((()=>{this.replyinprogress[e.id]=!0}));if(t.error&&"message"in t){let n=[e.id];const i=t.message.match(/^Bad word `([^`]+)` detected.$/);return i&&i.length&&n.push(`Profanity is not allowed, including words such as "${i[1]}". Please adjust.`),void this._throwReplyError.apply(this,n)}if(t.error)this._throwReplyError(e.id);else{let n=(e.answers||[]).findIndex((e=>e.id==t.id)),i={date:t.date,id:t.id,content:[t.answer],user_login:t.user_login||t.username,user_fullname:NI(t.user_fullname||t.fullname||""),user_avatar:t.user_avatar||t.avatar,user_title:t.user_title||"",edited:t.edited},r={id:e.id,has_more_answers:e.has_more_answers,answers:[i]};i.user_avatar&&i.user_avatar.startsWith("//")&&(i.user_avatar="https:"+i.user_avatar),this._ParseAnswers(r,r.id);let s=r.answers[0];s.my_ans=!0,this.answerexpand[s.id]=!0;let o=s;n>-1?(s.edited=!0,Object.assign(e.answers[n],s),o=e.answers[n]):e.answers.unshift(s),this.replyboxinputsubmited[e.id]=t.answer,delete this.replyboxshow[e.id],this.live_status="Answer posted",o.focuson=!0,setTimeout((()=>{o.focuson=!1}),100),this.live_status_timer=setTimeout((()=>{this.live_status=""}),1e3)}})).catch((t=>{console.error(t),this._throwReplyError(e.id)})))}QSearch(e,t){this.resultserror=!1;let n=t?null:NI(null!=e?e:this._qType.getValue())||"";if(this.current_page=1,Yx("qna-search-query"),Yx("qna-load-initial"),!n)return void this._StartupLoad(!0);clearTimeout(this.live_status_timer);let i={id:"qna-search-query",url:mx(),data:{action:"Answers.CommunitySearch",query:n},before:()=>{this.search_loading=!0,this.live_status="Searching for answers"},after:()=>{this.search_loading=!1},method:"GET"};this.quest_category?i.data.category=this._stripSlashes(this.quest_category):i.data.uri=this.ques_referer,Gx(i).then((e=>{if(!e||!BI(e))throw this.live_status="no matching results",this.live_status_timer=setTimeout((()=>{this.live_status=""}),1e3),Error("Data provide is invalid");this.answerexpand={},this.questionexpand={},this.schquestions=this._ParseQuestions(e,(e=>{e.from_search=!0})),this.noresults=0==this.schquestions.length,this.live_status=(this.noresults?"no ":"")+"matching results",this.live_status_timer=setTimeout((()=>{this.live_status=""}),1e3)})).catch((e=>{e instanceof Error&&console.error(e),this.resultserror=!0,this.live_status="no matching results",setTimeout((()=>{this.live_status=""}),1e3)}))}QReset(){this.QSearch(null,!0)}QClear(){this._qType.next(""),this.qna_key_reset=!0,setTimeout((()=>{this.qna_key_reset=!1}),10)}_stripSlashes(e){return 0==e.indexOf("/")&&(e=e.substring(1)),e.lastIndexOf("/")==e.length-1&&(e=e.substring(0,e.length)),e}ViewMoreAns(e,t){if(e.answers.length>1&&!this.question_more_answers[e.id])return this.question_more_answers[e.id]=!0,void(e.has_more_answers=(e.total_answers||0)>e.answers.length);this.live_status="Loading more answers",Gx({url:mx(),method:"GET",data:{action:"Answers.GetMoreAnswers",answers:e.answers.length,qid:e.id,v:2},before:()=>{this.answersmore[e.id]=!0},after:()=>{this.answersmore[e.id]=!1}}).then((n=>{if(this.live_status="",!n||!BI(n.answers))throw Error("Required `answers` Array is not part of response");this.question_more_answers[e.id]=!0,this._ParseAnswers(e,t,n.answers,n.left,((e,t,n)=>{0==n&&(e.focuson=!0,setTimeout((()=>{e.focuson=!1}),100))})),this.live_status="Loaded "+n.answers.length+" more answer"+(1!=n.answers.length?"s":""),setTimeout((()=>{this.live_status=""}),1e3)})).catch((e=>{this.live_status="",console.error(e)}))}AnswerExpanded(e,t){t.is_expanded=e}DisplayShowMoreButton(e,t){t.has_more_button=e}_LoadQues(e){e&&(this.live_status="Questions are now sorted by "+this.sortv,this.current_page=1,this.sortFocus=!0),Yx("qna-more-questions");let t,n={uri:this.ques_referer,action:"Answers.GetForPage"};this.is_details&&(n.action="Details.GetQuestions",n.v="3"),this.questions_count&&this.questions_count>0&&(n.rpp=this.questions_count),this.current_page>1&&(n.p=this.current_page),this.sortingparam&&(n.sort_by=this.sortingparam),Gx({url:mx(),method:"GET",data:n,before:()=>{this.questions_more=!0,t=this._dservice&&this._dservice.element&&this._dservice.element.scrollTop,this.live_status=e?"Sorting questions by "+("mv"!=this.sortingparam?"most popular":"most upvotes"):"Loading more questions"},after:()=>{this.questions_more=!1},id:"qna-more-questions"}).then((n=>{if(this.live_status="",!n||!BI(n.questions))throw Error("Required `question` Array is not part of response");this.has_enough_ques=n.pages&&n.pages>1,this.has_more_ques=n.current_page&&n.pages&&n.current_page<n.pages,e?(this.schquestions=[],this.has_enough_ques=!0):(this.live_status="Loaded "+n.questions.length+"more question"+(1!=n.questions.length?"s":""),setTimeout((()=>{this.live_status=""}),1e3)),this.schquestions=this.schquestions.concat(this._ParseQuestions(n.questions,((t,n)=>{0!=n||e||(t.focuson=!0,setTimeout((()=>{t.focuson=!1}),100))}))),this.noresults=0==this.schquestions.length,setTimeout((()=>{this._dservice&&this._dservice.element&&this._dservice.scrollTo({position:t,timing:0})}))})).catch((e=>{this.live_status="",console.error(e)}))}ViewMoreQuestions(){this.current_page++,this._LoadQues()}ChangeSort(e){if(this.sortv=this.sortList[e],1===e)this.sortingparam="mv";else this.sortingparam="mp";this._LoadQues(!0),this.sort_list_closed=!0,this.sort_list_opened=!1,setTimeout((()=>{this.sort_list_opened=!1,this.sort_list_closed=!1}))}AskQuestion(e){let t=e&&e.currentTarget;this._quesOverlay&&this._quesOverlay.Open(vH,{input:this.ques_ask||this._qType.getValue()||"",referer:hx()+this.ques_referer,addparams:this.addAskParams,categories:this.ask_quest_categories},{return_focus_to:t||null})}_parseInitialData(e){this.schquestions=this._ParseQuestions(e.questions||[]),this.noresults=0==this.schquestions.length,this.has_enough_ques=e.pages&&e.pages>1,this.has_more_ques=e.current_page&&e.pages&&e.current_page<e.pages,this.load_startup_fail=!1,this.noresults?this.schq_count=null:this.schq_count=`${e.total_questions} question${1!=e.total_questions?"s":""}`,this.total_ques.emit(e.total_questions||0),e.categories&&!this.ask_quest_categories&&(this.ask_quest_categories=e.categories),e.current_page&&e.current_page>1&&(this.current_page=e.current_page),(this.collapse||this.presentation&&"all collapsed"==this.presentation.toLowerCase())&&this.schquestions.forEach((e=>{e.collapsed=!0}))}_StartupLoad(e){this.load_startup_fail=!1;let t={uri:this.ques_referer,action:"Answers.GetForPage"};this.current_page>1&&(t.p=this.current_page),this.sortingparam&&(t.sort_by=this.sortingparam),this.questions_count&&this.questions_count>0&&(t.rpp=this.questions_count),Yx("qna-load-initial"),Gx({url:mx(),method:"GET",data:t,before:()=>{e?this.search_loading=!0:this.load_startup=!0},after:()=>{e?this.search_loading=!1:this.load_startup=!1},id:"qna-load-initial"}).then((t=>{if(!t||t.error||t.questions&&!BI(t.questions))throw Error("Required `question` Array is not part of response");this._parseInitialData(t),e&&(this.has_enough_ques=!0)})).catch((e=>{console.error(e),this.load_startup_fail=!0}))}RetryLoadData(){this._StartupLoad()}ngOnInit(){this.sortv=this.sortList[0],this.sortingparam="mp",!RI()&&cD()?(this.signon=aD(),this.user_avatar=this.signon&&this.signon.pp||this.user_avatar_fallback,0==this.user_avatar.indexOf("//")&&(this.user_avatar="https:"+this.user_avatar)):this.user_avatar=null;let e=this._location.path().split("?")[0];if(this.ques_referer=this.ques_referer||e.replace("/ng-home",""),0==this.ques_referer.indexOf(hx())&&(this.ques_referer=this.ques_referer.replace(hx(),"")),0!=this.ques_referer.indexOf("/")&&(this.ques_referer="/"+this.ques_referer),this.ques_referer.startsWith("/personal-loans")||this.ques_referer.lastIndexOf("/")!==this.ques_referer.length-1&&(this.ques_referer+="/"),this.page_query&&!RI()&&this._route.queryParams.pipe(yt(1)).subscribe((e=>{let t=e[this.page_query],n=t?MI(t):0;n&&(this.ques_data&&this.ques_data.pages?n<=this.ques_data.pages&&n!=this.ques_data.current_page?(this.current_page=n,this.ques_data=null):this.ques_data.questions.length<1&&(this.ques_data.pages=1):(this.current_page=n,this.ques_data=null))})),this.ques_data&&this.ques_data.questions&&BI(this.ques_data.questions)?this._parseInitialData(this.ques_data):RI()||(this.load_startup=!0,setTimeout((()=>{this._StartupLoad()}),this.start_delay||1)),!RI()){let e,t;const n=this._qType.pipe(bt(200)).subscribe({next:n=>{let i=NI((n||"").replace(/(\r\n\t|\n|\r\t)/gm," "));null!==n&&i!=e&&i.length>1?(e=i,t=!0,this.QSearch(i)):t&&(!i||i.length<2)&&(e=i,t=!1,this.QReset())},error:()=>{},complete:()=>{n.unsubscribe()}})}}QuesCollapse(e,t){RI()||(e.preventDefault(),t.collapsed=!t.collapsed)}ShowFullAns(e){const t="varied"===this.qna_presentation||"default"===this.qna_presentation,n=this.full_qna>0,i=e<this.full_qna;return t&&n&&i}ngAfterViewInit(){RI()||XI((()=>{this.allow_animation=!0}))}ngOnDestroy(){this._qType.complete(),Yx("qna-load-initial")}}kB.ɵfac=function(e){return new(e||kB)(Yc(lE),Yc(xM),Yc(lC))},kB.ɵcmp=vn({type:kB,selectors:[["","id","qna-box"]],viewQuery:function(e,t){if(1&e&&(Xm(yH,5),Xm(wH,5),Xm(EH,5)),2&e){let e;ev(e=tv())&&(t.txtElement=e.first),ev(e=tv())&&(t._quesOverlay=e.first),ev(e=tv())&&(t._answersList=e)}},hostVars:4,hostBindings:function(e,t){2&e&&gg("qna-type1",0==t.layout_type)("qna-no-more",!t.has_view_more)},inputs:{layout_type:[e.InputFlags.None,"type","layout_type"],product_name:[e.InputFlags.None,"product-name","product_name"],ques_data:[e.InputFlags.None,"product-questions","ques_data"],ques_referer:[e.InputFlags.None,"product-referer","ques_referer"],intro_content:[e.InputFlags.None,"use-intro","intro_content"],intro_truncate:[e.InputFlags.None,"intro-truncate","intro_truncate"],quest_category:[e.InputFlags.None,"product-category","quest_category"],start_delay:[e.InputFlags.None,"startup-delay","start_delay"],section_title:[e.InputFlags.None,"section-title","section_title"],show_header:[e.InputFlags.None,"show-header","show_header"],presentation:"presentation",full_qna:[e.InputFlags.None,"full-qna","full_qna"],top_ten_qna:[e.InputFlags.None,"top-ten","top_ten_qna"],questions_count:[e.InputFlags.None,"questions-count","questions_count"],ask_quest_categories:[e.InputFlags.None,"question-categories","ask_quest_categories"],is_details:[e.InputFlags.None,"details-qna","is_details"],nodetruncate:[e.InputFlags.None,"ssr-answer-truncate","nodetruncate"],toggleSchema:[e.InputFlags.None,"toggle-schema","toggleSchema"],open_popup:[e.InputFlags.None,"show-ask-popup","open_popup"],focus_on_input:[e.InputFlags.None,"scroll-to-ask","focus_on_input"],addAskParams:[e.InputFlags.None,"question-ask-add-params","addAskParams"],page_query:[e.InputFlags.None,"pagination-query","page_query"]},outputs:{total_ques:"total-questions"},attrs:["id","qna-box"],decls:22,vars:26,consts:[[3,"ng-aria-live"],["class","qna-heading qnah-2 bold-font",4,"ngIf"],["class","qna-heading",3,"ngClass","ng-context",4,"ngIf"],["class","qna-prg",4,"ngIf"],["zing-touch","","class","qna-prg",3,"zing-url-container","cleanHTML",4,"ngIf"],["class","qna-prg","zing-touch","",3,"zing-url-container","ng-truncate","breakwords","breakpoint",4,"ngIf"],["class","qna-search-box",4,"ngIf"],[1,"qna-sort",3,"ngClass","ng-hidden"],["role","button","tabindex","0","ng-focus","","aria-haspopup","listbox","aria-controls","a11y-qna-list","aria-owns","a11y-qna-list","zing-touch","",1,"qna-most-list-active","inline-block",3,"focus-when","no-click","onClick","onTapOutside"],["aria-hidden","true","tabindex","-1",1,"af-icon-down-open"],["id","a11y-qna-list","role","listbox","ng-focus","","tabindex","0","aria-labelledby","label-id-qna-sort",1,"qna-most-list","basic-trans",3,"focus-when","no-click","ng-hidden"],["role","option","tabindex","0","class","qna-most-list-it bold-font","zing-touch","",3,"qnaml-first","onClick",4,"ngFor","ngForOf","ngForTrackBy"],["id","label-id-qna-sort","hidden","true"],["class","qna-form-box",4,"ngIf"],["class","qna-questions-box",3,"qna-qb-loading","ng-hidden","ng-attribute","ng-attribute-when",4,"ngIf"],["class","qna-q-get-more",4,"ngIf"],["title",""],["quesOverlay",""],["class","qna-startup-load progress-indicator-container ng-enter-element",4,"ngIf"],["class","qna-startup-fail ng-enter-element",4,"ngIf"],[1,"qna-heading","qnah-2","bold-font"],[3,"ng-context"],["class","qa-count semi-bold-font",4,"ngIf"],[1,"qa-count","semi-bold-font"],[1,"qna-heading",3,"ngClass","ng-context"],[1,"qna-prg"],["zing-touch","","target","_blank","rel","noopener",1,"link",3,"href","zing-url"],["zing-touch","",1,"qna-prg",3,"zing-url-container","cleanHTML"],["zing-touch","",1,"qna-prg",3,"zing-url-container","ng-truncate","breakwords","breakpoint"],[1,"qna-search-box"],["aria-label","Search for answers",1,"label-input","full",3,"scroll-to"],["placeholder","Have a question? Search for answers","ng-autosize","","aria-label","keyword",1,"qna-search-input","textarea",3,"value","sizeupdate","input"],["class","qba-sc-cross lbl-b ng-enter-element","zing-touch","","role","button","aria-label","Clear field",3,"onTap",4,"ngIf"],["aria-label","Search","type","button","zing-touch","",1,"lbl-b","action","af-icon-search",3,"ng-hidden","onTap"],[1,"qna-ask-q-suggest","semi-bold-font","ng-enter-element",3,"ng-hidden"],[4,"ngIf"],["zing-touch","","aria-haspopup","dialog",1,"btn","fixed-w-h",3,"onClick"],["aria-hidden","true","tabindex","-1"],["class","qna-search-state bold-font",4,"ngIf"],["zing-touch","","role","button","aria-label","Clear field",1,"qba-sc-cross","lbl-b","ng-enter-element",3,"onTap"],[1,"qna-search-state","bold-font"],["role","option","tabindex","0","zing-touch","",1,"qna-most-list-it","bold-font",3,"onClick"],[1,"qna-form-box"],["class","qna-fb-hero",4,"ngIf"],[1,"qna-ques-form"],[1,"qna-qf-av"],["width","40","height","40","alt","",3,"src","on-img-error"],[1,"qna-qf-input",3,"scroll-to"],["placeholder","Have a question? Ask the WalletHub community.","aria-label","Ask a question","ng-autosize","",1,"qna-qf-txt","textarea","semi-bold-font",3,"value","input"],["zing-touch","","aria-haspopup","dialog",1,"btn","fixed-w-f",3,"onClick"],[1,"qna-fb-hero"],[1,"qna-questions-box",3,"ng-hidden","ng-attribute","ng-attribute-when"],["class","qna-loading-box ng-enter-element",4,"ngIf"],["class","qna-question-item",3,"qna-q-search","ng-attribute","ng-attribute-when","ngClass",4,"ngFor","ngForOf","ngForTrackBy"],[1,"qna-loading-box","ng-enter-element"],[1,"progress-indicator","always-v","visible"],[1,"qna-question-item",3,"ng-attribute","ng-attribute-when","ngClass"],[1,"qna-left-col"],[1,"qna-q-upvotes"],[1,"qna-q-upvotes-count",3,"ng-attribute","ng-attribute-when"],[1,"bold-font"],[1,"qna-right-col"],[1,"qna-q-title-box","bold-font",3,"ng-attribute","ng-attribute-when","ngClass"],["class","qna-q-title link",3,"cleanHTML","qt-as-link",4,"ngIf"],["class","qna-accordion-btn","zing-touch","",3,"ngClass","onTap",4,"ngIf"],[1,"qna-accordion",3,"ngClass"],["class","qna-q-content ng-enter-element text-select",3,"cleanHTML",4,"ngIf"],["class","qna-q-content ng-enter-element qna-q-desk text-select",3,"cleanHTML",4,"ngIf"],["class","qna-q-content qna-q-desk",4,"ngIf"],["class","qna-q-content-more semi-bold-font","zing-touch","","role","button","aria-expanded","false",3,"ng-hidden","onTap",4,"ngIf"],["class","qna-q-content-more semi-bold-font","zing-touch","","role","button","aria-expanded","true",3,"ng-hidden","onTap",4,"ngIf"],[1,"qna-q-actions"],["class","qna-q-reply link semi-bold-font","zing-touch","","role","button","tabindex","0","ng-focus","",3,"focus-when","no-click","onClick",4,"ngIf"],[1,"qna-q-thumbs"],["zing-touch","","role","button","tabindex","0",1,"up","vote","bf-icon-upvote","progress-indicator","qna-qvt",3,"zing-no-touch","onTap"],["class","progress-spin","aria-hidden","true","tabindex","-1",4,"ngIf"],[1,"vote-text"],["zing-touch","","role","button","tabindex","0",1,"dn","vote","bf-icon-downvote","progress-indicator",3,"zing-no-touch","onTap"],["class","qna-q-replyform ng-enter-element","form-submit","",3,"onSubmit",4,"ngIf"],[1,"qna-q-answers",3,"ng-hidden"],["class","qna-q-ans basic-trans",3,"ng-hidden","ng-attribute","ng-attribute-when",4,"ngFor","ngForOf","ngForTrackBy"],["class","qna-qa-show-more progress-indicator-container",4,"ngIf"],["class","qna-q-title link","zing-touch","","rel","noopener","ng-focus","",3,"href","zing-url","cleanHTML","qt-as-link","focus-when","no-click",4,"ngIf"],["zing-touch","","rel","noopener","ng-focus","",1,"qna-q-title","link",3,"href","zing-url","cleanHTML","focus-when","no-click"],["class","qna-q-title link","rel","noopener","ng-focus","",3,"href","cleanHTML","qt-as-link","focus-when","click",4,"ngIf"],["rel","noopener","ng-focus","",1,"qna-q-title","link",3,"href","cleanHTML","focus-when","click"],[1,"qna-q-title","link",3,"cleanHTML"],["zing-touch","",1,"qna-accordion-btn",3,"ngClass","onTap"],[1,"qna-accordion-btn-icon"],[1,"qna-q-content","ng-enter-element","text-select",3,"cleanHTML"],[1,"qna-q-content","ng-enter-element","qna-q-desk","text-select",3,"cleanHTML"],[1,"qna-q-content","qna-q-desk"],["zing-touch","","role","button","aria-expanded","false",1,"qna-q-content-more","semi-bold-font",3,"ng-hidden","onTap"],["zing-touch","","role","button","aria-expanded","true",1,"qna-q-content-more","semi-bold-font",3,"ng-hidden","onTap"],["zing-touch","","role","button","tabindex","0","ng-focus","",1,"qna-q-reply","link","semi-bold-font",3,"focus-when","no-click","onClick"],["aria-hidden","true","tabindex","-1",1,"progress-spin"],["form-submit","",1,"qna-q-replyform","ng-enter-element",3,"onSubmit"],[1,"avatar"],["width","","height","","alt","",3,"src","on-img-error"],[1,"reply-box","ck-answer-editor"],[3,"value","active","cursor-focus","readonly","valueChange"],[1,"reply-act"],[3,"message","show","close-on-change","timer"],["type","button","aria-label","Cancel","zing-touch","",1,"btn","grey","fixed-w",3,"disabled","onClick"],["type","submit","aria-label","Submit","zing-touch","",1,"btn","blue","fixed-w","with-loader","no-disabled",3,"disabled","zing-feedback"],["aria-hidden","true","tabindex","-1",1,"btn-loader"],[1,"qna-q-ans","basic-trans",3,"ng-hidden","ng-attribute","ng-attribute-when"],[1,"qna-qa-top"],[1,"avatar",3,"defer-src","src-fallback","ui-hydrate"],["alt","user avatar","width","40","height","40",1,"avatar-img"],["deferImg",""],[1,"qna-qa-names","text-select"],["class","full-name semi-bold-font",4,"ngIf"],["aria-hidden","true","tabindex","-1",1,"second-name"],["class","qna-qa-sort","role","listbox",4,"ngIf"],["zing-touch","",1,"qna-q-ans-content","with-links","text-select",3,"cleanHTML","zing-url-container","ng-attribute","ng-attribute-when"],["class","qna-q-ans-content qna-ans-show-more",4,"ngIf"],["class","qna-q-thumbs",4,"ngIf"],[1,"full-name","semi-bold-font"],["class","author-cap",4,"ngIf"],[1,"author-cap"],["role","listbox",1,"qna-qa-sort"],["zing-touch","",1,"af-icon-down-open","cursor-pointer",3,"onTap","onTapOutside"],["zing-touch","",1,"qna-most-list","basic-trans",3,"ng-hidden","onTap"],["role","option","zing-touch","","class","qna-most-list-it bold-font",3,"qnaml-first","onTap",4,"ngFor","ngForOf","ngForTrackBy"],["role","option","zing-touch","",1,"qna-most-list-it","bold-font",3,"onTap"],[1,"qna-q-ans-content","qna-ans-show-more"],["zing-touch","","rel","nofollow",1,"qna-ans-show-more-button","link",3,"href","zing-url"],["aria-hidden","true","tabindex","-1",1,"bf-icon-right-open-big"],["zing-touch","","role","button","tabindex","0",1,"up","vote","bf-icon-upvote","progress-indicator",3,"zing-no-touch","onTap"],["aria-hidden","true","tabindex","-1","class","progress-spin",4,"ngIf"],[1,"vote-text",3,"ng-attribute","ng-attribute-when"],[1,"qna-qa-show-more","progress-indicator-container"],["class","progress-indicator visible",4,"ngIf"],["zing-touch","","role","button",1,"qna-qa-sm-bt","link","inherit",3,"onTap"],[1,"progress-indicator","visible"],[1,"qna-q-get-more"],["class","btn blue-brds tall with-loader no-disabled bold-font","aria-label","View More Questions","zing-touch","",3,"loadactive","onTap",4,"ngIf"],["zing-touch","","aria-label","Ask Your Question",1,"btn","tall","qna-qgm-btn-last","blue-brds","bold-font",3,"onClick"],[1,"qna-qgm-mhide"],["aria-label","View More Questions","zing-touch","",1,"btn","blue-brds","tall","with-loader","no-disabled","bold-font",3,"onTap"],[1,"bt-text"],[1,"qna-startup-load","progress-indicator-container","ng-enter-element"],[1,"qna-startup-fail","ng-enter-element"],[1,"qna-prg","center","semi-bold-font","qna-prg-smaller"],[1,"center"],["zing-touch","",1,"btn","blue-brds","fixed-w-f","with-loader",3,"onTap"]],template:function(e,t){1&e&&(o_(0,"div",0),cp(1,IH,3,2,"h2",1)(2,SH,1,5,"h2",2)(3,AH,6,3,"p",3)(4,xH,1,2,"p",4)(5,DH,1,4,"p",5)(6,LH,13,12,"div",6),r_(7,"div",7)(8,"span",8),Nm("onClick",(function(){return t.ControlSortList()}))("onTapOutside",(function(){return t.ControlSortList(!1)})),Iv(9),o_(10,"i",9),s_(),r_(11,"ul",10),cp(12,PH,2,3,"li",11),s_(),r_(13,"div",12),Iv(14,"Questions sort"),s_()(),cp(15,HH,9,5,"div",13)(16,IB,3,8,"div",14)(17,SB,7,1,"div",15),o_(18,"modal-dialog",16,17),cp(20,AB,3,0,"div",18)(21,xB,7,0,"div",19)),2&e&&(hg("ng-aria-live",t.live_status),$c(),hg("ngIf",t.show_header&&1==t.layout_type),$c(),hg("ngIf",t.show_header&&1!=t.layout_type),$c(),hg("ngIf",t.product_name),$c(),hg("ngIf",t.intro_content&&!t.intro_truncate),$c(),hg("ngIf",t.intro_content&&t.intro_truncate),$c(),hg("ngIf",t.has_enough_ques&&!t.load_startup&&!t.load_startup_fail),$c(),hg("ngClass",eb(24,DB,t.allow_animation))("ng-hidden",!t.has_enough_ques||0==t.schquestions.length||t.show_search_state||t.show_search_state_empty||t.resultserror),$c(),hg("focus-when",t.sort_list_closed)("no-click",!0),Df("aria-expanded",t.sort_list_opened)("aria-label",t.sortv),$c(),Av("",t.sortv," "),$c(2),hg("focus-when",t.sort_list_opened)("no-click",!0)("ng-hidden",!t.sort_list_opened),$c(),hg("ngForOf",t.sortList)("ngForTrackBy",t.trackByFn),$c(3),hg("ngIf",!t.has_enough_ques&&!t.load_startup&&!t.load_startup_fail),$c(),hg("ngIf",t.search_loading||t.questions_more||t.schquestions.length),$c(),hg("ngIf",t.has_view_more),$c(3),hg("ngIf",t.load_startup&&!t.load_startup_fail),$c(),hg("ngIf",t.load_startup_fail))},dependencies:[gT,bT,wT,iC,$A,GA,uC,KA,JA,rx,ZM,IR,wR,gR,jM,QM,Lk,DR,tD],encapsulation:2});class OB{}OB.ɵfac=function(e){return new(e||OB)},OB.ɵmod=wn({type:OB}),OB.ɵinj=Vr({imports:[tI,ax,JM,CR,ER,NM,_R,PM,VM,KM,Pk,bH,kR,nD]});function NB(e,t){1&e&&(r_(0,"div",10),o_(1,"i"),s_())}function FB(e,t){if(1&e&&(r_(0,"div",11),o_(1,"h2",12),s_()),2&e){const e=Hm(2);$c(),hg("innerHTML",e.header_text||"Ask the Experts",Hl)("ng-speak-when",e.head_focus)}}function LB(e,t){if(1&e&&o_(0,"div",13),2&e){hg("cleanHTML",Hm(2).intro)}}function PB(e,t){if(1&e){const e=h_();l_(0),r_(1,"span",21),Iv(2),s_(),o_(3,"br"),r_(4,"i",22),Iv(5),s_(),o_(6,"br"),r_(7,"span",23),Nm("onClick",(function(){ji(e);const t=Hm().$implicit;return Vi(Hm(2).gotToOne(t.HASHTAG))})),Iv(8,"Read More"),s_(),c_()}if(2&e){const e=Hm(),t=e.index,n=e.$implicit,i=Hm(2);$c(),hg("ng-speak-when",i.center_experts&&0===t),$c(),Sv(n.AUTHOR),$c(3),Sv(n.CAPTION)}}function MB(e,t){if(1&e){const e=h_();l_(0),r_(1,"span",24),Nm("onClick",(function(){ji(e);const t=Hm().$implicit;return Vi(Hm(2).gotToOne(t.HASHTAG))})),s_(),c_()}if(2&e){const e=Hm().$implicit;$c(),hg("ng-context",e.AUTHOR)}}function HB(e,t){if(1&e){const e=h_();r_(0,"div",14)(1,"div",15)(2,"span",16),Nm("onClick",(function(){const t=ji(e).$implicit;return Vi(Hm(2).gotToOne(t.HASHTAG))})),o_(3,"img",17,18),s_()(),r_(5,"div",19),cp(6,PB,9,3,"ng-container",20)(7,MB,2,1,"ng-container",20),s_()()}if(2&e){const e=t.$implicit,n=Hm(2);gg("gallery-item-logo",n.as_logos),$c(2),hg("defer-src",e.AVATAR)("zing-no-touch",!0)("ui-hydrate",n.srv_no_avatars),Df("aria-label",e.AUTHOR),$c(),gg("exp-img-logo",n.as_logos),hg("alt",e.AUTHOR),$c(3),hg("ngIf",!n.as_logos),$c(),hg("ngIf",n.as_logos)}}function BB(e,t){if(1&e){const e=h_();r_(0,"div",25)(1,"span",26),Nm("onClick",(function(){ji(e);return Vi(Hm(2).showMoreExperts())})),s_()()}if(2&e){const e=Hm(2);$c(),hg("ng-context",e.more_btn_txt)}}function zB(e,t){if(1&e&&(r_(0,"i"),Iv(1),s_()),2&e){const e=Hm(3);$c(),Sv(null==e.expert_full?null:e.expert_full.CAPTION)}}function qB(e,t){if(1&e&&o_(0,"div",33),2&e){hg("innerHtml",Hm(3).expert_full.CONTENT,Hl)}}function UB(e,t){if(1&e&&o_(0,"div",34),2&e){const e=Hm(3);hg("cleanHTML",e.expert_full.CONTENT)("cleanHTML-sett",e.doompurifySett)}}function jB(e,t){if(1&e){const e=h_();r_(0,"article",27),o_(1,"img",28),r_(2,"h3",29),Iv(3),s_(),cp(4,zB,2,1,"i",20)(5,qB,1,1,"div",30)(6,UB,1,2,"div",31),r_(7,"button",32),Nm("onClick",(function(){ji(e);return Vi(Hm(2).goToAll())})),Iv(8),s_()()}if(2&e){const e=Hm(2);gg("exp-logo-profile",e.as_logos),$c(),hg("src",null==e.expert_full?null:e.expert_full.AVATAR,zl),$c(2),Sv(null==e.expert_full?null:e.expert_full.AUTHOR),$c(),hg("ngIf",!e.as_logos),$c(),hg("ngIf",!e.as_logos),$c(),hg("ngIf",e.as_logos),$c(),hg("ngClass",e.back_bt_class),$c(),Sv(e.back_bt_text)}}const VB=(e,t,n,i,r,s)=>({"exp-gal-one-it":e,"exp-gal-two-it":t,"expert-single":n,"blink-end":i,empty:r,"experts-format-a":s});function WB(e,t){if(1&e&&(r_(0,"section",1),cp(1,NB,2,0,"div",2)(2,FB,2,2,"div",3)(3,LB,1,1,"div",4),r_(4,"div",5)(5,"div",6),cp(6,HB,8,11,"div",7)(7,BB,2,1,"div",8)(8,jB,9,9,"article",9),s_()()()),2&e){const e=Hm();hg("ngClass",sb(13,VB,e.experts.length<2,e.experts.length<3,e.expert_single,!e.expert_single&&!e.loading&&!e.is_initial,e.emptydata,1==e.layout_format))("scroll-to",e.scrollall),$c(),hg("ngIf",e.loading),$c(),hg("ngIf",!e.layout_format),$c(),hg("ngIf",e.intro&&!e.expert_single),$c(),gg("all",!e.expert_single),hg("scroll-to",e.center_experts),$c(),hg("scroll-to",e.scrollsingle)("scrolloffset",e.expert_offset),$c(),hg("ngForOf",e.experts),$c(),hg("ngIf",e.hasmoreexperts&&!e.expert_single),$c(),hg("ngIf",e.expert_single)}}l.import("css:/components/experts-gallery.css").then((()=>{}),(()=>{}));class $B{constructor(e){this._zone=e,this.experts=[],this.expert_single=!1,this.expert_offset=0,this.max_experts=Number.MAX_SAFE_INTEGER,this.header_text="",this.srv_no_avatars=!1,this.no_scroll_all=!1,this.current_page=0,this.questions=[],this.scrollall=!1,this.head_focus=!1,this.center_experts=!1,this.scrollsingle=!1,this.loading=!1,this.emptydata=!1,this.norender=!1,this.dataerror=!1,this.hasmoreexperts=!1,this.isnode=!1,this.doompurifySett={USE_PROFILES:{html:!0,svg:!0,svgFilters:!0},ALLOW_UNKNOWN_PROTOCOLS:!0,KEEP_CONTENT:!0,ADD_TAGS:["meta","noscript","iframe"],ADD_ATTR:["content","itemprop","itemtype","itemscope","id","name","src"]},this.as_logos=!1,this.is_initial=!0,this._rendered=!1,this._hashtaglist={},this._refreshonurl=!1,this.refreshdelay=1,this.asyncdata=!1,this.server_render=!1,this.layout_format=0,this.back_bt_text="Back to All Experts",this.back_bt_class="btn blue",this.more_btn_txt="More Experts",this.changedExpert=new kt,this.tagMatch=new kt,this._servertransitwait=!0}get hashname(){return this._hashname}set hashname(e){this._hashname=e,e&&this._rendered?this._goToExpert(e):this.expert_single=!1}set data(e){this._data=e,e&&BI(e.expertsContent)?(Yx("experts-gallery"),this.expert_single=!1,this._parseExperts(this._data),this.asyncdata&&this._setExpertsPagination(),!this.emptydata&&this._hashname&&this._goToExpert(this._hashname),e.aslogos&&(this.as_logos=!0)):e&&!e.expertsContent&&(this.emptydata=!0)}get data(){return this._data}get urlpath(){return this._urlpath}set urlpath(e){let t=e&&e!==this._urlpath;this._urlpath=e,t&&(this.urlrefresh=this.urlrefresh)}set urlrefresh(e){this._refreshonurl=e,e&&this._urlpath&&!this._data&&!this.asyncdata?this._refreshonurl=!0:this._refreshonurl=!1}get urlrefresh(){return this._refreshonurl}_goToExpert(e,t){this.is_initial=!1;let n,i=()=>{this.scrollsingle=!0,setTimeout((()=>{this.scrollsingle=!1}),100)};e=e.toString().toLowerCase(),this._hashtaglist.hasOwnProperty(e)&&this._data.expertsContent[this._hashtaglist[e]]?(this.expert_single=!0,this.expert_full!==this._data.expertsContent[this._hashtaglist[e]]&&(this.expert_full=this._data.expertsContent[this._hashtaglist[e]],XI((()=>{this._zone.run((()=>{if(AI()&&this._servertransitwait){if(!t){let e=Mx.subscribe("server:transitscroll",(t=>{"done"!=t&&"none"!=t||i(),setTimeout((()=>{e&&e.unsubscribe()}))}))}this._servertransitwait=!1}else t||i()}))}))),n=!0):n=!1,this.tagMatch.emit(n)}_storeTags(){this._hashtaglist={};for(let e=0,t=this.experts.length;e<t;e++){let t=this.experts[e].HASHTAG.substring(1);t=t.toLowerCase(),this._hashtaglist[t]=e+(0===this.current_page?0:this.current_page-1)*this.max_experts}}_parseExperts(e){e.expertsContent.length>0?(this.experts=e.expertsContent,this.hasmoreexperts=!!this.max_experts&&e.expertsContent.length>this.max_experts,this.intro=e.expertsIntro||null,this._storeTags(),this._hashname&&this._goToExpert(this._hashname),this.emptydata=!1):(this.emptydata=!0,this._hashtaglist=[])}_setExpertsPagination(){this.hasmoreexperts=!!this.max_experts&&this.experts.length>this.max_experts,this.experts=(this.experts||[]).slice(this.current_page*this.max_experts,++this.current_page*this.max_experts)}_throwError(e,t){this.dataerror=!0,hD(e,"NG Experts Gallery : Data Request Error",{action:t})}_getExpertsByUrl(){this.expert_single=!1,Yx("experts-gallery"),this.loading=!0,Gx({method:"GET",url:mx(),id:"experts-gallery",before:()=>{this.loading=!0},after:()=>{this.loading=!1},data:{action:"Posts.GetExpertsGallery",path:this.urlpath},events:!1}).then((e=>{if(e&&!e.error){let t=e.data;UI(t)&&BI(t.expertsContent)?(this._data=t,this._parseExperts(t)):this.emptydata=!0}else this._throwError({data:e,status:200,type:"response"},this.urlpath)}),(e=>{this._throwError(e,this.urlpath)}))}ngOnInit(){this.isnode=RI(),this.isnode?this.server_render?this.norender=!this._data&&!this.asyncdata:this.norender=!0:(!this._data&&this.urlpath&&this.urlrefresh&&!this.asyncdata?this.loading=!0:this.loading=!1,this.loading||this.asyncdata||this.data||(this.emptydata=!0),this.urlrefresh&&setTimeout((()=>{this._getExpertsByUrl()}),this.refreshdelay),this.as_logos?(this.more_btn_txt||(this.more_btn_txt="More Retailers"),this.back_bt_text||(this.back_bt_text="Back to All Retailers")):(this.more_btn_txt||(this.more_btn_txt="More Experts"),this.back_bt_text||(this.back_bt_text="Back to All Experts"))),this.asyncdata||this._setExpertsPagination()}ngAfterViewInit(){this._rendered=!0,this.isnode?this._servertransitwait=!1:this.data&&!this.emptydata&&this._hashname?XI((()=>this._goToExpert(this._hashname))):this.asyncdata||(this._servertransitwait=!1)}ngOnDestroy(){Yx("experts-gallery")}goToAll(){this.expert_single=!1,this.scrollsingle=!1,this.expert_full=null,this.no_scroll_all||(this.scrollall=!0),this.head_focus=!0,setTimeout((()=>{this.no_scroll_all||(this.scrollall=!1),this.head_focus=!1}),100),this.changedExpert.emit(null)}gotToOne(e){let t=e.substring(1);this.expert_full=null,this._goToExpert(t),this.changedExpert.emit(t)}showMoreExperts(){var e=this._data.expertsContent,t=e.length;this.experts=e.slice(this.current_page*this.max_experts,++this.current_page*this.max_experts),this._storeTags(),this.current_page&&this.current_page*this.max_experts>=t&&(this.current_page=0),this.center_experts=!1,setTimeout((()=>{this.center_experts=!0,XI((()=>{this.center_experts=!1}))}))}}$B.ɵfac=function(e){return new(e||$B)(Yc(Td))},$B.ɵcmp=vn({type:$B,selectors:[["div","id","experts-gallery"]],inputs:{expert_offset:[e.InputFlags.None,"scroll-offset","expert_offset"],max_experts:[e.InputFlags.None,"max-experts","max_experts"],header_text:[e.InputFlags.None,"header-text","header_text"],srv_no_avatars:[e.InputFlags.None,"ui-hydrate-avatars","srv_no_avatars"],no_scroll_all:[e.InputFlags.None,"no-scroll-all","no_scroll_all"],hashname:[e.InputFlags.None,"hashtag","hashname"],data:"data",urlpath:"urlpath",urlrefresh:"urlrefresh",refreshdelay:"refreshdelay",asyncdata:"asyncdata",server_render:[e.InputFlags.None,"server-render","server_render"],layout_format:[e.InputFlags.None,"format","layout_format"],back_bt_text:[e.InputFlags.None,"back-bt-text","back_bt_text"],back_bt_class:[e.InputFlags.None,"back-bt-class","back_bt_class"],more_btn_txt:[e.InputFlags.None,"more-bt-text","more_btn_txt"]},outputs:{changedExpert:"changedExpert",tagMatch:"tagMatch"},attrs:["id","experts-gallery"],decls:1,vars:1,consts:[["class","experts-gallery",3,"ngClass","scroll-to",4,"ngIf"],[1,"experts-gallery",3,"ngClass","scroll-to"],["class","progress-indicator visible",4,"ngIf"],["class","header-part",4,"ngIf"],["class","intro-part with-links",3,"cleanHTML",4,"ngIf"],[1,"container",3,"scroll-to"],[1,"gallery",3,"scroll-to","scrolloffset"],["class","gallery-item",3,"gallery-item-logo",4,"ngFor","ngForOf"],["class","more-experts",4,"ngIf"],["class","text-select expert-profile ng-enter-element slide",3,"exp-logo-profile",4,"ngIf"],[1,"progress-indicator","visible"],[1,"header-part"],["ng-speak","header",3,"innerHTML","ng-speak-when"],[1,"intro-part","with-links",3,"cleanHTML"],[1,"gallery-item"],[1,"gallery-icon"],["tabindex","0","role","img button","zing-touch","",1,"gall-ic-action",3,"defer-src","zing-no-touch","ui-hydrate","onClick"],["height","110","width","110","tabindex","-1","aria-hidden","true",1,"expert-image",3,"alt"],["deferImg",""],[1,"wp-caption-text","gallery-caption"],[4,"ngIf"],["tabindex","0","ng-speak","header",1,"text-select",3,"ng-speak-when"],[1,"text-select"],["role","button","tabindex","0","zing-touch","",1,"read-more","touch-element-cl",3,"onClick"],["zing-touch","","role","button",1,"read-more","touch-element-cl",3,"ng-context","onClick"],[1,"more-experts"],["zing-touch","","role","button","tabindex","0",3,"ng-context","onClick"],[1,"text-select","expert-profile","ng-enter-element","slide"],["height","200","width","200","alt","",1,"profile-img",3,"src"],["ng-speak","header"],["class","description-text",3,"innerHtml",4,"ngIf"],["class","description-text",3,"cleanHTML","cleanHTML-sett",4,"ngIf"],["zing-touch","",1,"back-to-xprts",3,"ngClass","onClick"],[1,"description-text",3,"innerHtml"],[1,"description-text",3,"cleanHTML","cleanHTML-sett"]],template:function(e,t){1&e&&cp(0,WB,9,20,"section",0),2&e&&hg("ngIf",!t.norender)},dependencies:[iC,uC,KA,JA,ix,gT,bT,wT,wR],encapsulation:2});class GB{}function YB(e,t){1&e&&(r_(0,"p",4),Iv(1,"Enter your cell phone number and we’ll send you a link to install the WalletHub app."),s_())}function QB(e,t){1&e&&(r_(0,"p",5),Iv(1,"Failed. Please check your phone number."),s_())}function KB(e,t){1&e&&(r_(0,"p",5),Iv(1,"Apologies, but we could not send you an SMS due to repeated attempts. Please go directly to the "),r_(2,"a",6),Iv(3,"App Store"),s_(),Iv(4," or "),r_(5,"a",7),Iv(6,"Google Play"),s_(),Iv(7," and search for the WalletHub app."),s_())}function ZB(e,t){1&e&&(r_(0,"p",5),Iv(1,"Awesome! You should be receiving a text with the download link shortly."),s_())}function JB(e,t){if(1&e){const e=h_();r_(0,"div",8)(1,"button",9),Nm("onTap",(function(){ji(e);return Vi(Hm().closeDialog())})),Iv(2,"Close"),s_()()}}function XB(e,t){1&e&&(r_(0,"p",20),Iv(1,"Please enter a valid US number"),s_())}function ez(e,t){if(1&e){const e=h_();r_(0,"form",10),Nm("onSubmit",(function(){ji(e);return Vi(Hm().SendSms())})),r_(1,"input",11),Nm("input",(function(t){ji(e);return Vi(Hm().phone=t.target.value)})),s_(),cp(2,XB,2,0,"p",12),r_(3,"p",13),Iv(4,"Wallethub doesn’t charge for this service. Standard message rates apply."),s_(),o_(5,"error-toast",14),r_(6,"div",15)(7,"button",16),o_(8,"i",17),r_(9,"span"),Iv(10,"Send Link to My Phone"),s_()(),o_(11,"div",18),r_(12,"button",19),Nm("onTap",(function(){ji(e);return Vi(Hm().closeDialog())})),Iv(13,"Cancel"),s_()()()}if(2&e){const e=Hm();$c(),hg("value",e.phone),$c(),hg("ngIf",e.inputError),$c(3),hg("show",e.apifail)("timer",2200),$c(2),gg("loadactive",e.sending)}}GB.ɵfac=function(e){return new(e||GB)},GB.ɵmod=wn({type:GB}),GB.ɵinj=Vr({imports:[ax,tI,ER,nD]});class tz{SendSms(){if(this.sending)return;if(!this.phone||10!=this.phone.length)return void(this.inputError=!0);this.inputError=!1;let e=fx(),t={action:"download_app",type:this.data.android?"android":"apple",phoneNumber:this.phone};this.data.comm_id&&(t.commId=this.data.comm_id,t.type=""),Gx({before:()=>{this.sending=!0},after:()=>{this.sending=!1},url:e,data:t,headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((e=>{e.error?e.messages&&BI(e.messages)&&e.messages.indexOf("REQUEST_LOCKED_BY_FILTER")>-1?(this.sentfailedrepeatitive=!0,this.sentfailed=!1,this.sentdone=!1):this.sentfailed=!0:(this.sentdone=!0,this.sentfailed=!1,this.sentfailedrepeatitive=!1),this._cd.detectChanges()}),(e=>{this.apifail=!0,setTimeout((()=>{this.apifail=!1,this._cd.detectChanges()}),100)}))}closeMe(){this.sending||this.closeDialog()}constructor(e){this._cd=e,this.phone="",this.sending=!1,this.sentfailed=!1,this.sentfailedrepeatitive=!1,this.sentdone=!1,this.apifail=!1,this.inputError=!1}}tz.ɵfac=function(e){return new(e||tz)(Yc(Ly))},tz.ɵcmp=vn({type:tz,selectors:[["app-store"]],decls:6,vars:6,consts:[["class","semi-bold-font",4,"ngIf"],["class","semi-bold-font ng-enter-element",4,"ngIf"],["class","buttons-holder-final ng-enter-element",4,"ngIf"],["form-submit","",3,"onSubmit",4,"ngIf"],[1,"semi-bold-font"],[1,"semi-bold-font","ng-enter-element"],["href","https://apps.apple.com/us/app/wallethub/id1110552982","target","_blank"],["href","https://goo.gl/mhG3k4","target","_blank"],[1,"buttons-holder-final","ng-enter-element"],["type","button","zing-touch","",1,"btn","fixed-w-c",3,"onTap"],["form-submit","",3,"onSubmit"],["type","tel","autocomplete","off","placeholder","cell phone number",1,"textfield","full",3,"value","input"],["class","input-error bf-icon-info",4,"ngIf"],[1,"app-store-notice"],[3,"show","timer"],[1,"buttons-holder"],["type","submit",1,"btn","with-loader"],[1,"btn-loader"],[1,"btn-spacer"],["type","button","zing-touch","",1,"btn","blue-brds","fixed-w-c","close-bt",3,"onTap"],[1,"input-error","bf-icon-info"]],template:function(e,t){1&e&&cp(0,YB,2,0,"p",0)(1,QB,2,0,"p",1)(2,KB,8,0,"p",1)(3,ZB,2,0,"p",1)(4,JB,3,0,"div",2)(5,ez,14,6,"form",3),2&e&&(hg("ngIf",!t.sentfailed&&!t.sentdone&&!t.sentfailedrepeatitive),$c(),hg("ngIf",t.sentfailed),$c(),hg("ngIf",t.sentfailedrepeatitive),$c(),hg("ngIf",t.sentdone),$c(),hg("ngIf",t.sentdone||t.sentfailedrepeatitive),$c(),hg("ngIf",!t.sentdone&&!t.sentfailedrepeatitive))},dependencies:[iC,wT,ZM,Lk],styles:["app-store .app-store-notice{color:#5d7279;padding-bottom:15px}app-store .textfield{margin:15px 0}app-store .buttons-holder{text-align:right}app-store error-toast{display:block;position:relative}app-store error-toast .errortoast{top:-50px;bottom:auto}app-store{max-width:430px;display:block}app-store .buttons-holder-final{text-align:center;padding-top:15px}@media (max-width: 480px){app-store{padding:10px}}@media (max-width: 390px){app-store error-toast .errortoast{left:0px}}@media (max-width: 360px){app-store error-toast .errortoast{left:-20px}app-store .btn-spacer{height:8px;display:block}app-store .btn{width:100%}app-store .btn.fixed-w-c{width:100%}}@media (max-width: 340px){app-store .close-bt{width:100px}}\n"],encapsulation:2});class nz{}function iz(){return new Promise(((e,t)=>{let n=document.createElement("script"),i=document.body?document.body:document.querySelector("head");n.async=!0,n.onload=()=>{acsbJS.init({statementLink:"",footerHtml:"",hideMobile:!1,hideTrigger:!0,language:"en",position:"right",leadColor:"#146FF8",triggerColor:"#146FF8",triggerRadius:"50%",triggerPositionX:"left",triggerPositionY:"bottom",triggerIcon:"people",triggerSize:"medium",triggerOffsetX:20,triggerOffsetY:40,mobile:{triggerSize:"small",triggerPositionX:"left",triggerPositionY:"bottom",triggerOffsetX:10,triggerOffsetY:80,triggerRadius:"50%"}}),setTimeout((()=>{e(null)}),1e3)},n.onerror=()=>{t(null),n.parentNode.removeChild(n)},n.src="https://acsbapp.com/apps/app/dist/js/app.js",i.appendChild(n)}))}nz.ɵfac=function(e){return new(e||nz)},nz.ɵmod=wn({type:nz}),nz.ɵinj=Vr({imports:[ax,tI,JM,Pk]});class rz{Close(){this.loading||this.closeDialog(this.accessibe_loaded)}LoadAccessibe(){if(RI()||this.loading||location.search&&(location.search.indexOf("?a=0")>-1||location.search.indexOf("&a=0")>-1))return;const e=this;e.loading=!0,e._cd.detectChanges(),iz().then((()=>{e.loading=!1,e.accessibe_loaded=!0,this.Close(),e._cd.detectChanges()}))}constructor(e){this._cd=e,this.loading=!1,this.accessibe_loaded=!1}}rz.ɵfac=function(e){return new(e||rz)(Yc(Ly))},rz.ɵcmp=vn({type:rz,selectors:[["accessibe-ov"]],decls:12,vars:3,consts:[[1,"center"],[1,"btn-groups","center"],["zing-touch","","aria-label","Close",1,"btn","bold-font-weight","blue-brds",3,"onTap"],[1,"btn-spacer"],["zing-touch","","aria-label","Load Accessibe",1,"btn","bold-font-weight","with-loader",3,"onTap"],[1,"btn-loader",3,"ng-aria-hidden"],[1,"bt-text"]],template:function(e,t){1&e&&(r_(0,"h1",0),Iv(1,"Do you want to activate more accessibility features?"),s_(),o_(2,"br")(3,"br"),r_(4,"div",1)(5,"button",2),Nm("onTap",(function(){return t.Close()})),Iv(6," Cancel "),s_(),o_(7,"div",3),r_(8,"button",4),Nm("onTap",(function(){return t.LoadAccessibe()})),o_(9,"span",5),r_(10,"span",6),Iv(11,"Activate"),s_()()()),2&e&&($c(8),gg("loadactive",t.loading),$c(),hg("ng-aria-hidden",!0))},dependencies:[iC,tx],styles:["accessibe-ov{display:block;width:305px}\n"],encapsulation:2,changeDetection:0});class sz{}sz.ɵfac=function(e){return new(e||sz)},sz.ɵmod=wn({type:sz}),sz.ɵinj=Vr({imports:[ax,tI]});const oz=["smsOverlay"],az=["toTop"],lz=["accessibilityBtn"];function cz(e,t){if(1&e){const e=h_();r_(0,"div",127)(1,"span",128),Nm("onTap",(function(){ji(e);return Vi(Hm(2).openStoreOvelary(!1))})),Iv(2," "),s_(),r_(3,"span",129),Nm("onTap",(function(){ji(e);return Vi(Hm(2).openStoreOvelary(!0))})),Iv(4," "),s_()()}}function uz(e,t){1&e&&(r_(0,"div",130)(1,"a",131),Iv(2," "),s_(),r_(3,"a",132),Iv(4," "),s_()()),2&e&&($c(),hg("zing-url",!0),$c(2),hg("zing-url",!0))}function dz(e,t){1&e&&(r_(0,"div",133)(1,"a",134),Iv(2," "),s_(),r_(3,"a",135),Iv(4," "),s_()()),2&e&&hg("zing-url-container",!0)}const hz=e=>({show:e});function pz(e,t){if(1&e){const e=h_();l_(0),o_(1,"div",13),r_(2,"div",14),Iv(3,"Reach Top WalletFitness"),s_(),r_(4,"noscript"),o_(5,"a",15),s_(),r_(6,"span",16),Nm("onTap",(function(){ji(e);return Vi(Hm().EnableAccessibePlugin())})),o_(7,"span",17),s_(),o_(8,"span",18,19),cp(10,cz,5,0,"div",20)(11,uz,5,2,"div",21)(12,dz,5,1,"div",22),r_(13,"nav",23)(14,"ul",24)(15,"li",25),Nm("onTap",(function(){ji(e);return Vi(Hm().FooterMenuToggle("wallethub-premium-desktop"))})),Iv(16,"wallethub premium"),s_(),r_(17,"div",26)(18,"li")(19,"a",27),Iv(20,"Overview"),s_()(),r_(21,"li")(22,"a",28),Iv(23,"Compare Plans"),s_()(),r_(24,"li")(25,"a",29),Iv(26,"Dark Web Scan"),s_()()(),r_(27,"li",30),Nm("onTap",(function(){ji(e);return Vi(Hm().FooterMenuToggle("personal-loans"))})),Iv(28,"personal loans"),s_(),r_(29,"div",31)(30,"li")(31,"a",32),Iv(32,"Best Personal Loans"),s_()(),r_(33,"li")(34,"a",33),Iv(35,"Best Banks for Personal Loans"),s_()(),r_(36,"li")(37,"a",34),Iv(38,"Same-Day Loans"),s_()(),r_(39,"li")(40,"a",35),Iv(41,"Short-Term Loans"),s_()(),r_(42,"li")(43,"a",36),Iv(44,"No Credit Check Loans"),s_()(),r_(45,"li")(46,"a",37),Iv(47,"Debt Consolidation Loans for Bad Credit"),s_()()(),r_(48,"li",30),Nm("onTap",(function(){ji(e);return Vi(Hm().FooterMenuToggle("car-insurance"))})),Iv(49,"car insurance"),s_(),r_(50,"div",31)(51,"li")(52,"a",38),Iv(53,"Best Car Insurance Near Me"),s_()(),r_(54,"li")(55,"a",39),Iv(56,"Cheapest Companies"),s_()(),r_(57,"li")(58,"a",40),Iv(59,"Full Coverage"),s_()(),r_(60,"li")(61,"a",41),Iv(62,"Gap Insurance"),s_()(),r_(63,"li")(64,"a",42),Iv(65,"DUI Insurance"),s_()(),r_(66,"li")(67,"a",43),Iv(68,"No Deposit"),s_()(),r_(69,"li")(70,"a",44),Iv(71,"College Students"),s_()(),r_(72,"li")(73,"a",45),Iv(74,"Teens"),s_()(),r_(75,"li")(76,"a",46),Iv(77,"First-Time Drivers"),s_()(),r_(78,"li")(79,"a",47),Iv(80,"Seniors"),s_()()(),r_(81,"li",48),Nm("onTap",(function(){ji(e);return Vi(Hm().FooterMenuToggle("tools-mobile"))})),Iv(82,"Tools"),s_(),r_(83,"div",49)(84,"li")(85,"a",50),Iv(86,"Ask a Question"),s_()(),r_(87,"li")(88,"a",51),Iv(89,"WalletLiteracy"),s_()(),r_(90,"li")(91,"a",52),Iv(92,"WalletScore"),s_()(),r_(93,"li")(94,"a",53),Iv(95,"Calculators"),s_()()()(),r_(96,"ul",54)(97,"li",30),Nm("onTap",(function(){ji(e);return Vi(Hm().FooterMenuToggle("credit"))})),Iv(98,"Credit Score"),s_(),r_(99,"div",31)(100,"li")(101,"a",55),Iv(102,"Free Credit Score"),s_()(),r_(103,"li")(104,"a",56),Iv(105,"Free Credit Report"),s_()(),r_(106,"li")(107,"a",57),Iv(108,"Free Credit Monitoring"),s_()(),r_(109,"li")(110,"a",58),Iv(111,"Free Credit Simulator"),s_()(),r_(112,"li")(113,"a",59),Iv(114,"Your Credit Score Explained"),s_()(),r_(115,"li")(116,"a",60),Iv(117,"Auto Insurance Score"),s_()()(),r_(118,"li",30),Nm("onTap",(function(){ji(e);return Vi(Hm().FooterMenuToggle("banking"))})),Iv(119,"banking"),s_(),r_(120,"div",31)(121,"li")(122,"a",61),Iv(123,"Best CD Rates"),s_()(),r_(124,"li")(125,"a",62),Iv(126,"Best Checking Accounts"),s_()(),r_(127,"li")(128,"a",63),Iv(129,"Best Savings Accounts"),s_()(),r_(130,"li")(131,"a",64),Iv(132,"Money Market Accounts"),s_()(),r_(133,"li")(134,"a",65),Iv(135,"Best Prepaid Cards"),s_()(),r_(136,"li")(137,"a",66),Iv(138,"Best Banks"),s_()(),r_(139,"li")(140,"a",67),Iv(141,"Best Credit Unions"),s_()()(),r_(142,"li",30),Nm("onTap",(function(){ji(e);return Vi(Hm().FooterMenuToggle("pros"))})),Iv(143,"PROS"),s_(),r_(144,"div",31)(145,"li")(146,"a",68),Iv(147,"Real Estate Agents"),s_()(),r_(148,"li")(149,"a",69),Iv(150,"Insurance Agents"),s_()(),r_(151,"li")(152,"a",70),Iv(153,"Mortgage Brokers"),s_()()(),r_(154,"li",30),Nm("onTap",(function(){ji(e);return Vi(Hm().FooterMenuToggle("directories"))})),Iv(155,"DIRECTORIES"),s_(),r_(156,"div",31)(157,"li")(158,"a",71),Iv(159,"Nearby FInancial Providers"),s_()(),r_(160,"li")(161,"a",72),Iv(162,"Popular Financial Products"),s_()(),r_(163,"li")(164,"a",73),Iv(165,"People Search For"),s_()()()(),r_(166,"ul",74)(167,"li",48),Nm("onTap",(function(){ji(e);return Vi(Hm().FooterMenuToggle("wallethub-premium-mobile"))})),Iv(168,"wallethub premium"),s_(),r_(169,"div",49)(170,"li")(171,"a",27),Iv(172,"Overview"),s_()(),r_(173,"li")(174,"a",28),Iv(175,"Compare Plans"),s_()(),r_(176,"li")(177,"a",29),Iv(178,"Dark Web Scan"),s_()()(),r_(179,"li",75),Nm("onTap",(function(){ji(e);return Vi(Hm().FooterMenuToggle("credit-cards"))})),Iv(180,"Credit Cards"),s_(),r_(181,"div",31)(182,"li",76),Iv(183,"Low Rates"),s_(),r_(184,"li")(185,"a",77),Iv(186,"0% APR"),s_()(),r_(187,"li")(188,"a",78),Iv(189,"Balance Transfer"),s_()(),r_(190,"li")(191,"a",79),Iv(192,"Low Interest"),s_()(),r_(193,"li")(194,"a",80),Iv(195,"Best Rates"),s_()(),r_(196,"li",76),Iv(197,"Rewards"),s_(),r_(198,"li")(199,"a",81),Iv(200,"Cash Back"),s_()(),r_(201,"li")(202,"a",82),Iv(203,"Gas"),s_()(),r_(204,"li")(205,"a",83),Iv(206,"Airline"),s_()(),r_(207,"li")(208,"a",84),Iv(209,"Hotel"),s_()(),r_(210,"li")(211,"a",85),Iv(212,"All Rewards"),s_()(),r_(213,"li",76),Iv(214,"By Credit Score"),s_(),r_(215,"li")(216,"a",86),Iv(217,"Excellent Credit"),s_()(),r_(218,"li")(219,"a",87),Iv(220,"Good Credit"),s_()(),r_(221,"li")(222,"a",88),Iv(223,"Fair Credit"),s_()(),r_(224,"li")(225,"a",89),Iv(226,"Bad Credit"),s_()(),r_(227,"li")(228,"a",90),Iv(229,"No Credit"),s_()()(),r_(230,"li",25),Nm("onTap",(function(){ji(e);return Vi(Hm().FooterMenuToggle("tools-desktop"))})),Iv(231,"Tools"),s_(),r_(232,"div",26)(233,"li")(234,"a",50),Iv(235,"Ask a Question"),s_()(),r_(236,"li")(237,"a",51),Iv(238,"WalletLiteracy"),s_()(),r_(239,"li")(240,"a",52),Iv(241,"WalletScore"),s_()(),r_(242,"li")(243,"a",53),Iv(244,"Calculators"),s_()()()(),r_(245,"ul",91)(246,"li",92),Iv(247,"Credit Cards"),s_(),r_(248,"div",31)(249,"li",76),Iv(250,"Credit Card Types"),s_(),r_(251,"li")(252,"a",93),Iv(253),gb(254,"date"),s_()(),r_(255,"li")(256,"a",94),Iv(257,"Business Credit Cards"),s_()(),r_(258,"li")(259,"a",95),Iv(260,"Credit Card Deals"),s_()(),r_(261,"li")(262,"a",96),Iv(263,"Student Credit Cards"),s_()(),r_(264,"li")(265,"a",97),Iv(266,"Store Cards"),s_()(),r_(267,"li")(268,"a",98),Iv(269,"Charge Cards"),s_()(),r_(270,"li")(271,"a",99),Iv(272,"No Foreign Fee"),s_()(),r_(273,"li")(274,"a",100),Iv(275,"No Annual Fee"),s_()(),r_(276,"li")(277,"a",101),Iv(278,"Secured Cards"),s_()(),r_(279,"li")(280,"a",102),Iv(281,"Unsecured Cards"),s_()(),r_(282,"li")(283,"a",103),Iv(284,"Starter Cards"),s_()(),r_(285,"li")(286,"a",104),Iv(287,"Credit Card Reviews"),s_()()()()(),o_(288,"hr",105),r_(289,"nav",106)(290,"ul")(291,"li",107),Iv(292,"About"),s_(),r_(293,"li")(294,"a",108),Iv(295,"About Us"),s_()(),r_(296,"li")(297,"a",109),Iv(298,"Media"),s_()(),r_(299,"li")(300,"a",110),Iv(301,"Jobs"),s_()(),r_(302,"li")(303,"a",111),Iv(304,"Contact Us"),s_()(),r_(305,"li")(306,"a",112),Iv(307,"Studies & Reports"),s_()()(),r_(308,"ul")(309,"li",107),Iv(310,"Help"),s_(),r_(311,"li")(312,"a",113),Iv(313,"FAQ"),s_()(),r_(314,"li")(315,"a",114),Nm("onTap",(function(t){ji(e);return Vi(Hm().openFeedbackPage(t))})),Iv(316,"Feedback"),s_()(),r_(317,"li")(318,"a",115),Iv(319,"Add Your Business"),s_()(),r_(320,"li")(321,"a",116),Iv(322,"Accessibility"),s_()()(),r_(323,"ul")(324,"li",107),Iv(325,"wallethub awards"),s_(),r_(326,"li")(327,"a",117),Iv(328),gb(329,"date"),s_()(),r_(330,"li")(331,"a",118),Iv(332,"Editorial Policy"),s_()(),r_(333,"li")(334,"a",119),Iv(335,"Rating Methodologies"),s_()()(),r_(336,"ul")(337,"li",107),Iv(338,"legal"),s_(),r_(339,"li")(340,"a",120),Iv(341,"Terms"),s_()(),r_(342,"li")(343,"a",121),Iv(344,"Privacy Policy"),s_()(),r_(345,"li")(346,"a",122),Iv(347,"Your Privacy Choices "),o_(348,"span",123),s_()(),r_(349,"li")(350,"a",124),Iv(351,"California Collection Notice"),s_()(),r_(352,"li")(353,"a",125),Iv(354,"Cookie Policy"),s_()(),r_(355,"li")(356,"a",126),Iv(357,"Content Guidelines"),s_()()()(),c_()}if(2&e){const e=Hm();$c(6),gg("before-load",!e.accessibe_plugin_enabled)("show-lib-loader",e.accesibe_loading),$c(2),gg("after-load",e.accessibe_plugin_enabled),$c(2),hg("ngIf",e.isWeb),$c(),hg("ngIf",!e.isWeb),$c(),hg("ngIf",!e.isWeb),$c(),hg("zing-url-container",!0),$c(2),hg("ngClass",eb(44,hz,e.footerMenuOpenItems.indexOf("wallethub-premium-desktop")>-1)),$c(2),hg("ngClass",eb(46,hz,e.footerMenuOpenItems.indexOf("wallethub-premium-desktop")>-1)),$c(10),hg("ngClass",eb(48,hz,e.footerMenuOpenItems.indexOf("personal-loans")>-1)),$c(2),hg("ngClass",eb(50,hz,e.footerMenuOpenItems.indexOf("personal-loans")>-1)),$c(19),hg("ngClass",eb(52,hz,e.footerMenuOpenItems.indexOf("car-insurance")>-1)),$c(2),hg("ngClass",eb(54,hz,e.footerMenuOpenItems.indexOf("car-insurance")>-1)),$c(31),hg("ngClass",eb(56,hz,e.footerMenuOpenItems.indexOf("tools-mobile")>-1)),$c(2),hg("ngClass",eb(58,hz,e.footerMenuOpenItems.indexOf("tools-mobile")>-1)),$c(14),hg("ngClass",eb(60,hz,e.footerMenuOpenItems.indexOf("credit")>-1)),$c(2),hg("ngClass",eb(62,hz,e.footerMenuOpenItems.indexOf("credit")>-1)),$c(19),hg("ngClass",eb(64,hz,e.footerMenuOpenItems.indexOf("banking")>-1)),$c(2),hg("ngClass",eb(66,hz,e.footerMenuOpenItems.indexOf("banking")>-1)),$c(22),hg("ngClass",eb(68,hz,e.footerMenuOpenItems.indexOf("pros")>-1)),$c(2),hg("ngClass",eb(70,hz,e.footerMenuOpenItems.indexOf("pros")>-1)),$c(10),hg("ngClass",eb(72,hz,e.footerMenuOpenItems.indexOf("directories")>-1)),$c(2),hg("ngClass",eb(74,hz,e.footerMenuOpenItems.indexOf("directories")>-1)),$c(11),hg("ngClass",eb(76,hz,e.footerMenuOpenItems.indexOf("wallethub-premium-mobile")>-1)),$c(2),hg("ngClass",eb(78,hz,e.footerMenuOpenItems.indexOf("wallethub-premium-mobile")>-1)),$c(10),hg("ngClass",eb(80,hz,e.footerMenuOpenItems.indexOf("credit-cards")>-1)),$c(2),hg("ngClass",eb(82,hz,e.footerMenuOpenItems.indexOf("credit-cards")>-1)),$c(49),hg("ngClass",eb(84,hz,e.footerMenuOpenItems.indexOf("tools-desktop")>-1)),$c(2),hg("ngClass",eb(86,hz,e.footerMenuOpenItems.indexOf("tools-desktop")>-1)),$c(16),hg("ngClass",eb(88,hz,e.footerMenuOpenItems.indexOf("credit-cards")>-1)),$c(5),Av("Best Credit Cards ",mb(254,38,e.curDate,"yyyy"),""),$c(36),hg("zing-url-container",!0),$c(26),hg("href",e.feedbackUrl,zl)("zing-url",!1),$c(13),Av(" ",mb(329,41,e.curDate,"yyyy")," Best Awards")}}function fz(e,t){1&e&&(r_(0,"div",136)(1,"a",121),Iv(2,"Privacy Policy"),s_(),r_(3,"span",137),Iv(4,"|"),s_(),r_(5,"a",120),Iv(6,"Terms"),s_()())}l.import("css:/footer-web.css").then((()=>{}),(()=>{}));class gz{constructor(e,t,n,i){this._dservice=e,this._el=t,this._render=n,this._cd=i,this.copyrightyear=(new Date).getFullYear(),this.isWeb=!RI(),this.feedbackUrl="/feedback/",this.curDate=new Date,this._arrowautoshow=!0,this.as_iframe=!1,this.accessibe=!1,this.accessibe_plugin_enabled=!1,this.accesibe_loading=!1,this.footerMenuOpenItems=[]}trackByFn(e){return e}EnableAccessibePluginPrompt(){if(this.accessibe_plugin_enabled)return;this._smsOverlay.Open(rz,null,{withclose:!1}),this._cd.detectChanges();let e=this._smsOverlay.onClose.pipe(yt(1)).subscribe((t=>{this.accessibe_plugin_enabled=t,t&&requestAnimationFrame((()=>{this._accessibilityBtn.nativeElement.dispatchEvent(new Event("click"))})),e.unsubscribe(),this._cd.detectChanges()}))}EnableAccessibePlugin(){this.accesibe_loading=!0,iz().then((()=>{this.accessibe_plugin_enabled=!0,this.accesibe_loading=!1,this._cd.detectChanges(),setTimeout((()=>{this._accessibilityBtn.nativeElement.dispatchEvent(new Event("click"))}),1e3)})),this._cd.detectChanges()}ScrollToTop(){this._dservice.element.focus(),this._dservice.scrollTo({position:0,timing:300}),setTimeout((()=>{Gx({method:"GET",events:!1,url:hx()+"/gototop.png",expectedType:"text",silent:!0})}),300)}openStoreOvelary(e,t=null){!RI()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|Mobi/i.test(navigator.userAgent)||function(){let e={width:0,height:0};return window&&window.innerWidth&&window.innerHeight&&(e.width=window.innerWidth,e.height=window.innerHeight),screen&&screen.width&&screen.height&&(e.width=screen.width,e.height=screen.height),(e.width>=768&&e.width<=1024&&e.height>=1024||e.width>=1024&&e.width<=1366&&e.height>=768)&&/iPad|Macintosh/.test(navigator.userAgent)}()?e?window.open("https://goo.gl/mhG3k4","_blank","noopener"):window.open("https://apps.apple.com/us/app/wallethub/id1110552982","_blank","noopener"):this._smsOverlay.Open(tz,{android:e,comm_id:t},{withclose:!0})}ngOnInit(){this.isWeb&&(this.feedbackUrl="/feedback/?ref=."+window.location.pathname),iD.hasGroup("app-settings")&&iD.group("app-settings").accessibility&&(this.accessibe=iD.group("app-settings").accessibility),RI()||(Gx({method:"GET",events:!1,url:"https://cdn.acsbapp.com/config/"+window.location.host+"/config.json",expectedType:"json",silent:!0}),Mx.subscribe("footer:novox",(e=>{!1===e?(this._render.removeAttribute(this._el.nativeElement,"tabindex"),this._render.removeAttribute(this._el.nativeElement,"aria-hidden")):(this._render.setAttribute(this._el.nativeElement,"tabindex","-1"),this._render.setAttribute(this._el.nativeElement,"aria-hidden","true"))})),Mx.subscribe("footer:appstore",((e={})=>{let{is_android:t,comm_id:n}=e;this.openStoreOvelary(t,n),this._cd.detectChanges()})),Mx.subscribe("footer:version",(e=>{"iframe"==e&&(this.as_iframe=!0),this._cd.detectChanges()})))}openFeedbackPage(e){return e.stopPropagation(),e.preventDefault(),window.open("/feedback/?ref="+window.location.pathname,"_parent"),!1}ngOnDestroy(){Mx.terminate("footer:novox"),Mx.terminate("footer:appstore"),Mx.terminate("footer:version")}FooterMenuToggle(e){window.innerWidth>767||(this.footerMenuOpenItems.indexOf(e)>-1?this.footerMenuOpenItems.splice(this.footerMenuOpenItems.indexOf(e),1):this.footerMenuOpenItems.push(e))}}gz.ɵfac=function(e){return new(e||gz)(Yc(lC),Yc(Ar),Yc(gd),Yc(Ly))},gz.ɵcmp=vn({type:gz,selectors:[["footer","main-footer",""]],viewQuery:function(e,t){if(1&e&&(Xm(oz,5),Xm(az,5),Xm(lz,5)),2&e){let e;ev(e=tv())&&(t._smsOverlay=e.first),ev(e=tv())&&(t._arrowTop=e.first),ev(e=tv())&&(t._accessibilityBtn=e.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:4,hostBindings:function(e,t){2&e&&gg("asframe",t.as_iframe)("simple-footer",t.as_iframe)},attrs:["main-footer",""],decls:40,vars:3,consts:[[4,"ngIf"],["aria-label","Copyright",1,"copyright"],["tabindex","0","role","text"],["class","simple-ver regular-font",4,"ngIf"],["id","footer_cta"],[1,"big-content"],[1,"cta_arrow"],[1,"small-content"],[1,"small-mobile-content"],[1,"main-content"],[1,"center"],["onclick","location.href='/join/';",1,"join_for_free"],["smsOverlay",""],[1,"logo"],[1,"reach-top"],["href","/accessibility","aria-label","Accessibility",1,"accessibility-btn","before-load"],["zing-touch","",1,"accessibility-btn",3,"onTap"],[1,"lib-loader"],["data-acsb-custom-trigger","true",1,"accessibility-btn"],["accessibilityBtn",""],["class","mobileButtons",4,"ngIf"],["class","mobileButtons top-mb-score-bts",4,"ngIf"],["class","mobileButtons","zing-touch","",3,"zing-url-container",4,"ngIf"],["zing-touch","","aria-label","Main Footer",1,"main",3,"zing-url-container"],[1,"mobile-order-3"],["zing-touch","",1,"label","hide-mobile",3,"ngClass","onTap"],[1,"sub-menu","hide-mobile",3,"ngClass"],["href","/premium"],["href","/upgrade"],["href","/premium/dark-web"],["zing-touch","",1,"label",3,"ngClass","onTap"],[1,"sub-menu",3,"ngClass"],["href","/best-personal-loans"],["href","/best-banks-for-personal-loans"],["href","https://wallethub.com/edu/pl/same-day-loans/67705"],["href","/personal-loans/short-term-loans"],["href","https://wallethub.com/edu/pl/no-credit-check-loans/68084"],["href","/personal-loans/debt-consolidation-loans-for-bad-credit"],["href","/car-insurance-near-me"],["href","/cheap-car-insurance"],["href","https://wallethub.com/edu/ci/cheapest-full-coverage-car-insurance/87274"],["href","https://wallethub.com/edu/ci/best-gap-insurance/94139"],["href","https://wallethub.com/edu/ci/dui-insurance/13542"],["href","https://wallethub.com/edu/ci/very-cheap-car-insurance-no-deposit/98676"],["href","https://wallethub.com/edu/ci/best-car-insurance-for-college-students/88064"],["href","https://wallethub.com/edu/ci/cheapest-car-insurance-for-teens/94421"],["href","https://wallethub.com/edu/ci/cheaper-car-insurance-for-first-time-drivers/89402"],["href","https://wallethub.com/edu/ci/best-auto-insurance-for-seniors/88292"],["zing-touch","",1,"label","hide-desktop",3,"ngClass","onTap"],[1,"sub-menu","hide-desktop",3,"ngClass"],["href","/answers/"],["href","/wallet-literacy-score/"],["href","/wallet-score"],["href","/calculators"],[1,"mobile-order-4"],["href","/free-credit-score"],["href","/free-credit-report"],["href","/free-credit-monitoring"],["href","/credit-score-simulator"],["href","/credit-score-range"],["href","/auto-insurance-score"],["href","/cd-rates"],["href","/checking-accounts"],["href","/savings-accounts"],["href","/money-market-accounts"],["href","/prepaid-debit-cards"],["href","/banks"],["href","/credit-unions"],["href","/real-estate-agents"],["href","/insurance-agents"],["href","/mortgage-brokers"],["href","/local-financial-products/"],["href","/product-directory/"],["href","/search-directory/"],[1,"mobile-order-1"],["zing-touch","",1,"label","credit-card-label",3,"ngClass","onTap"],[1,"sub-label"],["href","/credit-cards/0-apr/"],["href","/credit-cards/balance-transfer/"],["href","/best-low-interest-credit-cards"],["href","/best-credit-card-rates"],["href","/best-cash-back-credit-card"],["href","/credit-cards/gas/"],["href","/best-airline-credit-card"],["href","/best-hotel-credit-card"],["href","/credit-cards/rewards/"],["href","/credit-cards/excellent-credit/"],["href","/credit-cards/good-credit/"],["href","/credit-cards/fair-credit/"],["href","/credit-cards/bad-credit/"],["href","/credit-cards/no-credit/"],[1,"mobile-order-2"],[1,"label","hidden"],["href","/best-credit-cards"],["href","/best-business-credit-cards"],["href","/best-credit-card-deals"],["href","/best-credit-cards-for-students"],["href","/credit-cards/store/"],["href","/credit-cards/charge-cards/"],["href","/credit-cards/no-foreign-transaction-fee/"],["href","/best-credit-cards-no-annual-fee"],["href","/credit-cards/secured/"],["href","/credit-cards/unsecured/"],["href","/credit-cards/starter/"],["href","/credit-card-reviews"],[1,"nav-hr"],["zing-touch","","aria-label","Footer Common Menu",1,"common",3,"zing-url-container"],[1,"label"],["href","/about"],["href","/media/"],["href","/jobs/"],["href","/contact/"],["href","https://wallethub.com/edu/statistics"],["href","/answers/#sp=597&srt=mv"],["rel","nofollow","zing-touch","",3,"href","zing-url","onTap"],["href","/add-listing/"],["href","/accessibility"],["href","/awards/"],["href","https://wallethub.com/edu/wallethub-editorial-policy/25756"],["href","/rating-methodologies"],["href","/terms"],["href","/terms/privacy"],["href","/pi-request?dontsell=1"],[1,"opt-out-icon"],["href","https://wallethub.com/terms/privacy/ccpa"],["href","https://wallethub.com/terms/cookie-policy"],["href","/community/guidelines/"],[1,"mobileButtons"],["zing-touch","","role","link","aria-label","get on the app store","tabindex","0",1,"store-link","appleStore",3,"onTap"],["zing-touch","","role","link","aria-label","get on the google play","tabindex","0",1,"store-link","googlePlay",3,"onTap"],[1,"mobileButtons","top-mb-score-bts"],["zing-touch","","href","https://apps.apple.com/us/app/wallethub/id1110552982?mt=8","target","_blank","rel","noopener","title","get on the app store",1,"store-link","appleStore",3,"zing-url"],["zing-touch","","href","https://play.google.com/store/apps/details?id=com.wallethub.mywallet","target","_blank","rel","noopener","title","get on the google play",1,"store-link","googlePlay",3,"zing-url"],["zing-touch","",1,"mobileButtons",3,"zing-url-container"],["href","https://apps.apple.com/us/app/wallethub/id1110552982?mt=8","target","_blank","rel","noopener","title","get on the app store","aria-label","get on the app store",1,"store-link","appleStore"],["href","https://play.google.com/store/apps/details?id=com.wallethub.mywallet","target","_blank","rel","noopener","title","get on the google play","aria-label","get on the google play",1,"store-link","googlePlay"],[1,"simple-ver","regular-font"],["aria-hidden","true","tabindex","-1"]],template:function(e,t){1&e&&(cp(0,pz,358,90,"ng-container",0),r_(1,"aside",1)(2,"div",2),Iv(3),o_(4,"br"),r_(5,"span"),Iv(6,"All Rights Reserved."),s_()(),cp(7,fz,7,0,"div",3),s_(),r_(8,"div",4)(9,"span",5),Iv(10,"Get unlimited free credit scores & reports "),o_(11,"span",6),s_(),r_(12,"span",7),Iv(13,"Sign up for free credit monitoring "),o_(14,"span",6),s_(),r_(15,"span",8),Iv(16,"get your free credit score & report "),o_(17,"span",6),s_(),r_(18,"div",9)(19,"h3"),Iv(20,"Join WalletHub"),s_(),r_(21,"p"),Iv(22,"+ 100% Free"),s_(),r_(23,"p"),Iv(24,"+ Unlimited Credit Reports"),s_(),r_(25,"p"),Iv(26,"+ Unlimited Credit Scores"),s_(),r_(27,"p"),Iv(28,"+ Credit Monitoring Protection"),s_(),r_(29,"p"),Iv(30,"+ Credit Improvement Tips"),s_(),r_(31,"p"),Iv(32,"+ Automatically Finds Savings"),s_(),r_(33,"div",10)(34,"button",11),Iv(35," JOIN FOR FREE "),s_(),r_(36,"p"),Iv(37,"No credit card needed"),s_()()()(),o_(38,"modal-dialog",null,12)),2&e&&(hg("ngIf",!t.as_iframe),$c(3),Av(" 2008 - ",t.copyrightyear," © Evolution Finance, Inc."),$c(4),hg("ngIf",t.as_iframe))},dependencies:[iC,gT,wT,gR,UT],encapsulation:2,changeDetection:0});class _z{}_z.ɵfac=function(e){return new(e||_z)},_z.ɵmod=wn({type:_z}),_z.ɵinj=Vr({imports:[nz,ax,tI,_R]});function mz(e,t){if(1&e){const e=h_();l_(0),o_(1,"p",4),r_(2,"div",5)(3,"button",6),Nm("onTap",(function(){ji(e);return Vi(Hm().Yes())})),o_(4,"i",7),r_(5,"span",8),Iv(6,"Yes"),s_()(),r_(7,"button",9),Nm("click",(function(){ji(e);return Vi(Hm().No())})),Iv(8,"No"),s_()(),c_()}if(2&e){const e=Hm();$c(),hg("innerHTML",e.headline,Hl),$c(2),gg("loadactive",e.saving)}}function vz(e,t){1&e&&(r_(0,"p",10),Iv(1,"Awesome! Thanks for your feedback."),s_()),2&e&&hg("focus-when",!0)}function bz(e,t){if(1&e&&(r_(0,"p",11),Iv(1,"Thank you for your feedback."),s_()),2&e){hg("focus-when",Hm().after_submit)}}function yz(e,t){if(1&e){const e=h_();r_(0,"form",12),Nm("onSubmit",(function(){ji(e);return Vi(Hm().SubmitReason())})),r_(1,"p",11),Iv(2,"Sorry! How can we improve it?"),s_(),r_(3,"textarea",13),Nm("input",(function(t){ji(e);return Vi(Hm().reason=t.target.value)})),s_(),r_(4,"div",14)(5,"button",15),o_(6,"i",7),r_(7,"span",8),Iv(8,"Submit"),s_()(),o_(9,"error-toast",16),s_()()}if(2&e){const e=Hm();$c(),hg("focus-when",!0),$c(2),hg("value",e.reason),$c(2),gg("loadactive",e.saving),$c(4),hg("message",e.errormsg)("show",e.show_submit_error)("close-on-change",!0)}}class wz{constructor(e){this._loc=e,this.submited=!1,this.headline="Was this article helpful?",this.type="EDU",this.reason="",this.live_status="",this.after_submit=!1}ngOnInit(){this._url=(hx()+this._loc.path()).replace("https://",""),this.voted="1"==Vx.get("h"+this._url)}Yes(){this.saving=!0;let e="h"+this._url;Vx.set(e,"1",7),Gx({url:mx(),data:{action:"send_edu_feedback",postId:this.id,url:this._url,helpful:!0,type:this.type},before:()=>{this.saving=!0},after:()=>{this.saving=!1},silent:!0,headers:{"Content-Type":"application/x-www-form-urlencoded"}}),this.submited=!0}No(){this.unhelpful=!0}_ShowReqError(){this.show_submit_error&&(this.show_submit_error=!1),setTimeout((()=>{this.show_submit_error=!0}))}_ThrowReqError(e="We encountered an error. Please retry"){this.errormsg?this.errormsg=null:this.errormsg=e,setTimeout((()=>{this.errormsg=e}),100),this._ShowReqError()}SubmitReason(){if(this.saving)return;let e,t=eD(this.reason||"");(!t||t.length<10)&&(e="Content must have 30 characters"),e?this._ThrowReqError(e):Gx({url:mx(),data:{action:"send_edu_feedback",postId:this.id,url:this._url,helpful:!1,feedback:t,type:this.type},before:()=>{this.saving=!0},after:()=>{this.saving=!1},headers:{"Content-Type":"application/x-www-form-urlencoded"}}).then((e=>{if(e.error)this._ThrowReqError();else{this.voted=!0,this.unhelpful=!1,this.after_submit=!0;let e="h"+this._url;Vx.set(e,"0",7)}})).catch((()=>{this._ThrowReqError()}))}}wz.ɵfac=function(e){return new(e||wz)(Yc(lE))},wz.ɵcmp=vn({type:wz,selectors:[["div",8,"helpful-article"]],hostAttrs:[1,"text-select","helpful-article"],inputs:{id:"id",headline:"headline",type:"type"},attrs:["class","helpful-article"],decls:4,vars:4,consts:[[4,"ngIf"],["class","ng-enter-element helpful-head","ng-focus","","tabindex","0",3,"focus-when",4,"ngIf"],["class","helpful-head","ng-focus","","tabindex","0",3,"focus-when",4,"ngIf"],["class","ng-enter-element","form-submit","",3,"onSubmit",4,"ngIf"],[1,"helpful-head",3,"innerHTML"],[1,"helpful-btn-container"],["type","button","zing-touch","","aria-label","Yes",1,"btn","blue-brds","helpful-btn","with-loader",3,"onTap"],["aria-hidden","true","tabindex","-1",1,"btn-loader"],[1,"bt-text"],["type","button",1,"btn","blue-brds","helpful-btn",3,"click"],["ng-focus","","tabindex","0",1,"ng-enter-element","helpful-head",3,"focus-when"],["ng-focus","","tabindex","0",1,"helpful-head",3,"focus-when"],["form-submit","",1,"ng-enter-element",3,"onSubmit"],["aria-label","Please write here how can we improve it!",1,"textarea","large","helpful-textarea",3,"value","input"],[1,"helpful-form-btn"],["type","submit",1,"btn","fixed-w","with-loader"],[3,"message","show","close-on-change"]],template:function(e,t){1&e&&cp(0,mz,9,3,"ng-container",0)(1,vz,2,1,"p",1)(2,bz,2,1,"p",2)(3,yz,10,7,"form",3),2&e&&(hg("ngIf",!t.submited&&!t.voted&&!t.unhelpful),$c(),hg("ngIf",t.submited),$c(),hg("ngIf",t.voted),$c(),hg("ngIf",t.unhelpful))},dependencies:[wT,iC,ZM,Lk,tD],encapsulation:2});class Ez{}function Tz(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}Ez.ɵfac=function(e){return new(e||Ez)},Ez.ɵmod=wn({type:Ez}),Ez.ɵinj=Vr({imports:[tI,ax,JM,Pk,nD]});var Iz="(prefers-reduced-motion: reduce)",Cz=4,Sz=5,Az={CREATED:1,MOUNTED:2,IDLE:3,MOVING:Cz,SCROLLING:Sz,DRAGGING:6,DESTROYED:7};function xz(e){e.length=0}function Dz(e,t,n){return Array.prototype.slice.call(e,t,n)}function Rz(e){return e.bind.apply(e,[null].concat(Dz(arguments,1)))}var kz=setTimeout,Oz=function(){};function Nz(e){return requestAnimationFrame(e)}function Fz(e,t){return typeof t===e}function Lz(e){return!zz(e)&&Fz("object",e)}var Pz=Array.isArray,Mz=Rz(Fz,"function"),Hz=Rz(Fz,"string"),Bz=Rz(Fz,"undefined");function zz(e){return null===e}function qz(e){try{return e instanceof(e.ownerDocument.defaultView||window).HTMLElement}catch(e){return!1}}function Uz(e){return Pz(e)?e:[e]}function jz(e,t){Uz(e).forEach(t)}function Vz(e,t){return e.indexOf(t)>-1}function Wz(e,t){return e.push.apply(e,Uz(t)),e}function $z(e,t,n){e&&jz(t,(function(t){t&&e.classList[n?"add":"remove"](t)}))}function Gz(e,t){$z(e,Hz(t)?t.split(" "):t,!0)}function Yz(e,t){jz(t,e.appendChild.bind(e))}function Qz(e,t){jz(e,(function(e){var n=(t||e).parentNode;n&&n.insertBefore(e,t)}))}function Kz(e,t){return qz(e)&&(e.msMatchesSelector||e.matches).call(e,t)}function Zz(e,t){var n=e?Dz(e.children):[];return t?n.filter((function(e){return Kz(e,t)})):n}function Jz(e,t){return t?Zz(e,t)[0]:e.firstElementChild}var Xz=Object.keys;function eq(e,t,n){return e&&(n?Xz(e).reverse():Xz(e)).forEach((function(n){"__proto__"!==n&&t(e[n],n)})),e}function tq(e){return Dz(arguments,1).forEach((function(t){eq(t,(function(n,i){e[i]=t[i]}))})),e}function nq(e){return Dz(arguments,1).forEach((function(t){eq(t,(function(t,n){Pz(t)?e[n]=t.slice():Lz(t)?e[n]=nq({},Lz(e[n])?e[n]:{},t):e[n]=t}))})),e}function iq(e,t){jz(t||Xz(e),(function(t){delete e[t]}))}function rq(e,t){jz(e,(function(e){jz(t,(function(t){e&&e.removeAttribute(t)}))}))}function sq(e,t,n){Lz(t)?eq(t,(function(t,n){sq(e,n,t)})):jz(e,(function(e){zz(n)||""===n?rq(e,t):e.setAttribute(t,String(n))}))}function oq(e,t,n){var i=document.createElement(e);return t&&(Hz(t)?Gz(i,t):sq(i,t)),n&&Yz(n,i),i}function aq(e,t,n){if(Bz(n))return getComputedStyle(e)[t];zz(n)||(e.style[t]=""+n)}function lq(e,t){aq(e,"display",t)}function cq(e){e.setActive&&e.setActive()||e.focus({preventScroll:!0})}function uq(e,t){return e.getAttribute(t)}function dq(e,t){return e&&e.classList.contains(t)}function hq(e){return e.getBoundingClientRect()}function pq(e){jz(e,(function(e){e&&e.parentNode&&e.parentNode.removeChild(e)}))}function fq(e){return Jz((new DOMParser).parseFromString(e,"text/html").body)}function gq(e,t){e.preventDefault(),t&&(e.stopPropagation(),e.stopImmediatePropagation())}function _q(e,t){return e&&e.querySelector(t)}function mq(e,t){return t?Dz(e.querySelectorAll(t)):[]}function vq(e,t){$z(e,t,!1)}function bq(e){return e.timeStamp}function yq(e){return Hz(e)?e:e?e+"px":""}var wq="splide",Eq="data-"+wq;function Tq(e,t){if(!e)throw new Error("["+wq+"] "+(t||""))}var Iq=Math.min,Cq=Math.max,Sq=Math.floor,Aq=Math.ceil,xq=Math.abs;function Dq(e,t,n){return xq(e-t)<n}function Rq(e,t,n,i){var r=Iq(t,n),s=Cq(t,n);return i?r<e&&e<s:r<=e&&e<=s}function kq(e,t,n){var i=Iq(t,n),r=Cq(t,n);return Iq(Cq(i,e),r)}function Oq(e){return+(e>0)-+(e<0)}function Nq(e,t){return jz(t,(function(t){e=e.replace("%s",""+t)})),e}function Fq(e){return e<10?"0"+e:""+e}var Lq={};function Pq(){var e=[];function t(e,t,n){jz(e,(function(e){e&&jz(t,(function(t){t.split(" ").forEach((function(t){var i=t.split(".");n(e,i[0],i[1])}))}))}))}return{bind:function(n,i,r,s){t(n,i,(function(t,n,i){var o="addEventListener"in t,a=o?t.removeEventListener.bind(t,n,r,s):t.removeListener.bind(t,r);o?t.addEventListener(n,r,s):t.addListener(r),e.push([t,n,i,r,a])}))},unbind:function(n,i,r){t(n,i,(function(t,n,i){e=e.filter((function(e){return!!(e[0]!==t||e[1]!==n||e[2]!==i||r&&e[3]!==r)||(e[4](),!1)}))}))},dispatch:function(e,t,n){var i;return"function"==typeof CustomEvent?i=new CustomEvent(t,{bubbles:true,detail:n}):(i=document.createEvent("CustomEvent")).initCustomEvent(t,true,!1,n),e.dispatchEvent(i),i},destroy:function(){e.forEach((function(e){e[4]()})),xz(e)}}}var Mq="mounted",Hq="ready",Bq="move",zq="moved",qq="click",Uq="active",jq="inactive",Vq="visible",Wq="hidden",$q="refresh",Gq="updated",Yq="resize",Qq="resized",Kq="scroll",Zq="scrolled",Jq="destroy",Xq="arrows:mounted",eU="navigation:mounted",tU="autoplay:play",nU="autoplay:pause",iU="lazyload:loaded",rU="sk",sU="sh",oU="ei";function aU(e){var t=e?e.event.bus:document.createDocumentFragment(),n=Pq();return e&&e.event.on(Jq,n.destroy),tq(n,{bus:t,on:function(e,i){n.bind(t,Uz(e).join(" "),(function(e){i.apply(i,Pz(e.detail)?e.detail:[])}))},off:Rz(n.unbind,t),emit:function(e){n.dispatch(t,e,Dz(arguments,1))}})}function lU(e,t,n,i){var r,s,o=Date.now,a=0,l=!0,c=0;function u(){if(!l){if(a=e?Iq((o()-r)/e,1):1,n&&n(a),a>=1&&(t(),r=o(),i&&++c>=i))return d();s=Nz(u)}}function d(){l=!0}function h(){s&&cancelAnimationFrame(s),a=0,s=0,l=!0}return{start:function(t){t||h(),r=o()-(t?a*e:0),l=!1,s=Nz(u)},rewind:function(){r=o(),a=0,n&&n(a)},pause:d,cancel:h,set:function(t){e=t},isPaused:function(){return l}}}var cU="Arrow",uU=cU+"Left",dU=cU+"Right",hU=cU+"Up",pU=cU+"Down",fU="ttb",gU={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[hU,dU],ArrowRight:[pU,uU]};var _U="role",mU="tabindex",vU="aria-",bU=vU+"controls",yU=vU+"current",wU=vU+"selected",EU=vU+"label",TU=vU+"labelledby",IU=vU+"hidden",CU=vU+"orientation",SU=vU+"roledescription",AU=vU+"live",xU=vU+"busy",DU=vU+"atomic",RU=[_U,mU,"disabled",bU,yU,EU,TU,IU,CU,SU],kU=wq+"__",OU="is-",NU=wq,FU=kU+"track",LU=kU+"list",PU=kU+"slide",MU=PU+"--clone",HU=PU+"__container",BU=kU+"arrows",zU=kU+"arrow",qU=zU+"--prev",UU=zU+"--next",jU=kU+"pagination",VU=jU+"__page",WU=kU+"progress"+"__bar",$U=kU+"toggle",GU=kU+"sr",YU=OU+"initialized",QU=OU+"active",KU=OU+"prev",ZU=OU+"next",JU=OU+"visible",XU=OU+"loading",ej=OU+"focus-in",tj=OU+"overflow",nj=[QU,JU,KU,ZU,XU,ej,tj],ij={slide:PU,clone:MU,arrows:BU,arrow:zU,prev:qU,next:UU,pagination:jU,page:VU,spinner:kU+"spinner"};var rj="touchstart mousedown",sj="touchmove mousemove",oj="touchend touchcancel mouseup click";var aj="slide",lj="loop",cj="fade";function uj(e,t,n,i){var r,s=aU(e),o=s.on,a=s.emit,l=s.bind,c=e.Components,u=e.root,d=e.options,h=d.isNavigation,p=d.updateOnMove,f=d.i18n,g=d.pagination,_=d.slideFocus,m=c.Direction.resolve,v=uq(i,"style"),b=uq(i,EU),y=n>-1,w=Jz(i,"."+HU);function E(){var r=e.splides.map((function(e){var n=e.splide.Components.Slides.getAt(t);return n?n.slide.id:""})).join(" ");sq(i,EU,Nq(f.slideX,(y?n:t)+1)),sq(i,bU,r),sq(i,_U,_?"button":""),_&&rq(i,SU)}function T(){r||I()}function I(){if(!r){var n=e.index;(s=C())!==dq(i,QU)&&($z(i,QU,s),sq(i,yU,h&&s||""),a(s?Uq:jq,S)),function(){var t=function(){if(e.is(cj))return C();var t=hq(c.Elements.track),n=hq(i),r=m("left",!0),s=m("right",!0);return Sq(t[r])<=Aq(n[r])&&Sq(n[s])<=Aq(t[s])}(),n=!t&&(!C()||y);e.state.is([Cz,Sz])||sq(i,IU,n||"");sq(mq(i,d.focusableNodes||""),mU,n?-1:""),_&&sq(i,mU,n?-1:0);t!==dq(i,JU)&&($z(i,JU,t),a(t?Vq:Wq,S));if(!t&&document.activeElement===i){var r=c.Slides.getAt(e.index);r&&cq(r.slide)}}(),$z(i,KU,t===n-1),$z(i,ZU,t===n+1)}var s}function C(){var i=e.index;return i===t||d.cloneStatus&&i===n}var S={index:t,slideIndex:n,slide:i,container:w,isClone:y,mount:function(){y||(i.id=u.id+"-slide"+Fq(t+1),sq(i,_U,g?"tabpanel":"group"),sq(i,SU,f.slide),sq(i,EU,b||Nq(f.slideLabel,[t+1,e.length]))),l(i,"click",Rz(a,qq,S)),l(i,"keydown",Rz(a,rU,S)),o([zq,sU,Zq],I),o(eU,E),p&&o(Bq,T)},destroy:function(){r=!0,s.destroy(),vq(i,nj),rq(i,RU),sq(i,"style",v),sq(i,EU,b||"")},update:I,style:function(e,t,n){aq(n&&w||i,e,t)},isWithin:function(n,i){var r=xq(n-t);return y||!d.rewind&&!e.is(lj)||(r=Iq(r,e.length-r)),r<=i}};return S}var dj=Eq+"-interval";var hj={passive:!1,capture:!0};var pj={Spacebar:" ",Right:dU,Left:uU,Up:hU,Down:pU};function fj(e){return e=Hz(e)?e:e.key,pj[e]||e}var gj="keydown";var _j=Eq+"-lazy",mj=_j+"-srcset",vj="["+_j+"], ["+mj+"]";var bj=[" ","Enter"];var yj=Object.freeze({__proto__:null,Media:function(e,t,n){var i=e.state,r=n.breakpoints||{},s=n.reducedMotion||{},o=Pq(),a=[];function l(e){e&&o.destroy()}function c(e,t){var n=matchMedia(t);o.bind(n,"change",u),a.push([e,n])}function u(){var t=i.is(7),r=n.direction,s=a.reduce((function(e,t){return nq(e,t[1].matches?t[0]:{})}),{});iq(n),d(s),n.destroy?e.destroy("completely"===n.destroy):t?(l(!0),e.mount()):r!==n.direction&&e.refresh()}function d(t,r,s){nq(n,t),r&&nq(Object.getPrototypeOf(n),t),!s&&i.is(1)||e.emit(Gq,n)}return{setup:function(){var e="min"===n.mediaQuery;Xz(r).sort((function(t,n){return e?+t-+n:+n-+t})).forEach((function(t){c(r[t],"("+(e?"min":"max")+"-width:"+t+"px)")})),c(s,Iz),u()},destroy:l,reduce:function(e){matchMedia(Iz).matches&&(e?nq(n,s):iq(n,Xz(s)))},set:d}},Direction:function(e,t,n){return{resolve:function(e,t,i){var r="rtl"!==(i=i||n.direction)||t?i===fU?0:-1:1;return gU[e]&&gU[e][r]||e.replace(/width|left|right/i,(function(e,t){var n=gU[e.toLowerCase()][r]||e;return t>0?n.charAt(0).toUpperCase()+n.slice(1):n}))},orient:function(e){return e*("rtl"===n.direction?1:-1)}}},Elements:function(e,t,n){var i,r,s,o=aU(e),a=o.on,l=o.bind,c=e.root,u=n.i18n,d={},h=[],p=[],f=[];function g(){i=v("."+FU),r=Jz(i,"."+LU),Tq(i&&r,"A track/list element is missing."),Wz(h,Zz(r,"."+PU+":not(."+MU+")")),eq({arrows:BU,pagination:jU,prev:qU,next:UU,bar:WU,toggle:$U},(function(e,t){d[t]=v("."+e)})),tq(d,{root:c,track:i,list:r,slides:h}),function(){var e=c.id||(s=wq,""+s+Fq(Lq[s]=(Lq[s]||0)+1)),t=n.role;var s;c.id=e,i.id=i.id||e+"-track",r.id=r.id||e+"-list",!uq(c,_U)&&"SECTION"!==c.tagName&&t&&sq(c,_U,t);sq(c,SU,u.carousel),sq(r,_U,"presentation")}(),m()}function _(e){var t=RU.concat("style");xz(h),vq(c,p),vq(i,f),rq([i,r],t),rq(c,e?t:["style",SU])}function m(){vq(c,p),vq(i,f),p=b(NU),f=b(FU),Gz(c,p),Gz(i,f),sq(c,EU,n.label),sq(c,TU,n.labelledby)}function v(e){var t=_q(c,e);return t&&function(e,t){if(Mz(e.closest))return e.closest(t);for(var n=e;n&&1===n.nodeType&&!Kz(n,t);)n=n.parentElement;return n}(t,"."+NU)===c?t:void 0}function b(e){return[e+"--"+n.type,e+"--"+n.direction,n.drag&&e+"--draggable",n.isNavigation&&e+"--nav",e===NU&&QU]}return tq(d,{setup:g,mount:function(){a($q,_),a($q,g),a(Gq,m),l(document,rj+" keydown",(function(e){s="keydown"===e.type}),{capture:!0}),l(c,"focusin",(function(){$z(c,ej,!!s)}))},destroy:_})},Slides:function(e,t,n){var i=aU(e),r=i.on,s=i.emit,o=i.bind,a=t.Elements,l=a.slides,c=a.list,u=[];function d(){l.forEach((function(e,t){p(e,t,-1)}))}function h(){g((function(e){e.destroy()})),xz(u)}function p(t,n,i){var r=uj(e,n,i,t);r.mount(),u.push(r),u.sort((function(e,t){return e.index-t.index}))}function f(e){return e?_((function(e){return!e.isClone})):u}function g(e,t){f(t).forEach(e)}function _(e){return u.filter(Mz(e)?e:function(t){return Hz(e)?Kz(t.slide,e):Vz(Uz(e),t.index)})}return{mount:function(){d(),r($q,h),r($q,d)},destroy:h,update:function(){g((function(e){e.update()}))},register:p,get:f,getIn:function(e){var i=t.Controller,r=i.toIndex(e),s=i.hasFocus()?1:n.perPage;return _((function(e){return Rq(e.index,r,r+s-1)}))},getAt:function(e){return _(e)[0]},add:function(e,t){jz(e,(function(e){if(Hz(e)&&(e=fq(e)),qz(e)){var i=l[t];i?Qz(e,i):Yz(c,e),Gz(e,n.classes.slide),function(e,t){var n=mq(e,"img"),i=n.length;i?n.forEach((function(e){o(e,"load error",(function(){--i||t()}))})):t()}(e,Rz(s,Yq))}})),s($q)},remove:function(e){pq(_(e).map((function(e){return e.slide}))),s($q)},forEach:g,filter:_,style:function(e,t,n){g((function(i){i.style(e,t,n)}))},getLength:function(e){return e?l.length:u.length},isEnough:function(){return u.length>n.perPage}}},Layout:function(e,t,n){var i,r,s,o=aU(e),a=o.on,l=o.bind,c=o.emit,u=t.Slides,d=t.Direction.resolve,h=t.Elements,p=h.root,f=h.track,g=h.list,_=u.getAt,m=u.style;function v(){i=n.direction===fU,aq(p,"maxWidth",yq(n.width)),aq(f,d("paddingLeft"),y(!1)),aq(f,d("paddingRight"),y(!0)),b(!0)}function b(e){var t=hq(p);(e||r.width!==t.width||r.height!==t.height)&&(aq(f,"height",function(){var e="";i&&(Tq(e=w(),"height or heightRatio is missing."),e="calc("+e+" - "+y(!1)+" - "+y(!0)+")");return e}()),m(d("marginRight"),yq(n.gap)),m("width",n.autoWidth?null:yq(n.fixedWidth)||(i?"":E())),m("height",yq(n.fixedHeight)||(i?n.autoHeight?null:E():w()),!0),r=t,c(Qq),s!==(s=x())&&($z(p,tj,s),c("overflow",s)))}function y(e){var t=n.padding,i=d(e?"right":"left");return t&&yq(t[i]||(Lz(t)?0:t))||"0px"}function w(){return yq(n.height||hq(g).width*n.heightRatio)}function E(){var e=yq(n.gap);return"calc((100%"+(e&&" + "+e)+")/"+(n.perPage||1)+(e&&" - "+e)+")"}function T(){return hq(g)[d("width")]}function I(e,t){var n=_(e||0);return n?hq(n.slide)[d("width")]+(t?0:A()):0}function C(e,t){var n=_(e);if(n){var i=hq(n.slide)[d("right")],r=hq(g)[d("left")];return xq(i-r)+(t?0:A())}return 0}function S(t){return C(e.length-1)-C(0)+I(0,t)}function A(){var e=_(0);return e&&parseFloat(aq(e.slide,d("marginRight")))||0}function x(){return e.is(cj)||S(!0)>T()}return{mount:function(){var e,t,n;v(),l(window,"resize load",(e=Rz(c,Yq),n=lU(t||0,e,null,1),function(){n.isPaused()&&n.start()})),a([Gq,$q],v),a(Yq,b)},resize:b,listSize:T,slideSize:I,sliderSize:S,totalSize:C,getPadding:function(e){return parseFloat(aq(f,d("padding"+(e?"Right":"Left"))))||0},isOverflow:x}},Clones:function(e,t,n){var i,r=aU(e),s=r.on,o=t.Elements,a=t.Slides,l=t.Direction.resolve,c=[];function u(){s($q,d),s([Gq,Yq],p),(i=f())&&(!function(t){var i=a.get().slice(),r=i.length;if(r){for(;i.length<t;)Wz(i,i);Wz(i.slice(-t),i.slice(0,t)).forEach((function(s,l){var u=l<t,d=function(t,i){var r=t.cloneNode(!0);return Gz(r,n.classes.clone),r.id=e.root.id+"-clone"+Fq(i+1),r}(s.slide,l);u?Qz(d,i[0].slide):Yz(o.list,d),Wz(c,d),a.register(d,l-t+(u?0:r),s.index)}))}}(i),t.Layout.resize(!0))}function d(){h(),u()}function h(){pq(c),xz(c),r.destroy()}function p(){var e=f();i!==e&&(i<e||!e)&&r.emit($q)}function f(){var i=n.clones;if(e.is(lj)){if(Bz(i)){var r=n[l("fixedWidth")]&&t.Layout.slideSize(0);i=r&&Aq(hq(o.track)[l("width")]/r)||n[l("autoWidth")]&&e.length||2*n.perPage}}else i=0;return i}return{mount:u,destroy:h}},Move:function(e,t,n){var i,r=aU(e),s=r.on,o=r.emit,a=e.state.set,l=t.Layout,c=l.slideSize,u=l.getPadding,d=l.totalSize,h=l.listSize,p=l.sliderSize,f=t.Direction,g=f.resolve,_=f.orient,m=t.Elements,v=m.list,b=m.track;function y(){t.Controller.isBusy()||(t.Scroll.cancel(),w(e.index),t.Slides.update())}function w(e){E(S(e,!0))}function E(n,i){if(!e.is(cj)){var r=i?n:function(n){if(e.is(lj)){var i=C(n),r=i>t.Controller.getEnd();(i<0||r)&&(n=T(n,r))}return n}(n);aq(v,"transform","translate"+g("X")+"("+r+"px)"),n!==r&&o(sU)}}function T(e,t){var n=e-x(t),i=p();return e-=_(i*(Aq(xq(n)/i)||1))*(t?1:-1)}function I(){E(A(),!0),i.cancel()}function C(e){for(var n=t.Slides.get(),i=0,r=1/0,s=0;s<n.length;s++){var o=n[s].index,a=xq(S(o,!0)-e);if(!(a<=r))break;r=a,i=o}return i}function S(t,i){var r=_(d(t-1)-function(e){var t=n.focus;return"center"===t?(h()-c(e,!0))/2:+t*c(e)||0}(t));return i?function(t){n.trimSpace&&e.is(aj)&&(t=kq(t,0,_(p(!0)-h())));return t}(r):r}function A(){var e=g("left");return hq(v)[e]-hq(b)[e]+_(u(!1))}function x(e){return S(e?t.Controller.getEnd():0,!!n.trimSpace)}return{mount:function(){i=t.Transition,s([Mq,Qq,Gq,$q],y)},move:function(e,t,n,r){var s,l;e!==t&&(s=e>n,l=_(T(A(),s)),s?l>=0:l<=v[g("scrollWidth")]-hq(b)[g("width")])&&(I(),E(T(A(),e>n),!0)),a(Cz),o(Bq,t,n,e),i.start(t,(function(){a(3),o(zq,t,n,e),r&&r()}))},jump:w,translate:E,shift:T,cancel:I,toIndex:C,toPosition:S,getPosition:A,getLimit:x,exceededLimit:function(e,t){t=Bz(t)?A():t;var n=!0!==e&&_(t)<_(x(!1)),i=!1!==e&&_(t)>_(x(!0));return n||i},reposition:y}},Controller:function(e,t,n){var i,r,s,o,a=aU(e),l=a.on,c=a.emit,u=t.Move,d=u.getPosition,h=u.getLimit,p=u.toPosition,f=t.Slides,g=f.isEnough,_=f.getLength,m=n.omitEnd,v=e.is(lj),b=e.is(aj),y=Rz(S,!1),w=Rz(S,!0),E=n.start||0,T=E;function I(){r=_(!0),s=n.perMove,o=n.perPage,i=D();var e=kq(E,0,m?i:r-1);e!==E&&(E=e,u.reposition())}function C(){i!==D()&&c(oU)}function S(e,t){var n=s||(N()?1:o),r=A(E+n*(e?-1:1),E,!(s||N()));return-1===r&&b&&!Dq(d(),h(!e),1)?e?0:i:t?r:x(r)}function A(t,a,l){if(g()||N()){var c=function(t){if(b&&"move"===n.trimSpace&&t!==E)for(var i=d();i===p(t,!0)&&Rq(t,0,e.length-1,!n.rewind);)t<E?--t:++t;return t}(t);c!==t&&(a=t,t=c,l=!1),t<0||t>i?t=s||!Rq(0,t,a,!0)&&!Rq(i,a,t,!0)?v?l?t<0?-(r%o||o):r:t:n.rewind?t<0?i:0:-1:R(k(t)):l&&t!==a&&(t=R(k(a)+(t<a?-1:1)))}else t=-1;return t}function x(e){return v?(e+r)%r||0:e}function D(){for(var e=r-(N()||v&&s?1:o);m&&e-- >0;)if(p(r-1,!0)!==p(e,!0)){e++;break}return kq(e,0,r-1)}function R(e){return kq(N()?e:o*e,0,i)}function k(e){return N()?Iq(e,i):Sq((e>=i?r-1:e)/o)}function O(e){e!==E&&(T=E,E=e)}function N(){return!Bz(n.focus)||n.isNavigation}function F(){return e.state.is([Cz,Sz])&&!!n.waitForTransition}return{mount:function(){I(),l([Gq,$q,oU],I),l(Qq,C)},go:function(e,t,n){if(!F()){var r=function(e){var t=E;if(Hz(e)){var n=e.match(/([+\-<>])(\d+)?/)||[],r=n[1],s=n[2];"+"===r||"-"===r?t=A(E+ +(""+r+(+s||1)),E):">"===r?t=s?R(+s):y(!0):"<"===r&&(t=w(!0))}else t=v?e:kq(e,0,i);return t}(e),s=x(r);s>-1&&(t||s!==E)&&(O(s),u.move(r,s,T,n))}},scroll:function(e,n,r,s){t.Scroll.scroll(e,n,r,(function(){var e=x(u.toIndex(d()));O(m?Iq(e,i):e),s&&s()}))},getNext:y,getPrev:w,getAdjacent:S,getEnd:D,setIndex:O,getIndex:function(e){return e?T:E},toIndex:R,toPage:k,toDest:function(e){var t=u.toIndex(e);return b?kq(t,0,i):t},hasFocus:N,isBusy:F}},Arrows:function(e,t,n){var i,r,s=aU(e),o=s.on,a=s.bind,l=s.emit,c=n.classes,u=n.i18n,d=t.Elements,h=t.Controller,p=d.arrows,f=d.track,g=p,_=d.prev,m=d.next,v={};function b(){!function(){var e=n.arrows;!e||_&&m||(g=p||oq("div",c.arrows),_=T(!0),m=T(!1),i=!0,Yz(g,[_,m]),!p&&Qz(g,f));_&&m&&(tq(v,{prev:_,next:m}),lq(g,e?"":"none"),Gz(g,r=BU+"--"+n.direction),e&&(o([Mq,zq,$q,Zq,oU],I),a(m,"click",Rz(E,">")),a(_,"click",Rz(E,"<")),I(),sq([_,m],bU,f.id),l(Xq,_,m)))}(),o(Gq,y)}function y(){w(),b()}function w(){s.destroy(),vq(g,r),i?(pq(p?[_,m]:g),_=m=null):rq([_,m],RU)}function E(e){h.go(e,!0)}function T(e){return fq('<button class="'+c.arrow+" "+(e?c.prev:c.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(n.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}function I(){if(_&&m){var t=e.index,n=h.getPrev(),i=h.getNext(),r=n>-1&&t<n?u.last:u.prev,s=i>-1&&t>i?u.first:u.next;_.disabled=n<0,m.disabled=i<0,sq(_,EU,r),sq(m,EU,s),l("arrows:updated",_,m,n,i)}}return{arrows:v,mount:b,destroy:w,update:I}},Autoplay:function(e,t,n){var i,r,s=aU(e),o=s.on,a=s.bind,l=s.emit,c=lU(n.interval,e.go.bind(e,">"),(function(e){var t=d.bar;t&&aq(t,"width",100*e+"%"),l("autoplay:playing",e)})),u=c.isPaused,d=t.Elements,h=t.Elements,p=h.root,f=h.toggle,g=n.autoplay,_="pause"===g;function m(){u()&&t.Slides.isEnough()&&(c.start(!n.resetProgress),r=i=_=!1,y(),l(tU))}function v(e){void 0===e&&(e=!0),_=!!e,y(),u()||(c.pause(),l(nU))}function b(){_||(i||r?v(!1):m())}function y(){f&&($z(f,QU,!_),sq(f,EU,n.i18n[_?"play":"pause"]))}function w(e){var i=t.Slides.getAt(e);c.set(i&&+uq(i.slide,dj)||n.interval)}return{mount:function(){g&&(!function(){n.pauseOnHover&&a(p,"mouseenter mouseleave",(function(e){i="mouseenter"===e.type,b()}));n.pauseOnFocus&&a(p,"focusin focusout",(function(e){r="focusin"===e.type,b()}));f&&a(f,"click",(function(){_?m():v(!0)}));o([Bq,Kq,$q],c.rewind),o(Bq,w)}(),f&&sq(f,bU,d.track.id),_||m(),y())},destroy:c.cancel,play:m,pause:v,isPaused:u}},Cover:function(e,t,n){var i=aU(e).on;function r(e){t.Slides.forEach((function(t){var n=Jz(t.container||t.slide,"img");n&&n.src&&s(e,n,t)}))}function s(e,t,n){n.style("background",e?'center/cover no-repeat url("'+t.src+'")':"",!0),lq(t,e?"none":"")}return{mount:function(){n.cover&&(i(iU,Rz(s,!0)),i([Mq,Gq,$q],Rz(r,!0)))},destroy:Rz(r,!1)}},Scroll:function(e,t,n){var i,r,s=aU(e),o=s.on,a=s.emit,l=e.state.set,c=t.Move,u=c.getPosition,d=c.getLimit,h=c.exceededLimit,p=c.translate,f=e.is(aj),g=1;function _(e,n,s,o,d){var p=u();if(b(),s&&(!f||!h())){var _=t.Layout.sliderSize(),y=Oq(e)*_*Sq(xq(e)/_)||0;e=c.toPosition(t.Controller.toDest(e%_))+y}var w=Dq(p,e,1);g=1,n=w?0:n||Cq(xq(e-p)/1.5,800),r=o,i=lU(n,m,Rz(v,p,e,d),1),l(Sz),a(Kq),i.start()}function m(){l(3),r&&r(),a(Zq)}function v(e,t,i,s){var o,a,l=u(),c=(e+(t-e)*(o=s,(a=n.easingFunc)?a(o):1-Math.pow(1-o,4))-l)*g;p(l+c),f&&!i&&h()&&(g*=.6,xq(c)<10&&_(d(h(!0)),600,!1,r,!0))}function b(){i&&i.cancel()}function y(){i&&!i.isPaused()&&(b(),m())}return{mount:function(){o(Bq,b),o([Gq,$q],y)},destroy:b,scroll:_,cancel:y}},Drag:function(e,t,n){var i,r,s,o,a,l,c,u,d=aU(e),h=d.on,p=d.emit,f=d.bind,g=d.unbind,_=e.state,m=t.Move,v=t.Scroll,b=t.Controller,y=t.Elements.track,w=t.Media.reduce,E=t.Direction,T=E.resolve,I=E.orient,C=m.getPosition,S=m.exceededLimit,A=!1;function x(){var e=n.drag;B(!e),o="free"===e}function D(e){if(l=!1,!c){var t=H(e);i=e.target,r=n.noDrag,Kz(i,"."+VU+", ."+zU)||r&&Kz(i,r)||!t&&e.button||(b.isBusy()?gq(e,!0):(u=t?y:window,a=_.is([Cz,Sz]),s=null,f(u,sj,R,hj),f(u,oj,k,hj),m.cancel(),v.cancel(),N(e)))}var i,r}function R(t){if(_.is(6)||(_.set(6),p("drag")),t.cancelable)if(a){m.translate(i+F(t)/(A&&e.is(aj)?5:1));var r=L(t)>200,s=A!==(A=S());(r||s)&&N(t),l=!0,p("dragging"),gq(t)}else(function(e){return xq(F(e))>xq(F(e,!0))})(t)&&(a=function(e){var t=n.dragMinThreshold,i=Lz(t),r=i&&t.mouse||0,s=(i?t.touch:+t)||10;return xq(F(e))>(H(e)?s:r)}(t),gq(t))}function k(i){_.is(6)&&(_.set(3),p("dragged")),a&&(!function(i){var r=function(t){if(e.is(lj)||!A){var n=L(t);if(n&&n<200)return F(t)/n}return 0}(i),s=function(e){return C()+Oq(e)*Iq(xq(e)*(n.flickPower||600),o?1/0:t.Layout.listSize()*(n.flickMaxPages||1))}(r),a=n.rewind&&n.rewindByDrag;w(!1),o?b.scroll(s,0,n.snap):e.is(cj)?b.go(I(Oq(r))<0?a?"<":"-":a?">":"+"):e.is(aj)&&A&&a?b.go(S(!0)?">":"<"):b.go(b.toDest(s),!0);w(!0)}(i),gq(i)),g(u,sj,R),g(u,oj,k),a=!1}function O(e){!c&&l&&gq(e,!0)}function N(e){s=r,r=e,i=C()}function F(e,t){return M(e,t)-M(P(e),t)}function L(e){return bq(e)-bq(P(e))}function P(e){return r===e&&s||r}function M(e,t){return(H(e)?e.changedTouches[0]:e)["page"+T(t?"Y":"X")]}function H(e){return"undefined"!=typeof TouchEvent&&e instanceof TouchEvent}function B(e){c=e}return{mount:function(){f(y,sj,Oz,hj),f(y,oj,Oz,hj),f(y,rj,D,hj),f(y,"click",O,{capture:!0}),f(y,"dragstart",gq),h([Mq,Gq],x)},disable:B,isDragging:function(){return a}}},Keyboard:function(e,t,n){var i,r,s=aU(e),o=s.on,a=s.bind,l=s.unbind,c=e.root,u=t.Direction.resolve;function d(){var e=n.keyboard;e&&(i="global"===e?window:c,a(i,gj,f))}function h(){l(i,gj)}function p(){var e=r;r=!0,kz((function(){r=e}))}function f(t){if(!r){var n=fj(t);n===u(uU)?e.go("<"):n===u(dU)&&e.go(">")}}return{mount:function(){d(),o(Gq,h),o(Gq,d),o(Bq,p)},destroy:h,disable:function(e){r=e}}},LazyLoad:function(e,t,n){var i=aU(e),r=i.on,s=i.off,o=i.bind,a=i.emit,l="sequential"===n.lazyLoad,c=[zq,Zq],u=[];function d(){xz(u),t.Slides.forEach((function(e){mq(e.slide,vj).forEach((function(t){var i=uq(t,_j),r=uq(t,mj);if(i!==t.src||r!==t.srcset){var s=n.classes.spinner,o=t.parentElement,a=Jz(o,"."+s)||oq("span",s,o);u.push([t,e,a]),t.src||lq(t,"none")}}))})),l?g():(s(c),r(c,h),h())}function h(){(u=u.filter((function(t){var i=n.perPage*((n.preloadPages||1)+1)-1;return!t[1].isWithin(e.index,i)||p(t)}))).length||s(c)}function p(e){var t=e[0];Gz(e[1].slide,XU),o(t,"load error",Rz(f,e)),sq(t,"src",uq(t,_j)),sq(t,"srcset",uq(t,mj)),rq(t,_j),rq(t,mj)}function f(e,t){var n=e[0],i=e[1];vq(i.slide,XU),"error"!==t.type&&(pq(e[2]),lq(n,""),a(iU,n,i),a(Yq)),l&&g()}function g(){u.length&&p(u.shift())}return{mount:function(){n.lazyLoad&&(d(),r($q,d))},destroy:Rz(xz,u),check:h}},Pagination:function(e,t,n){var i,r,s=aU(e),o=s.on,a=s.emit,l=s.bind,c=t.Slides,u=t.Elements,d=t.Controller,h=d.hasFocus,p=d.getIndex,f=d.go,g=t.Direction.resolve,_=u.pagination,m=[];function v(){i&&(pq(_?Dz(i.children):i),vq(i,r),xz(m),i=null),s.destroy()}function b(e){f(">"+e,!0)}function y(e,t){var n=m.length,i=fj(t),r=w(),s=-1;i===g(dU,!1,r)?s=++e%n:i===g(uU,!1,r)?s=(--e+n)%n:"Home"===i?s=0:"End"===i&&(s=n-1);var o=m[s];o&&(cq(o.button),f(">"+s),gq(t,!0))}function w(){return n.paginationDirection||n.direction}function E(e){return m[d.toPage(e)]}function T(){var e=E(p(!0)),t=E(p());if(e){var n=e.button;vq(n,QU),rq(n,wU),sq(n,mU,-1)}if(t){var r=t.button;Gz(r,QU),sq(r,wU,!0),sq(r,mU,"")}a("pagination:updated",{list:i,items:m},e,t)}return{items:m,mount:function t(){v(),o([Gq,$q,oU],t);var s=n.pagination;_&&lq(_,s?"":"none"),s&&(o([Bq,Kq,Zq],T),function(){var t=e.length,s=n.classes,o=n.i18n,a=n.perPage,p=h()?d.getEnd()+1:Aq(t/a);Gz(i=_||oq("ul",s.pagination,u.track.parentElement),r=jU+"--"+w()),sq(i,_U,"tablist"),sq(i,EU,o.select),sq(i,CU,w()===fU?"vertical":"");for(var f=0;f<p;f++){var g=oq("li",null,i),v=oq("button",{class:s.page,type:"button"},g),E=c.getIn(f).map((function(e){return e.slide.id})),T=!h()&&a>1?o.pageX:o.slideX;l(v,"click",Rz(b,f)),n.paginationKeyboard&&l(v,"keydown",Rz(y,f)),sq(g,_U,"presentation"),sq(v,_U,"tab"),sq(v,bU,E.join(" ")),sq(v,EU,Nq(T,f+1)),sq(v,mU,-1),m.push({li:g,button:v,page:f})}}(),T(),a("pagination:mounted",{list:i,items:m},E(e.index)))},destroy:v,getAt:E,update:T}},Sync:function(e,t,n){var i=n.isNavigation,r=n.slideFocus,s=[];function o(){var t,n;e.splides.forEach((function(t){t.isParent||(l(e,t.splide),l(t.splide,e))})),i&&(t=aU(e),(n=t.on)(qq,u),n(rU,d),n([Mq,Gq],c),s.push(t),t.emit(eU,e.splides))}function a(){s.forEach((function(e){e.destroy()})),xz(s)}function l(e,t){var n=aU(e);n.on(Bq,(function(e,n,i){t.go(t.is(lj)?i:e)})),s.push(n)}function c(){sq(t.Elements.list,CU,n.direction===fU?"vertical":"")}function u(t){e.go(t.index)}function d(e,t){Vz(bj,fj(t))&&(u(e),gq(t))}return{setup:Rz(t.Media.set,{slideFocus:Bz(r)?i:r},!0),mount:o,destroy:a,remount:function(){a(),o()}}},Wheel:function(e,t,n){var i=aU(e).bind,r=0;function s(i){if(i.cancelable){var s=i.deltaY,o=s<0,a=bq(i),l=n.wheelMinThreshold||0,c=n.wheelSleep||0;xq(s)>l&&a-r>c&&(e.go(o?"<":">"),r=a),function(i){return!n.releaseWheel||e.state.is(Cz)||-1!==t.Controller.getAdjacent(i)}(o)&&gq(i)}}return{mount:function(){n.wheel&&i(t.Elements.track,"wheel",s,hj)}}},Live:function(e,t,n){var i=aU(e).on,r=t.Elements.track,s=n.live&&!n.isNavigation,o=oq("span",GU),a=lU(90,Rz(l,!1));function l(e){sq(r,xU,e),e?(Yz(r,o),a.start()):(pq(o),a.cancel())}function c(e){s&&sq(r,AU,e?"off":"polite")}return{mount:function(){s&&(c(!t.Autoplay.isPaused()),sq(r,DU,!0),o.textContent="…",i(tU,Rz(c,!0)),i(nU,Rz(c,!1)),i([zq,Zq],Rz(l,!0)))},disable:c,destroy:function(){rq(r,[AU,DU,xU]),pq(o)}}}}),wj={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:ij,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Ej(e,t,n){var i=t.Slides;function r(){i.forEach((function(e){e.style("transform","translateX(-"+100*e.index+"%)")}))}return{mount:function(){aU(e).on([Mq,$q],r)},start:function(e,t){i.style("transition","opacity "+n.speed+"ms "+n.easing),kz(t)},cancel:Oz}}function Tj(e,t,n){var i,r=t.Move,s=t.Controller,o=t.Scroll,a=t.Elements.list,l=Rz(aq,a,"transition");function c(){l(""),o.cancel()}return{mount:function(){aU(e).bind(a,"transitionend",(function(e){e.target===a&&i&&(c(),i())}))},start:function(t,a){var c=r.toPosition(t,!0),u=r.getPosition(),d=function(t){var i=n.rewindSpeed;if(e.is(aj)&&i){var r=s.getIndex(!0),o=s.getEnd();if(0===r&&t>=o||r>=o&&0===t)return i}return n.speed}(t);xq(c-u)>=1&&d>=1?n.useScroll?o.scroll(c,d,!1,a):(l("transform "+d+"ms "+n.easing),r.translate(c,!0),i=a):(r.jump(t),a())},cancel:c}}var Ij=function(){function e(t,n){var i;this.event=aU(),this.Components={},this.state=(i=1,{set:function(e){i=e},is:function(e){return Vz(Uz(e),i)}}),this.splides=[],this._o={},this._E={};var r=Hz(t)?_q(document,t):t;Tq(r,r+" is invalid."),this.root=r,n=nq({label:uq(r,EU)||"",labelledby:uq(r,TU)||""},wj,e.defaults,n||{});try{nq(n,JSON.parse(uq(r,Eq)))}catch(e){Tq(!1,"Invalid JSON")}this._o=Object.create(nq({},n))}var t,n,i,r=e.prototype;return r.mount=function(e,t){var n=this,i=this.state,r=this.Components;return Tq(i.is([1,7]),"Already mounted!"),i.set(1),this._C=r,this._T=t||this._T||(this.is(cj)?Ej:Tj),this._E=e||this._E,eq(tq({},yj,this._E,{Transition:this._T}),(function(e,t){var i=e(n,r,n._o);r[t]=i,i.setup&&i.setup()})),eq(r,(function(e){e.mount&&e.mount()})),this.emit(Mq),Gz(this.root,YU),i.set(3),this.emit(Hq),this},r.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),e.Components.Sync.remount()),this},r.go=function(e){return this._C.Controller.go(e),this},r.on=function(e,t){return this.event.on(e,t),this},r.off=function(e){return this.event.off(e),this},r.emit=function(e){var t;return(t=this.event).emit.apply(t,[e].concat(Dz(arguments,1))),this},r.add=function(e,t){return this._C.Slides.add(e,t),this},r.remove=function(e){return this._C.Slides.remove(e),this},r.is=function(e){return this._o.type===e},r.refresh=function(){return this.emit($q),this},r.destroy=function(e){void 0===e&&(e=!0);var t=this.event,n=this.state;return n.is(1)?aU(this).on(Hq,this.destroy.bind(this,e)):(eq(this._C,(function(t){t.destroy&&t.destroy(e)}),!0),t.emit(Jq),t.destroy(),e&&xz(this.splides),n.set(7)),this},t=e,(n=[{key:"options",get:function(){return this._o},set:function(e){this._C.Media.set(e,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}])&&Tz(t.prototype,n),i&&Tz(t,i),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Cj=Ij;Cj.defaults={},Cj.STATES=Az;function Sj(e,t){if(1&e){const e=h_();r_(0,"div")(1,"span",9),Nm("click",(function(){const t=ji(e),n=t.index,i=t.$implicit;return Vi(Hm().goToCat(n,i.LINK_URL))})),Iv(2),s_()()}if(2&e){const e=t.$implicit,n=t.index,i=Hm();Og("splide__slide cus-",e.LINK_URL,""),Df("data-slide-index",n),$c(),gg("active",i.active==n),Df("data-jump-to",e.LINK_URL),$c(),Sv(e.LINK_NAME)}}const Aj=e=>({"two-arrows":e});class xj{constructor(e,t){this.scrollService=e,this._cd=t,this.jumpLinks=[],this.elementsInView=[],this.lastScrolledElement="",this.allIds=[],this.subs=[],this.forceJump=!1,this.at_start=!0,this.at_end=!0,this.active=0}trackByFn(e){return e}ngOnInit(){}ngAfterViewInit(){if(this.jumpLinks.length>0&&(this.jumpLinks.forEach(((e,t)=>{const n="#"+e.LINK_URL;this.allIds.push(n)})),!RI())){if(!document.querySelector(".custom-links-slider"))return;this.jumpSlider=new Cj(".custom-links-slider",{type:"slide",drag:"free",autoWidth:!0,arrows:!1,pagination:!1,snap:!0,speed:200,perMove:1,align:"start"}),this.jumpSlider.mount(),this.jumpSlider.on("visible",(e=>{0==e.index&&(this.at_start=!0),e.index==this.jumpLinks.length-1&&(this.at_end=!0),this._cd.detectChanges()})),this.jumpSlider.on("hidden",(e=>{0==e.index&&(this.at_start=!1),e.index==this.jumpLinks.length-1&&(this.at_end=!1),this._cd.detectChanges()})),this.jumpSlider.on("resized",(e=>{this.adjustRightArrow()})),this.adjustRightArrow(),setTimeout((()=>{!RI()&&window.innerWidth>=768&&this.updateElementsInView(),this.subs.push(this.scrollService.onScroll.pipe(Et(0)).subscribe((e=>{RI()||this.forceJump||this.updateElementsInView()})))}),500)}}ngOnDestroy(){this.jumpSlider&&this.jumpSlider.destroy(),this.jumpSlider=null,this.subs.forEach((e=>e.unsubscribe()))}getDistanceToViewport(e){const t=e.getBoundingClientRect(),n=Math.abs(t.top),i=Math.abs(t.bottom-window.innerHeight);return Math.min(n,i)}goToCat(e,t){if(this.jumpSlider){const n=document.querySelector(`[data-slide-index="${e}"]`);n&&!n.classList.contains("is-visible")&&this.jumpSlider.go(e),this.active=e,t&&(this.forceJump=!0,setTimeout((()=>{this.forceJump=!1,this._cd.detectChanges()}),500))}}adjustRightArrow(){const e=document.getElementById("jsSlider");if(e){const t=e.querySelectorAll(".splide__slide");let n=0,i=0;t.forEach((e=>{i++,e.classList.contains("is-visible")&&n++})),i>n?(this.at_end=!1,this._cd.detectChanges()):(this.at_end=!0,this._cd.detectChanges())}}goTo(e){return null!==this.elRight&&-1!==this.elRight&&"next"===e?(this.jumpSlider.go(this.elRight-1),void this._cd.detectChanges()):null!==this.elLeft&&-1!==this.elLeft&&"prev"===e?(this.jumpSlider.go(this.elLeft),void this._cd.detectChanges()):(this.jumpSlider.go("next"==e?"+1":"-1"),void this._cd.detectChanges())}updateElementsInView(){this.elementsInView=[];let e=null,t=Number.MAX_VALUE;if(document.querySelectorAll(this.allIds.join(",")).forEach((n=>{const i=this.getDistanceToViewport(n);i<t&&(e=n,t=i)})),e&&this.elementsInView.push(e.id),this.elementsInView.length>0){const e=this.elementsInView[0];if(e===this.lastScrolledElement)return;document.querySelectorAll(`.cus-${this.elementsInView[0]}`).forEach(((e,t)=>{let n=e.getAttribute("data-slide-index");this.goToCat(parseInt(n))})),this.lastScrolledElement=e}this._cd.detectChanges()}get elRight(){if(RI())return null;const e=document.getElementById("jsSlider-list"),t=document.getElementById("jsSlider");if(!e||!t)return null;const n=t.querySelectorAll(".splide__slide");let i=-1;for(let e=0;e<n.length;e++){const r=n[e].getBoundingClientRect(),s=t.getBoundingClientRect();if(r.right>s.right){i=e;break}}return i}get elLeft(){if(RI())return null;const e=document.getElementById("jsSlider-list"),t=document.getElementById("jsSlider");if(!e||!t)return null;const n=t.querySelectorAll(".splide__slide");let i=-1;for(let e=0;e<n.length;e++){const r=n[e].getBoundingClientRect(),s=t.getBoundingClientRect();r.left<s.left&&(i=e)}return i}}xj.ɵfac=function(e){return new(e||xj)(Yc(lC),Yc(Ly))},xj.ɵcmp=vn({type:xj,selectors:[["div","id","best-card-sticky-nav"]],hostAttrs:["ngSkipHydration","true"],inputs:{jumpLinks:"jumpLinks"},attrs:["id","best-card-sticky-nav"],decls:9,vars:10,consts:[["id","js-custom-links-grid",1,"custom-links-grid"],[1,"cus-arrow-wrapper","pv"],["aria-label","Previous",1,"cus-arrow","cus-button-prev","leftarr",3,"ngClass","ng-hidden","click"],["id","jsSlider","aria-label","Navigation Tabs",1,"splide","custom-links-slider",3,"ngClass"],[1,"splide__track"],[1,"splide__list"],[3,"class",4,"ngFor","ngForOf","ngForTrackBy"],[1,"cus-arrow-wrapper"],["aria-label","Next",1,"cus-arrow","cus-button-next",3,"ng-hidden","click"],[1,"cus-link-anch",3,"click"]],template:function(e,t){1&e&&(r_(0,"div",0)(1,"span",1)(2,"button",2),Nm("click",(function(){return t.goTo("prev")})),s_()(),r_(3,"section",3)(4,"div",4)(5,"div",5),cp(6,Sj,3,8,"div",6),s_()()(),r_(7,"span",7)(8,"button",8),Nm("click",(function(){return t.goTo("next")})),s_()()()),2&e&&($c(2),hg("ngClass",eb(6,Aj,!t.at_start))("ng-hidden",t.at_start),$c(),hg("ngClass",eb(8,Aj,!t.at_start&&!t.at_end)),$c(3),hg("ngForOf",t.jumpLinks)("ngForTrackBy",t.trackByFn),$c(2),hg("ng-hidden",t.at_end))},dependencies:[gT,bT,$A],encapsulation:2,changeDetection:0});class Dj{}Dj.ɵfac=function(e){return new(e||Dj)},Dj.ɵmod=wn({type:Dj}),Dj.ɵinj=Vr({imports:[bM,tI,ax]}),e.$http=Gx,e.$httpAbort=Yx,e.ActivatedRoute=xM,e.AppContainer=Xx,e.AppData=iD,e.ApplicationRef=_y,e.BestCardBoxModule=bM,e.BrowserModule=kA,e.ChangeDetectorRef=Ly,e.ClearUserInfo=function(){rD.group("mw"),rD.remove("has-sess"),rD.remove("crd"),rD.remove("vs"),rD.get("is-inst-user")&&rD.remove("is-inst-user"),rD.remove(sD),rD.remove("full"),rD.remove("has_debt"),rD.remove("has_holiday_budget")},e.CommonModule=tI,e.CompareBarService=TR,e.CompileExpertsGallery=function(e,t,n,i={}){let r=GB,s=$B;const o=document.querySelectorAll("[id=experts-gallery]"),a=[];for(let l=0,c=o.length;l<c;l++){o[l].setAttribute("data-expert-sect",l.toString());let c=`div[data-expert-sect="${l}"]`,u=i.data[l]||{};u={back_bt_text:u.back_link_text,more_btn_txt:u.more_text,header_text:u.header_text,expert_offset:-100,max_experts:6,hashname:i.hashname,data:{expertsContent:u.expertsContent,aslogos:u.aslogos,expertsIntro:u.expertsIntro}},a.push(mR(e,t,r,s,c,u).then((e=>{let t=e.Component.instance.changedExpert.subscribe((e=>{e?history.pushState(null,"",location.pathname+location.search+"#expert="+e):history.replaceState(null,"",location.pathname+location.search)})),i=n.fragment.subscribe((t=>{if((t=(t||"").replace("#",""))&&t.indexOf("expert=")>-1){let n=VI(t);n&&n.expert&&XI((()=>{e.Component.instance.hashname=n.expert}))}}));return{destroy:()=>{e.destroy(),t.unsubscribe(),i.unsubscribe()}}})))}return Promise.all(a).then((e=>({destroy:()=>{e.forEach((e=>{e.destroy()}))}})))},e.Component=Xb,e.Cookies=Vx,e.DirectivesModule=ax,e.EduHepful=wz,e.ElementRef=Ar,e.Env=tC,e.ErrorHandler=$a,e.Events=Mx,e.FooterModule=_z,e.GesturesModule=rC,e.GetNavigo=function(){return OM},e.ImageErrorModule=CR,e.ImageLoader=wR,e.ImgError=IR,e.Injector=Va,e.Input=ty,e.LocalStorage=rD,e.NGGlide=SM,e.NGGlideModule=AM,e.NGRavenExceptionHandler=class{handleError(e){dD().then((t=>{let n=e.originalError||e;n&&(t.captureException(n),console.error(n))}))}},e.NgBestCardStickyNavModule=Dj,e.NgClass=gT,e.NgEduHepfulModule=Ez,e.NgFocusModule=nD,e.NgForOf=bT,e.NgIf=wT,e.NgModule=ny,e.NgStyle=RT,e.NgSwitch=CT,e.NgSwitchCase=ST,e.NgZone=Td,e.Optional=Gs,e.PageFooter=gz,e.Pipe=ey,e.QnAComp=kB,e.QnAModule=OB,e.RavenJs=dD,e.RavenRequestFail=hD,e.RendererFactory2=fd,e.Router=DM,e.RouterModule=NM,e.ScrollMainRegion=cC,e.ScrollerService=lC,e.StringReplace=function(e,t){return e.replace(/\{(\d+)\}/g,((e,n)=>void 0!==t[n]?t[n]:e))},e.Subject=re,e.ToolTipComponent=_O,e.ToolTipModalModule=vO,e.TouchGestures=iC,e.TouchGesturesMainRegion=nC,e.ViewChild=Eh,e.ViewChildren=wh,e.ajaxUrl=mx,e.arrayForEach=zI,e.baseUrl=hx,e.cleanInput=eD,e.createNgModule=Gh,e.debounceTime=bt,e.delay=Et,e.enableProdMode=function(){0},e.injectModuleAsync=mR,e.isAny=QI,e.isArray=BI,e.isCordova=DI,e.isCordovaAndroid=function(){return DI()&&window.top.device&&"android"==window.top.device.platform.toLowerCase()},e.isDev=function(){return"DEV"==tC.getEnv()},e.isFullUser=uD,e.isInstitutionUser=function(){var e;return rD.group("mw"),(null===(e=rD.get(sD))||void 0===e?void 0:e.institution)||rD.get("is-inst-user")},e.isIthacaExpired=function(){return uD()&&!Vx.get("mw_sess_active")},e.isJasmineTest=OI,e.isLocal=xI,e.isNode=RI,e.isNumber=PI,e.isObject=UI,e.isProd=function(){return"PROD"==tC.getEnv()||!DI()&&"STAGE"==tC.getEnv()},e.isString=FI,e.isWeb=AI,e.map=Pe,e.ngAriaHidden=tx,e.ngAriaLabelSelf=nx,e.ngAriaLive=rx,e.ngAttribute=GA,e.ngBestCard=mM,e.ngBestCardStickyNav=xj,e.ngCleanBind=JA,e.ngCleanHTML=KA,e.ngFocus=tD,e.ngHidden=$A,e.ngMinCred=VR,e.ngMinCredModule=GR,e.ngModalDialog=gR,e.ngModalPopup=JR,e.ngModalPopupModule=XR,e.ngModalsModule=_R,e.ngTruncate=DR,e.objectSerialize=jI,e.passiveEventsCheck=eC,e.platformBrowser=AA,e.reqAnimationFrame=XI,e.setClassMetadata=Xh,e.skip=function(e){return vt((function(t,n){return e<=n}))},e.uniqid=JI,e.userHasDebt=function(){return rD.group("mw"),KI(rD.get("has_debt"))||rD.get("has_debt")},e.userHasHolidayBudget=function(){let e=new Date(2023,11,25,23,59,0),t=new Date,n=t<new Date(2023,10,7,23,59,0)||t>e;return rD.group("mw"),!n&&rD.get("has_holiday_budget")},e.userIp=function(){let e=fx()+"?action=get-my-ip";return new Promise((function(t,n){let i=function(){jx(e).then((function(e){e.ip?t(e.ip):n(null)})).catch((function(){n(null)}))};jx("https://api.ipify.org/?format=json").then((function(e){e&&e.ip?t(e.ip):i()})).catch((function(){i()}))}))},e.ɵsetClassDebugInfo=Ib,e.ɵɵadvance=$c,e.ɵɵattribute=Df,e.ɵɵclassProp=gg,e.ɵɵdefineComponent=vn,e.ɵɵdefineInjector=Vr,e.ɵɵdefineNgModule=wn,e.ɵɵdefinePipe=In,e.ɵɵdirectiveInject=Yc,e.ɵɵelement=o_,e.ɵɵelementContainerEnd=c_,e.ɵɵelementContainerStart=l_,e.ɵɵelementEnd=s_,e.ɵɵelementStart=r_,e.ɵɵgetCurrentView=h_,e.ɵɵinject=As,e.ɵɵlistener=Nm,e.ɵɵloadQuery=tv,e.ɵɵnextContext=Hm,e.ɵɵpipe=gb,e.ɵɵpipeBind2=mb,e.ɵɵproperty=hg,e.ɵɵpureFunction0=Xv,e.ɵɵpureFunction1=eb,e.ɵɵpureFunction2=tb,e.ɵɵpureFunction3=nb,e.ɵɵqueryRefresh=ev,e.ɵɵresetView=Vi,e.ɵɵrestoreView=ji,e.ɵɵsanitizeHtml=Hl,e.ɵɵsanitizeUrl=zl,e.ɵɵsetNgModuleScope=Kv,e.ɵɵtemplate=cp,e.ɵɵtext=Iv,e.ɵɵtextInterpolate=Sv,e.ɵɵtextInterpolate1=Av,e.ɵɵviewQuery=Xm}));