| Server IP : 157.230.181.24 / Your IP : 216.73.216.56 Web Server : Apache/2.4.58 (Ubuntu) System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64 User : ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/vhosts/dev-conductive-digital/public/google/ |
Upload File : |
function _templateObject35(){var e=_taggedTemplateLiteral([":@@ngb.toast.close-aria\u241ff4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8\u241f7819314041543176992:Close"]);return _templateObject35=function(){return e},e}function _templateObject34(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.AM\u241f69a1f176a93998876952adac57c3bc3863b6105e\u241f4592818992509942761:",":INTERPOLATION:"]);return _templateObject34=function(){return e},e}function _templateObject33(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.PM\u241f8d6e691e10306c1b34c6b26805151aaea320ef7f\u241f3564199131264287502:",":INTERPOLATION:"]);return _templateObject33=function(){return e},e}function _templateObject32(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.decrement-seconds\u241f5db47ac104294243a70eb9124fbea9d0004ddf69\u241f753633511487974857:Decrement seconds"]);return _templateObject32=function(){return e},e}function _templateObject31(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.increment-seconds\u241f912322ecee7d659d04dcf494a70e22e49d334b26\u241f5364772110539092174:Increment seconds"]);return _templateObject31=function(){return e},e}function _templateObject30(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.seconds\u241f4f2ed9e71a7c981db3e50ae2fedb28aff2ec4e6c\u241f8874012390997067175:Seconds"]);return _templateObject30=function(){return e},e}function _templateObject29(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.SS\u241febe38d36a40a2383c5fefa9b4608ffbda08bd4a3\u241f3628127143071124194:SS"]);return _templateObject29=function(){return e},e}function _templateObject28(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.decrement-minutes\u241fc1a6899e529c096da5b660385d4e77fe1f7ad271\u241f7447789825403243588:Decrement minutes"]);return _templateObject28=function(){return e},e}function _templateObject27(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.increment-minutes\u241ff5a4a3bc05e053f6732475d0e74875ec01c3a348\u241f180147720391025024:Increment minutes"]);return _templateObject27=function(){return e},e}function _templateObject26(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.decrement-hours\u241f147c7a19429da7d999e247d22e33fee370b1691b\u241f3651829882940481818:Decrement hours"]);return _templateObject26=function(){return e},e}function _templateObject25(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.increment-hours\u241fcb74bc1d625a6c1742f0d7d47306cf495780c218\u241f5939278348542933629:Increment hours"]);return _templateObject25=function(){return e},e}function _templateObject24(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.minutes\u241f41e62daa962947c0d23ded0981975d1bddf0bf38\u241f5531237363767747080:Minutes"]);return _templateObject24=function(){return e},e}function _templateObject23(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.MM\u241f72c8edf6a50068a05bde70991e36b1e881f4ca54\u241f1647282246509919852:MM"]);return _templateObject23=function(){return e},e}function _templateObject22(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.hours\u241f3bbce5fef7e1151da052a4e529453edb340e3912\u241f8070396816726827304:Hours"]);return _templateObject22=function(){return e},e}function _templateObject21(){var e=_taggedTemplateLiteral([":@@ngb.timepicker.HH\u241fce676ab1d6d98f85c836381cf100a4a91ef95a1f\u241f4043638465245303811:HH"]);return _templateObject21=function(){return e},e}function _templateObject20(){var e=_taggedTemplateLiteral([":@@ngb.progressbar.value\u241ff8e9a947b9db4252c0e9905765338712f2fd032f\u241f3720830768741091151:",":INTERPOLATION:"]);return _templateObject20=function(){return e},e}function _templateObject19(){var e=_taggedTemplateLiteral([":@@ngb.pagination.last-aria\u241f5c729788ba138508aca1bec050b610f7bf81db3e\u241f4882268002141858767:Last"]);return _templateObject19=function(){return e},e}function _templateObject18(){var e=_taggedTemplateLiteral([":@@ngb.pagination.next-aria\u241ff732c304c7433e5a83ffcd862c3dce709a0f4982\u241f3885497195825665706:Next"]);return _templateObject18=function(){return e},e}function _templateObject17(){var e=_taggedTemplateLiteral([":@@ngb.pagination.previous-aria\u241f680d5c75b7fd8d37961083608b9fcdc4167b4c43\u241f4452427314943113135:Previous"]);return _templateObject17=function(){return e},e}function _templateObject16(){var e=_taggedTemplateLiteral([":@@ngb.pagination.first-aria\u241ff2f852318759c6396b5d3d17031d53817d7b38cc\u241f2241508602425256033:First"]);return _templateObject16=function(){return e},e}function _templateObject15(){var e=_taggedTemplateLiteral([":@@ngb.pagination.last\u241f49f27a460bc97e7e00be5b37098bfa79884fc7d9\u241f5277020320267646988:\xbb\xbb"]);return _templateObject15=function(){return e},e}function _templateObject14(){var e=_taggedTemplateLiteral([":@@ngb.pagination.next\u241fba9cbb4ff311464308a3627e4f1c3345d9fe6d7d\u241f5458177150283468089:\xbb"]);return _templateObject14=function(){return e},e}function _templateObject13(){var e=_taggedTemplateLiteral([":@@ngb.pagination.previous\u241f6e52b6ee77a4848d899dd21b591c6fd499e3aef3\u241f6479320895410098858:\xab"]);return _templateObject13=function(){return e},e}function _templateObject12(){var e=_taggedTemplateLiteral([":@@ngb.pagination.first\u241f656506dfd46380956a655f919f1498d018f75ca0\u241f6867721956102594380:\xab\xab"]);return _templateObject12=function(){return e},e}function _templateObject11(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.select-year\u241f8ceb09d002bf0c5d1cac171dfbffe1805d2b3962\u241f8852264961585484321:Select year"]);return _templateObject11=function(){return e},e}function _templateObject10(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.select-year\u241f8ceb09d002bf0c5d1cac171dfbffe1805d2b3962\u241f8852264961585484321:Select year"]);return _templateObject10=function(){return e},e}function _templateObject9(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.select-month\u241f1dbc84807f35518112f62e5775d1daebd3d8462b\u241f2253869508135064750:Select month"]);return _templateObject9=function(){return e},e}function _templateObject8(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.select-month\u241f1dbc84807f35518112f62e5775d1daebd3d8462b\u241f2253869508135064750:Select month"]);return _templateObject8=function(){return e},e}function _templateObject7(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.next-month\u241f4bd046985cfe13040d5ef0cd881edce0968a111a\u241f3628374603023447227:Next month"]);return _templateObject7=function(){return e},e}function _templateObject6(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.next-month\u241f4bd046985cfe13040d5ef0cd881edce0968a111a\u241f3628374603023447227:Next month"]);return _templateObject6=function(){return e},e}function _templateObject5(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.previous-month\u241fc3b08b07b5ab98e7cdcf18df39355690ab7d3884\u241f8586908745456864217:Previous month"]);return _templateObject5=function(){return e},e}function _templateObject4(){var e=_taggedTemplateLiteral([":@@ngb.datepicker.previous-month\u241fc3b08b07b5ab98e7cdcf18df39355690ab7d3884\u241f8586908745456864217:Previous month"]);return _templateObject4=function(){return e},e}function _templateObject3(){var e=_taggedTemplateLiteral([":@@ngb.carousel.next\u241ff732c304c7433e5a83ffcd862c3dce709a0f4982\u241f3885497195825665706:Next"]);return _templateObject3=function(){return e},e}function _templateObject2(){var e=_taggedTemplateLiteral([":@@ngb.carousel.previous\u241f680d5c75b7fd8d37961083608b9fcdc4167b4c43\u241f4452427314943113135:Previous"]);return _templateObject2=function(){return e},e}function _templateObject(){var e=_taggedTemplateLiteral([":@@ngb.alert.close\u241ff4e529ae5ffd73001d1ff4bbdeeb0a72e342e5c8\u241f7819314041543176992:Close"]);return _templateObject=function(){return e},e}function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function _defineProperty2(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _slicedToArray2(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArrayLimit(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _iterableToArray(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _construct(e,t,n){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&_setPrototypeOf(i,n.prototype),i}).apply(null,arguments)}function _get(e,t,n){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=_superPropBase(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function _superPropBase(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf(e)););return e}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var n,r=_getPrototypeOf(e);if(t){var i=_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _possibleConstructorReturn(this,n)}}function _possibleConstructorReturn(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?_assertThisInitialized(e):t}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},"4+EV":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],i="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z";t.definition={prefix:"fas",iconName:"times",icon:[352,512,r,"f00d",i]},t.faTimes=t.definition,t.prefix="fas",t.iconName="times",t.width=352,t.height=512,t.ligatures=r,t.unicode="f00d",t.svgPathData=i},zUnb:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t);var i=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else i&&console.log("RxJS: Back to a better error behavior. Thank you. <3");i=e},get useDeprecatedSynchronousErrorHandling(){return i}};function a(e){setTimeout((function(){throw e}),0)}var s={closed:!0,next:function(e){},error:function(e){if(o.useDeprecatedSynchronousErrorHandling)throw e;a(e)},complete:function(){}},c=Array.isArray||function(e){return e&&"number"==typeof e.length};function l(e){return null!==e&&"object"==typeof e}var u,h=function(){function e(e){return Error.call(this),this.message=e?"".concat(e.length," errors occurred during unsubscription:\n").concat(e.map((function(e,t){return"".concat(t+1,") ").concat(e.toString())})).join("\n ")):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),f=((u=function(){function e(t){_classCallCheck(this,e),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return _createClass(e,[{key:"unsubscribe",value:function(){var t;if(!this.closed){var n=this._parentOrParents,i=this._unsubscribe,o=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var a=0;a<n.length;++a)n[a].remove(this);if(r(i))try{i.call(this)}catch(p){t=p instanceof h?d(p.errors):[p]}if(c(o))for(var s=-1,u=o.length;++s<u;){var f=o[s];if(l(f))try{f.unsubscribe()}catch(p){t=t||[],p instanceof h?t=t.concat(d(p.errors)):t.push(p)}}if(t)throw new h(t)}}},{key:"add",value:function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var i=n._parentOrParents;if(null===i)n._parentOrParents=this;else if(i instanceof e){if(i===this)return n;n._parentOrParents=[i,this]}else{if(-1!==i.indexOf(this))return n;i.push(this)}var o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}},{key:"remove",value:function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}]),e}()).EMPTY=function(e){return e.closed=!0,e}(new u),u);function d(e){return e.reduce((function(e,t){return e.concat(t instanceof h?t.errors:t)}),[])}var p="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),v=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;switch(_classCallCheck(this,n),(o=t.call(this)).syncErrorValue=null,o.syncErrorThrown=!1,o.syncErrorThrowable=!1,o.isStopped=!1,arguments.length){case 0:o.destination=s;break;case 1:if(!e){o.destination=s;break}if("object"==typeof e){e instanceof n?(o.syncErrorThrowable=e.syncErrorThrowable,o.destination=e,e.add(_assertThisInitialized(o))):(o.syncErrorThrowable=!0,o.destination=new g(_assertThisInitialized(o),e));break}default:o.syncErrorThrowable=!0,o.destination=new g(_assertThisInitialized(o),e,r,i)}return o}return _createClass(n,[{key:p,value:function(){return this}},{key:"next",value:function(e){this.isStopped||this._next(e)}},{key:"error",value:function(e){this.isStopped||(this.isStopped=!0,this._error(e))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,_get(_getPrototypeOf(n.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(e){this.destination.next(e)}},{key:"_error",value:function(e){this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}],[{key:"create",value:function(e,t,r){var i=new n(e,t,r);return i.syncErrorThrowable=!1,i}}]),n}(f),g=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,o,a){var c,l;_classCallCheck(this,n),(c=t.call(this))._parentSubscriber=e;var u=_assertThisInitialized(c);return r(i)?l=i:i&&(l=i.next,o=i.error,a=i.complete,i!==s&&(r((u=Object.create(i)).unsubscribe)&&c.add(u.unsubscribe.bind(u)),u.unsubscribe=c.unsubscribe.bind(_assertThisInitialized(c)))),c._context=u,c._next=l,c._error=o,c._complete=a,c}return _createClass(n,[{key:"next",value:function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}},{key:"error",value:function(e){if(!this.isStopped){var t=this._parentSubscriber,n=o.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):a(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;a(e)}}}},{key:"complete",value:function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};o.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),o.useDeprecatedSynchronousErrorHandling)throw n;a(n)}}},{key:"__tryOrSetError",value:function(e,t,n){if(!o.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return o.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(a(r),!0)}return!1}},{key:"_unsubscribe",value:function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}]),n}(v),m="function"==typeof Symbol&&Symbol.observable||"@@observable";function y(e){return e}function _(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return b(t)}function b(e){return 0===e.length?y:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var C,k=((C=function(){function e(t){_classCallCheck(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return _createClass(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var r=this.operator,i=function(e,t,n){if(e){if(e instanceof v)return e;if(e[p])return e[p]()}return e||t||n?new v(e,t,n):new v(s)}(e,t,n);if(i.add(r?r.call(i,this.source):this.source||o.useDeprecatedSynchronousErrorHandling&&!i.syncErrorThrowable?this._subscribe(i):this._trySubscribe(i)),o.useDeprecatedSynchronousErrorHandling&&i.syncErrorThrowable&&(i.syncErrorThrowable=!1,i.syncErrorThrown))throw i.syncErrorValue;return i}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){o.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,r=t.destination,i=t.isStopped;if(n||i)return!1;e=r&&r instanceof v?r:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=w(t))((function(t,r){var i;i=n.subscribe((function(t){try{e(t)}catch(n){r(n),i&&i.unsubscribe()}}),r,t)}))}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:m,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?this:b(t)(this)}},{key:"toPromise",value:function(e){var t=this;return new(e=w(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))}}]),e}()).create=function(e){return new C(e)},C);function w(e){if(e||(e=o.Promise||Promise),!e)throw new Error("no Promise impl found");return e}var S,T=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),P=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).subject=e,i.subscriber=r,i.closed=!1,i}return _createClass(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}}}]),n}(f),O=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e)).destination=e,r}return n}(v),M=((S=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.call(this)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return _createClass(n,[{key:p,value:function(){return new O(this)}},{key:"lift",value:function(e){var t=new x(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new T;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].next(e)}},{key:"error",value:function(e){if(this.closed)throw new T;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),i=0;i<n;i++)r[i].error(e);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new T;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(e){if(this.closed)throw new T;return _get(_getPrototypeOf(n.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){if(this.closed)throw new T;return this.hasError?(e.error(this.thrownError),f.EMPTY):this.isStopped?(e.complete(),f.EMPTY):(this.observers.push(e),new P(this,e))}},{key:"asObservable",value:function(){var e=new k;return e.source=this,e}}]),n}(k)).create=function(e,t){return new x(e,t)},S),x=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).destination=e,i.source=r,i}return _createClass(n,[{key:"next",value:function(e){var t=this.destination;t&&t.next&&t.next(e)}},{key:"error",value:function(e){var t=this.destination;t&&t.error&&this.destination.error(e)}},{key:"complete",value:function(){var e=this.destination;e&&e.complete&&this.destination.complete()}},{key:"_subscribe",value:function(e){return this.source?this.source.subscribe(e):f.EMPTY}}]),n}(M);function E(e){return e&&"function"==typeof e.schedule}var A=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this)).parent=e,o.outerValue=r,o.outerIndex=i,o.index=0,o}return _createClass(n,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(v),I=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}};var N="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",R=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function D(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var G=function(e){if(e&&"function"==typeof e[m])return r=e,function(e){var t=r[m]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(R(e))return I(e);if(D(e))return n=e,function(e){return n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,a),e};if(e&&"function"==typeof e[N])return t=e,function(e){for(var n=t[N]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e};var t,n,r,i=l(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(i," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))};function H(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new A(e,n,r);if(!i.closed)return t instanceof k?t.subscribe(i):G(t)(i)}var L=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),n}(v);function V(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new F(e,t))}}var F=function(){function e(t,n){_classCallCheck(this,e),this.project=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new B(e,this.project,this.thisArg))}}]),e}(),B=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e)).project=r,o.count=0,o.thisArg=i||_assertThisInitialized(o),o}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(v);function j(e,t){return new k((function(n){var r=new f,i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}function U(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[m]}(e))return function(e,t){return new k((function(n){var r=new f;return r.add(t.schedule((function(){var i=e[m]();r.add(i.subscribe({next:function(e){r.add(t.schedule((function(){return n.next(e)})))},error:function(e){r.add(t.schedule((function(){return n.error(e)})))},complete:function(){r.add(t.schedule((function(){return n.complete()})))}}))}))),r}))}(e,t);if(D(e))return function(e,t){return new k((function(n){var r=new f;return r.add(t.schedule((function(){return e.then((function(e){r.add(t.schedule((function(){n.next(e),r.add(t.schedule((function(){return n.complete()})))})))}),(function(e){r.add(t.schedule((function(){return n.error(e)})))}))}))),r}))}(e,t);if(R(e))return j(e,t);if(function(e){return e&&"function"==typeof e[N]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new k((function(n){var r,i=new f;return i.add((function(){r&&"function"==typeof r.return&&r.return()})),i.add(t.schedule((function(){r=e[N](),i.add(t.schedule((function(){if(!n.closed){var e,t;try{var i=r.next();e=i.value,t=i.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())}})))}))),i}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof k?e:new k(G(e))}function z(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(r){return r.pipe(z((function(n,r){return U(e(n,r)).pipe(V((function(e,i){return t(n,e,r,i)})))}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new W(e,n))})}var W=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,e),this.project=t,this.concurrent=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new K(e,this.project,this.concurrent))}}]),e}(),K=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,n),(i=t.call(this,e)).project=r,i.concurrent=o,i.hasCompleted=!1,i.buffer=[],i.active=0,i.index=0,i}return _createClass(n,[{key:"_next",value:function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var r=new A(this,t,n),i=this.destination;i.add(r);var o=H(this,e,void 0,void 0,r);o!==r&&i.add(o)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}},{key:"notifyComplete",value:function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(L);function X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return z(y,e)}function q(e,t){return t?j(e,t):new k(I(e))}function Q(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Number.POSITIVE_INFINITY,i=null,o=t[t.length-1];return E(o)?(i=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(r=t.pop())):"number"==typeof o&&(r=t.pop()),null===i&&1===t.length&&t[0]instanceof k?t[0]:X(r)(q(t,i))}function Z(){return function(e){return e.lift(new Y(e))}}var $,Y=function(){function e(t){_classCallCheck(this,e),this.connectable=t}return _createClass(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var r=new J(e,n),i=t.subscribe(r);return r.closed||(r.connection=n.connect()),i}}]),e}(),J=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).connectable=r,i}return _createClass(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null}}]),n}(v),ee={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:($=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).source=e,i.subjectFactory=r,i._refCount=0,i._isComplete=!1,i}return _createClass(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new f).add(this.source.subscribe(new te(this.getSubject(),this))),e.closed&&(this._connection=null,e=f.EMPTY)),e}},{key:"refCount",value:function(){return Z()(this)}}]),n}(k).prototype)._subscribe},_isComplete:{value:$._isComplete,writable:!0},getSubject:{value:$.getSubject},connect:{value:$.connect},refCount:{value:$.refCount}},te=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).connectable=r,i}return _createClass(n,[{key:"_error",value:function(e){this._unsubscribe(),_get(_getPrototypeOf(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),_get(_getPrototypeOf(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),n}(O);function ne(){return new M}function re(e){return{toString:e}.toString()}function ie(e,t,n){return re((function(){var r=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}(t);function i(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof i)return r.apply(this,t),this;var o=_construct(i,t);return a.annotation=o,a;function a(e,t,n){for(var r=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(o),e}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}))}var oe=ie("Inject",(function(e){return{token:e}})),ae=ie("Optional"),se=ie("Self"),ce=ie("SkipSelf"),le=function(e){return 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",e}({});function ue(e){for(var t in e)if(e[t]===ue)return t;throw Error("Could not find renamed property on target object.")}function he(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function fe(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}var de=fe;function pe(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function ve(e){return ge(e,e[ye])||ge(e,e[Ce])}function ge(e,t){return t&&t.token===e?t:null}function me(e){return e&&(e.hasOwnProperty(_e)||e.hasOwnProperty(ke))?e[_e]:null}var ye=ue({"\u0275prov":ue}),_e=ue({"\u0275inj":ue}),be=ue({"\u0275provFallback":ue}),Ce=ue({ngInjectableDef:ue}),ke=ue({ngInjectorDef:ue});function we(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(we).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function Se(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var Te=ue({__forward_ref__:ue});function Pe(e){return e.__forward_ref__=Pe,e.toString=function(){return we(this())},e}function Oe(e){return Me(e)?e():e}function Me(e){return"function"==typeof e&&e.hasOwnProperty(Te)&&e.__forward_ref__===Pe}var xe,Ee="undefined"!=typeof globalThis&&globalThis,Ae="undefined"!=typeof window&&window,Ie="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ne="undefined"!=typeof global&&global,Re=Ee||Ne||Ae||Ie,De=ue({"\u0275cmp":ue}),Ge=ue({"\u0275dir":ue}),He=ue({"\u0275pipe":ue}),Le=ue({"\u0275mod":ue}),Ve=ue({"\u0275loc":ue}),Fe=ue({"\u0275fac":ue}),Be=ue({__NG_ELEMENT_ID__:ue}),je=function(){function e(t,n){_classCallCheck(this,e),this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=fe({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return _createClass(e,[{key:"toString",value:function(){return"InjectionToken "+this._desc}}]),e}(),Ue=new je("INJECTOR",-1),ze={},We=/\n/gm,Ke=ue({provide:String,useValue:ue}),Xe=void 0;function qe(e){var t=Xe;return Xe=e,t}function Qe(e){var t=xe;return xe=e,t}function Ze(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le.Default;if(void 0===Xe)throw new Error("inject() must be called from an injection context");return null===Xe?Je(e,void 0,t):Xe.get(e,t&le.Optional?null:void 0,t)}function $e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le.Default;return(xe||Ze)(Oe(e),t)}var Ye=$e;function Je(e,t,n){var r=ve(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&le.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND [".concat(we(e),"]"))}function et(e){for(var t=[],n=0;n<e.length;n++){var r=Oe(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,o=le.Default,a=0;a<r.length;a++){var s=r[a];s instanceof ae||"Optional"===s.ngMetadataName||s===ae?o|=le.Optional:s instanceof ce||"SkipSelf"===s.ngMetadataName||s===ce?o|=le.SkipSelf:s instanceof se||"Self"===s.ngMetadataName||s===se?o|=le.Self:i=s instanceof oe||s===oe?s.token:s}t.push($e(i,o))}else t.push($e(r))}return t}var tt=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ze;if(t===ze){var n=new Error("NullInjectorError: No provider for ".concat(we(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),nt=function e(){_classCallCheck(this,e)},rt=function e(){_classCallCheck(this,e)};function it(e,t){e.forEach((function(e){return Array.isArray(e)?it(e,t):t(e)}))}function ot(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function at(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function st(e,t){for(var n=[],r=0;r<e;r++)n.push(t);return n}function ct(e,t,n){var r=ut(e,t);return r>=0?e[1|r]=n:function(e,t,n,r){var i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r=~r,t,n),r}function lt(e,t){var n=ut(e,t);if(n>=0)return e[1|n]}function ut(e,t){return function(e,t,n){for(var r=0,i=e.length>>1;i!==r;){var o=r+(i-r>>1),a=e[o<<1];if(t===a)return o<<1;a>t?i=o:r=o+1}return~(i<<1)}(e,t)}var ht=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),ft=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),dt={},pt=[],vt=0;function gt(e){return re((function(){var t=e.type,n=t.prototype,r={},i={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===ht.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||pt,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ft.Emulated,id:"c",styles:e.styles||pt,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,a=e.features,s=e.pipes;return i.id+=vt++,i.inputs=Ct(e.inputs,r),i.outputs=Ct(e.outputs),a&&a.forEach((function(e){return e(i)})),i.directiveDefs=o?function(){return("function"==typeof o?o():o).map(mt)}:null,i.pipeDefs=s?function(){return("function"==typeof s?s():s).map(yt)}:null,i}))}function mt(e){return wt(e)||function(e){return e[Ge]||null}(e)}function yt(e){return function(e){return e[He]||null}(e)}var _t={};function bt(e){var t={type:e.type,bootstrap:e.bootstrap||pt,declarations:e.declarations||pt,imports:e.imports||pt,exports:e.exports||pt,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&re((function(){_t[e.id]=e.type})),t}function Ct(e,t){if(null==e)return dt;var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r],o=i;Array.isArray(i)&&(o=i[1],i=i[0]),n[i]=r,t&&(t[i]=o)}return n}var kt=gt;function wt(e){return e[De]||null}function St(e,t){return e.hasOwnProperty(Fe)?e[Fe]:null}function Tt(e,t){var n=e[Le]||null;if(!n&&!0===t)throw new Error("Type ".concat(we(e)," does not have '\u0275mod' property."));return n}function Pt(e){return Array.isArray(e)&&"object"==typeof e[1]}function Ot(e){return Array.isArray(e)&&!0===e[1]}function Mt(e){return 0!=(8&e.flags)}function xt(e){return 2==(2&e.flags)}function Et(e){return 1==(1&e.flags)}function At(e){return null!==e.template}function It(e){return 0!=(512&e[2])}var Nt=void 0;function Rt(){return void 0!==Nt?Nt:"undefined"!=typeof document?document:void 0}function Dt(e){return!!e.listen}var Gt={createRenderer:function(e,t){return Rt()}};function Ht(e){for(;Array.isArray(e);)e=e[0];return e}function Lt(e,t){return Ht(t[e+20])}function Vt(e,t){return Ht(t[e.index])}function Ft(e,t){return e.data[t+20]}function Bt(e,t){return e[t+20]}function jt(e,t){var n=t[e];return Pt(n)?n:n[0]}function Ut(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function zt(e){return 4==(4&e[2])}function Wt(e){return 128==(128&e[2])}function Kt(e,t){return null===e||null==t?null:e[t]}function Xt(e){e[18]=0}function qt(e,t){e[5]+=t;for(var n=e,r=e[3];null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}var Qt={lFrame:yn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Zt(){return Qt.bindingsEnabled}function $t(){return Qt.lFrame.lView}function Yt(){return Qt.lFrame.tView}function Jt(e){Qt.lFrame.contextLView=e}function en(){return Qt.lFrame.previousOrParentTNode}function tn(e,t){Qt.lFrame.previousOrParentTNode=e,Qt.lFrame.isParent=t}function nn(){return Qt.lFrame.isParent}function rn(){Qt.lFrame.isParent=!1}function on(){return Qt.checkNoChangesMode}function an(e){Qt.checkNoChangesMode=e}function sn(){var e=Qt.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function cn(){return Qt.lFrame.bindingIndex++}function ln(e){var t=Qt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function un(e,t){var n=Qt.lFrame;n.bindingIndex=n.bindingRootIndex=e,hn(t)}function hn(e){Qt.lFrame.currentDirectiveIndex=e}function fn(e){var t=Qt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function dn(){return Qt.lFrame.currentQueryIndex}function pn(e){Qt.lFrame.currentQueryIndex=e}function vn(e,t){var n=mn();Qt.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function gn(e,t){var n=mn(),r=e[1];Qt.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=r,n.contextLView=e,n.bindingIndex=r.bindingStartIndex}function mn(){var e=Qt.lFrame,t=null===e?null:e.child;return null===t?yn(e):t}function yn(e){var t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function _n(){var e=Qt.lFrame;return Qt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}var bn=_n;function Cn(){var e=_n();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function kn(){return Qt.lFrame.selectedIndex}function wn(e){Qt.lFrame.selectedIndex=e}function Sn(){var e=Qt.lFrame;return Ft(e.tView,e.selectedIndex)}function Tn(e,t){for(var n=t.directiveStart,r=t.directiveEnd;n<r;n++){var i=e.data[n];i.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(-n,i.afterContentInit),i.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,i.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,i.afterContentChecked)),i.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(-n,i.afterViewInit),i.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,i.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,i.afterViewChecked)),null!=i.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,i.onDestroy)}}function Pn(e,t,n){xn(e,t,3,n)}function On(e,t,n,r){(3&e[2])===n&&xn(e,t,n,r)}function Mn(e,t){var n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function xn(e,t,n,r){for(var i=null!=r?r:-1,o=0,a=void 0!==r?65535&e[18]:0;a<t.length;a++)if("number"==typeof t[a+1]){if(o=t[a],null!=r&&o>=r)break}else t[a]<0&&(e[18]+=65536),(o<i||-1==i)&&(En(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}function En(e,t,n,r){var i=n[r]<0,o=n[r+1],a=e[i?-n[r]:n[r]];i?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,o.call(a)):o.call(a)}var An=function e(t,n,r){_classCallCheck(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r};function In(e,t,n){for(var r=Dt(e),i=0;i<n.length;){var o=n[i];if("number"==typeof o){if(0!==o)break;i++;var a=n[i++],s=n[i++],c=n[i++];r?e.setAttribute(t,s,c,a):t.setAttributeNS(a,s,c)}else{var l=o,u=n[++i];Rn(l)?r&&e.setProperty(t,l,u):r?e.setAttribute(t,l,u):t.setAttribute(l,u),i++}}return i}function Nn(e){return 3===e||4===e||6===e}function Rn(e){return 64===e.charCodeAt(0)}function Dn(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else for(var n=-1,r=0;r<t.length;r++){var i=t[r];"number"==typeof i?n=i:0===n||Gn(e,n,i,null,-1===n||2===n?t[++r]:null)}return e}function Gn(e,t,n,r,i){var o=0,a=e.length;if(-1===t)a=-1;else for(;o<e.length;){var s=e[o++];if("number"==typeof s){if(s===t){a=-1;break}if(s>t){a=o-1;break}}}for(;o<e.length;){var c=e[o];if("number"==typeof c)break;if(c===n){if(null===r)return void(null!==i&&(e[o+1]=i));if(r===e[o+1])return void(e[o+2]=i)}o++,null!==r&&o++,null!==i&&o++}-1!==a&&(e.splice(a,0,t),o=a+1),e.splice(o++,0,n),null!==r&&e.splice(o++,0,r),null!==i&&e.splice(o++,0,i)}function Hn(e){return-1!==e}function Ln(e){return 32767&e}function Vn(e){return e>>16}function Fn(e,t){for(var n=Vn(e),r=t;n>0;)r=r[15],n--;return r}function Bn(e){return"string"==typeof e?e:null==e?"":""+e}function jn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Bn(e)}var Un=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Re);function zn(e){return{name:"window",target:e.ownerDocument.defaultView}}function Wn(e){return e instanceof Function?e():e}var Kn=!0;function Xn(e){var t=Kn;return Kn=e,t}var qn=0;function Qn(e,t){var n=$n(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Zn(r.data,e),Zn(t,null),Zn(r.blueprint,null));var i=Yn(e,t),o=e.injectorIndex;if(Hn(i))for(var a=Ln(i),s=Fn(i,t),c=s[1].data,l=0;l<8;l++)t[o+l]=s[a+l]|c[a+l];return t[o+8]=i,o}function Zn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function $n(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function Yn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[6],r=1;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function Jn(e,t,n){!function(e,t,n){var r="string"!=typeof n?n[Be]:n.charCodeAt(0)||0;null==r&&(r=n[Be]=qn++);var i=255&r,o=1<<i,a=64&i,s=32&i,c=t.data;128&i?a?s?c[e+7]|=o:c[e+6]|=o:s?c[e+5]|=o:c[e+4]|=o:a?s?c[e+3]|=o:c[e+2]|=o:s?c[e+1]|=o:c[e]|=o}(e,t,n)}function er(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:le.Default,i=arguments.length>4?arguments[4]:void 0;if(null!==e){var o=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e[Be];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof o){vn(t,e);try{var a=o();if(null!=a||r&le.Optional)return a;throw new Error("No provider for ".concat(jn(n),"!"))}finally{bn()}}else if("number"==typeof o){if(-1===o)return new sr(e,t);var s=null,c=$n(e,t),l=-1,u=r&le.Host?t[16][6]:null;for((-1===c||r&le.SkipSelf)&&(l=-1===c?Yn(e,t):t[c+8],ar(r,!1)?(s=t[1],c=Ln(l),t=Fn(l,t)):c=-1);-1!==c;){l=t[c+8];var h=t[1];if(or(o,c,h.data)){var f=nr(c,t,n,s,r,u);if(f!==tr)return f}ar(r,t[1].data[c+8]===u)&&or(o,c,t)?(s=h,c=Ln(l),t=Fn(l,t)):c=-1}}}if(r&le.Optional&&void 0===i&&(i=null),0==(r&(le.Self|le.Host))){var d=t[9],p=Qe(void 0);try{return d?d.get(n,i,r&le.Optional):Je(n,i,r&le.Optional)}finally{Qe(p)}}if(r&le.Optional)return i;throw new Error("NodeInjector: NOT_FOUND [".concat(jn(n),"]"))}var tr={};function nr(e,t,n,r,i,o){var a=t[1],s=a.data[e+8],c=rr(s,a,n,null==r?xt(s)&&Kn:r!=a&&3===s.type,i&le.Host&&o===s);return null!==c?ir(t,a,c,s):tr}function rr(e,t,n,r,i){for(var o=e.providerIndexes,a=t.data,s=65535&o,c=e.directiveStart,l=o>>16,u=i?s+l:e.directiveEnd,h=r?s:s+l;h<u;h++){var f=a[h];if(h<c&&n===f||h>=c&&f.type===n)return h}if(i){var d=a[c];if(d&&At(d)&&d.type===n)return c}return null}function ir(e,t,n,r){var i=e[n],o=t.data;if(i instanceof An){var a=i;if(a.resolving)throw new Error("Circular dep for "+jn(o[n]));var s,c=Xn(a.canSeeViewProviders);a.resolving=!0,a.injectImpl&&(s=Qe(a.injectImpl)),vn(e,r);try{i=e[n]=a.factory(void 0,o,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){var r=t.onChanges,i=t.onInit,o=t.doCheck;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)),i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,i),o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o))}(n,o[n],t)}finally{a.injectImpl&&Qe(s),Xn(c),a.resolving=!1,bn()}}return i}function or(e,t,n){var r=64&e,i=32&e;return!!((128&e?r?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:r?i?n[t+3]:n[t+2]:i?n[t+1]:n[t])&1<<e)}function ar(e,t){return!(e&le.Self||e&le.Host&&t)}var sr=function(){function e(t,n){_classCallCheck(this,e),this._tNode=t,this._lView=n}return _createClass(e,[{key:"get",value:function(e,t){return er(this._tNode,this._lView,e,void 0,t)}}]),e}();function cr(e){return re((function(){var t=Object.getPrototypeOf(e.prototype).constructor,n=t[Fe]||function e(t){var n=t;if(Me(t))return function(){var t=e(Oe(n));return t?t():null};var r=St(n);if(null===r){var i=me(n);r=i&&i.factory}return r||null}(t);return null!==n?n:function(e){return new e}}))}function lr(e){return e.ngDebugContext}function ur(e){return e.ngOriginalError}function hr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.error.apply(e,n)}var fr=function(){function e(){_classCallCheck(this,e),this._console=console}return _createClass(e,[{key:"handleError",value:function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||hr}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(e){return e?lr(e)?lr(e):this._findContext(ur(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=ur(e);t&&ur(t);)t=ur(t);return t}}]),e}(),dr=function(){function e(t){_classCallCheck(this,e),this.changingThisBreaksApplicationSecurity=t}return _createClass(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}]),e}(),pr=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(dr),vr=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(dr),gr=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(dr),mr=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(dr),yr=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(dr);function _r(e){return e instanceof dr?e.changingThisBreaksApplicationSecurity:e}function br(e,t){var n=Cr(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see http://g.co/ng/security#xss)"))}return n===t}function Cr(e){return e instanceof dr&&e.getTypeName()||null}var kr=!0,wr=!1;function Sr(){return wr=!0,kr}var Tr=function(){function e(t){_classCallCheck(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");var n=this.inertDocument.body;if(null==n){var r=this.inertDocument.createElement("html");this.inertDocument.appendChild(r),n=this.inertDocument.createElement("body"),r.appendChild(n)}n.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!n.querySelector||n.querySelector("svg")?(n.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=n.querySelector&&n.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return _createClass(e,[{key:"getInertBodyElement_XHR",value:function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n}},{key:"getInertBodyElement_DOMParser",value:function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}}},{key:"getInertBodyElement_InertDocument",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;var n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var i=e.firstChild;i;)i.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(i),i=i.nextSibling}}]),e}(),Pr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Or=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Mr(e){return(e=String(e)).match(Pr)||e.match(Or)?e:(Sr()&&console.warn("WARNING: sanitizing unsafe URL value ".concat(e," (see http://g.co/ng/security#xss)")),"unsafe:"+e)}function xr(e){var t,n={},r=_createForOfIteratorHelper(e.split(","));try{for(r.s();!(t=r.n()).done;){n[t.value]=!0}}catch(i){r.e(i)}finally{r.f()}return n}function Er(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var i=0,o=n;i<o.length;i++){var a=o[i];for(var s in a)a.hasOwnProperty(s)&&(e[s]=!0)}return e}var Ar,Ir=xr("area,br,col,hr,img,wbr"),Nr=xr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Rr=xr("rp,rt"),Dr=Er(Rr,Nr),Gr=Er(Ir,Er(Nr,xr("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")),Er(Rr,xr("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")),Dr),Hr=xr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Lr=xr("srcset"),Vr=Er(Hr,Lr,xr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),xr("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")),Fr=xr("script,style,template"),Br=function(){function e(){_classCallCheck(this,e),this.sanitizedSomething=!1,this.buf=[]}return _createClass(e,[{key:"sanitizeChildren",value:function(e){for(var t=e.firstChild,n=!0;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);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(e){var t=e.nodeName.toLowerCase();if(!Gr.hasOwnProperty(t))return this.sanitizedSomething=!0,!Fr.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var n,r=e.attributes,i=0;i<r.length;i++){var o=r.item(i),a=o.name,s=a.toLowerCase();if(Vr.hasOwnProperty(s)){var c=o.value;Hr[s]&&(c=Mr(c)),Lr[s]&&(n=c,c=(n=String(n)).split(",").map((function(e){return Mr(e.trim())})).join(", ")),this.buf.push(" ",a,'="',zr(c),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();Gr.hasOwnProperty(t)&&!Ir.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(zr(e))}},{key:"checkClobberedElement",value:function(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}}]),e}(),jr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Ur=/([^\#-~ |!])/g;function zr(e){return e.replace(/&/g,"&").replace(jr,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Ur,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}function Wr(e,t){var n=null;try{Ar=Ar||new Tr(e);var r=t?String(t):"";n=Ar.getInertBodyElement(r);var i=5,o=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=o,o=n.innerHTML,n=Ar.getInertBodyElement(r)}while(r!==o);var a=new Br,s=a.sanitizeChildren(Kr(n)||n);return Sr()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var c=Kr(n)||n;c.firstChild;)c.removeChild(c.firstChild)}}function Kr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Xr=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),qr=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Qr=/^url\(([^)]+)\)$/;function Zr(e){if(!(e=String(e).trim()))return"";var t=e.match(Qr);return t&&Mr(t[1])===t[1]||e.match(qr)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var i=e.charAt(r);"'"===i&&n?t=!t:'"'===i&&t&&(n=!n)}return t&&n}(e)?e:(Sr()&&console.warn("WARNING: sanitizing unsafe style value ".concat(e," (see http://g.co/ng/security#xss).")),"unsafe")}function $r(e){var t=ri();return t?t.sanitize(Xr.HTML,e)||"":br(e,"HTML")?_r(e):Wr(Rt(),Bn(e))}function Yr(e){var t=ri();return t?t.sanitize(Xr.STYLE,e)||"":br(e,"Style")?_r(e):Zr(Bn(e))}function Jr(e){var t=ri();return t?t.sanitize(Xr.URL,e)||"":br(e,"URL")?_r(e):Mr(Bn(e))}function ei(e){var t=ri();if(t)return t.sanitize(Xr.RESOURCE_URL,e)||"";if(br(e,"ResourceURL"))return _r(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}var ti=function(e,t,n){if(void 0===t&&void 0===n)return Yr(e);var r=!0;return 1&(n=n||3)&&(r=ni(e)),2&n?r?Yr(t):_r(t):r};function ni(e){return"background-image"===e||"backgroundImage"===e||"background"===e||"border-image"===e||"borderImage"===e||"border-image-source"===e||"borderImageSource"===e||"filter"===e||"list-style"===e||"listStyle"===e||"list-style-image"===e||"listStyleImage"===e||"clip-path"===e||"clipPath"===e}function ri(){var e=$t();return e&&e[12]}function ii(e,t){e.__ngContext__=t}function oi(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function ai(){throw new Error("Cannot mix multi providers and regular providers")}function si(e,t,n){for(var r=e.length;;){var i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){var o=t.length;if(i+o===r||e.charCodeAt(i+o)<=32)return i}n=i+1}}function ci(e,t,n){for(var r=0;r<e.length;){var i=e[r++];if(n&&"class"===i){if(-1!==si((i=e[r]).toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function li(e){return 0===e.type&&"ng-template"!==e.tagName}function ui(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function hi(e,t,n){for(var r=4,i=e.attrs||[],o=function(e){for(var t=0;t<e.length;t++)if(Nn(e[t]))return t;return e.length}(i),a=!1,s=0;s<t.length;s++){var c=t[s];if("number"!=typeof c){if(!a)if(4&r){if(r=2|1&r,""!==c&&!ui(e,c,n)||""===c&&1===t.length){if(fi(r))return!1;a=!0}}else{var l=8&r?c:t[++s];if(8&r&&null!==e.attrs){if(!ci(e.attrs,l,n)){if(fi(r))return!1;a=!0}continue}var u=di(8&r?"class":c,i,li(e),n);if(-1===u){if(fi(r))return!1;a=!0;continue}if(""!==l){var h;h=u>o?"":i[u+1].toLowerCase();var f=8&r?h:null;if(f&&-1!==si(f,l,0)||2&r&&l!==h){if(fi(r))return!1;a=!0}}}}else{if(!a&&!fi(r)&&!fi(c))return!1;if(a&&fi(c))continue;a=!1,r=c|1&r}}return fi(r)||a}function fi(e){return 0==(1&e)}function di(e,t,n,r){if(null===t)return-1;var i=0;if(r||!n){for(var o=!1;i<t.length;){var a=t[i];if(a===e)return i;if(3===a||6===a)o=!0;else{if(1===a||2===a){for(var s=t[++i];"string"==typeof s;)s=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=o?1:2}return-1}return function(e,t){var n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){var r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function pi(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0;r<t.length;r++)if(hi(e,t[r],n))return!0;return!1}function vi(e,t){e:for(var n=0;n<t.length;n++){var r=t[n];if(e.length===r.length){for(var i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function gi(e,t){return e?":not("+t.trim()+")":t}function mi(e){for(var t=e[0],n=1,r=2,i="",o=!1;n<e.length;){var a=e[n];if("string"==typeof a)if(2&r){var s=e[++n];i+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""===i||fi(a)||(t+=gi(o,i),i=""),r=a,o=o||!fi(r);n++}return""!==i&&(t+=gi(o,i)),t}var yi={};function _i(e){var t=e[3];return Ot(t)?t[3]:t}function bi(e){return ki(e[13])}function Ci(e){return ki(e[4])}function ki(e){for(;null!==e&&!Ot(e);)e=e[4];return e}function wi(e){Si(Yt(),$t(),kn()+e,on())}function Si(e,t,n,r){if(!r)if(3==(3&t[2])){var i=e.preOrderCheckHooks;null!==i&&Pn(t,i,n)}else{var o=e.preOrderHooks;null!==o&&On(t,o,0,n)}wn(n)}function Ti(e,t){return e<<17|t<<2}function Pi(e){return e>>17&32767}function Oi(e){return 2|e}function Mi(e){return(131068&e)>>2}function xi(e,t){return-131069&e|t<<2}function Ei(e){return 1|e}function Ai(e,t){var n=e.contentQueries;if(null!==n)for(var r=0;r<n.length;r+=2){var i=n[r],o=n[r+1];if(-1!==o){var a=e.data[o];pn(i),a.contentQueries(2,t[o],o)}}}function Ii(e,t,n){return Dt(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Ni(e,t,n,r,i,o,a,s,c,l){var u=t.blueprint.slice();return u[0]=i,u[2]=140|r,Xt(u),u[3]=u[15]=e,u[8]=n,u[10]=a||e&&e[10],u[11]=s||e&&e[11],u[12]=c||e&&e[12]||null,u[9]=l||e&&e[9]||null,u[6]=o,u[16]=2==t.type?e[16]:u,u}function Ri(e,t,n,r,i,o){var a=n+20,s=e.data[a]||function(e,t,n,r,i,o){var a=en(),s=nn(),c=s?a:a&&a.parent,l=e.data[n]=zi(0,c&&c!==t?c:null,r,n,i,o);return null===e.firstChild&&(e.firstChild=l),a&&(!s||null!=a.child||null===l.parent&&2!==a.type?s||(a.next=l):a.child=l),l}(e,t,a,r,i,o);return tn(s,!0),s}function Di(e,t,n){gn(t,t[6]);try{var r=e.viewQuery;null!==r&&fo(1,r,n);var i=e.template;null!==i&&Li(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ai(e,t),e.staticViewQueries&&fo(2,e.viewQuery,n);var o=e.components;null!==o&&function(e,t){for(var n=0;n<t.length;n++)so(e,t[n])}(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),a}finally{t[2]&=-5,Cn()}}function Gi(e,t,n,r){var i=t[2];if(256!=(256&i)){gn(t,t[6]);var o=on();try{Xt(t),Qt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&Li(e,t,n,2,r);var a=3==(3&i);if(!o)if(a){var s=e.preOrderCheckHooks;null!==s&&Pn(t,s,null)}else{var c=e.preOrderHooks;null!==c&&On(t,c,0,null),Mn(t,0)}if(function(e){for(var t=bi(e);null!==t;t=Ci(t))if(t[2])for(var n=t[9],r=0;r<n.length;r++){var i=n[r],o=i[3];0==(1024&i[2])&&qt(o,1),i[2]|=1024}}(t),function(e){for(var t=bi(e);null!==t;t=Ci(t))for(var n=10;n<t.length;n++){var r=t[n],i=r[1];Wt(r)&&Gi(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Ai(e,t),!o)if(a){var l=e.contentCheckHooks;null!==l&&Pn(t,l)}else{var u=e.contentHooks;null!==u&&On(t,u,1),Mn(t,1)}!function(e,t){try{var n=e.expandoInstructions;if(null!==n)for(var r=e.expandoStartIndex,i=-1,o=0;o<n.length;o++){var a=n[o];"number"==typeof a?a<=0?(wn(0-a),i=r+=9+n[++o]):r+=a:(null!==a&&(un(r,i),a(2,t[i])),i++)}}finally{wn(-1)}}(e,t);var h=e.components;null!==h&&function(e,t){for(var n=0;n<t.length;n++)ao(e,t[n])}(t,h);var f=e.viewQuery;if(null!==f&&fo(2,f,r),!o)if(a){var d=e.viewCheckHooks;null!==d&&Pn(t,d)}else{var p=e.viewHooks;null!==p&&On(t,p,2),Mn(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,qt(t[3],-1))}finally{Cn()}}}function Hi(e,t,n,r){var i=t[10],o=!on(),a=zt(t);try{o&&!a&&i.begin&&i.begin(),a&&Di(e,t,r),Gi(e,t,n,r)}finally{o&&!a&&i.end&&i.end()}}function Li(e,t,n,r,i){var o=kn();try{wn(-1),2&r&&t.length>20&&Si(e,t,0,on()),n(r,i)}finally{wn(o)}}function Vi(e,t,n){if(Mt(t))for(var r=t.directiveEnd,i=t.directiveStart;i<r;i++){var o=e.data[i];o.contentQueries&&o.contentQueries(1,n[i],i)}}function Fi(e,t,n){Zt()&&(function(e,t,n,r){var i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||Qn(n,t),ii(r,t);for(var a=n.initialInputs,s=i;s<o;s++){var c=e.data[s],l=At(c);l&&no(t,n,c);var u=ir(t,e,s,n);ii(u,t),null!==a&&ro(0,s-i,u,c,0,a),l&&(jt(n.index,t)[8]=u)}}(e,t,n,Vt(n,t)),128==(128&n.flags)&&function(e,t,n){var r=n.directiveStart,i=n.directiveEnd,o=e.expandoInstructions,a=e.firstCreatePass,s=n.index-20,c=Qt.lFrame.currentDirectiveIndex;try{wn(s);for(var l=r;l<i;l++){var u=e.data[l],h=t[l];hn(l),null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs?Zi(u,h):a&&o.push(null)}}finally{wn(-1),hn(c)}}(e,t,n))}function Bi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Vt,r=t.localNames;if(null!==r)for(var i=t.index+1,o=0;o<r.length;o+=2){var a=r[o+1],s=-1===a?n(t,e):e[a];e[i++]=s}}function ji(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Ui(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Ui(e,t,n,r,i,o,a,s,c,l){var u=20+r,h=u+i,f=function(e,t){for(var n=[],r=0;r<t;r++)n.push(r<e?null:yi);return n}(u,h);return f[1]={type:e,id:t,blueprint:f,template:n,queries:null,viewQuery:s,node:null,data:f.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:h,expandoInstructions: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 o?o():o,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:c,consts:l,incompleteFirstPass:!1}}function zi(e,t,n,r,i,o){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:i,attrs:o,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next: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}}function Wi(e,t,n){for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function Ki(e,t,n,r,i,o,a,s){var c,l,u=Vt(t,n),h=t.inputs;!s&&null!=h&&(c=h[r])?(_o(e,n,c,r,i),xt(t)&&function(e,t){var n=jt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3===t.type&&(r="class"===(l=r)?"className":"for"===l?"htmlFor":"formaction"===l?"formAction":"innerHtml"===l?"innerHTML":"readonly"===l?"readOnly":"tabindex"===l?"tabIndex":l,i=null!=a?a(i,t.tagName||"",r):i,Dt(o)?o.setProperty(u,r,i):Rn(r)||(u.setProperty?u.setProperty(r,i):u[r]=i))}function Xi(e,t,n,r){var i=!1;if(Zt()){var o=function(e,t,n){var r=e.directiveRegistry,i=null;if(r)for(var o=0;o<r.length;o++){var a=r[o];pi(n,a.selectors,!1)&&(i||(i=[]),Jn(Qn(n,t),e,a.type),At(a)?(2&n.flags&&oi(n),Yi(e,n),i.unshift(a)):i.push(a))}return i}(e,t,n),a=null===r?null:{"":-1};if(null!==o){var s=0;i=!0,eo(n,e.data.length,o.length);for(var c=0;c<o.length;c++){var l=o[c];l.providersResolver&&l.providersResolver(l)}$i(e,n,o.length);for(var u=!1,h=!1,f=0;f<o.length;f++){var d=o[f];n.mergedAttrs=Dn(n.mergedAttrs,d.hostAttrs),to(e,t,d),Ji(e.data.length-1,d,a),null!==d.contentQueries&&(n.flags|=8),null===d.hostBindings&&null===d.hostAttrs&&0===d.hostVars||(n.flags|=128),!u&&(d.onChanges||d.onInit||d.doCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-20),u=!0),h||!d.onChanges&&!d.doCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-20),h=!0),qi(e,d),s+=d.hostVars}!function(e,t){for(var n=t.directiveEnd,r=e.data,i=t.attrs,o=[],a=null,s=null,c=t.directiveStart;c<n;c++){var l=r[c],u=l.inputs,h=null===i||li(t)?null:io(u,i);o.push(h),a=Wi(u,c,a),s=Wi(l.outputs,c,s)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=o,t.inputs=a,t.outputs=s}(e,n),Qi(e,t,s)}a&&function(e,t,n){if(t)for(var r=e.localNames=[],i=0;i<t.length;i+=2){var o=n[t[i+1]];if(null==o)throw new Error("Export of name '".concat(t[i+1],"' not found!"));r.push(t[i],o)}}(n,r,a)}return n.mergedAttrs=Dn(n.mergedAttrs,n.attrs),i}function qi(e,t){var n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function Qi(e,t,n){for(var r=0;r<n;r++)t.push(yi),e.blueprint.push(yi),e.data.push(null)}function Zi(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function $i(e,t,n){var r=20-t.index,i=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,i,n)}function Yi(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Ji(e,t,n){if(n){if(t.exportAs)for(var r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;At(t)&&(n[""]=e)}}function eo(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function to(e,t,n){e.data.push(n);var r=n.factory||(n.factory=St(n.type)),i=new An(r,At(n),null);e.blueprint.push(i),t.push(i)}function no(e,t,n){var r=Vt(t,e),i=ji(n),o=e[10],a=co(e,Ni(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n)));e[t.index]=a}function ro(e,t,n,r,i,o){var a=o[t];if(null!==a)for(var s=r.setInput,c=0;c<a.length;){var l=a[c++],u=a[c++],h=a[c++];null!==s?r.setInput(n,h,l,u):n[u]=h}}function io(e,t){for(var n=null,r=0;r<t.length;){var i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function oo(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function ao(e,t){var n=jt(t,e);if(Wt(n)){var r=n[1];80&n[2]?Gi(r,n,r.template,n[8]):n[5]>0&&function e(t){for(var n=bi(t);null!==n;n=Ci(n))for(var r=10;r<n.length;r++){var i=n[r];if(1024&i[2]){var o=i[1];Gi(o,i,o.template,i[8])}else i[5]>0&&e(i)}var a=t[1].components;if(null!==a)for(var s=0;s<a.length;s++){var c=jt(a[s],t);Wt(c)&&c[5]>0&&e(c)}}(n)}}function so(e,t){var n=jt(t,e),r=n[1];!function(e,t){for(var n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),Di(r,n,n[8])}function co(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function lo(e){for(;e;){e[2]|=64;var t=_i(e);if(It(e)&&!t)return e;e=t}return null}function uo(e,t,n){var r=t[10];r.begin&&r.begin();try{Gi(e,t,e.template,n)}catch(i){throw yo(t,i),i}finally{r.end&&r.end()}}function ho(e){!function(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],r=Ut(n),i=r[1];Hi(i,r,i.template,n)}}(e[8])}function fo(e,t,n){pn(0),t(e,n)}var po=Promise.resolve(null);function vo(e){return e[7]||(e[7]=[])}function go(e){return e.cleanup||(e.cleanup=[])}function mo(e,t,n){return(null===e||At(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function yo(e,t){var n=e[9],r=n?n.get(fr,null):null;r&&r.handleError(t)}function _o(e,t,n,r,i){for(var o=0;o<n.length;){var a=n[o++],s=n[o++],c=t[a],l=e.data[a];null!==l.setInput?l.setInput(c,i,r,s):c[s]=i}}function bo(e,t){var n=t[3];return-1===e.index?Ot(n)?n:null:n}function Co(e,t){var n=bo(e,t);return n?No(t[11],n[7]):null}function ko(e,t,n,r,i){if(null!=r){var o,a=!1;Ot(r)?o=r:Pt(r)&&(a=!0,r=r[0]);var s=Ht(r);0===e&&null!==n?null==i?Ao(t,n,s):Eo(t,n,s,i||null):1===e&&null!==n?Eo(t,n,s,i||null):2===e?function(e,t,n){var r=No(e,t);r&&function(e,t,n,r){Dt(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,s,a):3===e&&t.destroyNode(s),null!=o&&function(e,t,n,r,i){var o=n[7];o!==Ht(n)&&ko(t,e,r,o,i);for(var a=10;a<n.length;a++){var s=n[a];Lo(s[1],s,e,t,r,o)}}(t,e,o,n,i)}}function wo(e,t,n,r){var i=Co(e.node,t);i&&Lo(e,t,t[11],n?1:2,i,r)}function So(e,t){var n=e[9],r=n.indexOf(t);1024&t[2]&&qt(t[3],-1),n.splice(r,1)}function To(e,t){if(!(e.length<=10)){var n=10+t,r=e[n];if(r){var i=r[17];null!==i&&i!==e&&So(i,r),t>0&&(e[n-1][4]=r[4]);var o=at(e,10+t);wo(r[1],r,!1,null);var a=o[19];null!==a&&a.detachView(o[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Po(e,t){if(!(256&t[2])){var n=t[11];Dt(n)&&n.destroyNode&&Lo(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Mo(e[1],e);for(;t;){var n=null;if(Pt(t))n=t[13];else{var r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)Pt(t)&&Mo(t[1],t),t=Oo(t,e);null===t&&(t=e),Pt(t)&&Mo(t[1],t),n=t&&t[4]}t=n}}(t)}}function Oo(e,t){var n;return Pt(e)&&(n=e[6])&&2===n.type?bo(n,e):e[3]===t?null:e[3]}function Mo(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var r=0;r<n.length;r+=2){var i=t[n[r]];if(!(i instanceof An)){var o=n[r+1];if(Array.isArray(o))for(var a=0;a<o.length;a+=2)o[a+1].call(i[o[a]]);else o.call(i)}}}(e,t),function(e,t){var n=e.cleanup;if(null!==n){for(var r=t[7],i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){var o=n[i+1],a="function"==typeof o?o(t):Ht(t[o]),s=r[n[i+2]],c=n[i+3];"boolean"==typeof c?a.removeEventListener(n[i],s,c):c>=0?r[c]():r[-c].unsubscribe(),i+=2}else n[i].call(r[n[i+1]]);t[7]=null}}(e,t);var n=t[6];n&&3===n.type&&Dt(t[11])&&t[11].destroy();var r=t[17];if(null!==r&&Ot(t[3])){r!==t[3]&&So(r,t);var i=t[19];null!==i&&i.detachView(e)}}}function xo(e,t,n){for(var r=t.parent;null!=r&&(4===r.type||5===r.type);)r=(t=r).parent;if(null==r){var i=n[6];return 2===i.type?Co(i,n):n[0]}if(t&&5===t.type&&4&t.flags)return Vt(t,n).parentNode;if(2&r.flags){var o=e.data,a=o[o[r.index].directiveStart].encapsulation;if(a!==ft.ShadowDom&&a!==ft.Native)return null}return Vt(r,n)}function Eo(e,t,n,r){Dt(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function Ao(e,t,n){Dt(e)?e.appendChild(t,n):t.appendChild(n)}function Io(e,t,n,r){null!==r?Eo(e,t,n,r):Ao(e,t,n)}function No(e,t){return Dt(e)?e.parentNode(t):t.parentNode}function Ro(e,t){if(2===e.type){var n=bo(e,t);return null===n?null:Go(n.indexOf(t,10)-10,n)}return 4===e.type||5===e.type?Vt(e,t):null}function Do(e,t,n,r){var i=xo(e,r,t);if(null!=i){var o=t[11],a=Ro(r.parent||t[6],t);if(Array.isArray(n))for(var s=0;s<n.length;s++)Io(o,i,n[s],a);else Io(o,i,n,a)}}function Go(e,t){var n=10+e+1;if(n<t.length){var r=t[n],i=r[1].firstChild;if(null!==i)return function e(t,n){if(null!==n){var r=n.type;if(3===r)return Vt(n,t);if(0===r)return Go(-1,t[n.index]);if(4===r||5===r){var i=n.child;if(null!==i)return e(t,i);var o=t[n.index];return Ot(o)?Go(-1,o):Ht(o)}var a=t[16],s=a[6],c=_i(a),l=s.projection[n.projection];return null!=l?e(c,l):e(t,n.next)}return null}(r,i)}return t[7]}function Ho(e,t,n,r,i,o,a){for(;null!=n;){var s=r[n.index],c=n.type;a&&0===t&&(s&&ii(Ht(s),r),n.flags|=4),64!=(64&n.flags)&&(4===c||5===c?(Ho(e,t,n.child,r,i,o,!1),ko(t,e,i,s,o)):1===c?Vo(e,t,r,n,i,o):ko(t,e,i,s,o)),n=a?n.projectionNext:n.next}}function Lo(e,t,n,r,i,o){Ho(n,r,e.node.child,t,i,o,!1)}function Vo(e,t,n,r,i,o){var a=n[16],s=a[6].projection[r.projection];if(Array.isArray(s))for(var c=0;c<s.length;c++)ko(t,e,i,s[c],o);else Ho(e,t,s,a[3],i,o,!0)}function Fo(e,t,n){Dt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Bo(e,t,n){Dt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}var jo,Uo,zo,Wo=function(){function e(t,n){_classCallCheck(this,e),this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._viewContainerRef=null}return _createClass(e,[{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Po(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){var t,n,r;t=this._lView[1],r=e,vo(n=this._lView).push(r),t.firstCreatePass&&go(t).push(n[7].length-1,null)}},{key:"markForCheck",value:function(){lo(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){uo(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){an(!0);try{uo(e,t,n)}finally{an(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,Lo(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"rootNodes",get:function(){var e=this._lView;return null==e[0]?function e(t,n,r,i){for(var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==r;){var a=n[r.index];if(null!==a&&i.push(Ht(a)),Ot(a))for(var s=10;s<a.length;s++){var c=a[s],l=c[1].firstChild;null!==l&&e(c[1],c,l,i)}var u=r.type;if(4===u||5===u)e(t,n,r.child,i);else if(1===u){var h=n[16],f=h[6].projection[r.projection];if(Array.isArray(f))i.push.apply(i,_toConsumableArray(f));else{var d=_i(h);e(d[1],d,f,i,!0)}}r=o?r.projectionNext:r.next}return i}(e[1],e,e[6].child,[]):[]}},{key:"context",get:function(){return this._lView[8]}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}}]),e}(),Ko=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e))._view=e,r}return _createClass(n,[{key:"detectChanges",value:function(){ho(this._view)}},{key:"checkNoChanges",value:function(){!function(e){an(!0);try{ho(e)}finally{an(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(Wo);function Xo(e,t,n){return jo||(jo=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(e)),new jo(Vt(t,n))}function qo(e,t,n,r){return Uo||(Uo=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this))._declarationView=e,o._declarationTContainer=r,o.elementRef=i,o}return _createClass(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=Ni(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];var r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),Di(t,n,e),new Wo(n)}}]),n}(e)),0===n.type?new Uo(r,n,Xo(t,n,r)):null}function Qo(e,t,n,r){var i;zo||(zo=function(e){_inherits(r,e);var n=_createSuper(r);function r(e,t,i){var o;return _classCallCheck(this,r),(o=n.call(this))._lContainer=e,o._hostTNode=t,o._hostView=i,o}return _createClass(r,[{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}},{key:"createEmbeddedView",value:function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r}},{key:"createComponent",value:function(e,t,n,r,i){var o=n||this.parentInjector;if(!i&&null==e.ngModule&&o){var a=o.get(nt,null);a&&(i=a)}var s=e.create(o,r,void 0,i);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),Ot(n[3])){var i=this.indexOf(e);if(-1!==i)this.detach(i);else{var o=n[3],a=new zo(o,o[6],o[3]);a.detach(a.indexOf(e))}}var s=this._adjustIndex(t);return function(e,t,n,r){var i=10+r,o=n.length;r>0&&(n[i-1][4]=t),r<o-10?(t[4]=n[i],ot(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;var a=t[17];null!==a&&n!==a&&function(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);var s=t[19];null!==s&&s.insertView(e),t[2]|=128}(r,n,this._lContainer,s),wo(r,n,!0,Go(s,this._lContainer)),e.attachToViewContainerRef(this),ot(this._lContainer[8],s,e),e}},{key:"move",value:function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}},{key:"indexOf",value:function(e){var t=this._lContainer[8];return null!==t?t.indexOf(e):-1}},{key:"remove",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1);!function(e,t){var n=To(e,t);n&&Po(n[1],n)}(this._lContainer,t),at(this._lContainer[8],t)}},{key:"detach",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=To(this._lContainer,t);return n&&null!=at(this._lContainer[8],t)?new Wo(n):null}},{key:"_adjustIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return Xo(t,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new sr(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var e=Yn(this._hostTNode,this._hostView),t=Fn(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,i=n.parent;null!=i.parent&&r==i.parent.injectorIndex;)i=i.parent;return i}for(var o=Vn(e),a=t,s=t[6];o>1;)s=(a=a[15])[6],o--;return s}(e,this._hostView,this._hostTNode);return Hn(e)&&null!=n?new sr(n,t):new sr(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-10}}]),r}(e));var o=r[n.index];if(Ot(o))i=o;else{var a;if(4===n.type)a=Ht(o);else if(a=r[11].createComment(""),It(r)){var s=r[11],c=Vt(n,r);Eo(s,No(s,c),a,function(e,t){return Dt(e)?e.nextSibling(t):t.nextSibling}(s,c))}else Do(r[1],r,a,n);r[n.index]=i=oo(o,r,a,n),co(r,i)}return new zo(i,n,r)}function Zo(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t,n){if(!n&&xt(e)){var r=jt(e.index,t);return new Wo(r,r)}return 3===e.type||0===e.type||4===e.type||5===e.type?new Wo(t[16],t):null}(en(),$t(),e)}var $o=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return Yo()},e}(),Yo=Zo,Jo=new je("Set Injector scope."),ea={},ta={},na=[],ra=void 0;function ia(){return void 0===ra&&(ra=new tt),ra}function oa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return new aa(e,n,t||ia(),r)}var aa=function(){function e(t,n,r){var i=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&it(n,(function(e){return i.processProvider(e,t,n)})),it([t],(function(e){return i.processInjectorType(e,[],a)})),this.records.set(Ue,la(void 0,this));var s=this.records.get(Jo);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:we(t))}return _createClass(e,[{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(e){return e.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ze,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le.Default;this.assertNotDestroyed();var r,i=qe(this);try{if(!(n&le.SkipSelf)){var o=this.records.get(e);if(void 0===o){var a=("function"==typeof(r=e)||"object"==typeof r&&r instanceof je)&&ve(e);o=a&&this.injectableDefInScope(a)?la(sa(e),ea):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(n&le.Self?ia():this.parent).get(e,t=n&le.Optional&&t===ze?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(we(e)),i)throw s;return function(e,t,n,r){var i=e.ngTempTokenPath;throw t.__source&&i.unshift(t.__source),e.message=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var i=we(t);if(Array.isArray(t))i=t.map(we).join(" -> ");else if("object"==typeof t){var o=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];o.push(a+":"+("string"==typeof s?JSON.stringify(s):we(s)))}i="{".concat(o.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(e.replace(We,"\n "))}("\n"+e.message,i,"R3InjectorError",r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{qe(i)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach((function(t){return e.get(t)}))}},{key:"toString",value:function(){var e=[];return this.records.forEach((function(t,n){return e.push(we(n))})),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var r=this;if(!(e=Oe(e)))return!1;var i=me(e),o=null==i&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==n.indexOf(a);if(void 0!==o&&(i=me(o)),null==i)return!1;if(null!=i.imports&&!s){var c;n.push(a);try{it(i.imports,(function(e){r.processInjectorType(e,t,n)&&(void 0===c&&(c=[]),c.push(e))}))}finally{}if(void 0!==c)for(var l=function(e){var t=c[e],n=t.ngModule,i=t.providers;it(i,(function(e){return r.processProvider(e,n,i||na)}))},u=0;u<c.length;u++)l(u)}this.injectorDefTypes.add(a),this.records.set(a,la(i.factory,ea));var h=i.providers;if(null!=h&&!s){var f=e;it(h,(function(e){return r.processProvider(e,f,h)}))}return void 0!==o&&void 0!==e.providers}},{key:"processProvider",value:function(e,t,n){var r=ha(e=Oe(e))?e:Oe(e&&e.provide),i=function(e,t,n){return ua(e)?la(void 0,e.useValue):la(ca(e,t,n),ea)}(e,t,n);if(ha(e)||!0!==e.multi){var o=this.records.get(r);o&&void 0!==o.multi&&ai()}else{var a=this.records.get(r);a?void 0===a.multi&&ai():((a=la(void 0,ea,!0)).factory=function(){return et(a.multi)},this.records.set(r,a)),r=e,a.multi.push(e)}this.records.set(r,i)}},{key:"hydrate",value:function(e,t){var n;return t.value===ta?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(we(e)):t.value===ea&&(t.value=ta,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}},{key:"injectableDefInScope",value:function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();function sa(e){var t=ve(e),n=null!==t?t.factory:St(e);if(null!==n)return n;var r=me(e);if(null!==r)return r.factory;if(e instanceof je)throw new Error("Token ".concat(we(e)," is missing a \u0275prov definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=st(t,"?");throw new Error("Can't resolve all parameters for ".concat(we(e),": (").concat(n.join(", "),")."))}var r=function(e){var t=e&&(e[ye]||e[Ce]||e[be]&&e[be]());if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "').concat(n,'" class.')),t}return null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function ca(e,t,n){var r,i=void 0;if(ha(e)){var o=Oe(e);return St(o)||sa(o)}if(ua(e))i=function(){return Oe(e.useValue)};else if((r=e)&&r.useFactory)i=function(){return e.useFactory.apply(e,_toConsumableArray(et(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))i=function(){return $e(Oe(e.useExisting))};else{var a=Oe(e&&(e.useClass||e.provide));if(a||function(e,t,n){var r="";throw e&&t&&(r=" - only instances of Provider and Type are allowed, got: [".concat(t.map((function(e){return e==n?"?"+n+"?":"..."})).join(", "),"]")),new Error("Invalid provider for the NgModule '".concat(we(e),"'")+r)}(t,n,e),!function(e){return!!e.deps}(e))return St(a)||sa(a);i=function(){return _construct(a,_toConsumableArray(et(e.deps)))}}return i}function la(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function ua(e){return null!==e&&"object"==typeof e&&Ke in e}function ha(e){return"function"==typeof e}var fa=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0,i=oa(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)},da=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?fa(e,t,""):fa(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=ze,e.NULL=new tt,e.\u0275prov=fe({token:e,providedIn:"any",factory:function(){return $e(Ue)}}),e.__NG_ELEMENT_ID__=-1,e}(),pa=new je("AnalyzeForEntryComponents"),va=new Map,ga=new Set;function ma(e){return"string"==typeof e?e:e.text()}function ya(e,t,n){var r=n?e.styles:null,i=n?e.classes:null,o=0;if(null!==t)for(var a=0;a<t.length;a++){var s=t[a];"number"==typeof s?o=s:1==o?i=Se(i,s):2==o&&(r=Se(r,s+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}var _a=null;function ba(){if(!_a){var e=Re.Symbol;if(e&&e.iterator)_a=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(_a=r)}}return _a}function Ca(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}var ka=function(){function e(t){_classCallCheck(this,e),this.wrapped=t}return _createClass(e,null,[{key:"wrap",value:function(t){return new e(t)}},{key:"unwrap",value:function(t){return e.isWrapped(t)?t.wrapped:t}},{key:"isWrapped",value:function(t){return t instanceof e}}]),e}();function wa(e){return!!Sa(e)&&(Array.isArray(e)||!(e instanceof Map)&&ba()in e)}function Sa(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Ta(e,t,n){return e[t]=n}function Pa(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Oa(e,t,n,r){var i=$t();return Pa(i,cn(),t)&&(Yt(),function(e,t,n,r,i,o){var a=Vt(e,t),s=t[11];if(null==r)Dt(s)?s.removeAttribute(a,n,o):a.removeAttribute(n);else{var c=null==i?Bn(r):i(r,e.tagName||"",n);Dt(s)?s.setAttribute(a,n,c,o):o?a.setAttributeNS(o,n,c):a.setAttribute(n,c)}}(Sn(),i,e,t,n,r)),Oa}function Ma(e,t,n,r,i,o,a,s){var c=$t(),l=Yt(),u=e+20,h=l.firstCreatePass?function(e,t,n,r,i,o,a,s,c){var l=t.consts,u=Ri(t,n[6],e,0,a||null,Kt(l,s));Xi(t,n,u,Kt(l,c)),Tn(t,u);var h=u.tViews=Ui(2,-1,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l),f=zi(0,null,2,-1,null,null);return f.injectorIndex=u.injectorIndex,h.node=f,null!==t.queries&&(t.queries.template(t,u),h.queries=t.queries.embeddedTView(u)),u}(e,l,c,t,n,r,i,o,a):l.data[u];tn(h,!1);var f=c[11].createComment("");Do(l,c,f,h),ii(f,c),co(c,c[u]=oo(f,c,f,h)),Et(h)&&Fi(l,c,h),null!=a&&Bi(c,h,s)}function xa(e){return Bt(Qt.lFrame.contextLView,e)}function Ea(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le.Default,n=$t();return null==n?$e(e,t):er(en(),n,Oe(e),t)}function Aa(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var r=n.length,i=0;i<r;){var o=n[i];if(Nn(o))break;if(0===o)i+=2;else if("number"==typeof o)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(o===t)return n[i+1];i+=2}}return null}(en(),e)}function Ia(){throw new Error("invalid")}function Na(e,t,n){var r=$t();return Pa(r,cn(),t)&&Ki(Yt(),Sn(),r,e,t,r[11],n,!1),Na}function Ra(e,t,n,r,i){var o=i?"class":"style";_o(e,n,t.inputs[o],o,r)}function Da(e,t,n,r){var i=$t(),o=Yt(),a=20+e,s=i[11],c=i[a]=Ii(t,s,Qt.lFrame.currentNamespace),l=o.firstCreatePass?function(e,t,n,r,i,o,a){var s=t.consts,c=Kt(s,o),l=Ri(t,n[6],e,3,i,c);return Xi(t,n,l,Kt(s,a)),null!==l.attrs&&ya(l,l.attrs,!1),null!==l.mergedAttrs&&ya(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(e,o,i,0,t,n,r):o.data[a];tn(l,!0);var u=l.mergedAttrs;null!==u&&In(s,c,u);var h=l.classes;null!==h&&Bo(s,c,h);var f=l.styles;null!==f&&Fo(s,c,f),Do(o,i,c,l),0===Qt.lFrame.elementDepthCount&&ii(c,i),Qt.lFrame.elementDepthCount++,Et(l)&&(Fi(o,i,l),Vi(o,l,i)),null!==r&&Bi(i,l)}function Ga(){var e=en();nn()?rn():tn(e=e.parent,!1);var t=e;Qt.lFrame.elementDepthCount--;var n=Yt();n.firstCreatePass&&(Tn(n,e),Mt(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Ra(n,t,$t(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Ra(n,t,$t(),t.stylesWithoutHost,!1)}function Ha(e,t,n,r){Da(e,t,n,r),Ga()}function La(e,t,n){var r=$t(),i=Yt(),o=e+20,a=i.firstCreatePass?function(e,t,n,r,i){var o=t.consts,a=Kt(o,r),s=Ri(t,n[6],e,4,"ng-container",a);return null!==a&&ya(s,a,!0),Xi(t,n,s,Kt(o,i)),null!==t.queries&&t.queries.elementStart(t,s),s}(e,i,r,t,n):i.data[o];tn(a,!0);var s=r[o]=r[11].createComment("");Do(i,r,s,a),ii(s,r),Et(a)&&(Fi(i,r,a),Vi(i,a,r)),null!=n&&Bi(r,a)}function Va(){var e=en(),t=Yt();nn()?rn():tn(e=e.parent,!1),t.firstCreatePass&&(Tn(t,e),Mt(e)&&t.queries.elementEnd(e))}function Fa(){return $t()}function Ba(e){return!!e&&"function"==typeof e.then}function ja(e){return!!e&&"function"==typeof e.subscribe}function Ua(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=$t(),o=Yt(),a=en();return Wa(o,i,i[11],a,e,t,n,r),Ua}function za(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=en(),o=$t(),a=Yt();return Wa(a,o,mo(fn(a.data),i,o),i,e,t,n,r),za}function Wa(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,c=Et(r),l=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),u=vo(t),h=!0;if(3===r.type){var f=Vt(r,t),d=s?s(f):dt,p=d.target||f,v=u.length,g=s?function(e){return s(Ht(e[r.index])).target}:r.index;if(Dt(n)){var m=null;if(!s&&c&&(m=function(e,t,n,r){var i=e.cleanup;if(null!=i)for(var o=0;o<i.length-1;o+=2){var a=i[o];if(a===n&&i[o+1]===r){var s=t[7],c=i[o+2];return s.length>c?s[c]:null}"string"==typeof a&&(o+=2)}return null}(e,t,i,r.index)),null!==m)(m.__ngLastListenerFn__||m).__ngNextListenerFn__=o,m.__ngLastListenerFn__=o,h=!1;else{o=Xa(r,t,o,!1);var y=n.listen(d.name||p,i,o);u.push(o,y),l&&l.push(i,g,v,v+1)}}else o=Xa(r,t,o,!0),p.addEventListener(i,o,a),u.push(o),l&&l.push(i,g,v,a)}var _,b=r.outputs;if(h&&null!==b&&(_=b[i])){var C=_.length;if(C)for(var k=0;k<C;k+=2){var w=t[_[k]][_[k+1]].subscribe(o),S=u.length;u.push(o,w),l&&l.push(i,r.index,S,-(S+1))}}}function Ka(e,t,n){try{return!1!==t(n)}catch(r){return yo(e,r),!1}}function Xa(e,t,n,r){return function i(o){if(o===Function)return n;var a=2&e.flags?jt(e.index,t):t;0==(32&t[2])&&lo(a);for(var s=Ka(t,n,o),c=i.__ngNextListenerFn__;c;)s=Ka(t,c,o)&&s,c=c.__ngNextListenerFn__;return r&&!1===s&&(o.preventDefault(),o.returnValue=!1),s}}function qa(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(Qt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Qt.lFrame.contextLView))[8]}(e)}function Qa(e,t){for(var n=null,r=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),i=0;i<t.length;i++){var o=t[i];if("*"!==o){if(null===r?pi(e,o,!0):vi(r,o))return i}else n=i}return n}function Za(e){var t=$t()[16][6];if(!t.projection)for(var n=t.projection=st(e?e.length:1,null),r=n.slice(),i=t.child;null!==i;){var o=e?Qa(i,e):0;null!==o&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i),i=i.next}}function $a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=$t(),i=Yt(),o=Ri(i,r[6],e,1,null,n||null);null===o.projection&&(o.projection=t),rn(),function(e,t,n){Vo(t[11],0,t,n,xo(e,n,t),Ro(n.parent||t[6],t))}(i,r,o)}var Ya=[];function Ja(e,t,n,r,i){for(var o=e[n+1],a=null===t,s=r?Pi(o):Mi(o),c=!1;0!==s&&(!1===c||a);){var l=e[s+1];es(e[s],t)&&(c=!0,e[s+1]=r?Ei(l):Oi(l)),s=r?Pi(l):Mi(l)}c&&(e[n+1]=r?Oi(o):Ei(o))}function es(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ut(e,t)>=0}var ts={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function ns(e){return e.substring(ts.key,ts.keyEnd)}function rs(e){return e.substring(ts.value,ts.valueEnd)}function is(e,t){var n=ts.textEnd;return n===t?-1:(t=ts.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,ts.key=t,n),ss(e,t,n))}function os(e,t){var n=ts.textEnd,r=ts.key=ss(e,t,n);return n===r?-1:(r=ts.keyEnd=function(e,t,n){for(var r;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90);)t++;return t}(e,r,n),r=cs(e,r,n),r=ts.value=ss(e,r,n),r=ts.valueEnd=function(e,t,n){for(var r=-1,i=-1,o=-1,a=t,s=a;a<n;){var c=e.charCodeAt(a++);if(59===c)return s;34===c||39===c?s=a=ls(e,c,a,n):t===a-4&&85===o&&82===i&&76===r&&40===c?s=a=ls(e,41,a,n):c>32&&(s=a),o=i,i=r,r=-33&c}return s}(e,r,n),cs(e,r,n))}function as(e){ts.key=0,ts.keyEnd=0,ts.value=0,ts.valueEnd=0,ts.textEnd=e.length}function ss(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function cs(e,t,n,r){return(t=ss(e,t,n))<n&&t++,t}function ls(e,t,n,r){for(var i=-1,o=n;o<r;){var a=e.charCodeAt(o++);if(a==t&&92!==i)return o;i=92==a&&92===i?0:a}throw new Error}function us(e,t,n){return vs(e,t,n,!1),us}function hs(e,t){return vs(e,t,null,!0),hs}function fs(e,t){for(var n=function(e){return as(e),os(e,ss(e,0,ts.textEnd))}(t);n>=0;n=os(t,n))Cs(e,ns(t),rs(t))}function ds(e){gs(ct,ps,e,!0)}function ps(e,t){for(var n=function(e){return as(e),is(e,ss(e,0,ts.textEnd))}(t);n>=0;n=is(t,n))ct(e,ns(t),!0)}function vs(e,t,n,r){var i,o,a=$t(),s=Yt(),c=ln(2);(s.firstUpdatePass&&ys(s,e,c,r),t!==yi&&Pa(a,c,t))&&(null==n&&(i=null===(o=Qt.lFrame)?null:o.currentSanitizer)&&(n=i),ks(s,s.data[kn()+20],a,a[11],e,a[c+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=we(_r(e)))),e}(t,n),r,c))}function gs(e,t,n,r){var i=Yt(),o=ln(2);i.firstUpdatePass&&ys(i,null,o,r);var a=$t();if(n!==yi&&Pa(a,o,n)){var s=i.data[kn()+20];if(Ts(s,r)&&!ms(i,o)){var c=r?s.classesWithoutHost:s.stylesWithoutHost;null!==c&&(n=Se(c,n||"")),Ra(i,s,a,n,r)}else!function(e,t,n,r,i,o,a,s){i===yi&&(i=Ya);for(var c=0,l=0,u=0<i.length?i[0]:null,h=0<o.length?o[0]:null;null!==u||null!==h;){var f=c<i.length?i[c+1]:void 0,d=l<o.length?o[l+1]:void 0,p=null,v=void 0;u===h?(c+=2,l+=2,f!==d&&(p=h,v=d)):null===h||null!==u&&u<h?(c+=2,p=u):(l+=2,p=h,v=d),null!==p&&ks(e,t,n,r,p,v,a,s),u=c<i.length?i[c]:null,h=l<o.length?o[l]:null}}(i,s,a,a[11],a[o+1],a[o+1]=function(e,t,n){if(null==n||""===n)return Ya;var r=[],i=_r(n);if(Array.isArray(i))for(var o=0;o<i.length;o++)e(r,i[o],!0);else if("object"==typeof i)for(var a in i)i.hasOwnProperty(a)&&e(r,a,i[a]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,o)}}function ms(e,t){return t>=e.expandoStartIndex}function ys(e,t,n,r){var i=e.data;if(null===i[n+1]){var o=i[kn()+20],a=ms(e,n);Ts(o,r)&&null===t&&!a&&(t=!1),t=function(e,t,n,r){var i=fn(e),o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=bs(n=_s(null,e,t,n,r),t.attrs,r),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=_s(i,e,t,n,r),null===o){var s=function(e,t,n){var r=n?t.classBindings:t.styleBindings;if(0!==Mi(r))return e[Pi(r)]}(e,t,r);void 0!==s&&Array.isArray(s)&&function(e,t,n,r){e[Pi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,s=bs(s=_s(null,e,t,s[1],r),t.attrs,r))}else o=function(e,t,n){for(var r=void 0,i=t.directiveEnd,o=1+t.directiveStylingLast;o<i;o++)r=bs(r,e[o].hostAttrs,n);return bs(r,t.attrs,n)}(e,t,r)}return void 0!==o&&(r?t.residualClasses=o:t.residualStyles=o),n}(i,o,t,r),function(e,t,n,r,i,o){var a=o?t.classBindings:t.styleBindings,s=Pi(a),c=Mi(a);e[r]=n;var l,u=!1;if(Array.isArray(n)){var h=n;(null===(l=h[1])||ut(h,l)>0)&&(u=!0)}else l=n;if(i)if(0!==c){var f=Pi(e[s+1]);e[r+1]=Ti(f,s),0!==f&&(e[f+1]=xi(e[f+1],r)),e[s+1]=131071&e[s+1]|r<<17}else e[r+1]=Ti(s,0),0!==s&&(e[s+1]=xi(e[s+1],r)),s=r;else e[r+1]=Ti(c,0),0===s?s=r:e[c+1]=xi(e[c+1],r),c=r;u&&(e[r+1]=Oi(e[r+1])),Ja(e,l,r,!0),Ja(e,l,r,!1),function(e,t,n,r,i){var o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&ut(o,t)>=0&&(n[r+1]=Ei(n[r+1]))}(t,l,e,r,o),a=Ti(s,c),o?t.classBindings=a:t.styleBindings=a}(i,o,t,n,a,r)}}function _s(e,t,n,r,i){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<a&&(r=bs(r,(o=t[s]).hostAttrs,i),o!==e);)s++;return null!==e&&(n.directiveStylingLast=s),r}function bs(e,t,n){var r=n?1:2,i=-1;if(null!==t)for(var o=0;o<t.length;o++){var a=t[o];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ct(e,a,!!n||t[++o]))}return void 0===e?null:e}function Cs(e,t,n){ni(t)&&(n=Yr(n)),ct(e,t,n)}function ks(e,t,n,r,i,o,a,s){if(3===t.type){var c=e.data,l=c[s+1];Ss(1==(1&l)?ws(c,t,n,i,Mi(l),a):void 0)||(Ss(o)||2==(2&l)&&(o=ws(c,null,n,i,s,a)),function(e,t,n,r,i){var o=Dt(e);if(t)i?o?e.addClass(n,r):n.classList.add(r):o?e.removeClass(n,r):n.classList.remove(r);else{var a=-1==r.indexOf("-")?void 0:2;null==i?o?e.removeStyle(n,r,a):n.style.removeProperty(r):o?e.setStyle(n,r,i,a):n.style.setProperty(r,i)}}(r,a,Lt(kn(),n),i,o))}}function ws(e,t,n,r,i,o){for(var a=null===t,s=void 0;i>0;){var c=e[i],l=Array.isArray(c),u=l?c[1]:c,h=null===u,f=n[i+1];f===yi&&(f=h?Ya:void 0);var d=h?lt(f,r):u===r?f:void 0;if(l&&!Ss(d)&&(d=lt(c,r)),Ss(d)&&(s=d,a))return s;var p=e[i+1];i=a?Pi(p):Mi(p)}if(null!==t){var v=o?t.residualClasses:t.residualStyles;null!=v&&(s=lt(v,r))}return s}function Ss(e){return void 0!==e}function Ts(e,t){return 0!=(e.flags&(t?16:32))}function Ps(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=$t(),r=Yt(),i=e+20,o=r.firstCreatePass?Ri(r,n[6],e,3,null,null):r.data[i],a=n[i]=function(e,t){return Dt(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);Do(r,n,a,o),tn(o,!1)}function Os(e){return Ms("",e,""),Os}function Ms(e,t,n){var r=$t(),i=function(e,t,n,r){return Pa(e,cn(),n)?t+Bn(n)+r:yi}(r,e,t,n);return i!==yi&&function(e,t,n){var r=Lt(t,e),i=e[11];Dt(i)?i.setValue(r,n):r.textContent=n}(r,kn(),i),Ms}function xs(e,t,n){var r=$t();return Pa(r,cn(),t)&&Ki(Yt(),Sn(),r,e,t,r[11],n,!0),xs}function Es(e,t,n){var r=$t();if(Pa(r,cn(),t)){var i=Yt(),o=Sn();Ki(i,o,r,e,t,mo(fn(i.data),o,r),n,!0)}return Es}function As(e,t){var n=Ut(e)[1],r=n.data.length-1;Tn(n,{directiveStart:r,directiveEnd:r+1})}function Is(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,r=[e];t;){var i=void 0;if(At(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);var o=e;o.inputs=Ns(e.inputs),o.declaredInputs=Ns(e.declaredInputs),o.outputs=Ns(e.outputs);var a=i.hostBindings;a&&Gs(e,a);var s=i.viewQuery,c=i.contentQueries;if(s&&Rs(e,s),c&&Ds(e,c),he(e.inputs,i.inputs),he(e.declaredInputs,i.declaredInputs),he(e.outputs,i.outputs),At(i)&&i.data.animation){var l=e.data;l.animation=(l.animation||[]).concat(i.data.animation)}o.afterContentChecked=o.afterContentChecked||i.afterContentChecked,o.afterContentInit=e.afterContentInit||i.afterContentInit,o.afterViewChecked=e.afterViewChecked||i.afterViewChecked,o.afterViewInit=e.afterViewInit||i.afterViewInit,o.doCheck=e.doCheck||i.doCheck,o.onDestroy=e.onDestroy||i.onDestroy,o.onInit=e.onInit||i.onInit}var u=i.features;if(u)for(var h=0;h<u.length;h++){var f=u[h];f&&f.ngInherit&&f(e),f===Is&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){for(var t=0,n=null,r=e.length-1;r>=0;r--){var i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=Dn(i.hostAttrs,n=Dn(n,i.hostAttrs))}}(r)}function Ns(e){return e===dt?{}:e===pt?[]:e}function Rs(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,r){t(e,r),n(e,r)}:t}function Ds(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,r,i){t(e,r,i),n(e,r,i)}:t}function Gs(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,r){t(e,r),n(e,r)}:t}var Hs=function(){function e(t,n,r){_classCallCheck(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=r}return _createClass(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function Ls(e){e.type.prototype.ngOnChanges&&(e.setInput=Vs,e.onChanges=function(){var e=Fs(this),t=e&&e.current;if(t){var n=e.previous;if(n===dt)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}})}function Vs(e,t,n,r){var i=Fs(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:dt,current:null}),o=i.current||(i.current={}),a=i.previous,s=this.declaredInputs[n],c=a[s];o[s]=new Hs(c&&c.currentValue,t,a===dt),e[r]=t}function Fs(e){return e.__ngSimpleChanges__||null}function Bs(e,t,n,r,i){if(e=Oe(e),Array.isArray(e))for(var o=0;o<e.length;o++)Bs(e[o],t,n,r,i);else{var a=Yt(),s=$t(),c=ha(e)?e:Oe(e.provide),l=ca(e),u=en(),h=65535&u.providerIndexes,f=u.directiveStart,d=u.providerIndexes>>16;if(ha(e)||!e.multi){var p=new An(l,i,Ea),v=zs(c,t,i?h:h+d,f);-1===v?(Jn(Qn(u,s),a,c),js(a,e,t.length),t.push(c),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=65536),n.push(p),s.push(p)):(n[v]=p,s[v]=p)}else{var g=zs(c,t,h+d,f),m=zs(c,t,h,h+d),y=g>=0&&n[g],_=m>=0&&n[m];if(i&&!_||!i&&!y){Jn(Qn(u,s),a,c);var b=function(e,t,n,r,i){var o=new An(e,n,Ea);return o.multi=[],o.index=t,o.componentProviders=0,Us(o,i,r&&!n),o}(i?Ks:Ws,n.length,i,r,l);!i&&_&&(n[m].providerFactory=b),js(a,e,t.length,0),t.push(c),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=65536),n.push(b),s.push(b)}else js(a,e,g>-1?g:m,Us(n[i?m:g],l,!i&&r));!i&&r&&_&&n[m].componentProviders++}}}function js(e,t,n,r){var i=ha(t);if(i||t.useClass){var o=(t.useClass||t).prototype.ngOnDestroy;if(o){var a=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){var s=a.indexOf(n);-1===s?a.push(n,[r,o]):a[s+1].push(r,o)}else a.push(n,o)}}}function Us(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function zs(e,t,n,r){for(var i=n;i<r;i++)if(t[i]===e)return i;return-1}function Ws(e,t,n,r){return Xs(this.multi,[])}function Ks(e,t,n,r){var i,o=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,s=ir(n,n[1],this.providerFactory.index,r);Xs(o,i=s.slice(0,a));for(var c=a;c<s.length;c++)i.push(s[c])}else Xs(o,i=[]);return i}function Xs(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function qs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,r){return function(e,t,n){var r=Yt();if(r.firstCreatePass){var i=At(e);Bs(n,r.data,r.blueprint,i,!0),Bs(t,r.data,r.blueprint,i,!1)}}(n,r?r(e):e,t)}}}Ls.ngInherit=!0;var Qs=function e(){_classCallCheck(this,e)},Zs=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(we(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),$s=function(){var e=function e(){_classCallCheck(this,e)};return e.NULL=new Zs,e}(),Ys=function(){var e=function e(t){_classCallCheck(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=function(){return Js(e)},e}(),Js=function(e){return Xo(e,en(),$t())},ec=function e(){_classCallCheck(this,e)},tc=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),nc=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return rc()},e}(),rc=function(){var e=$t(),t=jt(en().index,e);return function(e){var t=e[11];if(Dt(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Pt(t)?t:e)},ic=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=fe({token:e,providedIn:"root",factory:function(){return null}}),e}(),oc=function e(t){_classCallCheck(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},ac=new oc("9.1.11"),sc=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return wa(e)}},{key:"create",value:function(e){return new lc(e)}}]),e}(),cc=function(e,t){return t},lc=function(){function e(t){_classCallCheck(this,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=t||cc}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,r=0,i=null;t||n;){var o=!n||t&&t.currentIndex<dc(n,r,i)?t:n,a=dc(o,r,i),s=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);var c=a-r,l=s-r;if(c!=l){for(var u=0;u<c;u++){var h=u<i.length?i[u]:i[u]=0,f=h+u;l<=f&&f<c&&(i[u]=h+1)}i[o.previousIndex]=l-c}}a!==s&&e(o,a,s)}}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachMovedItem",value:function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"forEachIdentityChange",value:function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}},{key:"diff",value:function(e){if(null==e&&(e=[]),!wa(e))throw new Error("Error trying to diff '".concat(we(e),"'. Only arrays and iterables are allowed"));return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n,r,i,o=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)r=e[s],i=this._trackByFn(s,r),null!==o&&Ca(o.trackById,i)?(a&&(o=this._verifyReinsertion(o,r,i,s)),Ca(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,s),a=!0),o=o._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r,i=e[ba()]();!(r=i.next()).done;)t(r.value)}(e,(function(e){i=t._trackByFn(n,e),null!==o&&Ca(o.trackById,i)?(a&&(o=t._verifyReinsertion(o,e,i,n)),Ca(o.item,e)||t._addIdentityChange(o,e)):(o=t._mismatch(o,e,i,n),a=!0),o=o._next,n++})),this.length=n;return this._truncate(o),this.collection=e,this.isDirty}},{key:"_reset",value:function(){if(this.isDirty){var e,t;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=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(e,t,n,r){var i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Ca(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Ca(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new uc(t,n),i,r),e}},{key:"_verifyReinsertion",value:function(e,t,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}},{key:"_truncate",value:function(e){for(;null!==e;){var 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)}},{key:"_reinsertAfter",value:function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_moveAfter",value:function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_addAfter",value:function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}},{key:"_insertAfter",value:function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new fc),this._linkedRecords.put(e),e.currentIndex=n,e}},{key:"_remove",value:function(e){return this._addToRemovals(this._unlink(e))}},{key:"_unlink",value:function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}},{key:"_addToMoves",value:function(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}},{key:"_addToRemovals",value:function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new fc),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}},{key:"_addIdentityChange",value:function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}]),e}(),uc=function e(t,n){_classCallCheck(this,e),this.item=t,this.trackById=n,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},hc=function(){function e(){_classCallCheck(this,e),this._head=null,this._tail=null}return _createClass(e,[{key:"add",value:function(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)}},{key:"get",value:function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Ca(n.trackById,e))return n;return null}},{key:"remove",value:function(e){var 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}}]),e}(),fc=function(){function e(){_classCallCheck(this,e),this.map=new Map}return _createClass(e,[{key:"put",value:function(e){var t=e.trackById,n=this.map.get(t);n||(n=new hc,this.map.set(t,n)),n.add(e)}},{key:"get",value:function(e,t){var n=this.map.get(e);return n?n.get(e,t):null}},{key:"remove",value:function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}},{key:"clear",value:function(){this.map.clear()}},{key:"isEmpty",get:function(){return 0===this.map.size}}]),e}();function dc(e,t,n){var r=e.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+t+i}var pc=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return e instanceof Map||Sa(e)}},{key:"create",value:function(){return new vc}}]),e}(),vc=function(){function e(){_classCallCheck(this,e),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}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachChangedItem",value:function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"diff",value:function(e){if(e){if(!(e instanceof Map||Sa(e)))throw new Error("Error trying to diff '".concat(we(e),"'. Only maps and objects are allowed"))}else e=new Map;return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var i=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,i)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(e,t){if(e){var 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}},{key:"_getOrCreateRecordForKey",value:function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new gc(e);return this._records.set(e,o),o.currentValue=t,this._addToAdditions(o),o}},{key:"_reset",value:function(){if(this.isDirty){var 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}}},{key:"_maybeAddToChanges",value:function(e,t){Ca(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}},{key:"_addToAdditions",value:function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}},{key:"_addToChanges",value:function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}},{key:"_forEach",value:function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach((function(n){return t(e[n],n)}))}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}]),e}(),gc=function e(t){_classCallCheck(this,e),this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},mc=function(){var e=function(){function e(t){_classCallCheck(this,e),this.factories=t}return _createClass(e,[{key:"find",value:function(e){var t,n=this.factories.find((function(t){return t.supports(e)}));if(null!=n)return n;throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'"))}}],[{key:"create",value:function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ce,new ae]]}}}]),e}();return e.\u0275prov=fe({token:e,providedIn:"root",factory:function(){return new e([new sc])}}),e}(),yc=function(){var e=function(){function e(t){_classCallCheck(this,e),this.factories=t}return _createClass(e,[{key:"find",value:function(e){var t=this.factories.find((function(t){return t.supports(e)}));if(t)return t;throw new Error("Cannot find a differ supporting object '".concat(e,"'"))}}],[{key:"create",value:function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new ce,new ae]]}}}]),e}();return e.\u0275prov=fe({token:e,providedIn:"root",factory:function(){return new e([new pc])}}),e}(),_c=[new pc],bc=new mc([new sc]),Cc=new yc(_c),kc=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return wc(e,Ys)},e}(),wc=function(e,t){return qo(e,t,en(),$t())},Sc=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return Tc(e,Ys)},e}(),Tc=function(e,t){return Qo(e,t,en(),$t())},Pc={},Oc=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).ngModule=e,r}return _createClass(n,[{key:"resolveComponentFactory",value:function(e){var t=wt(e);return new Ec(t,this.ngModule)}}]),n}($s);function Mc(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var xc=new je("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Un}}),Ec=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).componentDef=e,i.ngModule=r,i.componentType=e.type,i.selector=e.selectors.map(mi).join(","),i.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],i.isBoundToModule=!!r,i}return _createClass(n,[{key:"create",value:function(e,t,n,r){var i,o,a=(r=r||this.ngModule)?function(e,t){return{get:function(n,r,i){var o=e.get(n,Pc,i);return o!==Pc||r===Pc?o:t.get(n,r,i)}}}(e,r.injector):e,s=a.get(ec,Gt),c=a.get(ic,null),l=s.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",h=n?function(e,t,n){if(Dt(e))return e.selectRootElement(t,n===ft.ShadowDom);var r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(l,n,this.componentDef.encapsulation):Ii(u,s.createRenderer(null,this.componentDef),function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(u)),f=this.componentDef.onPush?576:528,d="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),p={components:[],scheduler:Un,clean:po,playerHandler:null,flags:0},v=Ui(0,-1,null,1,0,null,null,null,null,null),g=Ni(null,v,p,f,null,null,s,l,c,a);gn(g,null);try{var m=function(e,t,n,r,i,o){var a=n[1];n[20]=e;var s=Ri(a,null,0,3,null,null),c=s.mergedAttrs=t.hostAttrs;null!==c&&(ya(s,c,!0),null!==e&&(In(i,e,c),null!==s.classes&&Bo(i,e,s.classes),null!==s.styles&&Fo(i,e,s.styles)));var l=r.createRenderer(e,t),u=Ni(n,ji(t),null,t.onPush?64:16,n[20],s,r,l,void 0);return a.firstCreatePass&&(Jn(Qn(s,n),a,t.type),Yi(a,s),eo(s,n.length,1)),co(n,u),n[20]=u}(h,this.componentDef,g,s,l);if(h)if(n)In(l,h,["ng-version",ac.full]);else{var y=function(e){for(var t=[],n=[],r=1,i=2;r<e.length;){var o=e[r];if("string"==typeof o)2===i?""!==o&&t.push(o,e[++r]):8===i&&n.push(o);else{if(!fi(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),_=y.attrs,b=y.classes;_&&In(l,h,_),b&&b.length>0&&Bo(l,h,b.join(" "))}if(o=Ft(v,0),void 0!==t)for(var C=o.projection=[],k=0;k<this.ngContentSelectors.length;k++){var w=t[k];C.push(null!=w?Array.from(w):null)}i=function(e,t,n,r,i){var o=n[1],a=function(e,t,n){var r=en();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),$i(e,r,1),to(e,t,n));var i=ir(t,e,t.length-1,r);ii(i,t);var o=Vt(r,t);return o&&ii(o,t),i}(o,n,t);r.components.push(a),e[8]=a,i&&i.forEach((function(e){return e(a,t)})),t.contentQueries&&t.contentQueries(1,a,n.length-1);var s=en();if(o.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){wn(s.index-20);var c=n[1];qi(c,t),Qi(c,n,t.hostVars),Zi(t,a)}return a}(m,this.componentDef,g,p,[As]),Di(v,g,null)}finally{Cn()}var S=new Ac(this.componentType,i,Xo(Ys,o,g),g,o);return n&&!d||(v.node.child=o),S}},{key:"inputs",get:function(){return Mc(this.componentDef.inputs)}},{key:"outputs",get:function(){return Mc(this.componentDef.outputs)}}]),n}(Qs),Ac=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o,a){var s,c,l,u;return _classCallCheck(this,n),(s=t.call(this)).location=i,s._rootLView=o,s._tNode=a,s.destroyCbs=[],s.instance=r,s.hostView=s.changeDetectorRef=new Ko(o),c=o[1],l=o,null==(u=c.node)&&(c.node=u=zi(0,null,2,-1,null,null)),l[6]=u,s.componentType=e,s}return _createClass(n,[{key:"destroy",value:function(){this.destroyCbs&&(this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}},{key:"onDestroy",value:function(e){this.destroyCbs&&this.destroyCbs.push(e)}},{key:"injector",get:function(){return new sr(this._tNode,this._rootLView)}}]),n}(function(){return function e(){_classCallCheck(this,e)}}()),Ic=void 0,Nc=["en",[["a","p"],["AM","PM"],Ic],[["AM","PM"],Ic,Ic],[["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"]],Ic,[["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"]],Ic,[["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}",Ic,"{1} 'at' {0}",Ic],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],Rc={};function Dc(e){return e in Rc||(Rc[e]=Re.ng&&Re.ng.common&&Re.ng.common.locales&&Re.ng.common.locales[e]),Rc[e]}var Gc=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.Directionality]="Directionality",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}();function Hc(e){var t;null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: Expected localeId to be defined"+" [Expected=> null != ".concat(t," <=Actual]"))}(0,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}var Lc=new Map,Vc=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;_classCallCheck(this,n),(i=t.call(this))._parent=r,i._bootstrapComponents=[],i.injector=_assertThisInitialized(i),i.destroyCbs=[],i.componentFactoryResolver=new Oc(_assertThisInitialized(i));var o=Tt(e),a=e[Ve]||null;return a&&Hc(a),i._bootstrapComponents=Wn(o.bootstrap),i._r3Injector=oa(e,r,[{provide:nt,useValue:_assertThisInitialized(i)},{provide:$s,useValue:i.componentFactoryResolver}],we(e)),i._r3Injector._resolveInjectorDefTypes(),i.instance=i.get(e),i}return _createClass(n,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:da.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le.Default;return e===da||e===nt||e===Ue?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(nt),Fc=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).moduleType=e,null!==Tt(e)&&function e(t){if(null!==t.\u0275mod.id){var n=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(we(t)," vs ").concat(we(t.name)))})(n,Lc.get(n),t),Lc.set(n,t)}var r=t.\u0275mod.imports;r instanceof Function&&(r=r()),r&&r.forEach((function(t){return e(t)}))}(e),r}return _createClass(n,[{key:"create",value:function(e){return new Vc(this.moduleType,e)}}]),n}(rt);function Bc(e,t){var n=e[t];return n===yi?void 0:n}function jc(e,t){var n,r=Yt(),i=e+20;r.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var r=t[n];if(e===r.name)return r}throw new Error("The pipe '".concat(e,"' could not be found!"))}(t,r.pipeRegistry),r.data[i]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(i,n.onDestroy)):n=r.data[i];var o=n.factory||(n.factory=St(n.type)),a=Qe(Ea),s=Xn(!1),c=o();return Xn(s),Qe(a),function(e,t,n,r){var i=n+20;i>=e.data.length&&(e.data[i]=null,e.blueprint[i]=null),t[i]=r}(r,$t(),e,c),c}function Uc(e,t,n){var r=$t(),i=Bt(r,e);return function(e,t){return ka.isWrapped(t)&&(t=ka.unwrap(t),e[Qt.lFrame.bindingIndex]=yi),t}(r,function(e,t){return e[1].data[t+20].pure}(r,e)?function(e,t,n,r,i,o){var a=t+n;return Pa(e,a,i)?Ta(e,a+1,o?r.call(o,i):r(i)):Bc(e,a+1)}(r,sn(),t,i.transform,n,i):i.transform(n))}var zc=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,n),(e=t.call(this)).__isAsync=r,e}return _createClass(n,[{key:"emit",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,r){var i,o=function(e){return null},a=function(){return null};e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(o=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(a=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},t&&(o=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)}),r&&(a=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var s=_get(_getPrototypeOf(n.prototype),"subscribe",this).call(this,i,o,a);return e instanceof f&&e.add(s),s}}]),n}(M);function Wc(){return this._results[ba()]()}var Kc=function(){function e(){_classCallCheck(this,e),this.dirty=!0,this._results=[],this.changes=new zc,this.length=0;var t=ba(),n=e.prototype;n[t]||(n[t]=Wc)}return _createClass(e,[{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?(n===t&&(n=t.slice(0,r)),e(i,n)):n!==t&&n.push(i)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}},{key:"notifyOnChanges",value:function(){this.changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),e}(),Xc=function(){function e(t){_classCallCheck(this,e),this.queryList=t,this.matches=null}return _createClass(e,[{key:"clone",value:function(){return new e(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),e}(),qc=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[],o=0;o<r;o++){var a=n.getByIndex(o);i.push(this.queries[a.indexInDeclarationView].clone())}return new e(i)}return null}},{key:"insertView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"detachView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"dirtyQueriesWithMatches",value:function(e){for(var t=0;t<this.queries.length;t++)null!==ll(e,t).matches&&this.queries[t].setDirty()}}]),e}(),Qc=function e(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.predicate=t,this.descendants=n,this.isStatic=r,this.read=i},Zc=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"elementStart",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}},{key:"elementEnd",value:function(e){for(var t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}},{key:"embeddedTView",value:function(t){for(var n=null,r=0;r<this.length;r++){var i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new e(n):null}},{key:"template",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}},{key:"getByIndex",value:function(e){return this.queries[e]}},{key:"track",value:function(e){this.queries.push(e)}},{key:"length",get:function(){return this.queries.length}}]),e}(),$c=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,r=0;r<n.length;r++)this.matchTNodeWithReadOption(e,t,Yc(t,n[r]));else{var i=this.metadata.predicate;i===kc?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,rr(t,e,i,!1,!1))}}},{key:"matchTNodeWithReadOption",value:function(e,t,n){if(null!==n){var r=this.metadata.read;if(null!==r)if(r===Ys||r===Sc||r===kc&&0===t.type)this.addMatch(t.index,-2);else{var i=rr(t,e,r,!1,!1);null!==i&&this.addMatch(t.index,i)}else this.addMatch(t.index,n)}}},{key:"addMatch",value:function(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}]),e}();function Yc(e,t){var n=e.localNames;if(null!==n)for(var r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function Jc(e,t,n,r){return-1===n?function(e,t){return 3===e.type||4===e.type?Xo(Ys,e,t):0===e.type?qo(kc,Ys,e,t):null}(t,e):-2===n?function(e,t,n){return n===Ys?Xo(Ys,t,e):n===kc?qo(kc,Ys,t,e):n===Sc?Qo(Sc,Ys,t,e):void 0}(e,t,r):ir(e,e[1],n,t)}function el(e,t,n,r){var i=t[19].queries[r];if(null===i.matches){for(var o=e.data,a=n.matches,s=[],c=0;c<a.length;c+=2){var l=a[c];s.push(l<0?null:Jc(t,o[l],a[c+1],n.metadata.read))}i.matches=s}return i.matches}function tl(e){var t=$t(),n=Yt(),r=dn();pn(r+1);var i=ll(n,r);if(e.dirty&&zt(t)===i.metadata.isStatic){if(null===i.matches)e.reset([]);else{var o=i.crossesNgTemplate?function e(t,n,r,i){var o=t.queries.getByIndex(r),a=o.matches;if(null!==a)for(var s=el(t,n,o,r),c=0;c<a.length;c+=2){var l=a[c];if(l>0)i.push(s[c/2]);else{for(var u=a[c+1],h=n[-l],f=10;f<h.length;f++){var d=h[f];d[17]===d[3]&&e(d[1],d,u,i)}if(null!==h[9])for(var p=h[9],v=0;v<p.length;v++){var g=p[v];e(g[1],g,u,i)}}}return i}(n,t,r,[]):el(n,t,i,r);e.reset(o),e.notifyOnChanges()}return!0}return!1}function nl(e,t,n){il(Yt(),$t(),e,t,n,!0)}function rl(e,t,n){il(Yt(),$t(),e,t,n,!1)}function il(e,t,n,r,i,o){e.firstCreatePass&&(cl(e,new Qc(n,r,o,i),-1),o&&(e.staticViewQueries=!0)),sl(e,t)}function ol(e,t,n,r){!function(e,t,n,r,i,o,a,s){e.firstCreatePass&&(cl(e,new Qc(n,r,!1,i),a.index),function(e,t){var n=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(e,s)),sl(e,t)}(Yt(),$t(),t,n,r,0,en(),e)}function al(){return e=$t(),t=dn(),e[19].queries[t].queryList;var e,t}function sl(e,t){var n=new Kc;!function(e,t,n,r){var i=vo(t);i.push(n),e.firstCreatePass&&go(e).push(r,i.length-1)}(e,t,n,n.destroy),null===t[19]&&(t[19]=new qc),t[19].queries.push(new Xc(n))}function cl(e,t,n){null===e.queries&&(e.queries=new Zc),e.queries.track(new $c(t,n))}function ll(e,t){return e.queries.getByIndex(t)}function ul(e,t){return qo(kc,Ys,e,t)}var hl=new je("Application Initializer"),fl=function(){var e=function(){function e(t){var n=this;_classCallCheck(this,e),this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(e,t){n.resolve=e,n.reject=t}))}return _createClass(e,[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();Ba(i)&&t.push(i)}Promise.all(t).then((function(){n()})).catch((function(t){e.reject(t)})),0===t.length&&n(),this.initialized=!0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)($e(hl,8))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),dl=new je("AppId"),pl={provide:dl,useFactory:function(){return"".concat(vl()).concat(vl()).concat(vl())},deps:[]};function vl(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var gl=new je("Platform Initializer"),ml=new je("Platform ID"),yl=new je("appBootstrapListener"),_l=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),bl=new je("LocaleId"),Cl=new je("DefaultCurrencyCode"),kl=function e(t,n){_classCallCheck(this,e),this.ngModuleFactory=t,this.componentFactories=n},wl=function(e){return new Fc(e)},Sl=wl,Tl=function(e){return Promise.resolve(wl(e))},Pl=function(e){var t=wl(e),n=Wn(Tt(e).declarations).reduce((function(e,t){var n=wt(t);return n&&e.push(new Ec(n)),e}),[]);return new kl(t,n)},Ol=Pl,Ml=function(e){return Promise.resolve(Pl(e))},xl=function(){var e=function(){function e(){_classCallCheck(this,e),this.compileModuleSync=Sl,this.compileModuleAsync=Tl,this.compileModuleAndAllComponentsSync=Ol,this.compileModuleAndAllComponentsAsync=Ml}return _createClass(e,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(e){}},{key:"getModuleId",value:function(e){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),El=new je("compilerOptions"),Al=Promise.resolve(0);function Il(e){"undefined"==typeof Zone?Al.then((function(){e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var Nl=function(){function e(t){var n,r,i=t.enableLongStackTrace,o=void 0!==i&&i,a=t.shouldCoalesceEventChangeDetection,s=void 0!==a&&a;if(_classCallCheck(this,e),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new zc(!1),this.onMicrotaskEmpty=new zc(!1),this.onStable=new zc(!1),this.onError=new zc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),o&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=s,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var e=Re.requestAnimationFrame,t=Re.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){var n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);var r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,r=!!(n=this).shouldCoalesceEventChangeDetection&&n.nativeRequestAnimationFrame&&function(){!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Re,(function(){e.lastRequestAnimationFrameId=-1,Hl(e),Gl(e)})),Hl(e))}(n)},n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:r},onInvokeTask:function(e,t,i,o,a,s){try{return Ll(n),e.invokeTask(i,o,a,s)}finally{r&&"eventTask"===o.type&&r(),Vl(n)}},onInvoke:function(e,t,r,i,o,a,s){try{return Ll(n),e.invoke(r,i,o,a,s)}finally{Vl(n)}},onHasTask:function(e,t,r,i){e.hasTask(r,i),t===r&&("microTask"==i.change?(n._hasPendingMicrotasks=i.microTask,Hl(n),Gl(n)):"macroTask"==i.change&&(n.hasPendingMacrotasks=i.macroTask))},onHandleError:function(e,t,r,i){return e.handleError(r,i),n.runOutsideAngular((function(){return n.onError.emit(i)})),!1}})}return _createClass(e,[{key:"run",value:function(e,t,n){return this._inner.run(e,t,n)}},{key:"runTask",value:function(e,t,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,Dl,Rl,Rl);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}}},{key:"runGuarded",value:function(e,t,n){return this._inner.runGuarded(e,t,n)}},{key:"runOutsideAngular",value:function(e){return this._outer.run(e)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),e}();function Rl(){}var Dl={};function Gl(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((function(){return e.onStable.emit(null)}))}finally{e.isStable=!0}}}function Hl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Ll(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Vl(e){e._nesting--,Gl(e)}var Fl,Bl=function(){function e(){_classCallCheck(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new zc,this.onMicrotaskEmpty=new zc,this.onStable=new zc,this.onError=new zc}return _createClass(e,[{key:"run",value:function(e,t,n){return e.apply(t,n)}},{key:"runGuarded",value:function(e,t,n){return e.apply(t,n)}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e,t,n,r){return e.apply(t,n)}}]),e}(),jl=function(){var e=function(){function e(t){var n=this;_classCallCheck(this,e),this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run((function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}return _createClass(e,[{key:"_watchAngularEvents",value:function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.subscribe({next:function(){Nl.assertNotInAngularZone(),Il((function(){e._isZoneStable=!0,e._runCallbacksIfReady()}))}})}))}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var e=this;if(this.isStable())Il((function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1}));else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter((function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)})),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}})):[]}},{key:"addCallback",value:function(e,t,n){var r=this,i=-1;t&&t>0&&(i=setTimeout((function(){r._callbacks=r._callbacks.filter((function(e){return e.timeoutId!==i})),e(r._didWork,r.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})}},{key:"whenStable",value:function(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/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)($e(Nl))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),Ul=function(){var e=function(){function e(){_classCallCheck(this,e),this._applications=new Map,zl.addToWindow(this)}return _createClass(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return zl.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),zl=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),Wl=function(e,t,n){var r=e.get(El,[]).concat(t),i=new Fc(n);if(0===va.size)return Promise.resolve(i);var o,a,s=(o=r.map((function(e){return e.providers})),a=[],o.forEach((function(e){return e&&a.push.apply(a,_toConsumableArray(e))})),a);if(0===s.length)return Promise.resolve(i);var c=function(){var e=Re.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),l=da.create({providers:s}).get(c.ResourceLoader);return function(e){var t=[],n=new Map;function r(e){var t=n.get(e);if(!t){var r=function(e){return Promise.resolve(l.get(e))}(e);n.set(e,t=r.then(ma))}return t}return va.forEach((function(e,n){var i=[];e.templateUrl&&i.push(r(e.templateUrl).then((function(t){e.template=t})));var o=e.styleUrls,a=e.styles||(e.styles=[]),s=e.styles.length;o&&o.forEach((function(t,n){a.push(""),i.push(r(t).then((function(r){a[s+n]=r,o.splice(o.indexOf(t),1),0==o.length&&(e.styleUrls=void 0)})))}));var c=Promise.all(i).then((function(){return function(e){ga.delete(e)}(n)}));t.push(c)})),va=new Map,Promise.all(t).then((function(){}))}().then((function(){return i}))},Kl=new je("AllowMultipleToken"),Xl=function e(t,n){_classCallCheck(this,e),this.name=t,this.token=n};function ql(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: "+t,i=new je(r);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Ql();if(!o||o.injector.get(Kl,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var a=n.concat(t).concat({provide:i,useValue:!0},{provide:Jo,useValue:"platform"});!function(e){if(Fl&&!Fl.destroyed&&!Fl.injector.get(Kl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Fl=e.get(Zl);var t=e.get(gl,null);t&&t.forEach((function(e){return e()}))}(da.create({providers:a,name:r}))}return function(e){var t=Ql();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(i)}}function Ql(){return Fl&&!Fl.destroyed?Fl:null}var Zl=function(){var e=function(){function e(t){_classCallCheck(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,r,i=this,o=(n=t?t.ngZone:void 0,r=t&&t.ngZoneEventCoalescing||!1,"noop"===n?new Bl:("zone.js"===n?void 0:n)||new Nl({enableLongStackTrace:Sr(),shouldCoalesceEventChangeDetection:r})),a=[{provide:Nl,useValue:o}];return o.run((function(){var t=da.create({providers:a,parent:i.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(fr,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return eu(i._modules,n)})),o.runOutsideAngular((function(){return o.onError.subscribe({next:function(e){r.handleError(e)}})})),function(e,t,r){try{var o=((a=n.injector.get(fl)).runInitializers(),a.donePromise.then((function(){return Hc(n.injector.get(bl,"en-US")||"en-US"),i._moduleDoBootstrap(n),n})));return Ba(o)?o.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):o}catch(s){throw t.runOutsideAngular((function(){return e.handleError(s)})),s}var a}(r,o)}))}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=$l({},n);return Wl(this.injector,r,e).then((function(e){return t.bootstrapModuleFactory(e,r)}))}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(Jl);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(we(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)($e(da))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}();function $l(e,t){return Array.isArray(t)?t.reduce($l,e):Object.assign(Object.assign({},e),t)}var Yl,Jl=((Yl=function(){function e(t,n,r,i,o,a){var s=this;_classCallCheck(this,e),this._zone=t,this._console=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=o,this._initStatus=a,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Sr(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run((function(){s.tick()}))}});var c=new k((function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular((function(){e.next(s._stable),e.complete()}))})),l=new k((function(e){var t;s._zone.runOutsideAngular((function(){t=s._zone.onStable.subscribe((function(){Nl.assertNotInAngularZone(),Il((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))}))}))}));var n=s._zone.onUnstable.subscribe((function(){Nl.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=Q(c,l.pipe((function(e){return Z()((t=ne,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,ee);return r.source=e,r.subjectFactory=n,r})(e));var t})))}return _createClass(e,[{key:"bootstrap",value:function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Qs?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(nt),o=n.create(da.NULL,[],t||n.selector,i);o.onDestroy((function(){r._unloadComponent(o)}));var a=o.injector.get(jl,null);return a&&o.injector.get(Ul).registerApplication(o.location.nativeElement,a),this._loadComponent(o),Sr()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),o}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=_createForOfIteratorHelper(this._views);try{for(n.s();!(t=n.n()).done;)t.value.detectChanges()}catch(o){n.e(o)}finally{n.f()}if(this._enforceNoNewChanges){var r,i=_createForOfIteratorHelper(this._views);try{for(i.s();!(r=i.n()).done;)r.value.checkNoChanges()}catch(o){i.e(o)}finally{i.f()}}}catch(a){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(a)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;eu(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(yl,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),eu(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(e){return e.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),e}()).\u0275fac=function(e){return new(e||Yl)($e(Nl),$e(_l),$e(da),$e(fr),$e($s),$e(fl))},Yl.\u0275prov=fe({token:Yl,factory:Yl.\u0275fac}),Yl);function eu(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var tu=function e(){_classCallCheck(this,e)},nu=function e(){_classCallCheck(this,e)},ru={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},iu=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._compiler=t,this._config=n||ru}return _createClass(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,r=_slicedToArray2(e.split("#"),2),i=r[0],o=r[1];return void 0===o&&(o="default"),n("zn8P")(i).then((function(e){return e[o]})).then((function(e){return ou(e,i,o)})).then((function(e){return t._compiler.compileModuleAsync(e)}))}},{key:"loadFactory",value:function(e){var t=_slicedToArray2(e.split("#"),2),r=t[0],i=t[1],o="NgFactory";return void 0===i&&(i="default",o=""),n("zn8P")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then((function(e){return e[i+o]})).then((function(e){return ou(e,r,i)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)($e(xl),$e(nu,8))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}();function ou(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var au=ql(null,"core",[{provide:ml,useValue:"unknown"},{provide:Zl,deps:[da]},{provide:Ul,deps:[]},{provide:_l,deps:[]}]),su=[{provide:Jl,useClass:Jl,deps:[Nl,_l,da,fr,$s,fl]},{provide:xc,deps:[Nl],useFactory:function(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}},{provide:fl,useClass:fl,deps:[[new ae,hl]]},{provide:xl,useClass:xl,deps:[]},pl,{provide:mc,useFactory:function(){return bc},deps:[]},{provide:yc,useFactory:function(){return Cc},deps:[]},{provide:bl,useFactory:function(e){return Hc(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new oe(bl),new ae,new ce]]},{provide:Cl,useValue:"USD"}],cu=function(){var e=function e(t){_classCallCheck(this,e)};return e.\u0275mod=bt({type:e}),e.\u0275inj=pe({factory:function(t){return new(t||e)($e(Jl))},providers:su}),e}(),lu={production:!0,url:"https://salesforcevirtualadventures.com/google/",bottlesThreshold:50,stockName:"Google_bottle",showVideoCtaBars:!1,showVideoCtaOverlays:!0,disableScrubbing:!1,videos:{Zulily_Viewfinder:"https://storage.googleapis.com/salesforce-stp-assets/G7%20EXPERT%20PRODUCT%20DEMO%20SESSION_SUBTITLES_V03.mp4",Zulily_Box:"https://storage.googleapis.com/salesforce-stp-assets/G6%20DATA%20SUPERHERO%20LEADERSHIP%20SESSION_SUBTITLES_V02.mp4",Yeti_Sign_L:"https://storage.googleapis.com/salesforce-stp-assets/G1%20INTEGRATION%20PRODUCT%20DEMO_SUBTITLES.mp4",Yeti_Sign_C:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/salesforce.mp4",Yeti_Sign_R:"https://storage.googleapis.com/salesforce-stp-assets/G2%20GOOGLE%20ASK%20THE%20EXPERT%20SESSION_SUBTITLES_V02.mp4",PWC_Sign_Top:"https://storage.googleapis.com/salesforce-stp-assets/G4%20GOOGLE%20PRODUCT%20DEMO%20FEATURING%20PwC_SUBTITLES_V03.mp4",PWC_Sign_Bottom:"https://storage.googleapis.com/salesforce-stp-assets/G5%20DIGITAL%20UPSKILLING%20SESSION%20FEATURING%20PwC_SUBTITLES_V02.mp4"},mobileVideoData:{"zulily-expert-product-demo-session":{src:"https://storage.googleapis.com/salesforce-stp-assets/G7%20EXPERT%20PRODUCT%20DEMO%20SESSION_SUBTITLES_V03.mp4",background:"/assets/images/mobile-bg-zulily.jpg",menuPage:"/tableau-big-query/videos"},"zulily-data-superhero-session":{src:"https://storage.googleapis.com/salesforce-stp-assets/G6%20DATA%20SUPERHERO%20LEADERSHIP%20SESSION_SUBTITLES_V02.mp4",background:"/assets/images/mobile-bg-zulily.jpg",menuPage:"/tableau-big-query/videos"},"yeti-ask-the-expert-session":{src:"https://storage.googleapis.com/salesforce-stp-assets/G1%20INTEGRATION%20PRODUCT%20DEMO_SUBTITLES.mp4",background:"/assets/images/mobile-bg-yeti.jpg",menuPage:"/marketing-cloud-analytics-360/videos"},"yeti-integration-product-demo":{src:"https://storage.googleapis.com/salesforce-stp-assets/G2%20GOOGLE%20ASK%20THE%20EXPERT%20SESSION_SUBTITLES_V02.mp4",background:"/assets/images/mobile-bg-yeti.jpg",menuPage:"/marketing-cloud-analytics-360/videos"},"pwc-salesforce-g-suite-product-demo":{src:"https://storage.googleapis.com/salesforce-stp-assets/G4%20GOOGLE%20PRODUCT%20DEMO%20FEATURING%20PwC_SUBTITLES_V03.mp4",background:"/assets/images/mobile-bg-pwc.jpg",menuPage:"/sales-cloud-g-suite/videos"},"pwc-digital-upskilling-session":{src:"https://storage.googleapis.com/salesforce-stp-assets/G5%20DIGITAL%20UPSKILLING%20SESSION%20FEATURING%20PwC_SUBTITLES_V02.mp4",background:"/assets/images/mobile-bg-pwc.jpg",menuPage:"/sales-cloud-g-suite/videos"}},debug:{showFormOnLoad:!1,showVideoOnLoad:!1,autofillForm:!1}},uu=null;function hu(){return uu}var fu,du=new je("DocumentToken"),pu=((fu=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||fu)},fu.\u0275prov=fe({factory:vu,token:fu,providedIn:"platform"}),fu);function vu(){return $e(yu)}var gu,mu=new je("Location Initialized"),yu=((gu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._doc=e,r._init(),r}return _createClass(n,[{key:"_init",value:function(){this.location=hu().getLocation(),this._history=hu().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return hu().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){hu().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}},{key:"onHashChange",value:function(e){hu().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}},{key:"pushState",value:function(e,t,n){_u()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){_u()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"getState",value:function(){return this._history.state}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}}]),n}(pu)).\u0275fac=function(e){return new(e||gu)($e(du))},gu.\u0275prov=fe({factory:bu,token:gu,providedIn:"platform"}),gu);function _u(){return!!window.history.pushState}function bu(){return new yu($e(du))}function Cu(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function ku(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function wu(e){return e&&"?"!==e[0]?"?"+e:e}var Su,Tu=((Su=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Su)},Su.\u0275prov=fe({factory:Pu,token:Su,providedIn:"root"}),Su);function Pu(e){var t=$e(du).location;return new Au($e(pu),t&&t.origin||"")}var Ou,Mu,xu,Eu=new je("appBaseHref"),Au=((xu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;if(_classCallCheck(this,n),(i=t.call(this))._platformLocation=e,null==r&&(r=i._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return i._baseHref=r,_possibleConstructorReturn(i)}return _createClass(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return Cu(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+wu(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+wu(r));this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+wu(r));this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(Tu)).\u0275fac=function(e){return new(e||xu)($e(pu),$e(Eu,8))},xu.\u0275prov=fe({token:xu,factory:xu.\u0275fac}),xu),Iu=((Mu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this))._platformLocation=e,i._baseHref="",null!=r&&(i._baseHref=r),i}return _createClass(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=Cu(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+wu(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+wu(r));0==i.length&&(i=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(Tu)).\u0275fac=function(e){return new(e||Mu)($e(pu),$e(Eu,8))},Mu.\u0275prov=fe({token:Mu,factory:Mu.\u0275fac}),Mu),Nu=((Ou=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._subject=new zc,this._urlChangeListeners=[],this._platformStrategy=t;var i=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=ku(Du(i)),this._platformStrategy.onPopState((function(e){r._subject.emit({url:r.path(!0),pop:!0,state:e.state,type:e.type})}))}return _createClass(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+wu(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Du(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+wu(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+wu(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe((function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach((function(n){return n(e,t)}))}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}()).\u0275fac=function(e){return new(e||Ou)($e(Tu),$e(pu))},Ou.normalizeQueryParams=wu,Ou.joinWithSlash=Cu,Ou.stripTrailingSlash=ku,Ou.\u0275prov=fe({factory:Ru,token:Ou,providedIn:"root"}),Ou);function Ru(){return new Nu($e(Tu),$e(pu))}function Du(e){return e.replace(/\/index.html$/,"")}var Gu,Hu=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),Lu=function e(){_classCallCheck(this,e)},Vu=((Gu=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).locale=e,r}return _createClass(n,[{key:"getPluralCategory",value:function(e,t){switch(function(e){return function(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=Dc(t);if(n)return n;var r=t.split("-")[0];if(n=Dc(r))return n;if("en"===r)return Nc;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}(e)[Gc.PluralCase]}(t||this.locale)(e)){case Hu.Zero:return"zero";case Hu.One:return"one";case Hu.Two:return"two";case Hu.Few:return"few";case Hu.Many:return"many";default:return"other"}}}]),n}(Lu)).\u0275fac=function(e){return new(e||Gu)($e(bl))},Gu.\u0275prov=fe({token:Gu,factory:Gu.\u0275fac}),Gu);function Fu(e,t){t=encodeURIComponent(t);var n,r=_createForOfIteratorHelper(e.split(";"));try{for(r.s();!(n=r.n()).done;){var i=n.value,o=i.indexOf("="),a=_slicedToArray2(-1==o?[i,""]:[i.slice(0,o),i.slice(o+1)],2),s=a[0],c=a[1];if(s.trim()===t)return decodeURIComponent(c)}}catch(l){r.e(l)}finally{r.f()}return null}var Bu,ju,Uu=function(){function e(t,n,r,i){_classCallCheck(this,e),this.$implicit=t,this.ngForOf=n,this.index=r,this.count=i}return _createClass(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),zu=((Bu=function(){function e(t,n,r){_classCallCheck(this,e),this._viewContainer=t,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _createClass(e,[{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation((function(e,r,i){if(null==e.previousIndex){var o=t._viewContainer.createEmbeddedView(t._template,new Uu(null,t._ngForOf,-1,-1),null===i?void 0:i),a=new Wu(e,o);n.push(a)}else if(null==i)t._viewContainer.remove(null===r?void 0:r);else if(null!==r){var s=t._viewContainer.get(r);t._viewContainer.move(s,i);var c=new Wu(e,s);n.push(c)}}));for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);for(var i=0,o=this._viewContainer.length;i<o;i++){var a=this._viewContainer.get(i);a.context.index=i,a.context.count=o,a.context.ngForOf=this._ngForOf}e.forEachIdentityChange((function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item}))}},{key:"_perViewChange",value:function(e,t){e.context.$implicit=t.item}},{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",set:function(e){Sr()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received ".concat(JSON.stringify(e),". See https://angular.io/api/common/NgForOf#change-propagation for more information.")),this._trackByFn=e},get:function(){return this._trackByFn}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}()).\u0275fac=function(e){return new(e||Bu)(Ea(Sc),Ea(kc),Ea(mc))},Bu.\u0275dir=kt({type:Bu,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),Bu),Wu=function e(t,n){_classCallCheck(this,e),this.record=t,this.view=n},Ku=((ju=function(){function e(t,n){_classCallCheck(this,e),this._viewContainer=t,this._context=new Xu,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return _createClass(e,[{key:"_updateView",value:function(){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)))}},{key:"ngIf",set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}},{key:"ngIfThen",set:function(e){qu("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(e){qu("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}()).\u0275fac=function(e){return new(e||ju)(Ea(Sc),Ea(kc))},ju.\u0275dir=kt({type:ju,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),ju),Xu=function e(){_classCallCheck(this,e),this.$implicit=null,this.ngIf=null};function qu(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat(we(t),"'."))}var Qu,Zu,$u,Yu,Ju=((Qu=function(){function e(t){_classCallCheck(this,e),this._viewContainerRef=t,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}return _createClass(e,[{key:"ngOnChanges",value:function(e){if(this._shouldRecreateView(e)){var t=this._viewContainerRef;this._viewRef&&t.remove(t.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?t.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&this.ngTemplateOutletContext&&this._updateExistingContext(this.ngTemplateOutletContext)}},{key:"_shouldRecreateView",value:function(e){var t=e.ngTemplateOutletContext;return!!e.ngTemplateOutlet||t&&this._hasContextShapeChanged(t)}},{key:"_hasContextShapeChanged",value:function(e){var t=Object.keys(e.previousValue||{}),n=Object.keys(e.currentValue||{});if(t.length===n.length){var r,i=_createForOfIteratorHelper(n);try{for(i.s();!(r=i.n()).done;){var o=r.value;if(-1===t.indexOf(o))return!0}}catch(a){i.e(a)}finally{i.f()}return!1}return!0}},{key:"_updateExistingContext",value:function(e){for(var t=0,n=Object.keys(e);t<n.length;t++){var r=n[t];this._viewRef.context[r]=this.ngTemplateOutletContext[r]}}}]),e}()).\u0275fac=function(e){return new(e||Qu)(Ea(Sc))},Qu.\u0275dir=kt({type:Qu,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[Ls]}),Qu),eh=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"createSubscription",value:function(e,t){return e.subscribe({next:t,error:function(e){throw e}})}},{key:"dispose",value:function(e){e.unsubscribe()}},{key:"onDestroy",value:function(e){e.unsubscribe()}}]),e}(),th=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"createSubscription",value:function(e,t){return e.then(t,(function(e){throw e}))}},{key:"dispose",value:function(e){}},{key:"onDestroy",value:function(e){}}]),e}()),nh=new eh,rh=((Yu=function(){function e(t){_classCallCheck(this,e),this._ref=t,this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null,this._strategy=null}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._subscription&&this._dispose()}},{key:"transform",value:function(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):Ca(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,ka.wrap(this._latestValue)):(e&&this._subscribe(e),this._latestReturnedValue=this._latestValue,this._latestValue)}},{key:"_subscribe",value:function(e){var t=this;this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,(function(n){return t._updateLatestValue(e,n)}))}},{key:"_selectStrategy",value:function(t){if(Ba(t))return th;if(ja(t))return nh;throw Error("InvalidPipeArgument: '".concat(t,"' for pipe '").concat(we(e),"'"))}},{key:"_dispose",value:function(){this._strategy.dispose(this._subscription),this._latestValue=null,this._latestReturnedValue=null,this._subscription=null,this._obj=null}},{key:"_updateLatestValue",value:function(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}}]),e}()).\u0275fac=function(e){return new(e||Yu)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:le.Default,t=Zo(!0);if(null!=t||e&le.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}())},Yu.\u0275pipe={type:($u={name:"async",type:Yu,pure:!1}).type,name:$u.name,factory:null,pure:!1!==$u.pure,onDestroy:$u.type.prototype.ngOnDestroy||null},Yu),ih=((Zu=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:Zu}),Zu.\u0275inj=pe({factory:function(e){return new(e||Zu)},providers:[{provide:Lu,useClass:Vu}]}),Zu);function oh(e){return"browser"===e}var ah,sh,ch,lh,uh,hh=((ah=function e(){_classCallCheck(this,e)}).\u0275prov=fe({token:ah,providedIn:"root",factory:function(){return new fh($e(du),window,$e(fr))}}),ah),fh=function(){function e(t,n,r){_classCallCheck(this,e),this.document=t,this.window=n,this.errorHandler=r,this.offset=function(){return[0,0]}}return _createClass(e,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);var n=this.document.querySelector("[name='".concat(e,"']"));if(n)return void this.scrollToElement(n)}catch(r){this.errorHandler.handleError(r)}}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,i=this.offset();this.window.scrollTo(n-i[0],r-i[1])}},{key:"supportScrollRestoration",value:function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}]),e}(),dh=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getProperty",value:function(e,t){return e[t]}},{key:"log",value:function(e){window.console&&window.console.log&&window.console.log(e)}},{key:"logGroup",value:function(e){window.console&&window.console.group&&window.console.group(e)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){return e.parentNode&&e.parentNode.removeChild(e),e}},{key:"getValue",value:function(e){return e.value}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(e){var t,n=ph||(ph=document.querySelector("base"))?ph.getAttribute("href"):null;return null==n?null:(t=n,sh||(sh=document.createElement("a")),sh.setAttribute("href",t),"/"===sh.pathname.charAt(0)?sh.pathname:"/"+sh.pathname)}},{key:"resetBaseElement",value:function(){ph=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(e){return Fu(document.cookie,e)}}],[{key:"makeCurrent",value:function(){var e;e=new n,uu||(uu=e)}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.call(this)}return _createClass(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(function(){return function e(){_classCallCheck(this,e)}}())),ph=null,vh=new je("TRANSITION_ID"),gh=[{provide:hl,useFactory:function(e,t,n){return function(){n.get(fl).donePromise.then((function(){var n=hu();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter((function(t){return t.getAttribute("ng-transition")===e})).forEach((function(e){return n.remove(e)}))}))}},deps:[vh,du,da],multi:!0}],mh=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){Re.getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},Re.getAllAngularTestabilities=function(){return e.getAllTestabilities()},Re.getAllAngularRootElements=function(){return e.getAllRootElements()},Re.frameworkStabilizers||(Re.frameworkStabilizers=[]),Re.frameworkStabilizers.push((function(e){var t=Re.getAllAngularTestabilities(),n=t.length,r=!1,i=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(i)}))}))}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?hu().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){var t;t=new e,zl=t}}]),e}(),yh=new je("EventManagerPlugins"),_h=((ch=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach((function(e){return e.manager=r})),this._plugins=t.slice().reverse()}return _createClass(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var i=n[r];if(i.supports(e))return this._eventNameToPlugin.set(e,i),i}throw new Error("No event manager plugin found for event "+e)}}]),e}()).\u0275fac=function(e){return new(e||ch)($e(yh),$e(Nl))},ch.\u0275prov=fe({token:ch,factory:ch.\u0275fac}),ch),bh=function(){function e(t){_classCallCheck(this,e),this._doc=t}return _createClass(e,[{key:"addGlobalEventListener",value:function(e,t,n){var r=hu().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target ".concat(r," for event ").concat(t));return this.addEventListener(r,t,n)}}]),e}(),Ch=((uh=function(){function e(){_classCallCheck(this,e),this._stylesSet=new Set}return _createClass(e,[{key:"addStyles",value:function(e){var t=this,n=new Set;e.forEach((function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))})),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(e){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),e}()).\u0275fac=function(e){return new(e||uh)},uh.\u0275prov=fe({token:uh,factory:uh.\u0275fac}),uh),kh=((lh=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._doc=e,r._hostNodes=new Set,r._styleNodes=new Set,r._hostNodes.add(e.head),r}return _createClass(n,[{key:"_addStylesToHost",value:function(e,t){var n=this;e.forEach((function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))}))}},{key:"addHost",value:function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}},{key:"removeHost",value:function(e){this._hostNodes.delete(e)}},{key:"onStylesAdded",value:function(e){var t=this;this._hostNodes.forEach((function(n){return t._addStylesToHost(e,n)}))}},{key:"ngOnDestroy",value:function(){this._styleNodes.forEach((function(e){return hu().remove(e)}))}}]),n}(Ch)).\u0275fac=function(e){return new(e||lh)($e(du))},lh.\u0275prov=fe({token:lh,factory:lh.\u0275fac}),lh),wh={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/"},Sh=/%COMP%/g;function Th(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?Th(e,i,n):(i=i.replace(Sh,e),n.push(i))}return n}function Ph(e){return function(t){if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var Oh,Mh,xh,Eh,Ah,Ih,Nh=((Oh=function(){function e(t,n,r){_classCallCheck(this,e),this.eventManager=t,this.sharedStylesHost=n,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new Rh(t)}return _createClass(e,[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case ft.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Dh(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case ft.Native:case ft.ShadowDom:return new Gh(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=Th(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||Oh)($e(_h),$e(kh),$e(dl))},Oh.\u0275prov=fe({token:Oh,factory:Oh.\u0275fac}),Oh),Rh=function(){function e(t){_classCallCheck(this,e),this.eventManager=t,this.data=Object.create(null)}return _createClass(e,[{key:"destroy",value:function(){}},{key:"createElement",value:function(e,t){return t?document.createElementNS(wh[t]||t,e):document.createElement(e)}},{key:"createComment",value:function(e){return document.createComment(e)}},{key:"createText",value:function(e){return document.createTextNode(e)}},{key:"appendChild",value:function(e,t){e.appendChild(t)}},{key:"insertBefore",value:function(e,t,n){e&&e.insertBefore(t,n)}},{key:"removeChild",value:function(e,t){e&&e.removeChild(t)}},{key:"selectRootElement",value:function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'.concat(e,'" did not match any elements'));return t||(n.textContent=""),n}},{key:"parentNode",value:function(e){return e.parentNode}},{key:"nextSibling",value:function(e){return e.nextSibling}},{key:"setAttribute",value:function(e,t,n,r){if(r){t=r+":"+t;var i=wh[r];i?e.setAttributeNS(i,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}},{key:"removeAttribute",value:function(e,t,n){if(n){var r=wh[n];r?e.removeAttributeNS(r,t):e.removeAttribute("".concat(n,":").concat(t))}else e.removeAttribute(t)}},{key:"addClass",value:function(e,t){e.classList.add(t)}},{key:"removeClass",value:function(e,t){e.classList.remove(t)}},{key:"setStyle",value:function(e,t,n,r){r&tc.DashCase?e.style.setProperty(t,n,r&tc.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&tc.DashCase?e.style.removeProperty(t):e.style[t]=""}},{key:"setProperty",value:function(e,t,n){e[t]=n}},{key:"setValue",value:function(e,t){e.nodeValue=t}},{key:"listen",value:function(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Ph(n)):this.eventManager.addEventListener(e,t,Ph(n))}}]),e}(),Dh=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;_classCallCheck(this,n),(a=t.call(this,e)).component=i;var s,c=Th(o+"-"+i.id,i.styles,[]);return r.addStyles(c),a.contentAttr="_ngcontent-%COMP%".replace(Sh,o+"-"+i.id),a.hostAttr=(s=o+"-"+i.id,"_nghost-%COMP%".replace(Sh,s)),a}return _createClass(n,[{key:"applyToHost",value:function(e){_get(_getPrototypeOf(n.prototype),"setAttribute",this).call(this,e,this.hostAttr,"")}},{key:"createElement",value:function(e,t){var r=_get(_getPrototypeOf(n.prototype),"createElement",this).call(this,e,t);return _get(_getPrototypeOf(n.prototype),"setAttribute",this).call(this,r,this.contentAttr,""),r}}]),n}(Rh),Gh=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;_classCallCheck(this,n),(a=t.call(this,e)).sharedStylesHost=r,a.hostEl=i,a.component=o,a.shadowRoot=o.encapsulation===ft.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),a.sharedStylesHost.addHost(a.shadowRoot);for(var s=Th(o.id,o.styles,[]),c=0;c<s.length;c++){var l=document.createElement("style");l.textContent=s[c],a.shadowRoot.appendChild(l)}return a}return _createClass(n,[{key:"nodeOrShadowRoot",value:function(e){return e===this.hostEl?this.shadowRoot:e}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(e,t){return _get(_getPrototypeOf(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"insertBefore",value:function(e,t,r){return _get(_getPrototypeOf(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(e),t,r)}},{key:"removeChild",value:function(e,t){return _get(_getPrototypeOf(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"parentNode",value:function(e){return this.nodeOrShadowRoot(_get(_getPrototypeOf(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(e)))}}]),n}(Rh),Hh=((Mh=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return _createClass(n,[{key:"supports",value:function(e){return!0}},{key:"addEventListener",value:function(e,t,n){var r=this;return e.addEventListener(t,n,!1),function(){return r.removeEventListener(e,t,n)}}},{key:"removeEventListener",value:function(e,t,n){return e.removeEventListener(t,n)}}]),n}(bh)).\u0275fac=function(e){return new(e||Mh)($e(du))},Mh.\u0275prov=fe({token:Mh,factory:Mh.\u0275fac}),Mh),Lh=["alt","control","meta","shift"],Vh={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},Fh={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},Bh={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},jh=((Ah=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return _createClass(n,[{key:"supports",value:function(e){return null!=n.parseEventName(e)}},{key:"addEventListener",value:function(e,t,r){var i=n.parseEventName(t),o=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return hu().onAndCancel(e,i.domEventName,o)}))}}],[{key:"parseEventName",value:function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var i=n._normalizeKey(t.pop()),o="";if(Lh.forEach((function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),o+=e+".")})),o+=i,0!=t.length||0===i.length)return null;var a={};return a.domEventName=r,a.fullKey=o,a}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&Fh.hasOwnProperty(t)&&(t=Fh[t]))}return Vh[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Lh.forEach((function(r){r!=n&&(0,Bh[r])(e)&&(t+=r+".")})),t+=n}},{key:"eventCallback",value:function(e,t,r){return function(i){n.getEventFullKey(i)===e&&r.runGuarded((function(){return t(i)}))}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(bh)).\u0275fac=function(e){return new(e||Ah)($e(du))},Ah.\u0275prov=fe({token:Ah,factory:Ah.\u0275fac}),Ah),Uh=((Eh=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Eh)},Eh.\u0275prov=fe({factory:function(){return $e(zh)},token:Eh,providedIn:"root"}),Eh),zh=((xh=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._doc=e,r}return _createClass(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case Xr.NONE:return t;case Xr.HTML:return br(t,"HTML")?_r(t):Wr(this._doc,String(t));case Xr.STYLE:return br(t,"Style")?_r(t):Zr(t);case Xr.SCRIPT:if(br(t,"Script"))return _r(t);throw new Error("unsafe value used in a script context");case Xr.URL:return Cr(t),br(t,"URL")?_r(t):Mr(String(t));case Xr.RESOURCE_URL:if(br(t,"ResourceURL"))return _r(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return new pr(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return new vr(e)}},{key:"bypassSecurityTrustScript",value:function(e){return new gr(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return new mr(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return new yr(e)}}]),n}(Uh)).\u0275fac=function(e){return new(e||xh)($e(du))},xh.\u0275prov=fe({factory:function(){return e=$e(Ue),new zh(e.get(du));var e},token:xh,providedIn:"root"}),xh),Wh=ql(au,"browser",[{provide:ml,useValue:"browser"},{provide:gl,useValue:function(){dh.makeCurrent(),mh.init()},multi:!0},{provide:du,useFactory:function(){return function(e){Nt=e}(document),document},deps:[]}]),Kh=[[],{provide:Jo,useValue:"root"},{provide:fr,useFactory:function(){return new fr},deps:[]},{provide:yh,useClass:Hh,multi:!0,deps:[du,Nl,ml]},{provide:yh,useClass:jh,multi:!0,deps:[du]},[],{provide:Nh,useClass:Nh,deps:[_h,kh,dl]},{provide:ec,useExisting:Nh},{provide:Ch,useExisting:kh},{provide:kh,useClass:kh,deps:[du]},{provide:jl,useClass:jl,deps:[Nl]},{provide:_h,useClass:_h,deps:[yh,Nl]},[]],Xh=((Ih=function(){function e(t){if(_classCallCheck(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return _createClass(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:dl,useValue:t.appId},{provide:vh,useExisting:dl},gh]}}}]),e}()).\u0275mod=bt({type:Ih}),Ih.\u0275inj=pe({factory:function(e){return new(e||Ih)($e(Ih,12))},providers:Kh,imports:[ih,cu]}),Ih);function qh(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[t.length-1];return E(r)?(t.pop(),j(t,r)):q(t)}"undefined"!=typeof window&&window;var Qh=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._value=e,r}return _createClass(n,[{key:"_subscribe",value:function(e){var t=_get(_getPrototypeOf(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new T;return this._value}},{key:"next",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,this._value=e)}},{key:"value",get:function(){return this.getValue()}}]),n}(M),Zh=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}(),$h={},Yh=function(){function e(t){_classCallCheck(this,e),this.resultSelector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Jh(e,this.resultSelector))}}]),e}(),Jh=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).resultSelector=r,i.active=0,i.values=[],i.observables=[],i}return _createClass(n,[{key:"_next",value:function(e){this.values.push($h),this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var r=e[n];this.add(H(this,r,r,n))}}}},{key:"notifyComplete",value:function(e){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(e,t,n,r,i){var o=this.values,a=this.toRespond?o[n]===$h?--this.toRespond:this.toRespond:0;o[n]=t,0===a&&(this.resultSelector?this._tryResultSelector(o):this.destination.next(o.slice()))}},{key:"_tryResultSelector",value:function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(L),ef=new k((function(e){return e.complete()}));function tf(e){return e?function(e){return new k((function(t){return e.schedule((function(){return t.complete()}))}))}(e):ef}function nf(e){return new k((function(t){var n;try{n=e()}catch(r){return void t.error(r)}return(n?U(n):tf()).subscribe(t)}))}function rf(){return X(1)}function of(e,t){return function(n){return n.lift(new af(e,t))}}var af=function(){function e(t,n){_classCallCheck(this,e),this.predicate=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new sf(e,this.predicate,this.thisArg))}}]),e}(),sf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e)).predicate=r,o.thisArg=i,o.count=0,o}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(v),cf=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}();function lf(e){return function(t){return 0===e?tf():t.lift(new uf(e))}}var uf=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new cf}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new hf(e,this.total))}}]),e}(),hf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).total=r,i.ring=new Array,i.count=0,i}return _createClass(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}},{key:"_complete",value:function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,i=0;i<n;i++){var o=t++%n;e.next(r[o])}e.complete()}}]),n}(v);function ff(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:vf;return function(t){return t.lift(new df(e))}}var df=function(){function e(t){_classCallCheck(this,e),this.errorFactory=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new pf(e,this.errorFactory))}}]),e}(),pf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).errorFactory=r,i.hasValue=!1,i}return _createClass(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(v);function vf(){return new Zh}function gf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new mf(e))}}var mf=function(){function e(t){_classCallCheck(this,e),this.defaultValue=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new yf(e,this.defaultValue))}}]),e}(),yf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).defaultValue=r,i.isEmpty=!0,i}return _createClass(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(v);function _f(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?of((function(t,n){return e(t,n,r)})):y,lf(1),n?gf(t):ff((function(){return new Zh})))}}function bf(e){return function(t){var n=new Cf(e),r=t.lift(n);return n.caught=r}}var Cf=function(){function e(t){_classCallCheck(this,e),this.selector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new kf(e,this.selector,this.caught))}}]),e}(),kf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e)).selector=r,o.caught=i,o}return _createClass(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(o){return void _get(_getPrototypeOf(n.prototype),"error",this).call(this,o)}this._unsubscribeAndRecycle();var r=new A(this,void 0,void 0);this.add(r);var i=H(this,t,void 0,void 0,r);i!==r&&this.add(i)}}}]),n}(L);function wf(e){return function(t){return 0===e?tf():t.lift(new Sf(e))}}var Sf=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new cf}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Tf(e,this.total))}}]),e}(),Tf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).total=r,i.count=0,i}return _createClass(n,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),n}(v);function Pf(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?of((function(t,n){return e(t,n,r)})):y,wf(1),n?gf(t):ff((function(){return new Zh})))}}var Of=function(){function e(t,n,r){_classCallCheck(this,e),this.predicate=t,this.thisArg=n,this.source=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Mf(e,this.predicate,this.thisArg,this.source))}}]),e}(),Mf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e)).predicate=r,a.thisArg=i,a.source=o,a.index=0,a.thisArg=i||_assertThisInitialized(a),a}return _createClass(n,[{key:"notifyComplete",value:function(e){this.destination.next(e),this.destination.complete()}},{key:"_next",value:function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),n}(v);function xf(e,t){return"function"==typeof t?function(n){return n.pipe(xf((function(n,r){return U(e(n,r)).pipe(V((function(e,i){return t(n,e,r,i)})))})))}:function(t){return t.lift(new Ef(e))}}var Ef=function(){function e(t){_classCallCheck(this,e),this.project=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Af(e,this.project))}}]),e}(),Af=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).project=r,i.index=0,i}return _createClass(n,[{key:"_next",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var i=new A(this,t,n),o=this.destination;o.add(i),this.innerSubscription=H(this,e,void 0,void 0,i),this.innerSubscription!==i&&o.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||_get(_getPrototypeOf(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=null}},{key:"notifyComplete",value:function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&_get(_getPrototypeOf(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(e,t,n,r,i){this.destination.next(t)}}]),n}(L);function If(){return rf()(qh.apply(void 0,arguments))}function Nf(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[t.length-1];return E(r)?(t.pop(),function(e){return If(t,e,r)}):function(e){return If(t,e)}}function Rf(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new Df(e,t,n))}}var Df=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,e),this.accumulator=t,this.seed=n,this.hasSeed=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Gf(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),Gf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e)).accumulator=r,a._seed=i,a.hasSeed=o,a.index=0,a}return _createClass(n,[{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)}},{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}}]),n}(v);function Hf(e,t){return z(e,t,1)}function Lf(){}function Vf(e,t,n){return function(r){return r.lift(new Bf(e,t,n))}}var Ff,Bf=function(){function e(t,n,r){_classCallCheck(this,e),this.nextOrObserver=t,this.error=n,this.complete=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new jf(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),jf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,o,a){var s;return _classCallCheck(this,n),(s=t.call(this,e))._tapNext=Lf,s._tapError=Lf,s._tapComplete=Lf,s._tapError=o||Lf,s._tapComplete=a||Lf,r(i)?(s._context=_assertThisInitialized(s),s._tapNext=i):i&&(s._context=i,s._tapNext=i.next||Lf,s._tapError=i.error||Lf,s._tapComplete=i.complete||Lf),s}return _createClass(n,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),n}(v),Uf=function(){function e(t){_classCallCheck(this,e),this.callback=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new zf(e,this.callback))}}]),e}(),zf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).add(new f(r)),i}return n}(v),Wf=function e(t,n){_classCallCheck(this,e),this.id=t,this.url=n},Kf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck(this,n),(i=t.call(this,e,r)).navigationTrigger=o,i.restoredState=a,i}return _createClass(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(Wf),Xf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e,r)).urlAfterRedirects=i,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(Wf),qf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e,r)).reason=i,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(Wf),Qf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e,r)).error=i,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(Wf),Zf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Wf),$f=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Wf),Yf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o,a){var s;return _classCallCheck(this,n),(s=t.call(this,e,r)).urlAfterRedirects=i,s.state=o,s.shouldActivate=a,s}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(Wf),Jf=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Wf),ed=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=i,a.state=o,a}return _createClass(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Wf),td=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),nd=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),rd=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),id=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),od=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),ad=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),sd=function(){function e(t,n,r){_classCallCheck(this,e),this.routerEvent=t,this.position=n,this.anchor=r}return _createClass(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),cd=((Ff=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Ff)},Ff.\u0275cmp=gt({type:Ff,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&Ha(0,"router-outlet")},directives:function(){return[mv]},encapsulation:2}),Ff),ld=function(){function e(t){_classCallCheck(this,e),this.params=t||{}}return _createClass(e,[{key:"has",value:function(e){return this.params.hasOwnProperty(e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function ud(e){return new ld(e)}function hd(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function fd(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;for(var i={},o=0;o<r.length;o++){var a=r[o],s=e[o];if(a.startsWith(":"))i[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:e.slice(0,r.length),posParams:i}}var dd=function e(t,n){_classCallCheck(this,e),this.routes=t,this.module=n};function pd(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<e.length;n++){var r=e[n];vd(r,gd(t,r))}}function vd(e,t){if(!e)throw new Error("\n Invalid configuration of route '".concat(t,"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n "));if(Array.isArray(e))throw new Error("Invalid configuration of route '".concat(t,"': Array cannot be specified"));if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&"primary"!==e.outlet)throw new Error("Invalid configuration of route '".concat(t,"': a componentless route without children or loadChildren cannot have a named outlet set"));if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and children cannot be used together"));if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and loadChildren cannot be used together"));if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"': children and loadChildren cannot be used together"));if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and component cannot be used together"));if(e.path&&e.matcher)throw new Error("Invalid configuration of route '".concat(t,"': path and matcher cannot be used together"));if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"'. One of the following must be provided: component, redirectTo, children or loadChildren"));if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '".concat(t,"': routes must have either a path or a matcher specified"));if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '".concat(t,"': path cannot start with a slash"));if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error("Invalid configuration of route '{path: \"".concat(t,'", redirectTo: "').concat(e.redirectTo,"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'."));if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '".concat(t,"': pathMatch can only be set to 'prefix' or 'full'"));e.children&&pd(e.children,t)}function gd(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:"".concat(e,"/").concat(t.path):"":e}function md(e){var t=e.children&&e.children.map(md),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=cd),n}function yd(e,t){var n,r=Object.keys(e),i=Object.keys(t);if(!r||!i||r.length!=i.length)return!1;for(var o=0;o<r.length;o++)if(!_d(e[n=r[o]],t[n]))return!1;return!0}function _d(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length==t.length&&e.every((function(e){return t.indexOf(e)>-1})):e===t}function bd(e){return Array.prototype.concat.apply([],e)}function Cd(e){return e.length>0?e[e.length-1]:null}function kd(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function wd(e){return ja(e)?e:Ba(e)?U(Promise.resolve(e)):qh(e)}function Sd(e,t,n){return n?function(e,t){return yd(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Md(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((function(n){return _d(e[n],t[n])}))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,i){if(n.segments.length>i.length)return!!Md(n.segments.slice(0,i.length),i)&&!r.hasChildren();if(n.segments.length===i.length){if(!Md(n.segments,i))return!1;for(var o in r.children){if(!n.children[o])return!1;if(!e(n.children[o],r.children[o]))return!1}return!0}var a=i.slice(0,n.segments.length),s=i.slice(n.segments.length);return!!Md(n.segments,a)&&!!n.children.primary&&t(n.children.primary,r,s)}(t,n,n.segments)}(e.root,t.root)}var Td=function(){function e(t,n,r){_classCallCheck(this,e),this.root=t,this.queryParams=n,this.fragment=r}return _createClass(e,[{key:"toString",value:function(){return Id.serialize(this)}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=ud(this.queryParams)),this._queryParamMap}}]),e}(),Pd=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.segments=t,this.children=n,this.parent=null,kd(n,(function(e,t){return e.parent=r}))}return _createClass(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"toString",value:function(){return Nd(this)}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}}]),e}(),Od=function(){function e(t,n){_classCallCheck(this,e),this.path=t,this.parameters=n}return _createClass(e,[{key:"toString",value:function(){return Vd(this)}},{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=ud(this.parameters)),this._parameterMap}}]),e}();function Md(e,t){return e.length===t.length&&e.every((function(e,n){return e.path===t[n].path}))}function xd(e,t){var n=[];return kd(e.children,(function(e,r){"primary"===r&&(n=n.concat(t(e,r)))})),kd(e.children,(function(e,r){"primary"!==r&&(n=n.concat(t(e,r)))})),n}var Ed=function e(){_classCallCheck(this,e)},Ad=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"parse",value:function(e){var t=new zd(e);return new Td(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){return"".concat("/"+function e(t,n){if(!t.hasChildren())return Nd(t);if(n){var r=t.children.primary?e(t.children.primary,!1):"",i=[];return kd(t.children,(function(t,n){"primary"!==n&&i.push("".concat(n,":").concat(e(t,!1)))})),i.length>0?"".concat(r,"(").concat(i.join("//"),")"):r}var o=xd(t,(function(n,r){return"primary"===r?[e(t.children.primary,!1)]:["".concat(r,":").concat(e(n,!1))]}));return"".concat(Nd(t),"/(").concat(o.join("//"),")")}(e.root,!0)).concat((t=e.queryParams,n=Object.keys(t).map((function(e){var n=t[e];return Array.isArray(n)?n.map((function(t){return"".concat(Dd(e),"=").concat(Dd(t))})).join("&"):"".concat(Dd(e),"=").concat(Dd(n))})),n.length?"?"+n.join("&"):"")).concat("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"");var t,n}}]),e}(),Id=new Ad;function Nd(e){return e.segments.map((function(e){return Vd(e)})).join("/")}function Rd(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Dd(e){return Rd(e).replace(/%3B/gi,";")}function Gd(e){return Rd(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Hd(e){return decodeURIComponent(e)}function Ld(e){return Hd(e.replace(/\+/g,"%20"))}function Vd(e){return"".concat(Gd(e.path)).concat((t=e.parameters,Object.keys(t).map((function(e){return";".concat(Gd(e),"=").concat(Gd(t[e]))})).join("")));var t}var Fd=/^[^\/()?;=#]+/;function Bd(e){var t=e.match(Fd);return t?t[0]:""}var jd=/^[^=?&#]+/,Ud=/^[^?&#]+/,zd=function(){function e(t){_classCallCheck(this,e),this.url=t,this.remaining=t}return _createClass(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Pd([],{}):new Pd([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Pd(e,t)),n}},{key:"parseSegment",value:function(){var e=Bd(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new Od(Hd(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=Bd(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=Bd(this.remaining);r&&(n=r,this.capture(n))}e[Hd(t)]=Hd(n)}}},{key:"parseQueryParam",value:function(e){var t,n,r=(t=this.remaining,(n=t.match(jd))?n[0]:"");if(r){this.capture(r);var i="";if(this.consumeOptional("=")){var o=function(e){var t=e.match(Ud);return t?t[0]:""}(this.remaining);o&&(i=o,this.capture(i))}var a=Ld(r),s=Ld(i);if(e.hasOwnProperty(a)){var c=e[a];Array.isArray(c)||(c=[c],e[a]=c),c.push(s)}else e[a]=s}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=Bd(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '".concat(this.url,"'"));var i=void 0;n.indexOf(":")>-1?(i=n.substr(0,n.indexOf(":")),this.capture(i),this.capture(":")):e&&(i="primary");var o=this.parseChildren();t[i]=1===Object.keys(o).length?o.primary:new Pd([],o),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),Wd=function(){function e(t){_classCallCheck(this,e),this._root=t}return _createClass(e,[{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=Kd(e,this._root);return t?t.children.map((function(e){return e.value})):[]}},{key:"firstChild",value:function(e){var t=Kd(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=Xd(e,this._root);return t.length<2?[]:t[t.length-2].children.map((function(e){return e.value})).filter((function(t){return t!==e}))}},{key:"pathFromRoot",value:function(e){return Xd(e,this._root).map((function(e){return e.value}))}},{key:"root",get:function(){return this._root.value}}]),e}();function Kd(e,t){if(e===t.value)return t;var n,r=_createForOfIteratorHelper(t.children);try{for(r.s();!(n=r.n()).done;){var i=Kd(e,n.value);if(i)return i}}catch(o){r.e(o)}finally{r.f()}return null}function Xd(e,t){if(e===t.value)return[t];var n,r=_createForOfIteratorHelper(t.children);try{for(r.s();!(n=r.n()).done;){var i=Xd(e,n.value);if(i.length)return i.unshift(t),i}}catch(o){r.e(o)}finally{r.f()}return[]}var qd=function(){function e(t,n){_classCallCheck(this,e),this.value=t,this.children=n}return _createClass(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function Qd(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}var Zd=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).snapshot=r,np(_assertThisInitialized(i),e),i}return _createClass(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(Wd);function $d(e,t){var n=function(e,t){var n=new ep([],{},{},"",{},"primary",t,null,e.root,-1,{});return new tp("",new qd(n,[]))}(e,t),r=new Qh([new Od("",{})]),i=new Qh({}),o=new Qh({}),a=new Qh({}),s=new Qh(""),c=new Yd(r,i,a,s,o,"primary",t,n.root);return c.snapshot=n.root,new Zd(new qd(c,[]),n)}var Yd=function(){function e(t,n,r,i,o,a,s,c){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this._futureSnapshot=c}return _createClass(e,[{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}},{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(V((function(e){return ud(e)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(V((function(e){return ud(e)})))),this._queryParamMap}}]),e}();function Jd(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,r=0;if("always"!==t)for(r=n.length-1;r>=1;){var i=n[r],o=n[r-1];if(i.routeConfig&&""===i.routeConfig.path)r--;else{if(o.component)break;r--}}return function(e){return e.reduce((function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(r))}var ep=function(){function e(t,n,r,i,o,a,s,c,l,u,h){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=r,this.fragment=i,this.data=o,this.outlet=a,this.component=s,this.routeConfig=c,this._urlSegment=l,this._lastPathIndex=u,this._resolve=h}return _createClass(e,[{key:"toString",value:function(){return"Route(url:'".concat(this.url.map((function(e){return e.toString()})).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=ud(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=ud(this.queryParams)),this._queryParamMap}}]),e}(),tp=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,r)).url=e,np(_assertThisInitialized(i),r),i}return _createClass(n,[{key:"toString",value:function(){return rp(this._root)}}]),n}(Wd);function np(e,t){t.value._routerState=e,t.children.forEach((function(t){return np(e,t)}))}function rp(e){var t=e.children.length>0?" { ".concat(e.children.map(rp).join(", ")," } "):"";return"".concat(e.value).concat(t)}function ip(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,yd(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),yd(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!yd(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),yd(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function op(e,t){var n,r;return yd(e.params,t.params)&&Md(n=e.url,r=t.url)&&n.every((function(e,t){return yd(e.parameters,r[t].parameters)}))&&!(!e.parent!=!t.parent)&&(!e.parent||op(e.parent,t.parent))}function ap(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function sp(e,t,n,r,i){var o={};return r&&kd(r,(function(e,t){o[t]=Array.isArray(e)?e.map((function(e){return""+e})):""+e})),new Td(n.root===e?t:function e(t,n,r){var i={};return kd(t.children,(function(t,o){i[o]=t===n?r:e(t,n,r)})),new Pd(t.segments,i)}(n.root,e,t),o,i)}var cp=function(){function e(t,n,r){if(_classCallCheck(this,e),this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&ap(r[0]))throw new Error("Root segment cannot have matrix parameters");var i=r.find((function(e){return"object"==typeof e&&null!=e&&e.outlets}));if(i&&i!==Cd(r))throw new Error("{outlets:{}} has to be the last command")}return _createClass(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),lp=function e(t,n,r){_classCallCheck(this,e),this.segmentGroup=t,this.processChildren=n,this.index=r};function up(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function hp(e,t,n){if(e||(e=new Pd([],{})),0===e.segments.length&&e.hasChildren())return fp(e,t,n);var r=function(e,t,n){for(var r=0,i=t,o={match:!1,pathIndex:0,commandIndex:0};i<e.segments.length;){if(r>=n.length)return o;var a=e.segments[i],s=up(n[r]),c=r<n.length-1?n[r+1]:null;if(i>0&&void 0===s)break;if(s&&c&&"object"==typeof c&&void 0===c.outlets){if(!gp(s,c,a))return o;r+=2}else{if(!gp(s,{},a))return o;r++}i++}return{match:!0,pathIndex:i,commandIndex:r}}(e,t,n),i=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){var o=new Pd(e.segments.slice(0,r.pathIndex),{});return o.children.primary=new Pd(e.segments.slice(r.pathIndex),e.children),fp(o,0,i)}return r.match&&0===i.length?new Pd(e.segments,{}):r.match&&!e.hasChildren()?dp(e,t,n):r.match?fp(e,0,i):dp(e,t,n)}function fp(e,t,n){if(0===n.length)return new Pd(e.segments,{});var r=function(e){return"object"!=typeof e[0]||void 0===e[0].outlets?{primary:e}:e[0].outlets}(n),i={};return kd(r,(function(n,r){null!==n&&(i[r]=hp(e.children[r],t,n))})),kd(e.children,(function(e,t){void 0===r[t]&&(i[t]=e)})),new Pd(e.segments,i)}function dp(e,t,n){for(var r=e.segments.slice(0,t),i=0;i<n.length;){if("object"==typeof n[i]&&void 0!==n[i].outlets){var o=pp(n[i].outlets);return new Pd(r,o)}if(0===i&&ap(n[0]))r.push(new Od(e.segments[t].path,n[0])),i++;else{var a=up(n[i]),s=i<n.length-1?n[i+1]:null;a&&s&&ap(s)?(r.push(new Od(a,vp(s))),i+=2):(r.push(new Od(a,{})),i++)}}return new Pd(r,{})}function pp(e){var t={};return kd(e,(function(e,n){null!==e&&(t[n]=dp(new Pd([],{}),0,e))})),t}function vp(e){var t={};return kd(e,(function(e,n){return t[n]=""+e})),t}function gp(e,t,n){return e==n.path&&yd(t,n.parameters)}var mp=function(){function e(t,n,r,i){_classCallCheck(this,e),this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=i}return _createClass(e,[{key:"activate",value:function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),ip(this.futureState.root),this.activateChildRoutes(t,n,e)}},{key:"deactivateChildRoutes",value:function(e,t,n){var r=this,i=Qd(t);e.children.forEach((function(e){var t=e.value.outlet;r.deactivateRoutes(e,i[t],n),delete i[t]})),kd(i,(function(e,t){r.deactivateRouteAndItsChildren(e,n)}))}},{key:"deactivateRoutes",value:function(e,t,n){var r=e.value,i=t?t.value:null;if(r===i)if(r.component){var o=n.getContext(r.outlet);o&&this.deactivateChildRoutes(e,t,o.children)}else this.deactivateChildRoutes(e,t,n);else i&&this.deactivateRouteAndItsChildren(t,n)}},{key:"deactivateRouteAndItsChildren",value:function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}},{key:"detachAndStoreRouteSubtree",value:function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),i=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:r,route:e,contexts:i})}}},{key:"deactivateRouteAndOutlet",value:function(e,t){var n=this,r=t.getContext(e.value.outlet);if(r){var i=Qd(e),o=e.value.component?r.children:t;kd(i,(function(e,t){return n.deactivateRouteAndItsChildren(e,o)})),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}}},{key:"activateChildRoutes",value:function(e,t,n){var r=this,i=Qd(t);e.children.forEach((function(e){r.activateRoutes(e,i[e.value.outlet],n),r.forwardEvent(new ad(e.value.snapshot))})),e.children.length&&this.forwardEvent(new id(e.value.snapshot))}},{key:"activateRoutes",value:function(e,t,n){var r=e.value,i=t?t.value:null;if(ip(r),r===i)if(r.component){var o=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,o.children)}else this.activateChildRoutes(e,t,n);else if(r.component){var a=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){var s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),yp(s.route)}else{var c=function(e){for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(r.snapshot),l=c?c.module.componentFactoryResolver:null;a.attachRef=null,a.route=r,a.resolver=l,a.outlet&&a.outlet.activateWith(r,l),this.activateChildRoutes(e,null,a.children)}}else this.activateChildRoutes(e,null,n)}}]),e}();function yp(e){ip(e.value),e.children.forEach(yp)}function _p(e){return"function"==typeof e}function bp(e){return e instanceof Td}var Cp=function e(t){_classCallCheck(this,e),this.segmentGroup=t||null},kp=function e(t){_classCallCheck(this,e),this.urlTree=t};function wp(e){return new k((function(t){return t.error(new Cp(e))}))}function Sp(e){return new k((function(t){return t.error(new kp(e))}))}function Tp(e){return new k((function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))}))}var Pp=function(){function e(t,n,r,i,o){_classCallCheck(this,e),this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=o,this.allowRedirects=!0,this.ngModule=t.get(nt)}return _createClass(e,[{key:"apply",value:function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(V((function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)}))).pipe(bf((function(t){if(t instanceof kp)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof Cp)throw e.noMatchError(t);throw t})))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(V((function(n){return t.createUrlTree(n,e.queryParams,e.fragment)}))).pipe(bf((function(e){if(e instanceof Cp)throw t.noMatchError(e);throw e})))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,n){var r=e.segments.length>0?new Pd([],{primary:e}):e;return new Td(r,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(V((function(e){return new Pd([],e)}))):this.expandSegment(e,n,t,n.segments,r,!0)}},{key:"expandChildren",value:function(e,t,n){var r=this;return function(n,i){if(0===Object.keys(n).length)return qh({});var o=[],a=[],s={};return kd(n,(function(n,i){var c,l,u=(c=i,l=n,r.expandSegmentGroup(e,t,l,c)).pipe(V((function(e){return s[i]=e})));"primary"===i?o.push(u):a.push(u)})),qh.apply(null,o.concat(a)).pipe(rf(),_f(),V((function(){return s})))}(n.children)}},{key:"expandSegment",value:function(e,t,n,r,i,o){var a=this;return qh.apply(void 0,_toConsumableArray(n)).pipe(V((function(s){return a.expandSegmentAgainstRoute(e,t,n,s,r,i,o).pipe(bf((function(e){if(e instanceof Cp)return qh(null);throw e})))})),rf(),Pf((function(e){return!!e})),bf((function(e,n){if(e instanceof Zh||"EmptyError"===e.name){if(a.noLeftoversInUrl(t,r,i))return qh(new Pd([],{}));throw new Cp(t)}throw e})))}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,r,i,o,a){return Ep(r)!==o?wp(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o):wp(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,r,i,o){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,o):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,r){var i=this,o=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Sp(o):this.lineralizeSegments(n,o).pipe(z((function(n){var o=new Pd(n,{});return i.expandSegment(e,o,t,n,r,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,r,i,o){var a=this,s=Op(t,r,i),c=s.matched,l=s.consumedSegments,u=s.lastChild,h=s.positionalParamSegments;if(!c)return wp(t);var f=this.applyRedirectCommands(l,r.redirectTo,h);return r.redirectTo.startsWith("/")?Sp(f):this.lineralizeSegments(r,f).pipe(z((function(r){return a.expandSegment(e,t,n,r.concat(i.slice(u)),o,!1)})))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,r){var i=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(V((function(e){return n._loadedConfig=e,new Pd(r,{})}))):qh(new Pd(r,{}));var o=Op(t,n,r),a=o.matched,s=o.consumedSegments,c=o.lastChild;if(!a)return wp(t);var l=r.slice(c);return this.getChildConfig(e,n,r).pipe(z((function(e){var n=e.module,r=e.routes,o=function(e,t,n,r){return n.length>0&&function(e,t,n){return n.some((function(n){return xp(e,t,n)&&"primary"!==Ep(n)}))}(e,n,r)?{segmentGroup:Mp(new Pd(t,function(e,t){var n={};n.primary=t;var r,i=_createForOfIteratorHelper(e);try{for(i.s();!(r=i.n()).done;){var o=r.value;""===o.path&&"primary"!==Ep(o)&&(n[Ep(o)]=new Pd([],{}))}}catch(a){i.e(a)}finally{i.f()}return n}(r,new Pd(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some((function(n){return xp(e,t,n)}))}(e,n,r)?{segmentGroup:Mp(new Pd(e.segments,function(e,t,n,r){var i,o={},a=_createForOfIteratorHelper(n);try{for(a.s();!(i=a.n()).done;){var s=i.value;xp(e,t,s)&&!r[Ep(s)]&&(o[Ep(s)]=new Pd([],{}))}}catch(c){a.e(c)}finally{a.f()}return Object.assign(Object.assign({},r),o)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,s,l,r),a=o.segmentGroup,c=o.slicedSegments;return 0===c.length&&a.hasChildren()?i.expandChildren(n,r,a).pipe(V((function(e){return new Pd(s,e)}))):0===r.length&&0===c.length?qh(new Pd(s,{})):i.expandSegment(n,a,r,c,"primary",!0).pipe(V((function(e){return new Pd(s.concat(e.segments),e.children)})))})))}},{key:"getChildConfig",value:function(e,t,n){var r=this;return t.children?qh(new dd(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?qh(t._loadedConfig):function(e,t,n){var r,i=t.canLoad;return i&&0!==i.length?U(i).pipe(V((function(r){var i,o=e.get(r);if(function(e){return e&&_p(e.canLoad)}(o))i=o.canLoad(t,n);else{if(!_p(o))throw new Error("Invalid CanLoad guard");i=o(t,n)}return wd(i)}))).pipe(rf(),(r=function(e){return!0===e},function(e){return e.lift(new Of(r,void 0,e))})):qh(!0)}(e.injector,t,n).pipe(z((function(n){return n?r.configLoader.load(e.injector,t).pipe(V((function(e){return t._loadedConfig=e,e}))):function(e){return new k((function(t){return t.error(hd("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))}))}(t)}))):qh(new dd([],e))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return qh(n);if(r.numberOfChildren>1||!r.children.primary)return Tp(e.redirectTo);r=r.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,r){var i=this.createSegmentGroup(e,t.root,n,r);return new Td(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return kd(e,(function(e,r){if("string"==typeof e&&e.startsWith(":")){var i=e.substring(1);n[r]=t[i]}else n[r]=e})),n}},{key:"createSegmentGroup",value:function(e,t,n,r){var i=this,o=this.createSegments(e,t.segments,n,r),a={};return kd(t.children,(function(t,o){a[o]=i.createSegmentGroup(e,t,n,r)})),new Pd(o,a)}},{key:"createSegments",value:function(e,t,n,r){var i=this;return t.map((function(t){return t.path.startsWith(":")?i.findPosParam(e,t,r):i.findOrReturn(t,n)}))}},{key:"findPosParam",value:function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return r}},{key:"findOrReturn",value:function(e,t){var n,r=0,i=_createForOfIteratorHelper(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(o.path===e.path)return t.splice(r),o;r++}}catch(a){i.e(a)}finally{i.f()}return e}}]),e}();function Op(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||fd)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Mp(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new Pd(e.segments.concat(t.segments),t.children)}return e}function xp(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Ep(e){return e.outlet||"primary"}var Ap=function e(t){_classCallCheck(this,e),this.path=t,this.route=this.path[this.path.length-1]},Ip=function e(t,n){_classCallCheck(this,e),this.component=t,this.route=n};function Np(e,t,n){var r=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Rp(e,t,n){var r=Qd(e),i=e.value;kd(r,(function(e,r){Rp(e,i.component?t?t.children.getContext(r):null:t,n)})),n.canDeactivateChecks.push(new Ip(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}var Dp=Symbol("INITIAL_VALUE");function Gp(){return xf((function(e){return(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=null,i=null;return E(t[t.length-1])&&(i=t.pop()),"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&c(t[0])&&(t=t[0]),q(t,i).lift(new Yh(r))}).apply(void 0,_toConsumableArray(e.map((function(e){return e.pipe(wf(1),Nf(Dp))})))).pipe(Rf((function(e,t){var n=!1;return t.reduce((function(e,r,i){if(e!==Dp)return e;if(r===Dp&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||bp(r))return r}return e}),e)}),Dp),of((function(e){return e!==Dp})),V((function(e){return bp(e)?e:!0===e})),wf(1))}))}function Hp(e,t){return null!==e&&t&&t(new od(e)),qh(!0)}function Lp(e,t){return null!==e&&t&&t(new rd(e)),qh(!0)}function Vp(e,t,n){var r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?qh(r.map((function(r){return nf((function(){var i,o=Np(r,t,n);if(function(e){return e&&_p(e.canActivate)}(o))i=wd(o.canActivate(t,e));else{if(!_p(o))throw new Error("Invalid CanActivate guard");i=wd(o(t,e))}return i.pipe(Pf())}))}))).pipe(Gp()):qh(!0)}function Fp(e,t,n){var r=t[t.length-1],i=t.slice(0,t.length-1).reverse().map((function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)})).filter((function(e){return null!==e})).map((function(t){return nf((function(){return qh(t.guards.map((function(i){var o,a=Np(i,t.node,n);if(function(e){return e&&_p(e.canActivateChild)}(a))o=wd(a.canActivateChild(r,e));else{if(!_p(a))throw new Error("Invalid CanActivateChild guard");o=wd(a(r,e))}return o.pipe(Pf())}))).pipe(Gp())}))}));return qh(i).pipe(Gp())}var Bp=function e(){_classCallCheck(this,e)},jp=function(){function e(t,n,r,i,o,a){_classCallCheck(this,e),this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=i,this.paramsInheritanceStrategy=o,this.relativeLinkResolution=a}return _createClass(e,[{key:"recognize",value:function(){try{var e=Wp(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new ep([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new qd(n,t),i=new tp(this.url,r);return this.inheritParamsAndData(i._root),qh(i)}catch(o){return new k((function(e){return e.error(o)}))}}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,r=Jd(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach((function(e){return t.inheritParamsAndData(e)}))}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){var n,r=this,i=xd(t,(function(t,n){return r.processSegmentGroup(e,t,n)}));return n={},i.forEach((function(e){var t=n[e.value.outlet];if(t){var r=t.url.map((function(e){return e.toString()})).join("/"),i=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '".concat(r,"' and '").concat(i,"'."))}n[e.value.outlet]=e.value})),i.sort((function(e,t){return"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)})),i}},{key:"processSegment",value:function(e,t,n,r){var i,o=_createForOfIteratorHelper(e);try{for(o.s();!(i=o.n()).done;){var a=i.value;try{return this.processSegmentAgainstRoute(a,t,n,r)}catch(s){if(!(s instanceof Bp))throw s}}}catch(c){o.e(c)}finally{o.f()}if(this.noLeftoversInUrl(t,n,r))return[];throw new Bp}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"processSegmentAgainstRoute",value:function(e,t,n,r){if(e.redirectTo)throw new Bp;if((e.outlet||"primary")!==r)throw new Bp;var i,o=[],a=[];if("**"===e.path){var s=n.length>0?Cd(n).parameters:{};i=new ep(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,qp(e),r,e.component,e,Up(t),zp(t)+n.length,Qp(e))}else{var c=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new Bp;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||fd)(n,e,t);if(!r)throw new Bp;var i={};kd(r.posParams,(function(e,t){i[t]=e.path}));var o=r.consumed.length>0?Object.assign(Object.assign({},i),r.consumed[r.consumed.length-1].parameters):i;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:o}}(t,e,n);o=c.consumedSegments,a=n.slice(c.lastChild),i=new ep(o,c.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,qp(e),r,e.component,e,Up(t),zp(t)+o.length,Qp(e))}var l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),u=Wp(t,o,a,l,this.relativeLinkResolution),h=u.segmentGroup,f=u.slicedSegments;if(0===f.length&&h.hasChildren()){var d=this.processChildren(l,h);return[new qd(i,d)]}if(0===l.length&&0===f.length)return[new qd(i,[])];var p=this.processSegment(l,h,f,"primary");return[new qd(i,p)]}}]),e}();function Up(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function zp(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function Wp(e,t,n,r,i){if(n.length>0&&function(e,t,n){return n.some((function(n){return Kp(e,t,n)&&"primary"!==Xp(n)}))}(e,n,r)){var o=new Pd(t,function(e,t,n,r){var i={};i.primary=r,r._sourceSegment=e,r._segmentIndexShift=t.length;var o,a=_createForOfIteratorHelper(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;if(""===s.path&&"primary"!==Xp(s)){var c=new Pd([],{});c._sourceSegment=e,c._segmentIndexShift=t.length,i[Xp(s)]=c}}}catch(l){a.e(l)}finally{a.f()}return i}(e,t,r,new Pd(n,e.children)));return o._sourceSegment=e,o._segmentIndexShift=t.length,{segmentGroup:o,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return Kp(e,t,n)}))}(e,n,r)){var a=new Pd(e.segments,function(e,t,n,r,i,o){var a,s={},c=_createForOfIteratorHelper(r);try{for(c.s();!(a=c.n()).done;){var l=a.value;if(Kp(e,n,l)&&!i[Xp(l)]){var u=new Pd([],{});u._sourceSegment=e,u._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[Xp(l)]=u}}}catch(h){c.e(h)}finally{c.f()}return Object.assign(Object.assign({},i),s)}(e,t,n,r,e.children,i));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:n}}var s=new Pd(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Kp(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Xp(e){return e.outlet||"primary"}function qp(e){return e.data||{}}function Qp(e){return e.resolve||{}}function Zp(e,t,n,r){var i=Np(e,t,r);return wd(i.resolve?i.resolve(t,n):i(t,n))}function $p(e){return function(t){return t.pipe(xf((function(t){var n=e(t);return n?U(n).pipe(V((function(){return t}))):U([t])})))}}var Yp=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}(),Jp=new je("ROUTES"),ev=function(){function e(t,n,r,i){_classCallCheck(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=i}return _createClass(e,[{key:"load",value:function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(V((function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var i=r.create(e);return new dd(bd(i.injector.get(Jp)).map(md),i)})))}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?U(this.loader.load(e)):wd(e()).pipe(z((function(e){return e instanceof rt?qh(e):U(t.compiler.compileModuleAsync(e))})))}}]),e}(),tv=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function nv(e){throw e}function rv(e,t,n){return t.parse("/")}function iv(e,t){return qh(null)}var ov,av,sv,cv=((sv=function(){function e(t,n,r,i,o,a,s,c){var l=this;_classCallCheck(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=r,this.location=i,this.config=c,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new M,this.errorHandler=nv,this.malformedUriErrorHandler=rv,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:iv,afterPreactivation:iv},this.urlHandlingStrategy=new tv,this.routeReuseStrategy=new Yp,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(nt),this.console=o.get(_l);var u=o.get(Nl);this.isNgZoneEnabled=u instanceof Nl,this.resetConfig(c),this.currentUrlTree=new Td(new Pd([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new ev(a,s,(function(e){return l.triggerEvent(new td(e))}),(function(e){return l.triggerEvent(new nd(e))})),this.routerState=$d(this.currentUrlTree,this.rootComponentType),this.transitions=new Qh({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return _createClass(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe(of((function(e){return 0!==e.id})),V((function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})})),xf((function(e){var r,i,o,a,s=!1,c=!1;return qh(e).pipe(Vf((function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}})),xf((function(e){var r,i,o,a,s=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||s)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return qh(e).pipe(xf((function(e){var r=t.transitions.getValue();return n.next(new Kf(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==t.transitions.getValue()?ef:[e]})),xf((function(e){return Promise.resolve(e)})),(r=t.ngModule.injector,i=t.configLoader,o=t.urlSerializer,a=t.config,function(e){return e.pipe(xf((function(e){return function(e,t,n,r,i){return new Pp(e,t,n,r,i).apply()}(r,i,o,e.extractedUrl,a).pipe(V((function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})})))})))}),Vf((function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})})),function(e,n,r,i,o){return function(r){return r.pipe(z((function(r){return function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new jp(e,t,n,r,i,o).recognize()}(e,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,t.serializeUrl(a)),i,o).pipe(V((function(e){return Object.assign(Object.assign({},r),{targetSnapshot:e})})));var a})))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),Vf((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),Vf((function(e){var r=new Zf(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(r)})));if(s&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var c=e.id,l=e.extractedUrl,u=e.source,h=e.restoredState,f=e.extras,d=new Kf(c,t.serializeUrl(l),u,h);n.next(d);var p=$d(l,t.rootComponentType).snapshot;return qh(Object.assign(Object.assign({},e),{targetSnapshot:p,urlAfterRedirects:l,extras:Object.assign(Object.assign({},f),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),ef})),$p((function(e){var n=e.targetSnapshot,r=e.id,i=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,c=a.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!c})})),Vf((function(e){var n=new $f(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),V((function(e){return Object.assign(Object.assign({},e),{guards:(n=e.targetSnapshot,r=e.currentSnapshot,i=t.rootContexts,o=n._root,function e(t,n,r,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=Qd(n);return t.children.forEach((function(t){!function(t,n,r,i){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=t.value,s=n?n.value:null,c=r?r.getContext(t.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){var l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Md(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Md(e.url,t.url)||!yd(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!op(e,t)||!yd(e.queryParams,t.queryParams);case"paramsChange":default:return!op(e,t)}}(s,a,a.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new Ap(i)):(a.data=s.data,a._resolvedData=s._resolvedData),e(t,n,a.component?c?c.children:null:r,i,o),l&&o.canDeactivateChecks.push(new Ip(c&&c.outlet&&c.outlet.component||null,s))}else s&&Rp(n,c,o),o.canActivateChecks.push(new Ap(i)),e(t,null,a.component?c?c.children:null:r,i,o)}(t,a[t.value.outlet],r,i.concat([t.value]),o),delete a[t.value.outlet]})),kd(a,(function(e,t){return Rp(e,r.getContext(t),o)})),o}(o,r?r._root:null,i,[o.value]))});var n,r,i,o})),function(e,t){return function(n){return n.pipe(z((function(n){var r=n.targetSnapshot,i=n.currentSnapshot,o=n.guards,a=o.canActivateChecks,s=o.canDeactivateChecks;return 0===s.length&&0===a.length?qh(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,r){return U(e).pipe(z((function(e){return function(e,t,n,r,i){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?qh(o.map((function(o){var a,s=Np(o,t,i);if(function(e){return e&&_p(e.canDeactivate)}(s))a=wd(s.canDeactivate(e,t,n,r));else{if(!_p(s))throw new Error("Invalid CanDeactivate guard");a=wd(s(e,t,n,r))}return a.pipe(Pf())}))).pipe(Gp()):qh(!0)}(e.component,e.route,n,t,r)})),Pf((function(e){return!0!==e}),!0))}(s,r,i,e).pipe(z((function(n){return n&&"boolean"==typeof n?function(e,t,n,r){return U(t).pipe(Hf((function(t){return U([Lp(t.route.parent,r),Hp(t.route,r),Fp(e,t.path,n),Vp(e,t.route,n)]).pipe(rf(),Pf((function(e){return!0!==e}),!0))})),Pf((function(e){return!0!==e}),!0))}(r,a,e,t):qh(n)})),V((function(e){return Object.assign(Object.assign({},n),{guardsResult:e})})))})))}}(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),Vf((function(e){if(bp(e.guardsResult)){var n=hd('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}})),Vf((function(e){var n=new Yf(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)})),of((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var r=new qf(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(r),e.resolve(!1),!1}return!0})),$p((function(e){if(e.guards.canActivateChecks.length)return qh(e).pipe(Vf((function(e){var n=new Jf(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),(n=t.paramsInheritanceStrategy,r=t.ngModule.injector,function(e){return e.pipe(z((function(e){var t=e.targetSnapshot,i=e.guards.canActivateChecks;return i.length?U(i).pipe(Hf((function(e){return function(e,t,n,r){return function(e,t,n,r){var i=Object.keys(e);if(0===i.length)return qh({});if(1===i.length){var o=i[0];return Zp(e[o],t,n,r).pipe(V((function(e){return _defineProperty2({},o,e)})))}var a={};return U(i).pipe(z((function(i){return Zp(e[i],t,n,r).pipe(V((function(e){return a[i]=e,e})))}))).pipe(_f(),V((function(){return a})))}(e._resolve,e,t,r).pipe(V((function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),Jd(e,n).resolve),null})))}(e.route,t,n,r)})),function(e,t){return arguments.length>=2?function(n){return _(Rf(e,t),lf(1),gf(t))(n)}:function(t){return _(Rf((function(t,n,r){return e(t,n,r+1)})),lf(1))(t)}}((function(e,t){return e})),V((function(t){return e}))):qh(e)})))}),Vf((function(e){var n=new ed(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})));var n,r})),$p((function(e){var n=e.targetSnapshot,r=e.id,i=e.extractedUrl,o=e.rawUrl,a=e.extras,s=a.skipLocationChange,c=a.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:r,appliedUrlTree:i,rawUrlTree:o,skipLocationChange:!!s,replaceUrl:!!c})})),V((function(e){var n=function(e,t,n){var r=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){var i=r.value;i._futureSnapshot=n.value;var o=function(t,n,r){return n.children.map((function(n){var i,o=_createForOfIteratorHelper(r.children);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(t.shouldReuseRoute(a.value.snapshot,n.value))return e(t,n,a)}}catch(s){o.e(s)}finally{o.f()}return e(t,n)}))}(t,n,r);return new qd(i,o)}var a=t.retrieve(n.value);if(a){var s=a.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,s),s}var c,l=new Yd(new Qh((c=n.value).url),new Qh(c.params),new Qh(c.queryParams),new Qh(c.fragment),new Qh(c.data),c.outlet,c.component,c),u=n.children.map((function(n){return e(t,n)}));return new qd(l,u)}(e,t._root,n?n._root:void 0);return new Zd(r,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:n})})),Vf((function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),(i=t.rootContexts,o=t.routeReuseStrategy,a=function(e){return t.triggerEvent(e)},V((function(e){return new mp(o,e.targetRouterState,e.currentRouterState,a).activate(i),e}))),Vf({next:function(){s=!0},complete:function(){s=!0}}),(r=function(){if(!s&&!c){t.resetUrlToCurrentUrlTree();var r=new qf(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId));n.next(r),e.resolve(!1)}t.currentNavigation=null},function(e){return e.lift(new Uf(r))}),bf((function(r){if(c=!0,(s=r)&&s.ngNavigationCancelingError){var i=bp(r.url);i||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var o=new qf(e.id,t.serializeUrl(e.extractedUrl),r.message);n.next(o),i?setTimeout((function(){var n=t.urlHandlingStrategy.merge(r.url,t.rawUrlTree);return t.scheduleNavigation(n,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})}),0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var a=new Qf(e.id,t.serializeUrl(e.extractedUrl),r);n.next(a);try{e.resolve(t.errorHandler(r))}catch(l){e.reject(l)}}var s;return ef})))})))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe((function(t){var n=e.parseUrl(t.url),r="popstate"===t.type?"popstate":"hashchange",i=t.state&&t.state.navigationId?t.state:null;setTimeout((function(){e.scheduleNavigation(n,r,i,{replaceUrl:!0})}),0)})))}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){pd(e),this.config=e.map(md),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,r=t.queryParams,i=t.fragment,o=t.preserveQueryParams,a=t.queryParamsHandling,s=t.preserveFragment;Sr()&&o&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var c=n||this.routerState.root,l=s?this.currentUrlTree.fragment:i,u=null;if(a)switch(a){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=r||null}else u=o?this.currentUrlTree.queryParams:r||null;return null!==u&&(u=this.removeEmptyProps(u)),function(e,t,n,r,i){if(0===n.length)return sp(t.root,t.root,t,r,i);var o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new cp(!0,0,e);var t=0,n=!1,r=e.reduce((function(e,r,i){if("object"==typeof r&&null!=r){if(r.outlets){var o={};return kd(r.outlets,(function(e,t){o[t]="string"==typeof e?e.split("/"):e})),[].concat(_toConsumableArray(e),[{outlets:o}])}if(r.segmentPath)return[].concat(_toConsumableArray(e),[r.segmentPath])}return"string"!=typeof r?[].concat(_toConsumableArray(e),[r]):0===i?(r.split("/").forEach((function(r,i){0==i&&"."===r||(0==i&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))})),e):[].concat(_toConsumableArray(e),[r])}),[]);return new cp(n,t,r)}(n);if(o.toRoot())return sp(t.root,new Pd([],{}),t,r,i);var a=function(e,t,n){if(e.isAbsolute)return new lp(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new lp(n.snapshot._urlSegment,!0,0);var r=ap(e.commands[0])?0:1;return function(e,t,n){for(var r=e,i=t,o=n;o>i;){if(o-=i,!(r=r.parent))throw new Error("Invalid number of '../'");i=r.segments.length}return new lp(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),s=a.processChildren?fp(a.segmentGroup,a.index,o.commands):hp(a.segmentGroup,a.index,o.commands);return sp(a.segmentGroup,s,t,r,i)}(c,this.currentUrlTree,e,u,l)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};Sr()&&this.isNgZoneEnabled&&!Nl.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=bp(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains ".concat(n," segment at index ").concat(t))}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}},{key:"serializeUrl",value:function(e){return this.urlSerializer.serialize(e)}},{key:"parseUrl",value:function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}},{key:"isActive",value:function(e,t){if(bp(e))return Sd(this.currentUrlTree,e,t);var n=this.parseUrl(e);return Sd(this.currentUrlTree,n,t)}},{key:"removeEmptyProps",value:function(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return null!=r&&(t[n]=r),t}),{})}},{key:"processNavigations",value:function(){var e=this;this.navigations.subscribe((function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new Xf(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(e.currentUrlTree))),e.lastSuccessfulNavigation=e.currentNavigation,e.currentNavigation=null,t.resolve(!0)}),(function(t){e.console.warn("Unhandled Navigation Error: ")}))}},{key:"scheduleNavigation",value:function(e,t,n,r,i){var o,a,s,c=this.getTransition();if(c&&"imperative"!==t&&"imperative"===c.source&&c.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(c&&"hashchange"==t&&"popstate"===c.source&&c.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(c&&"popstate"==t&&"hashchange"===c.source&&c.rawUrl.toString()===e.toString())return Promise.resolve(!0);i?(o=i.resolve,a=i.reject,s=i.promise):s=new Promise((function(e,t){o=e,a=t}));var l=++this.navigationId;return this.setTransition({id:l,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:o,reject:a,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch((function(e){return Promise.reject(e)}))}},{key:"setBrowserUrl",value:function(e,t,n,r){var i=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(i)||t?this.location.replaceState(i,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(i,"",Object.assign(Object.assign({},r),{navigationId:n}))}},{key:"resetStateAndUrl",value:function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}}]),e}()).\u0275fac=function(e){Ia()},sv.\u0275dir=kt({type:sv}),sv),lv=((av=function(){function e(t,n,r,i,o){_classCallCheck(this,e),this.router=t,this.route=n,this.commands=[],null==r&&i.setAttribute(o.nativeElement,"tabindex","0")}return _createClass(e,[{key:"onClick",value:function(){var e={skipLocationChange:hv(this.skipLocationChange),replaceUrl:hv(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}},{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"preserveQueryParams",set:function(e){Sr()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:hv(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:hv(this.preserveFragment)})}}]),e}()).\u0275fac=function(e){return new(e||av)(Ea(cv),Ea(Yd),Aa("tabindex"),Ea(nc),Ea(Ys))},av.\u0275dir=kt({type:av,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&Ua("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),av),uv=((ov=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this.router=t,this.route=n,this.locationStrategy=r,this.commands=[],this.subscription=t.events.subscribe((function(e){e instanceof Xf&&i.updateTargetUrlAndHref()}))}return _createClass(e,[{key:"ngOnChanges",value:function(e){this.updateTargetUrlAndHref()}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(e,t,n,r){if(0!==e||t||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var i={skipLocationChange:hv(this.skipLocationChange),replaceUrl:hv(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,i),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"preserveQueryParams",set:function(e){Sr()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:hv(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:hv(this.preserveFragment)})}}]),e}()).\u0275fac=function(e){return new(e||ov)(Ea(cv),Ea(Yd),Ea(Tu))},ov.\u0275dir=kt({type:ov,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&Ua("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)})),2&e&&(xs("href",t.href,Jr),Oa("target",t.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[Ls]}),ov);function hv(e){return""===e||!!e}var fv,dv,pv,vv=function e(){_classCallCheck(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new gv,this.attachRef=null},gv=function(){function e(){_classCallCheck(this,e),this.contexts=new Map}return _createClass(e,[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new vv,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),mv=((fv=function(){function e(t,n,r,i,o){_classCallCheck(this,e),this.parentContexts=t,this.location=n,this.resolver=r,this.changeDetector=o,this.activated=null,this._activatedRoute=null,this.activateEvents=new zc,this.deactivateEvents=new zc,this.name=i||"primary",t.onChildOutletCreated(this.name,this)}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e}},{key:"attach",value:function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}},{key:"deactivate",value:function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}},{key:"activateWith",value:function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,i=new yv(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,i),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}}]),e}()).\u0275fac=function(e){return new(e||fv)(Ea(gv),Ea(Sc),Ea($s),Aa("name"),Ea($o))},fv.\u0275dir=kt({type:fv,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),fv),yv=function(){function e(t,n,r){_classCallCheck(this,e),this.route=t,this.childContexts=n,this.parent=r}return _createClass(e,[{key:"get",value:function(e,t){return e===Yd?this.route:e===gv?this.childContexts:this.parent.get(e,t)}}]),e}(),_v=function e(){_classCallCheck(this,e)},bv=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return qh(null)}}]),e}(),Cv=((pv=function(){function e(t,n,r,i,o){_classCallCheck(this,e),this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=new ev(n,r,(function(e){return t.triggerEvent(new td(e))}),(function(e){return t.triggerEvent(new nd(e))}))}return _createClass(e,[{key:"setUpPreloading",value:function(){var e=this;this.subscription=this.router.events.pipe(of((function(e){return e instanceof Xf})),Hf((function(){return e.preload()}))).subscribe((function(){}))}},{key:"preload",value:function(){var e=this.injector.get(nt);return this.processRoutes(e,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"processRoutes",value:function(e,t){var n,r=[],i=_createForOfIteratorHelper(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;if(o.loadChildren&&!o.canLoad&&o._loadedConfig){var a=o._loadedConfig;r.push(this.processRoutes(a.module,a.routes))}else o.loadChildren&&!o.canLoad?r.push(this.preloadConfig(e,o)):o.children&&r.push(this.processRoutes(e,o.children))}}catch(s){i.e(s)}finally{i.f()}return U(r).pipe(X(),V((function(e){})))}},{key:"preloadConfig",value:function(e,t){var n=this;return this.preloadingStrategy.preload(t,(function(){return n.loader.load(e.injector,t).pipe(z((function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)})))}))}}]),e}()).\u0275fac=function(e){return new(e||pv)($e(cv),$e(tu),$e(xl),$e(da),$e(_v))},pv.\u0275prov=fe({token:pv,factory:pv.\u0275fac}),pv),kv=((dv=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this,e),this.router=t,this.viewportScroller=n,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}return _createClass(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof Kf?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Xf&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))}))}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof sd&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))}))}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new sd(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}()).\u0275fac=function(e){Ia()},dv.\u0275dir=kt({type:dv}),dv),wv=new je("ROUTER_CONFIGURATION"),Sv=new je("ROUTER_FORROOT_GUARD"),Tv=[Nu,{provide:Ed,useClass:Ad},{provide:cv,useFactory:function(e,t,n,r,i,o,a){var s=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},c=arguments.length>8?arguments[8]:void 0,l=arguments.length>9?arguments[9]:void 0,u=new cv(null,e,t,n,r,i,o,bd(a));if(c&&(u.urlHandlingStrategy=c),l&&(u.routeReuseStrategy=l),s.errorHandler&&(u.errorHandler=s.errorHandler),s.malformedUriErrorHandler&&(u.malformedUriErrorHandler=s.malformedUriErrorHandler),s.enableTracing){var h=hu();u.events.subscribe((function(e){h.logGroup("Router Event: "+e.constructor.name),h.log(e.toString()),h.log(e),h.logGroupEnd()}))}return s.onSameUrlNavigation&&(u.onSameUrlNavigation=s.onSameUrlNavigation),s.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=s.paramsInheritanceStrategy),s.urlUpdateStrategy&&(u.urlUpdateStrategy=s.urlUpdateStrategy),s.relativeLinkResolution&&(u.relativeLinkResolution=s.relativeLinkResolution),u},deps:[Ed,gv,Nu,da,tu,xl,Jp,wv,[function(){return function e(){_classCallCheck(this,e)}}(),new ae],[function(){return function e(){_classCallCheck(this,e)}}(),new ae]]},gv,{provide:Yd,useFactory:function(e){return e.routerState.root},deps:[cv]},{provide:tu,useClass:iu},Cv,bv,function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return t().pipe(bf((function(){return qh(null)})))}}]),e}(),{provide:wv,useValue:{enableTracing:!1}}];function Pv(){return new Xl("Router",cv)}var Ov,Mv=((Ov=function(){function e(t,n){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[Tv,Iv(t),{provide:Sv,useFactory:Av,deps:[[cv,new ae,new ce]]},{provide:wv,useValue:n||{}},{provide:Tu,useFactory:Ev,deps:[pu,[new oe(Eu),new ae],wv]},{provide:kv,useFactory:xv,deps:[cv,hh,wv]},{provide:_v,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:bv},{provide:Xl,multi:!0,useFactory:Pv},[Rv,{provide:hl,multi:!0,useFactory:Dv,deps:[Rv]},{provide:Uv,useFactory:Gv,deps:[Rv]},{provide:yl,multi:!0,useExisting:Uv}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[Iv(t)]}}}]),e}()).\u0275mod=bt({type:Ov}),Ov.\u0275inj=pe({factory:function(e){return new(e||Ov)($e(Sv,8),$e(cv,8))}}),Ov);function xv(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new kv(e,t,n)}function Ev(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new Iu(e,t):new Au(e,t)}function Av(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Iv(e){return[{provide:pa,multi:!0,useValue:e},{provide:Jp,multi:!0,useValue:e}]}var Nv,Rv=((Nv=function(){function e(t){_classCallCheck(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new M}return _createClass(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(mu,Promise.resolve(null)).then((function(){var t=null,n=new Promise((function(e){return t=e})),r=e.injector.get(cv),i=e.injector.get(wv);if(e.isLegacyDisabled(i)||e.isLegacyEnabled(i))t(!0);else if("disabled"===i.initialNavigation)r.setUpLocationChangeListener(),t(!0);else{if("enabled"!==i.initialNavigation)throw new Error("Invalid initialNavigation options: '".concat(i.initialNavigation,"'"));r.hooks.afterPreactivation=function(){return e.initNavigation?qh(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},r.initialNavigation()}return n}))}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(wv),n=this.injector.get(Cv),r=this.injector.get(kv),i=this.injector.get(cv),o=this.injector.get(Jl);e===o.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(o.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"isLegacyEnabled",value:function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}},{key:"isLegacyDisabled",value:function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}]),e}()).\u0275fac=function(e){return new(e||Nv)($e(da))},Nv.\u0275prov=fe({token:Nv,factory:Nv.\u0275fac}),Nv);function Dv(e){return e.appInitializer.bind(e)}function Gv(e){return e.bootstrapListener.bind(e)}var Hv,Lv,Vv,Fv,Bv,jv,Uv=new je("Router Initializer"),zv=((Lv=function(){function e(){_classCallCheck(this,e),this.toggleStatus=!1,this._toggleStatus=new Qh(!1),this.$toggleStatus=this._toggleStatus.asObservable()}return _createClass(e,[{key:"getStatus",value:function(){return this.toggleStatus}},{key:"toggle",value:function(){this.toggleStatus=!this.toggleStatus,this._toggleStatus.next(this.toggleStatus)}}]),e}()).\u0275fac=function(e){return new(e||Lv)},Lv.\u0275prov=fe({token:Lv,factory:Lv.\u0275fac,providedIn:"root"}),Lv),Wv=((Hv=function(){function e(t){_classCallCheck(this,e),this.sidenavService=t}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"toggle",value:function(){this.sidenavService._toggleStatus.next(!0)}}]),e}()).\u0275fac=function(e){return new(e||Hv)(Ea(zv))},Hv.\u0275cmp=gt({type:Hv,selectors:[["app-mobile-header"]],decls:9,vars:0,consts:[[1,"container-fluid"],[1,"row"],[1,"col-lg-12","nav"],[1,"nav-items"],["routerLink","/",1,"logo"],["src","assets/images/google-sf-lockup-color@2x.png","alt","Salesforce + Google"],[1,"menu",3,"click"],["src","assets/images/menu-1@2x.png","alt","Menu"]],template:function(e,t){1&e&&(Da(0,"div",0),Da(1,"div",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Ha(5,"img",5),Ps(6," Virtual Adventure "),Ga(),Da(7,"div",6),Ua("click",(function(){return t.toggle()})),Ha(8,"img",7),Ga(),Ga(),Ga(),Ga(),Ga())},directives:[lv],styles:["[_nghost-%COMP%]{background:#fff;position:absolute;top:0;z-index:95;padding:8px 0;box-shadow:0 1.5px 3px rgba(0,0,0,.36)}.nav-items[_ngcontent-%COMP%], [_nghost-%COMP%]{width:100%;display:flex;align-items:center}.nav-items[_ngcontent-%COMP%]{justify-content:space-between}.nav-items[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{font-size:11px;color:#032e61}.nav-items[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:42px;margin-right:10px}.nav-items[_ngcontent-%COMP%] .menu[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:25px}"]}),Hv),Kv=["*"],Xv=((jv=function(){function e(t){_classCallCheck(this,e),this.sidenavService=t,this.centerContent=!1,this.style=null,this.emitter=new zc}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"backgroundImageSrc",get:function(){return this.backgroundImage?"url(".concat(this.backgroundImage,")"):"none"}}]),e}()).\u0275fac=function(e){return new(e||jv)(Ea(zv))},jv.\u0275cmp=gt({type:jv,selectors:[["app-mobile-page"]],inputs:{backgroundImage:"backgroundImage",centerContent:"centerContent",style:"style"},outputs:{emitter:"emitter"},ngContentSelectors:Kv,decls:6,vars:10,consts:[[1,"mobile-wrapper"],[1,"overlay"],[1,"mobile-content"]],template:function(e,t){1&e&&(Za(),Da(0,"div",0),Ha(1,"app-mobile-header"),Da(2,"div",1),jc(3,"async"),Ga(),Da(4,"div",2),$a(5),Ga(),Ga()),2&e&&(us("background-image",t.backgroundImageSrc,ti),wi(2),hs("overlay--visible",Uc(3,8,t.sidenavService.$toggleStatus)),wi(2),gs(Cs,fs,t.style,!1),hs("mobile-content--center-content",t.centerContent))},directives:[Wv],pipes:[rh],styles:["html{min-height:100%} body, html{height:100%;background:#032e61 url(mobile-bg.3f153a5e58f995144426.jpg) no-repeat 50%;background-size:cover}.mobile-wrapper[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column;background:transparent none no-repeat 50%;background-size:cover}.mobile-content[_ngcontent-%COMP%]{padding:130px 0 86px;height:100%;display:flex;flex-direction:column;position:relative;overflow:auto;flex:0 1 auto}.mobile-content--center-content[_ngcontent-%COMP%]{justify-content:center}.overlay[_ngcontent-%COMP%]{position:absolute;top:0;bottom:0;display:block;width:100%;height:100%;z-index:90;background:transparent;visibility:hidden;pointer-events:none;transition:background .25s ease-out,visibility .25s ease-out}.overlay--visible[_ngcontent-%COMP%]{background:rgba(0,0,0,.6);visibility:visible;pointer-events:all}"]}),jv),qv=((Bv=function(){function e(t){_classCallCheck(this,e),this.router=t}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"gotoMainMenu",value:function(){this.router.navigateByUrl("/menu")}}]),e}()).\u0275fac=function(e){return new(e||Bv)(Ea(cv))},Bv.\u0275cmp=gt({type:Bv,selectors:[["app-home-page"]],decls:14,vars:1,consts:[[3,"centerContent"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card__before"],["src","assets/images/guy.png","alt","Salesforce"],[1,"card","card--wood"],["src","assets/images/salesforce-google.svg","alt","Salesforce + Google",1,"img-fluid","logo"],[1,"btn","btn-primary",3,"click"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),Da(1,"div",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Ha(5,"img",5),Ga(),Da(6,"div",6),Ha(7,"img",7),Da(8,"h1"),Ps(9,"Virtual Adventure"),Ga(),Da(10,"p"),Ps(11," Welcome Trailblazers, we\u2019re glad you\u2019re here. Come learn new ways to innovate for your business, and get to know your customers even better. "),Ga(),Da(12,"button",8),Ua("click",(function(){return t.gotoMainMenu()})),Ps(13,"Start exploring"),Ga(),Ga(),Ga(),Ga(),Ga(),Ga()),2&e&&Na("centerContent",!0)},directives:[Xv],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{max-width:180px}.card__before[_ngcontent-%COMP%]{display:block}.card__before[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:240px;margin:0 auto;display:block}"]}),Bv),Qv=((Fv=function(){function e(){var t=this;_classCallCheck(this,e),this.shareVisible=new Qh(!1),this.videosWatched=[],this.openShare=function(){return t.shareVisible.next(!0)},this.allowTracking=JSON.parse(localStorage.getItem("allowTracking")),this.regionUS=JSON.parse(localStorage.getItem("regionUS"))}return _createClass(e,[{key:"watchedVideo",value:function(e){this.videosWatched.includes(e)||this.videosWatched.push(e)}},{key:"allowTracking",get:function(){return this.trackingValue},set:function(e){this.trackingValue=e,null!==e&&localStorage.setItem("allowTracking",e.toString())}},{key:"regionUS",get:function(){return this.regionUSValue},set:function(e){this.regionUSValue=e,null!==e&&localStorage.setItem("regionUS",e.toString())}}]),e}()).\u0275fac=function(e){return new(e||Fv)},Fv.\u0275prov=fe({token:Fv,factory:Fv.\u0275fac,providedIn:"root"}),Fv),Zv=((Vv=function(){function e(t,n){_classCallCheck(this,e),this.router=t,this.mobileService=n}return _createClass(e,[{key:"canActivate",value:function(e,t){return null===this.mobileService.allowTracking&&null===this.mobileService.regionUS&&this.router.navigateByUrl("/compliance"),!0}}]),e}()).\u0275fac=function(e){return new(e||Vv)($e(cv),$e(Qv))},Vv.\u0275prov=fe({token:Vv,factory:Vv.\u0275fac,providedIn:"root"}),Vv);function $v(e,t){return new k((function(n){var r=e.length;if(0!==r)for(var i=new Array(r),o=0,a=0,s=function(s){var c=U(e[s]),l=!1;n.add(c.subscribe({next:function(e){l||(l=!0,a++),i[s]=e},error:function(e){return n.error(e)},complete:function(){++o!==r&&l||(a===r&&n.next(t?t.reduce((function(e,t,n){return e[t]=i[n],e}),{}):i),n.complete())}}))},c=0;c<r;c++)s(c);else n.complete()}))}var Yv,Jv,eg,tg,ng=new je("NgValueAccessor"),rg={provide:ng,useExisting:Pe((function(){return ig})),multi:!0},ig=((Yv=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}()).\u0275fac=function(e){return new(e||Yv)(Ea(nc),Ea(Ys))},Yv.\u0275dir=kt({type:Yv,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&Ua("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[qs([rg])]}),Yv),og={provide:ng,useExisting:Pe((function(){return sg})),multi:!0},ag=new je("CompositionEventMode"),sg=((tg=function(){function e(t,n,r){var i;_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._compositionMode=r,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(i=hu()?hu().getUserAgent():"",!/android (\d+)/.test(i.toLowerCase())))}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_handleInput",value:function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}]),e}()).\u0275fac=function(e){return new(e||tg)(Ea(nc),Ea(Ys),Ea(ag,8))},tg.\u0275dir=kt({type:tg,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&Ua("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[qs([og])]}),tg),cg=((eg=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"reset",value:function(e){this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}},{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}}]),e}()).\u0275fac=function(e){return new(e||eg)},eg.\u0275dir=kt({type:eg}),eg),lg=((Jv=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(cg)).\u0275fac=function(e){return ug(e||Jv)},Jv.\u0275dir=kt({type:Jv,features:[Is]}),Jv),ug=cr(lg);function hg(){throw new Error("unimplemented")}var fg,dg,pg=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return _createClass(n,[{key:"validator",get:function(){return hg()}},{key:"asyncValidator",get:function(){return hg()}}]),n}(cg),vg=function(){function e(t){_classCallCheck(this,e),this._cd=t}return _createClass(e,[{key:"ngClassUntouched",get:function(){return!!this._cd.control&&this._cd.control.untouched}},{key:"ngClassTouched",get:function(){return!!this._cd.control&&this._cd.control.touched}},{key:"ngClassPristine",get:function(){return!!this._cd.control&&this._cd.control.pristine}},{key:"ngClassDirty",get:function(){return!!this._cd.control&&this._cd.control.dirty}},{key:"ngClassValid",get:function(){return!!this._cd.control&&this._cd.control.valid}},{key:"ngClassInvalid",get:function(){return!!this._cd.control&&this._cd.control.invalid}},{key:"ngClassPending",get:function(){return!!this._cd.control&&this._cd.control.pending}}]),e}(),gg=((dg=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return n}(vg)).\u0275fac=function(e){return new(e||dg)(Ea(pg,2))},dg.\u0275dir=kt({type:dg,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&hs("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[Is]}),dg),mg=((fg=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return n}(vg)).\u0275fac=function(e){return new(e||fg)(Ea(lg,2))},fg.\u0275dir=kt({type:fg,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&hs("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[Is]}),fg);function yg(e){return null==e||0===e.length}var _g=new je("NgValidators"),bg=new je("NgAsyncValidators"),Cg=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,kg=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"min",value:function(e){return function(t){if(yg(t.value)||yg(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}},{key:"max",value:function(e){return function(t){if(yg(t.value)||yg(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}},{key:"required",value:function(e){return yg(e.value)?{required:!0}:null}},{key:"requiredTrue",value:function(e){return!0===e.value?null:{required:!0}}},{key:"email",value:function(e){return yg(e.value)||Cg.test(e.value)?null:{email:!0}}},{key:"minLength",value:function(e){return function(t){if(yg(t.value))return null;var n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}},{key:"maxLength",value:function(e){return function(t){var n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}},{key:"pattern",value:function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(yg(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){if(!e)return null;var t=e.filter(wg);return 0==t.length?null:function(e){return Tg(function(e,t){return t.map((function(t){return t(e)}))}(e,t))}}},{key:"composeAsync",value:function(e){if(!e)return null;var t=e.filter(wg);return 0==t.length?null:function(e){return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){var r=t[0];if(c(r))return $v(r,null);if(l(r)&&Object.getPrototypeOf(r)===Object.prototype){var i=Object.keys(r);return $v(i.map((function(e){return r[e]})),i)}}if("function"==typeof t[t.length-1]){var o=t.pop();return $v(t=1===t.length&&c(t[0])?t[0]:t,null).pipe(V((function(e){return o.apply(void 0,_toConsumableArray(e))})))}return $v(t,null)}(function(e,t){return t.map((function(t){return t(e)}))}(e,t).map(Sg)).pipe(V(Tg))}}}]),e}();function wg(e){return null!=e}function Sg(e){var t=Ba(e)?U(e):e;if(!ja(t))throw new Error("Expected validator to return Promise or Observable.");return t}function Tg(e){var t={};return e.forEach((function(e){t=null!=e?Object.assign(Object.assign({},t),e):t})),0===Object.keys(t).length?null:t}function Pg(e){return e.validate?function(t){return e.validate(t)}:e}function Og(e){return e.validate?function(t){return e.validate(t)}:e}var Mg,xg,Eg,Ag,Ig,Ng,Rg={provide:ng,useExisting:Pe((function(){return Dg})),multi:!0},Dg=((Mg=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}()).\u0275fac=function(e){return new(e||Mg)(Ea(nc),Ea(Ys))},Mg.\u0275dir=kt({type:Mg,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&Ua("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[qs([Rg])]}),Mg),Gg={provide:ng,useExisting:Pe((function(){return Lg})),multi:!0},Hg=((Eg=function(){function e(){_classCallCheck(this,e),this._accessors=[]}return _createClass(e,[{key:"add",value:function(e,t){this._accessors.push([e,t])}},{key:"remove",value:function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}},{key:"select",value:function(e){var t=this;this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)}))}},{key:"_isSameGroup",value:function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}]),e}()).\u0275fac=function(e){return new(e||Eg)},Eg.\u0275prov=fe({token:Eg,factory:Eg.\u0275fac}),Eg),Lg=((xg=function(){function e(t,n,r,i){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._registry=r,this._injector=i,this.onChange=function(){},this.onTouched=function(){}}return _createClass(e,[{key:"ngOnInit",value:function(){this._control=this._injector.get(pg),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}}},{key:"fireUncheck",value:function(e){this.writeValue(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_checkName",value:function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}},{key:"_throwNameError",value:function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')}}]),e}()).\u0275fac=function(e){return new(e||xg)(Ea(nc),Ea(Ys),Ea(Hg),Ea(da))},xg.\u0275dir=kt({type:xg,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&Ua("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[qs([Gg])]}),xg),Vg={provide:ng,useExisting:Pe((function(){return Fg})),multi:!0},Fg=((Ag=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}()).\u0275fac=function(e){return new(e||Ag)(Ea(nc),Ea(Ys))},Ag.\u0275dir=kt({type:Ag,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&Ua("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[qs([Vg])]}),Ag),Bg='\n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });',jg='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',Ug=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"controlParentException",value:function(){throw new Error("formControlName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+Bg)}},{key:"ngModelGroupException",value:function(){throw new Error('formControlName cannot be used with an ngModelGroup parent. It is only compatible with parents\n that also have a "form" prefix: formGroupName, formArrayName, or formGroup.\n\n Option 1: Update the parent to be formGroupName (reactive form strategy)\n\n '.concat(jg,'\n\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\n\n \n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>'))}},{key:"missingFormException",value:function(){throw new Error("formGroup expects a FormGroup instance. Please pass one in.\n\n Example:\n\n "+Bg)}},{key:"groupParentException",value:function(){throw new Error("formGroupName must be used with a parent formGroup directive. You'll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n "+jg)}},{key:"arrayParentException",value:function(){throw new Error('formArrayName must be used with a parent formGroup directive. You\'ll want to add a formGroup\n directive and pass it an existing FormGroup instance (you can create one in your class).\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <div formArrayName="cities">\n <div *ngFor="let city of cityArray.controls; index as i">\n <input [formControlName]="i">\n </div>\n </div>\n </div>\n\n In your class:\n\n this.cityArray = new FormArray([new FormControl(\'SF\')]);\n this.myGroup = new FormGroup({\n cities: this.cityArray\n });')}},{key:"disabledAttrWarning",value:function(){console.warn("\n It looks like you're using the disabled attribute with a reactive form directive. If you set disabled to true\n when you set up this control in your component class, the disabled attribute will actually be set in the DOM for\n you. We recommend using this approach to avoid 'changed after checked' errors.\n \n Example: \n form = new FormGroup({\n first: new FormControl({value: 'Nancy', disabled: true}, Validators.required),\n last: new FormControl('Drew', Validators.required)\n });\n ")}},{key:"ngModelWarning",value:function(e){console.warn("\n It looks like you're using ngModel on the same form field as ".concat(e,". \n Support for using the ngModel input property and ngModelChange event with \n reactive form directives has been deprecated in Angular v6 and will be removed \n in Angular v7.\n \n For more information on this, see our API docs here:\n https://angular.io/api/forms/").concat("formControl"===e?"FormControlDirective":"FormControlName","#use-with-ngmodel\n "))}}]),e}(),zg={provide:ng,useExisting:Pe((function(){return Wg})),multi:!0},Wg=((Ig=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=Ca}return _createClass(e,[{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var r=n[t];if(this._compareWith(this._optionMap.get(r),e))return r}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}},{key:"compareWith",set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}}]),e}()).\u0275fac=function(e){return new(e||Ig)(Ea(nc),Ea(Ys))},Ig.\u0275dir=kt({type:Ig,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&Ua("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[qs([zg])]}),Ig),Kg={provide:ng,useExisting:Pe((function(){return Xg})),multi:!0},Xg=((Ng=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=Ca}return _createClass(e,[{key:"writeValue",value:function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map((function(e){return n._getOptionId(e)}));t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var i=n.selectedOptions,o=0;o<i.length;o++){var a=i.item(o),s=t._getOptionValue(a.value);r.push(s)}else for(var c=n.options,l=0;l<c.length;l++){var u=c.item(l);if(u.selected){var h=t._getOptionValue(u.value);r.push(h)}}t.value=r,e(r)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var r=n[t];if(this._compareWith(this._optionMap.get(r)._value,e))return r}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}},{key:"compareWith",set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}}]),e}()).\u0275fac=function(e){return new(e||Ng)(Ea(nc),Ea(Ys))},Ng.\u0275dir=kt({type:Ng,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&Ua("change",(function(e){return t.onChange(e.target)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[qs([Kg])]}),Ng);function qg(e,t){return[].concat(_toConsumableArray(t.path),[e])}function Qg(e,t){e||Jg(t,"Cannot find control with"),t.valueAccessor||Jg(t,"No value accessor for form control with"),e.validator=kg.compose([e.validator,t.validator]),e.asyncValidator=kg.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange((function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Zg(e,t)}))}(e,t),function(e,t){e.registerOnChange((function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)}))}(e,t),function(e,t){t.valueAccessor.registerOnTouched((function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Zg(e,t),"submit"!==e.updateOn&&e.markAsTouched()}))}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange((function(e){t.valueAccessor.setDisabledState(e)})),t._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))})),t._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))}))}function Zg(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function $g(e,t){null==e&&Jg(t,"Cannot find control with"),e.validator=kg.compose([e.validator,t.validator]),e.asyncValidator=kg.composeAsync([e.asyncValidator,t.asyncValidator])}function Yg(e){return Jg(e,"There is no FormControl instance attached to form control element with")}function Jg(e,t){var n;throw n=e.path.length>1?"path: '".concat(e.path.join(" -> "),"'"):e.path[0]?"name: '".concat(e.path,"'"):"unspecified name attribute",new Error("".concat(t," ").concat(n))}function em(e){return null!=e?kg.compose(e.map(Pg)):null}function tm(e){return null!=e?kg.composeAsync(e.map(Og)):null}var nm=[ig,Fg,Dg,Wg,Xg,Lg];function rm(e){var t=om(e)?e.validators:e;return Array.isArray(t)?em(t):t||null}function im(e,t){var n=om(t)?t.asyncValidators:e;return Array.isArray(n)?tm(n):n||null}function om(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var am,sm,cm,lm,um,hm=function(){function e(t,n){_classCallCheck(this,e),this.validator=t,this.asyncValidator=n,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return _createClass(e,[{key:"setValidators",value:function(e){this.validator=rm(e)}},{key:"setAsyncValidators",value:function(e){this.asyncValidator=im(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(e){return e.markAllAsTouched()}))}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(e){e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(e){e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!0)}))}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild((function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!1)}))}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild((function(t){return t._updateTreeValidity(e)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=Sg(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return t.setErrors(n,{emitEvent:e})}))}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var r=e;return t.forEach((function(e){r=r instanceof dm?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof pm&&r.at(e)||null})),r}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new zc,this.statusChanges=new zc}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls((function(t){return t.status===e}))}},{key:"_anyControlsDirty",value:function(){return this._anyControls((function(e){return e.dirty}))}},{key:"_anyControlsTouched",value:function(){return this._anyControls((function(e){return e.touched}))}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){om(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}}]),e}(),fm=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,i=arguments.length>1?arguments[1]:void 0,o=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,n),(e=t.call(this,rm(i),im(o,i)))._onChange=[],e._applyFormState(r),e._setUpdateStrategy(i),e.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),e._initObservables(),e}return _createClass(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach((function(e){return e(t.value,!1!==n.emitViewToModelChange)})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_clearChangeFns",value:function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),n}(hm),dm=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,rm(r),im(i,r))).controls=e,o._initObservables(),o._setUpdateStrategy(r),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return _createClass(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach((function(r){t._throwIfControlMissing(r),t.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(e).forEach((function(r){t.controls[r]&&t.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},(function(e,t,n){return e[n]=t instanceof fm?t.value:t.getRawValue(),e}))}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,(function(e,t){return!!t._syncPendingControls()||e}));return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach((function(n){return e(t.controls[n],n)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)}))}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){var t=this,n=!1;return this._forEachChild((function(r,i){n=n||t.contains(i)&&e(r)})),n}},{key:"_reduceValue",value:function(){var e=this;return this._reduceChildren({},(function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t}))}},{key:"_reduceChildren",value:function(e,t){var n=e;return this._forEachChild((function(e,r){n=t(n,e,r)})),n}},{key:"_allControlsDisabled",value:function(){for(var e=0,t=Object.keys(this.controls);e<t.length;e++){var n=t[e];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))}))}}]),n}(hm),pm=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,rm(r),im(i,r))).controls=e,o._initObservables(),o._setUpdateStrategy(r),o._setUpControls(),o.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),o}return _createClass(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}},{key:"removeAt",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach((function(e,r){t._throwIfControlMissing(r),t.at(r).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach((function(e,r){t.at(r)&&t.at(r).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map((function(e){return e instanceof fm?e.value:e.getRawValue()}))}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild((function(e){return e._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce((function(e,t){return!!t._syncPendingControls()||e}),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)}},{key:"_forEachChild",value:function(e){this.controls.forEach((function(t,n){e(t,n)}))}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter((function(t){return t.enabled||e.disabled})).map((function(e){return e.value}))}},{key:"_anyControls",value:function(e){return this.controls.some((function(t){return t.enabled&&e(t)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){return e._registerControl(t)}))}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))}))}},{key:"_allControlsDisabled",value:function(){var e,t=_createForOfIteratorHelper(this.controls);try{for(t.s();!(e=t.n()).done;){if(e.value.enabled)return!1}}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}},{key:"length",get:function(){return this.controls.length}}]),n}(hm),vm=((am=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"_checkParentType",value:function(){}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return qg(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return em(this._validators)}},{key:"asyncValidator",get:function(){return tm(this._asyncValidators)}}]),n}(lg)).\u0275fac=function(e){return gm(e||am)},am.\u0275dir=kt({type:am,features:[Is]}),am),gm=cr(vm),mm=((sm=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||sm)},sm.\u0275dir=kt({type:sm,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),sm),ym=new je("NgModelWithFormControlWarning"),_m={provide:lg,useExisting:Pe((function(){return bm}))},bm=((cm=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this))._validators=e,i._asyncValidators=r,i.submitted=!1,i.directives=[],i.form=null,i.ngSubmit=new zc,i}return _createClass(n,[{key:"ngOnChanges",value:function(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations())}},{key:"addControl",value:function(e){var t=this.form.get(e.path);return Qg(t,e),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t,n,r;t=this.directives,n=e,(r=t.indexOf(n))>-1&&t.splice(r,1)}},{key:"addFormGroup",value:function(e){var t=this.form.get(e.path);$g(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormGroup",value:function(e){}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"addFormArray",value:function(e){var t=this.form.get(e.path);$g(t,e),t.updateValueAndValidity({emitEvent:!1})}},{key:"removeFormArray",value:function(e){}},{key:"getFormArray",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){this.form.get(e.path).setValue(t)}},{key:"onSubmit",value:function(e){return this.submitted=!0,t=this.directives,this.form._syncPendingControls(),t.forEach((function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})),this.ngSubmit.emit(e),!1;var t}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_updateDomValue",value:function(){var e=this;this.directives.forEach((function(t){var n=e.form.get(t.path);t.control!==n&&(function(e,t){t.valueAccessor.registerOnChange((function(){return Yg(t)})),t.valueAccessor.registerOnTouched((function(){return Yg(t)})),t._rawValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),t._rawAsyncValidators.forEach((function(e){e.registerOnValidatorChange&&e.registerOnValidatorChange(null)})),e&&e._clearChangeFns()}(t.control,t),n&&Qg(n,t),t.control=n)})),this.form._updateTreeValidity({emitEvent:!1})}},{key:"_updateRegistrations",value:function(){var e=this;this.form._registerOnCollectionChange((function(){return e._updateDomValue()})),this._oldForm&&this._oldForm._registerOnCollectionChange((function(){})),this._oldForm=this.form}},{key:"_updateValidators",value:function(){var e=em(this._validators);this.form.validator=kg.compose([this.form.validator,e]);var t=tm(this._asyncValidators);this.form.asyncValidator=kg.composeAsync([this.form.asyncValidator,t])}},{key:"_checkFormPresent",value:function(){this.form||Ug.missingFormException()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}}]),n}(lg)).\u0275fac=function(e){return new(e||cm)(Ea(_g,10),Ea(bg,10))},cm.\u0275dir=kt({type:cm,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&Ua("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[qs([_m]),Is,Ls]}),cm),Cm={provide:lg,useExisting:Pe((function(){return km}))},km=((lm=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this))._parent=e,o._validators=r,o._asyncValidators=i,o}return _createClass(n,[{key:"_checkParentType",value:function(){Tm(this._parent)&&Ug.groupParentException()}}]),n}(vm)).\u0275fac=function(e){return new(e||lm)(Ea(lg,13),Ea(_g,10),Ea(bg,10))},lm.\u0275dir=kt({type:lm,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[qs([Cm]),Is]}),lm),wm={provide:lg,useExisting:Pe((function(){return Sm}))},Sm=((um=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this))._parent=e,o._validators=r,o._asyncValidators=i,o}return _createClass(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormArray(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormArray(this)}},{key:"_checkParentType",value:function(){Tm(this._parent)&&Ug.arrayParentException()}},{key:"control",get:function(){return this.formDirective.getFormArray(this)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"path",get:function(){return qg(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"validator",get:function(){return em(this._validators)}},{key:"asyncValidator",get:function(){return tm(this._asyncValidators)}}]),n}(lg)).\u0275fac=function(e){return new(e||um)(Ea(lg,13),Ea(_g,10),Ea(bg,10))},um.\u0275dir=kt({type:um,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[qs([wm]),Is]}),um);function Tm(e){return!(e instanceof km||e instanceof bm||e instanceof Sm)}var Pm,Om,Mm,xm,Em,Am,Im={provide:pg,useExisting:Pe((function(){return Nm}))},Nm=((Am=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o,a){var s;return _classCallCheck(this,n),(s=t.call(this))._ngModelWarningConfig=a,s._added=!1,s.update=new zc,s._ngModelWarningSent=!1,s._parent=e,s._rawValidators=r||[],s._rawAsyncValidators=i||[],s.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||Jg(e,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,i=void 0;return t.forEach((function(t){var o;t.constructor===sg?n=t:(o=t,nm.some((function(e){return o.constructor===e}))?(r&&Jg(e,"More than one built-in value accessor matches form control with"),r=t):(i&&Jg(e,"More than one custom value accessor matches form control with"),i=t))})),i||r||n||(Jg(e,"No valid value accessor for form control with"),null)}(_assertThisInitialized(s),o),s}return _createClass(n,[{key:"ngOnChanges",value:function(e){var t,r;this._added||this._setUpControl(),function(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Ca(t,n.currentValue)}(e,this.viewModel)&&(t=n,r=this._ngModelWarningConfig,Sr()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||this._ngModelWarningSent)||(Ug.ngModelWarning("formControlName"),t._ngModelWarningSentOnce=!0,this._ngModelWarningSent=!0)),this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_checkParentType",value:function(){!(this._parent instanceof km)&&this._parent instanceof vm?Ug.ngModelGroupException():this._parent instanceof km||this._parent instanceof bm||this._parent instanceof Sm||Ug.controlParentException()}},{key:"_setUpControl",value:function(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}},{key:"isDisabled",set:function(e){Ug.disabledAttrWarning()}},{key:"path",get:function(){return qg(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return em(this._rawValidators)}},{key:"asyncValidator",get:function(){return tm(this._rawAsyncValidators)}}]),n}(pg)).\u0275fac=function(e){return new(e||Am)(Ea(lg,13),Ea(_g,10),Ea(bg,10),Ea(ng,10),Ea(ym,8))},Am.\u0275dir=kt({type:Am,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[qs([Im]),Is,Ls]}),Am._ngModelWarningSentOnce=!1,Am),Rm=((Em=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:Em}),Em.\u0275inj=pe({factory:function(e){return new(e||Em)}}),Em),Dm=((xm=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"group",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this._reduceControls(e),r=null,i=null,o=void 0;return null!=t&&(function(e){return void 0!==e.asyncValidators||void 0!==e.validators||void 0!==e.updateOn}(t)?(r=null!=t.validators?t.validators:null,i=null!=t.asyncValidators?t.asyncValidators:null,o=null!=t.updateOn?t.updateOn:void 0):(r=null!=t.validator?t.validator:null,i=null!=t.asyncValidator?t.asyncValidator:null)),new dm(n,{asyncValidators:i,updateOn:o,validators:r})}},{key:"control",value:function(e,t,n){return new fm(e,t,n)}},{key:"array",value:function(e,t,n){var r=this,i=e.map((function(e){return r._createControl(e)}));return new pm(i,t,n)}},{key:"_reduceControls",value:function(e){var t=this,n={};return Object.keys(e).forEach((function(r){n[r]=t._createControl(e[r])})),n}},{key:"_createControl",value:function(e){return e instanceof fm||e instanceof dm||e instanceof pm?e:Array.isArray(e)?this.control(e[0],e.length>1?e[1]:null,e.length>2?e[2]:null):this.control(e)}}]),e}()).\u0275fac=function(e){return new(e||xm)},xm.\u0275prov=fe({token:xm,factory:xm.\u0275fac}),xm),Gm=((Mm=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:Mm}),Mm.\u0275inj=pe({factory:function(e){return new(e||Mm)},providers:[Hg],imports:[Rm]}),Mm),Hm=((Om=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:ym,useValue:t.warnOnNgModelWithFormControl}]}}}]),e}()).\u0275mod=bt({type:Om}),Om.\u0275inj=pe({factory:function(e){return new(e||Om)},providers:[Dm,Hg],imports:[Rm]}),Om),Lm=((Pm=function(){function e(t,n,r,i){_classCallCheck(this,e),this.mobileService=t,this.formBuilder=n,this.router=r,this.sidenavService=i,this.formGroup=this.formBuilder.group({trackingAllowed:new fm(!0)})}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"yes",value:function(){this.mobileService.regionUS=!0,this.mobileService.allowTracking=this.formGroup.value.trackingAllowed,this.next()}},{key:"no",value:function(){this.mobileService.regionUS=!1,this.mobileService.allowTracking=this.formGroup.value.trackingAllowed,this.next()}},{key:"next",value:function(){this.router.navigateByUrl("/")}}]),e}()).\u0275fac=function(e){return new(e||Pm)(Ea(Qv),Ea(Dm),Ea(cv),Ea(zv))},Pm.\u0275cmp=gt({type:Pm,selectors:[["app-compliance-page"]],decls:19,vars:2,consts:[[3,"centerContent"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","card--wood"],[1,"text-center",3,"formGroup"],[1,"buttons"],[1,"btn","btn-block","btn-primary",3,"click"],[1,"form-check"],["id","tracking-allowed","type","checkbox","formControlName","trackingAllowed",1,"form-check-input"],["for","tracking-allowed"],["href","https://www.salesforce.com/company/privacy/full_privacy/","target","_blank"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),Da(1,"div",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Da(5,"form",5),Da(6,"h1"),Ps(7,"Are you based in the U.S.?"),Ga(),Da(8,"div",6),Da(9,"button",7),Ua("click",(function(){return t.yes()})),Ps(10,"Yes"),Ga(),Da(11,"button",7),Ua("click",(function(){return t.no()})),Ps(12,"No"),Ga(),Ga(),Da(13,"div",8),Ha(14,"input",9),Da(15,"label",10),Ps(16," By checking this box, I consent to data processing as described in the "),Da(17,"a",11),Ps(18,"Salesforce Privacy Policy"),Ga(),Ga(),Ga(),Ga(),Ga(),Ga(),Ga(),Ga(),Ga()),2&e&&(Na("centerContent",!0),wi(5),Na("formGroup",t.formGroup))},directives:[Xv,mm,mg,bm,ig,gg,Nm],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}h1[_ngcontent-%COMP%]{margin-bottom:2rem}.buttons[_ngcontent-%COMP%]{max-width:140px;margin:0 auto 2rem}.form-check[_ngcontent-%COMP%]{font-size:10px;line-height:1.3;text-align:left}"]}),Pm),Vm=function e(){_classCallCheck(this,e)};function Fm(e,t){return{type:7,name:e,definitions:t,options:{}}}function Bm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function jm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function Um(e){return{type:6,styles:e,offset:null}}function zm(e,t,n){return{type:0,name:e,styles:t,options:n}}function Wm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function Km(e){Promise.resolve(null).then(e)}var Xm,qm,Qm,Zm=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+n}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;Km((function(){return e._onFinish()}))}},{key:"_onStart",value:function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"reset",value:function(){}},{key:"setPosition",value:function(e){}},{key:"getPosition",value:function(){return 0}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}]),e}(),$m=function(){function e(t){var n=this;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var r=0,i=0,o=0,a=this.players.length;0==a?Km((function(){return n._onFinish()})):this.players.forEach((function(e){e.onDone((function(){++r==a&&n._onFinish()})),e.onDestroy((function(){++i==a&&n._onDestroy()})),e.onStart((function(){++o==a&&n._onStart()}))})),this.totalTime=this.players.reduce((function(e,t){return Math.max(e,t.totalTime)}),0)}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach((function(e){return e.init()}))}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(e){return e.play()}))}},{key:"pause",value:function(){this.players.forEach((function(e){return e.pause()}))}},{key:"restart",value:function(){this.players.forEach((function(e){return e.restart()}))}},{key:"finish",value:function(){this._onFinish(),this.players.forEach((function(e){return e.finish()}))}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(e){return e.destroy()})),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach((function(e){return e.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach((function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)}))}},{key:"getPosition",value:function(){var e=0;return this.players.forEach((function(t){var n=t.getPosition();e=Math.min(n,e)})),e}},{key:"beforeDestroy",value:function(){this.players.forEach((function(e){e.beforeDestroy&&e.beforeDestroy()}))}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}]),e}(),Ym=Fm("openClose",[zm("open",Um({height:"*"})),zm("closed",Um({height:0})),Wm("open <=> closed",[Bm("0.33s ease-out")])]),Jm=Fm("fadeOut",[zm("open",Um({opacity:0,height:0})),zm("closed",Um({opacity:1,height:"*"})),Wm("open <=> closed",[Bm("0.33s ease-out")])]),ey=((qm=function(){function e(){_classCallCheck(this,e),this.showContent={orange:"closed",teal:"closed",purple:"closed"}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"reveal",value:function(e){this.showContent[e]="open"}}]),e}()).\u0275fac=function(e){return new(e||qm)},qm.\u0275cmp=gt({type:qm,selectors:[["app-main-menu-page"]],decls:46,vars:6,consts:[[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","card--orange","card--has-inner","card--has-bg"],[1,"card__inner",3,"click"],["src","assets/images/marketing-cloud-analytics-360.svg","alt","Marketing Cloud + Analytics 360",1,"img-fluid","logo"],[1,"card__reveal"],["src","assets/images/chevrondown.svg","alt","Expand"],[1,"card__hidden-content"],["routerLink","/marketing-cloud-analytics-360",1,"btn","btn-primary","btn-block"],[1,"card","card--teal","card--has-inner","card--has-bg"],["src","assets/images/sales-cloud-g-suite.svg","alt","Sales Cloud + G Suite",1,"img-fluid","logo"],["routerLink","/sales-cloud-g-suite",1,"btn","btn-primary","btn-block"],[1,"card","card--purple","card--has-inner","card--has-bg","card--last"],["src","assets/images/tableau-bigquery.svg","alt","Tableau + BigQuery",1,"img-fluid","logo"],["routerLink","/tableau-big-query",1,"btn","btn-primary","btn-block"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page"),Da(1,"div",0),Da(2,"div",1),Da(3,"div",2),Da(4,"div",3),Da(5,"div",4),Ua("click",(function(){return t.reveal("orange")})),Ha(6,"img",5),Da(7,"h2"),Ps(8,"Get personal with your marketing journeys."),Ga(),Da(9,"button",6),Ha(10,"img",7),Ga(),Da(11,"div",8),Da(12,"p"),Ps(13," Take a trail walk to see how companies can use Salesforce Marketing Cloud and Google Analytics 360 to deliver the right message, at the right time. "),Ga(),Da(14,"p"),Ps(15," As a thank you for your time, watch two sessions get a YETI Rambler Bottle delivered to your door while supplies last. Restrictions apply. "),Ga(),Da(16,"a",9),Ps(17,"Enter"),Ga(),Ga(),Ga(),Ga(),Da(18,"div",10),Da(19,"div",4),Ua("click",(function(){return t.reveal("teal")})),Ha(20,"img",11),Da(21,"h2"),Ps(22,"Drive productivity from anywhere."),Ga(),Da(23,"button",6),Ha(24,"img",7),Ga(),Da(25,"div",8),Da(26,"p"),Ps(27," Stroll through the PwC forest to see how PwC uses Salesforce + Google to keep its global workforce productive while keeping the customer at the enter of everything it does. "),Ga(),Da(28,"p"),Ps(29," Bonus time: You can also take a closer look into PwC and see how it empowers its employees with digital tools to keep them doing their best work. "),Ga(),Da(30,"a",12),Ps(31,"Enter"),Ga(),Ga(),Ga(),Ga(),Da(32,"div",13),Da(33,"div",4),Ua("click",(function(){return t.reveal("purple")})),Ha(34,"img",14),Da(35,"h2"),Ps(36,"Know your customers with integrated data insights."),Ga(),Da(37,"button",6),Ha(38,"img",7),Ga(),Da(39,"div",8),Da(40,"p"),Ps(41," Hike to this lookout to learn how Zulily uses Tableau and BigQuery to make sense of its data and make better business decisions that earn customer loyalty. "),Ga(),Da(42,"p"),Ps(43," You will also hear the story of a single Zulily analyst and hear the giant data impact she\u2019s made at the company. "),Ga(),Da(44,"a",15),Ps(45,"Enter"),Ga(),Ga(),Ga(),Ga(),Ga(),Ga(),Ga(),Ga()),2&e&&(wi(9),Na("@fadeOut",t.showContent.orange),wi(2),Na("@openClose",t.showContent.orange),wi(12),Na("@fadeOut",t.showContent.teal),wi(2),Na("@openClose",t.showContent.teal),wi(12),Na("@fadeOut",t.showContent.purple),wi(2),Na("@openClose",t.showContent.purple))},directives:[Xv,uv],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}body[_ngcontent-%COMP%], html[_ngcontent-%COMP%]{background-image:url(mobile-bg.3f153a5e58f995144426.jpg)!important}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;max-height:40px}"],data:{animation:[Ym,Jm]}}),qm),ty=((Xm=function(){function e(t){_classCallCheck(this,e),this.router=t}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"click",value:function(){this.routerLink?this.router.navigateByUrl(this.routerLink):window.history.back()}}]),e}()).\u0275fac=function(e){return new(e||Xm)(Ea(cv))},Xm.\u0275cmp=gt({type:Xm,selectors:[["app-back-button"]],inputs:{routerLink:"routerLink"},decls:2,vars:0,consts:[[1,"back-button",3,"click"]],template:function(e,t){1&e&&(Da(0,"a",0),Ua("click",(function(){return t.click()})),Ps(1,"Back"),Ga())},styles:[".back-button[_ngcontent-%COMP%]{position:fixed;top:70px;left:5px;width:50px;height:50px;background:transparent url(back-button@2x.4a7e29b12ceb75cb2a93.png) no-repeat 0 0;background-size:50px;text-indent:-9999rem;overflow:hidden;z-index:88}"]}),Xm),ny=["*"],ry=((Qm=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||Qm)},Qm.\u0275cmp=gt({type:Qm,selectors:[["app-speaker"]],inputs:{img:"img",name:"name"},ngContentSelectors:ny,decls:6,vars:3,consts:[[1,"headshot"],[1,"content"]],template:function(e,t){1&e&&(Za(),Ha(0,"div",0),Da(1,"div",1),Da(2,"h3"),Ps(3),Ga(),Da(4,"p"),$a(5),Ga(),Ga()),2&e&&(us("background-image","url(assets/images/speakers/"+t.img+")",ti),wi(3),Os(t.name))},styles:["[_nghost-%COMP%]{width:100%;max-width:300px;display:flex;text-align:left;font-size:14px}*[_ngcontent-%COMP%], [_nghost-%COMP%]{box-sizing:border-box}.headshot[_ngcontent-%COMP%]{width:60px;height:60px;position:relative;overflow:hidden;border:1px solid #fff;border-radius:9999rem;background:transparent none no-repeat 50%;background-size:cover;margin:0 14px 20px 0;flex:0 0 auto;flex-basis:60px}.content[_ngcontent-%COMP%]{flex:0 1 auto}h3[_ngcontent-%COMP%]{font-size:14px;font-weight:700;margin-bottom:0}"]}),Qm);function iy(e,t){1&e&&(La(0),Da(1,"div",6),Ha(2,"img",7),Da(3,"p"),Ps(4," Difficulty accessing and understanding data is one of the biggest barriers to delivering positive customer experiences. That\u2019s why Salesforce Marketing Cloud and Google Analytics 360 have come together to help you tackle data challenges. "),Ga(),Da(5,"p"),Ps(6," Keep moving down the path and hear how companies, including retailers, work with us to drive thoughtful and personalized customer journeys while staying nimble in this rapidly changing environment. "),Ga(),Da(7,"button",8),Ps(8,"Start exploring"),Ga(),Ga(),Va())}function oy(e,t){1&e&&(La(0),Da(1,"div",9),Da(2,"app-speaker",10),Ps(3," Product Management"),Ha(4,"br"),Ps(5," Google Marketing Platform "),Ga(),Da(6,"app-speaker",11),Ps(7," Senior Director, Strategic"),Ha(8,"br"),Ps(9," Partnerships, Salesforce "),Ga(),Da(10,"h2"),Ps(11,"Ask the Expert Session"),Ga(),Da(12,"p"),Ps(13," Get actionable tips on how to maximize Analytics 360 and Marketing Cloud together, plus the answers to the toughest questions we\u2019ve ever heard from customers. "),Ga(),Da(14,"a",12),Ps(15,"Watch Demo"),Ga(),Ga(),Da(16,"div",9),Da(17,"app-speaker",13),Ps(18," VP, Product Management"),Ha(19,"br"),Ps(20," Salesforce "),Ga(),Da(21,"h2"),Ps(22,"Integration Product Demo"),Ga(),Da(23,"p"),Ps(24," See how retailers create personalized customer experiences with the Analytics 360 Integration for Marketing Cloud. "),Ga(),Da(25,"a",14),Ps(26,"Watch Demo"),Ga(),Ga(),Da(27,"div",9),Da(28,"p"),Ps(29," See more Marketing Cloud and Analytics 360 features and use cases here. "),Ga(),Da(30,"a",15),Ps(31," Read Data Sheet "),Ga(),Ga(),Va())}var ay,sy=((ay=function(){function e(t,n,r){_classCallCheck(this,e),this.router=t,this.mobileService=n,this.sidenavService=r,this.showVideos=this.router.url.includes("/videos"),this.environment=lu,this.showCongrats=!1}return _createClass(e,[{key:"ngOnInit",value:function(){this.mobileService.videosWatched.includes("yeti-ask-the-expert-session")&&this.mobileService.videosWatched.includes("yeti-integration-product-demo")&&this.router.navigateByUrl("/yeti/congratulations")}}]),e}()).\u0275fac=function(e){return new(e||ay)(Ea(cv),Ea(Qv),Ea(zv))},ay.\u0275cmp=gt({type:ay,selectors:[["app-yeti-page"]],decls:7,vars:2,consts:[["backgroundImage","assets/images/mobile-bg-yeti.jpg"],["routerLink","/menu"],[1,"container"],[1,"row"],[1,"col-lg-12"],[4,"ngIf"],[1,"card","card--wood"],["src","assets/images/marketing-cloud-analytics-360-white-text.png","alt","Marketing Cloud + Analytics 360",1,"img-fluid","logo"],["routerLink","videos",1,"btn","btn-primary"],[1,"card","card--orange"],["img","matt-jacobson@2x.png","name","Matt Jacobson"],["img","hannah-brown@2x.png","name","Hannah Brown"],["routerLink","/video/yeti-ask-the-expert-session",1,"btn","btn-white"],["img","armita-peymandoust@2x.png","name","Armita Peymandoust"],["routerLink","/video/yeti-integration-product-demo",1,"btn","btn-white"],["href","https://www.salesforce.com/content/dam/web/en_us/www/documents/datasheets/know-your-customer-data-sheet.pdf","target","_blank",1,"btn","btn-white"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),Ha(1,"app-back-button",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Ma(5,iy,9,0,"ng-container",5),Ma(6,oy,32,0,"ng-container",5),Ga(),Ga(),Ga(),Ga()),2&e&&(wi(5),Na("ngIf",!t.showVideos),wi(1),Na("ngIf",t.showVideos))},directives:[Xv,ty,lv,Ku,ry,uv],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card--wood[_ngcontent-%COMP%]{text-align:left}"]}),ay);function cy(e,t){1&e&&(La(0),Da(1,"div",6),Ha(2,"img",7),Da(3,"p"),Ps(4," PwC is a global powerhouse delivering world-class experiences in assurance, advisory, and tax services. "),Ga(),Da(5,"p"),Ps(6," Enter the forest to learn how PwC is using Salesforce and Google to drive productivity and keep its global workforce connected and skilled up. "),Ga(),Da(7,"button",8),Ps(8,"Start exploring"),Ga(),Ga(),Va())}function ly(e,t){1&e&&(La(0),Da(1,"div",9),Da(2,"app-speaker",10),Ps(3," PwC Advisory Partner "),Ga(),Da(4,"app-speaker",11),Ps(5," Sr. Director, Product"),Ha(6,"br"),Ps(7," Management, Salesforce "),Ga(),Da(8,"h2"),Ps(9,"Salesforce + G Suite Product Demo"),Ga(),Da(10,"p"),Ps(11," Walk through exactly how PwC uses this integration to meet customer needs in days not weeks, even though the global workforce is now remote. "),Ga(),Da(12,"a",12),Ps(13,"Watch Demo"),Ga(),Ga(),Da(14,"div",9),Da(15,"app-speaker",13),Ps(16," VP Trailhead Evangelism"),Ha(17,"br"),Ps(18," Salesforce "),Ga(),Da(19,"app-speaker",14),Ps(20," Head of Clients and Markets"),Ha(21,"br"),Ps(22," PwC UK "),Ga(),Da(23,"h2"),Ps(24,"Digital Upskilling Session"),Ga(),Da(25,"p"),Ps(26," Hear PwC\u2019s practical advice for how they upskilled more than 276,000 employees on the digital technology of today, including Salesforce and Google. "),Ga(),Da(27,"a",15),Ps(28,"Watch Session"),Ga(),Ga(),Da(29,"div",9),Da(30,"p"),Ps(31," Learn new skills from anywhere with Trailhead. "),Ga(),Da(32,"a",16),Ps(33,"Visit Trailhead"),Ga(),Ga(),Da(34,"div",9),Da(35,"p"),Ps(36," Test your technology knowledge with PwC\u2019s Digital Fitness app. "),Ga(),Da(37,"a",17),Ps(38,"Download"),Ga(),Ga(),Va())}var uy,hy=((uy=function(){function e(t){_classCallCheck(this,e),this.router=t,this.showVideos=this.router.url.includes("/videos")}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||uy)(Ea(cv))},uy.\u0275cmp=gt({type:uy,selectors:[["app-sales-cloud-page"]],decls:7,vars:2,consts:[["backgroundImage","assets/images/mobile-bg-pwc.jpg"],["routerLink","/menu"],[1,"container"],[1,"row"],[1,"col-lg-12"],[4,"ngIf"],[1,"card","card--wood"],["src","assets/images/sales-cloud-white-text.png","alt","Salesforce Sales Cloud + G Suite Featuring PWC",1,"img-fluid","logo"],["routerLink","videos",1,"btn","btn-primary"],[1,"card","card--teal"],["img","mike-hoodyx@2x.png","name","Mike Hoody"],["img","austin-tam@2x.png","name","Austin Tam"],["routerLink","/video/pwc-salesforce-g-suite-product-demo",1,"btn","btn-white"],["img","leah-mcgowen-hare@2x.png","name","Leah McGowen-Hare"],["img","marco-amitrano@2x.png","name","Marco Amitrano"],["routerLink","/video/pwc-digital-upskilling-session",1,"btn","btn-white"],["href","https://trailhead.salesforce.com/users/teamtrailhead/trailmixes/salesforce-google-virtual-adventure","target","_blank",1,"btn","btn-white"],["href","https://www.pwc.com/us/en/products/digital-fitness.html","target","_blank",1,"btn","btn-white"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),Ha(1,"app-back-button",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Ma(5,cy,9,0,"ng-container",5),Ma(6,ly,39,0,"ng-container",5),Ga(),Ga(),Ga(),Ga()),2&e&&(wi(5),Na("ngIf",!t.showVideos),wi(1),Na("ngIf",t.showVideos))},directives:[Xv,ty,lv,Ku,ry,uv],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card--wood[_ngcontent-%COMP%]{text-align:left}"]}),uy);function fy(e,t){1&e&&(La(0),Da(1,"div",6),Ha(2,"img",7),Da(3,"p"),Ps(4," Founded in 2010, Zulily offers millions of people a different way to shop. The brand is always launching new sales featuring the latest fashion for adults and kids, home d\xe9cor, toys, gifts and more. "),Ga(),Da(5,"p"),Ps(6," Predicting and responding to customer preferences is key to building lifetime loyalty. Enter Zulily Lookout to see how Tableau and BigQuery help the company drive repeat business and cultivate data superheroes within. "),Ga(),Da(7,"button",8),Ps(8,"Start exploring"),Ga(),Ga(),Va())}function dy(e,t){1&e&&(La(0),Da(1,"div",9),Da(2,"app-speaker",10),Ps(3," Director of Product"),Ha(4,"br"),Ps(5," Management, Google Cloud "),Ga(),Da(6,"app-speaker",11),Ps(7," Senior Director, Strategic"),Ha(8,"br"),Ps(9," Partnerships, Salesforce "),Ga(),Da(10,"h2"),Ps(11,"Expert Product Demo Session"),Ga(),Da(12,"p"),Ps(13," Learn the major benefits of the Tableau and BigQuery integration. from a deep product expert. You\u2019ll also see a step-by-step product demo. "),Ga(),Da(14,"a",12),Ps(15,"Watch Demo"),Ga(),Ga(),Da(16,"div",9),Da(17,"app-speaker",13),Ps(18," Lead Analyst"),Ha(19,"br"),Ps(20," Marketing Analytics, Zulily "),Ga(),Da(21,"app-speaker",14),Ps(22," Director, Strategic Partnerships"),Ha(23,"br"),Ps(24," Marketing, Salesforce "),Ga(),Da(25,"h2"),Ps(26,"Data Superhero Session"),Ga(),Da(27,"p"),Ps(28," Hear the story of a single Zulily analyst and how she has made data an inherent part of business decisions, turning insights into action and creating Zulily customers for life. "),Ga(),Da(29,"a",15),Ps(30,"Watch Session"),Ga(),Ga(),Da(31,"div",9),Da(32,"p"),Ps(33," Learn additional best practices for optimizing Tableau and BigQuery. "),Ga(),Da(34,"a",16),Ps(35,"Read White Paper"),Ga(),Ga(),Va())}var py,vy,gy,my=((gy=function(){function e(t){_classCallCheck(this,e),this.router=t,this.showVideos=this.router.url.includes("/videos")}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||gy)(Ea(cv))},gy.\u0275cmp=gt({type:gy,selectors:[["app-zulily-page"]],decls:7,vars:2,consts:[["backgroundImage","assets/images/mobile-bg-zulily.jpg"],["routerLink","/menu"],[1,"container"],[1,"row"],[1,"col-lg-12"],[4,"ngIf"],[1,"card","card--wood"],["src","assets/images/tableau-white-text.png","alt","Tableau + Big Query featuring Zulily",1,"img-fluid","logo"],["routerLink","videos",1,"btn","btn-primary"],[1,"card","card--purple"],["img","sudhir-hasbe@2x.png","name","Sudhir Hasbe"],["img","madeleine-corneli@2x.png","name","Madeleine Corneli"],["routerLink","/video/zulily-expert-product-demo-session",1,"btn","btn-white"],["img","angela-wu@2x.png","name","Angela Wu"],["img","laura-fagan@2x.png","name","Laura Fagan"],["routerLink","/video/zulily-data-superhero-session",1,"btn","btn-white"],["href","https://drive.google.com/file/d/1evY40Rk929KyBSo3zrKc0SRGWKKKCm4f/view?usp=sharing","target","_blank",1,"btn","btn-white"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),Ha(1,"app-back-button",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Ma(5,fy,9,0,"ng-container",5),Ma(6,dy,36,0,"ng-container",5),Ga(),Ga(),Ga(),Ga()),2&e&&(wi(5),Na("ngIf",!t.showVideos),wi(1),Na("ngIf",t.showVideos))},directives:[Xv,ty,lv,Ku,ry,uv],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card--wood[_ngcontent-%COMP%]{text-align:left}"]}),gy),yy=((vy=function(){function e(t,n,r){_classCallCheck(this,e),this.route=t,this.router=n,this.mobileService=r}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.paramSubscription=this.route.params.subscribe((function(t){e.videoId=t.id,e.src=lu.mobileVideoData[e.videoId].src,e.background=lu.mobileVideoData[e.videoId].background,e.previousUrl=lu.mobileVideoData[e.videoId].menuPage,e.mobileService.watchedVideo(e.videoId)}))}},{key:"ngOnDestroy",value:function(){this.paramSubscription.unsubscribe()}},{key:"close",value:function(){this.router.navigateByUrl(this.previousUrl)}}]),e}()).\u0275fac=function(e){return new(e||vy)(Ea(Yd),Ea(cv),Ea(Qv))},vy.\u0275cmp=gt({type:vy,selectors:[["app-mobile-video-player"]],decls:6,vars:3,consts:[[3,"centerContent","backgroundImage"],[1,"video-wrapper"],[1,"close-video",3,"click"],["width","820","height","461","autoplay","","controls","","playsinline","",3,"src"],["video",""]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),Da(1,"div",1),Da(2,"button",2),Ua("click",(function(){return t.close()})),Ps(3,"Close"),Ga(),Ha(4,"video",3,4),Ga(),Ga()),2&e&&(Na("centerContent",!0)("backgroundImage",t.background),wi(4),Na("src",t.src,Jr))},directives:[Xv],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.video-wrapper[_ngcontent-%COMP%]{background:transparent url(video-bg.2cd90c80a521deca897e.png) no-repeat 0 0;background-size:cover;width:100%;max-width:1280px;padding-bottom:calc(56.25% + 56px);position:relative;border-radius:12px;margin:0 auto}.video-wrapper[_ngcontent-%COMP%] video[_ngcontent-%COMP%]{width:100%;height:calc(100% - 56px);position:absolute;top:28px}.video-wrapper[_ngcontent-%COMP%] .close-video[_ngcontent-%COMP%]{width:28px;height:28px;position:absolute;top:0;right:0;background:transparent url(x.3ad636551768e809bba0.svg) no-repeat 0 0;background-size:cover;text-indent:-9999rem;border:0}"]}),vy),_y=((py=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||py)},py.\u0275cmp=gt({type:py,selectors:[["app-yeti-congrats"]],decls:12,vars:1,consts:[["backgroundImage","assets/images/mobile-bg-yeti.jpg",3,"centerContent"],["routerLink","/marketing-cloud-analytics-360/videos"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","card--has-bg","card--orange"],["routerLink","/yeti/form",1,"btn","btn-white"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),Ha(1,"app-back-button",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Da(5,"div",5),Da(6,"h2"),Ps(7,"Congratulations"),Ga(),Da(8,"p"),Ps(9," You\u2019ve earned a YETI Rambler\xae Bottle. "),Ga(),Da(10,"a",6),Ps(11,"Enter Shipping info"),Ga(),Ga(),Ga(),Ga(),Ga(),Ga()),2&e&&Na("centerContent",!0)},directives:[Xv,ty,lv,uv],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.card[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}.card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-transform:uppercase;align-self:center}"]}),py),by=n("4+EV"),Cy=function e(){_classCallCheck(this,e)},ky=function e(){_classCallCheck(this,e)},wy=function(){function e(t){var n=this;_classCallCheck(this,e),this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){n.headers=new Map,t.split("\n").forEach((function(e){var t=e.indexOf(":");if(t>0){var r=e.slice(0,t),i=r.toLowerCase(),o=e.slice(t+1).trim();n.maybeSetNormalizedName(r,i),n.headers.has(i)?n.headers.get(i).push(o):n.headers.set(i,[o])}}))}:function(){n.headers=new Map,Object.keys(t).forEach((function(e){var r=t[e],i=e.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(n.headers.set(i,r),n.maybeSetNormalizedName(e,i))}))}:this.headers=new Map}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(e){return t.applyUpdate(e)})),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach((function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))}))}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,_toConsumableArray(n)),this.headers.set(t,r);break;case"d":var i=e.value;if(i){var o=this.headers.get(t);if(!o)return;0===(o=o.filter((function(e){return-1===i.indexOf(e)}))).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,o)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return e(t.normalizedNames.get(n),t.headers.get(n))}))}}]),e}(),Sy=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return Ty(e)}},{key:"encodeValue",value:function(e){return Ty(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function Ty(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var Py=function(){function e(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,e),this.updates=null,this.cloneFrom=null,this.encoder=n.encoder||new Sy,n.fromString){if(n.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){var n=new Map;return e.length>0&&e.split("&").forEach((function(e){var r=e.indexOf("="),i=_slicedToArray2(-1==r?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,r)),t.decodeValue(e.slice(r+1))],2),o=i[0],a=i[1],s=n.get(o)||[];s.push(a),n.set(o,s)})),n}(n.fromString,this.encoder)}else n.fromObject?(this.map=new Map,Object.keys(n.fromObject).forEach((function(e){var r=n.fromObject[e];t.map.set(e,Array.isArray(r)?r:[r])}))):this.map=null}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map((function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map((function(t){return n+"="+e.encoder.encodeValue(t)})).join("&")})).filter((function(e){return""!==e})).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(t){return e.map.set(t,e.cloneFrom.map.get(t))})),this.updates.forEach((function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],i=r.indexOf(t.value);-1!==i&&r.splice(i,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}})),this.cloneFrom=this.updates=null)}}]),e}();function Oy(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function My(e){return"undefined"!=typeof Blob&&e instanceof Blob}function xy(e){return"undefined"!=typeof FormData&&e instanceof FormData}var Ey=function(){function e(t,n,r,i){var o;if(_classCallCheck(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.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!==r?r:null,o=i):o=r,o&&(this.reportProgress=!!o.reportProgress,this.withCredentials=!!o.withCredentials,o.responseType&&(this.responseType=o.responseType),o.headers&&(this.headers=o.headers),o.params&&(this.params=o.params)),this.headers||(this.headers=new wy),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s<n.length-1?"&":"")+a}}else this.params=new Py,this.urlWithParams=n}return _createClass(e,[{key:"serializeBody",value:function(){return null===this.body?null:Oy(this.body)||My(this.body)||xy(this.body)||"string"==typeof this.body?this.body:this.body instanceof Py?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||xy(this.body)?null:My(this.body)?this.body.type||null:Oy(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof Py?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}},{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.method||this.method,r=t.url||this.url,i=t.responseType||this.responseType,o=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,c=t.headers||this.headers,l=t.params||this.params;return void 0!==t.setHeaders&&(c=Object.keys(t.setHeaders).reduce((function(e,n){return e.set(n,t.setHeaders[n])}),c)),t.setParams&&(l=Object.keys(t.setParams).reduce((function(e,n){return e.set(n,t.setParams[n])}),l)),new e(n,r,o,{params:l,headers:c,reportProgress:s,responseType:i,withCredentials:a})}}]),e}(),Ay=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.ResponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}(),Iy=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_classCallCheck(this,e),this.headers=t.headers||new wy,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},Ny=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,r)).type=Ay.ResponseHeader,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({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})}}]),n}(Iy),Ry=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,r)).type=Ay.Response,e.body=void 0!==r.body?r.body:null,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({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})}}]),n}(Iy),Dy=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",r.ok=!1,r.message=r.status>=200&&r.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),r.error=e.error||null,r}return n}(Iy);function Gy(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var Hy,Ly,Vy,Fy,By,jy,Uy,zy,Wy,Ky=((Hy=function(){function e(t){_classCallCheck(this,e),this.handler=t}return _createClass(e,[{key:"request",value:function(e,t){var n,r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof Ey)n=e;else{var o=void 0;o=i.headers instanceof wy?i.headers:new wy(i.headers);var a=void 0;i.params&&(a=i.params instanceof Py?i.params:new Py({fromObject:i.params})),n=new Ey(e,t,void 0!==i.body?i.body:null,{headers:o,params:a,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}var s=qh(n).pipe(Hf((function(e){return r.handler.handle(e)})));if(e instanceof Ey||"events"===i.observe)return s;var c=s.pipe(of((function(e){return e instanceof Ry})));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return c.pipe(V((function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return c.pipe(V((function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return c.pipe(V((function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));case"json":default:return c.pipe(V((function(e){return e.body})))}case"response":return c;default:throw new Error("Unreachable: unhandled observe type ".concat(i.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new Py).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,Gy(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,Gy(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,Gy(n,t))}}]),e}()).\u0275fac=function(e){return new(e||Hy)($e(Cy))},Hy.\u0275prov=fe({token:Hy,factory:Hy.\u0275fac}),Hy),Xy=function(){function e(t,n){_classCallCheck(this,e),this.next=t,this.interceptor=n}return _createClass(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),qy=new je("HTTP_INTERCEPTORS"),Qy=((Ly=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||Ly)},Ly.\u0275prov=fe({token:Ly,factory:Ly.\u0275fac}),Ly),Zy=/^\)\]\}',?\n/,$y=function e(){_classCallCheck(this,e)},Yy=((Fy=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}()).\u0275fac=function(e){return new(e||Fy)},Fy.\u0275prov=fe({token:Fy,factory:Fy.\u0275fac}),Fy),Jy=((Vy=function(){function e(t){_classCallCheck(this,e),this.xhrFactory=t}return _createClass(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new k((function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((function(e,t){return r.setRequestHeader(e,t.join(","))})),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var i=e.detectContentTypeHeader();null!==i&&r.setRequestHeader("Content-Type",i)}if(e.responseType){var o=e.responseType.toLowerCase();r.responseType="json"!==o?o:"text"}var a=e.serializeBody(),s=null,c=function(){if(null!==s)return s;var t=1223===r.status?204:r.status,n=r.statusText||"OK",i=new wy(r.getAllResponseHeaders()),o=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new Ny({headers:i,status:t,statusText:n,url:o})},l=function(){var t=c(),i=t.headers,o=t.status,a=t.statusText,s=t.url,l=null;204!==o&&(l=void 0===r.response?r.responseText:r.response),0===o&&(o=l?200:0);var u=o>=200&&o<300;if("json"===e.responseType&&"string"==typeof l){var h=l;l=l.replace(Zy,"");try{l=""!==l?JSON.parse(l):null}catch(f){l=h,u&&(u=!1,l={error:f,text:l})}}u?(n.next(new Ry({body:l,headers:i,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new Dy({error:l,headers:i,status:o,statusText:a,url:s||void 0}))},u=function(e){var t=c().url,i=new Dy({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error",url:t||void 0});n.error(i)},h=!1,f=function(t){h||(n.next(c()),h=!0);var i={type:Ay.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(i.total=t.total),"text"===e.responseType&&r.responseText&&(i.partialText=r.responseText),n.next(i)},d=function(e){var t={type:Ay.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",l),r.addEventListener("error",u),e.reportProgress&&(r.addEventListener("progress",f),null!==a&&r.upload&&r.upload.addEventListener("progress",d)),r.send(a),n.next({type:Ay.Sent}),function(){r.removeEventListener("error",u),r.removeEventListener("load",l),e.reportProgress&&(r.removeEventListener("progress",f),null!==a&&r.upload&&r.upload.removeEventListener("progress",d)),r.abort()}}))}}]),e}()).\u0275fac=function(e){return new(e||Vy)($e($y))},Vy.\u0275prov=fe({token:Vy,factory:Vy.\u0275fac}),Vy),e_=new je("XSRF_COOKIE_NAME"),t_=new je("XSRF_HEADER_NAME"),n_=function e(){_classCallCheck(this,e)},r_=((Wy=function(){function e(t,n,r){_classCallCheck(this,e),this.doc=t,this.platform=n,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return _createClass(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Fu(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}()).\u0275fac=function(e){return new(e||Wy)($e(du),$e(ml),$e(e_))},Wy.\u0275prov=fe({token:Wy,factory:Wy.\u0275fac}),Wy),i_=((zy=function(){function e(t,n){_classCallCheck(this,e),this.tokenService=t,this.headerName=n}return _createClass(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||zy)($e(n_),$e(t_))},zy.\u0275prov=fe({token:zy,factory:zy.\u0275fac}),zy),o_=((Uy=function(){function e(t,n){_classCallCheck(this,e),this.backend=t,this.injector=n,this.chain=null}return _createClass(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(qy,[]);this.chain=t.reduceRight((function(e,t){return new Xy(e,t)}),this.backend)}return this.chain.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||Uy)($e(ky),$e(da))},Uy.\u0275prov=fe({token:Uy,factory:Uy.\u0275fac}),Uy),a_=((jy=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:i_,useClass:Qy}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:e_,useValue:t.cookieName}:[],t.headerName?{provide:t_,useValue:t.headerName}:[]]}}}]),e}()).\u0275mod=bt({type:jy}),jy.\u0275inj=pe({factory:function(e){return new(e||jy)},providers:[i_,{provide:qy,useExisting:i_,multi:!0},{provide:n_,useClass:r_},{provide:e_,useValue:"XSRF-TOKEN"},{provide:t_,useValue:"X-XSRF-TOKEN"}]}),jy),s_=((By=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:By}),By.\u0275inj=pe({factory:function(e){return new(e||By)},providers:[Ky,{provide:Cy,useClass:o_},Jy,{provide:ky,useExisting:Jy},Yy,{provide:$y,useExisting:Yy}],imports:[[a_.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),By),c_=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e,r)).scheduler=e,i.work=r,i.pending=!1,i}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value: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))}},{key:"_execute",value:function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(i){n=!0,r=!!i&&i||new Error(i)}if(n)return this.unsubscribe(),r}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){return _classCallCheck(this,n),t.call(this)}return _createClass(n,[{key:"schedule",value:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this}}]),n}(f)),l_=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;_classCallCheck(this,e),this.SchedulerAction=t,this.now=n}return _createClass(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),u_=new(function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l_.now;return _classCallCheck(this,n),(r=t.call(this,e,(function(){return n.delegate&&n.delegate!==_assertThisInitialized(r)?n.delegate.now():i()}))).actions=[],r.active=!1,r.scheduled=void 0,r}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,r):_get(_getPrototypeOf(n.prototype),"schedule",this).call(this,e,t,r)}},{key:"flush",value: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}}}}]),n}(l_))(c_);function h_(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u_;return function(n){return n.lift(new f_(e,t))}}var f_=function(){function e(t,n){_classCallCheck(this,e),this.dueTime=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new d_(e,this.dueTime,this.scheduler))}}]),e}(),d_=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e)).dueTime=r,o.scheduler=i,o.debouncedSubscription=null,o.lastValue=null,o.hasValue=!1,o}return _createClass(n,[{key:"_next",value:function(e){this.clearDebounce(),this.lastValue=e,this.hasValue=!0,this.add(this.debouncedSubscription=this.scheduler.schedule(p_,this.dueTime,this))}},{key:"_complete",value:function(){this.debouncedNext(),this.destination.complete()}},{key:"debouncedNext",value:function(){if(this.clearDebounce(),this.hasValue){var e=this.lastValue;this.lastValue=null,this.hasValue=!1,this.destination.next(e)}}},{key:"clearDebounce",value:function(){var e=this.debouncedSubscription;null!==e&&(this.remove(e),e.unsubscribe(),this.debouncedSubscription=null)}}]),n}(v);function p_(e){e.debouncedNext()}function v_(e,t){return function(n){return n.lift(new g_(e,t))}}var g_=function(){function e(t,n){_classCallCheck(this,e),this.compare=t,this.keySelector=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new m_(e,this.compare,this.keySelector))}}]),e}(),m_=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e)).keySelector=i,o.hasKey=!1,"function"==typeof r&&(o.compare=r),o}return _createClass(n,[{key:"compare",value:function(e,t){return e===t}},{key:"_next",value:function(e){var t;try{var n=this.keySelector;t=n?n(e):e}catch(i){return this.destination.error(i)}var r=!1;if(this.hasKey)try{r=(0,this.compare)(this.key,t)}catch(i){return this.destination.error(i)}else this.hasKey=!0;r||(this.key=t,this.destination.next(e))}}]),n}(v);function y_(e,t){return new k(t?function(n){return t.schedule(__,0,{error:e,subscriber:n})}:function(t){return t.error(e)})}function __(e){var t=e.error;e.subscriber.error(t)}var b_,C_,k_,w_=function e(t){_classCallCheck(this,e),t&&Object.assign(this,{product:t.product,stockRemaining:t.stock_remaining,date:new Date(t.date)})},S_=((k_=function(){function e(t){var n=this;_classCallCheck(this,e),this.http=t,this.endpoint="https://salesforcevirtualadventures.com/stock",this.environment=lu,this.jsonHeader={headers:new wy({"Content-Type":"application/json"})},this.get=function(){return n.http.get(n.endpoint,Object.assign({},n.jsonHeader)).pipe(bf((function(e){return n.handleError(e)})))},this.getBottlesRemaining=function(){return new Promise((function(e){n.get().pipe(V((function(e){return new w_(e.filter((function(e){return e.product===n.environment.stockName}))[0])}))).subscribe((function(t){e(t.stockRemaining>=n.environment.bottlesThreshold)}))}))}}return _createClass(e,[{key:"handleError",value:function(e){return e.error instanceof ErrorEvent?console.log("An error occurred:",e.error.message):console.log("Backend returned code ".concat(e.status,", body was: ").concat(e.error)),y_("API Service has failed.")}}]),e}()).\u0275fac=function(e){return new(e||k_)($e(Ky))},k_.\u0275prov=fe({token:k_,factory:k_.\u0275fac,providedIn:"root"}),k_),T_=((C_=function(){function e(t,n,r){_classCallCheck(this,e),this.googleTagManagerId=t,this.googleTagManagerAuth=n,this.googleTagManagerPreview=r,this.isLoaded=!1,this.browserGlobals={windowRef:function(){return window},documentRef:function(){return document}},this.gtmId=t,this.gtmAuth=n,this.gtmPreview=r}return _createClass(e,[{key:"getDataLayer",value:function(){var e=this.browserGlobals.windowRef();return e.dataLayer=e.dataLayer||[],e.dataLayer}},{key:"pushOnDataLayer",value:function(e){this.getDataLayer().push(e)}},{key:"addGtmToDom",value:function(){var e=this.browserGlobals.documentRef();this.pushOnDataLayer({"gtm.start":(new Date).getTime(),event:"gtm.js"});var t=e.createElement("script");t.id="GTMscript",t.async=!0,t.src=this.applyGtmQueryParams("//www.googletagmanager.com/gtm.js"),e.head.insertBefore(t,e.head.firstChild);var n=e.createElement("iframe");n.setAttribute("src",this.applyGtmQueryParams("//www.googletagmanager.com/ns.html")),n.style.width="0",n.style.height="0",n.style.display="none",n.style.visibility="hidden";var r=e.createElement("noscript");r.id="GTMiframe",r.appendChild(n),e.body.insertBefore(r,e.body.firstChild),this.isLoaded=!0}},{key:"pushTag",value:function(e){this.isLoaded||this.addGtmToDom(),this.pushOnDataLayer(e)}},{key:"applyGtmQueryParams",value:function(e){var t=["id="+this.gtmId];return this.gtmAuth&&t.push("gtm_auth="+this.gtmAuth),this.gtmPreview&&t.push("gtm_preview="+this.gtmPreview),-1===e.indexOf("?")&&(e+="?"),e+t.join("&")}}]),e}()).\u0275fac=function(e){return new(e||C_)($e("googleTagManagerId"),$e("googleTagManagerAuth",8),$e("googleTagManagerPreview",8))},C_.\u0275prov=fe({token:C_,factory:C_.\u0275fac,providedIn:"root"}),C_.ngInjectableDef=fe({factory:function(){return new C_($e("googleTagManagerId"),$e("googleTagManagerAuth",8),$e("googleTagManagerPreview",8))},token:C_,providedIn:"root"}),C_),P_=((b_=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this.http=t,this.stockService=n,this.gtmService=r,this.lastMessage=new Qh(null),this.sendToParent=function(e,t){window.parent.postMessage({message:e,params:t},"http://localhost:4200")},this.sendToPlayCanvas=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(null===(n=null===(t=i.target)||void 0===t?void 0:t.contentWindow)||void 0===n?void 0:n.tellPlayCanvas)&&i.target.contentWindow.tellPlayCanvas({event:e,params:r})},this.getProgressData=function(){return JSON.parse(localStorage.getItem("progressData"))||{}},this.sendStatus=function(){return i.sendToPlayCanvas("sendStatus",{allowTracking:i.allowTracking,regionUS:i.regionUS,bottlesAvailable:i.bottlesAvailable,formSubmitted:i.formSubmitted,progressData:i.getProgressData()})},this.getStatus=function(){return setTimeout((function(){return i.sendStatus()}),1)}}return _createClass(e,[{key:"init",value:function(e){var t=this;this.target=e.nativeElement,this.receiveEventsFromPlayCanvas(),this.stockService.getBottlesRemaining().then((function(e){t.bottlesAvailable=e,t.sendStatus()}))}},{key:"receiveEventsFromPlayCanvas",value:function(){var e=this;window.playcanvas_says=function(t,n,r,i){e.lastMessage.next({message:t,param1:n,param2:r,param3:i}),e.sendToParent(t,[n,r,i])}}},{key:"setProgress",value:function(e,t){var n=this.getProgressData();n[e]=t,localStorage.setItem("progressData",JSON.stringify(n))}},{key:"trackEvent",value:function(e,t){this.allowTracking&&this.gtmService.pushTag({event:e,data:t})}},{key:"shareItem",value:function(e,t){t||(t=window.location.href),t=encodeURIComponent(t.trim()),"facebook"===e?this.popup("https://www.facebook.com/sharer/sharer.php?u="+t):"twitter"===e?this.popup("https://twitter.com/intent/tweet?text=".concat(encodeURIComponent("We\u2019re bringing Salesforce + Google to you in a new, on-demand event. Tune in to hear from product experts & thought leaders, plus get practical tips on how to adapt & innovate for your business in today\u2019s climate.")," ").concat(t)):"linkedin"===e&&this.popup("https://www.linkedin.com/shareArticle?url=".concat(t,"&summary=").concat(encodeURIComponent("Salesforce + Google are headed your way in a new, on-demand event. Tune in for tips on how companies can innovate in today\u2019s climate.")))}},{key:"popup",value:function(e){var t=void 0!==window.screenLeft?window.screenLeft:window.screenX,n=void 0!==window.screenTop?window.screenTop:window.screenY,r=window.innerWidth?window.innerWidth:document.documentElement.clientWidth?document.documentElement.clientWidth:screen.width,i=window.innerHeight?window.innerHeight:document.documentElement.clientHeight?document.documentElement.clientHeight:screen.height,o=r/window.screen.availWidth;window.open(e,"_blank","\n\t\t\ttoolbar=no,\n\t\t\tlocation=no,\n\t\t\tstatus=no,\n\t\t\tmenubar=no,\n\t\t\tscrollbars=yes,\n\t\t\tresizable=yes,\n\t\t\twidth=626,\n\t\t\theight=490,\n\t\t\ttop=".concat((i-490)/2/o+n,",\n\t\t\tleft=").concat((r-626)/2/o+t,"\n\t\t"))}},{key:"evaluatePopups",value:function(){return this.allowTracking=JSON.parse(localStorage.getItem("allowTracking")),this.regionUS=JSON.parse(localStorage.getItem("regionUS")),null===this.allowTracking||null===this.regionUS?"compliance":null}},{key:"formSubmitted",get:function(){return this.formSubmittedValue},set:function(e){this.formSubmittedValue=e,null!==e&&localStorage.setItem("formSubmitted",e.toString())}},{key:"regionUS",get:function(){return this.regionValue},set:function(e){this.regionValue=e,null!==e&&localStorage.setItem("regionUS",e.toString())}},{key:"allowTracking",get:function(){return this.trackingValue},set:function(e){this.trackingValue=e,null!==e&&localStorage.setItem("allowTracking",e.toString())}}]),e}()).\u0275fac=function(e){return new(e||b_)($e(Ky),$e(S_),$e(T_))},b_.\u0275prov=fe({token:b_,factory:b_.\u0275fac,providedIn:"root"}),b_);function O_(e){return!c(e)&&e-parseFloat(e)+1>=0}function M_(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}function x_(e,t,n,i){return r(n)&&(i=n,n=void 0),i?x_(e,t,n).pipe(V((function(e){return c(e)?i.apply(void 0,_toConsumableArray(e)):i(e)}))):new k((function(r){!function e(t,n,r,i,o){var a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var s=t;t.addEventListener(n,r,o),a=function(){return s.removeEventListener(n,r,o)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var c=t;t.on(n,r),a=function(){return c.off(n,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var l=t;t.addListener(n,r),a=function(){return l.removeListener(n,r)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var u=0,h=t.length;u<h;u++)e(t[u],n,r,i,o)}i.add(a)}(e,t,(function(e){r.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),r,n)}))}var E_=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new A_(e))}}]),e}(),A_=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e)).hasFirst=!1,r.observables=[],r.subscriptions=[],r}return _createClass(n,[{key:"_next",value:function(e){this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(var n=0;n<t&&!this.hasFirst;n++){var r=e[n],i=H(this,r,r,n);this.subscriptions&&this.subscriptions.push(i),this.add(i)}this.observables=null}}},{key:"notifyNext",value:function(e,t,n,r,i){if(!this.hasFirst){this.hasFirst=!0;for(var o=0;o<this.subscriptions.length;o++)if(o!==n){var a=this.subscriptions[o];a.unsubscribe(),this.remove(a)}this.subscriptions=null}this.destination.next(t)}}]),n}(L);function I_(e){return function(t){return t.lift(new N_(e))}}var N_=function(){function e(t){_classCallCheck(this,e),this.notifier=t}return _createClass(e,[{key:"call",value:function(e,t){var n=new R_(e),r=H(n,this.notifier);return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n}}]),e}(),R_=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e)).seenValue=!1,r}return _createClass(n,[{key:"notifyNext",value:function(e,t,n,r,i){this.seenValue=!0,this.complete()}},{key:"notifyComplete",value:function(){}}]),n}(L);function D_(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){var n;return"function"==typeof t[t.length-1]&&(n=t.pop()),e.lift(new H_(t,n))}}var G_,H_=function(){function e(t,n){_classCallCheck(this,e),this.observables=t,this.project=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new L_(e,this.observables,this.project))}}]),e}(),L_=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;_classCallCheck(this,n),(o=t.call(this,e)).observables=r,o.project=i,o.toRespond=[];var a=r.length;o.values=new Array(a);for(var s=0;s<a;s++)o.toRespond.push(s);for(var c=0;c<a;c++){var l=r[c];o.add(H(_assertThisInitialized(o),l,l,c))}return o}return _createClass(n,[{key:"notifyNext",value:function(e,t,n,r,i){this.values[n]=t;var o=this.toRespond;if(o.length>0){var a=o.indexOf(n);-1!==a&&o.splice(a,1)}}},{key:"notifyComplete",value:function(){}},{key:"_next",value:function(e){if(0===this.toRespond.length){var t=[e].concat(_toConsumableArray(this.values));this.project?this._tryProject(t):this.destination.next(t)}}},{key:"_tryProject",value:function(e){var t;try{t=this.project.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(L),V_=((G_=function(){function e(t,n,r){_classCallCheck(this,e),this.kind=t,this.value=n,this.error=r,this.hasValue="N"===t}return _createClass(e,[{key:"observe",value:function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}},{key:"do",value:function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}},{key:"accept",value:function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return qh(this.value);case"E":return y_(this.error);case"C":return tf()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}()).completeNotification=new G_("C"),G_.undefinedValueNotification=new G_("N",void 0),G_),F_=function(){function e(t,n){_classCallCheck(this,e),this.delay=t,this.scheduler=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new B_(e,this.delay,this.scheduler))}}]),e}(),B_=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,e)).delay=r,o.scheduler=i,o.queue=[],o.active=!1,o.errored=!1,o}return _createClass(n,[{key:"_schedule",value:function(e){this.active=!0,this.destination.add(e.schedule(n.dispatch,this.delay,{source:this,destination:this.destination,scheduler:e}))}},{key:"scheduleNotification",value:function(e){if(!0!==this.errored){var t=this.scheduler,n=new j_(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(V_.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(V_.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){for(var t=e.source,n=t.queue,r=e.scheduler,i=e.destination;n.length>0&&n[0].time-r.now()<=0;)n.shift().notification.observe(i);if(n.length>0){var o=Math.max(0,n[0].time-r.now());this.schedule(e,o)}else this.unsubscribe(),t.active=!1}}]),n}(v),j_=function e(t,n){_classCallCheck(this,e),this.time=t,this.notification=n};$localize(_templateObject());var U_=["*"];$localize(_templateObject2()),$localize(_templateObject3()),$localize(_templateObject4()),$localize(_templateObject5()),$localize(_templateObject6()),$localize(_templateObject7()),$localize(_templateObject8()),$localize(_templateObject9()),$localize(_templateObject10()),$localize(_templateObject11());var z_=["dialog"];function W_(e,t){if(1&e&&(Da(0,"span"),Ps(1),Ga()),2&e){var n=qa().$implicit;ds(qa().highlightClass),wi(1),Os(n)}}function K_(e,t){1&e&&Ps(0),2&e&&Os(qa().$implicit)}function X_(e,t){if(1&e&&(Ma(0,W_,2,3,"span",1),Ma(1,K_,1,1,"ng-template",null,2,ul)),2&e){var n=t.odd,r=xa(2);Na("ngIf",n)("ngIfElse",r)}}function q_(e,t){if(1&e&&Ha(0,"ngb-highlight",2),2&e){var n=t.term;Na("result",(0,t.formatter)(t.result))("term",n)}}function Q_(e,t){}$localize(_templateObject12()),$localize(_templateObject13()),$localize(_templateObject14()),$localize(_templateObject15()),$localize(_templateObject16()),$localize(_templateObject17()),$localize(_templateObject18()),$localize(_templateObject19()),$localize(_templateObject20(),"\ufffd0\ufffd"),$localize(_templateObject21()),$localize(_templateObject22()),$localize(_templateObject23()),$localize(_templateObject24()),$localize(_templateObject25()),$localize(_templateObject26()),$localize(_templateObject27()),$localize(_templateObject28()),$localize(_templateObject29()),$localize(_templateObject30()),$localize(_templateObject31()),$localize(_templateObject32()),$localize(_templateObject33(),"\ufffd0\ufffd"),$localize(_templateObject34(),"\ufffd0\ufffd"),$localize(_templateObject35());var Z_=function(e,t,n){return{result:e,term:t,formatter:n}};function $_(e,t){if(1&e){var n=Fa();Da(0,"button",3),Ua("mouseenter",(function(){Jt(n);var e=t.index;return qa().markActive(e)}))("click",(function(){Jt(n);var e=t.$implicit;return qa().select(e)})),Ma(1,Q_,0,0,"ng-template",4),Ga()}if(2&e){var r=t.$implicit,i=t.index,o=qa(),a=xa(1);hs("active",i===o.activeIdx),Na("id",o.id+"-"+i),wi(1),Na("ngTemplateOutlet",o.resultTemplate||a)("ngTemplateOutletContext",(s=5,c=Z_,l=r,u=o.term,h=o.formatter,function(e,t,n,r,i,o,a,s){var c=t+n;return function(e,t,n,r,i){var o=function(e,t,n,r){var i=Pa(e,t,n);return Pa(e,t+1,r)||i}(e,t,n,r);return Pa(e,t+2,i)||o}(e,c,i,o,a)?Ta(e,c+3,s?r.call(s,i,o,a):r(i,o,a)):Bc(e,c+3)}($t(),sn(),s,c,l,u,h,f)))}var s,c,l,u,h,f}function Y_(e){return null!=e?""+e:""}function J_(e){return null!=e}"undefined"==typeof Element||Element.prototype.closest||(Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null});var eb,tb,nb,rb,ib,ob=((ib=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:ib}),ib.\u0275inj=pe({factory:function(e){return new(e||ib)},imports:[[ih]]}),ib),ab=((rb=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:rb}),rb.\u0275inj=pe({factory:function(e){return new(e||rb)},imports:[[ih]]}),rb),sb=((nb=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:nb}),nb.\u0275inj=pe({factory:function(e){return new(e||nb)}}),nb),cb=((tb=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:tb}),tb.\u0275inj=pe({factory:function(e){return new(e||tb)},imports:[[ih]]}),tb),lb=((eb=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:eb}),eb.\u0275inj=pe({factory:function(e){return new(e||eb)}}),eb),ub=function(e){return e[e.Tab=9]="Tab",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.Space=32]="Space",e[e.PageUp=33]="PageUp",e[e.PageDown=34]="PageDown",e[e.End=35]="End",e[e.Home=36]="Home",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowUp=38]="ArrowUp",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowDown=40]="ArrowDown",e}({}),hb=function(e,t){return!!t&&t.some((function(t){return t.contains(e)}))},fb="undefined"!=typeof navigator&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent)),db=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function pb(e){var t=Array.from(e.querySelectorAll(db)).filter((function(e){return-1!==e.tabIndex}));return[t[0],t[t.length-1]]}var vb,gb,mb,yb,_b,bb,Cb,kb,wb,Sb,Tb,Pb,Ob,Mb,xb,Eb,Ab,Ib,Nb,Rb,Db=/\s+/,Gb=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"getAllStyles",value:function(e){return window.getComputedStyle(e)}},{key:"getStyle",value:function(e,t){return this.getAllStyles(e)[t]}},{key:"isStaticPositioned",value:function(e){return"static"===(this.getStyle(e,"position")||"static")}},{key:"offsetParent",value:function(e){for(var t=e.offsetParent||document.documentElement;t&&t!==document.documentElement&&this.isStaticPositioned(t);)t=t.offsetParent;return t||document.documentElement}},{key:"position",value:function(e){var t,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r={width:0,height:0,top:0,bottom:0,left:0,right:0};if("fixed"===this.getStyle(e,"position"))t={top:(t=e.getBoundingClientRect()).top,bottom:t.bottom,left:t.left,right:t.right,height:t.height,width:t.width};else{var i=this.offsetParent(e);t=this.offset(e,!1),i!==document.documentElement&&(r=this.offset(i,!1)),r.top+=i.clientTop,r.left+=i.clientLeft}return t.top-=r.top,t.bottom-=r.top,t.left-=r.left,t.right-=r.left,n&&(t.top=Math.round(t.top),t.bottom=Math.round(t.bottom),t.left=Math.round(t.left),t.right=Math.round(t.right)),t}},{key:"offset",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.getBoundingClientRect(),r=window.pageYOffset-document.documentElement.clientTop,i=window.pageXOffset-document.documentElement.clientLeft,o={height:n.height||e.offsetHeight,width:n.width||e.offsetWidth,top:n.top+r,bottom:n.bottom+r,left:n.left+i,right:n.right+i};return t&&(o.height=Math.round(o.height),o.width=Math.round(o.width),o.top=Math.round(o.top),o.bottom=Math.round(o.bottom),o.left=Math.round(o.left),o.right=Math.round(o.right)),o}},{key:"positionElements",value:function(e,t,n,r){var i=_slicedToArray2(n.split("-"),2),o=i[0],a=void 0===o?"top":o,s=i[1],c=void 0===s?"center":s,l=r?this.offset(e,!1):this.position(e,!1),u=this.getAllStyles(t),h=parseFloat(u.marginTop),f=parseFloat(u.marginBottom),d=parseFloat(u.marginLeft),p=parseFloat(u.marginRight),v=0,g=0;switch(a){case"top":v=l.top-(t.offsetHeight+h+f);break;case"bottom":v=l.top+l.height;break;case"left":g=l.left-(t.offsetWidth+d+p);break;case"right":g=l.left+l.width}switch(c){case"top":v=l.top;break;case"bottom":v=l.top+l.height-t.offsetHeight;break;case"left":g=l.left;break;case"right":g=l.left+l.width-t.offsetWidth;break;case"center":"top"===a||"bottom"===a?g=l.left+l.width/2-t.offsetWidth/2:v=l.top+l.height/2-t.offsetHeight/2}t.style.transform="translate(".concat(Math.round(g),"px, ").concat(Math.round(v),"px)");var m=t.getBoundingClientRect(),y=document.documentElement,_=window.innerHeight||y.clientHeight,b=window.innerWidth||y.clientWidth;return m.left>=0&&m.top>=0&&m.right<=b&&m.bottom<=_}}]),e}()),Hb=((mb=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:mb}),mb.\u0275inj=pe({factory:function(e){return new(e||mb)},imports:[[ih,Gm]]}),mb),Lb=((gb=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:gb}),gb.\u0275inj=pe({factory:function(e){return new(e||gb)}}),gb),Vb=((vb=function e(){_classCallCheck(this,e),this.backdrop=!0,this.keyboard=!0}).\u0275fac=function(e){return new(e||vb)},vb.\u0275prov=fe({factory:function(){return new vb},token:vb,providedIn:"root"}),vb),Fb=function e(t,n,r){_classCallCheck(this,e),this.nodes=t,this.viewRef=n,this.componentRef=r},Bb=function(){function e(t,n,r,i,o,a){_classCallCheck(this,e),this._type=t,this._injector=n,this._viewContainerRef=r,this._renderer=i,this._componentFactoryResolver=o,this._applicationRef=a,this._windowRef=null,this._contentRef=null}return _createClass(e,[{key:"open",value:function(e,t){return this._windowRef||(this._contentRef=this._getContentRef(e,t),this._windowRef=this._viewContainerRef.createComponent(this._componentFactoryResolver.resolveComponentFactory(this._type),this._viewContainerRef.length,this._injector,this._contentRef.nodes)),this._windowRef}},{key:"close",value:function(){var e;this._windowRef&&(this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._windowRef.hostView)),this._windowRef=null,(null===(e=this._contentRef)||void 0===e?void 0:e.viewRef)&&(this._applicationRef.detachView(this._contentRef.viewRef),this._contentRef.viewRef.destroy(),this._contentRef=null))}},{key:"_getContentRef",value:function(e,t){if(e){if(e instanceof kc){var n=e.createEmbeddedView(t);return this._applicationRef.attachView(n),new Fb([n.rootNodes],n)}return new Fb([[this._renderer.createText(""+e)]])}return new Fb([])}}]),e}(),jb=function(){},Ub=((_b=function(){function e(t){_classCallCheck(this,e),this._document=t}return _createClass(e,[{key:"compensate",value:function(){var e=this._getWidth();return this._isPresent(e)?this._adjustBody(e):jb}},{key:"_adjustBody",value:function(e){var t=this._document.body,n=t.style.paddingRight,r=parseFloat(window.getComputedStyle(t)["padding-right"]);return t.style["padding-right"]=r+e+"px",function(){return t.style["padding-right"]=n}}},{key:"_isPresent",value:function(e){var t=this._document.body.getBoundingClientRect();return window.innerWidth-(t.left+t.right)>=e-.1*e}},{key:"_getWidth",value:function(){var e=this._document.createElement("div");e.className="modal-scrollbar-measure";var t=this._document.body;t.appendChild(e);var n=e.getBoundingClientRect().width-e.clientWidth;return t.removeChild(e),n}}]),e}()).\u0275fac=function(e){return new(e||_b)($e(du))},_b.\u0275prov=fe({factory:function(){return new _b($e(du))},token:_b,providedIn:"root"}),_b),zb=((yb=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||yb)},yb.\u0275cmp=gt({type:yb,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1050"],hostVars:2,hostBindings:function(e,t){2&e&&ds("modal-backdrop fade show"+(t.backdropClass?" "+t.backdropClass:""))},inputs:{backdropClass:"backdropClass"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),yb),Wb=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"close",value:function(e){}},{key:"dismiss",value:function(e){}}]),e}(),Kb=function(){function e(t,n,r,i){var o=this;_classCallCheck(this,e),this._windowCmptRef=t,this._contentRef=n,this._backdropCmptRef=r,this._beforeDismiss=i,t.instance.dismissEvent.subscribe((function(e){o.dismiss(e)})),this.result=new Promise((function(e,t){o._resolve=e,o._reject=t})),this.result.then(null,(function(){}))}return _createClass(e,[{key:"close",value:function(e){this._windowCmptRef&&(this._resolve(e),this._removeModalElements())}},{key:"_dismiss",value:function(e){this._reject(e),this._removeModalElements()}},{key:"dismiss",value:function(e){var t=this;if(this._windowCmptRef)if(this._beforeDismiss){var n=this._beforeDismiss();n&&n.then?n.then((function(n){!1!==n&&t._dismiss(e)}),(function(){})):!1!==n&&this._dismiss(e)}else this._dismiss(e)}},{key:"_removeModalElements",value:function(){var e=this._windowCmptRef.location.nativeElement;if(e.parentNode.removeChild(e),this._windowCmptRef.destroy(),this._backdropCmptRef){var t=this._backdropCmptRef.location.nativeElement;t.parentNode.removeChild(t),this._backdropCmptRef.destroy()}this._contentRef&&this._contentRef.viewRef&&this._contentRef.viewRef.destroy(),this._windowCmptRef=null,this._backdropCmptRef=null,this._contentRef=null}},{key:"componentInstance",get:function(){if(this._contentRef&&this._contentRef.componentRef)return this._contentRef.componentRef.instance}}]),e}(),Xb=function(e){return e[e.BACKDROP_CLICK=0]="BACKDROP_CLICK",e[e.ESC=1]="ESC",e}({}),qb=((Rb=function(){function e(t,n,r){_classCallCheck(this,e),this._document=t,this._elRef=n,this._zone=r,this._closed$=new M,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new zc}return _createClass(e,[{key:"dismiss",value:function(e){this.dismissEvent.emit(e)}},{key:"ngOnInit",value:function(){this._elWithFocus=this._document.activeElement}},{key:"ngAfterViewInit",value:function(){var e=this,t=this._elRef.nativeElement;if(this._zone.runOutsideAngular((function(){x_(t,"keydown").pipe(I_(e._closed$),of((function(t){return t.which===ub.Escape&&e.keyboard}))).subscribe((function(t){return requestAnimationFrame((function(){t.defaultPrevented||e._zone.run((function(){return e.dismiss(Xb.ESC)}))}))}));var n=!1;x_(e._dialogEl.nativeElement,"mousedown").pipe(I_(e._closed$),Vf((function(){return n=!1})),xf((function(){return x_(t,"mouseup").pipe(I_(e._closed$),wf(1))})),of((function(e){var n=e.target;return t===n}))).subscribe((function(){n=!0})),x_(t,"click").pipe(I_(e._closed$)).subscribe((function(r){var i=r.target;!0!==e.backdrop||t!==i||n||e._zone.run((function(){return e.dismiss(Xb.BACKDROP_CLICK)})),n=!1}))})),!t.contains(document.activeElement)){var n=t.querySelector("[ngbAutofocus]"),r=pb(t)[0];(n||r||t).focus()}}},{key:"ngOnDestroy",value:function(){var e,t=this,n=this._document.body,r=this._elWithFocus;e=r&&r.focus&&n.contains(r)?r:n,this._zone.runOutsideAngular((function(){setTimeout((function(){return e.focus()})),t._elWithFocus=null})),this._closed$.next()}}]),e}()).\u0275fac=function(e){return new(e||Rb)(Ea(du),Ea(Ys),Ea(Nl))},Rb.\u0275cmp=gt({type:Rb,selectors:[["ngb-modal-window"]],viewQuery:function(e,t){var n;1&e&&nl(z_,!0),2&e&&tl(n=al())&&(t._dialogEl=n.first)},hostAttrs:["role","dialog","tabindex","-1"],hostVars:5,hostBindings:function(e,t){2&e&&(Oa("aria-modal",!0)("aria-labelledby",t.ariaLabelledBy)("aria-describedby",t.ariaDescribedBy),ds("modal fade show d-block"+(t.windowClass?" "+t.windowClass:"")))},inputs:{backdrop:"backdrop",keyboard:"keyboard",ariaLabelledBy:"ariaLabelledBy",ariaDescribedBy:"ariaDescribedBy",centered:"centered",scrollable:"scrollable",size:"size",windowClass:"windowClass"},outputs:{dismissEvent:"dismiss"},ngContentSelectors:U_,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(e,t){1&e&&(Za(),Da(0,"div",0,1),Da(2,"div",2),$a(3),Ga(),Ga()),2&e&&ds("modal-dialog"+(t.size?" modal-"+t.size:"")+(t.centered?" modal-dialog-centered":"")+(t.scrollable?" modal-dialog-scrollable":""))},styles:["ngb-modal-window .component-host-scrollable{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;overflow:hidden}"],encapsulation:2}),Rb),Qb=((Nb=function(){function e(t,n,r,i,o,a){var s=this;_classCallCheck(this,e),this._applicationRef=t,this._injector=n,this._document=r,this._scrollBar=i,this._rendererFactory=o,this._ngZone=a,this._activeWindowCmptHasChanged=new M,this._ariaHiddenValues=new Map,this._backdropAttributes=["backdropClass"],this._modalRefs=[],this._windowAttributes=["ariaLabelledBy","ariaDescribedBy","backdrop","centered","keyboard","scrollable","size","windowClass"],this._windowCmpts=[],this._activeInstances=new zc,this._activeWindowCmptHasChanged.subscribe((function(){if(s._windowCmpts.length){var e=s._windowCmpts[s._windowCmpts.length-1];(function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];s._ngZone.runOutsideAngular((function(){var e=x_(t,"focusin").pipe(I_(n),V((function(e){return e.target})));x_(t,"keydown").pipe(I_(n),of((function(e){return e.which===ub.Tab})),D_(e)).subscribe((function(e){var n=_slicedToArray2(e,2),r=n[0],i=n[1],o=_slicedToArray2(pb(t),2),a=o[0],s=o[1];i!==a&&i!==t||!r.shiftKey||(s.focus(),r.preventDefault()),i!==s||r.shiftKey||(a.focus(),r.preventDefault())})),r&&x_(t,"click").pipe(I_(n),D_(e),V((function(e){return e[1]}))).subscribe((function(e){return e.focus()}))}))})(0,e.location.nativeElement,s._activeWindowCmptHasChanged),s._revertAriaHidden(),s._setAriaHidden(e.location.nativeElement)}}))}return _createClass(e,[{key:"open",value:function(e,t,n,r){var i=this,o=r.container instanceof HTMLElement?r.container:J_(r.container)?this._document.querySelector(r.container):this._document.body,a=this._rendererFactory.createRenderer(null,null),s=this._scrollBar.compensate(),c=function(){i._modalRefs.length||(a.removeClass(i._document.body,"modal-open"),i._revertAriaHidden())};if(!o)throw new Error('The specified modal container "'.concat(r.container||"body",'" was not found in the DOM.'));var l=new Wb,u=this._getContentRef(e,r.injector||t,n,l,r),h=!1!==r.backdrop?this._attachBackdrop(e,o):void 0,f=this._attachWindowComponent(e,o,u),d=new Kb(f,u,h,r.beforeDismiss);return this._registerModalRef(d),this._registerWindowCmpt(f),d.result.then(s,s),d.result.then(c,c),l.close=function(e){d.close(e)},l.dismiss=function(e){d.dismiss(e)},this._applyWindowOptions(f.instance,r),1===this._modalRefs.length&&a.addClass(this._document.body,"modal-open"),h&&h.instance&&this._applyBackdropOptions(h.instance,r),d}},{key:"dismissAll",value:function(e){this._modalRefs.forEach((function(t){return t.dismiss(e)}))}},{key:"hasOpenModals",value:function(){return this._modalRefs.length>0}},{key:"_attachBackdrop",value:function(e,t){var n=e.resolveComponentFactory(zb).create(this._injector);return this._applicationRef.attachView(n.hostView),t.appendChild(n.location.nativeElement),n}},{key:"_attachWindowComponent",value:function(e,t,n){var r=e.resolveComponentFactory(qb).create(this._injector,n.nodes);return this._applicationRef.attachView(r.hostView),t.appendChild(r.location.nativeElement),r}},{key:"_applyWindowOptions",value:function(e,t){this._windowAttributes.forEach((function(n){J_(t[n])&&(e[n]=t[n])}))}},{key:"_applyBackdropOptions",value:function(e,t){this._backdropAttributes.forEach((function(n){J_(t[n])&&(e[n]=t[n])}))}},{key:"_getContentRef",value:function(e,t,n,r,i){return n?n instanceof kc?this._createFromTemplateRef(n,r):"string"==typeof n?this._createFromString(n):this._createFromComponent(e,t,n,r,i):new Fb([])}},{key:"_createFromTemplateRef",value:function(e,t){var n=e.createEmbeddedView({$implicit:t,close:function(e){t.close(e)},dismiss:function(e){t.dismiss(e)}});return this._applicationRef.attachView(n),new Fb([n.rootNodes],n)}},{key:"_createFromString",value:function(e){var t=this._document.createTextNode(""+e);return new Fb([[t]])}},{key:"_createFromComponent",value:function(e,t,n,r,i){var o=e.resolveComponentFactory(n),a=da.create({providers:[{provide:Wb,useValue:r}],parent:t}),s=o.create(a),c=s.location.nativeElement;return i.scrollable&&c.classList.add("component-host-scrollable"),this._applicationRef.attachView(s.hostView),new Fb([[c]],s.hostView,s)}},{key:"_setAriaHidden",value:function(e){var t=this,n=e.parentElement;n&&e!==this._document.body&&(Array.from(n.children).forEach((function(n){n!==e&&"SCRIPT"!==n.nodeName&&(t._ariaHiddenValues.set(n,n.getAttribute("aria-hidden")),n.setAttribute("aria-hidden","true"))})),this._setAriaHidden(n))}},{key:"_revertAriaHidden",value:function(){this._ariaHiddenValues.forEach((function(e,t){e?t.setAttribute("aria-hidden",e):t.removeAttribute("aria-hidden")})),this._ariaHiddenValues.clear()}},{key:"_registerModalRef",value:function(e){var t=this,n=function(){var n=t._modalRefs.indexOf(e);n>-1&&(t._modalRefs.splice(n,1),t._activeInstances.emit(t._modalRefs))};this._modalRefs.push(e),this._activeInstances.emit(this._modalRefs),e.result.then(n,n)}},{key:"_registerWindowCmpt",value:function(e){var t=this;this._windowCmpts.push(e),this._activeWindowCmptHasChanged.next(),e.onDestroy((function(){var n=t._windowCmpts.indexOf(e);n>-1&&(t._windowCmpts.splice(n,1),t._activeWindowCmptHasChanged.next())}))}},{key:"activeInstances",get:function(){return this._activeInstances}}]),e}()).\u0275fac=function(e){return new(e||Nb)($e(Jl),$e(da),$e(du),$e(Ub),$e(ec),$e(Nl))},Nb.\u0275prov=fe({factory:function(){return new Nb($e(Jl),$e(Ue),$e(du),$e(Ub),$e(ec),$e(Nl))},token:Nb,providedIn:"root"}),Nb),Zb=((Ib=function(){function e(t,n,r,i){_classCallCheck(this,e),this._moduleCFR=t,this._injector=n,this._modalStack=r,this._config=i}return _createClass(e,[{key:"open",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Object.assign({},this._config,t);return this._modalStack.open(this._moduleCFR,this._injector,e,n)}},{key:"dismissAll",value:function(e){this._modalStack.dismissAll(e)}},{key:"hasOpenModals",value:function(){return this._modalStack.hasOpenModals()}},{key:"activeInstances",get:function(){return this._modalStack.activeInstances}}]),e}()).\u0275fac=function(e){return new(e||Ib)($e($s),$e(da),$e(Qb),$e(Vb))},Ib.\u0275prov=fe({factory:function(){return new Ib($e($s),$e(Ue),$e(Qb),$e(Vb))},token:Ib,providedIn:"root"}),Ib),$b=((Ab=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:Ab}),Ab.\u0275inj=pe({factory:function(e){return new(e||Ab)},providers:[Zb]}),Ab),Yb=((Eb=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:Eb}),Eb.\u0275inj=pe({factory:function(e){return new(e||Eb)},imports:[[ih]]}),Eb),Jb=((xb=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:xb}),xb.\u0275inj=pe({factory:function(e){return new(e||xb)},imports:[[ih]]}),xb),eC=((Mb=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:Mb}),Mb.\u0275inj=pe({factory:function(e){return new(e||Mb)},imports:[[ih]]}),Mb),tC=((Ob=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:Ob}),Ob.\u0275inj=pe({factory:function(e){return new(e||Ob)},imports:[[ih]]}),Ob),nC=((Pb=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:Pb}),Pb.\u0275inj=pe({factory:function(e){return new(e||Pb)},imports:[[ih]]}),Pb),rC=((Tb=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:Tb}),Tb.\u0275inj=pe({factory:function(e){return new(e||Tb)},imports:[[ih]]}),Tb),iC=((Sb=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:Sb}),Sb.\u0275inj=pe({factory:function(e){return new(e||Sb)},imports:[[ih]]}),Sb),oC=((wb=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:wb}),wb.\u0275inj=pe({factory:function(e){return new(e||wb)},imports:[[ih]]}),wb),aC=((kb=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:kb}),kb.\u0275inj=pe({factory:function(e){return new(e||kb)}}),kb),sC=((Cb=function(){function e(){_classCallCheck(this,e),this.highlightClass="ngb-highlight"}return _createClass(e,[{key:"ngOnChanges",value:function(e){var t=Y_(this.result),n=(Array.isArray(this.term)?this.term:[this.term]).map((function(e){return Y_(e).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")})).filter((function(e){return e}));this.parts=n.length?t.split(new RegExp("(".concat(n.join("|"),")"),"gmi")):[t]}}]),e}()).\u0275fac=function(e){return new(e||Cb)},Cb.\u0275cmp=gt({type:Cb,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term"},features:[Ls],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(e,t){1&e&&Ma(0,X_,3,2,"ng-template",0),2&e&&Na("ngForOf",t.parts)},directives:[zu,Ku],styles:[".ngb-highlight{font-weight:700}"],encapsulation:2,changeDetection:0}),Cb),cC=((bb=function(){function e(){_classCallCheck(this,e),this.activeIdx=0,this.focusFirst=!0,this.formatter=Y_,this.selectEvent=new zc,this.activeChangeEvent=new zc}return _createClass(e,[{key:"hasActive",value:function(){return this.activeIdx>-1&&this.activeIdx<this.results.length}},{key:"getActive",value:function(){return this.results[this.activeIdx]}},{key:"markActive",value:function(e){this.activeIdx=e,this._activeChanged()}},{key:"next",value:function(){this.activeIdx===this.results.length-1?this.activeIdx=this.focusFirst?(this.activeIdx+1)%this.results.length:-1:this.activeIdx++,this._activeChanged()}},{key:"prev",value:function(){this.activeIdx<0?this.activeIdx=this.results.length-1:0===this.activeIdx?this.activeIdx=this.focusFirst?this.results.length-1:-1:this.activeIdx--,this._activeChanged()}},{key:"resetActive",value:function(){this.activeIdx=this.focusFirst?0:-1,this._activeChanged()}},{key:"select",value:function(e){this.selectEvent.emit(e)}},{key:"ngOnInit",value:function(){this.resetActive()}},{key:"_activeChanged",value:function(){this.activeChangeEvent.emit(this.activeIdx>=0?this.id+"-"+this.activeIdx:void 0)}}]),e}()).\u0275fac=function(e){return new(e||bb)},bb.\u0275cmp=gt({type:bb,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox",1,"dropdown-menu","show"],hostVars:1,hostBindings:function(e,t){1&e&&Ua("mousedown",(function(e){return e.preventDefault()})),2&e&&xs("id",t.id)},inputs:{focusFirst:"focusFirst",formatter:"formatter",id:"id",results:"results",term:"term",resultTemplate:"resultTemplate"},outputs:{selectEvent:"select",activeChangeEvent:"activeChange"},exportAs:["ngbTypeaheadWindow"],decls:3,vars:1,consts:[["rt",""],["ngFor","",3,"ngForOf"],[3,"result","term"],["type","button","role","option",1,"dropdown-item",3,"id","mouseenter","click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(Ma(0,q_,1,2,"ng-template",null,0,ul),Ma(2,$_,2,9,"ng-template",1)),2&e&&(wi(2),Na("ngForOf",t.results))},directives:[zu,sC,Ju],encapsulation:2}),bb),lC=new je("live announcer delay",{providedIn:"root",factory:function(){return 100}});function uC(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.body.querySelector("#ngb-live");return null==n&&t&&((n=e.createElement("div")).setAttribute("id","ngb-live"),n.setAttribute("aria-live","polite"),n.setAttribute("aria-atomic","true"),n.classList.add("sr-only"),e.body.appendChild(n)),n}var hC,fC,dC,pC,vC,gC=((fC=function(){function e(t,n){_classCallCheck(this,e),this._document=t,this._delay=n}return _createClass(e,[{key:"ngOnDestroy",value:function(){var e=uC(this._document);e&&e.parentElement.removeChild(e)}},{key:"say",value:function(e){var t=uC(this._document,!0),n=this._delay;if(null!=t){t.textContent="";var r=function(){return t.textContent=e};null===n?r():setTimeout(r,n)}}}]),e}()).\u0275fac=function(e){return new(e||fC)($e(du),$e(lC))},fC.\u0275prov=fe({factory:function(){return new fC($e(du),$e(lC))},token:fC,providedIn:"root"}),fC),mC=((hC=function e(){_classCallCheck(this,e),this.editable=!0,this.focusFirst=!0,this.showHint=!1,this.placement=["bottom-left","bottom-right","top-left","top-right"]}).\u0275fac=function(e){return new(e||hC)},hC.\u0275prov=fe({factory:function(){return new hC},token:hC,providedIn:"root"}),hC),yC={provide:ng,useExisting:Pe((function(){return bC})),multi:!0},_C=0,bC=((pC=function(){function e(t,n,r,i,o,a,s,c,l,u,h,f){var d=this;_classCallCheck(this,e),this._elementRef=t,this._renderer=r,this._live=c,this._document=l,this._ngZone=u,this._changeDetector=h,this._subscription=null,this._closed$=new M,this._inputValueBackup=null,this._windowRef=null,this.autocomplete="off",this.placement="bottom-left",this.selectItem=new zc,this.activeDescendant=null,this.popupId="ngb-typeahead-"+_C++,this._onTouched=function(){},this._onChange=function(e){},this.container=a.container,this.editable=a.editable,this.focusFirst=a.focusFirst,this.showHint=a.showHint,this.placement=a.placement,this._valueChanges=x_(t.nativeElement,"input").pipe(V((function(e){return e.target.value}))),this._resubscribeTypeahead=new Qh(null),this._popupService=new Bb(cC,i,n,r,o,f),this._zoneSubscription=s.onStable.subscribe((function(){d.isPopupOpen()&&function(e,t,n,r,i){var o=Array.isArray(n)?n:n.split(Db),a=function(e){var t=_slicedToArray2(e.split("-"),2);return t[0],t[1],[]},s=o.findIndex((function(e){return"auto"===e}));s>=0&&["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right","left-top","left-bottom","right-top","right-bottom"].forEach((function(e){null==o.find((function(t){return-1!==t.search("^"+e)}))&&o.splice(s++,1,e)}));var c=t.style;c.position="absolute",c.top="0",c.left="0",c["will-change"]="transform";var l,u=null,h=!1,f=_createForOfIteratorHelper(o);try{for(f.s();!(l=f.n()).done;)if(a(u=l.value),Gb.positionElements(e,t,u,r)){h=!0;break}}catch(d){f.e(d)}finally{f.f()}h||(a(u=o[0]),Gb.positionElements(e,t,u,r))}(d._elementRef.nativeElement,d._windowRef.location.nativeElement,d.placement,"body"===d.container)}))}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this,t=this._valueChanges.pipe(Vf((function(t){e._inputValueBackup=e.showHint?t:null,e._onChange(e.editable?t:void 0)}))).pipe(this.ngbTypeahead),n=this._resubscribeTypeahead.pipe(xf((function(){return t})));this._subscription=this._subscribeToUserInput(n)}},{key:"ngOnDestroy",value:function(){this._closePopup(),this._unsubscribeFromUserInput(),this._zoneSubscription.unsubscribe()}},{key:"registerOnChange",value:function(e){this._onChange=e}},{key:"registerOnTouched",value:function(e){this._onTouched=e}},{key:"writeValue",value:function(e){this._writeInputValue(this._formatItemForInput(e)),this.showHint&&(this._inputValueBackup=e)}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"dismissPopup",value:function(){this.isPopupOpen()&&(this._resubscribeTypeahead.next(null),this._closePopup(),this.showHint&&null!==this._inputValueBackup&&this._writeInputValue(this._inputValueBackup),this._changeDetector.markForCheck())}},{key:"isPopupOpen",value:function(){return null!=this._windowRef}},{key:"handleBlur",value:function(){this._resubscribeTypeahead.next(null),this._onTouched()}},{key:"handleKeyDown",value:function(e){if(this.isPopupOpen())switch(e.which){case ub.ArrowDown:e.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case ub.ArrowUp:e.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case ub.Enter:case ub.Tab:var t=this._windowRef.instance.getActive();J_(t)&&(e.preventDefault(),e.stopPropagation(),this._selectResult(t)),this._closePopup()}}},{key:"_openPopup",value:function(){var e=this;this.isPopupOpen()||(this._inputValueBackup=this._elementRef.nativeElement.value,this._windowRef=this._popupService.open(),this._windowRef.instance.id=this.popupId,this._windowRef.instance.selectEvent.subscribe((function(t){return e._selectResultClosePopup(t)})),this._windowRef.instance.activeChangeEvent.subscribe((function(t){return e.activeDescendant=t})),"body"===this.container&&this._document.querySelector(this.container).appendChild(this._windowRef.location.nativeElement),this._changeDetector.markForCheck(),function(t,n,r,i,o,a,s,l){var u;t.runOutsideAngular((u=function(){var r=x_(n,"keydown").pipe(I_(o),of((function(e){return e.which===ub.Escape})),Vf((function(e){return e.preventDefault()}))),i=x_(n,"mousedown").pipe(V((function(e){var t=e.target;return 2!==e.button&&!hb(t,void 0)&&!hb(t,a)})),I_(o)),s=x_(n,"mouseup").pipe(D_(i),of((function(e){var t=_slicedToArray2(e,2);return t[0],t[1]})),function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u_,r=(t=e)instanceof Date&&!isNaN(+t)?+e-n.now():Math.abs(e);return function(e){return e.lift(new F_(r,n))}}(0),I_(o));(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){if(!c(t[0]))return t[0];t=t[0]}return q(t,void 0).lift(new E_)})([r.pipe(V((function(e){return 0}))),s.pipe(V((function(e){return 1})))]).subscribe((function(n){return t.run((function(){return e.dismissPopup()}))}))},fb?function(){return setTimeout((function(){return u()}),100)}:u))}(this._ngZone,this._document,0,0,this._closed$,[this._elementRef.nativeElement,this._windowRef.location.nativeElement]))}},{key:"_closePopup",value:function(){this._closed$.next(),this._popupService.close(),this._windowRef=null,this.activeDescendant=null}},{key:"_selectResult",value:function(e){var t=!1;this.selectItem.emit({item:e,preventDefault:function(){t=!0}}),this._resubscribeTypeahead.next(null),t||(this.writeValue(e),this._onChange(e))}},{key:"_selectResultClosePopup",value:function(e){this._selectResult(e),this._closePopup()}},{key:"_showHint",value:function(){var e;if(this.showHint&&(null===(e=this._windowRef)||void 0===e?void 0:e.instance.hasActive())&&null!=this._inputValueBackup){var t=this._inputValueBackup.toLowerCase(),n=this._formatItemForInput(this._windowRef.instance.getActive());t===n.substr(0,this._inputValueBackup.length).toLowerCase()?(this._writeInputValue(this._inputValueBackup+n.substr(this._inputValueBackup.length)),this._elementRef.nativeElement.setSelectionRange.apply(this._elementRef.nativeElement,[this._inputValueBackup.length,n.length])):this._writeInputValue(n)}}},{key:"_formatItemForInput",value:function(e){return null!=e&&this.inputFormatter?this.inputFormatter(e):Y_(e)}},{key:"_writeInputValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",Y_(e))}},{key:"_subscribeToUserInput",value:function(e){var t=this;return e.subscribe((function(e){e&&0!==e.length?(t._openPopup(),t._windowRef.instance.focusFirst=t.focusFirst,t._windowRef.instance.results=e,t._windowRef.instance.term=t._elementRef.nativeElement.value,t.resultFormatter&&(t._windowRef.instance.formatter=t.resultFormatter),t.resultTemplate&&(t._windowRef.instance.resultTemplate=t.resultTemplate),t._windowRef.instance.resetActive(),t._windowRef.changeDetectorRef.detectChanges(),t._showHint()):t._closePopup();var n=e?e.length:0;t._live.say(0===n?"No results available":"".concat(n," result").concat(1===n?"":"s"," available"))}))}},{key:"_unsubscribeFromUserInput",value:function(){this._subscription&&this._subscription.unsubscribe(),this._subscription=null}}]),e}()).\u0275fac=function(e){return new(e||pC)(Ea(Ys),Ea(Sc),Ea(nc),Ea(da),Ea($s),Ea(mC),Ea(Nl),Ea(gC),Ea(du),Ea(Nl),Ea($o),Ea(Jl))},pC.\u0275dir=kt({type:pC,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox","aria-multiline","false"],hostVars:7,hostBindings:function(e,t){1&e&&Ua("blur",(function(){return t.handleBlur()}))("keydown",(function(e){return t.handleKeyDown(e)})),2&e&&(xs("autocomplete",t.autocomplete),Oa("aria-autocomplete",t.showHint?"both":"list")("aria-activedescendant",t.activeDescendant)("aria-owns",t.isPopupOpen()?t.popupId:null)("aria-expanded",t.isPopupOpen()),hs("open",t.isPopupOpen()))},inputs:{autocomplete:"autocomplete",placement:"placement",container:"container",editable:"editable",focusFirst:"focusFirst",showHint:"showHint",inputFormatter:"inputFormatter",ngbTypeahead:"ngbTypeahead",resultFormatter:"resultFormatter",resultTemplate:"resultTemplate"},outputs:{selectItem:"selectItem"},exportAs:["ngbTypeahead"],features:[qs([yC])]}),pC),CC=((dC=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:dC}),dC.\u0275inj=pe({factory:function(e){return new(e||dC)},imports:[[ih]]}),dC),kC=[ob,ab,sb,cb,lb,Hb,Lb,$b,Yb,Jb,eC,tC,nC,iC,oC,aC,CC,rC],wC=((vC=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:vC}),vC.\u0275inj=pe({factory:function(e){return new(e||vC)},imports:[kC,ob,ab,sb,cb,lb,Hb,Lb,$b,Yb,Jb,eC,tC,nC,iC,oC,aC,CC,rC]}),vC),SC=["instance"];function TC(e,t){if(1&e&&(Da(0,"div"),Ps(1),Ga()),2&e){var n=t.$implicit;wi(1),Ms(" ",n," ")}}function PC(e,t){if(1&e&&(Da(0,"div",39),Ma(1,TC,2,1,"div",40),Ga()),2&e){var n=qa();wi(1),Na("ngForOf",n.errors)}}function OC(e,t){1&e&&(Da(0,"div",41),Ps(1," Zipcode must be at least 5 characters long. "),Ga())}var MC,xC,EC,AC,IC,NC,RC,DC,GC=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District Of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"],HC=[{path:"compliance",component:Lm},{path:"",component:qv,canActivate:[Zv]},{path:"menu",component:ey,canActivate:[Zv]},{path:"marketing-cloud-analytics-360",component:sy,canActivate:[Zv]},{path:"marketing-cloud-analytics-360/videos",component:sy,canActivate:[Zv]},{path:"sales-cloud-g-suite",component:hy,canActivate:[Zv]},{path:"sales-cloud-g-suite/videos",component:hy,canActivate:[Zv]},{path:"tableau-big-query",component:my,canActivate:[Zv]},{path:"tableau-big-query/videos",component:my,canActivate:[Zv]},{path:"video/:id",component:yy,canActivate:[Zv]},{path:"yeti/congratulations",component:_y,canActivate:[Zv]},{path:"yeti/form",component:(xC=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this.playCanvasService=t,this.formBuilder=n,this.http=r,this.visible=!1,this.status="ready",this.endpoint="https://salesforcevirtualadventures.com/add",this.environment=lu,this.jsonHeader={headers:new wy({"Content-Type":"application/json"})},this.icons={close:by.faTimes},this.focus$=new M,this.click$=new M,this.formGroup=this.formBuilder.group({first_name:new fm(null),last_name:new fm(null),home_address:new fm(null),home_address_2:new fm(null),city:new fm(null),state:new fm(null),zipcode:new fm(null,{validators:[kg.required,kg.minLength(5)],updateOn:"blur"}),phone_number:new fm(null),email:new fm(null),privacy:new fm(!1,[kg.requiredTrue])}),this.search=function(e){var t=e.pipe(h_(50),v_()),n=i.click$.pipe(of((function(){return!i.instance.isPopupOpen()})));return Q(t,i.focus$,n).pipe(V((function(e){return""===e?GC:GC.filter((function(t){return t.toLowerCase().indexOf(e.toLowerCase())>-1})).slice(0,10)})))}}return _createClass(e,[{key:"ngOnInit",value:function(){!this.environment.production&&this.environment.debug.autofillForm&&this.formGroup.patchValue({first_name:"Test",last_name:"User",home_address:"123 Main St",home_address_2:"Note to dev: Should not be required",city:"Charlotte",state:"NC",zipcode:"28215",phone_number:"1234567890",email:"test0003@gmail.com",privacy:!1})}},{key:"submit",value:function(e){var t=this;e.product=this.environment.stockName,e.source="GOOGLE",this.formGroup.valid&&"ready"===this.status&&(this.errors=[],this.status="loading",this.http.post(this.endpoint,e,this.jsonHeader).pipe(bf((function(e){var n,r;return t.errors="string"==typeof e.error?[e.error]:null===(r=null===(n=e.error)||void 0===n?void 0:n.errors)||void 0===r?void 0:r.map((function(e){return t.humanizeError(e)})),t.status="ready",y_(e.error)}))).subscribe((function(e){t.status="ready",t.playCanvasService.formSubmitted=!0,t.playCanvasService.sendStatus(),t.visible=!1})))}},{key:"humanizeError",value:function(e){var t;if("Invalid value"===e.msg){var n=e.param.replace(/_/g," ");"home address"===n?n="home address line 1":"home address 2"===n&&(n="home address line 2"),t="The ".concat(n," field is required.")}return t||(t="An unknown error has occurred."),t}},{key:"zipcode",get:function(){return this.formGroup.get("zipcode")}}]),e}(),xC.\u0275fac=function(e){return new(e||xC)(Ea(P_),Ea(Dm),Ea(Ky))},xC.\u0275cmp=gt({type:xC,selectors:[["app-yeti-form"]],viewQuery:function(e,t){var n;1&e&&nl(SC,!0),2&e&&tl(n=al())&&(t.instance=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},inputs:{visible:"visible"},decls:78,vars:10,consts:[["backgroundImage","assets/images/mobile-bg-yeti.jpg",2,"padding","58px 0 0"],[1,"container"],[1,"row"],[1,"col-lg-12","col-lg-12--no-padding-sm"],[1,"card","card--orange"],["routerLink","/yeti/congratulations",1,"card__close"],["autocomplete","false",3,"formGroup","submit"],["class","alert alert-danger","role","alert",4,"ngIf"],["class","alert alert-danger",4,"ngIf"],[1,"col-sm-6"],["for","first_name",1,"sr-only"],["type","search","id","first_name","formControlName","first_name","placeholder","First Name",1,"form-control"],["for","last_name",1,"sr-only"],["type","search","id","last_name","formControlName","last_name","placeholder","Last Name",1,"form-control"],[1,"col-sm-12"],["for","home_address",1,"sr-only"],["type","search","id","home_address","formControlName","home_address","placeholder","Address Line 1",1,"form-control"],["for","home_address_2",1,"sr-only"],["type","search","id","home_address_2","formControlName","home_address_2","placeholder","Address Line 2 (optional)",1,"form-control"],[1,"col-sm-4"],["for","city",1,"sr-only"],["type","search","id","city","formControlName","city","placeholder","City",1,"form-control"],["for","state",1,"sr-only"],["id","state","type","text","formControlName","state","placeholder","State",1,"form-control",3,"ngbTypeahead","editable","focus","click"],["instance","ngbTypeahead"],["for","zipcode",1,"sr-only"],["type","search","id","zipcode","formControlName","zipcode","placeholder","Zip",1,"form-control"],["for","phone_number",1,"sr-only"],["type","search","id","phone_number","formControlName","phone_number","placeholder","Phone",1,"form-control"],["for","email",1,"sr-only"],["type","search","id","email","formControlName","email","placeholder","Email",1,"form-control"],[1,"col-lg-12"],[1,"form-check"],["type","checkbox","formControlName","privacy",1,"form-check-input"],["href","https://www.salesforce.com/company/privacy/full_privacy/","target","_blank"],[1,"buttons"],["type","button","routerLink","/yeti/congratulations",1,"btn","btn-primary"],["type","submit",1,"btn","btn-primary",3,"disabled"],[1,"fine-print"],["role","alert",1,"alert","alert-danger"],[4,"ngFor","ngForOf"],[1,"alert","alert-danger"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),Da(1,"div",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Ha(5,"button",5),Da(6,"h1"),Ps(7," Please tell us where to ship your YETI"),Da(8,"sup"),Ps(9,"\xae"),Ga(),Ps(10,". "),Ga(),Da(11,"form",6),Ua("submit",(function(){return t.submit(t.formGroup.value)})),Ma(12,PC,2,1,"div",7),Ma(13,OC,2,0,"div",8),Da(14,"div",2),Da(15,"div",9),Da(16,"label",10),Ps(17,"First Name"),Ga(),Ha(18,"input",11),Ga(),Ga(),Da(19,"div",2),Da(20,"div",9),Da(21,"label",12),Ps(22,"Last Name"),Ga(),Ha(23,"input",13),Ga(),Ga(),Da(24,"div",2),Da(25,"div",14),Da(26,"label",15),Ps(27,"Address Line 1"),Ga(),Ha(28,"input",16),Ga(),Ga(),Da(29,"div",2),Da(30,"div",14),Da(31,"label",17),Ps(32,"Address Line 2 (optional)"),Ga(),Ha(33,"input",18),Ga(),Ga(),Da(34,"div",2),Da(35,"div",19),Da(36,"label",20),Ps(37,"City"),Ga(),Ha(38,"input",21),Ga(),Ga(),Da(39,"div",2),Da(40,"div",19),Da(41,"label",22),Ps(42,"State"),Ga(),Da(43,"input",23,24),Ua("focus",(function(e){return t.focus$.next(e.target.value)}))("click",(function(e){return t.click$.next(e.target.value)})),Ga(),Ga(),Ga(),Da(45,"div",2),Da(46,"div",19),Da(47,"label",25),Ps(48,"Zip"),Ga(),Ha(49,"input",26),Ga(),Ga(),Da(50,"div",2),Da(51,"div",9),Da(52,"label",27),Ps(53,"Phone"),Ga(),Ha(54,"input",28),Ga(),Ga(),Da(55,"div",2),Da(56,"div",9),Da(57,"label",29),Ps(58,"Email"),Ga(),Ha(59,"input",30),Ga(),Ga(),Da(60,"div",2),Da(61,"div",31),Da(62,"div",32),Da(63,"label"),Ha(64,"input",33),Ps(65," By registering, you confirm that you agree to the processing of your personal data by Salesforce as described in the "),Da(66,"a",34),Ps(67,"Privacy Statement"),Ga(),Ps(68,". "),Ga(),Ga(),Ga(),Ga(),Da(69,"div",2),Da(70,"div",31),Da(71,"div",35),Da(72,"button",36),Ps(73," Opt Out "),Ga(),Da(74,"button",37),Ps(75," Submit "),Ga(),Ga(),Ga(),Ga(),Da(76,"p",38),Ps(77," Limited time offer. While supplies last. Open to eligible attendees of the Salesforce + Google Virtual Experience starting on July 31, 2020, who reside in the United States (incl. DC). Employees, contractors, consultants, officers, directors or agents of the government or Salesforce and its promotional partners, advertising/promotion agencies, or suppliers, are not eligible to participate. Subject to verification of eligibility and availability. Limit one (1) per person. Color options may vary. Cannot deliver to P.O. boxes. Offer not sponsored by or associated with Yeti\xae. Offer subject to change at any time. Other terms and restrictions apply. "),Ga(),Ga(),Ga(),Ga(),Ga(),Ga(),Ga()),2&e&&(wi(11),hs("loading","loading"===t.status),Na("formGroup",t.formGroup),wi(1),Na("ngIf",(null==t.errors?null:t.errors.length)>0),wi(1),Na("ngIf",t.zipcode.invalid&&(t.zipcode.dirty||t.zipcode.touched)&&t.zipcode.errors.minlength),wi(30),Na("ngbTypeahead",t.search)("editable",!1),wi(31),hs("disabled",!t.formGroup.valid),Na("disabled",!t.formGroup.valid))},directives:[Xv,lv,mm,mg,bm,Ku,sg,gg,Nm,bC,ig,zu],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}.mobile-content[_ngcontent-%COMP%]{padding-top:58px}.card[_ngcontent-%COMP%]{border-radius:0}.card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{margin-bottom:8px}@media (max-width:767.98px){.col-lg-12--no-padding-sm[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}.gdpr[_ngcontent-%COMP%]{width:100%;max-width:820px;height:400px;overflow:auto}label[_ngcontent-%COMP%]{font-size:14px}.fine-print[_ngcontent-%COMP%]{font-size:11px;margin-top:1rem}.buttons[_ngcontent-%COMP%]{width:100%;max-width:420px;margin:0 auto;display:flex;justify-content:center;align-items:center}.buttons[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{width:100%;margin:0 1rem;text-transform:uppercase}"]}),xC),canActivate:[Zv]},{path:"yeti/confirmation",component:(MC=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}(),MC.\u0275fac=function(e){return new(e||MC)},MC.\u0275cmp=gt({type:MC,selectors:[["app-yeti-confirmation"]],decls:7,vars:1,consts:[["backgroundImage","assets/images/mobile-bg-yeti.jpg",3,"centerContent"],["routerLink","/yeti/form"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","card--orange"]],template:function(e,t){1&e&&(Da(0,"app-mobile-page",0),Ha(1,"app-back-button",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Da(5,"div",5),Ps(6," --confirmation-- "),Ga(),Ga(),Ga(),Ga(),Ga()),2&e&&Na("centerContent",!0)},directives:[Xv,ty,lv],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}"]}),MC),canActivate:[Zv]}],LC=((EC=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:EC}),EC.\u0275inj=pe({factory:function(e){return new(e||EC)},imports:[[Mv.forRoot(HC)],Mv]}),EC),VC={CHROME:"Chrome",FIREFOX:"Firefox",SAFARI:"Safari",OPERA:"Opera",IE:"IE",MS_EDGE:"MS-Edge",MS_EDGE_CHROMIUM:"MS-Edge-Chromium",FB_MESSANGER:"FB-Messanger",SAMSUNG:"Samsung",UCBROWSER:"UC-Browser",UNKNOWN:"Unknown"},FC={HTC:/HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel/,NEXUS_PHONE:/Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6/,DELL:/Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b/,MOTOROLA:new RegExp("Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|\n A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|\n MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|\n ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|\n WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|\n XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|\n XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052"),SAMSUNG:new RegExp("\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|\n GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|\n GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|\n GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|\n GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|\n GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|\n GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|\n GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|\n GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|\n GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|\n GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|\n GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|\n GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|\n GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|\n GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|\n GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|\n GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|\n GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|\n SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|\n SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|\n SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|\n SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|\n SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|\n SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|\n SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|\n SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|\n SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|\n SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|\n SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|\n SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|\n SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|\n SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|\n SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|\n SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|\n SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|\n SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|\n SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|\n SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|\n SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|\n SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|\n SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|\n SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|\n SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|\n SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|\n SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|\n SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|\n SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|\n SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|\n SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|\n GT-N7105|SCH-I535|SM-N900A|SM-N900T|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|\n GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|\n GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|\n SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|\n SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|\n SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F"),LG:new RegExp("\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|\n LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|\n C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|\n LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|\n VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|\n MS323|M257)"),SONY:/SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533/,ASUS:/Asus.*Galaxy|PadFone.*Mobile/,NOKIA_LUMIA:/Lumia [0-9]{3,4}/,MICROMAX:/Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b/,PALM:/PalmSource|Palm/,VERTU:/Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature/,PANTECH:new RegExp("PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|\n IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|\n IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|\n CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|\n P2000|P7040|P7000|C790"),FLY:/IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250/,WIKO:new RegExp("KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|\n SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|\n CINK KING|CINK PEAX|CINK SLIM|SUBLIM"),I_MOBILE:/i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)/,SIMVALLEY:/\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b/,WOLFGANG:/AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q/,ALCATEL:/Alcatel/,NINTENDO:/Nintendo (3DS|Switch)/,AMOI:/Amoi/,INQ:/INQ/,VITA:/\bVita\b/,BLACKBERRY:/\bBlackBerry\b|\bBB10\b|rim[0-9]+/,FIREFOX_OS:/\bFirefox-OS\b/,IPHONE:/\biPhone\b/,iPod:/\biPod\b/,ANDROID:/\bAndroid\b/,WINDOWS_PHONE:/\bWindows-Phone\b/,GENERIC_PHONE:new RegExp("Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|\n up.link|vodafone|\\bwap\\b|nokia|Nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser")},BC={iPad:/iPad|iPad.*Mobile/,NexusTablet:/Android.*Nexus[\s]+(7|9|10)/,GoogleTablet:/Android.*Pixel C/,SamsungTablet:new RegExp("SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|\n GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|\n SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|\n GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|\n SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|\n GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|\n SHV-E230S|SHW-M180K|SHW-M180L|SM-T290|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|\n SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|\n GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|\n SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|\n GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|\n SM-T510|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|\n SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|\n SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|\n SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|\n SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|\n SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|\n SM-T719|SM-T813|SM-T819|SM-T580|SM-T590|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|\n SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835"),Kindle:new RegExp("Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|\n KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome /[0-9.]+ (?!Mobile)"),SurfaceTablet:/Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)/,HPTablet:/HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10/,AsusTablet:new RegExp("^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|\n TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|\n Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|\n ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|\n ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b"),BlackBerryTablet:/PlayBook|RIM Tablet/,HTCtablet:/HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410/,MotorolaTablet:/xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617/,NookTablet:/Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2/,AcerTablet:new RegExp("Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|\n W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\n \\bA3-A20\\b|\\bA3-A30"),ToshibaTablet:/Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO/,LGTablet:/\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\b/,FujitsuTablet:/Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b/,PrestigioTablet:new RegExp("PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|\n PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|\n PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|\n PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|\n PMT5887|PMT5001|PMT5002"),LenovoTablet:new RegExp("Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|\n YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|\n B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304F|TB-X304L|TB-X704F|TB-8703F|Tab2A7-10F|TB2-X30L"),DellTablet:/Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7/,YarvikTablet:new RegExp("Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|\n TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|\n TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|\n TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|\n TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b"),MedionTablet:/Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB/,ArnovaTablet:/97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2/,IntensoTablet:/INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004/,IRUTablet:/M702pro/,MegafonTablet:/MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b/,EbodaTablet:/E-Boda (Supreme|Impresspeed|Izzycomm|Essential)/,AllViewTablet:/Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)/,ArchosTablet:new RegExp("\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10|\n Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b"),AinolTablet:/NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark/,NokiaLumiaTablet:/Lumia 2520/,SonyTablet:new RegExp("Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|\n SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|\n EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|\n SGP612|SGP712"),PhilipsTablet:/\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b/,CubeTablet:/Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT/,CobyTablet:new RegExp("MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|\n MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010"),MIDTablet:new RegExp("M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|\n MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|\n MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10"),MSITablet:new RegExp("MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|\n Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b"),SMiTTablet:/Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)/,RockChipTablet:/Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A/,FlyTablet:/IQ310|Fly Vision/,bqTablet:new RegExp("Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|\n Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus"),HuaweiTablet:new RegExp("MediaPad|MediaPad 7 Youth|MediaPad T3 10|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|\n S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-W09"),NecTablet:/\bN-06D|\bN-08D/,PantechTablet:/Pantech.*P4100/,BronchoTablet:/Broncho.*(N701|N708|N802|a710)/,VersusTablet:/TOUCHPAD.*[78910]|\bTOUCHTAB\b/,ZyncTablet:/z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900/,PositivoTablet:/TB07STA|TB10STA|TB07FTA|TB10FTA/,NabiTablet:/Android.*\bNabi/,KoboTablet:/Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build/,DanewTablet:/DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b/,TexetTablet:new RegExp("NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|\n TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|\n TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|\n TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|\n TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|\n TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|\n TB-436|TB-416|TB-146SE|TB-126SE"),PlaystationTablet:/Playstation.*(Portable|Vita)/,TrekstorTablet:/ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab/,PyleAudioTablet:/\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b/,AdvanTablet:new RegExp("Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|\n T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b"),DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|\n Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:/Android.*\bG1\b(?!\))/,MicromaxTablet:/Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b/,KarbonnTablet:/Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b/,AllFineTablet:/Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide/,PROSCANTablet:new RegExp("\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|\n PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|\n PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|\n PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b"),YONESTablet:/BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026/,ChangJiaTablet:new RegExp("TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|\n TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|\n TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|\n TPC10111|TPC10203|TPC10205|TPC10503"),GUTablet:/TX-A1301|TX-M9002|Q702|kf026/,PointOfViewTablet:new RegExp("TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|\n TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|\n TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|\n TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10"),OvermaxTablet:new RegExp("OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|\n MagicTab|Stream|TB-08|TB-09)|Qualcore 1027"),HCLTablet:/HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync/,DPSTablet:/DPS Dream 9|DPS Dual 7/,VistureTablet:/V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10/,CrestaTablet:/CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989/,MediatekTablet:/\bMT8125|MT8389|MT8135|MT8377\b/,ConcordeTablet:/Concorde([ ]+)?Tab|ConCorde ReadMan/,GoCleverTablet:new RegExp("GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|\n TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|\n GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|\n TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|\n TAB R104|TAB R83.3|TAB A1042"),ModecomTablet:new RegExp("FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|\n FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|\n FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003"),VoninoTablet:new RegExp("\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|\n Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|\n Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b"),ECSTablet:/V07OT2|TM105A|S10OT1|TR10CS1/,StorexTablet:/eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab/,VodafoneTablet:/SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497/,EssentielBTablet:/Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2/,RossMoorTablet:/RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711/,iMobileTablet:/i-mobile i-note/,TolinoTablet:/tolino tab [0-9.]+|tolino shine/,AudioSonicTablet:/\bC-22Q|T7-QC|T-17B|T-17P\b/,AMPETablet:/Android.* A78 /,SkkTablet:/Android.* (SKYPAD|PHOENIX|CYCLOPS)/,TecnoTablet:/TECNO P9|TECNO DP8D/,JXDTablet:new RegExp("Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|\n S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|\n P1000|P300|S18|S6600|S9100)\\b"),iJoyTablet:new RegExp("Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|\n Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|\n Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|\n Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|\n Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)"),FX2Tablet:/FX2 PAD7|FX2 PAD10/,XoroTablet:new RegExp("KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|\n PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|\n PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|\n TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151"),ViewsonicTablet:/ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a/,VerizonTablet:/QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1/,OdysTablet:/LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10/,CaptivaTablet:/CAPTIVA PAD/,IconbitTablet:new RegExp("NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|\n NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S"),TeclastTablet:new RegExp("T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\n \\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\n \\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\n \\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\n \\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\n \\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\n \\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\n \\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\n \\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi"),OndaTablet:new RegExp("\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|\n V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|\n V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|\n Vi40)\\b[s]+|V10 \\b4G\\b"),JaytechTablet:/TPC-PA762/,BlaupunktTablet:/Endeavour 800NG|Endeavour 1010/,DigmaTablet:/\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b/,EvolioTablet:/ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b/,LavaTablet:/QPAD E704|\bIvoryS\b|E-TAB IVORY|\bE-TAB\b/,AocTablet:/MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712/,MpmanTablet:new RegExp("MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\n \\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|\n MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010"),CelkonTablet:/CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b/,WolderTablet:new RegExp("miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|\n POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|\n FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b"),MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:/\bMI PAD\b|\bHM NOTE 1W\b/,NibiruTablet:/Nibiru M1|Nibiru Jupiter One/,NexoTablet:/NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI/,LeaderTablet:new RegExp("TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|\n TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100"),UbislateTablet:/UbiSlate[\s]?7C/,PocketBookTablet:/Pocketbook/,KocasoTablet:/\b(TB-1207)\b/,HisenseTablet:/\b(F5281|E2371)\b/,Hudl:/Hudl HT7S3|Hudl 2/,TelstraTablet:/T-Hub2/,GenericTablet:new RegExp("Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|\n A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|\n Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107")},jC={BLACKBERRY:"Blackberry",FIREFOX_OS:"Firefox-OS",CHROME_BOOK:"Chrome-Book",WINDOWS_PHONE:"Windows-Phone",VITA:"Vita",PS4:"PS4",CHROMECAST:"Chromecast",APPLE_TV:"Apple-TV",GOOGLE_TV:"Google-TV",ANDROID:"Android",Tesla:"Tesla",iPad:"iPad",IPHONE:"iPhone",iPod:"iPod",UNKNOWN:"Unknown",HTC:"HTC",NEXUS_PHONE:"Nexus Phone",NexusTablet:"Nexus Tablet",DELL:"Dell",MOTOROLA:"Motorola",SAMSUNG:"Samsung",LG:"LG",SONY:"Sony",ASUS:"Asus",NOKIA_LUMIA:"Nokia Lumia",MICROMAX:"Micromax",PALM:"Palm",VERTU:"Vertu",PANTECH:"PANTECH",FLY:"Fly",WIKO:"WIKO",I_MOBILE:"i-mobile",SIMVALLEY:"Simvalley",WOLFGANG:"Wolfgang",ALCATEL:"Alcatel",NINTENDO:"Nintendo",AMOI:"Amoi",INQ:"INQ",GENERIC_PHONE:"Generic Phone"},UC=Object.assign({},FC,BC,{FIREFOX_OS:{and:[/\bFirefox\b/,/\bMobile\b/]},CHROME_BOOK:/\bCrOS\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,CHROMECAST:/\bCrKey\b/,APPLE_TV:/^iTunes-AppleTV\/4.1$/,GOOGLE_TV:/\bGoogleTV\b/,Tesla:/Tesla\/([0-9]{4}.[0-9]{1,2}.?[0-9]{0,2}.?[0-9]{0,2})-(.{7})/}),zC={WINDOWS_3_11:/Win16/,WINDOWS_95:/(Windows 95|Win95|Windows_95)/,WINDOWS_ME:/(Win 9x 4.90|Windows ME)/,WINDOWS_98:/(Windows 98|Win98)/,WINDOWS_CE:/Windows CE/,WINDOWS_2000:/(Windows NT 5.0|Windows 2000)/,WINDOWS_XP:/(Windows NT 5.1|Windows XP)/,WINDOWS_SERVER_2003:/Windows NT 5.2/,WINDOWS_VISTA:/Windows NT 6.0/,WINDOWS_7:/(Windows 7|Windows NT 6.1)/,WINDOWS_8_1:/(Windows 8.1|Windows NT 6.3)/,WINDOWS_8:/(Windows 8|Windows NT 6.2)/,WINDOWS_10:/(Windows NT 10.0)/,WINDOWS_PHONE_7_5:/(Windows Phone OS 7.5)/,WINDOWS_PHONE_8_1:/(Windows Phone 8.1)/,WINDOWS_PHONE_10:/(Windows Phone 10)/,WINDOWS_NT_4_0:{and:[/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/,{not:/Windows NT 10.0/}]},MACOSX:/(MAC OS X\s*[^ 0-9])/,MACOSX_3:/(Darwin 10.3|Mac OS X 10.3)/,MACOSX_4:/(Darwin 10.4|Mac OS X 10.4)/,MACOSX_5:/(Mac OS X 10.5)/,MACOSX_6:/(Mac OS X 10.6)/,MACOSX_7:/(Mac OS X 10.7)/,MACOSX_8:/(Mac OS X 10.8)/,MACOSX_9:/(Mac OS X 10.9)/,MACOSX_10:/(Mac OS X 10.10)/,MACOSX_11:/(Mac OS X 10.11)/,MACOSX_12:/(Mac OS X 10.12)/,MACOSX_13:/(Mac OS X 10.13)/,MACOSX_14:/(Mac OS X 10.14)/,MACOSX_15:/(Mac OS X 10.15)/,iOS:/(iPhone OS\s*[0-9_]+)/},WC={CHROME:[/\bChrome\/([\d\.]+)\b/,/\bCriOS\/([\d\.]+)\b/,/\bHeadlessChrome\/([\d\.]+)\b/],FIREFOX:[/\bFirefox\/([\d\.]+)\b/,/\bFxiOS\/([\d\.]+)\b/],SAFARI:[/\bVersion\/([\d\.]+)\b/,/\bSafari\/([\d\.]+)\b/],OPERA:[/\bVersion\/([\d\.]+)\b/,/\bOPR\/([\d\.]+)\b/],IE:[/\bMSIE ([\d\.]+\w?)\b/,/\brv:([\d\.]+\w?)\b/],MS_EDGE:/\bEdg(?:e|A|iOS)\/([\d\.]+)\b/,MS_EDGE_CHROMIUM:/\bEdg\/([\d\.]+)\b/,SAMSUNG:/\bSamsungBrowser\/([\d\.]+)\b/,UCBROWSER:/\bUCBrowser\/([\d\.]+)\b/},KC=Object.keys(zC).reduce((function(e,t){return e[t]=zC[t],e}),{}),XC=Object.keys(WC).reduce((function(e,t){return e[VC[t]]=WC[t],e}),{}),qC=Object.freeze({BROWSERS:VC,MOBILES_RE:FC,TABLETS_RE:BC,DEVICES:jC,OS:{WINDOWS:"Windows",MAC:"Mac",IOS:"iOS",ANDROID:"Android",LINUX:"Linux",UNIX:"Unix",FIREFOX_OS:"Firefox-OS",CHROME_OS:"Chrome-OS",WINDOWS_PHONE:"Windows-Phone",UNKNOWN:"Unknown"},OS_VERSIONS:{WINDOWS_3_11:"windows-3-11",WINDOWS_95:"windows-95",WINDOWS_ME:"windows-me",WINDOWS_98:"windows-98",WINDOWS_CE:"windows-ce",WINDOWS_2000:"windows-2000",WINDOWS_XP:"windows-xp",WINDOWS_SERVER_2003:"windows-server-2003",WINDOWS_VISTA:"windows-vista",WINDOWS_7:"windows-7",WINDOWS_8_1:"windows-8-1",WINDOWS_8:"windows-8",WINDOWS_10:"windows-10",WINDOWS_PHONE_7_5:"windows-phone-7-5",WINDOWS_PHONE_8_1:"windows-phone-8-1",WINDOWS_PHONE_10:"windows-phone-10",WINDOWS_NT_4_0:"windows-nt-4-0",MACOSX_15:"mac-os-x-15",MACOSX_14:"mac-os-x-14",MACOSX_13:"mac-os-x-13",MACOSX_12:"mac-os-x-12",MACOSX_11:"mac-os-x-11",MACOSX_10:"mac-os-x-10",MACOSX_9:"mac-os-x-9",MACOSX_8:"mac-os-x-8",MACOSX_7:"mac-os-x-7",MACOSX_6:"mac-os-x-6",MACOSX_5:"mac-os-x-5",MACOSX_4:"mac-os-x-4",MACOSX_3:"mac-os-x-3",MACOSX_2:"mac-os-x-2",MACOSX:"mac-os-x",iOS:"iOS",UNKNOWN:"unknown"},OS_RE:{WINDOWS:{and:[{or:[/\bWindows|(Win\d\d)\b/,/\bWin 9x\b/]},{not:/\bWindows Phone\b/}]},MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\bWindows Phone\b/]}}]},IOS:{and:[{or:[/\biPad\b/,/\biPhone\b/,/\biPod\b/]},{not:/\bWindows Phone\b/}]},ANDROID:{and:[/\bAndroid\b/,{not:/\bWindows Phone\b/}]},LINUX:/\bLinux\b/,UNIX:/\bUNIX\b/,FIREFOX_OS:{and:[/\bFirefox\b/,/Mobile\b/]},CHROME_OS:/\bCrOS\b/,WINDOWS_PHONE:{or:[/\bIEMobile\b/,/\bWindows Phone\b/]},PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/},BROWSERS_RE:{CHROME:{and:[{or:[/\bChrome\b/,/\bCriOS\b/,/\bHeadlessChrome\b/]},{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},FIREFOX:{or:[/\bFirefox\b/,/\bFxiOS\b/]},SAFARI:{and:[/^((?!CriOS).)*\Safari\b.*$/,{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bWindows Phone\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},OPERA:{or:[/Opera\b/,/\bOPR\b/]},IE:{or:[/\bMSIE\b/,/\bTrident\b/,/^Mozilla\/5\.0 \(Windows NT 10\.0; Win64; x64\)$/]},MS_EDGE:{or:[/\bEdg(e|A|iOS)\b/]},MS_EDGE_CHROMIUM:/\bEdg\/\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/,FB_MESSANGER:/\bFBAN\/MessengerForiOS\b/,SAMSUNG:/\bSamsungBrowser\b/,UCBROWSER:/\bUCBrowser\b/},DEVICES_RE:UC,OS_VERSIONS_RE_MAP:zC,BROWSER_VERSIONS_RE_MAP:WC,OS_VERSIONS_RE:KC,BROWSER_VERSIONS_RE:XC}),QC=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"test",value:function(e,t){var n=this;return"string"==typeof t&&(t=new RegExp(t)),t instanceof RegExp?t.test(e):t&&Array.isArray(t.and)?t.and.every((function(t){return n.test(e,t)})):t&&Array.isArray(t.or)?t.or.some((function(t){return n.test(e,t)})):!(!t||!t.not||n.test(e,t.not))}},{key:"exec",value:function(e,t){var n=this;return"string"==typeof t&&(t=new RegExp(t)),t instanceof RegExp?t.exec(e):t&&Array.isArray(t)?t.reduce((function(t,r){return t||n.exec(e,r)}),null):null}}]),e}(),ZC=((AC=function(){function e(t){_classCallCheck(this,e),this.platformId=t,this.ua="",this.userAgent="",this.os="",this.browser="",this.device="",this.os_version="",this.browser_version="",this.reTree=new QC,oh(this.platformId)&&"undefined"!=typeof window&&(this.userAgent=window.navigator.userAgent),this.setDeviceInfo(this.userAgent)}return _createClass(e,[{key:"setDeviceInfo",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;t!==this.userAgent&&(this.userAgent=t);var n=[{const:"OS",prop:"os"},{const:"BROWSERS",prop:"browser"},{const:"DEVICES",prop:"device"},{const:"OS_VERSIONS",prop:"os_version"}];if(n.forEach((function(n){e[n.prop]=Object.keys(qC[n.const]).reduce((function(r,i){return"device"===qC[n.const][i]&&oh(e.platformId)&&(e.reTree.test(e.userAgent,BC.iPad)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)?(r[qC[n.const][i]]="iPad",Object):(r[qC[n.const][i]]=e.reTree.test(t,qC[n.const+"_RE"][i]),r)}),{})})),n.forEach((function(t){e[t.prop]=Object.keys(qC[t.const]).map((function(e){return qC[t.const][e]})).reduce((function(n,r){return"device"===t.prop&&n===qC[t.const].ANDROID?e[t.prop][r]?r:n:n===qC[t.const].UNKNOWN&&e[t.prop][r]?r:n}),qC[t.const].UNKNOWN)})),this.browser_version="0",this.browser!==VC.UNKNOWN){var r=this.reTree.exec(t,XC[this.browser]);r&&(this.browser_version=r[1])}}},{key:"getDeviceInfo",value:function(){return{userAgent:this.userAgent,os:this.os,browser:this.browser,device:this.device,os_version:this.os_version,browser_version:this.browser_version}}},{key:"isMobile",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;return!this.isTablet(t)&&!!Object.keys(FC).find((function(n){return e.reTree.test(t,FC[n])}))}},{key:"isTablet",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;return!(!oh(this.platformId)||!(this.reTree.test(this.userAgent,BC.iPad)||"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))||!!Object.keys(BC).find((function(n){return!!e.reTree.test(t,BC[n])}))}},{key:"isDesktop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent,t=[jC.PS4,jC.CHROME_BOOK,jC.UNKNOWN];return(this.device!==jC.UNKNOWN||!this.isMobile(e)&&!this.isTablet(e))&&t.indexOf(this.device)>-1}}]),e}()).\u0275fac=function(e){return new(e||AC)($e(ml))},AC.\u0275prov=fe({token:AC,factory:AC.\u0275fac,providedIn:"root"}),AC.ngInjectableDef=de({factory:function(){return new AC(Ye(ml))},token:AC,providedIn:"root"}),AC),$C=((DC=IC=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(){return{ngModule:IC,providers:[ZC]}}}]),e}()).\u0275mod=bt({type:DC}),DC.\u0275inj=pe({factory:function(e){return new(e||DC)},imports:[[ih]]}),DC),YC=((RC=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||RC)},RC.\u0275cmp=gt({type:RC,selectors:[["app-header"]],decls:2,vars:0,consts:[["href","https://www.salesforce.com/campaign/google/","target","_blank"]],template:function(e,t){1&e&&(Da(0,"a",0),Ps(1," See More from Salesforce\n"),Ga())},styles:["[_nghost-%COMP%]{height:38px;text-align:right;padding:0 1.8rem;display:flex;flex-direction:column;justify-content:center;align-items:flex-end;font-size:12px}a[_ngcontent-%COMP%]{text-decoration:underline}a[_ngcontent-%COMP%]:hover{text-decoration:none}"]}),RC),JC=((NC=function(){function e(t,n){_classCallCheck(this,e),this.playCanvasService=t,this.formBuilder=n,this.closed=new zc,this.visible=!1,this.formGroup=this.formBuilder.group({trackingAllowed:new fm(!0)})}return _createClass(e,[{key:"ngOnInit",value:function(){this.playCanvasService.formSubmitted=JSON.parse(localStorage.getItem("formSubmitted")),this.playCanvasService.allowTracking=JSON.parse(localStorage.getItem("allowTracking")),this.playCanvasService.regionUS=JSON.parse(localStorage.getItem("regionUS")),this.playCanvasService.allowTracking||(this.visible=!0)}},{key:"open",value:function(){this.visible=!0}},{key:"close",value:function(){this.visible=!1,this.playCanvasService.sendStatus(),this.closed.emit()}},{key:"yes",value:function(){this.playCanvasService.regionUS=!0,this.playCanvasService.allowTracking=this.formGroup.value.trackingAllowed,this.close()}},{key:"no",value:function(){this.playCanvasService.regionUS=!1,this.playCanvasService.allowTracking=this.formGroup.value.trackingAllowed,this.close()}}]),e}()).\u0275fac=function(e){return new(e||NC)(Ea(P_),Ea(Dm))},NC.\u0275cmp=gt({type:NC,selectors:[["app-compliance"]],hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},inputs:{visible:"visible"},outputs:{closed:"closed"},decls:16,vars:1,consts:[[1,"backdrop"],[1,"popup"],[1,"text-center",3,"formGroup"],[1,"buttons"],[1,"btn","btn-block","btn-primary",3,"click"],[1,"form-check"],["id","tracking-allowed","type","checkbox","formControlName","trackingAllowed",1,"form-check-input"],["for","tracking-allowed"],["href","https://www.salesforce.com/company/privacy/full_privacy/","target","_blank"]],template:function(e,t){1&e&&(Ha(0,"div",0),Da(1,"div",1),Da(2,"form",2),Da(3,"h1"),Ps(4,"Are you based in the U.S.?"),Ga(),Da(5,"div",3),Da(6,"button",4),Ua("click",(function(){return t.yes()})),Ps(7,"Yes"),Ga(),Da(8,"button",4),Ua("click",(function(){return t.no()})),Ps(9,"No"),Ga(),Ga(),Da(10,"div",5),Ha(11,"input",6),Da(12,"label",7),Ps(13," By checking this box, I consent to data processing as described in the "),Da(14,"a",8),Ps(15,"Salesforce Privacy Policy"),Ga(),Ga(),Ga(),Ga(),Ga()),2&e&&(wi(2),Na("formGroup",t.formGroup))},directives:[mm,mg,bm,ig,gg,Nm],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;color:#fff}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%] .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(popup-bg.2529ff5db1d84d7cf04a.jpg) no-repeat 0 0;background-size:cover;border-radius:25px;padding:2rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%] .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%] .backdrop[_ngcontent-%COMP%]{cursor:auto}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{width:100%;max-width:680px}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%]{margin:2rem 0}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase}.gdpr[_ngcontent-%COMP%]{width:100%;max-width:820px;height:400px;overflow:auto}h1[_ngcontent-%COMP%]{margin-bottom:1rem;font-weight:700}label[_ngcontent-%COMP%]{font-size:14px}.fine-print[_ngcontent-%COMP%]{font-size:11px}"]}),NC);function ek(e,t){if(1&e&&(Da(0,"dl"),Da(1,"dt"),Ps(2,"Message:"),Ga(),Da(3,"dd"),Ps(4),Ga(),Da(5,"dt"),Ps(6,"Param 1:"),Ga(),Da(7,"dd"),Ps(8),Ga(),Da(9,"dt"),Ps(10,"Param 2:"),Ga(),Da(11,"dd"),Ps(12),Ga(),Da(13,"dt"),Ps(14,"Param 3:"),Ga(),Da(15,"dd"),Ps(16),Ga(),Ga()),2&e){var n=qa();wi(4),Os(n.data.message),wi(4),Os(n.data.param1),wi(4),Os(n.data.param2),wi(4),Os(n.data.param3)}}var tk,nk=((tk=function(){function e(t){_classCallCheck(this,e),this.playCanvasService=t,this.closed=new zc,this.visible=!1}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"open",value:function(e){this.data=e,this.visible=!0}},{key:"close",value:function(){this.visible=!1,this.playCanvasService.sendStatus(),this.closed.emit()}}]),e}()).\u0275fac=function(e){return new(e||tk)(Ea(P_))},tk.\u0275cmp=gt({type:tk,selectors:[["app-popup-message"]],hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},outputs:{closed:"closed"},decls:7,vars:1,consts:[[1,"backdrop",3,"click"],[1,"popup"],[4,"ngIf"],[3,"click"]],template:function(e,t){1&e&&(Da(0,"div",0),Ua("click",(function(){return t.close()})),Ga(),Da(1,"div",1),Da(2,"p"),Ps(3,"popup-message works!"),Ga(),Ma(4,ek,17,4,"dl",2),Da(5,"button",3),Ua("click",(function(){return t.close()})),Ps(6,"Close me"),Ga(),Ga()),2&e&&(wi(4),Na("ngIf",t.data))},directives:[Ku],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%] .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(popup-bg.2529ff5db1d84d7cf04a.jpg) no-repeat 0 0;background-size:cover;border-radius:25px;padding:2rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%] .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{width:100%;max-width:640px}"]}),tk);function rk(e){return(rk="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ik(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ok(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){ik(e,t,n[t])}))}return e}function ak(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){i=!0,o=c}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var sk={},ck={};try{"undefined"!=typeof window&&(sk=window),"undefined"!=typeof document&&(ck=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&performance}catch(YO){}var lk=(sk.navigator||{}).userAgent,uk=void 0===lk?"":lk,hk=sk,fk=ck,dk=!!fk.documentElement&&!!fk.head&&"function"==typeof fk.addEventListener&&"function"==typeof fk.createElement,pk=(~uk.indexOf("MSIE")||uk.indexOf("Trident/"),[1,2,3,4,5,6,7,8,9,10]),vk=pk.concat([11,12,13,14,15,16,17,18,19,20]),gk={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},mk=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter",gk.GROUP,gk.SWAP_OPACITY,gk.PRIMARY,gk.SECONDARY].concat(pk.map((function(e){return"".concat(e,"x")}))).concat(vk.map((function(e){return"w-".concat(e)}))),hk.FontAwesomeConfig||{});fk&&"function"==typeof fk.querySelector&&[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=ak(e,2),n=t[1],r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=fk.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(t[0]));null!=r&&(mk[n]=r)}));var yk=ok({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},mk);yk.autoReplaceSvg||(yk.observeMutations=!1);var _k=ok({},yk);hk.FontAwesomeConfig=_k;var bk=hk||{};bk.___FONT_AWESOME___||(bk.___FONT_AWESOME___={}),bk.___FONT_AWESOME___.styles||(bk.___FONT_AWESOME___.styles={}),bk.___FONT_AWESOME___.hooks||(bk.___FONT_AWESOME___.hooks={}),bk.___FONT_AWESOME___.shims||(bk.___FONT_AWESOME___.shims=[]);var Ck=bk.___FONT_AWESOME___,kk=[];dk&&((fk.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(fk.readyState)||fk.addEventListener("DOMContentLoaded",(function e(){fk.removeEventListener("DOMContentLoaded",e),kk.map((function(e){return e()}))})));var wk,Sk=function(){},Tk="undefined"!=typeof global&&void 0!==global.process&&"function"==typeof global.process.emit,Pk="undefined"==typeof setImmediate?setTimeout:setImmediate,Ok=[];function Mk(){for(var e=0;e<Ok.length;e++)Ok[e][0](Ok[e][1]);Ok=[],wk=!1}function xk(e,t){Ok.push([e,t]),wk||(wk=!0,Pk(Mk,0))}function Ek(e){var t=e.owner,n=t._state,r=t._data,i=e[n],o=e.then;if("function"==typeof i){n="fulfilled";try{r=i(r)}catch(YO){Rk(o,YO)}}Ak(o,r)||("fulfilled"===n&&Ik(o,r),"rejected"===n&&Rk(o,r))}function Ak(e,t){var n;try{if(e===t)throw new TypeError("A promises callback cannot return that same promise.");if(t&&("function"==typeof t||"object"===rk(t))){var r=t.then;if("function"==typeof r)return r.call(t,(function(r){n||(n=!0,t===r?Nk(e,r):Ik(e,r))}),(function(t){n||(n=!0,Rk(e,t))})),!0}}catch(YO){return n||Rk(e,YO),!0}return!1}function Ik(e,t){e!==t&&Ak(e,t)||Nk(e,t)}function Nk(e,t){"pending"===e._state&&(e._state="settled",e._data=t,xk(Gk,e))}function Rk(e,t){"pending"===e._state&&(e._state="settled",e._data=t,xk(Hk,e))}function Dk(e){e._then=e._then.forEach(Ek)}function Gk(e){e._state="fulfilled",Dk(e)}function Hk(e){e._state="rejected",Dk(e),!e._handled&&Tk&&global.process.emit("unhandledRejection",e._data,e)}function Lk(e){global.process.emit("rejectionHandled",e)}function Vk(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof Vk==0)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,t){function n(e){Rk(t,e)}try{e((function(e){Ik(t,e)}),n)}catch(YO){n(YO)}}(e,this)}Vk.prototype={constructor:Vk,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(Sk),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,"rejected"===this._state&&Tk&&xk(Lk,this)),"fulfilled"===this._state||"rejected"===this._state?xk(Ek,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},Vk.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new Vk((function(t,n){var r=[],i=0;function o(e){return i++,function(n){r[e]=n,--i||t(r)}}for(var a,s=0;s<e.length;s++)(a=e[s])&&"function"==typeof a.then?a.then(o(s),n):r[s]=a;i||t(r)}))},Vk.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new Vk((function(t,n){for(var r,i=0;i<e.length;i++)(r=e[i])&&"function"==typeof r.then?r.then(t,n):t(r)}))},Vk.resolve=function(e){return e&&"object"===rk(e)&&e.constructor===Vk?e:new Vk((function(t){t(e)}))},Vk.reject=function(e){return new Vk((function(t,n){n(e)}))};var Fk={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Bk(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function jk(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Uk(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function zk(e){return e.size!==Fk.size||e.x!==Fk.x||e.y!==Fk.y||e.rotate!==Fk.rotate||e.flipX||e.flipY}function Wk(e){var t=e.transform,n=e.iconWidth,r={transform:"translate(".concat(e.containerWidth/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),o="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),a="rotate(".concat(t.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(i," ").concat(o," ").concat(a)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}var Kk={x:0,y:0,width:"100%",height:"100%"};function Xk(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function qk(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,o=e.iconName,a=e.transform,s=e.symbol,c=e.title,l=e.maskId,u=e.titleId,h=e.extra,f=e.watchable,d=void 0!==f&&f,p=r.found?r:n,v=p.width,g=p.height,m="fa-w-".concat(Math.ceil(v/g*16)),y=[_k.replacementClass,o?"".concat(_k.familyPrefix,"-").concat(o):"",m].filter((function(e){return-1===h.classes.indexOf(e)})).concat(h.classes).join(" "),_={children:[],attributes:ok({},h.attributes,{"data-prefix":i,"data-icon":o,class:y,role:h.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(v," ").concat(g)})};d&&(_.attributes["data-fa-i2svg"]=""),c&&_.children.push({tag:"title",attributes:{id:_.attributes["aria-labelledby"]||"title-".concat(u||Bk())},children:[c]});var b=ok({},_,{prefix:i,iconName:o,main:n,mask:r,maskId:l,transform:a,symbol:s,styles:h.styles}),C=r.found&&n.found?function(e){var t,n=e.children,r=e.attributes,i=e.main,o=e.mask,a=e.maskId,s=i.icon,c=o.icon,l=Wk({transform:e.transform,containerWidth:o.width,iconWidth:i.width}),u={tag:"rect",attributes:ok({},Kk,{fill:"white"})},h=s.children?{children:s.children.map(Xk)}:{},f={tag:"g",attributes:ok({},l.inner),children:[Xk(ok({tag:s.tag,attributes:ok({},s.attributes,l.path)},h))]},d={tag:"g",attributes:ok({},l.outer),children:[f]},p="mask-".concat(a||Bk()),v="clip-".concat(a||Bk()),g={tag:"mask",attributes:ok({},Kk,{id:p,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[u,d]},m={tag:"defs",children:[{tag:"clipPath",attributes:{id:v},children:(t=c,"g"===t.tag?t.children:[t])},g]};return n.push(m,{tag:"rect",attributes:ok({fill:"currentColor","clip-path":"url(#".concat(v,")"),mask:"url(#".concat(p,")")},Kk)}),{children:n,attributes:r}}(b):function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,o=Uk(e.styles);if(o.length>0&&(n.style=o),zk(i)){var a=Wk({transform:i,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:ok({},a.outer),children:[{tag:"g",attributes:ok({},a.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:ok({},r.icon.attributes,a.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(b),k=C.attributes;return b.children=C.children,b.attributes=k,s?function(e){var t=e.iconName,n=e.children,r=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ok({},e.attributes,{id:!0===r?"".concat(e.prefix,"-").concat(_k.familyPrefix,"-").concat(t):r}),children:n}]}]}(b):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(zk(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};i.style=Uk(ok({},o,{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(b)}var Qk=function(e,t,n,r){var i,o,a,s=Object.keys(e),c=s.length,l=void 0!==r?function(e,t){return function(n,r,i,o){return e.call(t,n,r,i,o)}}(t,r):t;for(void 0===n?(i=1,a=e[s[0]]):(i=0,a=n);i<c;i++)a=l(a,e[o=s[i]],o,e);return a};function Zk(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,o=Object.keys(t).reduce((function(e,n){var r=t[n];return r.icon?e[r.iconName]=r.icon:e[n]=r,e}),{});"function"!=typeof Ck.hooks.addPack||i?Ck.styles[e]=ok({},Ck.styles[e]||{},o):Ck.hooks.addPack(e,o),"fas"===e&&Zk("fa",t)}var $k=Ck.styles,Yk=Ck.shims,Jk=function(){var e=function(e){return Qk($k,(function(t,n,r){return t[r]=Qk(n,e,{}),t}),{})};e((function(e,t,n){return t[3]&&(e[t[3]]=n),e})),e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in $k;Qk(Yk,(function(e,n){var r=n[1];return"far"!==r||t||(r="fas"),e[n[0]]={prefix:r,iconName:n[2]},e}),{})};function ew(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function tw(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,i=e.children,o=void 0===i?[]:i;return"string"==typeof e?jk(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(jk(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(tw).join(""),"</").concat(t,">")}function nw(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}Jk(),(nw.prototype=Object.create(Error.prototype)).constructor=nw;var rw={fill:"currentColor"},iw={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},ow=(ok({},rw,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"}),ok({},iw,{attributeName:"opacity"}));function aw(e){var t=e[0],n=e[1],r=ak(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(_k.familyPrefix,"-").concat(gk.GROUP)},children:[{tag:"path",attributes:{class:"".concat(_k.familyPrefix,"-").concat(gk.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(_k.familyPrefix,"-").concat(gk.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}function sw(){_k.autoAddCss&&!mw&&(function(e){if(e&&dk){var t=fk.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=fk.head.childNodes,r=null,i=n.length-1;i>-1;i--){var o=n[i],a=(o.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=o)}fk.head.insertBefore(t,r)}}(function(){var e="svg-inline--fa",t=_k.familyPrefix,n=_k.replacementClass,r='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}\n\n.svg-inline--fa .fa-primary {\n fill: var(--fa-primary-color, currentColor);\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n fill: var(--fa-secondary-color, currentColor);\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n opacity: 0.4;\n opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n opacity: 1;\n opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n fill: black;\n}\n\n.fad.fa-inverse {\n color: #fff;\n}';if("fa"!==t||n!==e){var i=new RegExp("\\.".concat("fa","\\-"),"g"),o=new RegExp("\\--".concat("fa","\\-"),"g"),a=new RegExp("\\.".concat(e),"g");r=r.replace(i,".".concat(t,"-")).replace(o,"--".concat(t,"-")).replace(a,".".concat(n))}return r}()),mw=!0)}function cw(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return tw(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(dk){var t=fk.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function lw(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return ew(gw.definitions,n,r)||ew(Ck.styles,n,r)}ok({},rw,{cx:"256",cy:"364",r:"28"}),ok({},iw,{attributeName:"r",values:"28;14;28;28;14;28;"}),ok({},ow,{values:"1;0;1;1;0;1;"}),ok({},rw,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),ok({},ow,{values:"1;0;0;0;0;1;"}),ok({},rw,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),ok({},ow,{values:"0;0;1;1;0;0;"});var uw,hw,fw,dw,pw,vw,gw=new(function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t;return(t=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(t){e.definitions[t]=ok({},e.definitions[t]||{},i[t]),Zk(t,i[t]),Jk()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],i=r.prefix,o=r.iconName,a=r.icon;e[i]||(e[i]={}),e[i][o]=a})),e}}])&&function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}()),mw=!1,yw=(uw=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Fk:n,i=t.symbol,o=void 0!==i&&i,a=t.mask,s=void 0===a?null:a,c=t.maskId,l=void 0===c?null:c,u=t.title,h=void 0===u?null:u,f=t.titleId,d=void 0===f?null:f,p=t.classes,v=void 0===p?[]:p,g=t.attributes,m=void 0===g?{}:g,y=t.styles,_=void 0===y?{}:y;if(e){var b=e.prefix,C=e.iconName,k=e.icon;return cw(ok({type:"icon"},e),(function(){return sw(),_k.autoA11y&&(h?m["aria-labelledby"]="".concat(_k.replacementClass,"-title-").concat(d||Bk()):(m["aria-hidden"]="true",m.focusable="false")),qk({icons:{main:aw(k),mask:s?aw(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:b,iconName:C,transform:ok({},Fk,r),symbol:o,title:h,maskId:l,titleId:d,extra:{attributes:m,styles:_,classes:v}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:lw(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:lw(r||{})),uw(n,ok({},t,{mask:r}))}),_w=((fw=function e(){_classCallCheck(this,e),this.defaultPrefix="fas",this.fallbackIcon=null,this.globalLibrary=!1}).\u0275fac=function(e){return new(e||fw)},fw.\u0275prov=fe({factory:function(){return new fw},token:fw,providedIn:"root"}),fw),bw=((hw=function(){function e(){_classCallCheck(this,e),this.definitions={}}return _createClass(e,[{key:"addIcons",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r=0,i=t;r<i.length;r++){var o=i[r];o.prefix in this.definitions||(this.definitions[o.prefix]={}),this.definitions[o.prefix][o.iconName]=o}}},{key:"addIconPacks",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var i=function(){var t=a[o],n=Object.keys(t).map((function(e){return t[e]}));e.addIcons.apply(e,_toConsumableArray(n))},o=0,a=n;o<a.length;o++)i()}},{key:"getIconDefinition",value:function(e,t){return e in this.definitions&&t in this.definitions[e]?this.definitions[e][t]:null}}]),e}()).\u0275fac=function(e){return new(e||hw)},hw.\u0275prov=fe({factory:function(){return new hw},token:hw,providedIn:"root"}),hw),Cw=((vw=function(){function e(){_classCallCheck(this,e),this.stackItemSize="1x"}return _createClass(e,[{key:"ngOnChanges",value:function(e){if("size"in e)throw new Error('fa-icon is not allowed to customize size when used inside fa-stack. Set size on the enclosing fa-stack instead: <fa-stack size="4x">...</fa-stack>.')}}]),e}()).\u0275fac=function(e){return new(e||vw)},vw.\u0275dir=kt({type:vw,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[Ls]}),vw),kw=((pw=function(){function e(t,n,r,i){_classCallCheck(this,e),this.sanitizer=t,this.config=n,this.iconLibrary=r,this.stackItem=i,this.classes=[]}return _createClass(e,[{key:"ngOnChanges",value:function(e){if(null==this.icon&&null==this.config.fallbackIcon)return function(){throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")}();var t;if(t=null==this.icon?this.config.fallbackIcon:this.icon,e){var n=this.findIconDefinition(t);if(null!=n){var r=this.buildParams();this.renderIcon(n,r)}}}},{key:"render",value:function(){this.ngOnChanges({})}},{key:"findIconDefinition",value:function(e){var t=function(e,t){return void 0!==(n=e).prefix&&void 0!==n.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:t,iconName:e}:void 0;var n}(e,this.config.defaultPrefix);if("icon"in t)return t;var n=this.iconLibrary.getIconDefinition(t.prefix,t.iconName);if(null!=n)return n;var r=lw(t);if(null!=r){var i="Global icon library is deprecated. Consult https://github.com/FortAwesome/angular-fontawesome/blob/master/UPGRADING.md for the migration instructions.";if("unset"===this.config.globalLibrary)console.error("FontAwesome: "+i);else if(!this.config.globalLibrary)throw new Error(i);return r}return function(e){throw new Error("Could not find icon with iconName=".concat(e.iconName," and prefix=").concat(e.prefix," in the icon library."))}(t),null}},{key:"buildParams",value:function(){var e,t,n,r,i,o={flip:this.flip,spin:this.spin,pulse:this.pulse,border:this.border,inverse:this.inverse,size:this.size||null,pull:this.pull||null,rotate:this.rotate||null,fixedWidth:"boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth,stackItemSize:null!=this.stackItem?this.stackItem.stackItemSize:null},a="string"==typeof this.transform?(e=this.transform,t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0},e?e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],i=n.slice(1).join("-");if(r&&"h"===i)return e.flipX=!0,e;if(r&&"v"===i)return e.flipY=!0,e;if(i=parseFloat(i),isNaN(i))return e;switch(r){case"grow":e.size=e.size+i;break;case"shrink":e.size=e.size-i;break;case"left":e.x=e.x-i;break;case"right":e.x=e.x+i;break;case"up":e.y=e.y-i;break;case"down":e.y=e.y+i;break;case"rotate":e.rotate=e.rotate+i}return e}),t):t):this.transform;return{title:this.title,transform:a,classes:[].concat(_toConsumableArray((n=o,_defineProperty2(r={"fa-spin":n.spin,"fa-pulse":n.pulse,"fa-fw":n.fixedWidth,"fa-border":n.border,"fa-inverse":n.inverse,"fa-layers-counter":n.counter,"fa-flip-horizontal":"horizontal"===n.flip||"both"===n.flip,"fa-flip-vertical":"vertical"===n.flip||"both"===n.flip},"fa-"+n.size,null!==n.size),_defineProperty2(r,"fa-rotate-"+n.rotate,null!==n.rotate),_defineProperty2(r,"fa-pull-"+n.pull,null!==n.pull),_defineProperty2(r,"fa-stack-"+n.stackItemSize,null!=n.stackItemSize),i=r,Object.keys(i).map((function(e){return i[e]?e:null})).filter((function(e){return e})))),_toConsumableArray(this.classes)),mask:null!=this.mask?this.findIconDefinition(this.mask):null,styles:null!=this.styles?this.styles:{},symbol:this.symbol,attributes:{role:this.a11yRole}}}},{key:"renderIcon",value:function(e,t){var n=yw(e,t);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(n.html.join("\n"))}}]),e}()).\u0275fac=function(e){return new(e||pw)(Ea(Uh),Ea(_w),Ea(bw),Ea(Cw,8))},pw.\u0275cmp=gt({type:pw,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(e,t){2&e&&(xs("innerHTML",t.renderedIconHTML,$r),Oa("title",t.title))},inputs:{classes:"classes",icon:"icon",title:"title",spin:"spin",pulse:"pulse",mask:"mask",styles:"styles",flip:"flip",size:"size",pull:"pull",border:"border",inverse:"inverse",symbol:"symbol",rotate:"rotate",fixedWidth:"fixedWidth",transform:"transform",a11yRole:"a11yRole"},features:[Ls],decls:0,vars:0,template:function(e,t){},encapsulation:2}),pw),ww=((dw=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:dw}),dw.\u0275inj=pe({factory:function(e){return new(e||dw)}}),dw),Sw=["video"];function Tw(e,t){1&e&&(Da(0,"div",9),Da(1,"a",10),Ps(2," Read White Paper "),Ga(),Ga())}function Pw(e,t){1&e&&(Da(0,"div",9),Da(1,"a",10),Ps(2," Read White Paper "),Ga(),Ga())}function Ow(e,t){1&e&&(Da(0,"div",9),Da(1,"a",11),Ps(2," Read Data Sheet "),Ga(),Ga())}function Mw(e,t){1&e&&(Da(0,"div",12),Da(1,"a",13),Ps(2," Visit Trailhead "),Ga(),Da(3,"a",14),Ps(4," Download "),Ga(),Ga())}function xw(e,t){if(1&e&&(La(0),Ma(1,Tw,3,0,"div",7),Ma(2,Pw,3,0,"div",7),Ma(3,Ow,3,0,"div",7),Ma(4,Mw,5,0,"div",8),Va()),2&e){var n=qa();wi(1),Na("ngIf","Zulily_Box"===n.videoKey),wi(1),Na("ngIf","Zulily_Viewfinder"===n.videoKey),wi(1),Na("ngIf","Yeti_Sign_R"===n.videoKey),wi(1),Na("ngIf","PWC_Sign_Bottom"===n.videoKey)}}function Ew(e,t){1&e&&(Da(0,"div",17),Da(1,"div",18),Da(2,"div",19),Da(3,"div",20),Da(4,"p"),Ps(5," Learn additional best practices for optimizing Tableau and BigQuery "),Ga(),Da(6,"a",21),Ps(7," READ WHITE PAPER "),Ga(),Ga(),Ga(),Ga(),Ga())}function Aw(e,t){1&e&&(Da(0,"div",22),Da(1,"div",18),Da(2,"div",19),Da(3,"div",23),Da(4,"p"),Ps(5," Learn new skills from anywhere with Trailhead "),Ga(),Da(6,"a",24),Ps(7," VISIT TRAILHEAD "),Ga(),Ga(),Da(8,"div",23),Da(9,"p"),Ps(10," Test your technology knowledge with PwC's Digital Fitness app "),Ga(),Da(11,"a",24),Ps(12," DOWNLOAD "),Ga(),Ga(),Ga(),Ga(),Ga())}function Iw(e,t){if(1&e&&(La(0),Ma(1,Ew,8,0,"div",15),Ma(2,Aw,13,0,"div",16),Va()),2&e){var n=qa();wi(1),Na("ngIf","Zulily_Box"===n.videoKey),wi(1),Na("ngIf","PWC_Sign_Bottom"===n.videoKey)}}var Nw,Rw=((Nw=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this.playCanvasService=t,this.sanitizer=n,this.renderer=r,this.environment=lu,this.closed=new zc,this.visible=!1,this.hasCtasBar=!1,this.achievementAcquired=!1,this.icons={close:by.faTimes},this.shouldShowCtaBarNow=!1,this.supposedCurrentTime=0,this.ngOnInit=function(){return i.calculateChanges()},this.ngOnChanges=function(){return i.calculateChanges()}}return _createClass(e,[{key:"ngAfterViewInit",value:function(){var e=this;lu.disableScrubbing&&(this.video.nativeElement.addEventListener("timeupdate",(function(){e.video.nativeElement.seeking||(e.supposedCurrentTime=e.video.nativeElement.currentTime)})),this.video.nativeElement.addEventListener("seeking",(function(){e.video.nativeElement.currentTime-e.supposedCurrentTime>.01&&(e.video.nativeElement.currentTime=e.supposedCurrentTime)})),this.video.nativeElement.addEventListener("ended",(function(){return e.supposedCurrentTime=0})))}},{key:"calculateChanges",value:function(){this.src=this.sanitizer.bypassSecurityTrustResourceUrl(this.videoId),this.shouldShowCtaBarNow=!1,this.supposedCurrentTime=0,this.hasCtasBar=lu.showVideoCtaBars&&["Zulily_Box","PWC_Sign_Bottom"].includes(this.videoKey)}},{key:"open",value:function(e){var t=this;this.progressListener=this.renderer.listen(this.video.nativeElement,"timeupdate",(function(){var e=Math.floor(100/t.video.nativeElement.duration*t.video.nativeElement.currentTime);t.shouldShowCtaBarNow=e>=99,e>=95&&(t.achievementAcquired=!0)})),this.achievementAcquired=!1,this.videoKey=e,this.videoId=lu.videos[e],this.visible=!0,this.calculateChanges()}},{key:"close",value:function(){this.visible=!1,this.video.nativeElement.pause(),this.progressListener(),this.src=null,this.closed.emit(),this.achievementAcquired&&(this.playCanvasService.setProgress(this.videoKey,!0),this.playCanvasService.sendStatus())}}]),e}()).\u0275fac=function(e){return new(e||Nw)(Ea(P_),Ea(Uh),Ea(nc))},Nw.\u0275cmp=gt({type:Nw,selectors:[["app-popup-video"]],viewQuery:function(e,t){var n;1&e&&rl(Sw,!0),2&e&&tl(n=al())&&(t.video=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},outputs:{closed:"closed"},decls:8,vars:6,consts:[[1,"backdrop",3,"click"],[1,"popup"],["width","820","height","461","autoplay","","controls","",3,"src"],["video",""],[1,"close",3,"click"],[3,"icon"],[4,"ngIf"],["class","cta-overlay cta-overlay--zulily",4,"ngIf"],["class","cta-overlay cta-overlay--pwc",4,"ngIf"],[1,"cta-overlay","cta-overlay--zulily"],["target","_blank","href","https://drive.google.com/file/d/1evY40Rk929KyBSo3zrKc0SRGWKKKCm4f/view?usp=sharing",1,"right"],["target","_blank","href","https://www.salesforce.com/content/dam/web/en_us/www/documents/datasheets/know-your-customer-data-sheet.pdf",1,"right"],[1,"cta-overlay","cta-overlay--pwc"],["target","_blank","href","https://trailhead.salesforce.com/users/teamtrailhead/trailmixes/salesforce-google-virtual-adventure",1,"left"],["target","_blank","href","https://www.pwc.com/us/en/products/digital-fitness.html",1,"right"],["class","cta-bar cta-bar--purple",4,"ngIf"],["class","cta-bar cta-bar--teal",4,"ngIf"],[1,"cta-bar","cta-bar--purple"],[1,"container-fluid"],[1,"row"],[1,"col-lg-12"],["target","_blank","href","https://drive.google.com/file/d/1evY40Rk929KyBSo3zrKc0SRGWKKKCm4f/view?usp=sharing",1,"btn","btn-primary"],[1,"cta-bar","cta-bar--teal"],[1,"col-md-6"],["target","_blank","href","https://trailhead.salesforce.com/users/teamtrailhead/trailmixes/salesforce-google-virtual-adventure",1,"btn","btn-primary"]],template:function(e,t){1&e&&(Da(0,"div",0),Ua("click",(function(){return t.close()})),Ga(),Da(1,"div",1),Ha(2,"video",2,3),Da(4,"button",4),Ua("click",(function(){return t.close()})),Ha(5,"fa-icon",5),Ga(),Ma(6,xw,5,4,"ng-container",6),Ma(7,Iw,3,2,"ng-container",6),Ga()),2&e&&(wi(1),hs("has-ctas",t.hasCtasBar),wi(1),Na("src",t.src,Jr),wi(3),Na("icon",t.icons.close),wi(1),Na("ngIf",t.environment.showVideoCtaOverlays&&t.shouldShowCtaBarNow),wi(1),Na("ngIf",t.hasCtasBar))},directives:[kw,Ku],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;display:flex;padding:80px}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%] .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(popup-bg.2529ff5db1d84d7cf04a.jpg) no-repeat 0 0;border-radius:25px;padding:2rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%] .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{background:transparent url(video-bg.2cd90c80a521deca897e.png) no-repeat 50%;background-size:cover;width:calc(100% - 40px);max-width:1280px;height:0;padding-bottom:calc(56.25% - 40px);overflow:visible}@media (min-width:1280px){[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{padding-bottom:0;height:740px}}[_nghost-%COMP%] .popup.has-ctas[_ngcontent-%COMP%]{transform:translate(-50%,calc(-50% - 90px));border-bottom-left-radius:0;border-bottom-right-radius:0}[_nghost-%COMP%] video[_ngcontent-%COMP%]{width:calc(100% - 40px);height:calc(100% - 40px);position:absolute;top:20px;left:20px}[_nghost-%COMP%] .close[_ngcontent-%COMP%]{top:-10px;right:-7px;font-size:31px}[_nghost-%COMP%] .cta-overlay[_ngcontent-%COMP%]{position:absolute;height:18%;bottom:8%;left:20px;width:calc(100% - 40px);pointer-events:none}[_nghost-%COMP%] .cta-overlay--pwc[_ngcontent-%COMP%]{bottom:19%;height:20%}[_nghost-%COMP%] .cta-overlay[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%;height:100%;pointer-events:all;background:transparent;color:transparent}[_nghost-%COMP%] .cta-overlay[_ngcontent-%COMP%] a.left[_ngcontent-%COMP%], [_nghost-%COMP%] .cta-overlay[_ngcontent-%COMP%] a.right[_ngcontent-%COMP%]{width:50%}[_nghost-%COMP%] .cta-overlay[_ngcontent-%COMP%] a.right[_ngcontent-%COMP%]{left:auto;right:0}[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%]{height:90px;position:absolute;bottom:-90px;left:0;width:100%;background:#3a837d;border-bottom-left-radius:25px;border-bottom-right-radius:25px;color:#fff}[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] .container-fluid[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%}[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] .col-lg-12[_ngcontent-%COMP%], [_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] .col-md-6[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin:1px 0;padding-left:30px;padding-right:30px}@media (min-width:1024px){[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] .col-lg-12[_ngcontent-%COMP%], [_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] .col-md-6[_ngcontent-%COMP%]{height:58px}}[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0;font-size:18px}@media (max-width:1024px){[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px}}[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{min-width:180px;margin-left:12px;color:#3a837d}@media (max-width:1440px){[_nghost-%COMP%] .cta-bar[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{font-size:14px}}[_nghost-%COMP%] .cta-bar--purple[_ngcontent-%COMP%]{background:#472546}[_nghost-%COMP%] .cta-bar--purple[_ngcontent-%COMP%] .col-lg-12[_ngcontent-%COMP%]{justify-content:center}[_nghost-%COMP%] .cta-bar--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#472546}"]}),Nw),Dw=["instance"];function Gw(e,t){if(1&e&&(Da(0,"div"),Ps(1),Ga()),2&e){var n=t.$implicit;wi(1),Ms(" ",n," ")}}function Hw(e,t){if(1&e&&(Da(0,"div",38),Ma(1,Gw,2,1,"div",39),Ga()),2&e){var n=qa();wi(1),Na("ngForOf",n.errors)}}function Lw(e,t){1&e&&(Da(0,"div",40),Ps(1," Zipcode must be at least 5 characters long. "),Ga())}var Vw,Fw,Bw,jw,Uw,zw=["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District Of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"],Ww=((Bw=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this.playCanvasService=t,this.formBuilder=n,this.http=r,this.closed=new zc,this.submitted=new zc,this.visible=!1,this.status="ready",this.endpoint="https://salesforcevirtualadventures.com/add",this.environment=lu,this.jsonHeader={headers:new wy({"Content-Type":"application/json"})},this.icons={close:by.faTimes},this.focus$=new M,this.click$=new M,this.formGroup=this.formBuilder.group({first_name:new fm(null),last_name:new fm(null),home_address:new fm(null),home_address_2:new fm(null),city:new fm(null),state:new fm(null),zipcode:new fm(null,{validators:[kg.required,kg.minLength(5)],updateOn:"blur"}),phone_number:new fm(null),email:new fm(null),privacy:new fm(!1,[kg.requiredTrue])}),this.search=function(e){var t=e.pipe(h_(50),v_()),n=i.click$.pipe(of((function(){return!i.instance.isPopupOpen()})));return Q(t,i.focus$,n).pipe(V((function(e){return""===e?zw:zw.filter((function(t){return t.toLowerCase().indexOf(e.toLowerCase())>-1})).slice(0,10)})))}}return _createClass(e,[{key:"ngOnInit",value:function(){!this.environment.production&&this.environment.debug.autofillForm&&this.formGroup.patchValue({first_name:"Test",last_name:"User",home_address:"123 Main St",home_address_2:"Note to dev: Should not be required",city:"Charlotte",state:"NC",zipcode:"28215",phone_number:"1234567890",email:"test0003@gmail.com",privacy:!1})}},{key:"open",value:function(){this.visible=!0}},{key:"close",value:function(){this.visible=!1,this.closed.emit()}},{key:"submit",value:function(e){var t=this;e.product=this.environment.stockName,e.source="GOOGLE",this.formGroup.valid&&"ready"===this.status&&(this.errors=[],this.status="loading",this.http.post(this.endpoint,e,this.jsonHeader).pipe(bf((function(e){var n,r;return t.errors="string"==typeof e.error?[e.error]:null===(r=null===(n=e.error)||void 0===n?void 0:n.errors)||void 0===r?void 0:r.map((function(e){return t.humanizeError(e)})),t.status="ready",y_(e.error)}))).subscribe((function(e){t.status="ready",t.playCanvasService.formSubmitted=!0,t.playCanvasService.sendStatus(),t.submitted.emit(),t.visible=!1})))}},{key:"humanizeError",value:function(e){var t;if("Invalid value"===e.msg){var n=e.param.replace(/_/g," ");"home address"===n?n="home address line 1":"home address 2"===n&&(n="home address line 2"),t="The ".concat(n," field is required.")}return t||(t="An unknown error has occurred."),t}},{key:"zipcode",get:function(){return this.formGroup.get("zipcode")}}]),e}()).\u0275fac=function(e){return new(e||Bw)(Ea(P_),Ea(Dm),Ea(Ky))},Bw.\u0275cmp=gt({type:Bw,selectors:[["app-popup-form"]],viewQuery:function(e,t){var n;1&e&&nl(Dw,!0),2&e&&tl(n=al())&&(t.instance=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},inputs:{visible:"visible"},outputs:{closed:"closed",submitted:"submitted"},decls:72,vars:11,consts:[[1,"backdrop",3,"click"],[1,"popup"],["autocomplete","false",3,"formGroup","submit"],["class","alert alert-danger","role","alert",4,"ngIf"],["class","alert alert-danger",4,"ngIf"],[1,"row"],[1,"col-sm-6"],["for","first_name",1,"sr-only"],["type","search","id","first_name","formControlName","first_name","placeholder","First Name",1,"form-control"],["for","last_name",1,"sr-only"],["type","search","id","last_name","formControlName","last_name","placeholder","Last Name",1,"form-control"],[1,"col-sm-12"],["for","home_address",1,"sr-only"],["type","search","id","home_address","formControlName","home_address","placeholder","Address Line 1",1,"form-control"],["for","home_address_2",1,"sr-only"],["type","search","id","home_address_2","formControlName","home_address_2","placeholder","Address Line 2 (optional)",1,"form-control"],[1,"col-sm-4"],["for","city",1,"sr-only"],["type","search","id","city","formControlName","city","placeholder","City",1,"form-control"],["for","state",1,"sr-only"],["id","state","type","text","formControlName","state","placeholder","State",1,"form-control",3,"ngbTypeahead","editable","focus","click"],["instance","ngbTypeahead"],["for","zipcode",1,"sr-only"],["type","search","id","zipcode","formControlName","zipcode","placeholder","Zip",1,"form-control"],["for","phone_number",1,"sr-only"],["type","search","id","phone_number","formControlName","phone_number","placeholder","Phone",1,"form-control"],["for","email",1,"sr-only"],["type","search","id","email","formControlName","email","placeholder","Email",1,"form-control"],[1,"col-lg-12"],[1,"form-check"],["type","checkbox","formControlName","privacy",1,"form-check-input"],["href","https://www.salesforce.com/company/privacy/full_privacy/","target","_blank"],[1,"buttons"],["type","button",1,"btn","btn-primary",3,"click"],["type","submit",1,"btn","btn-primary",3,"disabled"],[1,"fine-print"],[1,"close",3,"click"],[3,"icon"],["role","alert",1,"alert","alert-danger"],[4,"ngFor","ngForOf"],[1,"alert","alert-danger"]],template:function(e,t){1&e&&(Da(0,"div",0),Ua("click",(function(){return t.close()})),Ga(),Da(1,"div",1),Da(2,"h1"),Ps(3," Please tell us where to ship your YETI"),Da(4,"sup"),Ps(5,"\xae"),Ga(),Ps(6,". "),Ga(),Da(7,"form",2),Ua("submit",(function(){return t.submit(t.formGroup.value)})),Ma(8,Hw,2,1,"div",3),Ma(9,Lw,2,0,"div",4),Da(10,"div",5),Da(11,"div",6),Da(12,"label",7),Ps(13,"First Name"),Ga(),Ha(14,"input",8),Ga(),Da(15,"div",6),Da(16,"label",9),Ps(17,"Last Name"),Ga(),Ha(18,"input",10),Ga(),Ga(),Da(19,"div",5),Da(20,"div",11),Da(21,"label",12),Ps(22,"Address Line 1"),Ga(),Ha(23,"input",13),Ga(),Ga(),Da(24,"div",5),Da(25,"div",11),Da(26,"label",14),Ps(27,"Address Line 2 (optional)"),Ga(),Ha(28,"input",15),Ga(),Ga(),Da(29,"div",5),Da(30,"div",16),Da(31,"label",17),Ps(32,"City"),Ga(),Ha(33,"input",18),Ga(),Da(34,"div",16),Da(35,"label",19),Ps(36,"State"),Ga(),Da(37,"input",20,21),Ua("focus",(function(e){return t.focus$.next(e.target.value)}))("click",(function(e){return t.click$.next(e.target.value)})),Ga(),Ga(),Da(39,"div",16),Da(40,"label",22),Ps(41,"Zip"),Ga(),Ha(42,"input",23),Ga(),Ga(),Da(43,"div",5),Da(44,"div",6),Da(45,"label",24),Ps(46,"Phone"),Ga(),Ha(47,"input",25),Ga(),Da(48,"div",6),Da(49,"label",26),Ps(50,"Email"),Ga(),Ha(51,"input",27),Ga(),Ga(),Da(52,"div",5),Da(53,"div",28),Da(54,"div",29),Da(55,"label"),Ha(56,"input",30),Ps(57," By registering, you confirm that you agree to the processing of your personal data by Salesforce as described in the "),Da(58,"a",31),Ps(59,"Privacy Statement"),Ga(),Ps(60,". "),Ga(),Ga(),Ga(),Ga(),Da(61,"div",5),Da(62,"div",28),Da(63,"div",32),Da(64,"button",33),Ua("click",(function(){return t.close()})),Ps(65," Opt Out "),Ga(),Da(66,"button",34),Ps(67," Submit "),Ga(),Ga(),Ga(),Ga(),Da(68,"p",35),Ps(69," Limited time offer. While supplies last. Open to eligible attendees of the Salesforce + Google Virtual Experience starting on July 31, 2020, who reside in the United States (incl. DC). Employees, contractors, consultants, officers, directors or agents of the government or Salesforce and its promotional partners, advertising/promotion agencies, or suppliers, are not eligible to participate. Subject to verification of eligibility and availability. Limit one (1) per person. Color options may vary. Cannot deliver to P.O. boxes. Offer not sponsored by or associated with Yeti\xae. Offer subject to change at any time. Other terms and restrictions apply. "),Ga(),Ga(),Da(70,"button",36),Ua("click",(function(){return t.close()})),Ha(71,"fa-icon",37),Ga(),Ga()),2&e&&(wi(7),hs("loading","loading"===t.status),Na("formGroup",t.formGroup),wi(1),Na("ngIf",(null==t.errors?null:t.errors.length)>0),wi(1),Na("ngIf",t.zipcode.invalid&&(t.zipcode.dirty||t.zipcode.touched)&&t.zipcode.errors.minlength),wi(28),Na("ngbTypeahead",t.search)("editable",!1),wi(29),hs("disabled",!t.formGroup.valid),Na("disabled",!t.formGroup.valid),wi(5),Na("icon",t.icons.close))},directives:[mm,mg,bm,Ku,sg,gg,Nm,bC,ig,kw,zu],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;color:#fff}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%] .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(popup-bg.2529ff5db1d84d7cf04a.jpg) no-repeat 0 0;border-radius:25px;padding:2rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%] .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{background:#ea7600 url(form-bg.5f6aa8eb81df210053e5.png) no-repeat 0 0;background-size:cover;max-width:860px}[_nghost-%COMP%] h1[_ngcontent-%COMP%]{margin-bottom:1rem}[_nghost-%COMP%] h1[_ngcontent-%COMP%] sup[_ngcontent-%COMP%]{font-size:14px;position:relative;top:-20px}[_nghost-%COMP%] form[_ngcontent-%COMP%]{opacity:1;transition:opacity .25s ease-out}[_nghost-%COMP%] form.loading[_ngcontent-%COMP%]{opacity:.5;pointer-events:none;cursor:not-allowed}[_nghost-%COMP%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{margin-bottom:1rem}[_nghost-%COMP%] .fine-print[_ngcontent-%COMP%]{font-size:12px;margin-bottom:0}[_nghost-%COMP%] .form-check[_ngcontent-%COMP%]{text-align:center;font-size:14px;margin:0 auto;max-width:530px;line-height:1.1}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%]{width:100%;max-width:420px;margin:0 auto;display:flex;justify-content:center;align-items:center}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{width:100%;margin:0 1rem;text-transform:uppercase} ngb-typeahead-window{max-height:220px;overflow:auto}"]}),Bw),Kw=((Fw=function(){function e(){_classCallCheck(this,e),this.closed=new zc,this.visible=!1,this.icons={close:by.faTimes}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"open",value:function(){this.visible=!0}},{key:"close",value:function(){this.visible=!1,this.closed.emit()}}]),e}()).\u0275fac=function(e){return new(e||Fw)},Fw.\u0275cmp=gt({type:Fw,selectors:[["app-popup-form-confirmation"]],hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},inputs:{visible:"visible"},outputs:{closed:"closed"},decls:10,vars:1,consts:[[1,"backdrop",3,"click"],[1,"popup"],["href","mailto:salesforceandgoogle@salesforce.com"],[1,"close",3,"click"],[3,"icon"]],template:function(e,t){1&e&&(Da(0,"div",0),Ua("click",(function(){return t.close()})),Ga(),Da(1,"div",1),Da(2,"h1"),Ps(3,"We got your selection."),Ga(),Da(4,"p"),Ps(5," Please allow 3-5 business days for your selection to be processed. If you have any questions please contact us "),Da(6,"a",2),Ps(7,"salesforceandgoogle@salesforce.com"),Ga(),Ga(),Da(8,"button",3),Ua("click",(function(){return t.close()})),Ha(9,"fa-icon",4),Ga(),Ga()),2&e&&(wi(9),Na("icon",t.icons.close))},directives:[kw],styles:["[_nghost-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%;z-index:99999;opacity:0;visibility:hidden;transition:all .25s ease-out;color:#fff;text-align:center}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}[_nghost-%COMP%] .backdrop[_ngcontent-%COMP%]{opacity:.7;background:#000;position:absolute;top:0;left:0;width:100%;height:100%;cursor:pointer}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;max-height:100%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(popup-bg.2529ff5db1d84d7cf04a.jpg) no-repeat 0 0;border-radius:25px;padding:2rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .close[_ngcontent-%COMP%]{position:absolute;top:18px;right:18px;color:#fff;background:transparent;border:0;opacity:1}[_nghost-%COMP%] .btn-block[_ngcontent-%COMP%]{min-width:240px;margin:0 auto 8px}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{background:#ea7600 url(form-bg.5f6aa8eb81df210053e5.png) no-repeat 0 0;background-size:cover}[_nghost-%COMP%] h1[_ngcontent-%COMP%]{margin:3rem 0}[_nghost-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:6rem}"]}),Fw),Xw=((Vw=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this.formBuilder=t,this.playCanvasService=n,this.stockService=r,this.openCompliance=new zc,this.iframeUrl=new zc,this.environment=lu,this.formGroup=this.formBuilder.group({src:new fm(null,[kg.required])}),this.clearLocalStorage=function(){return localStorage.clear()},this.sendStatus=function(){return i.playCanvasService.sendStatus()},this.setProgress=function(){return i.playCanvasService.setProgress("achievement_1",!0)},this.setBottleThresholdTooHigh=function(){i.environment.bottlesThreshold=999999999,i.stockService.getBottlesRemaining().then((function(e){i.playCanvasService.bottlesAvailable=e,i.playCanvasService.sendStatus()}))},this.resetBottleThreshold=function(){i.environment.bottlesThreshold=50,i.stockService.getBottlesRemaining().then((function(e){i.playCanvasService.bottlesAvailable=e,i.playCanvasService.sendStatus()}))}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"emitUrl",value:function(){this.formGroup.valid&&this.iframeUrl.emit(this.formGroup.value.src)}}]),e}()).\u0275fac=function(e){return new(e||Vw)(Ea(Dm),Ea(P_),Ea(S_))},Vw.\u0275cmp=gt({type:Vw,selectors:[["app-footer"]],outputs:{openCompliance:"openCompliance",iframeUrl:"iframeUrl"},decls:24,vars:0,consts:[[1,"left"],["href","https://www.salesforce.com/company/legal/intellectual/","target","_blank"],[1,"d-lg-block","d-md-none"],[1,"right","text-right"],[1,"links"],["target","_blank","href","https://www.salesforce.com/company/legal/"],["target","_blank","href","https://www.salesforce.com/company/legal/sfdc-website-terms-of-service/"],["target","_blank","href","https://www.salesforce.com/company/privacy/"],["target","_blank","href","https://www.salesforce.com/company/disclosure/"],["target","_blank","href","https://trust.salesforce.com/en/"],["target","_blank","href","https://www.salesforce.com/company/contact-us/?d=cta-glob-footer-11"],["target","_blank","href","https://www.salesforce.com/company/disclosure/#"]],template:function(e,t){1&e&&(Da(0,"div",0),Da(1,"p"),Ps(2," Copyright 2020 Salesforce.com, inc. "),Da(3,"a",1),Ps(4,"All rights reserved"),Ga(),Ps(5,". Various trademarks held by their respective owners."),Ha(6,"br",2),Ps(7," Salesforce Tower, 415 Mission St, San Francisco, CA 94105 "),Ga(),Ga(),Da(8,"div",3),Da(9,"div",4),Da(10,"a",5),Ps(11,"Legal"),Ga(),Da(12,"a",6),Ps(13,"Terms of Service"),Ga(),Da(14,"a",7),Ps(15,"Privacy Information"),Ga(),Da(16,"a",8),Ps(17,"Responsible Disclosure"),Ga(),Da(18,"a",9),Ps(19,"Trust"),Ga(),Da(20,"a",10),Ps(21,"Contact"),Ga(),Da(22,"a",11),Ps(23,"Cookie Preference"),Ga(),Ga(),Ga())},styles:["[_nghost-%COMP%]{width:100%;height:52px;display:flex;justify-content:space-between;align-items:center;color:#fff;padding:0 1.8rem;font-size:12px;background:#032e61}a[_ngcontent-%COMP%]{color:#3478b0}p[_ngcontent-%COMP%]{margin-bottom:0}.links[_ngcontent-%COMP%]{display:flex}.links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:22px}@media (max-width:1440px){.links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{margin-right:12px}}.btn[_ngcontent-%COMP%]{margin-left:1px}"]}),Vw),qw=["iframe"],Qw=["form"],Zw=["formConfirmation"],$w=["message"],Yw=["video"],Jw=((Uw=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.playCanvasService=t,this.sanitizer=n,this.environment=lu,this.subscriptions=[],this.src=this.sanitizer.bypassSecurityTrustResourceUrl("assets/playcanvas/release/index.html"),this.openCompliance=function(){return r.needToAnswerCompliance=!0},this.openConfirmation=function(){return r.popupFormConfirmation.open()}}return _createClass(e,[{key:"ngOnInit",value:function(){this.evaluatePopups()}},{key:"ngAfterViewInit",value:function(){var e=this;this.playCanvasService.init(this.iframe),this.handleMessages(),this.subscriptions.push(this.popupMessage.closed.subscribe((function(){return e.playCanvasService.sendToPlayCanvas("popupClosed")})),this.popupVideo.closed.subscribe((function(){return e.playCanvasService.sendToPlayCanvas("popupClosed")})),this.popupForm.closed.subscribe((function(){return e.playCanvasService.sendToPlayCanvas("popupClosed")})),this.popupFormConfirmation.closed.subscribe((function(){return e.playCanvasService.sendToPlayCanvas("popupClosed")}))),this.environment.production||(this.environment.debug.showFormOnLoad&&setTimeout((function(){return e.popupForm.open()}),500),this.environment.debug.showVideoOnLoad&&setTimeout((function(){return e.popupVideo.open("Zulily_Viewfinder")}),500))}},{key:"ngOnDestroy",value:function(){this.subscriptions.map((function(e){return e.unsubscribe()})),this.subscriptions=[]}},{key:"handleMessages",value:function(){var e=this;this.subscriptions.push(this.playCanvasService.lastMessage.subscribe((function(t){t&&("showPopup"===t.message?(e.playCanvasService.sendToPlayCanvas("popupOpen"),Object.keys(lu.videos).includes(t.param1)?e.popupVideo.open(t.param1):"bottleForm"===t.param1?e.popupForm.open():e.environment.production||e.popupMessage.open(t)):"getStatus"===t.message?e.playCanvasService.getStatus():"setProgress"===t.message?e.playCanvasService.setProgress(t.param1,t.param2):"trackEvent"===t.message?e.playCanvasService.trackEvent(t.param1,t.param2):"shareItem"===t.message&&e.playCanvasService.shareItem(t.param1))})))}},{key:"listenForMessage",value:function(e){var t,n,r;this.playCanvasService.lastMessage.next({message:e.data.message,param1:null===(t=e.data.params)||void 0===t?void 0:t[0],param2:null===(n=e.data.params)||void 0===n?void 0:n[1],param3:null===(r=e.data.params)||void 0===r?void 0:r[2]}),this.playCanvasService.sendToPlayCanvas(e.data.message,e.data.params)}},{key:"pageClosed",value:function(){this.playCanvasService.sendStatus()}},{key:"evaluatePopups",value:function(){switch(this.playCanvasService.evaluatePopups()){case"compliance":return this.needToAnswerCompliance=!0}}},{key:"changeIframeUrl",value:function(e){-1===e.indexOf("://")&&(e="https://playcanv.as/index/".concat(e,"/")),this.src=this.sanitizer.bypassSecurityTrustResourceUrl(e)}}]),e}()).\u0275fac=function(e){return new(e||Uw)(Ea(P_),Ea(Uh))},Uw.\u0275cmp=gt({type:Uw,selectors:[["app-play-canvas"]],viewQuery:function(e,t){var n;1&e&&(rl(qw,!0),rl(Qw,!0),rl(Zw,!0),rl($w,!0),rl(Yw,!0)),2&e&&(tl(n=al())&&(t.iframe=n.first),tl(n=al())&&(t.popupForm=n.first),tl(n=al())&&(t.popupFormConfirmation=n.first),tl(n=al())&&(t.popupMessage=n.first),tl(n=al())&&(t.popupVideo=n.first))},hostBindings:function(e,t){1&e&&Ua("message",(function(e){return t.listenForMessage(e)}),!1,zn)("beforeunload",(function(e){return t.pageClosed(e)}),!1,zn)},decls:13,vars:2,consts:[[3,"visible","closed"],["message",""],["video",""],[3,"submitted"],["form",""],["formConfirmation",""],["frameborder","0",3,"src"],["iframe",""],[3,"openCompliance","iframeUrl"]],template:function(e,t){1&e&&(Ha(0,"app-header"),Da(1,"app-compliance",0),Ua("closed",(function(){return t.evaluatePopups()})),Ga(),Ha(2,"app-popup-message",null,1),Ha(4,"app-popup-video",null,2),Da(6,"app-popup-form",3,4),Ua("submitted",(function(){return t.openConfirmation()})),Ga(),Ha(8,"app-popup-form-confirmation",null,5),Ha(10,"iframe",6,7),Da(12,"app-footer",8),Ua("openCompliance",(function(){return t.openCompliance()}))("iframeUrl",(function(e){return t.changeIframeUrl(e)})),Ga()),2&e&&(wi(1),Na("visible",t.needToAnswerCompliance),wi(9),Na("src",t.src,ei))},directives:[YC,JC,nk,Rw,Ww,Kw,Xw],styles:["html{height:100%} body{margin:0;max-height:100%;overflow:hidden;position:relative;width:100%}iframe[_ngcontent-%COMP%]{width:100%;height:100%;height:calc(100% - 98px)}"]}),Uw);try{jw="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(JO){jw=!1}var eS,tS,nS,rS,iS,oS=((iS=function e(t){_classCallCheck(this,e),this._platformId=t,this.isBrowser=this._platformId?oh(this._platformId):"object"==typeof document&&!!document,this.EDGE=this.isBrowser&&/(edge)/i.test(navigator.userAgent),this.TRIDENT=this.isBrowser&&/(msie|trident)/i.test(navigator.userAgent),this.BLINK=this.isBrowser&&!(!window.chrome&&!jw)&&"undefined"!=typeof CSS&&!this.EDGE&&!this.TRIDENT,this.WEBKIT=this.isBrowser&&/AppleWebKit/i.test(navigator.userAgent)&&!this.BLINK&&!this.EDGE&&!this.TRIDENT,this.IOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.FIREFOX=this.isBrowser&&/(firefox|minefield)/i.test(navigator.userAgent),this.ANDROID=this.isBrowser&&/android/i.test(navigator.userAgent)&&!this.TRIDENT,this.SAFARI=this.isBrowser&&/safari/i.test(navigator.userAgent)&&this.WEBKIT}).\u0275fac=function(e){return new(e||iS)($e(ml,8))},iS.\u0275prov=fe({factory:function(){return new iS($e(ml,8))},token:iS,providedIn:"root"}),iS),aS=((rS=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:rS}),rS.\u0275inj=pe({factory:function(e){return new(e||rS)}}),rS);function sS(){if("object"!=typeof document||!document)return 0;if(null==tS){var e=document.createElement("div"),t=e.style;e.dir="rtl",t.height="1px",t.width="1px",t.overflow="auto",t.visibility="hidden",t.pointerEvents="none",t.position="absolute";var n=document.createElement("div"),r=n.style;r.width="2px",r.height="1px",e.appendChild(n),document.body.appendChild(e),tS=0,0===e.scrollLeft&&(e.scrollLeft=1,tS=0===e.scrollLeft?1:2),e.parentNode.removeChild(e)}return tS}function cS(e){return null!=e&&""+e!="false"}function lS(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(e){return!isNaN(parseFloat(e))&&!isNaN(Number(e))}(e)?Number(e):t}function uS(e){return e instanceof Ys?e.nativeElement:e}var hS=function(){function e(t){_classCallCheck(this,e),this.durationSelector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new fS(e,this.durationSelector))}}]),e}(),fS=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).durationSelector=r,i.hasValue=!1,i}return _createClass(n,[{key:"_next",value:function(e){if(this.value=e,this.hasValue=!0,!this.throttled){var t;try{t=(0,this.durationSelector)(e)}catch(r){return this.destination.error(r)}var n=H(this,t);!n||n.closed?this.clearThrottle():this.add(this.throttled=n)}}},{key:"clearThrottle",value:function(){var e=this.value,t=this.hasValue,n=this.throttled;n&&(this.remove(n),this.throttled=null,n.unsubscribe()),t&&(this.value=null,this.hasValue=!1,this.destination.next(e))}},{key:"notifyNext",value:function(e,t,n,r){this.clearThrottle()}},{key:"notifyComplete",value:function(){this.clearThrottle()}}]),n}(L);function dS(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u_;return t=function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=-1;return O_(t)?r=Number(t)<1?1:Number(t):E(t)&&(n=t),E(n)||(n=u_),new k((function(t){var i=O_(e)?e:+e-n.now();return n.schedule(M_,i,{index:0,period:r,subscriber:t})}))}(e,n)},function(e){return e.lift(new hS(t))}}var pS,vS,gS,mS,yS,_S,bS,CS=new je("cdk-dir-doc",{providedIn:"root",factory:function(){return Ye(du)}}),kS=((bS=function(){function e(t){if(_classCallCheck(this,e),this.value="ltr",this.change=new zc,t){var n=t.documentElement?t.documentElement.dir:null,r=(t.body?t.body.dir:null)||n;this.value="ltr"===r||"rtl"===r?r:"ltr"}}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.change.complete()}}]),e}()).\u0275fac=function(e){return new(e||bS)($e(CS,8))},bS.\u0275prov=fe({factory:function(){return new bS($e(CS,8))},token:bS,providedIn:"root"}),bS),wS=((_S=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:_S}),_S.\u0275inj=pe({factory:function(e){return new(e||_S)}}),_S),SS=((yS=function(){function e(t,n,r){_classCallCheck(this,e),this._ngZone=t,this._platform=n,this._scrolled=new M,this._globalSubscription=null,this._scrolledCount=0,this.scrollContainers=new Map,this._document=r}return _createClass(e,[{key:"register",value:function(e){var t=this;this.scrollContainers.has(e)||this.scrollContainers.set(e,e.elementScrolled().subscribe((function(){return t._scrolled.next(e)})))}},{key:"deregister",value:function(e){var t=this.scrollContainers.get(e);t&&(t.unsubscribe(),this.scrollContainers.delete(e))}},{key:"scrolled",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return this._platform.isBrowser?new k((function(n){e._globalSubscription||e._addGlobalListener();var r=t>0?e._scrolled.pipe(dS(t)).subscribe(n):e._scrolled.subscribe(n);return e._scrolledCount++,function(){r.unsubscribe(),e._scrolledCount--,e._scrolledCount||e._removeGlobalListener()}})):qh()}},{key:"ngOnDestroy",value:function(){var e=this;this._removeGlobalListener(),this.scrollContainers.forEach((function(t,n){return e.deregister(n)})),this._scrolled.complete()}},{key:"ancestorScrolled",value:function(e,t){var n=this.getAncestorScrollContainers(e);return this.scrolled(t).pipe(of((function(e){return!e||n.indexOf(e)>-1})))}},{key:"getAncestorScrollContainers",value:function(e){var t=this,n=[];return this.scrollContainers.forEach((function(r,i){t._scrollableContainsElement(i,e)&&n.push(i)})),n}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_scrollableContainsElement",value:function(e,t){var n=t.nativeElement,r=e.getElementRef().nativeElement;do{if(n==r)return!0}while(n=n.parentElement);return!1}},{key:"_addGlobalListener",value:function(){var e=this;this._globalSubscription=this._ngZone.runOutsideAngular((function(){return x_(e._getWindow().document,"scroll").subscribe((function(){return e._scrolled.next()}))}))}},{key:"_removeGlobalListener",value:function(){this._globalSubscription&&(this._globalSubscription.unsubscribe(),this._globalSubscription=null)}}]),e}()).\u0275fac=function(e){return new(e||yS)($e(Nl),$e(oS),$e(du,8))},yS.\u0275prov=fe({factory:function(){return new yS($e(Nl),$e(oS),$e(du,8))},token:yS,providedIn:"root"}),yS),TS=((mS=function(){function e(t,n,r,i){var o=this;_classCallCheck(this,e),this.elementRef=t,this.scrollDispatcher=n,this.ngZone=r,this.dir=i,this._destroyed=new M,this._elementScrolled=new k((function(e){return o.ngZone.runOutsideAngular((function(){return x_(o.elementRef.nativeElement,"scroll").pipe(I_(o._destroyed)).subscribe(e)}))}))}return _createClass(e,[{key:"ngOnInit",value:function(){this.scrollDispatcher.register(this)}},{key:"ngOnDestroy",value:function(){this.scrollDispatcher.deregister(this),this._destroyed.next(),this._destroyed.complete()}},{key:"elementScrolled",value:function(){return this._elementScrolled}},{key:"getElementRef",value:function(){return this.elementRef}},{key:"scrollTo",value:function(e){var t=this.elementRef.nativeElement,n=this.dir&&"rtl"==this.dir.value;null==e.left&&(e.left=n?e.end:e.start),null==e.right&&(e.right=n?e.start:e.end),null!=e.bottom&&(e.top=t.scrollHeight-t.clientHeight-e.bottom),n&&0!=sS()?(null!=e.left&&(e.right=t.scrollWidth-t.clientWidth-e.left),2==sS()?e.left=e.right:1==sS()&&(e.left=e.right?-e.right:e.right)):null!=e.right&&(e.left=t.scrollWidth-t.clientWidth-e.right),this._applyScrollToOptions(e)}},{key:"_applyScrollToOptions",value:function(e){var t=this.elementRef.nativeElement;"object"==typeof document&&"scrollBehavior"in document.documentElement.style?t.scrollTo(e):(null!=e.top&&(t.scrollTop=e.top),null!=e.left&&(t.scrollLeft=e.left))}},{key:"measureScrollOffset",value:function(e){var t=this.elementRef.nativeElement;if("top"==e)return t.scrollTop;if("bottom"==e)return t.scrollHeight-t.clientHeight-t.scrollTop;var n=this.dir&&"rtl"==this.dir.value;return"start"==e?e=n?"right":"left":"end"==e&&(e=n?"left":"right"),n&&2==sS()?"left"==e?t.scrollWidth-t.clientWidth-t.scrollLeft:t.scrollLeft:n&&1==sS()?"left"==e?t.scrollLeft+t.scrollWidth-t.clientWidth:-t.scrollLeft:"left"==e?t.scrollLeft:t.scrollWidth-t.clientWidth-t.scrollLeft}}]),e}()).\u0275fac=function(e){return new(e||mS)(Ea(Ys),Ea(SS),Ea(Nl),Ea(kS,8))},mS.\u0275dir=kt({type:mS,selectors:[["","cdk-scrollable",""],["","cdkScrollable",""]]}),mS),PS=((gS=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this._platform=t,this._document=r,n.runOutsideAngular((function(){var e=i._getWindow();i._change=t.isBrowser?Q(x_(e,"resize"),x_(e,"orientationchange")):qh(),i._invalidateCache=i.change().subscribe((function(){return i._updateViewportSize()}))}))}return _createClass(e,[{key:"ngOnDestroy",value:function(){this._invalidateCache.unsubscribe()}},{key:"getViewportSize",value:function(){this._viewportSize||this._updateViewportSize();var e={width:this._viewportSize.width,height:this._viewportSize.height};return this._platform.isBrowser||(this._viewportSize=null),e}},{key:"getViewportRect",value:function(){var e=this.getViewportScrollPosition(),t=this.getViewportSize(),n=t.width,r=t.height;return{top:e.top,left:e.left,bottom:e.top+r,right:e.left+n,height:r,width:n}}},{key:"getViewportScrollPosition",value:function(){if(!this._platform.isBrowser)return{top:0,left:0};var e=this._getDocument(),t=this._getWindow(),n=e.documentElement,r=n.getBoundingClientRect();return{top:-r.top||e.body.scrollTop||t.scrollY||n.scrollTop||0,left:-r.left||e.body.scrollLeft||t.scrollX||n.scrollLeft||0}}},{key:"change",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;return e>0?this._change.pipe(dS(e)):this._change}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_updateViewportSize",value:function(){var e=this._getWindow();this._viewportSize=this._platform.isBrowser?{width:e.innerWidth,height:e.innerHeight}:{width:0,height:0}}}]),e}()).\u0275fac=function(e){return new(e||gS)($e(oS),$e(Nl),$e(du,8))},gS.\u0275prov=fe({factory:function(){return new gS($e(oS),$e(Nl),$e(du,8))},token:gS,providedIn:"root"}),gS),OS=((vS=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:vS}),vS.\u0275inj=pe({factory:function(e){return new(e||vS)}}),vS),MS=((pS=function(){function e(t){_classCallCheck(this,e),this._platform=t}return _createClass(e,[{key:"isDisabled",value:function(e){return e.hasAttribute("disabled")}},{key:"isVisible",value:function(e){return function(e){return!!(e.offsetWidth||e.offsetHeight||"function"==typeof e.getClientRects&&e.getClientRects().length)}(e)&&"visible"===getComputedStyle(e).visibility}},{key:"isTabbable",value:function(e){if(!this._platform.isBrowser)return!1;var t,n=function(e){try{return e.frameElement}catch(JO){return null}}((t=e).ownerDocument&&t.ownerDocument.defaultView||window);if(n){var r=n&&n.nodeName.toLowerCase();if(-1===ES(n))return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&"object"===r)return!1;if((this._platform.BLINK||this._platform.WEBKIT)&&!this.isVisible(n))return!1}var i=e.nodeName.toLowerCase(),o=ES(e);if(e.hasAttribute("contenteditable"))return-1!==o;if("iframe"===i)return!1;if("audio"===i){if(!e.hasAttribute("controls"))return!1;if(this._platform.BLINK)return!0}if("video"===i){if(!e.hasAttribute("controls")&&this._platform.TRIDENT)return!1;if(this._platform.BLINK||this._platform.FIREFOX)return!0}return("object"!==i||!this._platform.BLINK&&!this._platform.WEBKIT)&&!(this._platform.WEBKIT&&this._platform.IOS&&!function(e){var t=e.nodeName.toLowerCase(),n="input"===t&&e.type;return"text"===n||"password"===n||"select"===t||"textarea"===t}(e))&&e.tabIndex>=0}},{key:"isFocusable",value:function(e){return function(e){return!function(e){return function(e){return"input"==e.nodeName.toLowerCase()}(e)&&"hidden"==e.type}(e)&&(function(e){var t=e.nodeName.toLowerCase();return"input"===t||"select"===t||"button"===t||"textarea"===t}(e)||function(e){return function(e){return"a"==e.nodeName.toLowerCase()}(e)&&e.hasAttribute("href")}(e)||e.hasAttribute("contenteditable")||xS(e))}(e)&&!this.isDisabled(e)&&this.isVisible(e)}}]),e}()).\u0275fac=function(e){return new(e||pS)($e(oS))},pS.\u0275prov=fe({factory:function(){return new pS($e(oS))},token:pS,providedIn:"root"}),pS);function xS(e){if(!e.hasAttribute("tabindex")||void 0===e.tabIndex)return!1;var t=e.getAttribute("tabindex");return"-32768"!=t&&!(!t||isNaN(parseInt(t,10)))}function ES(e){if(!xS(e))return null;var t=parseInt(e.getAttribute("tabindex")||"",10);return isNaN(t)?-1:t}var AS,IS=function(){function e(t,n,r,i){var o=this,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_classCallCheck(this,e),this._element=t,this._checker=n,this._ngZone=r,this._document=i,this._hasAttached=!1,this.startAnchorListener=function(){return o.focusLastTabbableElement()},this.endAnchorListener=function(){return o.focusFirstTabbableElement()},this._enabled=!0,a||this.attachAnchors()}return _createClass(e,[{key:"destroy",value:function(){var e=this._startAnchor,t=this._endAnchor;e&&(e.removeEventListener("focus",this.startAnchorListener),e.parentNode&&e.parentNode.removeChild(e)),t&&(t.removeEventListener("focus",this.endAnchorListener),t.parentNode&&t.parentNode.removeChild(t)),this._startAnchor=this._endAnchor=null}},{key:"attachAnchors",value:function(){var e=this;return!!this._hasAttached||(this._ngZone.runOutsideAngular((function(){e._startAnchor||(e._startAnchor=e._createAnchor(),e._startAnchor.addEventListener("focus",e.startAnchorListener)),e._endAnchor||(e._endAnchor=e._createAnchor(),e._endAnchor.addEventListener("focus",e.endAnchorListener))})),this._element.parentNode&&(this._element.parentNode.insertBefore(this._startAnchor,this._element),this._element.parentNode.insertBefore(this._endAnchor,this._element.nextSibling),this._hasAttached=!0),this._hasAttached)}},{key:"focusInitialElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusInitialElement())}))}))}},{key:"focusFirstTabbableElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusFirstTabbableElement())}))}))}},{key:"focusLastTabbableElementWhenReady",value:function(){var e=this;return new Promise((function(t){e._executeOnStable((function(){return t(e.focusLastTabbableElement())}))}))}},{key:"_getRegionBoundary",value:function(e){for(var t=this._element.querySelectorAll("[cdk-focus-region-".concat(e,"], [cdkFocusRegion").concat(e,"], [cdk-focus-").concat(e,"]")),n=0;n<t.length;n++)t[n].hasAttribute("cdk-focus-"+e)?console.warn("Found use of deprecated attribute 'cdk-focus-".concat(e,"', use 'cdkFocusRegion").concat(e,"' instead. The deprecated attribute will be removed in 8.0.0."),t[n]):t[n].hasAttribute("cdk-focus-region-"+e)&&console.warn("Found use of deprecated attribute 'cdk-focus-region-".concat(e,"', use 'cdkFocusRegion").concat(e,"' instead. The deprecated attribute will be removed in 8.0.0."),t[n]);return"start"==e?t.length?t[0]:this._getFirstTabbableElement(this._element):t.length?t[t.length-1]:this._getLastTabbableElement(this._element)}},{key:"focusInitialElement",value:function(){var e=this._element.querySelector("[cdk-focus-initial], [cdkFocusInitial]");return e?(e.hasAttribute("cdk-focus-initial")&&console.warn("Found use of deprecated attribute 'cdk-focus-initial', use 'cdkFocusInitial' instead. The deprecated attribute will be removed in 8.0.0",e),Sr()&&!this._checker.isFocusable(e)&&console.warn("Element matching '[cdkFocusInitial]' is not focusable.",e),e.focus(),!0):this.focusFirstTabbableElement()}},{key:"focusFirstTabbableElement",value:function(){var e=this._getRegionBoundary("start");return e&&e.focus(),!!e}},{key:"focusLastTabbableElement",value:function(){var e=this._getRegionBoundary("end");return e&&e.focus(),!!e}},{key:"hasAttached",value:function(){return this._hasAttached}},{key:"_getFirstTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=0;n<t.length;n++){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getFirstTabbableElement(t[n]):null;if(r)return r}return null}},{key:"_getLastTabbableElement",value:function(e){if(this._checker.isFocusable(e)&&this._checker.isTabbable(e))return e;for(var t=e.children||e.childNodes,n=t.length-1;n>=0;n--){var r=t[n].nodeType===this._document.ELEMENT_NODE?this._getLastTabbableElement(t[n]):null;if(r)return r}return null}},{key:"_createAnchor",value:function(){var e=this._document.createElement("div");return this._toggleAnchorTabIndex(this._enabled,e),e.classList.add("cdk-visually-hidden"),e.classList.add("cdk-focus-trap-anchor"),e.setAttribute("aria-hidden","true"),e}},{key:"_toggleAnchorTabIndex",value:function(e,t){e?t.setAttribute("tabindex","0"):t.removeAttribute("tabindex")}},{key:"toggleAnchors",value:function(e){this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}},{key:"_executeOnStable",value:function(e){this._ngZone.isStable?e():this._ngZone.onStable.asObservable().pipe(wf(1)).subscribe(e)}},{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e,this._startAnchor&&this._endAnchor&&(this._toggleAnchorTabIndex(e,this._startAnchor),this._toggleAnchorTabIndex(e,this._endAnchor))}}]),e}(),NS=((AS=function(){function e(t,n,r){_classCallCheck(this,e),this._checker=t,this._ngZone=n,this._document=r}return _createClass(e,[{key:"create",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new IS(e,this._checker,this._ngZone,this._document,t)}}]),e}()).\u0275fac=function(e){return new(e||AS)($e(MS),$e(Nl),$e(du))},AS.\u0275prov=fe({factory:function(){return new AS($e(MS),$e(Nl),$e(du))},token:AS,providedIn:"root"}),AS);"undefined"!=typeof Element&∈var RS,DS,GS=new je("cdk-focus-monitor-default-options"),HS=(RS={passive:!0,capture:!0},function(){if(null==eS&&"undefined"!=typeof window)try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){return eS=!0}}))}finally{eS=eS||!1}return eS}()?RS:!!RS.capture),LS=((DS=function(){function e(t,n,r,i){var o=this;_classCallCheck(this,e),this._ngZone=t,this._platform=n,this._origin=null,this._windowFocused=!1,this._elementInfo=new Map,this._monitoredElementCount=0,this._rootNodeFocusListenerCount=new Map,this._documentKeydownListener=function(){o._lastTouchTarget=null,o._setOriginForCurrentEventQueue("keyboard")},this._documentMousedownListener=function(e){if(!o._lastTouchTarget){var t=function(e){return 0===e.buttons}(e)?"keyboard":"mouse";o._setOriginForCurrentEventQueue(t)}},this._documentTouchstartListener=function(e){null!=o._touchTimeoutId&&clearTimeout(o._touchTimeoutId),o._lastTouchTarget=VS(e),o._touchTimeoutId=setTimeout((function(){return o._lastTouchTarget=null}),650)},this._windowFocusListener=function(){o._windowFocused=!0,o._windowFocusTimeoutId=setTimeout((function(){return o._windowFocused=!1}))},this._rootNodeFocusAndBlurListener=function(e){for(var t=VS(e),n="focus"===e.type?o._onFocus:o._onBlur,r=t;r;r=r.parentElement)n.call(o,e,r)},this._document=r,this._detectionMode=(null==i?void 0:i.detectionMode)||0}return _createClass(e,[{key:"monitor",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!this._platform.isBrowser)return qh(null);var n=uS(e),r=function(e){if(function(){if(null==nS){var e="undefined"!=typeof document?document.head:null;nS=!(!e||!e.createShadowRoot&&!e.attachShadow)}return nS}()){var t=e.getRootNode?e.getRootNode():null;if("undefined"!=typeof ShadowRoot&&ShadowRoot&&t instanceof ShadowRoot)return t}return null}(n)||this._getDocument(),i=this._elementInfo.get(n);if(i)return t&&(i.checkChildren=!0),i.subject.asObservable();var o={checkChildren:t,subject:new M,rootNode:r};return this._elementInfo.set(n,o),this._registerGlobalListeners(o),o.subject.asObservable()}},{key:"stopMonitoring",value:function(e){var t=uS(e),n=this._elementInfo.get(t);n&&(n.subject.complete(),this._setClasses(t),this._elementInfo.delete(t),this._removeGlobalListeners(n))}},{key:"focusVia",value:function(e,t,n){var r=uS(e);this._setOriginForCurrentEventQueue(t),"function"==typeof r.focus&&r.focus(n)}},{key:"ngOnDestroy",value:function(){var e=this;this._elementInfo.forEach((function(t,n){return e.stopMonitoring(n)}))}},{key:"_getDocument",value:function(){return this._document||document}},{key:"_getWindow",value:function(){return this._getDocument().defaultView||window}},{key:"_toggleClass",value:function(e,t,n){n?e.classList.add(t):e.classList.remove(t)}},{key:"_getFocusOrigin",value:function(e){return this._origin?this._origin:this._windowFocused&&this._lastFocusOrigin?this._lastFocusOrigin:this._wasCausedByTouch(e)?"touch":"program"}},{key:"_setClasses",value:function(e,t){this._toggleClass(e,"cdk-focused",!!t),this._toggleClass(e,"cdk-touch-focused","touch"===t),this._toggleClass(e,"cdk-keyboard-focused","keyboard"===t),this._toggleClass(e,"cdk-mouse-focused","mouse"===t),this._toggleClass(e,"cdk-program-focused","program"===t)}},{key:"_setOriginForCurrentEventQueue",value:function(e){var t=this;this._ngZone.runOutsideAngular((function(){t._origin=e,0===t._detectionMode&&(t._originTimeoutId=setTimeout((function(){return t._origin=null}),1))}))}},{key:"_wasCausedByTouch",value:function(e){var t=VS(e);return this._lastTouchTarget instanceof Node&&t instanceof Node&&(t===this._lastTouchTarget||t.contains(this._lastTouchTarget))}},{key:"_onFocus",value:function(e,t){var n=this._elementInfo.get(t);if(n&&(n.checkChildren||t===VS(e))){var r=this._getFocusOrigin(e);this._setClasses(t,r),this._emitOrigin(n.subject,r),this._lastFocusOrigin=r}}},{key:"_onBlur",value:function(e,t){var n=this._elementInfo.get(t);!n||n.checkChildren&&e.relatedTarget instanceof Node&&t.contains(e.relatedTarget)||(this._setClasses(t),this._emitOrigin(n.subject,null))}},{key:"_emitOrigin",value:function(e,t){this._ngZone.run((function(){return e.next(t)}))}},{key:"_registerGlobalListeners",value:function(e){var t=this;if(this._platform.isBrowser){var n=e.rootNode,r=this._rootNodeFocusListenerCount.get(n)||0;r||this._ngZone.runOutsideAngular((function(){n.addEventListener("focus",t._rootNodeFocusAndBlurListener,HS),n.addEventListener("blur",t._rootNodeFocusAndBlurListener,HS)})),this._rootNodeFocusListenerCount.set(n,r+1),1==++this._monitoredElementCount&&this._ngZone.runOutsideAngular((function(){var e=t._getDocument(),n=t._getWindow();e.addEventListener("keydown",t._documentKeydownListener,HS),e.addEventListener("mousedown",t._documentMousedownListener,HS),e.addEventListener("touchstart",t._documentTouchstartListener,HS),n.addEventListener("focus",t._windowFocusListener)}))}}},{key:"_removeGlobalListeners",value:function(e){var t=e.rootNode;if(this._rootNodeFocusListenerCount.has(t)){var n=this._rootNodeFocusListenerCount.get(t);n>1?this._rootNodeFocusListenerCount.set(t,n-1):(t.removeEventListener("focus",this._rootNodeFocusAndBlurListener,HS),t.removeEventListener("blur",this._rootNodeFocusAndBlurListener,HS),this._rootNodeFocusListenerCount.delete(t))}if(!--this._monitoredElementCount){var r=this._getDocument(),i=this._getWindow();r.removeEventListener("keydown",this._documentKeydownListener,HS),r.removeEventListener("mousedown",this._documentMousedownListener,HS),r.removeEventListener("touchstart",this._documentTouchstartListener,HS),i.removeEventListener("focus",this._windowFocusListener),clearTimeout(this._windowFocusTimeoutId),clearTimeout(this._touchTimeoutId),clearTimeout(this._originTimeoutId)}}}]),e}()).\u0275fac=function(e){return new(e||DS)($e(Nl),$e(oS),$e(du,8),$e(GS,8))},DS.\u0275prov=fe({factory:function(){return new DS($e(Nl),$e(oS),$e(du,8),$e(GS,8))},token:DS,providedIn:"root"}),DS);function VS(e){return e.composedPath?e.composedPath()[0]:e.target}var FS,BS=((FS=function(){function e(t,n){_classCallCheck(this,e),this._platform=t,this._document=n}return _createClass(e,[{key:"getHighContrastMode",value:function(){if(!this._platform.isBrowser)return 0;var e=this._document.createElement("div");e.style.backgroundColor="rgb(1,2,3)",e.style.position="absolute",this._document.body.appendChild(e);var t=this._document.defaultView||window,n=t&&t.getComputedStyle?t.getComputedStyle(e):null,r=(n&&n.backgroundColor||"").replace(/ /g,"");switch(this._document.body.removeChild(e),r){case"rgb(0,0,0)":return 2;case"rgb(255,255,255)":return 1}return 0}},{key:"_applyBodyHighContrastModeCssClasses",value:function(){if(this._platform.isBrowser&&this._document.body){var e=this._document.body.classList;e.remove("cdk-high-contrast-active"),e.remove("cdk-high-contrast-black-on-white"),e.remove("cdk-high-contrast-white-on-black");var t=this.getHighContrastMode();1===t?(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-black-on-white")):2===t&&(e.add("cdk-high-contrast-active"),e.add("cdk-high-contrast-white-on-black"))}}}]),e}()).\u0275fac=function(e){return new(e||FS)($e(oS),$e(du))},FS.\u0275prov=fe({factory:function(){return new FS($e(oS),$e(du))},token:FS,providedIn:"root"}),FS),jS=new oc("9.2.4");function US(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function zS(e){switch(e.length){case 0:return new Zm;case 1:return e[0];default:return new $m(e)}}function WS(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=[],s=[],c=-1,l=null;if(r.forEach((function(e){var n=e.offset,r=n==c,u=r&&l||{};Object.keys(e).forEach((function(n){var r=n,s=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,a),s){case"!":s=i[n];break;case"*":s=o[n];break;default:s=t.normalizeStyleValue(n,r,s,a)}u[r]=s})),r||s.push(u),l=u,c=n})),a.length){var u="\n - ";throw new Error("Unable to animate due to the following errors:".concat(u).concat(a.join(u)))}return s}function KS(e,t,n,r){switch(t){case"start":e.onStart((function(){return r(n&&XS(n,"start",e))}));break;case"done":e.onDone((function(){return r(n&&XS(n,"done",e))}));break;case"destroy":e.onDestroy((function(){return r(n&&XS(n,"destroy",e))}))}}function XS(e,t,n){var r=n.totalTime,i=qS(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),o=e._data;return null!=o&&(i._data=o),i}function qS(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:r,phaseName:i,totalTime:o,disabled:!!a}}function QS(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function ZS(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var $S=function(e,t){return!1},YS=function(e,t){return!1},JS=function(e,t,n){return[]},eT=US();(eT||"undefined"!=typeof Element)&&($S=function(e,t){return e.contains(t)},YS=function(){if(eT||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:YS}(),JS=function(e,t,n){var r=[];if(n)r.push.apply(r,_toConsumableArray(e.querySelectorAll(t)));else{var i=e.querySelector(t);i&&r.push(i)}return r});var tT=null,nT=!1;function rT(e){tT||(tT=("undefined"!=typeof document?document.body:null)||{},nT=!!tT.style&&"WebkitAppearance"in tT.style);var t=!0;return tT.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in tT.style)&&nT)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in tT.style),t}var iT=YS,oT=$S,aT=JS;function sT(e){var t={};return Object.keys(e).forEach((function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]})),t}var cT,lT=((cT=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return rT(e)}},{key:"matchesElement",value:function(e,t){return iT(e,t)}},{key:"containsElement",value:function(e,t){return oT(e,t)}},{key:"query",value:function(e,t,n){return aT(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return n||""}},{key:"animate",value:function(e,t,n,r,i){return arguments.length>5&&void 0!==arguments[5]&&arguments[5],arguments.length>6&&arguments[6],new Zm(n,r)}}]),e}()).\u0275fac=function(e){return new(e||cT)},cT.\u0275prov=fe({token:cT,factory:cT.\u0275fac}),cT),uT=function(){var e=function e(){_classCallCheck(this,e)};return e.NOOP=new lT,e}();function hT(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:fT(parseFloat(t[1]),t[2])}function fT(e,t){switch(t){case"s":return 1e3*e;default:return e}}function dT(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,i=0,o="";if("string"==typeof e){var a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push('The provided timing value "'.concat(e,'" is invalid.')),{duration:0,delay:0,easing:""};r=fT(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=fT(parseFloat(s),a[4]));var c=a[5];c&&(o=c)}else r=e;if(!n){var l=!1,u=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),l=!0),i<0&&(t.push("Delay values below 0 are not allowed for this animation step."),l=!0),l&&t.splice(u,0,'The provided timing value "'.concat(e,'" is invalid.'))}return{duration:r,delay:i,easing:o}}(e,t,n)}function pT(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach((function(n){t[n]=e[n]})),t}function vT(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var r in e)n[r]=e[r];else pT(e,n);return n}function gT(e,t,n){return n?t+":"+n+";":""}function mT(e){for(var t="",n=0;n<e.style.length;n++){var r=e.style.item(n);t+=gT(0,r,e.style.getPropertyValue(r))}for(var i in e.style)e.style.hasOwnProperty(i)&&!i.startsWith("_")&&(t+=gT(0,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[i]));e.setAttribute("style",t)}function yT(e,t,n){e.style&&(Object.keys(t).forEach((function(r){var i=PT(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]})),US()&&mT(e))}function _T(e,t){e.style&&(Object.keys(t).forEach((function(t){var n=PT(t);e.style[n]=""})),US()&&mT(e))}function bT(e){return Array.isArray(e)?1==e.length?e[0]:jm(e):e}var CT=new RegExp("{{\\s*(.+?)\\s*}}","g");function kT(e){var t=[];if("string"==typeof e){for(var n;n=CT.exec(e);)t.push(n[1]);CT.lastIndex=0}return t}function wT(e,t,n){var r=e.toString(),i=r.replace(CT,(function(e,r){var i=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),i=""),i.toString()}));return i==r?e:i}function ST(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var TT=/-+([a-z0-9])/g;function PT(e){return e.replace(TT,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()}))}function OT(e,t){return 0===e||0===t}function MT(e,t,n){var r=Object.keys(n);if(r.length&&t.length){var i=t[0],o=[];if(r.forEach((function(e){i.hasOwnProperty(e)||o.push(e),i[e]=n[e]})),o.length)for(var a=function(){var n=t[s];o.forEach((function(t){n[t]=ET(e,t)}))},s=1;s<t.length;s++)a()}return t}function xT(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function ET(e,t){return window.getComputedStyle(e)[t]}var AT=new Set(["true","1"]),IT=new Set(["false","0"]);function NT(e,t){var n=AT.has(e)||IT.has(e),r=AT.has(t)||IT.has(t);return function(i,o){var a="*"==e||e==i,s="*"==t||t==o;return!a&&n&&"boolean"==typeof i&&(a=i?AT.has(e):IT.has(e)),!s&&r&&"boolean"==typeof o&&(s=o?AT.has(t):IT.has(t)),a&&s}}var RT=new RegExp("s*:selfs*,?","g");function DT(e,t,n){return new GT(e).build(t,n)}var GT=function(){function e(t){_classCallCheck(this,e),this._driver=t}return _createClass(e,[{key:"build",value:function(e,t){var n=new HT(t);return this._resetContextStyleTimingState(n),xT(this,bT(e),n)}},{key:"_resetContextStyleTimingState",value:function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}},{key:"visitTrigger",value:function(e,t){var n=this,r=t.queryCount=0,i=t.depCount=0,o=[],a=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach((function(e){if(n._resetContextStyleTimingState(t),0==e.type){var s=e,c=s.name;c.toString().split(/\s*,\s*/).forEach((function(e){s.name=e,o.push(n.visitState(s,t))})),s.name=c}else if(1==e.type){var l=n.visitTransition(e,t);r+=l.queryCount,i+=l.depCount,a.push(l)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")})),{type:7,name:e.name,states:o,transitions:a,queryCount:r,depCount:i,options:null}}},{key:"visitState",value:function(e,t){var n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){var i=new Set,o=r||{};if(n.styles.forEach((function(e){if(LT(e)){var t=e;Object.keys(t).forEach((function(e){kT(t[e]).forEach((function(e){o.hasOwnProperty(e)||i.add(e)}))}))}})),i.size){var a=ST(i.values());t.errors.push('state("'.concat(e.name,'", ...) must define default values for all the following style substitutions: ').concat(a.join(", ")))}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}},{key:"visitTransition",value:function(e,t){t.queryCount=0,t.depCount=0;var n,r,i,o=xT(this,bT(e.animation),t);return{type:1,matchers:(n=e.expr,r=t.errors,i=[],"string"==typeof n?n.split(/\s*,\s*/).forEach((function(e){return function(e,t,n){if(":"==e[0]){var r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t)<parseFloat(e)};default:return t.push('The transition alias value "'.concat(e,'" is not supported')),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var i=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==i||i.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var o=i[1],a=i[2],s=i[3];t.push(NT(o,s)),"<"!=a[0]||"*"==o&&"*"==s||t.push(NT(s,o))}(e,i,r)})):i.push(n),i),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:VT(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map((function(e){return xT(n,e,t)})),options:VT(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,r=t.currentTime,i=0,o=e.steps.map((function(e){t.currentTime=r;var o=xT(n,e,t);return i=Math.max(i,t.currentTime),o}));return t.currentTime=i,{type:3,steps:o,options:VT(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return FT(dT(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var i=FT(0,0,"");return i.dynamic=!0,i.strValue=r,i}return FT((n=n||dT(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var i=e.styles?e.styles:Um({});if(5==i.type)n=this.visitKeyframes(i,t);else{var o=e.styles,a=!1;if(!o){a=!0;var s={};r.easing&&(s.easing=r.easing),o=Um(s)}t.currentTime+=r.duration+r.delay;var c=this.visitStyle(o,t);c.isEmptyStep=a,n=c}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach((function(e){"string"==typeof e?"*"==e?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)})):n.push(e.styles);var r=!1,i=null;return n.forEach((function(e){if(LT(e)){var t=e,n=t.easing;if(n&&(i=n,delete t.easing),!r)for(var o in t)if(t[o].toString().indexOf("{{")>=0){r=!0;break}}})),{type:6,styles:n,easing:i,offset:e.offset,containsDynamicStyles:r,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,r=t.currentAnimateTimings,i=t.currentTime,o=t.currentTime;r&&o>0&&(o-=r.duration+r.delay),e.styles.forEach((function(e){"string"!=typeof e&&Object.keys(e).forEach((function(r){if(n._driver.validateStyleProperty(r)){var a=t.collectedStyles[t.currentQuerySelector],s=a[r],c=!0;s&&(o!=i&&o>=s.startTime&&i<=s.endTime&&(t.errors.push('The CSS property "'.concat(r,'" that exists between the times of "').concat(s.startTime,'ms" and "').concat(s.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(i,'ms"')),c=!1),o=s.startTime),c&&(a[r]={startTime:o,endTime:i}),t.options&&function(e,t,n){var r=t.params||{},i=kT(e);i.length&&i.forEach((function(e){r.hasOwnProperty(e)||n.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))}))}(e[r],t.options,t.errors)}else t.errors.push('The provided animation property "'.concat(r,'" is not a supported CSS property for animations'))}))}))}},{key:"visitKeyframes",value:function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var i=0,o=[],a=!1,s=!1,c=0,l=e.steps.map((function(e){var r=n._makeStyleAst(e,t),l=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach((function(e){if(LT(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}}));else if(LT(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),u=0;return null!=l&&(i++,u=r.offset=l),s=s||u<0||u>1,a=a||u<c,c=u,o.push(u),r}));s&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),a&&t.errors.push("Please ensure that all keyframe offsets are in order");var u=e.steps.length,h=0;i>0&&i<u?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==i&&(h=1/(u-1));var f=u-1,d=t.currentTime,p=t.currentAnimateTimings,v=p.duration;return l.forEach((function(e,i){var a=h>0?i==f?1:h*i:o[i],s=a*v;t.currentTime=d+p.delay+s,p.duration=s,n._validateStyleAst(e,t),e.offset=a,r.styles.push(e)})),r}},{key:"visitReference",value:function(e,t){return{type:8,animation:xT(this,bT(e.animation),t),options:VT(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:VT(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:VT(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;var i=_slicedToArray2(function(e){var t=!!e.split(/\s*,\s*/).find((function(e){return":self"==e}));return t&&(e=e.replace(RT,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(e){return".ng-trigger-"+e.substr(1)})).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),o=i[0],a=i[1];t.currentQuerySelector=n.length?n+" "+o:o,QS(t.collectedStyles,t.currentQuerySelector,{});var s=xT(this,bT(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:o,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:VT(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:dT(e.timings,t.errors,!0);return{type:12,animation:xT(this,bT(e.animation),t),timings:n,options:null}}}]),e}(),HT=function e(t){_classCallCheck(this,e),this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function LT(e){return!Array.isArray(e)&&"object"==typeof e}function VT(e){var t;return e?(e=pT(e)).params&&(e.params=(t=e.params)?pT(t):null):e={},e}function FT(e,t,n){return{duration:e,delay:t,easing:n}}function BT(e,t,n,r,i,o){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:i,delay:o,totalTime:i+o,easing:a,subTimeline:s}}var jT=function(){function e(){_classCallCheck(this,e),this._map=new Map}return _createClass(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,r=this._map.get(e);r||this._map.set(e,r=[]),(n=r).push.apply(n,_toConsumableArray(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),UT=new RegExp(":enter","g"),zT=new RegExp(":leave","g");function WT(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,c=arguments.length>8?arguments[8]:void 0,l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new KT).buildKeyframes(e,t,n,r,i,o,a,s,c,l)}var KT=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"buildKeyframes",value:function(e,t,n,r,i,o,a,s,c){var l=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];c=c||new jT;var u=new qT(e,t,c,r,i,l,[]);u.options=s,u.currentTimeline.setStyles([o],null,u.errors,s),xT(this,n,u);var h=u.timelines.filter((function(e){return e.containsAnimation()}));if(h.length&&Object.keys(a).length){var f=h[h.length-1];f.allowOnlyTimelineStyles()||f.setStyles([a],null,u.errors,s)}return h.length?h.map((function(e){return e.buildKeyframes()})):[BT(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),i=t.currentTimeline.currentTime,o=this._visitSubInstructions(n,r,r.options);i!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var r=t.currentTimeline.currentTime,i=null!=n.duration?hT(n.duration):null,o=null!=n.delay?hT(n.delay):null;return 0!==i&&e.forEach((function(e){var n=t.appendInstructionToTimeline(e,i,o);r=Math.max(r,n.duration+n.delay)})),r}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),xT(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,r=t.subContextCount,i=t,o=e.options;if(o&&(o.params||o.delay)&&((i=t.createSubContext(o)).transformIntoNewTimeline(),null!=o.delay)){6==i.previousNode.type&&(i.currentTimeline.snapshotCurrentStyles(),i.previousNode=XT);var a=hT(o.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach((function(e){return xT(n,e,i)})),i.currentTimeline.applyStylesToKeyframe(),i.subContextCount>r&&i.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,r=[],i=t.currentTimeline.currentTime,o=e.options&&e.options.delay?hT(e.options.delay):0;e.steps.forEach((function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),xT(n,a,s),i=Math.max(i,s.currentTimeline.currentTime),r.push(s.currentTimeline)})),r.forEach((function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)})),t.transformIntoNewTimeline(i),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return dT(t.params?wT(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var i=e.style;5==i.type?this.visitKeyframes(i,t):(t.incrementTime(n.duration),this.visitStyle(i,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var i=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(i):n.setStyles(e.styles,i,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,i=n.duration,o=t.createSubContext().currentTimeline;o.easing=n.easing,e.styles.forEach((function(e){o.forwardTime((e.offset||0)*i),o.setStyles(e.styles,e.easing,t.errors,t.options),o.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(o),t.transformIntoNewTimeline(r+i),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,r=t.currentTimeline.currentTime,i=e.options||{},o=i.delay?hT(i.delay):0;o&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=XT);var a=r,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!i.optional,t.errors);t.currentQueryTotal=s.length;var c=null;s.forEach((function(r,i){t.currentQueryIndex=i;var s=t.createSubContext(e.options,r);o&&s.delayNextStep(o),r===t.element&&(c=s.currentTimeline),xT(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)})),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,r=t.currentTimeline,i=e.timings,o=Math.abs(i.duration),a=o*(t.currentQueryTotal-1),s=o*t.currentQueryIndex;switch(i.duration<0?"reverse":i.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var c=t.currentTimeline;s&&c.delayNextStep(s);var l=c.currentTime;xT(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-l+(r.startTime-n.currentTimeline.startTime)}}]),e}(),XT={},qT=function(){function e(t,n,r,i,o,a,s,c){_classCallCheck(this,e),this._driver=t,this.element=n,this.subInstructions=r,this._enterClassName=i,this._leaveClassName=o,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=XT,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new QT(this._driver,n,0),s.push(this.currentTimeline)}return _createClass(e,[{key:"updateOptions",value:function(e,t){var n=this;if(e){var r=e,i=this.options;null!=r.duration&&(i.duration=hT(r.duration)),null!=r.delay&&(i.delay=hT(r.delay));var o=r.params;if(o){var a=i.params;a||(a=this.options.params={}),Object.keys(o).forEach((function(e){t&&a.hasOwnProperty(e)||(a[e]=wT(o[e],a,n.errors))}))}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach((function(e){n[e]=t[e]}))}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=n||this.element,o=new e(this._driver,i,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(i,r||0));return o.previousNode=this.previousNode,o.currentAnimateTimings=this.currentAnimateTimings,o.options=this._copyOptions(),o.updateOptions(t),o.currentQueryIndex=this.currentQueryIndex,o.currentQueryTotal=this.currentQueryTotal,o.parentContext=this,this.subContextCount++,o}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=XT,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},i=new ZT(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(i),r}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,r,i,o){var a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(UT,"."+this._enterClassName)).replace(zT,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,_toConsumableArray(s))}return i||0!=a.length||o.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),a}},{key:"params",get:function(){return this.options.params}}]),e}(),QT=function(){function e(t,n,r,i){_classCallCheck(this,e),this._driver=t,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=i,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return _createClass(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach((function(e){t._backFill[e]=t._globalTimelineStyles[e]||"*",t._currentKeyframe[e]="*"})),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,r){var i=this;t&&(this._previousKeyframe.easing=t);var o=r&&r.params||{},a=function(e,t){var n,r={};return e.forEach((function(e){"*"===e?(n=n||Object.keys(t)).forEach((function(e){r[e]="*"})):vT(e,!1,r)})),r}(e,this._globalTimelineStyles);Object.keys(a).forEach((function(e){var t=wT(a[e],o,n);i._pendingStyles[e]=t,i._localTimelineStyles.hasOwnProperty(e)||(i._backFill[e]=i._globalTimelineStyles.hasOwnProperty(e)?i._globalTimelineStyles[e]:"*"),i._updateStyle(e,t)}))}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){e._currentKeyframe[n]=t[n]})),Object.keys(this._localTimelineStyles).forEach((function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])})))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach((function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)}))}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach((function(n){var r=t._styleSummary[n],i=e._styleSummary[n];(!r||i.time>r.time)&&t._updateStyle(n,i.value)}))}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,i=[];this._keyframes.forEach((function(o,a){var s=vT(o,!0);Object.keys(s).forEach((function(e){var r=s[e];"!"==r?t.add(e):"*"==r&&n.add(e)})),r||(s.offset=a/e.duration),i.push(s)}));var o=t.size?ST(t.values()):[],a=n.size?ST(n.values()):[];if(r){var s=i[0],c=pT(s);s.offset=0,c.offset=1,i=[s,c]}return BT(this.element,i,o,a,this.duration,this.startTime,this.easing,!1)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}}]),e}(),ZT=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o,a,s){var c,l=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _classCallCheck(this,n),(c=t.call(this,e,r,s.delay)).element=r,c.keyframes=i,c.preStyleProps=o,c.postStyleProps=a,c._stretchStartingKeyframe=l,c.timings={duration:s.duration,delay:s.delay,easing:s.easing},c}return _createClass(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,i=t.easing;if(this._stretchStartingKeyframe&&n){var o=[],a=r+n,s=n/a,c=vT(e[0],!1);c.offset=0,o.push(c);var l=vT(e[0],!1);l.offset=$T(s),o.push(l);for(var u=e.length-1,h=1;h<=u;h++){var f=vT(e[h],!1);f.offset=$T((n+f.offset*r)/a),o.push(f)}r=a,n=0,i="",e=o}return BT(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}]),n}(QT);function $T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var YT=function e(){_classCallCheck(this,e)},JT=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"normalizePropertyName",value:function(e,t){return PT(e)}},{key:"normalizeStyleValue",value:function(e,t,n,r){var i="",o=n.toString().trim();if(eP[t]&&0!==n&&"0"!==n)if("number"==typeof n)i="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return o+i}}]),n}(YT),eP=function(e){var t={};return e.forEach((function(e){return t[e]=!0})),t}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","));function tP(e,t,n,r,i,o,a,s,c,l,u,h,f){return{type:0,element:e,triggerName:t,isRemovalTransition:i,fromState:n,fromStyles:o,toState:r,toStyles:a,timelines:s,queriedElements:c,preStyleProps:l,postStyleProps:u,totalTime:h,errors:f}}var nP={},rP=function(){function e(t,n,r){_classCallCheck(this,e),this._triggerName=t,this.ast=n,this._stateStyles=r}return _createClass(e,[{key:"match",value:function(e,t,n,r){return function(e,t,n,r,i){return e.some((function(e){return e(t,n,r,i)}))}(this.ast.matchers,e,t,n,r)}},{key:"buildStyles",value:function(e,t,n){var r=this._stateStyles["*"],i=this._stateStyles[e],o=r?r.buildStyles(t,n):{};return i?i.buildStyles(t,n):o}},{key:"build",value:function(e,t,n,r,i,o,a,s,c,l){var u=[],h=this.ast.options&&this.ast.options.params||nP,f=this.buildStyles(n,a&&a.params||nP,u),d=s&&s.params||nP,p=this.buildStyles(r,d,u),v=new Set,g=new Map,m=new Map,y="void"===r,_={params:Object.assign(Object.assign({},h),d)},b=l?[]:WT(e,t,this.ast.animation,i,o,f,p,_,c,u),C=0;if(b.forEach((function(e){C=Math.max(e.duration+e.delay,C)})),u.length)return tP(t,this._triggerName,n,r,y,f,p,[],[],g,m,C,u);b.forEach((function(e){var n=e.element,r=QS(g,n,{});e.preStyleProps.forEach((function(e){return r[e]=!0}));var i=QS(m,n,{});e.postStyleProps.forEach((function(e){return i[e]=!0})),n!==t&&v.add(n)}));var k=ST(v.values());return tP(t,this._triggerName,n,r,y,f,p,b,k,g,m,C)}}]),e}(),iP=function(){function e(t,n){_classCallCheck(this,e),this.styles=t,this.defaultParams=n}return _createClass(e,[{key:"buildStyles",value:function(e,t){var n={},r=pT(this.defaultParams);return Object.keys(e).forEach((function(t){var n=e[t];null!=n&&(r[t]=n)})),this.styles.styles.forEach((function(e){if("string"!=typeof e){var i=e;Object.keys(i).forEach((function(e){var o=i[e];o.length>1&&(o=wT(o,r,t)),n[e]=o}))}})),n}}]),e}(),oP=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach((function(e){r.states[e.name]=new iP(e.style,e.options&&e.options.params||{})})),aP(this.states,"true","1"),aP(this.states,"false","0"),n.transitions.forEach((function(e){r.transitionFactories.push(new rP(t,e,r.states))})),this.fallbackTransition=function(e,t){return new rP(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},t)}(t,this.states)}return _createClass(e,[{key:"matchTransition",value:function(e,t,n,r){return this.transitionFactories.find((function(i){return i.match(e,t,n,r)}))||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}},{key:"containsQueries",get:function(){return this.ast.queryCount>0}}]),e}();function aP(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var sP=new jT,cP=function(){function e(t,n,r){_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}return _createClass(e,[{key:"register",value:function(e,t){var n=[],r=DT(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r}},{key:"_buildPlayer",value:function(e,t,n){var r=e.element,i=WS(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,i,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=[],a=this._animations[e],s=new Map;if(a?(n=WT(this._driver,t,a,"ng-enter","ng-leave",{},{},i,sP,o)).forEach((function(e){var t=QS(s,e.element,{});e.postStyleProps.forEach((function(e){return t[e]=null}))})):(o.push("The requested animation doesn't exist or has already been destroyed"),n=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));s.forEach((function(e,t){Object.keys(e).forEach((function(n){e[n]=r._driver.computeStyle(t,n,"*")}))}));var c=zS(n.map((function(e){var t=s.get(e.element);return r._buildPlayer(e,{},t)})));return this._playersById[e]=c,c.onDestroy((function(){return r.destroy(e)})),this.players.push(c),c}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}},{key:"listen",value:function(e,t,n,r){var i=qS(t,"","","");return KS(this._getPlayer(e),n,i,r),function(){}}},{key:"command",value:function(e,t,n,r){if("register"!=n)if("create"!=n){var i=this._getPlayer(e);switch(n){case"play":i.play();break;case"pause":i.pause();break;case"reset":i.reset();break;case"restart":i.restart();break;case"finish":i.finish();break;case"init":i.init();break;case"setPosition":i.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,r[0]||{});else this.register(e,r[0])}}]),e}(),lP=[],uP={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},hP={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},fP=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck(this,e),this.namespaceId=n;var r,i=t&&t.hasOwnProperty("value");if(this.value=null!=(r=i?t.value:t)?r:null,i){var o=pT(t);delete o.value,this.options=o}else this.options={};this.options.params||(this.options.params={})}return _createClass(e,[{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach((function(e){null==n[e]&&(n[e]=t[e])}))}}},{key:"params",get:function(){return this.options.params}}]),e}(),dP=new fP("void"),pP=function(){function e(t,n,r){_classCallCheck(this,e),this.id=t,this.hostElement=n,this._engine=r,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,CP(n,this._hostClassName)}return _createClass(e,[{key:"listen",value:function(e,t,n,r){var i,o=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(i=n)&&"done"!=i)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var a=QS(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};a.push(s);var c=QS(this._engine.statesByElement,e,{});return c.hasOwnProperty(t)||(CP(e,"ng-trigger"),CP(e,"ng-trigger-"+t),c[t]=dP),function(){o._engine.afterFlush((function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),o._triggers[t]||delete c[t]}))}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var r=this,i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=this._getTrigger(t),a=new gP(this.id,t,e),s=this._engine.statesByElement.get(e);s||(CP(e,"ng-trigger"),CP(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var c=s[t],l=new fP(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),s[t]=l,c||(c=dP),"void"===l.value||c.value!==l.value){var u=QS(this._engine.playersByElement,e,[]);u.forEach((function(e){e.namespaceId==r.id&&e.triggerName==t&&e.queued&&e.destroy()}));var h=o.matchTransition(c.value,l.value,e,l.params),f=!1;if(!h){if(!i)return;h=o.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:c,toState:l,player:a,isFallbackTransition:f}),f||(CP(e,"ng-animate-queued"),a.onStart((function(){kP(e,"ng-animate-queued")}))),a.onDone((function(){var t=r.players.indexOf(a);t>=0&&r.players.splice(t,1);var n=r._engine.playersByElement.get(e);if(n){var i=n.indexOf(a);i>=0&&n.splice(i,1)}})),this.players.push(a),u.push(a),a}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var i=0;i<n.length;i++){var o=n[i];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}(c.params,l.params)){var d=[],p=o.matchStyles(c.value,c.params,d),v=o.matchStyles(l.value,l.params,d);d.length?this._engine.reportError(d):this._engine.afterFlush((function(){_T(e,p),yT(e,v)}))}}},{key:"deregister",value:function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach((function(t,n){delete t[e]})),this._elementListeners.forEach((function(n,r){t._elementListeners.set(r,n.filter((function(t){return t.name!=e})))}))}},{key:"clearElementCache",value:function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach((function(e){return e.destroy()})),this._engine.playersByElement.delete(e))}},{key:"_signalRemovalForInnerTriggers",value:function(e,t){var n=this,r=this._engine.driver.query(e,".ng-trigger",!0);r.forEach((function(e){if(!e.__ng_removed){var r=n._engine.fetchNamespacesByElement(e);r.size?r.forEach((function(n){return n.triggerLeaveAnimation(e,t,!1,!0)})):n.clearElementCache(e)}})),this._engine.afterFlushAnimationsDone((function(){return r.forEach((function(e){return n.clearElementCache(e)}))}))}},{key:"triggerLeaveAnimation",value:function(e,t,n,r){var i=this,o=this._engine.statesByElement.get(e);if(o){var a=[];if(Object.keys(o).forEach((function(t){if(i._triggers[t]){var n=i.trigger(e,t,"void",r);n&&a.push(n)}})),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&zS(a).onDone((function(){return i._engine.processLeaveNode(e)})),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,n=this._elementListeners.get(e);if(n){var r=new Set;n.forEach((function(n){var i=n.name;if(!r.has(i)){r.add(i);var o=t._triggers[i].fallbackTransition,a=t._engine.statesByElement.get(e)[i]||dP,s=new fP("void"),c=new gP(t.id,i,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:i,transition:o,fromState:a,toState:s,player:c,isFallbackTransition:!0})}}))}}},{key:"removeNode",value:function(e,t){var n=this,r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var i=!1;if(r.totalAnimations){var o=r.players.length?r.playersByQueriedElement.get(e):[];if(o&&o.length)i=!0;else for(var a=e;a=a.parentNode;)if(r.statesByElement.get(a)){i=!0;break}}if(this.prepareLeaveAnimationListeners(e),i)r.markElementAsRemoved(this.id,e,!1,t);else{var s=e.__ng_removed;s&&s!==uP||(r.afterFlush((function(){return n.clearElementCache(e)})),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){CP(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,n=[];return this._queue.forEach((function(r){var i=r.player;if(!i.destroyed){var o=r.element,a=t._elementListeners.get(o);a&&a.forEach((function(t){if(t.name==r.triggerName){var n=qS(o,r.triggerName,r.fromState.value,r.toState.value);n._data=e,KS(r.player,t.phase,n,t.callback)}})),i.markedForDestroy?t._engine.afterFlush((function(){i.destroy()})):n.push(r)}})),this._queue=[],n.sort((function(e,n){var r=e.transition.ast.depCount,i=n.transition.ast.depCount;return 0==r||0==i?r-i:t._engine.driver.containsElement(e.element,n.element)?1:-1}))}},{key:"destroy",value:function(e){this.players.forEach((function(e){return e.destroy()})),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find((function(t){return t.element===e}))||t}}]),e}(),vP=function(){function e(t,n,r){_classCallCheck(this,e),this.bodyNode=t,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(e,t){}}return _createClass(e,[{key:"_onRemovalComplete",value:function(e,t){this.onRemovalComplete(e,t)}},{key:"createNamespace",value:function(e,t){var n=new pP(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}},{key:"_balanceNamespaceList",value:function(e,t){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,i=n;i>=0;i--)if(this.driver.containsElement(this._namespaceList[i].hostElement,t)){this._namespaceList.splice(i+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush((function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)})),this.afterFlushAnimationsDone((function(){return r.destroy(t)}))}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=n[r[i]].namespaceId;if(o){var a=this._fetchNamespace(o);a&&t.add(a)}}return t}},{key:"trigger",value:function(e,t,n,r){if(mP(t)){var i=this._fetchNamespace(e);if(i)return i.trigger(t,n,r),!0}return!1}},{key:"insertNode",value:function(e,t,n,r){if(mP(t)){var i=t.__ng_removed;if(i&&i.setForRemoval){i.setForRemoval=!1,i.setForMove=!0;var o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}r&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),CP(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),kP(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,r){if(mP(t)){var i=e?this._fetchNamespace(e):null;if(i?i.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){var o=this.namespacesByHostElement.get(t);o&&o.id!==e&&o.removeNode(t,r)}}else this._onRemovalComplete(t,r)}},{key:"markElementAsRemoved",value:function(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,r,i){return mP(t)?this._fetchNamespace(e).listen(t,n,r,i):function(){}}},{key:"_buildInstruction",value:function(e,t,n,r,i){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,i)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach((function(e){return t.destroyActiveAnimationsForElement(e)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach((function(e){return t.finishActiveQueriedAnimationOnElement(e)}))}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach((function(e){e.queued?e.markedForDestroy=!0:e.destroy()}))}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach((function(e){return e.finish()}))}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise((function(t){if(e.players.length)return zS(e.players).onDone((function(){return t()}));t()}))}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=uP,n.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach((function(e){t.markElementAsDisabled(e,!1)}))}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(t,n){return e._balanceNamespaceList(t,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r<this.collectedEnterElements.length;r++)CP(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var i=[];try{n=this._flushAnimations(i,t)}finally{for(var o=0;o<i.length;o++)i[o]()}}else for(var a=0;a<this.collectedLeaveElements.length;a++)this.processLeaveNode(this.collectedLeaveElements[a]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((function(e){return e()})),this._flushFns=[],this._whenQuietFns.length){var s=this._whenQuietFns;this._whenQuietFns=[],n.length?zS(n).onDone((function(){s.forEach((function(e){return e()}))})):s.forEach((function(e){return e()}))}}},{key:"reportError",value:function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}},{key:"_flushAnimations",value:function(e,t){var n=this,r=new jT,i=[],o=new Map,a=[],s=new Map,c=new Map,l=new Map,u=new Set;this.disabledNodes.forEach((function(e){u.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),r=0;r<t.length;r++)u.add(t[r])}));var h=this.bodyNode,f=Array.from(this.statesByElement.keys()),d=bP(f,this.collectedEnterElements),p=new Map,v=0;d.forEach((function(e,t){var n="ng-enter"+v++;p.set(t,n),e.forEach((function(e){return CP(e,n)}))}));for(var g=[],m=new Set,y=new Set,_=0;_<this.collectedLeaveElements.length;_++){var b=this.collectedLeaveElements[_],C=b.__ng_removed;C&&C.setForRemoval&&(g.push(b),m.add(b),C.hasAnimation?this.driver.query(b,".ng-star-inserted",!0).forEach((function(e){return m.add(e)})):y.add(b))}var k=new Map,w=bP(f,Array.from(m));w.forEach((function(e,t){var n="ng-leave"+v++;k.set(t,n),e.forEach((function(e){return CP(e,n)}))})),e.push((function(){d.forEach((function(e,t){var n=p.get(t);e.forEach((function(e){return kP(e,n)}))})),w.forEach((function(e,t){var n=k.get(t);e.forEach((function(e){return kP(e,n)}))})),g.forEach((function(e){n.processLeaveNode(e)}))}));for(var S=[],T=[],P=this._namespaceList.length-1;P>=0;P--)this._namespaceList[P].drainQueuedTransitions(t).forEach((function(e){var t=e.player,o=e.element;if(S.push(t),n.collectedEnterElements.length){var u=o.__ng_removed;if(u&&u.setForMove)return void t.destroy()}var f=!h||!n.driver.containsElement(h,o),d=k.get(o),v=p.get(o),g=n._buildInstruction(e,r,v,d,f);if(g.errors&&g.errors.length)T.push(g);else{if(f)return t.onStart((function(){return _T(o,g.fromStyles)})),t.onDestroy((function(){return yT(o,g.toStyles)})),void i.push(t);if(e.isFallbackTransition)return t.onStart((function(){return _T(o,g.fromStyles)})),t.onDestroy((function(){return yT(o,g.toStyles)})),void i.push(t);g.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),r.append(o,g.timelines),a.push({instruction:g,player:t,element:o}),g.queriedElements.forEach((function(e){return QS(s,e,[]).push(t)})),g.preStyleProps.forEach((function(e,t){var n=Object.keys(e);if(n.length){var r=c.get(t);r||c.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}})),g.postStyleProps.forEach((function(e,t){var n=Object.keys(e),r=l.get(t);r||l.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}))}}));if(T.length){var O=[];T.forEach((function(e){O.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach((function(e){return O.push("- ".concat(e,"\n"))}))})),S.forEach((function(e){return e.destroy()})),this.reportError(O)}var M=new Map,x=new Map;a.forEach((function(e){var t=e.element;r.has(t)&&(x.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,M))})),i.forEach((function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((function(e){QS(M,t,[]).push(e),e.destroy()}))}));var E=g.filter((function(e){return SP(e,c,l)})),A=new Map;_P(A,this.driver,y,l,"*").forEach((function(e){SP(e,c,l)&&E.push(e)}));var I=new Map;d.forEach((function(e,t){_P(I,n.driver,new Set(e),c,"!")})),E.forEach((function(e){var t=A.get(e),n=I.get(e);A.set(e,Object.assign(Object.assign({},t),n))}));var N=[],R=[],D={};a.forEach((function(e){var t=e.element,a=e.player,s=e.instruction;if(r.has(t)){if(u.has(t))return a.onDestroy((function(){return yT(t,s.toStyles)})),a.disabled=!0,a.overrideTotalTime(s.totalTime),void i.push(a);var c=D;if(x.size>1){for(var l=t,h=[];l=l.parentNode;){var f=x.get(l);if(f){c=f;break}h.push(l)}h.forEach((function(e){return x.set(e,c)}))}var d=n._buildAnimation(a.namespaceId,s,M,o,I,A);if(a.setRealPlayer(d),c===D)N.push(a);else{var p=n.playersByElement.get(c);p&&p.length&&(a.parentPlayer=zS(p)),i.push(a)}}else _T(t,s.fromStyles),a.onDestroy((function(){return yT(t,s.toStyles)})),R.push(a),u.has(t)&&i.push(a)})),R.forEach((function(e){var t=o.get(e.element);if(t&&t.length){var n=zS(t);e.setRealPlayer(n)}})),i.forEach((function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(var G=0;G<g.length;G++){var H=g[G],L=H.__ng_removed;if(kP(H,"ng-leave"),!L||!L.hasAnimation){var V=[];if(s.size){var F=s.get(H);F&&F.length&&V.push.apply(V,_toConsumableArray(F));for(var B=this.driver.query(H,".ng-animating",!0),j=0;j<B.length;j++){var U=s.get(B[j]);U&&U.length&&V.push.apply(V,_toConsumableArray(U))}}var z=V.filter((function(e){return!e.destroyed}));z.length?wP(this,H,z):this.processLeaveNode(H)}}return g.length=0,N.forEach((function(e){n.players.push(e),e.onDone((function(){e.destroy();var t=n.players.indexOf(e);n.players.splice(t,1)})),e.play()})),N}},{key:"elementContainsData",value:function(e,t){var n=!1,r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}},{key:"afterFlush",value:function(e){this._flushFns.push(e)}},{key:"afterFlushAnimationsDone",value:function(e){this._whenQuietFns.push(e)}},{key:"_getPreviousPlayers",value:function(e,t,n,r,i){var o=[];if(t){var a=this.playersByQueriedElement.get(e);a&&(o=a)}else{var s=this.playersByElement.get(e);if(s){var c=!i||"void"==i;s.forEach((function(e){e.queued||(c||e.triggerName==r)&&o.push(e)}))}}return(n||r)&&(o=o.filter((function(e){return!(n&&n!=e.namespaceId||r&&r!=e.triggerName)}))),o}},{key:"_beforeAnimationBuild",value:function(e,t,n){var r,i=this,o=t.element,a=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName,c=_createForOfIteratorHelper(t.timelines);try{var l=function(){var e=r.value.element,c=e!==o,l=QS(n,e,[]);i._getPreviousPlayers(e,c,a,s,t.toState).forEach((function(e){var t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),l.push(e)}))};for(c.s();!(r=c.n()).done;)l()}catch(u){c.e(u)}finally{c.f()}_T(o,t.fromStyles)}},{key:"_buildAnimation",value:function(e,t,n,r,i,o){var a=this,s=t.triggerName,c=t.element,l=[],u=new Set,h=new Set,f=t.timelines.map((function(t){var f=t.element;u.add(f);var d=f.__ng_removed;if(d&&d.removedBeforeQueried)return new Zm(t.duration,t.delay);var p,v,g=f!==c,m=(p=(n.get(f)||lP).map((function(e){return e.getRealPlayer()})),v=[],function e(t,n){for(var r=0;r<t.length;r++){var i=t[r];i instanceof $m?e(i.players,n):n.push(i)}}(p,v),v).filter((function(e){return!!e.element&&e.element===f})),y=i.get(f),_=o.get(f),b=WS(0,a._normalizer,0,t.keyframes,y,_),C=a._buildPlayer(t,b,m);if(t.subTimeline&&r&&h.add(f),g){var k=new gP(e,s,f);k.setRealPlayer(C),l.push(k)}return C}));l.forEach((function(e){QS(a.playersByQueriedElement,e.element,[]).push(e),e.onDone((function(){return function(e,t,n){var r;if(e instanceof Map){if(r=e.get(t)){if(r.length){var i=r.indexOf(n);r.splice(i,1)}0==r.length&&e.delete(t)}}else if(r=e[t]){if(r.length){var o=r.indexOf(n);r.splice(o,1)}0==r.length&&delete e[t]}return r}(a.playersByQueriedElement,e.element,e)}))})),u.forEach((function(e){return CP(e,"ng-animating")}));var d=zS(f);return d.onDestroy((function(){u.forEach((function(e){return kP(e,"ng-animating")})),yT(c,t.toStyles)})),h.forEach((function(e){QS(r,e,[]).push(d)})),d}},{key:"_buildPlayer",value:function(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new Zm(e.duration,e.delay)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach((function(t){t.players.forEach((function(t){t.queued&&e.push(t)}))})),e}}]),e}(),gP=function(){function e(t,n,r){_classCallCheck(this,e),this.namespaceId=t,this.triggerName=n,this.element=r,this._player=new Zm,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return _createClass(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach((function(n){t._queuedCallbacks[n].forEach((function(t){return KS(e,n,void 0,t)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart((function(){return n.triggerCallback("start")})),e.onDone((function(){return t.finish()})),e.onDestroy((function(){return t.destroy()}))}},{key:"_queueEvent",value:function(e,t){QS(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function mP(e){return e&&1===e.nodeType}function yP(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function _P(e,t,n,r,i){var o=[];n.forEach((function(e){return o.push(yP(e))}));var a=[];r.forEach((function(n,r){var o={};n.forEach((function(e){var n=o[e]=t.computeStyle(r,e,i);n&&0!=n.length||(r.__ng_removed=hP,a.push(r))})),e.set(r,o)}));var s=0;return n.forEach((function(e){return yP(e,o[s++])})),a}function bP(e,t){var n=new Map;if(e.forEach((function(e){return n.set(e,[])})),0==t.length)return n;var r=new Set(t),i=new Map;return t.forEach((function(e){var t=function e(t){if(!t)return 1;var o=i.get(t);if(o)return o;var a=t.parentNode;return o=n.has(a)?a:r.has(a)?1:e(a),i.set(t,o),o}(e);1!==t&&n.get(t).push(e)})),n}function CP(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function kP(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function wP(e,t,n){zS(n).onDone((function(){return e.processLeaveNode(t)}))}function SP(e,t,n){var r=n.get(e);if(!r)return!1;var i=t.get(e);return i?r.forEach((function(e){return i.add(e)})):t.set(e,r),n.delete(e),!0}var TP=function(){function e(t,n,r){var i=this;_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new vP(t,n,r),this._timelineEngine=new cP(t,n,r),this._transitionEngine.onRemovalComplete=function(e,t){return i.onRemovalComplete(e,t)}}return _createClass(e,[{key:"registerTrigger",value:function(e,t,n,r,i){var o=e+"-"+r,a=this._triggerCache[o];if(!a){var s=[],c=DT(this._driver,i,s);if(s.length)throw new Error('The animation trigger "'.concat(r,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));a=function(e,t){return new oP(e,t)}(r,c),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)}},{key:"register",value:function(e,t){this._transitionEngine.register(e,t)}},{key:"destroy",value:function(e,t){this._transitionEngine.destroy(e,t)}},{key:"onInsert",value:function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}},{key:"onRemove",value:function(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}},{key:"disableAnimations",value:function(e,t){this._transitionEngine.markElementAsDisabled(e,t)}},{key:"process",value:function(e,t,n,r){if("@"==n.charAt(0)){var i=_slicedToArray2(ZS(n),2),o=i[0],a=i[1];this._timelineEngine.command(o,t,a,r)}else this._transitionEngine.trigger(e,t,n,r)}},{key:"listen",value:function(e,t,n,r,i){if("@"==n.charAt(0)){var o=_slicedToArray2(ZS(n),2),a=o[0],s=o[1];return this._timelineEngine.listen(a,t,s,i)}return this._transitionEngine.listen(e,t,n,r,i)}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}]),e}();function PP(e,t){var n=null,r=null;return Array.isArray(t)&&t.length?(n=MP(t[0]),t.length>1&&(r=MP(t[t.length-1]))):t&&(n=MP(t)),n||r?new OP(e,n,r):null}var OP=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;var i=e.initialStylesByElement.get(t);i||e.initialStylesByElement.set(t,i={}),this._initialStyles=i}return _createClass(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&yT(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(yT(this._element,this._initialStyles),this._endStyles&&(yT(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(_T(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(_T(this._element,this._endStyles),this._endStyles=null),yT(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function MP(e){for(var t=null,n=Object.keys(e),r=0;r<n.length;r++){var i=n[r];xP(i)&&((t=t||{})[i]=e[i])}return t}function xP(e){return"display"===e||"position"===e}var EP=function(){function e(t,n,r,i,o,a,s){var c=this;_classCallCheck(this,e),this._element=t,this._name=n,this._duration=r,this._delay=i,this._easing=o,this._fillMode=a,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return c._handleCallback(e)}}return _createClass(e,[{key:"apply",value:function(){var e,t,n;e=this._element,t="".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name),(n=GP(e,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)e.charAt(n)}(n),t="".concat(n,", ").concat(t)),DP(e,"",t),RP(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){AP(this._element,this._name,"paused")}},{key:"resume",value:function(){AP(this._element,this._name,"running")}},{key:"setPosition",value:function(e){var t=IP(this._element,this._name);this._position=e*this._duration,DP(this._element,"Delay","-".concat(this._position,"ms"),t)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(e){var t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),RP(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,r;this._destroyed||(this._destroyed=!0,this.finish(),e=this._element,t=this._name,n=GP(e,"").split(","),(r=NP(n,t))>=0&&(n.splice(r,1),DP(e,"",n.join(","))))}}]),e}();function AP(e,t,n){DP(e,"PlayState",n,IP(e,t))}function IP(e,t){var n=GP(e,"");return n.indexOf(",")>0?NP(n.split(","),t):NP([n],t)}function NP(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function RP(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function DP(e,t,n,r){var i="animation"+t;if(null!=r){var o=e.style[i];if(o.length){var a=o.split(",");a[r]=n,n=a.join(",")}}e.style[i]=n}function GP(e,t){return e.style["animation"+t]}var HP=function(){function e(t,n,r,i,o,a,s,c){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.animationName=r,this._duration=i,this._delay=o,this._finalStyles=s,this._specialStyles=c,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=i+o,this._buildStyler()}return _createClass(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new EP(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return e.finish()}))}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:ET(e.element,r))}))}this.currentSnapshot=t}}]),e}(),LP=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this)).element=e,i._startingStyles={},i.__initialized=!1,i._styles=sT(r),i}return _createClass(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(t){e._startingStyles[t]=e.element.style[t]})),_get(_getPrototypeOf(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(t){return e.element.style.setProperty(t,e._styles[t])})),_get(_getPrototypeOf(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)})),this._startingStyles=null,_get(_getPrototypeOf(n.prototype),"destroy",this).call(this))}}]),n}(Zm),VP=function(){function e(){_classCallCheck(this,e),this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return rT(e)}},{key:"matchesElement",value:function(e,t){return iT(e,t)}},{key:"containsElement",value:function(e,t){return oT(e,t)}},{key:"query",value:function(e,t,n){return aT(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map((function(e){return sT(e)}));var r="@keyframes ".concat(t," {\n"),i="";n.forEach((function(e){i=" ";var t=parseFloat(e.offset);r+="".concat(i).concat(100*t,"% {\n"),i+=" ",Object.keys(e).forEach((function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+="".concat(i,"animation-timing-function: ").concat(n,";\n")));default:return void(r+="".concat(i).concat(t,": ").concat(n,";\n"))}})),r+=i+"}\n"})),r+="}\n";var o=document.createElement("style");return o.innerHTML=r,o}},{key:"animate",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;a&&this._notifyFaultyScrubber();var s=o.filter((function(e){return e instanceof HP})),c={};OT(n,r)&&s.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var l=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach((function(e){Object.keys(e).forEach((function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])}))})),t}(t=MT(e,t,c));if(0==n)return new LP(e,l);var u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(h);var f=PP(e,t),d=new HP(e,t,u,n,r,i,l,f);return d.onDestroy((function(){var e;(e=h).parentNode.removeChild(e)})),d}},{key:"_notifyFaultyScrubber",value:function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}]),e}(),FP=function(){function e(t,n,r,i){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.options=r,this._specialStyles=i,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return e._onFinish()}))}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:ET(e.element,n))})),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}},{key:"totalTime",get:function(){return this._delay+this._duration}}]),e}(),BP=function(){function e(){_classCallCheck(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(jP().toString()),this._cssKeyframesDriver=new VP}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return rT(e)}},{key:"matchesElement",value:function(e,t){return iT(e,t)}},{key:"containsElement",value:function(e,t){return oT(e,t)}},{key:"query",value:function(e,t,n){return aT(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,i,o);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};i&&(s.easing=i);var c={},l=o.filter((function(e){return e instanceof FP}));OT(n,r)&&l.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var u=PP(e,t=MT(e,t=t.map((function(e){return vT(e,!1)})),c));return new FP(e,t,s,u)}}]),e}();function jP(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var UP,zP=((UP=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this))._nextAnimationId=0,i._renderer=e.createRenderer(r.body,{id:"0",encapsulation:ft.None,styles:[],data:{animation:[]}}),i}return _createClass(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?jm(e):e;return XP(this._renderer,null,t,"register",[n]),new WP(t,this._renderer)}}]),n}(Vm)).\u0275fac=function(e){return new(e||UP)($e(ec),$e(du))},UP.\u0275prov=fe({token:UP,factory:UP.\u0275fac}),UP),WP=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this))._id=e,i._renderer=r,i}return _createClass(n,[{key:"create",value:function(e,t){return new KP(this._id,e,t||{},this._renderer)}}]),n}(function(){return function e(){_classCallCheck(this,e)}}()),KP=function(){function e(t,n,r,i){_classCallCheck(this,e),this.id=t,this.element=n,this._renderer=i,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}return _createClass(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return XP(this._renderer,this.element,this.id,e,n)}},{key:"onDone",value:function(e){this._listen("done",e)}},{key:"onStart",value:function(e){this._listen("start",e)}},{key:"onDestroy",value:function(e){this._listen("destroy",e)}},{key:"init",value:function(){this._command("init")}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this._command("play"),this._started=!0}},{key:"pause",value:function(){this._command("pause")}},{key:"restart",value:function(){this._command("restart")}},{key:"finish",value:function(){this._command("finish")}},{key:"destroy",value:function(){this._command("destroy")}},{key:"reset",value:function(){this._command("reset")}},{key:"setPosition",value:function(e){this._command("setPosition",e)}},{key:"getPosition",value:function(){return 0}}]),e}();function XP(e,t,n,r,i){return e.setProperty(t,"@@".concat(n,":").concat(r),i)}var qP,QP,ZP,$P,YP=((qP=function(){function e(t,n,r){_classCallCheck(this,e),this.delegate=t,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(e,t){t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}return _createClass(e,[{key:"createRenderer",value:function(e,t){var n=this,r=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var i=this._rendererCache.get(r);return i||(i=new JP("",r,this.engine),this._rendererCache.set(r,i)),i}var o=t.id,a=t.id+"-"+this._currentId;return this._currentId++,this.engine.register(a,e),t.data.animation.forEach((function t(r){Array.isArray(r)?r.forEach(t):n.engine.registerTrigger(o,a,e,r.name,r)})),new eO(this,a,r,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var e=this;this.promise.then((function(){e._microtaskId++}))}},{key:"scheduleListenerCallback",value:function(e,t,n){var r=this;e>=0&&e<this._microtaskId?this._zone.run((function(){return t(n)})):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((function(){r._zone.run((function(){r._animationCallbacksBuffer.forEach((function(e){var t=_slicedToArray2(e,2);(0,t[0])(t[1])})),r._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([t,n]))}},{key:"end",value:function(){var e=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((function(){e._scheduleCountTask(),e.engine.flush(e._microtaskId)})),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),e}()).\u0275fac=function(e){return new(e||qP)($e(ec),$e(TP),$e(Nl))},qP.\u0275prov=fe({token:qP,factory:qP.\u0275fac}),qP),JP=function(){function e(t,n,r){_classCallCheck(this,e),this.namespaceId=t,this.delegate=n,this.engine=r,this.destroyNode=this.delegate.destroyNode?function(e){return n.destroyNode(e)}:null}return _createClass(e,[{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(e,t){return this.delegate.createElement(e,t)}},{key:"createComment",value:function(e){return this.delegate.createComment(e)}},{key:"createText",value:function(e){return this.delegate.createText(e)}},{key:"appendChild",value:function(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}},{key:"insertBefore",value:function(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)}},{key:"removeChild",value:function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}},{key:"removeAttribute",value:function(e,t,n){this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,r){this.delegate.setStyle(e,t,n,r)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}},{key:"data",get:function(){return this.delegate.data}}]),e}(),eO=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o){var a;return _classCallCheck(this,n),(a=t.call(this,r,i,o)).factory=e,a.namespaceId=r,a}return _createClass(n,[{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){var r,i,o=this;if("@"==t.charAt(0)){var a,s=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),c=t.substr(1),l="";return"@"!=c.charAt(0)&&(i=(r=c).indexOf("."),c=(a=_slicedToArray2([r.substring(0,i),r.substr(i+1)],2))[0],l=a[1]),this.engine.listen(this.namespaceId,s,c,l,(function(e){o.factory.scheduleListenerCallback(e._data||-1,n,e)}))}return this.delegate.listen(e,t,n)}}]),n}(JP),tO=((QP=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){return _classCallCheck(this,n),t.call(this,e.body,r,i)}return n}(TP)).\u0275fac=function(e){return new(e||QP)($e(du),$e(uT),$e(YT))},QP.\u0275prov=fe({token:QP,factory:QP.\u0275fac}),QP),nO=new je("AnimationModuleType"),rO=[{provide:uT,useFactory:function(){return"function"==typeof jP()?new BP:new VP}},{provide:nO,useValue:"BrowserAnimations"},{provide:Vm,useClass:zP},{provide:YT,useFactory:function(){return new JT}},{provide:TP,useClass:tO},{provide:ec,useFactory:function(e,t,n){return new YP(e,t,n)},deps:[Nh,TP,Nl]}],iO=((ZP=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:ZP}),ZP.\u0275inj=pe({factory:function(e){return new(e||ZP)},providers:rO,imports:[Xh]}),ZP),oO=new oc("9.2.4"),aO=new je("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),sO=(($P=function(){function e(t,n,r){_classCallCheck(this,e),this._hasDoneGlobalChecks=!1,this._document=r,t._applyBodyHighContrastModeCssClasses(),this._sanityChecks=n,this._hasDoneGlobalChecks||(this._checkDoctypeIsDefined(),this._checkThemeIsPresent(),this._checkCdkVersionMatch(),this._hasDoneGlobalChecks=!0)}return _createClass(e,[{key:"_getDocument",value:function(){var e=this._document||document;return"object"==typeof e&&e?e:null}},{key:"_getWindow",value:function(){var e=this._getDocument(),t=(null==e?void 0:e.defaultView)||window;return"object"==typeof t&&t?t:null}},{key:"_checksAreEnabled",value:function(){return Sr()&&!this._isTestEnv()}},{key:"_isTestEnv",value:function(){var e=this._getWindow();return e&&(e.__karma__||e.jasmine)}},{key:"_checkDoctypeIsDefined",value:function(){var e=this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.doctype),t=this._getDocument();e&&t&&!t.doctype&&console.warn("Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.")}},{key:"_checkThemeIsPresent",value:function(){var e=!this._checksAreEnabled()||!1===this._sanityChecks||!this._sanityChecks.theme,t=this._getDocument();if(!e&&t&&t.body&&"function"==typeof getComputedStyle){var n=t.createElement("div");n.classList.add("mat-theme-loaded-marker"),t.body.appendChild(n);var r=getComputedStyle(n);r&&"none"!==r.display&&console.warn("Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.angular.io/guide/theming"),t.body.removeChild(n)}}},{key:"_checkCdkVersionMatch",value:function(){this._checksAreEnabled()&&(!0===this._sanityChecks||this._sanityChecks.version)&&oO.full!==jS.full&&console.warn("The Angular Material version ("+oO.full+") does not match the Angular CDK version ("+jS.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),e}()).\u0275mod=bt({type:$P}),$P.\u0275inj=pe({factory:function(e){return new(e||$P)($e(BS),$e(aO,8),$e(du,8))},imports:[[wS],wS]}),$P);try{"undefined"!=typeof Intl}catch(JO){!1}var cO=["*"];function lO(e,t){if(1&e){var n=Fa();Da(0,"div",2),Ua("click",(function(){return Jt(n),qa()._onBackdropClicked()})),Ga()}2&e&&hs("mat-drawer-shown",qa()._isShowingBackdrop())}function uO(e,t){1&e&&(Da(0,"mat-drawer-content"),$a(1,2),Ga())}var hO=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],fO=["mat-drawer","mat-drawer-content","*"];function dO(e,t){if(1&e){var n=Fa();Da(0,"div",2),Ua("click",(function(){return Jt(n),qa()._onBackdropClicked()})),Ga()}2&e&&hs("mat-drawer-shown",qa()._isShowingBackdrop())}function pO(e,t){1&e&&(Da(0,"mat-sidenav-content",3),$a(1,2),Ga())}var vO=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],gO=["mat-sidenav","mat-sidenav-content","*"],mO={transformDrawer:Fm("transform",[zm("open, open-instant",Um({transform:"none",visibility:"visible"})),zm("void",Um({"box-shadow":"none",visibility:"hidden"})),Wm("void => open-instant",Bm("0ms")),Wm("void <=> open, open-instant => void",Bm("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};function yO(e){throw Error("A drawer was already declared for 'position=\"".concat(e,"\"'"))}var _O,bO,CO,kO,wO,SO,TO,PO=new je("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:function(){return!1}}),OO=new je("MAT_DRAWER_CONTAINER"),MO=((wO=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o,a){var s;return _classCallCheck(this,n),(s=t.call(this,i,o,a))._changeDetectorRef=e,s._container=r,s}return _createClass(n,[{key:"ngAfterContentInit",value:function(){var e=this;this._container._contentMarginChanges.subscribe((function(){e._changeDetectorRef.markForCheck()}))}}]),n}(TS)).\u0275fac=function(e){return new(e||wO)(Ea($o),Ea(Pe((function(){return EO}))),Ea(Ys),Ea(SS),Ea(Nl))},wO.\u0275cmp=gt({type:wO,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(e,t){2&e&&us("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[Is],ngContentSelectors:cO,decls:1,vars:0,template:function(e,t){1&e&&(Za(),$a(0))},encapsulation:2,changeDetection:0}),wO),xO=((kO=function(){function e(t,n,r,i,o,a,s){var c=this;_classCallCheck(this,e),this._elementRef=t,this._focusTrapFactory=n,this._focusMonitor=r,this._platform=i,this._ngZone=o,this._doc=a,this._container=s,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new M,this._animationEnd=new M,this._animationState="void",this.openedChange=new zc(!0),this._destroyed=new M,this.onPositionChanged=new zc,this._modeChanged=new M,this.openedChange.subscribe((function(e){e?(c._doc&&(c._elementFocusedBeforeDrawerWasOpened=c._doc.activeElement),c._takeFocus()):c._restoreFocus()})),this._ngZone.runOutsideAngular((function(){x_(c._elementRef.nativeElement,"keydown").pipe(of((function(e){return 27===e.keyCode&&!c.disableClose&&!function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return n.length?n.some((function(t){return e[t]})):e.altKey||e.shiftKey||e.ctrlKey||e.metaKey}(e)})),I_(c._destroyed)).subscribe((function(e){return c._ngZone.run((function(){c.close(),e.stopPropagation(),e.preventDefault()}))}))})),this._animationEnd.pipe(v_((function(e,t){return e.fromState===t.fromState&&e.toState===t.toState}))).subscribe((function(e){var t=e.fromState,n=e.toState;(0===n.indexOf("open")&&"void"===t||"void"===n&&0===t.indexOf("open"))&&c.openedChange.emit(c._opened)}))}return _createClass(e,[{key:"_takeFocus",value:function(){var e=this;this.autoFocus&&this._focusTrap&&this._focusTrap.focusInitialElementWhenReady().then((function(t){t||"function"!=typeof e._elementRef.nativeElement.focus||e._elementRef.nativeElement.focus()}))}},{key:"_restoreFocus",value:function(){if(this.autoFocus){var e=this._doc&&this._doc.activeElement;e&&this._elementRef.nativeElement.contains(e)&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,this._openedVia):this._elementRef.nativeElement.blur()),this._elementFocusedBeforeDrawerWasOpened=null,this._openedVia=null}}},{key:"ngAfterContentInit",value:function(){this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState()}},{key:"ngAfterContentChecked",value:function(){this._platform.isBrowser&&(this._enableAnimations=!0)}},{key:"ngOnDestroy",value:function(){this._focusTrap&&this._focusTrap.destroy(),this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(e){return this.toggle(!0,e)}},{key:"close",value:function(){return this.toggle(!1)}},{key:"toggle",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:!this.opened,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"program";return this._opened=t,t?(this._animationState=this._enableAnimations?"open":"open-instant",this._openedVia=n):(this._animationState="void",this._restoreFocus()),this._updateFocusTrapState(),new Promise((function(t){e.openedChange.pipe(wf(1)).subscribe((function(e){return t(e?"open":"close")}))}))}},{key:"_updateFocusTrapState",value:function(){this._focusTrap&&(this._focusTrap.enabled=this.opened&&"side"!==this.mode)}},{key:"_animationStartListener",value:function(e){this._animationStarted.next(e)}},{key:"_animationDoneListener",value:function(e){this._animationEnd.next(e)}},{key:"position",get:function(){return this._position},set:function(e){(e="end"===e?"end":"start")!=this._position&&(this._position=e,this.onPositionChanged.emit())}},{key:"mode",get:function(){return this._mode},set:function(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}},{key:"disableClose",get:function(){return this._disableClose},set:function(e){this._disableClose=cS(e)}},{key:"autoFocus",get:function(){var e=this._autoFocus;return null==e?"side"!==this.mode:e},set:function(e){this._autoFocus=cS(e)}},{key:"opened",get:function(){return this._opened},set:function(e){this.toggle(cS(e))}},{key:"_openedStream",get:function(){return this.openedChange.pipe(of((function(e){return e})),V((function(){})))}},{key:"openedStart",get:function(){return this._animationStarted.pipe(of((function(e){return e.fromState!==e.toState&&0===e.toState.indexOf("open")})),V((function(){})))}},{key:"_closedStream",get:function(){return this.openedChange.pipe(of((function(e){return!e})),V((function(){})))}},{key:"closedStart",get:function(){return this._animationStarted.pipe(of((function(e){return e.fromState!==e.toState&&"void"===e.toState})),V((function(){})))}},{key:"_width",get:function(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}}]),e}()).\u0275fac=function(e){return new(e||kO)(Ea(Ys),Ea(NS),Ea(LS),Ea(oS),Ea(Nl),Ea(du,8),Ea(OO,8))},kO.\u0275cmp=gt({type:kO,selectors:[["mat-drawer"]],hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(e,t){1&e&&za("@transform.start",(function(e){return t._animationStartListener(e)}))("@transform.done",(function(e){return t._animationDoneListener(e)})),2&e&&(Oa("align",null),Es("@transform",t._animationState),hs("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",onPositionChanged:"positionChanged",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart"},exportAs:["matDrawer"],ngContentSelectors:cO,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(Za(),Da(0,"div",0),$a(1),Ga())},encapsulation:2,data:{animation:[mO.transformDrawer]},changeDetection:0}),kO),EO=((CO=function(){function e(t,n,r,i,o){var a=this,s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],c=arguments.length>6?arguments[6]:void 0;_classCallCheck(this,e),this._dir=t,this._element=n,this._ngZone=r,this._changeDetectorRef=i,this._animationMode=c,this._drawers=new Kc,this.backdropClick=new zc,this._destroyed=new M,this._doCheckSubject=new M,this._contentMargins={left:null,right:null},this._contentMarginChanges=new M,t&&t.change.pipe(I_(this._destroyed)).subscribe((function(){a._validateDrawers(),a.updateContentMargins()})),o.change().pipe(I_(this._destroyed)).subscribe((function(){return a.updateContentMargins()})),this._autosize=s}return _createClass(e,[{key:"ngAfterContentInit",value:function(){var e=this;this._allDrawers.changes.pipe(Nf(this._allDrawers),I_(this._destroyed)).subscribe((function(t){e._drawers.reset(t.filter((function(t){return!t._container||t._container===e}))),e._drawers.notifyOnChanges()})),this._drawers.changes.pipe(Nf(null)).subscribe((function(){e._validateDrawers(),e._drawers.forEach((function(t){e._watchDrawerToggle(t),e._watchDrawerPosition(t),e._watchDrawerMode(t)})),(!e._drawers.length||e._isDrawerOpen(e._start)||e._isDrawerOpen(e._end))&&e.updateContentMargins(),e._changeDetectorRef.markForCheck()})),this._doCheckSubject.pipe(h_(10),I_(this._destroyed)).subscribe((function(){return e.updateContentMargins()}))}},{key:"ngOnDestroy",value:function(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}},{key:"open",value:function(){this._drawers.forEach((function(e){return e.open()}))}},{key:"close",value:function(){this._drawers.forEach((function(e){return e.close()}))}},{key:"updateContentMargins",value:function(){var e=this,t=0,n=0;if(this._left&&this._left.opened)if("side"==this._left.mode)t+=this._left._width;else if("push"==this._left.mode){var r=this._left._width;t+=r,n-=r}if(this._right&&this._right.opened)if("side"==this._right.mode)n+=this._right._width;else if("push"==this._right.mode){var i=this._right._width;n+=i,t-=i}n=n||null,(t=t||null)===this._contentMargins.left&&n===this._contentMargins.right||(this._contentMargins={left:t,right:n},this._ngZone.run((function(){return e._contentMarginChanges.next(e._contentMargins)})))}},{key:"ngDoCheck",value:function(){var e=this;this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular((function(){return e._doCheckSubject.next()}))}},{key:"_watchDrawerToggle",value:function(e){var t=this;e._animationStarted.pipe(of((function(e){return e.fromState!==e.toState})),I_(this._drawers.changes)).subscribe((function(e){"open-instant"!==e.toState&&"NoopAnimations"!==t._animationMode&&t._element.nativeElement.classList.add("mat-drawer-transition"),t.updateContentMargins(),t._changeDetectorRef.markForCheck()})),"side"!==e.mode&&e.openedChange.pipe(I_(this._drawers.changes)).subscribe((function(){return t._setContainerClass(e.opened)}))}},{key:"_watchDrawerPosition",value:function(e){var t=this;e&&e.onPositionChanged.pipe(I_(this._drawers.changes)).subscribe((function(){t._ngZone.onMicrotaskEmpty.asObservable().pipe(wf(1)).subscribe((function(){t._validateDrawers()}))}))}},{key:"_watchDrawerMode",value:function(e){var t=this;e&&e._modeChanged.pipe(I_(Q(this._drawers.changes,this._destroyed))).subscribe((function(){t.updateContentMargins(),t._changeDetectorRef.markForCheck()}))}},{key:"_setContainerClass",value:function(e){var t=this._element.nativeElement.classList,n="mat-drawer-container-has-open";e?t.add(n):t.remove(n)}},{key:"_validateDrawers",value:function(){var e=this;this._start=this._end=null,this._drawers.forEach((function(t){"end"==t.position?(null!=e._end&&yO("end"),e._end=t):(null!=e._start&&yO("start"),e._start=t)})),this._right=this._left=null,this._dir&&"rtl"===this._dir.value?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}},{key:"_isPushed",value:function(){return this._isDrawerOpen(this._start)&&"over"!=this._start.mode||this._isDrawerOpen(this._end)&&"over"!=this._end.mode}},{key:"_onBackdropClicked",value:function(){this.backdropClick.emit(),this._closeModalDrawer()}},{key:"_closeModalDrawer",value:function(){var e=this;[this._start,this._end].filter((function(t){return t&&!t.disableClose&&e._canHaveBackdrop(t)})).forEach((function(e){return e.close()}))}},{key:"_isShowingBackdrop",value:function(){return this._isDrawerOpen(this._start)&&this._canHaveBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._canHaveBackdrop(this._end)}},{key:"_canHaveBackdrop",value:function(e){return"side"!==e.mode||!!this._backdropOverride}},{key:"_isDrawerOpen",value:function(e){return null!=e&&e.opened}},{key:"start",get:function(){return this._start}},{key:"end",get:function(){return this._end}},{key:"autosize",get:function(){return this._autosize},set:function(e){this._autosize=cS(e)}},{key:"hasBackdrop",get:function(){return null==this._backdropOverride?!this._start||"side"!==this._start.mode||!this._end||"side"!==this._end.mode:this._backdropOverride},set:function(e){this._backdropOverride=null==e?null:cS(e)}},{key:"scrollable",get:function(){return this._userContent||this._content}}]),e}()).\u0275fac=function(e){return new(e||CO)(Ea(kS,8),Ea(Ys),Ea(Nl),Ea($o),Ea(PS),Ea(PO),Ea(nO,8))},CO.\u0275cmp=gt({type:CO,selectors:[["mat-drawer-container"]],contentQueries:function(e,t,n){var r;1&e&&(ol(n,MO,!0),ol(n,xO,!0)),2&e&&(tl(r=al())&&(t._content=r.first),tl(r=al())&&(t._allDrawers=r))},viewQuery:function(e,t){var n;1&e&&rl(MO,!0),2&e&&tl(n=al())&&(t._userContent=n.first)},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(e,t){2&e&&hs("mat-drawer-container-explicit-backdrop",t._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[qs([{provide:OO,useExisting:CO}])],ngContentSelectors:fO,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],[4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"]],template:function(e,t){1&e&&(Za(hO),Ma(0,lO,1,2,"div",0),$a(1),$a(2,1),Ma(3,uO,2,0,"mat-drawer-content",1)),2&e&&(Na("ngIf",t.hasBackdrop),wi(3),Na("ngIf",!t._content))},directives:[Ku,MO],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),CO),AO=((bO=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i,o,a){return _classCallCheck(this,n),t.call(this,e,r,i,o,a)}return n}(MO)).\u0275fac=function(e){return new(e||bO)(Ea($o),Ea(Pe((function(){return RO}))),Ea(Ys),Ea(SS),Ea(Nl))},bO.\u0275cmp=gt({type:bO,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(e,t){2&e&&us("margin-left",t._container._contentMargins.left,"px")("margin-right",t._container._contentMargins.right,"px")},features:[Is],ngContentSelectors:cO,decls:1,vars:0,template:function(e,t){1&e&&(Za(),$a(0))},encapsulation:2,changeDetection:0}),bO),IO=((_O=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._fixedInViewport=!1,e._fixedTopGap=0,e._fixedBottomGap=0,e}return _createClass(n,[{key:"fixedInViewport",get:function(){return this._fixedInViewport},set:function(e){this._fixedInViewport=cS(e)}},{key:"fixedTopGap",get:function(){return this._fixedTopGap},set:function(e){this._fixedTopGap=lS(e)}},{key:"fixedBottomGap",get:function(){return this._fixedBottomGap},set:function(e){this._fixedBottomGap=lS(e)}}]),n}(xO)).\u0275fac=function(e){return NO(e||_O)},_O.\u0275cmp=gt({type:_O,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(e,t){2&e&&(Oa("align",null),us("top",t.fixedInViewport?t.fixedTopGap:null,"px")("bottom",t.fixedInViewport?t.fixedBottomGap:null,"px"),hs("mat-drawer-end","end"===t.position)("mat-drawer-over","over"===t.mode)("mat-drawer-push","push"===t.mode)("mat-drawer-side","side"===t.mode)("mat-drawer-opened",t.opened)("mat-sidenav-fixed",t.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[Is],ngContentSelectors:cO,decls:2,vars:0,consts:[[1,"mat-drawer-inner-container"]],template:function(e,t){1&e&&(Za(),Da(0,"div",0),$a(1),Ga())},encapsulation:2,data:{animation:[mO.transformDrawer]},changeDetection:0}),_O),NO=cr(IO),RO=((SO=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(EO)).\u0275fac=function(e){return DO(e||SO)},SO.\u0275cmp=gt({type:SO,selectors:[["mat-sidenav-container"]],contentQueries:function(e,t,n){var r;1&e&&(ol(n,AO,!0),ol(n,IO,!0)),2&e&&(tl(r=al())&&(t._content=r.first),tl(r=al())&&(t._allDrawers=r))},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(e,t){2&e&&hs("mat-drawer-container-explicit-backdrop",t._backdropOverride)},exportAs:["matSidenavContainer"],features:[qs([{provide:OO,useExisting:SO}]),Is],ngContentSelectors:gO,decls:4,vars:2,consts:[["class","mat-drawer-backdrop",3,"mat-drawer-shown","click",4,"ngIf"],["cdkScrollable","",4,"ngIf"],[1,"mat-drawer-backdrop",3,"click"],["cdkScrollable",""]],template:function(e,t){1&e&&(Za(vO),Ma(0,dO,1,2,"div",0),$a(1),$a(2,1),Ma(3,pO,2,0,"mat-sidenav-content",1)),2&e&&(Na("ngIf",t.hasBackdrop),wi(3),Na("ngIf",!t._content))},directives:[Ku,AO,TS],styles:[".mat-drawer-container{position:relative;z-index:1;box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}.cdk-high-contrast-active .mat-drawer-backdrop{opacity:.5}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}.cdk-high-contrast-active .mat-drawer,.cdk-high-contrast-active [dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}.cdk-high-contrast-active [dir=rtl] .mat-drawer,.cdk-high-contrast-active .mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer{transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}\n"],encapsulation:2,changeDetection:0}),SO),DO=cr(RO),GO=((TO=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:TO}),TO.\u0275inj=pe({factory:function(e){return new(e||TO)},imports:[[ih,sO,aS,OS],OS,sO]}),TO);function HO(e,t){}var LO,VO,FO=((LO=function(){function e(t,n,r){_classCallCheck(this,e),this.sidenavService=t,this.router=n,this.mobileService=r}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"onOpenedChange",value:function(e){this.sidenavService._toggleStatus.next(e)}},{key:"close",value:function(){this.sidenavService._toggleStatus.next(!1)}},{key:"navigateTo",value:function(e){this.router.navigateByUrl(e),this.close()}},{key:"openShare",value:function(){this.mobileService.openShare(),this.close()}}]),e}()).\u0275fac=function(e){return new(e||LO)(Ea(zv),Ea(cv),Ea(Qv))},LO.\u0275cmp=gt({type:LO,selectors:[["app-sidenav"]],contentQueries:function(e,t,n){var r;1&e&&ol(n,kc,!0),2&e&&tl(r=al())&&(t.template=r.first)},decls:60,vars:5,consts:[["mode","over",1,"side",3,"position","opened","openedChange"],[1,"sidenav"],[1,"sidenav-item-close"],["src","assets/images/close-6@2x.png","alt","Close sidenav",3,"click"],[1,"sidenav-item",3,"click"],["src","assets/images/OrangePin.svg","alt","Orange Pin"],["src","assets/images/Right-Chevron.svg","alt","Right arrow"],["src","assets/images/TealPin.svg","alt","Teal Pin"],["src","assets/images/BluePin.svg","alt","Blue Pin"],[1,"sidenav-item"],["src","assets/images/TrailheadLogo.svg","alt","Trail Head Logo"],["href","mailto:salesforceandgoogle@salesforce.com",1,"sidenav-item"],["src","assets/images/help.svg","alt","Question Mark"],["src","assets/images/socialshare.svg","alt","Social Share"],[1,"sidenav-footer"],[1,"sidenav-footer-copyright"],["href","https://www.salesforce.com/company/legal/intellectual/","target","_blank"],[1,"sidenav-footer-links"],["target","_blank","href","https://www.salesforce.com/company/legal/"],["target","_blank","href","https://www.salesforce.com/company/legal/sfdc-website-terms-of-service/"],["target","_blank","href","https://www.salesforce.com/company/privacy/"],["target","_blank","href","https://www.salesforce.com/company/disclosure/"],["target","_blank","href","https://trust.salesforce.com/en/"],["target","_blank","href","https://www.salesforce.com/company/contact-us/?d=cta-glob-footer-11"],["target","_blank","href","https://www.salesforce.com/company/disclosure/#"],[3,"ngTemplateOutlet"]],template:function(e,t){1&e&&(Da(0,"mat-sidenav-container"),Da(1,"mat-sidenav",0),Ua("openedChange",(function(e){return t.onOpenedChange(e)})),jc(2,"async"),Da(3,"div",1),Da(4,"div",2),Da(5,"div"),Da(6,"img",3),Ua("click",(function(){return t.close()})),Ga(),Ga(),Ga(),Da(7,"div",4),Ua("click",(function(){return t.navigateTo("/marketing-cloud-analytics-360")})),Ha(8,"img",5),Da(9,"span"),Ps(10," Get personal with your marketing journeys. "),Ga(),Ha(11,"img",6),Ga(),Da(12,"div",4),Ua("click",(function(){return t.navigateTo("/sales-cloud-g-suite")})),Ha(13,"img",7),Da(14,"span"),Ps(15," Drive productivity from anywhere. "),Ga(),Ha(16,"img",6),Ga(),Da(17,"div",4),Ua("click",(function(){return t.navigateTo("/tableau-big-query")})),Ha(18,"img",8),Da(19,"span"),Ps(20," Know your customers with integrated data insights. "),Ga(),Ha(21,"img",6),Ga(),Da(22,"div",9),Ha(23,"img",10),Da(24,"span"),Ps(25," Trailhead "),Ga(),Ha(26,"img",6),Ga(),Da(27,"a",11),Ha(28,"img",12),Da(29,"span"),Ps(30," Questions "),Ga(),Ha(31,"img",6),Ga(),Da(32,"div",4),Ua("click",(function(){return t.openShare()})),Ha(33,"img",13),Da(34,"span"),Ps(35," Share "),Ga(),Ha(36,"img",6),Ga(),Da(37,"div",14),Da(38,"div",15),Ps(39," \xa9 Copyright 2020 Salesforce.com, Inc. "),Da(40,"a",16),Ps(41,"All rights reserved."),Ga(),Ps(42," Various trademarks held by their respective owners. Salesforce.com, inc. Salesforce Tower, 415 Mission Street, 3rd Floor, San Francisco, CA 94105, United States "),Ga(),Da(43,"div",17),Da(44,"a",18),Ps(45,"Legal"),Ga(),Da(46,"a",19),Ps(47,"Terms of Service"),Ga(),Da(48,"a",20),Ps(49,"Privacy Information"),Ga(),Da(50,"a",21),Ps(51,"Responsible Disclosure"),Ga(),Da(52,"a",22),Ps(53,"Trust"),Ga(),Da(54,"a",23),Ps(55,"Contact"),Ga(),Da(56,"a",24),Ps(57,"Cookie Preferences"),Ga(),Ga(),Ga(),Ga(),Ga(),Da(58,"mat-sidenav-content"),Ma(59,HO,0,0,"ng-template",25),Ga(),Ga()),2&e&&(wi(1),Na("position","end")("opened",Uc(2,3,t.sidenavService.$toggleStatus)),wi(58),Na("ngTemplateOutlet",t.template))},directives:[RO,IO,AO,Ju],pipes:[rh],styles:[".sidenav[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column}.sidenav-item-close[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.sidenav-item-close[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:17px 20px;background-color:#fff}.sidenav-item-close[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:15px;height:15px}.sidenav-item[_ngcontent-%COMP%]{padding:17px;display:flex;align-items:center;border-bottom:1px solid #d3d3d3;background-color:#fff}.sidenav-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:first-child{width:30px;height:30px}.sidenav-item[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#032e61;font-weight:700;margin:auto 15px}.sidenav-item[_ngcontent-%COMP%] img[_ngcontent-%COMP%]:nth-child(3){width:8px;margin-left:auto}.sidenav-footer[_ngcontent-%COMP%]{background-color:#032e61;color:#fff;font-size:11px;flex:1}.sidenav-footer-copyright[_ngcontent-%COMP%]{padding:18px}.sidenav-footer-copyright[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#00a1e0}.sidenav-footer-links[_ngcontent-%COMP%]{padding:0 18px}.sidenav-footer-links[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#00a1e0;font-size:10px;padding-right:10px} .mat-drawer-container{height:100%} .mat-drawer{width:85%;max-width:380px}"]}),LO),BO={prefix:"fas",iconName:"clock",icon:[512,512,[],"f017","M256,8C119,8,8,119,8,256S119,504,256,504,504,393,504,256,393,8,256,8Zm92.49,313h0l-20,25a16,16,0,0,1-22.49,2.5h0l-67-49.72a40,40,0,0,1-15-31.23V112a16,16,0,0,1,16-16h32a16,16,0,0,1,16,16V256l58,42.5A16,16,0,0,1,348.49,321Z"]},jO=((VO=function(){function e(t){var n=this;_classCallCheck(this,e),this.mobileService=t,this.visible=!0,this.url=lu.url,this.links={facebook:"https://www.facebook.com/sharer/sharer.php?u="+this.url,twitter:"https://twitter.com/intent/tweet?text=".concat(encodeURIComponent("We\u2019re bringing Salesforce + Google to you in a new, on-demand event. Tune in to hear from product experts & thought leaders, plus get practical tips on how to adapt & innovate for your business in today\u2019s climate.")," ").concat(this.url),linkedIn:"https://www.linkedin.com/shareArticle?url=".concat(this.url,"&summary=").concat(encodeURIComponent("Salesforce + Google are headed your way in a new, on-demand event. Tune in for tips on how companies can innovate in today\u2019s climate."))},this.icons={facebook:BO,twitter:BO,linkedIn:BO},this.shareSubscription=this.mobileService.shareVisible.subscribe((function(e){return n.visible=e}))}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"ngOnDestroy",value:function(){this.shareSubscription.unsubscribe()}},{key:"close",value:function(){this.visible=!1}}]),e}()).\u0275fac=function(e){return new(e||VO)(Ea(Qv))},VO.\u0275cmp=gt({type:VO,selectors:[["app-share"]],hostVars:2,hostBindings:function(e,t){2&e&&hs("visible",t.visible)},decls:14,vars:6,consts:[[1,"share-background",3,"click"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","share"],[1,"icons"],[3,"href"],[3,"icon"]],template:function(e,t){1&e&&(Da(0,"div",0),Ua("click",(function(){return t.close()})),Ga(),Da(1,"div",1),Da(2,"div",2),Da(3,"div",3),Da(4,"div",4),Da(5,"h2"),Ps(6,"Share the Experience"),Ga(),Da(7,"div",5),Da(8,"a",6),Ha(9,"fa-icon",7),Ga(),Da(10,"a",6),Ha(11,"fa-icon",7),Ga(),Da(12,"a",6),Ha(13,"fa-icon",7),Ga(),Ga(),Ga(),Ga(),Ga(),Ga()),2&e&&(wi(8),Na("href",t.links.facebook,Jr),wi(1),Na("icon",t.icons.facebook),wi(1),Na("href",t.links.twitter,Jr),wi(1),Na("icon",t.icons.twitter),wi(1),Na("href",t.links.linkedIn,Jr),wi(1),Na("icon",t.icons.linkedIn))},directives:[kw],styles:[".card[_ngcontent-%COMP%]{max-width:520px;padding:30px;border-radius:12px;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;margin:0 auto}.card--wood[_ngcontent-%COMP%]{background:transparent url(card-wood.c0e76b7f0664def9f3df.png) repeat 0 0;background-size:cover;color:#fff}.card--wood[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:28px;font-weight:bolder}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin-bottom:24px}.card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:1.5}.card--orange[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%]{padding:40px;margin-bottom:20px;color:#fff;text-align:left}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--orange[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px}.card--orange[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--teal[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--orange[_ngcontent-%COMP%]{background-color:#ea7600}.card--orange[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#ea7600}.card--orange[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#ea7600}.card--teal[_ngcontent-%COMP%]{background-color:#3a837d}.card--teal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#3a837d}.card--teal[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#3a837d}.card--purple[_ngcontent-%COMP%]{background-color:#472546}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{background:#472546}.card--purple[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%]{color:#472546}.card--has-inner[_ngcontent-%COMP%]{padding:20px}.card--has-bg[_ngcontent-%COMP%]{background-image:url(form-bg.5f6aa8eb81df210053e5.png)}.card--last[_ngcontent-%COMP%]{margin-bottom:0}.card[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px}.card[_ngcontent-%COMP%] .btn.btn-white[_ngcontent-%COMP%], .card__inner[_ngcontent-%COMP%]{background:#fff}.card__inner[_ngcontent-%COMP%]{padding:20px;box-shadow:0 1.5px 3px rgba(0,0,0,.36);color:#404040;text-align:center}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#404040;font-size:22px;font-weight:400;max-width:320px;margin:0 auto 14px}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:26px}.card__hidden-content[_ngcontent-%COMP%]{text-align:left;font-size:14px;overflow:hidden;display:flex;flex-direction:column}.card__hidden-content[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{max-width:154px}.card__close[_ngcontent-%COMP%]{width:28px;height:28px;background:transparent url(close-form.29e2037cee6faa8ca7ba.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}[_nghost-%COMP%]{width:100%;height:100%;position:fixed;top:0;left:0;display:flex;justify-content:center;align-items:center;z-index:995;opacity:0;visibility:hidden;transition:all .25s ease-out}.visible[_nghost-%COMP%]{opacity:1;visibility:visible}.share-background[_ngcontent-%COMP%]{width:100%;height:100%;background:rgba(0,0,0,.6);position:absolute;top:0;left:0;cursor:pointer}.share[_ngcontent-%COMP%]{background:#fff;position:relative;border-radius:12px}.icons[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.icons[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#000}"]}),VO);function UO(e,t){1&e&&Ha(0,"app-play-canvas")}function zO(e,t){1&e&&(Ha(0,"app-share"),Ha(1,"router-outlet"))}function WO(e,t){1&e&&(Da(0,"app-sidenav"),Ma(1,zO,2,0,"ng-template"),Ga())}var KO,XO,qO,QO=((qO=function e(t,n,r,i){var o=this;_classCallCheck(this,e),this.mobileService=t,this.deviceService=n,this.gtmService=r,this.router=i,this.title="Salesforce + Google Virtual Adventure",this.userIsOnDesktop=this.deviceService.isDesktop();var a=document.createElement("canvas"),s=a.getContext("webgl")||a.getContext("experimental-webgl");this.userHasWebGl=s&&s instanceof WebGLRenderingContext,this.router.events.forEach((function(e){e instanceof Xf&&o.gtmService.pushTag({event:"page",pageName:e.url})}))}).\u0275fac=function(e){return new(e||qO)(Ea(Qv),Ea(ZC),Ea(T_),Ea(cv))},qO.\u0275cmp=gt({type:qO,selectors:[["app-root"]],decls:2,vars:2,consts:[[4,"ngIf"]],template:function(e,t){1&e&&(Ma(0,UO,1,0,"app-play-canvas",0),Ma(1,WO,2,0,"app-sidenav",0)),2&e&&(Na("ngIf",t.userIsOnDesktop&&t.userHasWebGl),wi(1),Na("ngIf",!t.userIsOnDesktop||!t.userHasWebGl))},directives:[Ku,Jw,FO,jO,mv],styles:[".webgl-message[_ngcontent-%COMP%]{height:100vh;color:#fff;text-align:center;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:0 2rem}.mobile-message[_ngcontent-%COMP%]{width:100%;height:100%;background:#032e61 url(LandingPage-Google-Portrait.d7ac3efc7298d80ac3b7.jpg) no-repeat 50%;background-size:cover}@media (orientation:landscape){.mobile-message[_ngcontent-%COMP%]{background-image:url(LandingPage-Google-Landscape.79e66373091b604f2ed3.jpg);background-size:cover}}.mobile-message[_ngcontent-%COMP%] *[_ngcontent-%COMP%]{color:transparent}"]}),qO),ZO=((XO=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:XO}),XO.\u0275inj=pe({factory:function(e){return new(e||XO)},imports:[[ih]]}),XO),$O=((KO=function e(){_classCallCheck(this,e)}).\u0275mod=bt({type:KO,bootstrap:[QO]}),KO.\u0275inj=pe({factory:function(e){return new(e||KO)},providers:[{provide:"googleTagManagerId",useValue:"GTM-WNXHF5F"}],imports:[[Xh,LC,ZO,s_,wC,Gm,Hm,$C,ww,ih,iO,GO]]}),KO);lu.production&&function(){if(wr)throw new Error("Cannot enable prod mode after platform setup.");kr=!1}(),Wh().bootstrapModule($O).catch((function(e){return console.error(e)}))},zn8P:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,0]]]);