| 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/aws/ |
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},IRq2:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],i="M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z";t.definition={prefix:"fas",iconName:"chevron-left",icon:[320,512,r,"f053",i]},t.faChevronLeft=t.definition,t.prefix="fas",t.iconName="chevron-left",t.width=320,t.height=512,t.ligatures=r,t.unicode="f053",t.svgPathData=i},muhD:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=[],i="M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z";t.definition={prefix:"fas",iconName:"chevron-right",icon:[320,512,r,"f054",i]},t.faChevronRight=t.definition,t.prefix="fas",t.iconName="chevron-right",t.width=320,t.height=512,t.ligatures=r,t.unicode="f054",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(),g=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 v(_assertThisInitialized(o),e));break}default:o.syncErrorThrowable=!0,o.destination=new v(_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),v=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}(g),m="function"==typeof Symbol&&Symbol.observable||"@@observable";function _(e){return e}function y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return C(t)}function C(e){return 0===e.length?_:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var b,k=((b=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 g)return e;if(e[p])return e[p]()}return e||t||n?new g(e,t,n):new g(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 g?r:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=P(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:C(t)(this)}},{key:"toPromise",value:function(e){var t=this;return new(e=P(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 b(e)},b);function P(e){if(e||(e=o.Promise||Promise),!e)throw new Error("no Promise impl found");return e}var w,O=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),M=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),S=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}(g),T=((w=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 S(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 O;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 O;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 O;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 O;return _get(_getPrototypeOf(n.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){if(this.closed)throw new O;return this.hasError?(e.error(this.thrownError),f.EMPTY):this.isStopped?(e.complete(),f.EMPTY):(this.observers.push(e),new M(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)},w),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}(T);function A(e){return e&&"function"==typeof e.schedule}var E=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}(g),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 E(e,n,r);if(!i.closed)return t instanceof k?t.subscribe(i):G(t)(i)}var V=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}(g);function L(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}(g);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 z(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 U(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(U((function(n,r){return z(e(n,r)).pipe(L((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 q(e,this.project,this.concurrent))}}]),e}(),q=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 E(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}(V);function X(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return U(_,e)}function K(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 A(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)(K(t,i))}function Z(){return function(e){return e.lift(new $(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}(g),ee={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(Y=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:Y._isComplete,writable:!0},getSubject:{value:Y.getSubject},connect:{value:Y.connect},refCount:{value:Y.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}(S);function ne(){return new T}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}}function de(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function pe(e){return ge(e,e[me])||ge(e,e[Ce])}function ge(e,t){return t&&t.token===e?t:null}function ve(e){return e&&(e.hasOwnProperty(_e)||e.hasOwnProperty(be))?e[_e]:null}var me=ue({"\u0275prov":ue}),_e=ue({"\u0275inj":ue}),ye=ue({"\u0275provFallback":ue}),Ce=ue({ngInjectableDef:ue}),be=ue({ngInjectorDef:ue});function ke(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(ke).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 Pe(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var we=ue({__forward_ref__:ue});function Oe(e){return e.__forward_ref__=Oe,e.toString=function(){return ke(this())},e}function Me(e){return Se(e)?e():e}function Se(e){return"function"==typeof e&&e.hasOwnProperty(we)&&e.__forward_ref__===Oe}var Te,xe="undefined"!=typeof globalThis&&globalThis,Ae="undefined"!=typeof window&&window,Ee="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Ie="undefined"!=typeof global&&global,Ne=xe||Ie||Ae||Ee,Re=ue({"\u0275cmp":ue}),De=ue({"\u0275dir":ue}),Ge=ue({"\u0275pipe":ue}),He=ue({"\u0275mod":ue}),Ve=ue({"\u0275loc":ue}),Le=ue({"\u0275fac":ue}),Fe=ue({__NG_ELEMENT_ID__:ue}),Be=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}(),je=new Be("INJECTOR",-1),ze={},Ue=/\n/gm,We=ue({provide:String,useValue:ue}),qe=void 0;function Xe(e){var t=qe;return qe=e,t}function Ke(e){var t=Te;return Te=e,t}function Qe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le.Default;if(void 0===qe)throw new Error("inject() must be called from an injection context");return null===qe?Ye(e,void 0,t):qe.get(e,t&le.Optional?null:void 0,t)}function Ze(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le.Default;return(Te||Qe)(Me(e),t)}function Ye(e,t,n){var r=pe(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(ke(e),"]"))}function $e(e){for(var t=[],n=0;n<e.length;n++){var r=Me(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(Ze(i,o))}else t.push(Ze(r))}return t}var Je=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(ke(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),et=function e(){_classCallCheck(this,e)},tt=function e(){_classCallCheck(this,e)};function nt(e,t){e.forEach((function(e){return Array.isArray(e)?nt(e,t):t(e)}))}function rt(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function it(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function ot(e,t){for(var n=[],r=0;r<e;r++)n.push(t);return n}function at(e,t,n){var r=ct(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 st(e,t){var n=ct(e,t);if(n>=0)return e[1|n]}function ct(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 lt=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),ut=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}(),ht={},ft=[],dt=0;function pt(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===lt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||ft,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||ut.Emulated,id:"c",styles:e.styles||ft,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,a=e.features,s=e.pipes;return i.id+=dt++,i.inputs=yt(e.inputs,r),i.outputs=yt(e.outputs),a&&a.forEach((function(e){return e(i)})),i.directiveDefs=o?function(){return("function"==typeof o?o():o).map(gt)}:null,i.pipeDefs=s?function(){return("function"==typeof s?s():s).map(vt)}:null,i}))}function gt(e){return bt(e)||function(e){return e[De]||null}(e)}function vt(e){return function(e){return e[Ge]||null}(e)}var mt={};function _t(e){var t={type:e.type,bootstrap:e.bootstrap||ft,declarations:e.declarations||ft,imports:e.imports||ft,exports:e.exports||ft,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&re((function(){mt[e.id]=e.type})),t}function yt(e,t){if(null==e)return ht;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 Ct=pt;function bt(e){return e[Re]||null}function kt(e,t){return e.hasOwnProperty(Le)?e[Le]:null}function Pt(e,t){var n=e[He]||null;if(!n&&!0===t)throw new Error("Type ".concat(ke(e)," does not have '\u0275mod' property."));return n}function wt(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 St(e){return 2==(2&e.flags)}function Tt(e){return 1==(1&e.flags)}function xt(e){return null!==e.template}function At(e){return 0!=(512&e[2])}var Et=void 0;function It(){return void 0!==Et?Et:"undefined"!=typeof document?document:void 0}function Nt(e){return!!e.listen}var Rt={createRenderer:function(e,t){return It()}};function Dt(e){for(;Array.isArray(e);)e=e[0];return e}function Gt(e,t){return Dt(t[e+20])}function Ht(e,t){return Dt(t[e.index])}function Vt(e,t){return e.data[t+20]}function Lt(e,t){return e[t+20]}function Ft(e,t){var n=t[e];return wt(n)?n:n[0]}function Bt(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function jt(e){return 4==(4&e[2])}function zt(e){return 128==(128&e[2])}function Ut(e,t){return null===e||null==t?null:e[t]}function Wt(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 Xt={lFrame:gn(null),bindingsEnabled:!0,checkNoChangesMode:!1};function Kt(){return Xt.bindingsEnabled}function Qt(){return Xt.lFrame.lView}function Zt(){return Xt.lFrame.tView}function Yt(e){Xt.lFrame.contextLView=e}function $t(){return Xt.lFrame.previousOrParentTNode}function Jt(e,t){Xt.lFrame.previousOrParentTNode=e,Xt.lFrame.isParent=t}function en(){return Xt.lFrame.isParent}function tn(){Xt.lFrame.isParent=!1}function nn(){return Xt.checkNoChangesMode}function rn(e){Xt.checkNoChangesMode=e}function on(){var e=Xt.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function an(){return Xt.lFrame.bindingIndex++}function sn(e){var t=Xt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function cn(e,t){var n=Xt.lFrame;n.bindingIndex=n.bindingRootIndex=e,ln(t)}function ln(e){Xt.lFrame.currentDirectiveIndex=e}function un(){return Xt.lFrame.currentQueryIndex}function hn(e){Xt.lFrame.currentQueryIndex=e}function fn(e,t){var n=pn();Xt.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function dn(e,t){var n=pn(),r=e[1];Xt.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=r,n.contextLView=e,n.bindingIndex=r.bindingStartIndex}function pn(){var e=Xt.lFrame,t=null===e?null:e.child;return null===t?gn(e):t}function gn(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 vn(){var e=Xt.lFrame;return Xt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}var mn=vn;function _n(){var e=vn();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 yn(){return Xt.lFrame.selectedIndex}function Cn(e){Xt.lFrame.selectedIndex=e}function bn(){var e=Xt.lFrame;return Vt(e.tView,e.selectedIndex)}function kn(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){Mn(e,t,3,n)}function wn(e,t,n,r){(3&e[2])===n&&Mn(e,t,n,r)}function On(e,t){var n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Mn(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)&&(Sn(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}function Sn(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 Tn=function e(t,n,r){_classCallCheck(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r};function xn(e,t,n){for(var r=Nt(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];En(l)?r&&e.setProperty(t,l,u):r?e.setAttribute(t,l,u):t.setAttribute(l,u),i++}}return i}function An(e){return 3===e||4===e||6===e}function En(e){return 64===e.charCodeAt(0)}function In(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||Nn(e,n,i,null,-1===n||2===n?t[++r]:null)}return e}function Nn(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 Rn(e){return-1!==e}function Dn(e){return 32767&e}function Gn(e){return e>>16}function Hn(e,t){for(var n=Gn(e),r=t;n>0;)r=r[15],n--;return r}function Vn(e){return"string"==typeof e?e:null==e?"":""+e}function Ln(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Vn(e)}var Fn=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Ne);function Bn(e){return{name:"window",target:e.ownerDocument.defaultView}}function jn(e){return e instanceof Function?e():e}var zn=!0;function Un(e){var t=zn;return zn=e,t}var Wn=0;function qn(e,t){var n=Kn(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Xn(r.data,e),Xn(t,null),Xn(r.blueprint,null));var i=Qn(e,t),o=e.injectorIndex;if(Rn(i))for(var a=Dn(i),s=Hn(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 Xn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function Kn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function Qn(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 Zn(e,t,n){!function(e,t,n){var r="string"!=typeof n?n[Fe]:n.charCodeAt(0)||0;null==r&&(r=n[Fe]=Wn++);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 Yn(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[Fe];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof o){fn(t,e);try{var a=o();if(null!=a||r&le.Optional)return a;throw new Error("No provider for ".concat(Ln(n),"!"))}finally{mn()}}else if("number"==typeof o){if(-1===o)return new ir(e,t);var s=null,c=Kn(e,t),l=-1,u=r&le.Host?t[16][6]:null;for((-1===c||r&le.SkipSelf)&&(l=-1===c?Qn(e,t):t[c+8],rr(r,!1)?(s=t[1],c=Dn(l),t=Hn(l,t)):c=-1);-1!==c;){l=t[c+8];var h=t[1];if(nr(o,c,h.data)){var f=Jn(c,t,n,s,r,u);if(f!==$n)return f}rr(r,t[1].data[c+8]===u)&&nr(o,c,t)?(s=h,c=Dn(l),t=Hn(l,t)):c=-1}}}if(r&le.Optional&&void 0===i&&(i=null),0==(r&(le.Self|le.Host))){var d=t[9],p=Ke(void 0);try{return d?d.get(n,i,r&le.Optional):Ye(n,i,r&le.Optional)}finally{Ke(p)}}if(r&le.Optional)return i;throw new Error("NodeInjector: NOT_FOUND [".concat(Ln(n),"]"))}var $n={};function Jn(e,t,n,r,i,o){var a=t[1],s=a.data[e+8],c=er(s,a,n,null==r?St(s)&&zn:r!=a&&3===s.type,i&le.Host&&o===s);return null!==c?tr(t,a,c,s):$n}function er(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&&xt(d)&&d.type===n)return c}return null}function tr(e,t,n,r){var i=e[n],o=t.data;if(i instanceof Tn){var a=i;if(a.resolving)throw new Error("Circular dep for "+Ln(o[n]));var s,c=Un(a.canSeeViewProviders);a.resolving=!0,a.injectImpl&&(s=Ke(a.injectImpl)),fn(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&&Ke(s),Un(c),a.resolving=!1,mn()}}return i}function nr(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 rr(e,t){return!(e&le.Self||e&le.Host&&t)}var ir=function(){function e(t,n){_classCallCheck(this,e),this._tNode=t,this._lView=n}return _createClass(e,[{key:"get",value:function(e,t){return Yn(this._tNode,this._lView,e,void 0,t)}}]),e}();function or(e){var t=e;if(Se(e))return function(){var e=or(Me(t));return e?e():null};var n=kt(t);if(null===n){var r=ve(t);n=r&&r.factory}return n||null}function ar(e){return re((function(){for(var t=e.prototype.constructor,n=t[Le]||or(t),r=Object.prototype,i=Object.getPrototypeOf(e.prototype).constructor;i&&i!==r;){var o=i[Le]||or(i);if(o&&o!==n)return o;i=Object.getPrototypeOf(i)}return function(e){return new e}}))}function sr(e){return e.ngDebugContext}function cr(e){return e.ngOriginalError}function lr(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 ur=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||lr}(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?sr(e)?sr(e):this._findContext(cr(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=cr(e);t&&cr(t);)t=cr(t);return t}}]),e}(),hr=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}(),fr=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}(hr),dr=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}(hr),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"Script"}}]),n}(hr),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"URL"}}]),n}(hr),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"ResourceURL"}}]),n}(hr);function mr(e){return e instanceof hr?e.changingThisBreaksApplicationSecurity:e}function _r(e,t){var n=yr(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 yr(e){return e instanceof hr&&e.getTypeName()||null}var Cr=!0,br=!1;function kr(){return br=!0,Cr}var Pr=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}(),wr=/^(?:(?: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(wr)||e.match(Or)?e:(kr()&&console.warn("WARNING: sanitizing unsafe URL value ".concat(e," (see http://g.co/ng/security#xss)")),"unsafe:"+e)}function Sr(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 Tr(){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 xr,Ar=Sr("area,br,col,hr,img,wbr"),Er=Sr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ir=Sr("rp,rt"),Nr=Tr(Ir,Er),Rr=Tr(Ar,Tr(Er,Sr("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")),Tr(Ir,Sr("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")),Nr),Dr=Sr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Gr=Sr("srcset"),Hr=Tr(Dr,Gr,Sr("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"),Sr("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")),Vr=Sr("script,style,template"),Lr=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(!Rr.hasOwnProperty(t))return this.sanitizedSomething=!0,!Vr.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(Hr.hasOwnProperty(s)){var c=o.value;Dr[s]&&(c=Mr(c)),Gr[s]&&(n=c,c=(n=String(n)).split(",").map((function(e){return Mr(e.trim())})).join(", ")),this.buf.push(" ",a,'="',jr(c),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();Rr.hasOwnProperty(t)&&!Ar.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(jr(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}(),Fr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Br=/([^\#-~ |!])/g;function jr(e){return e.replace(/&/g,"&").replace(Fr,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(Br,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}function zr(e,t){var n=null;try{xr=xr||new Pr(e);var r=t?String(t):"";n=xr.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=xr.getInertBodyElement(r)}while(r!==o);var a=new Lr,s=a.sanitizeChildren(Ur(n)||n);return kr()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var c=Ur(n)||n;c.firstChild;)c.removeChild(c.firstChild)}}function Ur(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var Wr=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"),Xr=/^url\(([^)]+)\)$/;function Kr(e){if(!(e=String(e).trim()))return"";var t=e.match(Xr);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:(kr()&&console.warn("WARNING: sanitizing unsafe style value ".concat(e," (see http://g.co/ng/security#xss).")),"unsafe")}function Qr(e){var t=ti();return t?t.sanitize(Wr.HTML,e)||"":_r(e,"HTML")?mr(e):zr(It(),Vn(e))}function Zr(e){var t=ti();return t?t.sanitize(Wr.STYLE,e)||"":_r(e,"Style")?mr(e):Kr(Vn(e))}function Yr(e){var t=ti();return t?t.sanitize(Wr.URL,e)||"":_r(e,"URL")?mr(e):Mr(Vn(e))}function $r(e){var t=ti();if(t)return t.sanitize(Wr.RESOURCE_URL,e)||"";if(_r(e,"ResourceURL"))return mr(e);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}var Jr=function(e,t,n){if(void 0===t&&void 0===n)return Zr(e);var r=!0;return 1&(n=n||3)&&(r=ei(e)),2&n?r?Zr(t):mr(t):r};function ei(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 ti(){var e=Qt();return e&&e[12]}function ni(e,t){e.__ngContext__=t}function ri(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function ii(){throw new Error("Cannot mix multi providers and regular providers")}function oi(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 ai(e,t,n){for(var r=0;r<e.length;){var i=e[r++];if(n&&"class"===i){if(-1!==oi((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 si(e){return 0===e.type&&"ng-template"!==e.tagName}function ci(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function li(e,t,n){for(var r=4,i=e.attrs||[],o=function(e){for(var t=0;t<e.length;t++)if(An(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&&!ci(e,c,n)||""===c&&1===t.length){if(ui(r))return!1;a=!0}}else{var l=8&r?c:t[++s];if(8&r&&null!==e.attrs){if(!ai(e.attrs,l,n)){if(ui(r))return!1;a=!0}continue}var u=hi(8&r?"class":c,i,si(e),n);if(-1===u){if(ui(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!==oi(f,l,0)||2&r&&l!==h){if(ui(r))return!1;a=!0}}}}else{if(!a&&!ui(r)&&!ui(c))return!1;if(a&&ui(c))continue;a=!1,r=c|1&r}}return ui(r)||a}function ui(e){return 0==(1&e)}function hi(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 fi(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0;r<t.length;r++)if(li(e,t[r],n))return!0;return!1}function di(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 pi(e,t){return e?":not("+t.trim()+")":t}function gi(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||ui(a)||(t+=pi(o,i),i=""),r=a,o=o||!ui(r);n++}return""!==i&&(t+=pi(o,i)),t}var vi={};function mi(e){var t=e[3];return Ot(t)?t[3]:t}function _i(e){return Ci(e[13])}function yi(e){return Ci(e[4])}function Ci(e){for(;null!==e&&!Ot(e);)e=e[4];return e}function bi(e){ki(Zt(),Qt(),yn()+e,nn())}function ki(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&&wn(t,o,0,n)}Cn(n)}function Pi(e,t){return e<<17|t<<2}function wi(e){return e>>17&32767}function Oi(e){return 2|e}function Mi(e){return(131068&e)>>2}function Si(e,t){return-131069&e|t<<2}function Ti(e){return 1|e}function xi(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];hn(i),a.contentQueries(2,t[o],o)}}}function Ai(e,t,n){return Nt(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function Ei(e,t,n,r,i,o,a,s,c,l){var u=t.blueprint.slice();return u[0]=i,u[2]=140|r,Wt(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 Ii(e,t,n,r,i,o){var a=n+20,s=e.data[a]||function(e,t,n,r,i,o){var a=$t(),s=en(),c=s?a:a&&a.parent,l=e.data[n]=ji(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 Jt(s,!0),s}function Ni(e,t,n){dn(t,t[6]);try{var r=e.viewQuery;null!==r&&uo(1,r,n);var i=e.template;null!==i&&Gi(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&xi(e,t),e.staticViewQueries&&uo(2,e.viewQuery,n);var o=e.components;null!==o&&function(e,t){for(var n=0;n<t.length;n++)oo(e,t[n])}(t,o)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),a}finally{t[2]&=-5,_n()}}function Ri(e,t,n,r){var i=t[2];if(256!=(256&i)){dn(t,t[6]);var o=nn();try{Wt(t),Xt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&Gi(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&&wn(t,c,0,null),On(t,0)}if(function(e){for(var t=_i(e);null!==t;t=yi(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=_i(e);null!==t;t=yi(t))for(var n=10;n<t.length;n++){var r=t[n],i=r[1];zt(r)&&Ri(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&xi(e,t),!o)if(a){var l=e.contentCheckHooks;null!==l&&Pn(t,l)}else{var u=e.contentHooks;null!==u&&wn(t,u,1),On(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?(Cn(0-a),i=r+=9+n[++o]):r+=a:(null!==a&&(cn(r,i),a(2,t[i])),i++)}}finally{Cn(-1)}}(e,t);var h=e.components;null!==h&&function(e,t){for(var n=0;n<t.length;n++)io(e,t[n])}(t,h);var f=e.viewQuery;if(null!==f&&uo(2,f,r),!o)if(a){var d=e.viewCheckHooks;null!==d&&Pn(t,d)}else{var p=e.viewHooks;null!==p&&wn(t,p,2),On(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),o||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,qt(t[3],-1))}finally{_n()}}}function Di(e,t,n,r){var i=t[10],o=!nn(),a=jt(t);try{o&&!a&&i.begin&&i.begin(),a&&Ni(e,t,r),Ri(e,t,n,r)}finally{o&&!a&&i.end&&i.end()}}function Gi(e,t,n,r,i){var o=yn();try{Cn(-1),2&r&&t.length>20&&ki(e,t,0,nn()),n(r,i)}finally{Cn(o)}}function Hi(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 Vi(e,t,n){Kt()&&(function(e,t,n,r){var i=n.directiveStart,o=n.directiveEnd;e.firstCreatePass||qn(n,t),ni(r,t);for(var a=n.initialInputs,s=i;s<o;s++){var c=e.data[s],l=xt(c);l&&eo(t,n,c);var u=tr(t,e,s,n);ni(u,t),null!==a&&to(0,s-i,u,c,0,a),l&&(Ft(n.index,t)[8]=u)}}(e,t,n,Ht(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=Xt.lFrame.currentDirectiveIndex;try{Cn(s);for(var l=r;l<i;l++){var u=e.data[l],h=t[l];ln(l),null!==u.hostBindings||0!==u.hostVars||null!==u.hostAttrs?Ki(u,h):a&&o.push(null)}}finally{Cn(-1),ln(c)}}(e,t,n))}function Li(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Ht,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 Fi(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Bi(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Bi(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:vi);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 ji(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 zi(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 Ui(e,t,n,r,i,o,a,s){var c,l,u=Ht(t,n),h=t.inputs;!s&&null!=h&&(c=h[r])?(vo(e,n,c,r,i),St(t)&&function(e,t){var n=Ft(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,Nt(o)?o.setProperty(u,r,i):En(r)||(u.setProperty?u.setProperty(r,i):u[r]=i))}function Wi(e,t,n,r){var i=!1;if(Kt()){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];fi(n,a.selectors,!1)&&(i||(i=[]),Zn(qn(n,t),e,a.type),xt(a)?(2&n.flags&&ri(n),Zi(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,$i(n,e.data.length,o.length);for(var c=0;c<o.length;c++){var l=o[c];l.providersResolver&&l.providersResolver(l)}Qi(e,n,o.length);for(var u=!1,h=!1,f=0;f<o.length;f++){var d=o[f];n.mergedAttrs=In(n.mergedAttrs,d.hostAttrs),Ji(e,t,d),Yi(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||si(t)?null:no(u,i);o.push(h),a=zi(u,c,a),s=zi(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),Xi(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=In(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 Xi(e,t,n){for(var r=0;r<n;r++)t.push(vi),e.blueprint.push(vi),e.data.push(null)}function Ki(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Qi(e,t,n){var r=20-t.index,i=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,i,n)}function Zi(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Yi(e,t,n){if(n){if(t.exportAs)for(var r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;xt(t)&&(n[""]=e)}}function $i(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Ji(e,t,n){e.data.push(n);var r=n.factory||(n.factory=kt(n.type)),i=new Tn(r,xt(n),null);e.blueprint.push(i),t.push(i)}function eo(e,t,n){var r=Ht(t,e),i=Fi(n),o=e[10],a=ao(e,Ei(e,i,null,n.onPush?64:16,r,t,o,o.createRenderer(r,n)));e[t.index]=a}function to(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 no(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 ro(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function io(e,t){var n=Ft(t,e);if(zt(n)){var r=n[1];80&n[2]?Ri(r,n,r.template,n[8]):n[5]>0&&function e(t){for(var n=_i(t);null!==n;n=yi(n))for(var r=10;r<n.length;r++){var i=n[r];if(1024&i[2]){var o=i[1];Ri(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=Ft(a[s],t);zt(c)&&c[5]>0&&e(c)}}(n)}}function oo(e,t){var n=Ft(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),Ni(r,n,n[8])}function ao(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function so(e){for(;e;){e[2]|=64;var t=mi(e);if(At(e)&&!t)return e;e=t}return null}function co(e,t,n){var r=t[10];r.begin&&r.begin();try{Ri(e,t,e.template,n)}catch(i){throw go(t,i),i}finally{r.end&&r.end()}}function lo(e){!function(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],r=Bt(n),i=r[1];Di(i,r,i.template,n)}}(e[8])}function uo(e,t,n){hn(0),t(e,n)}var ho=Promise.resolve(null);function fo(e){return e[7]||(e[7]=[])}function po(e){return e.cleanup||(e.cleanup=[])}function go(e,t){var n=e[9],r=n?n.get(ur,null):null;r&&r.handleError(t)}function vo(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 mo(e,t){var n=t[3];return-1===e.index?Ot(n)?n:null:n}function _o(e,t){var n=mo(e,t);return n?Ao(t[11],n[7]):null}function yo(e,t,n,r,i){if(null!=r){var o,a=!1;Ot(r)?o=r:wt(r)&&(a=!0,r=r[0]);var s=Dt(r);0===e&&null!==n?null==i?To(t,n,s):So(t,n,s,i||null):1===e&&null!==n?So(t,n,s,i||null):2===e?function(e,t,n){var r=Ao(e,t);r&&function(e,t,n,r){Nt(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!==Dt(n)&&yo(t,e,r,o,i);for(var a=10;a<n.length;a++){var s=n[a];Do(s[1],s,e,t,r,o)}}(t,e,o,n,i)}}function Co(e,t,n,r){var i=_o(e.node,t);i&&Do(e,t,t[11],n?1:2,i,r)}function bo(e,t){var n=e[9],r=n.indexOf(t);1024&t[2]&&qt(t[3],-1),n.splice(r,1)}function ko(e,t){if(!(e.length<=10)){var n=10+t,r=e[n];if(r){var i=r[17];null!==i&&i!==e&&bo(i,r),t>0&&(e[n-1][4]=r[4]);var o=it(e,10+t);Co(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];Nt(n)&&n.destroyNode&&Do(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Oo(e[1],e);for(;t;){var n=null;if(wt(t))n=t[13];else{var r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)wt(t)&&Oo(t[1],t),t=wo(t,e);null===t&&(t=e),wt(t)&&Oo(t[1],t),n=t&&t[4]}t=n}}(t)}}function wo(e,t){var n;return wt(e)&&(n=e[6])&&2===n.type?mo(n,e):e[3]===t?null:e[3]}function Oo(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 Tn)){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):Dt(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&&Nt(t[11])&&t[11].destroy();var r=t[17];if(null!==r&&Ot(t[3])){r!==t[3]&&bo(r,t);var i=t[19];null!==i&&i.detachView(e)}}}function Mo(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?_o(i,n):n[0]}if(t&&5===t.type&&4&t.flags)return Ht(t,n).parentNode;if(2&r.flags){var o=e.data,a=o[o[r.index].directiveStart].encapsulation;if(a!==ut.ShadowDom&&a!==ut.Native)return null}return Ht(r,n)}function So(e,t,n,r){Nt(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function To(e,t,n){Nt(e)?e.appendChild(t,n):t.appendChild(n)}function xo(e,t,n,r){null!==r?So(e,t,n,r):To(e,t,n)}function Ao(e,t){return Nt(e)?e.parentNode(t):t.parentNode}function Eo(e,t){if(2===e.type){var n=mo(e,t);return null===n?null:No(n.indexOf(t,10)-10,n)}return 4===e.type||5===e.type?Ht(e,t):null}function Io(e,t,n,r){var i=Mo(e,r,t);if(null!=i){var o=t[11],a=Eo(r.parent||t[6],t);if(Array.isArray(n))for(var s=0;s<n.length;s++)xo(o,i,n[s],a);else xo(o,i,n,a)}}function No(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 Ht(n,t);if(0===r)return No(-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)?No(-1,o):Dt(o)}var a=t[16],s=a[6],c=mi(a),l=s.projection[n.projection];return null!=l?e(c,l):e(t,n.next)}return null}(r,i)}return t[7]}function Ro(e,t,n,r,i,o,a){for(;null!=n;){var s=r[n.index],c=n.type;a&&0===t&&(s&&ni(Dt(s),r),n.flags|=4),64!=(64&n.flags)&&(4===c||5===c?(Ro(e,t,n.child,r,i,o,!1),yo(t,e,i,s,o)):1===c?Go(e,t,r,n,i,o):yo(t,e,i,s,o)),n=a?n.projectionNext:n.next}}function Do(e,t,n,r,i,o){Ro(n,r,e.node.child,t,i,o,!1)}function Go(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++)yo(t,e,i,s[c],o);else Ro(e,t,s,a[3],i,o,!0)}function Ho(e,t,n){Nt(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Vo(e,t,n){Nt(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}var Lo,Fo,Bo,jo=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,fo(n=this._lView).push(r),t.firstCreatePass&&po(t).push(n[7].length-1,null)}},{key:"markForCheck",value:function(){so(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){co(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){rn(!0);try{co(e,t,n)}finally{rn(!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,Do(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(Dt(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=mi(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}(),zo=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(){lo(this._view)}},{key:"checkNoChanges",value:function(){!function(e){rn(!0);try{lo(e)}finally{rn(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(jo);function Uo(e,t,n){return Lo||(Lo=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(e)),new Lo(Ht(t,n))}function Wo(e,t,n,r){return Fo||(Fo=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=Ei(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)),Ni(t,n,e),new jo(n)}}]),n}(e)),0===n.type?new Fo(r,n,Uo(t,n,r)):null}function qo(e,t,n,r){var i;Bo||(Bo=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(et,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 Bo(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],rt(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),Co(r,n,!0,No(s,this._lContainer)),e.attachToViewContainerRef(this),rt(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=ko(e,t);n&&Po(n[1],n)}(this._lContainer,t),it(this._lContainer[8],t)}},{key:"detach",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=ko(this._lContainer,t);return n&&null!=it(this._lContainer[8],t)?new jo(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 Uo(t,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new ir(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var e=Qn(this._hostTNode,this._hostView),t=Hn(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=Gn(e),a=t,s=t[6];o>1;)s=(a=a[15])[6],o--;return s}(e,this._hostView,this._hostTNode);return Rn(e)&&null!=n?new ir(n,t):new ir(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=Dt(o);else if(a=r[11].createComment(""),At(r)){var s=r[11],c=Ht(n,r);So(s,Ao(s,c),a,function(e,t){return Nt(e)?e.nextSibling(t):t.nextSibling}(s,c))}else Io(r[1],r,a,n);r[n.index]=i=ro(o,r,a,n),ao(r,i)}return new Bo(i,n,r)}function Xo(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t,n){if(!n&&St(e)){var r=Ft(e.index,t);return new jo(r,r)}return 3===e.type||0===e.type||4===e.type||5===e.type?new jo(t[16],t):null}($t(),Qt(),e)}var Ko=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return Qo()},e}(),Qo=Xo,Zo=new Be("Set Injector scope."),Yo={},$o={},Jo=[],ea=void 0;function ta(){return void 0===ea&&(ea=new Je),ea}function na(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 ra(e,n,t||ta(),r)}var ra=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&&nt(n,(function(e){return i.processProvider(e,t,n)})),nt([t],(function(e){return i.processInjectorType(e,[],a)})),this.records.set(je,aa(void 0,this));var s=this.records.get(Zo);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:ke(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=Xe(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 Be)&&pe(e);o=a&&this.injectableDefInScope(a)?aa(ia(e),Yo):null,this.records.set(e,o)}if(null!=o)return this.hydrate(e,o)}return(n&le.Self?ta():this.parent).get(e,t=n&le.Optional&&t===ze?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(ke(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=ke(t);if(Array.isArray(t))i=t.map(ke).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):ke(s)))}i="{".concat(o.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(i,"]: ").concat(e.replace(Ue,"\n "))}("\n"+e.message,i,"R3InjectorError",r),e.ngTokenPath=i,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{Xe(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(ke(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=Me(e)))return!1;var i=ve(e),o=null==i&&e.ngModule||void 0,a=void 0===o?e:o,s=-1!==n.indexOf(a);if(void 0!==o&&(i=ve(o)),null==i)return!1;if(null!=i.imports&&!s){var c;n.push(a);try{nt(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;nt(i,(function(e){return r.processProvider(e,n,i||Jo)}))},u=0;u<c.length;u++)l(u)}this.injectorDefTypes.add(a),this.records.set(a,aa(i.factory,Yo));var h=i.providers;if(null!=h&&!s){var f=e;nt(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=ca(e=Me(e))?e:Me(e&&e.provide),i=function(e,t,n){return sa(e)?aa(void 0,e.useValue):aa(oa(e,t,n),Yo)}(e,t,n);if(ca(e)||!0!==e.multi){var o=this.records.get(r);o&&void 0!==o.multi&&ii()}else{var a=this.records.get(r);a?void 0===a.multi&&ii():((a=aa(void 0,Yo,!0)).factory=function(){return $e(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===$o?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(ke(e)):t.value===Yo&&(t.value=$o,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 ia(e){var t=pe(e),n=null!==t?t.factory:kt(e);if(null!==n)return n;var r=ve(e);if(null!==r)return r.factory;if(e instanceof Be)throw new Error("Token ".concat(ke(e)," is missing a \u0275prov definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=ot(t,"?");throw new Error("Can't resolve all parameters for ".concat(ke(e),": (").concat(n.join(", "),")."))}var r=function(e){var t=e&&(e[me]||e[Ce]||e[ye]&&e[ye]());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 oa(e,t,n){var r,i=void 0;if(ca(e)){var o=Me(e);return kt(o)||ia(o)}if(sa(e))i=function(){return Me(e.useValue)};else if((r=e)&&r.useFactory)i=function(){return e.useFactory.apply(e,_toConsumableArray($e(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))i=function(){return Ze(Me(e.useExisting))};else{var a=Me(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(ke(e),"'")+r)}(t,n,e),!function(e){return!!e.deps}(e))return kt(a)||ia(a);i=function(){return _construct(a,_toConsumableArray($e(e.deps)))}}return i}function aa(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function sa(e){return null!==e&&"object"==typeof e&&We in e}function ca(e){return"function"==typeof e}var la=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=na(e,t,n,r);return i._resolveInjectorDefTypes(),i}({name:n},t,e,n)},ua=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?la(e,t,""):la(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=ze,e.NULL=new Je,e.\u0275prov=fe({token:e,providedIn:"any",factory:function(){return Ze(je)}}),e.__NG_ELEMENT_ID__=-1,e}(),ha=new Be("AnalyzeForEntryComponents"),fa=new Map,da=new Set;function pa(e){return"string"==typeof e?e:e.text()}function ga(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=Pe(i,s):2==o&&(r=Pe(r,s+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}var va=null;function ma(){if(!va){var e=Ne.Symbol;if(e&&e.iterator)va=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&&(va=r)}}return va}function _a(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}var ya=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 Ca(e){return!!ba(e)&&(Array.isArray(e)||!(e instanceof Map)&&ma()in e)}function ba(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ka(e,t,n){return e[t]=n}function Pa(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function wa(e,t,n,r){var i=Qt();return Pa(i,an(),t)&&(Zt(),function(e,t,n,r,i,o){var a=Ht(e,t),s=t[11];if(null==r)Nt(s)?s.removeAttribute(a,n,o):a.removeAttribute(n);else{var c=null==i?Vn(r):i(r,e.tagName||"",n);Nt(s)?s.setAttribute(a,n,c,o):o?a.setAttributeNS(o,n,c):a.setAttribute(n,c)}}(bn(),i,e,t,n,r)),wa}function Oa(e,t,n,r,i,o,a,s){var c=Qt(),l=Zt(),u=e+20,h=l.firstCreatePass?function(e,t,n,r,i,o,a,s,c){var l=t.consts,u=Ii(t,n[6],e,0,a||null,Ut(l,s));Wi(t,n,u,Ut(l,c)),kn(t,u);var h=u.tViews=Bi(2,-1,r,i,o,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l),f=ji(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];Jt(h,!1);var f=c[11].createComment("");Io(l,c,f,h),ni(f,c),ao(c,c[u]=ro(f,c,f,h)),Tt(h)&&Vi(l,c,h),null!=a&&Li(c,h,s)}function Ma(e){return Lt(Xt.lFrame.contextLView,e)}function Sa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:le.Default,n=Qt();return null==n?Ze(e,t):Yn($t(),n,Me(e),t)}function Ta(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(An(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}($t(),e)}function xa(){throw new Error("invalid")}function Aa(e,t,n){var r=Qt();return Pa(r,an(),t)&&Ui(Zt(),bn(),r,e,t,r[11],n,!1),Aa}function Ea(e,t,n,r,i){var o=i?"class":"style";vo(e,n,t.inputs[o],o,r)}function Ia(e,t,n,r){var i=Qt(),o=Zt(),a=20+e,s=i[11],c=i[a]=Ai(t,s,Xt.lFrame.currentNamespace),l=o.firstCreatePass?function(e,t,n,r,i,o,a){var s=t.consts,c=Ut(s,o),l=Ii(t,n[6],e,3,i,c);return Wi(t,n,l,Ut(s,a)),null!==l.attrs&&ga(l,l.attrs,!1),null!==l.mergedAttrs&&ga(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(e,o,i,0,t,n,r):o.data[a];Jt(l,!0);var u=l.mergedAttrs;null!==u&&xn(s,c,u);var h=l.classes;null!==h&&Vo(s,c,h);var f=l.styles;null!==f&&Ho(s,c,f),Io(o,i,c,l),0===Xt.lFrame.elementDepthCount&&ni(c,i),Xt.lFrame.elementDepthCount++,Tt(l)&&(Vi(o,i,l),Hi(o,l,i)),null!==r&&Li(i,l)}function Na(){var e=$t();en()?tn():Jt(e=e.parent,!1);var t=e;Xt.lFrame.elementDepthCount--;var n=Zt();n.firstCreatePass&&(kn(n,e),Mt(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Ea(n,t,Qt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Ea(n,t,Qt(),t.stylesWithoutHost,!1)}function Ra(e,t,n,r){Ia(e,t,n,r),Na()}function Da(e,t,n){var r=Qt(),i=Zt(),o=e+20,a=i.firstCreatePass?function(e,t,n,r,i){var o=t.consts,a=Ut(o,r),s=Ii(t,n[6],e,4,"ng-container",a);return null!==a&&ga(s,a,!0),Wi(t,n,s,Ut(o,i)),null!==t.queries&&t.queries.elementStart(t,s),s}(e,i,r,t,n):i.data[o];Jt(a,!0);var s=r[o]=r[11].createComment("");Io(i,r,s,a),ni(s,r),Tt(a)&&(Vi(i,r,a),Hi(i,a,r)),null!=n&&Li(r,a)}function Ga(){var e=$t(),t=Zt();en()?tn():Jt(e=e.parent,!1),t.firstCreatePass&&(kn(t,e),Mt(e)&&t.queries.elementEnd(e))}function Ha(){return Qt()}function Va(e){return!!e&&"function"==typeof e.then}function La(e){return!!e&&"function"==typeof e.subscribe}function Fa(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,i=Qt(),o=Zt(),a=$t();return function(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=Tt(r),l=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),u=fo(t),h=!0;if(3===r.type){var f=Ht(r,t),d=s?s(f):ht,p=d.target||f,g=u.length,v=s?function(e){return s(Dt(e[r.index])).target}:r.index;if(Nt(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=ja(r,t,o,!1);var _=n.listen(d.name||p,i,o);u.push(o,_),l&&l.push(i,v,g,g+1)}}else o=ja(r,t,o,!0),p.addEventListener(i,o,a),u.push(o),l&&l.push(i,v,g,a)}var y,C=r.outputs;if(h&&null!==C&&(y=C[i])){var b=y.length;if(b)for(var k=0;k<b;k+=2){var P=t[y[k]][y[k+1]].subscribe(o),w=u.length;u.push(o,P),l&&l.push(i,r.index,w,-(w+1))}}}(o,i,i[11],a,e,t,n,r),Fa}function Ba(e,t,n){try{return!1!==t(n)}catch(r){return go(e,r),!1}}function ja(e,t,n,r){return function i(o){if(o===Function)return n;var a=2&e.flags?Ft(e.index,t):t;0==(32&t[2])&&so(a);for(var s=Ba(t,n,o),c=i.__ngNextListenerFn__;c;)s=Ba(t,c,o)&&s,c=c.__ngNextListenerFn__;return r&&!1===s&&(o.preventDefault(),o.returnValue=!1),s}}function za(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(Xt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,Xt.lFrame.contextLView))[8]}(e)}function Ua(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?fi(e,o,!0):di(r,o))return i}else n=i}return n}function Wa(e){var t=Qt()[16][6];if(!t.projection)for(var n=t.projection=ot(e?e.length:1,null),r=n.slice(),i=t.child;null!==i;){var o=e?Ua(i,e):0;null!==o&&(r[o]?r[o].projectionNext=i:n[o]=i,r[o]=i),i=i.next}}function qa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=Qt(),i=Zt(),o=Ii(i,r[6],e,1,null,n||null);null===o.projection&&(o.projection=t),tn(),function(e,t,n){Go(t[11],0,t,n,Mo(e,n,t),Eo(n.parent||t[6],t))}(i,r,o)}var Xa=[];function Ka(e,t,n,r,i){for(var o=e[n+1],a=null===t,s=r?wi(o):Mi(o),c=!1;0!==s&&(!1===c||a);){var l=e[s+1];Qa(e[s],t)&&(c=!0,e[s+1]=r?Ti(l):Oi(l)),s=r?wi(l):Mi(l)}c&&(e[n+1]=r?Oi(o):Ti(o))}function Qa(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ct(e,t)>=0}var Za={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Ya(e){return e.substring(Za.key,Za.keyEnd)}function $a(e){return e.substring(Za.value,Za.valueEnd)}function Ja(e,t){var n=Za.textEnd;return n===t?-1:(t=Za.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Za.key=t,n),ns(e,t,n))}function es(e,t){var n=Za.textEnd,r=Za.key=ns(e,t,n);return n===r?-1:(r=Za.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=rs(e,r,n),r=Za.value=ns(e,r,n),r=Za.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=is(e,c,a,n):t===a-4&&85===o&&82===i&&76===r&&40===c?s=a=is(e,41,a,n):c>32&&(s=a),o=i,i=r,r=-33&c}return s}(e,r,n),rs(e,r,n))}function ts(e){Za.key=0,Za.keyEnd=0,Za.value=0,Za.valueEnd=0,Za.textEnd=e.length}function ns(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function rs(e,t,n,r){return(t=ns(e,t,n))<n&&t++,t}function is(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 os(e,t,n){return us(e,t,n,!1),os}function as(e,t){return us(e,t,null,!0),as}function ss(e,t){for(var n=function(e){return ts(e),es(e,ns(e,0,Za.textEnd))}(t);n>=0;n=es(t,n))vs(e,Ya(t),$a(t))}function cs(e){hs(at,ls,e,!0)}function ls(e,t){for(var n=function(e){return ts(e),Ja(e,ns(e,0,Za.textEnd))}(t);n>=0;n=Ja(t,n))at(e,Ya(t),!0)}function us(e,t,n,r){var i,o,a=Qt(),s=Zt(),c=sn(2);(s.firstUpdatePass&&ds(s,e,c,r),t!==vi&&Pa(a,c,t))&&(null==n&&(i=null===(o=Xt.lFrame)?null:o.currentSanitizer)&&(n=i),ms(s,s.data[yn()+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=ke(mr(e)))),e}(t,n),r,c))}function hs(e,t,n,r){var i=Zt(),o=sn(2);i.firstUpdatePass&&ds(i,null,o,r);var a=Qt();if(n!==vi&&Pa(a,o,n)){var s=i.data[yn()+20];if(Cs(s,r)&&!fs(i,o)){var c=r?s.classesWithoutHost:s.stylesWithoutHost;null!==c&&(n=Pe(c,n||"")),Ea(i,s,a,n,r)}else!function(e,t,n,r,i,o,a,s){i===vi&&(i=Xa);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,g=void 0;u===h?(c+=2,l+=2,f!==d&&(p=h,g=d)):null===h||null!==u&&u<h?(c+=2,p=u):(l+=2,p=h,g=d),null!==p&&ms(e,t,n,r,p,g,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 Xa;var r=[],i=mr(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 fs(e,t){return t>=e.expandoStartIndex}function ds(e,t,n,r){var i=e.data;if(null===i[n+1]){var o=i[yn()+20],a=fs(e,n);Cs(o,r)&&null===t&&!a&&(t=!1),t=function(e,t,n,r){var i=function(e){var t=Xt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e),o=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=gs(n=ps(null,e,t,n,r),t.attrs,r),o=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=ps(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[wi(r)]}(e,t,r);void 0!==s&&Array.isArray(s)&&function(e,t,n,r){e[wi(n?t.classBindings:t.styleBindings)]=r}(e,t,r,s=gs(s=ps(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=gs(r,e[o].hostAttrs,n);return gs(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=wi(a),c=Mi(a);e[r]=n;var l,u=!1;if(Array.isArray(n)){var h=n;(null===(l=h[1])||ct(h,l)>0)&&(u=!0)}else l=n;if(i)if(0!==c){var f=wi(e[s+1]);e[r+1]=Pi(f,s),0!==f&&(e[f+1]=Si(e[f+1],r)),e[s+1]=131071&e[s+1]|r<<17}else e[r+1]=Pi(s,0),0!==s&&(e[s+1]=Si(e[s+1],r)),s=r;else e[r+1]=Pi(c,0),0===s?s=r:e[c+1]=Si(e[c+1],r),c=r;u&&(e[r+1]=Oi(e[r+1])),Ka(e,l,r,!0),Ka(e,l,r,!1),function(e,t,n,r,i){var o=i?e.residualClasses:e.residualStyles;null!=o&&"string"==typeof t&&ct(o,t)>=0&&(n[r+1]=Ti(n[r+1]))}(t,l,e,r,o),a=Pi(s,c),o?t.classBindings=a:t.styleBindings=a}(i,o,t,n,a,r)}}function ps(e,t,n,r,i){var o=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<a&&(r=gs(r,(o=t[s]).hostAttrs,i),o!==e);)s++;return null!==e&&(n.directiveStylingLast=s),r}function gs(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]),at(e,a,!!n||t[++o]))}return void 0===e?null:e}function vs(e,t,n){ei(t)&&(n=Zr(n)),at(e,t,n)}function ms(e,t,n,r,i,o,a,s){if(3===t.type){var c=e.data,l=c[s+1];ys(1==(1&l)?_s(c,t,n,i,Mi(l),a):void 0)||(ys(o)||2==(2&l)&&(o=_s(c,null,n,i,s,a)),function(e,t,n,r,i){var o=Nt(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,Gt(yn(),n),i,o))}}function _s(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===vi&&(f=h?Xa:void 0);var d=h?st(f,r):u===r?f:void 0;if(l&&!ys(d)&&(d=st(c,r)),ys(d)&&(s=d,a))return s;var p=e[i+1];i=a?wi(p):Mi(p)}if(null!==t){var g=o?t.residualClasses:t.residualStyles;null!=g&&(s=st(g,r))}return s}function ys(e){return void 0!==e}function Cs(e,t){return 0!=(e.flags&(t?16:32))}function bs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Qt(),r=Zt(),i=e+20,o=r.firstCreatePass?Ii(r,n[6],e,3,null,null):r.data[i],a=n[i]=function(e,t){return Nt(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);Io(r,n,a,o),Jt(o,!1)}function ks(e){return Ps("",e,""),ks}function Ps(e,t,n){var r=Qt(),i=function(e,t,n,r){return Pa(e,an(),n)?t+Vn(n)+r:vi}(r,e,t,n);return i!==vi&&function(e,t,n){var r=Gt(t,e),i=e[11];Nt(i)?i.setValue(r,n):r.textContent=n}(r,yn(),i),Ps}function ws(e,t,n){var r=Qt();return Pa(r,an(),t)&&Ui(Zt(),bn(),r,e,t,r[11],n,!0),ws}function Os(e,t){var n=Bt(e)[1],r=n.data.length-1;kn(n,{directiveStart:r,directiveEnd:r+1})}function Ms(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,r=[e];t;){var i=void 0;if(xt(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=Ss(e.inputs),o.declaredInputs=Ss(e.declaredInputs),o.outputs=Ss(e.outputs);var a=i.hostBindings;a&&As(e,a);var s=i.viewQuery,c=i.contentQueries;if(s&&Ts(e,s),c&&xs(e,c),he(e.inputs,i.inputs),he(e.declaredInputs,i.declaredInputs),he(e.outputs,i.outputs),xt(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===Ms&&(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=In(i.hostAttrs,n=In(n,i.hostAttrs))}}(r)}function Ss(e){return e===ht?{}:e===ft?[]:e}function Ts(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,r){t(e,r),n(e,r)}:t}function xs(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,r,i){t(e,r,i),n(e,r,i)}:t}function As(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,r){t(e,r),n(e,r)}:t}var Es=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 Is(e){e.type.prototype.ngOnChanges&&(e.setInput=Ns,e.onChanges=function(){var e=Rs(this),t=e&&e.current;if(t){var n=e.previous;if(n===ht)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}})}function Ns(e,t,n,r){var i=Rs(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:ht,current:null}),o=i.current||(i.current={}),a=i.previous,s=this.declaredInputs[n],c=a[s];o[s]=new Es(c&&c.currentValue,t,a===ht),e[r]=t}function Rs(e){return e.__ngSimpleChanges__||null}function Ds(e,t,n,r,i){if(e=Me(e),Array.isArray(e))for(var o=0;o<e.length;o++)Ds(e[o],t,n,r,i);else{var a=Zt(),s=Qt(),c=ca(e)?e:Me(e.provide),l=oa(e),u=$t(),h=65535&u.providerIndexes,f=u.directiveStart,d=u.providerIndexes>>16;if(ca(e)||!e.multi){var p=new Tn(l,i,Sa),g=Vs(c,t,i?h:h+d,f);-1===g?(Zn(qn(u,s),a,c),Gs(a,e,t.length),t.push(c),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=65536),n.push(p),s.push(p)):(n[g]=p,s[g]=p)}else{var v=Vs(c,t,h+d,f),m=Vs(c,t,h,h+d),_=v>=0&&n[v],y=m>=0&&n[m];if(i&&!y||!i&&!_){Zn(qn(u,s),a,c);var C=function(e,t,n,r,i){var o=new Tn(e,n,Sa);return o.multi=[],o.index=t,o.componentProviders=0,Hs(o,i,r&&!n),o}(i?Fs:Ls,n.length,i,r,l);!i&&y&&(n[m].providerFactory=C),Gs(a,e,t.length,0),t.push(c),u.directiveStart++,u.directiveEnd++,i&&(u.providerIndexes+=65536),n.push(C),s.push(C)}else Gs(a,e,v>-1?v:m,Hs(n[i?m:v],l,!i&&r));!i&&r&&y&&n[m].componentProviders++}}}function Gs(e,t,n,r){var i=ca(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 Hs(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function Vs(e,t,n,r){for(var i=n;i<r;i++)if(t[i]===e)return i;return-1}function Ls(e,t,n,r){return Bs(this.multi,[])}function Fs(e,t,n,r){var i,o=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,s=tr(n,n[1],this.providerFactory.index,r);Bs(o,i=s.slice(0,a));for(var c=a;c<s.length;c++)i.push(s[c])}else Bs(o,i=[]);return i}function Bs(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function js(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=Zt();if(r.firstCreatePass){var i=xt(e);Ds(n,r.data,r.blueprint,i,!0),Ds(t,r.data,r.blueprint,i,!1)}}(n,r?r(e):e,t)}}}Is.ngInherit=!0;var zs=function e(){_classCallCheck(this,e)},Us=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(ke(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),Ws=function(){var e=function e(){_classCallCheck(this,e)};return e.NULL=new Us,e}(),qs=function(){var e=function e(t){_classCallCheck(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=function(){return Xs(e)},e}(),Xs=function(e){return Uo(e,$t(),Qt())},Ks=function e(){_classCallCheck(this,e)},Qs=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),Zs=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return Ys()},e}(),Ys=function(){var e=Qt(),t=Ft($t().index,e);return function(e){var t=e[11];if(Nt(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(wt(t)?t:e)},$s=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=fe({token:e,providedIn:"root",factory:function(){return null}}),e}(),Js=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(".")},ec=new Js("9.1.12"),tc=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return Ca(e)}},{key:"create",value:function(e){return new rc(e)}}]),e}(),nc=function(e,t){return t},rc=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||nc}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<sc(n,r,i)?t:n,a=sc(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=[]),!Ca(e))throw new Error("Error trying to diff '".concat(ke(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&&_a(o.trackById,i)?(a&&(o=this._verifyReinsertion(o,r,i,s)),_a(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[ma()]();!(r=i.next()).done;)t(r.value)}(e,(function(e){i=t._trackByFn(n,e),null!==o&&_a(o.trackById,i)?(a&&(o=t._verifyReinsertion(o,e,i,n)),_a(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))?(_a(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(_a(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new ic(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 ac),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 ac),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}(),ic=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},oc=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)&&_a(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}(),ac=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 oc,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 sc(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 cc=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return e instanceof Map||ba(e)}},{key:"create",value:function(){return new lc}}]),e}(),lc=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||ba(e)))throw new Error("Error trying to diff '".concat(ke(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 uc(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){_a(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}(),uc=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},hc=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 tc])}}),e}(),fc=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 cc])}}),e}(),dc=[new cc],pc=new hc([new tc]),gc=new fc(dc),vc=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return mc(e,qs)},e}(),mc=function(e,t){return Wo(e,t,$t(),Qt())},_c=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return yc(e,qs)},e}(),yc=function(e,t){return qo(e,t,$t(),Qt())},Cc={},bc=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=bt(e);return new wc(t,this.ngModule)}}]),n}(Ws);function kc(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var Pc=new Be("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Fn}}),wc=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(gi).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,Cc,i);return o!==Cc||r===Cc?o:t.get(n,r,i)}}}(e,r.injector):e,s=a.get(Ks,Rt),c=a.get($s,null),l=s.createRenderer(null,this.componentDef),u=this.componentDef.selectors[0][0]||"div",h=n?function(e,t,n){if(Nt(e))return e.selectRootElement(t,n===ut.ShadowDom);var r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(l,n,this.componentDef.encapsulation):Ai(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:Fn,clean:ho,playerHandler:null,flags:0},g=Bi(0,-1,null,1,0,null,null,null,null,null),v=Ei(null,g,p,f,null,null,s,l,c,a);dn(v,null);try{var m=function(e,t,n,r,i,o){var a=n[1];n[20]=e;var s=Ii(a,null,0,3,null,null),c=s.mergedAttrs=t.hostAttrs;null!==c&&(ga(s,c,!0),null!==e&&(xn(i,e,c),null!==s.classes&&Vo(i,e,s.classes),null!==s.styles&&Ho(i,e,s.styles)));var l=r.createRenderer(e,t),u=Ei(n,Fi(t),null,t.onPush?64:16,n[20],s,r,l,void 0);return a.firstCreatePass&&(Zn(qn(s,n),a,t.type),Zi(a,s),$i(s,n.length,1)),ao(n,u),n[20]=u}(h,this.componentDef,v,s,l);if(h)if(n)xn(l,h,["ng-version",ec.full]);else{var _=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(!ui(i))break;i=o}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),y=_.attrs,C=_.classes;y&&xn(l,h,y),C&&C.length>0&&Vo(l,h,C.join(" "))}if(o=Vt(g,0),void 0!==t)for(var b=o.projection=[],k=0;k<this.ngContentSelectors.length;k++){var P=t[k];b.push(null!=P?Array.from(P):null)}i=function(e,t,n,r,i){var o=n[1],a=function(e,t,n){var r=$t();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Qi(e,r,1),Ji(e,t,n));var i=tr(t,e,t.length-1,r);ni(i,t);var o=Ht(r,t);return o&&ni(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=$t();if(o.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){Cn(s.index-20);var c=n[1];qi(c,t),Xi(c,n,t.hostVars),Ki(t,a)}return a}(m,this.componentDef,v,p,[Os]),Ni(g,v,null)}finally{_n()}var w=new Oc(this.componentType,i,Uo(qs,o,v),v,o);return n&&!d||(g.node.child=o),w}},{key:"inputs",get:function(){return kc(this.componentDef.inputs)}},{key:"outputs",get:function(){return kc(this.componentDef.outputs)}}]),n}(zs),Oc=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 zo(o),c=o[1],l=o,null==(u=c.node)&&(c.node=u=ji(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 ir(this._tNode,this._rootLView)}}]),n}(function(){return function e(){_classCallCheck(this,e)}}()),Mc=void 0,Sc=["en",[["a","p"],["AM","PM"],Mc],[["AM","PM"],Mc,Mc],[["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"]],Mc,[["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"]],Mc,[["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}",Mc,"{1} 'at' {0}",Mc],[".",",",";","%","+","-","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}],Tc={};function xc(e){return e in Tc||(Tc[e]=Ne.ng&&Ne.ng.common&&Ne.ng.common.locales&&Ne.ng.common.locales[e]),Tc[e]}var Ac=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 Ec(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 Ic=new Map,Nc=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 bc(_assertThisInitialized(i));var o=Pt(e),a=e[Ve]||null;return a&&Ec(a),i._bootstrapComponents=jn(o.bootstrap),i._r3Injector=na(e,r,[{provide:et,useValue:_assertThisInitialized(i)},{provide:Ws,useValue:i.componentFactoryResolver}],ke(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]:ua.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:le.Default;return e===ua||e===et||e===je?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}(et),Rc=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!==Pt(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(ke(t)," vs ").concat(ke(t.name)))})(n,Ic.get(n),t),Ic.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 Nc(this.moduleType,e)}}]),n}(tt);function Dc(e,t){var n=e[t];return n===vi?void 0:n}var Gc=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}(T);function Hc(){return this._results[ma()]()}var Vc=function(){function e(){_classCallCheck(this,e),this.dirty=!0,this._results=[],this.changes=new Gc,this.length=0;var t=ma(),n=e.prototype;n[t]||(n[t]=Hc)}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}(),Lc=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}(),Fc=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!==$c(e,t).matches&&this.queries[t].setDirty()}}]),e}(),Bc=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},jc=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}(),zc=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,Uc(t,n[r]));else{var i=this.metadata.predicate;i===vc?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,er(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===qs||r===_c||r===vc&&0===t.type)this.addMatch(t.index,-2);else{var i=er(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 Uc(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 Wc(e,t,n,r){return-1===n?function(e,t){return 3===e.type||4===e.type?Uo(qs,e,t):0===e.type?Wo(vc,qs,e,t):null}(t,e):-2===n?function(e,t,n){return n===qs?Uo(qs,t,e):n===vc?Wo(vc,qs,t,e):n===_c?qo(_c,qs,t,e):void 0}(e,t,r):tr(e,e[1],n,t)}function qc(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:Wc(t,o[l],a[c+1],n.metadata.read))}i.matches=s}return i.matches}function Xc(e){var t=Qt(),n=Zt(),r=un();hn(r+1);var i=$c(n,r);if(e.dirty&&jt(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=qc(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],g=0;g<p.length;g++){var v=p[g];e(v[1],v,u,i)}}}return i}(n,t,r,[]):qc(n,t,i,r);e.reset(o),e.notifyOnChanges()}return!0}return!1}function Kc(e,t,n){Zc(Zt(),Qt(),e,t,n,!0)}function Qc(e,t,n){Zc(Zt(),Qt(),e,t,n,!1)}function Zc(e,t,n,r,i,o){e.firstCreatePass&&(function(e,t,n){null===e.queries&&(e.queries=new jc),e.queries.track(new zc(t,-1))}(e,new Bc(n,r,o,i)),o&&(e.staticViewQueries=!0)),function(e,t){var n=new Vc;!function(e,t,n,r){var i=fo(t);i.push(n),e.firstCreatePass&&po(e).push(r,i.length-1)}(e,t,n,n.destroy),null===t[19]&&(t[19]=new Fc),t[19].queries.push(new Lc(n))}(e,t)}function Yc(){return e=Qt(),t=un(),e[19].queries[t].queryList;var e,t}function $c(e,t){return e.queries.getByIndex(t)}function Jc(e,t){return Wo(vc,qs,e,t)}var el=new Be("Application Initializer"),tl=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]();Va(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)(Ze(el,8))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),nl=new Be("AppId"),rl={provide:nl,useFactory:function(){return"".concat(il()).concat(il()).concat(il())},deps:[]};function il(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var ol=new Be("Platform Initializer"),al=new Be("Platform ID"),sl=new Be("appBootstrapListener"),cl=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}(),ll=new Be("LocaleId"),ul=new Be("DefaultCurrencyCode"),hl=function e(t,n){_classCallCheck(this,e),this.ngModuleFactory=t,this.componentFactories=n},fl=function(e){return new Rc(e)},dl=fl,pl=function(e){return Promise.resolve(fl(e))},gl=function(e){var t=fl(e),n=jn(Pt(e).declarations).reduce((function(e,t){var n=bt(t);return n&&e.push(new wc(n)),e}),[]);return new hl(t,n)},vl=gl,ml=function(e){return Promise.resolve(gl(e))},_l=function(){var e=function(){function e(){_classCallCheck(this,e),this.compileModuleSync=dl,this.compileModuleAsync=pl,this.compileModuleAndAllComponentsSync=vl,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}(),yl=new Be("compilerOptions"),Cl=Promise.resolve(0);function bl(e){"undefined"==typeof Zone?Cl.then((function(){e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var kl=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 Gc(!1),this.onMicrotaskEmpty=new Gc(!1),this.onStable=new Gc(!1),this.onError=new Gc(!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=Ne.requestAnimationFrame,t=Ne.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(Ne,(function(){e.lastRequestAnimationFrameId=-1,Ml(e),Ol(e)})),Ml(e))}(n)},n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:r},onInvokeTask:function(e,t,i,o,a,s){try{return Sl(n),e.invokeTask(i,o,a,s)}finally{r&&"eventTask"===o.type&&r(),Tl(n)}},onInvoke:function(e,t,r,i,o,a,s){try{return Sl(n),e.invoke(r,i,o,a,s)}finally{Tl(n)}},onHasTask:function(e,t,r,i){e.hasTask(r,i),t===r&&("microTask"==i.change?(n._hasPendingMicrotasks=i.microTask,Ml(n),Ol(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,wl,Pl,Pl);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 Pl(){}var wl={};function Ol(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 Ml(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function Sl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function Tl(e){e._nesting--,Ol(e)}var xl,Al=function(){function e(){_classCallCheck(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Gc,this.onMicrotaskEmpty=new Gc,this.onStable=new Gc,this.onError=new Gc}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}(),El=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(){kl.assertNotInAngularZone(),bl((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())bl((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)(Ze(kl))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),Il=function(){var e=function(){function e(){_classCallCheck(this,e),this._applications=new Map,Nl.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 Nl.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}(),Nl=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}()),Rl=function(e,t,n){var r=e.get(yl,[]).concat(t),i=new Rc(n);if(0===fa.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=Ne.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=ua.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(pa))}return t}return fa.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){da.delete(e)}(n)}));t.push(c)})),fa=new Map,Promise.all(t).then((function(){}))}().then((function(){return i}))},Dl=new Be("AllowMultipleToken"),Gl=function e(t,n){_classCallCheck(this,e),this.name=t,this.token=n};function Hl(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: "+t,i=new Be(r);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=Vl();if(!o||o.injector.get(Dl,!1))if(e)e(n.concat(t).concat({provide:i,useValue:!0}));else{var a=n.concat(t).concat({provide:i,useValue:!0},{provide:Zo,useValue:"platform"});!function(e){if(xl&&!xl.destroyed&&!xl.injector.get(Dl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");xl=e.get(Ll);var t=e.get(ol,null);t&&t.forEach((function(e){return e()}))}(ua.create({providers:a,name:r}))}return function(e){var t=Vl();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 Vl(){return xl&&!xl.destroyed?xl:null}var Ll=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 Al:("zone.js"===n?void 0:n)||new kl({enableLongStackTrace:kr(),shouldCoalesceEventChangeDetection:r})),a=[{provide:kl,useValue:o}];return o.run((function(){var t=ua.create({providers:a,parent:i.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(ur,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return zl(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(tl)).runInitializers(),a.donePromise.then((function(){return Ec(n.injector.get(ll,"en-US")||"en-US"),i._moduleDoBootstrap(n),n})));return Va(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=Fl({},n);return Rl(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(ke(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)(Ze(ua))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}();function Fl(e,t){return Array.isArray(t)?t.reduce(Fl,e):Object.assign(Object.assign({},e),t)}var Bl,jl=((Bl=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=kr(),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(){kl.assertNotInAngularZone(),bl((function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))}))}))}));var n=s._zone.onUnstable.subscribe((function(){kl.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 zs?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=n.isBoundToModule?void 0:this._injector.get(et),o=n.create(ua.NULL,[],t||n.selector,i);o.onDestroy((function(){r._unloadComponent(o)}));var a=o.injector.get(El,null);return a&&o.injector.get(Il).registerApplication(o.location.nativeElement,a),this._loadComponent(o),kr()&&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;zl(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(sl,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),zl(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||Bl)(Ze(kl),Ze(cl),Ze(ua),Ze(ur),Ze(Ws),Ze(tl))},Bl.\u0275prov=fe({token:Bl,factory:Bl.\u0275fac}),Bl);function zl(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Ul=function e(){_classCallCheck(this,e)},Wl=function e(){_classCallCheck(this,e)},ql={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Xl=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._compiler=t,this._config=n||ql}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 Kl(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 Kl(e,r,i)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(Ze(_l),Ze(Wl,8))},e.\u0275prov=fe({token:e,factory:e.\u0275fac}),e}();function Kl(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var Ql=Hl(null,"core",[{provide:al,useValue:"unknown"},{provide:Ll,deps:[ua]},{provide:Il,deps:[]},{provide:cl,deps:[]}]),Zl=[{provide:jl,useClass:jl,deps:[kl,cl,ua,ur,Ws,tl]},{provide:Pc,deps:[kl],useFactory:function(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}},{provide:tl,useClass:tl,deps:[[new ae,el]]},{provide:_l,useClass:_l,deps:[]},rl,{provide:hc,useFactory:function(){return pc},deps:[]},{provide:fc,useFactory:function(){return gc},deps:[]},{provide:ll,useFactory:function(e){return Ec(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new oe(ll),new ae,new ce]]},{provide:ul,useValue:"USD"}],Yl=function(){var e=function e(t){_classCallCheck(this,e)};return e.\u0275mod=_t({type:e}),e.\u0275inj=de({factory:function(t){return new(t||e)(Ze(jl))},providers:Zl}),e}(),$l=encodeURIComponent("https://sforce.co/AWSPark"),Jl={production:!0,url:"http://awssf.sparks-staging.com/aws/",mobileUrl:"https://salesforcevirtualpark.com/mobile",links:{facebook:"https://www.facebook.com/sharer/sharer.php?u="+$l,twitter:"https://twitter.com/intent/tweet?text="+encodeURIComponent("Check it out! I just completed the new @salesforce and @awscloud virtual adventure full of innovations in AI, Voice, and Productivity. You can discover your own fastest path from #ideatoimpact too. sforce.co/AWSPark"),linkedIn:"https://www.linkedin.com/shareArticle?url=".concat($l,"&summary=").concat(encodeURIComponent("The world around us has changed and you\u2019ve got to be ready. @Salesforce and @Amazon Web Services (AWS) built a virtual adventure full of ideas for you to innovate and thrive. Discover your own fastest path from idea to impact at sforce.co/AWSPark"))},bulletinPdf:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/government-cloud-plus-datasheet.pdf",stockThreshold:50,products:["Astro_plushie","Camper_mug","Force_bottle"],showVideoCtaBars:!1,showVideoCtaOverlays:!0,disableScrubbing:!1,videos:{AstroContent:{src:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/A2+AWS+SERVICE+CLOUD+CUSTOMER+INTERVIEW_SUBTITLES.mp4",background:"assets/images/mobile-bg-zulily.jpg",menuPage:"/tableau-big-query/videos",analyticsLabel:"AstroContent"},PhoneboothContent:{src:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/A1+AWS+SERVICE+CLOUD+DEMO_SUBTITLES_FINAL.mp4",background:"assets/images/mobile-bg-zulily.jpg",menuPage:"/tableau-big-query/videos",analyticsLabel:"PhoneboothContent",ctas:[{start:85,end:99}]},FireContent:{src:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/A3+AWS+PRIVATE+CONNECT+BENEFIT+SESSION_SUBTITLES.mp4",background:"assets/images/mobile-bg-yeti.jpg",menuPage:"/marketing-cloud-analytics-360/videos",analyticsLabel:"FireContent"},RangerContent:{src:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/A5+AWS+PUBLIC+SECTOR+FIRESIDE+CHAT_V04+SUBTITLES.mp4",background:"assets/images/mobile-bg-yeti.jpg",menuPage:"/marketing-cloud-analytics-360/videos",analyticsLabel:"RangerContent"},SummitContent:{src:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/A6_GOVERNMENT+SUMMIT_SUBTITLES_FINAL.mp4",background:"assets/images/mobile-bg-pwc.jpg",menuPage:"/sales-cloud-g-suite/videos",analyticsLabel:"SummitContent",ctas:[{start:217,end:227},{start:324,end:337}]},TentContent:{src:"https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/A4+AWS+PRIVATE+CONNECT+DEMO_SUBTITLES.mp4",background:"assets/images/mobile-bg-pwc.jpg",menuPage:"/sales-cloud-g-suite/videos",analyticsLabel:"Other"}},debug:{showPrizeSelectOnLoad:!1,showFormOnLoad:!1,showConfirmationOnLoad:!1,showRequestMeetingOnLoad:!1,showBulletinOnLoad:!1,showVideoOnLoad:!1,autofillForm:!1}},eu=null;function tu(){return eu}var nu,ru=new Be("DocumentToken"),iu=((nu=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||nu)},nu.\u0275prov=fe({factory:ou,token:nu,providedIn:"platform"}),nu);function ou(){return Ze(cu)}var au,su=new Be("Location Initialized"),cu=((au=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=tu().getLocation(),this._history=tu().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return tu().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){tu().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}},{key:"onHashChange",value:function(e){tu().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}},{key:"pushState",value:function(e,t,n){lu()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){lu()?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}(iu)).\u0275fac=function(e){return new(e||au)(Ze(ru))},au.\u0275prov=fe({factory:uu,token:au,providedIn:"platform"}),au);function lu(){return!!window.history.pushState}function uu(){return new cu(Ze(ru))}function hu(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 fu(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 du(e){return e&&"?"!==e[0]?"?"+e:e}var pu,gu=((pu=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||pu)},pu.\u0275prov=fe({factory:vu,token:pu,providedIn:"root"}),pu);function vu(e){var t=Ze(ru).location;return new bu(Ze(iu),t&&t.origin||"")}var mu,_u,yu,Cu=new Be("appBaseHref"),bu=((yu=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 hu(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+du(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+du(r));this._platformLocation.pushState(e,t,i)}},{key:"replaceState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+du(r));this._platformLocation.replaceState(e,t,i)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(gu)).\u0275fac=function(e){return new(e||yu)(Ze(iu),Ze(Cu,8))},yu.\u0275prov=fe({token:yu,factory:yu.\u0275fac}),yu),ku=((_u=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=hu(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,r){var i=this.prepareExternalUrl(n+du(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+du(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}(gu)).\u0275fac=function(e){return new(e||_u)(Ze(iu),Ze(Cu,8))},_u.\u0275prov=fe({token:_u,factory:_u.\u0275fac}),_u),Pu=((mu=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._subject=new Gc,this._urlChangeListeners=[],this._platformStrategy=t;var i=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=fu(Ou(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+du(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,Ou(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+du(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+du(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||mu)(Ze(gu),Ze(iu))},mu.normalizeQueryParams=du,mu.joinWithSlash=hu,mu.stripTrailingSlash=fu,mu.\u0275prov=fe({factory:wu,token:mu,providedIn:"root"}),mu);function wu(){return new Pu(Ze(gu),Ze(iu))}function Ou(e){return e.replace(/\/index.html$/,"")}var Mu,Su=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}(),Tu=function e(){_classCallCheck(this,e)},xu=((Mu=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=xc(t);if(n)return n;var r=t.split("-")[0];if(n=xc(r))return n;if("en"===r)return Sc;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}(e)[Ac.PluralCase]}(t||this.locale)(e)){case Su.Zero:return"zero";case Su.One:return"one";case Su.Two:return"two";case Su.Few:return"few";case Su.Many:return"many";default:return"other"}}}]),n}(Tu)).\u0275fac=function(e){return new(e||Mu)(Ze(ll))},Mu.\u0275prov=fe({token:Mu,factory:Mu.\u0275fac}),Mu);function Au(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 Eu,Iu,Nu=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}(),Ru=((Eu=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 Nu(null,t._ngForOf,-1,-1),null===i?void 0:i),a=new Du(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 Du(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){kr()&&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||Eu)(Sa(_c),Sa(vc),Sa(hc))},Eu.\u0275dir=Ct({type:Eu,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),Eu),Du=function e(t,n){_classCallCheck(this,e),this.record=t,this.view=n},Gu=((Iu=function(){function e(t,n){_classCallCheck(this,e),this._viewContainer=t,this._context=new Hu,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){Vu("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(e){Vu("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||Iu)(Sa(_c),Sa(vc))},Iu.\u0275dir=Ct({type:Iu,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),Iu),Hu=function e(){_classCallCheck(this,e),this.$implicit=null,this.ngIf=null};function Vu(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat(ke(t),"'."))}var Lu,Fu,Bu,ju,zu=((Lu=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||Lu)(Sa(_c))},Lu.\u0275dir=Ct({type:Lu,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[Is]}),Lu),Uu=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}(),Wu=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}()),qu=new Uu,Xu=((ju=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)):_a(this._latestValue,this._latestReturnedValue)?this._latestReturnedValue:(this._latestReturnedValue=this._latestValue,ya.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(Va(t))return Wu;if(La(t))return qu;throw Error("InvalidPipeArgument: '".concat(t,"' for pipe '").concat(ke(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||ju)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:le.Default,t=Xo(!0);if(null!=t||e&le.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}())},ju.\u0275pipe={type:(Bu={name:"async",type:ju,pure:!1}).type,name:Bu.name,factory:null,pure:!1!==Bu.pure,onDestroy:Bu.type.prototype.ngOnDestroy||null},ju),Ku=((Fu=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:Fu}),Fu.\u0275inj=de({factory:function(e){return new(e||Fu)},providers:[{provide:Tu,useClass:xu}]}),Fu);function Qu(e){return"browser"===e}var Zu,Yu,$u,Ju,eh,th=((Zu=function e(){_classCallCheck(this,e)}).\u0275prov=fe({token:Zu,providedIn:"root",factory:function(){return new nh(Ze(ru),window,Ze(ur))}}),Zu),nh=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}(),rh=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=ih||(ih=document.querySelector("base"))?ih.getAttribute("href"):null;return null==n?null:(t=n,Yu||(Yu=document.createElement("a")),Yu.setAttribute("href",t),"/"===Yu.pathname.charAt(0)?Yu.pathname:"/"+Yu.pathname)}},{key:"resetBaseElement",value:function(){ih=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 Au(document.cookie,e)}}],[{key:"makeCurrent",value:function(){var e;e=new n,eu||(eu=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)}}())),ih=null,oh=new Be("TRANSITION_ID"),ah=[{provide:el,useFactory:function(e,t,n){return function(){n.get(tl).donePromise.then((function(){var n=tu();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:[oh,ru,ua],multi:!0}],sh=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){Ne.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},Ne.getAllAngularTestabilities=function(){return e.getAllTestabilities()},Ne.getAllAngularRootElements=function(){return e.getAllRootElements()},Ne.frameworkStabilizers||(Ne.frameworkStabilizers=[]),Ne.frameworkStabilizers.push((function(e){var t=Ne.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?tu().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){var t;t=new e,Nl=t}}]),e}(),ch=new Be("EventManagerPlugins"),lh=(($u=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||$u)(Ze(ch),Ze(kl))},$u.\u0275prov=fe({token:$u,factory:$u.\u0275fac}),$u),uh=function(){function e(t){_classCallCheck(this,e),this._doc=t}return _createClass(e,[{key:"addGlobalEventListener",value:function(e,t,n){var r=tu().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}(),hh=((eh=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||eh)},eh.\u0275prov=fe({token:eh,factory:eh.\u0275fac}),eh),fh=((Ju=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 tu().remove(e)}))}}]),n}(hh)).\u0275fac=function(e){return new(e||Ju)(Ze(ru))},Ju.\u0275prov=fe({token:Ju,factory:Ju.\u0275fac}),Ju),dh={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/"},ph=/%COMP%/g;function gh(e,t,n){for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?gh(e,i,n):(i=i.replace(ph,e),n.push(i))}return n}function vh(e){return function(t){if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var mh,_h,yh,Ch,bh,kh,Ph=((mh=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 wh(t)}return _createClass(e,[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case ut.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new Oh(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case ut.Native:case ut.ShadowDom:return new Mh(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=gh(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||mh)(Ze(lh),Ze(fh),Ze(nl))},mh.\u0275prov=fe({token:mh,factory:mh.\u0275fac}),mh),wh=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(dh[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=dh[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=dh[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&Qs.DashCase?e.style.setProperty(t,n,r&Qs.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&Qs.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,vh(n)):this.eventManager.addEventListener(e,t,vh(n))}}]),e}(),Oh=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=gh(o+"-"+i.id,i.styles,[]);return r.addStyles(c),a.contentAttr="_ngcontent-%COMP%".replace(ph,o+"-"+i.id),a.hostAttr=(s=o+"-"+i.id,"_nghost-%COMP%".replace(ph,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}(wh),Mh=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===ut.ShadowDom?i.attachShadow({mode:"open"}):i.createShadowRoot(),a.sharedStylesHost.addHost(a.shadowRoot);for(var s=gh(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}(wh),Sh=((_h=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}(uh)).\u0275fac=function(e){return new(e||_h)(Ze(ru))},_h.\u0275prov=fe({token:_h,factory:_h.\u0275fac}),_h),Th=["alt","control","meta","shift"],xh={"\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"},Ah={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"},Eh={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},Ih=((bh=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 tu().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(Th.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&&Ah.hasOwnProperty(t)&&(t=Ah[t]))}return xh[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Th.forEach((function(r){r!=n&&(0,Eh[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}(uh)).\u0275fac=function(e){return new(e||bh)(Ze(ru))},bh.\u0275prov=fe({token:bh,factory:bh.\u0275fac}),bh),Nh=((Ch=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||Ch)},Ch.\u0275prov=fe({factory:function(){return Ze(Rh)},token:Ch,providedIn:"root"}),Ch),Rh=((yh=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 Wr.NONE:return t;case Wr.HTML:return _r(t,"HTML")?mr(t):zr(this._doc,String(t));case Wr.STYLE:return _r(t,"Style")?mr(t):Kr(t);case Wr.SCRIPT:if(_r(t,"Script"))return mr(t);throw new Error("unsafe value used in a script context");case Wr.URL:return yr(t),_r(t,"URL")?mr(t):Mr(String(t));case Wr.RESOURCE_URL:if(_r(t,"ResourceURL"))return mr(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 fr(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return new dr(e)}},{key:"bypassSecurityTrustScript",value:function(e){return new pr(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return new gr(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return new vr(e)}}]),n}(Nh)).\u0275fac=function(e){return new(e||yh)(Ze(ru))},yh.\u0275prov=fe({factory:function(){return e=Ze(je),new Rh(e.get(ru));var e},token:yh,providedIn:"root"}),yh),Dh=Hl(Ql,"browser",[{provide:al,useValue:"browser"},{provide:ol,useValue:function(){rh.makeCurrent(),sh.init()},multi:!0},{provide:ru,useFactory:function(){return function(e){Et=e}(document),document},deps:[]}]),Gh=[[],{provide:Zo,useValue:"root"},{provide:ur,useFactory:function(){return new ur},deps:[]},{provide:ch,useClass:Sh,multi:!0,deps:[ru,kl,al]},{provide:ch,useClass:Ih,multi:!0,deps:[ru]},[],{provide:Ph,useClass:Ph,deps:[lh,fh,nl]},{provide:Ks,useExisting:Ph},{provide:hh,useExisting:fh},{provide:fh,useClass:fh,deps:[ru]},{provide:El,useClass:El,deps:[kl]},{provide:lh,useClass:lh,deps:[ch,kl]},[]],Hh=((kh=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:nl,useValue:t.appId},{provide:oh,useExisting:nl},ah]}}}]),e}()).\u0275mod=_t({type:kh}),kh.\u0275inj=de({factory:function(e){return new(e||kh)(Ze(kh,12))},providers:Gh,imports:[Ku,Yl]}),kh);function Vh(){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 A(r)?(t.pop(),j(t,r)):K(t)}"undefined"!=typeof window&&window;var Lh=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 O;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}(T),Fh=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}(),Bh={},jh=function(){function e(t){_classCallCheck(this,e),this.resultSelector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new zh(e,this.resultSelector))}}]),e}(),zh=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(Bh),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]===Bh?--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}(V),Uh=new k((function(e){return e.complete()}));function Wh(e){return e?function(e){return new k((function(t){return e.schedule((function(){return t.complete()}))}))}(e):Uh}function qh(e){return new k((function(t){var n;try{n=e()}catch(r){return void t.error(r)}return(n?z(n):Wh()).subscribe(t)}))}function Xh(){return X(1)}function Kh(e,t){return function(n){return n.lift(new Qh(e,t))}}var Qh=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 Zh(e,this.predicate,this.thisArg))}}]),e}(),Zh=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}(g),Yh=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 $h(e){return function(t){return 0===e?Wh():t.lift(new Jh(e))}}var Jh=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new Yh}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new ef(e,this.total))}}]),e}(),ef=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}(g);function tf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:of;return function(t){return t.lift(new nf(e))}}var nf=function(){function e(t){_classCallCheck(this,e),this.errorFactory=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new rf(e,this.errorFactory))}}]),e}(),rf=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}(g);function of(){return new Fh}function af(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new sf(e))}}var sf=function(){function e(t){_classCallCheck(this,e),this.defaultValue=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new cf(e,this.defaultValue))}}]),e}(),cf=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}(g);function lf(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Kh((function(t,n){return e(t,n,r)})):_,$h(1),n?af(t):tf((function(){return new Fh})))}}function uf(e){return function(t){var n=new hf(e),r=t.lift(n);return n.caught=r}}var hf=function(){function e(t){_classCallCheck(this,e),this.selector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new ff(e,this.selector,this.caught))}}]),e}(),ff=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 E(this,void 0,void 0);this.add(r);var i=H(this,t,void 0,void 0,r);i!==r&&this.add(i)}}}]),n}(V);function df(e){return function(t){return 0===e?Wh():t.lift(new pf(e))}}var pf=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new Yh}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new gf(e,this.total))}}]),e}(),gf=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}(g);function vf(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Kh((function(t,n){return e(t,n,r)})):_,df(1),n?af(t):tf((function(){return new Fh})))}}var mf=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 _f(e,this.predicate,this.thisArg,this.source))}}]),e}(),_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)).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}(g);function yf(e,t){return"function"==typeof t?function(n){return n.pipe(yf((function(n,r){return z(e(n,r)).pipe(L((function(e,i){return t(n,e,r,i)})))})))}:function(t){return t.lift(new Cf(e))}}var Cf=function(){function e(t){_classCallCheck(this,e),this.project=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new bf(e,this.project))}}]),e}(),bf=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 E(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}(V);function kf(){return Xh()(Vh.apply(void 0,arguments))}function Pf(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new wf(e,t,n))}}var wf=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 Of(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),Of=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}(g);function Mf(e,t){return U(e,t,1)}function Sf(){}function Tf(e,t,n){return function(r){return r.lift(new Af(e,t,n))}}var xf,Af=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 Ef(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),Ef=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=Sf,s._tapError=Sf,s._tapComplete=Sf,s._tapError=o||Sf,s._tapComplete=a||Sf,r(i)?(s._context=_assertThisInitialized(s),s._tapNext=i):i&&(s._context=i,s._tapNext=i.next||Sf,s._tapError=i.error||Sf,s._tapComplete=i.complete||Sf),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}(g),If=function(){function e(t){_classCallCheck(this,e),this.callback=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Nf(e,this.callback))}}]),e}(),Nf=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}(g),Rf=function e(t,n){_classCallCheck(this,e),this.id=t,this.url=n},Df=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}(Rf),Gf=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}(Rf),Hf=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}(Rf),Vf=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}(Rf),Lf=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}(Rf),Ff=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}(Rf),Bf=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}(Rf),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}(Rf),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"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(Rf),Uf=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}(),Wf=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}(),qf=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}(),Xf=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}(),Kf=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}(),Qf=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}(),Zf=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}(),Yf=((xf=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||xf)},xf.\u0275cmp=pt({type:xf,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&Ra(0,"router-outlet")},directives:function(){return[ag]},encapsulation:2}),xf),$f=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 Jf(e){return new $f(e)}function ed(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function td(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 nd=function e(t,n){_classCallCheck(this,e),this.routes=t,this.module=n};function rd(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<e.length;n++){var r=e[n];id(r,od(t,r))}}function id(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&&rd(e.children,t)}function od(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:"".concat(e,"/").concat(t.path):"":e}function ad(e){var t=e.children&&e.children.map(ad),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=Yf),n}function sd(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(!cd(e[n=r[o]],t[n]))return!1;return!0}function cd(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 ld(e){return Array.prototype.concat.apply([],e)}function ud(e){return e.length>0?e[e.length-1]:null}function hd(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function fd(e){return La(e)?e:Va(e)?z(Promise.resolve(e)):Vh(e)}function dd(e,t,n){return n?function(e,t){return sd(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 cd(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 pd=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 bd.serialize(this)}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Jf(this.queryParams)),this._queryParamMap}}]),e}(),gd=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.segments=t,this.children=n,this.parent=null,hd(n,(function(e,t){return e.parent=r}))}return _createClass(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"toString",value:function(){return kd(this)}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}}]),e}(),vd=function(){function e(t,n){_classCallCheck(this,e),this.path=t,this.parameters=n}return _createClass(e,[{key:"toString",value:function(){return Td(this)}},{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Jf(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 _d(e,t){var n=[];return hd(e.children,(function(e,r){"primary"===r&&(n=n.concat(t(e,r)))})),hd(e.children,(function(e,r){"primary"!==r&&(n=n.concat(t(e,r)))})),n}var yd=function e(){_classCallCheck(this,e)},Cd=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"parse",value:function(e){var t=new Nd(e);return new pd(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){return"".concat("/"+function e(t,n){if(!t.hasChildren())return kd(t);if(n){var r=t.children.primary?e(t.children.primary,!1):"",i=[];return hd(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=_d(t,(function(n,r){return"primary"===r?[e(t.children.primary,!1)]:["".concat(r,":").concat(e(n,!1))]}));return"".concat(kd(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(wd(e),"=").concat(wd(t))})).join("&"):"".concat(wd(e),"=").concat(wd(n))})),n.length?"?"+n.join("&"):"")).concat("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"");var t,n}}]),e}(),bd=new Cd;function kd(e){return e.segments.map((function(e){return Td(e)})).join("/")}function Pd(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function wd(e){return Pd(e).replace(/%3B/gi,";")}function Od(e){return Pd(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Md(e){return decodeURIComponent(e)}function Sd(e){return Md(e.replace(/\+/g,"%20"))}function Td(e){return"".concat(Od(e.path)).concat((t=e.parameters,Object.keys(t).map((function(e){return";".concat(Od(e),"=").concat(Od(t[e]))})).join("")));var t}var xd=/^[^\/()?;=#]+/;function Ad(e){var t=e.match(xd);return t?t[0]:""}var Ed=/^[^=?&#]+/,Id=/^[^?&#]+/,Nd=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 gd([],{}):new gd([],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 gd(e,t)),n}},{key:"parseSegment",value:function(){var e=Ad(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new vd(Md(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=Ad(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=Ad(this.remaining);r&&(n=r,this.capture(n))}e[Md(t)]=Md(n)}}},{key:"parseQueryParam",value:function(e){var t,n,r=(t=this.remaining,(n=t.match(Ed))?n[0]:"");if(r){this.capture(r);var i="";if(this.consumeOptional("=")){var o=function(e){var t=e.match(Id);return t?t[0]:""}(this.remaining);o&&(i=o,this.capture(i))}var a=Sd(r),s=Sd(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=Ad(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 gd([],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}(),Rd=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=Dd(e,this._root);return t?t.children.map((function(e){return e.value})):[]}},{key:"firstChild",value:function(e){var t=Dd(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=Gd(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 Gd(e,this._root).map((function(e){return e.value}))}},{key:"root",get:function(){return this._root.value}}]),e}();function Dd(e,t){if(e===t.value)return t;var n,r=_createForOfIteratorHelper(t.children);try{for(r.s();!(n=r.n()).done;){var i=Dd(e,n.value);if(i)return i}}catch(o){r.e(o)}finally{r.f()}return null}function Gd(e,t){if(e===t.value)return[t];var n,r=_createForOfIteratorHelper(t.children);try{for(r.s();!(n=r.n()).done;){var i=Gd(e,n.value);if(i.length)return i.unshift(t),i}}catch(o){r.e(o)}finally{r.f()}return[]}var Hd=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 Vd(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}var Ld=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,Wd(_assertThisInitialized(i),e),i}return _createClass(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(Rd);function Fd(e,t){var n=function(e,t){var n=new zd([],{},{},"",{},"primary",t,null,e.root,-1,{});return new Ud("",new Hd(n,[]))}(e,t),r=new Lh([new vd("",{})]),i=new Lh({}),o=new Lh({}),a=new Lh({}),s=new Lh(""),c=new Bd(r,i,a,s,o,"primary",t,n.root);return c.snapshot=n.root,new Ld(new Hd(c,[]),n)}var Bd=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(L((function(e){return Jf(e)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(L((function(e){return Jf(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 zd=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=Jf(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Jf(this.queryParams)),this._queryParamMap}}]),e}(),Ud=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,Wd(_assertThisInitialized(i),r),i}return _createClass(n,[{key:"toString",value:function(){return qd(this._root)}}]),n}(Rd);function Wd(e,t){t.value._routerState=e,t.children.forEach((function(t){return Wd(e,t)}))}function qd(e){var t=e.children.length>0?" { ".concat(e.children.map(qd).join(", ")," } "):"";return"".concat(e.value).concat(t)}function Xd(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,sd(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),sd(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(!sd(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),sd(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Kd(e,t){var n,r;return sd(e.params,t.params)&&md(n=e.url,r=t.url)&&n.every((function(e,t){return sd(e.parameters,r[t].parameters)}))&&!(!e.parent!=!t.parent)&&(!e.parent||Kd(e.parent,t.parent))}function Qd(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Zd(e,t,n,r,i){var o={};return r&&hd(r,(function(e,t){o[t]=Array.isArray(e)?e.map((function(e){return""+e})):""+e})),new pd(n.root===e?t:function e(t,n,r){var i={};return hd(t.children,(function(t,o){i[o]=t===n?r:e(t,n,r)})),new gd(t.segments,i)}(n.root,e,t),o,i)}var Yd=function(){function e(t,n,r){if(_classCallCheck(this,e),this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&Qd(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!==ud(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}(),$d=function e(t,n,r){_classCallCheck(this,e),this.segmentGroup=t,this.processChildren=n,this.index=r};function Jd(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function ep(e,t,n){if(e||(e=new gd([],{})),0===e.segments.length&&e.hasChildren())return tp(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=Jd(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(!op(s,c,a))return o;r+=2}else{if(!op(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 gd(e.segments.slice(0,r.pathIndex),{});return o.children.primary=new gd(e.segments.slice(r.pathIndex),e.children),tp(o,0,i)}return r.match&&0===i.length?new gd(e.segments,{}):r.match&&!e.hasChildren()?np(e,t,n):r.match?tp(e,0,i):np(e,t,n)}function tp(e,t,n){if(0===n.length)return new gd(e.segments,{});var r=function(e){return"object"!=typeof e[0]||void 0===e[0].outlets?{primary:e}:e[0].outlets}(n),i={};return hd(r,(function(n,r){null!==n&&(i[r]=ep(e.children[r],t,n))})),hd(e.children,(function(e,t){void 0===r[t]&&(i[t]=e)})),new gd(e.segments,i)}function np(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=rp(n[i].outlets);return new gd(r,o)}if(0===i&&Qd(n[0]))r.push(new vd(e.segments[t].path,n[0])),i++;else{var a=Jd(n[i]),s=i<n.length-1?n[i+1]:null;a&&s&&Qd(s)?(r.push(new vd(a,ip(s))),i+=2):(r.push(new vd(a,{})),i++)}}return new gd(r,{})}function rp(e){var t={};return hd(e,(function(e,n){null!==e&&(t[n]=np(new gd([],{}),0,e))})),t}function ip(e){var t={};return hd(e,(function(e,n){return t[n]=""+e})),t}function op(e,t,n){return e==n.path&&sd(t,n.parameters)}var ap=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),Xd(this.futureState.root),this.activateChildRoutes(t,n,e)}},{key:"deactivateChildRoutes",value:function(e,t,n){var r=this,i=Vd(t);e.children.forEach((function(e){var t=e.value.outlet;r.deactivateRoutes(e,i[t],n),delete i[t]})),hd(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=Vd(e),o=e.value.component?r.children:t;hd(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=Vd(t);e.children.forEach((function(e){r.activateRoutes(e,i[e.value.outlet],n),r.forwardEvent(new Qf(e.value.snapshot))})),e.children.length&&this.forwardEvent(new Xf(e.value.snapshot))}},{key:"activateRoutes",value:function(e,t,n){var r=e.value,i=t?t.value:null;if(Xd(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),sp(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 sp(e){Xd(e.value),e.children.forEach(sp)}function cp(e){return"function"==typeof e}function lp(e){return e instanceof pd}var up=function e(t){_classCallCheck(this,e),this.segmentGroup=t||null},hp=function e(t){_classCallCheck(this,e),this.urlTree=t};function fp(e){return new k((function(t){return t.error(new up(e))}))}function dp(e){return new k((function(t){return t.error(new hp(e))}))}function pp(e){return new k((function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))}))}var gp=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(et)}return _createClass(e,[{key:"apply",value:function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(L((function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)}))).pipe(uf((function(t){if(t instanceof hp)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof up)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(L((function(n){return t.createUrlTree(n,e.queryParams,e.fragment)}))).pipe(uf((function(e){if(e instanceof up)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 gd([],{primary:e}):e;return new pd(r,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(L((function(e){return new gd([],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 Vh({});var o=[],a=[],s={};return hd(n,(function(n,i){var c,l,u=(c=i,l=n,r.expandSegmentGroup(e,t,l,c)).pipe(L((function(e){return s[i]=e})));"primary"===i?o.push(u):a.push(u)})),Vh.apply(null,o.concat(a)).pipe(Xh(),lf(),L((function(){return s})))}(n.children)}},{key:"expandSegment",value:function(e,t,n,r,i,o){var a=this;return Vh.apply(void 0,_toConsumableArray(n)).pipe(L((function(s){return a.expandSegmentAgainstRoute(e,t,n,s,r,i,o).pipe(uf((function(e){if(e instanceof up)return Vh(null);throw e})))})),Xh(),vf((function(e){return!!e})),uf((function(e,n){if(e instanceof Fh||"EmptyError"===e.name){if(a.noLeftoversInUrl(t,r,i))return Vh(new gd([],{}));throw new up(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 yp(r)!==o?fp(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,i):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,i,o):fp(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("/")?dp(o):this.lineralizeSegments(n,o).pipe(U((function(n){var o=new gd(n,{});return i.expandSegment(e,o,t,n,r,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,r,i,o){var a=this,s=vp(t,r,i),c=s.matched,l=s.consumedSegments,u=s.lastChild,h=s.positionalParamSegments;if(!c)return fp(t);var f=this.applyRedirectCommands(l,r.redirectTo,h);return r.redirectTo.startsWith("/")?dp(f):this.lineralizeSegments(r,f).pipe(U((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(L((function(e){return n._loadedConfig=e,new gd(r,{})}))):Vh(new gd(r,{}));var o=vp(t,n,r),a=o.matched,s=o.consumedSegments,c=o.lastChild;if(!a)return fp(t);var l=r.slice(c);return this.getChildConfig(e,n,r).pipe(U((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 _p(e,t,n)&&"primary"!==yp(n)}))}(e,n,r)?{segmentGroup:mp(new gd(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"!==yp(o)&&(n[yp(o)]=new gd([],{}))}}catch(a){i.e(a)}finally{i.f()}return n}(r,new gd(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some((function(n){return _p(e,t,n)}))}(e,n,r)?{segmentGroup:mp(new gd(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;_p(e,t,s)&&!r[yp(s)]&&(o[yp(s)]=new gd([],{}))}}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(L((function(e){return new gd(s,e)}))):0===r.length&&0===c.length?Vh(new gd(s,{})):i.expandSegment(n,a,r,c,"primary",!0).pipe(L((function(e){return new gd(s.concat(e.segments),e.children)})))})))}},{key:"getChildConfig",value:function(e,t,n){var r=this;return t.children?Vh(new nd(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Vh(t._loadedConfig):function(e,t,n){var r,i=t.canLoad;return i&&0!==i.length?z(i).pipe(L((function(r){var i,o=e.get(r);if(function(e){return e&&cp(e.canLoad)}(o))i=o.canLoad(t,n);else{if(!cp(o))throw new Error("Invalid CanLoad guard");i=o(t,n)}return fd(i)}))).pipe(Xh(),(r=function(e){return!0===e},function(e){return e.lift(new mf(r,void 0,e))})):Vh(!0)}(e.injector,t,n).pipe(U((function(n){return n?r.configLoader.load(e.injector,t).pipe(L((function(e){return t._loadedConfig=e,e}))):function(e){return new k((function(t){return t.error(ed("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))}))}(t)}))):Vh(new nd([],e))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Vh(n);if(r.numberOfChildren>1||!r.children.primary)return pp(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 pd(i,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return hd(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 hd(t.children,(function(t,o){a[o]=i.createSegmentGroup(e,t,n,r)})),new gd(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 vp(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||td)(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 gd(e.segments.concat(t.segments),t.children)}return e}function _p(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function yp(e){return e.outlet||"primary"}var Cp=function e(t){_classCallCheck(this,e),this.path=t,this.route=this.path[this.path.length-1]},bp=function e(t,n){_classCallCheck(this,e),this.component=t,this.route=n};function kp(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 Pp(e,t,n){var r=Vd(e),i=e.value;hd(r,(function(e,r){Pp(e,i.component?t?t.children.getContext(r):null:t,n)})),n.canDeactivateChecks.push(new bp(i.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,i))}var wp=Symbol("INITIAL_VALUE");function Op(){return yf((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 A(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]),K(t,i).lift(new jh(r))}).apply(void 0,_toConsumableArray(e.map((function(e){return e.pipe(df(1),function(){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 A(r)?(t.pop(),function(e){return kf(t,e,r)}):function(e){return kf(t,e)}}(wp))})))).pipe(Pf((function(e,t){var n=!1;return t.reduce((function(e,r,i){if(e!==wp)return e;if(r===wp&&(n=!0),!n){if(!1===r)return r;if(i===t.length-1||lp(r))return r}return e}),e)}),wp),Kh((function(e){return e!==wp})),L((function(e){return lp(e)?e:!0===e})),df(1))}))}function Mp(e,t){return null!==e&&t&&t(new Kf(e)),Vh(!0)}function Sp(e,t){return null!==e&&t&&t(new qf(e)),Vh(!0)}function Tp(e,t,n){var r=t.routeConfig?t.routeConfig.canActivate:null;return r&&0!==r.length?Vh(r.map((function(r){return qh((function(){var i,o=kp(r,t,n);if(function(e){return e&&cp(e.canActivate)}(o))i=fd(o.canActivate(t,e));else{if(!cp(o))throw new Error("Invalid CanActivate guard");i=fd(o(t,e))}return i.pipe(vf())}))}))).pipe(Op()):Vh(!0)}function xp(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 qh((function(){return Vh(t.guards.map((function(i){var o,a=kp(i,t.node,n);if(function(e){return e&&cp(e.canActivateChild)}(a))o=fd(a.canActivateChild(r,e));else{if(!cp(a))throw new Error("Invalid CanActivateChild guard");o=fd(a(r,e))}return o.pipe(vf())}))).pipe(Op())}))}));return Vh(i).pipe(Op())}var Ap=function e(){_classCallCheck(this,e)},Ep=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=Rp(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new zd([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new Hd(n,t),i=new Ud(this.url,r);return this.inheritParamsAndData(i._root),Vh(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=_d(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 Ap))throw s}}}catch(c){o.e(c)}finally{o.f()}if(this.noLeftoversInUrl(t,n,r))return[];throw new Ap}},{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 Ap;if((e.outlet||"primary")!==r)throw new Ap;var i,o=[],a=[];if("**"===e.path){var s=n.length>0?ud(n).parameters:{};i=new zd(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Hp(e),r,e.component,e,Ip(t),Np(t)+n.length,Vp(e))}else{var c=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new Ap;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||td)(n,e,t);if(!r)throw new Ap;var i={};hd(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 zd(o,c.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,Hp(e),r,e.component,e,Ip(t),Np(t)+o.length,Vp(e))}var l=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),u=Rp(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 Hd(i,d)]}if(0===l.length&&0===f.length)return[new Hd(i,[])];var p=this.processSegment(l,h,f,"primary");return[new Hd(i,p)]}}]),e}();function Ip(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function Np(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 Rp(e,t,n,r,i){if(n.length>0&&function(e,t,n){return n.some((function(n){return Dp(e,t,n)&&"primary"!==Gp(n)}))}(e,n,r)){var o=new gd(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"!==Gp(s)){var c=new gd([],{});c._sourceSegment=e,c._segmentIndexShift=t.length,i[Gp(s)]=c}}}catch(l){a.e(l)}finally{a.f()}return i}(e,t,r,new gd(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 Dp(e,t,n)}))}(e,n,r)){var a=new gd(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(Dp(e,n,l)&&!i[Gp(l)]){var u=new gd([],{});u._sourceSegment=e,u._segmentIndexShift="legacy"===o?e.segments.length:t.length,s[Gp(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 gd(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function Dp(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function Gp(e){return e.outlet||"primary"}function Hp(e){return e.data||{}}function Vp(e){return e.resolve||{}}function Lp(e,t,n,r){var i=kp(e,t,r);return fd(i.resolve?i.resolve(t,n):i(t,n))}function Fp(e){return function(t){return t.pipe(yf((function(t){var n=e(t);return n?z(n).pipe(L((function(){return t}))):z([t])})))}}var Bp=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 Be("ROUTES"),zp=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(L((function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var i=r.create(e);return new nd(ld(i.injector.get(jp)).map(ad),i)})))}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?z(this.loader.load(e)):fd(e()).pipe(U((function(e){return e instanceof tt?Vh(e):z(t.compiler.compileModuleAsync(e))})))}}]),e}(),Up=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 Wp(e){throw e}function qp(e,t,n){return t.parse("/")}function Xp(e,t){return Vh(null)}var Kp,Qp,Zp,Yp=((Zp=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 T,this.errorHandler=Wp,this.malformedUriErrorHandler=qp,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Xp,afterPreactivation:Xp},this.urlHandlingStrategy=new Up,this.routeReuseStrategy=new Bp,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=o.get(et),this.console=o.get(cl);var u=o.get(kl);this.isNgZoneEnabled=u instanceof kl,this.resetConfig(c),this.currentUrlTree=new pd(new gd([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new zp(a,s,(function(e){return l.triggerEvent(new Uf(e))}),(function(e){return l.triggerEvent(new Wf(e))})),this.routerState=Fd(this.currentUrlTree,this.rootComponentType),this.transitions=new Lh({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(Kh((function(e){return 0!==e.id})),L((function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})})),yf((function(e){var r,i,o,a,s=!1,c=!1;return Vh(e).pipe(Tf((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}})),yf((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 Vh(e).pipe(yf((function(e){var r=t.transitions.getValue();return n.next(new Df(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==t.transitions.getValue()?Uh:[e]})),yf((function(e){return Promise.resolve(e)})),(r=t.ngModule.injector,i=t.configLoader,o=t.urlSerializer,a=t.config,function(e){return e.pipe(yf((function(e){return function(e,t,n,r,i){return new gp(e,t,n,r,i).apply()}(r,i,o,e.extractedUrl,a).pipe(L((function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})})))})))}),Tf((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(U((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 Ep(e,t,n,r,i,o).recognize()}(e,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,t.serializeUrl(a)),i,o).pipe(L((function(e){return Object.assign(Object.assign({},r),{targetSnapshot:e})})));var a})))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),Tf((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),Tf((function(e){var r=new Lf(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 Df(c,t.serializeUrl(l),u,h);n.next(d);var p=Fd(l,t.rootComponentType).snapshot;return Vh(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),Uh})),Fp((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})})),Tf((function(e){var n=new Ff(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),L((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=Vd(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)||!sd(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Kd(e,t)||!sd(e.queryParams,t.queryParams);case"paramsChange":default:return!Kd(e,t)}}(s,a,a.routeConfig.runGuardsAndResolvers);l?o.canActivateChecks.push(new Cp(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 bp(c&&c.outlet&&c.outlet.component||null,s))}else s&&Pp(n,c,o),o.canActivateChecks.push(new Cp(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]})),hd(a,(function(e,t){return Pp(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(U((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?Vh(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,r){return z(e).pipe(U((function(e){return function(e,t,n,r,i){var o=t&&t.routeConfig?t.routeConfig.canDeactivate:null;return o&&0!==o.length?Vh(o.map((function(o){var a,s=kp(o,t,i);if(function(e){return e&&cp(e.canDeactivate)}(s))a=fd(s.canDeactivate(e,t,n,r));else{if(!cp(s))throw new Error("Invalid CanDeactivate guard");a=fd(s(e,t,n,r))}return a.pipe(vf())}))).pipe(Op()):Vh(!0)}(e.component,e.route,n,t,r)})),vf((function(e){return!0!==e}),!0))}(s,r,i,e).pipe(U((function(n){return n&&"boolean"==typeof n?function(e,t,n,r){return z(t).pipe(Mf((function(t){return z([Sp(t.route.parent,r),Mp(t.route,r),xp(e,t.path,n),Tp(e,t.route,n)]).pipe(Xh(),vf((function(e){return!0!==e}),!0))})),vf((function(e){return!0!==e}),!0))}(r,a,e,t):Vh(n)})),L((function(e){return Object.assign(Object.assign({},n),{guardsResult:e})})))})))}}(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),Tf((function(e){if(lp(e.guardsResult)){var n=ed('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}})),Tf((function(e){var n=new Bf(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)})),Kh((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var r=new Hf(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(r),e.resolve(!1),!1}return!0})),Fp((function(e){if(e.guards.canActivateChecks.length)return Vh(e).pipe(Tf((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(U((function(e){var t=e.targetSnapshot,i=e.guards.canActivateChecks;return i.length?z(i).pipe(Mf((function(e){return function(e,t,n,r){return function(e,t,n,r){var i=Object.keys(e);if(0===i.length)return Vh({});if(1===i.length){var o=i[0];return Lp(e[o],t,n,r).pipe(L((function(e){return _defineProperty2({},o,e)})))}var a={};return z(i).pipe(U((function(i){return Lp(e[i],t,n,r).pipe(L((function(e){return a[i]=e,e})))}))).pipe(lf(),L((function(){return a})))}(e._resolve,e,t,r).pipe(L((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 y(Pf(e,t),$h(1),af(t))(n)}:function(t){return y(Pf((function(t,n,r){return e(t,n,r+1)})),$h(1))(t)}}((function(e,t){return e})),L((function(t){return e}))):Vh(e)})))}),Tf((function(e){var n=new zf(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})));var n,r})),Fp((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})})),L((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 Hd(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 Bd(new Lh((c=n.value).url),new Lh(c.params),new Lh(c.queryParams),new Lh(c.fragment),new Lh(c.data),c.outlet,c.component,c),u=n.children.map((function(n){return e(t,n)}));return new Hd(l,u)}(e,t._root,n?n._root:void 0);return new Ld(r,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:n})})),Tf((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)},L((function(e){return new ap(o,e.targetRouterState,e.currentRouterState,a).activate(i),e}))),Tf({next:function(){s=!0},complete:function(){s=!0}}),(r=function(){if(!s&&!c){t.resetUrlToCurrentUrlTree();var r=new Hf(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 If(r))}),uf((function(r){if(c=!0,(s=r)&&s.ngNavigationCancelingError){var i=lp(r.url);i||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var o=new Hf(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 Vf(e.id,t.serializeUrl(e.extractedUrl),r);n.next(a);try{e.resolve(t.errorHandler(r))}catch(l){e.reject(l)}}var s;return Uh})))})))}},{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){rd(e),this.config=e.map(ad),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;kr()&&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 Zd(t.root,t.root,t,r,i);var o=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Yd(!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 hd(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 Yd(n,t,r)}(n);if(o.toRoot())return Zd(t.root,new gd([],{}),t,r,i);var a=function(e,t,n){if(e.isAbsolute)return new $d(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new $d(n.snapshot._urlSegment,!0,0);var r=Qd(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 $d(r,!1,i-o)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(o,t,e),s=a.processChildren?tp(a.segmentGroup,a.index,o.commands):ep(a.segmentGroup,a.index,o.commands);return Zd(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};kr()&&this.isNgZoneEnabled&&!kl.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=lp(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(lp(e))return dd(this.currentUrlTree,e,t);var n=this.parseUrl(e);return dd(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 Gf(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){xa()},Zp.\u0275dir=Ct({type:Zp}),Zp),$p=((Qp=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:eg(this.skipLocationChange),replaceUrl:eg(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){kr()&&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:eg(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:eg(this.preserveFragment)})}}]),e}()).\u0275fac=function(e){return new(e||Qp)(Sa(Yp),Sa(Bd),Ta("tabindex"),Sa(Zs),Sa(qs))},Qp.\u0275dir=Ct({type:Qp,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&Fa("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),Qp),Jp=((Kp=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 Gf&&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:eg(this.skipLocationChange),replaceUrl:eg(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){kr()&&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:eg(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:eg(this.preserveFragment)})}}]),e}()).\u0275fac=function(e){return new(e||Kp)(Sa(Yp),Sa(Bd),Sa(gu))},Kp.\u0275dir=Ct({type:Kp,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&Fa("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)})),2&e&&(ws("href",t.href,Yr),wa("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:[Is]}),Kp);function eg(e){return""===e||!!e}var tg,ng,rg,ig=function e(){_classCallCheck(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new og,this.attachRef=null},og=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 ig,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),ag=((tg=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 Gc,this.deactivateEvents=new Gc,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 sg(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||tg)(Sa(og),Sa(_c),Sa(Ws),Ta("name"),Sa(Ko))},tg.\u0275dir=Ct({type:tg,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),tg),sg=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===Bd?this.route:e===og?this.childContexts:this.parent.get(e,t)}}]),e}(),cg=function e(){_classCallCheck(this,e)},lg=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return Vh(null)}}]),e}(),ug=((rg=function(){function e(t,n,r,i,o){_classCallCheck(this,e),this.router=t,this.injector=i,this.preloadingStrategy=o,this.loader=new zp(n,r,(function(e){return t.triggerEvent(new Uf(e))}),(function(e){return t.triggerEvent(new Wf(e))}))}return _createClass(e,[{key:"setUpPreloading",value:function(){var e=this;this.subscription=this.router.events.pipe(Kh((function(e){return e instanceof Gf})),Mf((function(){return e.preload()}))).subscribe((function(){}))}},{key:"preload",value:function(){var e=this.injector.get(et);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 z(r).pipe(X(),L((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(U((function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)})))}))}}]),e}()).\u0275fac=function(e){return new(e||rg)(Ze(Yp),Ze(Ul),Ze(_l),Ze(ua),Ze(cg))},rg.\u0275prov=fe({token:rg,factory:rg.\u0275fac}),rg),hg=((ng=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 Df?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof Gf&&(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 Zf&&(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 Zf(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){xa()},ng.\u0275dir=Ct({type:ng}),ng),fg=new Be("ROUTER_CONFIGURATION"),dg=new Be("ROUTER_FORROOT_GUARD"),pg=[Pu,{provide:yd,useClass:Cd},{provide:Yp,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 Yp(null,e,t,n,r,i,o,ld(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=tu();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:[yd,og,Pu,ua,Ul,_l,jp,fg,[function(){return function e(){_classCallCheck(this,e)}}(),new ae],[function(){return function e(){_classCallCheck(this,e)}}(),new ae]]},og,{provide:Bd,useFactory:function(e){return e.routerState.root},deps:[Yp]},{provide:Ul,useClass:Xl},ug,lg,function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return t().pipe(uf((function(){return Vh(null)})))}}]),e}(),{provide:fg,useValue:{enableTracing:!1}}];function gg(){return new Gl("Router",Yp)}var vg,mg=((vg=function(){function e(t,n){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[pg,bg(t),{provide:dg,useFactory:Cg,deps:[[Yp,new ae,new ce]]},{provide:fg,useValue:n||{}},{provide:gu,useFactory:yg,deps:[iu,[new oe(Cu),new ae],fg]},{provide:hg,useFactory:_g,deps:[Yp,th,fg]},{provide:cg,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:lg},{provide:Gl,multi:!0,useFactory:gg},[Pg,{provide:el,multi:!0,useFactory:wg,deps:[Pg]},{provide:Ig,useFactory:Og,deps:[Pg]},{provide:sl,multi:!0,useExisting:Ig}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[bg(t)]}}}]),e}()).\u0275mod=_t({type:vg}),vg.\u0275inj=de({factory:function(e){return new(e||vg)(Ze(dg,8),Ze(Yp,8))}}),vg);function _g(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new hg(e,t,n)}function yg(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new ku(e,t):new bu(e,t)}function Cg(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function bg(e){return[{provide:ha,multi:!0,useValue:e},{provide:jp,multi:!0,useValue:e}]}var kg,Pg=((kg=function(){function e(t){_classCallCheck(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new T}return _createClass(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(su,Promise.resolve(null)).then((function(){var t=null,n=new Promise((function(e){return t=e})),r=e.injector.get(Yp),i=e.injector.get(fg);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?Vh(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},r.initialNavigation()}return n}))}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(fg),n=this.injector.get(ug),r=this.injector.get(hg),i=this.injector.get(Yp),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||kg)(Ze(ua))},kg.\u0275prov=fe({token:kg,factory:kg.\u0275fac}),kg);function wg(e){return e.appInitializer.bind(e)}function Og(e){return e.bootstrapListener.bind(e)}var Mg,Sg,Tg,xg,Ag,Eg,Ig=new Be("Router Initializer"),Ng=((Tg=function(){function e(){var t=this;_classCallCheck(this,e),this.showYetiPopup=new Lh(!1),this.shareVisible=new Lh(!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")),this.hasSeenYetiBottleForm=JSON.parse(localStorage.getItem("hasSeenYetiBottleForm")),this.hasSubmittedYetiForm=JSON.parse(localStorage.getItem("hasSubmittedYetiForm")),this.videosWatched=JSON.parse(localStorage.getItem("watchedVideos"))||[]}return _createClass(e,[{key:"watchedVideo",value:function(e){var t;(null===(t=this.videosWatched)||void 0===t?void 0:t.includes(e))||this.videosWatched.push(e),localStorage.setItem("videosWatched",JSON.stringify(this.videosWatched))}},{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())}},{key:"hasSeenYetiBottleForm",get:function(){return this.hasSeenYetiBottleFormValue},set:function(e){this.hasSeenYetiBottleFormValue=e,null!==e&&localStorage.setItem("hasSeenYetiBottleForm",e.toString())}},{key:"hasSubmittedYetiForm",get:function(){return this.hasSubmittedYetiFormValue},set:function(e){this.hasSubmittedYetiFormValue=e,null!==e&&localStorage.setItem("hasSubmittedYetiForm",e.toString())}}]),e}()).\u0275fac=function(e){return new(e||Tg)},Tg.\u0275prov=fe({token:Tg,factory:Tg.\u0275fac,providedIn:"root"}),Tg),Rg=((Sg=function(){function e(){_classCallCheck(this,e),this.toggleStatus=!1,this._toggleStatus=new Lh(!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||Sg)},Sg.\u0275prov=fe({token:Sg,factory:Sg.\u0275fac,providedIn:"root"}),Sg),Dg=((Mg=function(){function e(t){_classCallCheck(this,e),this.sidenavService=t,this.transparent=!1,this.showingSidenav=!1}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.showingSidenavSubscription=this.sidenavService._toggleStatus.subscribe((function(t){return e.showingSidenav=t}))}},{key:"ngOnDestroy",value:function(){this.showingSidenavSubscription&&this.showingSidenavSubscription.unsubscribe()}},{key:"toggle",value:function(){this.sidenavService._toggleStatus.next(!0)}},{key:"menuIcon",get:function(){return!1===this.transparent?"assets/images/menu-1@2x.png":"assets/images/aws/MenuButton.svg"}}]),e}()).\u0275fac=function(e){return new(e||Mg)(Sa(Rg))},Mg.\u0275cmp=pt({type:Mg,selectors:[["app-mobile-header"]],hostVars:4,hostBindings:function(e,t){2&e&&as("transparent",t.transparent)("showing-menu",t.showingSidenav)},inputs:{transparent:"transparent"},decls:9,vars:1,consts:[[1,"container-fluid"],[1,"row"],[1,"col-lg-12","nav"],[1,"nav-items"],["routerLink","/menu",1,"logo"],["src","assets/images/Logo_full@4x.svg","alt","Salesforce + AWS"],[1,"menu",3,"click"],["alt","Menu",3,"src"]],template:function(e,t){1&e&&(Ia(0,"div",0),Ia(1,"div",1),Ia(2,"div",2),Ia(3,"div",3),Ia(4,"div",4),Ra(5,"img",5),bs(6," Virtual Park "),Na(),Ia(7,"div",6),Fa("click",(function(){return t.toggle()})),Ra(8,"img",7),Na(),Na(),Na(),Na(),Na()),2&e&&(bi(8),Aa("src",t.menuIcon,Yr))},directives:[$p],styles:["h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}[_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);transition:all .25s ease-out}.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:13px;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:600;color:#032e61}.nav-items[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:31px;margin:6px 10px 6px 15px}.nav-items[_ngcontent-%COMP%] .menu[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:25px}.transparent[_nghost-%COMP%]{background:transparent;box-shadow:none}.transparent[_nghost-%COMP%] .logo[_ngcontent-%COMP%]{opacity:0;transition:all .25s ease-out}.transparent[_nghost-%COMP%] .nav-items[_ngcontent-%COMP%] .menu[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:35px}.transparent.showing-menu[_nghost-%COMP%]{background:#fff}.transparent.showing-menu[_nghost-%COMP%] .logo[_ngcontent-%COMP%]{opacity:1}"]}),Mg),Gg=["*"],Hg=((Eg=function(){function e(t){_classCallCheck(this,e),this.sidenavService=t,this.centerContent=!1,this.headerTransparency=!1,this.style=null,this.emitter=new Gc}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||Eg)(Sa(Rg))},Eg.\u0275cmp=pt({type:Eg,selectors:[["app-mobile-page"]],inputs:{backgroundImage:"backgroundImage",centerContent:"centerContent",headerTransparency:"headerTransparency",style:"style"},outputs:{emitter:"emitter"},ngContentSelectors:Gg,decls:6,vars:11,consts:[[1,"mobile-wrapper"],[3,"transparent"],[1,"overlay"],[1,"mobile-content"]],template:function(e,t){var n,r,i;1&e&&(Wa(),Ia(0,"div",0),Ra(1,"app-mobile-header",1),Ia(2,"div",2),function(e,t){var n,r=Zt();r.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var r=t[n];if("async"===r.name)return r}throw new Error("The pipe 'async' could not be found!")}(0,r.pipeRegistry),r.data[23]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(23,n.onDestroy)):n=r.data[23];var i=n.factory||(n.factory=kt(n.type)),o=Ke(Sa),a=Un(!1),s=i();Un(a),Ke(o),function(e,t,n,r){23>=e.data.length&&(e.data[23]=null,e.blueprint[23]=null),t[23]=r}(r,Qt(),0,s)}(),Na(),Ia(4,"div",3),qa(5),Na(),Na()),2&e&&(os("background-image",t.backgroundImageSrc,Jr),bi(1),Aa("transparent",t.headerTransparency),bi(1),as("overlay--visible",(n=t.sidenavService.$toggleStatus,r=Qt(),i=Lt(r,3),function(e,t){return ya.isWrapped(t)&&(t=ya.unwrap(t),e[Xt.lFrame.bindingIndex]=vi),t}(r,function(e,t){return e[1].data[23].pure}(r)?function(e,t,n,r,i,o){var a=t+9;return Pa(e,a,i)?ka(e,a+1,o?r.call(o,i):r(i)):Dc(e,a+1)}(r,on(),0,i.transform,n,i):i.transform(n)))),bi(2),hs(vs,ss,t.style,!1),as("mobile-content--center-content",t.centerContent))},directives:[Dg],pipes:[Xu],styles:["h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif} html{min-height:100%} body, html{height:100%;background:#032e61 url(FPO_AnimatedBackground_Home@2x.fff87d56c477545ed73f.png) no-repeat 50%;background-size:cover;font-family:Salesforce Sans,Arial,sans-serif}.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} h1{color:#fff;text-shadow:0 3px 6px rgba(0,0,0,.16);letter-spacing:.9px;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:30px;margin:0 auto 10px;text-align:center}"]}),Eg),Vg=((Ag=function(){function e(t,n){_classCallCheck(this,e),this.router=t,this.mobileService=n}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"gotoMainMenu",value:function(){this.router.navigateByUrl("/menu")}}]),e}()).\u0275fac=function(e){return new(e||Ag)(Sa(Yp),Sa(Ng))},Ag.\u0275cmp=pt({type:Ag,selectors:[["app-home-page"]],decls:13,vars:2,consts:[[3,"centerContent","headerTransparency"],[1,"container"],[1,"row"],[1,"col-lg-12","content"],["src","assets/images/aws/mobile/Logo_full@4x@2x.png","alt","Salesforce + AWS",1,"logo"],[1,"btn","btn-primary",3,"click"]],template:function(e,t){1&e&&(Ia(0,"app-mobile-page",0),Ia(1,"div",1),Ia(2,"div",2),Ia(3,"div",3),Ra(4,"img",4),Ia(5,"h2"),bs(6," Follow your"),Ra(7,"br"),bs(8," path to success "),Na(),Ia(9,"p"),bs(10," Explore how Salesforce and AWS are driving innovation to create your fastest path from idea to impact. "),Na(),Ia(11,"button",5),Fa("click",(function(){return t.gotoMainMenu()})),bs(12,"Press to Start"),Na(),Na(),Na(),Na(),Na()),2&e&&Aa("centerContent",!0)("headerTransparency",!0)},directives:[Hg],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;border:0}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-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--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#0092da}.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%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px}.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.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center}.content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-shadow:0 3px 6px rgba(0,0,0,.16);letter-spacing:.9px;margin-bottom:2rem}.content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{max-width:318px;color:#404040;letter-spacing:.35px;font-size:16px;line-height:25px;margin:0 auto 20px;font-family:Salesforce Sans,Arial,sans-serif}.logo[_ngcontent-%COMP%]{max-width:175px;margin-bottom:2rem}.card__before[_ngcontent-%COMP%]{display:block}.card__before[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:240px;margin:0 auto;display:block}.btn[_ngcontent-%COMP%]{box-shadow:0 4px 5px 0 rgba(0,0,0,.25)}"]}),Ag),Lg=((xg=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||xg)(Ze(Yp),Ze(Ng))},xg.\u0275prov=fe({token:xg,factory:xg.\u0275fac,providedIn:"root"}),xg);function Fg(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=z(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 Bg,jg,zg,Ug,Wg=new Be("NgValueAccessor"),qg={provide:Wg,useExisting:Oe((function(){return Xg})),multi:!0},Xg=((Bg=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||Bg)(Sa(Zs),Sa(qs))},Bg.\u0275dir=Ct({type:Bg,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&Fa("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[js([qg])]}),Bg),Kg={provide:Wg,useExisting:Oe((function(){return Zg})),multi:!0},Qg=new Be("CompositionEventMode"),Zg=((Ug=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=tu()?tu().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||Ug)(Sa(Zs),Sa(qs),Sa(Qg,8))},Ug.\u0275dir=Ct({type:Ug,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&&Fa("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:[js([Kg])]}),Ug),Yg=((zg=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||zg)},zg.\u0275dir=Ct({type:zg}),zg),$g=((jg=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}(Yg)).\u0275fac=function(e){return Jg(e||jg)},jg.\u0275dir=Ct({type:jg,features:[Ms]}),jg),Jg=ar($g);function ev(){throw new Error("unimplemented")}var tv,nv,rv=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 ev()}},{key:"asyncValidator",get:function(){return ev()}}]),n}(Yg),iv=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}(),ov=((nv=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return n}(iv)).\u0275fac=function(e){return new(e||nv)(Sa(rv,2))},nv.\u0275dir=Ct({type:nv,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&as("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:[Ms]}),nv),av=((tv=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return n}(iv)).\u0275fac=function(e){return new(e||tv)(Sa($g,2))},tv.\u0275dir=Ct({type:tv,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:14,hostBindings:function(e,t){2&e&&as("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:[Ms]}),tv);function sv(e){return null==e||0===e.length}var cv=new Be("NgValidators"),lv=new Be("NgAsyncValidators"),uv=/^(?=.{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])?)*$/,hv=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"min",value:function(e){return function(t){if(sv(t.value)||sv(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(sv(t.value)||sv(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 sv(e.value)?{required:!0}:null}},{key:"requiredTrue",value:function(e){return!0===e.value?null:{required:!0}}},{key:"email",value:function(e){return sv(e.value)||uv.test(e.value)?null:{email:!0}}},{key:"minLength",value:function(e){return function(t){if(sv(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(sv(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(fv);return 0==t.length?null:function(e){return pv(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(fv);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 Fg(r,null);if(l(r)&&Object.getPrototypeOf(r)===Object.prototype){var i=Object.keys(r);return Fg(i.map((function(e){return r[e]})),i)}}if("function"==typeof t[t.length-1]){var o=t.pop();return Fg(t=1===t.length&&c(t[0])?t[0]:t,null).pipe(L((function(e){return o.apply(void 0,_toConsumableArray(e))})))}return Fg(t,null)}(function(e,t){return t.map((function(t){return t(e)}))}(e,t).map(dv)).pipe(L(pv))}}}]),e}();function fv(e){return null!=e}function dv(e){var t=Va(e)?z(e):e;if(!La(t))throw new Error("Expected validator to return Promise or Observable.");return t}function pv(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 gv(e){return e.validate?function(t){return e.validate(t)}:e}function vv(e){return e.validate?function(t){return e.validate(t)}:e}var mv,_v,yv,Cv,bv={provide:Wg,useExisting:Oe((function(){return kv})),multi:!0},kv=((mv=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||mv)(Sa(Zs),Sa(qs))},mv.\u0275dir=Ct({type:mv,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&Fa("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[js([bv])]}),mv),Pv={provide:Wg,useExisting:Oe((function(){return Ov})),multi:!0},wv=((yv=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||yv)},yv.\u0275prov=fe({token:yv,factory:yv.\u0275fac}),yv),Ov=((_v=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(rv),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||_v)(Sa(Zs),Sa(qs),Sa(wv),Sa(ua))},_v.\u0275dir=Ct({type:_v,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&Fa("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[js([Pv])]}),_v),Mv={provide:Wg,useExisting:Oe((function(){return Sv})),multi:!0},Sv=((Cv=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||Cv)(Sa(Zs),Sa(qs))},Cv.\u0275dir=Ct({type:Cv,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&Fa("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[js([Mv])]}),Cv),Tv='\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 });',xv='\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 });',Av=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 "+Tv)}},{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(xv,'\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 "+Tv)}},{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 "+xv)}},{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}(),Ev={provide:Wg,useExisting:Oe((function(){return Dv})),multi:!0};function Iv(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var Nv,Rv,Dv=((Rv=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=_a}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=Iv(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||Rv)(Sa(Zs),Sa(qs))},Rv.\u0275dir=Ct({type:Rv,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&Fa("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[js([Ev])]}),Rv),Gv=((Nv=function(){function e(t,n,r){_classCallCheck(this,e),this._element=t,this._renderer=n,this._select=r,this._select&&(this.id=this._select._registerOption())}return _createClass(e,[{key:"_setElementValue",value:function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}},{key:"ngValue",set:function(e){null!=this._select&&(this._select._optionMap.set(this.id,e),this._setElementValue(Iv(this.id,e)),this._select.writeValue(this._select.value))}},{key:"value",set:function(e){this._setElementValue(e),this._select&&this._select.writeValue(this._select.value)}}]),e}()).\u0275fac=function(e){return new(e||Nv)(Sa(qs),Sa(Zs),Sa(Dv,9))},Nv.\u0275dir=Ct({type:Nv,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),Nv),Hv={provide:Wg,useExisting:Oe((function(){return Bv})),multi:!0};function Vv(e,t){return null==e?""+t:("string"==typeof t&&(t="'".concat(t,"'")),t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}var Lv,Fv,Bv=((Fv=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=_a}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||Fv)(Sa(Zs),Sa(qs))},Fv.\u0275dir=Ct({type:Fv,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&Fa("change",(function(e){return t.onChange(e.target)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[js([Hv])]}),Fv),jv=((Lv=function(){function e(t,n,r){_classCallCheck(this,e),this._element=t,this._renderer=n,this._select=r,this._select&&(this.id=this._select._registerOption(this))}return _createClass(e,[{key:"_setElementValue",value:function(e){this._renderer.setProperty(this._element.nativeElement,"value",e)}},{key:"_setSelected",value:function(e){this._renderer.setProperty(this._element.nativeElement,"selected",e)}},{key:"ngOnDestroy",value:function(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}},{key:"ngValue",set:function(e){null!=this._select&&(this._value=e,this._setElementValue(Vv(this.id,e)),this._select.writeValue(this._select.value))}},{key:"value",set:function(e){this._select?(this._value=e,this._setElementValue(Vv(this.id,e)),this._select.writeValue(this._select.value)):this._setElementValue(e)}}]),e}()).\u0275fac=function(e){return new(e||Lv)(Sa(qs),Sa(Zs),Sa(Bv,9))},Lv.\u0275dir=Ct({type:Lv,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),Lv);function zv(e,t){return[].concat(_toConsumableArray(t.path),[e])}function Uv(e,t){e||Kv(t,"Cannot find control with"),t.valueAccessor||Kv(t,"No value accessor for form control with"),e.validator=hv.compose([e.validator,t.validator]),e.asyncValidator=hv.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&&Wv(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&&Wv(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 Wv(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function qv(e,t){null==e&&Kv(t,"Cannot find control with"),e.validator=hv.compose([e.validator,t.validator]),e.asyncValidator=hv.composeAsync([e.asyncValidator,t.asyncValidator])}function Xv(e){return Kv(e,"There is no FormControl instance attached to form control element with")}function Kv(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 Qv(e){return null!=e?hv.compose(e.map(gv)):null}function Zv(e){return null!=e?hv.composeAsync(e.map(vv)):null}var Yv=[Xg,Sv,kv,Dv,Bv,Ov];function $v(e){var t=em(e)?e.validators:e;return Array.isArray(t)?Qv(t):t||null}function Jv(e,t){var n=em(t)?t.asyncValidators:e;return Array.isArray(n)?Zv(n):n||null}function em(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var tm,nm,rm,im,om,am=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=$v(e)}},{key:"setAsyncValidators",value:function(e){this.asyncValidator=Jv(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=dv(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 cm?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof lm&&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 Gc,this.statusChanges=new Gc}},{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){em(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}(),sm=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,$v(i),Jv(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}(am),cm=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var o;return _classCallCheck(this,n),(o=t.call(this,$v(r),Jv(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 sm?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}(am),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,$v(r),Jv(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 sm?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}(am),um=((tm=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 zv(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 Qv(this._validators)}},{key:"asyncValidator",get:function(){return Zv(this._asyncValidators)}}]),n}($g)).\u0275fac=function(e){return hm(e||tm)},tm.\u0275dir=Ct({type:tm,features:[Ms]}),tm),hm=ar(um),fm=((nm=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||nm)},nm.\u0275dir=Ct({type:nm,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),nm),dm=new Be("NgModelWithFormControlWarning"),pm={provide:$g,useExisting:Oe((function(){return gm}))},gm=((rm=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 Gc,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 Uv(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);qv(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);qv(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 Xv(t)})),t.valueAccessor.registerOnTouched((function(){return Xv(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&&Uv(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=Qv(this._validators);this.form.validator=hv.compose([this.form.validator,e]);var t=Zv(this._asyncValidators);this.form.asyncValidator=hv.composeAsync([this.form.asyncValidator,t])}},{key:"_checkFormPresent",value:function(){this.form||Av.missingFormException()}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}}]),n}($g)).\u0275fac=function(e){return new(e||rm)(Sa(cv,10),Sa(lv,10))},rm.\u0275dir=Ct({type:rm,selectors:[["","formGroup",""]],hostBindings:function(e,t){1&e&&Fa("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[js([pm]),Ms,Is]}),rm),vm={provide:$g,useExisting:Oe((function(){return mm}))},mm=((im=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(){Cm(this._parent)&&Av.groupParentException()}}]),n}(um)).\u0275fac=function(e){return new(e||im)(Sa($g,13),Sa(cv,10),Sa(lv,10))},im.\u0275dir=Ct({type:im,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[js([vm]),Ms]}),im),_m={provide:$g,useExisting:Oe((function(){return ym}))},ym=((om=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(){Cm(this._parent)&&Av.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 zv(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"validator",get:function(){return Qv(this._validators)}},{key:"asyncValidator",get:function(){return Zv(this._asyncValidators)}}]),n}($g)).\u0275fac=function(e){return new(e||om)(Sa($g,13),Sa(cv,10),Sa(lv,10))},om.\u0275dir=Ct({type:om,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[js([_m]),Ms]}),om);function Cm(e){return!(e instanceof mm||e instanceof gm||e instanceof ym)}var bm,km,Pm,wm,Om,Mm,Sm={provide:rv,useExisting:Oe((function(){return Tm}))},Tm=((Mm=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 Gc,s._ngModelWarningSent=!1,s._parent=e,s._rawValidators=r||[],s._rawAsyncValidators=i||[],s.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||Kv(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===Zg?n=t:(o=t,Yv.some((function(e){return o.constructor===e}))?(r&&Kv(e,"More than one built-in value accessor matches form control with"),r=t):(i&&Kv(e,"More than one custom value accessor matches form control with"),i=t))})),i||r||n||(Kv(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()||!_a(t,n.currentValue)}(e,this.viewModel)&&(t=n,r=this._ngModelWarningConfig,kr()&&"never"!==r&&((null!==r&&"once"!==r||t._ngModelWarningSentOnce)&&("always"!==r||this._ngModelWarningSent)||(Av.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 mm)&&this._parent instanceof um?Av.ngModelGroupException():this._parent instanceof mm||this._parent instanceof gm||this._parent instanceof ym||Av.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){Av.disabledAttrWarning()}},{key:"path",get:function(){return zv(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 Qv(this._rawValidators)}},{key:"asyncValidator",get:function(){return Zv(this._rawAsyncValidators)}}]),n}(rv)).\u0275fac=function(e){return new(e||Mm)(Sa($g,13),Sa(cv,10),Sa(lv,10),Sa(Wg,10),Sa(dm,8))},Mm.\u0275dir=Ct({type:Mm,selectors:[["","formControlName",""]],inputs:{isDisabled:["disabled","isDisabled"],name:["formControlName","name"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[js([Sm]),Ms,Is]}),Mm._ngModelWarningSentOnce=!1,Mm),xm=((Om=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:Om}),Om.\u0275inj=de({factory:function(e){return new(e||Om)}}),Om),Am=((wm=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 cm(n,{asyncValidators:i,updateOn:o,validators:r})}},{key:"control",value:function(e,t,n){return new sm(e,t,n)}},{key:"array",value:function(e,t,n){var r=this,i=e.map((function(e){return r._createControl(e)}));return new lm(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 sm||e instanceof cm||e instanceof lm?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||wm)},wm.\u0275prov=fe({token:wm,factory:wm.\u0275fac}),wm),Em=((Pm=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:Pm}),Pm.\u0275inj=de({factory:function(e){return new(e||Pm)},providers:[wv],imports:[xm]}),Pm),Im=((km=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"withConfig",value:function(t){return{ngModule:e,providers:[{provide:dm,useValue:t.warnOnNgModelWithFormControl}]}}}]),e}()).\u0275mod=_t({type:km}),km.\u0275inj=de({factory:function(e){return new(e||km)},providers:[Am,wv],imports:[xm]}),km),Nm=((bm=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 sm(!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||bm)(Sa(Ng),Sa(Am),Sa(Yp),Sa(Rg))},bm.\u0275cmp=pt({type:bm,selectors:[["app-compliance-page"]],decls:21,vars:3,consts:[[3,"centerContent","headerTransparency"],[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"],[1,"disclaimer"]],template:function(e,t){1&e&&(Ia(0,"app-mobile-page",0),Ia(1,"div",1),Ia(2,"div",2),Ia(3,"div",3),Ia(4,"div",4),Ia(5,"form",5),Ia(6,"h1"),bs(7,"Are you based in the U.S.?"),Na(),Ia(8,"div",6),Ia(9,"button",7),Fa("click",(function(){return t.yes()})),bs(10,"Yes"),Na(),Ia(11,"button",7),Fa("click",(function(){return t.no()})),bs(12,"No"),Na(),Na(),Ia(13,"div",8),Ra(14,"input",9),Ia(15,"label",10),bs(16," By checking this box, I consent to data processing as described in the "),Ia(17,"a",11),bs(18,"Salesforce Privacy Policy"),Na(),Na(),Na(),Ia(19,"p",12),bs(20," Promotional offers open to eligible Salesforce + Google Virtual Experience attendees residing in the U.S. (incl. DC). While supplies last. Restrictions apply. "),Na(),Na(),Na(),Na(),Na(),Na(),Na()),2&e&&(Aa("centerContent",!0)("headerTransparency",!0),bi(5),Aa("formGroup",t.formGroup))},directives:[Hg,fm,av,gm,Xg,ov,Tm],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;border:0}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-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--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#0092da}.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%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px}.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.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}h1[_ngcontent-%COMP%]{margin-bottom:2rem;font-weight:700}.card[_ngcontent-%COMP%]{padding:30px 46px}.buttons[_ngcontent-%COMP%]{max-width:140px;margin:0 auto 2rem}.disclaimer[_ngcontent-%COMP%], .form-check[_ngcontent-%COMP%]{font-size:10px;line-height:1.3;text-align:left}.disclaimer[_ngcontent-%COMP%]{font-weight:700}"]}),bm),Rm=function e(){_classCallCheck(this,e)};function Dm(e,t){return{type:7,name:e,definitions:t,options:{}}}function Gm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function Hm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function Vm(e){return{type:6,styles:e,offset:null}}function Lm(e,t,n){return{type:0,name:e,styles:t,options:n}}function Fm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function Bm(e){Promise.resolve(null).then(e)}var jm,zm,Um,Wm,qm,Xm=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;Bm((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}(),Km=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?Bm((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}(),Qm=Dm("openClose",[Lm("open",Vm({height:"*"})),Lm("closed",Vm({height:0})),Fm("open <=> closed",[Gm("0.33s ease-out")])]),Zm=Dm("fadeOut",[Lm("open",Vm({opacity:0,height:0})),Lm("closed",Vm({opacity:1,height:"*"})),Fm("open <=> closed",[Gm("0.33s ease-out")])]),Ym=((Wm=function(){function e(){_classCallCheck(this,e),this.showContent={maroon:"closed",purple:"closed",plum:"closed",blue:"closed"}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"reveal",value:function(e){this.showContent[e]="open"}}]),e}()).\u0275fac=function(e){return new(e||Wm)},Wm.\u0275cmp=pt({type:Wm,selectors:[["app-main-menu-page"]],decls:58,vars:12,consts:[["backgroundImage","assets/images/aws/Aerial-2x-final@2x.2693ec.png"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","card--maroon"],[1,"card__inner",3,"click"],[1,"icon"],["src","assets/images/aws/mobile/service-maroon.svg","alt","Service Cloud and Voice",1,"img-fluid"],[1,"card__hidden-content"],["routerLink","/service-cloud-and-voice",1,"btn","btn-primary","btn-block"],[1,"card","card--purple"],["src","assets/images/aws/mobile/2019sf_lightning_1C_icon_RGB.svg","alt","Connected Platforms",1,"img-fluid"],["routerLink","/",1,"btn","btn-primary","btn-block"],[1,"card","card--plum"],["src","assets/images/aws/mobile/government-purple.svg","alt","Public Sector and Compliance",1,"img-fluid"],[1,"card","card--blue"],["src","assets/images/aws/mobile/Trailhead_Icon_Square_1Color_RGB.svg","alt","Learning with Trailhead",1,"img-fluid"]],template:function(e,t){1&e&&(Ia(0,"app-mobile-page",0),Ia(1,"div",1),Ia(2,"div",2),Ia(3,"div",3),Ia(4,"h1"),bs(5,"Quests"),Na(),Ia(6,"p"),bs(7,"Select a quest and let\u2019s get started."),Na(),Ia(8,"div",4),Ia(9,"div",5),Fa("click",(function(){return t.reveal("maroon")})),Ia(10,"div",6),Ra(11,"img",7),Na(),Ia(12,"h3"),bs(13," Service Cloud"),Ra(14,"br"),bs(15," and Voice "),Na(),Na(),Ia(16,"div",8),Ia(17,"p"),bs(18,"Explore how Service Cloud Voice modernizes the contact center with Amazon Connect preintegrated into Salesforce. Take this quest to earn a prize."),Na(),Ia(19,"a",9),bs(20,"Explore"),Na(),Na(),Na(),Ia(21,"div",10),Ia(22,"div",5),Fa("click",(function(){return t.reveal("purple")})),Ia(23,"div",6),Ra(24,"img",11),Na(),Ia(25,"h3"),bs(26,"Connected Platforms"),Na(),Na(),Ia(27,"div",8),Ia(28,"p"),bs(29,"Discover how admins and developers can utilize the Salesforce platform and AWS services to innovate better\xa0 together. Take this quest to earn a prize."),Na(),Ia(30,"a",12),bs(31,"Explore"),Na(),Na(),Na(),Ia(32,"div",13),Ia(33,"div",5),Fa("click",(function(){return t.reveal("plum")})),Ia(34,"div",6),Ra(35,"img",14),Na(),Ia(36,"h3"),bs(37," Public Sector"),Ra(38,"br"),bs(39," and Compliance "),Na(),Na(),Ia(40,"div",8),Ia(41,"p"),bs(42,"Salesforce and AWS are driving innovation in the public sector. Learn more about our impact together."),Na(),Ia(43,"a",12),bs(44,"Explore"),Na(),Na(),Na(),Ia(45,"div",15),Ia(46,"div",5),Fa("click",(function(){return t.reveal("blue")})),Ia(47,"div",6),Ra(48,"img",16),Na(),Ia(49,"h3"),bs(50," Learning with"),Ra(51,"br"),bs(52," Trailhead "),Na(),Na(),Ia(53,"div",8),Ia(54,"p"),bs(55,"Skill up for the future with Salesforce and AWS on Trailhead. Start your learning journey today."),Na(),Ia(56,"a",12),bs(57,"Explore"),Na(),Na(),Na(),Na(),Na(),Na(),Na()),2&e&&(bi(8),as("card--active","open"===t.showContent.maroon),bi(8),Aa("@openClose",t.showContent.maroon),bi(5),as("card--active","open"===t.showContent.purple),bi(6),Aa("@openClose",t.showContent.purple),bi(5),as("card--active","open"===t.showContent.plum),bi(8),Aa("@openClose",t.showContent.plum),bi(5),as("card--active","open"===t.showContent.blue),bi(8),Aa("@openClose",t.showContent.blue))},directives:[Hg,Jp],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;border:0}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-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--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#0092da}.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%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px}.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.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}body[_ngcontent-%COMP%], html[_ngcontent-%COMP%]{background-image:url(FPO_AnimatedBackground_Home@2x.fff87d56c477545ed73f.png)!important;background-size:auto 100%;background-position:25% 0}.container[_ngcontent-%COMP%]{text-align:center;color:#fff}.card__inner[_ngcontent-%COMP%]{align-items:center}.card[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;line-height:1.4;margin:0;text-align:left;position:relative}.card[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{width:100%;max-width:50px;flex:0 1 auto;text-align:center;margin-right:1rem}.card[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;max-height:40px}.card--active[_ngcontent-%COMP%] .card__inner[_ngcontent-%COMP%]{flex-direction:column;text-align:center}.card--active[_ngcontent-%COMP%] .card__inner[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{margin-bottom:1rem}.card--active[_ngcontent-%COMP%] .card__inner[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:1rem;text-align:center}.card--active[_ngcontent-%COMP%] .card__hidden-content[_ngcontent-%COMP%]{text-align:center}"],data:{animation:[Qm,Zm]}}),Wm),$m=((Um=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{id:null},n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;if(_classCallCheck(this,e),this.config=t,this.googleTagManagerId=n,this.googleTagManagerAuth=r,this.googleTagManagerPreview=i,this.isLoaded=!1,this.browserGlobals={windowRef:function(){return window},documentRef:function(){return document}},null==this.config&&(this.config={id:null}),this.config=Object.assign(Object.assign({},this.config),{id:n||this.config.id,gtm_auth:r||this.config.gtm_auth,gtm_preview:i||this.config.gtm_preview}),null==this.config.id)throw new Error("Google tag manager ID not provided.")}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(){if(!this.isLoaded){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=this;return-1===e.indexOf("?")&&(e+="?"),e+Object.keys(this.config).filter((function(e){return t.config[e]})).map((function(e){return"".concat(e,"=").concat(t.config[e])})).join("&")}}]),e}()).\u0275fac=function(e){return new(e||Um)(Ze("googleTagManagerConfig",8),Ze("googleTagManagerId",8),Ze("googleTagManagerAuth",8),Ze("googleTagManagerPreview",8))},Um.\u0275prov=fe({factory:function(){return new Um(Ze("googleTagManagerConfig",8),Ze("googleTagManagerId",8),Ze("googleTagManagerAuth",8),Ze("googleTagManagerPreview",8))},token:Um,providedIn:"root"}),Um),Jm=((zm=function(){function e(t){_classCallCheck(this,e),this.gtmService=t,this.allowTracking=JSON.parse(localStorage.getItem("allowTracking"))}return _createClass(e,[{key:"trackEvent",value:function(e,t){this.allowTracking?(console.log("Tracked an event:",{event:e,data:t}),this.gtmService.pushTag({event:e,data:t})):console.log("Cannot track events because the user has not allowed tracking.")}}]),e}()).\u0275fac=function(e){return new(e||zm)(Ze($m))},zm.\u0275prov=fe({token:zm,factory:zm.\u0275fac,providedIn:"root"}),zm),e_=((jm=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||jm)(Sa(Yp))},jm.\u0275cmp=pt({type:jm,selectors:[["app-back-button"]],inputs:{routerLink:"routerLink"},decls:2,vars:0,consts:[[1,"back-button",3,"click"],["src","assets/images/aws/mobile/back.svg"]],template:function(e,t){1&e&&(Ia(0,"a",0),Fa("click",(function(){return t.click()})),Ra(1,"img",1),Na())},styles:[".back-button[_ngcontent-%COMP%]{position:fixed;top:70px;left:8px;width:40px;height:40px;background-size:50px;text-indent:-9999rem;overflow:hidden;z-index:88;border:3px solid #fff;border-radius:100%;background:hsla(0,0%,100%,.25) 0 0 no-repeat padding-box;display:flex;justify-content:center;align-items:center}"]}),jm),t_=["*"],n_=((qm=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||qm)},qm.\u0275cmp=pt({type:qm,selectors:[["app-speaker"]],inputs:{img:"img",name:"name"},ngContentSelectors:t_,decls:6,vars:3,consts:[[1,"headshot"],[1,"content"]],template:function(e,t){1&e&&(Wa(),Ra(0,"div",0),Ia(1,"div",1),Ia(2,"h3"),bs(3),Na(),Ia(4,"p"),qa(5),Na(),Na()),2&e&&(os("background-image","url(assets/images/speakers/"+t.img+")",Jr),bi(3),ks(t.name))},styles:["h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}[_nghost-%COMP%]{width:100%;max-width:300px;display:flex;text-align:left;font-size:14px;margin-bottom:20px}*[_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 0 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}p[_ngcontent-%COMP%]{margin:0}"]}),qm);function r_(e,t){1&e&&(Da(0),Ia(1,"div",6),Ra(2,"img",7),Ia(3,"p"),bs(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. "),Na(),Ia(5,"p"),bs(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. "),Na(),Ia(7,"button",8),bs(8,"Start exploring"),Na(),Na(),Ga())}function i_(e,t){1&e&&(Ia(0,"div",17),Ia(1,"a",18),bs(2,"Claim Your Bottle"),Na(),Na())}function o_(e,t){if(1&e){var n=Ha();Da(0),Oa(1,i_,3,0,"div",9),Ia(2,"div",10),Ia(3,"app-speaker",11),bs(4," Product Management,"),Ra(5,"br"),bs(6," Google Marketing Platform "),Na(),Ia(7,"app-speaker",12),bs(8," Senior Director, Strategic"),Ra(9,"br"),bs(10," Partnerships, Salesforce "),Na(),Ia(11,"h2"),bs(12,"Ask the Expert Session"),Na(),Ia(13,"p"),bs(14," 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. "),Na(),Ia(15,"a",13),bs(16,"Watch Demo"),Na(),Na(),Ia(17,"div",10),Ia(18,"app-speaker",14),bs(19," VP, Product Management,"),Ra(20,"br"),bs(21," Salesforce "),Na(),Ia(22,"h2"),bs(23,"Integration Product Demo"),Na(),Ia(24,"p"),bs(25," See how retailers create personalized customer experiences with the Analytics 360 Integration for Marketing Cloud. "),Na(),Ia(26,"a",15),bs(27,"Watch Demo"),Na(),Na(),Ia(28,"div",10),Ia(29,"p"),bs(30," See more Marketing Cloud and Analytics 360 features and use cases here. "),Na(),Ia(31,"a",16),Fa("click",(function(){return Yt(n),za().trackEvent("Yeti_Sign_R","Read Data Sheet")})),bs(32," Read Data Sheet "),Na(),Na(),Ga()}if(2&e){var r=za();bi(1),Aa("ngIf",r.mobileService.hasSeenYetiBottleForm&&!r.mobileService.hasSubmittedYetiForm)}}var a_,s_=((a_=function(){function e(t,n,r,i){_classCallCheck(this,e),this.router=t,this.mobileService=n,this.sidenavService=r,this.analyticsService=i,this.showVideos=this.router.url.includes("/videos"),this.environment=Jl,this.showCongrats=!1}return _createClass(e,[{key:"ngOnInit",value:function(){var e,t;this.showVideos&&!this.mobileService.hasSeenYetiBottleForm&&(null===(e=this.mobileService.videosWatched)||void 0===e?void 0:e.includes("yeti-ask-the-expert-session"))&&(null===(t=this.mobileService.videosWatched)||void 0===t?void 0:t.includes("yeti-integration-product-demo"))&&(this.mobileService.hasSeenYetiBottleForm=!0,this.router.navigateByUrl("/yeti/congratulations"))}},{key:"trackEvent",value:function(e,t){this.analyticsService.trackEvent("videoCTA",{video:e,cta:t})}}]),e}()).\u0275fac=function(e){return new(e||a_)(Sa(Yp),Sa(Ng),Sa(Rg),Sa(Jm))},a_.\u0275cmp=pt({type:a_,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"],["class","card card--has-bg card--orange claim-bottle",4,"ngIf"],[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",3,"click"],[1,"card","card--has-bg","card--orange","claim-bottle"],["routerLink","/yeti/form",1,"btn","btn-white"]],template:function(e,t){1&e&&(Ia(0,"app-mobile-page",0),Ra(1,"app-back-button",1),Ia(2,"div",2),Ia(3,"div",3),Ia(4,"div",4),Oa(5,r_,9,0,"ng-container",5),Oa(6,o_,33,1,"ng-container",5),Na(),Na(),Na(),Na()),2&e&&(bi(5),Aa("ngIf",!t.showVideos),bi(1),Aa("ngIf",t.showVideos))},directives:[Hg,e_,$p,Gu,n_,Jp],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;border:0}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-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--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#0092da}.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%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px}.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.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}.card--wood[_ngcontent-%COMP%]{text-align:left}.claim-bottle[_ngcontent-%COMP%]{padding-top:18px;padding-bottom:18px}"]}),a_);function c_(e,t){1&e&&(Da(0),Ia(1,"div",6),Ra(2,"img",7),Ia(3,"p"),bs(4," PwC is a global powerhouse delivering world-class experiences in assurance, advisory, and tax services. "),Na(),Ia(5,"p"),bs(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. "),Na(),Ia(7,"button",8),bs(8,"Start exploring"),Na(),Na(),Ga())}function l_(e,t){if(1&e){var n=Ha();Da(0),Ia(1,"div",9),Ia(2,"app-speaker",10),bs(3," PwC Advisory Partner "),Na(),Ia(4,"app-speaker",11),bs(5," Sr. Director, Product"),Ra(6,"br"),bs(7," Management, Salesforce "),Na(),Ia(8,"h2"),bs(9,"Salesforce + G Suite Product Demo"),Na(),Ia(10,"p"),bs(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. "),Na(),Ia(12,"a",12),bs(13,"Watch Demo"),Na(),Na(),Ia(14,"div",9),Ia(15,"app-speaker",13),bs(16," VP Trailhead Evangelism,"),Ra(17,"br"),bs(18," Salesforce "),Na(),Ia(19,"app-speaker",14),bs(20," Head of Clients and Markets,"),Ra(21,"br"),bs(22," PwC UK "),Na(),Ia(23,"h2"),bs(24,"Digital Upskilling Session"),Na(),Ia(25,"p"),bs(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. "),Na(),Ia(27,"a",15),bs(28,"Watch Session"),Na(),Na(),Ia(29,"div",9),Ia(30,"p"),bs(31," Learn new skills from anywhere with Trailhead. "),Na(),Ia(32,"a",16),Fa("click",(function(){return Yt(n),za().trackEvent("PWC_Sign_Bottom","Visit Trailhead")})),bs(33," Visit Trailhead "),Na(),Na(),Ia(34,"div",9),Ia(35,"p"),bs(36," Test your technology knowledge with PwC\u2019s Digital Fitness app. "),Na(),Ia(37,"a",17),Fa("click",(function(){return Yt(n),za().trackEvent("PWC_Sign_Bottom","Download")})),bs(38," Download "),Na(),Na(),Ia(39,"div",9),Ia(40,"p"),bs(41," Schedule a meeting and talk to an expert. "),Na(),Ia(42,"a",18),bs(43,"Request A Meeting"),Na(),Na(),Ga()}}var u_,h_=((u_=function(){function e(t,n){_classCallCheck(this,e),this.router=t,this.analyticsService=n,this.showVideos=this.router.url.includes("/videos")}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"trackEvent",value:function(e,t){this.analyticsService.trackEvent("videoCTA",{video:e,cta:t})}}]),e}()).\u0275fac=function(e){return new(e||u_)(Sa(Yp),Sa(Jm))},u_.\u0275cmp=pt({type:u_,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",3,"click"],["href","https://www.pwc.com/us/en/products/digital-fitness.html","target","_blank",1,"btn","btn-white",3,"click"],["routerLink","/request-meeting/meeting",1,"btn","btn-white"]],template:function(e,t){1&e&&(Ia(0,"app-mobile-page",0),Ra(1,"app-back-button",1),Ia(2,"div",2),Ia(3,"div",3),Ia(4,"div",4),Oa(5,c_,9,0,"ng-container",5),Oa(6,l_,44,0,"ng-container",5),Na(),Na(),Na(),Na()),2&e&&(bi(5),Aa("ngIf",!t.showVideos),bi(1),Aa("ngIf",t.showVideos))},directives:[Hg,e_,$p,Gu,n_,Jp],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;border:0}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-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--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#0092da}.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%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px}.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.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}.card--wood[_ngcontent-%COMP%]{text-align:left}"]}),u_);function f_(e,t){1&e&&(Ia(0,"h1"),bs(1," Service Cloud"),Ra(2,"br"),bs(3," and Voice "),Na())}function d_(e,t){1&e&&(Da(0),Ia(1,"div",6),Ia(2,"div",7),Ra(3,"img",8),Na(),Ia(4,"h2"),bs(5,"Service Cloud and Voice"),Na(),Ia(6,"p"),bs(7," Take a virtual hike around the waterfall and learn about how Service Cloud Voice with Amazon Connect uses AI to drive productivity and customer satisfaction and you could win a prize. "),Na(),Ia(8,"button",9),bs(9,"Explore"),Na(),Na(),Ga())}function p_(e,t){if(1&e){var n=Ha();Da(0),Ia(1,"a",10),Ia(2,"div",11),Ra(3,"div",12),Ia(4,"div"),Ia(5,"h5"),bs(6,"WATCH CUSTOMER INTERVIEW"),Na(),Ia(7,"h3"),bs(8," Providing Deeply Personal Customer Experiences "),Na(),Na(),Ra(9,"i",13),Na(),Na(),Ia(10,"a",14),Ia(11,"div",11),Ra(12,"div",12),Ia(13,"div"),Ia(14,"h5"),bs(15,"PLAY GAME"),Na(),Ia(16,"h3"),bs(17," Service Cloud and Voice "),Na(),Na(),Ra(18,"i",13),Na(),Na(),Ia(19,"a",15),Ia(20,"div",11),Ra(21,"div",12),Ia(22,"div"),Ia(23,"h5"),bs(24,"WATCH DEMO"),Na(),Ia(25,"h3"),bs(26," Deploy out of the Box Intelligent Telephony with Service Cloud Voice & Amazon Connect "),Na(),Na(),Ra(27,"i",13),Na(),Na(),Ia(28,"a",16),Ia(29,"div",11),Ia(30,"h3",17),bs(31," Learn More About Amazon Connect "),Na(),Ra(32,"i",18),Na(),Na(),Ia(33,"a",19),Ia(34,"div",11),Ia(35,"h3",17),bs(36," Service Cloud Voice Website "),Na(),Ra(37,"i",18),Na(),Na(),Ia(38,"a",20),Ia(39,"div",11),Ia(40,"h3",17),bs(41," IQPC State of Voice Report "),Na(),Ra(42,"i",18),Na(),Na(),Ia(43,"a",21),Ia(44,"div",11),Ia(45,"h3",17),bs(46," Omdia Omni-Channel Service Report "),Na(),Ra(47,"i",18),Na(),Na(),Ia(48,"a",22),Ia(49,"div",11),Ia(50,"h3",23),bs(51," Visit Trailhead "),Na(),Ra(52,"i",18),Na(),Na(),Ia(53,"div",24),Ia(54,"app-speaker",25),bs(55," Director of Product"),Ra(56,"br"),bs(57," Management, Google Cloud "),Na(),Ia(58,"app-speaker",26),bs(59," Senior Director, Strategic"),Ra(60,"br"),bs(61," Partnerships, Salesforce "),Na(),Ia(62,"h2"),bs(63,"Expert Product Demo Session"),Na(),Ia(64,"p"),bs(65," 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. "),Na(),Ia(66,"a",27),bs(67,"Watch Demo"),Na(),Na(),Ia(68,"div",28),Ia(69,"app-speaker",29),bs(70," Lead Analyst,"),Ra(71,"br"),bs(72," Marketing Analytics, Zulily "),Na(),Ia(73,"app-speaker",30),bs(74," Director, Strategic Partnerships"),Ra(75,"br"),bs(76," Marketing, Salesforce "),Na(),Ia(77,"h2"),bs(78,"Data Superhero Session"),Na(),Ia(79,"p"),bs(80," 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. "),Na(),Ia(81,"a",31),bs(82,"Watch Session"),Na(),Na(),Ia(83,"div",28),Ia(84,"p"),bs(85," Learn additional best practices for optimizing Tableau and BigQuery. "),Na(),Ia(86,"a",32),Fa("click",(function(){return Yt(n),za().trackEvent("Zulily_Box","Read White Paper")})),bs(87," Read White Paper "),Na(),Na(),Ga()}}var g_,v_,m_,__=((m_=function(){function e(t,n){_classCallCheck(this,e),this.router=t,this.analyticsService=n,this.showVideos=this.router.url.includes("/videos")}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"trackEvent",value:function(e,t){this.analyticsService.trackEvent("videoCTA",{video:e,cta:t})}}]),e}()).\u0275fac=function(e){return new(e||m_)(Sa(Yp),Sa(Jm))},m_.\u0275cmp=pt({type:m_,selectors:[["app-service-cloud-and-voice-page"]],decls:8,vars:3,consts:[["backgroundImage","assets/images/aws/waterfallbg.45e880.png"],["routerLink","/menu"],[1,"container"],[1,"row"],[1,"col-lg-12"],[4,"ngIf"],[1,"card","card--wood","card--mobile"],[1,"logo"],["src","/assets/images/aws/mobile/Logo_W@4x@2x.png","alt","AWS + Salesforce",1,"img-fluid"],["routerLink","videos",1,"btn","btn-primary"],["routerLink","/video/providing-deeply-personal-customer-experiences",1,"card","card--maroon","astro","image"],[1,"top"],[1,"icon"],["aria-hidden","true",1,"fal","fa-chevron-right"],["routerLink","/video/zulily-expert-product-demo-session",1,"card","card--maroon","water","image"],["routerLink","/video/zulily-expert-product-demo-session",1,"card","card--maroon","phone","image"],["href","https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/Private%20Connect%20Datasheet.pdf","target","_blank",1,"card","card--maroon"],[1,"out"],["aria-hidden","true",1,"fas","fa-external-link-alt"],["href","https://www.salesforce.com/products/service-cloud/solutions/call-center-management/?sfdc-redirect=263","target","_blank",1,"card","card--maroon"],["href","https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/StateoftheVoiceChannel_Salesforce%20Final.pdf","target","_blank",1,"card","card--maroon"],["href","https://salesforce-stp-assets.s3-us-west-2.amazonaws.com/Omdia%20Whitepaper%20Service%20Cloud%20Voice.pdf","target","_blank",1,"card","card--maroon"],["href","https://trailhead.salesforce.com/en/search?keywords=aws","target","_blank",1,"card","card--maroon"],[1,"out","trailhead"],[1,"card","card--purple","card--mobile"],["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"],[1,"card","card--purple"],["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://storage.googleapis.com/salesforce-stp-assets/Tableau%20White%20Paper.pdf","target","_blank",1,"btn","btn-white",3,"click"]],template:function(e,t){1&e&&(Ia(0,"app-mobile-page",0),Ra(1,"app-back-button",1),Ia(2,"div",2),Ia(3,"div",3),Ia(4,"div",4),Oa(5,f_,4,0,"h1",5),Oa(6,d_,10,0,"ng-container",5),Oa(7,p_,88,0,"ng-container",5),Na(),Na(),Na(),Na()),2&e&&(bi(5),Aa("ngIf",t.showVideos),bi(1),Aa("ngIf",!t.showVideos),bi(1),Aa("ngIf",t.showVideos))},directives:[Hg,e_,$p,Gu,Jp,n_],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;border:0}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-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--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#0092da}.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%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px}.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.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}.card--wood[_ngcontent-%COMP%]{text-align:left}"]}),m_),y_=((v_=function(){function e(t,n,r,i){_classCallCheck(this,e),this.route=t,this.router=n,this.mobileService=r,this.analyticsService=i}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.paramSubscription=this.route.params.subscribe((function(t){e.videoId=t.id;var n=null;Object.keys(Jl.videos).forEach((function(e){Jl.videos[e].mobileUri===t.id&&(n=Jl.videos[e])})),e.src=n.src,e.background=n.background,e.previousUrl=n.menuPage,e.analyticsLabel=n.analyticsLabel,e.mobileService.watchedVideo(e.videoId),e.analyticsService.trackEvent("playVideo",e.analyticsLabel)}))}},{key:"ngOnDestroy",value:function(){this.paramSubscription.unsubscribe()}},{key:"close",value:function(){this.router.navigateByUrl(this.previousUrl)}}]),e}()).\u0275fac=function(e){return new(e||v_)(Sa(Bd),Sa(Yp),Sa(Ng),Sa(Jm))},v_.\u0275cmp=pt({type:v_,selectors:[["app-mobile-video-player"]],decls:7,vars:3,consts:[[2,"padding","58px 0 0",3,"centerContent","backgroundImage"],[1,"video-wrapper-background",3,"click"],[1,"video-wrapper"],[1,"close-video",3,"click"],["width","820","height","461","autoplay","","controls","","playsinline","",3,"src"],["video",""]],template:function(e,t){1&e&&(Ia(0,"app-mobile-page",0),Ia(1,"div",1),Fa("click",(function(){return t.close()})),Na(),Ia(2,"div",2),Ia(3,"button",3),Fa("click",(function(){return t.close()})),bs(4,"Close"),Na(),Ra(5,"video",4,5),Na(),Na()),2&e&&(Aa("centerContent",!0)("backgroundImage",t.background),bi(5),Aa("src",t.src,Yr))},directives:[Hg],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;border:0}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-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--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#0092da}.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%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px}.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.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}.video-wrapper-background[_ngcontent-%COMP%]{width:100%;height:100%;background:rgba(0,0,0,.6);position:absolute;top:0;left:0;cursor:pointer}.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}@media (orientation:landscape) and (max-width:813px){.video-wrapper[_ngcontent-%COMP%]{max-width:none;padding-bottom:calc(56.25% - 56px)}}.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}"]}),v_),C_=((g_=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||g_)},g_.\u0275cmp=pt({type:g_,selectors:[["app-yeti-congrats"]],decls:16,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"],["src","assets/images/yeti-bottles.png","alt","Yeti","width","120",1,"img-fluid",2,"margin","0 0 22px"],["routerLink","/yeti/form",1,"btn","btn-white"]],template:function(e,t){1&e&&(Ia(0,"app-mobile-page",0),Ra(1,"app-back-button",1),Ia(2,"div",2),Ia(3,"div",3),Ia(4,"div",4),Ia(5,"div",5),Ia(6,"h2"),bs(7,"Congratulations"),Na(),Ra(8,"img",6),Ia(9,"p"),bs(10," You\u2019ve earned a YETI Rambler"),Ia(11,"sup"),bs(12,"\xae"),Na(),bs(13," Bottle. "),Na(),Ia(14,"a",7),bs(15,"Enter Shipping info"),Na(),Na(),Na(),Na(),Na(),Na()),2&e&&Aa("centerContent",!0)},directives:[Hg,e_,$p,Jp],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;border:0}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-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--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#0092da}.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%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px}.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.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}.card[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}.card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-transform:uppercase;align-self:center}"]}),g_),b_=n("4+EV"),k_=function e(){_classCallCheck(this,e)},P_=function e(){_classCallCheck(this,e)},w_=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}(),O_=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return M_(e)}},{key:"encodeValue",value:function(e){return M_(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function M_(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 S_=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 O_,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 T_(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function x_(e){return"undefined"!=typeof Blob&&e instanceof Blob}function A_(e){return"undefined"!=typeof FormData&&e instanceof FormData}var E_=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 w_),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 S_,this.urlWithParams=n}return _createClass(e,[{key:"serializeBody",value:function(){return null===this.body?null:T_(this.body)||x_(this.body)||A_(this.body)||"string"==typeof this.body?this.body:this.body instanceof S_?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||A_(this.body)?null:x_(this.body)?this.body.type||null:T_(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof S_?"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}(),I_=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}(),N_=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 w_,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},R_=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=I_.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}(N_),D_=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=I_.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}(N_),G_=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}(N_);function H_(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var V_,L_,F_,B_,j_,z_,U_,W_,q_,X_=((V_=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 E_)n=e;else{var o=void 0;o=i.headers instanceof w_?i.headers:new w_(i.headers);var a=void 0;i.params&&(a=i.params instanceof S_?i.params:new S_({fromObject:i.params})),n=new E_(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=Vh(n).pipe(Mf((function(e){return r.handler.handle(e)})));if(e instanceof E_||"events"===i.observe)return s;var c=s.pipe(Kh((function(e){return e instanceof D_})));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return c.pipe(L((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(L((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(L((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(L((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 S_).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,H_(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,H_(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,H_(n,t))}}]),e}()).\u0275fac=function(e){return new(e||V_)(Ze(k_))},V_.\u0275prov=fe({token:V_,factory:V_.\u0275fac}),V_),K_=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}(),Q_=new Be("HTTP_INTERCEPTORS"),Z_=((L_=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||L_)},L_.\u0275prov=fe({token:L_,factory:L_.\u0275fac}),L_),Y_=/^\)\]\}',?\n/,$_=function e(){_classCallCheck(this,e)},J_=((B_=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}()).\u0275fac=function(e){return new(e||B_)},B_.\u0275prov=fe({token:B_,factory:B_.\u0275fac}),B_),ey=((F_=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 w_(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 R_({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(Y_,"");try{l=""!==l?JSON.parse(l):null}catch(f){l=h,u&&(u=!1,l={error:f,text:l})}}u?(n.next(new D_({body:l,headers:i,status:o,statusText:a,url:s||void 0})),n.complete()):n.error(new G_({error:l,headers:i,status:o,statusText:a,url:s||void 0}))},u=function(e){var t=c().url,i=new G_({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:I_.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:I_.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:I_.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||F_)(Ze($_))},F_.\u0275prov=fe({token:F_,factory:F_.\u0275fac}),F_),ty=new Be("XSRF_COOKIE_NAME"),ny=new Be("XSRF_HEADER_NAME"),ry=function e(){_classCallCheck(this,e)},iy=((q_=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=Au(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}()).\u0275fac=function(e){return new(e||q_)(Ze(ru),Ze(al),Ze(ty))},q_.\u0275prov=fe({token:q_,factory:q_.\u0275fac}),q_),oy=((W_=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||W_)(Ze(ry),Ze(ny))},W_.\u0275prov=fe({token:W_,factory:W_.\u0275fac}),W_),ay=((U_=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(Q_,[]);this.chain=t.reduceRight((function(e,t){return new K_(e,t)}),this.backend)}return this.chain.handle(e)}}]),e}()).\u0275fac=function(e){return new(e||U_)(Ze(P_),Ze(ua))},U_.\u0275prov=fe({token:U_,factory:U_.\u0275fac}),U_),sy=((z_=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:oy,useClass:Z_}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:ty,useValue:t.cookieName}:[],t.headerName?{provide:ny,useValue:t.headerName}:[]]}}}]),e}()).\u0275mod=_t({type:z_}),z_.\u0275inj=de({factory:function(e){return new(e||z_)},providers:[oy,{provide:Q_,useExisting:oy,multi:!0},{provide:ry,useClass:iy},{provide:ty,useValue:"XSRF-TOKEN"},{provide:ny,useValue:"X-XSRF-TOKEN"}]}),z_),cy=((j_=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:j_}),j_.\u0275inj=de({factory:function(e){return new(e||j_)},providers:[X_,{provide:k_,useClass:ay},ey,{provide:P_,useExisting:ey},J_,{provide:$_,useExisting:J_}],imports:[[sy.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),j_),ly=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)),uy=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}(),hy=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]:uy.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}(uy))(ly);function fy(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:hy;return function(n){return n.lift(new dy(e,t))}}var dy=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 py(e,this.dueTime,this.scheduler))}}]),e}(),py=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(gy,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}(g);function gy(e){e.debouncedNext()}function vy(e,t){return function(n){return n.lift(new my(e,t))}}var my=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 _y(e,this.compare,this.keySelector))}}]),e}(),_y=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}(g);function yy(e,t){return new k(t?function(n){return t.schedule(Cy,0,{error:e,subscriber:n})}:function(t){return t.error(e)})}function Cy(e){var t=e.error;e.subscriber.error(t)}function by(e,t,n,i){return r(n)&&(i=n,n=void 0),i?by(e,t,n).pipe(L((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 ky=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Py(e))}}]),e}(),Py=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}(V);function wy(e){return function(t){return t.lift(new Oy(e))}}var Oy=function(){function e(t){_classCallCheck(this,e),this.notifier=t}return _createClass(e,[{key:"call",value:function(e,t){var n=new My(e),r=H(n,this.notifier);return r&&!n.seenValue?(n.add(r),t.subscribe(n)):n}}]),e}(),My=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}(V);function Sy(){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 xy(t,n))}}var Ty,xy=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 Ay(e,this.observables,this.project))}}]),e}(),Ay=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}(V),Ey=((Ty=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 Vh(this.value);case"E":return yy(this.error);case"C":return Wh()}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 Ty("C"),Ty.undefinedValueNotification=new Ty("N",void 0),Ty),Iy=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 Ny(e,this.delay,this.scheduler))}}]),e}(),Ny=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 Ry(t.now()+this.delay,e);this.queue.push(n),!1===this.active&&this._schedule(t)}}},{key:"_next",value:function(e){this.scheduleNotification(Ey.createNext(e))}},{key:"_error",value:function(e){this.errored=!0,this.queue=[],this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleNotification(Ey.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}(g),Ry=function e(t,n){_classCallCheck(this,e),this.time=t,this.notification=n};$localize(_templateObject());var Dy=["*"];$localize(_templateObject2()),$localize(_templateObject3()),$localize(_templateObject4()),$localize(_templateObject5()),$localize(_templateObject6()),$localize(_templateObject7()),$localize(_templateObject8()),$localize(_templateObject9()),$localize(_templateObject10()),$localize(_templateObject11());var Gy=["dialog"];function Hy(e,t){if(1&e&&(Ia(0,"span"),bs(1),Na()),2&e){var n=za().$implicit;cs(za().highlightClass),bi(1),ks(n)}}function Vy(e,t){1&e&&bs(0),2&e&&ks(za().$implicit)}function Ly(e,t){if(1&e&&(Oa(0,Hy,2,3,"span",1),Oa(1,Vy,1,1,"ng-template",null,2,Jc)),2&e){var n=t.odd,r=Ma(2);Aa("ngIf",n)("ngIfElse",r)}}function Fy(e,t){if(1&e&&Ra(0,"ngb-highlight",2),2&e){var n=t.term;Aa("result",(0,t.formatter)(t.result))("term",n)}}function By(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 jy=function(e,t,n){return{result:e,term:t,formatter:n}};function zy(e,t){if(1&e){var n=Ha();Ia(0,"button",3),Fa("mouseenter",(function(){Yt(n);var e=t.index;return za().markActive(e)}))("click",(function(){Yt(n);var e=t.$implicit;return za().select(e)})),Oa(1,By,0,0,"ng-template",4),Na()}if(2&e){var r=t.$implicit,i=t.index,o=za(),a=Ma(1);as("active",i===o.activeIdx),Aa("id",o.id+"-"+i),bi(1),Aa("ngTemplateOutlet",o.resultTemplate||a)("ngTemplateOutletContext",(s=5,c=jy,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)?ka(e,c+3,s?r.call(s,i,o,a):r(i,o,a)):Dc(e,c+3)}(Qt(),on(),s,c,l,u,h,f)))}var s,c,l,u,h,f}function Uy(e){return null!=e?""+e:""}function Wy(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 qy,Xy,Ky,Qy,Zy,Yy=((Zy=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:Zy}),Zy.\u0275inj=de({factory:function(e){return new(e||Zy)},imports:[[Ku]]}),Zy),$y=((Qy=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:Qy}),Qy.\u0275inj=de({factory:function(e){return new(e||Qy)},imports:[[Ku]]}),Qy),Jy=((Ky=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:Ky}),Ky.\u0275inj=de({factory:function(e){return new(e||Ky)}}),Ky),eC=((Xy=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:Xy}),Xy.\u0275inj=de({factory:function(e){return new(e||Xy)},imports:[[Ku]]}),Xy),tC=((qy=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:qy}),qy.\u0275inj=de({factory:function(e){return new(e||qy)}}),qy),nC=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}({}),rC=function(e,t){return!!t&&t.some((function(t){return t.contains(e)}))},iC="undefined"!=typeof navigator&&!!navigator.userAgent&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||/Macintosh/.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>2||/Android/.test(navigator.userAgent)),oC=["a[href]","button:not([disabled])",'input:not([disabled]):not([type="hidden"])',"select:not([disabled])","textarea:not([disabled])","[contenteditable]",'[tabindex]:not([tabindex="-1"])'].join(", ");function aC(e){var t=Array.from(e.querySelectorAll(oC)).filter((function(e){return-1!==e.tabIndex}));return[t[0],t[t.length-1]]}var sC,cC,lC,uC,hC,fC,dC,pC,gC,vC,mC,_C,yC,CC,bC,kC,PC,wC,OC,MC,SC=/\s+/,TC=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),g=0,v=0;switch(a){case"top":g=l.top-(t.offsetHeight+h+f);break;case"bottom":g=l.top+l.height;break;case"left":v=l.left-(t.offsetWidth+d+p);break;case"right":v=l.left+l.width}switch(c){case"top":g=l.top;break;case"bottom":g=l.top+l.height-t.offsetHeight;break;case"left":v=l.left;break;case"right":v=l.left+l.width-t.offsetWidth;break;case"center":"top"===a||"bottom"===a?v=l.left+l.width/2-t.offsetWidth/2:g=l.top+l.height/2-t.offsetHeight/2}t.style.transform="translate(".concat(Math.round(v),"px, ").concat(Math.round(g),"px)");var m=t.getBoundingClientRect(),_=document.documentElement,y=window.innerHeight||_.clientHeight,C=window.innerWidth||_.clientWidth;return m.left>=0&&m.top>=0&&m.right<=C&&m.bottom<=y}}]),e}()),xC=((lC=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:lC}),lC.\u0275inj=de({factory:function(e){return new(e||lC)},imports:[[Ku,Em]]}),lC),AC=((cC=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:cC}),cC.\u0275inj=de({factory:function(e){return new(e||cC)}}),cC),EC=((sC=function e(){_classCallCheck(this,e),this.backdrop=!0,this.keyboard=!0}).\u0275fac=function(e){return new(e||sC)},sC.\u0275prov=fe({factory:function(){return new sC},token:sC,providedIn:"root"}),sC),IC=function e(t,n,r){_classCallCheck(this,e),this.nodes=t,this.viewRef=n,this.componentRef=r},NC=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 vc){var n=e.createEmbeddedView(t);return this._applicationRef.attachView(n),new IC([n.rootNodes],n)}return new IC([[this._renderer.createText(""+e)]])}return new IC([])}}]),e}(),RC=function(){},DC=((hC=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):RC}},{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||hC)(Ze(ru))},hC.\u0275prov=fe({factory:function(){return new hC(Ze(ru))},token:hC,providedIn:"root"}),hC),GC=((uC=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||uC)},uC.\u0275cmp=pt({type:uC,selectors:[["ngb-modal-backdrop"]],hostAttrs:[2,"z-index","1050"],hostVars:2,hostBindings:function(e,t){2&e&&cs("modal-backdrop fade show"+(t.backdropClass?" "+t.backdropClass:""))},inputs:{backdropClass:"backdropClass"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),uC),HC=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"close",value:function(e){}},{key:"dismiss",value:function(e){}}]),e}(),VC=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}(),LC=function(e){return e[e.BACKDROP_CLICK=0]="BACKDROP_CLICK",e[e.ESC=1]="ESC",e}({}),FC=((MC=function(){function e(t,n,r){_classCallCheck(this,e),this._document=t,this._elRef=n,this._zone=r,this._closed$=new T,this._elWithFocus=null,this.backdrop=!0,this.keyboard=!0,this.dismissEvent=new Gc}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(){by(t,"keydown").pipe(wy(e._closed$),Kh((function(t){return t.which===nC.Escape&&e.keyboard}))).subscribe((function(t){return requestAnimationFrame((function(){t.defaultPrevented||e._zone.run((function(){return e.dismiss(LC.ESC)}))}))}));var n=!1;by(e._dialogEl.nativeElement,"mousedown").pipe(wy(e._closed$),Tf((function(){return n=!1})),yf((function(){return by(t,"mouseup").pipe(wy(e._closed$),df(1))})),Kh((function(e){var n=e.target;return t===n}))).subscribe((function(){n=!0})),by(t,"click").pipe(wy(e._closed$)).subscribe((function(r){var i=r.target;!0!==e.backdrop||t!==i||n||e._zone.run((function(){return e.dismiss(LC.BACKDROP_CLICK)})),n=!1}))})),!t.contains(document.activeElement)){var n=t.querySelector("[ngbAutofocus]"),r=aC(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||MC)(Sa(ru),Sa(qs),Sa(kl))},MC.\u0275cmp=pt({type:MC,selectors:[["ngb-modal-window"]],viewQuery:function(e,t){var n;1&e&&Kc(Gy,!0),2&e&&Xc(n=Yc())&&(t._dialogEl=n.first)},hostAttrs:["role","dialog","tabindex","-1"],hostVars:5,hostBindings:function(e,t){2&e&&(wa("aria-modal",!0)("aria-labelledby",t.ariaLabelledBy)("aria-describedby",t.ariaDescribedBy),cs("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:Dy,decls:4,vars:2,consts:[["role","document"],["dialog",""],[1,"modal-content"]],template:function(e,t){1&e&&(Wa(),Ia(0,"div",0,1),Ia(2,"div",2),qa(3),Na(),Na()),2&e&&cs("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}),MC),BC=((OC=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 T,this._ariaHiddenValues=new Map,this._backdropAttributes=["backdropClass"],this._modalRefs=[],this._windowAttributes=["ariaLabelledBy","ariaDescribedBy","backdrop","centered","keyboard","scrollable","size","windowClass"],this._windowCmpts=[],this._activeInstances=new Gc,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=by(t,"focusin").pipe(wy(n),L((function(e){return e.target})));by(t,"keydown").pipe(wy(n),Kh((function(e){return e.which===nC.Tab})),Sy(e)).subscribe((function(e){var n=_slicedToArray2(e,2),r=n[0],i=n[1],o=_slicedToArray2(aC(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&&by(t,"click").pipe(wy(n),Sy(e),L((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:Wy(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 HC,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 VC(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(GC).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(FC).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){Wy(t[n])&&(e[n]=t[n])}))}},{key:"_applyBackdropOptions",value:function(e,t){this._backdropAttributes.forEach((function(n){Wy(t[n])&&(e[n]=t[n])}))}},{key:"_getContentRef",value:function(e,t,n,r,i){return n?n instanceof vc?this._createFromTemplateRef(n,r):"string"==typeof n?this._createFromString(n):this._createFromComponent(e,t,n,r,i):new IC([])}},{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 IC([n.rootNodes],n)}},{key:"_createFromString",value:function(e){var t=this._document.createTextNode(""+e);return new IC([[t]])}},{key:"_createFromComponent",value:function(e,t,n,r,i){var o=e.resolveComponentFactory(n),a=ua.create({providers:[{provide:HC,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 IC([[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||OC)(Ze(jl),Ze(ua),Ze(ru),Ze(DC),Ze(Ks),Ze(kl))},OC.\u0275prov=fe({factory:function(){return new OC(Ze(jl),Ze(je),Ze(ru),Ze(DC),Ze(Ks),Ze(kl))},token:OC,providedIn:"root"}),OC),jC=((wC=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||wC)(Ze(Ws),Ze(ua),Ze(BC),Ze(EC))},wC.\u0275prov=fe({factory:function(){return new wC(Ze(Ws),Ze(je),Ze(BC),Ze(EC))},token:wC,providedIn:"root"}),wC),zC=((PC=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:PC}),PC.\u0275inj=de({factory:function(e){return new(e||PC)},providers:[jC]}),PC),UC=((kC=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:kC}),kC.\u0275inj=de({factory:function(e){return new(e||kC)},imports:[[Ku]]}),kC),WC=((bC=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:bC}),bC.\u0275inj=de({factory:function(e){return new(e||bC)},imports:[[Ku]]}),bC),qC=((CC=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:CC}),CC.\u0275inj=de({factory:function(e){return new(e||CC)},imports:[[Ku]]}),CC),XC=((yC=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:yC}),yC.\u0275inj=de({factory:function(e){return new(e||yC)},imports:[[Ku]]}),yC),KC=((_C=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:_C}),_C.\u0275inj=de({factory:function(e){return new(e||_C)},imports:[[Ku]]}),_C),QC=((mC=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:mC}),mC.\u0275inj=de({factory:function(e){return new(e||mC)},imports:[[Ku]]}),mC),ZC=((vC=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:vC}),vC.\u0275inj=de({factory:function(e){return new(e||vC)},imports:[[Ku]]}),vC),YC=((gC=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:gC}),gC.\u0275inj=de({factory:function(e){return new(e||gC)},imports:[[Ku]]}),gC),$C=((pC=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:pC}),pC.\u0275inj=de({factory:function(e){return new(e||pC)}}),pC),JC=((dC=function(){function e(){_classCallCheck(this,e),this.highlightClass="ngb-highlight"}return _createClass(e,[{key:"ngOnChanges",value:function(e){var t=Uy(this.result),n=(Array.isArray(this.term)?this.term:[this.term]).map((function(e){return Uy(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||dC)},dC.\u0275cmp=pt({type:dC,selectors:[["ngb-highlight"]],inputs:{highlightClass:"highlightClass",result:"result",term:"term"},features:[Is],decls:1,vars:1,consts:[["ngFor","",3,"ngForOf"],[3,"class",4,"ngIf","ngIfElse"],["even",""]],template:function(e,t){1&e&&Oa(0,Ly,3,2,"ng-template",0),2&e&&Aa("ngForOf",t.parts)},directives:[Ru,Gu],styles:[".ngb-highlight{font-weight:700}"],encapsulation:2,changeDetection:0}),dC),eb=((fC=function(){function e(){_classCallCheck(this,e),this.activeIdx=0,this.focusFirst=!0,this.formatter=Uy,this.selectEvent=new Gc,this.activeChangeEvent=new Gc}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||fC)},fC.\u0275cmp=pt({type:fC,selectors:[["ngb-typeahead-window"]],hostAttrs:["role","listbox",1,"dropdown-menu","show"],hostVars:1,hostBindings:function(e,t){1&e&&Fa("mousedown",(function(e){return e.preventDefault()})),2&e&&ws("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&&(Oa(0,Fy,1,2,"ng-template",null,0,Jc),Oa(2,zy,2,9,"ng-template",1)),2&e&&(bi(2),Aa("ngForOf",t.results))},directives:[Ru,JC,zu],encapsulation:2}),fC),tb=new Be("live announcer delay",{providedIn:"root",factory:function(){return 100}});function nb(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 rb,ib,ob,ab,sb,cb=((ib=function(){function e(t,n){_classCallCheck(this,e),this._document=t,this._delay=n}return _createClass(e,[{key:"ngOnDestroy",value:function(){var e=nb(this._document);e&&e.parentElement.removeChild(e)}},{key:"say",value:function(e){var t=nb(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||ib)(Ze(ru),Ze(tb))},ib.\u0275prov=fe({factory:function(){return new ib(Ze(ru),Ze(tb))},token:ib,providedIn:"root"}),ib),lb=((rb=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||rb)},rb.\u0275prov=fe({factory:function(){return new rb},token:rb,providedIn:"root"}),rb),ub={provide:Wg,useExisting:Oe((function(){return fb})),multi:!0},hb=0,fb=((ab=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 T,this._inputValueBackup=null,this._windowRef=null,this.autocomplete="off",this.placement="bottom-left",this.selectItem=new Gc,this.activeDescendant=null,this.popupId="ngb-typeahead-"+hb++,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=by(t.nativeElement,"input").pipe(L((function(e){return e.target.value}))),this._resubscribeTypeahead=new Lh(null),this._popupService=new NC(eb,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(SC),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),TC.positionElements(e,t,u,r)){h=!0;break}}catch(d){f.e(d)}finally{f.f()}h||(a(u=o[0]),TC.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(Tf((function(t){e._inputValueBackup=e.showHint?t:null,e._onChange(e.editable?t:void 0)}))).pipe(this.ngbTypeahead),n=this._resubscribeTypeahead.pipe(yf((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 nC.ArrowDown:e.preventDefault(),this._windowRef.instance.next(),this._showHint();break;case nC.ArrowUp:e.preventDefault(),this._windowRef.instance.prev(),this._showHint();break;case nC.Enter:case nC.Tab:var t=this._windowRef.instance.getActive();Wy(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=by(n,"keydown").pipe(wy(o),Kh((function(e){return e.which===nC.Escape})),Tf((function(e){return e.preventDefault()}))),i=by(n,"mousedown").pipe(L((function(e){var t=e.target;return 2!==e.button&&!rC(t,void 0)&&!rC(t,a)})),wy(o)),s=by(n,"mouseup").pipe(Sy(i),Kh((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]:hy,r=(t=e)instanceof Date&&!isNaN(+t)?+e-n.now():Math.abs(e);return function(e){return e.lift(new Iy(r,n))}}(0),wy(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 K(t,void 0).lift(new ky)})([r.pipe(L((function(e){return 0}))),s.pipe(L((function(e){return 1})))]).subscribe((function(n){return t.run((function(){return e.dismissPopup()}))}))},iC?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):Uy(e)}},{key:"_writeInputValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",Uy(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||ab)(Sa(qs),Sa(_c),Sa(Zs),Sa(ua),Sa(Ws),Sa(lb),Sa(kl),Sa(cb),Sa(ru),Sa(kl),Sa(Ko),Sa(jl))},ab.\u0275dir=Ct({type:ab,selectors:[["input","ngbTypeahead",""]],hostAttrs:["autocapitalize","off","autocorrect","off","role","combobox","aria-multiline","false"],hostVars:7,hostBindings:function(e,t){1&e&&Fa("blur",(function(){return t.handleBlur()}))("keydown",(function(e){return t.handleKeyDown(e)})),2&e&&(ws("autocomplete",t.autocomplete),wa("aria-autocomplete",t.showHint?"both":"list")("aria-activedescendant",t.activeDescendant)("aria-owns",t.isPopupOpen()?t.popupId:null)("aria-expanded",t.isPopupOpen()),as("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:[js([ub])]}),ab),db=((ob=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:ob}),ob.\u0275inj=de({factory:function(e){return new(e||ob)},imports:[[Ku]]}),ob),pb=[Yy,$y,Jy,eC,tC,xC,AC,zC,UC,WC,qC,XC,KC,ZC,YC,$C,db,QC],gb=((sb=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:sb}),sb.\u0275inj=de({factory:function(e){return new(e||sb)},imports:[pb,Yy,$y,Jy,eC,tC,xC,AC,zC,UC,WC,qC,XC,KC,ZC,YC,$C,db,QC]}),sb),vb=["instance"];function mb(e,t){if(1&e&&(Ia(0,"div"),bs(1),Na()),2&e){var n=t.$implicit;bi(1),Ps(" ",n," ")}}function _b(e,t){if(1&e&&(Ia(0,"div",37),Oa(1,mb,2,1,"div",38),Na()),2&e){var n=za();bi(1),Aa("ngForOf",n.errors)}}function yb(e,t){1&e&&(Ia(0,"div",39),bs(1," Zipcode must be at least 5 characters long. "),Na())}var Cb,bb,kb,Pb,wb=["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"],Ob=((Pb=function(){function e(t,n,r,i){var o=this;_classCallCheck(this,e),this.formBuilder=t,this.http=n,this.router=r,this.mobileService=i,this.visible=!1,this.status="ready",this.endpoint="https://salesforcevirtualadventures.com/add",this.environment=Jl,this.jsonHeader={headers:new w_({"Content-Type":"application/json"})},this.icons={close:b_.faTimes},this.focus$=new T,this.click$=new T,this.formGroup=this.formBuilder.group({first_name:new sm(null),last_name:new sm(null),home_address:new sm(null),home_address_2:new sm(null),city:new sm(null),state:new sm(null),zipcode:new sm(null,{validators:[hv.required,hv.minLength(5)],updateOn:"blur"}),phone_number:new sm(null),email:new sm(null),privacy:new sm(!1,[hv.requiredTrue])}),this.search=function(e){var t=e.pipe(fy(50),vy()),n=o.click$.pipe(Kh((function(){return!o.instance.isPopupOpen()})));return Q(t,o.focus$,n).pipe(L((function(e){return""===e?wb:wb.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:"North Carolina",zipcode:"28215",phone_number:"1234567890",email:"test0003@gmail.com",privacy:!1})}},{key:"submit",value:function(e){var t=this;e.source="GOOGLE",this.formGroup.valid&&"ready"===this.status&&(this.errors=[],this.status="loading",this.http.post(this.endpoint,e,this.jsonHeader).pipe(uf((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",yy(e.error)}))).subscribe((function(e){t.status="ready",t.mobileService.hasSubmittedYetiForm=!0,t.router.navigateByUrl("/yeti/confirmation")})))}},{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||Pb)(Sa(Am),Sa(X_),Sa(Yp),Sa(Ng))},Pb.\u0275cmp=pt({type:Pb,selectors:[["app-yeti-form"]],viewQuery:function(e,t){var n;1&e&&Kc(vb,!0),2&e&&Xc(n=Yc())&&(t.instance=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&as("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-lg-12"],["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"],["for","city",1,"sr-only"],["type","search","id","city","formControlName","city","placeholder","City",1,"form-control"],["for","state",1,"sr-only"],["id","state","type","search","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,"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&&(Ia(0,"app-mobile-page",0),Ia(1,"div",1),Ia(2,"div",2),Ia(3,"div",3),Ia(4,"div",4),Ra(5,"button",5),Ia(6,"h2"),bs(7,"Please tell us where to ship your YETI"),Ia(8,"sup"),bs(9,"\xae"),Na(),bs(10,"."),Na(),Ia(11,"form",6),Fa("submit",(function(){return t.submit(t.formGroup.value)})),Oa(12,_b,2,1,"div",7),Oa(13,yb,2,0,"div",8),Ia(14,"div",2),Ia(15,"div",9),Ia(16,"label",10),bs(17,"First Name"),Na(),Ra(18,"input",11),Na(),Na(),Ia(19,"div",2),Ia(20,"div",9),Ia(21,"label",12),bs(22,"Last Name"),Na(),Ra(23,"input",13),Na(),Na(),Ia(24,"div",2),Ia(25,"div",14),Ia(26,"label",15),bs(27,"Address Line 1"),Na(),Ra(28,"input",16),Na(),Na(),Ia(29,"div",2),Ia(30,"div",14),Ia(31,"label",17),bs(32,"Address Line 2 (optional)"),Na(),Ra(33,"input",18),Na(),Na(),Ia(34,"div",2),Ia(35,"div",9),Ia(36,"label",19),bs(37,"City"),Na(),Ra(38,"input",20),Na(),Na(),Ia(39,"div",2),Ia(40,"div",9),Ia(41,"label",21),bs(42,"State"),Na(),Ia(43,"input",22,23),Fa("focus",(function(e){return t.focus$.next(e.target.value)}))("click",(function(e){return t.click$.next(e.target.value)})),Na(),Na(),Na(),Ia(45,"div",2),Ia(46,"div",9),Ia(47,"label",24),bs(48,"Zip"),Na(),Ra(49,"input",25),Na(),Na(),Ia(50,"div",2),Ia(51,"div",9),Ia(52,"label",26),bs(53,"Phone"),Na(),Ra(54,"input",27),Na(),Na(),Ia(55,"div",2),Ia(56,"div",9),Ia(57,"label",28),bs(58,"Email"),Na(),Ra(59,"input",29),Na(),Na(),Ia(60,"div",2),Ia(61,"div",9),Ia(62,"div",30),Ia(63,"label"),Ra(64,"input",31),bs(65," By registering, you confirm that you agree to the processing of your personal data by Salesforce as described in the "),Ia(66,"a",32),bs(67,"Privacy Statement"),Na(),bs(68,". "),Na(),Na(),Na(),Na(),Ia(69,"div",2),Ia(70,"div",9),Ia(71,"div",33),Ia(72,"button",34),bs(73," Opt Out "),Na(),Ia(74,"button",35),bs(75," Submit "),Na(),Na(),Na(),Na(),Ia(76,"p",36),bs(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. "),Na(),Na(),Na(),Na(),Na(),Na(),Na()),2&e&&(bi(11),as("loading","loading"===t.status),Aa("formGroup",t.formGroup),bi(1),Aa("ngIf",(null==t.errors?null:t.errors.length)>0),bi(1),Aa("ngIf",t.zipcode.invalid&&(t.zipcode.dirty||t.zipcode.touched)&&t.zipcode.errors.minlength),bi(30),Aa("ngbTypeahead",t.search)("editable",!1),bi(31),as("disabled",!t.formGroup.valid),Aa("disabled",!t.formGroup.valid))},directives:[Hg,$p,fm,av,gm,Gu,Zg,ov,Tm,fb,Xg,Ru],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;border:0}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-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--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#0092da}.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%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px}.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.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}.mobile-content[_ngcontent-%COMP%]{padding-top:58px}.card[_ngcontent-%COMP%]{border-radius:0;margin-top:0;margin-bottom:0}.card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{margin-bottom:8px}.card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:17px;text-align:center;margin-bottom:22px}@media (max-width:767.98px){.col-lg-12--no-padding-sm[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}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}"]}),Pb),Mb=((kb=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||kb)},kb.\u0275cmp=pt({type:kb,selectors:[["app-yeti-confirmation"]],decls:12,vars:1,consts:[["backgroundImage","assets/images/mobile-bg-yeti.jpg",3,"centerContent"],[1,"container"],[1,"row"],[1,"col-lg-12"],[1,"card","card--has-bg","card--orange"],["routerLink","/marketing-cloud-analytics-360/videos",1,"card__close"],["href","mailto:salesforceandgoogle@salesforce.com"]],template:function(e,t){1&e&&(Ia(0,"app-mobile-page",0),Ia(1,"div",1),Ia(2,"div",2),Ia(3,"div",3),Ia(4,"div",4),Ra(5,"button",5),Ia(6,"h2"),bs(7,"We got your selection."),Na(),Ia(8,"p"),bs(9," Please allow 3-5 business days for your prize to be processed. If you have any questions please contact us: "),Ia(10,"a",6),bs(11,"salesforceandgoogle@salesforce.com"),Na(),Na(),Na(),Na(),Na(),Na(),Na()),2&e&&Aa("centerContent",!0)},directives:[Hg,$p],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;border:0}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-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--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#0092da}.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%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px}.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.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}.card[_ngcontent-%COMP%], .card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-align:center}.card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{text-transform:uppercase;align-self:center}"]}),kb),Sb=((bb=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.hasSeenYetiBottleForm&&this.router.navigateByUrl("/menu"),!0}}]),e}()).\u0275fac=function(e){return new(e||bb)(Ze(Yp),Ze(Ng))},bb.\u0275prov=fe({token:bb,factory:bb.\u0275fac,providedIn:"root"}),bb),Tb=((Cb=function(){function e(){var t=this;_classCallCheck(this,e),this.lastMessage=new Lh(null),this.sendToParent=function(e,t){window.parent.postMessage({message:e,params:t},"http://localhost:4200")},this.sendToPlayCanvas=function(e){var n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(null===(r=null===(n=t.target)||void 0===n?void 0:n.contentWindow)||void 0===r?void 0:r.tellPlayCanvas)&&t.target.contentWindow.tellPlayCanvas({event:e,params:i})},this.getProgressData=function(){return JSON.parse(localStorage.getItem("progressData"))||{}},this.sendStatus=function(){return t.sendToPlayCanvas("sendStatus",{allowTracking:t.allowTracking,regionUS:t.regionUS,formSubmitted:t.formSubmitted,progressData:t.getProgressData()})},this.getStatus=function(){return setTimeout((function(){return t.sendStatus()}),1)}}return _createClass(e,[{key:"init",value:function(e){this.target=e.nativeElement,this.receiveEventsFromPlayCanvas()}},{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();return n[e]=t,(null==n?void 0:n.TentContent)&&(null==n?void 0:n.FireContent)&&(n.CampingScene=!0),(null==n?void 0:n.AstroContent)&&(null==n?void 0:n.WaterfallContent)&&(null==n?void 0:n.PhoneboothContent)&&(n.WaterfallScene=!0),(null==n?void 0:n.BulletinContent)&&(null==n?void 0:n.RangerContent)&&(null==n?void 0:n.SummitContent)&&(n.RangerScene=!0),(null==n?void 0:n.TrailheadContent)&&(n.TrailheadScene=!0),n.CampingScene&&n.WaterfallScene&&n.RangerScene&&n.TrailheadScene&&(n.WholeScene=!0),localStorage.setItem("progressData",JSON.stringify(n)),this.getProgressData()}},{key:"shareItem",value:function(e,t){"facebook"===e?this.popup(Jl.links.facebook):"twitter"===e?this.popup(Jl.links.twitter):"linkedin"===e&&this.popup(Jl.links.linkedIn)}},{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||Cb)},Cb.\u0275prov=fe({token:Cb,factory:Cb.\u0275fac,providedIn:"root"}),Cb);function xb(e,t){if(1&e&&(Ia(0,"div"),bs(1),Na()),2&e){var n=t.$implicit;bi(1),Ps(" ",n," ")}}function Ab(e,t){if(1&e&&(Ia(0,"div",37),Oa(1,xb,2,1,"div",38),Na()),2&e){var n=za();bi(1),Aa("ngForOf",n.errors)}}var Eb,Ib,Nb,Rb,Db,Gb,Hb,Vb,Lb=[{path:"compliance",component:Nm},{path:"",component:Vg,canActivate:[Lg]},{path:"menu",component:Ym,canActivate:[Lg]},{path:"marketing-cloud-analytics-360",component:s_,canActivate:[Lg]},{path:"marketing-cloud-analytics-360/videos",component:s_,canActivate:[Lg]},{path:"sales-cloud-g-suite",component:h_,canActivate:[Lg]},{path:"sales-cloud-g-suite/videos",component:h_,canActivate:[Lg]},{path:"service-cloud-and-voice",component:__,canActivate:[Lg]},{path:"service-cloud-and-voice/videos",component:__,canActivate:[Lg]},{path:"video/:id",component:y_,canActivate:[Lg]},{path:"yeti/congratulations",component:C_,canActivate:[Lg,Sb]},{path:"yeti/form",component:Ob,canActivate:[Lg,Sb]},{path:"yeti/confirmation",component:Mb,canActivate:[Lg,Sb]},{path:"request-meeting/:type",component:(Eb=function(){function e(t,n,r,i){_classCallCheck(this,e),this.playCanvasService=t,this.formBuilder=n,this.http=r,this.route=i,this.status="ready",this.endpoint="https://salesforcevirtualadventures.com/email",this.environment=Jl,this.jsonHeader={headers:new w_({"Content-Type":"application/json"})},this.icons={close:b_.faTimes},this.formGroup=this.formBuilder.group({modal_type:new sm("Help"),first_name:new sm(null),last_name:new sm(null),company:new sm(null),email:new sm(null),product_interest:new sm(""),meeting_type:new sm(""),input_text:new sm(null)})}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.paramSubscription=this.route.params.subscribe((function(t){e.formGroup.patchValue({modal_type:t.type.charAt(0).toUpperCase()+t.type.slice(1)})})),!this.environment.production&&this.environment.debug.autofillForm&&this.formGroup.patchValue({email:"test0125@gmail.com",first_name:"Test",last_name:"User",company:"Conductive",product_interest:"Sales Cloud + G Suite",meeting_type:"General Inquiry",input_text:"Hello world"})}},{key:"ngOnDestroy",value:function(){this.paramSubscription.unsubscribe()}},{key:"close",value:function(){window.history.back()}},{key:"submit",value:function(e){var t=this;e.source="Google",this.formGroup.valid&&"ready"===this.status&&(this.errors=[],this.status="loading",this.http.post(this.endpoint,e,this.jsonHeader).pipe(uf((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",yy(e.error)}))).subscribe((function(e){t.status="ready",t.close()})))}},{key:"humanizeError",value:function(e){var t;return"Invalid value"===e.msg&&(t="The ".concat(e.param.replace(/_/g," ")," field is required.")),t||(t="An unknown error has occurred."),t}}]),e}(),Eb.\u0275fac=function(e){return new(e||Eb)(Sa(Tb),Sa(Am),Sa(X_),Sa(Bd))},Eb.\u0275cmp=pt({type:Eb,selectors:[["app-request-meeting-mobile-form"]],decls:71,vars:7,consts:[["backgroundImage","assets/images/mobile-bg-pwc.jpg",2,"padding","58px 0 0"],[1,"container","height-100"],[1,"row","height-100"],[1,"col-lg-12","col-lg-12--no-padding-sm"],[1,"card","card--teal"],[1,"card__close",3,"click"],["src","assets/images/salesforce.svg","alt","Salesforce"],["autocomplete","false",3,"formGroup","submit"],["class","alert alert-danger","role","alert",4,"ngIf"],[1,"row"],[1,"col-lg-12"],["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"],["for","email",1,"sr-only"],["type","search","id","email","formControlName","email","placeholder","Email",1,"form-control"],["for","company",1,"sr-only"],["type","search","id","company","formControlName","company","placeholder","Company",1,"form-control"],[1,"row","form-group"],["for","product_interest",1,"sr-only"],["id","product_interest","formControlName","product_interest",1,"form-control"],["value","","selected",""],["value","Marketing Cloud + Analytics 360"],["value","Sales Cloud + G Suite"],["value","Tableau + BigQuery"],["value","Other"],["for","meeting_type",1,"sr-only"],["id","meeting_type","formControlName","meeting_type",1,"form-control"],["value","General Inquiry"],["value","Request a Demo"],["value","Follow-up Meeting"],["value","Request Pricing"],["for","input_text",1,"sr-only"],["id","input_text","formControlName","input_text","placeholder","Optional text here",1,"form-control"],[1,"buttons"],["type","submit",1,"btn","btn-white",3,"disabled"],["role","alert",1,"alert","alert-danger"],[4,"ngFor","ngForOf"]],template:function(e,t){1&e&&(Ia(0,"app-mobile-page",0),Ia(1,"div",1),Ia(2,"div",2),Ia(3,"div",3),Ia(4,"div",4),Ia(5,"button",5),Fa("click",(function(){return t.close()})),Na(),Ra(6,"img",6),Ia(7,"h2"),bs(8,"Schedule a meeting and talk to an expert."),Na(),Ia(9,"form",7),Fa("submit",(function(){return t.submit(t.formGroup.value)})),Oa(10,Ab,2,1,"div",8),Ia(11,"div",9),Ia(12,"div",10),Ia(13,"label",11),bs(14,"First Name"),Na(),Ra(15,"input",12),Na(),Na(),Ia(16,"div",9),Ia(17,"div",10),Ia(18,"label",13),bs(19,"Last Name"),Na(),Ra(20,"input",14),Na(),Na(),Ia(21,"div",9),Ia(22,"div",10),Ia(23,"label",15),bs(24,"Email"),Na(),Ra(25,"input",16),Na(),Na(),Ia(26,"div",9),Ia(27,"div",10),Ia(28,"label",17),bs(29,"Company"),Na(),Ra(30,"input",18),Na(),Na(),Ia(31,"div",19),Ia(32,"div",10),Ia(33,"label",20),bs(34,"Product Interest"),Na(),Ia(35,"select",21),Ia(36,"option",22),bs(37,"Product Interest"),Na(),Ia(38,"option",23),bs(39,"Marketing Cloud + Analytics 360"),Na(),Ia(40,"option",24),bs(41,"Sales Cloud + G Suite"),Na(),Ia(42,"option",25),bs(43,"Tableau + BigQuery"),Na(),Ia(44,"option",26),bs(45,"Other"),Na(),Na(),Na(),Na(),Ia(46,"div",9),Ia(47,"div",10),Ia(48,"label",27),bs(49,"Meeting Type"),Na(),Ia(50,"select",28),Ia(51,"option",22),bs(52,"Meeting Type"),Na(),Ia(53,"option",29),bs(54,"General Inquiry"),Na(),Ia(55,"option",30),bs(56,"Request a Demo"),Na(),Ia(57,"option",31),bs(58,"Follow-up Meeting"),Na(),Ia(59,"option",32),bs(60,"Request Pricing"),Na(),Na(),Na(),Na(),Ia(61,"div",9),Ia(62,"div",10),Ia(63,"label",33),bs(64,"Optional text here"),Na(),Ra(65,"textarea",34),Na(),Na(),Ia(66,"div",9),Ia(67,"div",10),Ia(68,"div",35),Ia(69,"button",36),bs(70," Submit "),Na(),Na(),Na(),Na(),Na(),Na(),Na(),Na(),Na(),Na()),2&e&&(bi(9),as("loading","loading"===t.status),Aa("formGroup",t.formGroup),bi(1),Aa("ngIf",(null==t.errors?null:t.errors.length)>0),bi(59),as("disabled",!t.formGroup.valid),Aa("disabled",!t.formGroup.valid))},directives:[Hg,fm,av,gm,Gu,Zg,ov,Tm,Dv,Gv,jv,Ru],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;border:0}.card--wood[_ngcontent-%COMP%]{background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-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--blue[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%]{padding:30px 20px;margin-bottom:20px;color:#fff;text-align:left;border:4px solid #fff}.card--blue[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{margin:22px 0}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#fff;align-self:center}.card--blue[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-weight:700;align-self:flex-start;font-size:21px;margin-bottom:21px}.card--blue[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--maroon[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--plum[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .card--purple[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:30px}.card--maroon[_ngcontent-%COMP%]{background-color:#7f2443}.card--maroon[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#7f2443}.card--purple[_ngcontent-%COMP%]{background-color:#211747}.card--purple[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#211747}.card--plum[_ngcontent-%COMP%]{background-color:#4b2048}.card--plum[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#4b2048}.card--blue[_ngcontent-%COMP%]{background-color:#0092da}.card--blue[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{color:#0092da}.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%]{background:#fff}.card__inner[_ngcontent-%COMP%]{width:100%;display:flex}.card__inner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;font-weight:400;font-size:18px;margin:0;text-align:left;position:relative}.card.card--mobile[_ngcontent-%COMP%]{text-align:center}.card.card--mobile[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{max-width:120px;margin:0 auto 2rem}.card.card--mobile[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:1.2rem;margin-bottom:1.5rem}.card.card--mobile[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:1.5rem}.card__reveal[_ngcontent-%COMP%]{background:transparent;border:none}.card__reveal[_ngcontent-%COMP%]:focus{outline:0}.card__reveal[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px}.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.40c73f7b762c0188317b.svg) no-repeat 0 0;background-size:cover;border:0;position:absolute;top:6px;right:6px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif;line-height:1.3;letter-spacing:.2px}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif}.btn[_ngcontent-%COMP%]{font-family:Salesforce Sans,Arial,sans-serif}img[_ngcontent-%COMP%]{max-width:88px;margin-bottom:22px}.card[_ngcontent-%COMP%], .height-100[_ngcontent-%COMP%]{min-height:100%}.card[_ngcontent-%COMP%]{border-radius:0;margin-top:0;margin-bottom:0}@media (min-width:813px){.card[_ngcontent-%COMP%]{min-height:auto}}.card[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]{margin-bottom:16px}.card[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:17px;margin-bottom:22px;width:100%;text-align:center}@media (max-width:767.98px){.col-lg-12--no-padding-sm[_ngcontent-%COMP%]{padding-left:0;padding-right:0}}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%]{margin:0 1rem;text-transform:uppercase}"]}),Eb),canActivate:[Lg]}],Fb=((Ib=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:Ib}),Ib.\u0275inj=de({factory:function(e){return new(e||Ib)},imports:[[mg.forRoot(Lb)],mg]}),Ib),Bb={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"},jb={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")},zb={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")},Ub={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"},Wb=Object.assign(Object.assign(Object.assign({},jb),zb),{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})/}),qb={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_]+)/},Xb={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/},Kb=function(e,t){return e[t]=qb[t],e},Qb=Object.keys(qb).reduce(Kb,{}),Zb=function(e,t){return e[Bb[t]]=Xb[t],e},Yb=Object.keys(Xb).reduce(Zb,{}),$b=Object.freeze({__proto__:null,BROWSERS:Bb,MOBILES_RE:jb,TABLETS_RE:zb,DEVICES:Ub,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:Wb,OS_VERSIONS_RE_MAP:qb,BROWSER_VERSIONS_RE_MAP:Xb,OS_VERSIONS_RE:Qb,BROWSER_VERSIONS_RE:Yb,"\u02750":Kb,"\u02751":Zb}),Jb=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||this.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}(),ek=((Rb=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 Jb,Qu(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($b[n.const]).reduce((function(r,i){return"device"===$b[n.const][i]&&Qu(e.platformId)&&(e.reTree.test(e.userAgent,zb.iPad)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)?(r[$b[n.const][i]]="iPad",Object):(r[$b[n.const][i]]=e.reTree.test(t,$b[n.const+"_RE"][i]),r)}),{})})),n.forEach((function(t){e[t.prop]=Object.keys($b[t.const]).map((function(e){return $b[t.const][e]})).reduce((function(n,r){return"device"===t.prop&&n===$b[t.const].ANDROID?e[t.prop][r]?r:n:n===$b[t.const].UNKNOWN&&e[t.prop][r]?r:n}),$b[t.const].UNKNOWN)})),this.browser_version="0",this.browser!==Bb.UNKNOWN){var r=this.reTree.exec(t,Yb[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(jb).find((function(n){return e.reTree.test(t,jb[n])}))}},{key:"isTablet",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent;return!(!Qu(this.platformId)||!(this.reTree.test(this.userAgent,zb.iPad)||"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))||!!Object.keys(zb).find((function(n){return!!e.reTree.test(t,zb[n])}))}},{key:"isDesktop",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.userAgent,t=[Ub.PS4,Ub.CHROME_BOOK,Ub.UNKNOWN];return(this.device!==Ub.UNKNOWN||!this.isMobile(e)&&!this.isTablet(e))&&t.indexOf(this.device)>-1}}]),e}()).\u0275fac=function(e){return new(e||Rb)(Ze(al))},Rb.\u0275prov=fe({factory:function(){return new Rb(Ze(al))},token:Rb,providedIn:"root"}),Rb),tk=((Nb=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[ek]}}}]),e}()).\u0275mod=_t({type:Nb}),Nb.\u0275inj=de({factory:function(e){return new(e||Nb)},imports:[[Ku]]}),Nb),nk=function e(t){_classCallCheck(this,e),this.available=!1,t&&Object.assign(this,{product:t.product,stockRemaining:t.stock_remaining,date:new Date(t.date),available:t.stock_remaining>Jl.stockThreshold})},rk=((Vb=function(){function e(t){var n=this;_classCallCheck(this,e),this.http=t,this.endpoint="https://salesforcevirtualadventures.com/stock",this.environment=Jl,this.jsonHeader={headers:new w_({"Content-Type":"application/json"})},this.productAvailabilityValue=[],this.productAvailability=new Lh(this.productAvailabilityValue),this.get=function(){return n.http.get(n.endpoint,Object.assign({},n.jsonHeader)).pipe(uf((function(e){return n.handleError(e)})))},this.get().subscribe((function(e){n.productAvailabilityValue=[],e.filter((function(e){return n.environment.products.includes(e.product)})).map((function(e){return n.productAvailabilityValue.push(new nk(e))})),n.productAvailability.next(n.productAvailabilityValue)}))}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)),yy("API Service has failed.")}}]),e}()).\u0275fac=function(e){return new(e||Vb)(Ze(X_))},Vb.\u0275prov=fe({token:Vb,factory:Vb.\u0275fac,providedIn:"root"}),Vb),ik=((Hb=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.stockService=t,this.playCanvasService=n,this.selectedPrize=new Lh(null),this.openPrizeSelectPopup=new Gc,this.productAvailability=[],this.stockService.productAvailability.subscribe((function(e){return r.productAvailability=e}))}return _createClass(e,[{key:"showPrizePopupIfTriggered",value:function(e,t){if(this.playCanvasService.regionUS&&this.productAvailability&&this.productAvailability.filter((function(e){return e.available})).length>0){var n=(!(null==e?void 0:e.AstroContent)||!(null==e?void 0:e.PhoneboothContent)||!(null==e?void 0:e.WaterfallContent))&&(null==t?void 0:t.AstroContent)&&(null==t?void 0:t.PhoneboothContent)&&(null==t?void 0:t.WaterfallContent);((!(null==e?void 0:e.FireContent)||!(null==e?void 0:e.TentContent))&&(null==t?void 0:t.FireContent)&&(null==t?void 0:t.TentContent)||n)&&this.openPrizeSelectPopup.emit()}}}]),e}()).\u0275fac=function(e){return new(e||Hb)(Ze(rk),Ze(Tb))},Hb.\u0275prov=fe({token:Hb,factory:Hb.\u0275fac,providedIn:"root"}),Hb),ok=((Gb=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"ngOnInit",value:function(){}}]),e}()).\u0275fac=function(e){return new(e||Gb)},Gb.\u0275cmp=pt({type:Gb,selectors:[["app-header"]],decls:2,vars:0,consts:[["href","http://salesforce.com/","target","_blank"]],template:function(e,t){1&e&&(Ia(0,"a",0),bs(1," See More from Salesforce\n"),Na())},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}"]}),Gb),ak=((Db=function(){function e(t,n){_classCallCheck(this,e),this.playCanvasService=t,this.formBuilder=n,this.closed=new Gc,this.visible=!1,this.formGroup=this.formBuilder.group({trackingAllowed:new sm(!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||Db)(Sa(Tb),Sa(Am))},Db.\u0275cmp=pt({type:Db,selectors:[["app-compliance"]],hostVars:2,hostBindings:function(e,t){2&e&&as("visible",t.visible)},inputs:{visible:"visible"},outputs:{closed:"closed"},decls:18,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"],[1,"disclaimer"]],template:function(e,t){1&e&&(Ra(0,"div",0),Ia(1,"div",1),Ia(2,"form",2),Ia(3,"h1"),bs(4,"Are you based in the U.S.?"),Na(),Ia(5,"div",3),Ia(6,"button",4),Fa("click",(function(){return t.yes()})),bs(7,"Yes"),Na(),Ia(8,"button",4),Fa("click",(function(){return t.no()})),bs(9,"No"),Na(),Na(),Ia(10,"div",5),Ra(11,"input",6),Ia(12,"label",7),bs(13," By checking this box, I consent to data processing as described in the "),Ia(14,"a",8),bs(15,"Salesforce Privacy Policy"),Na(),Na(),Ia(16,"p",9),bs(17," Promotional offers open to eligible Salesforce + Google Virtual Experience attendees residing in the U.S. (incl. DC). While supplies last. Restrictions apply. "),Na(),Na(),Na(),Na()),2&e&&(bi(2),Aa("formGroup",t.formGroup))},directives:[fm,av,gm,Xg,ov,Tm],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(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;border-radius:25px;padding:4rem 3rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-align:center;font-size:25px;line-height:25px;margin-bottom:18px;margin-top:0}[_nghost-%COMP%] .popup--has-buttons-below[_ngcontent-%COMP%]{padding-bottom:0;overflow:visible;max-height:calc(100vh - 100px)}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%]{position:relative;top:90px;overflow:visible;display:flex}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%]{width:279px;background:transparent url(next.5ccfc6.3dd3782c81af939a6ed3.png) no-repeat 0 0;background-size:contain;display:flex;color:#fff;font-size:18px;line-height:24px;height:74px;align-content:center;align-items:center;justify-content:center;justify-self:center;margin:0 auto;cursor:pointer;border:0;transition:all .25s ease-out}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button.disabled[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-left:14px}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:14px}[_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-bg[_ngcontent-%COMP%]{pointer-events:none;position:absolute;z-index:10}[_nghost-%COMP%] .popup-bg--bottom-right[_ngcontent-%COMP%]{bottom:1px;right:0}[_nghost-%COMP%] .backdrop[_ngcontent-%COMP%]{cursor:auto}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{width:100%;max-width:680px}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%]{width:100%;max-width:550px;margin:3rem auto;display:flex;justify-content:space-between}[_nghost-%COMP%] .buttons[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{border-radius:11px;margin:0 8px;text-transform:uppercase;width:50%;min-width:80px;padding:1rem}.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}.disclaimer[_ngcontent-%COMP%]{font-weight:lighter;margin:2rem 0 0;padding:0}.disclaimer[_ngcontent-%COMP%], .fine-print[_ngcontent-%COMP%]{font-size:11px}.form-check[_ngcontent-%COMP%]{text-align:left}.form-check[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline}.form-check[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:16px}"]}),Db);function sk(e,t){if(1&e&&(Ia(0,"dl"),Ia(1,"dt"),bs(2,"Message:"),Na(),Ia(3,"dd"),bs(4),Na(),Ia(5,"dt"),bs(6,"Param 1:"),Na(),Ia(7,"dd"),bs(8),Na(),Ia(9,"dt"),bs(10,"Param 2:"),Na(),Ia(11,"dd"),bs(12),Na(),Ia(13,"dt"),bs(14,"Param 3:"),Na(),Ia(15,"dd"),bs(16),Na(),Na()),2&e){var n=za();bi(4),ks(n.data.message),bi(4),ks(n.data.param1),bi(4),ks(n.data.param2),bi(4),ks(n.data.param3)}}var ck,lk=((ck=function(){function e(t){_classCallCheck(this,e),this.playCanvasService=t,this.closed=new Gc,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||ck)(Sa(Tb))},ck.\u0275cmp=pt({type:ck,selectors:[["app-popup-message"]],hostVars:2,hostBindings:function(e,t){2&e&&as("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&&(Ia(0,"div",0),Fa("click",(function(){return t.close()})),Na(),Ia(1,"div",1),Ia(2,"p"),bs(3,"popup-message works!"),Na(),Oa(4,sk,17,4,"dl",2),Ia(5,"button",3),Fa("click",(function(){return t.close()})),bs(6,"Close me"),Na(),Na()),2&e&&(bi(4),Aa("ngIf",t.data))},directives:[Gu],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(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;border-radius:25px;padding:4rem 3rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-align:center;font-size:25px;line-height:25px;margin-bottom:18px;margin-top:0}[_nghost-%COMP%] .popup--has-buttons-below[_ngcontent-%COMP%]{padding-bottom:0;overflow:visible;max-height:calc(100vh - 100px)}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%]{position:relative;top:90px;overflow:visible;display:flex}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%]{width:279px;background:transparent url(next.5ccfc6.3dd3782c81af939a6ed3.png) no-repeat 0 0;background-size:contain;display:flex;color:#fff;font-size:18px;line-height:24px;height:74px;align-content:center;align-items:center;justify-content:center;justify-self:center;margin:0 auto;cursor:pointer;border:0;transition:all .25s ease-out}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button.disabled[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-left:14px}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:14px}[_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-bg[_ngcontent-%COMP%]{pointer-events:none;position:absolute;z-index:10}[_nghost-%COMP%] .popup-bg--bottom-right[_ngcontent-%COMP%]{bottom:1px;right:0}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{width:100%;max-width:640px}"]}),ck);function uk(e){return(uk="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 hk(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fk(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){hk(e,t,n[t])}))}return e}function dk(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 pk={},gk={};try{"undefined"!=typeof window&&(pk=window),"undefined"!=typeof document&&(gk=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&performance}catch(tS){}var vk=(pk.navigator||{}).userAgent,mk=void 0===vk?"":vk,_k=pk,yk=gk,Ck=!!yk.documentElement&&!!yk.head&&"function"==typeof yk.addEventListener&&"function"==typeof yk.createElement,bk=(~mk.indexOf("MSIE")||mk.indexOf("Trident/"),[1,2,3,4,5,6,7,8,9,10]),kk=bk.concat([11,12,13,14,15,16,17,18,19,20]),Pk={GROUP:"group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},wk=(["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",Pk.GROUP,Pk.SWAP_OPACITY,Pk.PRIMARY,Pk.SECONDARY].concat(bk.map((function(e){return"".concat(e,"x")}))).concat(kk.map((function(e){return"w-".concat(e)}))),_k.FontAwesomeConfig||{});yk&&"function"==typeof yk.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=dk(e,2),n=t[1],r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=yk.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(t[0]));null!=r&&(wk[n]=r)}));var Ok=fk({},{familyPrefix:"fa",replacementClass:"svg-inline--fa",autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},wk);Ok.autoReplaceSvg||(Ok.observeMutations=!1);var Mk=fk({},Ok);_k.FontAwesomeConfig=Mk;var Sk=_k||{};Sk.___FONT_AWESOME___||(Sk.___FONT_AWESOME___={}),Sk.___FONT_AWESOME___.styles||(Sk.___FONT_AWESOME___.styles={}),Sk.___FONT_AWESOME___.hooks||(Sk.___FONT_AWESOME___.hooks={}),Sk.___FONT_AWESOME___.shims||(Sk.___FONT_AWESOME___.shims=[]);var Tk=Sk.___FONT_AWESOME___,xk=[];Ck&&((yk.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(yk.readyState)||yk.addEventListener("DOMContentLoaded",(function e(){yk.removeEventListener("DOMContentLoaded",e),xk.map((function(e){return e()}))})));var Ak,Ek=function(){},Ik="undefined"!=typeof global&&void 0!==global.process&&"function"==typeof global.process.emit,Nk="undefined"==typeof setImmediate?setTimeout:setImmediate,Rk=[];function Dk(){for(var e=0;e<Rk.length;e++)Rk[e][0](Rk[e][1]);Rk=[],Ak=!1}function Gk(e,t){Rk.push([e,t]),Ak||(Ak=!0,Nk(Dk,0))}function Hk(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(tS){Bk(o,tS)}}Vk(o,r)||("fulfilled"===n&&Lk(o,r),"rejected"===n&&Bk(o,r))}function Vk(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"===uk(t))){var r=t.then;if("function"==typeof r)return r.call(t,(function(r){n||(n=!0,t===r?Fk(e,r):Lk(e,r))}),(function(t){n||(n=!0,Bk(e,t))})),!0}}catch(tS){return n||Bk(e,tS),!0}return!1}function Lk(e,t){e!==t&&Vk(e,t)||Fk(e,t)}function Fk(e,t){"pending"===e._state&&(e._state="settled",e._data=t,Gk(zk,e))}function Bk(e,t){"pending"===e._state&&(e._state="settled",e._data=t,Gk(Uk,e))}function jk(e){e._then=e._then.forEach(Hk)}function zk(e){e._state="fulfilled",jk(e)}function Uk(e){e._state="rejected",jk(e),!e._handled&&Ik&&global.process.emit("unhandledRejection",e._data,e)}function Wk(e){global.process.emit("rejectionHandled",e)}function qk(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof qk==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){Bk(t,e)}try{e((function(e){Lk(t,e)}),n)}catch(tS){n(tS)}}(e,this)}qk.prototype={constructor:qk,_state:"pending",_then:null,_data:void 0,_handled:!1,then:function(e,t){var n={owner:this,then:new this.constructor(Ek),fulfilled:e,rejected:t};return!t&&!e||this._handled||(this._handled=!0,"rejected"===this._state&&Ik&&Gk(Wk,this)),"fulfilled"===this._state||"rejected"===this._state?Gk(Hk,n):this._then.push(n),n.then},catch:function(e){return this.then(null,e)}},qk.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new qk((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)}))},qk.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new qk((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)}))},qk.resolve=function(e){return e&&"object"===uk(e)&&e.constructor===qk?e:new qk((function(t){t(e)}))},qk.reject=function(e){return new qk((function(t,n){n(e)}))};var Xk={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Kk(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function Qk(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function Zk(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n],";")}),"")}function Yk(e){return e.size!==Xk.size||e.x!==Xk.x||e.y!==Xk.y||e.rotate!==Xk.rotate||e.flipX||e.flipY}function $k(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 Jk={x:0,y:0,width:"100%",height:"100%"};function eP(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 tP(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,g=p.width,v=p.height,m="fak"===i,_=m?"":"fa-w-".concat(Math.ceil(g/v*16)),y=[Mk.replacementClass,o?"".concat(Mk.familyPrefix,"-").concat(o):"",_].filter((function(e){return-1===h.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(h.classes).join(" "),C={children:[],attributes:fk({},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(g," ").concat(v)})},b=m&&!~h.classes.indexOf("fa-fw")?{width:"".concat(g/v*16*.0625,"em")}:{};d&&(C.attributes["data-fa-i2svg"]=""),c&&C.children.push({tag:"title",attributes:{id:C.attributes["aria-labelledby"]||"title-".concat(u||Kk())},children:[c]});var k=fk({},C,{prefix:i,iconName:o,main:n,mask:r,maskId:l,transform:a,symbol:s,styles:fk({},b,h.styles)}),P=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=$k({transform:e.transform,containerWidth:o.width,iconWidth:i.width}),u={tag:"rect",attributes:fk({},Jk,{fill:"white"})},h=s.children?{children:s.children.map(eP)}:{},f={tag:"g",attributes:fk({},l.inner),children:[eP(fk({tag:s.tag,attributes:fk({},s.attributes,l.path)},h))]},d={tag:"g",attributes:fk({},l.outer),children:[f]},p="mask-".concat(a||Kk()),g="clip-".concat(a||Kk()),v={tag:"mask",attributes:fk({},Jk,{id:p,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[u,d]},m={tag:"defs",children:[{tag:"clipPath",attributes:{id:g},children:(t=c,"g"===t.tag?t.children:[t])},v]};return n.push(m,{tag:"rect",attributes:fk({fill:"currentColor","clip-path":"url(#".concat(g,")"),mask:"url(#".concat(p,")")},Jk)}),{children:n,attributes:r}}(k):function(e){var t=e.children,n=e.attributes,r=e.main,i=e.transform,o=Zk(e.styles);if(o.length>0&&(n.style=o),Yk(i)){var a=$k({transform:i,containerWidth:r.width,iconWidth:r.width});t.push({tag:"g",attributes:fk({},a.outer),children:[{tag:"g",attributes:fk({},a.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:fk({},r.icon.attributes,a.path)}]}]})}else t.push(r.icon);return{children:t,attributes:n}}(k),w=P.attributes;return k.children=P.children,k.attributes=w,s?function(e){var t=e.iconName,n=e.children,r=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:fk({},e.attributes,{id:!0===r?"".concat(e.prefix,"-").concat(Mk.familyPrefix,"-").concat(t):r}),children:n}]}]}(k):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,o=e.styles,a=e.transform;if(Yk(a)&&n.found&&!r.found){var s={x:n.width/n.height/2,y:.5};i.style=Zk(fk({},o,{"transform-origin":"".concat(s.x+a.x/16,"em ").concat(s.y+a.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(k)}var nP=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 rP(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 Tk.hooks.addPack||i?Tk.styles[e]=fk({},Tk.styles[e]||{},o):Tk.hooks.addPack(e,o),"fas"===e&&rP("fa",t)}var iP=Tk.styles,oP=Tk.shims,aP=function(){var e=function(e){return nP(iP,(function(t,n,r){return t[r]=nP(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 iP;nP(oP,(function(e,n){var r=n[1];return"far"!==r||t||(r="fas"),e[n[0]]={prefix:r,iconName:n[2]},e}),{})};function sP(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function cP(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?Qk(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(Qk(e[n]),'" ')}),"").trim()}(r),">").concat(o.map(cP).join(""),"</").concat(t,">")}function lP(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}aP(),(lP.prototype=Object.create(Error.prototype)).constructor=lP;var uP={fill:"currentColor"},hP={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},fP=(fk({},uP,{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"}),fk({},hP,{attributeName:"opacity"}));function dP(e){var t=e[0],n=e[1],r=dk(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(Mk.familyPrefix,"-").concat(Pk.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Mk.familyPrefix,"-").concat(Pk.SECONDARY),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(Mk.familyPrefix,"-").concat(Pk.PRIMARY),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}function pP(){Mk.autoAddCss&&!wP&&(function(e){if(e&&Ck){var t=yk.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=yk.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)}yk.head.insertBefore(t,r)}}(function(){var e="svg-inline--fa",t=Mk.familyPrefix,n=Mk.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}()),wP=!0)}function gP(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return cP(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(Ck){var t=yk.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function vP(e){var t=e.prefix,n=void 0===t?"fa":t,r=e.iconName;if(r)return sP(PP.definitions,n,r)||sP(Tk.styles,n,r)}fk({},uP,{cx:"256",cy:"364",r:"28"}),fk({},hP,{attributeName:"r",values:"28;14;28;28;14;28;"}),fk({},fP,{values:"1;0;1;1;0;1;"}),fk({},uP,{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"}),fk({},fP,{values:"1;0;0;0;0;1;"}),fk({},uP,{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"}),fk({},fP,{values:"0;0;1;1;0;0;"});var mP,_P,yP,CP,bP,kP,PP=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]=fk({},e.definitions[t]||{},i[t]),rP(t,i[t]),aP()}))}},{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}()),wP=!1,OP=(mP=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?Xk: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,g=void 0===p?[]:p,v=t.attributes,m=void 0===v?{}:v,_=t.styles,y=void 0===_?{}:_;if(e){var C=e.prefix,b=e.iconName,k=e.icon;return gP(fk({type:"icon"},e),(function(){return pP(),Mk.autoA11y&&(h?m["aria-labelledby"]="".concat(Mk.replacementClass,"-title-").concat(d||Kk()):(m["aria-hidden"]="true",m.focusable="false")),tP({icons:{main:dP(k),mask:s?dP(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:C,iconName:b,transform:fk({},Xk,r),symbol:o,title:h,maskId:l,titleId:d,extra:{attributes:m,styles:y,classes:g}})}))}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(e||{}).icon?e:vP(e||{}),r=t.mask;return r&&(r=(r||{}).icon?r:vP(r||{})),mP(n,fk({},t,{mask:r}))}),MP=((yP=function e(){_classCallCheck(this,e),this.defaultPrefix="fas",this.fallbackIcon=null,this.globalLibrary=!1}).\u0275fac=function(e){return new(e||yP)},yP.\u0275prov=fe({factory:function(){return new yP},token:yP,providedIn:"root"}),yP),SP=((_P=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||_P)},_P.\u0275prov=fe({factory:function(){return new _P},token:_P,providedIn:"root"}),_P),TP=((kP=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||kP)},kP.\u0275dir=Ct({type:kP,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},features:[Is]}),kP),xP=((bP=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=vP(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=OP(e,t);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(n.html.join("\n"))}}]),e}()).\u0275fac=function(e){return new(e||bP)(Sa(Nh),Sa(MP),Sa(SP),Sa(TP,8))},bP.\u0275cmp=pt({type:bP,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(e,t){2&e&&(ws("innerHTML",t.renderedIconHTML,Qr),wa("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:[Is],decls:0,vars:0,template:function(e,t){},encapsulation:2}),bP),AP=((CP=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:CP}),CP.\u0275inj=de({factory:function(e){return new(e||CP)}}),CP),EP=["video"];function IP(e,t){if(1&e){var n=Ha();Ia(0,"div",8),Ia(1,"a",9),Fa("click",(function(){return Yt(n),za(2).trackEvent("Learn About Amazon Connect\n")})),bs(2," Learn About Amazon Connect "),Na(),Na()}}function NP(e,t){if(1&e){var n=Ha();Ia(0,"div",8),Ia(1,"a",10),Fa("click",(function(){return Yt(n),za(2).trackEvent("Get More Information")})),bs(2," Get More Information "),Na(),Na()}}function RP(e,t){if(1&e&&(Da(0),Oa(1,IP,3,0,"div",7),Oa(2,NP,3,0,"div",7),Ga()),2&e){var n=za();bi(1),Aa("ngIf","PhoneboothContent"===n.videoKey),bi(1),Aa("ngIf","SummitContent"===n.videoKey)}}var DP,GP=((DP=function(){function e(t,n,r,i,o){var a=this;_classCallCheck(this,e),this.playCanvasService=t,this.prizeService=n,this.sanitizer=r,this.renderer=i,this.analyticsService=o,this.environment=Jl,this.closed=new Gc,this.visible=!1,this.hasCtasBar=!1,this.achievementAcquired=!1,this.icons={close:b_.faTimes},this.shouldShowCtaBarNow=!1,this.supposedCurrentTime=0,this.ngOnInit=function(){return a.calculateChanges()},this.ngOnChanges=function(){return a.calculateChanges()}}return _createClass(e,[{key:"ngAfterViewInit",value:function(){var e=this;Jl.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=Jl.showVideoCtaBars&&["Zulily_Box","PWC_Sign_Bottom"].includes(this.videoKey)}},{key:"open",value:function(e){var t=this;this.analyticsService.trackEvent("playVideo",e),this.shouldShowCtaBarNow=!1,this.progressListener=this.renderer.listen(this.video.nativeElement,"timeupdate",(function(){var n=t.video.nativeElement.currentTime,r=Math.floor(100/t.video.nativeElement.duration*n);Jl.videos[e].hasOwnProperty("ctas")&&(t.shouldShowCtaBarNow=!1,Jl.videos[e].ctas.forEach((function(e){n>=e.start&&n<=e.end&&(t.shouldShowCtaBarNow=!0)}))),r>=95&&(t.achievementAcquired=!0)})),this.achievementAcquired=!1,this.videoKey=e,this.videoId=Jl.videos[e].src,this.visible=!0,this.calculateChanges()}},{key:"close",value:function(){if(this.visible=!1,this.video.nativeElement.pause(),this.progressListener(),this.src=null,this.closed.emit(),this.achievementAcquired){var e=this.playCanvasService.getProgressData(),t=this.playCanvasService.setProgress(this.videoKey,!0);this.playCanvasService.sendStatus(),this.prizeService.showPrizePopupIfTriggered(e,t)}}},{key:"trackEvent",value:function(e){this.analyticsService.trackEvent("videoCTA",{video:this.videoKey,cta:e})}}]),e}()).\u0275fac=function(e){return new(e||DP)(Sa(Tb),Sa(ik),Sa(Nh),Sa(Zs),Sa(Jm))},DP.\u0275cmp=pt({type:DP,selectors:[["app-popup-video"]],viewQuery:function(e,t){var n;1&e&&Qc(EP,!0),2&e&&Xc(n=Yc())&&(t.video=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&as("visible",t.visible)},outputs:{closed:"closed"},decls:7,vars:5,consts:[[1,"backdrop"],[1,"popup"],["width","820","height","461","autoplay","","controls","",3,"src"],["video",""],[1,"close",3,"click"],[3,"icon"],[4,"ngIf"],["class","cta-overlay",4,"ngIf"],[1,"cta-overlay"],["target","_blank","href","https://aws.amazon.com/connect/features/",1,"right",3,"click"],["target","_blank","href","https://salesforce.com/Government",1,"right",3,"click"]],template:function(e,t){1&e&&(Ra(0,"div",0),Ia(1,"div",1),Ra(2,"video",2,3),Ia(4,"button",4),Fa("click",(function(){return t.close()})),Ra(5,"fa-icon",5),Na(),Oa(6,RP,3,2,"ng-container",6),Na()),2&e&&(bi(1),as("has-ctas",t.hasCtasBar),bi(1),Aa("src",t.src,Yr),bi(3),Aa("icon",t.icons.close),bi(1),Aa("ngIf",t.environment.showVideoCtaOverlays&&t.shouldShowCtaBarNow))},directives:[xP,Gu],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(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;border-radius:25px;padding:4rem 3rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-align:center;font-size:25px;line-height:25px;margin-bottom:18px;margin-top:0}[_nghost-%COMP%] .popup--has-buttons-below[_ngcontent-%COMP%]{padding-bottom:0;overflow:visible;max-height:calc(100vh - 100px)}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%]{position:relative;top:90px;overflow:visible;display:flex}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%]{width:279px;background:transparent url(next.5ccfc6.3dd3782c81af939a6ed3.png) no-repeat 0 0;background-size:contain;display:flex;color:#fff;font-size:18px;line-height:24px;height:74px;align-content:center;align-items:center;justify-content:center;justify-self:center;margin:0 auto;cursor:pointer;border:0;transition:all .25s ease-out}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button.disabled[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-left:14px}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:14px}[_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-bg[_ngcontent-%COMP%]{pointer-events:none;position:absolute;z-index:10}[_nghost-%COMP%] .popup-bg--bottom-right[_ngcontent-%COMP%]{bottom:1px;right:0}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{width:calc(100% - 60px);max-width:1280px;height:0;padding-bottom:calc(56.25% - 60px);overflow:visible}@media (min-width:1280px){[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{padding-bottom:0;height:740px}}@media (max-height:674px){[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{padding-bottom:0;height:95vh;width:165.168vh}}[_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% - 60px);height:calc(100% - 60px);position:absolute;top:30px;left:30px}[_nghost-%COMP%] .close[_ngcontent-%COMP%]{top:-10px;right:-7px;font-size:31px}[_nghost-%COMP%] .cta-overlay[_ngcontent-%COMP%]{position:absolute;height:16%;bottom:16%;left:30px;width:calc(100% - 60px);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:#211747}[_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:#211747}"]}),DP);function HP(e,t){if(1&e&&(Ia(0,"div"),bs(1),Na()),2&e){var n=t.$implicit;bi(1),Ps(" ",n," ")}}function VP(e,t){if(1&e&&(Ia(0,"div",43),Oa(1,HP,2,1,"div",44),Na()),2&e){var n=za();bi(1),Aa("ngForOf",n.errors)}}var LP,FP,BP=((LP=function(){function e(t,n,r){_classCallCheck(this,e),this.playCanvasService=t,this.formBuilder=n,this.http=r,this.closed=new Gc,this.visible=!1,this.status="ready",this.endpoint="https://salesforcevirtualadventures.com/email",this.environment=Jl,this.jsonHeader={headers:new w_({"Content-Type":"application/json"})},this.icons={close:b_.faTimes},this.focus$=new T,this.click$=new T,this.formGroup=this.formBuilder.group({modal_type:new sm("Help"),first_name:new sm(null),last_name:new sm(null),company:new sm(null),email:new sm(null),product_interest:new sm(""),meeting_type:new sm(""),input_text:new sm(null)})}return _createClass(e,[{key:"ngOnInit",value:function(){!this.environment.production&&this.environment.debug.autofillForm&&this.formGroup.patchValue({email:"test0125@gmail.com",first_name:"Test",last_name:"User",company:"Conductive",product_interest:"Sales Cloud + G Suite",meeting_type:"General Inquiry",input_text:"Hello world"})}},{key:"open",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Help";this.formGroup.patchValue({modal_type:e}),this.visible=!0}},{key:"close",value:function(){this.visible=!1,this.closed.emit()}},{key:"submit",value:function(e){var t=this;e.source="AWS",this.formGroup.valid&&"ready"===this.status&&(this.errors=[],this.status="loading",this.http.post(this.endpoint,e,this.jsonHeader).pipe(uf((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",yy(e.error)}))).subscribe((function(){t.status="ready",t.closed.emit(),t.visible=!1})))}},{key:"humanizeError",value:function(e){var t;return"Invalid value"===e.msg&&(t="The ".concat(e.param.replace(/_/g," ")," field is required.")),t||(t="An unknown error has occurred."),t}}]),e}()).\u0275fac=function(e){return new(e||LP)(Sa(Tb),Sa(Am),Sa(X_))},LP.\u0275cmp=pt({type:LP,selectors:[["app-request-meeting-form"]],hostVars:2,hostBindings:function(e,t){2&e&&as("visible",t.visible)},inputs:{visible:"visible"},outputs:{closed:"closed"},decls:81,vars:8,consts:[[1,"backdrop",3,"click"],[1,"popup"],["src","assets/images/salesforce.svg","alt","Salesforce"],["autocomplete","false",3,"formGroup","submit"],["class","alert alert-danger","role","alert",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-lg-12"],["for","email",1,"sr-only"],["type","search","id","email","formControlName","email","placeholder","Email",1,"form-control"],["for","company",1,"sr-only"],["type","search","id","company","formControlName","company","placeholder","Company",1,"form-control"],[1,"row","form-group"],["for","product_interest",1,"sr-only"],["id","product_interest","formControlName","product_interest",1,"form-control"],["value","","selected",""],["value","Service Cloud"],["value","Service Cloud Voice"],["value","CRM"],["value","Platform"],["value","Integrations"],["value","Private Connect"],["value","Tableau"],["value","Mulesoft"],["value","Government Cloud Plus"],["value","Trailhead"],["value","Other"],["for","meeting_type",1,"sr-only"],["id","meeting_type","formControlName","meeting_type",1,"form-control"],["value","General Inquiry"],["value","Request a Demo"],["value","Follow-up Meeting"],["value","Request Pricing"],["for","input_text",1,"sr-only"],["id","input_text","formControlName","input_text","placeholder","Optional text here",1,"form-control"],[1,"buttons"],["type","submit",1,"btn","btn-primary",3,"disabled"],[1,"close",3,"click"],[3,"icon"],["role","alert",1,"alert","alert-danger"],[4,"ngFor","ngForOf"]],template:function(e,t){1&e&&(Ia(0,"div",0),Fa("click",(function(){return t.close()})),Na(),Ia(1,"div",1),Ra(2,"img",2),Ia(3,"h1"),bs(4,"Schedule a meeting and talk to an expert."),Na(),Ia(5,"form",3),Fa("submit",(function(){return t.submit(t.formGroup.value)})),Oa(6,VP,2,1,"div",4),Ia(7,"div",5),Ia(8,"div",6),Ia(9,"label",7),bs(10,"First Name"),Na(),Ra(11,"input",8),Na(),Ia(12,"div",6),Ia(13,"label",9),bs(14,"Last Name"),Na(),Ra(15,"input",10),Na(),Na(),Ia(16,"div",5),Ia(17,"div",11),Ia(18,"label",12),bs(19,"Email"),Na(),Ra(20,"input",13),Na(),Na(),Ia(21,"div",5),Ia(22,"div",11),Ia(23,"label",14),bs(24,"Company"),Na(),Ra(25,"input",15),Na(),Na(),Ia(26,"div",16),Ia(27,"div",6),Ia(28,"label",17),bs(29,"Product Interest"),Na(),Ia(30,"select",18),Ia(31,"option",19),bs(32,"Product Interest"),Na(),Ia(33,"option",20),bs(34,"Service Cloud"),Na(),Ia(35,"option",21),bs(36,"Service Cloud Voice"),Na(),Ia(37,"option",22),bs(38,"CRM"),Na(),Ia(39,"option",23),bs(40,"Platform"),Na(),Ia(41,"option",24),bs(42,"Integrations"),Na(),Ia(43,"option",25),bs(44,"Private Connect"),Na(),Ia(45,"option",26),bs(46,"Tableau"),Na(),Ia(47,"option",27),bs(48,"Mulesoft"),Na(),Ia(49,"option",28),bs(50,"Government Cloud Plus"),Na(),Ia(51,"option",29),bs(52,"Trailhead"),Na(),Ia(53,"option",30),bs(54,"Other"),Na(),Na(),Na(),Ia(55,"div",6),Ia(56,"label",31),bs(57,"Meeting Type"),Na(),Ia(58,"select",32),Ia(59,"option",19),bs(60,"Meeting Type"),Na(),Ia(61,"option",33),bs(62,"General Inquiry"),Na(),Ia(63,"option",34),bs(64,"Request a Demo"),Na(),Ia(65,"option",35),bs(66,"Follow-up Meeting"),Na(),Ia(67,"option",36),bs(68,"Request Pricing"),Na(),Na(),Na(),Na(),Ia(69,"div",5),Ia(70,"div",11),Ia(71,"label",37),bs(72,"Optional text here"),Na(),Ra(73,"textarea",38),Na(),Na(),Ia(74,"div",5),Ia(75,"div",11),Ia(76,"div",39),Ia(77,"button",40),bs(78," Submit "),Na(),Na(),Na(),Na(),Na(),Ia(79,"button",41),Fa("click",(function(){return t.close()})),Ra(80,"fa-icon",42),Na(),Na()),2&e&&(bi(5),as("loading","loading"===t.status),Aa("formGroup",t.formGroup),bi(1),Aa("ngIf",(null==t.errors?null:t.errors.length)>0),bi(71),as("disabled",!t.formGroup.valid),Aa("disabled",!t.formGroup.valid),bi(3),Aa("icon",t.icons.close))},directives:[fm,av,gm,Gu,Zg,ov,Tm,Dv,Gv,jv,xP,Ru],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(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;border-radius:25px;padding:4rem 3rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-align:center;font-size:25px;line-height:25px;margin-bottom:18px;margin-top:0}[_nghost-%COMP%] .popup--has-buttons-below[_ngcontent-%COMP%]{padding-bottom:0;overflow:visible;max-height:calc(100vh - 100px)}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%]{position:relative;top:90px;overflow:visible;display:flex}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%]{width:279px;background:transparent url(next.5ccfc6.3dd3782c81af939a6ed3.png) no-repeat 0 0;background-size:contain;display:flex;color:#fff;font-size:18px;line-height:24px;height:74px;align-content:center;align-items:center;justify-content:center;justify-self:center;margin:0 auto;cursor:pointer;border:0;transition:all .25s ease-out}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button.disabled[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-left:14px}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:14px}[_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-bg[_ngcontent-%COMP%]{pointer-events:none;position:absolute;z-index:10}[_nghost-%COMP%] .popup-bg--bottom-right[_ngcontent-%COMP%]{bottom:1px;right:0}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{max-width:860px}[_nghost-%COMP%] img[_ngcontent-%COMP%]{max-width:98px;margin:0 auto 24px}[_nghost-%COMP%] h1[_ngcontent-%COMP%]{text-align:center;font-size:28px;margin:0 auto 24px}[_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%] form[_ngcontent-%COMP%] .row[_ngcontent-%COMP%]:last-child{margin-bottom:0}[_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%;max-width:190px;margin:0 1rem;text-transform:uppercase}"]}),LP),jP=n("muhD"),zP=((FP=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.prizeService=t,this.stockService=n,this.closed=new Gc,this.selected=new Gc,this.visible=!1,this.subscriptions=[],this.productAvailability=[],this.icons={close:b_.faTimes,rightArrow:jP.faChevronRight},this.selectPrize=function(e){r.isPrizeAvailable(e)&&r.prizeService.selectedPrize.next(e)},this.open=function(){return r.visible=!0},this.close=function(){r.visible=!1,r.closed.emit()},this.isPrizeAvailable=function(e){var t,n;return r.productAvailability.length>0&&(null===(n=null===(t=r.productAvailability.filter((function(t){return t.product===e})))||void 0===t?void 0:t[0])||void 0===n?void 0:n.available)}}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.subscriptions.push(this.prizeService.selectedPrize.subscribe((function(t){return e.selectedPrize=t})),this.stockService.productAvailability.subscribe((function(t){return e.productAvailability=t})))}},{key:"ngOnDestroy",value:function(){this.subscriptions.map((function(e){return null!=e?e:e.unsubscribe()}))}},{key:"advanceToForm",value:function(){this.close(),this.selected.emit(this.selectedPrize)}}]),e}()).\u0275fac=function(e){return new(e||FP)(Sa(ik),Sa(rk))},FP.\u0275cmp=pt({type:FP,selectors:[["app-prize-select-popup"]],hostVars:2,hostBindings:function(e,t){2&e&&as("visible",t.visible)},inputs:{visible:"visible"},outputs:{closed:"closed",selected:"selected"},decls:29,vars:16,consts:[[1,"backdrop",3,"click"],[1,"popup","popup--has-buttons-below"],["formdata","[object Object]",1,"form-step","prize-select","form","active"],[1,"options"],[1,"option",3,"click"],["src","assets/images/aws/Astro_plushie.png","alt","Astro Plushie",1,"img-fluid"],["src","assets/images/aws/Camper_mug.png","alt","Camper Mug",1,"img-fluid"],["src","assets/images/aws/Force_bottle.png","alt","Force Bottle",1,"img-fluid"],[1,"close",3,"click"],[3,"icon"],[1,"buttons-below"],[1,"next-button",3,"click"]],template:function(e,t){1&e&&(Ia(0,"div",0),Fa("click",(function(){return t.close()})),Na(),Ia(1,"div",1),Ia(2,"div"),Ia(3,"div",2),Ia(4,"h3"),bs(5,"Congratulations"),Na(),Ia(6,"p"),bs(7," You\u2019ve completed your virtual adventure."),Ra(8,"br"),bs(9," Please select your prize from the options below. "),Na(),Ia(10,"div",3),Ia(11,"div",4),Fa("click",(function(){return t.selectPrize("Astro_plushie")})),Ra(12,"img",5),Ia(13,"p"),bs(14,"Astro Plushie - 8\u201d"),Na(),Na(),Ia(15,"div",4),Fa("click",(function(){return t.selectPrize("Camper_mug")})),Ra(16,"img",6),Ia(17,"p"),bs(18,"Camper Mug - 12 oz."),Na(),Na(),Ia(19,"div",4),Fa("click",(function(){return t.selectPrize("Force_bottle")})),Ra(20,"img",7),Ia(21,"p"),bs(22,"Force Bottle - 17 oz"),Na(),Na(),Na(),Na(),Na(),Ia(23,"button",8),Fa("click",(function(){return t.close()})),Ra(24,"fa-icon",9),Na(),Ia(25,"div",10),Ia(26,"button",11),Fa("click",(function(){return t.advanceToForm()})),bs(27," SELECT "),Ra(28,"fa-icon",9),Na(),Na(),Na()),2&e&&(bi(11),as("disabled",!t.isPrizeAvailable("Astro_plushie"))("selected","Astro_plushie"===t.selectedPrize),bi(4),as("disabled",!t.isPrizeAvailable("Camper_mug"))("selected","Camper_mug"===t.selectedPrize),bi(4),as("disabled",!t.isPrizeAvailable("Force_bottle"))("selected","Force_bottle"===t.selectedPrize),bi(5),Aa("icon",t.icons.close),bi(2),as("disabled",!t.selectedPrize),bi(2),Aa("icon",t.icons.rightArrow))},directives:[xP],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(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;border-radius:25px;padding:4rem 3rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-align:center;font-size:25px;line-height:25px;margin-bottom:18px;margin-top:0}[_nghost-%COMP%] .popup--has-buttons-below[_ngcontent-%COMP%]{padding-bottom:0;overflow:visible;max-height:calc(100vh - 100px)}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%]{position:relative;top:90px;overflow:visible;display:flex}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%]{width:279px;background:transparent url(next.5ccfc6.3dd3782c81af939a6ed3.png) no-repeat 0 0;background-size:contain;display:flex;color:#fff;font-size:18px;line-height:24px;height:74px;align-content:center;align-items:center;justify-content:center;justify-self:center;margin:0 auto;cursor:pointer;border:0;transition:all .25s ease-out}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button.disabled[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-left:14px}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:14px}[_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-bg[_ngcontent-%COMP%]{pointer-events:none;position:absolute;z-index:10}[_nghost-%COMP%] .popup-bg--bottom-right[_ngcontent-%COMP%]{bottom:1px;right:0}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{width:100%;max-width:906px;padding-top:80px;padding-bottom:0;text-align:center}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button.disabled[_ngcontent-%COMP%]{opacity:0}[_nghost-%COMP%] h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;color:#fff;font-size:25px;line-height:25px;margin-bottom:18px}[_nghost-%COMP%] h3[_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} ngb-typeahead-window{max-height:220px;overflow:auto}.options[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.options[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{padding:0;width:calc(33.333% - 20px);max-height:244px;max-width:244px;margin:0 10px;border-radius:5px;background:#fff;cursor:pointer;display:flex;flex-direction:column;align-items:center;align-content:center;justify-content:center;text-align:center;box-sizing:border-box;transition:all .25s ease-out;border:0 solid #ecad87}.options[_ngcontent-%COMP%] .option.selected[_ngcontent-%COMP%]{border:4px solid #ecad87}.options[_ngcontent-%COMP%] .option.disabled[_ngcontent-%COMP%]{opacity:.4;cursor:auto}.options[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-height:calc(100% - 80px)}.options[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#032e61;font-size:16px;text-align:center;margin-bottom:0;margin-top:1rem}"]}),FP),UP=n("IRq2"),WP=["instance"];function qP(e,t){if(1&e&&(Ia(0,"div"),bs(1),Na()),2&e){var n=t.$implicit;bi(1),Ps(" ",n," ")}}function XP(e,t){if(1&e&&(Ia(0,"div",34),Oa(1,qP,2,1,"div",35),Na()),2&e){var n=za();bi(1),Aa("ngForOf",n.errors)}}function KP(e,t){1&e&&(Ia(0,"div",36),bs(1," Zipcode must be at least 5 characters long. "),Na())}var QP,ZP,YP=["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"],$P=((ZP=function(){function e(t,n,r,i){var o=this;_classCallCheck(this,e),this.playCanvasService=t,this.formBuilder=n,this.http=r,this.prizeService=i,this.closed=new Gc,this.submitted=new Gc,this.wentBack=new Gc,this.visible=!1,this.status="ready",this.endpoint="https://salesforcevirtualadventures.com/add",this.environment=Jl,this.jsonHeader={headers:new w_({"Content-Type":"application/json"})},this.icons={close:b_.faTimes,rightArrow:jP.faChevronRight,leftArrow:UP.faChevronLeft},this.focus$=new T,this.click$=new T,this.formGroup=this.formBuilder.group({first_name:new sm(null),last_name:new sm(null),home_address:new sm(null),home_address_2:new sm(null),city:new sm(null),state:new sm(null),zipcode:new sm(null,{validators:[hv.required,hv.minLength(5)],updateOn:"blur"}),privacy:new sm(!1,[hv.requiredTrue])}),this.search=function(e){var t=e.pipe(fy(50),vy()),n=o.click$.pipe(Kh((function(){return!o.instance.isPopupOpen()})));return Q(t,o.focus$,n).pipe(L((function(e){return""===e?YP:YP.filter((function(t){return t.toLowerCase().indexOf(e.toLowerCase())>-1})).slice(0,10)})))}}return _createClass(e,[{key:"ngOnInit",value:function(){var e=this;this.prizeSubscription=this.prizeService.selectedPrize.subscribe((function(t){return e.selectedPrize=t})),!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",privacy:!1})}},{key:"ngOnDestroy",value:function(){this.prizeSubscription&&this.prizeSubscription.unsubscribe()}},{key:"open",value:function(){this.visible=!0}},{key:"close",value:function(){this.visible=!1,this.closed.emit()}},{key:"back",value:function(){this.close(),this.wentBack.emit()}},{key:"submit",value:function(e){var t=this;e.product=this.selectedPrize,e.source="AWS",e.phone_number="0000000000",e.email="none@none.com",this.formGroup.valid&&"ready"===this.status&&(this.errors=[],this.status="loading",this.http.post(this.endpoint,e,this.jsonHeader).pipe(uf((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",yy(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||ZP)(Sa(Tb),Sa(Am),Sa(X_),Sa(ik))},ZP.\u0275cmp=pt({type:ZP,selectors:[["app-popup-form"]],viewQuery:function(e,t){var n;1&e&&Kc(WP,!0),2&e&&Xc(n=Yc())&&(t.instance=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&as("visible",t.visible)},inputs:{visible:"visible"},outputs:{closed:"closed",submitted:"submitted",wentBack:"wentBack"},decls:60,vars:13,consts:[[1,"backdrop",3,"click"],[1,"popup","popup--has-buttons-below"],["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","search","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"],[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,"fine-print"],[1,"close",3,"click"],[3,"icon"],[1,"buttons-below"],["type","button",1,"back-button",3,"click"],["type","submit",1,"next-button",3,"disabled"],["role","alert",1,"alert","alert-danger"],[4,"ngFor","ngForOf"],[1,"alert","alert-danger"]],template:function(e,t){1&e&&(Ia(0,"div",0),Fa("click",(function(){return t.close()})),Na(),Ia(1,"div",1),Ia(2,"h1"),bs(3," Where would you like your item shipped? "),Na(),Ia(4,"form",2),Fa("submit",(function(){return t.submit(t.formGroup.value)})),Oa(5,XP,2,1,"div",3),Oa(6,KP,2,0,"div",4),Ia(7,"div",5),Ia(8,"div",6),Ia(9,"label",7),bs(10,"First Name"),Na(),Ra(11,"input",8),Na(),Ia(12,"div",6),Ia(13,"label",9),bs(14,"Last Name"),Na(),Ra(15,"input",10),Na(),Na(),Ia(16,"div",5),Ia(17,"div",11),Ia(18,"label",12),bs(19,"Address Line 1"),Na(),Ra(20,"input",13),Na(),Na(),Ia(21,"div",5),Ia(22,"div",11),Ia(23,"label",14),bs(24,"Address Line 2 (optional)"),Na(),Ra(25,"input",15),Na(),Na(),Ia(26,"div",5),Ia(27,"div",16),Ia(28,"label",17),bs(29,"City"),Na(),Ra(30,"input",18),Na(),Ia(31,"div",16),Ia(32,"label",19),bs(33,"State"),Na(),Ia(34,"input",20,21),Fa("focus",(function(e){return t.focus$.next(e.target.value)}))("click",(function(e){return t.click$.next(e.target.value)})),Na(),Na(),Ia(36,"div",16),Ia(37,"label",22),bs(38,"Zip"),Na(),Ra(39,"input",23),Na(),Na(),Ia(40,"div",5),Ia(41,"div",24),Ia(42,"div",25),Ia(43,"label"),Ra(44,"input",26),bs(45," By registering, you confirm that you agree to the processing of your personal data by Salesforce as described in the "),Ia(46,"a",27),bs(47,"Privacy Statement"),Na(),bs(48,". "),Na(),Na(),Na(),Na(),Ia(49,"p",28),bs(50," 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. "),Na(),Ia(51,"button",29),Fa("click",(function(){return t.close()})),Ra(52,"fa-icon",30),Na(),Ia(53,"div",31),Ia(54,"button",32),Fa("click",(function(){return t.back()})),Ra(55,"fa-icon",30),bs(56," Back "),Na(),Ia(57,"button",33),bs(58," Submit "),Ra(59,"fa-icon",30),Na(),Na(),Na(),Na()),2&e&&(bi(4),as("loading","loading"===t.status),Aa("formGroup",t.formGroup),bi(1),Aa("ngIf",(null==t.errors?null:t.errors.length)>0),bi(1),Aa("ngIf",t.zipcode.invalid&&(t.zipcode.dirty||t.zipcode.touched)&&t.zipcode.errors.minlength),bi(28),Aa("ngbTypeahead",t.search)("editable",!1),bi(18),Aa("icon",t.icons.close),bi(3),Aa("icon",t.icons.leftArrow),bi(2),as("disabled",!t.formGroup.valid),Aa("disabled",!t.formGroup.valid),bi(2),Aa("icon",t.icons.rightArrow))},directives:[fm,av,gm,Gu,Zg,ov,Tm,fb,Xg,xP,Ru],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(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;border-radius:25px;padding:4rem 3rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-align:center;font-size:25px;line-height:25px;margin-bottom:18px;margin-top:0}[_nghost-%COMP%] .popup--has-buttons-below[_ngcontent-%COMP%]{padding-bottom:0;overflow:visible;max-height:calc(100vh - 100px)}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%]{position:relative;top:90px;overflow:visible;display:flex}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%]{width:279px;background:transparent url(next.5ccfc6.3dd3782c81af939a6ed3.png) no-repeat 0 0;background-size:contain;display:flex;color:#fff;font-size:18px;line-height:24px;height:74px;align-content:center;align-items:center;justify-content:center;justify-self:center;margin:0 auto;cursor:pointer;border:0;transition:all .25s ease-out}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button.disabled[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-left:14px}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:14px}[_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-bg[_ngcontent-%COMP%]{pointer-events:none;position:absolute;z-index:10}[_nghost-%COMP%] .popup-bg--bottom-right[_ngcontent-%COMP%]{bottom:1px;right:0}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{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} ngb-typeahead-window{max-height:220px;overflow:auto}"]}),ZP),JP=((QP=function(){function e(t){_classCallCheck(this,e),this.playCanvasService=t,this.closed=new Gc,this.visible=!1,this.links=Jl.links,this.icons={close:b_.faTimes,leftArrow:UP.faChevronLeft}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"open",value:function(){this.visible=!0}},{key:"close",value:function(){this.visible=!1,this.closed.emit()}},{key:"shareItem",value:function(e,t){e.preventDefault(),this.playCanvasService.shareItem(t)}}]),e}()).\u0275fac=function(e){return new(e||QP)(Sa(Tb))},QP.\u0275cmp=pt({type:QP,selectors:[["app-popup-form-confirmation"]],hostVars:2,hostBindings:function(e,t){2&e&&as("visible",t.visible)},inputs:{visible:"visible"},outputs:{closed:"closed"},decls:27,vars:5,consts:[[1,"backdrop",3,"click"],[1,"popup","popup--has-buttons-below"],["href","mailto:salesforceandaws@salesforce.com"],[1,"share-links"],[1,"share-network-facebook",3,"href","click"],["src","assets/images/aws/Facebook.svg","alt","Facebook"],[1,"share-network-twitter",3,"href","click"],["src","assets/images/aws/Twitter.svg","alt","Twitter"],[1,"share-network-linkedin",3,"href","click"],["src","assets/images/aws/LinkedIn.svg","alt","LinkedIn"],[1,"close",3,"click"],[3,"icon"],["src","assets/images/aws/congrats.0ae6c6.png","alt","Congrats",1,"popup-bg","popup-bg--bottom-right"],[1,"buttons-below"],[1,"back-button",3,"click"]],template:function(e,t){1&e&&(Ia(0,"div",0),Fa("click",(function(){return t.close()})),Na(),Ia(1,"div",1),Ia(2,"h3"),bs(3,"WE GOT YOUR SELECTION"),Na(),Ia(4,"p"),bs(5,"Please allow 3-5 business days to process your prize."),Ra(6,"br"),bs(7," If you have any questions please "),Ia(8,"a",2),bs(9,"contact us"),Na(),bs(10,". "),Na(),Ia(11,"p"),bs(12,"SHARE YOUR EXPERIENCE"),Na(),Ia(13,"div",3),Ia(14,"a",4),Fa("click",(function(e){return t.shareItem(e,"facebook")})),Ra(15,"img",5),Na(),Ia(16,"a",6),Fa("click",(function(e){return t.shareItem(e,"twitter")})),Ra(17,"img",7),Na(),Ia(18,"a",8),Fa("click",(function(e){return t.shareItem(e,"linkedin")})),Ra(19,"img",9),Na(),Na(),Ia(20,"button",10),Fa("click",(function(){return t.close()})),Ra(21,"fa-icon",11),Na(),Ra(22,"img",12),Ia(23,"div",13),Ia(24,"button",14),Fa("click",(function(){return t.close()})),Ra(25,"fa-icon",11),bs(26," Return to the trail "),Na(),Na(),Na()),2&e&&(bi(14),Aa("href",t.links.facebook,Yr),bi(2),Aa("href",t.links.twitter,Yr),bi(2),Aa("href",t.links.linkedIn,Yr),bi(3),Aa("icon",t.icons.close),bi(4),Aa("icon",t.icons.leftArrow))},directives:[xP],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(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;border-radius:25px;padding:4rem 3rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-align:center;font-size:25px;line-height:25px;margin-bottom:18px;margin-top:0}[_nghost-%COMP%] .popup--has-buttons-below[_ngcontent-%COMP%]{padding-bottom:0;overflow:visible;max-height:calc(100vh - 100px)}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%]{position:relative;top:90px;overflow:visible;display:flex}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%]{width:279px;background:transparent url(next.5ccfc6.3dd3782c81af939a6ed3.png) no-repeat 0 0;background-size:contain;display:flex;color:#fff;font-size:18px;line-height:24px;height:74px;align-content:center;align-items:center;justify-content:center;justify-self:center;margin:0 auto;cursor:pointer;border:0;transition:all .25s ease-out}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button.disabled[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-left:14px}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:14px}[_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-bg[_ngcontent-%COMP%]{pointer-events:none;position:absolute;z-index:10}[_nghost-%COMP%] .popup-bg--bottom-right[_ngcontent-%COMP%]{bottom:1px;right:0}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{padding:7rem 9rem 0}[_nghost-%COMP%] h1[_ngcontent-%COMP%]{margin:3rem 0}[_nghost-%COMP%] .share-links[_ngcontent-%COMP%]{width:100%;max-width:120px;display:flex;justify-content:space-between;margin:8px auto}"]}),QP),ew={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M216 0h80c13.3 0 24 10.7 24 24v168h87.7c17.8 0 26.7 21.5 14.1 34.1L269.7 378.3c-7.5 7.5-19.8 7.5-27.3 0L90.1 226.1c-12.6-12.6-3.7-34.1 14.1-34.1H192V24c0-13.3 10.7-24 24-24zm296 376v112c0 13.3-10.7 24-24 24H24c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h146.7l49 49c20.1 20.1 52.5 20.1 72.6 0l49-49H488c13.3 0 24 10.7 24 24zm-124 88c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20zm64 0c0-11-9-20-20-20s-20 9-20 20 9 20 20 20 20-9 20-20z"]};function tw(e,t){if(1&e&&Ra(0,"img",11),2&e){var n=t.$implicit;as("active",za().selectedPage==n),Aa("src","assets/images/aws/government-cloud-plus-datasheet_"+n+".png",Yr)("alt","Page "+n)}}var nw,rw,iw,ow=((rw=function(){function e(t){var n=this;_classCallCheck(this,e),this.playCanvasService=t,this.closed=new Gc,this.visible=!1,this.pdf=Jl.bulletinPdf,this.pages=[1,2],this.selectedPage=1,this.icons={close:b_.faTimes,download:ew,leftArrow:UP.faChevronLeft,rightArrow:jP.faChevronRight},this.open=function(){return n.visible=!0},this.close=function(){n.playCanvasService.setProgress("BulletinContent",!0),n.playCanvasService.sendStatus(),n.visible=!1,n.closed.emit()}}return _createClass(e,[{key:"ngOnInit",value:function(){}},{key:"prevPage",value:function(){this.selectedPage>1&&this.selectedPage--}},{key:"nextPage",value:function(){this.selectedPage<this.pages.length&&this.selectedPage++}}]),e}()).\u0275fac=function(e){return new(e||rw)(Sa(Tb))},rw.\u0275cmp=pt({type:rw,selectors:[["app-bulletin-popup"]],hostVars:2,hostBindings:function(e,t){2&e&&as("visible",t.visible)},inputs:{visible:"visible"},outputs:{closed:"closed"},decls:16,vars:10,consts:[[1,"backdrop",3,"click"],[1,"popup"],[1,"form-step","prize-select","form","active"],[1,"pdf-gallery"],[1,"pdf-gallery__left",3,"click"],[3,"icon"],[1,"pdf_gallery__pages"],["class","img-fluid pdf-gallery__page",3,"active","src","alt",4,"ngFor","ngForOf"],[1,"pdf-gallery__right",3,"click"],["target","_blank",1,"btn","btn-primary",3,"href"],[1,"close",3,"click"],[1,"img-fluid","pdf-gallery__page",3,"src","alt"]],template:function(e,t){1&e&&(Ia(0,"div",0),Fa("click",(function(){return t.close()})),Na(),Ia(1,"div",1),Ia(2,"div"),Ia(3,"div",2),Ia(4,"div",3),Ia(5,"button",4),Fa("click",(function(){return t.prevPage()})),Ra(6,"fa-icon",5),Na(),Ia(7,"div",6),Oa(8,tw,1,4,"img",7),Na(),Ia(9,"button",8),Fa("click",(function(){return t.nextPage()})),Ra(10,"fa-icon",5),Na(),Na(),Na(),Ia(11,"a",9),Ra(12,"fa-icon",5),bs(13," DOWNLOAD "),Na(),Na(),Ia(14,"button",10),Fa("click",(function(){return t.close()})),Ra(15,"fa-icon",5),Na(),Na()),2&e&&(bi(5),as("visible",t.selectedPage>1),bi(1),Aa("icon",t.icons.leftArrow),bi(2),Aa("ngForOf",t.pages),bi(1),as("visible",t.selectedPage<t.pages.length),bi(1),Aa("icon",t.icons.rightArrow),bi(1),Aa("href",t.pdf,Yr),bi(1),Aa("icon",t.icons.download),bi(3),Aa("icon",t.icons.close))},directives:[xP,Ru],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%;overflow:auto;display:flex;flex-direction:column;transform:translate(-50%,-50%);background:transparent url(Video_Module.40f60c.053d010a53f12b722d24.png) no-repeat 0 0;background-size:cover;border-radius:25px;padding:4rem 3rem}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:ITC Avant Garde Gothic Pro,Arial,sans-serif;text-align:center;font-size:25px;line-height:25px;margin-bottom:18px;margin-top:0}[_nghost-%COMP%] .popup--has-buttons-below[_ngcontent-%COMP%]{padding-bottom:0;overflow:visible;max-height:calc(100vh - 100px)}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%]{position:relative;top:90px;overflow:visible;display:flex}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%]{width:279px;background:transparent url(next.5ccfc6.3dd3782c81af939a6ed3.png) no-repeat 0 0;background-size:contain;display:flex;color:#fff;font-size:18px;line-height:24px;height:74px;align-content:center;align-items:center;justify-content:center;justify-self:center;margin:0 auto;cursor:pointer;border:0;transition:all .25s ease-out}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button.disabled[_ngcontent-%COMP%], [_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .next-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-left:14px}[_nghost-%COMP%] .popup[_ngcontent-%COMP%] .buttons-below[_ngcontent-%COMP%] .back-button[_ngcontent-%COMP%] fa-icon[_ngcontent-%COMP%]{margin-right:14px}[_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-bg[_ngcontent-%COMP%]{pointer-events:none;position:absolute;z-index:10}[_nghost-%COMP%] .popup-bg--bottom-right[_ngcontent-%COMP%]{bottom:1px;right:0}[_nghost-%COMP%] .popup[_ngcontent-%COMP%]{width:100%;max-width:100%;height:100%;max-height:100%;text-align:center;border-right:52px;background-position:top;padding:80px .5rem 0;background-image:url(corkboard.1d2811.454bc18706097a423a72.svg)}[_nghost-%COMP%] .pdf-gallery[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .pdf-gallery__left[_ngcontent-%COMP%], [_nghost-%COMP%] .pdf-gallery__right[_ngcontent-%COMP%]{flex:0 0 auto;padding:2rem;font-size:2rem;border:0;background:transparent;color:#fff;transition:all .25s ease-out;opacity:0}[_nghost-%COMP%] .pdf-gallery__left.visible[_ngcontent-%COMP%], [_nghost-%COMP%] .pdf-gallery__right.visible[_ngcontent-%COMP%]{opacity:1}[_nghost-%COMP%] .pdf-gallery__page[_ngcontent-%COMP%]{display:none;flex:1 1 auto;max-height:calc(100vh - 200px)}[_nghost-%COMP%] .pdf-gallery__page.active[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%] .btn[_ngcontent-%COMP%]{margin-top:2rem}"]}),rw),aw=((nw=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.formBuilder=t,this.playCanvasService=n,this.openCompliance=new Gc,this.iframeUrl=new Gc,this.environment=Jl,this.visible=!1,this.formGroup=this.formBuilder.group({src:new sm(null,[hv.required])}),this.show=function(){return r.visible=!0},this.hide=function(){return r.visible=!1},this.clearLocalStorage=function(){return localStorage.clear()},this.sendStatus=function(){return r.playCanvasService.sendStatus()},this.setProgress=function(){return r.playCanvasService.setProgress("achievement_1",!0)}}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||nw)(Sa(Am),Sa(Tb))},nw.\u0275cmp=pt({type:nw,selectors:[["app-footer"]],outputs:{openCompliance:"openCompliance",iframeUrl:"iframeUrl"},decls:25,vars:2,consts:[[1,"slide-down",3,"mouseenter","mouseleave"],[1,"left"],["href","https://www.salesforce.com/company/legal/intellectual/","target","_blank"],[1,"right","text-right"],[1,"links"],["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"]],template:function(e,t){1&e&&(Ia(0,"div",0),Fa("mouseenter",(function(){return t.show()}))("mouseleave",(function(){return t.hide()})),Ia(1,"div",1),Ia(2,"p"),bs(3," \xa9 Copyright 2020 Salesforce.com, inc. "),Ia(4,"a",2),bs(5,"All rights reserved"),Na(),bs(6,". Various trademarks held by their respective owners."),Ra(7,"br"),bs(8," Salesforce.com, inc. Salesforce Tower, 415 Mission Street, 3rd Floor, San Francisco, CA 94105, United States"),Na(),Na(),Ia(9,"div",3),Ia(10,"div",4),Ia(11,"a",5),bs(12,"Legal"),Na(),Ia(13,"a",6),bs(14,"Terms of Service"),Na(),Ia(15,"a",7),bs(16,"Privacy Information"),Na(),Ia(17,"a",8),bs(18,"Responsible Disclosure"),Na(),Ia(19,"a",9),bs(20,"Trust"),Na(),Ia(21,"a",10),bs(22,"Contact"),Na(),Ia(23,"a",8),bs(24,"Cookie Preferences"),Na(),Na(),Na(),Na()),2&e&&as("visible",t.visible)},styles:["[_nghost-%COMP%]{height:52px;color:#fff;padding:0 1.8rem;font-size:12px;background:#032e61}.slide-down[_ngcontent-%COMP%], [_nghost-%COMP%]{width:100%;display:flex;justify-content:space-between;align-items:center}.slide-down[_ngcontent-%COMP%]{height:100%;position:relative;overflow:hidden}.slide-down[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{height:100%;transform:translate3d(0,100%,0);opacity:0;transition:all .4s ease-out;display:flex;flex-direction:column;justify-content:center}.slide-down.visible[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{opacity:1;transform:translateZ(0)}a[_ngcontent-%COMP%]{color:#0092da}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}"]}),nw),sw=["iframe"],cw=["form"],lw=["prizeSelect"],uw=["requestMeetingForm"],hw=["formConfirmation"],fw=["message"],dw=["video"],pw=["bulletin"],gw=((iw=function(){function e(t,n,r,i){var o=this;_classCallCheck(this,e),this.playCanvasService=t,this.sanitizer=n,this.analyticsService=r,this.prizeService=i,this.environment=Jl,this.subscriptions=[],this.src=this.sanitizer.bypassSecurityTrustResourceUrl("assets/playcanvas/release/index.html"),this.openCompliance=function(){return o.needToAnswerCompliance=!0},this.openConfirmation=function(){return o.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.popupPrizeSelect.closed.subscribe((function(){return e.playCanvasService.sendToPlayCanvas("popupClosed")})),this.popupFormConfirmation.closed.subscribe((function(){return e.playCanvasService.sendToPlayCanvas("popupClosed")})),this.popupBulletin.closed.subscribe((function(){return e.playCanvasService.sendToPlayCanvas("popupClosed")})),this.requestMeetingForm.closed.subscribe((function(){return e.playCanvasService.sendToPlayCanvas("popupClosed")})),this.prizeService.openPrizeSelectPopup.subscribe((function(){return e.popupPrizeSelect.open()}))),this.environment.production||(this.environment.debug.showFormOnLoad&&setTimeout((function(){return e.popupForm.open()}),500),this.environment.debug.showPrizeSelectOnLoad&&setTimeout((function(){return e.popupPrizeSelect.open()}),500),this.environment.debug.showConfirmationOnLoad&&setTimeout((function(){return e.popupFormConfirmation.open()}),500),this.environment.debug.showVideoOnLoad&&setTimeout((function(){return e.popupVideo.open("SummitContent")}),500),this.environment.debug.showBulletinOnLoad&&setTimeout((function(){return e.popupBulletin.open()}),500),this.environment.debug.showRequestMeetingOnLoad&&setTimeout((function(){return e.requestMeetingForm.open()}),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){if(t)if("showPopup"===t.message)e.playCanvasService.sendToPlayCanvas("popupOpen"),Object.keys(Jl.videos).includes(t.param1)?e.popupVideo.open(t.param1):"bottleForm"===t.param1?e.popupForm.open():"requestHelp"===t.param1?e.requestMeetingForm.open("Help"):"requestMeeting"===t.param1?e.requestMeetingForm.open("Meeting"):"BulletinContent"===t.param1?e.popupBulletin.open():e.environment.production||e.popupMessage.open(t);else if("getStatus"===t.message)e.playCanvasService.getStatus();else if("setProgress"===t.message&&e.playCanvasService.allowTracking){var n=e.playCanvasService.getProgressData(),r=e.playCanvasService.setProgress(t.param1,t.param2);e.prizeService.showPrizePopupIfTriggered(n,r)}else"trackEvent"===t.message&&e.playCanvasService.allowTracking?e.analyticsService.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||iw)(Sa(Tb),Sa(Nh),Sa(Jm),Sa(ik))},iw.\u0275cmp=pt({type:iw,selectors:[["app-play-canvas"]],viewQuery:function(e,t){var n;1&e&&(Qc(sw,!0),Qc(cw,!0),Qc(lw,!0),Qc(uw,!0),Qc(hw,!0),Qc(fw,!0),Qc(dw,!0),Qc(pw,!0)),2&e&&(Xc(n=Yc())&&(t.iframe=n.first),Xc(n=Yc())&&(t.popupForm=n.first),Xc(n=Yc())&&(t.popupPrizeSelect=n.first),Xc(n=Yc())&&(t.requestMeetingForm=n.first),Xc(n=Yc())&&(t.popupFormConfirmation=n.first),Xc(n=Yc())&&(t.popupMessage=n.first),Xc(n=Yc())&&(t.popupVideo=n.first),Xc(n=Yc())&&(t.popupBulletin=n.first))},hostBindings:function(e,t){1&e&&Fa("message",(function(e){return t.listenForMessage(e)}),!1,Bn)("beforeunload",(function(e){return t.pageClosed(e)}),!1,Bn)},decls:19,vars:2,consts:[[3,"visible","closed"],["message",""],["video",""],["requestMeetingForm",""],[3,"selected"],["prizeSelect",""],[3,"submitted","wentBack"],["form",""],["formConfirmation",""],["bulletin",""],["frameborder","0",3,"src"],["iframe",""],[3,"openCompliance","iframeUrl"]],template:function(e,t){1&e&&(Ra(0,"app-header"),Ia(1,"app-compliance",0),Fa("closed",(function(){return t.evaluatePopups()})),Na(),Ra(2,"app-popup-message",null,1),Ra(4,"app-popup-video",null,2),Ra(6,"app-request-meeting-form",null,3),Ia(8,"app-prize-select-popup",4,5),Fa("selected",(function(){return t.popupForm.open()})),Na(),Ia(10,"app-popup-form",6,7),Fa("submitted",(function(){return t.openConfirmation()}))("wentBack",(function(){return t.popupPrizeSelect.open()})),Na(),Ra(12,"app-popup-form-confirmation",null,8),Ra(14,"app-bulletin-popup",null,9),Ra(16,"iframe",10,11),Ia(18,"app-footer",12),Fa("openCompliance",(function(){return t.openCompliance()}))("iframeUrl",(function(e){return t.changeIframeUrl(e)})),Na()),2&e&&(bi(1),Aa("visible",t.needToAnswerCompliance),bi(15),Aa("src",t.src,$r))},directives:[ok,ak,lk,GP,BP,zP,$P,JP,ow,aw],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)}"]}),iw);function vw(e,t){1&e&&Ra(0,"app-play-canvas")}var mw,_w,yw=((_w=function(){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 + AWS 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.gtmService.addGtmToDom(),this.userIsOnDesktop&&this.userHasWebGl||this.forwardToMobileSite(),this.router.events.forEach((function(e){e instanceof Gf&&o.gtmService.pushTag({event:"page",pageName:e.url})}))}return _createClass(e,[{key:"forwardToMobileSite",value:function(){window.location.replace(Jl.mobileUrl)}}]),e}()).\u0275fac=function(e){return new(e||_w)(Sa(Ng),Sa(ek),Sa($m),Sa(Yp))},_w.\u0275cmp=pt({type:_w,selectors:[["app-root"]],decls:1,vars:1,consts:[[4,"ngIf"]],template:function(e,t){1&e&&Oa(0,vw,1,0,"app-play-canvas",0),2&e&&Aa("ngIf",t.userIsOnDesktop&&t.userHasWebGl)},directives:[Gu,gw],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}"]}),_w),Cw=((mw=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:mw}),mw.\u0275inj=de({factory:function(e){return new(e||mw)},imports:[[Ku]]}),mw);function bw(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function kw(e){switch(e.length){case 0:return new Xm;case 1:return e[0];default:return new Km(e)}}function Pw(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 ww(e,t,n,r){switch(t){case"start":e.onStart((function(){return r(n&&Ow(n,"start",e))}));break;case"done":e.onDone((function(){return r(n&&Ow(n,"done",e))}));break;case"destroy":e.onDestroy((function(){return r(n&&Ow(n,"destroy",e))}))}}function Ow(e,t,n){var r=n.totalTime,i=Mw(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 Mw(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 Sw(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 Tw(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var xw=function(e,t){return!1},Aw=function(e,t){return!1},Ew=function(e,t,n){return[]},Iw=bw();(Iw||"undefined"!=typeof Element)&&(xw=function(e,t){return e.contains(t)},Aw=function(){if(Iw||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])}:Aw}(),Ew=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 Nw=null,Rw=!1;function Dw(e){Nw||(Nw=("undefined"!=typeof document?document.body:null)||{},Rw=!!Nw.style&&"WebkitAppearance"in Nw.style);var t=!0;return Nw.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in Nw.style)&&Rw)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in Nw.style),t}var Gw=Aw,Hw=xw,Vw=Ew;function Lw(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 Fw,Bw=((Fw=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return Dw(e)}},{key:"matchesElement",value:function(e,t){return Gw(e,t)}},{key:"containsElement",value:function(e,t){return Hw(e,t)}},{key:"query",value:function(e,t,n){return Vw(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 Xm(n,r)}}]),e}()).\u0275fac=function(e){return new(e||Fw)},Fw.\u0275prov=fe({token:Fw,factory:Fw.\u0275fac}),Fw),jw=function(){var e=function e(){_classCallCheck(this,e)};return e.NOOP=new Bw,e}();function zw(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:Uw(parseFloat(t[1]),t[2])}function Uw(e,t){switch(t){case"s":return 1e3*e;default:return e}}function Ww(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=Uw(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(i=Uw(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 qw(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 Xw(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 qw(e,n);return n}function Kw(e,t,n){return n?t+":"+n+";":""}function Qw(e){for(var t="",n=0;n<e.style.length;n++){var r=e.style.item(n);t+=Kw(0,r,e.style.getPropertyValue(r))}for(var i in e.style)e.style.hasOwnProperty(i)&&!i.startsWith("_")&&(t+=Kw(0,i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[i]));e.setAttribute("style",t)}function Zw(e,t,n){e.style&&(Object.keys(t).forEach((function(r){var i=iO(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[i]),e.style[i]=t[r]})),bw()&&Qw(e))}function Yw(e,t){e.style&&(Object.keys(t).forEach((function(t){var n=iO(t);e.style[n]=""})),bw()&&Qw(e))}function $w(e){return Array.isArray(e)?1==e.length?e[0]:Hm(e):e}var Jw=new RegExp("{{\\s*(.+?)\\s*}}","g");function eO(e){var t=[];if("string"==typeof e){for(var n;n=Jw.exec(e);)t.push(n[1]);Jw.lastIndex=0}return t}function tO(e,t,n){var r=e.toString(),i=r.replace(Jw,(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 nO(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var rO=/-+([a-z0-9])/g;function iO(e){return e.replace(rO,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()}))}function oO(e,t){return 0===e||0===t}function aO(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]=cO(e,t)}))},s=1;s<t.length;s++)a()}return t}function sO(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 cO(e,t){return window.getComputedStyle(e)[t]}var lO=new Set(["true","1"]),uO=new Set(["false","0"]);function hO(e,t){var n=lO.has(e)||uO.has(e),r=lO.has(t)||uO.has(t);return function(i,o){var a="*"==e||e==i,s="*"==t||t==o;return!a&&n&&"boolean"==typeof i&&(a=i?lO.has(e):uO.has(e)),!s&&r&&"boolean"==typeof o&&(s=o?lO.has(t):uO.has(t)),a&&s}}var fO=new RegExp("s*:selfs*,?","g");function dO(e,t,n){return new pO(e).build(t,n)}var pO=function(){function e(t){_classCallCheck(this,e),this._driver=t}return _createClass(e,[{key:"build",value:function(e,t){var n=new gO(t);return this._resetContextStyleTimingState(n),sO(this,$w(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(vO(e)){var t=e;Object.keys(t).forEach((function(e){eO(t[e]).forEach((function(e){o.hasOwnProperty(e)||i.add(e)}))}))}})),i.size){var a=nO(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=sO(this,$w(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(hO(o,s)),"<"!=a[0]||"*"==o&&"*"==s||t.push(hO(s,o))}(e,i,r)})):i.push(n),i),animation:o,queryCount:t.queryCount,depCount:t.depCount,options:mO(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map((function(e){return sO(n,e,t)})),options:mO(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=sO(n,e,t);return i=Math.max(i,t.currentTime),o}));return t.currentTime=i,{type:3,steps:o,options:mO(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 _O(Ww(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var i=_O(0,0,"");return i.dynamic=!0,i.strValue=r,i}return _O((n=n||Ww(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var i=e.styles?e.styles:Vm({});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=Vm(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(vO(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,s,c,l,u,h=t.collectedStyles[t.currentQuerySelector],f=h[r],d=!0;f&&(o!=i&&o>=f.startTime&&i<=f.endTime&&(t.errors.push('The CSS property "'.concat(r,'" that exists between the times of "').concat(f.startTime,'ms" and "').concat(f.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(o,'ms" and "').concat(i,'ms"')),d=!1),o=f.startTime),d&&(h[r]={startTime:o,endTime:i}),t.options&&(a=e[r],s=t.options,c=t.errors,l=s.params||{},(u=eO(a)).length&&u.forEach((function(e){l.hasOwnProperty(e)||c.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))})))}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(vO(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}}));else if(vO(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,g=p.duration;return l.forEach((function(e,i){var a=h>0?i==f?1:h*i:o[i],s=a*g;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:sO(this,$w(e.animation),t),options:mO(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:mO(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:mO(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(fO,"")),[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,Sw(t.collectedStyles,t.currentQuerySelector,{});var s=sO(this,$w(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:mO(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"}:Ww(e.timings,t.errors,!0);return{type:12,animation:sO(this,$w(e.animation),t),timings:n,options:null}}}]),e}(),gO=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 vO(e){return!Array.isArray(e)&&"object"==typeof e}function mO(e){var t;return e?(e=qw(e)).params&&(e.params=(t=e.params)?qw(t):null):e={},e}function _O(e,t,n){return{duration:e,delay:t,easing:n}}function yO(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 CO=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}(),bO=new RegExp(":enter","g"),kO=new RegExp(":leave","g");function PO(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 wO).buildKeyframes(e,t,n,r,i,o,a,s,c,l)}var wO=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 CO;var u=new MO(e,t,c,r,i,l,[]);u.options=s,u.currentTimeline.setStyles([o],null,u.errors,s),sO(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()})):[yO(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?zw(n.duration):null,o=null!=n.delay?zw(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),sO(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=OO);var a=zw(o.delay);i.delayNextStep(a)}e.steps.length&&(e.steps.forEach((function(e){return sO(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?zw(e.options.delay):0;e.steps.forEach((function(a){var s=t.createSubContext(e.options);o&&s.delayNextStep(o),sO(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 Ww(t.params?tO(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?zw(i.delay):0;o&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=OO);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),sO(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;sO(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-l+(r.startTime-n.currentTimeline.startTime)}}]),e}(),OO={},MO=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=OO,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new SO(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=zw(r.duration)),null!=r.delay&&(i.delay=zw(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]=tO(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=OO,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 TO(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(bO,"."+this._enterClassName)).replace(kO,"."+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}(),SO=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]="*"})):Xw(e,!1,r)})),r}(e,this._globalTimelineStyles);Object.keys(a).forEach((function(e){var t=tO(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=Xw(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?nO(t.values()):[],a=n.size?nO(n.values()):[];if(r){var s=i[0],c=qw(s);s.offset=0,c.offset=1,i=[s,c]}return yO(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}(),TO=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=Xw(e[0],!1);c.offset=0,o.push(c);var l=Xw(e[0],!1);l.offset=xO(s),o.push(l);for(var u=e.length-1,h=1;h<=u;h++){var f=Xw(e[h],!1);f.offset=xO((n+f.offset*r)/a),o.push(f)}r=a,n=0,i="",e=o}return yO(this.element,e,this.preStyleProps,this.postStyleProps,r,n,i,!0)}}]),n}(SO);function xO(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 AO=function e(){_classCallCheck(this,e)},EO=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 iO(e)}},{key:"normalizeStyleValue",value:function(e,t,n,r){var i="",o=n.toString().trim();if(IO[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}(AO),IO=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 NO(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 RO={},DO=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||RO,f=this.buildStyles(n,a&&a.params||RO,u),d=s&&s.params||RO,p=this.buildStyles(r,d,u),g=new Set,v=new Map,m=new Map,_="void"===r,y={params:Object.assign(Object.assign({},h),d)},C=l?[]:PO(e,t,this.ast.animation,i,o,f,p,y,c,u),b=0;if(C.forEach((function(e){b=Math.max(e.duration+e.delay,b)})),u.length)return NO(t,this._triggerName,n,r,_,f,p,[],[],v,m,b,u);C.forEach((function(e){var n=e.element,r=Sw(v,n,{});e.preStyleProps.forEach((function(e){return r[e]=!0}));var i=Sw(m,n,{});e.postStyleProps.forEach((function(e){return i[e]=!0})),n!==t&&g.add(n)}));var k=nO(g.values());return NO(t,this._triggerName,n,r,_,f,p,C,k,v,m,b)}}]),e}(),GO=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=qw(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=tO(o,r,t)),n[e]=o}))}})),n}}]),e}(),HO=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 GO(e.style,e.options&&e.options.params||{})})),VO(this.states,"true","1"),VO(this.states,"false","0"),n.transitions.forEach((function(e){r.transitionFactories.push(new DO(t,e,r.states))})),this.fallbackTransition=function(e,t){return new DO(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 VO(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var LO=new CO,FO=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=dO(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=Pw(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=PO(this._driver,t,a,"ng-enter","ng-leave",{},{},i,LO,o)).forEach((function(e){var t=Sw(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=kw(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=Mw(t,"","","");return ww(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}(),BO=[],jO={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},zO={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},UO=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=qw(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}(),WO=new UO("void"),qO=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,JO(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=Sw(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};a.push(s);var c=Sw(this._engine.statesByElement,e,{});return c.hasOwnProperty(t)||(JO(e,"ng-trigger"),JO(e,"ng-trigger-"+t),c[t]=WO),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 KO(this.id,t,e),s=this._engine.statesByElement.get(e);s||(JO(e,"ng-trigger"),JO(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var c=s[t],l=new UO(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&l.absorbOptions(c.options),s[t]=l,c||(c=WO),"void"===l.value||c.value!==l.value){var u=Sw(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||(JO(e,"ng-animate-queued"),a.onStart((function(){eM(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),g=o.matchStyles(l.value,l.params,d);d.length?this._engine.reportError(d):this._engine.afterFlush((function(){Yw(e,p),Zw(e,g)}))}}},{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&&kw(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]||WO,s=new UO("void"),c=new KO(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!==jO||(r.afterFlush((function(){return n.clearElementCache(e)})),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){JO(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=Mw(o,r.triggerName,r.fromState.value,r.toState.value);n._data=e,ww(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}(),XO=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 qO(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(QO(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(QO(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),JO(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),eM(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,r){if(QO(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 QO(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 kw(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=jO,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++)JO(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?kw(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 CO,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=$O(f,this.collectedEnterElements),p=new Map,g=0;d.forEach((function(e,t){var n="ng-enter"+g++;p.set(t,n),e.forEach((function(e){return JO(e,n)}))}));for(var v=[],m=new Set,_=new Set,y=0;y<this.collectedLeaveElements.length;y++){var C=this.collectedLeaveElements[y],b=C.__ng_removed;b&&b.setForRemoval&&(v.push(C),m.add(C),b.hasAnimation?this.driver.query(C,".ng-star-inserted",!0).forEach((function(e){return m.add(e)})):_.add(C))}var k=new Map,P=$O(f,Array.from(m));P.forEach((function(e,t){var n="ng-leave"+g++;k.set(t,n),e.forEach((function(e){return JO(e,n)}))})),e.push((function(){d.forEach((function(e,t){var n=p.get(t);e.forEach((function(e){return eM(e,n)}))})),P.forEach((function(e,t){var n=k.get(t);e.forEach((function(e){return eM(e,n)}))})),v.forEach((function(e){n.processLeaveNode(e)}))}));for(var w=[],O=[],M=this._namespaceList.length-1;M>=0;M--)this._namespaceList[M].drainQueuedTransitions(t).forEach((function(e){var t=e.player,o=e.element;if(w.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),g=p.get(o),v=n._buildInstruction(e,r,g,d,f);if(v.errors&&v.errors.length)O.push(v);else{if(f)return t.onStart((function(){return Yw(o,v.fromStyles)})),t.onDestroy((function(){return Zw(o,v.toStyles)})),void i.push(t);if(e.isFallbackTransition)return t.onStart((function(){return Yw(o,v.fromStyles)})),t.onDestroy((function(){return Zw(o,v.toStyles)})),void i.push(t);v.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),r.append(o,v.timelines),a.push({instruction:v,player:t,element:o}),v.queriedElements.forEach((function(e){return Sw(s,e,[]).push(t)})),v.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)}))}})),v.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(O.length){var S=[];O.forEach((function(e){S.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach((function(e){return S.push("- ".concat(e,"\n"))}))})),w.forEach((function(e){return e.destroy()})),this.reportError(S)}var T=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,T))})),i.forEach((function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((function(e){Sw(T,t,[]).push(e),e.destroy()}))}));var A=v.filter((function(e){return nM(e,c,l)})),E=new Map;YO(E,this.driver,_,l,"*").forEach((function(e){nM(e,c,l)&&A.push(e)}));var I=new Map;d.forEach((function(e,t){YO(I,n.driver,new Set(e),c,"!")})),A.forEach((function(e){var t=E.get(e),n=I.get(e);E.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 Zw(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,T,o,I,E);if(a.setRealPlayer(d),c===D)N.push(a);else{var p=n.playersByElement.get(c);p&&p.length&&(a.parentPlayer=kw(p)),i.push(a)}}else Yw(t,s.fromStyles),a.onDestroy((function(){return Zw(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=kw(t);e.setRealPlayer(n)}})),i.forEach((function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(var G=0;G<v.length;G++){var H=v[G],V=H.__ng_removed;if(eM(H,"ng-leave"),!V||!V.hasAnimation){var L=[];if(s.size){var F=s.get(H);F&&F.length&&L.push.apply(L,_toConsumableArray(F));for(var B=this.driver.query(H,".ng-animating",!0),j=0;j<B.length;j++){var z=s.get(B[j]);z&&z.length&&L.push.apply(L,_toConsumableArray(z))}}var U=L.filter((function(e){return!e.destroyed}));U.length?tM(this,H,U):this.processLeaveNode(H)}}return v.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=Sw(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()}Yw(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 Xm(t.duration,t.delay);var p,g,v=f!==c,m=(p=(n.get(f)||BO).map((function(e){return e.getRealPlayer()})),g=[],function e(t,n){for(var r=0;r<t.length;r++){var i=t[r];i instanceof Km?e(i.players,n):n.push(i)}}(p,g),g).filter((function(e){return!!e.element&&e.element===f})),_=i.get(f),y=o.get(f),C=Pw(0,a._normalizer,0,t.keyframes,_,y),b=a._buildPlayer(t,C,m);if(t.subTimeline&&r&&h.add(f),v){var k=new KO(e,s,f);k.setRealPlayer(b),l.push(k)}return b}));l.forEach((function(e){Sw(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 JO(e,"ng-animating")}));var d=kw(f);return d.onDestroy((function(){u.forEach((function(e){return eM(e,"ng-animating")})),Zw(c,t.toStyles)})),h.forEach((function(e){Sw(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 Xm(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}(),KO=function(){function e(t,n,r){_classCallCheck(this,e),this.namespaceId=t,this.triggerName=n,this.element=r,this._player=new Xm,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 ww(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){Sw(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 QO(e){return e&&1===e.nodeType}function ZO(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function YO(e,t,n,r,i){var o=[];n.forEach((function(e){return o.push(ZO(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=zO,a.push(r))})),e.set(r,o)}));var s=0;return n.forEach((function(e){return ZO(e,o[s++])})),a}function $O(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 JO(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function eM(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function tM(e,t,n){kw(n).onDone((function(){return e.processLeaveNode(t)}))}function nM(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 rM=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 XO(t,n,r),this._timelineEngine=new FO(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=dO(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 HO(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(Tw(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(Tw(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 iM(e,t){var n=null,r=null;return Array.isArray(t)&&t.length?(n=aM(t[0]),t.length>1&&(r=aM(t[t.length-1]))):t&&(n=aM(t)),n||r?new oM(e,n,r):null}var oM=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&&Zw(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(Zw(this._element,this._initialStyles),this._endStyles&&(Zw(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&&(Yw(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(Yw(this._element,this._endStyles),this._endStyles=null),Zw(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function aM(e){for(var t=null,n=Object.keys(e),r=0;r<n.length;r++){var i=n[r];sM(i)&&((t=t||{})[i]=e[i])}return t}function sM(e){return"display"===e||"position"===e}var cM=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=pM(e,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)e.charAt(n)}(n),t="".concat(n,", ").concat(t)),dM(e,"",t),fM(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){lM(this._element,this._name,"paused")}},{key:"resume",value:function(){lM(this._element,this._name,"running")}},{key:"setPosition",value:function(e){var t=uM(this._element,this._name);this._position=e*this._duration,dM(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(),fM(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=pM(e,"").split(","),(r=hM(n,t))>=0&&(n.splice(r,1),dM(e,"",n.join(","))))}}]),e}();function lM(e,t,n){dM(e,"PlayState",n,uM(e,t))}function uM(e,t){var n=pM(e,"");return n.indexOf(",")>0?hM(n.split(","),t):hM([n],t)}function hM(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function fM(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function dM(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 pM(e,t){return e.style["animation"+t]}var gM=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 cM(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]:cO(e.element,r))}))}this.currentSnapshot=t}}]),e}(),vM=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=Lw(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}(Xm),mM=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 Dw(e)}},{key:"matchesElement",value:function(e,t){return Gw(e,t)}},{key:"containsElement",value:function(e,t){return Hw(e,t)}},{key:"query",value:function(e,t,n){return Vw(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 Lw(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 gM})),c={};oO(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=aO(e,t,c));if(0==n)return new vM(e,l);var u="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,u,t);document.querySelector("head").appendChild(h);var f=iM(e,t),d=new gM(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}(),_M=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]:cO(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}(),yM=function(){function e(){_classCallCheck(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(CM().toString()),this._cssKeyframesDriver=new mM}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return Dw(e)}},{key:"matchesElement",value:function(e,t){return Gw(e,t)}},{key:"containsElement",value:function(e,t){return Hw(e,t)}},{key:"query",value:function(e,t,n){return Vw(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 _M}));oO(n,r)&&l.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var u=iM(e,t=aO(e,t=t.map((function(e){return Xw(e,!1)})),c));return new _M(e,t,s,u)}}]),e}();function CM(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var bM,kM=((bM=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:ut.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)?Hm(e):e;return OM(this._renderer,null,t,"register",[n]),new PM(t,this._renderer)}}]),n}(Rm)).\u0275fac=function(e){return new(e||bM)(Ze(Ks),Ze(ru))},bM.\u0275prov=fe({token:bM,factory:bM.\u0275fac}),bM),PM=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 wM(this._id,e,t||{},this._renderer)}}]),n}(function(){return function e(){_classCallCheck(this,e)}}()),wM=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 OM(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 OM(e,t,n,r,i){return e.setProperty(t,"@@".concat(n,":").concat(r),i)}var MM,SM,TM,xM,AM=((MM=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 EM("",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 IM(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||MM)(Ze(Ks),Ze(rM),Ze(kl))},MM.\u0275prov=fe({token:MM,factory:MM.\u0275fac}),MM),EM=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}(),IM=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}(EM),NM=((SM=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}(rM)).\u0275fac=function(e){return new(e||SM)(Ze(ru),Ze(jw),Ze(AO))},SM.\u0275prov=fe({token:SM,factory:SM.\u0275fac}),SM),RM=[{provide:jw,useFactory:function(){return"function"==typeof CM()?new yM:new mM}},{provide:new Be("AnimationModuleType"),useValue:"BrowserAnimations"},{provide:Rm,useClass:kM},{provide:AO,useFactory:function(){return new EO}},{provide:rM,useClass:NM},{provide:Ks,useFactory:function(e,t,n){return new AM(e,t,n)},deps:[Ph,rM,kl]}],DM=((xM=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:xM}),xM.\u0275inj=de({factory:function(e){return new(e||xM)},providers:RM,imports:[Hh]}),xM);try{TM="undefined"!=typeof Intl&&Intl.v8BreakIterator}catch(nS){TM=!1}var GM,HM,VM,LM,FM=((LM=function e(t){_classCallCheck(this,e),this._platformId=t,this.isBrowser=this._platformId?Qu(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&&!TM)&&"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||LM)(Ze(al,8))},LM.\u0275prov=fe({factory:function(){return new LM(Ze(al,8))},token:LM,providedIn:"root"}),LM),BM=((VM=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:VM}),VM.\u0275inj=de({factory:function(e){return new(e||VM)}}),VM),jM=((HM=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:HM}),HM.\u0275inj=de({factory:function(e){return new(e||HM)}}),HM),zM=((GM=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:GM}),GM.\u0275inj=de({factory:function(e){return new(e||GM)}}),GM);"undefined"!=typeof Element&∈var UM,WM,qM=((UM=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||UM)(Ze(FM),Ze(ru))},UM.\u0275prov=fe({factory:function(){return new UM(Ze(FM),Ze(ru))},token:UM,providedIn:"root"}),UM),XM=new Js("9.2.4"),KM=new Js("9.2.4"),QM=new Be("mat-sanity-checks",{providedIn:"root",factory:function(){return!0}}),ZM=((WM=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 kr()&&!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)&&KM.full!==XM.full&&console.warn("The Angular Material version ("+KM.full+") does not match the Angular CDK version ("+XM.full+").\nPlease ensure the versions of these two packages exactly match.")}}]),e}()).\u0275mod=_t({type:WM}),WM.\u0275inj=de({factory:function(e){return new(e||WM)(Ze(qM),Ze(QM,8),Ze(ru,8))},imports:[[jM],jM]}),WM);try{"undefined"!=typeof Intl}catch(nS){!1}var YM,$M,JM=(($M=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:$M}),$M.\u0275inj=de({factory:function(e){return new(e||$M)},imports:[[Ku,ZM,BM,zM],zM,ZM]}),$M),eS=((YM=function e(){_classCallCheck(this,e)}).\u0275mod=_t({type:YM,bootstrap:[yw]}),YM.\u0275inj=de({factory:function(e){return new(e||YM)},providers:[{provide:"googleTagManagerId",useValue:"GTM-WNXHF5F"}],imports:[[Hh,Fb,Cw,cy,gb,Em,Im,tk,AP,Ku,DM,JM]]}),YM);Jl.production&&function(){if(br)throw new Error("Cannot enable prod mode after platform setup.");Cr=!1}(),Dh().bootstrapModule(eS).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]]]);